/* Contact Modal Styling */
.button.sticky-button {
    position: fixed;
    z-index: 1041;
    right: 4%;
    bottom: 3%;
    max-width: 92%;
    /* overrule button-secondary styling */
    box-shadow: 0px 1px 8px rgb(0 0 0 / 40%)!important;
    width: auto;
}

.sticky-button.sticky-button--close {
    position: fixed;
    z-index: 1041;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 1.8rem;
    width: 26px;
    height: 26px;
    right: 10px;
    bottom: calc(3% + 40px);
    background-color: #212121;
    border: none;
    color: white;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}


@media screen and (min-width: 1440px) {
    .sticky-button.sticky-button--close {
        right: calc(4% - 45px);
    }
}
@media screen and (min-width: 1200px) and (max-width: 1439px) {
    .sticky-button.sticky-button--close {
        right: 20px;
    }
}

.sticky-button.sticky-button--close:hover {
    background-color: #515151;
}

.sticky-button:focus {
    outline: none;
}

@media (min-width: 768px) {
    .sticky-button {
        right: 3%;
    }
}

.sticky-button:after {
    content: "";
    position: absolute;
    height: 100%;
    width: 30px;
    right: -20px;
    top: 0;
}

.sticky-button.disabled {
    animation: none;
}

.sticky-button.animate {
    animation-name: animation_sticky-button;
    animation-duration: 1.2s;
    animation-timing-function: ease-in;
    animation-delay: 1s;
    animation-iteration-count: 6;
    animation-direction: alternate-reverse;
}

@keyframes animation_sticky-button {
    from {
        bottom: 1%;
    }
    to {
        bottom: 3%;
    }
}

.contact-modal > .modal-dialog-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100% - (.5rem * 2));
}
.contact-modal .modal-content-wrapper {
    min-width: calc(100% - (.5rem * 2));
    overflow: hidden;
}
.contact-modal .modal-content {
    width: 100%;
}

.modal-header {
    display: flex;
    align-items: flex-start;
}
.modal-header .close {
    padding: 0;
    margin: 0;
}
.modal-header img{
    width: 15px;
}


.contact-modal .modal-header {
    border-bottom: none;
    padding: 30px 15px 0;
}

.contact-modal .modal-header button {
    width: 20px;
}

#contactModalSubmit:disabled {
    background-color: lightgrey;
    background-color: rgba(154, 222, 25, 0.1);
    color: #9ade19
}
#contactModalSubmit:disabled:hover {
    cursor:not-allowed;
    background-color: lightgrey;
}

.contact-modal .modal-title {
    color: #03274F;
    font-weight: bold;
    width: max-content;
    position: relative;
}

.contact-modal .modal-title:after {
    content: "";
    position: absolute;
    height: 100%;
    width: 30px;
    right: -20px;
    top: 0;
}

.contact-modal .modal-body > p:first-child {
    margin-top: 0;
}

.contact-modal .modal-footer > .button {
    margin-bottom: 0;
}

.contact-modal .modal-confirmation .modal-footer > .button {
    margin-left: auto;
    margin-right: auto;
}

.contact-modal.showForm .modal-confirmation {
    display: none;
}

.contact-modal.showConfirmation .modal-form {
    display: none;
}

.contact-modal.showConfirmation .modal-title {
    color: transparent;
}

.contact-modal .modal-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}
.contact-modal .modal-confirm-text {
    display: none;
    color: #03274F;
    font-weight: bold;
    text-align: center;
}
.contact-modal textarea.form-control {
    resize: none;
    font-size: 1.6rem;
    color: #68778d;
}

.was-validated .form-control:invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback {
    display: block;
    font-weight: normal;
    font-style: italic;
}

.form-item.form-akkoord {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

.form-control {
    border-radius: 1rem;
    height: calc(1.5em + 0.75rem + 10px)
}
#modal-comment {
    height: calc(1.5em + 0.75rem + 60px)
}

.form-control:focus {
    border-color: #8ac716;
    box-shadow: none;
}

.form-group {
    color: #03274F;
}

.form-group input {
    font-size: 1.6rem;
    color: #68778d;
}
.form-group input:focus::placeholder {
    color: transparent;
}

.form-group textarea:focus::placeholder {
    color: transparent;
}

.hiddenResourceUrl {
    display: none;
}
@keyframes spinner-border {
    to { transform: rotate(360deg); }
}
.spinner-border{
    display: inline-block;
    width: 3rem;
    height: 3rem;
    vertical-align: text-bottom;
    border: .25em solid;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

.form-terms p {
    width: 90%;
}
.form-terms p a {
    color: #8ac716;
}

.modal-open {
    font-weight: bold;
}

.modal-body {
    padding: 15px;
}

.form-terms {
    display: flex;
    align-items: flex-start;
}

.contact-modal__checkbox {
    margin-right: 1rem;
    position: relative;
    height: 2.2rem;
    width: 2.2rem;
    border: 0.1rem solid rgba(104, 119, 141, 0.3);
    border-radius: 0.6rem;
    outline: none;
    transition: all 250ms;
}
.contact-modal__checkbox__inner {
    opacity: 0;
    width: 100%;
    cursor: pointer;
    height: 100%;
    margin: 0;
    position: absolute;
    z-index: 100;
}
.contact-modal__checkbox::after {
    content: "";
    position: absolute;
    background: url("../../images/icons/icon-checkmark-green.svg");
    opacity: 0;
    left: 50%;
    top: 50%;
    width: 1.5rem;
    height: 1rem;
    transform: translate(-50%, -50%);
    transition: 350ms ease-in-out;
}
.contact-modal__checkbox-checked {
    border: 0.1rem solid #9ade19;
}
.contact-modal__checkbox-checked::after {
    opacity: 1;
}

.contact-modal__checkbox__inner {
    opacity: 0;
    width: 100%;
    cursor: pointer;
    height: 100%;
    margin: 0;
    position: absolute;
    z-index: 100;
}
.contact-modal__checkbox::after {
    content: "";
    position: absolute;
    background: url("../../images/icons/icon-checkmark-green.svg");
    opacity: 0;
    left: 50%;
    top: 50%;
    width: 1.5rem;
    height: 1rem;
    transform: translate(-50%, -50%);
    transition: 350ms ease-in-out;
}
.contact-modal__checkbox-checked {
    border: 0.1rem solid #9ade19;
}
.contact-modal__checkbox-checked::after {
    opacity: 1;
}
