:root{
	--main-color:  #0B3146;
	--secondary-color:  #dddddd;
	--tertiary-color:  #28B2FC;
	--complementary-color:  #B06300;
	--complementary-second-color:  #FCA028;

	--positive-color: green;
	--negative-color: #dd2020;
	--danger-color: orange;

	--main-title-color:  #000000;
	--main-text-color:  #212121;
	--secondary-text-color:  #5c5c5c;
	--order-status--1: #9b0c0c;
	--order-status-0: #0d88dc;
	--order-status-1: #1f9b0c;
	--order-status-2: #9b7d0c;
	--card-border-radius: 15px;

	--card-shadow: 4px 4px 12px #d1d1d1;
	--card-shadow-mitigate: 0px 0px 6px #d1d1d1;
	--card-shadow-smooth: 0px 0px 20px #eaeaea;
	--card-shadow-3d-effect: inset 0px 0px 5px #d5d5d570;

	--card-padding:  10px;

	--header-height: 85px;

	--chart-color-1: #b99165; /* Brun chaud */
	--chart-color-5: #d1ab87; /* Brun plus clair */
	--chart-color-2: #146a8a; /* Bleu plus foncé */
	--chart-color-10: #5aaed6; /* Bleu clair */
	--chart-color-3: #f0563b; /* Rouge orangé */
	--chart-color-9: #ffa07a; /* Pêche */
	--chart-color-4: #3292b5; /* Bleu moyen */
	--chart-color-8: #084b6d; /* Bleu foncé */
	--chart-color-6: #a7d129; /* Vert vif */
	--chart-color-7: #f3d2ae; /* Beige clair */
}

@media screen and (max-width: 714px){
	:root{
		--card-padding:  10px;
	}
}

@media screen and (max-width: 1200px){
	:root{
		--card-padding:  10px;
	}
}

/*

STATUS COLORS

*/

.order-status-2{
	color: var(--order-status-2);
}
.order-status-1{
	color: var(--order-status-1);
}
.order-status-0{
	color: var(--order-status-0);
}
.order-status--1{
	color: var(--order-status--1);
}
.status-0{
	color: var(--negative-color);
}
.status-2{
	color: var(--danger-color);
}
.status-1{
	color: var(--positive-color);
}

/* ------------------------- */





*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	scroll-behavior: smooth;
	scroll-margin: 100px;
	touch-action: manipulation;
	color: inherit;
	/*outline: 1px solid limegreen !important;*/
}
body, html{
	position: relative;
	min-height: 100vh;
	overflow-x: hidden;
	width: 100vw;
}
.view-title{
	color: var(--main-color);
    font-weight: bold;
    font-size: 2em;
    padding: 0px var(--card-padding);
    letter-spacing: 2px;
}
noscript{
    padding: 20px;
    background: red;
    color: white;
    font-weight: bolder;
    font-variant: all-petite-caps;
    font-size: 1.3em;
}
a{
	text-decoration: none;
}
a:visited{
	text-decoration: none;
}
.header .loading_animation_container {
    display: none;
}
#content{
	padding: var(--card-padding);
    min-height: calc(100vh - var(--header-height));
    /*background: url(../src/signuploginbg.jpg);*/
    background-size: cover;
    background-attachment: fixed;
}
.date.title {
    font-size: .7rem;
    font-weight: bold;
}

.interactive{
	transition: all 0.2s ease-in;
	background: #ffffff;
}
.interactive:hover{
	box-shadow: var(--card-shadow);
}
.card-header{
	font-variant: all-petite-caps;
	font-size: 1.6em;
	font-weight: bold;
    margin: 8px 0px;
}
.card-content{
	font-variant: all-petite-caps;
	font-size: 0.85em;
	line-height: 0.85em;
	color: var(--secondary-text-color);
}

span.complementary {
    color: var(--complementary-color);
}

/*

error image

*/
.error-img img {
    max-width: 220px;
}
.error-img {
    margin: auto;
    text-align: center;
    color: var(--complementary-color);
    font-weight: bold;
    font-size: 1.4rem;
    font-variant-caps: all-petite-caps;
}

/*

HEADER

*/
section.header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-content: center;
    flex-direction: row;
    position: sticky;
    top: 0;
    background: #ffffff7a;
    box-shadow: var(--card-shadow-mitigate);
    z-index: 12;
    min-height: var(--header-height);
    padding-right: 20px;
    backdrop-filter: blur(3px);
}
.header__details{
	color: #313131;
	font-size: 2em;
}
.header-icon {
    width: 2em;
    height: 2em;
    text-align: center;
    line-height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-icon i{
	color: var(--main-color);
	cursor: pointer;
	transition: all 0.2s ease-in;
	text-shadow: 0px 0px 2px var(--secondary-color);
    margin: 10px;
	font-size: 2.5em;
}
.header-icon i:hover{
	transform: scale(1.3, 1.3);
	text-shadow: 0px 0px 10px var(--secondary-color);
}
.header-icon i:active{
	transform: scale(1.0, 1.0);
	text-shadow: 0px 0px 10px var(--secondary-color);
}
span.icons-holder {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
span.icons-holder span{
	margin: 0px 10px;
}

/*

INFINITE SPINNING LOADING ICON

*/

@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.fa-circle-notch {
  -webkit-animation: rotating 1.4s linear infinite;
  -moz-animation: rotating 1.4s linear infinite;
  -ms-animation: rotating 1.4s linear infinite;
  -o-animation: rotating 1.4s linear infinite;
  animation: rotating 1.4s linear infinite;
}


/*

CUSTOM SCROLL BAR

*/
/* width */
::-webkit-scrollbar {
	width: 10px;
	margin: 1px;
}

::-webkit-scrollbar-thumb{
	width: 1px;
}

/* Track */
::-webkit-scrollbar-track {
	background: transparent; 
	box-shadow: inset 0 0 10px 10px transparent;
	border: solid 3px transparent;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
	background: transparent;
	border-radius: 50px;
	box-shadow: inset 0 0 10px 10px var(--complementary-color);
	border: solid 3px transparent;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	background: var(--secondary-color); 
}


/*

*****************	CUSTOM INPUTS

*/

/*

INPUT TEXT / TEXTAREA

*/
.custom-input-text, .custom-select, .custom-datetime{
	position: relative;
	width: 100%;
	margin: 20px 0px;
}
.custom-time{
	position: relative;
	width: fit-content;
	margin: 20px 0px;
}
.custom-input-text input[type="text"],
.custom-input-text input[type="password"],
.custom-input-text input[type="number"],
.custom-input-text input[type="search"],
.custom-input-text input[type="time"],
.custom-input-text textarea,
.custom-select select,
.custom-datetime input[type="datetime-local"],
.custom-time input[type="time"],
.custom-date input[type="date"]{
	width: 100%;
	padding: 12px;
	border-radius: var(--card-border-radius);
	outline: none;
	font-size: 0.9rem;
	transition: all 0.2s ease-in;    
	border: none;
    box-shadow: 1px 1px 9px #dddddd;
}
.custom-input-text input.error,
.custom-input-text textarea.error,
.custom-select select.error{
	border-color: red;
}
.custom-input-text textarea{
	height: 150px;
	resize: none;
	padding: var(--card-padding);
}
.custom-input-text input[type="text"]:valid ~ label,
.custom-input-text input[type="text"]:focus ~ label,
.custom-input-text input[type="text"]:disabled ~ label,
.custom-input-text input[type="password"]:valid ~ label,
.custom-input-text input[type="password"]:focus ~ label,
.custom-input-text input[type="number"]:valid ~ label,
.custom-input-text input[type="number"]:focus ~ label,
.custom-input-text textarea:valid ~ label,
.custom-input-text textarea:disabled ~ label,
.custom-input-text textarea:focus ~ label,
.custom-select select:focus ~ label,
.custom-select select:disabled ~ label,
.custom-select select:valid ~ label,
.custom-datetime input[type="datetime-local"] ~ label,
.custom-time input[type="time"] ~ label{
	top: 0%;
	font-size: 16px;
	font-weight: bold;
	background: #fff;
	transform: translateY(-50%);
	border-radius: 20px;
    padding: 0px 10px;
}
.custom-input-text input[type="text"]:valid ~ label,
.custom-input-text input[type="text"]:focus ~ label,
.custom-input-text input[type="password"]:valid ~ label,
.custom-input-text input[type="password"]:focus ~ label,
.custom-input-text input[type="number"]:valid ~ label,
.custom-input-text input[type="number"]:focus ~ label,
.custom-input-text textarea:valid ~ label,
.custom-input-text textarea:focus ~ label,
.custom-select select:focus ~ label,
.custom-select select:valid ~ label,
.custom-select select option,
.custom-datetime input[type="datetime-local"] ~ label,
.custom-time input[type="time"] ~ label{
	color: var(--main-color);
}
.custom-input-text .operation-icon,
.custom-select .operation-icon,
.custom-datetime .operation-icon,
.custom-time .operation-icon{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    padding: 10px;
    margin-right: 5px;
    border-radius: 50%;
}
.custom-input-text .operation-icon:hover,
.custom-select .operation-icon:hover,
.custom-datetime .operation-icon:hover,
.custom-time .operation-icon:hover{
	cursor: pointer;
	box-shadow: var(--card-shadow-mitigate);
}
.custom-input-text input.error ~ label,
.custom-input-text textarea.error ~ label,
.custom-select select.error ~ label{
	color: red;
}
.custom-input-text textarea:disabled ~ label,
.custom-input-text input[type="text"]:disabled ~ label{
	color: #999999;
}
.custom-input-text label,
.custom-select label,
.custom-datetime label,
.custom-time label{
	position: absolute;
	top: 50%;
	left: 20px;
	color: #999;
	transform: translateY(-50%);
	pointer-events: none;
	transition: all 0.2s ease-in;
}
label i{
	margin-right: 10px;
}
.custom-input-text input[type="number"]{
	-webkit-appearance: none;
	margin: 0;
	-moz-appearance: textfield;
}

/*

SUBMIT

*/
.custom-input input[type="submit"],
.custom-input .input-submit{
	color: #fff;
	font-weight: 500;
	cursor: pointer;
	height: 100%;
	width: 100%;
	padding: var(--card-padding);
	border-radius: 25px;
	outline: none;
	transition: all 0.2s ease-in;
	border: 1px solid lightgrey;
	font-size: 1rem;
	text-align: center;
}
.custom-input input[type="submit"],
.custom-input .input-submit{
	background: var(--main-color);
}
.custom-input.secondary input[type="submit"],
.custom-input.secondary .input-submit{
	background: var(--complementary-color);
}
.custom-input input[type="submit"]:hover{
	color: var(--main-color);
	background: #fff;

}
.custom-input input[type="submit"]:active{
	transform: scale(0.95);
}
.custom-input input.positive {
    background: var(--positive-color);
}
.custom-input input.negative {
    background: var(--negative-color);
}
/*

CHECKBOX

*/
.custom-checkbox{
	display: flex;
	align-items: center;
	justify-content: space-between;
    position: relative;
}
label.tooltip{
	position: absolute;
	top: 40px;
	left: 50%;
	transform: translate(-50%);
	opacity: 0;
	transition: all .3s ease-in-out;
	background: var(--tertiary-color);
	color: #ffffff;
	padding: var(--card-padding);
	border-radius: var(--card-border-radius);
	box-shadow: var(--card-shadow-mitigate);
	pointer-events: none;
	font-weight: 100;
	width: 280px;
	text-align: center;
	z-index: 1;
	font-size: 1rem;
}
div:hover > label.tooltip{
	top: 30px;
	opacity: 1;
	transition: all .3s ease-in-out .5s;
}
.custom-checkbox input{
	position: relative;
	height: 30px;
	width: 70px;
	min-width: 70px;
	outline: none;
	background: #e6e6e6;
	-webkit-appearance:  none;
	border-radius: 50px;
	box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
	transition: all 0.2s ease-in;
	margin: 0px 5px;
}
.custom-checkbox.small input{
	height: 16px;
	width: 40px;
	min-width: 40px;
}
.custom-checkbox input:checked{
	background: var(--complementary-color);
}
.custom-checkbox input::before{
	height: 100%;
	width: 30px;
	left: 0;
	position: absolute;
	content: "";
	background: linear-gradient(#fff, #f2f2f2, #e6e6e6, #d9d9d9);
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	border-radius: 50px;
	transform: scale(0.85);
	transition: all 0.2s ease-in;
}
.custom-checkbox.small input:checked::before{
	left: 11px;
}
.custom-checkbox input:checked::before{
	left: 40px;
}
.custom-checkbox .text::before{
	content: "Désactivé";
	font-size: 16px;
	font-weight: bold;
	color: #bfbfbf;
	padding: 0px 10px;
}
.custom-checkbox input:checked ~ .text::before{
	content: "Activé";
	font-size: 16px;
	color: var(--main-color);
}

/*

RADIO

*/
.custom-radio{
	display: flex;
    flex-direction: column;
	background: #fff;
    padding: var(--card-padding);
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow-smooth);
    margin-top: var(--card-padding);
}
.custom-radio input[type="radio"],
.custom-radio input[type="checkbox"]{
	display: none;
}
.custom-radio label{
	width: 100%;
}
.custom-radio label.title{
	font-weight: bold;
    font-variant-caps: all-small-caps;
    font-size: 1.4rem;
}
.custom-radio label.desc{
	font-size: 1rem;
}

.custom-radio:has(input[type="radio"]:checked),
.custom-radio:has(input[type="checkbox"]:checked){
	background: var(--complementary-color);
	border-radius: var(--card-border-radius);
	box-shadow: var(--card-shadow-mitigate);
}
.custom-radio:has(input[type="radio"]:checked) *{
	color: #ffffff;
}
.custom-radio:has(input[type="radio"]:checked) label.desc{
	color: #fff;
}

/*

INPUT COLOR

*/
.custom-input-color, .custom-input-range{
	display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    flex-direction: row;
}
.custom-input-color input[type="color"]{
	-webkit-appearance:  none;
	-moz-appearance:  none;
	appearance: none;
	min-width: 70px;
	min-height: 70px;
	background-color: transparent;
	cursor: pointer;
	border: none;
}
.custom-input-color.small input[type="color"]{
	min-width: 40px;
	min-height: 40px;
}
.custom-input-color input[type="color"]::-webkit-color-swatch{
	border-radius: 15px;
	border: 2px solid var(--complementary-color);
}
.custom-input-color input[type="color"]::-moz-color-swatch{
	border-radius: 15px;
	border: 2px solid var(--secondary-color);
}

/*-------------------------------------------------------------------*/

/*

OPERATIONS

*/

.operation-icon i {
    cursor: pointer;
    transition: all 0.1s ease-in;
    font-size: 1em;
    padding: 7px;
    border-radius: 50px;
    background: #fff;
    margin: 3px;
    box-shadow: 1px 1px 3px grey;
}
.operation-icon.edit{
	color: var(--secondary-color);
}
.operation-icon{
	color: var(--main-color);
}
.operation-icon.delete{
	color: #e13b3b;
}
.operation-icon.remove{
	color: #d49147;
}
.operation-icon.activate{
	color: #2b9e2b;
}
.operation-icon i:hover{
	transform: scale(1.1, 1.1);
}

/*

ERROR MSG

*/

.error-msg {
    background: #c70c0c;
    color: #ffffff;
    border: 2px solid #c70c0c;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    margin: 10px 0px;
}
.alert-msg{
    color: #c70c0c;
    text-align: center;
    margin: 10px;
}


/*

MODALS

*/

.modal{
	display: flex;
    align-items: flex-start;
    flex-direction: column;
	position: fixed;
	top:  50%;
	left: 50%;
	transform: translate(-50%, -110%) scale(1);
	z-index: 99;
	background: #ffffff;
	width: 580px;
	max-width: 95%;
	transition: all 0.2s ease-in;
	max-height: 95%;
	overflow-y: auto;
	pointer-events: all;
	border-radius: var(--card-border-radius);
	padding: var(--card-padding);
	opacity: 0;
    pointer-events: none;
}
.modal form{
	width: 100%;
}
.modal.large{
	width: 730px;
}
.modal.active{
	transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: all;
}

.modal-header{
	padding: var(--card-padding);
	display: flex;
	justify-content: space-between;
	align-content: center;
	align-items: center;
	width: 100%;
	z-index: 2;
}
.modal-header .title i{
	margin: 0px 20px 0px 0px;
	color: var(--main-color);
}

.modal-header .title {
    font-size: 1.6rem;
    font-variant: all-petite-caps;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.modal-header .close-button{
	cursor: pointer;
	border: none;
	outline: none;
	background: none;
	font-size: 1.9rem;
	color: #000000;
	border-radius: 50%;
	transition: 0.2s all ease-in;
}
.modal-header .close-button:hover{
	transform: scale(1.2);
	text-shadow: var(--card-shadow);
}
.modal-header .previous-step{
	cursor: pointer;
}
.modal-body{
	height: 100%;
	width: 100%;
    overflow: auto;
    padding: var(--card-padding);
}
.modal-footer{
    width: 100%;
    padding: var(--card-padding);
    z-index: 2;
}
.modal i{
	min-width: 25px;
}
.modal .title-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.modal-body .title-content .title {
    color: #777777;
}
.modal-body .title-content .content {
    font-weight: bold;
    margin: 3px 0px;
    line-height: .8rem;
}
.modal .title-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 5px 0px;
}
.modal .product,
.modal .payment {
    border-bottom: 1px solid #dbdbdb;
    margin-bottom: 3px;
    padding-bottom: 3px;
}

.modal .horizontal-flex {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    max-height: 100%;
}
.modal .horizontal-flex > div {
    flex: 1;
}
.payment-amount.deleted{
    text-decoration: line-through;
    color: var(--negative-color);
}
#overlay{
	position: fixed;
	opacity: 0;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #4444448a;
	z-index: 89;
	pointer-events: none;
	transition: all 0.2s ease-in;
	backdrop-filter: blur(2px);
}
.modal.loading{
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal.loading .loading_animation_container{
	display: block;
}
.modal .loading_animation_container{
	display: none;
}
.modal .item-list {
    overflow-y: scroll;
    max-height: 40vh;
}
.order-type {
    padding: 6px;
    margin: 6px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    font-variant: all-petite-caps;
    color: #fff;
}
.modal .order-type{
    font-size: 0.7rem;
}
.order-type.delivery{
	background: #B06300;
}
.order-type.in{
	background: #051D40;
}
.order-type.sno{
	background: #0C9444;
}
.order-type.takeaway{
	background: #CC9F66;
}
.modal .linear-layout {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
}
.item-list > .title {
    font-weight: bold;
    margin-bottom: 10px;
}
#overlay.active{
	pointer-events: all;
	opacity: 1;
}

[data-open-order-popup]{
	cursor: pointer;
}

.mop.CB{
	color: #2c91e4;
}
.mop.ES{
	color: gold;
}
.mop.TR{
	color: red;
}

/*

TABLES

*/

main table{
	background: #ffffff;
	width: 100%;
	border-radius: var(--card-border-radius);
	padding: var(--card-padding);
	text-align: center;
	box-shadow: var(--card-shadow-smooth);
	transition: all 0.2s ease-in;
}
main table:hover{
	box-shadow: 2px 2px 10px var(--secondary-color);
}
main table tr{
    vertical-align: initial;
}
main table tbody tr:hover{
	background: #efefef;
}
main table tbody td{
	height: 2.8rem;
	border-bottom: 1px solid #d3d3d3;
	color: #555555;
	padding: 5px;
}

/*

CARDS

*/

.card {
    box-shadow: var(--card-shadow-mitigate);
    border-radius: var(--card-border-radius);
    margin: 4px;
    padding: var(--card-padding);
    background: #ffffff;

    position: relative;
    overflow: hidden;
}

/*

SHIMMERING

*/

.shimmering {
    animation-duration: 2.2s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: shimmer;
    animation-timing-function: linear;
    border-radius: var(--card-border-radius);
    background: #ddd;
    background: linear-gradient(to right, #F6F6F6 8%, #F0F0F0 18%, #F6F6F6 33%);
    background-size: 1200px 100%;
}

@-webkit-keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1200px 0;
    }
    100% {
        background-position: 1200px 0;
    }
}

/*

Configuration

*/
.add-new-configuration-object {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    border-radius: var(--card-border-radius);
    border: 2px solid #dddddd;
    padding: var(--card-padding);
    transition: all ease-in-out .1s;
    cursor: pointer;
    color: #dddddd;
}
.configurator > div {
    border: 1px solid #dfdfdf;
    margin-bottom: 10px;
    border-radius: var(--card-border-radius);
    padding: var(--card-padding);
    box-shadow: var(--card-shadow);
    margin: 20px 10px;
    background: #f1f1f1;
}
.add-new-configuration-object:hover {
    border: 3px solid #a3a3a3;
    color: #808080;
}
.horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}



/*

HIGHLIGHT ANIMATION

*/
 i.highlight-animation{
 	position: relative;
}
.highlight-animation:after{
	content: " ";
    width: 0px;
    height: 0px;
    border: 2px solid transparent;
    box-shadow: 0px 0px 24px green;
    border-radius: 50%;
    position: absolute;
    /* margin: auto; */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: highlight 2s infinite cubic-bezier(0.55, 0, 0.47, 1);
}

@keyframes highlight{
	0%, 100%{
		width: 35px;
		height: 35px;
	}

	50%{
		width: 50px;
		height: 50px;
	}
}



.loading {
    animation-duration: 2.2s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: shimmer;
    animation-timing-function: linear;
    border-radius: var(--card-border-radius);
    background: #ddd;
    background: linear-gradient(to right, #F6F6F6 8%, #F0F0F0 18%, #F6F6F6 33%);
    background-size: 1200px 100%;
}

@-webkit-keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1200px 0;
    }
    100% {
        background-position: 1200px 0;
    }
}



.only-mobile{
	display: none;
}

@media screen and (max-width: 764px){
	main table{
		font-size: 0.7em;
	}
	*{
		font-size: 12px;
	}
	.no-mobile{
		display: none;
	}
	.only-mobile{
		display: block;
	}
	:root{
		--header-height: 40px;
	}

	.custom-checkbox input{
		height: 16px;
		width: 40px;
		min-width: 40px;
	}
	.custom-checkbox input:checked::before{
		left: 11px;
	}

}

@media screen and (max-width: 1600px){
	
	:root{
		--header-height: 60px;
	}
	.custom-input-text input[type="text"]:valid ~ label, .custom-input-text input[type="text"]:focus ~ label, .custom-input-text input[type="text"]:disabled ~ label, .custom-input-text input[type="password"]:valid ~ label, .custom-input-text input[type="password"]:focus ~ label, .custom-input-text input[type="number"]:valid ~ label, .custom-input-text input[type="number"]:focus ~ label, .custom-input-text textarea:valid ~ label, .custom-input-text textarea:disabled ~ label, .custom-input-text textarea:focus ~ label, .custom-select select:focus ~ label, .custom-select select:disabled ~ label, .custom-select select:valid ~ label, .custom-datetime input[type="datetime-local"] ~ label {
	    font-size: 12px;
	}
}

@media screen and (max-width: 1000px){

	:root{
		--header-height: 50px;
	}
}

@media screen and (max-width: 570px){

	.modal .horizontal-flex {
	    flex-direction: column;
	}
}

