
.page-body {
    background: #EBEDEF;
    padding: 10px; /* 18px 20px 24px */
}

.page-sidebar:before {
    content: "";
    position: fixed;
    display: block;
    width: 220px;
    bottom: 0;
    top: 0;
    left: 4px;
    background-color: #ffffff;
    -webkit-box-shadow: 0 0 5px 0 rgba(59, 59, 59, 0.05);
    -moz-box-shadow: 0 0 5px 0 rgba(59, 59, 59, 0.05);
    box-shadow: 0 0 5px 0 rgba(59, 59, 59, 0.05);
    z-index: 1;
}



hr {
    display: block;
    margin-top: 5px;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
    border-style: inset;
    border-width: 1px;
    width: 90%;
}

.disabledView {
    opacity: 0.5 !important;
    /* cursor: no-drop; */
    /* cursor: not-allowed; */
    pointer-events: none;
    /* opacity: 1; */
}

.item-green-text {
    color: #00959A;
    width: 130px; 
    max-width: 130px;
    min-width: 130px;
}

/* start - data table - css */
.table-data-col-img {
    width: 80px;
    max-width: 80px;
    min-width: 80px;
}
.table-data-col-id {
    width: 170px;
    max-width: 170px;
    min-width: 170px;
}
.well .footer {
    border-top: 1px solid #ffffff00 !important;
}
/* end - data table - css */

/* start - custom table - css */

.row > i:hover {
    font-weight: bold;
    cursor: pointer;
    color: black;
}
.row > i:active {
    font-weight: normal;
    cursor: pointer;
}

.well.with-footer {
    padding-bottom: 47px;
}

.well .footer {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 5px 15px;
    border-top: 1px solid #e5e5e5;
    border-radius: 0 0 2px 2px;
}

.well {
    -webkit-border-radius: 2px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 2px;
    -moz-background-clip: padding;
    border-radius: 4px;
    background-clip: padding-box;
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
    background-color: #FFFFFF;
    border: 0;
    color: #262626;
    position: relative;
    margin-bottom: 30px;
    padding: 15px;
    min-height: 0px;
}

.table {
    background-color: #ffffff;
    margin-bottom: 10px;
}

.table-body {
    overflow: auto;
}

.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: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border: 1px solid #ddd;
    /* background-color: #fbfbfb; */
    text-align: center; 
    vertical-align: middle;

}
.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 {
    border-top: 1px solid #ddd;
}

.table>tbody>tr>td>i, .table>thead>tr>th>i {
    margin-top: 3px;
    color: #BABCBE;
}

.table>tbody>tr>td>img {
    width: auto;
    height: auto;
    max-width: 25px;
    max-height: 25px;
    border-radius: 4px;
}

.table>tbody>tr>td>div>i {
    margin-top: 3px;
    width: 25px;
}

/* end - custom table - css */

/* start - header - css */
.table-header {
    display: inline-block;
    width: 100% !important;
    text-align: left;
    border-radius: 2px 2px 0 0;
    margin: -20px 5px 15px 5px;
    color: #1D2D49;
    font-weight: 600;
}
/* end - header - css */


/* start - pagination - css */
.pagination {
    display: flex;
}
.pagination .start {
    padding: 11px 2px 11px 20px;color: #999999;
}
.pagination .previous {
    padding: 9px 18px 9px 20px;color: #999999;
}
.pagination .page {
    background-color: #333333;border-radius: 25px;width: 26px;height: 26px;margin: 3px 5px 3px 5px;color: white;text-align: center;
}
.pagination .page > p {
    margin-top: 2px;
}
.pagination .page-near1 {
    background-color: #333333;
    border-radius: 10px;
    width: 20px;
    height: 20px;
    margin: 6px 5px 3px 5px;
    color: white;
    text-align: center;
}
.pagination .page-near1 > p {
    margin-top: -1px;
}
.pagination .page-near2 {
    background-color: #333333;
    border-radius: 10px;
    width: 20px;
    height: 20px;
    margin: 6px 5px 3px 5px;
    color: white;
    text-align: center;
}
.pagination .page-near2 > p {
    margin-top: -1px;
}
.pagination .page-near3 {
    background-color: #333333;
    border-radius: 10px;
    width: 20px;
    height: 20px;
    margin: 6px 5px 3px 5px;
    color: white;
    text-align: center;
}
.pagination .page-near3 > p {
    margin-top: -1px;
}
.pagination .next {
    padding: 9px 20px 9px 18px;color: #999999;
}
.pagination .end {
    padding: 11px 20px 11px 2px;color: #999999;
}

/* ----------------------------- */
.pagination-style-three a { 
    padding: 5px 9px;
    margin: 3px;
    color: black;
    border-radius: 25px;
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,.1);
    cursor: pointer;
}
.pagination-style-three a.selected, .pagination-style-three a:active, .pagination-style-three a:focus { 
    background: var(--primary-color);
    color: white;
    cursor: pointer;
}
.pagination-style-three a:hover {
    background: var(--primary-color);
    opacity: 0.7;
    color: white;
    cursor: pointer;
}
/* end - pagination - css */


/* start - tab - css */
.underline-tab {
    padding-bottom: 5px;
    border-bottom: 3px solid #E9EDF2;
}
.underline-tab > a {
    text-decoration: none !important;
    color: #8C949D;
    padding: 5px 20px 5px 20px;
}
.underline-tab > a.active{
    text-decoration: none !important;
    border-bottom: 3px solid #8C949D;
    padding: 5px 20px 5px 20px;
    font-weight: 600;
    color: #333333;
}
/* end - tab - css */

/* start - button - css */
.add-button {
    display: inline-flex;
    height: 25px;
    margin-top: 10px;
    font-weight: 600;
    padding: 2px 9px 5px 9px;
    margin-left: 10px;
    color: white;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    -webkit-border-radius: 2px !important;
    -webkit-background-clip: padding-box !important;
    -moz-border-radius: 2px !important;
    -moz-background-clip: padding !important;
    border-radius: 2px !important;
    background-clip: padding-box !important;
}

.add-button:hover {
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,.3);
    cursor: pointer;
}
.add-button:active {
    box-shadow: 1px 2px 4px 1px rgba(0,0,0,.1);
    border-radius: 0px !important;
    cursor: pointer;
}

.add-button > img {
    width: 12px;
    margin-right: 7px;
    margin-top: 3px;
}

.export-button {
    display: inline-flex;
    height: 25px;
    margin-top: 10px;
    font-weight: 600;
    padding: 2px 9px 5px 9px;
    margin-left: 10px;
    color: black;
    background-color: white;
    border: 1px solid #E9EDF2;
    -webkit-border-radius: 2px !important;
    -webkit-background-clip: padding-box !important;
    -moz-border-radius: 2px !important;
    -moz-background-clip: padding !important;
    border-radius: 2px !important;
    background-clip: padding-box !important;
}
.export-button:hover {
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,.3);
    cursor: pointer;
}
.export-button:active {
    box-shadow: 1px 2px 4px 1px rgba(0,0,0,.1);
    border-radius: 0px !important;
    cursor: pointer;
}
.export-button > img {
    width: 12px;
    margin-right: 7px;
    margin-top: 3px;
}
/* end - button - css */

/* start - search - css */
.search-input {
    height: 25px;
    margin-top: 10px;
    width: 150px;
    position: relative;
    display: inline-block;
    background-color: #F1F3F5;
    margin-right: 5px;
}
.search-input > i {
    position: absolute;
    top: 6px;
    left: 7px;
    color: #555555;
}
.search-input > input {
    padding-left: 25px;
    width: 100%;
    height: 100%;
    font-weight: 500;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
/* end - search - css */

/* start - select - css */
.select-input {
    margin-top: 10px;
    height: 25px;
    color: #858585;
    border-radius: 4px !important;
    background-color: #fbfbfb;
    border: 1px solid #d5d5d5;
    padding: 0px 3px 0px 5px;
}
/* end - select - css */

/* start - date - css */
.date-input {
    display: inline-flex;
    margin-left: 3px;
    width: 100px;
    margin-top: 10px;
    height: 25px;
    color: #858585;
    border-radius: 4px !important;
    background-color: #fbfbfb;
    border: 1px solid #d5d5d5;
    padding: 0px 3px 0px 5px;
}
/* end - date - css */

/* start - form group - css */
.form-group {
    margin-bottom: 10px;
    display: flex;
}
.form-group > label {
    width: 100px;
    margin: auto;
    max-width: 100px;
    min-width: 100px;
}
.form-group > input {
    height: 25px;
    padding: 3px 7px 3px 7px;
    border-radius: 4px !important;
}
.form-control, select {
    height: 25px;
    color: #858585;
    background-color: #fbfbfb;
    border: 1px solid #d5d5d5;
    padding: 3px 7px 3px 7px;
}
/* end - form group - css */

/* start - form group - css */
.table-loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #9c9c9c;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin: auto;
    margin-top: 40px;
    animation: spin 0.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*---------------------------------*/
.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}
.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9c9c9c;
    margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
}
.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
}
.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
}
.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
}
.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
}
.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
}
.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
}
.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
}
@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* -------------------------*/
.lds-ripple {
    display: inline-block;
    position: relative;
    width: 50px;
    height: 50px;
}
    .lds-ripple div {
    position: absolute;
    border: 4px solid #9c9c9c;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}
@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}


/* end - form group - css */

/* start - modal - css */
.modal-close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #69696969;
    width: 30px;
    height: 30px;
    z-index: 9999;
    padding: 6px 9px;
    border-radius: 3px;
}
.modal-close-button > i {
    font-size: 16px;
    color: var(--primary-color);
}
.modal-next-button {
    position: absolute;
    top: 50%;
    right: 0%;
    margin-right: 10px;
    background-color: #69696969;
    width: 30px;
    height: 30px;
    z-index: 9999;
    padding: 6px 13px;
    border-radius: 50%;
}
.modal-next-button > i {
    font-size: 18px;
    color: white;
    font-weight: bold;
}
.modal-previous-button {
    position: absolute;
    top: 50%;
    left: 0%;
    margin-left: 10px;
    background-color: #69696969;
    width: 30px;
    height: 30px;
    z-index: 9999;
    padding: 6px 11px;
    border-radius: 50%;
}
.modal-previous-button > i {
    font-size: 18px;
    color: white;
    font-weight: bold;
}
.modal-pagination-text {
    position: absolute;
    top: 90%;
    height: 38px;
    left: 45%;
    background-color: #6969693f;
    z-index: 9999;
    padding: 0px 10px;
    color: white;
    border-radius: 3px;
}
/* end - modal - css */

/* start - popup - css */
.popup {
    /* position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    min-height: 50px;
    min-width: 200px;
    padding: 10px 10px 10px 10px;
    text-align: left;
    background-color: white;
    -webkit-box-shadow: 0 0 10px rgb(0 0 0 / 50%);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgb(0 0 0 / 50%); */


    display: block;
    top: 0;
    left: 0;
    padding: 7px;
    margin-top: 1px;
    z-index: 9999;
    border: 1px solid #ccc !important;
    border-radius: 2px !important;
    background-clip: padding-box !important;
    box-shadow: 0 2px 40px rgb(0 0 0 / 40%);
    transition: opacity 0.5s;
    margin: 1px 0 0;
    min-width: 170px;
    position: absolute;
    float: left;
    font-size: var(--default-font-size);
    text-align: left;
    list-style: none;
    background-color: #fff;
}
.popup:after {
    content: '';
    display: inline-block;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ffffff;
    position: absolute;
    top: -6px;
    left: 7px;
}

.right-popup {
    display: block;
    top: 0;
    left: 0;
    padding: 7px;
    margin-top: 1px;
    z-index: 9999;
    border: 1px solid #ccc !important;
    border-radius: 2px !important;
    background-clip: padding-box !important;
    box-shadow: 0 2px 40px rgb(0 0 0 / 40%);
    transition: opacity 0.5s;
    margin: 1px 0 0;
    min-width: 170px;
    position: absolute;
    float: left;
    font-size: var(--default-font-size);
    text-align: left;
    list-style: none;
    background-color: #fff;
}
.right-popup:after {
    content: '';
    display: inline-block;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ffffff;
    position: absolute;
    top: -6px;
    right: 7px;
}
/* end - popup - css */


/* start - autocomplete - css*/
.autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
}
.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    /* top: 100%; */
    /* left: 0;
    right: 0; */
    -webkit-box-shadow: 0 0 10px rgb(0 0 0 / 50%);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgb(0 0 0 / 50%);
}
.autocomplete-items div {
    padding: 5px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
    text-align: left;
}
.autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #e9e9e9;
}
.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: green !important;
    color: #ffffff;
}
/* end - autocomplete - css*/

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* start - size a5 - css */
@page { margin: 0 }
body { margin: 0 }
.sheet {
  margin: 0;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  page-break-after: always;
}

/** Paper sizes **/
body.A3           .sheet { width: 297mm; height: 419mm }
body.A3.landscape .sheet { width: 420mm; height: 296mm }
body.A4           .sheet { width: 210mm; height: 296mm }
body.A4.landscape .sheet { width: 297mm; height: 209mm }
body.A5           .sheet { width: 148mm; height: 209mm }
body.A5.landscape .sheet { width: 210mm; height: 147mm }

/** Padding area **/
.sheet.padding-10mm { padding: 10mm }
.sheet.padding-15mm { padding: 15mm }
.sheet.padding-20mm { padding: 20mm }
.sheet.padding-25mm { padding: 25mm }

/** For screen preview **/
@media screen {
  body { background: #e0e0e0 }
  .sheet {
    background: white;
    box-shadow: 0 .5mm 2mm rgba(0,0,0,.3);
    margin: 5mm;
  }
}

/** Fix for Chrome issue #273306 **/
@media print {
           body.A3.landscape { width: 420mm }
  body.A3, body.A4.landscape { width: 297mm }
  body.A4, body.A5.landscape { width: 210mm }
  body.A5                    { width: 148mm }
}
/* end - size a5 - css */