input#idguidh {
    margin: 0 15px 0px 0 !important;
}
input#cpd{
	text-align: center!important;
}
.quantity-tt-02-0{
	text-align:center;
}
input#cpr{
	text-align: center!important;
}

.selectsp > span{
	text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
	height: 35px;
	font-size: 10px;
	padding-top: 8px;
	
}	
.sl, .donvitinh, .unit-price, .ResultPrice{
	padding-top: 21px!important;
}
.row-items {
    background: #eee !important;
    box-shadow: rgba(0, 0, 0, 0.25) 5px 5px 5px 0px;
}

.elementor-kit-10{
	box-shadow: 5px 5px 5px 0px #CCCCCC
}
.border-0{
	 box-shadow: 5px 5px 5px 0px #CCCCCC;
}
.devbn-calculate-paint  h2 {
    display: inline-block;
    box-shadow: 5px 5px 5px 0px #cccccc;
	font-family: "Inter", Sans-serif!important;
    font-weight: bold!important;
    text-transform: uppercase!important;
	padding: 10px 20px 10px 10px;
	color:#2C3D70
}
.devbn-calculate-title h3,a.xemdh {
    font-weight: 700;
    text-transform: uppercase
}
.devbn-calculate-paint {
	margin-top:50px;
}
.devbn-calculate-paint,.devbn-calculate-paint .tks-chk {
    width: 100%;
    display: inline-block
}

.devbn-calculate-paint .cp-padding-right {
    padding-right: 50px
}

.devbn-calculate-paint .cp-padding-left {
    padding-left: 50px
}

.devbn-calculate-paint .cp-title-sub {
    font-weight: 600;
    font-size: 16x;
    padding: 10px 20px 10px 10px;
    text-decoration: none
}

.devbn-calculate-paint .cp-title-subtitle {
    font-size: 16px;
    margin-bottom: 10px;
    font-style: italic;
	box-shadow: 5px 5px 5px 0px #CCCCCC;
}

.devbn-calculate-paint table.cp-table-dh,.devbn-calculate-paint table.cp-table-dh td,.devbn-calculate-paint table.cp-table-dh th,.devbn-calculate-paint table.cp-table-dh tr,table.cp-table-donhang,table.cp-table-donhang td,table.cp-table-donhang tr {
    border: 1px solid #ddd
}



.devbn-calculate-paint .tks-fr {
    float: right
}

.devbn-calculate-paint table.cp-table-dh th,.devbn-calculate-paint table.row-items th.tab-header,table.cp-table-donhang th {
    background-color: #ECE7E7;
    color: #000;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px;
    font-size: 12px
}

.devbn-calculate-paint .row-items tr {
    width: 100%;
    padding: 5px 0;
    line-height: 26px;
    border: 1px solid #f1f1f1
}

.devbn-calculate-paint table.cp-table-dh {
    border-collapse: collapse
}

.devbn-calculate-paint table.row-items td {
    vertical-align: middle;
    font-size: 14px;
    padding: 10px;
    border: 1px solid #000;
    text-align: center;
}
td.cp-stt {
    font-weight: bold;
    text-align: center;
}
.devbn-calculate-paint .row-items td,.devbn-calculate-paint .row-items th {
    border: 1px solid #000;
}

.cp-ketqua {
    font-size: 16px;
    color: #e00
}

.tks-close,.tks-modal-title {
    display: block;
    font-size: 1em
}

input[type=text].cpnumber-kq {
    font-size: 12px;
    line-height: 18px;
    padding: 2px;
    height: 30px;
    margin: 0;
	text-align:center;
    box-shadow: 3px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.devbn-calculate-paint .cp-icon {
    margin-left: 5px;
    position: relative;
    top: 8px!important;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #666
}

.devbn-calculate-paint .cp-select-dvt {
    height: 30px;
    box-shadow: unset!important
}
.select-product {
    width: 250px;
	
}
.devbn-calculate-paint .selectsp {
    display: block;
    background-color: #fff;
    font-weight: 600;
    font-size: 10px;
    color: #333;
    width: 100%;
    overflow: hidden;
    padding: 5px 10px;
    border: 1px solid #a9a9a9;
    border-radius: 1px;
    margin: 3px auto;
    cursor: pointer;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
	padding-bottom: 8px;
}

#tks_dh_panel,#tks_lightbox_panel,.devbn-calculate-paint .cp-table-dh,.devbn-calculate-paint .cp-table-sl,.devbn-calculate-paint .row-items {
    width: 100%
}

.devbn-calculate-paint table.cp-table-dh td {
    vertical-align: middle;
    font-size: 16px;
    padding: 5px;
    color: #000;
    height: 50px;
}

.devbn-calculate-paint .cp-index {
    display: block;
    font-weight: 600;
    font-size: 22px;
    text-align: center
}

.cp-w100 {
    width: 120px;
    text-align: center
}

.devbn-calculate-paint input[type=text].cp-text-item {
    font-size: 16px;
    line-height: 18px;
    width: 100%;
    padding: 2px 0 2px 10px;
    height: 30px;
    margin: 0;
    box-shadow: unset!important;
    font-weight: bold;
}

.devbn-calculate-paint input[type=text].cp-w100,input[type=text].cp-w40 {
    line-height: 18px;
    padding: 2px 5px 2px 10px;
    height: 30px;
    box-shadow: unset!important
}

.devbn-calculate-paint .cp-checkbox {
    height: 18px;
    width: 18px;
    float: left;
    margin: 0!important
}

.devbn-calculate-paint .cp-checkbox-span {
    position: relative;
    font-size: 16px;
    padding-left: 5px;
    float: left
}

.devbn-calculate-paint .cp-title-add {
    display: inline-block;
    font-weight: 600;
    color: #009ada;
    text-align: left;
    font-size: 16px;
    padding: 10px 0;
    cursor: pointer
}

.devbn-calculate-paint input[type=text].cp-w100 {
    width: 100px;
    font-size: 16px;
    color: #009ada!important;
    margin: 0
}

.devbn-calculate-paint .cp-btn-del {
    display: inline-block;
    cursor: pointer;
    color: #009ada!important;
    padding-left: 5px
}

.devbn-calculate-title h3 {
    text-align: center;
    font-size: 25px;
    color: var(--primary-color)
}

a.xemdh {
    height: 50px;
    padding: 10px 20px;
    font-size: 16px;
    color: green;
    border-radius: 30px;
    border: 3px solid green;
    cursor: pointer;
    transition: .3s 0;
    margin-top: 30px;
    margin-bottom: 30px
}

@media (min-width: 992px) {
    #tks_lightbox_panel {
        width:800px
    }

    #tks_dh_panel {
        width: 950px
    }
}

.tks-fade {
    opacity: 0;
    -webkit-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear
}

.tks-modal-content,td.cp-sp {
    position: relative
}

.tks-modal-header {
    padding: 10px;
    border-bottom: 1px solid #e5e5e5;
    background-color: #eee
}

.tks-modal-footer:before,.tks-modal-header:before {
    display: table;
    content: ""
}

.tks-modal-footer:after,.tks-modal-header:after {
    display: table;
    content: "";
    clear: both
}

.tks-modal-footer {
    padding: 10px;
    border-top: 1px solid #e5e5e5;
    background-color: #eee
}

.tks-modal-title {
    text-decoration: none;
    text-align: left;
    color: green;
    padding: 5px;
    font-weight: 600;
    float: left
}

.tks-close {
    float: right;
    font-weight: 600;
    margin: 0
}

.tks-modal-body {
    position: relative;
    padding: 15px
}

.cp-tks-note,.tks-text-left {
    text-align: left
}

.tks-btn-small {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    margin: 5px 10px;
    padding: 5px 10px;
    border: 1px solid green;
    text-decoration: none;
    font-weight: 700;
    color: #fff!important;
    background-color: green;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px
}

.cp-tks-note {
    margin: 5px 0 10px;
    font-style: italic
}

.tks-lightbox {
    display: none;
    background: rgba(0,0,0,.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: 1000;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    text-align: center
}

.tks-lightbox-panel {
    margin: 30px auto;
    background-color: #fff;
    border: none
}

.hidden {
    display: none!important;
    visibility: hidden!important
}

.tks-icon-del:after {
    content: 'x';
 
    font-size: 25px;
    font-weight: 700;
    position: absolute;
    top: -6px;
    left: 6px;
    color: #fe0000;
}

.tks-icon-del {
    position: relative;

    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer
}

td.cp-sp span.cp-del.tks-icon-del.tks-fr {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%)
}

span.cp-csp {
    color: #009ada!important;
    font-weight: 700;
    font-size: 15px
}

.cp-select-product.cat_item_product {
    border: 1px solid #f2f2f2;
    width: 100%;
    display: inline-block
}

.cp-select-product.cat_item_product img.attachment-medium.size-medium.wp-post-image {
    width: 100%;
    height: 220px;
    object-fit: contain
}

.cp-select-product .cp-title-product-modal {
    color: #009ada!important;
    font-weight: 700;
    font-size: 13px;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 45px;
    margin-bottom: 5px;
    line-height: 20px
}

.cp-select-product .cp-quantity {
    font-size: 15px
}

/* .cp-select-product input.cp-btn {
    background: var(--primary-color);
    width: 100%!important;
    margin: 10px 0 0!important;
    color: #fff;
    font-weight: 300;
    font-size: 14px
} */

.cp-select-product .cp-surface-title {
    font-size: 15px;
    color: red;
    margin: 5px 0 0
}

input[type=text].cp-w40 {
    width: 60px;
    font-size: 16px;
    color: #009ada!important;
    margin: 1px
}

.cp-ketqua-item span {
    font-size: 14px
}

.alert-success {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
    border-radius: .25rem;
    color: #155724;
    background-color: #d4edda
}

button.btn-modal-close.tks-fr {
    margin: 0!important;
    float: right;
    background: var(--primary-color);
    font-size: 15px
}

.cp-dh-ketqua {
    font-size: 16px;
    font-weight: 500;
    color: #e00;
    text-align: center;
    padding: 5px
}

.cp-error {
    color: #fe0000
}

input.btn-modal-close {
    margin: 0!important;
    color: #ff !important;
}

.listdh input[type=text] {
    box-shadow: unset!important
}

@media only screen and (max-width: 768px) {
    .devbn-calculate-paint table.cp-table-dh,table.cp-table-donhang,table.row-items {
        width:100%;
        overflow: scroll!important;
        display: block;
        overflow-x: auto
    }

    .devbn-calculate-paint table.cp-table-dh th,.devbn-calculate-paint table.row-items th.tab-header,table.cp-table-donhang th {
        font-size: 15px
    }

    .devbn-calculate-paint .cp-padding-left,.devbn-calculate-paint .cp-padding-right {
        padding: 0!important
    }
}

a.xemdh {
    height: 50px;
    padding: 10px 20px;
    font-size: 16px;
    color: green;
    border-radius: 30px;
    border: 3px solid green;
    cursor: pointer;
    transition: .3s 0;
    margin-top: 30px;
    margin-bottom: 30px;
}
.devbn-calculate-title h3, a.xemdh {
    font-weight: 700;
    text-transform: uppercase;
}
a {
    color: #334862;
    text-decoration: none !important;
}
.cp-td-index,.cp-td-title {
    border: 2px solid #eee;
    margin-bottom: 10px;
}
.w-60 {
    width: 60px;
}
table.cp-table-dh.title-noithat,.table.cp-table-dh.title-ngoaithat {
    background: transparent !important;
    border: 1px solid #00387A;
}
table.cp-table-dh.title-noithat td,.cp-table-dh.title-ngoaithat td{
    /* color: #00387A !important; */
    /* font-weight: 500; */
    /* font-size: 18px;
    border: 1px solid #0D64B5; */
}
.cp-table-dh.title-total td{
    color: #FD0404 !important;
    font-weight: 500;
    font-size: 18px;
    border: 1px solid #FD0404;
}


.cp-table-dh td {
    background: transparent !important;
}
.devbn-calculate-paint,#tks_dh {
    font-family: "Inter", sans-serif !important;
	box-shadow: box-shadow: 5px 5px 5px 0px #CCCCCC;
}

#tks_lightbox_panel{
    font-family: "Inter", sans-serif !important;
}
.title-step {
    color: #000 !important;
    font-weight: 600;
    text-decoration: none;
    font-size: 20px !important;
}
.cp-list-dh {
    margin-top: 25px;
}
.result-calculate {
    display: none;
}
 /* CSS */
 .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Màu nền có độ mờ */
    z-index: 9999; /* Đảm bảo lớp overlay nằm trên tất cả các phần tử khác */
    display: none; /* Ẩn ban đầu */
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
input.cp-btn {
    background: #181862;
    width: 100% !important;
    margin: 10px 0 0 !important;
    color: #fff;
    font-weight: 300;
    font-size: 14px;
}
.cp-quantity {
    font-size: 15px;
    text-align: center;
    font-weight: bold;
}
.cp-select-product img {
    min-height: 240px;
}
.row.tks-text-left {
    padding: 15px 10px;
}
input#idguidh {
    height: 45px;
    background: #181862;
    border: none;
}
input.btn-modal-close {
    color: #fff;
    border: none;
}
.cp-ketqua-item,.cp-price-item,.cp-unit-item {
    font-size: 16px;
    color: #e00;
    margin-bottom: 10px;
}

.cp-price-item input,.cp-unit-item input{
    width: 50px !important;
}
.cp-ketqua-item span,.cp-price-item  span{
    font-size: 12px;
    font-weight: 600;
    margin-left: 5px;
}
.row-items {
    background: #eee !important;
}
table tbody>tr>td, table tbody>tr>th {
    background-color: #eee !important;
}
.item-td {
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.25);
}

select.form-select.select-type {
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.cp-list-dh td hr:last-child {
    display: none;
}
.ls-item {
    margin-bottom: 10px !important;
}
.ketqua + .ketqua::before,.price + .price::before{
    content: "";
    display: block;
    border-bottom: 1px solid #c4c2c2;
    margin: 10px 0;
}

.donvitinh > div + div::before {
    content: "";
    display: block;
    border-bottom: 1px solid #c4c2c2;
    margin: 10px 0;
}

.total-price.text-right {
    margin-top: 15px;
}
.p-15 {
    box-shadow: rgba(0, 0, 0, 0.25) 5px 5px 5px 5px;
    padding: 20px;
}
.flex-container {
    display: flex;
}

.flex-item {
    flex: 1;
    padding: 15px;
}
@media screen and (max-width: 767px) {
   
    .grid-container {
        display: grid;
        grid-template-columns: 1fr !important;
        grid-gap: 15px;
    }
}
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 15px;
}
.cp-ketqua hr {
	margin-bottom:10px !important;
	margin-top:10px !important;
}
/* .grid-item {
    padding: 15px;
} */