﻿.index-wapper {
    height: 100%;
   /* background: #efefef;*/
}

.app-body {
    flex:1
}

.index-wapper .main-banner {
    margin-bottom:20px;
    position: relative;
    width: 100%;
    background-color: #b9b8b880;
    display: flex;
    flex-direction: column;
    background: var(--primary-banner-url) center center no-repeat;
    background-size: cover;
    height: 100%;
}

.index-wapper .main-banner:before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    background-color: #122153;
    opacity: 0.55;
    filter: alpha(opacity=55);
}

.index-wapper .main-banner .stat-container {
    padding-bottom: 50px;
    margin-top: 70px;
}

.index-wapper .main-banner .main-banner-content {
    flex: 1;
    display: flex;
}

.index-wapper .main-banner .main-banner-content .banner-text-info {
    position: relative;
    width: 60%;
    height: 100%;
    float: left;
}

.index-wapper .main-banner .main-banner-content .banner-tools {
    position: relative;
    width: 40%;
    height: 100%;
}

.index-wapper .main-banner .main-banner-content .search-panel {
    width: 60%;
    height: 50%;
    padding-top: 50px;
    float: right;
    text-align: right;
}

.index-wapper .main-banner .main-banner-content #txtSoGiayTo {
    margin-bottom: 10px;
}

.index-wapper .main-banner .main-banner-content #txtMaHoSo {
    margin-bottom: 10px;
}

.index-wapper .main-banner .main-banner-content #btnSearch {
    background-color: var(--primary-color);
    color: #FFF;
}

.index-wapper .main-banner .main-banner-content #btnSearch i.fa-spinner {
    -webkit-animation: spin 1.5s linear infinite;
    -moz-animation: spin 1.5s linear infinite;
    -ms-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}

.index-wapper .main-banner .main-banner-content .welcome-text {
    color: #FFF;
    font-size: 25px;
    font-weight: 600;
    margin-top: 40px;
}

.index-wapper .main-content {
    /*margin-top: 30px;*/
}

.steps-container {
    display: flex;
    margin-bottom: 1px;
    flex-wrap: wrap;
}

.steps-container .step {
    width: 100%;
    background: #fff;
    padding: 15px 20px;
    position: relative;
    cursor: pointer;
}

.steps-container .step:before {
    content: "";
    position: absolute;
    left: 1px;
    top: 19px;
    height: 40px;
    border-left: 1px solid #b9b8b880;
}

.steps-container .step:first-child:before {
    display: none;
}

.icon-box {
    -webkit-transition: all .2s;
    transition: all .2s;
    display: flex;
    /*line-height: 34px*/
}

.icon-box .icon-box-icon {
    /*background-color: var(--primary-color);*/
    position: relative;
    display: inline-block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33px;
    flex: 0 0 33px;
    border-radius: 50%;
    margin-right: 1rem;
    margin-top: 7px;
    -webkit-box-shadow: 0 0 0 2px var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color)
}

.icon-box .icon-box-icon::after {
    width: 100%;
    height: 100%;
    content: "";
    top: -3px;
    left: -3px;
    padding: 3px;
    position: absolute;
    border-radius: 50%;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    opacity: 0;
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
    -webkit-transition: background .5s, color .5s, opacity .3s, transform .3s;
    -webkit-transition: background .5s, color .5s, opacity .3s, -webkit-transform .3s;
    transition: background .5s, color .5s, opacity .3s, -webkit-transform .3s;
    transition: background .5s, color .5s, opacity .3s, transform .3s;
    transition: background .5s, color .5s, opacity .3s, transform .3s, -webkit-transform .3s;
}

.icon-box .icon-box-icon:hover {
    background-color: var(--primary-color);
    -webkit-box-shadow: 0 0 0 0 var(--primary-color);
    box-shadow: 0 0 0 0 var(--primary-color)
}

.icon-box .icon-box-icon:hover::after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-box-shadow: 0 0 0 2px var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color)
}

.icon-box i {
    color: #fff;
    font-size: 16px;
    color: var(--primary-color)
}

.icon-box span {
    color: #9a9a9a
}

.icon-box b {
    color: #212529
}

.icon-box .icon-box-icon:hover .icon {
    fill: #fff;
    stroke: #fff
}

.icon-box .icon-box-icon:hover i {
    color: #fff
}

.steps-container .step:hover .icon-box-icon {
    background-color: var(--primary-color);
    -webkit-box-shadow: 0 0 0 0 var(--primary-color);
    box-shadow: 0 0 0 0 var(--primary-color)
}

.steps-container .step:hover .icon-box-icon::after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-box-shadow: 0 0 0 2px var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color)
}

.steps-container .step:hover .icon-box-icon i {
    color: #fff
}


.search-result {
    width: 100%;
    height: 100%;
    position: inherit;
    top: 0;
    left: 0;
    background: #FFF;
    z-index: 1;
    padding-top: 5px;
}

.search-result .container {
    height: 100%;
}

.search-result .VModule {
    height: 100%;
}

.search-result .modal-header {
    padding: 5px;
    padding-left: 10px;
}

.search-result .modal-header button {
    outline: none !important;
}

    .search-result .modal-content {
        margin-top: 10px;
        margin-bottom: 20px;
        padding: 15px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 0px 20px 0px;
        border: none;
    }

.search-result .modal-content .modal-body {
    height: 100%;
}

.search-result .modal-content .modal-body #frmHoSo {
    height: 100%;
}

.search-result .modal-content .modal-body #frmHoSo div:last-child {
    padding-bottom: 15px;
}

.search-result .modal-footer {
    display: none;
}

.search-result .modal-body::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.search-result .modal-body::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.search-result .modal-body::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 20px;
    border: 0px solid #f5f5f5;
}

.btn-nophoso-wapper{
    margin-top:20px;
}

.main-content .left-box {
    width: 230px;
    float: left;
}
@media (min-width: 768px) and (max-width: 1024px) {
    .steps-container .step {
        flex: 0 0 20%;
        max-width: 20%;
    }

    .index-wapper .main-banner .main-banner-content .search-panel {
        width: 80%;
    }
    /* 
      ##Device = Tablets, Ipads (Portrait)
      ##Screen = B/w 768px to 1024px
    */
}

@media (max-width:767px) {
    .list-dichvu {
        display: block;
    }

    .product-item {
        width: 100% !important;
    }
    .index-wapper .main-content {
        padding-bottom: 1px;
        display: block;
    }
    .main-content .left-box {
        float: none !important;
        width: 100% !important;
    }
    .main-content .center-box {
        margin-left: 0px !important;
        float: none !important;
        width: 100% !important;
    }

    .main-content .left-box {
        display: none;
    }

    .index-wapper .main-banner .main-banner-content {
        flex-direction: column;
    }

        .index-wapper .main-banner .main-banner-content .banner-text-info {
            width: 100%;
        }

        .index-wapper .main-banner .main-banner-content .welcome-text {
            text-align: center;
        }

        .index-wapper .main-banner .main-banner-content .btn-nophoso-wapper {
            text-align: center;
            margin-top:20px;
        }


    .banner-tools {
        width: 100%!important;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .index-wapper .main-banner .main-banner-content .search-panel {
        width: 100%;
        height: 50%;
        text-align: center;
        max-width: 400px;
    }
    .index-wapper .main-banner .main-banner-content #btnSearch {
        margin-bottom: 0.65rem;
    }

    .stat-container {
        display: none;
    }
}

.main-content{
    display:flex;
}

.main-content .box {
    background: #FFF;
    margin-bottom: 30px;
    border-radius: 10px;
}

.main-content .box .box-title {
    height: 40px;
    display: flex;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom: 1px solid rgb(242, 242, 242);
}

.box .box-content{
    padding:10px;
}

.main-content .box .box-title span {
    padding-left: 16px;
    font-weight: 700;
    font-size: 0.975rem;
    line-height: 150%;
    color: rgb(39, 39, 42);
}

.main-content .box .box-list-item {
    list-style: none;
    padding: 10px;
}

.main-content .box .box-list-item .__item {
    height: 45px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    border-radius: 8px;
}

.main-content .box .box-list-item .__item:hover {
    background: rgba(39, 39, 42, 0.12);
}

.main-content .box .box-list-item .__item a {
    color: rgb(56, 56, 61);
}

.main-content .box .box-list-item .__item:hover a {
    text-decoration: none;
}

.main-content .center-box {
    flex:1;
    float: left;
    margin-left: 20px;
}

.filter-wapper {
    padding-left: 15px;
    height: 50px;
}

.filter-wapper .filter-bar {
    padding-top:5px;
    display:flex;
    list-style: none;
    padding-left: 0px;
}

.filter-wapper .filter-item {
    display: inline-block;
    margin-right: 10px;
    padding-left: 5px;
    padding-right: 5px;
    position: relative;
    font-weight: 400;
    line-height: 30px;
    cursor: pointer;
}

.filter-wapper .filter-item.active {
    color: rgb(11, 116, 229);
    font-weight: 500;
}

.filter-wapper .filter-item.active:after {
    content: "";
    display: block;
    position: absolute;
    border-bottom: 4px solid rgb(11, 116, 229);
    border-radius: 2px;
    width: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.filter-wapper .filter-item:hover {
    color: rgb(11, 116, 229);
    font-weight:500;
}

.filter-wapper .filter-item:hover:after {
    content: "";
    display: block;
    position: absolute;
    border-bottom: 4px solid rgb(11, 116, 229);
    border-radius: 2px;
    width: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.filter-wapper .filter-item a {
    font-size: 0.875rem;
}

.filter-wapper .filter-item:hover {}

.nav-scroller {
    position: relative;
    overflow-y: hidden;
    height: 2.675rem;
}

.nav-scroller .filter-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.list-dichvu {
    padding: 10px;
    background: #fafafa;
    border-radius: 5px;
    display: flex;
    flex-flow: row wrap;
    padding-top: 0px;
    justify-content: center;
    min-height: 500px;
}

    .list-dichvu.empty-box:before {
        content: "Không có dịch vụ nào trong danh mục";
        width: 100%;
        height: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #939393;
    }

    .list-dichvu .dich-vu-item:before {
        float: left;
        width: 275px;
        padding: 15px;
        border: 1px solid #ddd;
        background: #FFF;
        border-radius: 5px;
        margin-right: 15px;
        display: block;
        margin-top: 15px;
        animation: all
    }

        .list-dichvu .dich-vu-item a {
            height: 100%;
            display: flex;
            flex-direction: column;
        }

    .list-dichvu .dich-vu-item {
        float: left;
        width: 285px;
        padding: 15px;
        border: 1px solid #ddd;
        background: #FFF;
        border-radius: 5px;
        display: block;
        margin: 15px 15px 0 15px;
        min-width: 285px;
    }

        .list-dichvu .dich-vu-item:hover {
            box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        }

        .list-dichvu .dich-vu-item .dich-vu-thumbnail-wapper {
            width: 100%;
        }

            .list-dichvu .dich-vu-item .dich-vu-thumbnail-wapper .dich-vu-thumnail {
                width: 100%;
                border-radius: 5px;
            }

        .list-dichvu .dich-vu-item .dich-vu-title {
            margin-top: 10px;
            font-size: 18px;
            font-weight: 500;
            margin-bottom: 10px;
            color: rgb(39, 39, 42);
        }

        .list-dichvu .dich-vu-item .so-luong-da-ban {
            font-size: 12px;
            color: rgb(128, 128, 137);
            margin-bottom: 10px;
        }

        .list-dichvu .dich-vu-item .dich-vu-description {
            color: #6d6d6d;
            font-size: 13px;
            text-overflow: ellipsis;
            overflow: hidden;
            flex: 1;
        }

        .list-dichvu .dich-vu-item .dich-vu-price {
            line-height: 45px;
            color: rgb(255, 66, 78);
            font-weight: 500;
            font-size: 16px;
        }

            .list-dichvu .dich-vu-item .dich-vu-price .price {
            }

            .list-dichvu .dich-vu-item .dich-vu-price .old-price {
                color: #a0a0a0;
                font-size: 12px;
                text-decoration: line-through;
            }

            .list-dichvu .dich-vu-item .dich-vu-price .promotion {
                display:none;
            }

            .list-dichvu .dich-vu-item .dich-vu-price.dang-giam-gia .promotion {
                display: inline-block;
                font-size: 12px;
                margin-left: 5px;
            }

        .list-dichvu .dich-vu-item .ngay-tra-ket-qua-du-kien {
            line-height: 45px;
            color: rgb(128, 128, 137);
            border-top: 1px solid #ddd;
            font-size: 12px;
        }

@-webkit-keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@-moz-keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@-ms-keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*Skeleton Loading*/
.filter-bar li{
    padding-left:5px;
}
.product-item {
    height: 100%;
    width: 30%;
    margin: 12px;
    border-radius:5px;
}
.ssc-square, .ssc-head-line, .ssc-line, .ssc-hr, .ssc-circle {
    border-radius: 10px;
    display: block;
    background-color: rgba(0, 0, 0, 0.17);
    position: relative;
    overflow: hidden;
}

.ssc-square:after, .ssc-head-line:after, .ssc-line:after, .ssc-hr:after, .ssc-circle:after {
    content: "";
    -webkit-animation: ssc-loading 1.3s infinite;
    animation: ssc-loading 1.3s infinite;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    z-index: 1;
    background: linear-gradient(90deg, transparent, hsla(0deg, 0%, 100%, 0.3), transparent);
}

.ssc-square {
    border-bottom: none !important;
    height: 15vh !important;
}

.ssc-circle {
    width: 100%;
    border-radius: 10px;
    height: 60px;
}

.ssc-head-line {
    border-radius: 15px;
    width: 50%;
    height: 24px;
}

.ssc-line {
    height: 3vh !important;
    width: 10vh !important;
    border-right: none !important;
}

.ssc .mb {
    margin-bottom: 16px;
}

.ssc .w-60 {
    width: 60%;
}

@-webkit-keyframes ssc-loading {
    from {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    to {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}

@keyframes ssc-loading {
    from {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    to {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}