/*
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:#ED1823;
    --second-color:#0096D6;
}
/*** 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;
}

.d-block{
    display: block;
}
small{
    font-size: 80%;
}
/*** footer copyright ***/
#footer-outer{
    z-index: 9999;
}
#footer-outer #copyright[data-layout="centered"]{
    padding:10px 0;
}

/*** colors ***/

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

/*** custom buttons ***/

body.material .nectar-button.large{
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 8px;
    padding-bottom:8px;
}

/*** list style ***/
.nectar-fancy-ul ul li .icon-default-style[class^="icon-"]{
    display: none;
}
.nectar-fancy-ul li i:before{
    content:none;
}

.nectar-fancy-ul li:before{
    content:'';
    height: 10px;
    width: 10px;
    display: inline-block;
    transform: rotate(45deg);
    position: absolute;
    left: 0;
    top: 5px;
}
.nectar-fancy-ul[data-color="accent-color"] li:before{
    background-color: #ED1823;
}
.nectar-fancy-ul[data-color="extra-color-1"] li:before{
    background-color: #0096D6;
}
.nectar-fancy-ul ul li{
    padding-left:20px;
}

/*** list horizontal styles ***/
.nectar-hor-list-item{
    border-bottom: 0;
    display: flex;
    align-items: center;
}
.three-columns .nectar-hor-list-item>div:nth-child(1){
    width:8% !important;
}
.three-columns .nectar-hor-list-item>div:nth-child(2){
    width: 12% !important;
}
.three-columns .nectar-hor-list-item>div:nth-child(3){
    width:80% !important;
} 
.two-columns .nectar-hor-list-item>div:nth-child(1){
    width: 8% !important;
}
.two-columns .nectar-hor-list-item>div:nth-child(2){
    width: 92% !important;
}
.nectar-hor-list-item>div:nth-child(1){
    font-weight: 700;
    font-size: 1.7em;
    color:#FFF !important;
    position: relative;
    text-align: center !important;
}
.nectar-hor-list-item>div:nth-child(1):before{
    content:'';
    height: 70px;
    width: auto;
    display: inline-block;
    background-color: #ED1823;
    transform: rotate(45deg);
    position: absolute;
    left: 4px;
    top: -22px;
    z-index: -1;
    aspect-ratio: 1 / 1;
    border-radius: 5px;
}
.nectar-hor-list-item>div:nth-child(1):after{
    content: '';
    width: 1px;
    position: absolute;
    top: 100%;
    left: 38px;
    border-right: 1px dashed #ED1823;
    height: 80px;
}
.two-columns .nectar-hor-list-item>div:nth-child(1):before{
    left:0;
}
.two-columns .nectar-hor-list-item>div:nth-child(1):after{
    left: 33px;
}
.two-columns .nectar-hor-list-item:last-of-type>div[data-icon="false"]:after,
.three-columns .nectar-hor-list-item:last-of-type>div[data-icon="false"]:after{
    content:none !important
}
.nectar-hor-list-item>div:nth-child(2) h4{
    color:#ED1823;
    font-weight: 700;
}

@media screen and (max-width:1024px){
    .nectar-hor-list-item{
        flex-wrap: wrap;
    }
    .three-columns .nectar-hor-list-item>div:nth-child(1){
        width:20% !important;
    }
    .three-columns .nectar-hor-list-item>div:nth-child(2){
        width:20% !important;
        margin-left:15px;
    }
    .three-columns .nectar-hor-list-item>div:nth-child(3){
        margin-top:40px;
        width:100% !important;
    }
    .nectar-hor-list-item>div:nth-child(1):after{
        content: none !important
    }
    .two-columns .nectar-hor-list-item>div:nth-child(1){
        width:20% !important;

    }
    .two-columns .nectar-hor-list-item>div:nth-child(2){
        width:100% !important;
        margin-top:40px;
    }
    .nectar-hor-list-item .nectar-list-item[data-text-align=left]{
        padding-right:0;
    }
    .delos-works.two-columns .nectar-hor-list-item>div:nth-child(2){
        margin-top: 10px;
    }
    .delos-works.two-columns .nectar-hor-list-item>div:nth-child(1){
        margin-left:10px;
    }
}


/*** articles ***/
.wpb_row:not(.full-width-content) .vc_col-sm-12 .nectar-post-grid-filters[data-sortable=yes] div{
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.wpb_row:not(.full-width-content) .vc_col-sm-12 .nectar-post-grid-filters[data-sortable=yes] div a{
    flex-grow: 1;
    text-align: center;
    text-transform: uppercase;
    color: #ED1823;
    font-weight: 600;
    margin: 0;
}
.wpb_row .nectar-post-grid-filters[data-active-color="accent-color"] a.active{
    background-color:#ED1823;
    color: #FFF !important;
    font-weight: 600;
}
.wpb_row .nectar-post-grid-filters[data-active-color="accent-color"] a:hover{
    background-color: #ED1823;
    color: #FFF !important;
    font-weight: 600;
}
.wpb_row .nectar-post-grid-filters[data-active-color="accent-color"] a:after{
    background-color: transparent;
}
.nectar-post-grid-filters[data-align=left] a{
    padding:20px 40px;
    border: 1px solid #ED1823;
    border-radius: 5px;
}
.nectar-post-grid-wrap:not([data-style=content_overlaid]) .nectar-post-grid-item .inner{
    border: 1px solid #ED1823;
    border-radius: 5px;
    padding: 20px;
}
#ajax-content-wrap .nectar-post-grid .meta-category .style-button, body .nectar-post-grid .meta-category .style-button{
    color:#ED1823
}
.nectar-cta[data-style=curved-arrow-animation] .link_text,
.nectar-cta[data-style=curved-arrow-animation] .link_text *{
    color:#ED1823 !important
}

/*** text + icons ***/

.row .col.text-icons .iwithtext .iwt-icon img:not([srcset]){
    width: 65px;
}
.row .col.text-icons .iwithtext .iwt-text{
    padding-left:85px;
}

/*** nectar-hor-list blue ***/

.delos-works .nectar-hor-list-item>div:nth-child(1):before{
    background-color:#FFF;
}
.delos-works .nectar-hor-list-item>div:nth-child(2) h4{
    color:#FFF;
}
.delos-works .nectar-hor-list-item>div:nth-child(1){
    margin-right:20px;
}
.delos-works .nectar-hor-list-item .nectar-list-item[data-text-align=left]:first-of-type{
    padding-right:0;
}

.delos-works .nectar-hor-list-item>div:nth-child(1):before{
    top:10px;
    left:0;
}
.delos-works .nectar-hor-list-item>div:nth-child(1):after{
    border-color: #FFF !important;
}
.delos-works .nectar-hor-list-item:last-of-type>div[data-icon="true"]:after{
    content:none;
}

/*** contacts icons ***/
.contact-icons .iwithtext{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.contact-icons .iwithtext .iwt-icon{
    position: relative;
}
.contact-icons .iwithtext .iwt-icon img{
    margin-bottom: 0;
    max-width:20px;
}
.contact-icons .iwithtext .iwt-text{
    padding-left: 10px;
}
.contact-icons a.nectar-button{
    text-align: center;
}
.contact-icons .iwithtext .iwt-text{
    font-size:85%;
}
/*** header ***/

#page-header-bg{
    z-index: 100;
}
/*** second header ***/

#header-secondary-outer .sf-menu a{
    text-transform: uppercase;
}

/*** header ***/

.sf-menu>li ul{
    width:25em;
}
.sf-menu li .sfHover .on-left-side, .sf-menu li li .on-left-side{
    right:25em !important;
}
#header-secondary-outer, #header-outer #header-secondary-outer, body #header-outer #mobile-menu .secondary-header-text{
    background-color: rgba(0,0,0,.43);
}
/*** archive ***/

.archive.category .row .col.section-title span{
    display: none;
}
.archive.category .row .col.section-title h1{
    color:#000;
}
#sidebar .widget.widget_categories li{
    text-transform: uppercase;
}
a[href*="category/uncategorized"],
a[href*="category/senza-categoria"] {
    display: none !important;
}
#sidebar .widget.widget_categories li.current-cat a{
}
/*** slider ***/

.delos-bullets-see_through .swiper-pagination-bullet{
    border-radius:2px;
    transform: rotate(45deg);
    width: 20px;
    height: 20px;
    border-width: 2px;
    margin: 0 8px !important;
}

/*** footer ***/

#footer-outer div.container{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
#footer-outer div.container img{
    margin-bottom: 0;
}

/*** blog archive ***/

.post-area.auto_meta_overlaid_spaced .masonry-blog-item:nth-child(8n+1) .post-header, .post-area.auto_meta_overlaid_spaced .masonry-blog-item:nth-child(8n+6) .post-header, .post-area.auto_meta_overlaid_spaced .masonry-blog-item:nth-child(8n+7) .post-header, .post-area.auto_meta_overlaid_spaced .masonry-blog-item:nth-child(8n+8) .post-header{
    max-width: 100%;
}

/*** form blue ***/

.form-footer .acceptance span{
    color:#FFF;
}

.pagina-contatti .form-footer .acceptance span{
    color:#000;
}
.material .pagina-contatti .button input[type="submit"]:hover{
    background-color: #ED1823 !important;
}

/*** case ***/

.nectar-post-grid-filters{
    display: none !important;
}

/*** display none pathologies ***/

.auto_meta_overlaid_spaced .masonry-blog-item .meta-category a.pathologies,
.auto_meta_overlaid_spaced .masonry-blog-item .meta-category a.patologie{
    display: none !important;
}

#sidebar .widget.widget_categories li.cat-item-9,
.category-9 #sidebar .widget.widget_categories li.cat-item-10,
.category-9 #sidebar .widget.widget_categories li.cat-item-8,
.category-10 #sidebar .widget.widget_categories li.cat-item-8,
#sidebar .widget.widget_categories li.cat-item-27,
.category-29 #sidebar .widget.widget_categories li.cat-item-28{
    display: none !important;
}

.category-9 #sidebar .widget.widget_categories li.cat-item-9{
    display: block !important;
}

.post-cat-scientific-articles-and-publications a.scientific-articles-and-publications,
.post-cat-articoli-e-pubblicazioni-scientifiche a.articoli-e-pubblicazioni-scientifiche
{
    display: none !important;
}
h1.entry-title{
    display: none !important;
}