@media (max-width: 920px){
    .section-login {
        padding: 20vh 0px;
    }

    header .navbar {
        padding: 3px 15px;
    }
    header .navbar .navbar-collapse {
        text-align: left;
        left: auto !important;
        right: -100%;
        padding-left: 20px;
        background: #fff;
        padding-top: 140px;
        width: 260px;
    }
    header .navbar .navbar-collapse .navbar-nav {
        width: 100%;
    }
    header .navbar .navbar-header {
        float: right;
        text-align: right;
        display: block;
    }
    header .navbar .navbar-header .d-member {
        min-height: 40px;
        padding-left: 40px;
    }
    header .navbar .navbar-header .d-member .img {
        border-width: 3px;
        width: 35px;
        height: 35px;
        margin-top: 3px;
    }
    header .navbar .navbar-toggle {
        float: right;
        margin: 0px;
        margin-right: -8px;
    }
    header .navbar .navbar-collapse.in {
        left: auto !important;
        right: 0%;
        background-color: #1c1c1c;
    }
    header .navbar .navbar-collapse .dropdown ul {
        left: 0px;
        margin: 0px;
        border: 0px;
        box-shadow: none;
        width: 100%;
        display: block !important;
        border-radius: 0px !important;
        background-color: #1c1c1c;
    }
    header .navbar .navbar-collapse .dropdown .btn {
        width: 220px;
        position: fixed;
        top: 70px;
        opacity: 1 !important;
    }
    header .navbar .navbar-collapse .navbar-nav li {
        width: 100%;
        margin: 0px;
        margin-top: 12px;
        border: 0px;
    }
    header .navbar .navbar-collapse .navbar-nav li a, header .navbar .navbar-collapse .dropdown ul li a {
        background: #1c1c1c !important;
        border-radius: 5px;
        padding: 15px;
        color: #d88f21;
        font-size: 12px;
        line-height: 14px;
        border: 0px;
        border-radius: 5px;
        overflow: hidden;
    }
    header .navbar .navbar-collapse .dropdown ul li:first-child {
        margin-top: 0px;
    }
    header .navbar .navbar-collapse .navbar-nav li a i {
        display: block;
        filter: invert(61%) sepia(65%) saturate(552%) hue-rotate(355deg) brightness(87%) contrast(93%);
    }
    header .navbar .navbar-collapse .navbar-nav li a .text-icon {
        padding-left: 30px;
    }
    header .navbar .navbar-collapse .navbar-nav li a .text-icon span {
        font-size: 12px;
        line-height: 14px;
    }
    header .navbar .navbar-collapse .dropdown .li-logout a {
        padding-top: 15px;
        padding-bottom: 15px;
        color: #666 !important;
        background-color: #EAEAEA !important;
    }
    header .navbar .navbar-collapse .navbar-toggle {
        left: 10px;
        right: auto;
    }
    header .navbar-other {
        display: inline-block;
    }

    .d-member {
        padding-left: 71px;
        min-height: 55px;
        padding-top: 6px;
    }
    .d-member .img {
        width: 55px;
        height: 55px;
        border-width: 3px;
    }
    
    .navbar-brand {
        top: 5px;
        width: 40px;
        height: 40px;
        left: 15px;
        margin: 0px;
        background-size: cover;
    }

    .navbar-other .d-member .text {
        display: none;
    }

    .form-filter .form-group {
        width: 100%;
    }

    #wrapper {
        padding-top: 100px;
    }

    .navbar-other ul {
        text-align: center;
    }
    .navbar-other ul li {
        float: initial;
    }

    .d-history-box .cart-sum-price {
        width: 100%;
        position: relative;
        bottom: auto;
        padding: 0px;
        margin-bottom: 40px;
        display: inline-block;
        border-top: 1px solid #C9C9C9;
        border-radius: 0px;
        margin-top: 0px;
        padding-top: 5px;
    }
    .d-history-box .cart-product {
        width: 100%;
        border: 0px;
    }
    .d-history-box .d-shipping .btn-box {
        position: relative;
        display: none;
    }
    .d-history-box .d-order[aria-expanded="true"] ~ .d-shipping .btn-box {
        display: block;
    }
    .d-history-box .cart-sum-price .col {
        margin-top: 8px;
        font-size: 13px;
    }
    .d-history-box .cart-sum-price {
        margin-bottom: 25px;
    }

    .d-history-box .panel-group.for-order hr {
        width: calc(100% + 20px);
    }

    .d-shipping {
        padding-top: 0px;
        padding-right: 0px;
    }

    /* 2022-06-23 */
    .input-date-range .to {
        line-height: 50px;
    }
    .panel-group.for-order .panel .panel-title .d-shipping {
        padding-top: 10px;
    }
    .panel-group.has-checkbox .panel .checkbox {
        left: -32px;
    }

    /* 2022-11-13 */ 
    .select-all {
        margin-left: -32px;
    }

    /* 2022-12-11 */
    .cart-product.for-select .product-item .name, .cart-product.for-select .product-item .price {
        width: 100%;
    }

    /* 2022-12-19 */
    .modal-dialog.modal-lg {
        width: 750px;
        max-width: calc(100% - 50px);
    }

}

@media (max-width: 767px){
    .section-login {
        padding: 10vh 0px;
        /*background: #fff url(../images/login-bg.png) no-repeat top left;*/
        background-color: #2e2e2e;
        background-size: cover;
        height: calc(100vh - 50px);
    }
    .signin-box .logo {
        width: 240px;
        margin-bottom: 40px;
    }
    .signin-box .forget-text {
        margin-top: -25px;
        margin-bottom: 40px;
        font-size: 12px;
    }

    .modal .btn-buy {
        width: calc(100% - 150px);
    }

    .profile-box .title .pull-right {
        width: auto;
        text-align: center;
        padding: 9px 15px;
    }

    .search-box {
        width: 100%;
        margin-top: 15px;
    }
    .address-list .item {
        font-size: 12px;
        line-height: 20px;
        padding: 15px;
        position: relative;
    }
    .search-box .form-control {
        font-size: 12px;
        line-height: 14px;
    }

    .address-list .text-icon {
        padding: 0px;
        text-indent: 30px;
    }
    .address-list .text-icon i {
        top: -2px;
        width: 18px;
        height: 18px;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
    }
    .address-list .btn-box .btn {
        margin: 0px 0px;
        padding: 5px;
    }
    .address-list .btn-box .btn i {
        top: 0px;
        width: 14px;
        height: 14px;
    }
    .address-list .btn-box {
        top: 20px;
        right: 10px;
    }

    footer .copyright {
        font-size: 12px;
        text-align: center;
    }

    .navbar-other ul li {
        float: left;
    }

    .panel-group.for-order .panel .panel-title {
        font-size: 12px;
        line-height: 20px;
    }
    .panel-group.for-order .panel .panel-title .icon-caret {
        font-size: 14px;
        top: 18px;
    }
    .panel-group.for-order .panel-heading, .panel-group.for-order .panel-body {
        padding: 0px 12px !important;
    }

    .d-order .price {
        position: absolute;
        top: 16px;
        right: 10px;
        font-weight: 600;
    }
    
    .cart-list.for-dropship .qty-item {
        padding-left: 40px;
        margin: 0px;
        zoom: 0.8;
    }
    .cart-list.for-dropship .product-item, .cart-product.for-select .product-item {
        min-height: 70px;
    }
    .cart-list.for-dropship .sum-item .price {
        width: 100% !important;
        margin-bottom: 25px;
    }
    .cart-list.for-dropship .sum-item .price strong {
        font-size: 14px;
        line-height: 20px;
    }
    .cart-list.for-dropship .sum-item {
        margin-top: -35px;
    }

    .cart-list.for-dropship .cart-product .item {
        border-bottom: 1px solid #EAEAEA;
        padding-bottom: 10px;
    }
    .cart-list.for-dropship .cart-product .item:after, .cart-list.for-dropship .cart-product .item:last-child:after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0px;
        width: 70px;
        border: 4px solid #fff;
        display: block !important;
    }

    .btn-add-product {
        margin: 10px auto;
        display: block;
        font-size: 12px;
        line-height: 18px;
        padding: 6px 20px;
    }

    .cart-sum-price {
        padding: 8px 15px 15px;
        margin-top: 30px;
    }
    .cart-sum-price span {
        text-align: right;
        float: right;
    }
    .cart-sum-price .col {
        margin-top: 5px;
        width: 100%;
        display: inline-block;
        text-align: left;
        font-size: 12px;
        line-height: 18px;
    }

    .hidden-desktop {
        display: block !important;
    }
    .hidden-mobile, span.hidden-mobile {
        display: none !important;
    }

    .d-summary {
        border-top: 8px solid #d88f21 !important;
    }
    .d-shipping .btn-box .btn.btn-action {
        padding: 0px;
    }
    .d-shipping .btn-box .btn {
        padding: 5px 12px;
    }

    .modal .modal-content.pd-40 .modal-header, .modal .modal-content.pd-40 .modal-body {
        padding-left: 15px;
        padding-right: 15px;
    }
    .modal .modal-content.pd-40 .modal-header .close {
        margin-right: 0px;
    }
    .modal .address-list .item {
        padding: 15px 50px 15px 15px;
    }
    .modal .address-list .btn-box {
        top: 50%;
    }
    .modal .address-list .btn-box .btn, .cart-product.for-select .btn.btn-select {
        font-weight: 400;
        font-size: 12px;
        min-width: 50px;
        padding: 2px 5px;
    }

    .form-search-address .search-box, .form-search-product .search-box {
        margin: 0px;
    }
    .form-search-address .form-control {
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .form-search-address .btn {
        padding: 8px 15px !important;
        font-size: 12px !important;
        line-height: 18px !important;
    }

    .form-search-product select.form-control {
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .cart-product.for-select .attr {
        margin: 0px;
        padding-left: 70px;
    }
    .cart-product.for-select .form-group {
        width: 100% !important;
        padding-right: 50px;
    }
    .cart-product.for-select .product-item {
        min-height: 35px;
    }
    .cart-product.for-select .form-group:last-child {
        position: absolute;
        top: 50%;
        right: 10px;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
        padding: 0px;
    }
    .cart-product.for-select .form-group:last-child .btn {
        float: right;
    }
    .cart-product.for-select .product-item p, .cart-product.for-select p {
        margin-top: 0px;
    }

    .panel.no-full {
        margin: 0px;
        width: 100%;
        border: 1px solid #EAEAEA !important;
        box-shadow: 0px 15px 45px -17px rgb(0 0 0 / 21%);
        border-radius: 15px;
    }

    .d-summary .note {
        font-size: 12px;
        line-height: 16px;
    }

    .d-title-payment {
        width: 100% !important;
        margin-top: -28px;
        text-align: center;
        z-index: 0;
        margin-bottom: 5px;
    }

    .d-order-list-title {
        font-size: 16px;
        line-height: 18px;
    }

    .payment-box .item {
        padding: 20px 25px 10px;
    }
    .payment-box h4, .payment-box .font-h4 {
        margin-bottom: 20px;
    }
    .payment-box hr {
        border: 0px;
        border-top: 7px solid #F4F4F4;
        height: 0px;
    }

    .d-order-list {
        margin-top: -10px;
        height: auto;
        margin-bottom: 50px;
    }
    .d-order-list .item {
        padding: 10px 30px;
        font-size: 12px;
        line-height: 14px;
    }
    .d-order-list .col {
        padding: 3px 0px;
    }

    .d-table-order thead {
        display: none;
    }
    .d-table-order .td-status {
        position: absolute;
        top: 10px;
        right: 10px;
        text-align: right;
    }
    .d-table-order {
        margin: 15px 0px;
        width: 100%;
    }
    .d-table-order td {
        font-size: 12px;
        line-height: 18px;
    }
    .d-table-order tr:first-child {
        border-top: 0px;
    }
    .d-table-order .btn {
        font-size: 12px;
        line-height: 16px;
        padding: 6px 15px;
        margin-top: 35px
    }
    .d-table-order span.hidden-desktop {
        display: inline-block !important;
    }
    .d-table-order td:first-child, .d-table-order th:first-child {
        padding-left: 15px !important;
    }
    .d-table-order td:last-child, .d-table-order th:last-child {
        padding-right: 15px !important;
    }
    .d-table-order td:first-child {
        padding-right: 0px !important;
    }
    .d-table-order .td-date {
        color: #555;
        padding-left: 46px !important;
        margin-top: -5px;
    }
    .d-table-order .text-icon.is-medium i {
        width: 22px;
        height: 22px;
        top: 2px;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
    }

    .d-order-title {
        font-size: 12px;
        line-height: 18px;
    }
    .d-form-search-history {
        position: relative;
    }
    .search-box .form-control {
        padding: 12px 20px;
        padding-left: 45px;
    }

    .d-report-result .table-responsive {
        margin-left: -15px;
        width: calc(100% + 30px);
        border: 0px;
    }
    .d-report-result .table th:first-child, .d-report-result .table td:first-child {
        padding-left: 15px !important;
    }
    .d-report-result .table th:last-child, .d-report-result .table td:last-child {
        padding-right: 15px !important;
    }

    /* 2022-06-23 */
    .btn-d-form-history {
        float: right;
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        padding: 8px 20px !important;
        margin-top: -32px;
    }

    .d-form-history {
        top: 0px;
        left: 0px;
        z-index: 3000;
        padding: 20px;
        position: fixed;
        width: 100%;
        height: auto;
        margin: 0px;
        display: none;
    }
    .d-form-history .inner {
        width: 100%;
        position: relative;
        background: #FFFFFF;
        border-radius: 10px;
        display: inline-block;
        padding: 20px;
    }
    .d-form-history .overlay {
        content: '';
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.8);
    }
    .d-history .tab.style-2 .nav-tabs {
        width: 100%;
    }
    .d-history .tab.style-2 .nav-tabs > li {
        width: 50%;
    }
    .d-history .tab.style-2 .nav-tabs > li > a > * {
        font-size: 14px;
        line-height: 16px;
    }
    .d-history .tab.style-2 .nav-tabs > li > a {
        padding: 15.5px 10px;
    }

    .panel-group.has-checkbox {
        padding-left: 32px;
    }

    .d-tracking .tracking-detail .btn {
        padding: 7px 12px;
    }
    .d-order .d-status {
        width: 140px;
        float: right;
        position: absolute;
        top: 16px;
        right: 15px;
    }

    /* 2022-11-13 */ 
    .select-all {
        margin-left: 0px;
    }
    .cart-list.for-dropship .cart-product .form-group:first-child {
        padding-right: 0px;
    }
    .cart-list.for-dropship .sum-item .price {
        margin-bottom: 5px;
    }
    .cart-list.for-dropship .sum-item .price strong {
        font-size: 16px;
        line-height: 22px;
        margin-top: 5px;
        display: inline-block;
    }
    .cart-list.for-dropship .sum-item .btn-action {
        float: right;
        padding-right: 0px;
        text-align: right;
    }
    .cart-list.for-dropship .qty-item {
        padding-left: 100px;
    }
    .cart-list.for-dropship .cart-product .item:after, .cart-list.for-dropship .cart-product .item:last-child:after {
        display: none !important;
    }

    /* 2022-12-19 */
    .modal .cart-product.for-select table, .modal .cart-product.for-select table tbody, .modal .cart-product.for-select table tbody tr, .modal .cart-product.for-select table tbody tr td {
        width: 100%;
        display: inline-block;
    }
    .modal .cart-product.for-select table thead {
        display: none;
    }
    .modal .cart-product.for-select table, .modal .cart-product.for-select .table-responsive {
        border: 0px;
    }
    .modal .cart-product.for-select table tbody tr {
        background: #1c1c1c;
        border: 1px solid #EAEAEA !important;
        border-radius: 15px;
        padding: 10px;
        margin-bottom: 15px;
        padding-left: 80px;
        position: relative;
        font-size: 15px;
    }
    .modal .cart-product.for-select table tbody tr td {
        border: 0px;
        padding: 0px;
        white-space: initial;
    }
    .modal .cart-product.for-select table tbody tr td:first-child {
        position: absolute;
        left: 10px;
        top: 10px;
        width: 55px;
    }
    .modal .cart-product.for-select table tbody tr td:first-child img {
        width: 55px;
        height: 55px;
    }
    .modal .cart-product.for-select table tbody tr td:nth-child(4) {
        width: 50%;
        display: inline-block;
    }
    .modal .cart-product.for-select table tbody tr td:nth-child(5) {
        width: 50%;
        float: right;
    }
    .modal .cart-product.for-select table tbody tr .btn {
        min-width: 100px;
        padding: 5px;
        margin-top: 5px;
    }
}

@media (max-width: 520px){
    /* 2022-12-11 */
    .cart-product.for-select .product-item .img {
        width: 55px;
        height: 55px;
    }
    .cart-product.for-select .form-group {
        padding-right: 70px;
    }
    .cart-product.for-select .product-item {
        padding-left: 70px;
    }
    .cart-product.for-select .form-group:last-child .btn {
        padding: 8px;
        font-size: 12px;
        line-height: 18px;
        min-width: 60px;
    }
}