/*********
Section "Cover"
**********/

.wp-block-cover .wp-block-cover__inner-container h1,
.wp-block-cover .wp-block-cover__inner-container h2 {
    font-family: 'AvenirLTStd-Book';
    font-weight: normal;
    background: rgba(0, 0, 0, .01);
}


/*********
Section "Block banner with text and button"
**********/

#block-banner-with-text-and-button .block-main-title-text {
    padding-top: 80px;
    padding-bottom: 80px;
}

#block-banner-with-text-and-button p {
    margin-bottom: 0;
}


/*********
Section "Left with image with text and right with text"
**********/

#left-with-image-with-text-and-right-with-text {
    margin-bottom: 30px;
}

#left-with-image-with-text-and-right-with-text.wp-block-media-text {
    grid-template-columns: 46% 54%;
}

#left-with-image-with-text-and-right-with-text .container-text {
    background: var(--backgroundgrey);
}

#left-with-image-with-text-and-right-with-text .wp-block-media-text__media {
    padding-right: 0;
    padding-left: 0;
    position: relative;
}

#left-with-image-with-text-and-right-with-text .wp-block-media-text__media .text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#left-with-image-with-text-and-right-with-text .wp-block-media-text__media .text-overlay h3,
#left-with-image-with-text-and-right-with-text .wp-block-media-text__media .text-overlay p {
    color: var(--white);
    background: rgba(0, 0, 0, .01);
}

#left-with-image-with-text-and-right-with-text .wp-block-media-text__media .text-overlay h3 {
    font-family: 'AvenirLTStd-Book';
    font-weight: normal;
    font-size: 35px;
    margin-bottom: 20px;
}

#left-with-image-with-text-and-right-with-text .wp-block-media-text__media .text-overlay p {
    font-size: 20px;
}

#left-with-image-with-text-and-right-with-text .wp-block-media-text__media img {
    -webkit-filter: brightness(65%);
    -moz-filter: brightness(65%);
    -o-filter: brightness(65%);
    -ms-filter: brightness(65%);
    filter: brightness(65%);
}

#left-with-image-with-text-and-right-with-text .wp-block-media-text__content {
    padding: 0 13%;
}

/*********
JOB ALERT - FORM
**********/

#mandatory-fields-job-alert {
    text-align: right;
    font-family: 'AvenirLTStd-Book';
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 30px;
}

.container-options-form {
    padding-bottom: 50px;
}

#container-privacy {
    margin-top: 50px;
}

.es_subscription_form.es_shortcode_form label {
    width: 100%;
    font-family: 'AvenirLTStd-Book';
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
}

#container-privacy h3 {
    font-family: 'AvenirLTStd-Book';
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 1.5px;
}

.es_subscription_form.es_shortcode_form label[for="es_gdpr_consent"] {
    text-transform: inherit;
}

.es_subscription_form.es_shortcode_form label[for="es_gdpr_consent"] a {
    color: #836839;
    text-shadow: 0 0 1px black;
    text-decoration: underline;
}

.es_subscription_form.es_shortcode_form .es-field-wrap input {
    background: var(--white);
    width: 100%;
    height: 34px;
    margin-top: 3px;
}

.es_subscription_form .s-hidden {
    visibility: hidden;
    padding-right: 10px;
    width: 100%;
    height: 34px;
}

.es_subscription_form .select {
    width: 100%;
    font-family: 'AvenirLTStd-Book';
    font-size: 14px;
    color: var(--black);
    cursor: pointer;
    display: inline-block;
    position: relative;
    border: none;
}

.es_subscription_form .styledSelect {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: var(--white);
    padding: 7px 10px;
}

.es_subscription_form .styledSelect {
    background-image: url("../images/arrow-dropdown.svg");
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: calc(100% - 15px) 14px;
}

.es_subscription_form .options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 999;
    margin: 0 0;
    padding: 0 0;
    list-style: none;
    border: 1px solid #dbdbdb;
    background-color: white;
}

.es_subscription_form .options li {
    margin: 0 0;
    padding: 0 10px;
}

.es_subscription_form .options li:hover {
    background-color: #39f;
    color: white;
}

.awsm-job-form-control:focus {
    outline: none;
    border: .5px solid var(--linkbottomborder);
}

.selectric-wrapper:focus,
.selectric-wrapper:focus-visible,
.selectric-wrapper:active,
.selectric-wrapper:focus-within,
.awsm-selectric-wrapper:focus,
.awsm-selectric-wrapper:focus-visible,
.awsm-selectric-wrapper:active,
.awsm-selectric-wrapper:focus-within,
.awsm-job-form-options-container input[type="radio"]:focus,
.awsm-job-form-group input[type="checkbox"]:focus,
.awsm-job-form-group input[type="submit"]:focus,
.container-text .select:focus,
.container-text input:focus {
    outline: none;
    border: .5px solid var(--linkbottomborder);
}



/*********
RESPONSIVE
**********/

@media screen and (min-width: 1401px) {
    /** Section "Block banner with text and button" **/
    #block-banner-with-text-and-button p {
        padding-left: 31%;
        padding-right: 31%;
    }
}

@media screen and (max-width: 1400px) {
    /** Section "Block banner with text and button" **/
    #block-banner-with-text-and-button p {
        padding-left: 29%;
        padding-right: 29%;
    }
}

@media screen and (max-width: 1199px) {
    /** Section "Block banner with text and button" **/
    #block-banner-with-text-and-button p {
        padding-left: 24%;
        padding-right: 24%;
    }
}

@media screen and (max-width: 991px) {
    /** Section "Block banner with text and button" **/
    #block-banner-with-text-and-button p {
        padding-left: 17%;
        padding-right: 17%;
    }
    /** Section "Left with image with text and right with text" **/
    #left-with-image-with-text-and-right-with-text .wp-block-media-text__media .text-overlay h3 {
        font-size: 30px;
    }
    #left-with-image-with-text-and-right-with-text .wp-block-media-text__media .text-overlay p {
        font-size: 18px;
    }
}

@media screen and (max-width: 767px) {
    /** Section "Cover" **/
    .wp-block-cover {
        min-height: auto !important;
        height: 400px;
        background-size: cover !important;
    }
    /** Section "Block banner with text and button" **/
    #block-banner-with-text-and-button {
        margin-top: 30px;
    }
    /** Section "Left with image with text and right with text" **/
    #left-with-image-with-text-and-right-with-text {
        grid-column: 1;
        grid-row: 1;
    }
    #left-with-image-with-text-and-right-with-text.wp-block-media-text {
        grid-template-columns: 100%;
        overflow: hidden;
        margin-top: 50px;
    }
    #left-with-image-with-text-and-right-with-text .container-text {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    /** JOB ALERT - FORM **/
    #mandatory-fields-job-alert {
        margin-bottom: 15px;
    }
    #left-with-image-with-text-and-right-with-text .wp-block-media-text__content {
        padding: 0 30px 0 30px;
    }
    .container-options-form {
        padding-bottom: 15px;
    }
    #container-privacy {
        margin-top: 15px;
    }
}

@media screen and (max-width: 575px) {
    /** Section "Cover" **/
    .wp-block-cover {
        min-height: 300px !important;
        height: 300px;
    }
    .wp-block-cover .wp-block-cover__inner-container h2 {
        font-size: 30px;
    }
    /** Section "Left with image with text and right with text" **/
    #left-with-image-with-text-and-right-with-text .wp-block-media-text__media .text-overlay {
        left: 45%;
        transform: translate(-40%, -40%);
        width: 75%;
    }
}

@media screen and (max-width: 510px) {
    /** Section "Block banner with text and button" **/
    #block-banner-with-text-and-button p {
        padding-left: 11%;
        padding-right: 11%;
    }
}

@media screen and (max-width: 400px) {
    /** Section "Cover" **/
    .wp-block-cover .wp-block-cover__inner-container h2 {
        font-size: 28px;
    }
    /** Section "Block banner with text and button" **/
    #block-banner-with-text-and-button p {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 370px) {
    /** Section "Left with image with text and right with text" **/
    #left-with-image-with-text-and-right-with-text .wp-block-media-text__media .text-overlay {
        left: 43%;
        width: 80%;
    }
}