﻿

.page-header {
    margin-bottom: 5px;
}

.card-header {
    padding: 10px;
}

.card-body {
    padding: 5px 10px;
}

.header {
    height: 40px;
}

    .header .header-left {
        height: 40px;
        padding: 0 20px;
    }

        .header .header-left .logo {
            line-height: 20px;
        }


.sidebar {
    top: 40px;
}

.page-wrapper {
    padding-top: 40px;
}

    .page-wrapper > .content {
        padding: 15px;
    }


.page-title-box {
    height: 40px;
    padding: 10px 10px;
}

.user-menu.nav > li > a {
    line-height: 40px;
    padding: 0 15px;
    height: 40px;
}

.mobile-user-menu {
    height: 40px;
    line-height: 40px;
}

.sidebar-overlay {
    top: 40px;
}


@media only screen and (min-width: 991px) {
    #toggle_btn {
        line-height: 40px;
    }
}

@media only screen and (max-width: 991.98px) {
    a.mobile_btn {
        height: 40px;
        line-height: 40px;
        padding: 0 10px;
    }
}


.onoffswitch-inner:after {
    background-color: #e0001a;
}

.dataTables_scrollHeadInner {
    width: 100% !important;
}

    .dataTables_scrollHeadInner table {
        width: 100% !important;
    }


.tHeadSticky {
    position: sticky;
    top: -1px;
    z-index: 1;
}

.tFootSticky {
    position: sticky;
    bottom: 0;
    z-index: 1;
    background-color: lightblue;
}
.table .tfoot-light th {
    /*color: #495057;*/
    background-color: lightblue;
    border-color: darkgray;
}

.maxTableHeight {
    /*min-height:300px!important;*/
    max-height: 500px;
    /*height: calc(100% - 200px);*/
}



.MessagePanelDiv {
    position: fixed;
    z-index: 99999 !important;
    right: 10px;
    top: 10px;
    width: auto;
    min-width: 300px !important;
}

.filter-row .btn {
    min-height: 50px;
    padding: 12px;
    text-transform: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.cursor-pointer {
    cursor: pointer;
}

.font-6 {
    font-size: 6px !important;
}

.font-8 {
    font-size: 8px !important;
}

.font-10 {
    font-size: 10px !important;
}

.font-12 {
    font-size: 12px !important;
}

.font-14 {
    font-size: 14px !important;
}

.font-16 {
    font-size: 16px !important;
}

.font-18 {
    font-size: 18px !important;
}

.font-20 {
    font-size: 20px !important;
}

.font-22 {
    font-size: 22px !important;
}

.font-24 {
    font-size: 24px !important;
}

.font-26 {
    font-size: 26px !important;
}

.font-28 {
    font-size: 28px !important;
}

.text-green-1 {
    color: darkgreen !important;
}



/*gridview paging*/
.gridpage table tbody tr td a,
.gridpage table tbody tr td span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.gridpage table > tbody > tr > td > span {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
}

.gridpage table > tbody > tr > td:first-child > a,
.gridpage table > tbody > tr > td:first-child > span {
    margin-left: 0;
    border-top-left-radius: 1px;
    border-bottom-left-radius: 1px;
}

.gridpage table > tbody > tr > td:last-child > a,
.gridpage table > tbody > tr > td:last-child > span {
    border-top-right-radius: 1px;
    border-bottom-right-radius: 1px;
}

.gridpage table > tbody > tr > td > a:hover,
.gridpage table > tbody > tr > td > span:hover,
.gridpage table > tbody > tr > td > a:focus,
.gridpage table > tbody > tr > td > span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}
/*end gridview */

/* for progress background */
.ProgressBackground {
    background-color: #6D7B8D; /* Blue Slate Gray */
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    min-height: 100%;
    min-width: 100%;
    filter: alpha(opacity=50);
    opacity: 0.5;
    -moz-opacity: 0.5;
    /*
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background-color: #C0C0C0;
    filter: alpha(opacity=50);
    opacity: 0.5;
    z-index: 1000;
    */
}

.ProgressBackground {
    /* Above everything else, except an UpdateProgressPanel */
    z-index: 9999 !important;
}

.ProgressProcess {
    /* UpdateProgressPanel is above EVERYTHING ELSE, even other modal popups */
    z-index: 99999999;
    background-color: #fff;
    color: #000000;
    width: 150px;
    height: 34px;
    text-align: center;
    vertical-align: middle;
    position: fixed;
    bottom: 50%;
    left: 45%;
    padding: 5px;
    border: solid 2px #5D7B9D; /*
    position: fixed;
    top: 50%;
    left: 43%;
    padding: 10px;
    width: 150px;
    z-index: 1001;
    background-color: #fff;
    border: solid 1px #000;
    */
}

