/*
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;
}

.hide {
    display: none !important;
}

.float-left {
    float: left;
}

.no-link {
    cursor: default;
    pointer-events: none;
}

/* FIX SINGLE IMAGE POSITION COMPOSER */
.compose-mode .vc_element.vc_image_with_animation {
    position: relative !important;
}

body #header-outer[data-lhe="default"] #top nav .sf-menu > .menu-item-home.current_page_item > a {
    color: #fff !important;
}

/**/

/*FIX*/
body .container-wrap .wpb_row[data-column-margin="40px"]:not(.full-width-section):not(.full-width-content) {
    margin-bottom: 0;
}

.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;
}

.nectar-flickity[data-controls*=arrows_overlaid]:not(.masonry) .flickity-viewport {
    margin: 0!important;
    border-radius: 20px
}

.nectar-fancy-ul ul {
    margin-bottom: 0!important
}
/**/

.camere-box .nectar_icon_wrap,
.camera-content .nectar_icon_wrap{
    float: left;
}

.camere-box .nectar_icon_wrap:last-child {
    margin-right: 10px !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 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 */

/*INIZIO HOVER BOTTONE*/

body .nectar-button.large.see-through,
body .nectar-button.large.see-through-2,
.nectar-button.large {
    font-size: 20px !important;
}

.nectar-button.jumbo,
.nectar-button.large {
    font-size: 20px !important;
}

.nectar-button.jumbo:hover,
.nectar-button.large:hover {
    opacity: 1 !important;
    background-color: #fff !important;
    color: #cca369 !important;
}

.bottone-1.nectar-button.large span {
    font-size: 18px !important;
}

.bottone-1.large:hover {
    opacity: 1 !important;
    background-color: #303d57 !important;
    color: #fff !important;
}

.bottone-2.nectar-button.large span {
    font-size: 18px !important;
}

.bottone-2.large:hover {
    opacity: 1 !important;
    background-color: #303d57 !important;
    color: #fff !important;
}

.nectar-button {
    margin-bottom: 0;
}

/*FINE HOVER BOTTONE*/

.iwithtext {
    margin: 10px 0;
}

.iwithtext .iwt-text {
    font-size: 16px;
}

.iwithtext .iwt-icon {
    width: 25px;
}

.footer-contatti .iwt-text a {
    color: #fff!important
}

/*INIZIO CAMERE*/

.intro-camera {
    min-height: 120px;
}
/*FINE CAMERE*/

/* INIZIO CF7 */
body[data-fancy-form-rcs="1"] .fancy-select-wrap {
    padding: 0 !important;
}

.select2-container--default .select2-selection--single {
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 10px 15px !important;
    border-color: #3c3c3c !important;
    font-weight: 500 !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;
}

#selezione-select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 20px center !important;
    background-size: 20px !important;
    padding-right: 35px !important;
}

#selezione-select::-ms-expand {
    display: none;
}

/* Stile hover */
#selezione-select:hover {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>') !important;
}

.line-cf7 {
    width: 100%;
    height: 2px;
    background: #3c3c3c;
    margin: 40px 0;
}

.wpcf7-form {
    display: table;
    margin: 0 auto;
    padding: 0;
}

.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;
}

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-flex {
    display: flex;
    justify-content: space-between; /* Crea spazi equidistanti tra gli elementi */
    align-items: center; /* Allinea verticalmente al centro (opzionale) */
    gap: 20px; /* Spazio tra i campi (alternativa a space-between) */
    width: 100%; /* Occupa tutta la larghezza disponibile */
}

.campo-half-3 {
    flex: 1;
}

.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: #fff !important;
    opacity: 1 !important;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #fff !important;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #fff !important;
}

input.wpcf7-date {
    color: #282828;
    font-size: 16px !important;
    font-weight: 400;
    border: 1px solid #282828 !important;
    background: transparent !important;
    width: 100% !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
    padding: 18px 15px !important;
}

body.material input[type="text"]:focus,
body.material input[type="number"]:focus,
body.material input[type="email"]:focus,
body.material input[type="date"]:focus,
body.material textarea:focus,
select.wpcf7-select:focus {
    /*    border: 1px solid #223048 !important;*/
    box-shadow: 0 0 0 rgb(255 255 255 / 0%) !important;
}

input.wpcf7-captchar {
    color: #282828;
    font-size: 16px !important;
    font-weight: 400;
    border: 1px solid #d1d3d4 !important;
    background: #fff !important;
    width: 200px !important;
    border-radius: 3px !important;
    box-sizing: border-box !important;
    padding: 15px !important;
}

input.wpcf7-text,
input.wpcf7-date,
input.wpcf7-number,
input.wpcf7-quiz,
input.wpcf7-datepicker,
select.wpcf7-select {
    color: #fff;
    font-size: 16px !important;
    font-weight: 400;
    border: 1px solid #d1d3d4 !important;
    background: transparent !important;
    width: 100% !important;
    border-radius: 40px !important;
    box-sizing: border-box !important;
    padding: 15px !important;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
    border: 1px solid #282828;
    background: #cec2af;
    font-weight: normal;
    color: #ffffff;
}

.wpcf7-textarea {
    color: #fff;
    font-size: 16px !important;
    border: 1px solid #d1d3d4 !important;
    background: transparent !important;
    resize: none !important;
    border-radius: 40px !important;
    box-sizing: border-box !important;
    height: 140px !important;
    padding: 15px !important;
}

.wpcf7 .ajax-loader {
    margin: -7px 64px !important;
}

p.invio {
    margin: 20px 0;
    text-align: right;
}

body[data-form-submit="regular"] .container-wrap input[type="submit"].wpcf7-submit,
.wpcf7-submit {
    background-color: #cca369;
    border: none;
    font-size: 18px !important;
    color: #fff !important;
    padding: 15px 60px !important;
    margin-top: 20px;
}

body[data-form-submit="regular"] .container-wrap input[type="submit"].wpcf7-submit:hover {
    background-color: #fff !important;
    color: #cca369 !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: #282828;
}

.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: #cca369;
    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: #282828;
}

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;
    display: block !important;
    margin: 0 auto !important;
}

/* 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: #cca369;
    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: 20px;
    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 #d1d3d4;
    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;
}

.my-footer p,
.my-footer {
    font-size: 13px;
    line-height: 16px;
}

.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 !important;
    font-size: 18px !important;
    line-height: 26px;
}

.my-footer ul li a:hover {
    color: #0c4b7a !important;
}

#footer-outer #copyright[data-layout="centered"] {
    padding: 15px 15px 40px 15px !important;
}

.material .my-footer .wpb_content_element {
    margin-bottom: 0 !important;
}

.my-footer img {
    width: 200px !important;
    height: 100%;
}

/*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: 1599px) {
    #ajax-content-wrap .vc_row.right_padding_200px > .row_col_wrap_12 {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media only screen and (max-width: 1399px) {
    .camere-box .vc_col-sm-3 {
        width: 50% !important;
        margin-top: 30px;
    }
}

@media only screen and (max-width: 999px) {
    
    .camera-content .camera-titolo .wpb_column {
        width: 50%;
        margin-bottom: 0!important
    }
    
    .camera-content .camera-titolo .wpb_column h1 {
        margin-bottom: 0!important
    }
    
    .camere-box .vc_col-sm-3 {
        width: 100% !important;
        margin-top: 0 !important;
    }

    
    body .container-wrap .camere-box.vc_row-fluid[data-column-margin="30px"] .wpb_column:not(.child_column) {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    h2 br,
    h1 br {
        display: none;
    }

    .titolo-border h1 {
        display: block;
    }

    .hide-mobile {
        display: none;
    }

    .my-footer ul li {
        display: block;
        list-style-type: none;
        padding: 0 !important;
        text-align: center !important;
    }

    .campo-flex {
        display: block;
    }

    .campo-half-3 {
        flex: 1;
    }

    .campo-half {
        width: 100%;
    }

    .campo-half-contatto {
        width: 100%;
    }

    .campo-half.right,
    .campo-half-contatto.right,
    .float-right {
        float: none;
    }

    .campo-half.left,
    .float-left {
        float: none;
    }
}
