/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/
@import "fonts/fonts.css";
@import "includes/css/forms.css";
:root{
    --theme-color:#A1C613;

}

.nd-theme-color{
    color:#FFCD00;
}
/*** generic helpfull ***/

.multiply{
    mix-blend-mode: multiply !important;
}
.rotate-38{
    transform: rotate(38deg) !important;
}
.opacity-05{
    opacity: .05 !important;
}
.opacity-25{
    opacity: .25 !important;
}
.fw-3{
    font-weight: 300 !important;
}
.fw-4{
    font-weight: 400 !important;
}
.uppercase{
    text-transform: uppercase;
}
@media screen and (max-width:1024px){
    .wpb_column.force-phone-text-align-left .vc_custom_heading{
        text-align: left !important;
    }
}
/*** footer copyright ***/

#footer-outer #copyright[data-layout="centered"]{
    padding:10px 0;
}

/*** colors ***/

.theme-color{
    color:var(--theme-color);
}
.black-color{
    color:#000;
}
.white-color{
    color:#FFF;
}

/*** sgvs ***/
.mark-title{
    z-index: 0;
    position: relative;
    display: inline-block;
}
.mark-title:before{
    content:'';
    position: absolute;
    background-image: url("/wp-content/uploads/2025/05/sgvs-mark.png");
    background-size: contain;
    background-repeat: no-repeat;
    top: -30px;
    left:-30px;
    height:80px;
    width: 80px;
    z-index: -1;
}
.mark-title.sicurezza:before{
    background-image: none;
    background-color:rgba(215,0,17,.1);
    top: calc(50% - 40px);
}
.mark-title.formazione:before{
    background-image: none;
    width: 184px;
    background-color:rgba(78,168,40,.1);
    top: calc(50% - 40px);
    left: -110px;
}
.mark-title.ingegneria:before{
    background-image: none;
    background-color:rgba(0,128,202,.1);
    top: calc(50% - 40px);
    border-radius: 50%;
}
.mark-title.cantieri:before{
    background-image: none;
    top: calc(50% - 40px);
    width: 80px;
    height: 60px;
    background-color: rgba(255, 193, 0, 0.1);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

@media screen and (max-width: 1024px){
    .mark-title:before{
        left:-15px;
        height:60px;
        width: 60px;
        top: -10px;
    }
    .mark-title.ingegneria:before,
    .mark-title.cantieri:before{
        top: calc(50% - 30px);
    }
}

/*** button bg ***/

body.material .nectar-button.regular.m-extra-color-gradient-1{
    background: #00405c;
    background: linear-gradient(0deg, #00405c, #006793);
}

/*** category tabs ***/
.category-tabs{
    display: flex;
    column-gap: 10px;
    align-items: center;
    justify-content: center;
}
.category-tabs .tab-content a{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index:1000;
}
.category-tabs .tab-content{
    position: relative;
    border-radius:20px;
    padding:25px 20px;
    border:1px solid red;
    width:20%;
    background-color:rgba(215,0,17,.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-tabs .tab-content h5{
    margin-bottom: 0;
    display: inline-block;
    position: relative;
}
.category-tabs .tab-content.tab-01{
    border:1px solid #D70011;
    background-color:rgba(215,0,17,.1)
}
.category-tabs .tab-content.tab-02{
    border:1px solid #509A18;
    background-color:rgba(80,154,24,.1)
}
.category-tabs .tab-content.tab-03{
    border:1px solid #007ECA;
    background-color:rgba(0,126,202,.1)
}
.category-tabs .tab-content.tab-04{
    border:1px solid #FFC101;
    background-color:rgba(255,193,1,.1)
}
.category-tabs .tab-content .tab-symbol{
    display: inline-block;
    margin-right: 10px;
}
.category-tabs .tab-content.tab-01 .tab-symbol{
    background-color:#D70011;
    width:34px;
    height:34px;
}
.category-tabs .tab-content.tab-02 .tab-symbol{
    background-color:#509A18;
    width:86px;
    height:36px;
}
.category-tabs .tab-content.tab-03 .tab-symbol{
    background-color:#007ECA;
    border-radius: 50%;
    width:36px;
    height:36px;
}
.category-tabs .tab-content.tab-04 .tab-symbol {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 36px solid #FFC101; /* Colore del triangolo */
}
.category-tabs.columns{
    flex-wrap: wrap;
    row-gap: 30px;
    column-gap: 30px;
}
.category-tabs.columns .tab-content{
    width: calc(50% - 30px);
}
@media screen and (max-width: 1024px){
    .category-tabs{
        flex-wrap: wrap;
        row-gap: 10px;
    }
    .category-tabs .tab-content{
        width:calc(50% - 10px);
        flex-wrap: wrap;
    }
    .category-tabs .tab-content .tab-symbol{
        display: block;
        margin: 20px 30px;
    }
    .category-tabs .tab-content h5{
        text-align: center;
    }
}
/*** text + icon ***/

body .iwithtext h4{
    margin-bottom: 0;
}

/*** fancy box ***/

.nectar-fancy-box[data-style=hover_desc] .box-bg:before{
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #005271 100%);
}
.nectar-fancy-box[data-style=hover_desc] .heading-wrap h4{
    font-size:18px;
}

.pillars .nectar-fancy-box[data-style=hover_desc]{
    padding-bottom: 50px;
}
.intervento .nectar-fancy-box[data-style=hover_desc] .hover-content{
    max-width:100% !important;
    font-size: 90%;
}

/*** catalogo corsi ***/

.catalogo-corsi .nectar-fancy-ul ul,
.catalogo-corsi .nectar-fancy-ul ul li:last-of-type{
    margin-bottom: 0;
}

/*** nectar slider ***/

.swiper-container .slider-prev, .swiper-container .slider-next{
    background-color:transparent;
}
.swiper-container .slider-prev:hover, .swiper-container .slider-next:hover{
    background-color:rgba(0,82,113,.5)
}
@media screen and (max-width: 1024px){
    .swiper-slide[data-bg-alignment="center"] .image-bg{
        background-position: right center !important;
    }
}

/*** scroll down ***/
.nectar-next-section-wrap a{
    opacity: 1 !important;
    border: none !important;
}
.nectar-next-section-wrap a i{
    display: none !important;
}
.nectar-next-section-wrap a:before{
    background-image: url("/wp-content/uploads/2025/05/icon-scroll-down.png");
    content:'';
    position: absolute;
    top: 0;
    left: calc(50% - 105px);
    height:88px;
    width:210px;
    transition: top .2s ease-in-out;
    background-size: contain;
    background-repeat: no-repeat;
}
.nectar-next-section-wrap a:hover:before{
    top:10px;
    transition: top .2s ease-in-out;
}

@media screen and (max-width: 1024px){
    .nectar-next-section-wrap a:before{
        width: 50px;
        left:calc(50% - 25px);
    }
}

/*** footer ***/
.footer ul{
    margin-left: 0;
}
.footer ul li{
    list-style: none;
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.footer ul li:before,
.nectar-fancy-ul[data-list-icon=dot] ul li:before{
    content:'';
    position: absolute;
    background-image: url("/wp-content/uploads/2025/05/sgvs-mark.png");
    top:calc(50% - 8px);
    left:0;
    height:18px;
    width: 18px;
    background-size: contain;
    background-repeat:no-repeat;
}
.footer ul li a{
}
.footer ul li a:hover,
.footer .iwithtext  .iwt-text a:hover{
    color:#FFF !important;
    opacity: .8;
    transition: opacity .3s ease-in-out;
}
.footer .nectar-fancy-ul[data-list-icon=dot],
.footer .nectar-fancy-ul[data-list-icon=dot] ul,
.footer .nectar-fancy-ul[data-list-icon=dot] ul li{
    margin-bottom: 0;
}
.footer .nectar-fancy-ul[data-list-icon=dot] ul{
    margin-bottom: 20px;
}
.footer .iwithtext{
    margin-left:20px;
}
.footer .iwithtext .iwt-icon i{
    font-size:1.2em;
    height: auto;
    width: auto;
    line-height: 1;
}
.footer .iwithtext  .iwt-text{
    padding-left: 30px;
}
.footer p{
    margin-left:20px;
}
.footer .iwithtext  .iwt-text a{
    color:#FFF;
}
@media screen and (max-width:1024px){
    .footer ul{
        margin-bottom: 0;
    }
}
/*** header ***/

body.material #header-outer[data-header-resize="1"]:not([data-format=left-header]):not(.scrolled-down):not(.small-nav){
    background: linear-gradient(180deg,rgba(0, 82, 113, 1) 0%, rgba(0, 82, 113, 0) 100%);
}

/*** menu ***/

.sf-menu>li:first-of-type ul{
    width:24em;
}
.sf-menu>li:nth-of-type(2) ul{
    width:26em;
}
.sf-menu>li:nth-of-type(3) ul{
    width:27em;
}
.sf-menu>li:nth-of-type(4) ul{
    width:30em;
}
.sf-menu>li:nth-of-type(5) ul{
    width:22em;
}

/*** rischio ***/

.rischio .nectar-scrolling-tabs .scrolling-tab-nav .menu-item .menu-content a{
    text-transform: uppercase;
    line-height: 1.3em;
    position: relative;
}
.rischio .nectar-scrolling-tabs .scrolling-tab-nav .menu-item .menu-content a span{
    padding-left: 30px;
    display: block;
}
.rischio .nectar-scrolling-tabs .scrolling-tab-nav .menu-item.active .menu-content a{
    font-weight: 700;
}
.rischio .nectar-scrolling-tabs .scrolling-tab-nav .menu-item .menu-content a:before{
    content:'';
    position: absolute;
    height:16px;
    width: 16px;
    top:calc(50% - 8px);
    left:0;
    background-color:#005271;
    border-radius:50%;
}

/*** sgvs logo ***/

.sgvs-logo .row-bg-wrap .inner-wrap .row-bg:before,
.sgvs-logo .row-bg-wrap .inner-wrap .row-bg:after{
    content:'';
    position: absolute;
    top: calc(100vw * 0.05);
    height:100px;
    width:300px;
    background-size: contain;
    background-repeat:no-repeat;
}
.sgvs-logo.sgvs-logo-right .row-bg-wrap .inner-wrap .row-bg:before{
    background-image: url("/wp-content/uploads/2025/05/sgvs-logo-right.png");
    right: 0;
}
.sgvs-logo.sgvs-logo-left .row-bg-wrap .inner-wrap .row-bg:after{
    background-image: url("/wp-content/uploads/2025/05/sgvs-logo-left.png");
    left:0;
}
.sgvs-logo.sgvs-logo-full .row-bg-wrap .inner-wrap .row-bg:after{
    background-image: url("/wp-content/uploads/2025/05/sgvs-logo-full.png");
    width: 400px;
    right: 0;
    top: 0;
}

@media screen and (max-width: 1024px){
    .sgvs-logo .row-bg-wrap .inner-wrap .row-bg:before,
    .sgvs-logo .row-bg-wrap .inner-wrap .row-bg:after{
        content:none;
    }
}

/*** tabs ***/

@media screen and (max-width: 1024px){
    .nectar-scrolling-tabs[data-tab-spacing="5%"] .scrolling-tab-content > div{
        margin-bottom: 40px !important;
    }
    .nectar-scrolling-tabs[data-tab-spacing="5%"] .scrolling-tab-content > div .nectar-button{
        margin-top: 10px !important;
    }
}

/*** column margins ***/

.vc_row-fluid[data-column-margin="100px"] .wpb_column:not([class*="vc_col-xs-"]):not(.child_column):not(:last-child){
    margin-bottom: 30px;
}

/*** header padding ***/

@media screen and (max-width: 1024px){
    #page-header-bg[data-alignment-v="top"] .span_6 .inner-wrap{
        padding-top:80px;
    }
}

/*** nectar slider ***/

/*** second header ***/

body.material #header-secondary-outer #social li a:focus i{
    color:#FFF !important;
}

/*** counter custom ***/

.counter-custom .iwithtext{
    display: flex;
    align-items: center;
}
.counter-custom .iwithtext .iwt-icon{
    position: relative;
}
.counter-custom .iwithtext .iwt-icon img{
    width:60px !important;
}
.counter-custom .iwithtext .iwt-text{
    padding-left: 40px;
}
.counter-custom .iwithtext .iwt-text strong{
    font-weight: 900;
}