/*
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{
    --theme-color:#750717;
    --color-white:#FFF;
    --color-dark-blue: #2158A5;
    --color-light-blue: #439CD6;
    --color-blue-grey: #a8bac6;
    --wpforms-color :#ff5c28;
}
.theme-color{
    color:var(--theme-color);
}
.white-color{
    color:var(--color-white);
}
@font-face {
    font-family: "Avenir Light";
    src: url("/wp-content/themes/salient-child/fonts/Avenir-Light.woff") format("woff"),
    url("/wp-content/themes/salient-child/fonts/Avenir-Light.woff2") format("opentype");
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: "Avenir Light Oblique";
    src: url("/wp-content/themes/salient-child/fonts/Avenir-LightOblique.woff") format("woff"),
    url("/wp-content/themes/salient-child/fonts/Avenir-LightOblique.woff2") format("opentype");
    font-weight: 300;
    font-style: italic;
}
@font-face {
    font-family: "Avenir Roman";
    src: url("/wp-content/themes/salient-child/fonts/Avenir-Roman.woff") format("woff"),
    url("/wp-content/themes/salient-child/fonts/Avenir-Roman.woff2") format("opentype");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "Avenir Roman Oblique";
    src: url("/wp-content/themes/salient-child/fonts/Avenir-Oblique.woff") format("woff"),
    url("/wp-content/themes/salient-child/fonts/Avenir-Oblique.woff2") format("opentype");
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: "Avenir Medium";
    src: url("/wp-content/themes/salient-child/fonts/Avenir-Medium.woff") format("woff"),
    url("/wp-content/themes/salient-child/fonts/Avenir-Medium.woff2") format("opentype");
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: "Avenir Medium Oblique";
    src: url("/wp-content/themes/salient-child/fonts/Avenir-MediumOblique.woff") format("woff"),
    url("/wp-content/themes/salient-child/fonts/Avenir-MediumOblique.woff2") format("opentype");
    font-weight: 500;
    font-style: italic;
}
@font-face {
    font-family: "Avenir Book";
    src: url("/wp-content/themes/salient-child/fonts/Avenir-Book.woff") format("woff"),
    url("/wp-content/themes/salient-child/fonts/Avenir-Book.woff2") format("opentype");
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: "Avenir Book Oblique";
    src: url("/wp-content/themes/salient-child/fonts/Avenir-BookOblique.woff") format("woff"),
    url("/wp-content/themes/salient-child/fonts/Avenir-BookOblique.woff2") format("opentype");
    font-weight: 600;
    font-style: italic;
}
@font-face {
    font-family: "Avenir Heavy";
    src: url("/wp-content/themes/salient-child/fonts/Avenir-Heavy.woff") format("woff"),
    url("/wp-content/themes/salient-child/fonts/Avenir-Heavy.woff2") format("opentype");
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: "Avenir Heavy Oblique";
    src: url("/wp-content/themes/salient-child/fonts/Avenir-HeavyOblique.woff") format("woff"),
    url("/wp-content/themes/salient-child/fonts/Avenir-HeavyOblique.woff2") format("opentype");
    font-weight: 700;
    font-style: italic;
}
@font-face {
    font-family: "Avenir Black";
    src: url("/wp-content/themes/salient-child/fonts/Avenir-Black.woff") format("woff"),
    url("/wp-content/themes/salient-child/fonts/Avenir-Black.woff2") format("opentype");
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: "Avenir Black Oblique";
    src: url("/wp-content/themes/salient-child/fonts/Avenir-BlackOblique.woff") format("woff"),
    url("/wp-content/themes/salient-child/fonts/Avenir-BlackOblique.woff2") format("opentype");
    font-weight: 900;
    font-style: italic;
}

body i, body em{
    font-style: italic;
    font-family: 'Avenir Medium';
}
/*** gamma ***/

.gamma .nectar-fancy-box{
    box-shadow: rgb(0 0 0 / 4%) 0 1px 0, rgb(0 0 0 / 5%) 0 2px 7px, rgb(0 0 0 / 6%) 0 12px 22px;
}
.gamma .nectar-fancy-box[data-border-radius="5px"] .image-wrap,.gamma .nectar-fancy-box[data-border-radius="5px"]:not([data-style=parallax_hover]):not([data-style=color_box_hover]){
    border-radius:0;
    border-top-left-radius: 7px;
    border-top-right-radius:7px;
}
.gamma .nectar-fancy-box[data-style=image_above_text_underline] .text{
    padding:30px 20px;
}
.gamma h5{
    min-height: 50px;
    display: block;
    background-image: none;
}

/*** links custom ***/
a.white-color{
    background-repeat: no-repeat;
    background-size: 0 2px;
    background-image: linear-gradient(to right,#FFF 0,#FFF 100%);
    transition: background-size .55s cubic-bezier(.2,.75,.5,1);
    background-position: left bottom;
}
a.white-color:hover{
    background-size: 100% 2px;
}

/** form ***/


.form-contatti{
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.form-contatti .name input,
.form-contatti .surname input,
.form-contatti .company input,
.form-contatti .provincia input,
.form-contatti .email input,
.form-contatti .phone input,
.form-contatti .message textarea{
    border-radius:2px;
}
.form-contatti .name,
.form-contatti .surname,
.form-contatti .company,
.form-contatti .email,
.form-contatti .mobile,
.form-contatti .phone,
.form-contatti .citta
{
    width: calc(33% - 11px);
}

.form-contatti .email,
.form-contatti .mobile,
.form-contatti .phone{
    width:calc(50% - 11px);
}
.form-contatti .name input,
.form-contatti .surname input,
.form-contatti .company input,
.form-contatti .email input,
.form-contatti .mobile input,
.form-contatti .phone input,
.form-contatti .citta input,
.form-contatti .message textarea{
    background-color: #F7F7F7 !important;
    border:none;
}
.form-contatti-red .form-contatti .name input,
.form-contatti-red .form-contatti .surname input,
.form-contatti-red .form-contatti .company input,
.form-contatti-red .form-contatti .email input,
.form-contatti-red .form-contatti .mobile input,
.form-contatti-red .form-contatti .phone input,
.form-contatti-red .form-contatti .citta input,
.form-contatti-red .form-contatti .message textarea{
    background-color: rgba(96,0,14,.32) !important;
    border:none;
}
.form-contatti-red label span,body .form-contatti-red a{
    color:var(--color-white)
}
body[data-form-submit="regular"] .container-wrap .form-contatti-red .span_12.light input[type=submit].custom-btn-expert{
    background-color:transparent;
    border:1px solid var(--color-white);
    padding: 15px 50px !important;

}
.form-prodotto .form-contatti .name input,
.form-prodotto .form-contatti .surname input,
.form-prodotto .form-contatti .company input,
.form-prodotto .form-contatti .email input,
.form-prodotto .form-contatti .mobile input,
.form-prodotto .form-contatti .phone input,
.form-prodotto .form-contatti .citta input,
.form-prodotto .form-contatti .message textarea{
    border-color:#12253A !important;
}
.form-contatti .message,
.form-contatti .acceptance,
.form-contatti .disclaimer{
    width:100%;
}
.form-footer .acceptance .wpcf7-list-item{
    margin:0;
}
.form-footer .disclaimer {
    margin-bottom:30px;
}
.form-contatti .button input[type=submit]{
    font-size: 1.4em;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--theme-font);
    color:var(--color-dark);
    padding: 10px 70px !important;
    border-radius: 20px !important;
}
.wpcf7-acceptance span,.disclaimer{
    font-size:.9em;
}
.form-hp .wpcf7-acceptance span a{
    color:#000
}

.form-hp .button .custom-btn-expert,.form-hp .button .custom-btn-expert:hover{
    background-color:#12253a !important;
}

.wpcf7 .form-contatti .email{
    widht:100%;
}
@media screen and (max-width:1024px){
    .form-contatti .name,
    .form-contatti .surname,
    .form-contatti .company,
    .form-contatti .email,
    .form-contatti .mobile,
    .form-contatti .phone,
    .form-contatti .animale,
    .form-contatti .eta,
    .form-contatti .citta
    {
        width: 100%;
    }
}
/*** wpforms ***/
div.wpforms-container-full .wpforms-form ul.wpforms-image-choices-classic .wpforms-image-choices-item label:hover,
div.wpforms-container-full .wpforms-form ul.wpforms-image-choices-classic .wpforms-image-choices-item label{
    border-color:#00c1b7
}
div.wpforms-container-full .wpforms-form .wpforms-image-choices-classic .wpforms-image-choices-item label,
div.wpforms-container.wpforms-container-full .wpforms-form ul#wpforms-10-field_48.wpforms-icon-choices.wpforms-icon-choices-modern li label{
    box-shadow: 0 0 0 1px #00c1b7,0 2px 10px rgba(0,0,0,0.15);
}
div.wpforms-container-full .wpforms-form .wpforms-image-choices-classic .wpforms-image-choices-item.wpforms-selected label,
div.wpforms-container.wpforms-container-full .wpforms-form ul.wpforms-icon-choices.wpforms-icon-choices-modern.wpforms-selected li label{
    border: 1px solid #ff5c28;
    box-shadow: 0 0 0 1px #ff5c28,0px 1px 2px rgba(0,0,0,0.15);
}
div.wpforms-container.wpforms-container-full .wpforms-form ul.wpforms-icon-choices.wpforms-icon-choices-modern li.wpforms-selected label{
    box-shadow: 0 0 0 2px #ff5c28,0px 1px 2px rgba(0,0,0,0.15);
}
div.wpforms-container.wpforms-container-full .wpforms-form ul.wpforms-icon-choices .wpforms-icon-choices-item svg{
    fill:#00c1b7
}
div.wpforms-container.wpforms-container-full .wpforms-form ul.wpforms-icon-choices .wpforms-icon-choices-item.wpforms-selected svg{
    fill:#ff5c28
}
div.wpforms-container.wpforms-container-full .wpforms-form ul.wpforms-icon-choices.wpforms-icon-choices-modern li label{
    box-shadow: 0 0 0 1px #00c1b7,0 2px 10px rgba(0,0,0,0.15);
}
div.wpforms-container-full .wpforms-form ul.wpforms-image-choices-classic .wpforms-image-choices-item label .wpforms-image-choices-label strong:first-of-type{
    display: block;
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 20px;
    color:#00c1b7;
    line-height: 1;
}
div.wpforms-container-full .wpforms-form ul.wpforms-image-choices-classic .wpforms-image-choices-item label .wpforms-image-choices-label strong:last-of-type{
    display: block;
    font-size:.8em;
    font-weight: 400;
    margin-top: 20px;
    opacity: .5;
}
div.wpforms-container-full .wpforms-form .wpforms-image-choices-classic .wpforms-image-choices-item.wpforms-selected label strong:first-of-type{
    color:#ff5c28 !important;
}
.wpforms-container .wpforms-image-choices-classic .wpforms-image-choices-label strong{
    word-break: auto-phrase;
}
div.wpforms-container-full input[type=text],
div.wpforms-container-full input[type=email],
div.wpforms-container-full input[type=tel],
div.wpforms-container-full input[type=number]{
    border: 1px solid #00c1b7;
}
div.wpforms-container-full .wpforms-form .wpforms-field-divider{
    margin-top: 30px;
    margin-bottom: 30px;
    padding:0
}
.wpforms-field-html h5{
    font-size: 1.2em !important;
    color: #00c1b7;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}
.wpforms-field-html h6{
    font-size: .9em !important;
    line-height: 1.2 !important;

}
div.wpforms-container-full button[type=submit]:not(:hover):not(:active){
    background-color:#00c1b7;
    padding: 15px 30px !important;
    line-height: 1;
    margin: 0 auto !important;
    text-transform: uppercase;
    height: auto;
}
div.wpforms-container-full button[type=submit]:hover:not(:active){
    background-color:#ff5c28 !important;
    padding: 15px 30px !important;
    line-height: 1;
    margin: 0 auto !important;
    text-transform: uppercase;
    height: auto;
}

div.wpforms-container-full .wpforms-form ul.wpforms-image-choices-classic .wpforms-image-choices-item label{
    padding:30px !important;
}
.wpforms-container .wpforms-form hr{
    opacity: 0;
}
@media screen and (min-width: 1px) and (max-width: 999px){
    .container {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
}
div.wpforms-container-full .wpforms-confirmation-container-full{
    background: rgba(0,193,183,0.3);
    border: 1px solid #00c1b7;
    box-sizing: border-box;
}

body .wpforms-confirmation-container-full p{
    color:#00c1b7
}

.wpforms-container .wpforms-field.wpforms-field-html{
    padding-bottom:10px !important
}
#wpforms-172-field_51-container,
#wpforms-172-field_74-container,
#wpforms-172-field_78-container,
#wpforms-172-field_79-container
{
    padding-bottom: 0 !important;
}

div.wpforms-container-full input[type=checkbox]:checked:before, div.wpforms-container-full input[type=radio]:checked:before{
    border-color: var(--wpforms-color);
    box-shadow: 0 0 0 1px var(--wpforms-color), 0px 1px 2px rgba(0, 0, 0, 0.15);
}
div.wpforms-container-full input[type=checkbox]:checked:after {
    border-top: none;
    border-right: none;
    height: calc(var(--wpforms-field-size-checkbox-size)* 0.6);
    border-left: 4px solid var(--wpforms-color);
    border-bottom: 4px solid var(--wpforms-color);
    background-color: transparent;
    transform: translate(-1px, 1px) scale(0.5) rotate(-45deg);
}