/*
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 SINGLE IMAGE POSITION COMPOSER */
.compose-mode .vc_element.vc_image_with_animation {
    position: relative !important;
}

/* FIX SINGLE IMAGE POSITION COMPOSER */
#header-outer:not(.transparent) .sf-menu > li ul {
    border: none !important
}

body .container-wrap .wpb_row[data-column-margin="40px"]:not(.full-width-section):not(.full-width-content) {
    margin-bottom: 0 !important
}

.breadcrumbs {
    font-size: 16px !important;
    margin-top: 30px
}

.breadcrumbs-yoast {
    font-size: 16px !important;
}

/* 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;
}

#header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) ul a {
    white-space: nowrap;
}

#top nav > .sf-menu > li ul {
    width: auto !important;
}

.sf-menu li ul li a .menu-title-text:after {
    bottom: -2px !important
}

/* FINE OVER SUBMENU */
.align-right {
    float: right;
}

.align-left {
    float: left;
}

.p-t-90 {
    padding-top: 90px
}

.w-50 {
    width: 45%
}

.fix {
    display: block;
    clear: both;
}

a,
a:hover {
    -webkit-transition: all .3s ease !important;
    -o-transition: all .3s ease !important;
}

.m-zero {
    margin: 0 !important
}

.right {
    float: right;
}

.swiper-slide .slide-bg-wrap .slide-bg-overlay {
    opacity: .4 !important
}

.swiper-slide .button.solid_color .white {
    letter-spacing: 0 !important
}

.swiper-slide .button.solid_color .white:hover {
    opacity: 1 !important;
    background-color: #941E1A !important;
    color: #fff !important
}

.nectar-button.regular-button.extra-color-1:hover {
    opacity: 1 !important;
    background-color: #941E1A !important;
    color: #fff !important
}

.nectar-button.regular-button.extra-color-3 {
    color: #000 !important;
    padding: 18px 50px !important
}

.nectar-button.regular-button.extra-color-3:hover {
    opacity: 1 !important;
    background-color: #941E1A !important;
    color: #fff !important
}

h1 span.grassetto {
    font-family: 'Playfair Display', serif !important;
}

.grassetto,
h2 .grassetto {
    font-weight: 700 !important
}

.grassetto-rosso {
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
    color: #941E1A !important
}

h2 .underline,
h3 .underline {
    line-height: 58px !important
}

p .testo-big {
    font-size: 22px !important;
}

h2 .testo-big {
    font-size: 70px !important;
    line-height: 78px !important;
    font-weight: 400;
}

.testo-small {
    font-size: 16px !important;
    line-height: 20px !important
}

.underline {
    text-decoration: underline solid 1px;
    text-underline-offset: 10px;
    /* text-decoration-color: #ccc; */
}

.divider-wrap .divider-vertical {
    margin: 0 auto 20px !important;
}

/* INIZIO RISULTATI RICERCA */
.next,
.prev {
    display: none
}

.grid-content-search {
    display: table;
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
    vertical-align: top;
    clear: both;
    width: 100%
}

.grid-content-search h4 {
    font-weight: bold;
    margin: 10px 0
}

.grid-content-search .img-content {
    padding: 10px !important;
    height: inherit;
    min-height: inherit;
    float: left;
    margin: 10px 20px 20px 0 !important;
    border: 1px solid #ccc
}

.grid-content-search .img-content img {
    margin: 0 !important;
    display: block;
}

/* FINE RISULTATI RICERCA */

/* INIZIO TABELLA */
.tabella-orari .orari {
    border: 1px solid #000 !important;
    padding: 40px;
}

.tabella-orari table {
    margin-top: 40px !important;
    border: none !important
}

.tabella-orari table tr {
    background-color: #fff !important
}

.tabella-orari table td {
    font-family: 'Playfair Display', serif !important;
    font-size: 26px !important;
    border: 0 !important
}

/* FINE TABELLA */
/* INIZIO CERCA */
body.material #search-outer #search #search-box input[type="text"] {
    font-size: 22px;
    line-height: 1;
    height: 56px !important;
    border: 2px solid #fff !important;
    border-radius: 10px;
    background: #fff;
    color: #000 !important;
    text-transform: capitalize !important;
    padding: 10px;
}

body.material #search-outer #search #search-box input[type="text"]::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #000 !important;
    opacity: 1;
    /* Firefox */
}

body.material #search-outer #search #search-box input[type="text"]:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #000 !important;
}

body.material #search-outer #search #search-box input[type="text"]::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #000 !important;
}

#search-outer #search #close {
    margin-top: -18px !important
}

#search-outer #search #close a:before {
    background-color: transparent !important;
    width: 32px;
    height: 32px
}

#search-outer #search #close a span {
    background: #941E1A
}

#search-outer .close-wrap {
    top: 20% !important;
    left: 32% !important;
}

/* FINE CERCA */
/* INIZIO TIMELINE */
.timeline-linea {
    position: absolute !important;
    z-index: 1 !important;
    top: 0 !important;
    left: 0;
    right: 0;
    margin-top: 0;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 1px !important;
    height: 100% !important;
    background: #000 !important;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    left: -7px;
    border-radius: 0;
    background: #000 !important;
    top: -7px;
    transform: rotate(45deg);
}

.timeline-dot-r::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    right: -7px;
    border-radius: 0;
    background: #000 !important;
    top: -7px;
    transform: rotate(45deg);
}

/* FINE TIMELINE */
.sf-menu li a span,
.sf-menu li ul li a span {
    font-weight: 400
}

li.current-menu-item a span,
li.current-menu-parent a span,
.sub-menu li.current-menu-item a span {
    font-weight: 700
}

/* INIZIO RICETTA */
.owl-carousel,
.owl-carousel a {
    cursor: url('images/cursore-3.png'), auto;
}

.owl-nav {
    display: none
}

.titolo-ricetta h4 .grassetto {
    font-size: 26px !important;
}

.single-ricette .container-wrap {
    padding-top: 0 !important
}

.single-ricette .post-area {
    margin-top: 0 !important
}

.single-ricette table {
    border-top: 1px solid #ccc !important
}

.single-ricette table td {
    font-size: 20px !important;
    background: transparent !important;
    border: 0 !important;
    padding: 10px 0 !important
}

.single-ricette table tr {
    border-bottom: 1px solid #ccc;
    background: transparent !important;
}

.img-content-ricette {
    margin: 20px auto;
    padding: 0;
}

.img-content-ricette:hover .img-content-ricette-bg {
    opacity: .6;
    -webkit-transition: all .32s ease !important;
    -o-transition: all .32s ease !important;
    transition: all .32s ease !important;
}

.img-content-ricette-bg {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 350px;
    -webkit-transition: all .32s ease !important;
    -o-transition: all .32s ease !important;
    transition: all .32s ease !important;
}

.black-bg {
    background-color: #000;
}

.item-featured h4 {
    margin-top: 20px;
    text-align: center;
    font-size: 18px !important;
    font-weight: 600 !important;
    -webkit-transition: all .32s ease !important;
    -o-transition: all .32s ease !important;
    transition: all .32s ease !important;
}

.img-content-ricette:hover h4 {
    color: #941E1A !important;
    -webkit-transition: all .32s ease !important;
    -o-transition: all .32s ease !important;
    transition: all .32s ease !important;
}

/* FINE RICETTA */
/* INIZIO PRODOTTO */
.disclaimer {
    margin: 20px 0;
    font-size: 13px !important;
    line-height: 16px !important;
    text-align: justify;
}

body.single-linee-prodotto .container-wrap {
    padding-bottom: 0 !important;
    padding-top: 0 !important
}

.red-bg {
    background-color: #941E1A
}

.richiesta {
    width: 1600px;
    margin: 0 auto;
    display: table;
    padding: 90px 90px 0 90px;
    margin-top: 90px
}

.richiesta h3 {
    color: #fff !important;
    margin-bottom: 30px
}

.img-content {
    margin: 40px auto;
    padding: 10px;
    height: 200px;
}

.img-content img {
    max-height: 200px;
    min-height: 200px;
    margin-bottom: 0
}

.dettagli-singolo {
    margin-top: 40px;
    display: table;
}

.dettagli-singolo .det-left {
    border-bottom: 1px solid #000;
    padding: 8px 0;
    width: 60%;
    float: left;
    display: table;
}

.dettagli-singolo .det-right {
    text-align: right;
    float: right;
    border-left: none;
    width: 40%;
    border-bottom: 1px solid #000;
    padding: 8px 0;
    font-weight: bold;
}

.bottone {
    padding: 20px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.bottone a {
    margin-bottom: 0 !important;
    text-transform: uppercase;
}

.bottone-singolo {
    margin-top: 40px;
}

.bottone-singolo a {
    margin-bottom: 0 !important;
    text-transform: uppercase;
    font-size: 18px !important;
}

.riga-related {
    margin-top: 60px
}

.riga-related h3 {
    margin-bottom: 40px;
    font-weight: bold;
}

.foto-header {
    width: 100%;
    height: 600px;
    background-position: center center;
    background-size: cover;
}

/* FINE PRODOTTO */
/*== INIZIO GRID 3 ==*/
ul.grid-3 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    padding: 0;
}

ul.grid-3 li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    width: 33.3333%;
    padding: 40px 85px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.grid-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0;
    /* border: 1px solid #074A28; */
    width: 100%;
    background: #fff;
    /* transition: opacity .1s ease, box-shadow .32s ease; */
    -webkit-transition: all .32s ease !important;
    -o-transition: all .32s ease !important;
    transition: all .32s ease !important;
}

.grid-content img {
    width: 100%
}

.grid-content:hover {
    /* border: 1px solid #074A28; */
    /* box-shadow: 0 25px 40px rgb(0 0 0 / 22%); */
    /* transition: opacity .1s ease, box-shadow .32s ease; */
    -webkit-transition: all .32s ease !important;
    -o-transition: all .32s ease !important;
    transition: all .32s ease !important;
}

/*== FINE GRID 3 ==*/
/*== INIZIO GRID 4 ==*/
ul.grid-4 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-left: 0px;
    margin-right: 0px;
    padding: 0;
}

ul.grid-4 li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    width: 25%;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
}

ul.grid-4 li:nth-child(4n+1) {
    border-left: 1px solid #000;
}

ul.grid-4 li:nth-child(-n+4) {
    border-top: 1px solid #000;
}

.grid-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0;
    /* border: 1px solid #074A28; */
    width: 100%;
    background: #fff;
    /* transition: opacity .1s ease, box-shadow .32s ease; */
    -webkit-transition: all .32s ease !important;
    -o-transition: all .32s ease !important;
    transition: all .32s ease !important;
}

.grid-content img {
    width: 100%
}

.grid-content:hover {
    /* border: 1px solid #074A28; */
    /* box-shadow: 0 25px 40px rgb(0 0 0 / 22%); */
    /* transition: opacity .1s ease, box-shadow .32s ease; */
    -webkit-transition: all .32s ease !important;
    -o-transition: all .32s ease !important;
    transition: all .32s ease !important;
}

.grid-content h4 {
    padding: 0 20px;

    text-align: center;
    line-height: 120% !important;
    font-weight: bold !important;
    text-transform: uppercase;
    font-size: 16px !important;
    margin-bottom: 0 !important;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    position: relative;
}

.titolo-content {
    position: relative;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    min-height: 80px;
    width: 100%
}

.dettagli .det-left {
    border-bottom: 1px solid #000;
    padding: 8px;
    font-size: 16px !important;
    width: 60%;
    float: left;
    display: table;
}

.dettagli .det-right {
    text-align: right;
    float: right;
    border-left: 1px solid #000;
    width: 40%;
    border-bottom: 1px solid #000;
    padding: 8px;
    font-size: 16px !important
}

/*== FINE GRID 4 ==*/
/* 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: 18px 15px !important;
    border-color: #000 !important;
    font-weight: 400 !important
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #000 transparent transparent transparent !important;
}

.select2-container--default .select2-selection--single:hover .select2-selection__arrow b {
    border-color: #fff transparent transparent transparent !important;
}

.select2-dropdown {
    border-radius: 0 !important
}

.line-cf7 {
    width: 100%;
    height: 2px;
    background: #000;
    margin: 40px 0
}

body.material input[type=text]:focus,
body.material input[type=email]:focus,
body.material textarea:focus {
    border: 1px solid #fff !important;
    box-shadow: 0 0 0 rgb(255 255 255 / 0%) !important;
}

.wpcf7-form {
    display: table;
    margin: 0 auto;
    padding: 15px 0
}

.wpcf7 p {
    padding: 0
}

.summary .wpcf7-form {
    text-align: left;
    margin: 0 0 10px 0
}

.wpcf7-form label span {
    text-align: left !important;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    display: flex;
}

body .light .wpcf7-form p span,
.wpcf7-form p span {
    font-size: 18px;
}

.campo label,
.campo-area label {
    text-align: left !important;
    font-size: 18px !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
}

/* INIZIO FORM DARK */
body.material .form-dark input[type=text]:focus,
body.material .form-dark input[type=email]:focus,
body.material .form-dark textarea:focus {
    border: 1px solid #000 !important;
    box-shadow: 0 0 0 rgb(0 0 0 / 0%) !important;
}

.form-dark .wpcf7-form label span {
    color: #000;
}

.form-dark ::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #000 !important;
    opacity: 1 !important;
    /* Firefox */
}

.form-dark :-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #000 !important;
}

.form-dark ::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #000 !important;
}

.form-dark input.wpcf7-date {
    color: #000;
    font-size: 17px !important;
    font-weight: 400;
    border: 1px solid #000 !important;
    background: transparent !important;
    width: 100% !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    padding: 18px 15px !important
}

.form-dark input.wpcf7-text,
input.wpcf7-quiz {
    color: #000;
    font-size: 18px !important;
    font-weight: 400;
    border: 1px solid #000 !important;
    background: transparent !important;
    width: 100% !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    padding: 20px 15px !important
}

.form-dark .wpcf7-textarea {
    color: #000;
    font-size: 18px !important;
    border: 1px solid #000 !important;
    background: transparent !important;
    resize: none !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    height: 325px !important;
    padding: 20px 15px !important
}

body[data-form-submit="regular"] .container-wrap .form-dark input[type=submit].wpcf7-submit {
    background: #000;
    border: none;
    font-size: 18px !important;
    color: #fff !important;
    padding: 15px 60px !important;
    text-transform: uppercase;
}

body[data-form-submit="regular"] .form-dark input.wpcf7-submit:hover {
    background: #941E1A !important;
    color: #fff !important;
    opacity: 1 !important;
    border: none !important;
}

.form-dark span[data-name="trattamento-dati"] {
    color: #000 !important;
}

.form-dark a.trattamento-dati-link {
    color: #000 !important;
}

.form-dark a.trattamento-dati-link:hover {
    color: #000 !important;
}

.form-dark a.link-trattamento {
    color: #000 !important;
}

.form-dark [type="checkbox"]:not(:checked) + span:before,
.form-dark [type="checkbox"]:checked + span:before {
    border: 1px solid #000;
}

.form-dark [type="checkbox"]:not(:checked) + span:after,
.form-dark [type="checkbox"]:checked + span:after {
    color: #000;
}

/* FINE FORM DARK */
::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: #fff;
    font-size: 17px !important;
    font-weight: 400;
    border: 1px solid #fff !important;
    background: transparent !important;
    width: 100% !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    padding: 18px 15px !important
}

input.wpcf7-text,
input.wpcf7-quiz {
    color: #fff;
    font-size: 18px !important;
    font-weight: 400;
    border: 1px solid #fff !important;
    background: transparent !important;
    width: 100% !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    padding: 20px 15px !important
}

.wpcf7-textarea {
    color: #fff;
    font-size: 18px !important;
    border: 1px solid #fff !important;
    background: transparent !important;
    resize: none !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    height: 325px !important;
    padding: 20px 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 {
    background: transparent;
    border: 1px solid #fff;
    font-size: 18px !important;
    color: #fff !important;
    padding: 15px 60px !important;
    text-transform: uppercase;
}

body[data-form-submit="regular"] input.wpcf7-submit:hover {
    background: #000 !important;
    border: 1px solid #000 !important;
    color: #fff !important;
    opacity: 1 !important
}

div.wpcf7-response-output {
    margin: 0 !important;
}

.form-dark input.wpcf7-not-valid,
.form-dark textarea.wpcf7-not-valid,
.form-dark select.wpcf7-not-valid input.wpcf7-not-valid,
textarea.wpcf7-not-valid,
select.wpcf7-not-valid {
    border: 1px solid #ff2132 !important;
}

span.wpcf7-not-valid-tip {
    display: none !important;
}

.wpcf7-checkbox.wpcf7-not-valid {
    border: none !important;
}

.form-dark .wpcf7-checkbox.wpcf7-not-valid span,
.wpcf7-checkbox.wpcf7-not-valid span {
    color: #ff2132 !important;
}

span.wpcf7-list-item {
    margin: 0 !important
}

.form-dark .Accetto span.wpcf7-not-valid-tip,
.Accetto span.wpcf7-not-valid-tip {
    display: inherit !important;
    font-size: 14px !important;
    margin-left: 5px !important;
    color: #ff2132 !important;
}

.form-dark div.wpcf7-validation-errors,
.form-dark .wpcf7 form.invalid .wpcf7-response-output,
.form-dark .wpcf7 form.unaccepted .wpcf7-response-output,
div.wpcf7-validation-errors,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    color: #ff2132 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    font-size: 16px;
    display: block;
    clear: both;
    float: right;
}

.form-dark div.wpcf7-mail-sent-ok,
.form-dark .wpcf7 form.sent .wpcf7-response-output,
div.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
    color: #398F14 !important;
    padding: 0 !important;
    border: none !important;
    font-size: 16px;
    background: none;
    display: block;
    clear: both;
    float: right;
}

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: 18px;
    font-weight: 400;
    -webkit-transition: all .3s ease !important;
    -o-transition: all .3s ease !important;
}

a.trattamento-dati-link:hover {
    color: #fff;
    opacity: .8;
    -webkit-transition: all .3s ease !important;
    -o-transition: all .3s ease !important;
}

a.link-trattamento {
    font-size: 18px !important;
    color: #fff;
}

a.link-trattamento:hover {
    color: #74CD7D !important;
}

h3.notifica-corso {
    font-size: 20px !important
}

/* INIZIO CAPTCHA */
img.wpcf7-captchac {
    margin-top: 5px !important;
    margin-bottom: 10px !important;
    border: none
}

.campo-captcha {
    color: #000;
    margin: 10px 0;
}

input.wpcf7-captchar {
    color: #000;
    font-size: 17px !important;
    border: 1px solid #000;
    background: #fff !important;
    width: 200px !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    padding: 15px 10px !important
}

/* FINE CAPTCHA */

.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 #ff2132;
}

.math-quiz {
    margin-top: 10px;
    display: table
}

.wpcf7-spinner {
    top: 15px;
    float: left;
}

/* FINE 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: 0;
    width: 1.25em;
    height: 1.25em;
    border: 1px solid #fff;
    background: transparent;
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .1);
}

[type="checkbox"]:not(:checked) + span:after,
[type="checkbox"]:checked + span:after {
    content: '\2714';
    position: absolute;
    top: 5px;
    left: 4px;
    font-size: 1em;
    line-height: 0.8;
    color: #fff;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .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 #4778d9 !important;
}

/* CUSTOM CHECKBOX */
/* INIZIO FOOTER */
#footer-widgets {
    font-size: 13px;
    line-height: 20px
}

#footer-widgets .widget_custom_html {
    margin-bottom: 0 !important
}

body #footer-outer .row {
    padding: 35px 0
}

#custom_html-3 {
    text-align: right;
    position: relative;
    top: 80px;
}

/* FINE FOOTER */
@media only screen and (max-width: 1599px) {
    .richiesta {
        width: 100%
    }
}

@media only screen and (max-width: 1299px) {
    ul.grid-4 li {
        width: 33.33%
    }

    ul.grid-4 li:nth-child(4n+1) {
        border-left: 0px solid #000;
    }

    ul.grid-4 li:nth-child(-n+4) {
        border-top: 0px solid #000;
    }

    ul.grid-4 li:nth-child(3n+1) {
        border-left: 1px solid #000;
    }

    ul.grid-4 li:nth-child(-n+3) {
        border-top: 1px solid #000;
    }
}

@media only screen and (max-width: 1199px) {
    ul.grid-4 li {
        width: 50%
    }

    ul.grid-4 li:nth-child(3n+1) {
        border-left: 0px solid #000;
    }

    ul.grid-4 li:nth-child(-n+3) {
        border-top: 0px solid #000;
    }

    ul.grid-4 li:nth-child(2n+1) {
        border-left: 1px solid #000;
    }

    ul.grid-4 li:nth-child(-n+2) {
        border-top: 1px solid #000;
    }

    .full-resp {
        width: 100% !important
    }

    /* .full-resp-right {
    text-align: right;
    float: right;
  }

  .full-resp-right img {
    text-align: right;
    float: right;
  } */
}

@media only screen and (max-width: 999px) {

    #search-outer #search #close,
    body.material #header-outer #search-outer #search #close {
        top: 30px;
        right: 0px;
    }

    body.material #search-outer #search #search-box input[type="text"] {
        font-size: 18px !important
    }

    .single-linee-prodotto .main-content img {
        margin: 20px auto;
        text-align: center;
        display: table;
    }

    .dettagli .det-left,
    .dettagli .det-right {
        font-size: 15px !important;
    }

    .foto-header {
        height: 300px
    }

    .w-50 {
        width: 100%
    }

    .richiesta {
        max-width: 600px;
        padding-left: 0;
        padding-right: 0
    }

    .align-left,
    .align-right {
        float: none
    }

    .p-t-90 {
        padding-top: 0
    }

    h2 br {
        display: none
    }

    h2 .testo-big {
        font-size: 40px !important;
        line-height: 48px !important
    }

    h2 .underline,
    h3 .underline {
        line-height: 45px !important;
    }

    .timeline-linea {
        display: none
    }

    #slide-out-widget-area[data-dropdown-func].fullscreen-split .inner .off-canvas-menu-container li li a {
        line-height: 22px !important
    }

    #slide-out-widget-area .menuwrapper .menu,
    body #slide-out-widget-area .menu.subview .subviewopen > .sub-menu {
        text-align: left !important;
    }

    #slide-out-widget-area.fullscreen-alt .inner .off-canvas-menu-container li a {
        font-size: 28px !important;
        line-height: 30px !important
    }

    body .nectar-slider-wrap[data-full-width="true"] .swiper-slide .content h2 {
        font-size: 30px !important;
        line-height: 38px !important
    }

    .nectar-slider-wrap[data-full-width="true"] .swiper-slide .content p {
        font-size: 18px !important;
        line-height: 24px !important
    }

    .nectar-slider-wrap .swiper-container .swiper-slide .button a {
        font-size: 14px;
        line-height: 100% !important;
        padding: 16px 20px !important
    }

    .nectar-slider-wrap[data-full-width="true"] .swiper-slide .content p br,
    .nectar-slider-wrap[data-full-width="true"][data-fullscreen="false"] .swiper-slide .content p br {
        display: none
    }

    .campo-half {
        width: 100%
    }

    .campo-half.right {
        float: none
    }

    .wpcf7-textarea {
        height: 200px !important
    }

    body .light .wpcf7-form p span,
    .wpcf7-form p span,
    a.trattamento-dati-link {
        font-size: 14px !important
    }

    .float-left,
    .float-right {
        float: none !important
    }

    .wpcf7-spinner {
        float: none;
        top: 5px
    }

    p.invio .wpcf7-submit {
        margin-top: 10px
    }

    .form-dark div.wpcf7-validation-errors,
    .form-dark .wpcf7 form.invalid .wpcf7-response-output,
    .form-dark .wpcf7 form.unaccepted .wpcf7-response-output,
    div.wpcf7-validation-errors,
    .wpcf7 form.invalid .wpcf7-response-output,
    .wpcf7 form.unaccepted .wpcf7-response-output,
    .form-dark div.wpcf7-mail-sent-ok,
    .form-dark .wpcf7 form.sent .wpcf7-response-output,
    div.wpcf7-mail-sent-ok,
    .wpcf7 form.sent .wpcf7-response-output {
        float: none;
    }

}

@media only screen and (max-width: 690px) {
    #slide-out-widget-area.fullscreen-split .off-canvas-menu-container > ul > li {
        margin-bottom: 18px !important;
    }

    .richiesta {
        max-width: 420px;
    }

    ul.grid-4 li {
        width: 100%
    }

    .tabella-orari .orari {
        padding: 10px;
    }

    .tabella-orari table td {
        font-size: 20px !important;
        padding: 5px !important
    }

    ul.grid-4 li:nth-child(2n+1) {
        border-left: 0px solid #000;
    }

    ul.grid-4 li:nth-child(-n+2) {
        border-top: 0px solid #000;
    }

    ul.grid-4 li:nth-child(1n+1) {
        border-left: 1px solid #000;
    }

    ul.grid-4 li:nth-child(-n+1) {
        border-top: 1px solid #000;
    }

    #nectar-slider-instance-1,
    #nectar-slider-instance-1 .swiper-container,
    .nectar-slider-wrap[data-transition="fade"] .swiper-slide {
        height: 380px !important
    }

    body .nectar-slider-wrap[data-full-width="true"] .swiper-slide .content h2 {
        font-size: 30px !important;
        line-height: 38px !important
    }

    .nectar-slider-wrap[data-full-width="true"] .swiper-slide .content p,
    .nectar-slider-wrap[data-full-width="true"][data-fullscreen="false"] .swiper-slide .content p {
        font-size: 18px !important;
        line-height: 24px !important
    }

    .nectar-slider-wrap .swiper-container .swiper-slide .button a {
        font-size: 14px;
        line-height: 100% !important;
        padding: 16px 20px !important
    }

    #footer-widgets .container .col {
        margin-bottom: 10px !important
    }

    #custom_html-3 {
        top: 0;
        text-align: left;
    }
}

@media only screen and (max-width: 479px) {
    .richiesta {
        max-width: 320px;
    }
}
