/**page color**/
.box-color {
    box-shadow: 0px 2px 20px rgb(0 0 0 / 15%);
    width: 70px;
    margin: 0 auto;
    padding: 20px 0;
    border-radius: 5px;
}

.box-color .color-item {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    margin: 10px auto;
    position: relative;
    cursor: pointer;
}

.box-color .color-item:hover:after, .box-color .color-item.active:after {
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-right-style: solid;
    border-right-width: 2px;
    content: "";
    display: inline-block;
    height: 16px;
    left: 40%;
    position: absolute;
    top: 20%;
    width: 8px;
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    border-color: #fff;
}

.status_color {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
}

.box-show-color {
    display: flex;
    flex-flow: wrap;
}

.item_color {
    width: 115px;
    height: 70px;
    border-radius: 4px;
    margin: 3px;
    cursor: pointer;
}

.custom-model-main {
    text-align: center;
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    opacity: 0;
    -webkit-transition: opacity 0.15s linear, z-index 0.15;
    -o-transition: opacity 0.15s linear, z-index 0.15;
    transition: opacity 0.15s linear, z-index 0.15;
    z-index: -1;
    overflow-x: hidden;
    overflow-y: auto;
}

.model-open {
    z-index: 99999;
    opacity: 1;
    overflow: hidden;
}

.custom-model-inner {
    -webkit-transform: translate(0, -25%);
    -ms-transform: translate(0, -25%);
    transform: translate(0, -25%);
    -webkit-transition: -webkit-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: -webkit-transform 0.3s ease-out;
    -o-transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    display: inline-block;
    vertical-align: middle;
    max-width: 1000px;
    width: 100%;
    margin: 30px auto;
}

.custom-model-wrap {
    display: block;
    width: 100%;
    position: relative;
    background-color: #fff;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    background-clip: padding-box;
    outline: 0;
    text-align: left;
    padding: 80px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.model-open .custom-model-inner {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
    position: relative;
    z-index: 999;
}

.model-open .bg-overlay {
    background: rgba(0, 0, 0, 0.6);
    z-index: 99;
}

.bg-overlay {
    background: rgba(0, 0, 0, 0);
    height: 100vh;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    -webkit-transition: background 0.15s linear;
    -o-transition: background 0.15s linear;
    transition: background 0.15s linear;
}

.close-btn {
    position: absolute;
    right: 10px;
    top: -10px;
    cursor: pointer;
    z-index: 99;
    font-size: 47px;
    color: #373737;
}

.status_color {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
}

.dowload {
    background: #990808;
    padding: 10px 20px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
}

@media screen and (min-width: 800px) {
    .custom-model-main:before {
        content: "";
        display: inline-block;
        height: auto;
        vertical-align: middle;
        margin-right: -0px;
        height: 100%;
    }
}

@media screen and (max-width: 799px) {
    .custom-model-inner {
        margin-top: 45px;
    }
}

.content-slider h2 {
    text-transform: uppercase;
    color: #990808;
    font-size: 20px;
    font-weight: 700;
}

.content-slider ul {
    list-style: none;
    margin-bottom: 10px;
}

.content-slider ul li {
    margin: 15px 0;
    border-bottom: solid 1px #b6b6b6;
    padding-bottom: 10px;
}

.content-slider ul li > label {
    font-weight: 700;
    margin-right: 15px;
    font-size: 16px;
    display: inline-block;
}

.color-code {
    text-align: center !important;
    padding: 5px 5px !important;
    width: 150px;
}

.color-code {
    display: flex;
    border-radius: 5px !important;
    border: solid 1px #999 !important;
    padding: 5px !important;
    margin-right: 10px !important;
    box-shadow: unset !important;
    align-items: center;
}

.copy-color button {
    border: solid 1px #999;
    text-align: center;
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
    margin: 0px !important;
    font-size: 13px;
}

.color-code.hex label {
    margin: 0px !important;
}

.copy-color button {
    width: 100px;
}

.copy-color {
    display: flex;
}

#copyTarget {
    background: none !important;
    border: 0 !important;
    display: inline-block !important;
    padding-left: 5px !important;
    margin: 0px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.content-slider ul li:nth-last-child(2) {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

#inputShare {
    border-radius: 5px !important;
    border: solid 1px #999 !important;
    padding: 10px 10px !important;
    margin-right: 15px !important;
    background: #fff !important;
    width: 100% !important;
    box-shadow: unset !important;
}

.content-slider ul li:last-child {
    border-bottom: none;
}

.btn-share {
    background: #990808;
    border: solid 1px #990808;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 30px;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
}

.btn-share:hover {
    color: #fff !important;
}

.item-slider {
    width: 100%;
    height: 300px;
    border-radius: 5px;
}


.item-slider-nav {
    width: 24%;
    height: 70px;
    margin: 0 3px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform .2s;
}

.item-slider-nav.active {
    box-shadow: 0 2px 10px rgb(0 0 0 / 40%);
    transform: scale(1.1);
    border: solid 2px #fff;
}

.nav.slider-color {
    display: flex;
    width: 100%;
    margin-top: 20px;
}

.item-slider-nav:last-child {
    margin: 0px !important;
}

/**post item**/
.post-item {
    background: #FFFFFF;
    box-shadow: 0px 4px 10px rgb(0 0 0 / 15%);
    width: 100%;
    display: inline-block;
}

.post-item .post-thumbnail {
    width: 100%;
    height: 220px;
}

.post-item .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-item .post-content {
    width: 100%;
    padding: 15px;
}

.post-item .post-content h3 {
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 18px;
    margin-bottom: 5px;
    line-height: 25px;
    height: 50px;
}

.post-item .post-content .desc {
    color: gray;
    font-size: 14px;
}

.post-item .post-content .post-time {
    color: gray;
    float: right;
    font-size: 14px;
    margin-bottom: 15px;
}

.partner-item {
    width: 100%;
    height: 90px;
    background: #fff;
    text-align: center;
    padding: 10px;
}

.partner-item img {
    width: 100%;
    object-fit: contain;
    height: 100%;
}

th.product-name {
    border-top: 0px !important;
    border-right: 0px !important;
    border-left: 0px !important;
}

.woocommerce-billing-fields__field-wrapper p input, textarea#order_comments {
    border-radius: 5px !important;
    box-shadow: unset !important;
}

.woocommerce-billing-fields__field-wrapper p select {
    border-radius: 5px !important;
    box-shadow: unset !important;
}

/**search**/
#searchForm {
    position: relative;
    width: 100%;
    display: inline-block;
}

input#searchInput {
    border: 3px solid #e2e2e2;
    padding: 6px 20px;
    padding-right: 40px;
    border-radius: 40px;
    z-index: 999;
    position: relative;
    width: 250px;
    float: right;
}

#searchForm a img {
    position: absolute;
    right: 15px;
    top: 8px;
    width: 22px;
    z-index: 999;
}

.search_content {
    position: absolute;
    min-width: 250px;
    background: #fff;
    color: #000;
    top: 0;
    border-radius: 15px 15px 10px 10px;
    box-shadow: 0 0 15px #ddd;
    padding: 15px 0;
    padding-top: 55px;
    display: none;
    right: 0px;
    z-index: 9;
    height: 350px;
    overflow: auto;
}

.item_search {
    display: flex;
    align-items: center;
    justify-items: center;
    margin-bottom: 0;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 700;
}

.item_search .icon-search-item {
    width: 38px;
    height: 24px;
    display: inline-block;
    cursor: pointer;
    margin-right: 8px;
    border-radius: 5px;
}

.loading {
    width: 100%;
    display: inline-block;
    height: 10%;
    position: relative;
}
.loading img{
    width: 60px;
    height: 60px;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}