﻿/* CMS Style Variables */
/* ------------------------------------------ */
:root {
    --ThemeMain: #333;
    --ThemeAccent: #71b52b;
    --ThemeWhite: #fff;
    --ThemeRed: #FF0000;
    --ThemeSmoke: #F5F5F5;
}

/* Custom Styles */
/* ------------------------------------------ */

.select2 {
    min-width: 180px !important
}

a.nostyle:link {
    text-decoration: inherit;
    color: inherit;
    cursor: pointer;
}

a.nostyle:visited {
    text-decoration: inherit;
    color: inherit;
    cursor: pointer;
}

.progress {
    background-color: #e9ecef !important;
    height: 14px !important;
}   

.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* semi-transparent black */
    z-index: 99;
    display: none; /* hidden by default */
}

label.is-invalid {
    color: #f93b7a !important;
    width: 100%;
}

.full-height {
    min-height: 75vh;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-15 {
    margin-top: 15px;
}

.margin-top-35 {
    margin-top: 35px;
}

div.app-search.margin-top-15 > a {
    line-height: 36px;
}

.header-row .btn {
    margin-left: 5px;
}

#time {
    width: 100%;
    color: #fff;
    font-size: 60px;
    margin-bottom: 80px;
    display: inline-block;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

.left-sidenav-menu .menu-title {
    color: var(--ThemeWhite);
    background: var(--ThemeAccent);
    font-weight: bold;
}

.left-sidenav-menu li.active > a {
    border-left-color: var(--ThemeRed);
    color: var(--ThemeMain);
    font-weight: 700;
}

left-sidenav-menu li > a {
    padding: 3px 20px !important;
    transition: 0.1s ease-in-out;
}

.left-sidenav-menu li.active > a,
.left-sidenav-menu li.active > a i {
    color: var(--ThemeMain) !important;
    font-weight: 700;
}

.left-sidenav-menu li:hover,
.left-sidenav-menu li:active,
.left-sidenav-menu li:focus {
    background: var(--ThemeSmoke);
}

.left-sidenav-menu li.menu-title:hover,
.left-sidenav-menu li.menu-title:active,
.left-sidenav-menu li.menu-title:focus {
    background: var(--ThemeAccent);
}

.left-sidenav-menu li > a:hover,
.left-sidenav-menu li > a:hover i,
.left-sidenav-menu li > a:active,
.left-sidenav-menu li > a:active i,
.left-sidenav-menu li > a:focus,
.left-sidenav-menu li > a:focus i {
    color: var(--ThemeMain);
    font-weight: 700;
}

.theme-gradient-1 {
    background-image: linear-gradient(120deg, #00e795 0, #0095e2 100%);
}

/* Company SideBar */
/* ------------------------------------------ */
.no-scroll {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: fixed;
}

.button-menu-company img {
    border: 1px solid var(--ThemeMain);
    border-radius: 50%;
}

.companyItem {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row;
    flex-flow: row;
    cursor: pointer;
    padding: 10px;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-radius: 2px;
}

.companyStickySearch {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: var(--ThemeWhite);
    padding-top: 15px;
}

.companyItem.selected {
    background-color: var(--ThemeSmoke);
    font-weight: bold;
    border-left: 3px solid var(--ThemeRed);
}

.companyItem:hover {
    background-color: var(--ThemeSmoke);
    font-weight: bold;
}

.companyItemBody {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
}

.companyItem .companyLogo {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid var(--ThemeMain);
    border-radius: 50%;
    min-width: 60px;
}

.button-menu-company {
    border: none;
    color: #ffffff;
    width: 60px;
    background-color: transparent;
    cursor: pointer;
}

@media print {
    .right-sidenav {
        display: none;
        margin: 0;
        padding: 0;
    }
}

.right-sidenav {
    width: 300px;
    background-color: var(--ThemeWhite);
    -webkit-box-shadow: 0 0 24px 0 rgb(0 0 0 / 6%), 0 1px 0 0 rgb(0 0 0 / 2%);
    box-shadow: 0 0 24px 0 rgb(0 0 0 / 15%), 0 1px 0 0 rgb(0 0 0 / 2%);
    -webkit-transition: .3s;
    transition: .3s;
    padding: 22px 0;
    margin-top: -70px;
    border-radius: 3px;
    position: fixed;
    right: 1%;
    margin-top: auto;
    min-height: calc(99vh - 75px);
    margin-bottom: auto;
    top: 75px;
    z-index: 999;
    overflow-y: scroll;
    max-height: calc(99vh - 75px);
    padding-top: 0px;
}

.right-sidenav-menu {
}

    .right-sidenav-menu li {
        list-style: none;
        display: block;
        width: 100%;
    }

        .right-sidenav-menu li > a {
            display: block;
            padding: 7px 20px;
            color: var(--ThemeMain);
            border-left: 3px solid transparent;
            -webkit-transition: all 0.3s ease-out;
            transition: all 0.3s ease-out;
        }

            .right-sidenav-menu li > a:hover {
                color: var(--ThemeSmoke);
            }

            .right-sidenav-menu li > a i {
                width: 30px;
                display: inline-block;
                font-size: 20px;
                opacity: 0.8;
                vertical-align: middle;
                color: var(--ThemeMain);
            }

        .right-sidenav-menu li ul {
            padding: 0 0 0 25px;
        }

            .right-sidenav-menu li ul li > a {
                padding: 8px 30px;
                color: var(--ThemeMain);
                font-size: 13.5px;
                border-left: none;
            }

                .right-sidenav-menu li ul li > a:hover {
                    color: var(--ThemeSmoke);
                }

        .right-sidenav-menu li.active .active .menu-arrow.left-has-menu i:before,
        .right-sidenav-menu li.active .menu-arrow i:before {
            content: "\F140";
        }

        .right-sidenav-menu li.active > a {
            color: var(--ThemeSmoke);
            border-left-color: var(--ThemeSmoke);
        }

        .right-sidenav-menu li.active .menu-arrow.left-has-menu i:before {
            content: "\F142";
        }

    .right-sidenav-menu .menu-title {
        color: var(--ThemeMain);
        text-transform: uppercase;
        font-weight: 500;
    }

    .right-sidenav-menu .menu-arrow {
        float: right;
    }

        .right-sidenav-menu .menu-arrow i {
            width: 15px;
        }

    .right-sidenav-menu .badge {
        margin-top: 4px;
    }
