body {
    background-color: #FAFAFA;
}

html {
    scroll-behavior: smooth;
}

nav {
    height: calc(70px + env(safe-area-inset-top)) !important;
    padding-top: env(safe-area-inset-top);
    background-color: #7986cb!important;
}

.fake-nav {
    height: env(safe-area-inset-top);
    position: fixed;
    z-index: 10;
    background-color: #7986cb!important;
}

.row div.fake-nav {
    margin-bottom: env(safe-area-inset-top);
}

#index-banner,
.content-list {
    margin-top: env(safe-area-inset-top);
}

.chapter {
    padding-top: 50px; /* nav height */
}
.nav-fixed {
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    margin-bottom: 0;
    z-index: 997;
}
#btnMenu {
    /*width: 64px;*/
    /*margin-top: 18px;*/
    /*border-radius: 3px;*/
}
.brand-logo {
    height: 70px;
    left: 50%!important;
    -webkit-transform: translateX(-50%)!important;
    transform: translateX(-50%)!important;
}
#index-banner div {
    line-height: 120%;
}
#index-banner div strong {
    width: 20px;
    max-width: 20px;
    text-align: left;
}
#videoIntro {
    width: 100%;
    height: 100%;
}
.card-content {
    margin-bottom: 0;
}
.card-action a {
    margin-left: 12px;
    margin-right: 12px;
    cursor: pointer;
}

.card-title {
    font-size: clamp(1.2rem, 1.7vw, 24px)!important;
}
.line_clamp {
    height: 210px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    text-align: justify;
}
#TMS_Moi .btn {
    font-size: 0.8rem;
}

p.center {
    display: flex;
    justify-content: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-start {
    display: flex;
    justify-content: start;
    align-items: center;
}

.sidenav .user-view .circle {
    object-fit: contain;
}

.sidenav-padding-top {
    height: env(safe-area-inset-top);
    background-color: #7986cb!important;
}

.sidenav-trigger {
    display: unset!important;
    cursor: pointer;
}

@-webkit-keyframes blur-effect {
    0% { -webkit-filter: blur(0px);}
    50% { -webkit-filter: blur(4px);}
    100% { -webkit-filter: blur(7px);}
}
@-webkit-keyframes unblur-effect {
    0% { -webkit-filter: blur(7px);}
    50% { -webkit-filter: blur(4px);}
    100% { -webkit-filter: blur(0px);}
}

.unblur-effect {
    -webkit-animation: unblur-effect 250ms;
    /*animation-fill-mode: forwards;*/
}

.blur-effect {
    -webkit-animation: blur-effect 250ms;
    animation-fill-mode: forwards;
}

.acronyme {
    font-size: 2rem!important;
}

.sticky-nav {
    position: fixed;
    z-index: 996;
    top: 0;
    transition: top 0.3s;
}

a:focus-visible {
    outline: none;
}

#news img {
    max-width: 100%;
    height: auto;
}


@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(../assets/fonts/material-icons.woff2) format('woff2');
}

.material-icons {
    font-family: 'Material Icons', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.bold {
    font-weight: 600!important;
}

#loading-spinner {
    height: 25px;
}

#btn-save {
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    position: absolute;
    margin: auto;
    top: 50vh;
    bottom: 50vh;
    left: 0;
    right: 0;
}

.smaller {
    width: 25px!important;
    height: 25px!important;
}

textarea,
input:not(.timepicker-input-hours):not(.timepicker-input-minutes) {
    color: black!important;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
}

.menu-icon,
.sidenav-trigger,
.brand-logo {
    height: fit-content!important;
}

.card-action {
    display: flex;
    justify-content: center;
    border-bottom-left-radius: 999px!important;
    border-bottom-right-radius: 999px!important;
    background-color: transparent!important;
}

.card-action>.btn {
    display: flex;
    max-width: max-content;
    align-items: center;
    flex-wrap: wrap;
}

[data-target="modalIntroVideo"] {
    display: flex!important;
    align-items: center;
    width: max-content;
}

#btnBack {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast {
    width: 90%!important;
    margin-bottom: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.no-border {
    border: none!important;
}


div.material-table table tr:last-child,
div.material-table table tr:last-child td {
    border-bottom: none!important;
}

.dropdown-content {
    transform: none !important;
}


#toast-container {
    z-index: 1000;
    height: fit-content;
}

@media only screen and (min-width: 993px) {
    #toast-container {
        bottom: 0;
        top: auto;
    }
}

#login {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-floating {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal.modal-fixed-footer .modal-footer {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

#btn-back {
    display: flex;
    justify-content: center;
    align-items: center;
}

.confirmation-btns {
    display: flex;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-4 {
    margin-bottom: 40px;
}

.mr-2 {
    margin-right: 20px;
}

.ml-1 {
    margin-left: 10px;
}

.ml-2 {
    margin-left: 20px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.transparent {
    background-color: transparent;
}

.btn-floating i {
    color: whitesmoke;
    user-select: none;
}

#openExercise,
#showRappel {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 77px;
}

[type="checkbox"].filled-in:checked+span:not(.lever):after {
    border: #3f51b5;
    background-color: #3f51b5;
}

.dropdown-content li>a, .dropdown-content li>span {
    color: #3f51b5!important;
}

@media only screen and (max-width: 600px) {
    .card-title {
        font-size: 24px!important;
    }
}

@media only screen and (max-width: 657px)  {
    .phone-radio {
        margin-left: 8.3333333333%!important;
        width: 100%!important;
        left: auto;
        right: auto;
    }
}

@media only screen and (max-width: 768px)  {
    .check-boxes {
        width: 100%!important;
    }
    .modal-content > h4 {
        font-size: 20px;
    }
}
.eyerefresher .timepicker {
    background-color: #e8eaf6!important;

}
.chip {
    display: flex!important;
    width: fit-content;
    align-items: center;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.chip:not(.checked) .checkmark {
    display: none;
}
.chip.checked .checkmark {
    float: left;
    font-size: 16px;
    line-height: 32px;
    padding-right: 8px;
}

.chip.checked {
    color: white;
    background-color: #283593;
}

.article-img {
    cursor: zoom-in;
}

.article-img.active {
    cursor: zoom-out;
}

#materialbox-overlay {
    opacity: 0.5!important;
}

.autocomplete-content li img {
    object-fit: contain;
}

.modal.size-fix {
    height: 87%!important;
    max-height: 87%!important;
}

#sidenav-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media only screen and (max-width: 360px) {
    .reminder-actions {
        flex-direction: column;
        align-items: center;
    }

    #clear-eyes-prevention {
        margin-right: 0;
    }
}

#sidenav-picture {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

[type=checkbox].filled-in.tabbed:checked:focus+span:not(.lever):after {
    background-color: #3f51b5;
    border-color: #3f51b5;
}

.spinner-white-only {
    border-color: white;
}

.old-pictures:not(.active) {
    max-height: 80px;
    width: auto;
    height: 80px;
}



.btn.outline {
    border: 1px solid #0b714f;
    color: #0b714f;
    background-color: transparent;
}

.introjs-prevbutton:hover {
    background-color: #e22d20!important;
}
.introjs-prevbutton.introjs-disabled:hover,
.introjs-prevbutton.introjs-disabled:focus,
.introjs-prevbutton.introjs-disabled {
    background-color: #ffccc8!important;
    color: #be2217!important;
}
.introjs-prevbutton:focus,
.introjs-prevbutton {
    color: white;
    background-color: #f44336!important;
}

.introjs-skipbutton {
    display: none!important;
}

.armel-title {
    display: flex;
    flex-direction: column;
    font-size: 2rem;
}