@import url(https://fonts.googleapis.com/css?family=EB+Garamond:400,200,300,500,600,700,800);
@import url(https://fonts.googleapis.com/css?family=Inter:400,200,300,500,600,700,800);
@import url(https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Space+Grotesk:wght@300..700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Arapey:ital@0;1&family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Space+Grotesk:wght@300..700&display=swap);

@font-face {
    font-family: Georgia;
    src: url("../fonts/georgia.ttf") ;
}


:root{
    --primary-color: #7a1e26;
}

*{
    --title-font: "Georgia";
    --title-font-color: #404040;

    /*FONT TESTI*/
    --bg-dark-1: #000;
    --body-font: "Hanken Grotesk";
    --body-font-size: 16px;
}

h1, h2, h3, h4, h5, h6{
    letter-spacing: 0
}

h3{
    font-weight: 400;
}

section{
    background: #f5f5f5;
}

input[type='checkbox']:hover{
    cursor: pointer;
}

input[type='checkbox']{
    accent-color: var(--primary-color);
}

#mainmenu,
a.btn-custom, .btn-custom, a.btn-slider, .btn-slider{
    font-family: var(--body-font);
}
#mainmenu .current:after{
    color: var(--primary-color) !important;
}

header.header-light #mainmenu>li.menu-item-has-children>a:after {
    color: rgba(0, 0, 0, .6);
}

#review-home .de_testi.opt-2 blockquote{
    background: rgba(255, 255, 255, 1) !important;
    /*color: white;*/
    min-height: 360px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#review-home .de_testi.opt-2 blockquote .wm{
    position: absolute;
    font-size: 240px;
    background: none;
    width: fit-content;
    height: auto;
    color: rgba(0, 0, 0, .2);
    right: 0;
    left: unset;
    top: 30%;
}

#review-home .de_testi.opt-2 blockquote .de_testi_by span{
    font-weight: 600;
}

#mainmenu > li > a.current{
    color: var(--primary-color) !important;
}

.btn-gray{
    background-color: #404040 !important;
}

.hero-mobile{
    background-color: #7a1e26bf !important;
}

.de-img-deco-1 img{
    z-index: 3;
}

.hero-mobile-container {
    position: relative;
    z-index: 2;
}
.hero-mobile.left,
.hero-mobile.right{
    position: absolute;
    width: 80px;
    height: 80px;
}
.hero-mobile.left{
    bottom: -40px;
    left: -40px;
}
.hero-mobile.right{
    top: -40px;
    right: -40px;
    left: unset;
}

#hero-home-mobile{
    overflow-x: clip !important;
}

@media screen and (min-width: 992px){
    #mainmenu > li > a.current{
        border-top: 2px solid var(--primary-color) !important;
        padding-top: 28px;
    }
}

@media screen and (max-width: 768px) {
    #hero-home{
        width: 100%;
    }

    #section-hero{
        background-color: var(--primary-color);
        background-image: unset !important; ;
    }

}

.eps_privacy_label > input[type=checkbox] {
    margin-right: 5px
}

.h1{
    border-bottom: 3px solid var(--primary-color);
}

#sezione-link a {
    color: #fff;
    z-index: 10;
    position: relative;
}

#breadcrumbs{
    list-style: none;
}

#breadcrumbs > li{
    display: inline-block;
}

#breadcrumbs span,
#breadcrumbs a{
    padding: 0 5px;
    font-weight: 600;
}

.form-underline input[type=text]:focus, .form-underline textarea:focus, .form-underline input[type=email]:focus, .form-underline select:focus{
    background-color: transparent;
}

.element-img{
    position: absolute;
    right: -100px;
    bottom: 20px;
    filter: opacity(15%);
}

#aree-carousel h3{
    display: flex;
    align-items: center;
    padding-left: 0;
    margin-top: -8px;
}

#aree-carousel h3 i{
    position: unset;
    margin-top: 0;
}


#aree-full-carousel .feature-box{
    min-height: 353px;
}

#aree-carousel .feature-box{
    min-height: 380px;
}


#aree-carousel .btn{
    position: absolute;
    bottom: 30px;
    left: 50px;
    right: 50px;
    margin-inline: auto;
}

.feature-box-list{
    text-align: left;
    list-style-type: circle;
}

.feature-box.f-boxed{
    /*background-color: #f5f5f5;*/
    background-color: #ffffff;
}

header.header-mobile.header-light #menu-btn{
    background-color: var(--primary-color);
    color: #fff;
}

.mask:hover .cover{
    background-color: rgb(255,255,255,0.8);
}
.mask:hover .cover h3,
.mask:hover .cover p{
    color: #000;
}

.bloglist .post-text{
    /*background-color: #f8f8f8;*/
    background-color: #ffffff;
}
.post-text a{
    overflow-wrap: break-word !important;
    text-wrap: wrap;
}

/*#contact_form textarea {*/
/*    height: 100px;*/
/*}*/
@media only screen and (max-width: 992px) {
    #subheader span {
        display: inline;
    }

    footer address{
        margin: 0 !important;
    }
}

@media screen and (max-width: 578px){
    #aree-carousel .feature-box{
        min-height: 410px;
    }

    .widget {
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

@media screen and (max-width: 768px ){
    .no-bottom-mobile{
        padding-bottom: 0px !important;
    }
    #subheader h1{
        font-size: 40px;
    }
}

#hero-home{
    right: 35px;
    position: relative;
    background-color: var(--primary-color);
    padding: 20px 50px;
    border-radius: 5px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#hero-home-row{
    height: 85vh;
}

.btn-custom{
    text-wrap: nowrap;
}

@media screen and (max-width: 768px) {
    #hero-home{
        width: 100%;
    }

    #section-hero{
        background-color: var(--primary-color);
        background-image: unset !important; ;
    }
}

#footer-address span{
    display: inline-block;
}

.read_more{
    color: var(--primary-color);
}

/*
* START:  CTA VERTICALE
*/
.cta-vertical {
    background-color: var(--primary-color); /* Bordeaux del sito */
    color: #fff;
    padding: 40px 30px;
    text-align: left;
    border-left: 6px solid #111111;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 320px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.cta-vertical .btn-custom{
    width: fit-content !important;
}
/*
* END:  CTA VERTICALE
*/

/*
* START:  ICONE in Aree di competenza - Landing
*/

.practice-card{
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 14px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    will-change: transform;
}
.practice-container{
    display:flex;
    gap:14px;
    align-items:flex-start;
    padding:16px;
    text-decoration:none;
}
.practice-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    border-color: rgba(0,0,0,.08);
}

.practice-icon{
    width:64px;
    height:64px;
    flex:0 0 64px;
    border-radius:12px;
    background: var(--primary-color);
    display:grid; place-items:center;
    box-shadow: 0 4px 10px rgba(122,26,26,.18), inset 0 1px 0 rgba(255,255,255,.25);
}

.practice-icon i{
    font-size: 28px;
    color: #fff;
}
.practice-name{
    margin:0 0 .35rem;
}

.practice-excerpt{
    margin:0;
    line-height: 1.2;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}

/* focus accessibile */
.practice-container:focus{
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
    border-radius: 14px;
}
/*
* END:  ICONE in Aree di competenza - Landing
*/


/*
* START:  ICONE in Aree di competenza
*/
.svg-icon-box svg {
    fill: #f8f9fa;
    height: 40px;
    z-index: 1;

}

.svg-icon-box {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 22px;
    width: 80px;
    height: 80px;
    border-radius: 3px;
    margin-right: 30px;
    background-color: var(--primary-color);
}

.fb-text {
    width: calc(100% - 80px - 30px);
}

.fb-text p {
    line-height: 1.2;
}

/*
* END:  ICONE in Aree di competenza
*/

/*
* START:  NEWS SIDE in Curriculum
*/
.news-sidebar-title{
    padding-bottom:.5rem;
    border-bottom:1px solid #e9e9e9;
}

.news-item{
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 14px;
    padding: 14px 0;
    border-bottom:1px solid #e9e9e9;
}

.news-item:last-child{
    border-bottom:none;
}

.news-item-media{
    display:block;
    width:110px; height:86px;
    border-radius:10px;
    overflow:hidden;
    background:#f4f4f4;
    position:relative;
    box-shadow: 0 1px 0 rgba(0,0,0,.04) inset;
}
.news-item-media img{
    width:100%; height:100%;
    object-fit:cover;
}

.news-item-meta{
    font-size:.82rem;
    display:flex; align-items:center; gap:.4rem;
    margin-bottom:.25rem;
}

.news-item-dot{ opacity:.5; }

.news-item-link{
    font-size: 14px;
}

.news-item-title{
    font-size: 16px;
    margin:0 0 .35rem;
}

.news-sidebar-more{
    display:inline-block;
    margin-top:12px;
    text-decoration:none;
    border-bottom:1px solid var(--primary-color);
}

@media screen and (max-width: 1200px) and (min-width: 992px){
    .news-item{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px){
    .news-item{
        grid-template-columns: 92px 1fr;
    }
    .news-item-media{
        width:92px; height:78px;
    }
}
/*
* END: NEWS SIDE in Curriculum
*/


/*
* START: GALLERY item
*/
.gallery-item {
    border-radius: 6px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(25%) contrast(1.05);
    transition: filter 0.3s ease;
}

.gallery-item:hover img {
    filter: grayscale(0%);
}

/*
* END : GALLERY item
*/

.feature-box .text{
    font-size: 16px;
}
.feature-box:hover .btn-custom{
    background-color: #fff !important;
    color: var(--primary-color);
}

    /*
    * START: CLASSI GRID
    */
.grid_3{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 30px;
}
.grid_2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 30px;
    row-gap: 30px;
}

.grid_2 .bg-img{
    background-position: 50%;
    background-attachment: unset;
    background-repeat: no-repeat;
    background-size: contain;
}
.grid_3 .feature-box{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media screen and (max-width: 992px){
    .grid_3{
        grid-template-columns: 1fr 1fr;
    }
}
@media screen and (max-width: 768px){
    .grid_3,
    .grid_2{
        grid-template-columns: 1fr;
        /*display: flex;*/
        /*flex-direction: column;*/
    }

    .grid_2 .bg-img {
        display: none;
        /*min-height: 180px;*/
    }
}

/*
* END:  CLASSI GRID
*/

.form-border input[type=text]:focus, .form-border textarea:focus, .form-underline input[type=email]:focus, .form-border select:focus{
    color: var(--title-font-color);
}