
.mapa_posts {
    width: 100%;
    float: left;
    padding: 20px 0px;
}

.mapa_posts .row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    column-gap: 0px;
}


.mapa_posts .mapa {
    width: 60%;
    float: left;
    position: relative;
    overflow-x: inherit;
    overflow-y: clip;
}

.cercador {
    width: 40%;
    z-index: 1;
}

.posts_map {
    transition: all 0.5s ease;
    width: 100%; 
}


#textos, #ico-muntanyes, #ico-onades {
    pointer-events: none;
    fill: #143F54;
}

.municipis #ripolles-municipis polygon.active:hover,
.municipis #pla-de-lestany-municipis polygon.active:hover,
.municipis #osona-municipis polygon.active:hover,
.municipis #la-selva-municipis polygon.active:hover,
.municipis #la-cerdanya-municipis polygon.active:hover,
.municipis #girones-municipis polygon.active:hover,
.municipis #garrotxa-municipis polygon.active:hover,
.municipis #baix-emporda-municipis polygon.active:hover,
.municipis #alt-emporda-municipis polygon.active:hover,

.municipis #ripolles-municipis path.active:hover,
.municipis #pla-de-lestany-municipis path.active:hover,
.municipis #osona-municipis path.active:hover,
.municipis #la-selva-municipis path.active:hover,
.municipis #la-cerdanya-municipis path.active:hover,
.municipis #girones-municipis path.active:hover,
.municipis #garrotxa-municipis path.active:hover,
.municipis #baix-emporda-municipis path.active:hover,
.municipis #alt-emporda-municipis path.active:hover
{
    /* fill: #0047bb; */
    cursor: pointer;
    fill-opacity: 1;
}

.comarques g#ripolles-municipis:hover,
.comarques g#pla-de-lestany-municipis:hover,
.comarques g#osona-municipis:hover,
.comarques g#la-selva-municipis:hover,
.comarques g#la-cerdanya-municipis:hover,
.comarques g#girones-municipis:hover,
.comarques g#garrotxa-municipis:hover,
.comarques g#baix-emporda-municipis:hover,
.comarques g#alt-emporda-municipis:hover
{
    /* fill: #0047bb; */
    cursor: pointer;
    fill-opacity: 1;
    /* stroke: #0047bb; */
    stroke-opacity: 1;
    stroke-width: 5px;
}

.comarques g#ripolles-municipis:hover polygon.active,
.comarques g#pla-de-lestany-municipis:hover polygon.active,
.comarques g#osona-municipis:hover polygon.active,
.comarques g#la-selva-municipis:hover polygon.active,
.comarques g#la-cerdanya-municipis:hover polygon.active,
.comarques g#girones-municipis:hover polygon.active,
.comarques g#garrotxa-municipis:hover polygon.active,
.comarques g#baix-emporda-municipis:hover polygon.active,
.comarques g#alt-emporda-municipis:hover polygon.active,

.comarques g#ripolles-municipis:hover path.active,
.comarques g#pla-de-lestany-municipis:hover path.active,
.comarques g#osona-municipis:hover path.active,
.comarques g#la-selva-municipis:hover path.active,
.comarques g#la-cerdanya-municipis:hover path.active,
.comarques g#girones-municipis:hover path.active,
.comarques g#garrotxa-municipis:hover path.active,
.comarques g#baix-emporda-municipis:hover path.active,
.comarques g#alt-emporda-municipis:hover path.active
{
    /* fill: #0047bb; */
    fill-opacity: 1;
}


/* g.disabled, g.inactive {
    fill: transparent;
    cursor: default;
    fill-opacity: 1;
    pointer-events: none;
    stroke: transparent;
} */

polygon.disabled, polygon.inactive, path.disabled, path.inactive {
    fill: transparent;
    cursor: default;
    fill-opacity: 1;
    pointer-events: none;
    stroke: transparent;
}

/* .municipis #textos text {
    font-size: 40px;
} */

.municipis #ico-muntanyes #ico-pirineus path{
    transform: scale(0.5);
}

#mar-mediterrani {
    display: none;
}




.mapa-menu {
    padding: 0px;
    height: 350px;
}

.mapa-menu ul {
    height: 100%;
    width: 100%;
    overflow-y: scroll;
    padding: 10px 0;
}

/* .mapa-menu ul::-webkit-scrollbar {
    display: none;
} */

.mapa-menu ul {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}


.mapa-menu ul #municipi{
    display: none;
}

.mapa-menu ul #item{
    display: none;
}



.mapa_posts .tornar_menu {
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    padding: 0px 20px;
}

.mapa_posts .tornar_menu .tornar {
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    column-gap: 10px;
}

.mapa_posts .tornar_menu .tornar h1, .mapa_posts .tornar_menu .title h1{
    font-size: 16px;
    line-height: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    /* color: #0047bb; */
}


g.highlight {
    /* fill: #0047bb; */
    cursor: pointer;
    fill-opacity: 1;
    /* stroke: #0047bb; */
    stroke-opacity: 1;
    stroke-width: 5px;
}

polygon.highlight {
    /* fill: #0047bb; */
    fill-opacity: 1;
}


polygon.active, path.active {
    fill: #c4bfdc;
    fill-opacity: 1;
}


.comarca.active {
    fill: #efebe0;
}

g.highlight polygon.active, g.highlight path.active {
    /* fill: #0047bb; */
    fill-opacity: 1;
}

.mapa {
    position: relative;
}

.items_banner {
    position: absolute;
    background-color: white;
    width: 190px;
    padding: 20px;
    border-radius: 5px;
    transform: translate(-36%, -100%);
    box-shadow: 0px 0px 19px rgb(0 0 0 / 25%);
    z-index: 1;
}

.items_banner ul li{
    display: flex;
    flex-direction: column;
    align-items: center;
}


.items_banner ul li h1{
    font-size: 16px !important;
    line-height: 16px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    /* color: #0047bb !important; */
    text-decoration: underline;
    margin-bottom: 15px;
    text-align: center;
}


.items_banner ul li a{
    font-size: 12px !important;
    line-height: 12px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    /* color: #0047bb !important; */
    /* border: 1px solid #0047bb; */
    margin: 5px 0;
    padding: 5px 15px;
    border-radius: 50px;
    transition: background-color 0.3s ease;
    text-align: center;
}

.items_banner ul li a:hover{
    background-color: #0047bb40;
}

.municipi.active.highlight, .municipi.active.fixed_highlight {
    /* fill: #0047bb; */
    fill-opacity: 1;
    /* stroke: #0047bb; */
    stroke-opacity: 1;
}

.mapa-menu ul li#comarca a{
    font-size: 16px;
    line-height: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.mapa-menu ul li#municipi a{
    font-size: 16px;
    line-height: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.mapa-menu ul li#municipi a::before , .mapa-menu ul li#item a::before {
    border-radius: 0px;
}


@media screen and (max-width:1023px) {
    .mapa_posts .row {
        flex-direction: column-reverse;
        row-gap: 0px;
        align-items: center;
    }
    .mapa_posts .mapa {
        width: 100%;
    }
    .cercador {
        width: 100%;
    }
}

.map_items_cards {
    width: calc(40% - 15px);
    float: left;
    position: absolute;
    z-index: 1;
}

.map_items_cards .of_turisme_items {
    display: grid;
    grid-template-columns: repeat(1,1fr);
    column-gap: 50px;
    direction: rtl;
    row-gap: 20px;
}

.map_view_more {
    float: left;
    margin: 30px 0;
}

.map_view_more a {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    column-gap: 20px;
}

.map_view_more h1 {
    font-size: 16px;
    line-height: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.map_view_more a svg {
    transition: all .3s ease;
    border-radius: 50%;
    cursor: pointer;
}

.items_banner .banners .estrelles {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    column-gap: 5px;
}

.items_banner .banners .link_rest {
    border: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 10px;
    border-radius: 3px;
    transition: all .3s ease;
    margin: 10px 0 0 0;
}

.items_banner .banners .link_rest span {
    font-size: 16px;
    font-weight: 400;
}

.items_banner .banners .link_rest:hover {
    background-color: #ba0c2f20;
    column-gap: 15px;
}

.items_banner .banners .restaurant {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #c3c3c1;
}
.items_banner .banners .restaurant:last-child {
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-bottom: none;
}

.items_banner .banners .officina_turisme {
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 5px;
    padding: 10px 30px;
}

.items_banner .banners .officina_turisme h1{
    font-size: 26px !important;
    line-height: 30px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    color: #0047bb !important;
    text-align: center;
    margin: 0;
    text-decoration: none;
    margin-bottom: 10px;
}

.items_banner .banners .officina_turisme h2{
    font-size: 18px !important;
    line-height: 24px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
    color: #545454 !important;
    text-align: center;
    margin: 0;
    margin-bottom: 20px;
}

.items_banner .banners .officina_turisme a{
    border: none;
    border-radius: 3px;
    margin: 0;
}


.mapa-menu ul #municipi, .mapa-menu ul #comarca {
    display: none !important;
}
.mapa-menu ul #item {
    display: block !important;
}
.mapa_posts .tornar_menu {
    display: none !important;
}

.content-map.show {
    display: block;
    background-color: #eee9df;
    padding: 20px;
    border-radius: 5px;
    margin: 0;
}

.map-detail-cont ul li .map-det-lft {
    width: 38%;
}

.map-detail-cont ul li .map-det-rgt {
    width: 62%;
}

.content-map h3, .map-detail-cont ul li .map-det-lft h4, .map-detail-cont ul li .map-det-rgt p, .map-detail-cont ul li .map-det-rgt ul li {
    text-align: left;
}

.content-map h3 {
    border-bottom: none;
    font-family: Poppins;
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.72;
    letter-spacing: -0.05px;
    color: #545454;
}

.content-map h1 {
    text-align: left;
    font-family: Poppins;
    font-size: 20px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.03;
    letter-spacing: -0.09px;
    color: #545454;
    border-bottom: 1px solid #e1d5c0;
    padding-bottom: 10px;
}

.map-detail-cont ul li .map-det-rgt ul {
    column-gap: 10px;
    justify-content: flex-end;
}

.map-detail-cont ul li .map-det-lft h4 {
    font-size: 14px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.07;
    letter-spacing: -0.56px;
}

.map-detail-cont ul li .map-det-rgt p {
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.07;
    letter-spacing: -0.36px;
}


.items_banner .banners .camp_de_golf {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}


@media screen and (max-width:1023px) {
    .items_banner {
        top: 0 !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
    }
}

.content-map.show {
    display: none;
}

.mapa-menu ul li a {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    column-gap: 25px;
}

.mapa-menu ul li .estrelles {
    display: flex;
    flex-direction: row;
    column-gap: 3px;
}

.mapa-menu ul li .estrelles img{
    width: 12px;
    aspect-ratio: 1;
}

.sea-outline, #frontera-frança, #ico-muntanyes, #ico-onades, /* #textos,*/ #comarques-de-fora, #osona-municipis {
    display: none;
}

#perfils-comarques path, #perfils-comarques polygon {
    stroke: #143F54;
    stroke-width: 5px;
    fill: #143F54;
    fill-opacity: 0.1;
    stroke-opacity: 0.1;
}

.select-cont-map {
    padding: 0;
}


/***** CAMPS DE GOLF *****/



.markers_banner {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    /* width: calc(60% - 35px); */
    width: 100%;
}

.markers_banner .marker {
    position: absolute;
    width: 30px;
    height: 38px;
    cursor: pointer;
    transform: translate(-50%,-5%) scale(.5);
}

.markers_banner .marker.active {
    z-index: 2;
}

.markers_banner .marker svg {
    width: 100%;
}

.markers_banner .marker svg #ico-pointer{
    fill: #2b86b3;
    transition: fill 0.3s ease;
}

.markers_banner .marker:hover{
    z-index: 2;
}
.markers_banner .marker:hover svg #ico-pointer, .markers_banner .marker.active svg #ico-pointer  {
    fill: #143F54;
}

 
.markers_banner .marker img {
    width: 100%;
    padding: 8px;
    position: absolute;
    left: 0;
    top: 0;
}

polygon.active, path.active {
    fill: #f2efe7;
    fill-opacity: 1;
}



.mapa-menu ul::-webkit-scrollbar {
    width: 20px;               /* width of the entire scrollbar */
}
.mapa-menu ul::-webkit-scrollbar-track {
    background: transparent;        /* color of the tracking area */
}
.mapa-menu ul::-webkit-scrollbar-thumb {
    border-radius: 10px;
    border: 6px solid white;
}



@media screen and (max-width: 1023px){

    .mapa-menu-div {
        margin-top: 0 !important;
    }
    
    /*
    .mapa_posts .mapa {
        display: none;
    }

    .markers_banner {
        display: none;
    }
    */

    .items_banner {
        position: relative;
        transform: none;
        width: 100% !important;
        left: 0 !important;
        display: none;
        margin-bottom: 10px;
    }

    .map_items_cards  {
        position: relative;
        transform: none;
        width: 100% !important;
    }
}


.content-map.show .close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.content-map.show .close .close_icon{
    width: 100%;
    height: 100%;
}


.content-map.show .close .close_icon::before, .content-map.show .close .close_icon::after {
    position: absolute;
    left: 10px;
    content: ' ';
    height: 100%;
    width: 2px;
    background-color: #1a2908;
}

.content-map.show .close .close_icon::before {
    transform: rotate(45deg);
}

.content-map.show .close .close_icon::after {
    transform: rotate(-45deg);
}


.content-map.show .close:hover {
    opacity: 0.7;
}

.web_page {
    position: relative;
    width: 100%;
    float: left;
    margin-top: 40px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    column-gap: 20px;
}

.web_page a {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    font-family: Poppins;
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.03;
    letter-spacing: -0.09px;
    color: #1a2908;
    column-gap: 17px;
}

.web_page a span{
    background-color: #eee9df;
    border-radius: 100px;
    aspect-ratio: 1;
    height: 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: 2px solid #1a290842;
    transition: background-color 0.3s ease;
}

.web_page a img {
    padding-left: 3px;
}


.web_page a:hover span{
    background-color: #1a290842;
}

.items_banner .banners .link_rest:hover {
    background-color: #1a290820;
    column-gap: 15px;
}


.map-detail-cont ul li .map-det-rgt {
    width: 70%;
}
.map-detail-cont ul li .map-det-lft {
    width: 30%;
}
.map-detail-cont ul li .map-det-rgt ul {
    column-gap: 5px;
}
.map-detail-cont ul li .map-det-rgt ul li {
    width: 44px;
}

.map-detail-cont ul li .map-det-rgt ul li span.tag {
    font-size: 14px;
    line-height: 24px;
    padding: 0 5px;
    height: 24px;
}

.map-detail-cont ul li .map-det-rgt ul li span.pink {
    background: #b01ccb;
}

.map-detail-cont ul li .map-det-rgt ul li span.orange {
    background: #f5790a;
}
  
.mapa-search .form-control{
    background-color: #BB8A58;
}

.mapa-menu ul li.map_item3 a::before{
    background-color: #BB8A58  ;
   
}