/*!/wp-content/themes/tirelli/style.css*//*
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
*/

/*
:root {
    --nectar-accent-color: #00A57B;     //verde
    --nectar-extra-color-1: #043f63;    //blu
    --nectar-extra-color-2: #12273e;    //blu scuro
    --nectar-extra-color-3: #ffffff;    //bianco
}
*/

/* anek-latin-regular - latin */
@font-face{font-display:swap;font-family:'Anek Latin';font-style:normal;font-weight:400;src:url(/wp-content/themes/tirelli/assets/fonts/anek-latin-v5-latin-regular.woff2) format('woff2');}
/* anek-latin-700 - latin */
@font-face{font-display:swap;font-family:'Anek Latin';font-style:normal;font-weight:700;src:url(/wp-content/themes/tirelli/assets/fonts/anek-latin-v5-latin-700.woff2) format('woff2');}


/* --------------------------------- GENERICO --------------------------------- */

/* bordi arrotondati */
.wpb_column[data-border-radius="5px"] > .vc_column-inner {
    border-radius:7px !important;
}
.material .wpb_content_element {
    margin-bottom: 10px !important;
}

/* breadcrumbs padding top */
.main-content > .row > #breadcrumbs.yoast {
    padding: 23px 0 40px !important;
}

/* selezione testo*/
::selection {
    background: #00a57b47;
}

/* -------------------------------- TIPOGRAFIA -------------------------------- */
/* H1 home */
h1 {
    font-size: 48px !important;
    line-height: 1 !important;
}
@media (max-width: 690px) {
    .home h1 {
        font-size: 36px !important;
        line-height: 1.1;
    }
    h1 {
        font-size: 24px !important;
    }
}

/* testo blu */
.testo-blu h3, .testo-blu, .testo-blu h2 {
    color: var(--nectar-extra-color-1) !Important;
}
.titoletto-verde {
    color: var(--nectar-accent-color);
    font-weight: 700;
    text-transform: uppercase;
    padding-bottom: 15px;
}
p {
    padding-bottom: 15px;
}
body {
    color: #000;
}
.testo-nero p {
    color: var(--nectar-extra-color-2) !important;
}
/* --------------------------------- HEADER --------------------------------- */

#header-outer.transparent header#top {
    border-bottom: 1px solid #ffffff42;
}

#header-secondary-outer, 
#header-outer #header-secondary-outer {
    background-color: #00a57bb5 !important;
}


/* top bar */
body #header-secondary-outer .nectar-center-text {
    font-size: 12px;
    font-weight: 400;
    max-width: 100%;
    padding: 0;
    letter-spacing: 0.5px;
    text-align: left;
}
#header-secondary-outer i.icon-default-style.fa.fa-map-marker,
#header-secondary-outer i.icon-default-style.fa.fa-phone,
#header-secondary-outer i.icon-default-style.fa.fa-envelope {
    color: #fff;
    font-size: 16px;
}

.top-bar {
    display: flex;
    align-items: center;
}

.top-bar .allineamento-dx {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
}

@media (max-width: 690px) {
    .top-bar .allineamento-dx {
        align-items: flex-start;
        margin-left: 0;
        margin-top: 15px;
        flex-direction: column;
    }
    .allineamento-dx b:first-child {
        margin-left: 10px;
    }
    li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-3447 a {
        background-color: var(--nectar-accent-color);
        border-radius: 50px;
        padding: 5px 35px;
        margin-top: 20px;
    }
}


.top-bar .allineamento-sx {
    display: flex;
    align-items: center;
}


/* cta in evidenza */

#header-outer .menu-item-3447 > a:before {
    border-radius: 50px;
}
#header-outer .menu-item-3447 > a {
    margin-left: 25px !important;
    margin-right: 10px !important;
}
#header-outer .menu-item-3447 span.menu-title-text {
    padding: 0 20px;
}
@media only screen and (min-width: 1000px) {
    body #header-outer .menu-item-3447 > a:before {
        left: -24px;
        height: calc(100% + 18px);
        width: calc(100% + 48px);
    }

}

div#header-outer.detached.scrolling .menu-item-3447 > a:before {
    background: var(--nectar-extra-color-1) !important;
}
#header-outer[data-header-button_style=default] #top nav>ul>li[class*=button_solid_color]>a:hover:before,
#header-outer[data-header-button_style=default].transparent #top nav>ul>li[class*=button_solid_color]>a:hover:before {
    background-color: #fff !important;
    opacity: 1 !important;
}

#header-outer[data-header-button_style=default] #top nav>ul>li[class*=button_solid_color]>a:hover .menu-title-text {
  color: var(--nectar-extra-color-1) !important;
}


/* cta social */
li#menu-item-2881 a {
    padding: 0 !important;
}
#header-outer #top nav > ul > li > a > i {
    color: #fff !important;
}

/* mobile */
#slide-out-widget-area .secondary-header-text {
    background-color: var(--nectar-accent-color) !important;
}
body #slide-out-widget-area [class^="icon-"].icon-default-style {
    color: #fff;
    font-size: 16px;
}
#slide-out-widget-area p,
#slide-out-widget-area a {
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
}

@media (max-width: 690px) {
    .top-bar {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ---------------------------------- HERO ---------------------------------- */

@media (max-width: 690px) {
    body:not(.single-post) #page-header-bg[data-alignment-v=top][data-padding-amt=low]:not(.fullscreen-header) {
        padding-top: 13%;
    }
}



/* --------------------------------- FOOTER --------------------------------- */
.colonna-widget p {
    padding: 10px 0 10px !important;
}
.colonna-widget big {
    font-weight: 700;
}
.colonna-widget a:not(.link_text) {
    text-decoration: underline;
    font-weight: 700;
    text-decoration-thickness: 0.5px;
}

.colonna-widget .link_wrap:hover {
    background-color: #fff !important;
}

.colonna-widget .link_wrap:hover .text {
  color: var(--nectar-accent-color); 
}





#footer-outer a:not(.nectar-button) {
    color: #ffffff!important;
}
.colonna-widget .iwithtext .iwt-text {
    padding-left: 40px;
}
.colonna-widget i {
    color: #fff !important;
}
#footer-outer[data-custom-color=true] #footer-widgets a:not(.nectar-button):hover {
    opacity: 1;
}

#footer-outer #copyright[data-layout="centered"] {
    padding: 15px 0 !important;
}
#footer-outer .row {
    padding: 35px 0 !important;
}
@media (max-width: 690px) {
    #footer-outer .row {
        padding: 35px 0 0 !important;
    }
}
@media (max-width: 690px) {
    #footer-outer div#custom_html-2 {
        margin-bottom: 5px !important;
    }
}

/* copyright */
.post-footer {
    display: flex;
    align-items: center;
}


@media (max-width: 1136px) {
    .post-footer {
        display: block;
    }
    #footer-outer .allineamento-sx {
        text-align: center !important;
        margin-bottom: 15px;
    }
}

#footer-outer #copyright[data-layout="centered"] .col.span_5 {
    max-width: 100%;
    margin: 0 !important;
}
.allineamento-dx {
    margin-left: auto;
}
#footer-outer .nectar-cta.border_radius_50px .link_wrap {
    border-radius: 50px!important;
}

#footer-outer .allineamento-sx {
    text-align: left;
}
#footer-outer .allineamento-sx a {
    text-decoration: underline;
    text-decoration-thickness: 0.5px;
}
/* ------------------------------- PAGE HERO -------------------------------- */
div#nectar-page-header-p-wrap {
    -webkit-mask-image: linear-gradient(#ffffff2e, #ffffff36);
    filter: blur(6px);
}


/* -------------------------------- HOMEPAGE -------------------------------- */

/* sezione hero */
#hero-homepage-showroom-blindate {
    aspect-ratio: 16 / 5 !important;
}

#hero-homepage .iwithtext .iwt-text {
    padding-left: 0;
}
#hero-homepage .iwithtext .iwt-icon {
    position: relative;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
}
#hero-homepage big {
    font-weight: 700;
    font-size: 20px;
}
#hero-homepage .iwt-text p {
    opacity: 0.75;
    padding-top: 10px;
}
#hero-homepage .iwt-text a {
    color: #fff;
    text-decoration: underline;
}
#hero-homepage .iwithtext .iwt-icon img:not([srcset]) {
    width: 45px;
    padding-bottom: 12px;
}

/* --------------------------------- AZIENDA -------------------------------- */
#carosello-vantaggi big {
    text-transform: uppercase;
    color: var(--nectar-accent-color);
    font-size: 20px;
}
#carosello-vantaggi p {
    padding-top: 10px
}

#carosello-vantaggi .iwithtext .iwt-icon {
    position: relative;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
}
#carosello-vantaggi .iwithtext .iwt-text {
    padding-left: 0;
}
#carosello-vantaggi .iwithtext .iwt-icon img:not([srcset]) {
    width: 100px;
}

@media (max-width: 690px) {
    #carosello-vantaggi .owl-item.active {
        width: 100% !important;
    }
}



/* ---------------------------- PORTE DA INTERNO ---------------------------- */
.testo-presentazione {
    font-size: 20px;
    font-weight: 700;
}

.box-presentazione .iwithtext .iwt-text {
    padding-top: 2%;
}
.box-presentazione-img .column-image-bg {
    max-width: 80%;
}

@media (max-width: 690px) {
    .riga-presentazione-cat .img-with-aniamtion-wrap img {
        aspect-ratio: 4/5 !important;
        object-fit: cover;
        object-position: right;
        margin-top: -25%;
    }
}



/* ---------------------------------- FORM ---------------------------------- */
.form-contatti {
    display: flex;
    gap: 2%;
    flex-wrap: wrap;
}
.form-contatti textarea {
    max-height: 120px;
}

.form-contatti .vc_col-lg-3 {
    width: 32% !important;
}
@media (max-width: 690px) {
    .form-contatti .vc_col-lg-3 {
        width: 100% !important;
    }
}
body[data-form-submit=regular] .container-wrap button[type=submit], body[data-form-submit=regular] .container-wrap input[type=submit] {
    padding: 15px 22px!important;
    border-radius: 7px !important;
}
/* -------------------------------- CONTATTI -------------------------------- */

.box-contatti a {
    text-decoration: underline;
    font-weight: 700;
    text-decoration-thickness: 0.5px;
    color: #000 !important;
}
.box-contatti .iwt-icon i {
    font-size: 22px !important;
}
.box-contatti .wpb_wrapper>div {
    margin-bottom: 15px;
}
.box-contatti .iwithtext .iwt-text {
    padding-left: 55px;
    padding-top: 6px;
}
body[data-bg-header=true] .container-wrap {
    padding-bottom: 0;
}








.nectar-flickity.nectar-carousel.nectar-carousel:not(.masonry) .flickity-viewport {
    margin: 40px 0 30px 0 !Important;
}
.nectar-flickity[data-control-style=material_pagination] .flickity-page-dots {
    bottom: -35px !important;
}

/* ---------------------------------- ARHIVIO PRODOTTI ----------------------------------- */
body[data-bg-header=true].archive .container-wrap {
    padding-top: 0 !important;
}
.archive .post-content {
    padding-left: 0;
}
.archive .masonry.classic_enhanced .masonry-blog-item .article-content-wrap {
    padding: 0;
    background-color: transparent;
}
.archive .masonry-blog-item .inner-wrap {
    box-shadow: none !important;
    background-color: transparent;
}
.archive .vc_col-sm-10.box-info-cat.wpb_column.column_container.vc_column_container.col.no-extra-padding {
    padding: 52px 84px 70px;
    background-color: #F1F1F1;
    margin-top: 60px;
    margin-bottom: 72px;
    border-radius: 7px;
}
.archive .box-info-cat .nectar-cta span.link_wrap {
    border-radius: 7px;
}
.archive .box-info-cat .nectar-cta[data-color="accent-color"]:not([data-style="material"]) .link_wrap:hover {
    background-color: var(--nectar-extra-color-1) !important;
}
.archive strong {
    color: var(--nectar-accent-color);
}
.archive big {
    font-weight: 700;
}

@media (max-width: 690px) {
    .archive .vc_col-sm-10.box-info-cat.wpb_column.column_container.vc_column_container.col.no-extra-padding {
        padding: 30px 20px 50px;
    }
}

body article a {
    color: var(--nectar-extra-color-1) !important;
}
body[data-header-resize="0"] .container-wrap {
    padding-top: 0;
}

/*Blog*/
.single-post h1 {
    text-transform: none;
    color: var(--nectar-extra-color-1);
}

.single-post h2 {
    text-transform: none;
	padding-bottom:20px;
    color: var(--nectar-extra-color-1);
}

.single-post h3,
.single-post h4 {
    color: var(--nectar-extra-color-1);
}
.single-post .post-content p {
    font-size: 18px;
}

.single-post #breadcrumbs {
    font-size:16px !important;
}

/*.single-post p, u, li {
    font-size:20px;
    line-height:32px;
}*/

.single-post .row.hentry.featured-media-under-header {
    padding-bottom: 5px;
}

.single-post div#sidebar {
    border-left: 1px solid #ddd;
    padding-left: 20px;
}
/*.single-post li.cat-item.cat-item-1,*/ 
.widget .widget_recent_entries li, 
a {
	font-size:16px !important;
}
/*.single-post a {
	font-size:20px !important;
}*/
.single-post a:hover {
	text-decoration: underline;
}
.single-post a.nectar-bg-hover-accent-color.news {
    background: #eee;
	color: #00a57b;
}

/*banner promo home*/
.nectar-cta.btn-red .link_wrap {
    background-color: #a91915 !important;
}

.nectar-badge .nectar-badge__inner {
    box-shadow: #00000061 0px 0px 10px 0px;
}



.single-post div#header-outer.detached .menu-item-3447 > a:before {
    background: var(--nectar-extra-color-1) !important;
}

/*
body #header-outer, body[data-header-color="dark"] #header-outer {
    background-color: #043f638f;
}*/