/********************************************
*   Override bootstrap styles               *
********************************************/

:root {
    font-size: 62.5%;
}

body {
    overscroll-behavior: contain;
    font-size: 1.6rem;
}

.container {
    padding-left: 0;
    padding-right: 0;
}

a:focus,
a:hover {
    text-decoration: none;
}

sub,
sup {
    line-height: 1;
}

.modal {
    padding-left: 0 !important;
    z-index: 1000000;
}

.modal .modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    width: calc(100% - 20px);
    max-height: calc(100% - 20px);
    margin: 0;
}

.modal .modal-dialog .modal-content {
    font-size: 1.5em;
}

.modal .modal-dialog .modal-content b {
    color: var(--color-primary);
}

.modal .modal-dialog .btn {
    text-transform: uppercase;
    color: var(--color-white);
    background-color: var(--color-primary);
    padding: 5px 25px;
    border: 0;
    font-size: 18px;
    border-radius: 32px;
    margin: 10px auto;
}

.icon {
    display: flex;
    justify-content: center;
}

.center {
    width: auto;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.clickable {
    cursor: pointer;
}

.rotate {
    animation: spin 4s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes wiggle {
    0% {
        transform: rotate(3deg);
    }
    50% {
        transform: rotate(-3deg);
    }
    100% {
        transform: rotate(3deg);
    }
}

.no-padding {
    padding: 0;
}

.px-0 {
    padding-left: 0;
    padding-right: 0;
}

.no-margin {
    margin: 0;
}

#react-router {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-cool-gray-100);
}

#react-router *:focus {
    outline: none;
}

.Base_scroll-y {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.Base_PageNotFound {
    display: flex;
    padding-bottom: 50px;
    padding-top: 139px;
    justify-content: center;
    background-color: var(--color-cool-gray-100);
}

.Base_PageNotFound-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.Base_PageNotFound-title {
    margin-top: 34px;
    font-weight: var(--font-weight-medium);
    font-size: 20px;
    min-height: 38px;
    line-height: 38px;
    text-align: center;
}

.Base_PageNotFound-message {
    margin-top: 5px;
    font-weight: var(--font-weight-medium);
    max-width: 250px;
    text-align: center;
    font-size: 15px;
    height: 63px;
    color: var(--color-gray-700);
    line-height: 1.4;
}

.Base_PageNotFound-button {
    margin-top: 26px;
    width: 100%;
}

.Base_PageNotFound-button .ui_RoundedButton_root {
    font-weight: var(--font-weight-medium);
    font-size: 18px;
    line-height: normal;
    text-align: center;
}

.has-sentence-case::first-letter {
    text-transform: capitalize;
}

.is-title-2 {
    font-weight: var(--font-weight-bold);
    font-size: 18px;
}
