#mapevents {
    height: 340px;
    z-index: 1;
}

.elem-parco #mapevents {
    height: 266px;
}

.sentiero h2.entry-title{
    font-size: 26px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #5F5F5F;
}

.page-content-map{
    position: relative;
}

.leaflet-container a {
    color: unset;
}

.search-control-container .search-control{
    display: none;
}
.search-control-container .map-search-box{
    display: block;
}

.search-control{
    border: 2px solid #afafaf;
    background-clip: padding-box;
    margin-top: 10px;
    margin-left: 10px;
    background: #fff;
    border-radius: 5px;
    position: absolute;
    z-index: 400;
    top: 12%;
}

.uppercase{
    text-transform: uppercase;
}


.leaflet-popup-content{
    height: 160px;
    position: relative; //necessario per perfect-scrollbar.js
}
.leaflet-popup-content a{
    text-decoration: none;
}
.leaflet-popup-content a:hover{
    text-decoration: underline;
}
.leaflet-popup-content h3{
    font-size: 16px;
    margin: 5px auto;
    font-weight: 600;
    line-height: 20px;
}
.leaflet-popup-content h4 {
    font-size: 12px;
    margin: 5px auto;
    line-height: 20px;
}
.leaflet-popup-content ul{
    list-style: inherit;
    margin: 10px;
}
.leaflet-popup-content h4.teaser{
    font-size: 11px;
    line-height: 14px;
}
.leaflet-popup-content h3.content{
    font-size: 14px;
    margin: 0px;
    margin-top: 10px;
    font-weight: 600;
    line-height: 16px;
}

.map-loader{
    position: absolute;
    width: 100%;
    height: 340px;
    z-index: 500;
    top: 0;
    background-color: rgba(0,0,0,0.2);
    display: none;
}

.elem-parco .map-loader{
    height: 266px;
}

.map-loader.show{
    display: block;
}

.map-loader .helper{
    display: inline-block;
    height: 40%;
    vertical-align: middle;
}

.map-loader img{
    display: block;
    margin: auto;
    height: 60px;
    -webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

.mab-div-icon-span{
    margin-left: 5px;
    width: 18px;
    color: #ffffff;
    border-radius: 30px;
    text-align: center;
    position: absolute; /*decommentare per avere il pallino sopra il marker*/
    top: 50%; /*decommentare per avere il pallino sopra il marker*/
}

.leaflet-tooltip-top {
    margin-top: -4px;
    width: 30px;
}
.leaflet-tooltip {
    position: absolute;
    padding: 6px;
    background-color: #0b96cc;
    border: #0b96cc;
    border-radius: 50px;
    color: #fff;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
    text-align: center;
}
.leaflet-tooltip-top::before {
    border-top-color: #0b96cc;
}

.sentiero section .info-title{
    color: #cf5f5a;
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 0px;
    font-weight: normal;
    border-bottom: 2px solid #cf5f5a;
    padding-left: 10px;
}

.sentiero .informazioni .info-table{
    border-bottom: 2px solid #F7F7F7;
}

.sentiero .informazioni .info-table thead tr{
    background-color: #F7F7F7;
    font-size: 12px;
}

.sentiero .informazioni .info-table th,
.sentiero .informazioni .info-table td{
    text-align: center;
    vertical-align: middle;
    font-weight: normal;
}

.sentiero .informazioni .info-table td{
    font-size: 20px;
    height: 60px;
}
.sentiero .informazioni .info-table th img{
    display: block;
    margin: auto;
}

.sentiero .descrizione .entry-content{
    background-color: #F7F7F7;
    padding: 5px 10px ;
}

.leaflet-popup-content-wrapper h2{
    color: #cf5f5a;
    font-size: 25px;
    margin-bottom: 0px;
    line-height: 30px;
}

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.column {
    flex: 1;
    padding-left: 10px;
    padding-right: 10px;
}
.column.colspan2{
    flex: 2;
}

@media (max-width : 768px) {
    .row{
        display: block;
    }
}

.badge {
    font-size: 18px;
    background-color: #fff;
    color: #cf5f5a;
    width: 45px;
    text-align: center;
    margin: auto;
    line-height: 44px;
    border-radius: 40px;
    border: 2px solid #cf5f5a;
}

.badge-full {
    width: 100px;
}

table.sentieri tr{
    height: 69px;
}

/*table tr.hidden{
    display: none;
}*/

table.sentieri tr.even,
table.grotte tr.odd,
table.parcheggi tr.odd{
    background-color: #F7F7F7;
}

table.sentieri a.no-decoration{
    text-decoration: none;
    color: #85868c;
}

table.sentieri td{
    line-height: 15px;
}

table.grotte td,
table.parcheggi td{
    padding: 3px 10px 3px 5px;
}

.align-right{
    text-align: right;
}

#content.sentiero a, #content.sentiero a:hover, #content.sentiero a:active, #content.sentiero a:focus{
    color: #cf5f5a !important;
}
a.no-decoration,
#content.sentiero a.no-decoration,
#content.sentiero a.no-decoration:hover,
#content.sentiero a.no-decoration:active,
#content.sentiero a.no-decoration:focus
{
    text-decoration: none;
    color: unset !important;
}

.slick-dots{
    bottom: -40px;
}

.slick-dots li button:before{
    font-size: 20px;
}

.galleria .container img{
    margin: auto;
    height: 337px;
}

.content.sentiero ul{
    margin: unset;
}

.galleria{
    margin-top: 40px;
    margin-bottom: 90px;
}

.flexcontainer{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
    justify-content: center;
    /* You can set flex-wrap and
       flex-direction individually */
    flex-direction: row;
    flex-wrap: wrap;
    /* Or do it all in one line
      with flex flow */
    flex-flow: row wrap;
    /* tweak where items line
       up on the row
       valid values are: flex-start,
       flex-end, space-between,
       space-around, stretch */
    align-content: flex-end;
}

.flexitem{
    flex: 1 0 0;
    border-bottom: 2px solid #F7F7F7;
}

.flexitem .th{
    text-align: center;
    vertical-align: middle;
    font-weight: normal;
    background-color: #F7F7F7;
    font-size: 12px;
    line-height: 12px;
    min-height: 85px;
    padding-top: 15px;
    padding-bottom: 15px;
}
.flexitem .th.rifugio{
    font-size: 18px;
    height: 40px;
}

.flexitem .td{
    text-align: center;
    vertical-align: middle;
    font-weight: normal;
    line-height: 20px;
}

.flexitem .th img{
    display: block;
    margin: auto;
    margin-bottom: 6px;
}

.flexitem .td{
    font-size: 15px;
    height: 70px;
    width: 120px;
    margin: auto;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
    justify-content: center;
}
.flexitem .td.rifugio{
    height: 150px;
}

#content.archivo-sentiero{
    margin-top: 40px;
    margin-bottom: 40px;
}
#content.sentiero{
    margin-bottom: 40px;
}

.image-preview img{
    object-fit: cover;
    width: 100%;
    height: 200px;
    display: block;
}

#content.archivo-sentiero .flexitem .th{
    height: 20px;
    line-height: unset;
    padding-bottom: 0px;
}

#content.archivo-sentiero .flexitem .td{
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.paginator {
    margin-bottom: 50px !important;
}

.img-custom-post{
    height: 266px;
    width: 100%;
}

.page-template-sentieri_didattici .subtitle{
    color: #5F5F5F;
    text-align: center;
}

.timeline a {
    text-decoration: unset;
}

.timeline .time {
    background-color: #467889;
    width: 170px;
    height: 170px;
    border-radius: 50%;
}

.timeline .content {
    padding: 30px;
    width: 100%;
}

.timeline .time h3 {
    width: 170px;
    height: 170px;
    text-align: center;
    margin-top: 25%;
    color: white;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
}

.timeline {
    list-style: none !important;
    padding: 20px 0 20px;
    position: relative;
    margin: 0 0 10px 0px !important;
}

.timeline > li {
    /*margin-bottom: 20px;*/
    position: relative;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li .timeline-panel {
    /*width: 60%;*/
    border-radius: 2px;
    padding: 40px 20px;
    position: relative;
}

.timeline > li .timeline-gallery{
    /*padding: 30px 0 30px 10%;*/
    padding: 30px 0;
    display: flex;
    justify-content: flex-end;
}

.timeline > li .timeline-gallery .didattica-slider{
    width: 300px;
}

.timeline > li .timeline-gallery .slick-prev {
    left: 0px;
}
.timeline > li .timeline-gallery .slick-next {
    right: 13px;
}
.timeline > li .timeline-gallery .slick-prev:before,
.timeline > li .timeline-gallery .slick-next:before{
    font-size: 20px;
    opacity: 1;
}
.timeline > li .timeline-gallery .slick-prev:before:hover,
.timeline > li .timeline-gallery .slick-next:before:hover{
    opacity: .75;
}

.timeline > li:nth-child(even){
    background-color: #EEEEEE;
}
.timeline > li:nth-child(odd){
    background-color: #FAFAFA;
}

.timeline > li .timeline-badge {
    color: #fff;
    line-height: 50px;
    font-size: 1.4em;
    text-align: center;
    position: absolute;
    top: -8%;
    left: 100%;
    margin-left: -25px;
    z-index: 100;
    width: 170px;
    height: 170px;
    border-radius: 50%;
}

.timeline-badge div {
    width: 100px;
    text-align: center;
    margin: auto;
    margin-top: calc(50% - 30px);
    color: white;
    font-size: 26px;
    line-height: 30px;
}

.timeline-title {
    margin-top: 0;
    color: inherit;
    font-weight: 500;
}

.timeline-body{
    margin-bottom: 20px;
    margin-right: 5px;
}

.timeline-body > p,
.timeline-body > ul {
    margin-bottom: 0;
}

.timeline-body > p + p {
    margin-top: 5px;
}

@media (min-width: 1081px){
    .timeline:before {
        top: 0;
        bottom: 0;
        position: absolute;
        content: " ";
        width: 3px;
        background-color: #888888;
        left: 68.5%;
        margin-left: -1.5px;
        z-index: 1;
    }
    .timeline > li .timeline-badge{
        top: calc(50% - 85px);
    }
    .timeline > li .timeline-panel{
        flex: 0 0 60%;
    }
    .timeline > li .timeline-gallery{
        flex: 0 0 40%;
    }
}

@media (max-width: 1230px) {
    .timeline:before {
        left: 66.5%;
    }
    .timeline > li .timeline-badge{
        width: 100px;
        height: 100px;
        top: calc(50% - 50px);
    }
    .timeline-badge div{
        font-size: 18px;
        line-height: 20px;
        margin-top: calc(50% - 20px);
    }
}

@media (max-width: 1080px){
    .timeline > li .timeline-badge{
        width: 100px;
        height: 100px;
        left: 85%;
    }
    .timeline-badge div{
        font-size: 18px;
        line-height: 20px;
        margin-top: calc(50% - 20px);
    }
    .timeline > li .timeline-gallery{
        margin: auto;
    }
}

@media (max-width: 1080px){
    .timeline > li .timeline-badge {
       top: -20px;
    }
}

img.approfondimento{
    width: 50px;
    height: 50px;
    object-fit: contain;
    float: left;
    padding: 5px 10px 5px;
}
svg.approfondimento{
    width: 50px;
    height: 50px;
    object-fit: contain;
    float: left;
    padding: 5px 10px 5px;
}

.approfondimenti .column{
    padding: 10px;
}

.approfondimenti .column:nth-child(even){
    background-color: #F7F7F7;
}

.approfondimenti .appr-content{
    padding-left: 70px;
}

.sentiero-slider-item .container{
    position: relative;
    margin: auto 10px;
}
.didattica-slider-item .container{
    position: relative;
}

.sentiero-slider-item .tag{
    position: absolute;
    bottom: 0px;
    z-index: 1;
    padding: 5px 5px 20px 20px;
    margin: auto;
    width: auto;
    color: #fff;
}

.read-more{
    color: #4E8495 !important;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .9px;
    font-size: .9rem;
}

.slick-prev:before, .slick-next:before {
    font-family: 'italia-icon-font';
    font-size: 20px;
    line-height: 1;
    opacity: .8;
    color: #575350;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #F5F5F5B3;
}

.slick-prev:before {
    content: '\e80d';
    padding: 8px 8px 8px 5px;
}
.slick-next:before {
    content: '\e80e';
    padding: 8px 5px 8px 8px;
}

.entry-occhiello{
    color: #5F5F5F;
    margin-bottom: 0px;
    font-size: 20px;
    font-weight: 500;
}

.sentiero h2.entry-title.didattico{
    margin-top: 0px;
}

.sentiero-slider-item .wp-caption{
    min-width: auto !important;
    min-height: 350px !important;
    width: auto !important;
    height: 350px !important;
    max-height: 350px !important;
}

.sentiero-slider-item .wp-caption-text{
    background: none repeat scroll 0 0 rgba(80, 80, 80, 0.5);
    color: #fff;
    /*text-align: center;*/
    padding: 10px;
    font-size: 14px;
    line-height: 17px;
    min-height: 30px !important;
    height: 30px !important;
    max-height: 60px !important;
    min-width: auto !important;
    overflow: hidden;
    word-wrap: break-word;
    position: absolute;
    left: 3px;
    right: 3px;
    bottom: 5px;
    filter: alpha(opacity=100);
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
    zoom: 1;
}

.sentiero-slider .ribbon-menu,
.didattica-slider .ribbon-menu{
    right: 0px;
    z-index: 9999;
    background-color: #4E8495B3;
    color: #575350;
    width: 35px;
    position: absolute;
}

.sentiero-slider .ribbon-menu a,
.didattica-slider .ribbon-menu a{
    max-height: 35px !important;
    min-height: 35px !important;
    margin: 0 !important;
    color: #575350;
    display: block;
}

.sentiero-slider .ribbon-menu a:before,
.didattica-slider .ribbon-menu a:before{
    content: '\e83d';
    font-family: 'italia-icon-font';
    font-size: 20px;
    font-weight: normal;
    font-style: normal;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    text-indent: 0;
    letter-spacing: 0;
    display: block;
    pointer-events: none;
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
}

.sentiero-slider .slick-prev{
    left: 10px;
}
.sentiero-slider .slick-next {
    right: 13px;
}

button.button:hover, .cart-btn-below-img .woo-buttons a:hover, a.button:not(.edd-submit):hover{
    background: #de4e4d !important;
}