﻿:root {
    --bs-fontfamily: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

html {
    height: 100%;
    box-sizing: border-box;
}

body {
    position: relative;
    min-height: 100%;
}

footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    /*padding: 1rem;*/
    padding-left: 3rem;
    padding-right: 3rem;
    background: rgba(255, 255, 255, 0.59);
    color: black;
}

.required:after {
    content: " *";
    font-weight: bold;
    color: red;
}

@media (min-width: 768px) {
    .form-horizontal .control-label {
        text-align: left !important;
    }
}

@media (min-width: 768px) and (max-width: 996px) {
    .navbox-tiles .tile .icon .glyphicon {
        font-size: 40px !important;
    }
}


@media (min-width: 420px) and (max-width: 768px) {
    .navbox-tiles .tile .icon .glyphicon {
        font-size: 30px !important;
    }
}

@media (max-width: 420px) {
    .navbox-tiles .tile .icon .glyphicon {
        font-size: 15px !important;
    }
}

.navigation-bar, .navigation-bar .navbox-tiles, .navbox-tiles .tile, .navbox-tiles .tile .icon .glyphicon, .navbox-tiles .tile .title {
    -webkit-transition: all .3s;
    transition: all .3s;
}

.navbox-tiles:after {
    content: '';
    display: table;
    clear: both;
}

.navbox-tiles {
    width: 100%;
    padding: 25px;
}

    .navbox-tiles .tile {
        display: block;
        background-color: #4f5c71;
        width: 15%;
        height: 0;
        padding-bottom: 15%;
        float: left;
        border: 2px solid transparent;
        color: #fff;
        position: relative;
    }

        .navbox-tiles .tile .icon {
            width: 100%;
            height: 100%;
            text-align: center;
            position: absolute;
            top: 0;
            left: 0;
        }

            .navbox-tiles .tile .icon .glyphicon {
                font-size: 75px;
                position: absolute;
                top: 50%;
                left: 50%;
                -webkit-transform: translate(-50%, -50%);
                -ms-transform: translate(-50%, -50%);
                transform: translate(-50%, -50%);
                -webkit-backface-visibility: initial;
                backface-visibility: initial;
            }

        .navbox-tiles .tile .title {
            padding: 10px;
            font-size: 15px;
            position: absolute;
            bottom: 0;
            left: 0;
        }

        .navbox-tiles .tile:hover {
            border-color: #000;
            text-decoration: none;
        }

        .navbox-tiles .tile:not(:nth-child(5n+5)) {
            margin-right: 2.54545454545455%;
        }

/*.navbox-tiles .tile:nth-child(n+6) {
                margin-top: 18px;
            }*/

@media screen and (max-width: 745px) {
    .navbox-tiles .tile .title {
        font-size: 0px !important;
    }
}

@media (min-width: 746px) and (max-width: 1200px) {
    .navbox-tiles .tile .title {
        font-size: 8px !important;
        padding: 3px !important;
    }
}

@media (min-width: 1201px) and (max-width: 1623px) {
    .navbox-tiles .tile .title {
        font-size: 11px !important;
        padding: 5px !important;
    }
}

@media screen and (max-width: 370px) {

    .navbox-tiles .tile .icon .glyphicon {
        font-size: 25px;
    }

    .navbox-tiles .tile .title {
        padding: 3px;
    }
}


/*
     Colours: Olive: #58581E #6C6C34
             Champagne: #C0B283 #DCD0C0
            Blue: #0b1a35 #364256
*/
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

/* styles for browsers without Placeholder support */
.placeholder {
    color: #aaa;
}

.alert-default {
    background-color: #eeeeee;
}

.error-template {
    padding: 40px 15px;
    text-align: center;
}

.error-actions {
    margin-top: 15px;
    margin-bottom: 15px;
}

    .error-actions .btn {
        margin-right: 10px;
    }

.pad15 {
    margin-top: 15px;
}

.search {
    position: relative;
    color: #aaa;
    font-size: 16px;
}

    .search input {
        width: 250px;
        height: 32px;
        background: #fcfcfc;
        border: 1px solid #aaa;
        border-radius: 5px;
        box-shadow: 0 0 3px #ccc, 0 10px 15px #ebebeb inset;
    }

    .search input {
        text-indent: 32px;
    }

    .search .glyphicon-search {
        position: absolute;
        top: 10px;
        left: 10px;
    }

/* Vertical Align Modal */
.modal-vertical-centered {
    transform: translate(0, 50%) !important;
    -ms-transform: translate(0, 50%) !important; /* IE 9 */
    -webkit-transform: translate(0, 50%) !important; /* Safari and Chrome */
}



a.navlink,
a.navlink:hover,
a.navlink:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

i, span {
    /*display: inline-block;*/
}

.panel-primary > .panel-heading {
    color: #ffffff !important;
    background-color: #0b1a35 !important;
    border-color: #0b1a35 !important;
}

.k-toolbar {
    background-color: #0b1a35 !important;
}

.k-grouping-header {
    background-color: #0b1a35 !important;
}

.k-group-indicator {
    background-color: #364256 !important;
}

.k-grid .k-grouping-header {
    color: white !important;
}

.k-header .k-link {
    font-weight: 600 !important;
}

.btn-primary {
    color: #fff;
    background-color: #51627d !important;
    border-color: #357ebd;
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active,
    .btn-primary.active,
    .open > .dropdown-toggle.btn-primary {
        color: #fff;
        background-color: #0ca7d3 !important;
        border-color: #51627d;
    }

.bs-callout-info {
    background-color: #f4f8fa;
    border-color: #51627d !important;
}

    .bs-callout-info h4, .bs-callout-info h5 {
        color: #51627d !important;
    }


/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.wrapper {
    display: flex;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #0b1a35;
    color: #fff;
    transition: all 0.3s;
}

    #sidebar.active {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
    }

        #sidebar.active .sidebar-header h3, #sidebar.active .CTAs {
            display: none;
        }

        #sidebar.active .sidebar-header strong {
            display: block;
        }

    #sidebar ul li a {
        text-align: left;
    }

    #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 a[aria-expanded="false"]::before, #sidebar.active a[aria-expanded="true"]::before {
        top: auto;
        bottom: 5px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }

    #sidebar .sidebar-header {
        padding: 20px;
        background: #364256;
    }

        #sidebar .sidebar-header strong {
            display: none;
            font-size: 1.8em;
        }

    #sidebar ul.components {
        padding: 20px 0;
    }

    #sidebar ul li a {
        padding: 10px;
        font-size: 1.1em;
        display: block;
    }

        #sidebar ul li a:hover {
            color: #0b1a35;
            background: #fff;
        }

        #sidebar ul li a i {
            margin-right: 10px;
        }

    #sidebar ul li.active > a, a[aria-expanded="true"] {
        color: #fff;
        background: #364256;
    }


a[data-toggle="collapse"] {
    position: relative;
}

a[aria-expanded="false"]::before, a[aria-expanded="true"]::before {
    content: '\e259';
    display: block;
    position: absolute;
    right: 20px;
    font-family: 'Glyphicons Halflings';
    font-size: 0.6em;
}

a[aria-expanded="true"]::before {
    content: '\e260';
}


ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #364256;
}


/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
    padding: 40px;
    min-height: 100vh;
    transition: all 0.3s;
    width: 100%;
    overflow-x: hidden !important;
}


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {

    a[aria-expanded="false"]::before, a[aria-expanded="true"]::before {
        top: auto;
        bottom: 5px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }

    #userDivID {
        display: none;
    }
    
    .floatLogout{
        float:left !important;
    }

    #sidebarCollapse {
        display: none;
    }

    #sidebar {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
    }

        #sidebar .sidebar-header h3, #sidebar .CTAs {
            display: none;
        }

        #sidebar .sidebar-header strong {
            display: block;
        }

        #sidebar ul li a {
            text-align: left;
        }

        #sidebar ul li a {
            padding: 20px 10px;
            text-align: center;
            font-size: 0.85em;
        }

            #sidebar ul li a i {
                margin-right: 0;
                display: block;
                font-size: 1.8em;
                margin-bottom: 5px;
            }

        #sidebar ul ul a {
            padding: 10px !important;
        }

        #sidebar a[aria-expanded="false"]::before, #sidebar a[aria-expanded="true"]::before {
            top: auto;
            bottom: 5px;
            right: 50%;
            -webkit-transform: translateX(50%);
            -ms-transform: translateX(50%);
            transform: translateX(50%);
        }
}


/* Define how each icon button should look like */
.buttonNotifWhite {
    color: white;
    display: inline-block; /* Inline elements with width and height. TL;DR they make the icon buttons stack from left-to-right instead of top-to-bottom */
    position: relative; /* All 'absolute'ly positioned elements are relative to this one */
    padding: 2px 5px; /* Add some padding so it looks nice */
}

.buttonNotif {
    display: inline-block; /* Inline elements with width and height. TL;DR they make the icon buttons stack from left-to-right instead of top-to-bottom */
    position: relative; /* All 'absolute'ly positioned elements are relative to this one */
    padding: 2px 5px; /* Add some padding so it looks nice */
}

/* Make the badge float in the top right corner of the button */
.buttonNotif__badge {
    background-color: #fa3e3e;
    border-radius: 2px;
    color: white;
    padding: 1px 3px;
    font-size: 10px;
    position: absolute; /* Position the badge within the relatively positioned button */
    top: 0;
    right: 0;
}

.panel-secondary {
    border-color: #51627d;
}

    .panel-secondary > .panel-heading {
        color: #efefef;
        background-color: #51627d;
        border-color: #51627d;
    }

        .panel-secondary > .panel-heading + .panel-collapse > .panel-body {
            border-top-color: #51627d;
        }

        .panel-secondary > .panel-heading .badge {
            color: #efefef;
            background-color: #51627d;
        }

    .panel-secondary > .panel-footer + .panel-collapse > .panel-body {
        border-bottom-color: #51627d;
    }

.border-danger {
    border-color: #a94442 !important;
    transition: .5s;
}

.border-warning {
    border-color: #8a6d3b !important;
    transition: .5s;
}

.border-success {
    border-color: #28a745 !important;
    transition: .5s;
}

a[data-toggle="collapse"] {
    position: inherit !important;
}

/******* jQuery Confirm ********/
.jconfirm.jconfirm-material .jconfirm-box {
    padding: 0px !important;
    font-family: var(--bs-fontfamily) !important;
    font-weight: 400 !important;
}

.jconfirm .jconfirm-title-c {
    color: #333 !important;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    font-family: inherit !important;
    font-weight: inherit !important;
}

.jconfirm .jconfirm-content-pane {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    box-sizing: content-box;
}

.jconfirm .jconfirm-buttons {
    padding: 0 15px;
}

.swal2-popup{
    scale: 1.5 !important;
}

.mr-0 { margin-right: 0px !important; }
.mr-1 { margin-right: 3px !important; }
.mr-2 { margin-right: 6px !important; }
.mr-3 { margin-right: 9px !important; }
.mr-4 { margin-right: 12px !important; }
.mr-5 { margin-right: 15px !important; }

.mt-0 { margin-top: 0px !important; }
.mt-1 { margin-top: 3px !important; }
.mt-2 { margin-top: 6px !important; }
.mt-3 { margin-top: 9px !important; }
.mt-4 { margin-top: 12px !important; }
.mt-5 { margin-top: 15px !important; }

.ml-0 { margin-left: 0px !important; }
.ml-1 { margin-left: 3px !important; }
.ml-2 { margin-left: 6px !important; }
.ml-3 { margin-left: 9px !important; }
.ml-4 { margin-left: 12px !important; }
.ml-5 { margin-left: 15px !important; }

.mb-0 { margin-bottom: 0px !important; }
.mb-1 { margin-bottom: 3px !important; }
.mb-2 { margin-bottom: 6px !important; }
.mb-3 { margin-bottom: 9px !important; }
.mb-4 { margin-bottom: 12px !important; }
.mb-5 { margin-bottom: 15px !important; }

.pr-0 { padding-right: 0px !important; }
.pr-1 { padding-right: 3px !important; }
.pr-2 { padding-right: 6px !important; }
.pr-3 { padding-right: 9px !important; }
.pr-4 { padding-right: 12px !important; }
.pr-5 { padding-right: 15px !important; }

.pt-0 { padding-top: 0px !important; }
.pt-1 { padding-top: 3px !important; }
.pt-2 { padding-top: 6px !important; }
.pt-3 { padding-top: 9px !important; }
.pt-4 { padding-top: 12px !important; }
.pt-5 { padding-top: 15px !important; }

.pl-0 { padding-left: 0px !important; }
.pl-1 { padding-left: 3px !important; }
.pl-2 { padding-left: 6px !important; }
.pl-3 { padding-left: 9px !important; }
.pl-4 { padding-left: 12px !important; }
.pl-5 { padding-left: 15px !important; }

.pb-0 { padding-bottom: 0px !important; }
.pb-1 { padding-bottom: 3px !important; }
.pb-2 { padding-bottom: 6px !important; }
.pb-3 { padding-bottom: 9px !important; }
.pb-4 { padding-bottom: 12px !important; }
.pb-5 { padding-bottom: 15px !important; }