/*
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
*/

.fix {
    clear: both;
    display: block;
}

body {
    --scroll-bar-w: 0px !important
;
}

.hide {
    display: none !important;
}

.no-link {
    cursor: default;
    pointer-events: none;
}

/* FIX SINGLE IMAGE POSITION COMPOSER */
.compose-mode .vc_element.vc_image_with_animation {
    position: relative !important;
}

/**/

/*FIX*/
body .container-wrap .wpb_row[data-column-margin="40px"]:not(.full-width-section):not(.full-width-content) {
    margin-bottom: 0;
}

body[data-header-resize="1"] .container-wrap {
    padding-top: 0 !important;
}

.material .wpb_content_element,
.material .wpb_row {
    margin-bottom: 0;
}

body .container-wrap .wpb_row[data-column-margin="30px"]:not(.full-width-section):not(.full-width-content) {
    margin-bottom: 0;
}

.container-wrap {
    padding-bottom: 0 !important;
}

/**/

a,
a:hover {
    -webkit-transition: all 0.3s ease !important;
    -o-transition: all 0.3s ease !important;
    transition: all 0.3s ease !important;
}

strong,
bold {
    font-weight: 900;
}


/*INIZIO UNDERLINE MENU*/

#header-outer[data-lhe="animated_underline"] nav > ul >li:not([class*="button_"]) > a .menu-title-text:after {
    transform: scaleY(0);
}

#header-outer[data-lhe="animated_underline"] #top nav >ul >li >a:hover .menu-title-text:after {
    transform: scaleY(1)!important;
}

#header-outer[data-lhe="animated_underline"] #top nav > ul > li > a .menu-title-text:after {
    border-image: linear-gradient(to right, green 33.33%, white 33.33%, white 66.66%, red 66.66%) 1;
}
/*FINE UNDERLINE MENU*/

/* INIZIO OVER SUBMENU */
#header-outer:not([data-format="left-header"]) #top > .container > .row,
#header-outer:not([data-format="left-header"]) #top > .container > .row nav,
#header-outer:not([data-format="left-header"]) #top > .container > .row nav > ul,
#header-outer:not([data-format="left-header"]) #top > .container > .row nav > ul > li {
    overflow: visible;
}

body .sf-menu > li > ul,
#header-outer #top .sf-menu > li > ul {
    transition:
        transform 0.15s ease,
        opacity 0.15s ease;
}

.sf-menu > li ul {
    width: auto;
}

.sf-menu ul li a {
    white-space: nowrap;
}

/* FINE OVER SUBMENU */

.swiper-slide .slide-bg-wrap .slide-bg-overlay {
    opacity: 0.5 !important;
}

.nectar_icon_wrap[data-style="border-basic"] .nectar_icon {
    border-color: #fff !important;
}

.nectar-fancy-ul ul {
    margin-bottom: 0 !important;
}

/*INIZIO HOVER BOTTONE*/

li.button_solid_color.menu-item-101 {
    white-space: nowrap
}

body .nectar-button.large.see-through,
body .nectar-button.large.see-through-2,
.nectar-button.large {
    font-size: 20px !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 {
    opacity: 1 !important;
    background-color: #0c4b7a !important;
}

.nectar-button.jumbo,
.nectar-button.large {
}

.nectar-button.jumbo:hover,
.nectar-button.large:hover {
    opacity: 1 !important;
    background-color: #0c4b7a !important;
}

.nectar-button.large.extra-color-1:hover {
    background-color: #2bafbc !important;
}

.nectar-button.large.see-through-3 {
    color: #000;
}

.nectar-button.large.see-through-3:hover {
    color: #fff !important;
}

body .col.dark .nectar-button.see-through-2:hover,
body .nectar-button.see-through-2:hover {
    background-color: #fff !important;
    color: #000 !important;
}

.nectar-button.large.extra-color-2:hover {
    color: #fff !important;
}

.nectar-button {
    margin-bottom: 0;
}

.swiper-slide .button a {
    text-transform: inherit !important;
    font-size: 22px !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
}

body:not([data-button-style*="shadow"]) .swiper-slide .button a:after {
    display: none;
}

body:not([data-button-style*="shadow"]) .swiper-slide .button a {
    background-color: #26a9e0 !important;
}

body:not([data-button-style*="shadow"]) .swiper-slide .button a:hover {
    background-color: #0c4b7a !important;
    color: #fff;
}

/*FINE HOVER BOTTONE*/

.toggle > .toggle-title a {
    color: #26a9e0;
}

div[data-style*="minimal"] .toggle > .toggle-title i {
    border-color: #26a9e0;
}

div[data-style="minimal"] .toggle > .toggle-title i:before,
div[data-style="minimal"] .toggle > .toggle-title i:after {
    background-color: #26a9e0;
}


.nectar-flickity[data-controls*=arrows_overlaid]:not(.masonry) .flickity-viewport {
    margin: 90px 0!important;
}

.nectar-flickity:not(.masonry) .flickity-slider .cell[data-lazy=true] img.loaded {
    border-radius: 10px!important;
}


/* INIZIO CF7 */
/*FILE UPLOAD*/

.custom-file-upload {
    border: 1px solid #4b4d55 !important;
    background: #fff !important;
    width: 100% !important;
    border-radius: 3px !important;
    box-sizing: border-box !important;
    padding: 10px !important;
    border-radius:;
}

.wpcf7 input[type="file"] {
    width: 100%;
}

.wpcf7 input[type="file"]::file-selector-button {
    font-size: 16px !important;
    background-color: #000;
    color: #fff;
    border: 0px;
    padding: 10px 15px;
    margin-right: 20px;
    transition: 0.5s;
}

.wpcf7 input[type="file"]::file-selector-button:hover {
    background-color: #eee;
    color: #000;
    border: 0px;
}

/**/

body[data-fancy-form-rcs="1"] .fancy-select-wrap {
    padding: 0 !important;
}

.select2-container--default .select2-selection--single {
    border-radius: 3px !important;
    margin: 0 !important;
    padding: 12px 6px !important;
    border-color: #3c3c3c !important;
    background: #fff;
    font-weight: 500 !important;
}

body[data-fancy-form-rcs="1"] .span_12.light .select2-container--default .select2-selection--single {
    background-color: #fff !important;
    color: #000 !important;
}

body[data-fancy-form-rcs="1"]
    .select2-container--default:hover
    .select2-selection--single
    .select2-selection__rendered {
    color: #000 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #3c3c3c transparent transparent transparent !important;
}

.select2-container--default .select2-selection--single:hover .select2-selection__arrow b {
    border-color: #3c3c3c transparent transparent transparent !important;
}

.select2-dropdown {
    border-radius: 0 !important;
}

.line-cf7 {
    width: 100%;
    height: 2px;
    background: #3c3c3c;
    margin: 40px 0;
}

body.material input[type="text"]:focus,
body.material input[type="email"]:focus,
body.material textarea:focus {
    /*    border: 1px solid #3c3c3c !important;*/
    box-shadow: 0 0 0 rgb(255 255 255 / 0%) !important;
}

.wpcf7-form {
    display: table;
    margin: 0 auto;
    padding: 0;
}

.contatti .wpcf7-form {
    display: table;
    padding: 0;
    width: 70% !important;
    float: right !important;
}

.wpcf7-form h3 {
    color: #3c3c3c !important;
    font-weight: 500 !important;
}

.wpcf7 p {
    padding: 0;
    line-height: 28px;
}

.summary .wpcf7-form {
    text-align: left;
    margin: 0 0 10px 0;
}

.wpcf7-form label span {
    text-align: left !important;
    font-size: 17px;
    font-weight: 400;
    color: #3c3c3c;
    display: flex;
}

.cf7-dark .wpcf7-form label span {
    text-align: left !important;
    font-size: 17px;
    font-weight: 400;
    color: #fff;
    display: flex;
}

body .light .wpcf7-form p span,
.wpcf7-form p span {
    font-size: 16px;
}

.campo label,
.campo-area label {
    text-align: left !important;
    font-size: 17px !important;
    margin: 5px 0 0 0;
    display: table;
}

.campo {
    width: 100%;
    display: inline-block;
    margin: 10px 0;
}

.campo-half {
    width: 48.5%;
}

.campo-half-contatto {
    width: 49.7%;
}

.campo-half.right,
.campo-half-contatto.right,
.float-right {
    float: right;
}

.campo-half.left,
.float-left {
    float: left;
}

.campo-area {
    display: inline-block;
    clear: both;
    width: 100%;
    margin: 10px 0;
}

.last {
    margin-right: 0;
}

.fancybox-content {
    padding: 20px 30px !important;
    background: #f3f3f3 !important;
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #000 !important;
    opacity: 1 !important;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #000 !important;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #000 !important;
}

input.wpcf7-date {
    color: #000;
    font-size: 16px !important;
    font-weight: 400;
    border: 1px solid #4b4d55 !important;
    background: #fff !important;
    width: 100% !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    padding: 15px !important;
}

.wpcf7 input[type="date"]:before {
    content: attr(placeholder);
    float: left;
    margin-right: 10px;
}

.cv {
    font-weight: 700;
    margin-top: 10px;
    font-size: 14px;
}

input.wpcf7-text,
input.wpcf7-quiz {
    color: #0c4b7a;
    font-size: 16px !important;
    font-weight: 400;
    border: 1px solid #0c4b7a !important;
    background: #fff !important;
    width: 100% !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    padding: 15px !important;
}

.wpcf7-textarea {
    color: #0c4b7a;
    font-size: 16px !important;
    border: 1px solid #0c4b7a !important;
    background: #fff !important;
    resize: none !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    height: 140px !important;
    padding: 15px !important;
}

.wpcf7 .ajax-loader {
    margin: -7px 64px !important;
}

p.invio {
    margin: 10px 0;
}

body[data-form-submit="regular"] .container-wrap input[type="submit"].wpcf7-submit,
.wpcf7-submit {
    background-color: white;
    font-size: 20px !important;
    color: #076839 !important;
    padding: 15px 60px !important;
    margin-top: 20px;
}

body[data-form-submit="regular"] .container-wrap input[type="submit"].wpcf7-submit:hover {
    background-color: #076839 !important;
    color: #fff !important;
    opacity: 1 !important;
}

div.wpcf7-response-output {
    margin: 0 !important;
}

input.wpcf7-not-valid,
textarea.wpcf7-not-valid,
select.wpcf7-not-valid,
.fancy-select-wrap:has(select.wpcf7-not-valid) {
    border: 1px solid #cd323d !important;
}

.fancy-select-wrap:has(select.wpcf7-not-valid) .select2-selection {
    border: none !important;
}

span.wpcf7-not-valid-tip {
    display: none !important;
}

.wpcf7-checkbox.wpcf7-not-valid {
    border: none !important;
}

.wpcf7-checkbox.wpcf7-not-valid span {
    color: #cd323d !important;
}

span.wpcf7-list-item {
    margin: 0 !important;
}

.Accetto span.wpcf7-not-valid-tip {
    display: inherit !important;
    font-size: 14px !important;
    margin-left: 5px !important;
    color: #cd323d !important;
}

div.wpcf7-validation-errors,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    color: #cd323d !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    font-size: 14px;
}

div.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
    color: #398f14 !important;
    padding: 0 !important;
    border: none !important;
    background: none;
}

div.wpcf7 img.ajax-loader {
    margin-top: 0 !important;
}

.trattamento {
    font-size: 14px !important;
}

span[data-name="trattamento-dati"] {
    display: inline-block !important;
    color: #fff;
}

.trattamento-dati span {
    font-size: 16px !important;
    margin-right: 5px;
}

a.trattamento-dati-link {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    -webkit-transition: all 0.3s ease !important;
    -o-transition: all 0.3s ease !important;
}

a.trattamento-dati-link:hover {
    color: #9be1a6;
    opacity: 0.8;
    -webkit-transition: all 0.3s ease !important;
    -o-transition: all 0.3s ease !important;
}

a.link-trattamento {
    font-size: 16px !important;
    color: #000;
}

.cf7-dark a.trattamento-dati-link {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    -webkit-transition: all 0.3s ease !important;
    -o-transition: all 0.3s ease !important;
}

.cf7-dark a.trattamento-dati-link:hover {
    color: #fff;
    opacity: 0.8;
    -webkit-transition: all 0.3s ease !important;
    -o-transition: all 0.3s ease !important;
}

.cf7-dark a.link-trattamento {
    font-size: 16px !important;
    color: #fff;
}

a.link-trattamento:hover {
    color: #74cd7d !important;
}

h3.notifica-corso {
    font-size: 20px !important;
}

.quiz {
    font-weight: bold;
}

input.wpcf7-quiz {
    border: 1px solid #c9c9c9;
    background: #fcfcfc;
    height: 45px;
    width: 65px !important;
    font-size: 16px;
    text-align: center;
}

.wpcf7-quiz.wpcf7-not-valid {
    border: 1px solid #cd323d;
}

.math-quiz {
    margin-top: 10px;
    display: table;
}

.wpcf7-spinner {
    top: 7px;
}

/* FINE CF7 */
/* INIZIO MODALE CF7 */
.wpcf7-response-output {
    position: fixed;
    background: rgba(0, 0, 0, 0.5) !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
}

.modale {
    position: absolute;
    z-index: 999;
    background: #076839;
    color: #fff;
    font-size: 20px;
    border: none !important;
    padding: 80px 40px !important;
    width: 450px;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-box-shadow: 0px 0px 38px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 38px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 38px 0px rgba(0, 0, 0, 0.2);
    border-radius: 0;
    text-align: center !important;
}

.modale h4 {
    font-size: 30px;
    margin-bottom: 20px;
    padding: 0 !important;
    color: #fff;
}

.chiudi {
    width: 28px;
    height: 28px;
    position: absolute;
    top: 5px;
    right: 5px;
    background: url("images/close.svg") no-repeat center;
    cursor: pointer;
}

@media only screen and (max-width: 699px) {
    .modale {
        width: 90%;
    }
}

/* FINE MODALE CF7 */
/* CUSTOM CHECKBOX */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
}

[type="checkbox"]:not(:checked) + span,
[type="checkbox"]:checked + span {
    position: relative;
    padding-left: 1.95em;
    cursor: pointer;
}

[type="checkbox"]:not(:checked) + span:before,
[type="checkbox"]:checked + span:before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 1.25em;
    height: 1.25em;
    border: 1px solid #fff;
    background: transparent;
    border-radius: 5px;
}

[type="checkbox"]:not(:checked) + span:after,
[type="checkbox"]:checked + span:after {
    content: "\2714";
    position: absolute;
    top: 6px;
    left: 5px;
    font-size: 1em;
    line-height: 0.8;
    color: #fff;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

.cf7-dark [type="checkbox"]:not(:checked) + span:before,
.cf7-dark [type="checkbox"]:checked + span:before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 1.25em;
    height: 1.25em;
    border: 1px solid #fff;
    background: transparent;
    border-radius: 5px;
}

.cf7-dark [type="checkbox"]:not(:checked) + span:after,
.cf7-dark [type="checkbox"]:checked + span:after {
    content: "\2714";
    position: absolute;
    top: 6px;
    left: 5px;
    font-size: 1em;
    line-height: 0.8;
    color: #fff;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

[type="checkbox"]:not(:checked) + span:after {
    opacity: 0;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
}

[type="checkbox"]:checked + span:after {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

[type="checkbox"]:disabled:not(:checked) + span:before,
[type="checkbox"]:disabled:checked + span:before {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #bbb;
    background-color: #ddd;
}

[type="checkbox"]:disabled:checked + span:after {
    color: #999;
}

[type="checkbox"]:disabled + span {
    color: #aaa;
}

[type="checkbox"]:checked:focus + span:before,
[type="checkbox"]:not(:checked):focus + span:before {
    /*border: 2px dotted blue;*/
}

label:hover:before {
    border: 2px solid #3c3c3c !important;
}

/* CUSTOM CHECKBOX */

/* INIZIO LEAFLET */
.nectar-google-map .animated-dot .signal2,
.nectar-leaflet-map .animated-dot .signal2,
.nectar-google-map .animated-dot .signal,
.nectar-leaflet-map .animated-dot .signal {
    width: 100px !important;
    height: 100px !important;
    left: -40px !important;
    top: -40px !important;
}

.leaflet-popup-content {
    font-weight: bold;
}

.leaflet-popup-tip-container,
.leaflet-control-attribution,
.leaflet-popup-close-button {
    display: none;
}

@media only screen and (max-width: 999px) {
    .leaflet-container {
        height: 400px !important;
    }
}

/* FINE LEAFLET */

/*INIZIO FOOTER*/

body [class^="icon-"].icon-default-style {
    line-height: 20px;
    height: 20px;
    width: 20px;
    margin-right: 0;
    font-size: 20px;
    font-style: normal;
    background-color: transparent;
}

.iwithtext .iwt-text {
    padding-left: 30px;
}

.my-footer .iwithtext {
    margin-bottom: 0 !important;
}

.my-footer p,
.my-footer {
    font-size: 16px;
    line-height: 24px;
}

.my-footer h4 {
    font-size: 20px !important;
}

h2.widgettitle,
.my-footer h2 {
    font-size: 22px !important;
    line-height: 28px !important;
    text-transform: capitalize !important;
    padding: 0;
    margin-bottom: 10px !important;
}

.my-footer ul {
    margin: 0 !important;
    padding: 0 !important;
}

.my-footer ul li {
    list-style-type: none;
    padding: 0 10px!important;
    font-size: 16px !important;
    line-height: 26px;
    display: inline
}

.my-footer ul li a:hover, .my-footer ul li.current-menu-item a {
    color: #7ec389 !important;
}

#footer-outer #copyright[data-layout="centered"] {
    padding: 15px !important;
}

.material .my-footer .wpb_content_element {
    margin-bottom: 0 !important;
}

.my-footer img {
    width: 240px !important;
}

/*FINE FOOTER*/

/* INIZIO RIMUOVI BACK */
.sub-menu li.back a {
    display: none !important;
}

.sub-menu li.back::after {
    content: "\2715";
    cursor: pointer;
    font-size: 30px;
}

/* FINE RIMUOVI BACK */

@media only screen and (max-width: 1399px) {
    #header-outer[data-lhe="default"] #top nav > ul > li > a {
        padding-left: 10px;
        padding-right: 10px;
    }

    .contatti-content .vc_col-sm-4 {
        width: 40%;
    }

    .contatti-content .vc_col-sm-8 {
        width: 60%;
    }
}

@media only screen and (max-width: 1299px) {
    .page-submenu .mobile-menu-link {
        font-size: 0 !important;
    }

    #header-outer[data-lhe="default"] #top nav > ul > li > a {
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media only screen and (max-width: 1199px) {
    .contatti-content .vc_col-sm-4 {
        width: 45%;
    }

    .contatti-content .vc_col-sm-8 {
        width: 55%;
    }
}

@media only screen and (max-width: 999px) {
    
    .off-canvas-menu-container li.current_page_item a {
        border-bottom: 2px solid #fff
    }
    .my-footer .iwithtext {
        display: table;
        margin: 0 auto;
    }
    
    h2.widgettitle, .my-footer h2 {
        text-align: center
    }
    
    .my-footer .img-with-aniamtion-wrap {
        display: table;
        margin: 0 auto;
        text-align: center
    }

    .col.padding-2-percent[data-border-width*="px"] > .vc_column-inner {
        padding: 15px;
    }

    .contatti-content .vc_col-sm-4,
    .contatti-content .vc_col-sm-8 {
        width: 100%;
    }

    .container-wrap {
        padding-bottom: 0 !important;
    }

    h2 br,
    h1 br {
        display: none;
    }

    .hide-mobile {
        display: none;
    }

    .vc_row-fluid[data-column-margin="90px"] .wpb_column:not([class*="vc_col-xs-"]):not(.child_column):not(:last-child),
    .inner_row[data-column-margin="90px"] .child_column:not([class*="vc_col-xs-"]):not(:last-child) {
        margin-bottom: 30px;
    }

    .contatti .wpcf7-form {
        width: 100% !important;
        float: none !important;
    }

    #sidebar {
        margin: 20px 0;
    }

    .category #sidebar {
        margin: 0;
    }

    body.single-post.material[data-bg-header="true"] .container-wrap {
        padding-top: 30px !important;
    }

    body[data-header-resize="1"] .container-wrap,
    body[data-header-resize="1"] .project-title {
        margin-top: 0;
        padding-top: 0;
    }

    body #sidebar h4 {
        margin-bottom: 0 !important;
    }

    #toggleList {
        display: inline;
    }

    #dropdown {
        display: none;
    }

    .flickity-prev-next-button.next {
        top: 40% !important;
        right: -10px !important;
    }

    .flickity-prev-next-button.previous {
        top: 40% !important;
        left: -10px !important;
    }

    .numeri
        .vc_row-fluid[data-column-margin="100px"]
        .wpb_column:not([class*="vc_col-xs-"]):not(.child_column):not(:last-child),
    .inner_row[data-column-margin="100px"] .child_column:not([class*="vc_col-xs-"]):not(:last-child) {
        margin-bottom: 30px;
    }

    .nectar-flickity.nectar-carousel.nectar-carousel:not(.masonry) .flickity-viewport {
        margin: 0px 0 !important;
    }

    .timeline-linea,
    .timeline-linea-2 {
        display: none;
    }

    .contatti .wpcf7-form {
        width: 100%;
        float: none;
    }

    .vc_row-fluid[data-column-margin="80px"] .wpb_column:not([class*="vc_col-xs-"]):not(.child_column):not(:last-child),
    .inner_row[data-column-margin="80px"] .child_column:not([class*="vc_col-xs-"]):not(:last-child) {
        margin-bottom: 30px !important;
    }

    .secondary-header-text {
        display: none;
    }

    body .nectar-milestone .number h2,
    body .nectar-milestone .number {
        font-size: 40px;
        line-height: 40px !important;
    }

    .my-footer ul li {
        display: block;
        list-style-type: none;
        padding: 0 !important;
        text-align: center !important;
    }
}
