/* 
    Document   : style_maps
    Created on : 30 sept. 2013, 10:00:50
    Author     : cpoitevi
*/

/* 
Structure du bloc 
*/

.olMap {
    width: 956px;
    height: 450px;
    border: 1px solid white;
    margin-left: 0px;
    padding: 1px;
}

#map, .map {
    border: none;
    margin: 0px;
    padding: 0px;
}

#tabs #map .map {
	border: 1px solid white;
}

.bloc {
    padding: 1px;
    padding-top: 0px;
    border: none;
}

/*
Contrôles de la map
*/

.ol-attribution {
	right: 3.2em;	
}

.ol-full-screen {
	top: unset;
	bottom: 0.5em;
	
}

.ol-attribution {
	z-index: 2;	
}


.ol-mouse-position {
	top: unset;
	right: unset;
	bottom: 0px;
	background-color: #FFFFFF;
    color: #B47529;
    font-family: calibri;
    font-size: 14px;
    width: 180px;
    height: 20px;
    min-height: 14px;
    text-align: center;
	border: 1px solid #8db9db;
    border-bottom: none;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin: auto;
    left: 50%;
    transform: translate(-50%, 0);
    opacity: 0.9;
}

.mouseposition1 {
    background: url("./ui/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png") repeat-x scroll 50% 50% #5C9CCC;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    font-family: calibri;
    font-size: 14px;
    width: 956px;
    min-height: 20px;
    text-align: center;
    -moz-border-bottom-left-radius: 15px;
    border-bottom-left-radius: 15px;
    -moz-border-bottom-right-radius: 15px;
    border-bottom-right-radius: 15px;
    overflow: hidden;
    padding-top: 6px;
    padding-bottom: 4px;
    z-index: 2;
    cursor: default;
}

.mouseposition2 {
    background-color: #FFFFFF;
    color: #B47529;
    font-family: calibri;
    font-size: 14px;
    width: 180px;
    height: 20px;
    min-height: 14px;
    display: table-cell;
    vertical-align: middle; 
    text-align: center;
    z-index: 1009;
    overflow: visible;
    cursor: default;
    border: 1px solid #8db9db;
    border-bottom: none;
    -moz-border-top-left-radius: 10px;
    border-top-left-radius: 10px;
    -moz-border-top-right-radius: 10px;
    border-top-right-radius: 10px;
    position: absolute;
}

.olControlScaleLine.olControlNoSelect {
    background-color : #fff;
    border-top: 2px solid #8db9db !important;
    border-bottom: 2px solid #8db9db !important;
    border-right: 2px solid #8db9db !important;
    -moz-border-top-right-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-bottom-right-radius: 5px;
    border-bottom-right-radius: 5px;
    color: #B47529;
    font-family: calibri;
    font-weight: bold;
    font-size: 11px;
    bottom: 30px;
    left: 0px;
    width: 102px;
    padding: 5px;
    cursor: default;
}

.olControlOverviewMapElement{
    background: white !important;
    border-left: 2px solid #8db9db !important;
    border-bottom: 2px solid #8db9db !important;
    -moz-border-bottom-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.olControlOverviewMap.olControlNoSelect.olControlOverviewMapContainer {
    top: 0px;
} 

.olControlOverviewMapMaximizeButton.olButton, #OpenLayers_Control_minimizeDiv.olControlOverviewMapMinimizeButton.olButton {
    top: 0px;
    height: 32px;
    width: 32px;
}

.olControlNavToolbar {
    left: 10px !important;
    top: 10px !important;
    margin: 0 0 0px 0px !important;
}

.olControlNavToolbar div {
    background-image: url("../../squelettes/js/OL2/theme/maps/editing_tool_bar.png") !important;
    margin: 0 0 0px 0px !important;
    width: 22px !important;
    margin: 0 0 0px 0px !important;
    -moz-box-shadow: 0px 0px 1px #fff;
    -webkit-box-shadow: 0px 0px 1px #fff;
    box-shadow: 0px 0px 1px #fff;
}

.olControlPanPanel div {
    background-image: url("../../squelettes/js/OL2/theme/maps/pan-panel.png") !important;
}

.olControlPanPanel {
    left: 3px !important;
    top: 5px !important;
}

.olControlZoomPanel {
    left: 10px !important;
    top: 62px !important;
}

.olControlZoomPanel div {
    background-image: url("../../squelettes/js/OL2/theme/maps/zoom-panel.png") !important;
    height: 22px !important;
    width: 22px !important;
    -moz-box-shadow: 0px 0px 1px #fff;
    -webkit-box-shadow: 0px 0px 1px #fff;
    box-shadow: 0px 0px 1px #fff;
}

.olControlZoomBoxItemInactive.olButton, .olControlZoomBoxItemActive.olButton {
    margin-top: -2px !important;
}

.olControlZoomToMaxExtentItemInactive {
    top: 22px !important;
    background-position: 0 -22px !important;
}

.olControlZoomOutItemInactive {
    top: 44px !important;
    background-position: 0 22px !important;
}

.olControlLoadingPanel {
    background-image: url("../../squelettes/js/OL2/theme/maps/ajax-loader.gif");
    background-color: #fff;
    -moz-opacity:0.75;
    opacity: 0.75;
    filter:alpha(opacity=75);
    position: relative;
    width: 100%;
    height: 100%;
    background-position:center;
    background-repeat:no-repeat;
    display: none;
    z-index: 1016 !important;
}

.sonelOptionControl {
	position: absolute;
	top:0px;
	width:115px;
	left: calc(50% - 60px);
}

.sonelSelectMap {
	position: absolute;
	top: -1px;
	right: 0px;
    font-family: calibri;
    font-size: 13px;
    font-weight: bold;
    font-style: italic;
    letter-spacing: 3px;
    text-align: center;
    margin: 10px auto;
    width: 360px;
    margin-top: 1px;
    border-bottom: 2px solid #8db9db;
    border-left: 2px solid #8db9db;
    border-top: none;
    border-right: none;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -moz-border-bottom-left-radius: 10px;
    border-bottom-left-radius: 10px;
    color: #B47529;
    z-index: 1009;
    cursor: pointer;
}

.spinEffect {
	animation-name: spinEffect;
    animation-duration: 4000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes spinEffect {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}

/* Layer Switcher*/

.layersDiv {
    background-color: white;
    border: 2px solid #8db9db;
    width: 115px;
    padding: 0px 10px;
    margin-top: 20px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    z-index: 1008;
    position: relative;
    left: -10px;
}

.layersDiv .baseLbl, .layersDiv .dataLbl {
    font-size: 16px;
    font-weight: bolder;
    font-family: calibri;
    margin-top: 5px;
    text-align: center;
}

.layersDiv .baseLbl:not(:first-child) {
    border-top : 1px solid #8db9db;
}

.layersDiv .baseLayersDiv, .layersDiv .dataLayersDiv {
    font-size: 12px;
    font-weight: bold;
    font-family: calibri;
    margin-bottom: 5px;
}

.layersDiv .dataLayersDiv {
    margin-bottom: 0px;
}

.baseLayersDiv label, .dataLayersDiv label{
    margin-left: 5px;
    margin-top: 8px;
}

.baseLayersDiv input {
    vertical-align: middle;
    margin-left : 2px;
    margin-top: 8px;

}

.dataLayersDiv input{
    vertical-align: middle;
    margin-left : 2px;
    margin-top: 4px;     
    margin-bottom: 4px; 
 }
 
.hidelayers, .showlayers {
    cursor: pointer;
    position: absolute;
    z-index: 1009;
    margin: auto;
 }
 
/* Popup openlayers */

.olPopup-pointer {
	width:35px;
	height:33px;
	background-image: url("../images/popup-pointer.png");
	margin-left:15px;
	z-index:100;
	position:relative;
}

.olPopup-content {
	background-color: white;
	border: 1px solid #CCCCCC;
	border-radius: 20px;
	padding:15px;
	top:1px;
	position:relative;
}

.olPopupCloseBox {
    background: white url("../../squelettes/images/ol/close.png") no-repeat 3px 3px;
    border-top: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
    border-radius: 10px;
    padding:3px;
    background-size: 17px 17px;
    display: block;
    width:17px;
    height:17px;
    position:absolute;
    z-index:1000;
    top: -4px;
    right:-4px;
}

.olPopupCloseBox:hover {
	border: 1px solid #B47529;
}

ul.popupFeatures li.popupFeature {
	margin-bottom:10px;
}

.popupTitle {
    padding: 3px 0px 3px 10px;
    font-family: calibri;
    font-weight: bold;
    font-size: 15px;
    border-top: 1px solid #619fcd;
    border-bottom: 1px solid #619fcd;
}

.popupCorps ul li {
	margin: 6px;
}

.map {
	
	position: relative;
}


.map_legende {
	font-weight: bold; 
	padding: 8px;
}

.map_legende ul li {
	margin:6px; 
}

.map_legende ul li svg {
	vertical-align:middle;
}

.map_legende .legende_info_top {
	width:290px;
	margin: 0px auto;
	background-color:#CEE0EC;
	border: 2px solid #FFFFFF;
	border-radius: 0px 0px 10px 10px;
	padding: 3px;
	position:relative;
	top: -9px;
	text-align: center;
	text-shadow: -1px 0 #FFF, 0 1px #FFF, 1px 0 #FFF, 0 -1px #FFF;
}

.map_legende_horizontale {
	padding: 5px;
	width: 945px;
	height: 50px;
	background: url("../../squelettes/images/bg_stripe.png") repeat;
	border: 1px solid #FFFFFF;
    border-radius: 0px 0px 15px 15px;
}

.map_legende_horizontale ul li {
	margin-top: 3px;
	width: 230px;
	display: inline-block;
	text-align: center;
	font-weight: bold;
}

.map_legende_horizontale ul li label {
	cursor: pointer;
	display: inline-block; 
	
}


.textpopup {
    padding-top: 5px;
    padding-bottom: 5px;
}

.tabpopup {
    border-left: 2px solid #b47529;
    border-right: 1px solid #619fcd;
}

.barrepopup {
    width: auto;
    height: 5px;
    border-top: 1px solid #619fcd;
    margin-bottom: 10px;
}

.pop_1 {
    border-top: 1px solid #619fcd;
    border-right: 1px solid #619fcd;
    border-left: 2px solid #b47529;
    -moz-border-top-right-radius: 10px;
    border-top-right-radius: 10px;
    padding-top: 2px;
    padding-left: 10px;
    padding-right: 2px;
    color: #b47529;
    font-family: calibri;
    font-weight: bold;
    font-size: 18px;
    width: 130px;
}


.pop_3 {
    padding: 3px 0px 3px 10px;
    font-family: calibri;
    font-size: 14px;
}

.pop_4 {
    padding-top: 2px;
    padding-left: 10px;
    font-family: calibri;
    font-size: 14px;
}

.pop_4 a {
    font-style: italic;
}

.pop_5 {
    padding-bottom: 2px;
    padding-left: 10px;
    font-family: calibri;
    font-size: 14px;
}

