﻿/* ---------------------------------------------------
    GOOGLE FONT IMPORT
----------------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Red+Hat+Text:400,700&display=swap');
/* ---------------------------------------------------
    MAIN CSS
----------------------------------------------------- */
body, html {
    height: 100%;
}

body {
    font-family: 'Red Hat Text', sans-serif;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    color: #0a95b9;
}

h1 {
    color: #000;
    line-height: 1.5em;
    padding: 0px 10px;
    /*
    border: 5px solid;
    border-image: linear-gradient(90deg, #7ec145,  #0a95b9) 0 75 100;
*/
}
/* ---------------------------------------------------
    NAVBAR STYLE
----------------------------------------------------- */
.navbar {
    background: #fff;
    height: 80px;
    width: 100%;
    padding: 15px;
    border: 5px solid;
    border-image: linear-gradient(90deg, #7ec145, #0a95b9) 0 75 100;
    /*    border-image: linear-gradient(90deg, #7ec145,  #0a95b9, rgba(255,0,0,0)) 0 75 100;*/
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

i,
span {
    display: inline-block;
}

.icon {
    display: none;
}

.nav-link {
    color: #7ec145;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.wrapper {
    display: flex;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #fff;
    color: #383838;
    transition: all 0.3s;
    font-family: 'Red Hat Display', sans-serif;
}

    #sidebar a {
        color: #383838;
    }
    /* ----- SIDEBAR ACTIVE ----- */

    #sidebar.active {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
    }

        #sidebar.active ul li a {
            padding: 20px 10px;
            text-align: center;
            font-size: 0.85em;
        }

            #sidebar.active ul li a i {
                margin-right: 0;
                display: block;
                font-size: 1.8em;
                margin-bottom: 5px;
            }

        #sidebar.active ul ul a {
            padding: 10px !important;
        }

        #sidebar.active .dropdown-toggle::after {
            top: auto;
            bottom: 10px;
            right: 50%;
            -webkit-transform: translateX(50%);
            -ms-transform: translateX(50%);
            transform: translateX(50%);
        }

        #sidebar.active ul li ul i {
            font-size: 1em;
        }

        /* Hide the regular logo on sidebar activation */
        #sidebar.active .logo {
            display: none;
        }

        /* Show the icon logo on sidebar activation */
        #sidebar.active .icon {
            display: block;
        }

        /* Hide the sidebar link text when sidebar is active */
        #sidebar.active .link-text {
            display: none;
        }

    #sidebar .sidebar-header {
        height: 80px;
        padding: 20px;
        border-bottom: 5px solid #7ec145;
        box-shadow: inset 0px 0px 2px rgba(0, 0, 0, 0.1);
    }

    #sidebar ul.components {
        padding: 20px 0;
    }

    #sidebar ul li a {
        padding: 10px;
        font-size: 1.1em;
        display: block;
    }

        #sidebar ul li a:hover {
            color: #7ec145;
        }

        #sidebar ul li a i {
            margin-right: 10px;
        }

        #sidebar ul li a[aria-expanded="true"] {
            color: #0a95b9;
        }

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #fff;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#main {
    width: 100%;
    min-height: 100vh;
    transition: all 0.3s;
    background: #fafafa;
}

#content {
    min-height: 100%;
    margin: 15px;
    padding: 15px;
    background: #fff;
}

.table tbody tr {
    max-height: 10px;
}

    .table tbody tr td {
        vertical-align: middle;
    }

        .table tbody tr td img {
            height: 50px;
        }
/* ---------------------------------------------------
    BOOTSTRAP OVERRIDES
----------------------------------------------------- */
.primary {
    color: #7ec145;
}

.secondary {
    color: #0a95b9;
}
/* ---------------------------------------------------
    BUTTON STYLE OVERRIDES
----------------------------------------------------- */
.btn-secondary {
    border: none;
}

    .btn-secondary:hover {
        background: #0a95b9;
        border: none;
    }


.btn-outline-dark:hover {
    background: #0a95b9;
    border: #0a95b9;
    color: #fff;
}

/* ---------------------------------------------------
    PAGINATION OVERRIDES
----------------------------------------------------- */
.page-item .page-link {
    color: #0a95b9;
}

.page-item.active .page-link {
    background-color: #0a95b9;
}

.page-size {
    display: in
}

/* ---------------------------------------------------
    LOGIN PAGE STYLING
----------------------------------------------------- */

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh
}

.background-image {
    /*    Rotating background image. Tends to load slow. so commenting out for now. */
    /*    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.40), rgba(0, 0, 0, 0.70)), url('https://source.unsplash.com/collection/1111575/1600x900');*/
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.40), rgba(0, 0, 0, 0.70)), url('https://images.pexels.com/photos/1194420/pexels-photo-1194420.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260');
    background-size: cover;
}

.gradient-background {
    background-image: linear-gradient(to right, #7ec145, #0a95b9);
}

.gradient-line {
    border: 5px solid;
    border-image: linear-gradient(90deg, #7ec145, #0a95b9) 0 75 100;
}

.card-img-top {
    margin: 5% auto;
}

.footer-copyright {
    font-size: 0.8rem;
}

.form-control::placeholder {
    font-size: 1rem;
    color: grey;
}

.modal-footer {
    color: #fff;
}

/* ---------------------------------------------------
    PASSWORD SET STYLING
----------------------------------------------------- */
.valid {
    display: none;
}

.invalid {
    color: red;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -80px !important;
    }

    .link-text {
        display: none;
    }

    .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }

    #sidebar.active {
        margin-left: 0 !important;
    }

    #sidebar .sidebar-header h3,
    #sidebar .CTAs {
        display: none;
    }

    #sidebar .sidebar-header strong {
        display: block;
    }

    #sidebar ul li a {
        padding: 20px 10px;
    }

        #sidebar ul li a span {
            font-size: 0.85em;
        }

        #sidebar ul li a i {
            margin-right: 0;
            display: block;
        }

    #sidebar ul ul a {
        padding: 10px !important;
    }

    #sidebar ul li a i {
        font-size: 1.3em;
    }

    #sidebar {
        margin-left: 0;
    }

    #sidebarCollapse span {
        display: none;
    }

    table {
        font-size: 0.8em;
    }

    .card-header h5 {
        font-size: 0.9em;
    }

    .hide-on-mobile {
        display: none;
    }
}
}
