/* Tooltip */
.region-zones article.show {
    background-color: #e2eff6;
}

#map-region path.show {
        fill: #e2eff6 !important;
        fill-opacity: 0.5 !important;
}

.leaflet-top, .leaflet-bottom{
    z-index: 400;
}

.low-opacity {
        opacity: 0.3 !important;
}

.leaflet-overlay-pane.low-opacity .full-opacity {
        opacity: 1;
}

.leaflet-overlay-pane.low-opacity-parent .lines, .leaflet-overlay-pane.low-opacity-parent .points {
        opacity: 0.3 !important;
}

.leaflet-overlay-pane.low-opacity-parent .constraint {
	opacity: 0.3 !important;
	stroke-opacity: 0.3 !important;
}

.leaflet-overlay-pane.low-opacity-parent .constraint.show {
	opacity: 1 !important;
	stroke-opacity: 1 !important;
}

.leaflet-overlay-pane.low-opacity-parent .points.show {
    opacity: 1 !important;
}

.leaflet-tooltip.rte-tooltip-post {
        font-size: x-small;
}

.leaflet-tooltip.rte-tooltip-zone {
        border: none;
        color: black;
        font-size: small;
        font-weight: bold;
}

.leaflet-tooltip.rte-tooltip-neighboring-region {
        background-color: transparent;
        color: white;
        border: none;
        text-transform: uppercase;
	box-shadow: none;
}

.leaflet-tooltip.rte-tooltip-neighboring-region .region-name {
        background-color: black;
        border-radius: 5px;
        color: white;
	    padding: 5px;
        text-transform: uppercase;
        font-weight: 600;
}

.leaflet-tooltip.rte-tooltip-neighboring-region .region-type {
        background-color: transparent;
        color: black;
	    text-transform: none;
}

.path-user #block-popin {
    display: none;
}

.spb_close {
    width: 100%;
    height: 100%;
    padding: 0;
}

.spb-controls {
    height: 50px;
    position: absolute;
    right: 37%;
    width: 160px;
    bottom: 35px;
    text-align: center;
}

.leaflet-tooltip.rte-tooltip-region-empty, .leaflet-tooltip.rte-tooltip-region {
    box-shadow: none;
}

.leaflet-container {
    z-index: 0;
}

#block-encartderecherche input {
    width: 100%;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #000000;
    border: none;
    box-shadow: none;
    outline: none;
    background-color: white;
}

#block-encartderecherche {
    margin-left: 222px;
    padding: 26px 18px 26px 51px;
    height: 80px;
    background-image: url(/themes/rte_bootstrap/css/../images/search-icon.png);
    background-repeat: no-repeat;
    background-position: left;
    background-size: 25px;
    background-position-x: 18px;
}

header.show-results #block-encartderecherche{
    margin-left: 0;
}

.block-views-blockliste-de-postes-et-contraintes-block-1 .view-filters {
    display: none;
}

.block-views-blockliste-de-postes-et-contraintes-block-1 {
    padding: 0;
    height: 0;
    background-color: white;
    background-image: none;
}

.block-views-blockliste-de-postes-et-contraintes-block-1 .view-empty{
    background-color: white;
    padding: 20px;
}

.block-views-blockliste-de-postes-et-contraintes-block-1 .view-content {
    max-height: 80vh;
    overflow-y: scroll;
    display:none;
}


#block-pasderesultat {
    position: absolute;
    padding: 20px;
    display:none;
}

header.show-results #block-pasderesultat{
    display: block;
}

header .js-pager__items{
    display:none;
}

#constraint-symbol {
  background-image: none !important;
  height: 12px !important;
  background-color: #4ABEE2;
  border-radius: 12px !important;
}

#around-zone-symbol {
    background-image: none !important;
    background-color: #E2EFF6;
    border: 2px solid black;
}

.back-link {
    padding: 6px 158px 5px 240px !important;
}

.main-page .files-list .file-icon {
    background-image: url(/themes/rte_bootstrap/css/../images/download_icon.png) !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    width: 22px;
    height: 22px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 13px;
    margin-top: 16px;
}

.rte-tooltip-circle-post.selected {
    height: 30px;
    width: 30px;
    padding-top: 4px;
    padding-left: 11px;
}

path, .leaflet-interactive {
    cursor: auto !important;
}

.cursor {
    cursor: pointer !important;
}

.file {
    margin : 0;
}

.previous-data, .next-data {
    cursor: pointer;
}

.previous-data:before, .next-data:after {
    background-image: url(/themes/rte_bootstrap/css/../images/arrow-left.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 10px;
    height: 10px;
    display: inline-block;
    vertical-align: middle;
}

.next-data:after {
    transform: scale(-1);
}

.page-node-type-region .region.region-content,
.page-node-type-zone .region.region-content,
.page-node-type-constraint .region.region-content,
.page-node-type-poste .region.region-content,
.page-node-type-page-d-accueil .region.region-content {
	max-width: 720px;
	float: right;
	box-shadow: 8px -2px 6px -6px rgba(0, 0, 0, 0.2);
	width: 100%;
}

.page-node-type-region .navbar-header,
.page-node-type-zone .navbar-header,
.page-node-type-constraint .navbar-header,
.page-node-type-poste .navbar-header,
.page-node-type-page-d-accueil .navbar-header {
	max-width: 720px;
	float: right;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

header {
	box-shadow: none;
}

.page-node-type-region footer nav,
.page-node-type-zone footer nav,
.page-node-type-constraint footer nav,
.page-node-type-poste footer nav,
.page-node-type-page-d-accueil footer nav{
	max-width: 720px;
	float: right;
	border-top: 1px solid #E5E5E5;
}

footer {
	border-top: none !important;
}

.page-node-type-page-d-accueil .main-container > .no-margin > section, .page-node-type-region .main-container > .no-margin > section, .page-node-type-zone .main-container > .no-margin > section, .page-node-type-constraint .main-container > .no-margin > section, .page-node-type-poste .main-container > .no-margin > section {
	box-shadow: none;
}

#map-metropole, #map-region, #map-zone, #map-constraint, #map-post, #map {
    min-height: 100vh !important;
}

.page-node-type-region aside.col-sm-6[role="complementary"],
.page-node-type-zone aside.col-sm-6[role="complementary"],
.page-node-type-constraint aside.col-sm-6[role="complementary"],
.page-node-type-poste aside.col-sm-6[role="complementary"]{
    z-index: -1;
}

.view-default-zones-list {
    max-width: 720px;
	float: right;
	width: 100%;
}

.view-liste-de-postes-et-contraintes {
    max-width: 720px;
	float: right;
	width: 100%;
	position: relative;
}

.rte-tooltip-circle-post.show {
    width: 30px;
    height: 30px;
    padding: 5px 10px;
}

.rte-tooltip-circle-post-infdr.show {
  width: 30px;
  height: 30px;
  padding: 5px 10px;
}

.leaflet-marker-icon {
    display: none !important;
}

.rte-tooltip-sous-prefecture, .rte-tooltip-prefecture {
    color: rgba(0, 0, 0, 0.4) !important;
    font-weight: 100 !important;
    font-size: 11px !important;
}

.rte-tooltip-prefecture {
    text-transform: uppercase !important;
}


@media screen and (min-width: 992px) {
    .d-md-none {
        display: none;
    }

    .d-md-block {
        display: block;
    }
}

@media screen and (max-width: 991px) {
   .d-block {
        display: block !important;
    }

    .d-none {
        display: none !important;
    }
}

.inappropriate-screen-message {
    display: flex;
    flex-flow:column;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 20%;
    right: 20%;
    top: 30%;
    border: 1px solid #00a5db;
    padding: 30px;
    font-size: 20px;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.05;
    letter-spacing: normal;
    color: #000000;
    margin: 60px 30px 0 30px;

}

@media screen and (max-width: 600px) {
  .inappropriate-screen-message {
    left: 0%;
    right: 0%;
    top: 25%;
  }
}


.inappropriate-screen-message img{
    margin-bottom: 10px;
    width: 100%;
    min-height: 1px;
}

.menu--footer > li > a:focus {
    background-color: transparent !important;
}

#legend-row-first .legend-item {
    flex: inherit;
}

#legend-row-first.legend-row {
    display: flex;
}

.legend-row {
    margin-bottom: 10px;
}

