header > div {
    background: #F0F5FA;
}

header .gs1-background-color-ui-1 {
    padding-top: 3px;
    padding-bottom: 3px;
}

header .text-end {
    padding: 0 1.6rem;
}

header .text-end * {
    font-size: 0.8rem;
    margin-right: 0.3rem !important;
}

header .text-end a {
    margin-left: 0.4rem !important;
}

.icon-twitter {
    font-size: 2rem;
}

.twitter-box {
    color: #002C6C;
    padding: 0 11rem;
}

.twitter-textbox {
    padding-top: 0.8rem;
    margin-left: 2.5rem;
}

.navbar.is-alternate .subbar {
    display: block;
}

.row > .col > img,
.row > [class^="col-"] > img {
    max-width: 100%;
}

h2, .gs1-h2 {
    margin-top: 0;
}

.banner-evento {
    color: #FFF;
}

.banner-evento .data-evento {
    border-right: 2px solid #474747;
    font-size: 0.8rem;
    text-align: center;
}

.banner-evento .data-evento .year {
    font-size: 2.5rem;
}

.banner-evento .title {
    margin: 3px 0;
    padding: 0 0 0 2em;
}

.banner-evento .scopri {
    text-align: center;
    margin: 1em 0;
}

.osservatori-tabs {
    border-bottom: none;
    position: relative;
    width: 100%
}

.osservatori-tabs .nav-share {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
}

#osservatori-ed-prec {
    background: #002c6c;
    text-align: center;
    color: #FFF !important;
}

#osservatori-ed-prec a {
    color: #fff;
    font-weight: bold;
}

.osservatori-card h1,
.osservatori-card h2,
.osservatori-card h3,
.osservatori-card h4,
.osservatori-card h5,
.osservatori-card h6 {
    padding: 0 !important;
    margin: 0 !important;
    margin-bottom: 1rem !important;
}

.osservatori-card p {
    font-size: 0.8rem;
}

#typ-cnt {
    background: #F0F5F9;
    text-align: center;
}

#typ-title,
#typ-subtitle {
    color: #002c6c;
    font-size: 2.5em;
    font-weight: normal;
}

#typ-subtitle {
    font-size: 1.5em;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    will-change: transform;
}

.sticky-top {
    top: 0.1rem;
    background: #FFF;
}

.cms-ready .sticky-top {
    top: 2.8rem;
}

.sticky-box {
    top: 6rem;
}

#osservatori-menu .container-fluid {
    border-bottom: 4px solid #e5e8eb;
}

#osservatori-menu .container-fluid .container .row ul li a {
    color: #262626;
}

#contattaci {
    background: #102964 url("../web/imgs/bg-contattaci.1af2b769fe6e.jpg") no-repeat top right;
    background-size: auto 100%;
}

#text-contatto ul {
    list-style: none;
    padding: 0;
}

#text-contatto ul li {
    padding-left: 2rem;
    color: #FFF;
}

#text-contatto ul li:before {
    content: "\f058";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    display: inline-block;
    margin-left: -2em;
    width: 2em;
}

#form-contatto {
    background: #FFF;
}

#form-contatto .form-control {
    border: 1px solid #c4d7ed !important;
}

#form-contatto label {
    font-size: 0.9rem;
}

#form-contatto select.form-control {
    appearance: auto;
    -moz-appearance: auto;
    -webkit-appearance: auto;
}

#form-acquisto {
    overflow: auto;
    padding: 1rem 0;
}

.progress-cnt {
    margin: 0 auto;
    padding-bottom: 1rem;
    width: 70%;
}

.progress-group {
    font-size: 0.9rem;
}

.progress-group .progress-step {
    vertical-align: middle;
    display: inline-block;
}

.progress-group i {
    margin: 0.2rem;
}

.progress-group .progress-step button.wizard-step {
    margin: 0;
    border: 0;
    padding: 0;
    background: none;
}

.form-box-cnt,
.form-box {
    float: left;
    width: 55%;
}

.form-box-cnt .form-box {
    width: 100%;
    margin-left: 0;
    margin-bottom: 2rem;
}

.form-box {
    border: 1px solid #C4D7ED;
    border-radius: 4px;
    background-color: #FFFFFF;
    margin-left: 1rem;
}

.form-box-riepilogo {
    width: 40%;
    height: 23rem;
    position: relative;
}

.form-box h4,
.form-box .form-check {
    border-bottom: 1px solid #C4D7ED;
}

.form-box .form-check:last-of-type {
    border-bottom: none;
}

.form-box .d-grid {
    border-top: 1px solid #C4D7ED;
}

.form-box table {
    font-size: 0.9rem;
}

.form-box table td:first-child {
    padding: 0.8rem 0;
}

.form-box table td:last-child {
    text-align: right;
}

.form-box table tr:last-child {
    font-weight: bold;
    font-size: 1rem;
    white-space: nowrap;
}

.form-box .btn-continue {
    width: 100%;
    bottom: 0;
    padding: 1.5rem;
    left: 0;
    position: absolute;
}

.form-error {
    color: #ba1b23;
    font-size: 0.9rem;
}

form label.error {
    color: red;
    font-size: 0.8rem;
    display: block;
    margin-top: 5px;
}

.form-details {
    padding-top: 0.2rem;
    font-size: 0.8rem;
    color: #696d73;
}

.form-box #bonifico-detail,
.form-box #carta-detail {
    margin-left: -1.5rem;
}

.form-box #bonifico-detail div {
    border: 1px solid #ccd0d4;
    background: #f4f4f4;
    border-radius: 4px;
    padding: 1rem;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.form-box #bonifico-detail h6 {
    margin: 0 0 0.5rem 0;
}

.form-box #bonifico-detail div p {
    margin: 0 0 0.3rem 0;
}

.form-box #bonifico-detail p,
.form-box #carta-detail p {
    font-size: 0.8rem;
}

.privacy-box {
	font-size: 0.8rem;
}

.form-radio {
    margin-top: 0.8rem;
}

.form-radio li {
    list-style: none;
}

@media (max-width: 991.98px) {
    .progress-cnt {
        margin: 0;
        width: 95%;
        text-align: center;
    }

    .progress-cnt .progress-group {
        font-size: 0.7rem;
    }

    .form-box,
    .form-box-riepilogo {
        width: 90%;
        margin-bottom: 1rem;
    }

    .subbar .navbar-toggler:not(.collapsed) .open {
        display: none;
    }

    .subbar .navbar-toggler.collapsed .close {
        display: none;
    }

    .subbar .navbar-collapse > ul > li > a.nav-link {
        width: fit-content;
        padding: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .subbar .navbar-collapse > ul > li > a.nav-link.active::after {
        position: absolute;
        display: block;
        width: calc(100% - 1rem);
        height: 4px;
        border-radius: 2px;
        content: "";
        margin-bottom: -4px;
        top: 100%;
        left: 0.5rem;
    }

    .banner-evento .data-evento {
        border: none;
        margin: 0 !important;
        padding: 0 !important;
    }

    .banner-evento .title {
        margin: 0 !important;
        padding: 0 5px !important;
    }

    .banner-evento .scopri {
        text-align: center;
        margin: 1em 0;
    }

    .mobile-col-reversed {
        display: flex;
        flex-direction: column-reverse;
    }

    .mobile-col-normal {
        display: flex;
        flex-direction: column;
    }

    .osservatori-tabs ul {
        margin: 0 !important;
        padding: 0 !important;
    }

    .osservatori-tabs .nav-link {
        display: none;
    }

    .osservatori-tabs .nav-share {
        display: block;
        position: relative;
        margin: 0 auto;
        right: auto;
        top: 1rem;
    }

    .osservatori-card {
        margin-bottom: 1em !important;
    }

    .sticky, .sticky-top, .sticky-box {
        position: relative;
    }

    .sticky-box {
        top: 0;
        margin: 1rem 0;
    }

    #typ-title {
        font-size: 1.5em;
    }

    #typ-subtitle {
        font-size: 1em;
    }

    #typ-cnt img {
        width: 50px
    }

    #form-contatto .row .col {
        flex: auto;
    }
}

@media (min-width: 992px) {
    .subbar .navbar-collapse ul > li.nav-item {
        align-self: center;
    }

    .navbar.is-alternate .navbar-nav .megamenu.show {
        top: 7.6rem;
    }
}

.navbar-nav .nav-item a.dropdown-item:hover {
    text-decoration: underline !important;
    background: none !important;
}

.navbar-nav .nav-item a.dropdown-item:hover * {
    color: #002c6c !important;
}