/*!
* Start Bootstrap - SB Admin 2 Bootstrap Admin Theme (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/

@media print {
    #page-wrapper {
        margin: 0 0 0 0 !important;
        height: 100% !important;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f8f8f8;
}

#wrapper {
    width: 100%;
}

#page-wrapper {
    padding: 0 15px;
    height: calc(100vh - 61px);
    /*min-height: calc(100vh - 61px);*/
    background-color: #fff;
    overflow: auto;
}

@media(min-width:768px) {
    #page-wrapper {
        position: inherit;
        margin: 0 0 0 250px;
        padding: 0 30px;
        border-left: 1px solid #e7e7e7;
        border-right: 1px solid #e7e7e7;
    }

    [dir="rtl"] #page-wrapper {
        margin: 0 250px 0 0;
    }
}

.navbar-top-links li {
    display: inline-block;
}

    .navbar-top-links li:last-child {
        margin-right: 15px;
        margin-left: 15px;
    }

    .navbar-top-links li a {
        padding: 15px;
        min-height: 50px;
    }

.navbar-top-links .dropdown-menu li {
    display: block;
}

    .navbar-top-links .dropdown-menu li:last-child {
        margin-right: 0;
        margin-left: 0;
    }

    .navbar-top-links .dropdown-menu li a {
        padding: 3px 20px;
        min-height: 0;
    }

        .navbar-top-links .dropdown-menu li a div {
            white-space: normal;
        }

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
    width: 310px;
    min-width: 0;
}

.navbar-top-links .dropdown-messages {
    margin-left: 5px;
    margin-right: 5px;
}

.navbar-top-links .dropdown-tasks {
    margin-left: -59px;
}

[dir="rtl"] .navbar-top-links .dropdown-tasks {
    margin-left: 0;
    margin-right: -59px;
}

.navbar-top-links .dropdown-alerts {
    margin-left: -123px;
}

[dir="rtl"] .navbar-top-links .dropdown-alerts {
    margin-left: 0;
    margin-right: -123px;
}

.navbar-top-links .dropdown-user {
    right: 0;
    left: auto;
}

[dir="rtl"] .navbar-top-links .dropdown-user {
    left: 0;
    right: auto;
}

.sidebar .sidebar-nav.navbar-collapse {
    padding-right: 0;
    padding-left: 0;
}

.sidebar .sidebar-search {
    padding: 15px;
}

.sidebar ul li {
    border-bottom: 1px solid #e7e7e7;
}

    .sidebar ul li a.active {
        background-color: #eee;
    }

.sidebar .arrow {
    float: right;
}

[dir="rtl"] .sidebar .arrow {
    float: left;
}

[dir="rtl"] .sidebar .fa.arrow:before {
    content: "\f104";
}

[dir="ltr"] .sidebar .fa.arrow:before {
    content: "\f105";
}

.sidebar .active > a > .fa.arrow:before {
    content: "\f107";
}

.sidebar .nav-second-level li,
.sidebar .nav-third-level li {
    border-bottom: 0 !important;
}

    .sidebar .nav-second-level li a {
        padding-left: 37px;
    }

[dir="rtl"] .sidebar .nav-second-level li a {
    padding-left: 0;
    padding-right: 37px;
}

.sidebar .nav-third-level li a {
    padding-left: 52px;
}

[dir="rtl"] .sidebar .nav-third-level li a {
    padding-left: 0;
    padding-right: 52px;
}

@media(min-width:768px) {
    .sidebar {
        z-index: 1;
        position: absolute;
        width: 250px;
        /*margin-top: 51px;*/
        top: 60px;
    }

    .navbar-top-links .dropdown-messages,
    .navbar-top-links .dropdown-tasks,
    .navbar-top-links .dropdown-alerts {
        margin-left: auto;
        margin-right: auto;
    }
}


.btn-outline {
    color: inherit;
    background-color: transparent;
    transition: all .5s;
}

.btn-primary.btn-outline {
    color: #428bca;
}

.btn-success.btn-outline {
    color: #5cb85c;
}

.btn-info.btn-outline {
    color: #5bc0de;
}

.btn-warning.btn-outline {
    color: #f0ad4e;
}

.btn-danger.btn-outline {
    color: #d9534f;
}

    .btn-primary.btn-outline:hover,
    .btn-success.btn-outline:hover,
    .btn-info.btn-outline:hover,
    .btn-warning.btn-outline:hover,
    .btn-danger.btn-outline:hover {
        color: #fff !important;
    }

.chat {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .chat li {
        margin-bottom: 10px;
        padding-bottom: 5px;
        border-bottom: 1px dotted #999;
    }

        .chat li.right .chat-body {
            margin-left: 60px;
        }

[dir="rtl"] .chat li.left .chat-body {
    margin-left: 0;
    margin-right: 60px;
}

.chat li.left .chat-body {
    margin-right: 60px;
}

[dir="rtl"] .chat li.right .chat-body {
    margin-right: 0;
    margin-left: 60px;
}

.chat li .chat-body p {
    margin: 0;
}

.panel .slidedown .glyphicon,
.chat .glyphicon {
    margin-right: 5px;
}

[dir="rtl"] .panel .slidedown .glyphicon,
[dir="rtl"] .chat .glyphicon {
    margin-right: 0;
    margin-left: 5px;
}

.chat-panel .panel-body {
    height: 350px;
    overflow-y: scroll;
}

.login-panel {
    margin-top: 25%;
}

.flot-chart {
    display: block;
    height: 400px;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

table.dataTable thead th .sorting,
table.dataTable thead th .sorting_asc,
table.dataTable thead th .sorting_desc,
table.dataTable thead th .sorting_asc_disabled,
table.dataTable thead th .sorting_desc_disabled {
    background: 0 0;
}

    table.dataTable thead th .sorting_asc:after {
        content: "\f0de";
        float: right;
        font-family: fontawesome;
    }

[dir="rtl"] table.dataTable thead th .sorting_asc:after {
    float: left;
}

table.dataTable thead th .sorting_desc:after {
    content: "\f0dd";
    float: right;
    font-family: fontawesome;
}

[dir="rtl"] table.dataTable thead th .sorting_desc:after {
    float: left;
}

table.dataTable thead th .sorting:after {
    content: "\f0dc";
    float: right;
    font-family: fontawesome;
    color: rgba(50,50,50,.5);
}

[dir="rtl"] table.dataTable thead th .sorting:after {
    float: left;
}

table.dataTable tr th {
    background-color: #f5f5f5 !important;
}

    table.dataTable tr th a {
        padding: 0 10px;
    }

[dir="rtl"] table.dataTable thead .sorting, [dir="rtl"] table.dataTable tr.sorting th {
    background: url('../../Include/images/bootstrap/datatables/sort_both.png') no-repeat center right;
}

[dir="rtl"] table.dataTable thead .sorting_asc, [dir="rtl"] table.dataTable th.sorting_asc {
    background: url('../../Include/images/bootstrap/datatables/sort_asc.png') no-repeat center right !important;
}

[dir="rtl"] table.dataTable thead .sorting_desc, [dir="rtl"] table.dataTable th.sorting_desc {
    background: url('../../Include/images/bootstrap/datatables/sort_desc.png') no-repeat center right !important;
}

[dir="rtl"] table.dataTable thead .sorting_asc_disabled, [dir="rtl"] table.dataTable th.sorting_asc_disabled {
    background: url('../../Include/images/bootstrap/datatables/sort_asc_disabled.png') no-repeat center right !important;
}

[dir="rtl"] table.dataTable thead .sorting_desc_disabled, [dir="rtl"] table.dataTable th.sorting_desc_disabled {
    background: url('../../Include/images/bootstrap/datatables/sort_desc_disabled.png') no-repeat center right !important;
}


.GridRowStyle {
    text-align: left;
}

[dir="rtl"] .GridRowStyle {
    text-align: right;
}



.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.428571429;
}

    .btn-circle.btn-lg {
        width: 50px;
        height: 50px;
        padding: 10px 16px;
        border-radius: 25px;
        font-size: 18px;
        line-height: 1.33;
    }

    .btn-circle.btn-xl {
        width: 70px;
        height: 70px;
        padding: 10px 16px;
        border-radius: 35px;
        font-size: 24px;
        line-height: 1.33;
    }

.show-grid [class^=col-] {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #ddd;
    background-color: #eee !important;
}

.show-grid {
    margin: 15px 0;
}

.huge {
    font-size: 40px;
}

.panel-green {
    border-color: #5cb85c;
}

    .panel-green .panel-heading {
        border-color: #5cb85c;
        color: #fff;
        background-color: #5cb85c;
    }

    .panel-green a {
        color: #5cb85c;
    }

        .panel-green a:hover {
            color: #3d8b3d;
        }

.panel-red {
    border-color: #d9534f;
}

    .panel-red .panel-heading {
        border-color: #d9534f;
        color: #fff;
        background-color: #d9534f;
    }

    .panel-red a {
        color: #d9534f;
    }

        .panel-red a:hover {
            color: #b52b27;
        }

.panel-yellow {
    border-color: #f0ad4e;
}

    .panel-yellow .panel-heading {
        border-color: #f0ad4e;
        color: #fff;
        background-color: #f0ad4e;
    }

    .panel-yellow a {
        color: #f0ad4e;
    }

        .panel-yellow a:hover {
            color: #df8a13;
        }



/* PAGING */
.pagination-ys {
    /*display: inline-block;*/
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    /*.pagination-ys table > tbody > tr > td {
        display: inline;
    }*/

    .pagination-ys table > tbody > tr > td > a,
    .pagination-ys table > tbody > tr > td > span {
        position: relative;
        float: left;
        padding: 8px 12px;
        line-height: 1.7;
        text-decoration: none;
        color: #dd4814;
        background-color: #ffffff;
        border: 1px solid #dddddd;
        margin-left: -1px;
    }

    .pagination-ys table > tbody > tr > td > span {
        position: relative;
        float: left;
        padding: 8px 12px;
        line-height: 1.7;
        text-decoration: none;
        margin-right: -1px;
        z-index: 2;
        color: #aea79f;
        background-color: #f5f5f5;
        border-color: #dddddd;
        cursor: default;
    }

[dir="rtl"] .pagination-ys table {
    direction: ltr;
}

    [dir="rtl"] .pagination-ys table select {
        direction: rtl;
    }


.pagination-ys table > tbody > tr > td:first-child > a,
.pagination-ys table > tbody > tr > td:first-child > span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.pagination-ys table > tbody > tr > td:last-child > a,
.pagination-ys table > tbody > tr > td:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}

.pagination-ys table > tbody > tr > td > a:hover:not(.btn),
.pagination-ys table > tbody > tr > td > span:hover:not(.btn),
.pagination-ys table > tbody > tr > td > a:focus:not(.btn),
.pagination-ys table > tbody > tr > td > span:focus:not(.btn) {
    color: #97310e;
    background-color: #eeeeee;
    border-color: #dddddd;
}

.pager-style {
    width: 63px;
    height: 38px;
    /*margin: 0px 15px;*/
    display: inline-block;
    border-radius: unset;
    padding: 6px 4px !important;
}

#prev_page:not(.disabled), #next_page:not(.disabled) {
    border: 1px solid #dddddd;
}

#prev_page {
    border-bottom-left-radius: 4px !important;
    border-top-left-radius: 4px !important;
}
/* PAGING */


/* override */
.spinner {
    z-index: 9999;
    position: fixed;
    left: 50%;
    top: 150px;
    height: 60px;
    width: 60px;
    margin: 0px auto;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left: 6px solid rgba(0,174,239,.15);
    border-right: 6px solid rgba(0,174,239,.15);
    border-bottom: 6px solid rgba(0,174,239,.15);
    border-top: 6px solid rgba(0,174,239,.8);
    border-radius: 100%;
}

@-webkit-keyframes rotation {
    from {
        -webkit-trans: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0deg);
    }

    to {
        -o-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}


/* multiselect start */
ul.multiselect-container.dropdown-menu {
    columns: 4;
    -webkit-columns: 4;
    -moz-columns: 4;
    overflow-x: auto !important;
}

.multiselect-container > li {
    width: 100%;
    text-align: left;
}

[dir="rtl"] .multiselect-container > li {
    text-align: right;
}

.multiselect-container > li > a > label {
    padding: 2px 20px 1px !important;
}

    .multiselect-container > li > a > label.checkbox input[type=checkbox] {
        margin-right: 0px !important;
        margin-left: -15px !important;
    }

[dir="rtl"] .multiselect-container > li > a > label.checkbox input[type=checkbox] {
    margin-left: 0px !important;
    margin-right: -15px !important;
}


li.multiselect-item.filter {
    position: relative;
    display: inline-block;
}

.multiselect-container .input-group {
    margin: 5px 0px;
    left: 7px;
    padding: 3px 0;
}

[dir="rtl"] .multiselect-container .input-group {
    left: auto;
    right: 7px;
}

.input-group-addon {
    padding: 6px !important;
}
/* multiselect end */


.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    cursor: pointer;
}

table.dataTable {
    width: auto;
    font-size: 12px;
}
/*.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: 5px;
}

.GridRowStyle td {
    direction: ltr;
    vertical-align: middle !important;
}

[dir="rtl"] .GridRowStyle td {
    direction: rtl;
    vertical-align: middle !important;
}

@media screen (min-width:768px) {
    #page-wrapper {
        margin: 0 200px 0 0;
    }

    .sidebar {
        width: 200px;
    }
}

.hide {
    visibility: hidden !important;
    display: none !important;
}


.panel-heading .accordion-toggle:after {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings'; /* essential for enabling glyphicon */
    content: "\e114";
    float: left;
    color: grey;
    padding: 0 5px 0 0;
}

[dir="rtl"] .panel-heading .accordion-toggle:after {
    float: right;
    padding: 0 0 0 5px;
}

.panel-heading .accordion-toggle.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\e079"; /* "\e080"; */
}




/* SIDE NAV BAR */
@media(min-width:768px) {
    div.navbar-default {
        height: calc(100vh - 60px);
        /*overflow: hidden;
            visibility:hidden;*/
        /*display:none;*/
        overflow: auto;
    }
}

.sidebar-nav .metismenu ul a {
    padding: 10px 30px 10px 30px;
}

.sidebar-nav .metismenu ul ul a {
    padding: 10px 45px 10px 45px;
}

.sidebar-nav .metismenu a:hover,
.sidebar-nav .metismenu a:focus,
.sidebar-nav .metismenu a:active,
.sidebar-nav .metismenu .mm-active > a {
    background-color: #eee;
}

div .nav-btn {
    top: 60px;
    left: 250px;
    z-index: 100000;
    position: absolute;
    padding: 0 5px;
}

[dir="rtl"] div .nav-btn {
    left: auto;
    right: 250px;
}

@media(max-width:767px) {
    div .nav-btn {
        visibility: hidden;
        display: none;
    }
}


[dir=rtl] .metismenu .has-arrow:after {
    -webkit-transform: rotate(-45deg) translateY(-50%);
    transform: rotate(-45deg) translateY(-50%);
}

.metismenu .has-arrow:after {
    -webkit-transform: rotate(135deg) translateY(-50%);
    transform: rotate(135deg) translateY(-50%);
}

/*[dir=ltr]                 .nav li:not(.active) .arrow:before{-webkit-transform:rotate(-180deg) translateY(-50%);transform:rotate(-180deg) translateY(-50%);display: inline-block;}
[dir=ltr]                 .nav li.active .arrow:before{-webkit-transform:rotate(-450deg) translateY(-50%);transform:rotate(-450deg) translateY(-50%);display: inline-block;}*/

/* SIDE NAV BAR */



.mb-10 {
    margin-bottom: 10px !important;
}

.button-div {
    padding-top: 15px;
}

.font-weight-bold {
    font-weight: bold;
}

#pFilters .select2.select2-container {
    width: 100% !important;
}


.px-0 {
    padding-left: 0px;
    padding-right: 0px;
}

/*START scroller*/
.scroll-table tr.pagination-ys table {
    margin-bottom: 5px;
}

/*table.dataTable tr.sorting th {
    top: 55px;
}*/

.table-responsive > div {
    max-width: 934px;
    max-height: calc(100vh - 214px);
    overflow: auto;
    border-bottom: 1px solid rgb(221, 221, 221);
    margin-bottom: 10px;
    min-height: 200px;
}

.scroll-table tr.pagination-ys td {
    background-color: rgb(255, 255, 255);
    position: sticky;
    top: 0px;
    z-index: 1000;
}

.scroll-table > tbody > tr > td, .scroll-table > tfoot > tr > td {
    border: 1px solid #ddd;
    border-right: none;
    border-bottom: none;
}

table.scroll-table thead .sorting, table.scroll-table tr.sorting th {
    border-right: none;
}

.scroller::-webkit-scrollbar-track {
    border: 0px solid white;
    /*// border color does not support transparent on scrollbar // border-color: transparent;*/
    background-color: #b2bec3;
}

table.scroll-table {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    border-collapse: separate !important;
    border-top: none;
    border-left: none;
    border-right: none;
    /*min-height: 200px;*/
}

.scroller::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: #dfe6e9;
}

.scroller::-webkit-scrollbar-thumb {
    background-color: #74b9ff;
    border-radius: 8px;
}

table.scroll-table tr th {
    background-color: #f5f5f5 !important;
    position: sticky;
    /*top: 0px;*/
    z-index: 1000;
}

table.dataTable thead .sorting_asc, [dir="rtl"] table.dataTable th.sorting_asc, [dir="ltr"] table.dataTable th.sorting_asc {
    background-color: #f5f5f5 !important;
}

table.dataTable thead .sorting_desc, [dir="rtl"] table.dataTable th.sorting_desc, [dir="ltr"] table.dataTable th.sorting_desc {
    background-color: #f5f5f5 !important;
}

/*END*/

