/*
Theme Name: Flatsome
Theme URI: http://flatsome.uxthemes.com/
Author: UX-Themes
Author URI: http://www.uxthemes.com/
Description: Multi-Purpose Responsive WooCommerce Theme
Version: 3.4.0
Text Domain: flatsome
License: http://themeforest.net/licenses
License URI: http://themeforest.net/licenses
*/


/***************
All custom CSS should be added to Flatsome > Advanced > Custom CSS,
or in the style.css of a Child Theme.
***************/

h1 {
	display: flex;
	align-items: center;
}

h1 img {
	margin-right: 1em;
}

.plovi-button{
	padding: 0.5em;
	border: 1px solid black;
	margin-bottom: 1em;
	display: inline-block;
	border-radius: 15px;
	text-decoration: none;
	background: lightblue;
	color: black;
	margin-right: 0.5em;
}

td {
	word-wrap: break-word;
    word-break: break-all;
	max-width: 5vw;
}

th {
	max-width: 5vw;
	overflow: hidden;
}

.max_width{
	max-width: 15vw;
}

.middle_width{
	max-width: 7vw;
	text-align: center;
}

.sk-input{
	width: 100%;
}

.product_cards {
	display: flex;
    gap: 10px;
	flex-wrap: wrap;
}

.product_card {
	background: lightblue;
    border-radius: 15px;
    padding: 1em;
	width: 300px;
}

.product_card .name {
	height: 5em;
}

.product_card .prices{
	display: flex;
	align-items: center;
}

.product_card .delivered {
	text-align: right;
    margin-top: 1em;
}

.product_card .delivered button{
	width: 100%;
}

.finished {
	filter: grayscale(100%);
}

.finished {
	filter: grayscale(100%);
}

.finished button {
	pointer-events: none;
}

.finished input {
	pointer-events: none;
}

@media (max-width: 600px) {
	.statut_div{
		width: calc(100% - 30px);
	}
	
	.product_card {
		width: 100%;
	}
	thead {
		display: none;
	}
	
	tr {
		display: flex;
        flex-wrap: wrap;
        border-bottom: 3px solid;
        justify-content: right;
	}
	
	td {
		display: flex;
		flex: 0 0 50%;
        flex-wrap: wrap;
		max-width: none;
	}
	
	.max_width {
		flex: 0 0 100%;
		max-width: none;
	}
	.middle_width {
		flex: 0 0 100%;
		max-width: none;
	}
	
	.btn {
		width: 90%;
        margin-bottom: 1em !important;
	}
	
	.half{
		width: 45% !important;
        margin-left: 10px;
	}
	
	.total_block .btn {
		width: 100%;
        /* margin-bottom: 1em !important; */
	}
	
	.btn-finish{
		
	}
}

.summary .product_list {
	display: flex;
	width: 300px;
	gap: 5%;
}

.summary .product_list .name {
	flex: 1 1 80%;
    border-bottom: 1px dotted;
    margin-top: 10px;
}

/* .summary .product_list .quantity { */
	/* flex: 1 1 20%; */
/* } */

/* .summary .product_list .price { */
	/* flex: 1 1 20%; */
/* } */

.summary .product_list .fullprice {
	flex: 1 1 15%;
    align-content: end;
	border-bottom: 1px dotted;
}

.order_total{
	position: fixed;
    top: 10px;
    background: yellow;
    padding: 1em;
    border-radius: 15px;
    border: 4px solid;
    right: 10px;
	z-index: 100000;
}

.order_total h2{
	margin:0px;
}

.order_total h3{
	margin:0px;
}

.table{
	display: table;
}

.row{
	max-width:none;
}

body{
	color: black;
}

.popup-background {
	position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.3);
    z-index: 999;
    top: 0px;
    left: 0px;
	backdrop-filter: blur(10px);
	display:none;
}

.popup {
	width: 50%;
    margin: auto;
    margin-top: 5vh!important;
    border: 1px black solid;
    padding: 1em;
    border-radius: 15px;
    background: white;
	
}

@media (max-width: 600px) {
	.popup {
		width: 80vw;
		margin-top: 10vh;
	}
}

.close{
	border: 1px solid black;
    padding: 0.2em;
    border-radius: 50px;
    width: 1.5em;
    height: 1.5em;
    text-align: center;
	cursor: pointer;
}

.popup-content{
	/* margin-top: 2em; */
    /* margin-left: 1em; */
    /* margin-right: 1em; */
}

td div {
	display: flex;
    align-items: center;
	height: 100%
}

td input {
	/* width: 60% !important; */
	/* margin-right: 1em !important; */
	/* margin-bottom: 0px; */
	/* margin-top: 0px; */
}

button{
	margin: 0px;
    height: 1.5em;
    font-size: 12px !important;
}

.delivery_head{
	display: flex;
    gap: 10px;
	margin-bottom: 1em;
    overflow-x: scroll;
}

.delivery_item a{
	color: white;
}

.delivery_item.active {
	font-weight: 900;
}

.total_block{
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}

.block_hidden{
	display: none !important;
}

.statut_div {
	display: inline-block;
	cursor: pointer;
	height: 25px;
}

.statut_input{
	width: 17px;
}

.statut_apply_button{
	cursor: pointer;
	display:none;
	position: fixed;
    left: 5%;
    top: 10px;
    width: 90%;
    height: px;
    background: yellow;
    z-index: 999;
    text-align: center;
    color: black;
    padding: 0.5em;
    border-radius: 5px;
    border: 4px solid black;
}

.product_group_name{
	margin-top: 1em;
	display: inline-block;
}

.product_group{
	float: left;
	margin-right: 10px;
}

.sk_header_nav{
	
}

.sk_header_nav ul{
	display: flex;
    gap: 10px;
}

.nav{
	
}

#menu-waiter_menu{
	display: flex;
    gap: 10px;
    align-items: center;
	margin: 0px;
}


.btn{
	width: 100%;
}

.desk{
    width: 100%;
    flex: 0 0 100%;
    border: 6px solid lightseagreen;
    border-radius: 10px;
    padding: 0px 5px;
	display: flex;
    flex-direction: column;
}

.desk .type_product{
	font-size: 12px;
    font-weight: bold;
    text-align: center;
}

.container-flex{
	display: flex;
	flex-wrap: wrap;
    gap: 10px;
	/* justify-content: space-between; */
	padding-top: 10px;
	padding-bottom: 10px;
}

.desk .date{
	width: 100%;
    text-align: center;
	font-size: 12px;
}

.desk .desc{
	width: 100%;
    text-align: center;
    font-weight: bold;
}

.form_new_product_content{
	overflow-y: scroll;
    max-height: 44vh;
    background: #e9e9e9;
    padding: 0px 8px;
    border-radius: 10px;
    margin-top: 20px;
}

.form_new_product_content .category{
	font-size: 14px;
    line-height: 14px;
    border-bottom: 1px solid;
    padding: 10px 0px;
	font-weight: bold;
	background: #c4c4c4;
}

#form_new_product .order_content{
	font-size: 12px;
	text-align: left;
}

#form_new_product .order_total{
	font-size: 10px;
	fint-weight: bold;
}

.form_new_product_content .child{
	font-size: 18px;
    line-height: 12px;
    border-bottom: 1px solid;
    padding: 10px 0px;
	margin-left: 15px;
}

.product_detail {
    display: flex;
    font-size: 12px;
    gap: 5px;
    border-bottom: 1px dotted;
    align-items: center;
	justify-content: space-around;
}

.product_detail .active{
	background: lightgray;
    width: 2em;
    flex: 0 0 6%;
    text-align: center;
    border-radius: 50px;
    /* border: 1px solid; */
}

.product_detail div{
	margin-bottom: 3px;
	margin-top: 3px;
}

.product_detail .name_product{
	flex: 0 0 46%;
	min-width: 130px;
}

.product_detail .price_product{
	flex: 0 0 20%;
    min-width: 80px;
    text-align: left;
}
.product_detail .plus_product{
	flex: 0 0 6%;
    background: lightgreen;
    text-align: center;
    border-radius: 50px;
    border: 1px solid;
}
.product_detail .minus_product{
	flex: 0 0 6%;
	background: lightblue;
    text-align: center;
    border-radius: 50px;
    border: 1px solid;
}


.delete_product{
    flex: 0 0 30px;
    background: lightcoral;
    text-align: center;
    border-radius: 50px;
    border: 1px solid;
    line-height: 25px;
	height: 30px;
}

.cancel_product{
    width: 20px;
    background: lightcoral;
    text-align: center;
    border-radius: 50px;
    border: 1px solid;
    line-height: 25px;
    height: 20px;
    display: inline-block;
    line-height: 16px;
    font-weight: bold;
    margin: 3px;
	cursor: pointer;
}

#popup_show-add_new_table{
	width: 100%;
}

.finish_table{
	margin-top: auto;
    margin-bottom: 10px;
}

.waiters{
	justify-content: space-between;
    align-items: center;
    border: 1px dotted;
    /* margin: 10px 0px; */
    margin-bottom: 10px;
    padding: 5px;
    border-radius: 10px;
	width: 100%;
}

.centered {
	text-align: center;
	max-width: 200px;
}

.div_max_width {
	max-width: 400px;
	margin: auto;
	justify-content: center;
    text-align: center;
}

.div_max_width_desktop {
	max-width: 800px;
	margin: auto;
	justify-content: center;
    /* text-align: center; */
}

.waiters-parent-head{
	font-size: 1.2em;
    display: flex;
    justify-content: space-between;
	margin-bottom: 5px;
}

.waiters-table-head{
	font-size: 1.2em;
	text-align: left;
	width: 100%;
}

.archive{
	background: repeating-linear-gradient(
		222deg,
		#edeaea,         
		#edeaea 15px,     /* Толщина полоски */
		#fff 15px,     /* Пробел между полосками */
		#fff 30px      /* Полный шаг полоски */
	  );
}

.left-align{
	text-align:left;
}

@media (min-width: 701px) {
	/* .desk { */
		/* flex: 0 0 49%; */
		/* align-self: stretch; */
	/* } */
	
	.waiters .btn {
		width: 100%;
	}
	
	.btn {
		width: 49%;
	}
	
	.form_new_product_content{
		
	}
}

@media (min-width: 1000px) {
	/* .desk { */
		/* flex: 0 0 32%; */
		/* align-self: stretch; */
	/* } */
}

@media (min-width: 1400px) {
	/* .desk { */
		/* flex: 0 0 24%; */
		/* align-self: stretch; */
	/* } */
}

@media (max-width: 701px) {
	.whois{
		font-size: 8px;
	}
	#mobile-menu{
		width: 300px;
        position: absolute;
        z-index: 10;
	}
	#mobile-menu #menu-admin_menu{
		margin: 0px!important;
	}
}
.sk_row{
	display: flex;
	gap: 10px;
	width: 100%;
}

.sk_row .last{
	margin-left: auto;
}

.current_page_item {
	font-weight: bold;
}

#mobile-menu{
	background: white;
    padding: 0px 1em;
    border: 1px solid;
    border-radius: 10px;
}

.collapse_btn {
	display: inline-block;
    width: 70px;
}

.all-items-waiters-parent{
	text-align: left;
}
.all-items-waiters-parent button{
	float: right;
}

.tables_settings_main{
	display: flex;
    gap: 10px;
    flex-wrap: wrap;
	margin-bottom: 2em;
}

.table_settings{
	flex: 0 0 50px;
    background: lightgray;
    height: 50px;
    text-align: center;
	border-radius: 5px;
	
	display: flex;
	align-items: center;
	justify-content: center;
	user-select: none;
}

.table_settings:hover {
	background: #938f8f;
}

.tables_settings_main .active{
	/* background: #f5b5b5; */
}

.waiter_settings_main{
	display: flex;
    gap: 10px;
    flex-wrap: wrap;
	margin-bottom: 2em;
	flex-direction: column;
}

.waiter_settings{
	width: 300px;
    background: lightgray;
    text-align: center;
	border-radius: 5px;
	padding: 0.5em 1em;
	
	display: flex;
	align-items: center;
	justify-content: center;
	user-select: none;
}

.waiter_settings_main .active{
	border: 4px dotted;
}

.waiter_set_item{
	display: flex;
	align-items: center;
}

.waiter_set_tables{
	padding: 0px 1em;
}

.tables_settings_apply{
	margin-bottom: 1em;
    width: 100%;
    text-align: center;
}

.tables_settings_apply button{
	width: 300px;
    height: 3em;
}

.tables_settings_main .opened{
	background:#f89aa3;
}

#preloader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 0.5s linear infinite;
}

/* Анимация кручения */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.sk_row .p_name{
	text-align: left;
}

.sk_row .p_comment{
	text-align: right;
  color: gray;
  font-style: italic;
  margin-left: auto;
}

.tables_logs{
	
}

.tables_logs .row{
	display: flex;
    flex-wrap: nowrap;
}

.tables_logs .btn{
    max-width: 70px;
    height: 24px;
    line-height: 8px;
}

.cook{
	justify-content: flex-start;
    align-items: flex-start;
    border: 1px dotted;
    /* margin: 10px 0px; */
    margin-bottom: 10px;
    padding: 5px;
    border-radius: 10px;
    width: 24%;
    display: flex;
    flex-direction: column;
}

.cook-parent{
	display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cook-table-head{
	/* background: #fbf0f0; */
    width: 100%;
    border-bottom: 1px dotted;
}

.chef_ready_btn{
	width: 100%;
    margin-top: auto;
}

.cooked{
	
}