@import url(https://fonts.googleapis.com/css?family=Oswald:300, 400);

.body-library {
    background-color: #fff;
}

.wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    height: calc(100% - 70px);
}

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

a:hover {
    text-decoration: none !important;
}

.resource-button {
    cursor: pointer;
    color: #3a3a3a;
    border-top: 1px solid #ccc;
    padding: 10px;
    margin: 5px;
    border-radius: 10px;
    font-size: 18px;
    line-height: 1.25em;
    text-shadow: 1px 1px #fff;
    background: transparent
        linear-gradient(
            to bottom,
            #fff 0%,
            #f1f1f1 50%,
            #e1e1e1 51%,
            #f6f6f6 100%
        )
        repeat scroll 0% 0%;
    border: none;
}

.breadcrumb {
    background-color: #000;
    border: 1px solid #7d7d7d;
}

.chapter-number {
    color: #878787;
    float: right;
    font-size: 36px;
    font-weight: bold;
    margin-right: -5px;
    text-shadow: 1px 1px #ffffff;
}

.product-image {
    height: 620px;
}

.menu-button--ir {
    background-image: linear-gradient(
            to right,
            rgb(211, 50, 50) 0%,
            rgb(211, 50, 50) 10px,
            transparent 10px
        ),
        linear-gradient(
            to bottom,
            #fff 0%,
            #f1f1f1 50%,
            #e1e1e1 51%,
            #f6f6f6 100%
        ) !important;
    background-blend-mode: multiply;
    padding-left: 25px !important;
}

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

.null-chapter {
    color: white;
    text-shadow: none;
    background: linear-gradient(
            to bottom,
            #afafaf 0%,
            #a1a1a1 50%,
            #909090 51%,
            #a6a6a6 100%
        )
        repeat scroll 0px 0px transparent !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: url("../assets/images/bg_login_1.jpg") center center no-repeat;
    background-size: cover;
}
body.body-login header {
    text-align: center;
}
.page-wrap {
    min-height: 100%;
    box-sizing: border-box;
    position: relative;
    padding: 0 0 100px 0;
}
.navbar-brand {
    height: 140px;
    margin-right: 0;
}
.navbar-brand img {
    height: 120px;
    padding-top: 1rem;
}

.login-heading {
    font-family: "Oswald", sans-serif;
    font-size: 4rem;
    font-weight: lighter;
    text-shadow: 2px 2px 0px #000000;
}
.login-intro {
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 2px 1px 0px #000000;
}
.login-footer {
    background-color: #182139;
    color: #e9df3e;
}
.login-footer a {
    color: #e9df3e;
    text-decoration: underline;
}

.nell-legal {
    font-size: 0.8em;
}

/* ****************** */
/* FOOTER */
/* ****************** */
.body-login footer {
    background-color: #333;
    background-color: var(--dark);
    width: 100%;
    height: 80px;
    position: absolute;
    bottom: 0;
    box-sizing: border-box;
    font-size: 0.8em;
}

.footer-links {
    margin: 0;
    padding: 0 0 1em 0;
}
.footer-links li {
    display: inline-block;
    margin: 0 1em;
}
.footer-links a {
    color: #888;
    color: var(--gray);
}
.footer-links a:hover {
    color:#ccc;
    color: var(--light);
}

.help-btn {
    color: #004C66;
    color: var(--primary);
    font-size: 1.3rem;
    position: absolute;
    right: 5px;
    cursor: pointer;
}

/* ****************** */
/* TOPBAR */
/* ****************** */
header h1 {
    font-family: "Oswald", Helvetica, sans-serif;
    font-weight: normal;
    font-size: 2rem;
    padding-top: 0.3rem;
    padding-bottom: 0.7rem;
    color: #464646;
    color: var(--gray-dark);
}
.library-header {
    display: flex;
    justify-content: center !important;
    text-align: center;
}

.shadow {
    -webkit-box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
    box-shadow: 0.2rem 0.1rem 0.3rem 0 rgba(58, 59, 69, 0.7) !important;
}

/* ****************** */
/* ADMIN */
/* ****************** */

.navbar-brand {
    font-family: "Oswald", Helvetica, sans-serif;
    font-weight: lighter;
    font-size: 2rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    color: #464646;
    color: var(--gray-dark);
}
.navbar-dark .navbar-brand {
    color: #ccc;
    color: var(--light);
}
.navbar-brand > img {
    margin-right: 0;
}

.text-light {
    color: #ccc !important;
    color: var(--light) !important;
}

.copyright {
    color: #fff;
    color: var(--white);
    text-shadow: 1px 1px 1px #000;
    font-size: small;
}
.copyright-atp {
    padding-top: 0.2rem;
    color: #ccc;
    color: var(--light);
    text-shadow: 1px 1px 1px #000;
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    font-size: 0.7rem;
}

.form-control {
    color: #888;
    color: var(--gray);
}

input[type="search"] {
    color: #888;
    color: var(--gray);
    border: 1px solid #888;
    border: 1px solid var(--gray);
    border-right: 0;
    background: transparent;
}
#basic-addon1 {
    color: #888;
    color: var(--gray);
    border: 1px solid #888;
    border: 1px solid var(--gray);
    border-left: 0;
    background: transparent;
}

.info-body {
    text-align: left;
}

.view-toggle div .btn {
    background-color: transparent;
    color: #888;
    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: #464646;
    background-color: var(--gray-dark);
    border-color: #888;
    border-color: var(--gray);
}

.resource-image,
.resource-title {
    text-align: center !important;
}

.resource-title {
    font-family: "Oswald", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: lighter !important;
    font-size: 1.25rem;
    text-shadow: 1px 1px 1px #000;
}
.resource-type {
    background-color: transparent;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold !important;
    font-size: 0.9rem;
    text-align: center;
    color: #888 !important;
    color: var(--gray) !important;
    border-top: 0;
}
.resource-footer {
    background-color: transparent;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold !important;
    font-size: 0.9rem;
    text-align: center;
    color: #888 !important;
    color: var(--gray) !important;
    border-top: 0;
    display: none;
}

.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;
}
.grid-view .card {
    border-radius: 0;
    transition: all 0.2s linear;
}
.grid-view .card:hover {
    transform: translate3d(-4px, -4px, 0px);
}
.card-product,
.grid-view .card-product {
    padding: 1rem !important;
}
.grid-view .card-product {
    padding: 0 !important;
}
.card-product {
    font-size: 24px;
}
.grid-view .card-product {
    font-size: 20px;
}

.grid-view .resource-type,
.grid-view .resource-footer {
    background-color: #333 !important;
    background-color: var(--dark) !important;
    width: 100%;
    text-align: center !important;
    font-weight: lighter !important;
    color: #ccc !important;
    color: var(--light) !important;
}

.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;
}
.resource-image img {
    height: 140px;
}
.grid-view .resource-image img {
    width: 100%;
    height: auto;
}
.grid-view .resource-type {
    display: none;
}
.grid-view .resource-footer {
    display: block;
}

/* ****************** */
/* LIST VIEW */
/* ****************** */

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

@media (min-width: 576px) {
    .resource-title {
        padding-bottom: 0;
    }
    .grid-view .col-12 {
        flex: 0 1 auto;
        max-width: 50%;
        flex-direction: row;
    }
    .resource-type {
        text-align: center !important;
    }
}
@media (min-width: 768px) {
    .resource-title {
        text-align: left !important;
        font-size: 1.5rem;
    }
    .grid-view .col-12 {
        flex: 0 1 auto;
        max-width: 33%;
        flex-direction: row;
    }
}
@media (min-width: 992px) {
    header h1 {
        font-size: 3.3rem;
    }
    .navbar-brand {
        margin-right: 1rem;
    }
    .library-header {
        text-align: left;
    }
    .grid-view .col-12 {
        flex: 0 1 auto;
        max-width: 25%;
        flex-direction: row;
    }
    .resource-type {
        text-align: left !important;
    }
}
