/* FONTS */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600&display=swap');

@font-face {
    font-family: 'WorkSans';
    src: url('../fonts/customfont/WorkSans-BlackItalic.eot');
    src: url('../fonts/customfont/WorkSans-BlackItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/WorkSans-BlackItalic.woff2') format('woff2'),
        url('../fonts/customfont/WorkSans-BlackItalic.woff') format('woff'),
        url('../fonts/customfont/WorkSans-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Optima';
    src: url('../fonts/customfont/Optima-Medium.eot');
    src: url('../fonts/customfont/Optima-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/Optima-Medium.woff2') format('woff2'),
        url('../fonts/customfont/Optima-Medium.woff') format('woff'),
        url('../fonts/customfont/Optima-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'WorkSans';
    src: url('../fonts/customfont/WorkSans-BoldItalic.eot');
    src: url('../fonts/customfont/WorkSans-BoldItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/WorkSans-BoldItalic.woff2') format('woff2'),
        url('../fonts/customfont/WorkSans-BoldItalic.woff') format('woff'),
        url('../fonts/customfont/WorkSans-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'WorkSans';
    src: url('../fonts/customfont/WorkSans-Bold.eot');
    src: url('../fonts/customfont/WorkSans-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/WorkSans-Bold.woff2') format('woff2'),
        url('../fonts/customfont/WorkSans-Bold.woff') format('woff'),
        url('../fonts/customfont/WorkSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'WorkSans';
    src: url('../fonts/customfont/WorkSans-Black.eot');
    src: url('../fonts/customfont/WorkSans-Black.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/WorkSans-Black.woff2') format('woff2'),
        url('../fonts/customfont/WorkSans-Black.woff') format('woff'),
        url('../fonts/customfont/WorkSans-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Optima';
    src: url('../fonts/customfont/Optima.eot');
    src: url('../fonts/customfont/Optima.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/Optima.woff2') format('woff2'),
        url('../fonts/customfont/Optima.woff') format('woff'),
        url('../fonts/customfont/Optima.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Optima';
    src: url('../fonts/customfont/Optima-Italic.eot');
    src: url('../fonts/customfont/Optima-Italic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/Optima-Italic.woff2') format('woff2'),
        url('../fonts/customfont/Optima-Italic.woff') format('woff'),
        url('../fonts/customfont/Optima-Italic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Optima';
    src: url('../fonts/customfont/Optima-Bold.eot');
    src: url('../fonts/customfont/Optima-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/Optima-Bold.woff2') format('woff2'),
        url('../fonts/customfont/Optima-Bold.woff') format('woff'),
        url('../fonts/customfont/Optima-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'WorkSans';
    src: url('../fonts/customfont/WorkSans-Italic.eot');
    src: url('../fonts/customfont/WorkSans-Italic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/WorkSans-Italic.woff2') format('woff2'),
        url('../fonts/customfont/WorkSans-Italic.woff') format('woff'),
        url('../fonts/customfont/WorkSans-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'WorkSans';
    src: url('../fonts/customfont/WorkSans-Medium.eot');
    src: url('../fonts/customfont/WorkSans-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/WorkSans-Medium.woff2') format('woff2'),
        url('../fonts/customfont/WorkSans-Medium.woff') format('woff'),
        url('../fonts/customfont/WorkSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'WorkSans';
    src: url('../fonts/customfont/WorkSans-LightItalic.eot');
    src: url('../fonts/customfont/WorkSans-LightItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/WorkSans-LightItalic.woff2') format('woff2'),
        url('../fonts/customfont/WorkSans-LightItalic.woff') format('woff'),
        url('../fonts/customfont/WorkSans-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'WorkSans';
    src: url('../fonts/customfont/WorkSans-Italic_1.eot');
    src: url('../fonts/customfont/WorkSans-Italic_1.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/WorkSans-Italic_1.woff2') format('woff2'),
        url('../fonts/customfont/WorkSans-Italic_1.woff') format('woff'),
        url('../fonts/customfont/WorkSans-Italic_1.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'WorkSans';
    src: url('../fonts/customfont/WorkSans-ExtraBoldItalic.eot');
    src: url('../fonts/customfont/WorkSans-ExtraBoldItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/WorkSans-ExtraBoldItalic.woff2') format('woff2'),
        url('../fonts/customfont/WorkSans-ExtraBoldItalic.woff') format('woff'),
        url('../fonts/customfont/WorkSans-ExtraBoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'WorkSans';
    src: url('../fonts/customfont/WorkSans-Regular.eot');
    src: url('../fonts/customfont/WorkSans-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/WorkSans-Regular.woff2') format('woff2'),
        url('../fonts/customfont/WorkSans-Regular.woff') format('woff'),
        url('../fonts/customfont/WorkSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'WorkSans';
    src: url('../fonts/customfont/WorkSans-Light.eot');
    src: url('../fonts/customfont/WorkSans-Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/WorkSans-Light.woff2') format('woff2'),
        url('../fonts/customfont/WorkSans-Light.woff') format('woff'),
        url('../fonts/customfont/WorkSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'WorkSans';
    src: url('../fonts/customfont/WorkSans-MediumItalic.eot');
    src: url('../fonts/customfont/WorkSans-MediumItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/WorkSans-MediumItalic.woff2') format('woff2'),
        url('../fonts/customfont/WorkSans-MediumItalic.woff') format('woff'),
        url('../fonts/customfont/WorkSans-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'WorkSans';
    src: url('../fonts/customfont/WorkSans-ExtraLight.eot');
    src: url('../fonts/customfont/WorkSans-ExtraLight.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/WorkSans-ExtraLight.woff2') format('woff2'),
        url('../fonts/customfont/WorkSans-ExtraLight.woff') format('woff'),
        url('../fonts/customfont/WorkSans-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'WorkSans';
    src: url('../fonts/customfont/WorkSans-ExtraBold.eot');
    src: url('../fonts/customfont/WorkSans-ExtraBold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/WorkSans-ExtraBold.woff2') format('woff2'),
        url('../fonts/customfont/WorkSans-ExtraBold.woff') format('woff'),
        url('../fonts/customfont/WorkSans-ExtraBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'WorkSans';
    src: url('../fonts/customfont/WorkSans-ExtraLightItalic.eot');
    src: url('../fonts/customfont/WorkSans-ExtraLightItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/WorkSans-ExtraLightItalic.woff2') format('woff2'),
        url('../fonts/customfont/WorkSans-ExtraLightItalic.woff') format('woff'),
        url('../fonts/customfont/WorkSans-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'WorkSans';
    src: url('../fonts/customfont/WorkSans-SemiBoldItalic.eot');
    src: url('../fonts/customfont/WorkSans-SemiBoldItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/WorkSans-SemiBoldItalic.woff2') format('woff2'),
        url('../fonts/customfont/WorkSans-SemiBoldItalic.woff') format('woff'),
        url('../fonts/customfont/WorkSans-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'WorkSans';
    src: url('../fonts/customfont/WorkSans-SemiBold.eot');
    src: url('../fonts/customfont/WorkSans-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/WorkSans-SemiBold.woff2') format('woff2'),
        url('../fonts/customfont/WorkSans-SemiBold.woff') format('woff'),
        url('../fonts/customfont/WorkSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'WorkSans';
    src: url('../fonts/customfont/WorkSans-ThinItalic.eot');
    src: url('../fonts/customfont/WorkSans-ThinItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/WorkSans-ThinItalic.woff2') format('woff2'),
        url('../fonts/customfont/WorkSans-ThinItalic.woff') format('woff'),
        url('../fonts/customfont/WorkSans-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'WorkSans';
    src: url('../fonts/customfont/WorkSans-Regular_1.eot');
    src: url('../fonts/customfont/WorkSans-Regular_1.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/WorkSans-Regular_1.woff2') format('woff2'),
        url('../fonts/customfont/WorkSans-Regular_1.woff') format('woff'),
        url('../fonts/customfont/WorkSans-Regular_1.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'WorkSans';
    src: url('../fonts/customfont/WorkSans-Thin.eot');
    src: url('../fonts/customfont/WorkSans-Thin.eot?#iefix') format('embedded-opentype'),
        url('../fonts/customfont/WorkSans-Thin.woff2') format('woff2'),
        url('../fonts/customfont/WorkSans-Thin.woff') format('woff'),
        url('../fonts/customfont/WorkSans-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}


/* TYPOGRAPHY */
*{
  font-family: "WorkSans", var(--bs-body-font-family);
  color:#3B3B3B;
  font-size:18px;
}

h1, h2, h3{
  font-family: 'EB Garamond', var(--bs-body-font-family);
  font-weight: bold;
}

a{
  color:#531819;
}

a:hover{
  color:#531819;
}


/* HEADER */
#sp-header{
  position: absolute;
  background:rgba(0,0,0,0.7);
  color: #fff;
  height: inherit;
  transition-property: all;
  transition-duration: 0.5s;
  transition-timing-function: ease-in-out;
  transition-delay: 0s;
}
#sp-header span,
#sp-header a{
  color: #fff;
  font-size: 25px;
}

#sp-header .burger-icon>span{
  background-color: #fff;
}

.logo-img{
  width:250px;
  padding: 10px 0;
}

body.show-search #sp-header .logo-img.logo-img-light{
  opacity:0;
  width:0;
  max-height:0;
  padding:0;
}

.logo-img.logo-img-dark{
  opacity:0;
  width:0;
  max-height:0;
  padding:0;
}

body.show-search #sp-header .logo-img.logo-img-dark{
  opacity:1;
  width:250px;
  max-height:200px;
  padding: 10px 0;
}

.headersearch-container{
  opacity: 0;
  max-height: 0;
  padding-right: 33px;
  padding-bottom: 0;
  overflow: hidden;
  transition-property: all;
  transition-duration: 0.5s;
  transition-timing-function: ease-in-out;
  transition-delay: 0s;
}

.maindescription a{
  font-size: 25px;
  font-style: italic;
}

.maindescription a:hover{
  text-decoration: underline;
}

body.show-search #sp-header{
  background-color: #E8EFFA;
  color: #3B3B3B;
}
body.show-search #sp-header span,
body.show-search #sp-header a{
  color: #3B3B3B;
  cursor: pointer;
}
body.show-search #sp-header .burger-icon>span{
  background-color: #3B3B3B;
}

#sp-header span.search-close{
  color: transparent;
  text-shadow: rgb(255, 255, 255) 0px 0px 0px;
  cursor: pointer;
}

body #sp-header span.search-close{
  display:none;
}
body.show-search #sp-header span.search-close{
  color: transparent;
  text-shadow: rgb(59, 59, 59) 0px 0px 0px;
  display:block;
}
body #sp-header span.fas.fa-search{
  cursor: pointer;
}
body.show-search #sp-header span.fas.fa-search{
  display: none;
}

body.show-search .headersearch-container{
  opacity: 1;
  max-height: 200px;
  padding-bottom: 20px;
  padding-top: 20px;
}

body #sp-header .headersearch-container .sp-module{
  margin:0;
}

/* SEARCH */
body #sp-header .headersearch-container .offlajn-ajax-search-container input{
  padding-right: 39px;
  font-size: 25px;
  line-height: 45px;
  background: #fff;
  color: #3b3b3b;
  height: 45px;
  width: 100%;
  font-weight: inherit;
}

/* Slider */
.uk-scope .uk-grid>*>:last-child{
  padding:0
}

/* mod newsModSlick*/
.newsModSlick{

}

.newsModSlick .itemimage{
  background-color: #f0f0f0;
  background-size: cover;
  background-position: center center;
}

.newsModSlick .itemimage img{
  width: 100%;
  height: 260px;
  opacity: 0;
}

.newsModSlick.newsSingle .itemimage{
    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
}

.newsModSlick.newsSingle .itemimage img{
  height: auto;
}

.newsTitle{
  margin:30px 0;
  background: #3b3b3b;
  padding:10px;
}

.newsModSlick.newsSingle .newsTitle{
  margin:0 0 30px 0;
  background: transparent;
  padding:0px;
}

.newsTitle h3{
  margin: 0;
}

.newsTitle h3 a span{
  font-family:"WorkSans", var(--bs-body-font-family);
  text-transform:uppercase;
  line-height:25px;
  font-size:25px;
  color:#fff;
}

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



.bgred{
  background:#531819;
}

.bgred .introtext,
.bgred a.readmore{
  color:#fff;
}

.bgred h2.sppb-addon-title,
.bgred h3.sp-module-title{
  font-family:"WorkSans", var(--bs-body-font-family);
  text-transform:uppercase;
  margin-bottom:30px;
  color:#fff;
}

.slick-dots li.slick-active button:before,
.slick-dots li button:before{
  color:#fff;
}

/* FOOTER */
#sp-bottom{
  background:#E8EFFA;
  font-size: 17px;
}

#sp-bottom h4{
 color:#531819;
}

#sp-footer{
  background: #531819;
  color:#fff;
}

#sp-footer span{
  color:#fff;
}

#sp-footer .container-inner {
    padding: 7px 0;
    border-top: 0px solid rgba(255, 255, 255, 0.1);
}

.cc-theme-edgeless.cc-window,
.cc-revoke.cc-right{
  background: #531819 !important;
}

.cc-theme-edgeless.cc-window .cc-message-text{
  color:#fff;
}

/* Accordition La fondeazione */
.foundationAccordition .sppb-panel.sppb-panel-modern{
  margin: 0;
  border: 0;
}

.foundationAccordition .sppb-panel-modern .sppb-panel-body{
  border: 0;
}

.foundationAccordition .sppb-panel.sppb-panel-modern .sppb-panel-heading .sppb-panel-title{
  font-size: 33px;
}

.foundationAccordition .sppb-panel.sppb-panel-modern:nth-child(odd)>.sppb-panel-heading{
  background: #531819;
  color: #fff;
  text-transform:uppercase;
}
.foundationAccordition .sppb-panel.sppb-panel-modern:nth-child(even)>.sppb-panel-heading{
  background: #FFF;
  color: #531819;
  text-transform:uppercase;
}

.foundationAccordition .sppb-panel.sppb-panel-modern:nth-child(odd)>.sppb-panel-heading .sppb-toggle-direction i::before{
  color: #fff;
}

.foundationAccordition .sppb-panel.sppb-panel-modern:nth-child(even)>.sppb-panel-heading .sppb-toggle-direction i::before{
  color: #531819;
}

#sppb-ac-heading-1669049530308-key-0 .sppb-panel-title::before{
    content: "";
    background: url(/images/logo/ico_documenti.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    float: left;
    margin-right: 15px;
    border-radius: 10px;
}

#sppb-ac-heading-1669049530308-key-1 .sppb-panel-title::before{
    content: "";
    background: url(/images/logo/ico_group.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    float: left;
    margin-right: 15px;
    border-radius: 10px;
}


#sppb-ac-heading-1669049530308-key-2 .sppb-panel-title::before{
    content: "";
    background: url(/images/logo/ico_palazzi.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    float: left;
    margin-right: 15px;
    border-radius: 10px;
}


#sppb-ac-heading-1669049530308-key-3 .sppb-panel-title::before{
    content: "";
    background: url(/images/logo/ico_fogli.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    float: left;
    margin-right: 15px;
    border-radius: 10px;
}

/* ARTICOLI NEWS */
.item-page .titleContainer{
  border-top: 2px solid #000;
  padding-top: 20px;
  padding-left: 80px;
  margin-top:50px;
}

.item-page .titleContainer h1{
  text-align: right;
  color: #531819;
  font-family: "WorkSans", var(--bs-body-font-family);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 2rem
}

.item-page .articleBody{
  padding:50px 100px;
  margin-top: 50px;
  background: #E8EFFA;
}

@media(max-width:900px){
  .item-page .articleBody {
    padding: 30px 20px;
    margin-top: 20px;
  }
  .item-page .titleContainer{
    width:100% !important;
    padding:0;
  }
  
  .item-page .imageContainer{
    
    width:100% !important;
  }
  
  iframe{
    max-width:100%;
  }
}

/* filigrana slider home */
.uk-panel.uk-overflow-hidden h4 {
    position: absolute;
    bottom: 50px;
    z-index: 999999999999;
    padding: 10px;
    background: #531819;
    color: #fff;
    font-size: 15px;
    max-width: 200px;
    font-style: italic;
    font-weight: bold;
}

/* blockquote */
blockquote{
  font-style:italic;
  display:flex;
}

blockquote::before{
  content:'«';
  
}

blockquote::after{
  content:'»';
}
