/*** agrestic ***/
/*** variabili ***/
/*** fonts ***/
body,
p,
.td-excerpt,
.tdm-counter-wrap {
  font-family: 'Open Sans', sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6,
.td-header-row,
.td-page-title,
.block-title,
.eventihome .td-post-date,
.td-related-title,
.td_category_template_8 .td-category-header .td-category a,
.td_block_template_18 .td-block-title,
.databig .day,
.tdm-progress-wrap .tdm-progress-percentage,
.tdm-counter-wrap .tdm-counter-number {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
}
body.single-post .td-ss-main-sidebar .td-post-date,
body.single-post .td-ss-main-sidebar .td-post-author-name {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
}
input[type="submit"],
.tdm-btn {
  font-family: 'Quicksand', sans-serif;
}
.td-container,
.tdc-row,
.tdc-row-composer {
  width: 96%;
  max-width: 1400px;
}
/*** testata ***/
/*
.tdm-header-style-1 { 
    @media (min-width: @responsive_l_tablet_min) {
        .td-main-menu-logo {
            height: 100px;
            img { max-height: 94px; }
        }
        .sf-menu > li > a { line-height: 100px; }
        .td-header-menu-wrap-full #td-header-search-button .td-icon-search, .td-header-menu-social { line-height: 100px; }
    }
    .sf-menu { 
        > li.td-normal-menu > ul.sub-menu { left: 0; }
        /*
        > li.menu-item-language {
            float: right;
            width: 40px;
            height: 40px;
            
            margin: 30px 5px;
            a {
                overflow: hidden;
                //text-indent: 100px;
                white-space: nowrap;
                
                
                display: block;
                line-height: 50px;
                padding: 0;
                width: 100%;
                height: 100%;
                -webkit-border-radius: 50%;
                border-radius: 50%;
                &[src~='/en/'] { background-image: url('../images/uk.gif'); }
                &::after { display: none; }
                img.iclflag {
                    height: 40px !important;
                    width: 40px !important;
                    margin-right: 0;
                    background: url('../images/it.gif') no-repeat center;
                    background-size: cover;
                }
            }
        }
        * /
    }
    .td-header-menu-social .td-social-icon-wrap i {
        font-size: 15px;
    }
    .td-social-icon-wrap .td-icon-font {
        width: 36px;
    }
}
*/
.td-header-style-8 .sf-menu > li.td-normal-menu > ul.sub-menu {
  left: 0;
}
.td-header-style-8 .td-header-sp-logo {
  top: 9px;
}
.td-header-style-8 .td-header-sp-logo img {
  max-height: 94px;
}
.td-header-style-8 .td-main-menu-logo {
  margin-right: 30px;
}
.td-header-style-8 .td-header-top-menu {
  padding: 10px 0;
  width: auto;
}
.td-header-style-8 .td-header-top-menu #lang_sel_list {
  float: right;
  /*
            &.lang_sel_list_vertical { 
                width: auto; 
                ul { border-top: none; }
            }
            */
}
.td-header-style-8 .td-header-top-menu #lang_sel_list li {
  display: inline-block;
  margin: 0 5px !important;
  height: 34px;
  width: 34px;
}
.td-header-style-8 .td-header-top-menu #lang_sel_list li a {
  display: inline-block;
  overflow: hidden;
  text-indent: 100px;
  white-space: nowrap;
  width: 100%;
  height: 100%;
  background: url('../images/it.jpg') no-repeat center;
  background-size: cover;
  border: solid 1px rgba(130, 131, 62, 0.3);
  -webkit-border-radius: 50%;
  border-radius: 50%;
}
.td-header-style-8 .td-header-top-menu #lang_sel_list li a.lang_sel_other {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}
.td-header-style-8 .td-header-top-menu #lang_sel_list li a.lang_sel_other:hover {
  -webkit-filter: none;
  filter: none;
}
.td-header-style-8 .td-header-top-menu #lang_sel_list li.icl-en a {
  background-image: url('../images/uk.jpg');
}
.td-header-style-8 .td-header-sp-top-widget {
  margin-left: 30px;
}
.td-header-style-8 .td-social-icon-wrap .td-icon-font {
  font-size: 16px;
  width: 34px;
}
.td-header-style-8 .sf-menu > li > a {
  line-height: 57px;
  font-size: 15px;
}
#td-mobile-nav #lang_sel_list {
  padding: 0 65px 0 20px;
  overflow: hidden;
  height: 60px;
  font-family: -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
}
#td-mobile-nav #lang_sel_list ul a {
  background: none;
  color: #fff;
  font-size: 21px;
  line-height: 21px;
  padding: 12px 30px 12px 12px;
  font-weight: bold;
}
#td-mobile-nav #lang_sel_list ul a.lang_sel_sel {
  color: #fad266;
}
/*
.header-languages {
    margin-bottom: 0;
    aside {
        padding-top: 0;
        margin-bottom: 0;
        text-align: right;
        ul { 
            margin: 30px 0;
            li {
                display: inline-block;
                margin: 0 5px;
                height: 40px;
                ul { display: inline-block; margin: 0; }
                a {
                    display: inline-block;
                    overflow: hidden;
                    text-indent: 100px;
                    white-space: nowrap;
                    width: 40px;
                    height: 40px;
                    background: url('../images/it.jpg') no-repeat center;
                    background-size: cover;
                    border: solid 1px rgba(red(@primary-color),green(@primary-color),blue(@primary-color),0.3);
                    -webkit-border-radius: 50%;
                    border-radius: 50%;
                }
                &.icl-en a, a.icl-en { background-image: url('../images/uk.jpg'); }
            }
        }
    }
}
*/
/*** homepage ***/
body.page.homepage .tdc-header-wrap {
  height: 0;
  overflow: hidden;
}
body.page[class*="homepage"] .td-main-page-wrap {
  padding-top: 0;
}
body.page[class*="homepage"] .tdm-title {
  font-weight: 700;
}
body.page[class*="homepage"] .tdm-title.tdm-title-bg {
  font-size: 42px;
}
body.page[class*="homepage"] .tdm-title img {
  display: block;
  margin: 0 auto 20px auto;
  max-width: 310px;
}
body.page[class*="homepage"] .tdm-title span {
  display: block;
  font-size: 22px;
  line-height: 34px;
}
.eventi-agrestic .tribe-events-list-widget .tribe-list-widget {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
}
.eventi-agrestic .tribe-events-list-widget .tribe-events-list-widget-events {
  width: 24%;
  margin: 0 0 10px 0 !important;
  padding: 10px 15px !important;
  background: #fad266;
}
@media (min-width: 768px) and (max-width: 1018px) {
  .eventi-agrestic .tribe-events-list-widget .tribe-events-list-widget-events {
    width: 49%;
  }
}
@media (max-width: 767px) {
  .eventi-agrestic .tribe-events-list-widget .tribe-events-list-widget-events {
    width: 100%;
  }
}
.eventi-agrestic .tribe-events-list-widget .tribe-event-duration {
  display: none;
}
.eventi-agrestic .tribe-events-list-widget .databig {
  display: flex;
  align-items: flex-end;
  font-weight: bold;
  font-size: 18px;
  line-height: 18px;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: #4b4d29;
}
.eventi-agrestic .tribe-events-list-widget .databig .mese {
  display: block;
}
.eventi-agrestic .tribe-events-list-widget .databig .day {
  font-size: 52px;
  line-height: 42px;
  color: #82833e;
  margin-right: 8px;
  letter-spacing: -3px;
}
.eventi-agrestic .tribe-events-list-widget .tribe-event-title {
  font-size: 18px;
  line-height: 26px;
}
.eventi-agrestic .tribe-events-list-widget .tribe-event-featured {
  background: #fad266 !important;
}
.eventi-agrestic .tribe-events-list-widget .tribe-event-featured .tribe-event-image {
  margin: 0 0 5px 0 !important;
}
.eventi-agrestic .tribe-events-list-widget .tribe-event-featured .tribe-event-title a {
  color: #111;
}
.eventi-agrestic .tribe-events-list-widget .tribe-event-featured .tribe-event-title a:hover {
  color: #82833e;
}
.eventi-agrestic .tribe-events-list-widget .tribe-events-widget-link {
  display: none;
}
/*** block ***/
.td_block_template_18 .td-block-title {
  letter-spacing: -2px;
  line-height: 1.2;
}
@media (max-width: 767px) {
  .td_block_template_18 .td-block-title {
    font-size: 40px;
  }
}
.td_block_template_18 .td-block-title > span,
.td_block_template_18 .td-block-title > a {
  background: #fad266;
  background: -moz-linear-gradient(-68deg, #fad266 30%, #82833e 80%);
  background: -webkit-linear-gradient(-68deg, #fad266 30%, #82833e 80%);
  background: linear-gradient(156deg, #fad266 30%, #82833e 80%);
}
.notitle .td-block-title {
  display: none;
}
/*** social ***/
.td_block_text_with_title .rotatingtweets p,
.td_block_text_with_title #cff p {
  font-size: 13px;
  line-height: 18px;
}
.td_block_text_with_title .rotatingtweets img,
.td_block_text_with_title #cff img {
  margin-bottom: 0;
}
.ag24-youtubefeed .scroll {
  max-height: 400px;
  overflow: scroll;
}
.ag24-youtubefeed h5 {
  display: none;
}
.ag24-youtubefeed .item {
  margin-bottom: 20px;
}
.ag24-youtubefeed .title {
  font-weight: 700;
  font-size: 16px;
  line-height: 21px;
  margin-bottom: 3px;
}
.ag24-youtubefeed .author {
  font-size: 12px;
  line-height: 18px;
  color: #666;
}
.trecolonne .ag24-youtubefeed .scroll,
.duecolonne .ag24-youtubefeed .scroll {
  max-height: inherit;
  overflow: visible;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.trecolonne .ag24-youtubefeed .item,
.duecolonne .ag24-youtubefeed .item {
  width: 30%;
  margin-bottom: 40px;
}
.duecolonne .ag24-youtubefeed .item {
  width: 48%;
}
.gallery-columns-2,
.gallery-columns-6 {
  display: flex;
  align-items: first baseline;
  justify-content: space-between;
  flex-wrap: wrap;
}
.gallery-columns-2 .gallery-item,
.gallery-columns-6 .gallery-item {
  max-width: 16%;
}
.gallery-columns-2 .gallery-item {
  max-width: 48%;
}
/*** feed ***/
.srr-wrap .srr-title {
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 0 !important;
}
.srr-wrap .srr-thumb {
  width: 100px !important;
}
/*** articolo ***/
.td-post-sub-title {
  color: #666;
}
.td-post-sub-title.sponsor {
  margin: 0 0 6px 0;
  font-size: 13px;
  line-height: 15px;
  text-align: right;
}
.td_module_10 .td-post-sub-title.sponsor {
  text-align: left;
}
/*** eventi ***/
/*** footer ***/
.td-footer-wrapper .block-title {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .td-footer-wrapper .td-footer-bottom-full .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }
}
@media (min-width: 768px) {
  .td-footer-wrapper .td-footer-bottom-full .td-pb-row {
    display: flex;
    align-items: center;
  }
}
.td-footer-wrapper .td-footer-bottom-full .footer-logo-wrap {
  margin-top: 0;
}
.td-footer-wrapper .td-footer-bottom-full .footer-social-wrap {
  text-align: right;
}
.td-footer-wrapper .td-footer-bottom-full .td-pb-span5 .block-title {
  display: none;
}
.td-footer-wrapper .td-footer-bottom-full .td-pb-span5 .footer-text-wrap img {
  float: left;
  max-width: 60px;
  margin-right: 10px;
}
@media (max-width: 767px) {
  .td-footer-wrapper .td-footer-bottom-full .td-pb-row > div {
    margin-bottom: 10px;
  }
}
@media (max-width: 767px) {
  .td-footer-wrapper .td-pb-span4 {
    margin-bottom: 0;
  }
}
.td-sub-footer-container {
  color: #eee;
}
.td-subfooter-menu li a {
  color: #eee;
}
.td-subfooter-menu li a:hover {
  color: #fff;
}
/*** pagina footer ***/
.life img {
  float: left;
  max-width: 60px;
  margin-right: 10px;
}
.unic {
  height: 0;
}
.modal.is-active .unic {
  height: auto;
}
/*** login ***/
.mfp-content .registrati {
  width: 100%;
  display: block;
  padding: 13px;
  margin-top: 24px;
  font-size: 13px;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  position: relative;
}
.mfp-content .registrati:before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #fff;
  opacity: 0;
  -webkit-transition: opacity 0.2s ease;
  -moz-transition: opacity 0.2s ease;
  -o-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}
.mfp-content .registrati:hover:before {
  opacity: 0.2;
}
#signup-content {
  background: #fff;
}
#signup-content .wp-activate-container {
  padding: 50px;
}
#signup-content .wp-activate-container h2 {
  margin-top: 0;
}
.white-popup-block {
  min-height: 600px;
}
.riservato {
  background: #fad266;
  padding: 20px;
  margin-bottom: 30px;
}
.td-post-content .riservato p a {
  text-decoration: none;
}
h4.accesso-riservato {
  clear: both;
}
/*** banner ***/
/*** skinned  ***/
