* {
    box-sizing: border-box;
    --primary : #0b4697;
    --secondary :  #093b80;
    --active : #1974ef;
    --inactive : #688fb9;
    --light-grey:  #f4f7fc;
    --accent : #ff9c2b;
    --text-black : #31394d;
    --green : #35c634;
}

body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-grey);
}

header{
    background-color: var(--primary);
    color: #fff;
    padding:.75rem 1rem;
    height: 70px;

    display: flex;
    flex-direction: row;
    align-items: center;
}


header > img {
    height: 50px;
    width: auto;
    margin-left: calc(10% + 2px);
}


#brandLogos {
    margin-left: auto;
    background-color: var(--light-grey);
    height: 50px;
	padding: 10px;
}

.brandLogo {
	height: 30px;
	width: auto;
	margin-top: auto;
}

.container {
    width: 100%;
    padding: 10px;
    background-color: var(--light-grey);
    border-radius: 3px;
}

h1 {
    text-align: left;
    font-size: .875rem;
    font-weight: 400;
    margin: 1rem 2px;
    color: var(--active)
}

h1 > a:any-link {
    text-decoration: none;
    color: var(--active);
    cursor: pointer;
}

h1 > a:hover {
    text-decoration: underline;
    cursor: pointer;
}

h1 > span:last-child {
    color: var(--inactive);
}

form {
    margin-bottom: 20px;
    font-family: 'Lato', sans-serif;
}

label {
    display: inline-block;
    width: 100px;
    text-transform: uppercase;
    font-size: .85rem;
    color: var(--secondary);
    margin-bottom: .25rem;
}

input {
    margin-bottom: 10px;
    padding: 8px;
    width: calc(100% - 120px);

    height: 38px;
    padding: 5px 10px;
    border: 1px solid #9ab0c8;
    background-color: #fff;
    border-radius: 3px;
    width: 100%;
    caret-color: var(--primary);
    color: var(--text-black);
}

input:focus{
    background-color: var(--light-grey);
}

.dates-selection {
    display: flex;
    width:100%;
}

.dates-selection .input-tile{
    flex-grow:1;
    margin-right:10px;
}

input[type="datetime-local"], label[for="startDate"], label[for="endDate"]  {
    width: calc(100% - 10px);
    display: inline-block;
   
}

.inputCheckbox {
    margin-bottom: 10px;
    padding: 8px;
    width: auto;
}

button {
    padding: 10px 20px;
    margin-right: 10px;
    border: none;
    background-color: var(--green);
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    min-width: 120px;
}

button#addNewBtn {
    background-color: var(--active);
    margin-bottom: 20px;
    padding: 11px 10px;
    color: white;
    font-size: .875rem;
}

button.delete-btn {
    background-color: tomato;
}

button.edit-btn {
    background-color: var(--inactive);
}

button.reset-btn {
    background-color: var(--secondary);
}

.ab-container {
	display: flex;
	justify-self: flex-end;
}

.actionButton {
	font-family: 'Lato', sans-serif;
    font-size: 1rem;
	text-align: center;
	background-color: var(--secondary);
    padding: 11px 10px;
	color: #fff;
    cursor: pointer;
    border-radius: 4px;
    width: 130px;
	margin: 10px 0px 10px 10px;
}

#pageTitle {
	font-size: 1.5rem;
}

#crudTable-holder
{
    background-color: #fff;
    box-sizing: border-box;
    padding: 1.25rem;
    border-radius: 3px;
    box-shadow: 0 6px 12px 0 rgba(0, 0, 0, .03);
}

#crudTable th {
    position: relative;
    text-align: center;
    background-color: #f2f2f2;
	padding: 10px 0px;
}

#order-info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-family: 'Lato',sans-serif;
	font-size: .750rem;
    width:100%;
    box-sizing: border-box;
}

#order-info .info-boxes{
    display: flex;
    flex-direction: row;
    gap:12%;
    flex-wrap: wrap;
    width:100%;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
}

#order-info .info-boxes .info-holder
{
    display: flex;
    flex-direction: column;
    max-width:35%;
    flex-grow: 1;
    box-sizing: border-box;
    padding:1rem;
	font-size: .750rem;
}

.info-holder strong{
    font-size: .850rem;
}

.info-holder .info {
    font-size: .850rem;
}

table {
    width: 100%;
    border-collapse:collapse;
    border: none;
    margin-top: 1rem;
}

table, th, td {
    border: 0px solid #ddd;
}

th, td {
    padding: 0px;
    text-align: center;
    font-weight: 400;
    font-size: .750rem;
    
}

th {
    font-family: 'Lato',sans-serif;
    background-color: #f2f2f2;
    color: var(--secondary);
    background-color: var(--light-grey);
    font-weight: 400;
    font-size: .750rem;
    white-space: nowrap
}

a{
    color: var(--secondary);
}


a:any-link{
    color: var(--secondary);
}

a:active{
    color: var(--accent);
}



/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 20;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.32);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    border-radius: 3px;
}

#modalTitle{
    color: #093b80;
    font-weight: 700;
    display: block;
    height: 24px;
    font-size: 16px;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 1.25rem;
    font-weight: 400;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.hide {
	display: none;
}

.oc-table-container {
	display: flex;
	flex-direction: column;
	border: 1px solid #ddd;
	width: 200px;
}

.oc-table-row {
	display: flex;
	justify-content: space-between;
	padding: 5px 10px;
    
}

.oc-table-row:nth-child(odd){
    color: var(--green);
}
.oc-table-row:nth-child(even){
    color: tomato;
}

.oc-table-header {
	font-weight: bold;
}

.oc-filters {
    text-align: right;
    margin-right: 20px;
}

.oc-status-filter {
    height: 38px;
    padding: 5px;
	margin-top: 5px;
    padding: 5px 10px;
    border: 1px solid #9ab0c8;
    background-color: #fff;
    border-radius: 3px;
    width: 90%;
    caret-color: var(--primary);
    color: var(--text-black);
}

#orderDetailsModal .modal-content {
	margin: 5% auto;
}

/* Order Details styles */
.od-container {
	display: flex;
	justify-content: center;
	margin-top: 20px;
	font-size: .750rem;
}

.od-table-container {
	display: flex;
	flex-direction: column;
	border: 1px solid #ddd;
	padding: 20px;
	max-width: 800px;
	width: 100%;
}

.od-table-header, .od-table-row {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid #ddd;
}

.od-table-header {
	font-weight: bold;
}

.od-table-row {
	flex-wrap: wrap;
}

.od-table-fullrow div {
	text-align: center;
	flex-basis: 100%;
	padding: 10px;
}

.od-table-row div, .od-table-header div {
	flex-basis: 50%;
}

.od-errors {
	color: red;
}

.sub-header {
    color: #093b80;
    font-weight: 700;
    display: block;
    height: 24px;
    font-size: 13px;
}

#total {
	text-align: right;
}

#orderTableContainer {
  max-height: 75vh;
  overflow-y: auto;
}

#orderTable {
	margin-top: 0;
	border-spacing: 0;
	border-collapse: collapse;
}

#orderTable th, td {
	border: 1px solid #ddd;
	padding: 8px;
	width: 300px;
	overflow: hidden;
}

#orderTable thead {
  position: sticky;
  top: 0;
  z-index: 10;
  background: white;
  transform: translateZ(0);
}

#orderTable tbody {
	margin-top: 0;
}

#orderTable th {
	position: relative;
	text-align: center;
	background-color: #f2f2f2;
	cursor: pointer;
	vertical-align: top;
}

#orderTable .sort-controls button {
	font-size: 16px;
	font-weight: 700;
	min-width: 0;
    background: transparent;
    color: var(--green);
    padding: 0;
}

#orderTable .sort-controls {
	margin-left: 25px;
}

#orderTable .search-input {
	width: 90%;
	margin-top: 5px;
}

#orderItemsTableContainer {
  max-height: 500px;
  overflow-y: auto;
}

#orderItemsTable {
    table-layout: fixed;
	border-collapse: collapse;
	width: 100%;
	margin-top: 0;
}

#orderItemsTable thead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: white;
  border: 1px solid #ddd;
  transform: translateZ(0);
}

#orderItemsTable th, td {
	border: 1px solid #ddd;
	padding: 8px;
	width: 300px;
	overflow: hidden;
}

#orderItemsTable th {
	position: relative;
	text-align: center;
	background-color: #f2f2f2;
	cursor: pointer;
	vertical-align: top;
}

/* setting very high val to hide it for all screens */
@media(max-width: 5000px) {
	.hide-column {
		display: none;
	}
}

#reset-filters-btn {
	margin-top: 8px;
}

#orderImportModal .modal-content {
	width: 30%;
}

.topmenu {
	margin-left: auto;
}

.topmenuitem {
	margin: 0 10px;
}

.menuitem-image-container {
    position: relative;
    display: inline-block;
}

.counter {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: white;
    padding: 3px 3px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}

.tleft {
	text-align: left;
	padding-left: 10px;
}

.tright {
	text-align: right;
	padding-right: 10px;
}

#loginForm {
	max-width: 300px;
	margin-left: 20px;
}

.password-container {
	position: relative;
	width: 100%;
}

.password-container input {
	width: 100%;
	padding: 10px;
	padding-right: 40px;
	border: 1px solid #ccc;
	border-radius: 5px;
}

.password-container .toggle-icon {
    position: absolute;
    right: 10px;
    top: 55%;
    transform: translateY(-55%);
    cursor: pointer;
    font-size: 1.25rem;
}

.corner-banner {
    position: fixed;
    background: red;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    transform: rotate(-45deg);
    transform-origin: top right;
}

#healthCheckDetails {
	background-color: #fff3cd;
	color: #cd5c5c;
	border: 1px solid #ffeeba;
	padding: 16px;
	margin: 16px;
	border-radius: 2px;
	font-weight: 700;
	font-size: 16px;
}

.hide {
	display: none;
}

#popupContainer {
	display:none;
	position:absolute;
	z-index:1000;
	background:#fff;
	border:1px solid #ccc;
}

.custom-multiselect {
	position: relative;
	display: inline-block;
	width: 200px;
}

.custom-multiselect-display {
	border: 1px solid #ccc;
	padding: 6px;
	background: #fff;
	cursor: pointer;
}

.custom-multiselect-options {
	display: none;
	position: absolute;
	background: #fff;
	border: 1px solid #ccc;
	z-index: 1000;
	max-height: 300px;
	overflow-y: auto;
	width: 100%;
	box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.custom-multiselect-options label {
	display: block;
	padding: 5px 10px;
	cursor: pointer;
}

.custom-multiselect-options label:hover {
	background-color: #f0f0f0;
}

.ocSelectOptions {
	display: flex;
	flex-direction: column;
}

.ocStatusOption {
	display: flex;
	flex-direction: row;
}

.statusCheckBox {
	height: 18px;
	width: auto
}
.statusOptionLabel {
	margin: auto 0 auto 10px;
}

#ocDateFilter {
	font-size: 12px;
	text-align: center;
}