/* Stylesheet for the 'Vallardi Promo Autori - Site Package' Plone theme */

html {
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: none;
    -webkit-font-smoothing: antialiased
}

body {
    font-size: 12px;
}

body, html {
    font-family: Lato, sans-serif;
    width: 100%;
    z-index: 1
}

img {
    max-width: 100%
}

.globalHeader {
    padding: 200px 0 40px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

.globalHeader .book {
    display: block
}

.globalHeader__absolute-wrapper {
    position: absolute
}

.globalHeader__text {
    padding: 155px 0 0 25px
}

.globalHeader__title {
    font-family: Merriweather, serif;
    font-size: 48px;
    line-height: 57px;
    color: #fff;
    margin-bottom: 15px
}

.globalHeader__image {
    -webkit-box-shadow: -15px 15px 0 #f2ce8c;
    box-shadow: -15px 15px 0 #f2ce8c;
    margin-bottom: 45px
}

.globalHeader__subtitle {
    font-size: 24px;
    line-height: 29px;
    color: #fff;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 0
}

.globalHeader__subtitle strong {
    font-weight: 700
}

@media screen and (max-width: 991px) {
    .globalHeader {
        padding: 86px 0 40px 0
    }

    .globalHeader__text {
        padding: 110px 0 0 15px
    }

    .globalHeader__title {
        font-size: 42px;
        line-height: 50px
    }

    .globalHeader__subtitle {
        font-size: 20px;
        line-height: 24px
    }
}

@media screen and (max-width: 767px) {
    .globalHeader {
        padding: 182px 0 40px 0
    }

    .globalHeader__text {
        padding: 10px 0 0 15px
    }

    .globalHeader__subtitle {
        font-size: 15px;
        line-height: 19px
    }
}

@media screen and (max-width: 575px) {
    .globalHeader {
        padding: 105px 0 90% 0
    }

    .globalHeader .book {
        display: none
    }

    .globalHeader__title {
        display: none
    }

    .globalHeader__subtitle {
        display: none
    }
}

.book img {
    margin-left: -9px
}

.book span {
    display: block;
    font-size: 16px;
    line-height: 19px;
    color: #4a4a4a
}

.book--custom span {
    font-size: 16px;
    line-height: 19px;
    color: #4a4a4a
}

.book--custom img {
    margin-left: -9px
}

.form {
    background-color: rgba(226, 226, 226, .12);
    margin-bottom: 30px
}

.form__label {
    display: block;
    margin-bottom: 5px;
    color: #676767;
    font-weight: 700;
}

.form__input-text {
    border: 1px solid #5c8a91;
    padding: 10px 15px !important;
    width: 75%;
    font-size: 14px !important;
    font-weight: 500;
    color: #000
}

.form__input-text:focus {
    border: 1px solid #d18b5c;
    outline: 0;
    box-shadow: none;
}

.form__fieldset {
    background-color: transparent;
    padding: 10px 25px;
    border: 0;
    margin: 0
}

.form__fieldset--mail {
    padding: 10px 25px 25px 25px
}

.form__fieldset--codice {
    background-color: rgba(226, 226, 226, .5);
    padding: 25px
}

.form__fieldset--codice .form__label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end
}

.form__fieldset--privacy {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 25px
}

.form__fieldset--privacy p {
    margin-bottom: 0;
    width: 75%;
    font-size: 14px;
    line-height: 18px
}

.form__fieldset--privacy p a {
    color: #000;
    text-decoration: underline
}

.form__submit {
    background-color: #d18b5c;
    border: 0;
    padding: 10px 15px;
    color: #fff;
    font-size: 17px;
    font-weight: 600
}

@media screen and (max-width: 991px) {
    .form__input-text {
        width: 100%
    }

    .form__fieldset--privacy p {
        width: 100%
    }
}

@media screen and (max-width: 575px) {
    .form__fieldset {
        padding: 10px 0;
        background-color: transparent
    }
}

.checkbox {
    position: absolute;
    opacity: 0
}

.checkbox + label {
    position: relative;
    cursor: pointer;
    padding: 0
}

.checkbox + label:before {
    content: '';
    margin-right: 10px;
    display: inline-block;
    vertical-align: text-top;
    width: 20px;
    height: 20px;
    background: #5c8a91
}

.checkbox:checked + label:after {
    font-family: "Font Awesome 5 Pro";
    content: '\f00c';
    position: absolute;
    left: 4px;
    top: 3px;
    color: #fff
}

.checkbox2 {
    position: absolute;
    opacity: 0
}

.checkbox2 + label {
    position: relative;
    cursor: pointer;
    padding: 0
}

.checkbox2 + label:before {
    content: '';
    margin-right: 10px;
    display: inline-block;
    vertical-align: text-top;
    width: 20px;
    height: 20px;
    background: #5c8a91
}

.checkbox2:checked + label:after {
    font-family: "Font Awesome 5 Pro";
    content: '\f00c';
    position: absolute;
    left: 4px;
    top: 3px;
    color: #fff
}

.main-content__text {
    font-family: Merriweather, serif;
    font-size: 16px;
    line-height: 24px;
    padding: 25px;
    color: #676767;
    margin-bottom: 0
}

.main-content__title {
    display: none;
    font-size: 42px;
    line-height: 50px;
    color: #3b5356;
    font-weight: 300
}

.main-content__subtitle {
    display: none;
    font-size: 20px;
    line-height: 24px;
    color: #000;
    font-style: italic;
    font-weight: 300
}

.main-content .book {
    display: none
}

@media screen and (max-width: 991px) {
    .main-content__text {
        padding: 95px 0 40px 0
    }
}

@media screen and (max-width: 767px) {
    .main-content__text {
        padding: 106px 0 40px 0
    }
}

@media screen and (max-width: 575px) {
    .main-content {
        padding: 60px 0 0 0
    }

    .main-content .book {
        display: block;
        margin-bottom: 60px
    }

    .main-content__text {
        padding: 45px 0
    }

    .main-content__title {
        display: block
    }

    .main-content__subtitle {
        display: block
    }
}

.tooltip {
    margin-left: 10px;
    cursor: pointer
}

.errorDetails {
    font-size: 12px;
    color: #FF0000;
    letter-spacing: 0;
    text-align: left;
    margin-bottom: 0;
}

.formError input,
.formError select,
.formError textarea {
    border-color: #FF0000;
}

.formError .errorFieldWrapper {
    border: 1px solid #FF0000;
    padding: 6px 9px 0;
}