:root {
    --font-family-sans-serif: "Roboto", sans-serif;
}

body {
    color: var(--dark);
}
.wrapper {
    min-height: 100%;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    box-sizing: border-box;
    position: relative;
}

.content-wrapper {
    width: 100%;
    /* overflow-x: hidden; */
}
.empty_space {
    background: none !important;
}
.strike-this {
    text-decoration: line-through !important;
}
.disabled-this {
    background-color: #2b2b2b !important;
}
#content {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    min-height: calc(100vh - 200px);
}

.card-product {
    background-color: #555;
    cursor: pointer;
    border-color: #a3a3a3 #696969 #4f4f4f #a3a3a3;
    font-size: 20px;
}

.breadcrumb {
    border-radius: 0em;
}
.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.5rem;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    color: #858796;
    content: "\f054";
}

a:hover {
    text-decoration: none !important;
}

a.nav-link {
    color: #888;
    line-height: 1.25em;
}
a.nav-link:hover {
    color: #00008b;
}
.custom-control:hover,
.custom-control-input,
.custom-control-label {
    color: #888;
    cursor: pointer;
}

.resource-button {
    cursor: pointer;
    color: #3a3a3a;
    border-top: 1px solid #ccc;
    font-size: 18px;
    line-height: 1.25em;
    border: none;
    font-family: "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
}

.resource-button > div {
    padding-left: 0;
}

.breadcrumb {
    background-color: #000;
    border: 1px solid #7d7d7d;
}

.chapter-number {
    color: var(--gray);
    font-size: 1.5rem;
    font-weight: bold;
}

.product-image {
    max-width: 100%;
    height: 620px;
}
#product-container[data-acronym="NFPA_TCM"] .product-image {
    background-size: contain;
    max-height: initial;
}
@media all and (max-width: 480px) {
    #product-container[data-acronym="NFPA_TCM"] .product-image {
        background-size: cover;
        height: 360px;
    }
}
@media all and (max-width: 767px) {
    #product-container[data-acronym="NFPA_TCM"] .product-image {
        background-size: cover;
        height: 360px;
    }
}
@media all and (min-width: 768px) {
    #product-container[data-acronym="NFPA_TCM"] .product-image {
        background-size: cover;
        height: 620px;
    }
}
@media all and (max-width: 768px) {
    #product-container[data-acronym="NFPA_TCM"] .product-image {
        background-size: cover;
        height: 360px;
    }
}

.menu-button--ir {
    background-color: rgb(211, 50, 50);
    width: 10px;
    height: 100%;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
}

.list-group {
    margin-bottom: 0.5rem;
}

.list-group-item {
    box-shadow: rgba(70, 70, 70, 0.7) 2px 2px 2px;
    border: 1px solid rgba(0, 0, 0, 0.3);
}
.list-group-item-action:hover,
.list-group-item-action:focus {
    background-color: #ddd;
    border-color: #ddd;
    box-shadow: rgba(70, 70, 70, 0.7) 3px 3px 2px;
    transition: 0.25s;
    transform: translateX(-2px) translateY(-2px);
}
.list-group-item .row {
    margin: 0;
}

.list-group-item p:last-child {
    margin-bottom: 0;
}

.list-group-item:first-child,
.list-group-item:first-child .menu-button--ir {
    border-top-left-radius: 0rem;
    border-top-right-radius: 0rem;
}
.list-group-item:last-child,
.list-group-item:last-child .menu-button--ir {
    border-bottom-left-radius: 0rem;
    border-bottom-right-radius: 0rem;
}

.demo-notice {
    color: white;
    background-color: #d00002;
    margin-top: 0px;
    padding: 5px 0 5px 0;
    text-align: center;
    width: 100%;
    z-index: -1;
}

.breadcrumb-item.active,
.breadcrumb-item a {
    color: #fff;
}

.disabled,
.null-chapter {
    text-shadow: none;
    background-color: #aaa !important;
}

.swal-wide {
    width: 850px !important;
}
.swal-xwide {
    width: 1092px !important;
}

.demo-buttons-container {
    right: 10px;
    position: absolute;
}
.requestAccess {
    display: block;
    padding: 0.5rem 0rem;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 7px;
}

/* MODAL SHOW ANIMATION */
.swal2-show {
    animation: swal2-show-2 0.5s !important;
}
@keyframes swal2-show-2 {
    0% {
        transform: scale(0.7);
    }
    100% {
        transform: scale(1);
    }
}

/* ****************** */
/* LOGIN PAGE */
/* ****************** */
body.login-body {
    background-image: none;
    background-color: #335c83;
    background: #335c83;
}

.page-wrap {
    background: linear-gradient(#00366a, #00366a, #335c83, #335c83);
    background-size: contain;
    min-height: 100%;
    box-sizing: border-box;
    position: relative;
    /* padding: 0 0 180px 0; */
}

.header-logo {
    margin: 0 auto !important;
    position: absolute;
    top: 15px;
    z-index: 100;
    pointer-events: none;
    text-align: center;
}
.login-body .navbar-brand {
    padding-top: 1rem;
    padding-bottom: 1.2rem;
}
.navbar-brand img {
    max-width: 100%;
}

.login-heading {
    font-family: "Oswald", sans-serif;
    font-size: 4rem;
    font-weight: lighter;
    text-shadow: 2px 2px 0px #000000;
}

.login-banner {
    background-color: var(--primary);
    /* background: var(--primary) url("../assets/images/transparent-banner01.png") center center no-repeat; */
    background-size: cover;
    min-height: 400px;
    position: relative;
}
.login-banner-cycle {
    width: 100%;
    min-height: 400px;
    height: 100%;
    margin: 0 auto;
    position: absolute;
}
.login-banner-login {
    min-height: 400px;
    height: 100%;
    position: relative;
}
.login-banner-login > div {
    height: 100%;
}
/* List for images, sm and large */
.login-banner-bg,
ul.login-banner-images {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
}
.login-banner-bg {
    background-image: url(../assets/images/transparent-banner01.png);
    animation: banner-fade 6s linear 6s;
    animation-fill-mode: forwards;
}
ul.login-banner-images li {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
    z-index: 0;
    opacity: 0;
    animation: banner-crossfade 30s linear infinite 0s;
}

/* animation delay = animation duration / # of banners */
/*        6s       =           30s / 5 */

/* Image 1 */
.login-banner-images li:nth-child(1) {
    background-image: url(../assets/images/transparent-banner01.png);
}
/* Image 2 */
.login-banner-images li:nth-child(2) {
    background-image: url(../assets/images/transparent-banner02.png);
    animation-delay: 6s;
}
/* Image 3 */
.login-banner-images li:nth-child(3) {
    background-image: url(../assets/images/transparent-banner03.png);
    animation-delay: 12s;
}
/* Image 4 */
.login-banner-images li:nth-child(4) {
    background-image: url(../assets/images/transparent-banner04.png);
    animation-delay: 18s;
}
/* Image 5 */
.login-banner-images li:nth-child(5) {
    background-image: url(../assets/images/transparent-banner05.png);
    animation-delay: 24s;
}

/* keyframe fade time   = animation delay / animation duration / 2 */
/*        10            =               6 / 30 / 2 */
@keyframes banner-fade {
    0% {
        opacity: 1;
        animation-timing-function: ease-in;
    }
    8% {
        opacity: 1;
        animation-timing-function: ease-out;
    }
    25% {
        opacity: 0;
    }
    25% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
@keyframes banner-crossfade {
    0% {
        opacity: 0;
        animation-timing-function: ease-in;
    }
    8% {
        opacity: 1;
        animation-timing-function: ease-out;
    }
    20% {
        opacity: 1;
    }
    25% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* @media (max-width: 576px) {
    .login-banner-bg {
        background-image: none;
        animation: none;
    }
        .login-banner,
    .login-banner-cycle {
        height: auto;
        min-height: auto;
    }
    ul.login-banner-images li {
        background-image: none;
        animation: none;
    }
} */

.login-middle {
    background-color: #335c83;
    position: relative;
}
.login-bottom a {
    width: 100%;
    height: 100%;
}
.login-bottom-panel a {
    width: 100%;
    height: 100%;
    display: flex;
    /* justify-content: center; */
    align-items: center;
}

.login-middle-names {
    text-align: center;
    color: #729ec9;
    /* color: #000; */
    line-height: 1.25em;
}
.login-middle-names > span {
    font-weight: bold;
}

.login-bottom {
    position: relative;
}

@media (min-width: 768px) {
    .login-bottom .login-bottom-panel:first-child {
        max-width: 20% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .login-bottom {
        width: 68%;
        left: 1%;
    }
    .login-bottom-crest {
        left: calc(29% - 75px) !important;
    }
    .login-bottom-panel {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }
}
.login-bottom-panel {
    background-color: #00366a;
    display: flex;
    justify-content: start;
    position: relative;
    box-sizing: border-box;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    background-clip: padding-box;
    font-size: 0.8em;
}
.login-bottom-app-img {
    max-width: 100% !important;
}
.login-bottom-crest {
    position: absolute;
    top: calc(50% - 75px);
    left: calc(50% - 75px);
}
.login-bottom-crest-img {
    background-color: #335c83;
    width: 150px;
    border-radius: 50%;
    border: 6px solid #335c83;
}

.login-body footer {
    background-color: var(--dark);
    height: 160px;
    position: relative;
}

@media (max-width: 369px) {
    .login-bottom-crest {
        position: absolute;
        top: 140px !important;
        left: calc(50% - 75px);
    }
}

@media (max-width: 575px) {
    .login-banner-bg {
        background-image: none;
        animation: none;
    }
    .login-banner,
    .login-banner-cycle,
    .login-banner-login {
        height: auto;
        min-height: auto;
    }

    ul.login-banner-images li {
        background-image: none;
        animation: none;
    }
    .login-bottom-crest {
        height: auto !important;
        top: 170px;
    }
}
@media (max-width: 767px) {
    .login-bottom-app-img {
        width: auto !important;
    }
    .login-bottom-crest {
        position: absolute;
        top: 12px;
        left: calc(50% - 75px);
    }
    .login-bottom .login-bottom-panel:first-child {
        padding-bottom: 7%;
    }
}

@media (max-width: 991px) {
    .login-bottom-app-img {
        width: 75%;
    }
}

@media (min-width: 768px) {
    .header-logo {
        position: absolute;
        top: 40px;
        text-align: left;
    }
}
@media (min-width: 992px) {
    .header-logo {
        top: 25px;
    }
}
@media (min-width: 1200px) {
    .header-logo {
        top: 5px;
    }
}

/*
 * Row with equal height columns
 * --------------------------------------------------
 */
.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
/* ****************** */
/* LIBRARY PAGE */
/* ****************** */
.body-library {
    /* background-color: #373536; */
    background-color: #3c464d;
}

.body-library .navbar {
    /* background-color: #000 !important; */
    background-color: #2d4d86 !important;
}

#user_info {
    width: 160px;
    display: inline-block;
    color: #fff;
    vertical-align: middle;
    text-align: right;
    font-size: 10px;
}

#main-video-wrapper {
    position: fixed;
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    left: calc(50% - 480px);
}
#video-overlay {
    position: absolute;
    float: left;
    width: 200px;
    min-height: 150px;
    background-color: transparent;
    z-index: 2;
}
#video-wrapper {
    background-color: #4f4f4f;
    width: 200px;
    margin-left: -230px;
    color: #dedede;
    position: absolute;
    overflow: hidden;
    z-index: 99;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
#video-container {
    background-color: #000;
    width: 100%;
    margin: 0 auto;
    /* padding-bottom: 56.25%; */
    min-height: 112.5px;
    overflow: hidden;
    max-width: 100%;
    height: auto;
    position: relative;
}
#video-container iframe,
#video-container object,
#video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0px 0px 0px 8px #fff;
}

#video-title {
    background-color: #000;
    /* width: calc(100% - 20px); */
    margin-top: -5px;
    padding: 18px 10px 13px 10px;
    font-weight: bold;
    text-align: center;
    font-size: 0.9em;
}
#video-description {
    /* width: calc(100% - 20px); */
    padding: 10px;
    font-size: 0.9em;
}
#video-description p {
    margin: 0;
}

#video-description a,
#video-description a:hover {
    color: #fff;
    text-decoration: underline;
}
#phone_img {
    width: 200px;
    height: 454px;
    background: url("/uaolr/img/988-suicide-awareness_Bb_Canvas_vertical.png");
    background-size: cover;
}

.vbanner-img {
    display: block;
    margin-bottom: 5px;
}
.hbanner-img {
    display: none;
    margin-bottom: 5px;
}

/* ****************** */
/* PRODUCT PAGE */
/* ****************** */
.body-product .navbar {
    background-color: #000 !important;
}

.body-product h3,
.body-product h4,
.pace-done h3,
.pace-done h4 {
    background-color: rgba(70, 70, 70, 0.7);
    padding: 0.25em;
    color: #fff;
}
.body-product h4,
.pace-done h4 {
    background-color: rgba(70, 70, 70, 0.4);
    font-size: 1.3rem;
}

.body-product footer,
.pace-done footer {
    background-color: var(--dark);
    min-height: 140px;
}

/* ****************** */
/* FOOTER */
/* ****************** */
footer {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    position: relative;
    bottom: 0;
    box-sizing: border-box;
    font-size: 0.8em;
    justify-content: center;
}
footer p:last-child {
    margin-bottom: 0;
}
footer img {
    height: clamp(20px, 5vw, 52px);
}

.footer-links {
    margin: 0;
    padding: 0 0 1em 0;
}
.footer-links li {
    display: inline-block;
    margin: 0 0.6em;
}
.footer-links a {
    color: var(--gray);
}
.footer-links a:hover {
    color: var(--light);
}

.help-btn {
    color: var(--primary);
    font-size: 1.3rem;
    position: absolute;
    right: 5px;
    cursor: pointer;
}

/* ****************** */
/* ADMIN */
/* ****************** */

.navbar-brand {
    font-family: "Oswald", Helvetica, sans-serif;
    font-weight: lighter;
    font-size: 1.8rem;
    padding-top: 1.2rem;
    padding-bottom: 0.3rem;
}
.navbar-dark .navbar-brand {
    color: var(--light);
}
.navbar-brand > img {
    margin-right: 1rem;
}

.text-light {
    color: var(--light) !important;
}

.copyright {
    text-shadow: 1px 1px 1px #000;
    line-height: 1;
    font-size: 0.8rem;
    color: var(--gray);
    background-color: #333;
}
.form-control {
    color: var(--gray);
}

input[type="search"] {
    color: var(--gray);
    border: 1px solid var(--gray);
    border-right: 0;
    background: transparent;
}
#basic-addon1 {
    color: var(--gray);
    border: 1px solid var(--gray);
    border-left: 0;
    background: transparent;
}

.info-body {
    text-align: left;
}
ol.info-body {
    counter-reset: item;
}
ol.info-body li {
    display: block;
}
ol.info-body li:before {
    margin-left: -1.3rem;
    content: counter(item) ". ";
    counter-increment: item;
    font-weight: bold;
}

.info-quicklinks {
    background: #fff url("../assets/images/QuickLinks_Code_image.jpg") bottom
        right no-repeat !important;
    background-size: 90% auto !important;
}
.info-col {
    width: 100%;
    padding-bottom: 9rem;
}

.view-toggle div .btn {
    background-color: transparent;
    color: var(--gray);
    cursor: pointer;
}
.view-toggle input[type="radio"] {
    display: none;
}
.view-toggle div:first-child .btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 0;
}
.view-toggle div:last-child .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:not(:disabled):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
    background-color: var(--gray-dark);
    border-color: var(--gray);
}

.resource-image,
.resource-title {
    text-align: left !important;
}
.resource-image {
    display: none;
}

.resource-image img {
    height: 75px;
}

.resource-title {
    font-family: "Oswald", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: lighter !important;
    font-size: 1.3rem;
    text-shadow: 1px 1px 1px #000;
}
.product-link:hover .resource-title .text-light {
    color: #fff !important;
}

.resource-title .font-weight-bold {
    font-weight: normal !important;
}

#resource-items .col-12 {
    transition: all 0.6s ease-out;
}
#resource-items > h3 {
    display: none;
}

/* GRID VIEW */

.grid-view {
    justify-content: center;
}

.grid-view .col-12 {
    flex: 0 1 auto;
    max-width: 100%;
    flex-direction: row;
}

.card-product,
.grid-view .card-product {
    padding: 0.5rem !important;
}
.card-product {
    font-size: 24px;
}
.grid-view .card-product {
    font-size: 20px;
}

.grid-view .resource-image,
.grid-view .resource-title {
    flex: 0 1 auto;
    max-width: 100% !important;
    text-align: center !important;
    font-size: 1.25rem;
    overflow: hidden;
}

.grid-view .resource-image {
    display: block;
}

.grid-view .resource-image img {
    height: 190px;
}

.notification {
    background-color: white;
    padding: 15px;
    border: 1px solid black;
    border-radius: 5px;
    text-align: center;
    margin-top: 30%;
    margin-bottom: 30%;
}

[data-acronym="TPT2"] .link a,
[data-acronym="TPT"] .link a {
    color: #fff;
    text-shadow: 1px 1px #000;
}

body.swal2-height-auto {
    height: inherit !important;
}

/* ****************** */
/* MEDIA QUERIES */
/* ****************** */
/* --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px; */

@media (max-width: 575px) {
    #video-wrapper {
        display: flex;
        justify-content: center;
        flex-direction: row;
    }

    .vbanner-img {
        display: block;
    }
    .hbanner-img {
        display: none;
    }
}

@media (min-width: 576px) {
    .resource-title {
        padding-bottom: 0;
        font-size: 1.5rem;
    }
    .grid-view .col-12 {
        flex: 0 1 auto;
        max-width: 50%;
        flex-direction: row;
    }
    .info-quicklinks {
        background-size: 70% auto !important;
    }
    .login-banner {
        background-image: transparent;
    }
    .vbanner-img {
        display: none;
    }
    .hbanner-img {
        display: block;
    }
}
@media (min-width: 768px) {
    body.login-body {
        /* background: url("../assets/images/bg_login_1.jpg") center center
              no-repeat;
          background-size: cover; */
        background: #335c83;
        background: -webkit-linear-gradient(#00366a, #00366a, #335c83, #335c83);
    }
    .resource-image {
        display: block;
    }

    .resource-title {
        text-align: left !important;
        font-size: 1.6rem;
    }
    .grid-view .col-12 {
        flex: 0 1 auto;
        max-width: 33%;
        flex-direction: row;
    }
    .info-quicklinks {
        background-size: 50% auto !important;
    }
    .info-col {
        width: 50%;
        padding-bottom: 0;
    }
}
@media (min-width: 992px) {
    .resource-title {
        text-align: left !important;
        font-size: 1.9rem;
    }
    .grid-view .col-12 {
        flex: 0 1 auto;
        max-width: 25%;
        flex-direction: row;
    }
}

/* for-wide-screen that fits side video-container button */
@media (min-width: 768px) {
    #phone_img {
        width: 100%;
        height: auto;
        background: url("/uaolr/img/988-suicide-awareness_Bb_Canvas_horizontal.png");
        background-size: cover;
    }
}

@media (max-width: 768px) {
    #phone_img {
        width: 100%;
        height: auto;
        background: url("/uaolr/img/988-suicide-awareness_Bb_Canvas_horizontal.png");
        background-size: cover;
    }
}
@media (max-width: 1600px) and (min-width: 769px) {
    #phone_img {
        width: 100%;
        height: auto;
        background: url("/uaolr/img/988-suicide-awareness_Bb_Canvas_horizontal.png");
        background-size: cover;
    }
}
@media (max-width: 1600px) {
    #main-video-wrapper {
        position: relative;
        top: 0;
        left: 0;
    }

    #video-wrapper {
        background-color: #4f4f4f !important;
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        margin: 10px auto;
        left: 0;
        position: relative;
        /* border-radius: 5px; */
        display: flex;
        justify-content: center;
    }
    #video-container {
        width: 200px;
    }
    #video-title {
        width: 100%;
    }
    #video-description {
        width: 100%;
    }
    .overlay-mute-icon-off {
        left: 20%;
    }
}

@media (min-width: 1601px) {
    .vbanner-img {
        display: block;
    }
    .hbanner-img {
        display: none;
    }
}

/* for-phone-landscape */

@media (max-width: 767px) {
    .video-target {
        margin: 0 auto;
    }
    #video-wrapper {
        width: 100% !important;
        margin: 10px 5px;
        left: 0;
        position: relative;
        display: flex;
        justify-content: center;
        /* border-radius: 5px; */
    }
    #video-container {
        width: 200px;
    }
    #video-title {
        width: 100%;
    }
    #video-description {
        width: 100%;
    }
    .overlay-icon {
        left: 44% !important;
    }
    .overlay-mute-icon-off {
        left: 20px !important;
    }
}

/* for-phone-portrait */

@media (max-width: 320px) {
    #video-container {
        width: 100%;
        float: none;
    }
    #video-title,
    #video-description {
        width: 92%;
        float: none;
    }
}

.banner-image-container {
    background-color: #000 !important;
    border-bottom: 3px solid white;
}
