
html, body {
    height: 100%;
    margin: 0;
}
  
body{
    /* font-family: 'Roboto Slab', serif; */
    font-family: 'Heebo', sans-serif;
}
h1,h2,h3,h4,h5,h6,pre, input, textarea{
    /* font-family: 'Roboto Slab', serif; */
    font-family: 'Heebo', sans-serif;
}

h1 label,
h2 label,
h3 label,
h4 label,
h5 label,
h6 label{
    color: #747474;
}

pre{
    white-space: normal;
}

strong{
    font-weight: 500;
}


/* utilies */

.container-md1,
.container-md,
.container-sm,
.container-xs,
.container{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.container-md1{
    max-width: 1100px;
}

.container-md{
    max-width: 960px;
}

.container-sm{
    max-width: 760px;
}

.container-xs{
    max-width: 450px;
}


.m-0{
    margin: 0 !important;
}
.m-1{
    margin: 0.25rem !important;
}
.m-2{
    margin: 0.5rem !important;
}
.m-3{
    margin: 1rem !important;
}
.my-0{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.my-1{
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
}
.my-2{
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}
.my-3{
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}
.mx-auto{
    margin-left: auto;
    margin-right: auto;
}
.mx-0{
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.mx-1{
    margin-left: 0.25rem !important;
    margin-right: 0.25rem !important;
}
.mx-2{
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
}
.mx-3{
    margin-left: 1rem !important;
    margin-right: 1rem !important;
}

.mt-0{
    margin-top: 0 !important;
}
.mt-1{
    margin-top: 0.25rem !important;
}
.mt-2{
    margin-top: 0.5rem !important;
}
.mt-3{
    margin-top: 1rem !important;
}

.mb-0{
    margin-bottom: 0 !important;
}
.mb-1{
    margin-bottom: 0.25rem !important;
}
.mb-2{
    margin-bottom: 0.5rem !important;
}
.mb-3{
    margin-bottom: 1rem !important;
}

.p-0{
    padding: 0 !important;
}
.p-1{
    padding: 0.25rem !important;
}
.p-2{
    padding: 0.5rem !important;
}
.p-3{
    padding: 1rem !important;
}

.py-0{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.py-1{
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}
.py-2{
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}
.py-3{
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.px-0{
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.px-1{
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}
.px-2{
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}
.px-3{
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.pt-0{
    padding-top: 0 !important;
}
.pt-1{
    padding-top: 0.25rem !important;
}
.pt-2{
    padding-top: 0.5rem !important;
}
.pt-3{
    padding-top: 1rem !important;
}

.pl-0{
    padding-left: 0 !important;
}
.pl-1{
    padding-left: 0.25rem !important;
}
.pl-2{
    padding-left: 0.5rem !important;
}
.pl-3{
    padding-left: 1rem !important;
}

.pr-0{
    padding-right: 0 !important;
}
.pr-1{
    padding-right: 0.25rem !important;
}
.pr-2{
    padding-right: 0.5rem !important;
}
.pr-3{
    padding-right: 1rem !important;
}

.pb-0{
    padding-bottom: 0 !important;
}
.pb-1{
    padding-bottom: 0.25rem !important;
}
.pb-2{
    padding-bottom: 0.5rem !important;
}
.pb-3{
    padding-bottom: 1rem !important;
}

.text-nowrap{
    white-space: nowrap !important;
}
.text-center{
    text-align: center !important;
}

.text-sm-right,
.text-right{
    text-align: right !important;
}



/* ---- end of utility ---- */


.account-card{
    display: block;
    margin: 0 auto;
    max-width: 370px;
    margin-top: 5vh;
}

.account-card md-card-content{

}

.account-card md-card-content .img-wrapper{
    display: flex;
    position: relative;  
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.account-card md-card-content .img-wrapper .fab1{
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 1;
}

.account-card md-card-content img{
    width: 145px;
    height: 145px;
    border: 2px solid #d6d8e3;  
    background-color: #d3d7f1;
    border-radius: 50%;
    box-shadow: 0 14px 28px rgb(0 0 0 / 6%), 0 4px 10px rgb(0 0 0 / 1%);
}

.account-card md-card-content h4{
    text-align: center;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.account-card md-card-content h6{
    text-align: center;
    margin-top: 0;
}

.avatar {
    display: flex;
    position: relative;
    flex-direction: row;
    justify-content: start;
    align-items: flex-start;
    float: left;
    cursor: pointer;
}
.avatar img{
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin: 2px 0 0 2px;
}
.avatar.ava-sm img{
    border: none;
    width: 30px;
    height: 30px;
}

.avatar .info{
    display: none;
    position: absolute;
    background-color: #ffffff;
    flex-direction: column;
    padding: 0 5px;
    border-radius: 5px;
    top: -5px;
    left: 20px;
    min-width: 120px;
    box-shadow: 0px 0px 16px 3px #bdbdbd;
    z-index: 2;
    white-space: nowrap;
}

.avatar .info label{
    color: #747474;
}

.avatar:hover .info{
    display: flex;
}


.avatar h5{
    margin: 2px 0 0 2px;
    background-color: #d5d5d5;
    color: #282828;
    padding: 6px 4px;
    border-radius: 45px;
    width: 35px;
    height: 35px;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}
.avatar.ava-sm h5{
    font-size: 17px;
    width: 30px;
    height: 30px;
}

.avatar.image-only h5{
    display: none;
}

.avatar.text-only img{
    display: none;
}

details summary{
    cursor: pointer;
    transition: all 300ms ease-in-out;
}
details summary:hover{
    color: #f45a4f;
}

.dialog-sm{
    min-width: 450px;
}

.dialog-md{
    min-width: 760px;
}

.dialog-full-table{
    min-height: 60vh;
    max-height: calc(100vh - 180px);
}
.dialog-full-table1{
    min-height: 60vh;
    max-height: calc(100vh - 260px);
}
.dialog-full-table2{
    min-height: 60vh;
    max-height: calc(100vh - 300px);
}

.grid{
    display: grid;
    position: relative;
    grid-template-columns: min-content auto;
}



.login{
    display: flex;
    position: relative;
    flex-direction: row;
    height: 100vh;
}

.login .pnl-left{
    width: 40vw;
    position: relative;
    background-image: url(images/login_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.login .pnl-left .logo-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 10px;
    left: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    overflow: hidden;

    box-shadow: -1px 2px 4px 1px rgb(96 96 96 / 62%) inset;
    z-index: 3;
}

.login .pnl-left .logo-wrapper img{
    width: 35px;
}

.login .pnl-left .bg-wrapper{
    background-color: #538ebd66;
    width: 100%;
    height: 100%;
}

.login .pnl-right{
    width: 50vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    z-index: 5;

    box-shadow: 0 14px 28px rgb(0 0 0 / 6%), 0 4px 10px rgb(0 0 0 / 1%);
    box-sizing: border-box;

    background-image: url(images/login_bg2.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;
}

.login .pnl-right .form{
    display: flex;
    flex-direction: column;
    width: 250px;
}
.login .pnl-right .form h3{
    font-size: 40px;
    margin-bottom: 3rem;
    color: #525252;
}

.login .pnl-right .form h3 span{
    color: #f1695f;
    text-align: center;
    padding-left: 5px;
}

.login .pnl-right .form h3 span:nth-child(2){
    color: #5466cf;
    padding-left: 0;
}

.login .pnl-right .form input{    
    font-size: 14pt;
    border: none;
    border-bottom: 1px solid #dbdbdb;
    padding: .5rem;
    margin-bottom: .3rem;
    outline: none;
    box-shadow: none;
}

.login .pnl-right .form input[type=password]{
    margin-bottom: 1rem;
}

.login .pnl-right .form input:focus{
    border-color: #2196f3;
}


.login .pnl-other{
    width: 10vw;
    position: relative;
    background-image: url(images/login_bg1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
}

.login .pnl-other .bg-wrapper{
    background-color: #ffffffa8;
    width: 100%;
    height: 100%;
}


.md-button{
    border-radius: 4px;
}
.md-button.md-mini{
    margin: 0;
    padding: 0;
    min-width: 24px;
    min-height: 24px;
    width: 24px;
    height: 24px;
}

.md-button.md-stroked{
    border: 1px solid #cfcfcf;
}

.md-button.md-plain{
    padding: 1px 5px;
    min-width: 24px;
    min-height: 18px;
    width: auto;
    height: auto;
    line-height: 11px;
    margin: 1px;
    font-size: 12px;
}

md-card{
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgb(0 0 0 / 6%), 0 4px 10px rgb(0 0 0 / 1%);
}

md-card md-card-title{
    position: relative;
}
md-card .md-card-image.center{
    height: 200px;
    margin-top: 1rem;
}

md-card md-card-title .card-options{
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
    top: 5px;
    right: 5px;
}

md-card md-card-title .card-options .md-button{
    margin: 0;
}

md-dialog{
    max-height: 95%;
}

md-input-container{
    margin-bottom: 0;
}
md-input-container md-select.ng-not-empty{
    margin-bottom: 18px;
}

md-input-container .right-btn{
    position: absolute;
    top: 0;
    right: 0;
}

md-select-menu md-content{
    position: relative;
}

md-select-menu md-select-header{
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    z-index: 5;
}

md-select-menu md-select-header input{
    padding: 1rem;
    font-weight: 500;
    border: none;
    border-bottom: 1px solid #eeeeee;
    outline: none;
}

md-select-menu md-select-header input:focus{
    border-color: #2196f3;
}




/* ------------ start of side menu --------------- */

.mdl-layout{
    background: #e5e8f5;
}

.mdl-layout__drawer{
    display: flex;
    flex-direction: column;
    background-color: #f8f9fd !important;
    overflow: hidden;
    border: none;
    box-shadow: 0 14px 28px rgb(0 0 0 / 6%), 0 4px 10px rgb(0 0 0 / 1%);
}

.mdl-layout__drawer .user-panel-wrapper {
    display: flex;
    position: relative;
    align-content: flex-start;
    min-height: 150px;
    padding: 30px 10px 0 10px;
    box-sizing: border-box;
    border-bottom: 1px solid #ededed;
    background-image: url(images/short_side_menu.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.mdl-layout__drawer .user-panel-wrapper::before{
    content: "";
    background-color: #3f51b5;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(images/cerebro_logo.png);
    background-repeat: no-repeat;
    background-size: 240px;
    background-position-x: -100px;
    background-position-y: -40px;
    z-index: 3;
    opacity: 0.7;
}

.mdl-layout__drawer .user-panel-wrapper img{
    width: 45px;
    height: 45px;
    margin-right: 10px;
    border-radius: 50%;
    border: 2px solid #f3f5ff;
    z-index: 5;
}
.mdl-layout__drawer .user-panel-wrapper .user-info{
    flex: 2;
    display: flex;
    flex-direction: column;
    padding-top: 5px;
    z-index: 5;
}

.mdl-layout__drawer .user-panel-wrapper .user-info h6{
    color: #eff1ff;
    font-size: 15px;
    line-height: 21px;
    margin: 0 0 5px 0;
    width: 140px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.mdl-layout__drawer .user-panel-wrapper .user-info label{
    color: #dddddd;
    font-size: 13px;
    line-height: 15px;
    width: 140px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.mdl-layout__drawer .user-panel-wrapper .user-info .md-button{
    font-size: 12px;
    min-width: 0;
    min-height: 0;
    height: auto;
    width: auto;
    line-height: 20px;
    margin: 5px 0 0 0;
    box-shadow: none;
}

/* mdl-links */
.mdl-layout__drawer .mdl-navigation {
    flex: 1;
    padding: 0 0 2rem 0;
    overflow: auto;
    z-index: 5;
}


.mdl-layout__drawer .mdl-navigation .mdl-navigation__link{
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    font-size: 14px;
    color: #464646;
    padding: 8px 15px;
    border-left: 5px solid transparent;
    transition: all 300ms ease-out;
}

.mdl-layout__drawer .mdl-navigation .mdl-navigation__link .material-icons-outlined{
    font-size: 21px;
    margin-right: 15px;
}

.mdl-layout__drawer .mdl-navigation .mdl-navigation__link.active{
    color: #f44336;
    font-weight: 500;
    border-color: #f44336;
}

/* collapse menu */
.mdl-layout__drawer .mdl-navigation details summary{
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    color: #464646;
    padding: 8px 15px;
    border-left: 5px solid transparent;
    cursor: pointer;
    transition: all 300ms ease-out;
}
.mdl-layout__drawer .mdl-navigation details summary:hover{
    background-color: #e0e0e0;
}

.mdl-layout__drawer .mdl-navigation details summary.active{
    color: #d32f2f;
    font-weight: 500;
    border-color: #d32f2f;
}

.mdl-layout__drawer .mdl-navigation details .label{
    flex: 1;
} 

.mdl-layout__drawer .mdl-navigation details div{
    transition: all 300ms ease-out;
    height: 0px;
    overflow: hidden;
}


.mdl-layout__drawer .mdl-navigation details[open] div{
    height: auto;
    overflow: unset;
}

.mdl-layout__drawer .mdl-navigation details summary .material-icons-outlined{
    font-size: 21px;
    margin-right: 15px;
}

.mdl-layout__drawer .mdl-navigation details summary .toggle{
    margin-right: 0px;
    transition: all 300ms ease-out;
}
.mdl-layout__drawer .mdl-navigation details[open] > summary .toggle {
    transform: rotate(180deg);
}


.mdl-layout__drawer .mdl-navigation details .mdl-navigation__link{
    padding-left: 40px;
}

/* ------------ end of side menu --------------- */

/* --------- start of header ----------- */
.mdl-layout__header{
    background-color: transparent;
    color: #606060;
    box-shadow: none;
}

.mdl-layout__header md-progress-linear{
    position: absolute;
    z-index: 10;
}

.mdl-layout__header .btn-back{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    margin: 5px 10px 0 0;
    padding: 0;
}

.mdl-layout__header .mdl-layout__drawer-button{
    color: #f44336;
}

.mdl-layout__header .mdl-layout__header-row {
    padding-left: 24px !important;
    padding-right: 16px;
}

.mdl-layout__header.scrollShadow .btn-back{
    background-color: #f8f9fd;
}
.mdl-layout__header.scrollShadow{
    box-shadow: 0 1px 2px 0px #c7c7c7;
    background-color: #f8f9fd;
}

/* ---------- end of header ---------- */


.md-link{
    font-size: 13px;
    line-height: 20px;
    margin: 0;
    padding: 0 2px;
    min-height: 0;
    min-width: 0;
}

.new-btn-wrapper{
    display: block;
}

.new-btn-wrapper .md-fab{
    display: none;
}

.page{
    padding-top: 5rem;
}

.page .page-bg{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fb7d74;
    height: 350px;
    z-index: -1;
}

.pills{
    display: inline-flex;
    align-items: center;
    background-color: #bdbdbd;
    font-size: 8pt;
    padding: 1px 5px;
    margin: 1px;
    border-radius: 50px;
    line-height: 2px;
    min-height: 13px;
    white-space: nowrap;
}
.pills md-icon{
    font-size: 14px;
    height: 14px;
    min-height: 14px;
    width: 14px;
    min-width: 14px;
}

.primary-loading{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    background-color: rgba(255,255,255, 0.8);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}


.scroll{
    overflow: auto;
    box-sizing: border-box;
}

.scroll::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0);
}

.scroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.scroll::-webkit-scrollbar-thumb {
    background-color: #a7a7a7;
    border-radius: 5px;
}

.search-panel{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.search-panel.center{
    justify-content: center;
}
.search-panel.end{
    justify-content: end;
}

.search-panel .search-fields{
    display: flex;
    flex-direction: row;
    align-items: center;
}


.search-panel .search-fields md-input-container{
    margin: 0;
}
.search-panel .search-fields md-input-container md-select{
    margin: 0;
}
.search-panel .search-fields md-input-container .md-errors-spacer{
    min-height: auto;
}
.search-panel .search-fields button[type=submit],
.search-panel .search-fields .btn-collapse{
    border-radius: 50%;
    min-width: auto;
}
.search-panel .search-fields button[type=submit] span,
.search-panel .search-fields .btn-collapse span{
    display: none;
}

.search-panel .search-toggle{
    display: none;
}

.signature{
    position: relative;
    padding: 10px;
    margin: 10px;
    border-style: dashed;
    border-width: 2px;
    border-color: #ecedf1;
    background: #fafafa;
}

.signature canvas{
    background:#fff; 
    margin: auto;
    display: block;    
}

.signature-preview{    
    display: block; 
    position: relative;
    width: 250px; 
    height: auto;
    background-color: whitesmoke;
    border-radius: 5px; 
}
.signature-preview::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(images/watermark.png);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 2;
}

.signature-preview.sm{
    width: 120px;
}
.signature-preview.xs{
    width: 75px;
}

.signature-preview img{
    width: 100%;
    margin: 5px;
}

.table-responsive {
    width: 100%;
    overflow: auto;
}
.table-responsive .mdl-data-table{
    width: 100%;
}

.table-responsive .mdl-data-table tr{
    height: auto ;
    transition: none !important;
}

.table-responsive .mdl-data-table th{
    transition: none !important;
    text-align: left;
    vertical-align: middle;
    padding: 5px 8px;
    height: auto;
    font-weight: 500;
}

.table-responsive .mdl-data-table tfoot td{
    font-weight: 500;
}

.table-responsive .mdl-data-table td{
    text-align: left ;
    transition: none !important;
    white-space: normal;
    padding: 5px 8px;
    height: auto;
}

.table-responsive .mdl-data-table .actions{
    padding: 0 !important;
    min-width: 38px ;  
    text-align: center !important;
    vertical-align: top !important;
}

.table-responsive .mdl-data-table .actions .md-button{
    margin: 0;
}

/* table inputs style */

.table-responsive .mdl-data-table.inputs th{
    padding: 0 10px 0 10px;
    vertical-align: middle;
    font-weight: 500;
}

.table-responsive .mdl-data-table.inputs td{
    padding: 0 3px;
    border-right: 1px solid rgba(0,0,0,.12);
    height: auto;
}

.table-responsive .mdl-data-table.inputs md-input-container{
    display: block;
    min-width: 50px;
    margin: 0 5px;
}

.table-responsive .mdl-data-table.inputs md-input-container md-select,
.table-responsive .mdl-data-table.inputs md-input-container input{    
    background-color: #fafafa;
}
.table-responsive .mdl-data-table.inputs md-input-container input[type=number]{
    text-align: right;
}

.table-responsive .mdl-data-table.inputs md-input-container md-select[aria-invalid=true],
.table-responsive .mdl-data-table.inputs md-input-container input[aria-invalid=true],
.table-responsive .mdl-data-table.inputs md-input-container input:invalid{
    border: 1px solid #d32f2f !important;
}

.table-responsive .mdl-data-table.inputs md-input-container md-select[disabled],
.table-responsive .mdl-data-table.inputs md-input-container input:disabled{
    background-color: white;
    border-color: transparent;
}

.table-responsive .mdl-data-table.inputs md-input-container * {
    border: none;
}
.table-responsive .mdl-data-table.inputs md-input-container .md-errors-spacer{
    min-height: auto;
}
.table-responsive .mdl-data-table.inputs md-checkbox{
    min-height: 22px;
}
.table-responsive .mdl-data-table.inputs md-checkbox .md-container{
    margin: 13px 3px 3px 0;
}


/* table fixed style */


.table-responsive .mdl-data-table.fixed thead th{
    background-color: #f7f7f7;
    position: sticky;
    top: -1px;
    z-index: 2;
    font-weight: 500;
}

.table-responsive .mdl-data-table.fixed tfoot td{
    background-color: #f7f7f7;
    font-weight: 500;
    position: sticky;
    bottom: -1px;
    z-index: 2;
}

/* table mobile */

.table-responsive.mobile{
    border-radius: 10px;
    box-shadow: 0 14px 28px rgb(0 0 0 / 6%), 0 4px 10px rgb(0 0 0 / 1%);
}

.table-responsive.mobile .mdl-data-table tfoot th,
.table-responsive.mobile .mdl-data-table tbody th{
    display: none;
}
.table-responsive.mobile .mdl-data-table tbody td{
    vertical-align: top;
}


.table-stock tbody tr td,
.table-stock thead tr th{
    padding: 2px !important;
    font-size: 11px;
    border: 1px solid #dfdfdf;
    line-height: 11px;
}

/* --------------  */


.thumbnail{
    width: 80px;
	height: auto;
	border: 2px solid #bfbfbf;
	border-radius: 5px;
	margin: 3px;
	cursor: pointer;
}

.thumbnail.sm{
	width: 45px;
	/* height: 45px; */
}

.view_iframe{
    width: 80vw;
    height: 70vh;
}

.view_iframe img{
    width: 100%;
}

@media screen and (max-width: 1024px){
    
    .mdl-layout__header .mdl-layout__header-row {
        padding-left: 70px !important;
    }

    .mdl-layout__header .btn-back{
        position: fixed;
        left: 0;
        top: 0;
        margin: 0;
        height: 56px;
        width: 56px;
        z-index: 5;
        border-radius: 0;
        background-color: #e5e8f5;
    }
    .mdl-layout__header .btn-back md-icon{
        color: #f44336;
    }
    
    
}


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

    .dialog-full-table{
        max-height: calc(100vh - 120px);
    }
    .dialog-full-table1{
        max-height: calc(100vh - 100px);
    }
    .dialog-full-table2{
        max-height: calc(100vh - 190px);
    }


    .view_iframe{
        width: 100vw;
        height: calc(100vh - 50px);
    }
}

@media screen and (max-width: 760px){
    
    .dialog-md{
        min-width: unset;
    }

    .login .pnl-left{
        width: 100vw;
        background-image: url('images/login_bg1.jpg');
    }

    .login .pnl-other{
        display: none;
    }

    .login .pnl-right{
        position: absolute;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100vw;
        box-shadow: none;  
        
        background-image: unset;
    }

    .login .pnl-right .form{
        border-radius: 10px;
        background-color: #ffffffd9;
        padding: 8px 16px;
    }

    .login .pnl-right .form h3{
        font-size: 21pt;
    }

    .login .pnl-right .form input{
        background-color: transparent;
        border-color: #afafaf;
    }
    
}

@media screen and (max-width: 599px){
    
   
    .dialog-sm{
        min-width: unset;
    }
   

    .new-btn-wrapper{
        position: fixed;
        right: 10px;
        bottom: 10px;
        z-index: 10;
    }
    .new-btn-wrapper .md-fab{
        display: block;
    }
    .new-btn-wrapper .md-stroked,
    .new-btn-wrapper .md-raised{
        display: none;
    }

    .search-panel{
        justify-content: end !important;

    }
    .search-panel .search-fields{
        display: none;
    }
    .search-panel.isOpen{
        min-height: 40px;
    }

    .search-panel.isOpen .search-fields{
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 0px;
        right: 10px;
        background-color: white;
        padding: 2rem 1rem;
        width: 300px;
        border-radius: 5px;
        box-shadow: 0 14px 28px 8px rgb(0 0 0 / 6%), 0 4px 10px rgb(0 0 0 / 28%);
        z-index: 10;
    }
    .search-panel .search-fields button[type=submit],
	.search-panel .search-fields .btn-collapse{
        border-radius: 5px;
        margin-left: 0;
        margin-right: 0;
    }
    .search-panel .search-fields button[type=submit] span,
	.search-panel .search-fields .btn-collapse span{
        display: inline-block;
    }

    .search-panel .search-toggle{
        display: block;
    }

    .search-panel.isOpen .search-toggle{
        position: absolute;
        z-index: 15;
        top: 0;
        right: 10px;
    }

    .search-panel.isOpen .search-toggle button md-icon{
        color: #f44336;
    }

    .table-responsive.mobile{
        background-color: transparent;
        box-shadow: none;
        border: none;
        overflow: unset;
    }
    .table-responsive.mobile table {
        background-color: transparent;
        border: none;
    }

    .table-responsive.mobile .mdl-data-table thead {
        display: none;
    }

    .table-responsive.mobile .mdl-data-table tfoot tr,
    .table-responsive.mobile .mdl-data-table tbody tr{
        display: grid;
        position: relative;
        grid-template-columns: min-content auto;
        background-color: white;
        border-radius: 5px;
        overflow: hidden;
        padding: 10px 5px;
        margin-top: 2rem;
        margin-bottom: 2rem;
        box-shadow: 0 14px 28px rgb(0 0 0 / 6%), 0 4px 10px rgb(0 0 0 / 1%);
    }
    .table-responsive.mobile .mdl-data-table tbody tr:first-child{
        margin-top: 0;
    }
    .table-responsive.mobile .mdl-data-table tfoot tr{
        background-color: #eceeff;
    }

    

    .table-responsive.mobile .mdl-data-table tfoot th,
    .table-responsive.mobile .mdl-data-table tbody th{
        background-color: transparent;
        display: block;
        font-size: 13px;
        font-weight: 500;
        padding: 3px 8px;
        height: auto;
        line-height: 20px;
    }
    .table-responsive.mobile .mdl-data-table tfoot td,
    .table-responsive.mobile .mdl-data-table tbody td{
        background-color: transparent;
        padding: 3px 8px;
        vertical-align: top;
        height: auto;
        border: none;
        line-height: 20px;
    }

    .table-responsive.mobile .mdl-data-table tbody td.actions{
        position: absolute;
        top: 0;
        right: 0;
        z-index: 5;
    }

    /* caption styling */
    .table-responsive.mobile .mdl-data-table tbody tr.caption{
        padding-top: 50px;
    }

    .table-responsive.mobile .mdl-data-table tbody tr.caption td.caption-info{
        position: absolute;
        z-index: 0;
        top: 0;
        left: 0;
        margin-top: 0;
        margin-left: 0;
        border-bottom-right-radius: 25px;
        box-shadow: 0px 1px 13px rgb(0 0 0 / 6%) inset;
    }

    .text-sm-right{
        text-align: unset !important;
    }
}





