* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

body {
    width:100%;
    margin:0;
    padding:0;
    font-family: Verdana,Arial,sans-serif;
    font-size: 12px;
}

a {
    color: #4782A3;
    text-decoration:none;
}

.hidden{
    display: none;
}

#map {
    position:absolute;
    top:0;
    bottom:0;
    width:100%;
}

#map.clear {
    background-color: #d4d09d;
}



div {
    display:align-block
}

#img2{
    margin-left: 50px;
    margin-top: 12px
}

#navi{
    margin-left:19px
}

#z{
    top: 460px;
    left: 50px;
    position: absolute;
    z-index: 999;
}

.options {
    list-style-type:none;
    margin: 0;
    padding: 0;
}

#layers {
    position:absolute;
    width: 295px;
    top: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 100;
    background-color: white;
    background-color: rgba(255,255,255,0.9);
    font-family: helvatica, Arial, sans-serif;
    border: 1px solid silver;
    padding: 20px 10px;
    color: #606060;
}



#layersScroll{
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    position: relative;
}

#layersContainer{
    height: auto;
    position: relative;
}

#infoScroller{
    height: 100%;
    overflow: scroll;
    overflow-x: hidden;
    overflow-y: scroll;
}




#map-ui {
    list-style: none;
    margin: 0;
    padding: 0;
}

#legend {
    position:absolute;
    bottom: 50px;
    opacity:0.7;
    padding: 5px;
    z-index: 100;
}

table{
    border-collapse: collapse;
    border-spacing: 0;
    border: none;
}

table.infotable{
    width: 100%;
}

table.infotable th{
    text-align: left;
    font-weight: bold;
    padding: 0 2px;
    font-size: 12px;
    line-height: 18px;
}

table.infotable td{
    text-align: left;
    padding: 0 2px;
    font-size: 12px;
    line-height: 18px;
}

table th,
table td{
    vertical-align: top;
}

.col1{
    padding-right: 8px;
}


.col2{
    border-left: 1px solid #e1e1e1;
    padding-left: 8px;
}



#jlo {
    color: #DAA520;
}


.baselayer,
.datafilter,
.datalayer,
.layerlisttitle{
    padding: 3px 3px 3px 30px;
    background: url("../images/ui_icons.png") no-repeat;
    background-position: 12px 2px;
    font-size: 12px;
    margin: 1px;
}



.baselayer:hover,
.datalayer:hover,
.datafilter:hover{
    background-color: #DDD;
    background-position: 12px -17px;
    cursor: pointer;
}

.baselayer.active,
.datalayer.active,
.datafilter.active{
    background-position: 12px -37px;
    opacity: 1;
}

.datafilter.inactive{
    opacity: 0.5;
}

.datalayer.multiline{
    background-image: none;
}

.datalayer.multiline:before{
    content: "";
    width: 16px;
    height: 16px;
    margin: -1px 0 0 -18px;
    float:left;
    background: url("../images/ui_icons.png?v4") no-repeat;
    opacity: 1;
}

.datalayer.active.multiline:before{
    background-position: 0 -39px;
}

.layergroup,
.layerlist{
    padding-left: 20px;
}

.layerlist.inactive{
    opacity: 0.4;
    pointer-events: none;
}


/* armyPositions */

#armyPositionsList .datafilter,
#armyPositionsVogelList .datafilter{
    background-image: none;
}

#armyPositionsList .datafilter:before,
#armyPositionsVogelList .datafilter:before{
    content: "";
    width: 12px;
    height: 12px;
    margin: -1px 0 0 -22px;
    float:left;
    border: 1px solid grey;
}

#armyPositions_n:before,
#armyPositionsVogel_n:before{
    background-color: #3aae67;
}

#armyPositions_e:before,
#armyPositionsVogel_e:before{
    background-color: #ae730b;
}


/*
info button overrides
*/

.mapbox-control-info{
    display: none !important;
    visibility: hidden;
}


#infobutton{
    position: absolute;
    bottom: 10px;
    right: 10px;

    background: url("../images/icons-leaflet.png") no-repeat #fff;
    background-position: 0 -78px;
    border-radius: 50%;

    content: '';
    display: inline-block;
    width: 26px;
    height: 26px;
    vertical-align: middle;

    opacity: .7;

    z-index: 200;
}

#infobutton:hover{
    opacity: 1;
    cursor: pointer;
}

#infobox{
    position: absolute;
    bottom: 10px;
    right: 10px;
    top: 48px;
    width: 400px;
    padding: 20px;
    max-width: 90%;
    background-color: #ffffff;
    display: none;

    font-family: helvatica, Arial, sans-serif;
    font-size: 12px;
    line-height: 150%;
}




#layers h2{
    margin: 8px 0 2px 0;
    padding: 2px 0 2px 14px;
    font-size: 13px;
    font-weight: bold;
    border-bottom: 1px solid silver;
    background: url("../images/ui_icons.png?v2") no-repeat;
    background-position: 0 -219px;
}

#layers h2:hover{
    cursor: pointer;
    background-color: #DDD;
}

#layers h2.closed{
    background-position: 0 -199px;
}

#layers h3{
    margin: 8px 0 2px 0;
    padding: 2px 0;
    font-size: 13px;
    font-weight: bold;
}

#layers h4{
    margin: 0;
    padding: 2px 0 2px 10px;
    font-size: 13px;
    font-weight: bold;
}

#layers ul{
    margin: 0;
    padding: 0;
}


#layersbutton{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 29px;
    height: 29px;

    border: 1px solid #999;
    border-color: rgba(0,0,0,0.4);
    border-radius: 3px;
    box-shadow: none;

    background: url("../images/icons-leaflet.png") no-repeat #fff;
    background-position: 0 -103px;

    z-index: 200;
    display: none;
}

#layersbutton:hover{
    background-color: #f8f8f8;
    cursor: pointer;
}

.doubleinfo{
    width: 600px;
}

.checklistitem{
    border-bottom: 1px solid #e9e9e9;
    height: 24px;
    background-image: url("../images/checkboxes.png?V3");
    background-position: center 2px;
    background-repeat: no-repeat;
}

.checklistitem.oui,
.checklistitem.Oui{
    background-position: center -39px;
}

table.infotable td.caption,
table.infotable td.caption2{
    font-weight: bold;
    border-bottom: 1px solid #8f8f8f;
    padding: 0 4px;
    text-align: center;
}

table.infotable td.caption2{
    border-left: 1px solid #e2e2e2;
}

table.infotable td.checklistcaption{
    text-align: right;
}

table.infotable td.centered,
table.infotable td.centered2{
    padding: 0 4px;
    text-align: center;
}



/* search */


/* search */

#searchbox{
    position: absolute;
    z-index: 100;
    left: 10px;
    top: 70px;

    background-color: #fff;
    border: 1px solid #999;
    border-color: rgba(0,0,0,0.4);
    border-radius: 3px;
    box-shadow: none;
}

#searchbox .control-search {
    float: left;
    display: block;
    content: '';
    text-indent: -999em;
    background: url("../images/icons-leaflet.png") no-repeat;
    background-position: 0 -155px;

    width: 26px;
    height: 26px;
}

#searchbox .control-search:hover {
    background-color: #f8f8f8;
    cursor: pointer;
}

#searchpanel{
    position: absolute;
    margin-left: 26px;
    margin-top: -1px;
    display: none;
}

#searchpanel .searchinput{
    width: 200px;
    height: 28px;
    background-color: white;
}

#searchpanel .searchinput input{
    width: 100%;
    height: 100%;
    padding: 2px 2px 2px 8px;
}

#searchForm{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

#searchresults{
    background-color: white;
    height: auto;
    width: 100%;
    font-family: helvatica, Arial, sans-serif;
    font-size: 12px;
}

#searchresults .result{
    padding: 4px 10px 4px 24px;
    border-bottom: 1px solid silver;
    background: url("../images/ui_icons.png") no-repeat;
}

#searchresults .result.icn{
    background-position: 4px -74px;
}

#searchresults .result.imine,
.inlinelegende div.i2{
    background-position: 4px -57px;
}


#searchresults .result.i1{
    background-position: 4px -238px;
}

#searchresults .result.i2{
    background-position: 4px -257px;
}

#searchresults .result.i3
#searchresults .result.i4{
    background-position: 4px -297px;
}

#searchresults .result.i5,
#searchresults .result.i6{
    background-position: 4px -317px;
}


#searchresults .result:hover{
    background-color: #f8f8f8;
    cursor: pointer;
}

#searchresults .footer{
    padding: 4px 10px;
    border-bottom: 1px solid silver;
    font-size: 10px;
    color: grey;
}

#searchresults .footer .more,
#searchresults .footer .less{
    text-decoration: underline;
    cursor: pointer;
}

#searchresults .footer .more:hover,
#searchresults .footer .less:hover{
    color: black;
}

.disclaimer{
    font-size: 0.9em;
}

.disclaimer p{
    margin: 16px 8px;
}

.indent{
    padding-left: 16px;
}

.line{
    border-bottom: 1px solid silver;
    height: 1px;
    margin: 4px 0 4px 14px;
}



