.main-sidebar, .brand-link {
    background: rgba(0,0,0,0.3);
}
[class*=sidebar-dark] .brand-link {
    border-bottom: none;
}

.os-content {
    height: 150%!important;
}

.nav-sidebar>.nav-item .nav-icon.fa, .nav-sidebar>.nav-item .nav-icon.fab, .nav-sidebar>.nav-item .nav-icon.far, .nav-sidebar>.nav-item .nav-icon.fas, .nav-sidebar>.nav-item .nav-icon.glyphicon, .nav-sidebar>.nav-item .nav-icon.ion {
    font-size: 1.5rem;
}

/* login page */
/* .login-page {
    background-color: rgba(0, 255,255, 0.3);
} */
.login-page-wrapper::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background: url('/assets/images/login_bg_1.jpg') no-repeat center;
    background-size: cover;
    z-index: -2;
}
.login-page-wrapper::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background-color: rgba(0, 255,255, 0.5);
    z-index: -1;
}
/*#signature-pad canvas,
#signature-pad_1 canvas{
    width: 310px;
    height: 170px;

}*/

.select2-container {
    width: 100%!important;
}
@media screen and (max-width: 768px) {
    .login-form-wrapper .text-right {
        text-align: left!important;
    }
}
/*@media (max-width: 1024px){
    #signature-pad canvas{
        width: 600px;
    }
}*/
/*@media screen and (max-width: 1024px) {*/
     #signature-pad canvas,
     #signature-pad_12 canvas,
     #signature-pad_11 canvas,
     #signature-pad_10 canvas,
     #signature-pad_9 canvas,
     #signature-pad_8 canvas,
     #signature-pad_7 canvas,
     #signature-pad_6 canvas,
     #signature-pad_5 canvas,
     #signature-pad_4 canvas,
     #signature-pad_3 canvas,
     #signature-pad_2 canvas,
     #signature-pad_1 canvas 
     {
        width: 310px;
        height: 170px;

    }

/*}*/

/*
@media screen and (max-width: 850px) {
   
     #signature-pad canvas,
     #signature-pad_12 canvas,
     #signature-pad_11 canvas,
     #signature-pad_10 canvas,
     #signature-pad_9 canvas,
     #signature-pad_8 canvas,
     #signature-pad_7 canvas,
     #signature-pad_6 canvas,
     #signature-pad_5 canvas,
     #signature-pad_4 canvas,
     #signature-pad_3 canvas,
     #signature-pad_2 canvas,
     #signature-pad_1 canvas 
     {
        width: 310px;
        height: 170px;

    }
}


@media screen and (max-width: 768px) {
 
     #signature-pad canvas,
     #signature-pad_12 canvas,
     #signature-pad_11 canvas,
     #signature-pad_10 canvas,
     #signature-pad_9 canvas,
     #signature-pad_8 canvas,
     #signature-pad_7 canvas,
     #signature-pad_6 canvas,
     #signature-pad_5 canvas,
     #signature-pad_4 canvas,
     #signature-pad_3 canvas,
     #signature-pad_2 canvas,
     #signature-pad_1 canvas 
     {
        width: 310px;
        height: 170px;

    }

}
/*@media screen and (min-width:767px) {
     #signature-pad canvas{
        width: 400px;
    }
}*/
@media screen and (max-width:575px) {
     
     #signature-pad canvas,
     #signature-pad_12 canvas,
     #signature-pad_11 canvas,
     #signature-pad_10 canvas,
     #signature-pad_9 canvas,
     #signature-pad_8 canvas,
     #signature-pad_7 canvas,
     #signature-pad_6 canvas,
     #signature-pad_5 canvas,
     #signature-pad_4 canvas,
     #signature-pad_3 canvas,
     #signature-pad_2 canvas,
     #signature-pad_1 canvas 
     {
        width: 310px;
        height: 170px;

    }
}

@media screen and (max-width:375px) {

    #signature-pad canvas,
     #signature-pad_12 canvas,
     #signature-pad_11 canvas,
     #signature-pad_10 canvas,
     #signature-pad_9 canvas,
     #signature-pad_8 canvas,
     #signature-pad_7 canvas,
     #signature-pad_6 canvas,
     #signature-pad_5 canvas,
     #signature-pad_4 canvas,
     #signature-pad_3 canvas,
     #signature-pad_2 canvas,
     #signature-pad_1 canvas 
     {
        width: 260px;
        height: 170px;
    }
}

@media screen and (max-width:320px) {
     #signature-pad canvas,
     #signature-pad_12 canvas,
     #signature-pad_11 canvas,
     #signature-pad_10 canvas,
     #signature-pad_9 canvas,
     #signature-pad_8 canvas,
     #signature-pad_7 canvas,
     #signature-pad_6 canvas,
     #signature-pad_5 canvas,
     #signature-pad_4 canvas,
     #signature-pad_3 canvas,
     #signature-pad_2 canvas,
     #signature-pad_1 canvas 
     {
        width: 220px;
        height: 170px;
    }
}

/* ptw */
/* left fix sidebar */
.bs-canvas-overlay {
    opacity: 0.85;
    z-index: 1100;
}

.bs-canvas {
 top: 0;
 z-index: 1110;
 overflow-x: hidden;
 overflow-y: auto;
 width: 270px;
 transition: margin .4s ease-out;
 -webkit-transition: margin .4s ease-out;
 -moz-transition: margin .4s ease-out;
 -ms-transition: margin .4s ease-out;
}

.bs-canvas-left {
 left: 0;
 margin-left: -270px;
}

.bs-canvas-right {
 right: 0;
 margin-right: -270px;
}
.bs-canvas .nav-link {
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
}

/* ptw */
.ptw-text-color {
    color: #00008B;
}
.btn-ptw {
    background-color: #00008B;
}
.btn-ptw:hover {
    background-color: #007bff;
}

.dropify-wrapper{
    border-radius: 2px!important;
    padding: 0px!important;
    border: 2px dashed rgba(42, 52, 121, 0.2)!important;
    height: 115px;
    background: none;
}

.dz-image-preview{
text-align: center;
}
.dropify-wrapper.has-preview{
    height: 200px;
}

.btn-worker{
    background-color: #048e04;
    border-color: #ddd;
    color: #fff;
}

/*start TRSS*/
/*adjust table responsive*/
.table{
    width: 100% !important;
}

.table thead th {
    vertical-align: middle;
}

table.dataTable{
    border-collapse: collapse !important;
}

.content-title,.navigate-page-btn,.multiple-form-wrapper{
    background-color: #0808a8 !important
}

@media screen and (max-width: 768px) {
    
    .navigate-page{
        bottom: 65px;
    }

    .dataTables_length{
        position: absolute;
        top: -62px;
    }

    .tab-content .dataTables_length {
        top: 0px;
    }

    .pagination{
        display: flex;
        justify-content: center !important;
        margin-top: 15px !important;
    }

    div.dataTables_wrapper div.dataTables_filter {
        text-align: right !important;
    }

    .info-box-icon i {
        font-size: 25px !important;
    }

    .content-wrapper>.content {
        margin-top: 153px !important;
    }

    /*toolbox meetings table only*/
    #toolbox_meetings_table_length{
        text-align: right;
        position: relative;
        top: 0px;
    }

}

@media screen and (max-width: 767px) {

    /*fixed pagination*/
    .dataTables_info {
        width: calc(100% - 31px)!important;
        position: fixed;
        bottom: 145px;
        background-color: white;
        height: 40px;
        margin-left: -20px;
        margin-right: 15px;
    }

    .dataTables_paginate {
        position: fixed;
        bottom: 70px;
        background-color: white;
        width: calc(100% - 31px)!important;
        height: 80px;
        margin-left: -20px !important;
        margin-right: 15px !important;
    }


    /*fixed table header*/
    .table {
        height: 500px;
        overflow: auto;
    }   

    table.dataTable{
        margin-bottom: 80px !important;
    }

    .table th {
        position: sticky !important;
        top: -1px;
        background-color: #6c757d;
    }
}

@media screen and (max-width: 425px) {
    
    /*fixed pagination*/
    .dataTables_info {
        bottom: 125px;
    }

    .dataTables_paginate {
        bottom: 50px;
    }

    .tab-content .dataTables_length {
        top: -62px;
    }

}


@media screen and (max-width: 375px) {
    
    .tab-content .dataTables_length {
        top: -62px;
    }

    /*fixed pagination*/
    .dataTables_info {
        bottom: 145px;
    }

    .dataTables_paginate {
        bottom: 70px;
    }
}

@media screen and (max-width:320px) {
    .dataTables_length{
        position: relative;
        top: 0px !important;
    }
}

/*ptw module fixed*/
@media screen and (min-width:991.8px) {
    .sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .main-footer, .sidebar-mini.sidebar-collapse .main-header {
        width: calc(100% - 4.6rem);
    }

    body:not(.sidebar-mini-md) .content-wrapper, body:not(.sidebar-mini-md) .main-footer, body:not(.sidebar-mini-md) .main-header {
        width: calc(100% - 250px);
    }

    .sidebar-mini .content-header {
        width: calc(100% - 250px);
    }

    .sidebar-mini.sidebar-collapse .content-header {
        width: calc(100% - 4rem);
    }

    .sidebar-mini.sidebar-collapse .carousel .content-title {
        width: calc(100% - 105px)!important;
    }


    .sidebar-mini .carousel .content-title {
        width: calc(100% - 281px);
    }

}

@media screen and (max-width:991.8px) {
      .sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .main-footer, .sidebar-mini.sidebar-collapse .main-header,
      body:not(.sidebar-mini-md) .content-wrapper, body:not(.sidebar-mini-md) .main-footer, body:not(.sidebar-mini-md) .main-header,
    .sidebar-mini .content-header, .sidebar-mini.sidebar-collapse .content-header{
        width: 100%;
    }

    .sidebar-mini.sidebar-collapse .carousel .content-title,.sidebar-mini .carousel .content-title{
        width: calc(100% - 31px)!important;
    }    
}

.main-header{
    position: fixed;
    top:0px;
}

.content-header{
    position: fixed;
    z-index: 1034;
    background-color: #f4f6f9;
    top: 55px;
}

.tab-header{
    top: 40px;
}

.content-title{
    position: fixed;
    background-color: #0c0cba;
    z-index: 999;
    padding-top: 10px;
    padding-bottom: 10px;
    top: 110px;
    padding-left: 20px;
    margin-left: -20px;
}

.carousel-item .row{
    padding-top: 12px;
}

.content-wrapper>.ptw-content{
    margin-top:120px;
}

.content-wrapper>.content{
    margin-top:140px;
}

.content-header .btn-warning{
    margin-top: 25px;
}

/*fixed footer*/
.navigate-page{
    position: sticky;
    width: auto !important;
    margin-right: -20px;
    bottom: 57px;
    margin-left: -20px;
    height: 85px;
    z-index: 999;
    padding-top: 0 !important;
}
.sidebar-mini.sidebar-collapse .carousel .navigate-page {
    width: calc(100% - 105px);
}
.main-footer{
    position: sticky;
    bottom: 0px;
    z-index: 999;
}
.navigate-page-btn{
    background: #0808a8;
    padding-top: 10px;
}
.page-prev{
    padding-left: 20px;
}
.page-next{
    padding-right: 20px;
}
.card {
     box-shadow: none !important; 
}

.add-bg{
    position: fixed;
    bottom: 55px;
    height: 20px;
    background: #f4f6f9;
    z-index: 999;
    width: 100%;
}
.multiple-form-wrapper{
   /* margin-bottom: 40px; */
}

/*alert box overlap*/
.alert {
    z-index: 1033;
    width: 100%;
    top: 130px;
    /*position: fixed;
    width: calc(100% - 250px);
    top: 3px;*/
}

.alert .close, .alert .mailbox-attachment-close{
    color: #ffffff !important;
}

@media (max-width: 768px){
    .alert{
      width: 100%;
      top: 150px;
  }
}

@media (max-width: 500px){
    .navigate-page{
      bottom: 55px;
  }
}

@media (max-width: 458px){
    .add-bg{
        bottom: 80px;
    }
    .navigate-page{
        bottom: 80px;
    }
    .multiple-form-wrapper {
       /* margin-bottom: 60px;*/
    }
}
@media (max-width: 320px){
    .navigate-page{
        bottom: 90px;
    }

    .info-box-icon i{
        font-size: 20px !important;
    }

    .info-box-content .count {
        font-size: 22px;
    }

    .info-box .info-box-text, .info-box .progress-description{
       font-size: 12px;
    }
}