.filter-by {
    padding: 20px;
    float: left;
    text-align: left;
    padding-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.filter-by .filter-by-title {
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    padding-right: 15px;
    opacity: .5;
}
.filter-by .filter-by-select-main {
    display: flex;
    column-gap: 15px;
    align-items: center;
}

.filter-by .filter-by-select {
    width: 180px;
    padding: 0 0px 0 15px;
    line-height: 46px;
    border: solid 1px #dde4eb;
    border-radius: 5px;
    text-align: left;
    font-weight: 500;
    background: url(../images/select-arrow.png) no-repeat center right 15px #fff;
    cursor: pointer;
    position: relative;
}
.filter-by .filter-by-select span {
    color: #000;
    display: block;
    width: 100%;
}
.filter-by .filter-by-select ul li:hover {
    background: #f3f3f3;
}
.filter-by .filter-by-select ul {
    position: absolute;
    top: 47px;
    left: 0;
    width: 244px;
    box-shadow: 0 0 0 0 rgb(90 113 208 / 11%), 0 4px 16px 0 rgb(167 175 183 / 33%);
    background: #fff;
    margin: 0;
    list-style: none;
    border-radius: 5px;
    z-index: 9;
    border: solid 1px #dde4eb;
}
.filter-by-select ul li {
    line-height: 1.3;
    padding: 13px 15px;
    border-bottom: solid 1px #dde4eb;
    position: relative;
    font-weight: normal;
    font-size: 15px;
}
.filter-by .filter-by-select [type="checkbox"]:checked + label, .filter-by .filter-by-select [type="checkbox"]:not(:checked) + label {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    line-height: 24px;
    display: block;
}













/*css puppot*/
.header-cauhinh {
    height: 69px;
    background-color: var(--primary-color);
    padding: 17px 15px;
}
.header-cauhinh input#buildpc-search-keyword {
    line-height: 36px;
    width: 100%;
    border-radius: 5px;
    outline: none;
    padding: 0 10px;
    border: none;
    height: 36px;
}
.header-cauhinh span.btn-search {
    position: absolute;
    right: 23px;
    top: 0;
    bottom: 0;
    color:  var(--primary-color);
    font-size: 24px;
    padding: 0 10px;
}
.header-cauhinh h4 {
    color: #fff;
    font-weight: 900;
    font-size: 22px;
    float: left;
    padding: 1px 0;
}




/*css chi tiết xay dung may*/

.menu-menu-xay-dung-cau-hinh-container ul#menu-menu-xay-dung-cau-hinh li {
    padding: 0px 3px 2px 3px;
    background: var(--primary-color);
    display: inline-block;
    list-style: none;
    position: relative;
    margin: 0 2px;
    border-radius: 4px;
    transition: background-color .3s;
}
.menu-menu-xay-dung-cau-hinh-container ul#menu-menu-xay-dung-cau-hinh li a {
    padding: 5px 6px 3px 6px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
}
ul.list-btn-action span {
    display: block;
    border-radius: 3px;
    background-color: var(--primary-color);
    text-transform: uppercase;
    line-height: 40px;
    cursor: pointer;
    opacity: 1;
    font-size: 14px;
}
ul.list-btn-action li {
    list-style-type: none;
}
.build-pc .build-pc_content .list-drive .item-drive:nth-of-type(odd) {
    background-color: #f9f9f9;
}
.build-pc .build-pc_content .list-drive .item-drive {
    padding: 0 8px;
    border-bottom: 1px solid #e1e1e1;
}


.list-drive {
    list-style-type: none;
}
div#js-buildpc-layout span.d-name {
    float: left;
    margin-bottom: 8px;
    margin-top: 8px;
    width: 240px;
    padding-left: 20px;
}

.list-btn-action li {
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    width: calc(100% / 5);
    float: left;
    text-align: center;
    padding: 0 2px;
}
.list-btn-action span {
    display: block;
    border-radius: 3px;
    background-color: #536be8;
    text-transform: uppercase;
    line-height: 40px;
    cursor: pointer;
    opacity: 1;
    font-size: 14px;
}
.list-drive-cau-hinh .show-popup_select {
    margin-bottom: 8px;
    margin-top: 8px;
    font-size: 14px;
    color: #ffffff;
    background-color: var(--primary-color);
    border-radius: 3px;
    line-height: 34px;
    display: inline-block;
    padding: 0 8px;
    margin-left: 10px;
    cursor: pointer;
    opacity: 1;
}
.list-drive-cau-hinh img.attachment-medium_large.size-medium_large.wp-post-image {
    width: 90px;
    height: 90px;
    display: inline-block;
    max-width: 100%;
    max-height: 90px;
}
.list-drive-cau-hinh .contain-item-drive {
    margin-top: 0px;
    padding: 10px;
    background-color: #ffffff;
    position: relative;
    display: flex;
    justify-content: space-around;
}
.list-drive-cau-hinh input.count-p {
    margin-top: 6px;
    height: 30px;
    outline: none;
    padding: 0 5px;
    width: 50px
}
.item-drive:nth-of-type(odd) {
    background-color: #f9f9f9;
}
.item-drive {
    padding: 1px 10px 0px 22px;
    border-bottom: 1px solid #e1e1e1;
}
.list-drive-cau-hinh .col.medium-9.noPadding.xay_dung_sp_s {
    border-left: 1px solid #e1e1e1;
}
.list-drive-cau-hinh .item-drive h3 {
    padding: 13px 0px;
}
.list-drive-cau-hinh .drive-checked {
    padding: 10px 0px;
}
.list-drive-cau-hinh i.fa.fa-trash.remove-item {
    font-size: 20px;
    color: red;
}
.list-drive-cau-hinh i.fa.fa-edit.edit-item {
    font-size: 20px;
    color:var(--primary-color);
}
.list-drive-cau-hinh span.sum_price {
    margin-top: 10px;
    font-size: 15px;
    font-weight: bold;
    color: #e51d24;
    margin-right: 15px;
    /* font-weight: 900; */
    /* color: red; */
}
.list-drive-cau-hinh .box-product-sale {
     color: #0a0a0a;
     margin-top: 10px;
     font-size: 15px;
     font-weight: bold;
 }
.list-drive-cau-hinh .col.medium-9.noPadding.xay_dung_sp_s i {
    /*font-style: normal;*/
    /*margin-top: 11px;*/
}
.list-drive-cau-hinh .col.medium-9.noPadding.xay_dung_sp_s a {
    font-size: 15px;
    color: #000000;
    font-weight: bold;
}
.row.cau_hinh_sp_home_xb span.post-view {
    margin-bottom: 8px;
    margin-top: 30px;
    font-size: 14px;
    color: #ffffff;
    background-color: var(--primary-color);
    border-radius: 3px;
    line-height: 34px;
    display: inline-block;
    padding: 0 8px;
    margin-left: 10px;
    cursor: pointer;
    opacity: 1;

}
.row.cau_hinh_sp_home_xb span.post-view a {

    font-size: 15px;
    color: #000000;
    font-weight: bold;

}
.row.cau_hinh_sp_home_xb img.attachment-medium_large.size-medium_large.wp-post-image {
    float: left;
    width: 130px;
    padding: 0 !important;
}
.row.cau_hinh_sp_home_xb bdi {
    color: red;
}
.row.cau_hinh_sp_home_xb .pup_post_sp {
    padding: 25px 0px;
    font-size: 15px;
    color: #000000;
    font-weight: bold;
}
.row.cau_hinh_sp_home_xb {
    padding: 1px 10px 0px 22px;
    border-bottom: 1px solid #e1e1e1;
}
.row.cau_hinh_sp_home_xb:nth-of-type(odd) {
    background-color: #f9f9f9;
}
.row.cau_hinh_sp_home_xb .col.medium-6.noPadding.cau_hinh_sp_home_xbs {
    border-left: 1px solid #e1e1e1;
}










.choose-amount {
    float: right;
    overflow: hidden;
    position: relative;
    width: 100px;
    border: 1px solid #dfdfdf;
    background: #fff;
    border-radius: 3px;
    line-height: 30px;
    font-size: 14px;
    color: #333;
}
.choose-amount .quantity {
    display: grid;
    grid-template-columns: 32% 36% 32%;
}
.choose-amount .minus {
    float: left;
    border-right: 1px solid #dfdfdf;
    background: #fff;
    height: 30px;
    position: relative;
    pointer-events: all;
    cursor: pointer;
}
.choose-amount .minus i {
    width: 12px;
    height: 2px;
    background: #ccc;
    display: block;
    margin: 14px auto;
}
.choose-amount .number {
    border: 0;
    color: #333;
    font-size: 14px;
    height: 30px;
    text-align: center;
}
.choose-amount .plus {
    float: right;
    border-left: 1px solid #dfdfdf !important;
    background: #fff;
    height: 30px;
    position: relative;
    pointer-events: all;
    cursor: pointer;
}
.choose-amount .plus i:first-child {

    width: 12px;
    height: 2px;
    background: #288ad6;
    display: block;
    margin: 14px auto!important;
}
.choose-amount .plus i:nth-child(2) {
    width: 2px;
    height: 12px;
    background: #288ad6;
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 9px;
    left: 0;
    right: 0;
}


#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 99999;
}


#loader .loader-wdes {
    position: absolute;
    width: 50px;
    height: 50px;
    vertical-align: middle;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#loader .loader-double {
    border-radius: 50px;
    border: 6px solid transparent;
    border-top-color: var(--primary-color);
    border-bottom-color:var(--primary-color);
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}

#loader .loader-double:before, #loader .loader-double:after {
    content: "";
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    left: 5px;
    border-radius: 50px;
    border: 6px solid transparent;
    border-top-color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    filter: alpha(opacity=60);
    -webkit-animation: spinreverse 2s linear infinite;
    animation: spinreverse 2s linear infinite;
}

.loading {
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999999;
    background: rgba(255, 255, 255, .5);
}

#loader .loader-double:before {
    top: 13px;
    left: 13px;
    bottom: 13px;
    right: 13px;
    -webkit-animation: spinreverse 3s linear infinite;
    animation: spinreverse 3s linear infinite;
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        tranform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        tranform: rotate(360deg);
    }
}

.filter-by-select ul li {
    line-height: 1.3;
    padding: 13px 15px;
    border-bottom: solid 1px #dde4eb;
    position: relative;
    font-weight: normal;
    font-size: 15px;
}

.filter-by .filter-by-select [type="checkbox"]:checked, .filter-by .filter-by-select [type="checkbox"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

.filter-by .filter-by-select [type="checkbox"]:checked + label, .filter-by .filter-by-select [type="checkbox"]:not(:checked) + label {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    line-height: 24px;
    display: block;
}


.filter-by .filter-by-select [type="checkbox"]:checked + label:before, .filter-by-select [type="checkbox"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    border: 1px solid #4b4b4b;
    background: #fff;
}

.filter-by-select [type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

.filter-by-select [type="checkbox"]:checked + label:after, .filter-by-select [type="checkbox"]:not(:checked) + label:after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    position: absolute;
    top: 8px;
    left: 4px;
}

.filter-by .filter-by-select ul li:hover {
    background: #f3f3f3;
}
.filter-by-select.sort-by strong {
    color: #b20000;
}

div#pageAjax li.first.active {
    width: 35px;
    height: 35px;
    padding: 0px;
    line-height: 35px;
    font-weight: normal;
    background: var(--primary-color);
    color: #fff;
}
div#pageAjax li.active {

    width: 35px;
    height: 35px;
    padding: 0px;
    line-height: 35px;
    font-weight: normal;
    background: var(--primary-color);
    color: #fff;
}

div#pageAjax ul li a, .pagination ul li span {
    border-radius: 0px !important;
    border: 1px solid #e9e9e9;
    width: 35px;
    height: 35px;
    padding: 0px;
    line-height: 35px;
    font-weight: normal;
}




input.plus {
    float: right;
    border-left: 1px solid #dfdfdf;
    background: #fff;
    height: 30px;
    border: 1px solid #ddd!important;
    position: relative;
    pointer-events: all;
    cursor: pointer;
}
input.minus{
    float: left;
    border-right: 1px solid #dfdfdf;
    background: #fff;
    border: 1px solid #ddd!important;
    height: 30px;
    position: relative;
    pointer-events: all;
    cursor: pointer;
}

.pd_variants_content i {
    margin-top: 8px;
}
