﻿:root {
    --default-color: #2e7fa1;
    --bg-color: #f3f3f3;
    --default-color-hover: #276d8b;
    --custom-color: #7abbd1;
    --text-color: #5e5e5e;
    --error-color: #dc3545;
    --default-border-color: #f5f5f5;
    --input-border-color: #f0f0f0;
    --status-new-color: #9a6edc;
    --status-waiting-color: #19B4CC;
    --status-submitted-color: #888888;
    --status-approved-color: #218838;
    --light-blue-color: #eff5f8;
}


/*--------------------
  Roboto Light
---------------------*/

@font-face {
    font-family: roboto;
    src: url('../fonts/roboto/Roboto-Light-webfont.eot');
    src: url('../fonts/roboto/Roboto-Light-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto/Roboto-Light-webfont.woff') format('woff'), url('../fonts/roboto/Roboto-Light-webfont.ttf') format('truetype'), url('../fonts/roboto/Roboto-Light-webfont.svg#icon') format('svg');
    font-weight: 300;
    font-style: normal;
}

/*--------------------
  Roboto Regular
---------------------*/

@font-face {
    font-family: roboto;
    src: url('../fonts/roboto/Roboto-Regular-webfont.eot');
    src: url('../fonts/roboto/Roboto-Regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto/Roboto-Regular-webfont.woff') format('woff'), url('../fonts/roboto/Roboto-Regular-webfont.ttf') format('truetype'), url('../fonts/roboto/Roboto-Regular-webfont.svg#icon') format('svg');
    font-weight: 400;
    font-style: normal;
}

/*--------------------
  Roboto Medium
---------------------*/

@font-face {
    font-family: roboto;
    src: url('../fonts/roboto/Roboto-Medium-webfont.eot');
    src: url('../fonts/roboto/Roboto-Medium-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto/Roboto-Medium-webfont.woff') format('woff'), url('../fonts/roboto/Roboto-Medium-webfont.ttf') format('truetype'), url('../fonts/roboto/Roboto-Medium-webfont.svg#icon') format('svg');
    font-weight: 500;
    font-style: normal;
}

/*--------------------
  Roboto Bold
---------------------*/

@font-face {
    font-family: roboto;
    src: url('../fonts/roboto/Roboto-Bold-webfont.eot');
    src: url('../fonts/roboto/Roboto-Bold-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto/Roboto-Bold-webfont.woff') format('woff'), url('../fonts/roboto/Roboto-Bold-webfont.ttf') format('truetype'), url('../fonts/roboto/Roboto-Bold-webfont.svg#icon') format('svg');
    font-weight: 700;
    font-style: normal;
}

*, *:active, *:hover, *:focus {
    outline: none !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}

*, button, input, i, a {
    -webkit-font-smoothing: antialiased;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-weight: 400;
    position: relative;
    overflow-x: hidden;
    font-family: roboto;
    font-size: 14px;
    line-height: 1.42857143;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
}

html, body {
    min-height: 100vh;
}

a {
    color: var(--default-color);
}

    a:hover, a:focus {
        text-decoration: none;
    }

textarea.form-control {
    padding-top: 6px;
}

ul {
    list-style: none;
    padding-inline-start: 0;
}

ul, ol {
    margin-top: 0;
    margin-bottom: 9px;
}

li {
    list-style: none;
}

.badge {
    display: inline-flex;
    align-items: center;
}

.greyed-text {
    color: #ccc;
}

.bg-primary {
    background-color: var(--default-color) !important;
}

.default-color {
    color: var(--default-color) !important;
}

.bt-icon {
    font-size: 15px;
    margin-left: 15px;
}

.field-validation-error, .validation-summary-errors {
    color: var(--error-color);
}

.fw-500 {
    font-weight: 500!important;
}

.form-control.input-validation-error {
    border-bottom-color: var(--error-color);
}

    .form-control.input-validation-error + button.form-control {
        border-bottom-color: var(--error-color);
    }

.modal-title {
    width: 100%
}

.repeat-section {
    margin-bottom: 50px;
    margin-top: 40px;
    border: 1px solid #eee;
    padding: 20px 20px 30px 20px;
    position: relative;
    box-shadow: 0 1px 1px rgba(0,0,0,.1);
}

    .repeat-section .delete {
        position: absolute;
        right: 15px;
        top: 10px;
        z-index: 10;
        padding: 5px;
    }

.small-height {
    line-height: 1.2;
}

.qrcode {
    display: block;
    width: 210px;
    height: 210px;
    border: 1px solid #eee;
    background-color: #fff;
    overflow: hidden;
    margin-top: 20px;
    padding: 5px;
}

.thumbnail {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-sizing: content-box;
    color: white;
    background-color: #d4d4d4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
}

    .thumbnail.bordered {
        border: 3px solid rgba(0,0,0,.14);
    }

.thumbnail-sm {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    box-sizing: content-box;
    color: white;
    background-color: #d4d4d4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

@media (min-width: 576px) {
    .thumbnail-sm {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

.fa-stack {
    font-size: 0.5em;
}
/*--------------------------------------------------
    Header classes
---------------------------------------------------*/
#header {
    box-shadow: 0 1px 4px rgba(0,0,0,.3);
    min-height: 70px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: fixed;
    z-index: 9;
    width: 100%;
    left: 0;
    top: 0;
    padding: 0 20px;
    background-color: var(--default-color);
}

.h-inner {
    list-style: none;
    padding: 17px 0;
    margin-bottom: 0;
    position: relative;
}

    .h-inner > li:not(.pull-right) {
        float: left;
    }

.hi-trigger {
    position: relative;
    margin-left: -5px;
    cursor: pointer;
    display: none !important;
}

    .hi-trigger:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.22);
        -webkit-transition: all;
        -o-transition: all;
        transition: all;
        -webkit-transition-duration: 300ms;
        transition-duration: 300ms;
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0);
        transform: scale(0);
        z-index: 0;
        margin-top: -22px;
        margin-left: -22px;
    }

    .hi-trigger.toggled:before {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }

@media (max-width: 1279px) {
    #header .hi-trigger {
        display: inline-block !important;
    }
}

.hi-menu {
    list-style: none;
    padding: 0;
}

    .hi-menu > li {
        display: inline-block;
        margin: 0 1px;
        vertical-align: top;
        min-width: 50px;
    }

@media (max-width: 767px) {
    .hi-menu > li {
        position: static !important;
    }
}

.hi-menu > li .dropdown-menu {
    top: -5px;
}

.hi-menu > li .dropdown-menu-lg {
    padding: 0;
}

    .hi-menu > li .dropdown-menu-lg .lg-body {
        min-height: 350px;
        overflow-x: hidden;
    }

.hi-menu > li > a {
    color: #fff;
    display: block;
    text-align: center;
    z-index: 1;
    position: relative;
    -webkit-transition: background-color;
    -o-transition: background-color;
    transition: background-color;
    -webkit-transition-duration: 250ms;
    transition-duration: 250ms;
    border-radius: 2px;
}

    .hi-menu > li > a > .him-icon {
        font-size: 24px;
        line-height: 36px;
    }

    .hi-menu > li > a > .him-label {
        line-height: 35px;
        white-space: nowrap;
        padding: 0 10px;
        font-size: 14px;
        text-transform: uppercase;
    }

    .hi-menu > li > a > .him-counts {
        position: absolute;
        font-style: normal;
        background: #F44336;
        padding: 1px 5px;
        border-radius: 2px;
        right: 7px;
        top: -3px;
        font-size: 10px;
        line-height: 15px;
    }

.hi-menu > li.toggled > a,
.hi-menu > li:hover > a {
    background-color: rgba(0, 0, 0, 0.08);
}

@media (max-width: 767px) {
    .hi-menu .dropdown-menu-lg {
        width: calc(100% - 28px) !important;
    }

    .hi-menu .dropdown-menu {
        right: 14px;
        top: 55px !important;
    }
}

.line-wrap {
    width: 18px;
    height: 12px;
    -webkit-transition: all;
    -o-transition: all;
    transition: all;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    margin: 12px 20px;
}

    .line-wrap .line, .pt-inner .pti-footer > a {
        -webkit-transition: all;
        -o-transition: all;
    }

    .line-wrap .line {
        width: 18px;
        height: 2px;
        transition: all;
        -webkit-transition-duration: .3s;
        transition-duration: .3s;
        background-color: #fff;
    }

        .line-wrap .line.center {
            margin: 3px 0;
        }

.toggled .line-wrap {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

    .toggled .line-wrap .line.top {
        width: 12px;
        transform: translateX(8px) translateY(1px) rotate(45deg);
        -webkit-transform: translateX(8px) translateY(1px) rotate(45deg);
    }

    .toggled .line-wrap .line.bottom {
        width: 12px;
        transform: translateX(8px) translateY(-1px) rotate(-45deg);
        -webkit-transform: translateX(8px) translateY(-1px) rotate(-45deg);
    }

.ma-backdrop {
    width: 100%;
    z-index: 9;
    cursor: pointer;
}

#header .ma-backdrop {
    position: absolute;
}

.ie-warning, .ma-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
}

#header .hi-logo a {
    padding: 12px 10px 7px 10px;
    display: block;
}

#header .hi-logo object {
    height: 17px;
}

#header .hi-logo #logo-svg path {
    fill: #fff;
}

/*--------------------------------------------------
    Main
---------------------------------------------------*/
#main {
    position: relative;
    padding-bottom: 50px;
    padding-top: 95px;
    min-height: 100vh;
}

/*--------------------------------------------------
    Sidebar
---------------------------------------------------*/
.sidebar-toggled #main {
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    position: fixed;
    background: #fff;
    height: calc(100% - 70px);
    top: 70px;
    -webkit-transition: all;
    -o-transition: all;
    transition: all;
    -webkit-transition-duration: 300ms;
    transition-duration: 300ms;
    z-index: 10;
    overflow-y: auto;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

#sidebar {
    width: 268px;
}

@media (max-width: 1279px) {
    #sidebar {
        -webkit-transform: translate3d(-288px, 0, 0);
        transform: translate3d(-288px, 0, 0);
        box-shadow: 0 5px 10px rgba(14, 18, 21, 0.38);
    }

        #sidebar.toggled {
            -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
        }
}

.s-profile .main-menu {
    display: none;
    margin: 0 0 0;
}

.s-profile > a .sp-info {
    background: rgba(0,0,0,.37);
    padding: 7px 14px;
    color: #fff;
    position: relative;
    display: flex;
    align-items: center;
}

.sp-info img {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0,0,0,.14);
    border-radius: 50%;
    box-sizing: content-box;
    margin-right: 5px;
}

.sp-info > div {
    flex-grow: 1;
}

[data-toggle=collapse] .fa-caret-up, [data-toggle=collapse] .fa-caret-down {
    float: right;
}

[data-toggle=collapse]:not([aria-expanded]) .fa-caret-up {
    display: none;
}

[data-toggle=collapse]:not([aria-expanded]) .fa-caret-down {
    display: inline-block;
}

[data-toggle=collapse][aria-expanded]:not(.collapsed) .fa-caret-down {
    display: none;
}

[data-toggle=collapse][aria-expanded].collapsed .fa-caret-up {
    display: none;
}

.main-menu {
    list-style: none;
    padding-left: 0;
    margin: 20px 0 50px 0;
}

    .main-menu a {
        -webkit-transition: color;
        -o-transition: color;
        transition: color;
        -webkit-transition-duration: 300ms;
        transition-duration: 300ms;
    }

    .main-menu > li > a,
    .sub-menu > ul > li > a,
    #profileMenu > li > a {
        padding: 14px 20px 14px 65px;
        display: block;
        font-weight: 500;
        position: relative;
        color: #4c4c4c;
    }

    #profileMenu li > a:hover,
    .main-menu li > a:hover,
    .main-menu li.active > a,
    .main-menu li > a.active {
        background-color: #2e7fa114;
    }

    .main-menu li.active > a, .main-menu li > a.active {
        color: var(--default-color);
    }

        .main-menu > li > a > i, #profileMenu > li > a > i {
            position: absolute;
            left: 25px;
            font-size: 14px;
            top: 2px;
            width: 25px;
            text-align: center;
            padding: 13px 0;
        }

#profileMenu {
    border-bottom: 1px solid var(--default-border-color);
    margin-bottom: 0px;
}

/*--------------------------------------------------
    Content container
---------------------------------------------------*/
@media (min-width: 1280px) {
    #content:not(.content-alt) {
        padding-left: 283px;
        padding-right: 15px;
    }
}

@media (min-width: 768px) and (max-width: 1279px) {
    #content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

#content.content-alt {
    max-width: 1200px;
    margin: 0 auto;
}

.container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 576px) {
    .container {
        width: 100%;
        max-width: none;
    }
}

@media (min-width: 768px) {
    .container {
        width: 100%;
        max-width: none;
    }
}

@media (min-width: 992px) {
    .container {
        width: 100%;
        max-width: none;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 100%;
        max-width: none;
    }
}



.container-fluid {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/*--------------------------------------------------
    Block Header
---------------------------------------------------*/

.block-header {
    display: inline-block;
    width: 100%;
    position: relative;
    margin-bottom: 25px;
}

    .block-header h2 {
        font-size: 18px;
        color: #777;
        margin: 0;
        font-weight: 400;
        text-transform: uppercase;
    }

        .block-header h2 > small {
            display: block;
            text-transform: none;
            margin-top: 8px;
            margin-bottom: 20px;
            color: #9E9E9E;
            line-height: 140%;
        }

.actions {
    position: absolute;
    right: 10px;
    top: 0;
}

ul.actions li {
    display: inline;
    margin-left: 20px;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: var(--default-color);
}

.dropdown-item.active:hover, .dropdown-item:active {
    background-color: var(--default-color);
}


/*--------------------------------------------------
    Card
---------------------------------------------------*/

.card {
    box-shadow: 0 1px 1px rgba(0,0,0,.1);
    margin-bottom: 30px;
    border-radius: 2px;
    border: 0;
}

    .card .card-title {
        position: relative;
        margin-top: 40px;
    }

        .card .card-title.first-md {
            margin-top: 20px;
        }

        @media (min-width: 768px) {
            .card .card-title.first-md {
                margin-top: 40px;
            }
        }
        

    .card > .card-body > .card-title:first-child {
        margin-top: 10px;
    }

.card .card-title h2, h2.modal-title, .card .card-header h2, .modal-title h2 {
    font-size: 18px;
    font-weight: 400;
    color: #000;
}

    .card h2 small {
        font-size: 12px;
        color: #aaa;
    }

    .card .card-title .actions {
        position: absolute;
        right: 0;
        z-index: 2;
        top: 0;
    }

.card-header + .list-group .list-group-item:first-child {
    border-top: 1px solid var(--default-border-color);
}

.list-group-item {
    border: 1px solid var(--default-border-color);
}

/*--------------------------------------------------
    Card search
---------------------------------------------------*/
.card .search {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.search .form-control, .search .input-group-text {
    border-radius: 0;
    border: 1px solid #e0e0e0;
}

.search .input-group-text {
    background-color: #fff;
    font-size: 0.8rem;
    border-right: 0;
}

.search .form-control {
    padding-left: 0.75rem;
}

.search .input-group-prepend + .form-control {
    border-left: 0;
    padding-left: 0;
}

.search .form-control:focus {
    border-color: #e0e0e0;
}

.modal-title .search .form-control, .modal-title .search .input-group-text {
    border: 0;
}

.modal-title .search .input-group-text {
    padding-left: 0;
}

.search .bootstrap-select button {
    padding: 0;
    font-size: 14px;
    height: 30px;
    border-radius: 0;
    border: 1px solid #e0e0e0;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    background-color: white;
}

.search .bootstrap-select .filter-option {
    display: flex;
    align-items: center;
}

.search .bootstrap-select .dropdown-toggle:focus, .search .bootstrap-select > select.mobile-device:focus + .dropdown-toggle {
    outline: 0 !important;
}
/*--------------------------------------------------
    Tabs
---------------------------------------------------*/
.nav-tabs {
    border-bottom: 2px solid #eee;
}

    .nav-tabs .nav-item {
        margin-bottom: -2px;
    }

    .nav-tabs .nav-link {
        text-transform: uppercase;
        font-weight: 500;
        color: #7a7a7a;
        padding: 0.8rem 1rem;
        border-bottom: 2px solid #eee;
    }

        .nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
            border-color: transparent;
            color: #333;
        }

        .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
            color: #333;
            border-color: transparent;
            border-bottom: 2px solid #7abbd1;
        }


/*--------------------------------------------------
    Inputs
---------------------------------------------------*/
input:active, input:focus {
    outline: 0;
    box-shadow: none !important;
}

.form-control, .text-box {
    display: block;
    width: 100%;
    height: 30px;
    font-size: 14px;
    color: #2e353b;
    background-color: transparent;
    background-image: none;
    border: 1px solid var(--input-border-color);
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
}

    .form-control:active, .form-control:focus {
        box-shadow: none;
    }

    .form-control:focus, .text-box:focus {
        border-color: #b4b4b4;
    }

::placeholder {
    color: #c0c0c0 !important;
}

::-ms-input-placeholder {
    color: #c0c0c0 !important;
}

/*--------------------------------------------------
    Custom check box
---------------------------------------------------*/
.chk-container {
    display: block;
    position: relative;
    padding-left: 5px;
    margin-bottom: 0;
    margin-right: 4px;
    cursor: pointer;
    height: 23px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .chk-container.disabled {
        cursor: default;
    }

    .chk-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

    .chk-container.disabled {
        pointer-events: none;
    }

    .chk-container.disabled input {
        pointer-events: none;
    }

    .chk-container .chk-label {
        margin-left: 2rem;
    }

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 23px;
    width: 23px;
    background-color: #eee;
    border-radius: 50%;
}

.chk-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.chk-container.disabled:hover input ~ .checkmark {
    background-color: #eee;
    pointer-events: none;
}

.chk-container input:checked ~ .checkmark {
    background-color: #0B8BBE;
    opacity: 0.5;
}

.chk-container.disabled input:checked ~ .checkmark {
    background-color: #777;
    pointer-events: none;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.chk-container input:checked ~ .checkmark:after {
    display: block;
}

.chk-container .checkmark:after {
    left: 8px;
    top: 5px;
    width: 7px;
    height: 11px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/*--------------------------------------------------
    Select
---------------------------------------------------*/
.bootstrap-select {
    height: 1.87rem !important;
}

    .bootstrap-select .form-control.dropdown-toggle:focus, .bootstrap-select > select.mobile-device:focus + .dropdown-toggle {
        outline: none !important;
    }

    .bootstrap-select .form-control.dropdown-toggle .filter-option {
        padding-top: 6px;
    }

    .bootstrap-select .dropdown-item.active, .dropdown-item:active {
        color: #2e353b;
        background-color: rgba(0,0,0,.075);
    }

.dropdown-menu {
    font-size: 14px;
}
/*--------------------------------------------------
    Read only fields
---------------------------------------------------*/
@media (min-width: 576px) {
    .data-label {
        margin-bottom: 0;
        padding-top: 7px;
    }
}

.data-label {
    color: #7a7a7a;
    font-weight: 400;
}

@media (min-width: 576px) {
    .col-form-label {
        text-align: right;
        margin-bottom: 0;
        padding-top: 7px;
    }
}

.col-form-label {
    font-weight: normal;
    color: #555;
    padding-bottom: 0;
}

.readonly .form-group {
    margin-bottom: 10px;
}

.inline-label {
    color: #000;
    width: 150px;
}

/*--------------------------------------------------
    Form fields
---------------------------------------------------*/

.form-group {
    margin-left: -15px;
    margin-right: -15px;
}

@media (min-width: 768px) {
    .control-label {
        text-align: right;
        margin-bottom: 0;
        padding-top: 7px;
    }
}

@media (min-width: 768px) {
    .form-group-lg .control-label {
        padding-top: 11px;
        font-size: 17px;
    }
}

@media (min-width: 768px) {
    .form-group-sm .control-label {
        padding-top: 6px;
        font-size: 12px;
    }
}

.required:after {
    content: " *";
    color: var(--error-color);
}

/*--------------------------------------------------
    Table
---------------------------------------------------*/
.table {
    color: var(--text-color);
}

    .table > thead > tr > th,
    .table > tbody > tr > th,
    .table > tfoot > tr > th,
    .table > thead > tr > td,
    .table > tbody > tr > td,
    .table > tfoot > tr > td {
        padding: 15px;
        line-height: 1.42857143;
        vertical-align: top;
        border-top: 1px solid #f5f5f5;
    }

    .table thead th {
        border-bottom: 0;
        text-transform: uppercase;
    }

.table-hover > tbody > tr:hover {
    background-color: #f6f6f6;
    cursor: pointer;
}

.table > thead > tr > th:first-child, .table > tbody > tr > th:first-child, .table > tfoot > tr > th:first-child, .table > thead > tr > td:first-child, .table > tbody > tr > td:first-child, .table > tfoot > tr > td:first-child {
    padding-left: 1.25rem;
}

.table > thead > tr > th:last-child, .table > tbody > tr > th:last-child, .table > tfoot > tr > th:last-child, .table > thead > tr > td:last-child, .table > tbody > tr > td:last-child, .table > tfoot > tr > td:last-child {
    padding-right: 1.25rem;
}

.bordered {
    border: 1px solid #f5f5f5;
}

[data-empty-content] {
    display: none;
}

.data-injector .template {
    display: none;
}

.table-hover a, .table-hover a:hover, .table-hover a:active {
    color: var(--text-color);
}

@media screen and (max-width: 600px) {
    table.responsive {
        border: 0;
    }

        table.responsive thead {
            display: none;
        }

        table.responsive tr {
            display: block;
            margin-bottom: 0;
            padding: 10px 5px 10px 15px;
            border-bottom: 1px solid #f5f5f5;
        }

            table.responsive tr:first-child {
                border-top: 1px solid #f5f5f5;
            }

        table.responsive td {
            display: flex;
            flex-wrap: nowrap;
            font-size: 0.8rem;
        }

            table.responsive td:last-child {
                border-bottom: 0;
            }

            table.responsive td:before {
                content: attr(data-label);
                font-weight: bold;
                text-transform: uppercase;
                text-align: left;
                flex: 0 0 120px;
                max-width: 120px;
            }

        table.responsive th, table.responsive td {
            padding: 3px 5px;
        }

    .table.responsive > tbody > tr > td {
        border: 0;
        padding: 3px 5px;
    }

        .table.responsive > tbody > tr > td:first-child {
            padding: 3px 5px;
        }
}


/*--------------------------------------------------
    Form buttons
---------------------------------------------------*/
.form-buttons {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 5;
    transition: all .2s;
    width: 100%;
    background-color: white;
    padding: 10px 30px;
    opacity: 1;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, .15);
}

@media (min-width: 1200px) {

    .form-buttons {
        padding-left: 300px;
    }
}

.form-buttons:hover {
    opacity: 1;
}

.btn-custom {
    color: #fff;
    background-color: #7abbd1;
    border-color: #7abbd1;
}

    .btn-custom:hover {
        color: #fff;
        background-color: #54a8c4;
        border-color: #54a8c4;
    }


.btn-orange {
    color: #fff;
    background-color: #ff9800;
    border-color: #e68900;
}

    .btn-orange:hover {
        color: #fff;
        background-color: #e68900;
        border-color: transparent;
    }

.btn-xero {
    color: #fff;
    background-color: #00b7e3;
    border-color: #00b7e3;
}

    .btn-xero:hover {
        color: #fff;
        background-color: #00a3cc;
        border-color: #00a3cc;
    }


.btn-info {
    color: #fff;
    background-color: var(--default-color);
    border-color: var(--default-color);
}

    .btn-info:hover {
        color: #fff;
        background-color: var(--default-color-hover);
        border-color: transparent;
    }

/*--------------------------------------------------
    Status colors
---------------------------------------------------*/
[data-status=new] {
    background-color: var(--status-new-color);
}

[data-status=pendingconfirmation] {
    background-color: var(--status-waiting-color);
}

[data-status=confirmed] {
    background-color: var(--default-color);
}

[data-status=submitted] {
    background-color: var(--status-submitted-color);
}

[data-status=approved] {
    background-color: var(--status-approved-color);
}

[data-status=declined] {
    background-color: var(--error-color);
}
/* font colors */
.status-new {
    color: var(--status-new-color);
}

.status-pendingconfirmation {
    color: var(--status-waiting-color);
}

.status-confirmed {
    color: var(--default-color);
}

.status-submitted {
    color: var(--status-submitted-color);
}

.status-approved {
    color: var(--status-approved-color);
}

.status-declined {
    color: var(--error-color);
}

/*--------------------------------------------------
    Account pages
---------------------------------------------------*/
.login-content {
    min-height: 100vh;
    text-align: center;
    background-color: var(--bg-color);
}

    .login-content:before {
        display: inline-block;
        content: '';
        height: 100vh;
        width: 1px;
        vertical-align: middle;
    }

.lc-block {
    max-width: 500px;
    padding: 20px 0;
    width: 80%;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

    .lc-block.toggled {
        -webkit-animation-name: fadeInUp;
        animation-name: fadeInUp;
        -webkit-animation-duration: 300ms;
        animation-duration: 300ms;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        z-index: 10;
    }

    .lc-block:not(.lc-block-alt) .lcb-form {
        padding: 35px 55px;
    }

.lcb-form {
    background: #fff;
    box-shadow: 0 1px 1px rgba(0,0,0,.1);
    border-radius: 2px;
}

.login-header {
    background-color: var(--default-color);
    border-radius: 3px 3px 0 0;
    padding: 20px;
}

    .login-header object {
        height: 17px;
    }

.fg-line {
    position: relative;
    vertical-align: top;
}

    .fg-line:not(.form-group) {
        display: inline-block;
        width: 100%;
        text-align: left;
    }

.btn-acc-float {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    line-height: 41px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,.16), 0 2px 10px rgba(0,0,0,.12);
}

    .btn-acc-float i {
        font-size: 20px;
        -webkit-transition: all;
        -o-transition: all;
        transition: all;
        -webkit-transition-duration: 500ms;
        transition-duration: 500ms;
    }

.lc-block .btn-acc-float {
    position: absolute !important;
}


.lc-block:not(.lc-block-alt) .btn-login {
    top: 50%;
    margin-top: -43px;
    right: -25px;
}

.lc-block .form-check {
    text-align: left;
}

/*--------------------------------------------------
    Toast notification
-------------------------------------------------- */
.toast {
    position: fixed;
    bottom: 100px;
    right: 50px;
}

/*--------------------------------------------------
    Profile Template
---------------------------------------------------*/
.profile-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.profile-left {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

    .profile-left img {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        border: 3px solid #ddd;
    }

    .profile-left .profile-image {
        border-radius: 50%;
        overflow: hidden;
        background-color: white;
    }

    .profile-left .details-section {
        width: 100%;
        margin-top: 50px;
    }

    .profile-left .detail-line {
        width: 100%;
        margin-bottom: 0.5rem;
        display: flex;
        flex-wrap: nowrap;
    }

        .profile-left .detail-line span {
            flex: 0 0 30px;
            max-width: 30px;
            display: block;
        }

        .profile-left .detail-line div {
            width: auto;
            flex-grow: 1;
        }

.user-contact {
    font-size: 0.9rem;
}

.profile-right {
    position: relative;
    width: 100%;
}

@media (min-width: 768px) {
    .profile-container {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }

    .profile-left {
        -ms-flex: 0 0 246px;
        flex: 0 0 246px;
        max-width: 246px;
        align-items: center;
        border-right: 0;
        border-right: 1px solid rgba(0, 0, 0, 0.125);
        border-bottom: 0;
    }

        .profile-left img {
            border-radius: 50%;
            width: 200px;
            height: 200px;
        }

        .profile-left h1 {
            margin-bottom: 0;
        }

    .profile-right {
        flex-grow: 1;
        width: auto;
    }
}

@media (max-width: 600px) {
    .profile-left .details-section {
        margin-top: 30px;
    }

    .details-section.editing {
        display: none;
    }
}

/*--------------------------------------------------
    Profile photo Upload 
-------------------------------------------------- */
.file-btn input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height:50px;
    cursor: pointer;
    opacity: 0;
}

.file-btn {
    display: block;
    text-align: center;
    margin-bottom: 1rem;
    color: #4fa6c3;
}

    .file-btn:hover {
        cursor: pointer;
        color: #4fa6c3;
    }

#upload-viewer {
    border: 1px solid #eee;
    display: block;
    padding: 0;
    margin: auto;
}

/*--------------------------------------------------
    Spinner
-------------------------------------------------- */
.spinner {
    position: fixed;
    z-index: 999;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .spinner.active {
        opacity: 1;
    }

.preloader-wrapper {
    position: relative;
    display: inline-block;
    width: 3rem;
    height: 3rem;
    font-size: 0
}

    .preloader-wrapper.small {
        width: 2.25rem;
        height: 2.25rem
    }

    .preloader-wrapper.big {
        width: 4rem;
        height: 4rem
    }

    .preloader-wrapper.active {
        -webkit-animation: container-rotate 1568ms linear infinite;
        animation: container-rotate 1568ms linear infinite
    }

    .preloader-wrapper.crazy {
        -webkit-animation-duration: 333ms;
        animation-duration: 333ms
    }

    .preloader-wrapper .spinner-layer {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0
    }

        .preloader-wrapper .spinner-layer .gap-patch {
            position: absolute;
            top: 0;
            left: 45%;
            width: 10%;
            height: 100%;
            overflow: hidden;
            border-color: inherit
        }

            .preloader-wrapper .spinner-layer .gap-patch .circle {
                left: -450%;
                width: 1000%
            }

        .preloader-wrapper .spinner-layer .circle-clipper {
            position: relative;
            display: inline-block;
            width: 50%;
            height: 100%;
            overflow: hidden;
            border-color: inherit
        }

            .preloader-wrapper .spinner-layer .circle-clipper .circle {
                position: absolute;
                top: 0;
                right: 0;
                bottom: 0;
                width: 200%;
                height: 100%;
                border-color: inherit;
                border-style: solid;
                border-width: .1875rem;
                border-bottom-color: transparent !important;
                border-radius: 50%;
                -webkit-animation: none;
                animation: none
            }

            .preloader-wrapper .spinner-layer .circle-clipper.left .circle {
                left: 0;
                border-right-color: transparent !important;
                -webkit-transform: rotate(129deg);
                transform: rotate(129deg)
            }

            .preloader-wrapper .spinner-layer .circle-clipper.right .circle {
                left: -100%;
                border-left-color: transparent !important;
                -webkit-transform: rotate(-129deg);
                transform: rotate(-129deg)
            }

    .preloader-wrapper .spinner-blue,
    .preloader-wrapper .spinner-blue-only {
        border-color: var(--default-color);
    }

    .preloader-wrapper .spinner-red,
    .preloader-wrapper .spinner-red-only {
        border-color: #db4437
    }

    .preloader-wrapper .spinner-yellow,
    .preloader-wrapper .spinner-yellow-only {
        border-color: #f4b400
    }

    .preloader-wrapper .spinner-green,
    .preloader-wrapper .spinner-green-only {
        border-color: #0f9d58
    }

@-webkit-keyframes container-rotate {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes container-rotate {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

.active .spinner-layer.spinner-blue {
    -webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, blue-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
    animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, blue-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both
}

.active .spinner-layer.spinner-red {
    -webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, red-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
    animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, red-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both
}

.active .spinner-layer.spinner-yellow {
    -webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, yellow-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
    animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, yellow-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both
}

.active .spinner-layer.spinner-green {
    -webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, green-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
    animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, green-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both
}

.active .spinner-layer.spinner-blue-only,
.active .spinner-layer.spinner-red-only,
.active .spinner-layer.spinner-yellow-only,
.active .spinner-layer.spinner-green-only,
.active .spinner-layer.spinner-primary-color-only {
    opacity: 1;
    -webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
    animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both
}

.active .circle-clipper.left .circle {
    -webkit-animation: left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
    animation: left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both
}

.active .circle-clipper.right .circle {
    -webkit-animation: right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
    animation: right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both
}

@-webkit-keyframes fill-unfill-rotate {
    12.5% {
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg)
    }

    25% {
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg)
    }

    37.5% {
        -webkit-transform: rotate(405deg);
        transform: rotate(405deg)
    }

    50% {
        -webkit-transform: rotate(540deg);
        transform: rotate(540deg)
    }

    62.5% {
        -webkit-transform: rotate(675deg);
        transform: rotate(675deg)
    }

    75% {
        -webkit-transform: rotate(810deg);
        transform: rotate(810deg)
    }

    87.5% {
        -webkit-transform: rotate(945deg);
        transform: rotate(945deg)
    }

    to {
        -webkit-transform: rotate(1080deg);
        transform: rotate(1080deg)
    }
}

@keyframes fill-unfill-rotate {
    12.5% {
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg)
    }

    25% {
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg)
    }

    37.5% {
        -webkit-transform: rotate(405deg);
        transform: rotate(405deg)
    }

    50% {
        -webkit-transform: rotate(540deg);
        transform: rotate(540deg)
    }

    62.5% {
        -webkit-transform: rotate(675deg);
        transform: rotate(675deg)
    }

    75% {
        -webkit-transform: rotate(810deg);
        transform: rotate(810deg)
    }

    87.5% {
        -webkit-transform: rotate(945deg);
        transform: rotate(945deg)
    }

    to {
        -webkit-transform: rotate(1080deg);
        transform: rotate(1080deg)
    }
}


@-webkit-keyframes blue-fade-in-out {
    from {
        opacity: 1
    }

    25% {
        opacity: 1
    }

    26% {
        opacity: 0
    }

    89% {
        opacity: 0
    }

    90% {
        opacity: 1
    }

    100% {
        opacity: 1
    }
}

@keyframes blue-fade-in-out {
    from {
        opacity: 1
    }

    25% {
        opacity: 1
    }

    26% {
        opacity: 0
    }

    89% {
        opacity: 0
    }

    90% {
        opacity: 1
    }

    100% {
        opacity: 1
    }
}

@-webkit-keyframes red-fade-in-out {
    from {
        opacity: 0
    }

    15% {
        opacity: 0
    }

    25% {
        opacity: 1
    }

    50% {
        opacity: 1
    }

    51% {
        opacity: 0
    }
}

@keyframes red-fade-in-out {
    from {
        opacity: 0
    }

    15% {
        opacity: 0
    }

    25% {
        opacity: 1
    }

    50% {
        opacity: 1
    }

    51% {
        opacity: 0
    }
}

@-webkit-keyframes yellow-fade-in-out {
    from {
        opacity: 0
    }

    40% {
        opacity: 0
    }

    50% {
        opacity: 1
    }

    75% {
        opacity: 1
    }

    76% {
        opacity: 0
    }
}

@keyframes yellow-fade-in-out {
    from {
        opacity: 0
    }

    40% {
        opacity: 0
    }

    50% {
        opacity: 1
    }

    75% {
        opacity: 1
    }

    76% {
        opacity: 0
    }
}

@-webkit-keyframes green-fade-in-out {
    from {
        opacity: 0
    }

    65% {
        opacity: 0
    }

    75% {
        opacity: 1
    }

    90% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

@keyframes green-fade-in-out {
    from {
        opacity: 0
    }

    65% {
        opacity: 0
    }

    75% {
        opacity: 1
    }

    90% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

@-webkit-keyframes left-spin {
    from {
        -webkit-transform: rotate(130deg);
        transform: rotate(130deg)
    }

    50% {
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg)
    }

    to {
        -webkit-transform: rotate(130deg);
        transform: rotate(130deg)
    }
}

@keyframes left-spin {
    from {
        -webkit-transform: rotate(130deg);
        transform: rotate(130deg)
    }

    50% {
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg)
    }

    to {
        -webkit-transform: rotate(130deg);
        transform: rotate(130deg)
    }
}

@-webkit-keyframes right-spin {
    from {
        -webkit-transform: rotate(-130deg);
        transform: rotate(-130deg)
    }

    50% {
        -webkit-transform: rotate(5deg);
        transform: rotate(5deg)
    }

    to {
        -webkit-transform: rotate(-130deg);
        transform: rotate(-130deg)
    }
}

@keyframes right-spin {
    from {
        -webkit-transform: rotate(-130deg);
        transform: rotate(-130deg)
    }

    50% {
        -webkit-transform: rotate(5deg);
        transform: rotate(5deg)
    }

    to {
        -webkit-transform: rotate(-130deg);
        transform: rotate(-130deg)
    }
}

#spinnerContainer.cooldown {
    -webkit-animation: container-rotate 1568ms linear infinite, fade-out 400ms cubic-bezier(0.4, 0, 0.2, 1);
    animation: container-rotate 1568ms linear infinite, fade-out 400ms cubic-bezier(0.4, 0, 0.2, 1)
}


/*---------------------------------------------------
    Date Control 
---------------------------------------------------*/
.date-control {
    float: right;
}

    .date-control h2 {
        margin-left: 20px;
    }

    .date-control .text {
        width: 145px;
    }

    .date-control #datepicker {
        color: var(--default-color);
        cursor: pointer;
    }

@media (max-width: 600px) {

    .date-control h2 {
        font-size: 0.9rem;
        margin-left: 13px;
        margin-top: 0.2rem;
    }

    .date-control .text {
        width: 115px;
    }
}

/*--------------------------------------------------
    Total for allocation pages
-------------------------------------------------- */
.div-total {
    background-color: var(--bg-color);
    padding: 0.5rem 0;
}

/*--------------------------------------------------
    Duration picker
-------------------------------------------------- */
.html-duration-picker-input-controls-wrapper .html-duration-picker {
    text-align: left !important;
}

/*--------------------------------------------------
    Toggle visibility by control value
-------------------------------------------------- */
[visibility-toggled-by]:not(.visible) {
    display: none;
}