/*
Theme Name:     borghimolisani Child theme
Template:       borghimolisani
Version:        9.0c
*/
.td-crumb-container{
    display: none;

}

body p{
    font-family: Lora, serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.69em;
    color: black;
    overflow-x: hidden !important;
    -webkit-font-smoothing: antialiased;
}
.home .td-header-menu-wrap.td-header-gradient {
    background: rgba(247, 242, 238, 1) !important;
}

.slider-oss {
    /* padding: 25px; */
    overflow: hidden;
    width: calc(100% - 50px);
    margin: 25px;
}
@media screen and (min-width:  481px){
    .caf-content-read-more{
        position: absolute;
        width: 100%;
        float: left;
        top: 14px;
        right: 12px;
        background: transparent !important;
        text-align: end;
            -webkit-transition: all 0.4s ease 0s;
        -moz-transition: all 0.4s ease 0s;
        -ms-transition: all 0.4s ease 0s;
        -o-transition: all 0.4s ease 0s;
        transition: all 0.4s ease 0s;
    }
    .page-id-29 .caf-content-read-more{
        position: absolute;
        width: 100%;
        float: left;
        top: 8px;
        right: 12px;
        background: transparent !important;
        text-align: end;
            -webkit-transition: all 0.4s ease 0s;
        -moz-transition: all 0.4s ease 0s;
        -ms-transition: all 0.4s ease 0s;
        -o-transition: all 0.4s ease 0s;
        transition: all 0.4s ease 0s;
    }
}

@media screen and (max-width: 480px){
    .home .comuni-slider .container-comune {
        width: 100%;
        margin: 25px 0px;
    }
    .home .lastborghi {
        background-image: unset !important;
    }
    .home .eventi {
        padding-bottom: 10%!important;
    }
    .terramontagne h2{
        font-size: 6vw !important;
        padding-top: 0%;
    }
    .innerchisiamo {
        padding-top: 0;
    }

    .home .chisiamo > div:nth-child(3) {
        margin-left: 25px;
    }
    .who {
        font-size: 6vw;
        margin-top: 9%;
        margin-bottom: 10px;
    }

    .whodesc p,
    .innerdesc p{
        font-size: 14px;
        line-height: 1.3;
    }
    .chisiamo .td-pb-span4:nth-child(3) {
        width: 90%;
    }
    .caf-content-read-more{
        width: 100%;
        background: transparent !important;
        text-align: center;
            -webkit-transition: all 0.4s ease 0s;
        -moz-transition: all 0.4s ease 0s;
        -ms-transition: all 0.4s ease 0s;
        -o-transition: all 0.4s ease 0s;
        transition: all 0.4s ease 0s;
        margin-top: 4px;
    }
    .home .newsinner {
        background-image: url(https://areamainarde.it/wp-content/uploads/2022/01/NewsResp.png) !important;
        background-repeat: no-repeat;
        background-size: contain;
    }
}
@media screen and (max-width: 767px){
   /* .home .slider-main-text h3 {
        font-size: 40px;
        position:relative;
        top: -30px;
        font-family: TT-Nooks-Script-Bold !important;

    }*/
    .footer-oss .col-4 {
        width: 100%;
        margin: 15px;
    }
     .footer-oss .col-4   .dati-comune p {
        text-align: center;
        width: 100%;
        float: left;
    }
    .footer-oss {
        flex-wrap: nowrap;
        justify-content: space-between;
        flex-direction: column;
    }
    .single-borgo .td-pb-span4.dati_brevi {
        padding: 15px;
        background: white;
        z-index: 1;
    }
    /*.home .slider-main-text p{
        font-size: 14px !important;
        display: block;
        width: 100%;
        float: right;
        font-family: TT-Nooks-Regular !important;
        color: #b39c8c !important;
        margin-right: 20px;
    }*/
}

@media screen and (min-width: 768px){
    /*.slider-main-text p{
        font-size: 48px !important;
        display: block;
        width: 100%;
        float: left;
        margin-top: 11% !important;
        font-family: TT-Nooks-Regular !important;
        color: #b39c8c !important;
        margin-left: 15px;
    }
    .slider-main-text h3{  
        font-size: 16vw !important;
        font-family: TT-Nooks-Script-Bold !important;
        color: #805221 !important;
        opacity: 1 !important;
        margin-right: 10%;
    }*/
    .contatti-home {
        max-width: 80%;
        margin: auto;
    }

    .footer-oss .col-4 {
        position: relative;
        float: left;
        width: calc(33.333% - 30px);
        min-height: 1px;
        margin-left: 15px;
        margin-right: 15px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
}
@media screen and (min-width:  481px) and (max-width: 1024px){
    .home .comuni-slider .container-comune {
        width: calc(50% - 4%);
        margin: 2%;
    }
}
@media(max-width: 1024px){
    .background-logo{
        background-image: unset !important;
    }
}
@media screen and (min-width:  481px) and (max-width:  767px){
    .carouselb .td-pb-span9 {
        width: 80%;
        margin-left: 20%;
    }
    
    /*.home .lastborghi,
    .home .eventi {
        background-position: -40px 180px !important;
        padding: 8% 0px 0px 0px;
    }*/
    .terramontagne h2{
        font-size: 6vw !important;
        padding-top: 6%;
    }
    .who {
        font-size: 6vw;
        margin-top: 11%;
        margin-bottom: 25px;
    }

    .whodesc p,
    .innerdesc p{
        font-size: 16px;
        line-height: 1.3;
    }
    .chisiamo .td-pb-span4:nth-child(3) {
        width: 80%;
    }
    .home .chisiamo > div:nth-child(3){
        margin-left: 25px;
    }
}

@media screen and (max-width: 767px){
    .home .mega-post-carousel3 .mega-post-image {
        height: unset !important;
    }
    .home .lastborghi h2,
    .home .eventi h2 {
        margin-bottom: 6%;
        font-size: 6vw !important;
    }
    .page-id-27 .lastborghi {
        padding: 0px 25px !important;
    }
        .home .chisiamo > div:nth-child(2) {
        display: none;
    }
    .tdc-footer-wrap .td-pb-row .td-pb-span4:first-child{
        margin-top: -15px;
    }

    .newsinner .td-pb-span4 {
        display: none;
    }
    .newsinner .td-pb-span8 {
        text-align: center;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    .newsinner  h2 {
        font-size: 5vw !important;
        margin-bottom: 15px;
        text-align: center !important;
    }

    .lastb-more{
        width: 100%;
        padding-bottom: 15px;
    }
    p.ndialetto {
        text-align: left;
        padding: 0px 15px 0px 15px;
        margin-bottom: 0;
        color: white;
        font-style: italic;
    }
    .article-content,
    .td-post-header.box-author-source{
        width: 100%;
        display: block;
        float: left;
     
    }
    .td-module-meta-info button{
        display: none;
        opacity: 0; 
    }
    .td-post-header.box-author-source .td-module-meta-info {
        position: absolute;
        top: 0;
        right: 20px;
    }
    .td-post-header.box-author-source {
        padding-left: 20px;
        padding-right: 20px;
    }
    .box-author-source .td-module-meta-info img{
        display: block;
        border-radius: 50px;
        /* max-width: 40px; */
        float: left;
        width: 50px;
        right: 0;
        position: absolute;
    }
    .box-author-source .td-module-meta-info p,
    .box-author-source .td-module-meta-info img{
        text-align: right;
    }
    .box-author-source .td-module-meta-info p{
        width: 100%;
        text-align: right;
        float: left;
        position: absolute;
        top: 55px;
        font-size: 16px;
    }
    .box-author-source .td-module-meta-info {
        width: 130px;
        text-align: right;
    }
    .td-post-header.box-author-source h1{
        margin-top: 25px;
    }
    .td-post-sharing-top {
        padding-right: 20px;
        margin-top: 25px;
    }
        
    .box-fonti {
        width: 100%;
        display: block;
        float: left;
        border-top: 1px solid #5c5c5e;
        padding-top: 25px;
        margin-top: 25px;
    }
    .box-fonti p{
        margin-bottom: 0;
    }
    .box-fonti .fonti{
        padding: 0 35px 45px 35px;
    }
    .box-fonti .fonti a {
        width: auto;
        float: left;
        margin-right: 3%;
    }
    .entry-crumbs {
        padding-left: 20px;
        padding-right: 20px;
    }
    .home .post-slider .mega-post-image {
        max-height: 350px;
        overflow: hidden;
    }
    .chisiamotxt h2{
        margin-bottom: -9px;
        position: relative;
        z-index: 1;
        font-size: 8vw;
        text-align: right !important;
        margin-right: -5%;
    }
    .molisvg {
        display: none;
    }

    .td-header-wrap .td-header-menu-wrap-full, .td-header-wrap .td-header-menu-wrap, .td-header-wrap .td-header-main-menu {
        background-color: #fffaf0 !important;
    }
    #td-top-mobile-toggle i {
        color: #805221;
    }
    .header-search-wrap .td-icon-search,
    .td-mobile-close .td-icon-close-mobile,
    #td-mobile-nav .td-menu-login-section a,
    #td-mobile-nav .td-menu-login-section a,
    .td-mobile-content li:hover a,
    .td-mobile-content .current-menu-item > a, .td-mobile-content .current-menu-ancestor > a, .td-mobile-content .current-category-ancestor > a {
        color: #805221 !important;
    }

    .td-menu-background:before {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0.98;
        background: #f9e7c3;
        background: -webkit-gradient(left top, left bottom, color-stop(0%, #f9e7c3), color-stop(100%, #805221));
        background: linear-gradient(to bottom, #f9e7c3 0%, #805221 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9e7c3', endColorstr='#805221', GradientType=0);
    }

    .td-mobile-content li a{
        color: #0000009c;
    }
}


@media screen and (min-width: 768px){
    .td-post-header.box-author-source .td-module-meta-info,
    .fonti {
        background: rgba(0,0,0,0.1); 
    }
    div#manage-post-area {
    padding: 25px !important;
}

    .home .eventi {
        padding: 16% 0 !important;
    }
    .chisiamo .td-pb-span4:nth-child(3) {
        width: 60%;
    }
    .newsinner  h2 {
        margin-bottom: 4%;
        font-size: 2vw !important;
        margin-bottom: 15px;
    }
    .home .lastborghi h2,
    .home .eventi h2 {
        margin-bottom: 4%;
        font-size: 48px !important;
    }
    .home .eventi {
        background-position: bottom left !important;
        padding: 8% 0px 0px 0px;
    }
    .terramontagne h2{
        font-size: 48px !important;
        padding-top: 5%;
    }
    .chisiamotxt h2{
        margin-bottom: 1px;
        position: relative;
        z-index: 1;
        font-size: 48px;
        text-align: right !important;
        margin-right: -9%;
    }

    .article-content {
        width: 70%;
        display: block;
        float: left;
        box-shadow: -9px 0px 5px -4px rgba(0,0,0,0.1);
        padding:35px; 
    }
    .td-post-header.box-author-source{
        width: 30%;
        display: block;
        float: left;
    }

    .box-author-source .td-post-title{
        padding: 35px 35px 15px 35px;
        display: inline-block;
    }

    .box-author-source .td-module-meta-info{
        padding: 35px ;
        display: inline-block; 
        box-shadow: inset -0px -9px 5px -4px rgba(0,0,0,0.1);
        margin-top: 80px !important;
    }
    .box-author-source button:hover a{
        color: white;
    }

    .box-fonti {
        position: relative;
        width: 30%;
        display: block;
        float: left;
    }
    .box-fonti .fonti{
        padding: 35px;
    }
    .box-fonti .fonti a {
        width: 100%;
        display: block;
        padding: 8px 0;
    }
    .sld .vc_column.vc_custom_1640627214386.tdi_4.wpb_column.vc_column_container.tdc-column.td-pb-span12,
    .home .tdc-content-wrap {
        margin-top: -80px;
    }
    .who {
        font-size: 3vw;
        margin-top: 9%;
        margin-bottom: 35px;
    }
    .home .eventi .carouselb {
        padding-left: 12% !important;
    }
    
}

@media screen and (min-width: 768px) and (max-width: 1018px){
.box-author-source button {
        width: 152px;
        padding: 20px 10px;
        border: 0;
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
          box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease 0s;
        cursor: pointer;
      outline: none;
        color: #e11d3d;
      background-color: #fff;
      border: none;
      margin-top: 35px;
    }
    .box-author-source button:hover {
      background-color: #805221;
      box-shadow:0px 15px 20px rgba(128, 82, 33, 0.4);
      color: #fff;
      transform: translateY(-7px);
    }
        .box-author-source button a {
        color: #805221;
        font-size: 12px;
        text-transform: uppercase;
      letter-spacing: 2.5px;
    }

    .box-author-source .td-module-meta-info img{
        display: block;
        border-radius: 80px;
        max-width: 80px;
        margin-left: auto;
        margin-right: auto;
    }
    .box-author-source .td-module-meta-info p {
        font-size: 16px;
        width: 100%;
        display: block;
        text-align: center;
        margin: 15px 0;
        color: #736f6f;
    }
    .box-author-source .td-category,
    .box-author-source span.td-post-date {
        width: 100% !important;
        margin-top: 17px;
    }
    .box-author-source span.td-post-date{
        text-align: left !important;
    }
    
    .box-fonti {
        position: relative;
        width: 30%;
        display: block;
        float: left;
        margin-top: -55%;

    }
    .entry-crumbs {
        max-width: 740px;
    }
}

@media screen and (min-width: 768px) and (max-width:  1280px){
    .lastborghi .mega-post-image,
    .lastborghi .mega-post-image img{
        height: 250px !important;
    }
    .molisvg {
        position: absolute !important;
        right: -13%;
        z-index: 1;
        width: 800px;
        bottom: -50%;
    }
    .whodesc p,
    .innerdesc p{
        font-size: 16px;
        line-height: 1.3;
    }
    .chisiamo > .td-pb-span4:nth-child(2) {
        margin-top: 4%;
    }
    .home .caf-content-read-more{
        width: 100%;
        background: transparent !important;
        text-align: center;
            -webkit-transition: all 0.4s ease 0s;
        -moz-transition: all 0.4s ease 0s;
        -ms-transition: all 0.4s ease 0s;
        -o-transition: all 0.4s ease 0s;
        transition: all 0.4s ease 0s;
        margin-top: 4px;
        position: unset !important;
    }
    p.ndialetto {
        text-align: left;
        padding: 0px 15px 0px 15px;
        margin-bottom: 0;
        color: white;
        font-style: italic;
    }
    .home .mega-post-carousel3 .mega-desc-box,
    div#manage-post-area {
        display: block;
        width: 100%;
        float: left;
    }
    .lastb-more,
    .caf-content-read-more {
        width: 100%;
        float: left;
        margin-bottom: 10px;
    }
        .tdc-footer-wrap .td-pb-row .td-pb-span4:first-child{
        margin-top: -55px;
    }

}

@media screen and (min-width: 1019px) and (max-width: 1140px){
    .box-author-source button {
        width: 224px;
        padding: 25px 15px;
        border: 0;
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease 0s;
        cursor: pointer;
        outline: none;
        color: #e11d3d;
        background-color: #fff;
        border: none;
        margin-top: 65px;
    }

    .box-author-source button:hover {
      background-color: #805221;
      box-shadow: 0px 15px 20px rgba(128, 82, 33, 0.4);
      color: #fff;
      transform: translateY(-7px);
    }

    .box-author-source button a {
        color: #805221;
        font-size: 14px;
        text-transform: uppercase;
      letter-spacing: 2.5px;
    }

    .box-author-source .td-module-meta-info img{
        display: block;
        border-radius: 80px;
        max-width: 90px;
        float: left;
    }

    .box-author-source .td-module-meta-info p {
        font-size: 18px;
        width: 100%;
        display: block;
        text-align: right;
        margin: 36px 0;
        color: #736f6f;
    }

    .center-div.wpb_row.td-pb-row {
        max-width: 980px;
        width: calc(100% + 59%);
        margin-left: calc(-50% - 20px);
        background: white;
        display: inline-block;
        padding-left: 11px;
        padding-right: 11px;
        padding-top: 35px;
    }
    
    .box-fonti {
        position: relative;
        width: 30%;
        display: block;
        float: left;
        margin-top: -45%;
    }
    .article-content .intro-div{
        min-height: 579px;
    }

}

@media screen and (min-width: 1019px){
        .entry-crumbs {
        max-width: 1068px;
    }
}

@media screen and (min-width: 1141px){
    .box-author-source button {
        width: 250px;
        padding: 25px 15px;
        border: 0;
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease 0s;
        cursor: pointer;
        outline: none;
        color: #e11d3d;
        background-color: #fff;
        border: none;
        margin-top: 65px;
    }

    .box-author-source button:hover {
      background-color: #805221;
      box-shadow: 0px 15px 20px rgba(128, 82, 33, 0.4);
      color: #fff;
      transform: translateY(-7px);
    }

    .box-author-source button a {
        color: #805221;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 2.5px;
    }

    .box-author-source .td-module-meta-info img{
        display: block;
        border-radius: 80px;
        max-width: 90px;
        float: left;
    }
        .box-author-source .td-module-meta-info p {
        font-size: 18px;
        width: 100%;
        display: block;
        text-align: right;
        margin: 27px 0;
        color: #736f6f;
    }
    .box-fonti {
        position: relative;
        width: 30%;
        display: block;
        float: left;
        margin-top: -40%;
    }
}

@media screen and (max-width:1024px){
    div#manage-ajax-response article {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100%;
    }
}

@media screen and (min-width:1025px) and (max-width: 1280px){
    div#manage-ajax-response article {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50%;
    }
}

@media screen and (min-width:  1280px) and (max-width: 1800px){
    .innerchisiamo{
        padding-top: 55px;
    }
        .molisvg {
        position: absolute !important;
        right: -13%;
        z-index: 1;
        width: 1000px;
        bottom: -50%;
    }
}

@media screen and (min-width: 1281px){
    .whodesc p,
    .innerdesc p{
        font-size: 1.2vw;
        line-height: 1.3;
    }

    p.ndialetto {
        text-align: left;
        padding: 0px 15px 20px 15px;
        margin-bottom: 0;
        color: white;
        font-style: italic;
    }

    .tdc-footer-wrap .td-pb-row .td-pb-span4:first-child{
        margin-top: -105px;
    }
}

@media screen and (min-width:  1801px){
    .innerchisiamo{
        padding-top: 55px;
    }
        .molisvg {
        position: absolute !important;
        right: -13%;
        z-index: 1;
        width: 1270px;
        bottom: -50%;
    }
}


.home .td-main-page-wrap{
    padding-top: 0px;
}

body .home,
.sld{
    background-color: #fffaf0;
}

.rs-layer#slider-1-slide-1-layer-1{
    clip-path: ellipse(46% 62% at 50% 36%);
}

.home .td-header-wrap .td-header-menu-wrap-full{
    background-color: transparent !important;
}
.td-header-wrap .td-header-menu-wrap-full {
    background-color: rgba(247, 242, 238, 1) !important;
    max-height: 70px !important;
}
.td-header-style-7 .td-header-sp-logo {
    height: 69px !important;
}
.td-header-gradient:before{
    background:  transparent;
}

.td-header-style-7 .td-header-sp-logo img {
    max-height: 70px !important;
    width: auto !important;
}
.td-header-style-7 .td-header-sp-logo a {
    line-height: unset !important;
    display: block;
    float: left;
}
ul#menu-menu-principale-1 {
    margin-top: 0;
}
.body-td-affix .td-header-gradient:before{
    background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAMBAMAAABRpcpkAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMGAhQQCyEd++8AAAAUSURBVAjXY1AAQgMgdABCCBAAQQAT6AFRBPHcWgAAAABJRU5ErkJggg==')!important;
}

.home rs-module,
.home rs-slides,
.home rs-slide,
.home rs-mask-wrap{
    overflow: visible !important;
}
.fw,
.td-crumb-container{
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.fw .cont{
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    float: none;
}

.td-footer-wrapper {
    background-color: white!important;
    padding-top: 0px !important;

}

.td-sub-footer-container {
    background-color: #f7f2ef !important;
}

/*.td-sub-footer-container.footer-desc{
    background-color: #f7f2ef !important;
}*/

.td-footer-wrapper {
}



/*.home h1,.home h2,.home h3,.home h4,.home h5,.home h6 {
    font-family: TT-Nooks-Bold !important;
    color: #805221 !important;
    font-weight: 400;
    margin: 6px 0;
}
*/
.slider-svg {
    opacity: 0.2 !important;
}

.home .mega-post-image {
    border-radius: 10px;
    box-shadow: rgb(109 109 122 / 74%) 0px 7px 16px 0px;
    margin: 0 10px;
}

.data-target-div1 #caf-post-layout1 .caf-post-title{
    background: transparent !important;
}

.redmoreBorghi {
    bottom: -15px;
    position: absolute;
    width: auto;
    float: left;
    right: 41px;
    background: transparent !important;
    text-align: end;
        -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.caf-content-read-more:hover{
    right: 4px;
}

.redmoreBorghi:hover {
    right: 31px;
}

.home .caf-content-read-more {
    padding: 15px 2px;
}

.home a.caf-read-more,
.data-target-div1 #caf-post-layout1 a.caf-read-more,
.redmoreBorghi a{
    border-color: transparent !important;
    color: #805221 !important;
    background-color: #ffffff !important;
    font-family: Nooks Script Bold !important;
    font-size: 20px !important;
    padding: 10px 20px !important;
}

.home .mega-post-carousel3 .mega-desc-box {
    border-bottom: 0px;
    margin: 0;
    background: #805221;
    margin-top: -20px;
    position: relative;
    border-radius: 10px;
}
.page-id-29 #caf-post-layout1 #manage-post-area,
.home .caf-post-title,
.listborghi h3{
    border-bottom: 0px;
    margin: 0;
    background-color: #805221 !important;
    margin-top: -20px !important;
    position: relative;
    border-radius: 10px;
    text-align: left;
    padding: 15px 20px;
    margin: 0;
    color: white !important;
    font-family: Nooks Script Bold !important;
}

.listborghi .vc_single_image-wrapper.vc_box_border_grey{
    border-radius: 10px;
    box-shadow: rgb(109 109 122 / 74%) 0px 7px 16px 0px !important;
    overflow: hidden;
}

#caf-post-layout1 .caf-featured-img-box{
    height: 276px;
}

.manage-layout1 > a {
    width: calc(100% - 20px);
    display: block;
    overflow: hidden;
     border-radius: 10px;
    box-shadow: rgb(109 109 122 / 74%) 0px 7px 16px 0px !important;
    margin: 0 10px;
}

.caf-post-title{
    display: block;
    width: 100%;
    padding: 20px 20px;
}

#caf-post-layout1 .caf-post-title{
        display: block;
    width: 100%;
    padding: 0px;
}

.caf-post-title h2{
    color: white !important;
    font-size: 22px !important;
    margin-bottom: 5px !important;
}

.caf-post-title p {
    margin-bottom: 0px !important;
}

.listborghi .vc_single_image-wrapper.vc_box_border_grey img,
.page-id-29 .manage-layout1 span.caf-featured-img-box{
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
     overflow: hidden;
}

#caf-post-layout1 .manage-layout1{
    box-shadow: unset;
}

.listborghi .vc_single_image-wrapper.vc_box_border_grey:hover img,
.page-id-29 .manage-layout1:hover span.caf-featured-img-box{
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.listborghi .wpb_single_image{
    margin-left: 10px;
    margin-right: 10px;
}

.listborghi .wpb_single_image,
.listborghi .wpb_text_column.wpb_content_element{
    margin-bottom: 0;
}

.home .mega-desc-box h3.mega-post-title {
    text-align: left;
    padding: 15px 20px;
    margin: 0;
    color: white !important;
}

.lb{
    padding: 15px 20px 0px 15px !important;
}

.home .mega-desc-box h3.mega-posttitle{
    text-align: left;
    padding: 15px 15px 0px 15px;
    margin: 0;
    color: white !important;
}
.home .mega-postpara{
    text-align: left;
    padding: 0px 15px 15px 15px;
    margin: 0;
    color: white !important;
}

ul#menu-menu-principale-1 .current-menu-item > a,
ul#menu-menu-principale-1 li:hover > a{
    color: #805221 ;
}
.current-post-ancestor a{
    color: #805221  !important;
}
.current-post-ancestor a:after{
    width: 100% !important;
    background: #805221  !important;;
}
.sf-menu > .current-menu-item > a:after, .sf-menu > .current-menu-ancestor > a:after, .sf-menu > .current-category-ancestor > a:after, .sf-menu > li:hover > a:after, .sf-menu > .sfHover > a:after {
    background-color: #805221 !important;
    width: 100%;
}

path.transition-all.duration-300.ease-in-out.delay-150.path-0 {
    fill: #805221 !important;
}
.terramontagne h2{
    opacity: 0.5 !important;
}

.home .chisiamo{
    background: #fdebc6;
    border-radius: 0px 20px 20px 0px;
    max-height: fit-content;
}

.innerchisiamo > .td-pb-span12 {
    padding-left: 0;
    max-width: 90%;
}

.chisiamotxt{
    margin-top: 45px;
}

.home .eventi h2{
    margin-bottom: 65px;
}

.home .eventi .carouselb .slick-dots li {
    width: 60px;
}
.home .eventi .carouselb .slick-dots li button {
    width: 40px;
    height: 6px;
    padding: 0px;
    background: #cc8d49;
    opacity: 0.5;
    border-radius: 5px;
}

.home .eventi .carouselb .slick-dots .slick-active button{
    opacity: 1;
}

.home .eventi .carouselb .slick-dots li button::before {
    color: transparent;
}

.mega-postpara p {
    color: white !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    text-align: left;
    font-size: 16px;
}
.mega-posttitle{
    font-size: 22px;
}
.chisiamo{
    z-index: 2;
}
.chisiamotxt{
    z-index: 3;
}

.molisvg .st0{
    fill: #fff4df
}

.innerdesc p{
    margin-bottom: 10px !important;
}

.chisiamo .td-pb-span4:last-child,
.page-id-239 .td-crumb-container {
    display: none !important;
}

.home .vc-post-styling .slick-prev:before,
.home .slick-next:before {
    background: transparent !important;
    padding: 10px 15px !important;
    border-radius: 55px;
    border: 3px solid #cc8d49 !important;
    color: #cc8d49 !important;
}

.home .slick-prev:hover:before,
.home .slick-prev:focus:before,
.home .slick-next:hover:before,
.home .slick-next:focus:before{
    background: #cc8d49 !important;
    border: 3px solid #cc8d49 !important;
    color: white !important;
}
.slick-slider .slick-arrow {
    width: 50px;
    height: 50px;
}

button.slick-prev.slick-arrow.fas.fa-chevron-left {
    margin-left: -15px;
}

button.slick-next.slick-arrow.fas.fa-chevron-right {
    margin-right: -15px;
}

.newsinner {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    background-position: center center;
}

.newsinner .td-pb-span8 {
    margin-top: 7%;
    width: 55%;
}

.innerdesc{
    font-family: Syne Regular;
}

.newsinner img {
    margin-top: 14%;
    margin-left: 15%;
}

form#mc4wp-form-1 p:nth-child(1){
    width: 49%;
    float: left;
    margin: 1% 1% 1% 0%;
}

form#mc4wp-form-1 p:nth-child(2) {
    width: 49%;
    float: left;
    margin: 1% 0% 1% 1%;
}

/*.home input[type="submit"] {
    background: #805221;
    border-radius: 5px;
    font-size: 14px;
    padding: 10px 20px;
    font-family: Nooks Regular;
}

.home input[type="submit"]:hover{
    background: #402911;
}*/

form#mc4wp-form-1 input[type=text],
form#mc4wp-form-1 input[type=url], 
form#mc4wp-form-1 input[type=tel], 
form#mc4wp-form-1 input[type=email]{
    font-size: 14px;
    line-height: 21px;
    color: #444;
    border: 1px solid #80522166;
    width: 100%;
    max-width: 100%;
    height: 44px;
    padding: 6px 9px;
    border-radius: 5px;
}

form#mc4wp-form-1 p:nth-child(3){
    width: 100%;
    float: left;
    margin-top: 2px;
}

form#mc4wp-form-1 p:nth-child(3) input[type="checkbox"] {
    margin-right: 5px;
}

.eventi h2,
.terramontagne h2 {
    z-index: 3;
    position: relative;
}
.page-id-27 .td-module-thumb {
    pointer-events: none;
}

/*.td-main-content-wrap.td-main-page-wrap.td-container-wrap,
article,
.single .td-main-content-wrap{
    background-color: #fffaf0 !important;
}
*/
.listborghi > div {
    margin-bottom: 35px;
}

.listborghi .inactive{
    filter: grayscale(100%);
}

.listborghi .inactive .vc_single_image-wrapper.vc_box_border_grey:hover img{
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

/*EVENTI*/
.box-fonti img{
    padding: 0 35px 0 20px;
}
.box-fonti p{
    padding: 15px 35px 15px 35px;
}
.box-fonti p {
    font-family: Nooks Script Bold !important;
    font-size: 18px;
    font-weight: bold !important;
}

header.td-post-title h1 {
    margin-bottom: 15px !important;
}

.box-author-source .td-category {
    float: left !important;
    display: block;
    width: 50%;
    margin-top: 3px;
}

.box-author-source span.td-post-date{
    float: left !important;
    display: block;
    width: 50%;
    margin: 0 !important;
    text-align: right;
    top: 0 !important;
}

.td-crumb-container span, .td-crumb-container a,
.entry-crumbs {
    color: white;
}

.entry-crumbs {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
    position: relative;
}

.td-crumb-container{
    padding-top: 11px !important;
    padding-bottom: 11px !important;
}
span.td-bred-no-url-last {
    color: #845625;
    font-weight: 600 !important;
}

.td-module-comments{
    display: none;
}

.td-social-icon-wrap .td-icon-font {
    font-size: 16px !important;
}
.home .td_block_4 .td_module_2 .td-module-image {
    display: none !important;
}
.tdc-footer-wrap {
    text-align: center;
}
.tdc-footer-wrap p {
    font-size: 12px;
    padding: 0;
    margin: 1px;
}

.td-footer-wrapper.td-footer-container.td-container-wrap aside.td_block_template_8.widget.widget_text {
    margin-bottom: 0;
}

.td-footer-wrapper {
    padding-top: 20px !important;
}

.single-post .td-pb-span8.td-main-content {
    width: 100%;
}

.single-post .td-pb-span4.td-main-sidebar{
    display: none;
}

aside.td_block_template_1.widget.widget_block.widget_text {
    margin-bottom: 0;
}

.single .td-post-template-5 > .td-crumb-container {
    display: none;
}

.single .td-crumb-container::before {
    content: " ";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #00000073;
    top: 0;
}

.single .td-crumb-container {
    padding-top: 25px !important;
}

.single .td-crumb-container p {
    max-width: 1068px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: center;
    font-size: 3vw;
    margin-top: 4%;
    margin-bottom: 5%;
    color: white;
    z-index: 1;
    position: relative;
}

.single .td-crumb-container{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.single .td-post-date {
    color: #767676;
    display: inline-block;
    position: relative;
    top: 2px;
    width: 15%;
    text-align: right;
    margin-top: 8px;
}

.single h1.entry-title {
    width: 85%;
    display: block;
    float: left;
    margin: 0 !important;
}

.single .td-post-sharing-top {
    text-align: end;
    margin-bottom: 20px;
}
.single .td-post-content {
    margin-top: 21px;
    padding-bottom: 16px;
    float: left;
}
p.dataevent {
    width: 100%;
    float: left;
    font-weight: bold;
    font-style: italic;
}

.td-excerpt {
    word-break: break-all;
}

.tdc-footer-wrap{
    background: #fffaf0;
}

.slick-track {
    padding-top: 15px;
}

/*.single > .tdc-footer-wrap svg{
    margin-top: -206px;
}*/
.box-fonti p {
    color: #805221;
    margin-bottom: 0;
}

.td_block_related_posts .td-related-right {
    display: none;
    opacity: 0;
    visibility: hidden;
}

.data-target-div1 #caf-filter-layout2 ul.dropdown li a.active,
#caf-filter-layout2 li ul li:hover {
    background-color: #805221 !important;
    color: #ffffff !important;
}

#caf-filter-layout2 li ul li:hover a{
    color: white !important;
}

.listborghi .vc_single_image-wrapper {
    max-height: 280px;
    overflow: hidden;
}

.tdc-footer-wrap aside.td_block_template_3.widget.widget_block.widget_media_image {
    margin-bottom: 0;
}

aside.td_block_template_3.widget.widget_block.widget_text {
    text-align: left;
}

.td_block_template_3 .td-block-title{
    margin-bottom: 10px !important;
}

.td_block_template_3 .td-block-title h4{
    margin-bottom: 0;
}

.td_block_template_3 .td-block-title span {
    background: transparent !important;
    font-size: 18px;
    text-transform: uppercase;
    padding: 0 !important;
}

.menu-footer-a-container ul {
    text-align: left;
}
.menu-footer-a-container ul li:hover a{
    color:#402911;
}

ul#menu-footer-a {
    margin-top: 2px;
    margin-left: 10px;
}

.widget {
    font-family: Nooks Regular, 'Open Sans Regular', sans-serif;
}

.page-id-27 .desc p{
    font-size: 20px;
    line-height: 1.2;
}

.custom-button,
.home .vc_btn3.vc_btn3-color-grey.vc_btn3-style-modern {
    font-family: TT-Nooks-Regular !important;
    font-size: 20px !important;
    border: 2px solid #805221;
    border-radius: 25px;
    color: #805221;
    background: linear-gradient(to left, transparent 50%, #805221 50%) right;
    background-size: 200%;
    transition: .5s ease-out;
}
.custom-button{
    padding: 13px 25px;
    
}
.custom-button:hover,
.home button.vc_general.vc_btn3.vc_btn3-size-md.vc_btn3-shape-square.vc_btn3-style-modern.vc_btn3-icon-right.vc_btn3-color-grey:hover {
    order: 2px solid #805221;
    color: white;
    background-position: left;
}


.home a.caf-read-more:hover, 
.data-target-div1 #caf-post-layout1 a.caf-read-more:hover,
.redmoreBorghi a:hover{
    background-color: #402911 !important;
    color: white !important;
}

.td-footer-wrapper.td-footer-container.td-container-wrap.td-footer-template-9 .td-pb-span4:last-child .widget:first-child {
    margin-bottom: 0;
}
ul#contactf{
    margin-top: 0;
}

ul#contactf,
ul#menu-link-utili {
    text-align: left;
    margin-left: 10px;
}
ul#menu-link-utili a:hover,
ul#contactf a:hover{
    color: #402911 !important;
}



.td-sub-footer-container.td-container-wrap .td-pb-span.td-sub-footer-copy {
    width: 100%;
}

div#ct-ultimate-gdpr-cookie-popup {
    z-index: 10;
}
.ct-container.ct-ultimate-gdpr-cookie-popup-fullPanel {
    text-align: center;
}

div#ct-ultimate-gdpr-cookie-content h2 {
    font-size: 24px !important;
}

div#ct-ultimate-gdpr-cookie-content {
    font-size: 16px !important;
    line-height: 1.5;
}

#ct-ultimate-gdpr-cookie-popup .ct-ultimate-gdpr-cookie-buttons {
    justify-content: center;
}


div#ct-ultimate-gdpr-cookie-content {
    padding-bottom: 35px !important;
}

/*.page-id-239 .td-container-wrap{
    background-color: #fffaf0;
}*/

.page-id-239 .td-pb-span12.td-main-content{
    padding-top: 10%;
}



.ct-ultimate-gdpr-container.ct-ultimate-gdpr-my-account.ct-ultimate-gdpr-simple-form {
    width: 100%;
    max-width: unset;
}

.ct-ultimate-gdpr-container.ct-ultimate-gdpr-simple-form #tabs .ui-tabs-nav .ui-state-active {
    border-bottom: 4px solid #805221;
}


.ct-ultimate-gdpr-container.ct-ultimate-gdpr-simple-form .ui-widget-content input[type=submit] {
    background-color: #805221;
}

.ct-ultimate-gdpr-container.ct-ultimate-gdpr-simple-form .ui-widget-content input[type=submit]:hover {
    background-color: #402911 !important
}

.page-id-29 .caf-content,
.page-id-29 .caf-meta-content{
    display: none !important;
    opacity: 0;
    visibility: hidden;
}

@media screen and (min-width: 768px){
    /*.home .lastborghi{
        background-position: center left !important;
                padding: 8% 0px 0px 0px;

    }*/
}

.os-footer img {
    width: 160px;
}


/*.single-borgo .td-pb-span8{
    box-shadow: rgba(0, 0, 0, 0.90) 14px 0px 30px -32px inset;
}*/

/*.dati_brevi {
    margin-left: 15px;
}*/
/*.dati_brevi b{ 
    font-family: 'TT-Nooks-Bold';
}
*/
article.type-borgo {
    margin-top: 15px;
    display: block;
    float: left;
    width: 100%;
}

/*article.type-borgo .td-pb-span8 {
    padding: 25px;
}*/

article.type-borgo .td-pb-span8 p {
    line-height: 1.7;
}
.home .taxonomy_container,
.page-template-page-eventi-php .taxonomy_container,
.page-template-page-info-php .taxonomy_container,
div#taxonomy_container {
     display: flex;
    flex-wrap: wrap; /* Imposta il wrapping dei figli */
    justify-content: space-around; /* Allinea i figli lungo l'asse principale */
    gap: 25px; /* Spazio tra i figli */
}
.home .taxonomy_image,
.page-template-page-eventi-php .taxonomy_image,
.page-template-page-info-php .taxonomy_image,
article.type-borgo .taxonomy_image{
    border-radius: 15px 15px 0px 0px;
    max-width: 100%;
    margin: auto;
    height: 285px;
    border: 1px solid #d5c5c5;
    border-bottom: 0px
}
.home .taxonomy_front_info,
.page-template-page-eventi-php .taxonomy_front_info,
.page-template-page-info-php .taxonomy_front_info,
article.type-borgo .taxonomy_front_info {
border: 1px solid #d5c5c5;
    margin: 0;
    background: white;
    margin-top: 0;
    position: relative;
    border-radius: 0px 0px 15px 15px;
    padding: 15px 10px;
    display: block;
    width: 100%;
}
.home .taxonomy_front_info > div,
.page-template-page-eventi-php .taxonomy_front_info > div,
.page-template-page-info-php .taxonomy_front_info > div,
article.type-borgo .taxonomy_front_info > div{
     margin: 5px 0;
}
.home #tab-content .row .taxonomy_title b a:hover,
.page-template-page-eventi-php #tab-content .row .taxonomy_title b a:hover,
.page-template-page-info-php #tab-content .row .taxonomy_title b a:hover,
article.type-borgo #tab-content .row .taxonomy_title b a:hover,
article.type-borgo .taxonomy_post a:hover {
    text-decoration: underline;
}
.home .taxonomy_title a,
.page-template-page-eventi-php .taxonomy_title a,
.page-template-page-info-php .taxonomy_title a,
article.type-borgo .taxonomy_title a {
    color: black;
    font-size: 19px;
    display: block;
    margin-bottom: 0px;
}
.home .taxonomy_indirizzo a,
.page-template-page-eventi-php .taxonomy_indirizzo a,
.page-template-page-info-php .taxonomy_indirizzo a,
article.type-borgo .taxonomy_indirizzo a {
    color: #5d646b;
    font-size: 13px;
    display: block;
    margin-bottom: 0px;
    margin-top: 5px;
    font-family: Lora, serif;
}

.home .taxonomy_container > div,
.page-template-page-eventi-php .taxonomy_container > div,
.page-template-page-info-php .taxonomy_container > div,
article.type-borgo #taxonomy_container > div {
    width: calc(33.33% - 25px); /* Calcola la larghezza dei figli in modo che ce ne siano al massimo due per riga */
    margin-bottom: 25px; /* Margine inferiore per distanziare i figli */
}


@media screen and (min-width: 1024px){
    .single-borgo .td-container{
        width: 1400px;

    }
}

.single .td-container{
    max-width: 1400px;
    width: 100%;
}
.home .taxonomy_excerpt p,
.page-template-page-eventi-php .taxonomy_excerpt p,
.page-template-page-info-php .taxonomy_excerpt p,
.taxonomy_excerpt p {
    color: #5d646b;
    font-style: italic;
    font-size: 14px;
    line-height: 1.4;
     margin-bottom: 0px;
}

/*article.type-borgo #load-more-button{
    color: #fff;
    border: 0px;
    background-color: #805221;
    font-family: Nooks Script Bold !important;
    font-size: 20px !important;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 20px;
    padding-right: 20px;
}

article.type-borgo #load-more-button:hover{
    background-color: #402911 !important;
}*/


button#load-more-button {
    margin: auto;
    display: block;
}


.eventi-borgo{
    margin-top: 5%;
}
h2.event_name {
    text-align: center;
    margin: 25px 0 35px 0;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-family: Montserrat, sans-serif;
    color: #000;
     margin-bottom: 5%;
}

.td-pb-span12.info_utili {
    margin-top: 35px;
}
.list_eventi {
    z-index: 1;
    position: relative;
}

.overflow_logo {
    position: absolute;
    background-image: url(https://areamainarde.it/wp-content/uploads/2024/02/logo_vettoriale.svg);
    height: 350px;
    width: 800px;
    top: -30%;
    right: -10%;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    opacity: 0.4;
}


.mosaic-tabs__container {
    height: 40px;
    padding: 8px 0 0;
    display: block;
    width: 100%;
}

.mosaic-tabs {
       display: block;
    width: 100%;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.mosaic-tabs__tab {
    margin: 0 20px;
    text-align: center;
}





.location_icon {
    background-image: url(https://areamainarde.it/wp-content/uploads/2024/04/location.png);
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    width: 17px;
    height: 17px;
    background-size: contain;
    float: left;
    margin-right: 6px;
}

/* ===== SLIDER CONTAINER===== */


root {
    --first-color: #2e2e41;
    --second-color: #5b85ff;
    --third-color: #434354;
    --text-color: #fff;

    --box-shadow: 0 5px 25px rgb(2, 2, 2, 0.1);
    --text-shadow: 0 5px 25px rgb(2, 2, 2, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.main-container {
    position: relative;
}

/* ===== Tab navigation content ===== */
.tab-nav-bar {
    position: relative;
    margin: 0px;
}

.tab-navigation {
position: relative;
    display: block;
    width: 100%;
}

.tab-menu {
    color: #fff;
    list-style: none;
    background-color: #ffffff;
    width: 100%;
    padding: 10px;
    white-space: nowrap;
    border-bottom: 1px solid #434354;
    border-radius: 50px;
    box-shadow: 0 5px 25px rgb(2, 2, 2, 0.1);
    scroll-behavior: smooth;

    user-select: none;
    overflow-x: auto;
}

.tab-menu.dragging {
    scroll-behavior: unset;
    cursor: grab;
}

.tab-menu::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    display: inline-block;
    color: black;
    font-size: 1em;
    font-weight: 400;
    margin: 0 2px;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    user-select: none;
    transition: background-color .3s ease;
}

.tab-menu.dragging .tab-btn {
    pointer-events: none;
}

.tab-btn:hover,
.tab-btn.active {
    background-color: #815321;
    color: white;
}

.left-btn,
.right-btn {
    position: absolute;
    color: #fff;
    font-size: 1.8em;
    padding: 18px;
    cursor: pointer;
}

.left-btn {
    left: 0;
    background: linear-gradient(to left, transparent, #815321 90%);
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    display: none;
}

.right-btn {
    right: 0;
    background: linear-gradient(to right, transparent, #815321 90%);
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}




/* ===== Tab content ===== */
.tab-content {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.tab {
    position: absolute;
    top: 0;
    right: auto;
    bottom: 0;
    left: auto;
    max-width: 1100px;
    padding: 15px 50px;
    opacity: 0;

    transform: translateX(25px);
    content-visibility: hidden;
}

.tab.active {
    transform: translateX(0);
    content-visibility: visible;
    opacity: 1;
    transition: opacity 1s ease, transform 1s ease;
}

.tab .row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
    gap: 30px;
}

.tab .img-card {
    position: relative;
    width: 450px;
    max-width: 450px;
    height: 300px;
    max-height: 300px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--box-shadow);
}

.tab .img-card img {
    width: 100%;
    object-fit: cover;
}

.right-column {
    max-width: 800px;
}

.info .city,
.info .description p {
    color: #fff;
    margin-bottom: 10px;
}

.info .city {
    font-size: 2em;
}

.country {
    color: #434354;
    font-size: 5em;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 5px 25px rgb(2, 2, 2, 0.1);
}



/* ===== Media queries (max-width: 1050px;) ===== */
@media screen and (max-width: 1050px) {
    section {
        margin: 0 0;
    }

    .tab-nav-bar {
        margin: 65px 20px 40px 25px;
    }

    .tab {
        padding: 15px 25px;
    }

    .tab .row {
        flex-direction: column;
    }

    .tab .img-card {
        width: auto;
        max-width: 600px;
    }

    .country {
        font-size: 10vw;
        padding-bottom: 50px;
    }

}

.icon-inner, .ionicon, svg {
    display: block;
    height: 100%;
    width: 100%;
}

.ionicon-fill-none {
    fill: none;
}

.dati_brevi li {
    margin-bottom: 10px;
}

.dati_brevi{
    padding: 35px;
    border: 1px solid #ededed;
    margin-bottom: 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.nome_borgo{
    font-size: 24px;
    line-height: 1.33em;
    font-weight: 400;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-family: Montserrat, sans-serif;
    color: #000;
}
.dati_brevi h4,
.descrizione-borgo h3{
    margin-top: 0px;
}
.dati_brevi h4{
    letter-spacing: .4em;
    text-transform: uppercase;
    color: #959595;
    font-weight: normal;
}
.descrizione-borgo {
    margin-top: 25px;
}

.dati_brevi ul {
    z-index: 55;
    position: relative;
}
.image-background-dati-brevi{
    width: 50%;
    height: -webkit-fill-available;
    position: absolute;
    bottom: 0;
    right: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 0;
    top: 12%;
}
.descrizione-borgo {
    margin-top: 25px;
    display: block;
    width: 100%;
    float: left;
}
.dati_brevi ul li{
    font-family: Lora, serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.69em;
    color: black;
    overflow-x: hidden !important;
    -webkit-font-smoothing: antialiased;
    margin-left: 0px;
}
.taxonomy_title a,
.taxonomy_front_info p{
 font-family: Lora, serif;
}
.badge_date{
    background-color: #ffffff;
    font-family: Lora, serif;
    padding: 5px 10px;
    margin: 15px 15px;
    display: block;
    width: 97px;
    float: right;
    font-size: 13px;
    border-radius: 5px;
    font-weight: bold;
}

.dati_brevi ul li b{
    font-family: Lora, serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.69em;
    color: black;
    overflow-x: hidden !important;
    -webkit-font-smoothing: antialiased;
}

.fullwidth{
    background: #f7f2ee;
     width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.fullwidth > div{
    max-width: 1400px;
    padding: 24px 0px;
    margin: auto;
}
div#tab-content {

    display: flex;
    flex-wrap: wrap;
}


article.type-borgo #tab-content .row{
    border: 1px solid #d5c5c5
}

article.type-borgo #tab-content .taxonomy_front_info{
     border-left:0px !important;
    border-right: 0px !important;
    border-bottom: 0px !important;
}

article.type-borgo #tab-content .taxonomy_image{
    border-left:0px !important;
    border-right: 0px !important;
    border-top: 0px !important;
}


span.badge_location {
    background-color: #825221;
    font-family: Lora, serif;
    padding: 5px 10px;
    margin: 15px 15px;
    display: block;
    width: auto;
    float: left;
    font-size: 13px;
    border-radius: 5px;
    font-weight: bold;
    color: white;
}

.single-eventi_area_mainarde .td-pb-span8 .tdc-row {
    width: 100%;
}

.single-borgo .td-pb-span8{
    padding-left: 0px;
}
div#tab-content .row {
        box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
        margin: 10px;
        border-radius: 15px;
        background: white;
    }
@media screen and (max-width: 480px){
    .home .taxonomy_container > div,
    .page-template-page-eventi-php .taxonomy_container > div,
    .page-template-page-info-php .taxonomy_container > div,
    article.type-borgo #taxonomy_container > div {
        width: 100%;
    }
    .fullwidth{
        padding-left: 25px;
        padding-right: 25px;
    }
    div#tab-content .row {
        width: 100%;  
    }
}
.slider-main-text p{
    overflow: visible !important;
}
@media screen and (min-width: 481px) and (max-width: 768px){
    .home .taxonomy_container > div,
    .page-template-page-eventi-php .taxonomy_container > div,
    .page-template-page-info-php .taxonomy_container > div,
    article.type-borgo #taxonomy_container > div {
        width: calc(50% - 25px); /* Calcola la larghezza dei figli in modo che ce ne siano al massimo due per riga */
    }
    .fullwidth{
        padding-left: 25px;
        padding-right: 25px;
    }
    div#tab-content .row {
        width: calc(50% - 20px);
    }

}
@media screen and (min-width: 769px) {
     .home .taxonomy_container > div,
    .page-template-page-eventi-php .taxonomy_container > div,
    .page-template-page-info-php .taxonomy_container > div,
    article.type-borgo #taxonomy_container > div {
        width: calc(33.33% - 25px); /* Calcola la larghezza dei figli in modo che ce ne siano al massimo due per riga */
        margin-bottom: 25px; /* Margine inferiore per distanziare i figli */
    }
    .fullwidth{
        padding-left: 25px;
        padding-right: 25px;
    }
    div#tab-content .row {
        width: calc(33.33% - 20px);
    }
}


@media screen and (min-width: 1024px) {
    .single-borgo .td-container {
        max-width: 1400px;
        width: 100%;
    }
}

.td-container.td-header-row.td-header-main-menu,
.single-eventi_area_mainarde .td-container{
    max-width: 1400px;
    width: 100%;
}
.page-id-25 h1,
.page-template-page-eventi h1,
.page-template-page-eventi h2,
.page-template-page-eventi h3,
.page-template-page-eventi h4,
.page-template-page-eventi h5,
.page-template-page-eventi h6,
.single h1,
.single h2,
.single h3,
.single h4,
.single h5,
.single h6{
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
}
.listborghi {
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.page-id-25 h2{
        font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
     text-align: center;
    letter-spacing: 4.8px;
    font-size: 20px;
    font-weight: 400;
    line-height: 31.9px;
    margin-bottom: 10px;
}
.page-id-25 .event-title,
.page-template-page-info .event-title,
.home .event-title,
.single .event-title{
    text-align: center;
    letter-spacing: 4.8px;
    font-size: 24px;
    font-weight: 400;
    line-height: 31.9px;
    margin-bottom: 10px;
}
.page-id-25 .event-title
.page-template-page-info .event-title,
.home .event-title,
.i-comuni .event-title{
    text-align: center;
    letter-spacing: 4.8px;
    font-size: 24px;
    font-weight: 400;
    line-height: 31.9px;
    margin-bottom: 10px;
    font-family: 'Montserrat';
    text-transform: uppercase;
}
.home .event-title
.page-template-page-info .event-title,
.page-template-page-eventi .event-title{
    text-align: center;
}

.single p.sub-event-title {
    font-size: 12px;
    letter-spacing: .3em;
    text-transform: uppercase;
    margin: 0 1px 0 2px;
    font-family: 'Montserrat';
    text-align: center;
    font-weight: 400;
    color: rgba(22, 22, 22, 0.914);
}

.single .content{
    margin-top: 45px;
}

.mkdf-widget-title-before {
    content: '';
    height: 1px;
    width: 100%;
    background-color: #d1d1d1;
    top: 15px;
    position: absolute;
    left: 0;
}
.mkdf-widget-title {
    display: inline-block;
    width: auto;
    margin: 0 0 3px;
    background-color: #fff;
    padding: 0 12px;
    z-index: 90;
    position: relative;
    font-weight: 600;
    letter-spacing: .3em;
}
.mkdf-widget-title-holder {
    display: block;
    text-align: center;
    overflow: hidden;
    width: 100%;
}
/*.artigianato_e_artist-template-default .td-pb-span4{
    padding-left: 0;
    padding-right: 0;
}*/
.single .add-to-calendar{
    margin-top: 0px;
}
.single .add-to-calendar, 
.single .short-text {
    width: 100%;
    display: block;
    text-align: center;
    font-weight: 100;
    letter-spacing: 0.2px;
    font-size: 15px;
    margin: 15px 0;
}
.single p.short-text a:hover{
    text-decoration: underline !important;
}
.singl .mkdf-widget-title-holder{
    margin: 37px 0px;
}
.single .widget_contact,
.single .widget_link,
.single .widget_data{
display: block;
    position: relative;
    float: left;
    width: 100%;
}
.mkdf-icon-widget-holder {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    float: left;
    text-align: center;
    width: 33%;
    margin-bottom: 25px;
    margin-top: 25px;
}

a.mkdf-icon-widget-holder {
    color: black;
}
.mkdf-icon-text {
    font-family: "Montserrat, sans-serif";
    font-size: 11px;
    text-transform: uppercase;
    font-style: normal;
    letter-spacing: 1.64px;
    -webkit-font-smoothing: antialiased;
    padding-top: 3px;
    display: block;
    color: rgb(149, 149, 149);
}
.mkdf-icon-text:hover{
    color: black;
}

.filtro_info,
.filtro {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-bottom: 35px;
}

.filtro p {
    margin-bottom: 0px;
    margin-right: 20px;
    font-size: 16px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-family: 'Montserrat';
    text-align: center;
    font-weight: 400;
    color: rgba(22, 22, 22, 0.914);
}

.filtro select{
    margin-bottom: 0px;
    margin-right: 20px;
    font-size: 16px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-family: 'Montserrat';
    text-align: left;
    font-weight: 400;
    color: rgba(22, 22, 22, 0.914);
}
select#seleziona_borgo,
select#seleziona_info {
    max-width: 100%;
    padding: 0;
    margin: 0;
}
.filtro_comune{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}
.filtro_comune p,
.filtro_info p{
    margin-bottom: 0px;
    margin-right: 20px;
    font-size: 16px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-family: 'Montserrat';
    text-align: center;
    font-weight: 400;
    color: rgba(22, 22, 22, 0.914);
}

.filtro_comune select,
.filtro_info select{
    margin-bottom: 0px;
    margin-right: 20px;
    font-size: 16px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-family: 'Montserrat';
    text-align: left;
    font-weight: 400;
    color: rgba(22, 22, 22, 0.914);
}

.home input.wpcf7-form-control.wpcf7-submit.has-spinner.oss-button,
.oss-button{
    letter-spacing: .2em;
    font-weight: 400;
    text-transform: uppercase;
    outline: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: color .2s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out;
    transition: color .2s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out;
    padding: 9px 41px 10px;
    cursor: pointer;
    z-index: 3;
        background-color: transparent;
    border: 1px solid #815221;

}

.home input.wpcf7-form-control.wpcf7-submit.has-spinner.oss-button:hover,
.oss-button:hover{
    color: #fff;
    background-color: #815221;
    border-color: #815221;
}


.td-header-menu-wrap.td-header-gradient .sf-menu > li > a:after {
    bottom: 8px;
}
ul.sub-menu {
    min-width: 250px;
}

.td-header-menu-wrap.td-header-gradient.td-affix .sf-menu > li > a:after{
    bottom: 0px;
}
ul.sub-menu li a:hover{
    position: relative;
    padding-left: 35px;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}
ul.sub-menu li a:before {
    content: '\25CF';
    color:#805221;
    opacity: 0;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    position: absolute;
    left: 15px;
}
ul.sub-menu li a:hover:before {
opacity: 1;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    left: 20px;;
}


.page-template-page-comuni-php  .td-page-content.tagdiv-type {
    display: flex;
    flex-wrap: wrap;
    margin-top: 35px;

}

.page-template-page-comuni-php .comune-image{
    overflow: hidden;
    max-height: 215px;
}
.page-template-page-comuni-php .comune-image img {
    margin-bottom: 0px;
    border-radius: 15px 15px 0px 0px;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;

}

.page-template-page-comuni-php .comune-image img:hover{
-webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.page-template-page-comuni-php .container-comune{
    box-shadow: rgb(109 109 122 / 74%) 0px 7px 16px 0px !important;
}

.page-template-page-comuni-php  .container-nome {
    padding: 15px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.page-template-page-comuni-php  .container-nome p.nome-comune{
    font-family: Lora, serif;
    color: black;
    font-size: 22px;
    display: block;
    margin-bottom: 0px;
    font-weight: 700;
    margin-top: 6px;
}

ul li, ol li{
    font-family: Lora, serif;
}
.home input.wpcf7-form-control.wpcf7-submit.has-spinner.oss-button{
    font-size: 16px;
}
.home input.wpcf7-form-control.wpcf7-submit.has-spinner.oss-button,
.page-template-page-comuni-php  .container-nome button.oss-button {
    color: black !important;
}
.home .oss-button a,
.page-template-page-comuni-php  .container-nome button.oss-button a{
    color: black;
}
.home input.wpcf7-form-control.wpcf7-submit.has-spinner.oss-button:hover,
.home .oss-button:hover a,
.page-template-page-comuni-php  .container-nome button.oss-button:hover a {
    color: white !important;
}

@media screen and (min-width: 1024px){
    .page-template-page-comuni-php .td-page-content.tagdiv-type > div {
        width: calc(50% - 40px);
        margin: 20px;
        overflow: hidden;
        border-radius: 15px;
    }
}
span.ct-ultimate-gdpr-consent-wpcf7 label,
span.ct-ultimate-gdpr-consent-wpcf7 a {
    font-family: 'Montserrat';
}
@media screen and (max-width: 1023px){
    .page-template-page-comuni-php .td-page-content.tagdiv-type > div {
        width: 100%;
        margin: 20px;
        overflow: hidden;
        border-radius: 15px;
    }
}
p.no-post {
    width: 100%;
    text-align: center;
    margin-top: 25px;
}
.single-borgo .oss-button:hover a,
.single-borgo .oss-button a:hover,
.single button#load-more-button:hover a,
.single button#load-more-button a:hover {
    color: white;
}
.single-borgo .oss-button a,
.single button#load-more-button a {
    color: black;
}
.eventihome .mega-post-carousel3 .mega-post-image{
        background-image: url(https://areamainarde.it/wp-content/uploads/2024/04/area_mainarde_default.jpg?id=448) !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom
}
.single-borgo .oss-button{
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.home .td-container {
    width: 100%;
}

.comuni-slider .container-comune {
    width: 23%;
    float: left;
    margin: 1%;
}

.comuni-slider .container-comune .comune-image {
    min-height: 350px;
    background-position: center center;
    background-size: cover;
}


.comuni-slider .container-nome {
    border: 1px solid #d7d7d7;
    padding: 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: white;
}




.comuni-slider .nome-comune{
    font-family: Lora, serif;
    color: black;
    font-size: 22px;
    display: block;
    margin-bottom: 0px;
    font-weight: 700;
    margin-top: 6px;
}


.comuni-slider button.oss-button {
    margin-top: 25px;
    text-align: center;
    width: 100%;
}




.molise-back > div{
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 218px;
    opacity: 0.7;
    background-repeat: no-repeat;
}

.section {
    max-width: 1400px;
    width: 100%;
    margin: auto;
    clear: both;
    display: grid;
        margin-top: 4%;
    margin-bottom: 4%;
}

.section-odd {
    width: 100%;
    display: grid;
        background: #f7f2ef;

}

.section-odd .cont {
    max-width: 1400px;
    width: 100%;
    display: block;
    margin: auto;
    margin-top: 4%;
    margin-bottom: 4%;

}

.background-logo{
    background-image: url(https://areamainarde.it/wp-content/uploads/2024/02/areamainarde_bg.png);
    background-repeat: no-repeat;
    background-position: 107% 43%;
}


.logos__marquee_desc,
.logos__marquee {
    display: flex;
    overflow-x: hidden;
    user-select: none;
    mask-image: linear-gradient(
        to right,
        hsl(0 0% 0% / 0),
        hsl(0 0% 0% / 1) 20%,
        hsl(0 0% 0% / 1) 80%,
        hsl(0 0% 0% / 0)
    );
}

.marquee__logos {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
    min-width: 100%;
    animation: loop 20s linear infinite;
    margin-bottom: 15px;
}
.marquee__logos_desc {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
    min-width: 100%;
    animation: loop_desc 20s linear infinite;
    margin-bottom: 15px;
}
.marquee__logos_desc .logo-comune_desc,
.marquee__logos .logo-comune{
    display: block;
    margin-inline: 2rem;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    padding: 15px;
    margin: 10px;

}

.marquee__logos_desc .logo-comune_desc p,
.marquee__logos .logo-comune p {
    margin-bottom: 0px;
}

@keyframes loop {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-100%);
    }
}

@keyframes loop_desc {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0%);
    }
}
.marquee__logos_desc:hover,
.marquee__logos:hover {
    animation-play-state: paused;
}
.logo-comune_desc a,
.logo-comune a {
    margin-top: 11px;
    display: block;
    float: left;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 15px;
    font-weight: 400;
    font-family: 'Montserrat';
    text-transform: uppercase;
}
.logo-comune_desc img,
.logo-comune img {
    width: 30px;
    float: left;
    margin-right: 10px;
}

.section-odd .cont .event-title,
.section .event-title {
    margin-bottom: 4%;
}
.home .td-container{
    width: 100%;
    padding-left: 0px; 
    padding-right: 0px; 
}
.home .section,
.home .section-odd .cont{
    padding-left: 25px;
    padding-right: 25px;
}

@media (max-width: 1400px){
    .comuni-slider {
        overflow: hidden;
    }
}

.container-comune:hover {
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.get-in-touch .cont .event-title {
    margin-bottom: 2%;
}

.get-in-touch .cont p,
.contatti-home {
    text-align: center;
}

.contatti-home .box-message textarea,
.contatti-home .box-name-mail input{
    letter-spacing: 0;
    text-transform: capitalize;
    position: relative;
    width: 100%;
    margin: 0 0 25px;
    padding: 9px 16px;
    font-size: 12px;
    font-weight: 400;
    line-height: calc(50px - (9px * 2) - 2px);
    color: #959595;
    background-color: #fff;
    border: 1px solid #c6c6c6;
    border-radius: 0;
    outline: 0;
    cursor: text;
    -webkit-appearance: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: border-color .2s ease-in-out;
    transition: border-color .2s ease-in-out;
    font-family: Montserrat, sans-serif;
    font-style: italic;
    height: 48px;
}

.contatti-home .box-name-mail span:first-child input{
    width: calc(50% - 15px);
    margin-right: 15px;
    margin-left: 0px;
}

.contatti-home .box-name-mail span:last-child input{
    width: calc(50% - 15px);
    margin-left: 15px;
    margin-right: 0px;
}

.contatti-home .box-message p,
.contatti-home .box-name-mail p{
    margin-bottom: 0px;
}
.contatti-home .box-message textarea{
    margin-bottom: 10px;

}

.contatti-home form{
    display: flex;
    flex-direction: column;
}

.contatti-home .box-name-mail{
    display: flex;
    order: 1;
    flex-direction: column;
}


.contatti-home .box-message{
    display: flex;
    order: 2;
    width: 100%;
    flex-direction: column;
}

.contatti-home .ct-ultimate-gdpr-consent-wpcf7{
    display: flex;
    order: 3;
    flex-direction: column;
        margin-bottom: 10px;

}

.contatti-home .box-button{
    display: flex;
    order: 4;
    flex-direction: column;
}
.box-button input:disabled {
    opacity: 0.4;
}
.mkdf-footer-top-inner.mkdf-grid{
    padding: 84px 0 32px;
    max-width: 1400px;
    width: 100%;
}

.mkdf-grid-row.mkdf-footer-top-alignment-center {
    text-align: center;
}

.mkdf-grid-col-4 {
    position: relative;
    float: left;
    width: 33.33333%;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.footer-oss {
    max-width: 1400px;
    margin: auto;
    padding: 42px 0;
    display: flex;
}



.footer-oss .col-4 {
    position: relative;
    float: left;
    min-height: 1px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.footer-oss  h6 {
display: inline-block;
    width: auto;
    margin: 0 0 3px;
    background-color: #fff;
    padding: 0 12px;
    z-index: 90;
    position: relative;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 18px;
    font-size: 12px;
}
.footer-oss svg{
    color: black;
}
/*.footer-oss span.mkdf-icon-element {
    font-family: 'Font Awesome 5 Free';
    color: black;
}*/

.footer-oss .mkdf-widget-title-before {
    top: 10px;
}
.footer-text p a,
.footer-text p {
    font-size: 14px;
    text-align: left;
    letter-spacing: 0;
}

.footer-text a{
    color: black !important;
    font-family: 'Lora', serif;
}
.td-sub-footer-container.td-container-wrap .td-container,
.td-footer-wrapper.td-footer-container.td-container-wrap .td-container {
    max-width: 1400px;
    width: 100%;
}
.td-pb-span.td-sub-footer-copy .footer-sx, .td-pb-span.td-sub-footer-copy .footer-dx {
    width: 50%;
    float: left;
}

.td-pb-span.td-sub-footer-copy .footer-sx{
    text-align: left;
}
.td-pb-span.td-sub-footer-copy .footer-dx {
    text-align: right;
}


.footer-dx ul#menu-link-utili {
    list-style: none;
    margin-left: 0px;
    display: flex;
    float: right;
    width: 100%;
    text-align: right;
    flex-wrap: nowrap;
    justify-content: flex-end;
}
.footer-dx ul#menu-link-utili li {
    margin-left: 0px;
}
.footer-dx ul#menu-link-utili li:not(:first-child) a:before {
    content: " / ";
    margin-left: 5px;
    margin-right: 5px;
}

.td-pb-span.td-sub-footer-copy {
    display: block;
    float: left;
    margin: 10px 0px;
}
.footer-sx p,
.footer-dx a {
    font-family: 'Montserrat';
}


.featured-single {
    width: 100%;
    text-align: left;
    margin-bottom: 35px;
    float: left;
}

.box-container {
    width: 100%;
    text-align: left;
    float: left;
}

.featured-single img {
    width: 100%;
    max-width: 250px;
}


.info_utili .taxonomy_image img {
    border-radius: 15px 15px 0 0;
}


.cont .oss-button {
    text-align: center !important;
    margin: auto !important;
    /* width: 15%; */
    display: block;
}

.page-id-25 .sub{
    margin-bottom: 0px;
    margin-right: 20px;
    font-size: 16px;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;
    color: rgba(22, 22, 22, 0.914);

}
.page-id-25 .tdc-row {
    max-width: 1280px;
    width: 100%;
    margin: auto;
    padding: 0px 23px;
}

.lista-comuni .td-pb-span3 > div {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 25px !important;
}
.lista-comuni .td-pb-span3 {
    margin-bottom: 35px;
}

.lista-comuni .wpb_single_image,
.lista-comuni .wpb_text_column,
.lista-comuni .wpb_text_column p{
    margin-bottom: 0px !important ;
}

.lista-comuni .td-pb-span3 img {
    max-width: 50%;
    margin: auto;
}



.lista-comuni .wpb_text_column p {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    margin-top: 10px;
}


.page-id-25 .event-title {
    font-weight: bold;
}



div#sp {
    max-height: 200px;
    overflow: hidden;
}
/* Slider */

.slick-slide {
    margin: 0px 10px;
}

.slick-slide img {
   
}

.slick-slider
{
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
            user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;
    display: block;
}
.slick-track:before,
.slick-track:after
{
    display: table;
    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;
    height: auto;
    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}

.customer-logos.slider {
    width: 100%;
    height: 130px;
    overflow: hidden;
}

.totem {
    height: 85.5vh;
    /* padding-top: 200px; */
    overflow-y: scroll !important;
}

.totem  .tdc-header-wrap  .td-header-style-7 {
    position: fixed;
    width: 100%;
}

.slide.slick-slide {
    max-height: 130px;
    overflow: hidden;
    border-right: 1px solid #805221;
}

.slide .tt p{
       display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slide .desc {
    width: 20%;
    margin-right: 2%;
    float: left;
}


.slick-list.draggable {
    margin-left: 70px;
    margin-right: 70px;
}

.customer-logos button {
    position: absolute;
    top: 30px;
}

.customer-logos button:last-child {
    right:10px;
}
.customer-logos button:first-child {
    left:10px;
}
.slick-slider .slick-arrow {
    background: white;
    border: 0px;
    border-radius: 50%;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.hide{
    display: none;
}

#footer-locali .slides {
    padding: 0;
    margin: 0;
    display: block;
    width: 100%;
}


#footer-locali .slides li{
    margin: 0;
}
.single-artigianato_e_artist .td-pb-span8 .tdc-row,
.single-associazioni .td-pb-span8 .tdc-row,
.descrizione-borgo .tdc-row {
    width: 100%;
}
.single .taxonomy_image,
.td-pb-span12.info_utili #tab-content .taxonomy_image {
    overflow: hidden;
}

article.type-borgo #tab-content .taxonomy_image img {
    width: 100%;
    overflow: hidden;
}