
/* common css */
:root {
    --sub-btn-text-color: #1659a5;
}

.btn-common:hover,
.btn-common:focus,
.btn-common:active {
    border: 1px solid transparent;
    box-shadow: rgb(0 0 0 / 10%) 0px 120px 10px 0 inset;
}

.btn-common:active {
    box-shadow: rgb(0 0 0 / 20%) 0px 120px 5px 0 inset;
}


/* reset element form default */
textarea:focus,
textarea.form-control:focus,
input.form-control:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus,
[type=text].form-control:focus,
[type=password].form-control:focus,
[type=email].form-control:focus,
[type=tel].form-control:focus, button:focus, select:focus,
[contenteditable].form-control:focus .bootstrap-select:focus {
  box-shadow: inset 0 -1px 0 #ddd !important;
}

/* main css */

.main {
    background-color: #dbe3e8;
    height: 100vh;
}

.container_ipad {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 15px;
}

.tb_small {
    line-height: 0;
    vertical-align: middle;
    text-align: center;
}

.table thead th {
    vertical-align: middle;
    text-align: center;
    font-weight: 400;
}

table.table>tbody {
    vertical-align: middle;
}

.title_note {
    padding: 3px 10px;
    font-size: 0.8rem;
    color: white;
    margin-left: -8px;
    margin-right: 10px;
}

.table tbody tr.tr_note>td {
    padding: 0;
    height: 30px;
    text-align: left;
}

.ct_note::before {
    display: inline-block;
    padding: 0 12px;
    margin-right: 4px;
    content: '参考';
    color: #fff;
    background: #7390f4;
    line-height: 30px;
    border-right: 1px solid #0a2e9b;
}

.ct_note {
    line-height: initial;
    font-size: 0.9rem;
}

.title_tb {
    padding: 10px;

}

.size-small {
    font-size: 0.8rem;
}

.order-textColor {
    color: #1c5da7;
}

/* end main css */

/* prodiver layout */
.tb_provider thead {
    background-color: #6e90f7 !important;
    color: white;
    border-color: #2b2a2a;
}

table.tb_provider {
    border-color: #0a2e9b !important;
}

.tb_provider.title_tb {
    color: #1c5da7;
}

.tb_provider .title_note {
    background: #7390f4;
}

.tb_provider .btn-gray {
    background: linear-gradient(#ffffff, #b1adad);
    border-radius: 0;
    padding: 10px 20px;
    color: #1c5da7;
    border: 1px solid;
}

.range_symbol {
    font-size: 23px;
    font-weight: 600;
}

.tb_provider .btn-sub {
    background: linear-gradient(#ffffff, #e2ecfb);
    border-radius: 0;
    padding: 8px 15px;
    color: #1c5da7;
    border: 1px solid #1c5da7;
    font-weight: 600;
    margin: -10px 0;
}

.tb_provider .btn-red {
    background: linear-gradient(#ff9191, #e45151);
    border-radius: 0;
    padding: 8px 15px;
    color: #004825;
    border: 1px solid #e45151;
    font-weight: 600;
    margin: -10px 0;
}

.tb_provider .cl-grean-btn {
    color: green;
}

.warning_tb span:before {
    content: "\f071";
    font-size: 1.6rem;
    color: red;
    padding: 6px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: -21px;
    top: -14px;
}

.warning_tb span {
    position: relative;
    padding-left: 15px;
}

.bottom_layout {
    position: fixed;
    bottom: 0px;
    left: 0;
    background: #ffffff;
    padding: 12px;
}

.tooltip.tooltipstered {
    position: absolute;
    bottom: 54px;
    display: none;
    line-height: 24px;
    background: #275fab;
    padding: 0 15px;
    visibility: hidden;
    color: #fff;
    white-space: nowrap;
    font-size: 12px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    opacity: 1;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    max-width: 320px;
    z-index: 99;
    padding: 0 10px 10px 10px;
    opacity: 1;
    visibility: visible;
    box-shadow: 1px 2px 5px #0000005c;
}

.bg_tip {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.tooltip.tooltipstered:after {
    content: '';
    width: 15px;
    height: 15px;
    background: #2f5fa9;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    left: 37px;
    bottom: -3px;
    z-index: -1;
}

.tip_conntent label {
    display: block;
    color: #275da5;
    padding: 8px 0;
}

.select-filter {
    background-color: #ffffdb;
}

.tip_conntent input,
.tip_conntent select {
    width: 80%;
    border: 1px solid #275da5 !important;
    box-shadow: initial;
    padding: 8px;
    margin: 0 auto !important;
    background-color: #ffffdb;
    display: block;
    text-align: center;
    border-radius: 0;
}

.tip_conntent form {
    padding: 17px;
}

.tip_conntent button .fa-xmark {
    font-size: 20px;
    color: red;
}

.btn-closed {
    background: linear-gradient(#ffffff, #e2ecfb);
    border-radius: 0;
    padding: 8px 15px;
    border: 1px solid #1c5da7;
    font-weight: 600;
    display: block;
}

tfoot tr {
    border-bottom: 1px solid #e4e4e4;
}

.btn-main {
    background: linear-gradient(#5c81f8, #2743f3);
    border-radius: 0;
    padding: 8px 15px;
    color: #ffffff;
    border: 1px solid #1c5da7;
}

.input_full_tb {
    width: 100%;
    height: 41px;
    border: 0;
    outline: initial;
    padding: 5px;
    background-color: #feffda;
}

.list_order button {
    width: 100%;
    height: 41px;
    outline: 0;
    border: 0;
}

.tooltip.tooltipstered.tb_list:after {
    top: -2px;
    left: initial;
    right: 82px;
}


.tooltip.tooltipstered.tb_list {
    right: 0;
    top: 49px;
    bottom: inherit;
    max-width: 500px;
}

.tooltip.tooltipstered.tb_list .table {
    overflow-y: auto;
    padding: 8px;
    display: block;
    font-size: 9.5px;
    max-height: 350px;
    border: 1px solid gray;

}

.list_order {
    position: relative;
}

.info_tb {
    background-color: #d6e0fe;
    padding: 5px 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Show loading - start */
#loading{
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
}

#loading .lds-spinner {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* Loading Spinner */
.lds-spinner {
    color: official;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 37px;
    width: 6px;
    height: 18px;
    border-radius: 20%;
    background: #fff;
}
.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}
@keyframes lds-spinner {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Show loading - end */

.datepicker_month, .datepicker_year, .datepicker{
    background: #ededed url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-size: 15px !important;
    background-position: right 10px top 8px !important;
}
/* style filter modal  - start */
.icon_show_modal_filter{
    background-color: #ededed;
}
.table_filter_modal th{
    padding: 3px;
    text-transform: none !important;
}
.table_filter_modal td{
    padding: 3px;
}
.btn_bg_default{
    background-color: #25A15A;
    border-color: #25A15A;
    color:white;
}
.btn_bg_default:hover{
    background-color: #25A15A;
    border-color: #25A15A;
    color:white;
}
/* style filter modal  - end */

/* style pagination  - start */
.page-link {
    color: #25A15A ;
}
.page-item.active .page-link {
    background-color: #25A15A;
    border-color: #25A15A;
}
/* style pagination  - end */

.cursor{
    cursor: pointer;
}
.alert-danger ul{
    padding-left: 20px;
}

.selection{
    width: 100%;
}
.select2-container--bootstrap4 .select2-selection{
    background-color: #ededed ;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow {
    margin-top: -3px;
}
.select2-container--bootstrap4.select2-container--focus .select2-selection{
    border-color : none !important;
    -webkit-box-shadow:none !important;
}

.sub-active{
    background: #25a15a6b!important;
    color: #ffffff!important;
    border-radius: unset;
    margin: 0 15px;
}

.sub-active a{
    margin: 0!important;
}

.form-error .error{
    margin-bottom: 0;
    color: #fa5661;
}

.btn-light{
    background-color: #e9ecef;
}