:root {
    --light-grey: #E2E2E2;
    --dark-grey: #707070;
    --white: #fff;
    --blue: #003369;
    --red: #E8424F;
    --light-blue: #80A8D1;
}

.otgs-development-site-front-end {
    display: none;
}

.breadcrumb-item.breadcrumb-home+.breadcrumb-item::before {
    display: none;
}

/* #wpadminbar {
    display: none;
} */

/* Generale */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Maven Pro', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
}

body.admin-bar {
    min-height: calc(100vh - 46px);
}

main {
    flex: auto;
    padding: 203px 0 50px;
}



@media(min-width: 783px) {
    body.admin-bar {
        min-height: calc(100vh - 32px);
    }

    body.admin-bar main {
        padding-top: 171px;
    }
}

/* Selettore Lingua */
.lang-sel-section {
    background-color: var(--light-grey);
    padding: 26px 0 21px;
    text-transform: uppercase;
}

.lang-sel-section .nav-item:not(:last-of-type) .nav-link::after {
    content: '/';
    display: inline-block;
}

.lang-sel-section .nav-link,
.lang-sel-section .nav-link:visited,
.lang-sel-section .nav-link:hover,
.lang-sel-section .nav-link:active {
    color: var(--dark-grey);
    padding: 0 5px 0 0;
}

.lang-sel-section .nav-link.active,
.lang-sel-section .nav-link:hover,
.lang-sel-section .nav-link:active {
    opacity: .7;
}

/* Navbar */

.navbar {
    padding: 25px 0;
    background-color: var(--white);
}

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

@media(max-width:576px) {
    .navbar .navbar-brand,
    .navbar .navbar-brand img {
        width: 75%;
    }
}

/* Blocco Banner */

.pubfa-banner-section {
    padding: 43px 0;
}

.banner-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 33px;
    letter-spacing: 0;
}

.banner-text {
    font-size: 28px;
    font-weight: 600;
    line-height: 33px;
    letter-spacing: 0;
}

.banner-text>* {
    margin-bottom: 0;
}

/* Blocco Card */

.pubfa-card-section {
    padding: 50px 0 0;
}

.pubfa-card-section .order-lg-0,
.pubfa-card-section .order-lg-2 {
    padding-bottom: 25px;
}

.card-text strong,
.card-text a {
    font-weight: 500;
}

.card-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.card-link {
    border-radius: 0;
    text-transform: uppercase;
    padding: 6px 10px;
    margin-top: 26px;
    font-size: 14px;
    line-height: 17px;
    transition: .3s;
}

.pubfa-card-section a:hover,
.pubfa-card-section a:active {
    opacity: .7 !important;
}

.card-link::after {
    content: '';
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-left: 7px;
    background-image: url('../img/freccia_bianco.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

@media(min-width:992px) {

    .pubfa-card-section .order-lg-0,
    .pubfa-card-section .order-lg-2 {
        padding-bottom: 0;
    }
}

/*  Footer */
footer {
    background-color: var(--light-grey);
    color: var(--dark-grey);
    text-align: center;
    padding-bottom: 15px;
}

footer .policy-section,
footer .company-data-section {
    padding: 15px 0 0;
}

footer .policy-section p,
footer .company-data-section p {
    margin-bottom: 0;
}

footer a,
footer a:visited,
footer a:hover,
footer a:active {
    color: var(--dark-grey);
    text-decoration: none;
}

footer a.active,
footer a:hover,
footer a:active {
    opacity: .7;
}

/* Form Contatti */
.contact-form-section {
    text-align: left;
    padding: 50px 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--white);
    position: relative;
}
.contact-form-section #form-contatti {
    position: absolute;
    top: -150px;
}

.contact-form-section .container {
    max-width: 760px !important;
}

.contact-form-section .heading {
    font-size: 18px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: 0;
    margin-bottom: 40px;
}

.contact-form-section .form-control {
    border-radius: 0;
    margin-bottom: 20px;
    border: none;
}

.contact-form-section .form-control::placeholder {
    color: var(--dark-grey);
}

.contact-form-section .form-check {
    font-size: 12px;
    line-height: 15px;
    margin-bottom: 23px;
    padding: 0;
    min-height: 15px;
}

.contact-form-section .form-check p {
    margin-bottom: 0;
    height: 15px;
}

.contact-form-section .form-check a {
    color: var(--white);
}

.contact-form-section .wpcf7-list-item label {
    display: flex;
    align-items: center;
}

.contact-form-section .wpcf7-list-item input[type=checkbox] {
    -moz-appearance: none;
    -webkit-appearance: none;
    -o-appearance: none;
    appearance: none;
    outline: none;
    content: none;
}

.contact-form-section .wpcf7-list-item input[type="checkbox"]:before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 0;
    border: 1px solid var(--white);
    background-color: var(--white);
    transition: .3s;
}

.contact-form-section .wpcf7-list-item input[type="checkbox"]:checked::before {
    background-color: var(--blue) !important;
}

.contact-form-section .wpcf7-list-item .wpcf7-list-item-label {
    padding-left: 30px;
}

.contact-form-section .input-group {
    justify-content: center;
    padding-top: 50px;
}

.contact-form-section .form-submit-btn {
    border: none;
    border-radius: 0;
    color: var(--blue);
    text-transform: uppercase;
    font-size: 14px;
    line-height: 17px;
    font-weight: 500;
    width: 160px;
    height: 36px;
    background-image: url('../img/freccia_blu.png');
    background-position-x: 135px;
    background-position-y: center;
    background-repeat: no-repeat;
    background-size: 11px 11px;
    background-color: var(--white);
    transition: .3s;
}

.contact-form-section .form-submit-btn:hover,
.contact-form-section .form-submit-btn:active {
    opacity: .7;
}

.contact-form-section .submit-col {
    position: relative;
}

.contact-form-section .form-info {
    position: absolute;
}

.contact-form-section .wpcf7-not-valid-tip {
    color: var(--white);
}

.contact-form-section .wpcf7-response-output {
    background-color: var(--white);
    color: var(--dark-grey);
}

.contact-form-section .input-group p {
    max-width: 160px;
    max-height: 36px;
    margin: 0 auto;
}

@media(min-width:576px) {

    .contact-form-section {
        padding: 100px 0;
    }

    .contact-form-section .input-group {
        padding-top: 0;
    }

    .contact-form-section .form-check {
        padding: 0 50px;
    }
}

/* Template Redirect */

.redirect-message-section .success-message-box {
    max-width: 600px;
    width: 100%;
    height: 100%;
    padding: 30px;
    background-color: var(--light-grey);
    text-align: center;
}

.redirect-message-section .success-message-box .banner-title,
.redirect-message-section .success-message-box .banner-subtitle {
    margin-bottom: 2rem;
}

.redirect-message-section .success-message-box .video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    padding-bottom: 315px;
}


.redirect-message-section .success-message-box .video-wrapper iframe {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.redirect-message-section .success-message-box .card-link {
    background-color: var(--red);
    color: var(--white);
    transition: .3s;
}

.redirect-message-section .success-message-box .card-link:hover {
    opacity: .7;
}

.redirect-message-section .success-message-box .card-link::after {
    content: '';
    display: none;
}