:root {
    --font-family-sans-serif: "Roboto", sans-serif;
}

body {
    color: var(--dark);
}
.wrapper {
    min-height: 100%;
    padding: 0 0 160px 0;
    /* display: -webkit-box;
    display: -ms-flexbox;
    display: flex; */
    box-sizing: border-box;
    position: relative;
}

.content-wrapper {
    width: 100%;
    overflow-x: hidden;
}

#content {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}

.card-product {
    background-color: #4f4f4f;
    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;
}

.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;
}

.menu-button--ir {
    background-color: rgb(211, 50, 50);
    width: 10px;
    height: 100%;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
}
.nobottompadding{
    margin-bottom: 0px !important;
}
.chapter_label .mt-3{
    margin-top: 0px !important;
    margin-right: 0px !important;
    margin-left: 0px !important;
}
.chapter_label{
    cursor: pointer;
}
.chapter_label i{
    float:right;
    margin-right: 5px;
}
.chapter_list {
    margin-bottom: 8px !important;
}
.chapter_list_hidden{
    display: none;
}
.section_label_text {
    margin-left: 0.75rem;
}

.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: .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;
}

/* 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.body-login {
    background-image: none;
}

.page-wrap {
    min-height: 100%;
    box-sizing: border-box;
    position: relative;
    padding: 0 0 180px 0;
}

.body-login .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;
}

.body-login footer {
    background-color: var(--dark);
    height: 160px;
}

/* ****************** */
/* LIBRARY PAGE */
/* ****************** */
.body-library {
    background-color: #373536;
}

.body-library .navbar {
    background-color: #000 !important;
}

/* ****************** */
/* 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,.7);
    padding: 0.25em;
    color: #FFF;
}
.body-product h4,
.pace-done h4 {
    background-color: rgba(70,70,70,.4);
    font-size: 1.3rem;
}

.body-product footer,
.pace-done footer {
    background-color: var(--dark);
    height: 140px;
}

/* ****************** */
/* FOOTER */
/* ****************** */
footer {
    width: 100%;
    padding: 1rem 0;
    position: absolute;
    bottom: 0;
    box-sizing: border-box;
    font-size: 0.8em;
}
footer p:last-child {
    margin-bottom: 0;
}

.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: 0.3rem;
    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);
}
.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: 140px;
}

.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;
}

body.swal2-height-auto {
    height: inherit !important;
}

/* ****************** */
/* MEDIA QUERIES */
/* ****************** */
/* --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px; */

@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;
    }
}
@media (min-width: 768px) {
    body.body-login {
        background: url("../assets/images/bg_login_1.jpg") center center
            no-repeat;
        background-size: cover;
    }
    .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;
    }
}
