html,
body,
#map_wrapper,
#map_canvas {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    background-color: #b3d1ff !important;
}
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    background-color: #fff;
    color: #4c4c4c;
}
h3 .meta {
    display: none;
}
.summary {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
}
.summary .pin,
.summary .info {
    display: none;
}
.summary p {
    margin: 0;
}
.summary .tel {
    display: block;
    margin: 10px 0;
}
.more a {
    color: #1b83d1;
    font-size: 15px;
    text-decoration: none;
}
.more a:before {
    content: "\00a0";
    display: inline-block;
    width: 16px;
    min-height: 16px;
    margin: -3px 5px -3px 0;
    vertical-align: middle;
    background: url(link-arrow.png) 0 50% no-repeat;
}
.msie > body { font-size: 75%; }

/* override main.less */
#map_canvas img {
    max-width: none;
    vertical-align: baseline;
}
#map_canvas h3 {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 5px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}
#map_canvas table,
#map_canvas caption,
#map_canvas th,
#map_canvas td {
    font-size: 16px;
}

/* end override */

#map_canvas.static-map {
    position: relative;
    background-color: #5281a5 !important; /* arms race! */
    background: url(landshlutar.png) 50% 50% no-repeat;
    background-size: contain;
}
.map-link {
    display: inline-block;
    *display:inline;*zoom:1;
    text-decoration: none;
    position: absolute;
    height: 12%;
    width: 20%;
}

/* positioning depends heavily on map (window) ratio
   these are tested from 2:1 to 1:1 (w:h) */
#link-hofudborgarsvaedid {
    top: 66%;
    left: 14%;
    width: 17%;
    height: 10%;
}
#link-vesturland {
    top: 48%;
    left: 12%;
    width: 28%;
}
#link-vestfirdir {
    top: 15%;
    left: 5%;
    width: 27%;
    height: 33%;
}
#link-nordurlandv {
    top: 15%;
    left: 32%;
    height: 33%;
}
#link-nordurlande {
    top: 15%;
    left: 52%;
    width: 30%;
    height: 33%;
}
#link-austurland {
    top: 39%;
    left: 67%;
    width: 25%;
    height: 30%;
}
#link-sudurland {
    top: 60%;
    left: 35%;
    width: 25%;
    height: 30%;
}
#link-sudurnes {
    top: 74%;
    left: 12%;
    width: 18%;
    height: 9%;
}
#link-vestmannaeyjar {
    top: 85%;
    left: 22%;
    width: 23%;
    height: 13%;
}


.marker-entry {
}
.full-entry {
    min-width: 320px;
    min-height: 180px;
}
.marker-entry td {
    vertical-align: top;
    padding: 0 12px 12px 0;
}
/*
#legend {
    display: none;
    position: absolute;
    top: 18px;
    left: 18px;
    min-width: 120px;
    padding: 0;
    z-index: 1;
}
#legend ul {
    background-color: #fff;
    background-color: rgba(255,255,255,0.8);
    border: 1px solid #ccc;
    margin: 0;
    margin-bottom: 1em;
    padding: 1em;
    list-style: none;
}
#legend li {
    line-height: 1.5;
}
#legend a {
    display: block;
    color: #000;
    text-decoration: none;
}
#legend span {
    display: inline-block;
    line-height: 1;
    height: 1em;
    width: 1em;
    margin-right: 0.5em;
    border: 1px solid #ccc;
}
#legend li.hidden a {
    opacity: .5;
}
#legend li.hidden span {
    background-color: transparent !important;
}
#legend li a:hover,
#legend li a:focus,
#legend li a:active {
    color: #006a8c;
    opacity: 1;
}
#legend .locations li {
    display: none;
    padding-right: 30px;
    background: url(legend-office.png) 100% 50% no-repeat;
    line-height: 20px;
    white-space: nowrap;
}
#legend .locations li.agent {
    background-image: url(legend-agent.png);
}
#legend .locations li.terminal {
    background-image: url(legend-terminal.png);
}

#legend .locations li a,
#legend li.route-toggler a {
    background: url(checkmark.png) 0 50% no-repeat;
    padding-left: 20px;
}
#legend .locations li.hidden a,
#legend li.route-toggler.hidden a {
    background-image: url(checkmark-off.png);
}

#legend li.route-toggler {
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
}
#legend li.explainer {
    font-size: .833em;
    line-height: 1.2;
    margin-top: -.5em;
    margin-bottom: .67em;
    color: #999;
}
#legend li.route:first-child,
#legend h3+ul.locations li:first-child {
    margin-top: 1em;
}

#legend h3 {
    position: relative;
    margin: -6px -2px 0 -10px;
    font-weight: normal;
    float: right;
    font-size: 1em;
}
#legend h3 a {
    font-size: 1em;
    margin: 0;
    display: block;
    position: relative;
    padding: .4em 1em;
    width: 0;
    overflow: hidden;
    text-indent: 30px;
    letter-spacing: -.4em;
    white-space: nowrap;
}
#legend h3 a:after {
    content: "";
    position: absolute;
    top: .75em;
    right: .7em;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: #999 transparent;
    border-width: 8px 5px;
    border-top-width: 0;
}

#legend.closed h3 {
    float: none;
    margin: 0;
}
#legend.closed h3 a {
    display: block;
    width: auto;
    padding-right: 2.5em;
    background-color: #fff;
    background-color: rgba(255,255,255,0.8);
    border: 1px solid #ccc;
    text-indent: 0;
    letter-spacing: 0;
}
#legend.closed h3 a:after {
    border-top-width: 8px;
    border-bottom: 0;
}

#legend.closed .routes,
#legend.closed .locations {
    display: none;
}
*/

.modalpop {
    overflow: scroll;
    font-size: 14px;
}
.modalpop .more {
    margin-top: 1em;
}


@media screen and (max-width: 700px) {

    .fullwidth #map_canvas {
        height: 400px;
    }

    #legend {
        top:  10px;
        left: 10px;
        padding: 6px 8px;
    }
    .fullwidth #legend {
        font-size: .917em; /* 11px */
        top:  0;
        left: 0;
        max-width: 100%;
        border-width: 1px 0 0 0;
        position: static;
        padding: 8px 0 1em 8px;
        overflow: hidden;
    }
    .fullwidth #legend li.explainer {
        font-size: .909em; /* 10px */
    }

    .fullwidth #legend ul {
        margin-right: -.5em;
    }
    .fullwidth #legend li {
        display: inline-block;
        margin-right: 1em;
        margin-bottom: .3em;
    }
    .fullwidth #legend span {
        margin-right: .25em;
    }

    .modalpop {
        font-size: 13px;
    }

}

@media screen and (max-width: 480px) {
    .modalpop {
        font-size: 12px;
    }
}


@media print {
    #legend { display: none; }
}


@media screen { #mediaformat:after{ content:"full"; }#mediaformat{ font-family:"full";} }
@media screen and (min-width:      0) { #mediaformat:after{ content:"mobile"; }#mediaformat{ font-family:"mobile"; } }
@media screen and (min-width:  480px) { #mediaformat:after{ content:"narrow"; }#mediaformat{ font-family:"narrow"; } }
@media screen and (min-width:  701px) { #mediaformat:after{ content:"tablet"; }#mediaformat{ font-family:"tablet"; } }
@media screen and (min-width:  911px) { #mediaformat:after{ content:"full";   }#mediaformat{ font-family:"full";   } }
@media screen and (min-width: 1131px) { #mediaformat:after{ content:"wide";   }#mediaformat{ font-family:"wide";   } }

