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;
}

/* screener helper classes */
body.method-post .auto-hide {
    visibility: hidden;
}

/* hide all elements by default */
.pq, .pq-complete, .qo, .qo-complete, .qo-incomplete,
.dq, .dq-complete, .dq-incomplete, .delete-complete,
.behalf-of-default, .behalf-of-myself, .behalf-of-other {
    display: none;
}

/* status classes */
html[status="pq"] .pq,
html[status="pq-complete"] .pq-complete,
html[status="qo"] .qo,
html[status="qo-complete"] .qo-complete,
html[status="qo-incomplete"] .qo-incomplete,
html[status="dq"] .dq,
html[status="dq-complete"] .dq-complete,
html[status="dq-incomplete"] .dq-incomplete,
html[status="delete-complete"] .delete-complete {
    display: block;
}

/* behalf classes */
html[behalf="default"] .behalf-of-default,
html[behalf="myself"] .behalf-of-myself,
html[behalf="child"] .behalf-of-other {
    display: inline;
}

/* responsive overrides */

/* custom map */
.map-custom {
    height: 100%;
    min-height: 522px; /* required for responsive */
}

body.xs .map-custom {
    min-height: 373px;
}

body.sm .map-custom {
    min-height: 449px;
}

body.md .map-custom {
    min-height: 582px;
}

body.lg .map-custom {
    min-height: 455px;
}

body.xl .map-custom {
    min-height: 457px;
}

body.xxl .map-custom {
    min-height: 538px;
}

.map-site-info {
    line-height: 18px;
    font-weight: 400;
}

/* prefooter */
body.about-study .pre_footer.about-study, body.about-condition .pre_footer.about-condition, body.for-physicians .pre_footer.for-physicians, body.for-teens .pre_footer.for-teens, body.faq .pre_footer.faq, body.about-study .pre_footer.about-study div.about-study, body.about-condition .pre_footer.about-condition div.about-condition, body.for-physicians .pre_footer.for-physicians div.for-physicians, body.for-teens .pre_footer.for-teens div.for-teens, body.faq .pre_footer.faq div.faq {
    display: block;
}

/* 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;
}
