/*
Theme Name: Canducci Engineering
Author: Up Studio
Author URI: https://upstudiocreativo.it
Version: 2024.4
Text Domain: saz
Template: azione5
*/


a,
a:hover,
a:focus,
a:active {
    outline: none !important;
}

body {
    background: #C7C4BD !important;
}

body.editor-styles-wrapper,
body.block-editor-page,
body.wp-admin {
    background: #FFF !important;
}

input:focus {
    outline: none;
}

*:focus {
    outline: 0;
}

body.single-post a:hover {
    text-decoration: underline;
}

.wp-block-gallery.is-layout-flex {
    display: block;
}

.wp-block-column {
    padding: 0;
}

.embed-responsive-21by9::before {
    padding-top: 42.3%;
}

a:hover {
    text-decoration: none;
}

button:focus {
    outline: none;
}

.search-form .form-control {
    margin: 0 !important;
}

.search__input:focus {
    outline: none;
}

.navbar-brand {
    line-height: 0;
    margin-right: 0;
}

.navbar,
.navbar-brand,
.navbar-brand svg,
.immagine-prodotto img,
.prodotto-container,
li.menu-item,
.nav-link,
.img-project,
.img-project img {
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.border-white-custom {
    border-bottom: 1px solid #fff !important;;
 }
 
 .border-white-custom:last-child {
     border: none !important;
 }
/* FAQ */

.panel-faq {
    border-bottom: 1px solid #F0E509 !important;
}

.panel-faq .panel-heading a {
    font-weight: 400 !important;
    padding: 2rem 0 !important;
}

.panel-faq .panel-heading a.collapsed {
    padding: 2rem 0 !important;
}

.panel-faq:first-child .panel-heading {
    border-top: 1px solid #F0E509;
}

.panel-faq .panel-heading a.collapsed:before {
    color: #F0E509;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -15px;
}

.panel-faq p {
    font-size: 1rem;
    font-weight: 300;
}

.panel-faq .panel-heading a:before {
    width: 30px;
    height: 30px;
    border-radius: 50rem;
    border: 1px solid #F0E509;
    color: #F0E509;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -15px;
}

/* Hamburger */

#nav-icon4 {
    width: 30px;
    height: 15px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

#nav-icon4 span {
    display: block;
    position: absolute;
    height: 1.5px;
    width: 100%;
    border-radius: 0;
    opacity: 1;
    right: 0;
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#nav-icon4 span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 10px;
    left: 0;
}

#nav-icon4 span:nth-child(2) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    opacity: 1;
    top: 10px;
    left: 0;
    width: 100%;
}

.collapsed #nav-icon4 span {
    opacity: 1;
    right: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
}

.collapsed #nav-icon4 span:nth-child(1) {
    top: 2px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.collapsed #nav-icon4 span:nth-child(2) {
    top: 10px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
    width: 100%;
}

#navbarContenutoMenu {
    display: none;
}

body.menu-mobile-open #nav-icon5 span {
    background: #FFF;
}

body.menu-mobile-open #nav-icon5 span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 3px;
    left: 3px;
}

body.menu-mobile-open #nav-icon5 span:nth-child(2) {
    width: 0%;
    opacity: 0;
    top: 10px;
    left: 0;
}

body.menu-mobile-open #nav-icon5 span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 18px;
    left: 3px;
}

body.menu-mobile-open.modal-open .search-form:before {
    display: none;
}

body.single-marchio .navbar-hover li.menu-item-object-marchio a {
    color: #343e47 !important;
}

.gform_wrapper.gravity-theme input[type=color],
.gform_wrapper.gravity-theme input[type=date],
.gform_wrapper.gravity-theme input[type=datetime-local],
.gform_wrapper.gravity-theme input[type=datetime],
.gform_wrapper.gravity-theme input[type=email],
.gform_wrapper.gravity-theme input[type=month],
.gform_wrapper.gravity-theme input[type=number],
.gform_wrapper.gravity-theme input[type=password],
.gform_wrapper.gravity-theme input[type=search],
.gform_wrapper.gravity-theme input[type=tel],
.gform_wrapper.gravity-theme input[type=text],
.gform_wrapper.gravity-theme input[type=time],
.gform_wrapper.gravity-theme input[type=url],
.gform_wrapper.gravity-theme input[type=week],
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea {
    font-size: 15px;
    padding: 12px !important;
    margin-bottom: 0;
    margin-top: 0;
    border: 1px solid #ccc;
    border-radius: 0 !important;
    background: transparent;
}

.gform_wrapper.gravity-theme .gfield_label {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #666 !important;
}

.gform_fileupload_rules {
    font-size: 13px !important;
    color: #666;
}

.gform_wrapper .gfield_required {
    display: none !important;
}

.gfield_select {
    padding: 13px 12px !important;
}

.field_description_below {
    text-align: left;
}

.gfield_consent_label {
    padding-left: 10px;
}

.field_description_below a {
    font-weight: 600;
    text-decoration: underline;
}

#disabled *:focus {
    outline: none;
}

.gform_button {
    background: #343e47;
    color: #fff;
    padding: 10px;
    border: none;
}

.gform_button:hover {
    background: #2d343a;
    color: #fff;
    padding: 10px;
    border: none;
}

/*Modale Search */

#searchModal .modal-dialog {
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

#searchModal button.close {
    position: absolute;
    top: 30px;
    right: 30px;
    opacity: .9;
    text-shadow: none;
}

.modal-backdrop {
    opacity: 1 !important;
}

#searchModal .modal-content {
    width: 45%;
    background-color: transparent;
    border: none;
}

#searchModal .search-form-modale .form-control {
    padding: 0 80px !important;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff !important;
    font-weight: 300;
    font-size: 2rem;
    border-bottom: none;
    cursor: pointer;
    border-radius: 100px;
}

.modal-body .fa-search {
    position: absolute;
    left: 50px;
}

#searchModal input::placeholder {
    /* Firefox, Chrome, Opera */
    color: rgba(255, 255, 255, 0.8) !important;
}

#searchModal input:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: rgba(255, 255, 255, 0.8) !important;
}

#searchModal input::-ms-input-placeholder {
    /* Microsoft Edge */
    color: rgba(255, 255, 255, 0.8) !important;
}

.notes {
    opacity: 1;
    font-size: 0.875rem;
    pointer-events: none;
    min-height: 60px;
    line-height: 30px;
    padding: 0;
    color: #fff;
    text-align: right;
    margin-right: 20px;
}

.intestazione {
    position: relative;
    height: calc(100vh - 83px);
}

#carousel-intestazione {
    background: #3f444a;
    position: relative;
}

#carousel-intestazione .carousel-inner,
#carousel-intestazione .carousel-item {
    height: calc(100vh - 83px);
}

.carousel-indicators li {
    margin-right: 10px;
    margin-left: 10px;
}

.c-intro-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    -o-object-fit: cover;
    object-fit: cover;
}

body.admin-bar #carousel-intestazione .carousel-inner,
body.admin-bar #carousel-intestazione .carousel-item,
body.admin-bar .c-intro-img-bg,
body.admin-bar .intestazione {
    height: calc(100vh - 129px);
}

#videoHomepagePlay.play {
    position: absolute;
    top: 50%;
    z-index: 20;
    width: 100px;
    margin-left: -50px;
    height: 70px;
    text-align: center;
    margin-top: -35px;
    color: #FFF;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    left: 50%;
}

#videoHomepagePlay.play:hover {
    opacity: 1;
}

#ex1 {
    display: none;
}

iframe {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: calc(100vh - 40px);
    position: relative;
    z-index: 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #343e47;
}

.modal-content {
    background-color: transparent;
    margin: auto;
    padding: 20px;
    width: 100%;
}

.close {
    color: #fff;
    float: right;
    font-size: 1.5em;
    font-weight: 400;
    -webkit-transition: all .5s;
    transition: all .5s;
    cursor: pointer;
    position: absolute;
    right: 20px;
    z-index: 1000;
    opacity: 0.8;
}

.close:hover,
.close:focus {
    -webkit-transform: rotateZ(90deg);
    transform: rotateZ(90deg);
    text-decoration: none;
    cursor: pointer;
    color: #fff;
    opacity: 1;
}

#modBg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 100%;
    height: 100vh;
    display: block;
    cursor: pointer;
}

.button-row {
    text-align: right;
}

/* Carousel Flickity Gallery */

.carousel-gallery .carousel-cell-small {
    height: calc(calc(100vw - 6rem) * 0.5625);
    position: relative;
    text-align: left;
    display: inline-block;
    margin-right: 4px;
    margin-left: 4px;
    overflow: hidden;
    width: 100%;
}

.carousel-gallery .carousel-cell-small:before {
    content: "";
    position: absolute;
    z-index: 10;
    height: 100%;
    background: linear-gradient(-180deg, rgba(25, 61, 77, 0) 0%, rgba(0, 0, 0, 0.2) 70%);
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;

}

.carousel-gallery .carousel-cell-image {
    width: 100%;
    height: calc(calc(100vw - 6rem) * 0.5625);
    object-fit: cover;
}

.carousel-gallery .flickity-prev-next-button,
.Slider .flickity-prev-next-button {
    width: 25px !important;
    height: 25px !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 1);
}

.carousel-gallery .flickity-prev-next-button svg,
.Slider .flickity-prev-next-button svg {
    position: absolute;
    left: 30%;
    top: 30%;
    width: 40%;
    height: 40%;
}

.carousel-gallery .flickity-prev-next-button .arrow,
.Slider .flickity-prev-next-button .arrow {
    fill: #fff;
}

.carousel-gallery .carousel-control-prev,
.carousel-gallery .carousel-control-next {
    position: relative;
}

.bg-sfondo {
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mt-110 {
    margin-top: 83px;
}

#saz_posts_navigation {
    display: none;
}

@media (min-width: 992px) {

    body.admin-bar header.fixed-top {
        top: 32px !important;
    }

    .mt-110 {
        margin-top: 72px;
    }

    .ginput_container_consent {
        display: inline-flex;
        align-items: baseline;
    }

    .intestazione {
        position: relative;
        height: calc(100vh - 72px);
    }

    #carousel-intestazione .carousel-inner,
    #carousel-intestazione .carousel-item {
        height: calc(100vh - 72px);
    }

    body.admin-bar #carousel-intestazione .carousel-inner,
    body.admin-bar #carousel-intestazione .carousel-item,
    body.admin-bar .c-intro-img-bg,
    body.admin-bar .intestazione {
        height: calc(100vh - 104px);
    }

    .carousel-gallery .carousel-cell {
        height: 560px;
        text-align: left;
        margin-right: 7.5px;
        margin-left: 7.5px;
    }

    .carousel-gallery .carousel-cell img {
        height: 560px;
        margin: 0 auto;
    }

    .carousel-gallery .numeri-gallery {
        padding-right: 0;
    }

    ul.menu-principale li .sub-menu li:last-child:before {
        content: '';
    }
}

@media (max-width: 991px) {

    .container {
        max-width: 100%;
    }

    .box-contenuto {
        padding: 40px 20px;
        text-align: center;
    }

    .bg-sfondo {
        height: auto;
        padding: 40px 20px;
    }

    .text-center-mobile,
    .body-news {
        text-align: center;
    }

    .navbar-toggler {
        padding: 0;
    }

    .navbar-brand {
        padding: 1.25rem 0;
    }

    .intestazione .contenuto-intestazione {
        display: flex;
        align-items: end;
        height: calc(100vh - 104px);
    }

    .c-intro-img-bg {
        height: calc(100vh - 104px);
    }

    .contenitore-contenuto h1 {
        font-size: 40px;
        margin-bottom: 40px;
        margin-left: 15px;
    }

    #videoHomepagePlay.play {
        position: absolute;
        top: inherit;
        bottom: 40px;
    }

    .is-layout-flex {
        display: block !important;
    }

    .carousel-control-prev,
    .carousel-control-next {
        font-size: 1.5rem;
    }

    .card-marchi .card-img-overlay img {
        width: 180px;
        height: auto;
    }

    .ginput_container_consent {
        display: block;
    }

    .gfield_consent_label {
        padding-left: 0;
    }

    .text-center-mobile p {
        font-size: 15px;
    }

    .carousel-gallery .carousel-cell-small {
        position: relative;
        text-align: left;
        display: inline-block;
        margin-right: 8px;
        margin-left: 8px;
        overflow: hidden;
        width: 100%;
    }

    body.admin-bar header.fixed-top {
        top: 46px;
    }

}

@media (min-width: 1950px) {

    .container-fluid,
    body.single-progetto .entry-content>.alignfull {
        max-width: 1920px;
        margin: 0 auto;
    }
    .lettera{
        left: 10%;
    }

}

@media (min-width: 992px) and (max-width: 1400px) {}

@media (min-width: 783px) {

    /* NB questo breakpoint è definito in WP, non in Bootstrap */
    body.admin-bar header.fixed-top {
        top: 0;
    }
}

@media (max-width: 600px) {
    #wpadminbar {
        position: fixed;
    }
}


/* ------------------- */