﻿/************************************************************************

                           S T Y L E    S H E E T 

                                 F O R   
                
                A P P L I C A T I O N    W I D E    U S A G E

*************************************************************************/

body {
    padding: 0px;
}

/* --------------------------------------------------------------------- */
/* ------------------------------ Visibility --------------------------- */
/* --------------------------------------------------------------------- */

.hide {
    display: none !important;
    visibility: hidden !important;
}

.show {
    display: block;
    visibility: visible !important;
}

/* --------------------------------------------------------------------- */
/* ------------------------- Colors / Opacity -------------------------- */
/* --------------------------------------------------------------------- */

.opacity-p5 {
    opacity: 0.5;
}

.opacity-1 {
    opacity: 1;
}

.c-blue {
    color: blue;
}

.c-red {
    color: red;
}

.c-yellow {
    color: yellow;
}

.c-green {
    color: darkgreen;
}

.c-white {
    color: white;
}

.c-black {
    color: black;
}

.c-green {
    color: green;
}

.c-light-gray {
    color: gray;
}

.b-lavender {
    background-color: #FFF0F5 !important;
}

.b-darkred {
    background-color: darkred !important;
}

.b-darkmagenta {
    background-color: darkmagenta !important;
}

.b-light-gray {
    background: #f0f4f5;
}

.border-black {
    border: 1px solid black;
}

.border-light-gray {
    border: 1px solid #f0f4f5;
}

.bc-lightred {
    background-color: #ffcccb;
}

.bc-lightgreen {
    background-color: lightgreen;
}

.bc-lightyellow {
    background-color: lightyellow;
}

/* --------------------------------------------------------------------- */
/* --------------------- Height / Margin / Padding --------------------- */
/* --------------------------------------------------------------------- */

.height-3p5rem {
    height: 3.5rem;
}

.margin-right-10 {
    margin-right: 10px;
}

.w-5 {
    width: 5% !important;
}

.w-10 {
    width: 10% !important;
}

.w-30 {
    width: 30% !important;
}

.w-40 {
    width: 40% !important;
}

.mw-3r {
    max-width: 3rem;
}

.min-width-3r {
    min-width: 3rem;
}

.min-width-3pt5r {
    min-width: 3.5rem;
}

.min-width-6r {
    min-width: 6rem;
}

/* --------------------------------------------------------------------- */
/* ----------------------------- Alignment ----------------------------- */
/* --------------------------------------------------------------------- */

.scroll-x-auto {
    overflow-x: auto;
}

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

.img-contain {
    object-fit: contain;
}

.pdf-contain {
    width: 100% !important;
    height: auto;
}

/* --------------------------------------------------------------------- */
/* ----------------------------- Link / Button ------------------------- */
/* --------------------------------------------------------------------- */

.link-simple {
    cursor: pointer;
    text-decoration: none;
}

.link-underline {
    cursor: pointer;
    text-decoration: underline !important;
}

.btn-primary:disabled {
    cursor: not-allowed;
}

/* --------------------------------------------------------------------- */
/* ---------------------------------- Input ---------------------------- */
/* --------------------------------------------------------------------- */

.input-field-error {
    border: 1px solid red !important;
}


/* --------------------------------------------------------------------- */
/* ---------------------------------- Text ----------------------------- */
/* --------------------------------------------------------------------- */

.ls-01 {
    letter-spacing: 0.1rem;
}

.strike-text {
    text-decoration: line-through;
}

.fs-pt8r {
    font-size: 0.8rem !important;
}

.text-micro {
    font-size: 0.6rem;
}

/* --------------------------------------------------------------------- */
/* --------------------------- Small Shapes ---------------------------- */
/* --------------------------------------------------------------------- */
.bread-crumb-border-dashed {
    display: block;
    border-radius: 0.6rem !important;
    border: 0.07rem dashed black !important;
}

/* --------------------------------------------------------------------- */
/* ----------------------------- Drop Menu ------------------------------ */
/* --------------------------------------------------------------------- */

#topics-menu .dropdown-item:hover {
    background-color: ivory;
}

#topics-menu  {
    max-height: 80vh;
    overflow-y: auto;
}

/* width */
div.dropdown-menu::-webkit-scrollbar {
    width: 0.3rem;
}

/* Track */
div.dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
div.dropdown-menu::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
div.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.dropdown-menu a {
    text-decoration: none;
    color: #343a40;
    font-size: 1rem;
}

.dropdown-menu a:hover {
    text-decoration: none;
    color: #343a40;
}

#user-menu .dropdown-item:hover {
    background-color: ivory;
}

/* --------------------------------------------------------------------- */
/* ---------------------------- Navigation Bar ------------------------- */
/* --------------------------------------------------------------------- */

.navbar .hamburger {
    height: 80%;
    width: 2rem;
    border: 1px solid #F0FFFF;
    padding: 0px 5px;
    border-radius: 5px;
    opacity: 0.4;
}

.navbar .hamburger div {
    margin: 0.4rem 0px;
    border: 1px solid #F0FFFF;
    background-color: #F0FFFF;
    border-radius: 5px;
}

.navbar .hamburger:hover,
.navbar .hamburger:focus {
    box-shadow: 0 0 0 1px #FFF0F5;
    opacity: 0.8;
}

.navbar .user-name:hover,
.navbar .user-name:focus {
    box-shadow: 0 0 0 1px #FFF0F5;
    opacity: 0.8;
}

.navbar .user-name {
    border: 1px solid white;
    border-radius: 5px;
    padding: 0.25rem;
    float: right;
    opacity: 0.6;
}

.navbar .user-name span {
    font-style: italic;
}

.navbar .user-name:hover,
.navbar .user-name:focus {
    background-color: #F0FFFF;
    color: #343a40;
    border: 1px solid #F0FFFF;
}

#user-menu .user-name {
    display: none;
    visibility: hidden;
}


/* --------------------------------------------------------------------- */
/* ---------------------------------- Menus ---------------------------- */
/* --------------------------------------------------------------------- */

.menu-shadow {
    -webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
    box-shadow: 0 10px 6px -6px #777;
}

.add-plus {
    position: relative;
}

.add-plus::before {
    font-family: FontAwesome;
    position: absolute;
    content: '\f055';
    color: blue;
    font-size: 0.8rem;
    top: 5px;
    left: 10px;
}

.selected-nav-item {
    position: relative;
}

.selected-nav-item::before {
    position: absolute;
    content: ' ';
    background-color: aquamarine;
    height: 100%;
    width: 100%;
    z-index: -1;
    top: 0px;
    left: 0px;
}

/************************************************************************

                           S T Y L E    S H E E T 

                     F O R   M O B I L E   D E V I C E S

*************************************************************************/
@media only screen and (max-width: 961px) { /* smartphones, iPhone */
    body {
    }

    /* --------------------------------------------------------------------- */
    /* -------------------------------- Links ------------------------------ */
    /* --------------------------------------------------------------------- */

    .mw-10 {
        width: 10% !important;
    }

    .m-hide {
        display: none;
        visibility: hidden;
    }

    /* --------------------------------------------------------------------- */
    /* ----------------- Functionality: Navigation Bar --------------------- */
    /* --------------------------------------------------------------------- */

    .navbar .user-name {
        border: 0px;
        width: 9rem;
        float: right;
        font-size: 1.5rem;
        padding: 0;
    }

        .navbar .user-name i {
            margin-right: 0 !important;
        }

        .navbar .user-name span {
            display: none;
            visibility: hidden;
        }

        .navbar .user-name:hover,
        .navbar .user-name:focus {
            opacity: 0.8;
            border: 0;
            color: white;
            background-color: transparent;
            box-shadow: 0 0 0 1px transparent;
        }

    #user-menu .user-name {
        background-color: white;
        font-size: 0.9rem;
        padding: 5px 20px;
        text-align: right;
        display: block;
        visibility: visible;
    }
}