/* user group page */

.user_group_table>thead {
    background: lightgrey;
}

.user_group_table {
    width: 100%;
    border: 1px solid lightgray;
}

.user_group_table>thead>tr>th:not(:first-child) {
    vertical-align: middle;
    text-align: center;
    padding: 5px;
}

.user_group_table>thead>tr>th:first-child {
    vertical-align: middle;
    text-align: left;
    padding: 5px;
}

.user_group_select_all {
    padding-right: 5px;
}

.user_group_table>tbody>tr {
    border: 1px solid #ccc;
}

.user_group_table>tbody>tr>td:first-child {
    padding: 5px;
}

.user_group_table>tbody>tr>td:not(:first-child) {
    text-align: center;
    padding: 5px;
}

/* order report css*/
.diagram-table-first-row td {
    border-top: 0.5px solid #000;
    padding: 3px 10px !important;
}

.diagram-table td {
    border-right: 1px solid #000;
    padding: 3px 10px !important;
}

@media print {
    @page {
        size: landscape;
    }
}

/* real time css*/
.diagram-table2-first-row td {
    border-top: 0.5px solid #000;
}

.diagram-table2 td {
    border-right: 1px solid #000;
    text-align: center;
}

.diagram-table2 th {
    text-align: center;
}

@font-face {
    font-family: "Amatic SC Bold";
    src: url("../font/AmaticSC-Bold.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Amatic SC";
    src: url("../font/AmaticSC-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* header nav bar style */
:where(.css-dev-only-do-not-override-1vmm4gt) a {
    color: #000 !important;
    text-decoration: none;
    background-color: transparent;
    outline: none;
    cursor: pointer;
    transition: color 0.3s;
    -webkit-text-decoration-skip: objects;
}

:where(.css-dev-only-do-not-override-1vmm4gt) a:hover,
:where(.css-dev-only-do-not-override-1vmm4gt) a:active {
    color: green !important;
    text-decoration: none !important;
}

.ant-menu-horizontal,
.ant-menu-item::after,
.ant-menu-submenu::after {
    border: none !important;
}

/* change carousel style*/
/* Adjust the position of the Carousel dots */
.ant-carousel-dots {
    position: absolute;
    bottom: 20px;
    /* Adjust this value as needed to control the vertical position */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    /* Make sure dots appear above the content */
}

/* Adjust the appearance of the dots */
.ant-carousel-dot {
    background-color: #009640;
    /* Change to your desired dot color */
    width: 10px;
    /* Adjust dot width */
    height: 10px;
    /* Adjust dot height */
    margin: 0 5px;
    /* Adjust the space between dots */
    transition: background-color 0.3s;
    /* Add a transition effect for color change */
}

/* Adjust the appearance of the active dot */
.ant-carousel-dot-active {
    background-color: white;
    /* Change to your desired active dot color */
}

/* vegetables style*/
/* Style for the row containing menu items */
.row.gy-5 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Style for each menu item */
.menu-item {
    flex: 0 1 calc(33.3333% - 10px);
    /* Adjust the width as needed */
    margin-bottom: 20px;
    padding: 0 5px;
    text-align: center;
}

/* Style for menu item image */
.menu-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Style for menu item title */
.menu-item h4 {
    margin-top: 10px;
    font-size: 20px;
    font-weight: bold;
}

/* Style for menu item description */
.menu-item .ingredients {
    margin-top: 10px;
    font-size: 16px;
}


/* style for order report */
.grid {
    display: flex;
    flex-wrap: wrap;
}

.box {
    flex: 1;
    border: 1px solid black;
    display: flex;
    flex-direction: column;
    min-width: 100px;
}

.box-header {
    border-bottom: 1px solid black;
    padding: 5px;
    background-color: #eee;
}

.box-content {
    flex-grow: 1;
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.box-footer {
    border-top: 1px solid black;
    padding: 5px;
    background-color: #eee;
    text-align: center;
}

.row {
    page-break-inside: avoid;
}

.highlight-row {
    color: red
}

/* mobile theming */

.primary-theme {
    --adm-color-primary: #1a7226;
    --adm-color-weak: #6FAF68;
}

.btn-primary {
    background-color: #21902F;
    color: white;
}

.grid-block {
    background-color: white;
    text-align: center;
    overflow: hidden;
    border: 0;
    width: 100%;
    color: black;
    height: 25vh;
}

.column-container {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

.footer {
    background-color: white;
    align-content: start;
    height: max-content;
    text-align: center;
}

.purchase-search-header {
    padding: 12px;
    display: flex;
    align-items: center;
}

.search-header-left {
    flex: auto;
}

.search-header-right {
    flex: none;
    padding-left: 12px;
}

.contentFull {
    height: 100%;
    min-height: 70vh;
    display: block;
    width: 100%;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    user-select: none;
    padding-right: 15px
}

.overlayContent {
    position: absolute;
    text-align: center;
    top: 22%;
    width: 100%;
    height: 40vh;
    background: transparent;
}