﻿.container {
    display: grid;
    grid-template-columns: 30% auto 30%;
    grid-template-rows: 160 60 auto;
    grid-column-gap: 8px;
    grid-row-gap: 8px;
}

.table {
    grid-area: 1 / 1 / 2 / 2;
}

.totalArea {
    grid-area: 1 / 3 / 2 / 4;
    padding-top: 20px;
}

.logo {
    grid-area: 1 / 2 / 2 / 3;
}

.itemSelection {
    grid-area: 3 / 1 / 4 / 4;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    justify-items: center;
}

.item1 {
    grid-area: 1 / 1 / 2 / 2;
}

.item2 {
    grid-area: 1 / 2 / 2 / 3;
}

.category1 {
    grid-area: 2 / 1 / 3 / 2;
}

.category2 {
    grid-area: 2 / 1 / 3 / 3;
}

.category3 {
    grid-area: 2 / 3 / 3 / 4;
}

.bd {
    border: 2px solid black;
    background-color: #60C3D6;
    border-radius: 6px;
    text-align: center;
}

.border_1_3 {
    padding: 10px;
    border-width: 8px 25px;
}

.border_2 {
    padding: 5px;
    border-width: 10px 35px;
}

.img {
    width: 280px;
    height: 250px;
}

.item {
    border-width: 2px 2px;
    padding: 10px;
    grid-column-gap: 15px;
    text-align: center;

    /*2023-03-10 from 1rem change to 0rem*/
    margin-bottom: 0rem;
}

.itemBox {
    border: 0.25px solid #808080; /*5px solid black*/
    max-inline-size: min-content;
    min-height: 390px;
    min-width: 282px;
    max-width: 282px;
    max-height: 400px;
}

.buttonArea {
    text-align: center;
}

.btnColor {
    background-color: #F2F2F2;
    color: #535353;
}

/*for Order_1 to Order_5*/
/*.total {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(80%, 20%);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.total_1 {
    grid-area: 1 / 1 / 2 / 2;
}

.total_icon_review {
    grid-area: 1 / 1 / 2 / 3;
    text-align: -webkit-right;
}

.total_icon {
    grid-area: 2 / 1 / 3 / 3;
    text-align: -webkit-right;
    padding-top: 10px;
}*/



/*2023-02-14 - Start from Order_6*/
.total {
    display: grid;
    /*grid-template-columns: 60% 1fr;
    grid-template-rows: repeat(80%, 20%);*/
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.total_1 {
    grid-area: 1 / 1 / 2 / 2;
}

.total_icon_review {
    grid-area: 1 / 1 / 2 / 3;
    text-align: center;
}

.total_icon {
    grid-area: 2 / 1 / 3 / 3;
    text-align: -webkit-right;
    padding-top: 30px;
    padding-left:10px
}

.total_qty {
    grid-area: 1 / 1 / 2 / 2;
    text-align: -webkit-right;
}
/*end*/

.searchbox {
    font-size: 20px;
    width: 100%;
    height: 100%;
    border: 1px solid #ccc;
    padding-left: 45px;
}

.input-icon-searchbox {
    position: absolute;
    padding-top: 18px;
    padding-left: 10px;
}


/*2023-01-20*/
.Group1 {
    font-size: 30px;
    background-color: #FFCE82;
    border: none;
    text-align: center;
    width: 100%
}

.buttonCategory {
    border-color: #60C3D6;
    background-color: #60C3D6;
    text-align: center;
    color: black;
}

.buttonCategory:hover, .buttonCategory:focus {
    border-color: #60C3D6;
    background-color: #60C3D6;
    text-align: center;
    color: black;
}

.p {
    margin-bottom: 0rem;
}

.AddToCart {
    width: 100%;
    font-size: 30px;
    background-color: #00639E;
    height: 2em;
    padding-block: initial;
    margin-top: 3px;
}

.AddToCart:hover, .AddToCart:focus {
    width: 100%;
    font-size: 30px;
    background-color: #008EE3;
    height: 2em;
    padding-block: initial;
    margin-top: 3px;
}









/*2023-02-20*/
.SummaryBottom {
    overflow: hidden;
    position: fixed;
    bottom: 0;
    left: 0px;
    width: 100%;
    background-color: #DEEBF4; /* #FDCD82;*/
}

.Summary {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 70% 30%;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.summaryTopRow {
    grid-area: 1 / 1 / 2 / 2;
}

.SummaryBottomRow {
    grid-area: 2 / 1 / 3 / 2;
}

.img_Small {
    width: 150px;
    height: 150px;
}


/*2023-02-28*/
.floating-panel {
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 1;
    background-color: white;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
    width: 100%;
    display: grid;
}


.border_Remark {
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.buttonDSB:disabled {
    background-color: #D3D3D3;
}


/*2023-03-23*/
.spinner {
    border: 16px solid silver;
    border-top: 16px solid #00639E;
    ;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 50%;
    position: absolute;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}


/*2023-05-30*/
:root {
    --primary: #053ea8;
}

.radioGroup {
    width: 100%;
    background: white;
    border: 1px solid white;
    border-radius: 3px;
    text-align: left;
}

.radioGroup input[type="radio"] {
    display: none;
}

.radioGroup input[type="checkbox"] {
    display: none;
}

.radioGroup .active-label {
    color: var(--primary);
}

.radioGroup label {
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    display: block;
    padding: 1rem 1rem 1rem 3rem;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.15s ease;
}

.radioGroup label:focus, .radioGroup label:hover, .radioGroup label:active {
    color: var(--primary);
}

.radioGroup label:first-of-type {
    border: 0;
}

.radioGroup label:before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 40%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 0.2rem solid #ccc;
}

.radioGroup input:checked + label {
    color: var(--primary);
}

.radioGroup input:checked + label:before {
    border-color: white;
    border: none;
    background: var(--primary);
}

.radioGroup input:disabled + label {
    background: #efefef;
    color: rgba(0, 0, 0, 0.5);
    cursor: not-allowed;
}

.radioGroup input:disabled + label:hover {
    border-color: rgba(0, 0, 0, 0.1);
}

.radioGroup input:disabled + label:before {
    border-color: white;
    background: white;
}
