﻿:root {
    --primarycolor: #0b4f6c;
    --successcolor: #0b4f6c;
    --font-size: 13px;
    --forecolor: #0b4f6c;
    --loginbackcolor: #0b4f6c;
    --content-wrapper-backcolor: #ecf0f5;
    --sidebar-back-color: #f9f9f9;
    --sidebar-forecolor: #0b4f6c;
    --table-color: #0b4f6c;
    --table-header-background-color: #f9f9f9;
    --button-border-radius: 3px;
}

html, body {
    content: "";
    font-size: var(--font-size) !important;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;   
    overflow: hidden;
}

iframe {
    display: block;
    width: 100%;
    height: 85vh;
    border: none;
   
}

.iframe-container {
    position: relative;
    width: 100%;
   /* height: 85vh;*/
    overflow:hidden !important;
}

.content-fit {
    /* height: calc(100vh - 220px);*/
    width: 100%;
    border: none;
    overflow-y: auto;
}

.skeleton-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f3f3f3 25%, #eaeaea 50%, #f3f3f3 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #555;
    z-index: 10;
}

@keyframes loading {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}

.text-ellip {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.language-switcher, .pointer, a {
    cursor: pointer !important
}

.accordionHeader, .accordionHeaderSelected {
    font-weight: 700;
    cursor: pointer;
    line-height: 20px
}

.login-background {
    background-color: var(--loginbackcolor) !important;
    height: auto !important
}

.btn-primary, .pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover, .small-box {
    background-color: var(--primarycolor) !important;
    border-color: var(--primarycolor) !important
}

.user-header {
    height: 120px !important
}

#imgUser {
    font-size: 50px !important
}

.skin-blue .main-header .navbar .sidebar-toggle:hover {
    background-color: rgba(0,0,0,.1) !important
}

.content-header {
    color: var(--table-color) !important
}

.box-body {
    line-height: 30px !important;
    padding: 5px !important;
}

@media (max-width:767px) {
    .main-header .navbar-custom-menu a, .main-header .navbar-right a {
        background: var(--primarycolor) !important
    }
}

.has-feedback .form-control, .login-box-body, .register-box-body {
    border-radius: 3px !important;
}

.btn {
    border-radius: var(--button-border-radius) !important;
    margin: 1px;
}

.link-blue {
    color: #3c8dbc;
    font-size: var(--font-size);
}

.fore-color, .skin-blue .sidebar a {
    color: var(--sidebar-forecolor) !important
}

.btn, .form-control, input[type=search] {
    font-size: var(--font-size) !important
}

.logo-company {
    height: 40px;
    line-height: 25px
}

.small-box {
    color: #fff !important;
    border-radius: 12px !important;
}

    .small-box .icon {
        color: #d2d6de !important
    }

.ajax__tab_default .ajax__tab_tab, .table thead {
    color: var(--table-color) !important
}

.btn-success {
    background-color: var(--successcolor) !important;
    border-color: var(--successcolor) !important
}

.btn-secondary {
    background-color: transparent !important;
    color: #fff;
}

.dt-buttons, .skin-blue .main-header .logo, .skin-blue .main-header .navbar, .skin-blue .main-header li.user-header {
    background-color: var(--primarycolor) !important
}

.dialog-title {
    border-bottom: 2px solid var(--primarycolor);
    line-height: 45px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.form-control {
    padding: 0px 7px !important;
    border-width: 1px !important;
    border-radius: 5px !important;
}

.box.box-primary {
    background-color: var(--sidebar-back-color);
    border-top-color: var(--primarycolor) !important;
   
}

.table thead, .tabs .ajax__tab_header {
    background-color: var(--table-header-background-color);
}

.tabs .ajax__tab_active .ajax__tab_outer, .tabs .ajax__tab_hover .ajax__tab_outer {
    border-top: 1px solid var(--primarycolor) !important
}

.language-switcher {
    border: none;
    background-color: var(--primarycolor);
    color: #fff !important;
    margin-top: 15px;
    border-radius: 5px !important;
    -webkit-appearance: none
}

textarea.form-control {
    padding: 6px !important
}

label {
    font-weight: 500 !important;
    margin-left: 3px;
    margin-right: 3px
}

.main-header > .navbar {
    margin-left: 0 !important
}

.marginbuttom100 {
    margin-bottom: 100px
}

.table thead {
    font-weight: 400 !important
}

table.dataTable thead .sorting {
    background-image: none
}

.table > caption + thead > tr:first-child > td, .table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > td, .table > thead:first-child > tr:first-child > th {
    vertical-align: top !important
}

.table thead td, .table thead th {
    line-height: 20px !important;
    border: 1px solid #dee2e6 !important
}

.table tbody tr:hover, .table-striped > tbody > tr:nth-of-type(odd):hover {
    background-color: #f5f5f5 !important;
    cursor: default !important;
    color: #000 !important
}

.table tbody td, .table tbody th {
    vertical-align: middle !important;
    border: 1px solid #dee2e6 !important
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    padding: 3px !important
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #fff !important
}

.select2-container--default .select2-search--inline .select2-search__field, table.dataTable {
    width: 100% !important
}

input[type=search] {
    -webkit-appearance: searchfield !important;
    padding: 5px !important;
    border-radius: 3px !important
}

.skin-blue .main-header .navbar {
    color: #fff;
    margin-top: -1px
}

.skin-blue .main-header .logo {
    color: #fff
}

.ajax__calendar_container {
    line-height: 13px !important;
    width: 100% !important;
    z-index: 999999999 !important
}

.font-18 {
    font-size: 18px !important
}

.font-16 {
    font-size: 16px !important
}

.font-15 {
    font-size: 15px !important
}

.font-14 {
    font-size: 14px !important
}

.font-13 {
    font-size: var(--font-size) !important
}

.font-12 {
    font-size: 12px !important
}

.font-11 {
    font-size: 11px !important
}

.font-10 {
    font-size: 10px !important
}


a.tooltip {
    outline: 0
}

    a.tooltip strong {
        line-height: 30px
    }

    a.tooltip:hover {
        text-decoration: none
    }

        a.tooltip:hover span {
            display: inline;
            position: absolute;
            color: #007bb6 !important;
            border: 1px solid #dca;
            background: #007bb6
        }

.callout {
    z-index: 20;
    position: absolute;
    top: 30px;
    border: 0;
    left: -12px
}

a.tooltip span {
    z-index: 10;
    display: none;
    padding: 14px 20px;
    margin-top: -30px;
    margin-left: 28px;
    width: 300px;
    line-height: 16px;
    border-radius: 4px;
    background-color: #007bb6;
    box-shadow: 5px 5px 8px #ccc;
    font-size: 10px !important
}

.tabs .ajax__tab_header {
    font-size: var(--font-size);
    display: block;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
    border: 1px solid #dedede;
}

.ajax__tab_default .ajax__tab {
    height: 30px !important
}

.tabs .ajax__tab_header:after {
    clear: both
}

.tabs .ajax__tab_header:after, .tabs .ajax__tab_header:before {
    content: "";
    display: block
}

.tabs .ajax__tab_header .ajax__tab_outer {
    padding-left: 10px;
    margin-right: 1px
}

.tabs .ajax__tab_header .ajax__tab_inner {
    padding: 5px 10px 2px 0
}

.tabs .ajax__tab_active .ajax__tab_outer {
    border-bottom: 8px solid #fff
}

.tabs .ajax__tab_body {
    margin-top: 5px;
    padding: 5px;
    /*  border: solid var(--primarycolor);
    border-width: 1px 0 0 !important;*/
    min-height: 300px !important
}

.nav-tabs-custom > .tab-content {
    border: solid var(--primarycolor);
    border-width: 1.5px 0 1px !important
}

.nav-tabs-custom {
    margin-bottom: 0 !important
}

.validation {
    top: 5px !important;
    position: relative !important;
    font-size: 20px;
    font-weight: 700
}

.dropdown-menu, .skin-blue .sidebar a {
    font-size: var(--font-size) !important
}

.center {
    text-align: center !important
}

.right {
    text-align: right !important
}

/*.modal {
    padding-top: 30px;
}*/

.modal-open .modal {
    overflow: hidden !important;
    padding-left: 0px !important;
    margin-top: -1px;
}

.modalBackground {
    background-color: grey;
    opacity: .7
}

.modalPopup {
    background-color: #fff;
    padding: 40px 10px 5px;
    max-height: 90%;
    max-width: 90%;
    min-height: 10%;
    min-width: 10%;
    border-radius: 5px;
    border: 2px solid var(--primarycolor);
    box-shadow: 0 5px 15px rgb(0 0 0 / 10%)
}

.modal-header, .modalPopupHeader {
    width: 100%;
    height: 35px;
    border-radius: 4px 4px 0 0;
    line-height: 35px;
    margin-top: -1px;
    left: 0;
    top: 0;
    background-color: var(--primarycolor);
    color: #fff
}

.modalPopupHeader {
    padding: 0 5px 0 10px;
    position: absolute
}

.modal-header {
    padding: 0 5px 0 10px !important
}

.modal-body {
    padding: 5px !important
}

.content {
    padding: 3px !important;
    overflow-y: auto !important;
    overflow-x:hidden !important;
    min-height:100vh;
}

.fixed .content-wrapper, .fixed .right-side, .left-side, .main-sidebar {
    padding-top: 50px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.content-header {
    padding: 5px 15px 0 !important
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #3c8dbc !important
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff !important
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 300px !important
}

.alertify .ajs-dialog, .alertify .ajs-dimmer, .alertify .ajs-modal, .select2-dropdown {
    z-index: 99999 !important
}

.select2-container--default .select2-selection--single {
    padding: 5px !important;
    height: 34px !important;
    line-height: 30px !important
}

.accordionHeader {
    color: #fff;
    background-color: var(--primarycolor);
    padding: 5px;
    border-radius: 3px;
    height: 30px;
    margin-bottom: 2px !important
}

.accordionContent {
    border: 1px solid #007bb6;
    padding: 7px;
    border-radius: 3px;
    margin-bottom: 1px
}

#master_content .accordionHeader a {
    color: #fff;
    background: 0 0;
    text-decoration: none
}

    #master_content .accordionHeader a:hover {
        background: 0 0;
        text-decoration: underline
    }

.accordionHeaderSelected {
    color: #fff;
    background-color: var(--primarycolor);
    padding: 5px;
    border-radius: 3px;
    height: 30px
}

.sidebar {
    background-color: var(--sidebar-back-color);
}

.content-wrapper, .right-side, .skin-blue .left-side, .skin-blue .main-sidebar, .skin-blue .wrapper {
    background-color: var(--content-wrapper-backcolor) !important
}

.skin-blue .sidebar-menu > li.header {
    background-color: #96d8f7 !important;
    height: 25px;
    line-height: 5px;
    font-weight: 700 !important;
    color: #fff !important;
    margin-top: 0 !important
}

.skin-blue .sidebar-menu > li > .treeview-menu {
    background-color: var(--sidebar-back-color) !important;
    margin: 0 1px !important
}

.skin-blue .sidebar a {
    height: 30px;
    line-height: 20px
}

.skin-blue .sidebar-menu > li.active > a, .skin-blue .sidebar-menu > li:hover > a {
    background-color: rgb(255 255 255 / 15%) !important;
    height: 30px
}

.skin-blue .treeview-menu > li > a:hover {
    text-decoration: none;
    color: var(--forecolor) !important;
    background-color: #cce4f6 !important
}

.skin-blue .sidebar-menu > li > a {
    padding-top: 0;
    line-height: 30px;
    border-left: 2px
}

.sidebar-mini.sidebar-collapse .sidebar-menu > li > .treeview-menu {
    margin-top: -19px !important;
    padding-top: 5px !important;
    z-index: 9999 !important
}

.filterBox {
    margin: 5px;
    border-bottom: 1px solid #dee2e6;
    min-height: 40px;
    padding: 5px 0;
    z-index: 999999;
    display: flex;
    flex-wrap: wrap;
    align-items: center
}

.floatLeft {
    float: left;
    margin: 2px
}

.floatRight {
    float: right;
    margin: 2px
}

.dropdown-menu {
    min-width: 100px !important
}

    .dropdown-menu > li > a {
        padding: 3px 10px !important
    }

.alertify.ajs-movable:not(.ajs-maximized) .ajs-header {
    background-color: var(--primarycolor);
    color: #fff;
    line-height: 10px;
    font-size: 14px
}

.alertify .ajs-footer .ajs-buttons .ajs-button.ajs-ok {
    color: #fff !important;
    background: var(--primarycolor);
    border-radius: 3px;
    font-size: var(--font-size)
}

.alertify .ajs-dialog {
    max-width: max-content !important;
    background-color: #fff !important;
    min-width: 40%
}

.alertify .ajs-body .ajs-content {
    padding: 16px 24px 16px 0 !important;
    border-bottom: 1px solid #007bb6 !important
}

.alertify .ajs-footer .ajs-buttons.ajs-auxiliary .ajs-button, .alertify .ajs-footer .ajs-buttons.ajs-primary .ajs-button {
    margin: 0 !important
}

.form-dialog {
    width: 70% !important;
    margin: 30px auto
}

.dialog-content {
    padding-bottom: 50px;   
}

.overflow {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: 93%
}

.dialog-footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
    background: whitesmoke;
    width: 100%;
    padding: 5px;
    border-radius: 0px 0px 6px 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    border: 1px solid #dedede;
}

.fixed-footer {
    width: 100%;
    position: fixed;
    bottom: -2px;
    right: 0;
    background: whitesmoke;
    width: 100%;
    padding: 5px;
    border-radius: 0px 0px 6px 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    border: 1px solid #dedede;
    z-index: 999;
}

.menu-divider {
    border-bottom: 1px solid #3c8dbc;
    position: relative;
    width: 80%;
    left: 7%
}

.swal2-container {
    z-index: 300000 !important
}

#loading-progress {
    z-index: 99999999999999;
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
    transform: -webkit-translate(-50%,-50%);
    transform: -moz-translate(-50%,-50%);
    transform: -ms-translate(-50%,-50%)
}

.ui-autocomplete {
    z-index: 999999 !important
}

.btn-list {
    border-radius: 100px !important;
    padding: 6px !important
}

.loading-fb {
    background-image: url("../Images/loading-fb.gif");
    width: 16px;
    height: 10px;
    margin: 10px auto;
    display: block;
}


.error-page {
    height: 300px;
    width: 80%
}

.radio-toolbar input[type="radio"] {
    opacity: 0;
    position: fixed;
    width: 0;
}

.radio-toolbar label {
    display: inline-block;
    background-color: #ffffff;
    line-height: 20px;
    padding: 5px;
    border: 1px solid var(--primarycolor);
    border-radius: var(--button-border-radius);
    text-align: center;
    margin-right: 0;
}

    .radio-toolbar label:hover {
        background-color: var(--primarycolor);
        color: white;
        cursor: pointer;
    }

.radio-toolbar input[type="radio"]:checked + label {
    background-color: var(--primarycolor);
    border-color: var(--primarycolor);
    color: white;
}

.notification-box {
    padding: 5px !important;
    width: 366px !important;
    background-color: var(--primarycolor) !important;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

    .switch input {
        opacity: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 12px;
        width: 12px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: var(--primarycolor);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primarycolor);
}

input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.loading {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
}

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primarycolor);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.section-divider {
    border: 1px solid var(--primarycolor);
    opacity: 0.5;
    width: 100%;
    margin-bottom: 5px;
}

.small-box > .small-box-footer {
    border-radius: 0 0 12px 12px;
}

.savepanel {
    background: whitesmoke;
    width: 100%;
    padding: 5px;
    border-radius: 0px 0px 6px 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    border: 1px solid #dedede;
}

.unit-box {
    float: left;
    width: 80px;
    height: 80px;
    margin: 1px;
    border: 1px solid #0b4f6c;
    text-align: center;
    line-height: 18px;
    padding: 4px;
    /*border-radius: 5px;*/
}

.unit-info {    
    margin: 2px;    
    word-wrap: break-word;    
    display: inline-block;
    vertical-align: top;
    line-height: 20px;     
    width: 100%;    
    border: 1px solid var(--primarycolor);
    padding: 12px;
    border-radius: 12px;
    font-size: 16px;
    color: white;
}

.item-box {
    width: 120px;
    margin: 2px;
    height: 120px;
    text-align: center;
    border-radius: 2px;
    word-wrap: break-word;
    border: 1px solid #808080;
    display: inline-block;
    vertical-align: top;
    line-height: 20px;
}

.category-box {
    float: left;
    /*min-width: 100px;*/
    margin: 1px;
    height: 40px;
    line-height: 30px;
    text-align: center;
    border-radius: 2px;
    padding: 5px;
    border: 1px solid;
    white-space: nowrap;
}

.grand-total {
    width: 100%;
    height: 50px;
    background-color: var(--primarycolor);
    line-height: 40px;
    padding: 5px;
    color: white;
    font-weight: bold;
    border-radius: 3px;
}

.item-img {
    height: 60px;
    margin: 2px;
    border-radius: 50px;
}

.price-box {
    width: 40px;
    border: 1px solid darkgrey;
    background-color: red;
    color: white;
    border-radius: 5px;
    padding: 0px;
    font-size: 10px;
    line-height: 100%;
    margin: 0px auto;
}
