html {
    font-size: 14px;
}

html {
    min-height: 100vh;
}

body {
    min-height: 95vh;
    height: -webkit-fill-available;
    height: -moz-available; /* WebKit-based browsers will ignore this. */
    height: fill-available;
}

input:focus {
    outline-width: 0;
    outline: none;
}
.center{
    text-align:center;
}
a {
    text-decoration: none;
}
h1,
p {
    margin-bottom: 0;
}

table, th, td {
    border-collapse: collapse;
}

td {
    padding: 4px;
    vertical-align: bottom;
}

main {
    background: white;
}

.container-border {
    background: #73f5f5;
    padding-top: 12px;
    padding-bottom: 12px;
}

.market {
    width: 100%;
}

.market th {
    background: #fdc104;
    vertical-align: middle;
}

.market tr td {
    vertical-align: middle;
}

.market th,
.market td:first-child {
    text-align: center !important;
}

.market tr td:nth-child(2) {
    text-align: left;
    word-break: break-word;
}

.market tr td:nth-child(3) {
    text-align: center !important;
}

.market td:last-child {
    text-align: right !important;
}
.market tr td:nth-child(4) {
    width: 50px;
    text-align: center;
}

.market .table-heading {
    color: #1a0dab;
    background-color: #cfe2f3;
}

.quantity {
    text-align: center;
    width: 50px;
    vertical-align: middle;
}

#info-shop {
    color: #1a0dab;
    background: #fed966;
    font-weight: bold;
}

#info-shop,
#info-bank, #thank, #back {
    text-align: center !important;
}

#thank {
    color: red;
    font-weight: bold;
}

.red {
    color: red;
    font-weight: bold;
}
.blue {
    color: blue;
    font-weight: bold;
}

.summary {
    max-width: 150px;
    max-height: 150px;
    overflow-y: scroll;
    display: block;
    min-width: 100px;
}

.space-divide {
    height: 24px;
}

.receiver-info {
    width: 100%;
}

.receiver-info-table {
    width: 100%;
}

@media (max-width: 768px) {
    .seller-info-text {
        font-size: 14px;
    }

    .receiver-section {
        flex-wrap: wrap;
    }

    .space-divide {
        border-right: 1px solid black;
        border-left: 1px solid #000;
    }

    .receiver-image {
        min-width: 300px;
        width: 100%;
        margin-top: 24px;
    }
}

@media (min-width: 576px) {
    .seller-info-text {
        font-size: 14px;
    }

    .receiver-info-table {
        min-width: unset;
    }

    .receiver-image {
        min-width: 300px;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    .receiver-info {
        min-width: 400px;
    }

    .receiver-info-table {
        min-width: unset;
    }

    .seller-info-text {
        font-size: 16px;
    }
}

.thumbnail-container {
    width: 100%;
    height: 100%;
    display: block;
    align-items: center;
}

.img-content {
    display: none;
}

.img-container {
    display: none;
}

.img-content.active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding-left: 40px;
    padding-right: 40px;
}
.img-content.active img {
    max-height: 100%;
    max-width: 330px;
}
.img-content.active .img-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.img-content.active .img-container > i {
    text-align: right;
    margin-left: auto;
    font-size: 30px;
    color: white;
    margin-bottom: 8px;
}

.img-content.active .img-container > img {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: 8px;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #F90;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #F90;
    }

.connects a {
    display: inline-block;
    padding: 3px;
}

.connects img {
    width: 50px;
}

.icons {
    display: none;
    justify-content: space-evenly;
    align-items: center;
}

.mw-100 {
    width: 100%;
}

/* ----------- */
.contact-icon {
    width: 100%;
    height: 100%;
}

@media (max-width:576px) {
    .full-screen-border {
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }

    .main {
        padding-bottom: 0 !important;
        min-height: 80vh;
        max-width: 100%;
    }

    .main > div {
        min-height: 96vh;
    }

    .contact-table {
        height: 100%;
    }

    .contact-table td {
        border: none
    }

    .connects img {
        width: 35px;
    }
}

.user-textarea {
    width: 100%;
    border: 1px solid #ced4da;
    margin-top: 8px;
    padding: 5px 10px;
}


#img-bg {
    width: 100%;
    min-height: 80vh;
}

#img-leader {
    display: none;
    width: 100%;
    min-height: 60vh;
}

.img-thumbnail-content, .img-content {
    cursor: pointer;
}
.checkbox {
    width: 20px;
    height: 20px;
    vertical-align: text-bottom;
}
.input-control {
    width: 100%;
    padding: 0.375rem 0 0.375rem 0;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}
.ltcu {
    float: right;
    margin-top: -20px;
}
/*.mySlides {
    display: none
}*/
.mySlides img{
    width:100%;
}
#sdoc {
    display: none;
    position: fixed;
    top: 0;
}
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}
.prev, .next, .close {
    cursor: pointer;
    position: absolute;
    top: 0;
    padding: 0 15%;
    color: white;
    transition: 0.6s ease;
    user-select: none;
    min-height: 100%;
}
.next {
    right: 0;
}
.fad {
    animation-name: fade;
    animation-duration: 1.5s;
}
@keyframes fad {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.star-rating {
    margin: 5px;
    font-size: 0;
    white-space: nowrap;
    display: inline-block;
    width: 175px;
    height: 35px;
    overflow: hidden;
    position: relative;
    background: url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWdvbiBmaWxsPSIjREREREREIiBwb2ludHM9IjEwLDAgMTMuMDksNi41ODMgMjAsNy42MzkgMTUsMTIuNzY0IDE2LjE4LDIwIDEwLDE2LjU4MyAzLjgyLDIwIDUsMTIuNzY0IDAsNy42MzkgNi45MSw2LjU4MyAiLz48L3N2Zz4=');
    background-size: contain;
}
.star-rating i {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 20%;
    z-index: 1;
    background: url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWdvbiBmaWxsPSIjRkZERjg4IiBwb2ludHM9IjEwLDAgMTMuMDksNi41ODMgMjAsNy42MzkgMTUsMTIuNzY0IDE2LjE4LDIwIDEwLDE2LjU4MyAzLjgyLDIwIDUsMTIuNzY0IDAsNy42MzkgNi45MSw2LjU4MyAiLz48L3N2Zz4=');
    background-size: contain;
}
#ltfbs {
    max-height: 35vh;
    display: block;
    overflow-y: scroll;
}
#ltfbs input[type="radio"] {
    z-index: 0 !important;
}
#ltfbs .star-rating{
    float:right;
    margin-top:-20px;
}
#ltfbs .gfb {
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(0,0,0,.2);
    padding-bottom: 5px;
}
.data {
    width: 100px;
    height: 20px;
    margin: 0px;
}
.star-rating input {
    -moz-appearance: none;
    -webkit-appearance: none;
    opacity: 0;
    display: inline-block;
    width: 20%;
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: 2;
    position: relative;
}

    .star-rating input:hover + i,
    .star-rating input:checked + i {
        opacity: 1;
    }

.star-rating i ~ i {
    width: 40%;
}

.star-rating i ~ i ~ i {
    width: 60%;
}

.star-rating i ~ i ~ i ~ i {
    width: 80%;
}

.star-rating i ~ i ~ i ~ i ~ i {
    width: 100%;
}


.modal-content-product {
    width: 480px !important;
    overflow: hidden;
}

.modal-body-product {
    background-image: url(../images/border_bg.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 480px;
    height: 720px;
    padding: 27px 29px 30px 31px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-body-product .mySlides {
    height: 100%;
}

    .modal-body-product .mySlides > img {
        height: 100%;
    }

.modal-body-product .slideshow-container {
    margin: 0;
}

@media (max-width:450px) {
    .modal-content-product {
        width: 336px !important;
        overflow: hidden;
    }

    .modal-body-product {
        width: 336px;
        height: 504px;
        padding: 19px 21px 21px 22px !important;
    }
}
.search-feedback {
    width: 65px;
    font-size: small;
}
.modal-dialog-centered {
    justify-content: center;
}
#img-bnf {
    position: absolute;
    right: 0;
    top: 15px;
    width: 20%;
    display: none;
}

.modal-body-values {
    position: relative;
}

.modal-body-values-content {
    width: 95%;
    height: 85%;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    position: absolute;
}

.values-row {
    height: 20%;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.values-row.row-1 {
    height: 23% !important;
}

.values-row.row-2 {
    height: 17% !important;
}
.value-10, .value-1 {
    width: 47%;
}
.value-9, .value-7, .value-3 {
    width: 38%;
}

.value-2 {
    width: 42%;
}

.value-8 {
    width: 35%;
}

.value-4 {
    width: 42%;
}

.value-6 {
    width: 43%;
}

.value-5 {
    width: 45%;
}

.benefit-img {
    width: 100%;
    margin: 5% 0;
}
.benefit-heading {
    font-size: 28px;
    font-weight: 500;
    text-align: center;
    font-style: oblique;
}


.dtr-control {
    padding: 8px 10px 8px 30px !important;
    cursor: pointer;
    position: relative;
}

    .dtr-control::before {
        top: 50%;
        left: 5px;
        height: 1em;
        width: 1em;
        margin-top: -9px;
        display: block;
        position: absolute;
        color: white;
        border: 0.15em solid white;
        border-radius: 1em;
        box-shadow: 0 0 0.2em #444;
        box-sizing: content-box;
        text-align: center;
        text-indent: 0 !important;
        font-family: "Courier New",Courier,monospace;
        line-height: 1em;
    }

.parent .dtr-control::before {
    content: "+";
    background-color: #31b131;
}

.parent .hasChild.dtr-control::before {
    content: "-";
    background-color: #d33333;
}

/* CHILD-TD */
.child {
    display: none;
}

    .child.show {
        display: table-row;
    }

.child-td {
    width: 100%;
    padding: 8px 10px !important;
}

    .child-td ul {
        margin: 0;
        padding: 0;
        display: block;
    }

        .child-td ul li {
            list-style-type: none;
            text-align: left;
            text-indent: 0;
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid #efefef;
        }

            .child-td ul li:first-child {
                padding-top: 0;
            }

            .child-td ul li:last-child {
                border-bottom: none;
            }

.dtr-item .dtr-title {
    min-width: 75px;
    font-weight: bold;
}

.dtr-item .dtr-data {
}

.filter-date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 12px;
}

.choose-date {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}
/* POPUP ORDER DETAIL  */
#orderDetail {
}

.product-container {
    display: flex;
    align-items: center;
}

    .product-container:last-child {
        margin-bottom: 12px;
    }

.product-img {
    margin-right: 8px;
    border-radius: 50%;
    width: 50px;
}

.product-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px
}

    .product-list::-webkit-scrollbar {
        width: 8px !important;
    }

    .product-list::-webkit-scrollbar-thumb {
        border-radius: 8px !important;
        width: 8px !important;
    }

.product-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-weight: 500;
    font-size: 14px;
    padding-bottom: 8px;
    padding-top: 10px;
    padding-left: 4px;
    border-bottom: 1px solid #dedede;
    color: #000;
    width: 100%;
}

    .product-item:first-child {
        padding-top: 0;
    }

    .product-item:last-child {
        border-bottom: none;
        padding-bottom: 16px !important;
    }

    .product-item .product-quantity {
        text-align: right;
    }

    .product-item .product-name {
        width: 60%;
    }

        .product-item .product-name p {
            -webkit-line-clamp: 4;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

.total-cost {
    font-weight: 500;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid #dedede;
}

.total-heading {
    color: #77797f;
}


/* MODAL BODY ORDER DETAIL  */
.modal-body-order-detail {
    padding: 12px;
}

.date-td {
    cursor: pointer;
}

.no-data {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
@media (max-width:576px) {
    .contact-table {
        height: 100%;
        margin-bottom: 0 !important;
    }

    input[type="month"] {
        width: 140px;
    }
}

#values-body {
    height: 252px;
}

#csdlshare {
    justify-content: center;
    display: flex;
}
#csdlshare img {
    display:block;
}
#csdlshare span {
    display: block;
    text-align: center;
}
#title-db {
    cursor: pointer;
}
.db-icon {
    width: 50px;
}

#video, #image, #docs, #audio {
    display: none;
    width: 100%;
}

#video.show, #image.show, #docs.show, #audio.show {
    display: block;
}

#video.show .data-row, #image.show .data-row, #docs.show .data-row, #audio.show .data-row {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    column-gap: 28px;
    row-gap: 14px;
    max-height: 472px;
    overflow-y: auto;
    padding-right: 12px;
}

.db-icon-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 8px;
}

.db-data-item a {
    text-align: center;
    display: block;
    font-size: 16px;
    font-weight: 400;
    margin-top: 2px;
}
    .db-data-item a:hover {
        color: #ffbf00;
    }

.db-data-item a img {
    width: 100%;
    object-fit: cover;
    border-radius: 2px;
}

#myvd .modal-dialog {
    background-color: rgba(0, 0, 0, 0.8);
}
#myimg .modal-content {
    border: solid 0.8em;
    border-color: darksalmon navajowhite;
}
#img-share {
    max-width: 100%;
    max-height: 630px;
    display: block;
    margin: 0px auto;
}
.w30 {
    width: 30px;
}
#title-db .text-center {
    color: blue;
    font-weight: 600;
}
.name {
    color: coral;
}


#addLeader .modal-content {
    background: #F9F9F9;
}

#createUser .modal-body {
    padding: 0;
}

.form {
    padding: 10px 20px;
}

.form h1 {
    font-size: 1.5em;
    text-align: center;
    margin-bottom: 20px;
}

.form-field {
    margin-bottom: 12px;
}

.form-field label {
    display: block;
    color: rgba(0, 0, 0, 0.85);
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 4px;
}

.form-field input {
    border: 1px solid #D9D9D9;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    border-radius: 4px;
    padding: 9px 12px;
    margin-bottom: 4px;
    font-size: 14px;
    display: block;
    width: 100%;
    height: 40px;
}

.form-field input:focus {
    outline: none;
}

    .form-field.error input {
        border-color: #dc3545;
    }

    .form-field.success input {
        border-color: #28a745;
    }

    .form-field small {
        color: #dc3545;
        ;
    }

.btn {
    background: #007bff;
    color: #fff;
}

#orders .form-control {
    background-color: #fff;
    width: 35% !important;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.a2hs {
    top: 0px;
    width: 55%;
    height: 40px !important;
    animation: fadeInDown 3s;
    left: 0;
    position: absolute;
}
.a2hs-btn {
    width: 100%;
    height: 40px;
    border-width: 1px;
    font-weight: 500;
    white-space: normal;
    border-radius: 0.25rem;
    background-color: #ffc107;
}
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 18px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 13px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}
input:checked + .slider {
    background-color: #2196F3;
}
input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}
.slider.round {
    border-radius: 20px;
}
.slider.round:before {
    border-radius: 50%;
}
#spa-if {
    min-height: 85vh;
}
.modal-dialog {
    min-width: 99%;
    padding: 5px;
    margin: auto;
    min-height: 98%;
}
#spa .modal-dialog-centered {
    background: #73f5f5;
}

.abright {
    position: absolute;
    top: 10px;
    right: 8px;
    z-index: 99999;
}
#buynow {
    background: black;
    color: whitesmoke;
    font-weight: bold;
    border: solid 5px red;
    padding: 5px;
    cursor: pointer;
    border-radius: 20px;
}
#dlg {
    display: none;
    width: 50%;
    text-align: center;
    padding: 5px;
    border: 5px solid;
    border-image: linear-gradient(45deg, gold, deeppink) 1;
    clip-path: inset(0px round 10px);
    /*animation: huerotate 3s infinite linear; filter: hue-rotate(360deg);*/
    max-width: 200px;
}
#dlg input[type=button] {
    margin-top: 5px;
    padding: 2px;
    width: 85px;
    border-radius: 3px;
    height: 35px;
}
/*@keyframes huerotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rorate(360deg); }
}*/
#dacc {
    width: 100%;
    max-width: 180px;
}
#dmsg {
    text-align: left;
    color: red;
}