/* Vendor overrides */

body.page-node .page-content-container {
    margin-bottom: 0;
}

body.page-node .linkblock-container {
    padding: 15px 35px 5px 20px;
}

/* Media queries for login page */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

@media (min-width: 320px) and (max-width: 991px) {
    .mobile-only {
        display: block;
    }
    .desktop-only {
        display: none;
    }
}

/* For recaptcha */

.rc-anchor-light.rc-anchor-normal {
    border: 1px solid #d3d3d3; 
}
.rc-anchor-light {
    background: unset;
    color: #000;
}
.rc-anchor-normal {
    height: 74px;
    width: 300px;
}
.rc-anchor {
    border-radius: 0;
    -webkit-box-shadow: none; 
    -moz-box-shadow: none;
    box-shadow: none;
} 

/* Login page */

.login-field {
    width: 100%
}

@media (min-width: 320px) and (max-width: 991px) {
    .login-field {
        width: auto;
    }
}

.login-field p {
    margin: 0;
}

.login-field label {
    margin: 0;
}

.login-field input, .login-field input[type="submit"] {
    padding: 9px !important;
    width: 100%;
}

@media (min-width: 320px) and (max-width: 991px) {
    .login-field input, .login-field input[type="submit"] {
        display: block;
    }
}


.gdpr-modal {
    display: block;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    padding-bottom: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.gdpr-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 70%;
    height: 500px;
    overflow-y: scroll;
}

.gdpr-modal-header {    
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    font-weight: bold;
}

.gdpr-modal-body {
    position: relative;
    padding: 15px;    
}

.gdpr-modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

.gdpr-modal-header .close {
    margin-top: -2px;
}

button, html [type=button], [type=reset], [type=submit] {
    -webkit-appearance: button;
}

button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
}

.gdpr-close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
}

.accept-terms-checkbox {
    margin: 0;
}

#gdpr-accept-terms-checkbox {
    margin: 0;
}

.field-validation-error {
    color: red;
    font-size: 16px;
    font-weight: bold;
    float: right;
}

.validation-summary-errors {
    margin-bottom: 20px;
}

.slide {
     position: fixed;
     z-index: 999;
     top: 0;
     left: 0;
     visibility: hidden;
     width: 100%;
     height: 100%;
     -webkit-transition: all .5s ease;
     -moz-transition: all .5s ease;
     -o-transition: all .5s ease;
     transition: all .5s ease;
     opacity: 1;
 }

.form-wrapper {
    position: relative;
    background-color: #e5e5e5;
    margin-top: 0;
    padding: 15px;
}

.form-wrapper h2 {
    font-family: "KantarBrownBold",Helvetica,Arial,sans-serif;
    font-weight: 500;
    line-height: 1.1;
    font-size: 3.2rem !important;
    margin-top: 0;
    margin-bottom: 20px;
}

.form-wrapper input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}

@media only screen and (max-width: 991px) and (min-width: 768px) {
    .form-wrapper h2 {
        font-family: "KantarBrownBold",Helvetica,Arial,sans-serif;
        font-weight: 500;
        line-height: 1.1;
        font-size: 2rem !important;
    }
}

@media only screen and (max-width: 767px) {
    .form-wrapper h2 {
        font-family: "KantarBrownBold",Helvetica,Arial,sans-serif;
        font-weight: 500;
        line-height: 1.1;
        font-size: 1rem !important;
    }
}


 .low-res-warning {
     display: none;
 }

@media only screen and (max-width: 768px) {
    .autologin-message {
         display: none;
    }
    .low-res-warning {
         display: block;
    }
}

@media only screen and (min-width: 1800px) {
    body.page-node .header-img-bg {
        padding-top: 0;
        height: 500px;
    }
}

@media only screen and (max-width: 1919px) and (min-width: 1200px) {
    body.page-node .header-img-bg {
        height: 320px;
        padding-top: 0;
    }
}

@media only screen and (max-width: 1199px) and (min-width: 992px) {
    body.page-node .header-img-bg {
        height: 320px;
        padding-top: 0;
    }
}

.cc-window.cc-invisible {
    z-index: 0;
}

#gdprModal input[disabled] {
    padding: 12px 12px 10px 10px;
    background: grey;
}

#gdprModal input[type=submit] {
    padding: 12px 12px 10px 10px;
}

#read-more {
    cursor: pointer;
}

#read-less {
    cursor: pointer;
}
