html {
    -ms-overflow-style: scrollbar;
    overflow-x: revert;
}

body {
    overflow-y: scroll;
    overflow-x: hidden;
}

input[type="text"], input[type="password"], input[type="date"], input[type="email"], input[type="tel"], select {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

form {
    margin-top: 0;
}

/* custom disabled */
.disabled {
    opacity: .25;
    cursor: not-allowed;
    pointer-events: none;
}

/* custom hidden */
.hidden {
    display: none
}

/* custom button */
.button:hover {
    cursor: pointer;
}

/* behalf of */
.behalf-of-default {
    display: inline;
}

.behalf-of-myself {
    display: none;
}

.behalf-of-other {
    display: none;
}

/* responsive overrides */

/* modal overrides */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal-backdrop.show {
    opacity: 0.5;
}

.modal.show {
    display: block;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    max-width: 500px;
    pointer-events: none;
}

.modal.show .modal-dialog {
    pointer-events: auto;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    outline: 0;
    padding: 5px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
}

.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.375rem;
    opacity: 0.5;
    cursor: pointer;
}

.btn-close:hover {
    opacity: 0.75;
}

.modal-header .btn-close {
    padding: 0.5rem 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
}

/* design overrides */
.questionnaire .group.border_bottom {
    border-bottom: 1px solid rgba(60, 60, 60, 0.4);
    padding-bottom: 30px;
}

@media (max-width: 580px) {
    .questionnaire .group.border_bottom {
        padding-bottom: 25px;
    }
}

/* hero image: reserve container space before image loads to prevent layout shift on anchor scroll */
#index-split-section .image .hero_image_crop {
    min-height: 300px;
}

@media (min-width: 768px) {
    #index-split-section .image .hero_image_crop {
        min-height: 500px;
    }
}

@media (min-width: 992px) {
    #index-split-section .image .hero_image_crop {
        min-height: unset;
    }
}

/* screener overrides */


