/**
 * CSS Reset
 * From Blueprint reset.css
 * http://blueprintcss.googlecode.com
 */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
body {line-height:1.5;}
table {border-collapse:separate;border-spacing:0;}
caption, th, td {text-align:left;font-weight:normal;}
table, td, th {vertical-align:middle;}
blockquote:before, blockquote:after, q:before, q:after {content:"";}
blockquote, q {quotes:"" "";}
a img {border:none;}

/**
 * Basic Typography
 */
body {
    font-family: "Lucida Grande", Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
    font-size: 80%;
    color: #222;
    background: #fff;
    margin: 1em 1.5em;
}
pre, code {
    margin: 1.5em 0;
    white-space: pre;
}
pre, code {
    font: 1em 'andale mono', 'lucida console', monospace;
    line-height:1.5;
}
a[href] {
    color: #436976;
    background-color: transparent;
}
h1, h2, h3, h4, h5, h6 {
    color: #003a6b;
    background-color: transparent;
    font: 100% 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
    margin: 0;
    padding-top: 0.5em;
}
h1 {
    font-size: 130%;
    /* margin-bottom: 0.5em; */
    border-bottom: 1px solid #fcb100;
}
h2 {
    font-size: 120%;
    margin-bottom: 0.5em;
   /* border-bottom: 1px solid #aaa; */
}
h3 {
    font-size: 110%;
    margin-bottom: 0.5em;
    text-decoration: underline;
}
h4 {
    font-size: 100%;
    font-weight: bold;
}
h5 {
    font-size: 100%;
    font-weight: bold;
}
h6 {
    font-size: 80%;
    font-weight: bold;
}

.smallmap {
    width: 512px;
    height: 256px;
    border: 1px solid #ccc;
}
#tags {display: none;}

#docs p {margin-bottom: 0.5em;}

.padding_small {padding: .5em;}
.padding_left {padding-left: 2em;}

/* mobile specific */
@media only screen and (max-width: 600px) {
    body {
        height           : 100%;
        margin           : 0;
        padding          : 0;
        width            : 100%;
    }
    #map {
        /*background : #7391ad;*/
        width      : 100%;
    }
    #map {
        border : 0;
        height : 250px;
    }
    #title {
        /* font-size   : 1.3em;
        line-height : 2em; */
        text-align : center;
        margin      : 0;
        padding     : 0;
    }
    #docs {
        bottom     : 0;
        padding    : 1em;
    }
    #shortdesc {
        color      : #aaa;
        font-size  : 1em;
        text-align : left;
    }
    #locate {
        padding : 0,0,0,2em;
    }

    #tags {
        display : none;
    }
}
@media only screen and (orientation: landscape) and (max-width: 600px) {
    #desc {
       float: right;
       width: 25%;
    }
    #shortdesc {
        text-align : center;
        padding    : 1em;
    }
    #map {
        width: 70%;
    }
    #docs {
        font-size: 12px;
    }
}
body {
    -webkit-text-size-adjust: none;
}

/* from mobile-wmts-vienna.css */

.layerPanel {
    position: absolute;
    top: 1em;
    right: 1em;
}
div.layerPanel div {
    display: inline;
    margin-left: 5px;
    cursor: pointer;
}
div.layerPanel div:after {
    font-weight: bold;
    font-size: 18px;
    font-family: arial;
    padding: 8px;
    color: #BFEFFF;
    line-height: 36px;
    border-radius: 5px 5px 5px 5px;
    background-color: #ccc;
    background: rgba(0,0,100,0.4);
}

div.layerPanel div.aerialButtonItemInactive:after,
div.layerPanel div.aerialButtonItemActive:after {
    content: 'Aerial';
    border-radius: 5px 5px 5px 5px;
}

div.layerPanel div.aerialButtonItemActive:after {
    text-decoration: underline;
    background: rgba(0,0,100,0.2);
}

div.olControlZoomPanel {
    height: 108px;
    width: 36px;
    position: absolute;
    top: 20px;
    left: inherit;
    right: 20px;
}
div.olControlZoomPanel div {
    cursor: pointer;
    width: 36px;
    height: 36px;
    left: 0;
    background-color: #ccc;
    background-image: none;
}
div.olControlZoomPanel .olControlZoomInItemInactive,
div.olControlZoomPanel .olControlZoomOutItemInactive {
    top: 0;
    background: rgba(0,0,100,0.4);
    position: absolute;
}
div.olControlZoomPanel .olControlZoomInItemInactive {
    border-radius: 5px 5px 0 0;
}
div.olControlZoomPanel .olControlZoomOutItemInactive {
    border-radius: 0 0 5px 5px;
    top: 37px;
}
div.olControlZoomPanel .olControlZoomOutItemInactive:after,
div.olControlZoomPanel .olControlZoomInItemInactive:after {
    font-weight: bold;
    content: '+';
    font-size: 36px;
    padding:  7px;
    z-index: 2000;
    color: #BFEFFF;
    line-height: 1em;
}
div.olControlZoomPanel .olControlZoomOutItemInactive:after {
    content: '–';
    line-height: 0.9em;
    padding: 0 8px;
}
div.olControlZoomPanel .olControlZoomToMaxExtentItemInactive {
    display: none;
}
div.olControlZoomPanel div.olControlGeolocateItemInactive,
div.olControlZoomPanel div.olControlGeolocateItemActive {
    position: absolute;
    right: 20px;
    top: 98px;
    border-radius: 5px 5px 5px 5px;
    background: #ccc url(img/locate.png) center no-repeat;
    background-color: rgba(0,0,100,0.4);
}
div.olControlZoomPanel div.olControlGeolocateItemActive {
    background-color: rgba(0,0,100,0.2);
}
div.olControlGeolocateItemInactive:after {
    font-weight: bold;
    font-size: 36px;
    padding:  7px;
    z-index: 2000;
    color: #BFEFFF;
    line-height: 1em;
    background: none;
}

/* from ol examples style.mobile.css, put it here and I put in one style sheet */

div.olControlZoom {
    position: absolute;
    top: 8px;
    left: 8px;
}

div.olControlZoom a {
    display: block;
    margin: 1px;
    padding: 0;
    color: white;
    font-size: 28px;
    font-family: sans-serif;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    height: 32px;
    width: 32px;
    line-height: 28px;
    text-shadow: 0 0 3px rgba(0,0,0,0.8);
    background: #666666; /* fallback for IE - IE6 requires background shorthand*/
    background: rgba(0, 0, 0, 0.3);
    filter: alpha(opacity=60);
}
a.olControlZoomIn {
    border-radius: 4px 4px 0 0;
}
a.olControlZoomOut {
    border-radius: 0 0 4px 4px;
}
div.olControlZoom a:hover {
    background: #444444; /* fallback for IE */
    background: rgba(0, 0, 0, 0.5);
    filter: alpha(opacity=80);
}
@media only screen and (max-width: 600px) {
    div.olControlZoom a:hover {
        background: rgba(0, 0, 0, 0.3);
    }
}
