/* OpenLayers */
div.olMap {
    z-index: 0;
    padding: 0 !important;
    margin: 0 !important;
    cursor: default;
}

div.olMapViewport {
    text-align: left;
}

div.olLayerDiv {
    -moz-user-select: none;
    -khtml-user-select: none;
}

.olLayerGoogleCopyright {
    left: 2px;
    bottom: 2px;
}
.olLayerGoogleV3.olLayerGoogleCopyright {
    right: auto !important;
}
.olLayerGooglePoweredBy {
    left: 2px;
    bottom: 15px;
}
.olLayerGoogleV3.olLayerGooglePoweredBy {
    bottom: 15px !important;
}
.olControlAttribution {
    font-size: smaller;
    right: 3px;
    bottom: 4.5em;
    position: absolute;
    display: block;
}
.olControlScale {
    right: 3px;
    bottom: 3em;
    display: block;
    position: absolute;
    font-size: smaller;
}
.olControlScaleLine {
    display: block;
    position: absolute;
    left: 10px;
    bottom: 31px!important;
    font-size: xx-small;
    line-height: normal;
}
.olControlScaleLineBottom {
    border: solid 2px black;
    border-bottom: none;
    margin-top:-2px;
    text-align: center;
}
.olControlScaleLineTop {
    border: solid 2px black;
    border-top: none;
    text-align: center;
    line-height: normal;
}

.olControlPermalink {
    right: 3px;
    bottom: 1.5em;
    display: block;
    position: absolute;
    font-size: smaller;
}

div.olControlMousePosition {
    bottom: 38px!important;
    right: 0.9%!important;
    display: block;
    position: absolute;
    font-family: Arial;
    font-size: smaller;
}

.olControlOverviewMapContainer {
    position: absolute;
    bottom: 0;
    right: 0;
}

.olControlOverviewMapElement {
    padding: 10px 18px 10px 10px;
    background-color: #00008B;
    -moz-border-radius: 1em 0 0 0;
}

.olControlOverviewMapMinimizeButton,
.olControlOverviewMapMaximizeButton {
    height: 18px;
    width: 18px;
    right: 0;
    bottom: 80px;
    cursor: pointer;
}

.olControlOverviewMapExtentRectangle {
    overflow: hidden;
    background-image: url("img/blank.gif");
    cursor: move;
    border: 2px dotted red;
}
.olControlOverviewMapRectReplacement {
    overflow: hidden;
    cursor: move;
    background-image: url("img/overview_replacement.gif");
    background-repeat: no-repeat;
    background-position: center;
}

.olLayerGeoRSSDescription {
    float:left;
    width:100%;
    overflow:auto;
    font-size:1.0em;
}
.olLayerGeoRSSClose {
    float:right;
    color:gray;
    font-size:1.2em;
    margin-right:6px;
    font-family:sans-serif;
}
.olLayerGeoRSSTitle {
    float:left;font-size:1.2em;
}

.olPopupContent {
    padding:5px;
    overflow: auto;
}

.olControlNavigationHistory {
    background-image: url("img/navigation_history.png");
    background-repeat: no-repeat;
    width:  24px;
    height: 24px;

}
.olControlNavigationHistoryPreviousItemActive {
    background-position: 0 0;
}
.olControlNavigationHistoryPreviousItemInactive {
    background-position: 0 -24px;
}
.olControlNavigationHistoryNextItemActive {
    background-position: -24px 0;
}
.olControlNavigationHistoryNextItemInactive {
    background-position: -24px -24px;
}

div.olControlSaveFeaturesItemActive {
    background-image: url(img/save_features_on.png);
    background-repeat: no-repeat;
    background-position: 0 1px;
}
div.olControlSaveFeaturesItemInactive {
    background-image: url(img/save_features_off.png);
    background-repeat: no-repeat;
    background-position: 0 1px;
}

.olHandlerBoxZoomBox {
    border: 2px solid red;
    position: absolute;
    background-color: white;
    opacity: 0.50;
    font-size: 1px;
    filter: alpha(opacity=50);
}
.olHandlerBoxSelectFeature {
    border: 2px solid blue;
    position: absolute;
    background-color: white;
    opacity: 0.50;
    font-size: 1px;
    filter: alpha(opacity=50);
}

.olControlPanPanel {
    top: 10px;
    left: 5px;
}

.olControlPanPanel div {
    background-image: url(img/pan-panel.png);
    height: 18px;
    width: 18px;
    cursor: pointer;
    position: absolute;
}

.olControlPanPanel .olControlPanNorthItemInactive {
    top: 0;
    left: 9px;
    background-position: 0 0;
}
.olControlPanPanel .olControlPanSouthItemInactive {
    top: 36px;
    left: 9px;
    background-position: 18px 0;
}
.olControlPanPanel .olControlPanWestItemInactive {
    position: absolute;
    top: 18px;
    left: 0;
    background-position: 0 18px;
}
.olControlPanPanel .olControlPanEastItemInactive {
    top: 18px;
    left: 18px;
    background-position: 18px 18px;
}

.olControlZoomPanel {
    top: 71px;
    left: 14px;
}

.olControlZoomPanel div {
    background-image: url(img/zoom-panel.png);
    position: absolute;
    height: 18px;
    width: 18px;
    cursor: pointer;
}

.olControlZoomPanel .olControlZoomInItemInactive {
    top: 0;
    left: 0;
    background-position: 0 0;
}

.olControlZoomPanel .olControlZoomToMaxExtentItemInactive {
    top: 18px;
    left: 0;
    background-position: 0 -18px;
}

.olControlZoomPanel .olControlZoomOutItemInactive {
    top: 36px;
    left: 0;
    background-position: 0 18px;
}

/*
 * When a potential text is bigger than the image it move the image
 * with some headers (closes #3154)
 */
.olControlPanZoomBar div {
    font-size: 1px;
}

.olPopup .olPopupCloseBox {
    background: url("/img/map/close.png") no-repeat;
    background-size: 100% auto;
    cursor: pointer;
    top: 26px!important;
    right:21px!important;
    width:24px!important;
    height:24px!important;
    
}

.olPopup .olPopupCloseBox:HOVER {
   /* background: url("/img/map/close-hover.gif") no-repeat;*/
    cursor: pointer;
}


.olFramedCloudPopupContent {
    padding: 5px;
    overflow: auto;
}

.olControlNoSelect {
    -moz-user-select: none;
    -khtml-user-select: none;
}

.olImageLoadError {
    background-color: pink;
    opacity: 0.5;
    filter: alpha(opacity=50); /* IE */
}

/**
 * Cursor styles
 */

.olCursorWait {
    cursor: wait;
}
.olDragDown {
    cursor: move;
}
.olDrawBox {
    cursor: crosshair;
}
.olControlDragFeatureOver {
    cursor: move;
}
.olControlDragFeatureActive.olControlDragFeatureOver.olDragDown {
    cursor: -moz-grabbing;
}

/**
 * Layer switcher
 */
.olControlLayerSwitcher {
    position: absolute;
    top: 25px;
    right: 0;
    width: 20em;
    font-family: sans-serif;
    font-weight: bold;
    margin-top: 3px;
    margin-left: 3px;
    margin-bottom: 3px;
    font-size: smaller;
    color: white;
    background-color: transparent;
}

.olControlLayerSwitcher .layersDiv {
    padding-top: 5px;
    padding-left: 10px;
    padding-bottom: 5px;
    padding-right: 10px;
    background-color: darkblue;
}

.olControlLayerSwitcher .layersDiv .baseLbl,
.olControlLayerSwitcher .layersDiv .dataLbl {
    margin-top: 3px;
    margin-left: 3px;
    margin-bottom: 3px;
}

.olControlLayerSwitcher .layersDiv .baseLayersDiv,
.olControlLayerSwitcher .layersDiv .dataLayersDiv {
    padding-left: 10px;
}

.olControlLayerSwitcher .maximizeDiv,
.olControlLayerSwitcher .minimizeDiv {
    width: 18px;
    height: 18px;
    top: 5px;
    right: 0;
    cursor: pointer;
}

.olBingAttribution {
    color: #DDD;
}
.olBingAttribution.road {
    color: #333;
}

.olGoogleAttribution.hybrid, .olGoogleAttribution.satellite {
    color: #EEE;
}
.olGoogleAttribution {
    color: #333;
}
span.olGoogleAttribution a {
    color: #77C;
}
span.olGoogleAttribution.hybrid a, span.olGoogleAttribution.satellite a {
    color: #EEE;
}

/**
 * Editing and navigation icons.
 * (using the editing_tool_bar.png sprint image)
 */
.olControlNavToolbar ,
.olControlEditingToolbar {
    margin: 5px 5px 0 0;
}
.olControlNavToolbar div,
.olControlEditingToolbar div {
    background-image: url("img/editing_tool_bar.png");
    background-repeat: no-repeat;
    margin: 0 0 5px 5px;
    width: 24px;
    height: 22px;
    cursor: pointer
}
/* added to support modify feature & delete features */
.olControlEditingToolbar .olControlModifyFeatureItemInactive {
    background-position: -1px -1px;
}
.olControlEditingToolbar .olControlModifyFeatureItemActive {
    background-position: -1px -24px;
}
.olControlEditingToolbar  .deleteButtonItemInactive
{
    background-image: url("img/delete_feature_inactive.png");
    float:right; 
}
.olControlEditingToolbar .deleteButtonItemActive
{   
    background-image: url("img/delete_feature_active.png");
    float:right;
}
/* end */
/* positions */
.olControlEditingToolbar {
    right: 0;
    top: 0;
}
.olControlNavToolbar {
    top: 295px;
    left: 9px;
}
/* layouts */
.olControlEditingToolbar div {
    float: right;
}
/* individual controls */
.olControlNavToolbar .olControlNavigationItemInactive,
.olControlEditingToolbar .olControlNavigationItemInactive {
    background-position: -103px -1px;
}
.olControlNavToolbar .olControlNavigationItemActive ,
.olControlEditingToolbar .olControlNavigationItemActive  {
    background-position: -103px -24px;
}
.olControlNavToolbar .olControlZoomBoxItemInactive {
    background-position: -128px -1px;
}
.olControlNavToolbar .olControlZoomBoxItemActive  {
    background-position: -128px -24px;
}
.olControlEditingToolbar .olControlDrawFeaturePointItemInactive {
    background-position: -77px -1px;
}
.olControlEditingToolbar .olControlDrawFeaturePointItemActive {
    background-position: -77px -24px;
}
.olControlEditingToolbar .olControlDrawFeaturePathItemInactive {
    background-position: -51px -1px;
}
.olControlEditingToolbar .olControlDrawFeaturePathItemActive {
    background-position: -51px -24px;
}
.olControlEditingToolbar .olControlDrawFeaturePolygonItemInactive{
    background-position: -26px -1px;
}
.olControlEditingToolbar .olControlDrawFeaturePolygonItemActive {
    background-position: -26px -24px;
}

div.olControlZoom {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255,255,255,0.4);
    border-radius: 4px;
    padding: 2px;
}
div.olControlZoom a {
    display: block;
    margin: 1px;
    padding: 0;
    color: white;
    font-size: 18px;
    font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    height: 22px;
    width:22px;
    line-height: 19px;
    background: #130085; /* @alternate *//* fallback for IE - IE6 requires background shorthand*/
    background: rgba(0, 60, 136, 0.5);
    filter: alpha(opacity=80);
}
div.olControlZoom a:hover {
    background: #130085; /* @alternate *//* fallback for IE */
    background: rgba(0, 60, 136, 0.7);
    filter: alpha(opacity=100);
}
@media only screen and (max-width: 600px) {
    div.olControlZoom a:hover {
        background: rgba(0, 60, 136, 0.5);
    }
}
a.olControlZoomIn {
    border-radius: 4px 4px 0 0;
}
a.olControlZoomOut {
    border-radius: 0 0 4px 4px;
}


/**
 * Animations
 */

.olLayerGrid .olTileImage {
    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    -o-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
}



/* OpenSpace */

.OpenSpaceControlCopyrightCollection {
    left: 145px;
    bottom: 1px;
    margin: auto !important;
    margin-right: 2px !important;
    padding: 0 !important;
    z-index: 1500 !important;
}
.OpenSpaceControlCopyrightCollection p {
    font-size: 11px;
    font-weight: bold;
    font-family: tahoma, arial, sans-serif;
    color: black;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    visibility: visible !important;
    white-space: normal !important;
    background-image: url(img/transp2x2.gif);	
}

.OpenSpaceControlCopyrightCollection a:link {
    color: black;
}
.OpenSpaceControlCopyrightCollection a:visited {
    color: black;
}
.OpenSpaceControlCopyrightCollection a:hover {
    color: gray;
}
.OpenSpaceControlCopyrightCollection a:active {
    color: gray;
}

#OpenSpaceControlPoweredBy {
    bottom: 0px;
    width: 137px;
    height: 60px;
    z-index: 1500 !important;
}
#OpenSpaceControlPoweredBy._sm{
    bottom: 0px;
    width: 69px !important;
    height: 30px !important;
}
#OpenSpaceControlPoweredBy img {
    left: -2px;
    top: 1px;
    width: 137px;
    height: 60px;
}
#OpenSpaceControlPoweredBy._sm img {
    left: 1px;
    top: -1px;
    width: 69px !important;
    height: 30px !important;
}

.OpenSpaceControlOverviewMapContainer {
    position: absolute;
    bottom: 16px;
    right: 0px;
}

.OpenSpaceControlOverviewMapBackground {
    background-color: #504d4d;
    z-index: -1;
}

.OpenSpaceControlOverviewMapElement {
    border: 2px solid white;
    margin: 8px 8px 0px 8px;
}

.OpenSpaceControlOverviewMapMinimizeButton {
    right: 0px;
    bottom: 80px;
    filter: alpha(opacity=0);
    display: none;
}    

.OpenSpaceControlOverviewMapMaximizeButton {
    right: 0px;
    bottom: 80px;
    filter: alpha(opacity=0);
    display: none;
}

.OpenSpaceControlOverviewMapExtentRectangle {
    cursor: move;
    border: 2px dotted grey;
}

@media print {
    .OpenSpaceControlLargeMapControl {
        display: none;
    }
}

.OpenSpaceControlDragMarkersOver {
    cursor: move;
}

.OpenSpaceControlDragMarkersActive.OpenSpaceControlDragMarkersOver.olDragDown {
    cursor: -moz-grabbing;
}

.olControlNoSelect._sm {
    left: 80px ;
}


#blDiv_innerImage {
    vertical-align: top;
    display: block;
    font-size: 0px;
} 

#bDiv_innerImage {
    vertical-align: top;
    display: block;
    font-size: 0px;
}

#brDiv_innerImage {
    vertical-align: top;
    display: block;
    font-size: 0px;
}
/* wordpress fix for max-dwith [stripy map] issue */
div.olMap .olMapViewport img{
    max-width:none!important;
    vertical-align: top;
}


/* Additions */

.olControlSearchBox {
    left: 80px;
    top: 1px;
    padding: 9px;
    padding-left: 18px;
    background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAEklEQVQIW2P8DwSMIMAABCAOAEgTB/9mfxv0AAAAAElFTkSuQmCC);
}
.olControlSearchBox .olControlSearchBoxSearchInput {
    float:left;
    clear: left;
}

.olControlSearchBox .olControlSearchBoxSearchInput {
    border-width: 1px;
    border-color: #777777;
    border-style: solid;
}

.olControlSearchBox div.olControlSearchBoxOptions {
    float:right;
    color: white;
    font-size: 11px;
    font-weight: bold;
    font-family: tahoma, arial, sans-serif;
    margin-top: 5px;
    margin-left: 4px;
    border-radius: 24px;
    padding-right: 8px;
    padding-left: 8px;
    padding-top: 1px;
    padding-bottom: 1px;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: black;
    /* IE10 Consumer Preview */ 
    background-image: -ms-radial-gradient(center, circle closest-corner, #B5B5B5 0%, #000000 120%);
    /* Mozilla Firefox */ 
    background-image: -moz-radial-gradient(center, circle closest-corner, #B5B5B5 0%, #000000 120%);
    /* Opera */ 
    background-image: -o-radial-gradient(center, circle closest-corner, #B5B5B5 0%, #000000 120%);
    /* Webkit (Safari/Chrome 10) */ 
    background-image: -webkit-gradient(radial, center center, 0, center center, 466, color-stop(0, #B5B5B5), color-stop(1.2, #000000));
    /* Webkit (Chrome 11+) */ 
    background-image: -webkit-radial-gradient(center, circle closest-corner, #B5B5B5 0%, #000000 120%);
    /* W3C Markup, IE10 Release Preview */ 
    background-image: radial-gradient(circle closest-corner at center, #B5B5B5 0%, #000000 120%);
}

.olControlSearchBox div.olControlSearchBoxOptionsLabel {
    cursor: pointer;
    white-space: nowrap;
}

.olControlSearchBox div.olControlSearchBoxOptions.olControlSearchBoxOptionsOpen {
    border-radius: 6px;
}

.olControlSearchBox div.olControlSearchBoxInProgress {
    clear:left;
    float:left;
}

.olControlSearchBox ol {
    clear:left;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    margin-top: 0px;
    margin-bottom: 0px;
}

.olControlSearchBox ol li {
    list-style-type: none;
    font-family: tahoma, arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-left: -30px;
    color: black;
    background-color: white;
    cursor: pointer;
    border-color: #777777;
    border-width: 1px;
    border-style: dotted;
    border-top: none;
    border-bottom: none;
}

.olControlSearchBox ol li:first-child{
 border-top: 1px;
}

.olControlSearchBox ol li:last-child{
 border-bottom: 1px;
}

.olControlSearchBox ol li:hover {
    background-color: #777777;
    color: white;
}

.olControlSearchBox .olControlSearchBoxInProgress {
    float: left;
    clear:left;
    list-style-type: none;
    font-family: tahoma, arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    padding: 2px;
    color: black;
    background-color: white;
    cursor: pointer;
}

.olControlSearchBox .olControlSearchBoxResultsWrapper {
    clear: left;
}

.olControlSearchBox .olControlSearchBoxOptionsDiv ul {
    list-style-type: none;
}

.olControlSearchBox .olControlSearchBoxOptionsDiv ul li {
    list-style-type: none;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-left: -30px;
    clear:left;
}

.olControlPanZoomBar{
    right:63px;
    left:auto!important;
}

.olControlZoomPanel {
    background: red;
}

.olControlPanPanel {
    display:none!important;
}



#sidePanel {
    text-align:left;
    background:none repeat scroll 0 0 #000;
    position: absolute;
    z-index:1;
    width:35%;
    height:auto;
    left:0;
    right: auto;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    padding:0.5%;
    top:15%;
}

#sidePanel.markTable{

}



.contentText{
    color:#FFF;
    padding:10px;
}

#map{
    position: relative;
    height: 100%;
    width:100%;    
	color: #000000;
}

#map image{
    /*cursor:pointer;*/
}

html, body {
    height: 100%!important;
    width: 100%!important;
}

.fill{
    position: absolute;
    width:auto;
    height:93%;
    left:0;
    right:0;
    bottom:1.7%;
    background: url(../img/map/textured_paper.jpeg) repeat; 
    z-index: 1;
    height:calc(100% - 50px)!important;
    top:50px!important;    
}

/*.flap {
    width: 25px;
    position: absolute;
    z-index: 99;
    top:50%;
}
.flapLabel{
    padding: 7px;
    background: none repeat scroll 0 0 #000000;
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 0 5px #999999;
    color: #FFFFFF;
    font-size: 18px;
    cursor: pointer;
    white-space: nowrap; 
    position: relative; 
    width: 21px;    
}*/

.flap{
    //left:100%;
}

#chicken_FrameDecorationDiv_1, #chicken_FrameDecorationDiv_2, #chicken_FrameDecorationDiv_3, #chicken_FrameDecorationDiv_4, #chicken_FrameDecorationDiv_0{
    //display:none;
}

#chicken_contentDiv{
    background: #fff;
    height:auto!important;
    width:auto!important;
    padding:0;
    top:32px!important;
    overflow-x: hidden !important;
}

#chicken, #chicken_contentDiv{
}

.balloonContent{
}

#chicken_FrameDecorationImg_0, #chicken_FrameDecorationImg_1, #chicken_FrameDecorationImg_2, #chicken_FrameDecorationImg_3{
    //display:none;
}

#chicken_FrameDecorationDiv_4{
    //top:7px!important;
    
}

#chicken_FrameDecorationDiv_4{
    bottom:14px!important;
}

/*RESPONSIVE*/

@media (max-width:1350px){
    div.olControlMousePosition{
        bottom:38px!important;

    }
}

@media (max-width: 1264px) {
    #sidePanel{
    top:10%;
    }
    div.olControlMousePosition{
        bottom:38px!important;

    }    

}

@media (max-width: 1008px) {
    #sidePanel{
        width: 35%;

     }    

}

@media (max-width: 979px) {

    #sidePanel{
    top:10%;
    width: 50%;
}



#sidePanel.closed{
    left:-50.5%!important;
}

#sidePanel.closed.opened{
    left:0!important;
}

.navbar {
    position: relative;
    z-index: 2;
}

.olControlPanZoomBar{
    top:45px!important;
}

}

@media (max-width: 768px) { 
    .divMap.span6{
        width:100%;
        margin:0!important;
    }
.divMap{
    width: 100% ;
    height: 100%;
    height: 500px;
}    

.contentHeader{
    padding:10px 0;
}

.span10 {
    padding-right:0!important;
}


#sidePanel{
    top:10%;
    width: 99.5%;
}

.fil{
    top:594px;
}



.olControlPanZoomBar{
    display:none!important;
}

.balloonContent .balloon-actions .btn{
    width:100%;
    display:block;
    margin:3px 0;
    float:none!important;
}

}

/*BY HEIGHT*/
@media (max-height: 847px) {
    .olControlPanZoomBar{
        top:3%!important;
    }

}
