body { 
    margin:0; 
    padding:0; 
}

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

/*--------- Legend Bar ---------*/

@media only screen and (min-width: 740px){

    .listing-group {
        font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
        font-weight: 600;
        position: absolute;
        top: -31px;
        z-index: 1;
        border-radius: 3px;
        max-width: 20%;
        color: #fff;
        text-align: center;
        right: 1%;
        padding-top: 20px;
        line-height: 13px!important;
    }
    
    .listing-group input[type=checkbox]:first-child + label {
        border-radius: 3px 3px 0 0;
        padding-top: none;
    }
    
    .listing-group label:last-child {
        border-radius: 0 0 15px 15px;
        border: none;
        
    }
    
    .legend label:last-child{
        border-radius: 0 0 15px 15px;
    }
    
    .listing-group input[type=checkbox] {
        display: none;
    }
    
    .listing-group input[type=checkbox] + label {
        background-color: #3386c0;
        display: block;
        cursor: pointer;
        padding: 10px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    }
    
    .listing-group input[type=checkbox] + label {
        background-color: #3386c0;
        text-align: right;
        
    }
    
    .listing-group input[type=checkbox] + label:hover,
    .listing-group input[type=checkbox]:checked + label {
        background-color: #4ea0da;
        text-align: right;
    }
    
    .listing-group input[type=checkbox]:checked + label:before {
        content: '✔';
        margin-right: 5px;
        display: none;
    }
    
    .legend .fas.fa-eye-slash {
        padding:0;
    }
    
    /*------------paved trail, other trail, natural & on road ----------------*/
    
    
}



/*-------------------- Legend icons colors -----------------*/

.fa-landmark {
    content: "\f66f";
    color: #8c6239;
}

.fa-bicycle:before {
    content: "\f206";
    color: #534741;
}

.fa-campground:before {
    content: "\f6bb";
    color: #2e3192;
}

.fa-monument:before {
    content: "\f5a6";
    color: #7ac943;
}

.fa-bed:before {
    content: "\f236";
}


.fa-hiking:before {
    content: "\f6ec";
    color: #006837;
}

.fa-parking:before
{
	content: "\f540";
	color: #000;
}

.fa-utensils:before {
    content: "\f2e7";
    color: #c1272d;
}

.fa-minus:before {
    content: "\f068";
    color: green;
    font-size: 25px;
}

.fa-ellipsis-h.number1 {
    content: "\f141";
    color: green;
    font-size: 25px;
}

.fa-ellipsis-h.number2 {
    content: "\f141";
    color: #ff9e17;
    font-size: 25px;
}

.fa-ellipsis-h.number3 {
    content: "\f141";
    color: #2a4ad5;
    font-size: 25px;
}



/*-----------------drop down media queries------------------*/
@media only screen and (max-width: 740px){

    .listing-group2 {
        font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
        font-weight: 600;
        position: absolute;
        top: 49px;
        z-index: 2;
        border-radius: 3px;
        max-width: 100%;
        color: #fff;
        text-align: center;
        right: 0;
        left:0;
        line-height: 10px;
        
    }

    .listing-group2 input[type=checkbox]:first-child + label {
        border-radius: 3px 3px 0 0;
        padding-top: none;
    }

    .listing-group2 label:last-child {
        border-radius: 0 0 15px 15px;
        border: none;
        
    }

    .legend2 label:last-child{
        border-radius: 0 0 15px 15px;
    }

    .listing-group2 input[type=checkbox] {
        display: none;
    }

    .listing-group2 input[type=checkbox] + label {
        background-color: #3386c0;
        display: block;
        cursor: pointer;
        padding: 10px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    }

    .listing-group2 input[type=checkbox] + label {
        background-color: #3386c0;
        text-align: right;
    }

    .active[type=checkbox] + label {
        background-color: #3386c0;
        text-align: right;
        
    }

    .listing-group2 input[type=checkbox] + label:hover,
    .listing-group2 input[type=checkbox]:checked + label {
        background-color: #4ea0da;
        text-align: right;
        font-size: 15px;
    }

    .listing-group2 input[type=checkbox]:checked + label:before {
        content: '✔';
        margin-right: 5px;
        display: none;
    }

    .legend2 .fas.fa-landmark, .fas.fa-bicycle, .fas.fa-campground, .fas.fa-monument, 
    .fas.fa-bed, .fas.fa-parking, .fas.fa-utensils, .fas.fa-eye-slash {        
        line-height: 50%;
        font-size: 17px; 
    }

    .legend2 {
       display: none;
        
    }

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

    
    

    
}    





/*------------Legend Bar media queries---------*/
@media only screen and (max-width: 740px){
    .listing-group {
        display: none;
    }

    

    
}
/*--------------bar----------*/
@media only screen and (max-width: 740px){
    .bar {
        top: 0;
        width: 100%;
        background-color: rgb(28, 205, 220);
        position: absolute;
        text-align: left;
        /* height: 7%; */
        z-index: 1;
        color: #fff;
        display: block;
        /*border-radius: 0 0 5px 5px;*/
        line-height: 233%;
        /*padding-left: 4%;*/
        font-size: 136%;
        font-weight: bold;
        /* padding-bottom: 1%; */
               
    }

    
    .bar i {
        float: right;
        /* clear: both; */
        /* top: 17%; */
        right: 1%;
        /* position: absolute; */
        font-size: 33px;
        cursor: pointer;
        padding-right: 4%;
        line-height: 152%;
    }

    .bar p {
        font-size: 21px;
        font-weight: bold;
        left: 4%;
        bottom: -23px;
        position: absolute;
        /* height: 50%; */
        font-family: sans-serif; 
    }
    /*---------second button--------------*/
    .bar2 {
        top: 0;
        width: 100%;
        background-color: rgb(28, 205, 220);
        position: absolute;
        text-align: left;
        /* height: 7%; */
        z-index: 1;
        color: #fff;
        display: block;
        /*border-radius: 0 0 5px 5px;*/
        line-height: 233%;
        /*padding-left: 4%;*/
        font-size: 136%;
        font-weight: bold;
        /* padding-bottom: 1%; */
        display:none;
        
        
    }

    
    .bar2 i {
        float: right;
        /* clear: both; */
        /* top: 17%; */
        right: 1%;
        /* position: absolute; */
        font-size: 33px;
        cursor: pointer;
        padding-right: 4%;
        line-height: 152%;
    }

    .bar2 p {
        font-size: 21px;
        font-weight: bold;
        left: 4%;
        bottom: -23px;
        position: absolute;
        /* height: 50%; */
        font-family: sans-serif;
    }
    /*---------Info about mapbox---------*/
    .mapboxgl-ctrl-attrib.mapboxgl-compact {
        min-height: 20px;
        padding: 0;
        margin: 10px;
        position: relative;
        background-color: #fff;
        border-radius: 3px 12px 12px 3px;
        display: none!important;
        opacity: 0;
    }

    /*--------- bottom left button --------------*/
    .line2 {
        font-family: 'Open Sans', sans-serif;
        font-size: 13px;
        background-color: rgb(255, 69, 0);
        border-radius: 7px;
        text-align: center;
        position: absolute;
        width: 4%;
        color: #fff;
        transition: background-color .5s ease-in-out;
        top: 90%;
        left: 1%;
        cursor: pointer;
        display: none!important;
    }

    .line3 {
        font-family: 'Open Sans', sans-serif;
        font-size: 13px;
        background-color: rgb(255, 69, 0);
        border-radius: 7px;
        text-align: center;
        position: absolute;
        width: 4%;
        color: #fff;
        transition: background-color .5s ease-in-out;
        top: 90%;
        left: 1%;
        cursor: pointer;
        display: none!important;
    }

    .hide2 {
        position: absolute;
        bottom: 21px;
        left: 1%;
        display: block;
    }

    #menu {

        /* position: absolute; */
        background: aliceblue;
        padding: 5px;
        font-family: 'Open Sans', sans-serif;
        border-radius: 15px;
        /* bottom: 7%; */
        /* top: 90%; */
        left: 1%;
        width: 160px;
        /* display: none; */
        display: inline;
    }

    .hide3 {
        position: absolute!important;
        top: 93%!important;
        left: 1%!important;
        display: block!important;
    }

    

    #menu2 {
        position: relative;
        background: aliceblue;
        padding: 5px;
        font-family: 'Open Sans', sans-serif;
        border-radius: 15px;
        bottom: -10px;
        /* top: 90%; */
        left: 1%;
        width: 160px;
        display: none;

    
    }

    

    a.mapboxgl-ctrl-logo {
        display: none!important;
    }

    /*------------------ info button mobile view-----------------*/
    .fas.fa-info-circle.number2 {
        position: absolute;
        bottom: 176px;
        right: 10px;
        z-index: 1;
        color: black;
        background-color: #ffffff;
        font-size: 20px;
        border-radius: 4px;
        -webkit-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.75);
        box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
        border: 5px solid white;
        cursor: pointer;
    }
    /*-------------hiding the desktop button-----------*/

    .guide {
        display: none;
        opacity: 0;
    }
    
    .gallery-test {
        display: none;
        opacity: 0;
    }


    /*---------------popup mobile view-----------*/
    
    #cboxLoadedContent {
        width: 100%!important;
        overflow: auto;
        height: 490px;
        border-radius: 18px!important;
        position: absolute;
        
    }

    #cboxContent {
        width: 50%!important;
        height: 500px!important;
        position: absolute;
        float: none!important;
    }

    #cboxWrapper {
        height: 520px;
        width: 195%!important;
        position: absolute;
        
    }

    .cboxPhoto {
        float: left!important;
        margin: auto!important;
        border: 0!important;
        display: block!important;
        max-width: none!important;
        -ms-interpolation-mode: bicubic!important;
        /*padding-left: 50px!important;
        padding-top: 20px!important;*/
        cursor: pointer!important;
        width: 100%!important;
        height: 100%!important;
        /* float: none; */
    }

    div#cboxOverlay {
        opacity: 0.7!important;
    }
    
    div#cboxWr {
        width: 100%!important;
        margin: 0 auto!important;
    }

    #colorbox {
        width: 100%!important;
        height: 100%!important;
    }

    #cboxNext {
        position: absolute;
        top: 50%;
        right: -6px!important;
        margin-top: -32px;
        background: url(images/controls.png) no-repeat top right;
        width: 28px;
        height: 65px;
        text-indent: -9999px;
    }

    /*---------------center map button for mobile device--------------------*/
    .center {
        font-family: 'Open Sans', sans-serif;
        font-size: 9px;
        background-color: #ffffff;
        border-radius: 5px;
        text-align: center;
        position: absolute;
        width: 30px;
        height: 30px;
        transition: background-color .5s ease-in-out;
        bottom: 50px;
        left: 10px;
        cursor: pointer;
        -webkit-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.75);
        box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);    
        /*position: absolute;
        height: 30px;
        width: 30px;
        bottom: 165px;
        left: 10px;
        z-index: 1;
        /* color: blue; */
        /*background-color: #ffffff;
        font-size: 20px;
        border-radius: 4px;
        
        border: 5px solid white;
        cursor: pointer;*/
    }

    .center p {
        font-weight: bold;
        color: #000;
    }
    
}

/*---------------Mobile menu opacity 0 ----------------*/
@media only screen and (min-width: 740px){
    
    .legend2 {
        display: none;
        opacity: 0;
        z-index: 0;
    }

    .bar2 {
        top: 0;
        width: 100%;
        background-color: rgb(28, 205, 220);
        position: absolute;
        text-align: left;
        height: 7%;
        z-index: 1;
        color: #fff;
        display: inline-block;
        border-radius: 0 0 5px 5px;
        display:none;
        opacity: 0;
        
    }

    .bar {
        top: 0;
        width: 100%;
        background-color: rgb(28, 205, 220);
        position: absolute;
        text-align: left;
        height: 7%;
        z-index: 1;
        color: #fff;
        display: inline-block;
        border-radius: 0 0 5px 5px;
        display:none;
        opacity: 0;
    }
    
    .direction .fas.fa-directions {
        position: absolute;
        bottom: 163px;
        right: 10px;
        z-index: 1;
        /* color: blue; */
        background-color: #ffffff;
        font-size: 20px;
        border-radius: 4px;
        -webkit-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.75);
        box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
        border: 5px solid white;
        cursor: pointer;
    }
    
    .direction2 {
        
        
    }

    .direction2 .fas.fa-directions.number2 {
        display: none;
        position: absolute;
        bottom: 163px;
        right: 10px;
        z-index: 1;
        color: #ffff;
        background-color: #000;
        font-size: 20px;
        border-radius: 4px;
        -webkit-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.75);
        box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
        border: 5px solid #000;
        cursor: pointer;
    }

    .mapbox-directions-instructions-wrapper {
        max-height: 40vh!important;
    }

    .center {
        font-family: 'Open Sans', sans-serif;
        font-size: 13px;
        background-color: #ffffff;
        border-radius: 7px;
        text-align: center;
        position: absolute;
        width: 50px;
        /* height: 4.6%; */
        transition: background-color .5s ease-in-out;
        bottom: 75px;
        left: 10px;
        cursor: pointer;
        -webkit-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.75);
        box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
        /*position: absolute;
        height: 30px;
        width: 30px;
        bottom: 165px;
        left: 10px;
        z-index: 1;
        /* color: blue; */
        /*background-color: #ffffff;
        font-size: 20px;
        border-radius: 4px;
        
        border: 5px solid white;
        cursor: pointer;*/
    }

    .center p {
        font-weight: bold;
        color: #000;
    }

    div#cboxOverlay {
        opacity: 0.7!important;
    }
    
    div#cboxWr {
        width: 50%!important;
        margin: 0 auto!important;
    }
    
    div.gallery {
        display: flex;
        /* float: right; */
        justify-content: center;
    }
    
    div.gallery img {
        padding: 20px!important;
        height: 450px!important;
    }
    
    div.gallery p {
        text-align: center!important;
        width: 350px!important;
        height: 200px;
        /* top: 300px; */
        /* bottom: 50%; */
        transform: translateY(50%);
        padding: 35px;
    }
    /*--------------info button desktop view --------------*/
    .fas.fa-info-circle {
        position: absolute;
        bottom: 196px;
        right: 10px;
        z-index: 1;
        color: black;
        background-color: #ffffff;
        font-size: 20px;
        border-radius: 4px;
        -webkit-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.75);
        box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
        border: 5px solid white;
        cursor: pointer;
    }

    /*-------------hiding the mobile button-----------*/

    .fas.fa-info-circle.number2 {
        display: none;
        opacity: 0;
    }
    
    /*---------------popup DESKTOP view-----------*/
    #cboxLoadedContent {
        width: 641px;
        overflow: auto;
        height: 490px;
        border-radius: 18px!important;
    }

    .cboxPhoto {
        float: left!important;
        margin: auto!important;
        border: 0!important;
        display: block!important;
        max-width: none!important;
        -ms-interpolation-mode: bicubic!important;
        /*padding-left: 50px!important;
        padding-top: 20px!important;*/
        cursor: pointer!important;
        width: 100%!important;
        height: 100%!important;
        /* float: none; */
    }
    
}

/*--------------Display Drivinng Directions for mobile------------------  */

.directions-control.directions-control {
    /*display: none;*/
}

@media only screen and (max-width: 740px){
    /*.directions-control.directions-control-inputs {
        top: 8%;
        width: 100%; 
    }
    
    

    .mapboxgl-ctrl-top-left {
        top: 6%!important;
        left: 0;
        width: 100%!important;
    }

    .directions-control.directions-control-inputs {
        top: 10px;
        left: 10px;
        width: 100%!important;
    }*/
    
    .direction {
        /*position: absolute;*/
        
    }

    .directions-control.directions-control-inputs {
        display: block;
        position: absolute;
        top: 41px!important;
        /*left: 10px!important;*/
        
    }

    .directions-control.directions-control-instructions {
        display: block;
        position: absolute!important;
        top: 157px!important;
    }

    /*.mapboxgl-ctrl-directions.mapboxgl-ctrl{
        display: none!important;
    }*/

    /*.directions-control.directions-control {
        display: none;
    } */

    .direction .fas.fa-directions {
        position: absolute;
        bottom: 143px;
        right: 10px;
        /*z-index: 2;*/
        /* color: blue; */
        background-color: #ffffff;
        font-size: 20px;
        border-radius: 4px;
        -webkit-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.75);
        box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
        border: 5px solid white;
        
    }
    
  

    .direction2 .fas.fa-directions.number2 {
        display: none;
        position: absolute;
        bottom: 143px;
        right: 10px;
        /*z-index: 2;*/
        color: #ffff;
        background-color: #000;
        font-size: 20px;
        border-radius: 4px;
        -webkit-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.75);
        box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
        border: 5px solid #000;
        
    }

    .mapbox-directions-instructions-wrapper {
        max-height: 40vh!important;
    }
    
}

@media only screen and (min-width: 740px){
    #menu2 {
        position: relative;
        background: aliceblue;
        padding: 6px;
        font-family: 'Open Sans', sans-serif;
        border-radius: 15px;
        display: none;
        top: 90%;
        /* right: 25%; */
    }

    
}


/*.mapboxgl-ctrl-directions.mapboxgl-ctrl {
    width: 100%!important;
}*/

.mapboxgl-ctrl-directions {
    /*left: 50%!important;*/
    /* width: 33.33333%!important; 
    min-width: 100%!important;
    max-width: 300px!important;  */
}

/*.mapboxgl-ctrl-top-left.mapboxgl-ctrl {
    top: 49px!important;
    position: absolute;
}*/




/* icons */

label i {
    font-size: 20px;    
    padding-right: 5px;
    float: left;
    clear: both;    
    
}

/*------ toggle Legend ---------*/


.line {
    height: 40px;
    background-color: aliceblue;
    border-radius: 15px 15px 5px 5px;
    text-align: center;    
    cursor: pointer;  
    transition-property: all;
    transition-duration: 1s;
    transition-timing-function: ease-in-out;
    transition-delay: .1s;   
    position: relative;    
}

.line:hover {
    background-color: rgba(217, 233, 248, 0.753);
}

.line p {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    width: 202px;
    transform: translateY(12px);
    /* position: absolute; */
    /* top: 10px; */
    /* right: 50%; */
    /* left: 0%; */
}





.hide {
    display: none; 
    
}



/*----- all button to hide all the icons -------- */
.new-button1 {
    /*background-color: #3386c0;*/
    position: absolute;
    font-weight: 600;
    border-radius: 15px;
    /*top: 55%;*/
    right: 1%;     
    color: rgb(255, 255, 255);
    width: 100px;
    padding-top: 10px;
}

.new-button1 input[type=checkbox] + label {
    background-color: #4ea0da;
    /*display: block;
    cursor: pointer;*/
    border-radius: 15px;
    text-align: center;
    
}

.new-button1 input[type=checkbox]:first-child + label {
    border-radius: 15px;
    padding-top: none;
    
}

.new-button1 label:last-child {
    border-radius: 15px;
    border: none;
    padding-top: 10px;
}

.new-button1 input[type=checkbox] {
    display: none;
}


.new-button1 input[type=checkbox] + label {
    background-color: #3386c0;
    display: block;
    cursor: pointer;
    padding: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    
}

.new-button1 input[type=checkbox] + label {
    background-color: #3386c0;
    
}

.new-button1 input[type=checkbox] + label:hover,
.new-button1 input[type=checkbox]:checked + label {
    background-color: #4ea0da;
}

.new-button1 input[type=checkbox]:checked + label:before {
    content: '✔';
    margin-right: 5px;
}

.fa-align-justify:before {
    content: "\f039";    
    /*padding-left: 18px;*/
}



/*--------------- icons in the map --------------- */
.attracion {
    background-image: url('../img/colored-symbols_Attraction-Brown.png');
    background-size: cover;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

.bike-shop {
    background-image: url('../img/BikeShop1.png');
    background-size: cover;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

.camping {
    background-image: url('../img/Camping2.png');
    background-size: cover;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

.historic-feature {
    background-image: url('../img/HistoricFeature3.png');
    background-size: cover;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

.lodging {
    background-image: url('../img/Lodging4.png');
    background-size: cover;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

.parking-trailhead {
    background-image: url('../img/ParkingTrailhead5.png');
    background-size: cover;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

.parking {
    background-image: url('../img/parking-solid.png');
    background-size: cover;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    cursor: pointer;
}

.restaurant {
    background-image: url('../img/Restaurant6.png');
    background-size: cover;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

.restaurant-lodging {
    background-image: url('../img/Restaurantandlodging7.png');
    background-size: cover;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

/*--------Search Bar-------*/

/*
.mapboxgl-ctrl-top-left {
    padding-top: 0;
    left: 0;
    
}




.mapboxgl-ctrl-geocoder--icon.mapboxgl-ctrl-geocoder--icon-search {
    top: 11px;
}

.mapboxgl-ctrl-geocoder--input {
    transform: translate(40px); 
    font-size: 18px;
    padding-top: 13px;
    position: relative; 
    width: 1px;
    left: auto; 
    text-align: center;
}

.mapboxgl-ctrl-geocoder.mapboxgl-ctrl {
    width: 355px;
    height: 40px;
    position: absolute;
    font-size: 27px!important;    
    border-radius: 8px;
}

.mapboxgl-ctrl-bottom-left::before {
    content:  "<i class="fas fa-chevron-right"></i>";
    position: absolute;
    display: inline;

}

.mapboxgl-ctrl-geocoder--icon-close {
    width: 16px;
    height: 16px;
    margin-top: 5px;
    margin-right: 0;
}

*/

/*------------------------*/










/* ----------------pop up-----------------*/

.mapboxgl-popup {
  max-width: 200px;  
}

.mapboxgl-popup-content {
    position: relative;
    background: #fff;
    /* border-radius: 3px; */
    box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75)!important;
    padding: 10px 10px 15px;
    pointer-events: auto;
}

.mapboxgl-popup-content {
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  border-radius: 20px!important;  
  /*transition-property: all;
  transition-duration: 1s;
  transition-timing-function: ease-in-out;
  transition-delay: .1s; */
  opacity: 0.9;
  /*border: 1px solid #000;*/
  background-color: #fff;
    
}

.mapboxgl-popup-content p {
    text-align: left;
}

/*.mapboxgl-popup-content:hover {
  font-size: 18px;
  opacity: 0.7;
}*/

.mapboxgl-popup-close-button {
    position: absolute;
    right: 0;
    font-weight: bold;
    font-size: 25px;
    top: 0;
    border: 0;
    border-radius: 0 3px 0 0;
    cursor: pointer;
    background-color: transparent;
}


/*---- Change map style--------*/


@media screen and (min-width: 740px){
    #menu {
        position: absolute;
        background: aliceblue;
        padding: 10px;
        font-family: 'Open Sans', sans-serif;
        border-radius: 15px;
        display: none;
        bottom: 30px;
        left: 60px;
        width: 160px;
    }
}
/*------------Mobile device view--------------*/
@media screen and (max-width: 740px){

    
}





/*------ map style button -------*/

.line2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    background-color: rgb(255, 69, 0);
    border-radius: 7px;
    text-align: center;
    position: absolute;
    width: 50px;
    color: #fff;
    transition: background-color .5s ease-in-out;
    bottom: 30px;
    left: 10px;
    cursor: pointer;
}

.line2:hover {
    background-color: rgb(209, 58, 3);
}

.line2 p {
    font-weight: bold;    
}

.line3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    background-color: rgb(8, 151, 199);
    border-radius: 7px;
    text-align: center;
    position: absolute;
    width: 50px;
    color: #fff;
    transition: background-color .5s ease-in-out;
    bottom: 30px;
    left: 10px;
    cursor: pointer;
    display: none;
}

.hide2 {
    /*position: absolute;*/
    /*top: 90%;*/
    /* left: 8%; */
    /* display: inline-block; */
}
.line3:hover {
    background-color: rgb(9, 134, 175);
}

.line3 p {
    font-weight: bold;   
    
}


/*.active {
    background-color: #662d91!important;
}*/

.hide2.active2 {
    display: none; 
    
}



/*------------------Draw a poligon and measure area function -----------------------*/


/*
.calculation-box {
    height: 75px;
    width: 150px;
    position: absolute;
    bottom: 75px;
    left: 10px;
    background-color: rgba(255, 255, 255, .9);
    padding: 15px;
    text-align: center;
}
 
.calculation-box p {
    font-family: 'Open Sans';
    margin: 0;
    font-size: 13px;
}

.calculated-area p {
    font-family: 'Open Sans';
    margin: 0;
    font-size: 13px;
}
*/
/*---------- Selector to enable and desable the poligon--------*/
/*
.mapboxgl-ctrl-group.mapboxgl-ctrl {
    -moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
    /* bottom: 10px; */
    /*transform: translateY(-145px);
}
*/

/*--------------- Measure distances -------------------*/

.distance-container {
    position: absolute;
    top: 10px;
    right: 50%;
    z-index: 1;
}
     
.distance-container > * {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    display: block;
    margin: 0;
    padding: 5px 10px;
    border-radius: 3px;
}

/*-----------------*/

/*--------------button to show and hide the lines ---------------*/

#menu3 {
    background: #fff;
    position: absolute;
    z-index: 1;
    top: 10px;
    right: 10px;
    border-radius: 3px;
    width: 120px;
    border: 1px solid rgba(0,0,0,0.4);
    font-family: 'Open Sans', sans-serif;
}
     
#menu3 a {
    font-size: 13px;
    color: #404040;
    display: block;
    margin: 0;
    padding: 0;
    padding: 10px;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.25);
    text-align: center;
}
     
#menu3 a:last-child {
    border: none;
}
     
#menu3 a:hover {
    background-color: #f8f8f8;
    color: #404040;
}
     
#menu3 a.active {
    background-color: #3887be;
    color: #ffffff;
}
     
#menu3 a.active:hover {
    background: #3074a4;

}


/*--------------------------guide gallery colorbox ---------------------*/



.legend label img {
    
}