﻿/*@media (min-width:320px) {*/ /* smartphones, iPhone, portrait 480x320 phones */
/*}

@media (min-width:481px) {*/ /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
/*}

@media (min-width:641px) {*/ /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
/*}

@media (min-width:961px) {*/ /* tablet, landscape iPad, lo-res laptops ands desktops */
/*}

@media (min-width:1025px) {*/ /* big landscape tablets, laptops, and desktops */
/*}

@media (min-width:1281px) {*/ /* hi-res laptops and desktops */
/*}*/

:root {
    --gray: #777d82;
    --orange: #f6821f;
    --background: #dcdfe0;
    --text: #2356a6;
    /*--fontfamily: 'Roboto', sans-serif;*/
    --red: #db1e37;
    --lightred: #fe213e;
    --blue: #3e3b3b;
    --btnblue: #245fe1;
    --blueblur: rgb(35 86 166 / 0.75);
    --lightblue: #3272d7;
    --lightbluemore: rgb(35 86 166 / 0.65);
    --green: #1d680c;
    --lightgreen: #35b018;
    --lightgreenmore: rgb(53 176 24 / 0.65);
    --yellow: #dead15;
    --lightyellow: #e2b632;
    --darkgray: #4e5255;
    --lightgray: #dcdfe0;
    --lightgraymore: rgb(220 223 224 / 0.87);
    --darkorange: #b45d14;
    --lightorange: #fa9642;
    --lightorangemore: rgb(250 150 66 / 0.79);
}

.vscomp-toggle-button {
    border-color: var(--gray);
}

.disabled {
    pointer-events: none;
}

input.disabled, input[type=text].disabled, input[type=number].disabled, input[type=date].disabled, input[type=datetime].disabled, input[type=datetime-local].disabled {
    color: var(--gray) !important;
}

.buttonround {
    min-width: 30px;
    max-width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background-color: var(--gray);
    flex: 0;
    font-size: 13px;
    box-shadow: 0 2px 2px 0 rgb(95 186 233 / 40%);
    text-align: center;
    color: #fff;
}

.titleflex {
    display: flex;
    margin-top: 30px;
}

    .titleflex > div {
        margin-right: 25px;
    }

.flex-element {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .flex-element > div {
        flex-basis: 100%;
    }

        .flex-element > div:not(:last-child) {
            padding-right: 5px;
        }

body {
    margin: 0;
    justify-content: space-between;
    background-size: cover;
    color: #3e3b3b;
}

.ajaxLoading {
    cursor: progress !important;
}

table td > input {
    max-width: 100% !important;
    width: 90% !important;
}

    table td > input[type=date] {
        max-width: 140px !important;
    }

element.style {
    display: block;
}


.sumnote button {
    width: unset;
}

.note-modal-content {
    top: 20%;
}

.note-modal-backdrop {
    position: inherit;
    z-index: 0 !important;
}

.closescanCode {
    color: #000;
}

.tip {
    text-decoration: none;
}

    .tip:hover {
        position: relative;
    }

    .tip span {
        display: none;
    }

    .tip:hover span {
        top: 75%;
        padding: 10px;
        display: inline-block;
        z-index: 1;
        position: absolute;
        font-size: 13px;
        white-space: nowrap;
        box-shadow: inherit;
        background: var(--orange);
        color: #000;
        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsU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4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==);
    }

.tip-left:hover span {
    left: 55%;
}

.tip-right:hover span {
    right: 40%;
}

.textbox input[type='text'], .textbox input[type='email'], .textbox input[type='date'] {
    border-radius: 0;
    border-top: 0px !important;
    border-left: 0px !important;
    border-right: 0px !important;
    border-bottom: 1px solid #ccc;
    font-size: 14px;
    background-color: transparent;
    padding: 5px;
    margin-bottom: 5px;
    box-sizing: border-box;
}

.textbox input[type='text'], .textbox input[type='email'] {
    font-size: 16px;
}


    .textbox input[type='text']:focus, .textbox input[type='email']:focus {
        border: 1px solid var(--orange);
        outline: none !important;
        box-shadow: none;
        background-color: transparent;
    }

.gridcontent:nth-child(2n + 1) {
    background-color: rgb(246 130 31 / 0.28);
    padding: 20px;
}

.gridcontent:nth-child(2n) {
    background-color: #ccc;
    padding: 20px;
}

.fontdefault {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}

.vscomp-ele {
    max-width: 100%;
    min-width: 0% !important;
    font-weight: normal !important;
}

svg {
    pointer-events: none;
}

a {
    text-decoration: none;
    color: #000000;
}

    a:hover {
        cursor: pointer;
    }

input:focus {
    outline: none;
}

textarea:focus {
    outline: none;
}

button:hover {
    cursor: pointer;
}

.nodisplay {
    display: none;
}

.input-style {
    border-radius: 5px;
    border: 1px solid rgb(182 182 182 / 0.65);
    padding: 0 10px;
    font-size: 17px;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
}

input.input-style {
    height: 36px;
}

.khacfont {
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
}

.a-type-button {
    border-radius: 0.25rem;
    text-align: center;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: rgb(0 0 0 / 2%) 0 1px 3px 0;
    box-sizing: border-box;
    color: rgba(0, 0, 0, 0.85);
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    line-height: 1.25;
    position: relative;
    text-decoration: none;
    transition: all 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    box-shadow: 0 2px 2px 0 rgb(95 186 233 / 40%);
    width: auto;
    white-space: nowrap;
    padding: 0 10px;
    font-size: 13px;
    color: #dcdfe0;
    height: 36px;
    box-sizing: border-box;
    line-height: 36px;
}

    .a-type-button:hover {
        color: #fff;
    }

    .a-type-button:not(:last-child) {
        margin-right: 5px;
    }

    .a-type-button > i {
        margin: 0 5px;
    }

    .a-type-button > svg {
        height: 13px;
        width: 13px;
    }

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

    .modal .show {
        visibility: visible;
        opacity: 1;
        -webkit-transition: opacity 1000s linear;
        transition: opacity 1000s linear;
    }

    .modal .hide {
        visibility: hidden;
        opacity: 0;
        -webkit-transition: visibility 0s 1000s, opacity 1000s linear;
        transition: visibility 0s 1000s, opacity 1000s linear;
    }

/*Modal Content*/
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 10px 20px;
    border: 1px solid #888;
    width: 80%;
    min-width: 50% !important;
    max-height: 75%;
    overflow: auto;
}

/*The Close Button*/
span.close {
    color: #000;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    span.close:hover,
    span.close:focus {
        color: var(--orange);
        text-decoration: none;
        cursor: pointer;
    }

@keyframes blink {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.inputgroup {
    border-radius: 30px;
    border: 2px solid rgb(182 182 182 / 0.45);
    height: 30px;
    line-height: 30px;
    padding: 5px 10px 5px 10px;
    display: block;
    margin: 5px 0 5px 0;
}

    .inputgroup > span {
        display: inline-block;
        width: 110px;
        border-right: 2px solid #ccc;
    }

        .inputgroup > span > svg {
            height: 13px;
            width: 13px;
        }

    .inputgroup > input {
        border: none;
        height: 15px;
        padding-left: 10px;
        background-color: transparent;
        font-size: 16px;
        width: calc(100% - 150px);
    }

#myModal > .modal-content > #imgLogo {
    height: 80px;
    text-align: center;
}

    #myModal > .modal-content > #imgLogo > img {
        height: 100%;
        width: auto;
    }

#myModal > .modal-content > div > .a-type-button {
    background-color: var(--orange);
    margin: 15px 0 25px 0;
    display: block;
}

.timkiem {
    background-color: rgb(204 204 204 / 0.10);
    border-radius: 30px;
    border: 2px solid rgb(182 182 182 / 0.45);
    height: 30px;
    line-height: 30px;
    padding: 6px 10px 6px 10px;
    display: flex;
    flex-direction: row;
    flex: 100;
}

    .timkiem > svg {
        height: 13px;
        width: 13px;
        margin-top: 8px;
        margin-right: 5px;
    }

    .timkiem > input {
        border: none;
        font-size: 14px;
        background-color: transparent;
    }

.visible {
    opacity: 0;
}

    .visible > * {
        display: none;
    }

#menu {
    display: flex;
    align-items: center;
    flex-direction: row;
    /*height: 8vh;*/
    padding: 10px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 3;
    flex-wrap: wrap;
    justify-content: space-between;
}

    #menu > a {
        min-height: 40px;
        display: flex;
        align-items: center;
    }

    #menu .btnThongTinNguoiDung {
        font-size: 18px;
        padding: 0 10px;
    }

    #menu .timkiem {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    #menu #subMenuRight {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    #menu #dvmenutimkiem {
        background-color: transparent;
        flex: 1;
    }

    #menu #btnHome > div {
        background-color: var(--gray);
        color: #fff;
        width: 35px;
        height: 35px;
        line-height: 35px;
        text-align: center;
        border-radius: 50%;
        margin-left: 10px;
        border: 2px solid var(--orange);
    }


@media(max-width: 866px) {
    #menu .timkiem {
        margin: 0;
    }

    #menu #subMenuRight {
        flex: 1;
    }

    #menu #dvmenutimkiem {
        background-color: #fff;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 10px;
    }

    #menu #menutimkiem {
        margin-left: 0 !important;
    }
}

/*#menu #btnHome {
    position: relative;
    font-size: 18px;
    margin: 0 14px 0 8px;
}

    #menu #btnHome #dot {
        position: absolute;
        top: 30%;
        left: 103%;
        width: 6px;
        height: 6px;
        background-color: var(--orange);
        border-radius: 50%;
    }*/

#menu #khuyen-mai {
    animation-duration: 600ms;
    animation-name: blink;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    padding-right: 0px;
}

    #menu #khuyen-mai > svg {
        fill: var(--orange);
    }

#menu #btnDangNhap {
    background-color: var(--lightgray);
    color: var(--gray);
    border: 0;
    margin: 0 13px;
}

    #menu #btnDangNhap:hover {
        color: var(--orange);
    }

/*    #menu #btnDangKy {
        background-color: var(--orange);
    }

        #menu #btnDangKy:hover {
            color: #fff;
        }*/

#menu > a:first-child {
    border-radius: 50%;
    height: 60px;
    width: 60px;
}

#menu > .home:hover {
    background-color: #f1f1f1;
}

#menu > #imgHome {
    min-width: 40px;
}

#menu > a > img {
    min-height: 60px;
    min-width: 60px;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

#menu > a > svg {
    height: 30px;
    width: 30px;
}

#menu > #ccSoLuongHangHoa {
    margin-right: 10px;
}

#menu > .dropdown {
    margin-left: 10px;
}

    #menu > .dropdown > #btnOther {
        height: 30px;
        width: 30px;
        padding: 0;
        border: 2px solid rgb(182 182 182 / 0.45);
        border-radius: 50%;
    }

        #menu > .dropdown > #btnOther > svg {
            height: 15px;
            width: 15px;
            margin-top: 10px;
            margin-left: 7px;
        }

#bodypage {
    padding: 0 10px;
    margin-top: 85px;
    /*margin-bottom: 30px;*/
}

.dropbtn {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background-color: transparent;
    background-color: #f1f1f1;
}

    .dropbtn:hover, .dropbtn:focus {
        background-color: #ccc;
    }

.dropdown {
    float: right;
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 270px;
    overflow: auto;
    box-shadow: 0px 8px 10px 0px rgba(0,0,0,0.2);
    right: 0;
    background-color: #fff;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    margin-top: 5px;
}

    .dropdown-content a {
        color: black;
        padding: 10px 30px 10px 30px;
        text-decoration: none;
        display: block;
    }

.dropdown a:hover {
    background-color: #f1f1f1;
}

.show {
    display: block;
}

#menu #myDropdown .showondropdown {
    text-align: center;
}

    #menu #myDropdown .showondropdown > a:first-child {
        background-color: #ccc;
    }

        #menu #myDropdown .showondropdown > a:first-child:hover {
            color: var(--orange);
        }

    #menu #myDropdown .showondropdown > a:nth-child(2) {
        color: #000;
        flex: 100;
        background-color: var(--orange);
    }

        #menu #myDropdown .showondropdown > a:nth-child(2):hover {
            color: #ccc;
        }

#menu #myDropdown .showonlogin {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
    margin-bottom: 10px;
}

    #menu #myDropdown .showonlogin > a {
        display: none;
    }

        #menu #myDropdown .showonlogin > a:hover {
            background-color: #fff;
            color: var(--orange);
        }

    #menu #myDropdown .showonlogin > a {
        padding: 8px;
    }

    #menu #myDropdown .showonlogin .childquantri {
        background-color: var(--orange);
    }

        #menu #myDropdown .showonlogin .childquantri:hover {
            background-color: var(--orange);
            color: #fff;
        }

    #menu #myDropdown .showonlogin > #quan-tri {
        background-color: #ccc;
        pointer-events: none;
        padding-left: 15px;
        padding-right: 15px;
    }

#menu #myDropdown .iconmenu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
    padding: 0 15px;
}

    #menu #myDropdown .iconmenu > a {
        padding: 10px;
        pointer-events: unset;
        text-align: center;
        font-size: 28px;
    }

        #menu #myDropdown .iconmenu > a:hover {
            background-color: #fff;
            color: var(--orange);
        }

        #menu #myDropdown .iconmenu > a.disabled {
            pointer-events: none;
            color: var(--lightgray);
        }

        #menu #myDropdown .iconmenu > a > svg {
            height: 30px;
            width: 30px;
        }

#menu #myDropdown .showondropdown {
    display: none;
}

#myModal > .modal-content {
    width: 30%;
}

@media (max-width:961px) {
    #myModal > .modal-content {
        width: 40%;
    }
}

@media (max-width:735px) {
    #btnHome {
        display: none;
    }

        #btnHome #dot {
            display: none;
        }

    #myModal > .modal-content {
        width: 50%;
    }
}

@media (max-width:648px) {
    #btnDangNhap {
        display: none;
    }

    #btnDangKy {
        display: none;
    }

    #menu #myDropdown .showondropdown {
        display: block;
    }

    #myModal > .modal-content {
        width: 60%;
    }
}

@media (max-width:481px) {
    #khuyen-mai {
        display: none;
    }

    #menu > label > input {
        width: 50%;
    }

    #myModal > .modal-content {
        width: 80%;
    }
}

#scanCodeWrap {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 3;
    display: none;
}

#closescanCode {
    text-align: center;
    width: 100%;
    color: #fff;
    font-size: 60px;
    background: rgb(182 182 182 / 0.80);
    max-height: 82px;
    min-height: 82px;
    height: 82px;
}

#scanCode {
    width: 100%;
}

    #scanCode video {
        height: 100%;
    }

.dvTableWrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

    .dvTableWrap > div {
        width: 100%;
        height: 100%;
        overflow-x: auto;
        box-sizing: content-box;
    }

.tablink {
    background-color: #555;
    color: #fff;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    font-size: 17px;
    width: 25%;
    font-family: 'Nunito', sans-serif;
    white-space: nowrap;
}

    .tablink:hover {
        background-color: #777;
    }

/* Style the tab content (and add height:100% for full page content) */
.tabcontentwrap .tabcontent {
    color: #000;
    display: none;
    padding: 50px 20px;
    height: inherit;
}

    .tabcontentwrap .tabcontent:nth-child(1) {
        background-color: rgb(246 130 31 / 0.40);
    }

    .tabcontentwrap .tabcontent:nth-child(2) {
        background-color: rgb(41 162 57 / 0.40);
    }

    .tabcontentwrap .tabcontent:nth-child(3) {
        background-color: rgb(36 95 225 / 0.40);
    }

    .tabcontentwrap .tabcontent:nth-child(4) {
        background-color: rgb(255 165 0 / 0.40);
    }

#menu #btnShoppingCart {
    font-size: 1.7rem;
    padding: 0 2px 0 13px;
}

    #menu #btnShoppingCart:hover {
        color: var(--lightorange);
    }

#msg {
    position: fixed;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

    #msg #msgcontent {
        background-color: #fff;
        box-shadow: 0 0 8px rgb(0 0 0 / 20%);
        padding: 10px 30px;
        margin: 0 auto;
        border-radius: 8px;
        display: none;
        font-size: 20px;
    }
