/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : 9 mars 2016, 15:39:02
    Author     : Asteroidz
*/


/* général */

.row {
    margin-left: -10px;
    margin-right: -10px;
    max-width: 1200px;
}

body.point .row {
    position: initial;
}

header > .row{
    padding: 0 20px;
    margin:0;
}

.footer-row{
    padding: 0 20px;
    margin:0;
}

body.point {
    height:100%
}

body.point main  {
    position: initial;
    background-color: #595959;
    padding-bottom: 40px;
    min-height: 100%;
}

footer{
    z-index: 600;
}

body.mentions .bloc_main_before_wrap  {
    background-color: #595959;
}

.liens-poi {
    color:cornflowerblue;
}

.popup-a-propos{
    position: fixed;
    /*top: -60px;
    bottom: -40px;*/
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(100,100,100,0.5);
    z-index: 700;
}

.popup-a-propos #a-propos{
    position: relative;
    max-width: 1000px;
    margin: 5vh auto;
    background-color: white;
    z-index: 600;
    padding: 20px 50px 50px;
    text-align: center;
    max-height: 85vh;
    overflow-y: scroll;
}

.popup-a-propos #a-propos > img {
    display: inline-block;
    height: 80px;
}

.popup-a-propos h2{
    font-size: 18px;
    font-weight: bold;
    margin-top:20px;
    margin-bottom: 20px;
    text-align: left;
}

.popup-a-propos p{
    text-align: left;
    word-break: keep-all;
    font-size: 16px;
}

.popup-a-propos .bouton-fermer{
    position: absolute;
    top: 40px;
    right: 50px;
}

.mentions-legales-wrapper {
    display:none;
    background-color: #595959;
    padding: 35px 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left:0;
    right:0;

}

.mentions-legales-wrapper #mentions-legales {
    position: relative;
    background-color: white;
    max-width: 1024px;
    margin: 0 auto;
    padding-top: 5px;
    height: 100%;
    overflow-y: scroll;
}

.mentions-legales-wrapper .row.paragraphe {
    margin-left: 60px;
    margin-right: 60px;
}

.para-wrap{
    padding-left: 0 !important;
    padding-right: 0 !important;
}


#mentions-legales .bouton-fermer{
    position: absolute;
    top: 60px;
    right: 50px;
}


header .logo-unoeilsouslamer {
    padding: 0px;
    height: 60px;
}

header .logo-unoeilsouslamer img {
    max-height: 60px;
}

header .logo-cmonspot {
    padding: 0px;
    height: 60px;
}

header .logo-cmonspot a {
    float: right;
    height:60px;
    line-height: 60px;
}

header .logo-cmonspot a img{
    max-height:45px;
}

header .logo-cmonspot a img {
    display:inline;
    vertical-align: middle;
}

.carto-wrapper form#follow-location {
    position: absolute;
    right: 0;
    top: 10px;
    z-index: 600;
    height:40px;
    width: 240px;
    cursor: pointer;
    background-color: white;
    padding-left:10px;
}

.carto-wrapper form#follow-location label{
    line-height: 38px;
}

.map-legend input[type=checkbox] {
    display: none !important;
}

.map-legend span.custom-checkbox {
    background-image: url('../img/checkbox.png?v=0');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: left center;
    cursor: pointer;
}

.map-legend span.custom-checkbox[attr='checked'] {
    background-image: url('../img/checked_checkbox.png?v=0');
}

.map-legend .checkbox span {
    display: inline-block;
    width: initial;
    min-height: 20px;
    vertical-align: middle;
    margin: 0;
}

.map-legend .checkbox span {
    padding-left: 30px;
}

.carto-wrapper span.custom-checkbox{
    display:inline-block;
    height:20px;
    width: 20px;
    cursor: pointer;
    vertical-align: middle;
}

.map-legend .checkbox {
    margin-bottom: 20px;
}


.carto-wrapper form#follow-location span{
    margin-right:10px;
}

.carto-wrapper .findlocation {
    position: absolute;
    right: 0;
    top: 60px;
    z-index: 600;
    height:40px;
    width: 240px;
    cursor: pointer;
    background-color: white;
    padding:5px;
}

.carto-wrapper .findlocation-image {
    display:inline;
    margin-right:5px;
    vertical-align: middle;
    height:28px;
    width: 28px;
}

.carto-wrapper .findlocation span {
    line-height: 30px;
}

.map-legend {
    position: fixed;
    z-index: 600;
    bottom: 40px;
    left: 0;
    background-color: white;
}

.map-legend .point-legend-description {
    height: 58px;
    width:335px;
    border-bottom: 1px solid darkgrey;
    position:relative;
    padding: 5px 0;
    line-height:20px;
    cursor: pointer;
}

.map-legend .point-legend-description img{
    display: inline-block;
    vertical-align: middle;
    height: 50px;
    margin-left: 10px;
    margin-right: 5px;
}

.map-legend .point-legend-description .fleche{
    color: black;
    display: inline-block;
    vertical-align: middle;
    height: 32px;
    margin: 0 5px 5px 5px
}

.map-legend .point-legend {
    display:block;
    height: 50px;
    padding-left:15px;
    line-height: 48px;
    border-bottom: 1px solid darkgrey;
    position:relative;
    cursor: pointer;
}

.map-legend .point-legend img{
    display: inline-block;
    vertical-align: middle;
    height: 30px;
    width: 30px;
    margin: 0 8px;
}

.point-wrapper {
    display:none;
    position: absolute;
    top: 60px;
    bottom: 40px;
    left:0;
    right:0;
    overflow-y: scroll;
}

.point-wrapper #point {
    height: 100%;
}

.point-wrapper #point .point-interet {
    background-color: white;
    margin:0 auto;
    padding: 20px 50px;
    height: 100%;
    max-width: 1200px;
    width: 90%;
    overflow-y: scroll;
}

.point-wrapper #point .point-interet .titre {
    line-height: 40px;
    margin-bottom: 30px;
    display: flow-root;
}

.point-wrapper #point .point-interet .titre h1 {
    font-size: 25px;
}

.bouton-fermer {
    display: block;
    width: 105px;
    height: 40px;
    line-height: 40px;
    background-color: #333;
    border-radius: 5px;
    color:white;
    padding-left:10px;
    cursor: pointer;
}

.bouton-fermer img {
    float: right;
}

.point-wrapper #point .point-interet .titre .bouton-fermer {
    float: right;
}


.point-wrapper #point .point-interet .sous-titre {
    font-size: 20px;
    margin-bottom:20px;
    line-height:25px;
}

.point-wrapper #point .point-interet .description {
    line-height: 24px;
    font-size: 16px;
    text-align: justify;
    word-break: keep-all;
}

.point-wrapper #point .point-interet .image-point {
    padding: 0 0 20px 40px;
    float: right;
    width: 50%;
}

.point-wrapper #point .point-interet .image-point img {
    width: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

.point-wrapper #point .point-interet .image-point .credit-image {
    margin-top: 10px;
    font-size: 16px;
}


#bloc_main_before_titre {
    display: none;
}

#lien-a-propos {
    cursor: pointer;
}

#tools button, #geolocation-search input[type=text] {
    position: absolute;
    right: 0;
    z-index: 500;
    outline: 0 none;
    border: 0 none;
    cursor: pointer;
    width: 40px;
    height: 40px;
}

#tools .icon-zoomin {
    top: 110px; !important;
}

#tools .icon-zoomout {
    top: 154px; !important;
}

@media screen and (max-width: 1200px) {
    .popup-a-propos #a-propos{
        max-width: 700px;
        padding: 15px 40px 40px;
    }

    .mentions-legales-wrapper #mentions-legales {
        max-width: 800px;
    }
}

@media screen and (max-width: 1000px) {
    .mentions-legales-wrapper #mentions-legales {
        max-width: 650px;
    }
}

@media screen and (max-width: 767px) {
    .mentions-legales-wrapper #mentions-legales {
        max-width: 450px;
    }

    .popup-a-propos #a-propos{
        max-width: 450px;
        padding: 15px 40px 40px;
    }

    .popup-a-propos h2{
        font-size: 16px;
        margin-top:15px;
        margin-bottom: 15px;
    }

    .popup-a-propos p{
        font-size: 14px;
    }

    .wrapper.row {
        margin: 0 !important;
    }

    .mentions-legales-wrapper .row.paragraphe {
        margin-left: 40px !important;
        margin-right: 40px !important;
    }

    header .row{
        padding: 0 20px !important;
    }

    footer .row{
        padding: 0 20px !important;
    }

    .point-wrapper #point .point-interet {
        padding:15px 35px;
    }

    .point-wrapper #point .point-interet .titre h1 {
        font-size: 20px;
        line-height: 24px;
    }

    .map-legend .point-legend-description {
        height: 48px;
        width:295px;
        line-height:18px;
        font-size: 14px;
    }

    .map-legend .point-legend-description .fleche{
        height: 28px;
    }

    .map-legend .point-legend-description img{
        display: inline-block;
        vertical-align: middle;
        height: 40px;
        margin: 0 10px;
    }

    .map-legend .point-legend {
        height: 40px;
        line-height: 38px;
    }

    .map-legend .point-legend img{
        display: inline-block;
        vertical-align: middle;
        height: 25px;
        width: 25px;
        margin: 0 10px;
    }

    .map-legend .point-legend span{
        font-size: 14px;
    }

    .carto-wrapper form#follow-location {
        top: 10px;
        height:36px;
        width: 210px;
        padding-left:10px;
    }

    .carto-wrapper form#follow-location label{
        line-height: 34px;
        font-size:14px;
    }

    .carto-wrapper form#follow-location span{
        height:17px;
        width: 17px;
        background-size: 17px 17px;
        margin-right:8px;
    }

    .carto-wrapper .findlocation {
        top: 60px;
        height:36px;
        width: 210px;
        padding:5px;
    }

    .carto-wrapper .findlocation-image {
        height:24px;
        width: 24px;
    }

    .carto-wrapper .findlocation span {
        line-height: 26px;
        font-size:14px;
    }

    .popup-a-propos .bouton-fermer{
        right: 35px;
    }

    #mentions-legales .bouton-fermer{
        top: 49px;
        right: 25px;
    }

    .bouton-fermer {
        width: 95px;
        height: 32px;
        line-height: 32px;
        border-radius: 4px;
        padding-left:8px;
        font-size: 15px;
    }

    .point-wrapper #point .point-interet .image-point {
        float: none;
        padding: 0 0 20px 0;
        width: 100%;
    }

    .point-wrapper #point .point-interet .image-point .credit-image {
        margin-top: 8px;
        font-size: 14px;
    }

    .point-wrapper #point .point-interet .sous-titre {
        font-size: 18px;
        margin-bottom:18px;
        line-height:22px;
    }

    .point-wrapper #point .point-interet .description {
        line-height: 22px;
        font-size: 14px;
    }

    footer .footer-logo {
        display: block;
    }

    #tools button, #geolocation-search input[type=text] {
        width: 36px;
        height: 36px;
    }

    #tools .icon-zoomin {
        top: 108px; !important;
    }

    #tools .icon-zoomout {
        top: 148px; !important;
    }

}

@media screen and (max-width: 480px) {
    .mentions-legales-wrapper #mentions-legales {
        max-width: 380px;
    }

    .popup-a-propos #a-propos{
        max-width: 350px;
        /*margin: 40px auto;*/
        padding: 10px 30px 30px;
    }

    .popup-a-propos h2{
        /*font-size: 14px;*/
        margin-top:10px;
        margin-bottom: 10px;
    }
    
    .point-interet {
        padding:15px 25px;
    }

    .point-wrapper #point .point-interet .titre h1 {
        font-size: 18px;
        line-height: 22px;
    }

    .bouton-fermer {
        width: 33px;
        height: 32px;
        line-height: 32px;
        padding-left:0;
    }

    .bouton-fermer span {
        display:none;
    }

    .point-wrapper #point .point-interet .sous-titre {
        font-size: 16px;
        line-height:20px;
    }

    .map-legend .point-legend-description {
        height: 44px;
        width:275px;
        line-height:16px;
        font-size: 13px;
    }

    .map-legend .point-legend-description img{
        height: 35px;
        margin: 0 10px;
    }

    .map-legend .point-legend {
        height: 40px;
        line-height: 38px;
    }

    .map-legend .point-legend img{
        height: 25px;
        width: 25px;
        margin: 0 10px;
    }

    .map-legend .point-legend span{
        font-size: 13px;
    }

    .carto-wrapper form#follow-location {
        top: 10px;
        height:34px;
        width: 195px;
        padding-left:10px;
    }

    .carto-wrapper form#follow-location label{
        line-height: 32px;
        font-size:13px;
    }

    .carto-wrapper form#follow-location span{
        height:15px;
        width: 15px;
        background-size: 15px 15px;
        margin-right:8px;
    }

    .carto-wrapper .findlocation {
        top: 52px;
        height:34px;
        width: 195px;
        padding:5px;
    }

    .carto-wrapper .findlocation-image {
        display:inline;
        vertical-align: middle;
        margin-right: 0;
        height:22px;
        width: 22px;
    }

    .carto-wrapper .findlocation span {
        line-height: 24px;
        font-size:13px;
    }

    #tools button, #geolocation-search input[type=text] {
        width: 32px;
        height: 32px;
    }

    #tools .icon-zoomin {
        top: 94px; !important;
    }

    #tools .icon-zoomout {
        top: 128px; !important;
    }
}







article.wrapper {
    /*background-color: #b6d0d0;*/
    max-width: inherit;
    position: absolute;
    margin: 0;
    left: 0;
    top: 60px;
    bottom: 40px;
    right: 0;
}

article.wrapper #bloc_main_before > div {
    padding: 0px;
    height: 100%;
}

article.wrapper #bloc_main_before,
article.wrapper #bloc_main_before_wrap,
article.wrapper .home,
article.wrapper .home div,
article.wrapper img {
    height: 100%;
}

/* TOOLS */
#natura-form {
    /**
    * On masque temporairement
    */
    display: none;
    transition: all 0.3s ease-in-out;
}

#natura-form #natura-label {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    height: 20px;
    width: 120px;
    background-color: #fff;
    outline: 0 none;
    border: 0 none;
    cursor: pointer;
    font-family: 'Raleway';
    font-weight: 600;
    font-size: 10px;
}

#natura-form #natura-label input,
#natura-form #natura-label span {
    display: inline-block;
    vertical-align: middle;
    padding-left: 25px;
    min-height: 20px;
    line-height: 20px;
}

#natura-form #natura-label input[type=checkbox] + span {
    background-size: 15px;
    background-position: left 4px center;
}

#geolocation-search {
}

#geolocation-search input[type=text].active {
    width: 120px !important;
    margin-right: 40px;
    padding: 0 15px;
    padding-right: 0;
}

#geolocation-search button[type=submit]:hover {
    background-color: #b6d0d0 !important;
}

#geolocation-search input[type=text]::placeholder {
    color: #555555;
    text-transform: none;
}

#geolocation-search input[type=text] {
    transition: all 0.3s ease-in-out;
    top: 0;
    padding: 0 20px;
    text-transform: capitalize;
    font-style: italic;
    color: #000;
    background-image: none;
}

#tools.init .icon, #tools.init .video-preview, #tools.init #natura-form {
    opacity: 0;
}

#tools .icon {
    opacity: 1;
    transition: all 0.3s ease-in-out;
    background-color: #ffffff;
}



#geolocation-search input[type=text], #tools button.icon-search {
    height: 44px;
}


#tools .layer.active {
    border: 2px solid #fff;
}

#tools .layer::before {
    content: attr(aria-label);
    position: absolute;
    background: #ffffff;
    color: #000000;
    padding: 5px 15px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
    right: 30px;
    top: 50%;
    opacity: 0;
    visibility: hidden;
    transition: all .2s;
    box-shadow: 0 0 4px rgba(0, 0, 0, .6);
    transform: translateY(-50%);
}

#tools .layer:hover::before {
    opacity: 1;
    visibility: visible;
}

.leaflet-map-pane canvas{
    z-index:800
}

#geolocation-search input::-webkit-input-placeholder,
#geolocation-search input:-moz-placeholder,
#geolocation-search input::-moz-placeholder,
#geolocation-search input:-ms-input-placeholder,
#geolocation-search input::placeholder {
    text-transform: none;
    font-style: italic;
    color: #000;
}

/* MAP */

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


/* overlay */
.carto-wrapper.zoom-poly .leaflet-popup-pane,
.carto-wrapper.zoom-poly .leaflet-marker-pane,
.carto-wrapper.zoom-marker .leaflet-overlay-pane {
    display: none;
}

.carto-wrapper.zoom-marker .leaflet-popup-pane,
.carto-wrapper.zoom-marker .leaflet-marker-pane,
.carto-wrapper.zoom-poly .leaflet-overlay-pane {
    opacity: 1;
    display: block;
}

/* overlay */
.leaflet-popup {
    pointer-events: none;
}

.leaflet-popup a, .leaflet-popup button {
    pointer-events: auto;
}

.leaflet-popup-content h1 {
    font-family: TungstenNarrow-Light;
    text-transform: uppercase;
    font-size: 25px;
    line-height: 1em;
    text-align: center;
    color: #0886ac;
    margin: 0 0 15px;
}

.leaflet-popup-content p {
    font-family: 'Raleway';
    font-size: 13px;
    word-break: normal;
}

.leaflet-popup-content .form-btn {
    margin-top: 20px;
    width: auto;
    color: #000;
    border-color: #000;
    cursor: pointer;
}

.leaflet-popup-tip-container {
    margin-top: -15px;
}

.carto-wrapper #map .leaflet-popup-close-button,
.carto-wrapper .leaflet-popup-close-button {
    position: absolute;
    width: 16px;
    height: 16px;
    background-image: url('../img/carto/popup-close.png');
    top: 32px;
    right: 35px;
    text-indent: -9999px;
}

.mobile .carto-wrapper .leaflet-popup-close-button {
    position: absolute;
    display: block;
    text-align: center;
    font-size: 45px;
    line-height: 1em;
    top: 55px;
    right: 10px;
}

.mobile .carto-wrapper .leaflet-map-info-block {
    position: absolute;
    top: 100%;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    transition: top 0.3s ease-in-out;
}

.mobile .carto-wrapper .info-btn {
    position: relative;
    transform: none;
}

/* OVERLAY */
.carto-wrapper .leaflet-map-info-block .icon {
    width: 30px;
    height: 30px;
    background-color: #fff;
    display: block;
    margin: 10px auto;
}

.carto-wrapper .info-btn {
    position: absolute;
    bottom: 5px;
    left: 30px;
    line-height: 30px;
    width: 240px;
}

.carto-wrapper .info-btn a {
    font-size: 12px;
    line-height: 1em;
    height: 40px;
    font-family: Raleway;
    text-transform: uppercase;
    padding: 12px;
    border: 1px solid #000;
    display: inline-block;
    vertical-align: middle;
}

.carto-wrapper .info-btn button.icon {
    display: inline-block;
    height: 40px;
    padding: 14px;
    line-height: 1em;
}








.carto-wrapper .contact-btn {
    right: 25px;
    bottom: 10px;
    transform: translateX(0px);
    -webkit-transform: translateX(0px);
    transition: all 0.3s ease;
}

/*.carto-wrapper svg:hover .svg-wrap {
    fill: #000000;
    stroke: #000000;
}

.carto-wrapper svg:hover .svg-line {
    fill: #ffffff;
    stroke: #ffffff;
}

.carto-wrapper svg:hover .svg-wrap-line {
    fill: #000000;
    stroke: #ffffff;
}*/

.carto-wrapper .contact-btn,
.carto-wrapper .contact-btn svg {
    position: absolute;
    height: 30px;
    width: 30px;
}

.carto-wrapper .contact-div,
.carto-wrapper .contact-btn svg {
    left: 0px;
    bottom: 0px;
    background-color: #ffffff;
}

.carto-wrapper .contact-btn svg {
    cursor: pointer;
    z-index: 3;
}

.carto-wrapper .contact-div {
    position: absolute;
    background-color: #fff;
    overflow: hidden;
    left: -250px;
    width: 0px;
    height: 370px;
    opacity: 0;
    /*transition: opacity 0.3s ease-in-out,
        left 0.2s ease-in-out,
        width 0.3s ease-in-out 0.3s;*/
    /*transition: opacity 0.3s ease-in-out,
        bottom 0.3s ease-in-out,
        height 0.2s ease-in-out,
        width 0.2s ease-in-out 0.1s,
        left 0.2s ease-in-out 0.3s;*/
}

.carto-wrapper .contact-div.actif {
    z-index: 1;
    left: 43px;
    width: 240px;
    opacity: 1;
    /*transition: opacity 0.3s ease-in-out, left 0.3s ease-in-out;*/
    /*transition: left 0.2s ease-in-out,
        width 0.2s ease-in-out 0.2s,
        height 0.2s ease-in-out 0.3s;*/
}

.carto-wrapper .contact-div span {
    display: block;
    text-align: center;
    font-size: 13px;
    margin-bottom: 10px;
}


/* GROUPE OVERLAY */

/* MOBILE COMPATIBILITY */

@media (max-width: 767px) {
    article.wrapper {
        top: 60px !important;
        bottom: 0px !important;
    }

    .mobile footer, footer {
        display: block;
    }

    /*#tools .icon-zoomin,
    #tools .icon-zoomout {
        display: none;
    }*/

    /*#tools .icon-share {
        top: 44px;
    }

    #tools .icon-videos,
    #tools .video-preview {
        top: 88px;
    }*/

    .loading-js {
        padding: 15px 10px !important;
        width: 75%;
    }

    #tools .icon.layer {
        margin-top: -40px;
    }

    /*
        #tools .icon.layer[data-layer="googleSat"] {
            margin-top: 92px;
        }*/
}

@media screen and (orientation: landscape) {
    .mobile #natura-form #natura-label,
    .mobile #tools .icon.layer {
        right: inherit !important;
        left: 0 !important;
    }
}

button.icon.icon-search.active.shadow {
    box-shadow: 4px 2px 4px 0px rgba(0, 0, 0, 0.3);
}

#geolocation-search input::-webkit-input-placeholder,
#geolocation-search input::-moz-placeholder,
#geolocation-search input::placeholder {
    color: #000;
    text-transform: none;
}

#bloc_extra_share {
    display: none;
}


#map-legend {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255.5);
    padding: 5px;
    font-size: 11px;
    padding-left: 50px;
    max-width: 50%;
}

#map-legend::before {
    content: '';
    position: absolute;
    left: 0px;
    top: 1px;
    width: 75px;
    height: 20px;
    background: url(../img/legende.png) no-repeat;
    background-size: contain;
}
