@charset "ISO-8859-1";
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

*{
	box-sizing: border-box;	
	font-family: "Montserrat";
	--main-green: rgb(138, 197, 65);
	--gray: rgb(56, 91, 102);
	--second-gray: rgb(133, 173, 185);
	font-size: 0.965em;
}


br{
	display: none;
}

html{
	min-height: 100%;
	width: 100%;
}

body{
	margin: 0px;
	padding: 0px;
	width: 100%;
	height: 100%;
}

.footer{
	color: var(--main-green);
	text-align: center;
	position: absolute;
	bottom: 0px;
	width: 100%;
}

.footer__text{
	display: block;
}

.login{
	width: 25%;
	margin: 12% auto;
	border: 1px solid var(--main-green);
	background: rgb(138, 197, 65);
	border-radius: 2px;
	text-align: center;
		box-shadow: 0px 0px 10px black;
	
}

.login__input{
	display: block;
	font-size: 1.1em;
    padding: 10px;
	margin: 20px auto;
}

.login__message{
	color: red;
	font-size: 0.8em;
}

.login__button{
	color: white;
	cursor: pointer;
    border: 1px solid #949494;
    padding: 10px;
    border-radius: 3px;
	text-decoration: none;
	margin: 5px 10px;
	background: #444;
	display: inline-block;
}

.login__button+:hover{
	color: black;
	background: #58ea06;
	border-color: black;
}

.main-menu{
	width: 20%;
	position: fixed;
	background: var(--gray);
	height: 100%;
}

.main-menu__item{
	display: block;
	text-decoration: none;
	color: white;
	padding: 20px;
}

.main-menu__item:hover{
	background: rgb(44 75 84);;	
}

.main-menu__item--selected{
	background: #eee;
	color: green;
}

.main-menu__close-session{
	background: #424242;
	padding: 10px;
	position: absolute;
	bottom: 0px;
	display: block;
	color: #d6d6d6;
	border: 0px;
	border-top: 1px solid #000;	
	width: 100%;
	text-align: center;
	cursor: pointer;
	height: 50px;
}

.main-menu__close-session:hover{
	background: #000;
	color: #fff;
}

.section{
	width: 80%;
	floaT: right;
	background: #eee;
	min-height: 100%;
	position: absolute;
	right: 0px;
	padding: 60px 0px 80px 0px;
}

.input{
	width: 50%;
	min-height: 40px;
	margin: 15px auto;
	background: white;
	text-align: center;
	border: 0px;
	clear: both;
	display: block;
	border-bottom: 1px solid var(--second-gray);
}

.input__label{
	display: block;
	color: white;
	margin:0px auto;
	background: var(--gray);
	line-height: 40px;
}

.input__label--left{
	width: 50%;
	float: left;
}

.input__input{
	display: block;
	margin: 0px auto;
	width: 100%;
	line-height: 36px;
	height: 38px;
	text-align: center;
	border: 0px;
}

.input__add-button{
    font-size: 3em;
    font-weight: bold;
    display: block;
    text-align: left;
    padding: 10px;
    color: var(--gray);
}

.input__input--file{
	display: initial;
	width: 80%;	
}

.input__input--left{
	width: 50%;
	float: left;
}

.input__input--textarea{
	resize: none;
	height: 100px;
}

.input__img{
	width: 40%;
	margin: 2.5%;
}

.button-group{
	position: fixed;
	bottom: 0px;
	display: block;
	width: 80%;
	text-align: right;
	background: rgb(66 66 66);
	height: 50px;
	border-top: 1px solid black;
	z-index: 1;
}

.button-group__button{
	color: #fff;
	cursor: pointer;
	padding: 0 15px;
	text-decoration: none;
	margin: 0px 0px 0 1px;
	background: rgb(121, 121, 121);
	display: inline-block;
	height: 100%;
	line-height: 50px;
	border-left: 1px solid #919191;
	border-top: 1px solid #8c8c8c;
}

.button-group__button input{
	color: white;
	border: 0;
	background: inherit;
	cursor: pointer;
}

.button-group__button:hover{
	color: white;
	background: rgb(121 179 49);
	border-color: black;
	cursor: pointer;
}


/************************************************ TAGS **************************************/
.food-tag{
	background: gray;
    padding: 10px;
    margin: 10px;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    display: inline-block;
}

.food-tag:hover{
	background: var(--main-green);
}

.food-tag--selected{
	background: var(--main-green);
}

/************************************************** CARTA **************************************/
.qr-menu{
	display: block;
	margin: 10px auto;	
}

.carta-select{
	float: none;
	display: block;
	width: 35%;
	clear: both;
	text-align: center;
	line-height: 68px;
	height: 50px;
	font-size: 1.2em;
	position: fixed;
	top: 10px;
	left: 43%;
	box-shadow: 0px 0px 5px gray;
	z-index: 1;
}

.categoria{
	border: 1px solid #b7b7b7;
	background: var(--gray);
	margin: 50px auto 20px auto;
	width: 80%;
	height: 60px;
	position: relative;
	top: 10px;
}

.categoria__nombre{
    width: 80%;
    font-weight: normal;
    float: left;
    margin: 0px;
    line-height: 60px;
    text-align: center;
    padding-left: 20%;
    color: white;
    font-size: 1.5em;
}

.categoria__edit-button{
    background: rgb(77 126 140);
	float: right;
	width: 10%;
	text-align: center;
	border: 0px;
	padding: 10px 5px;
	margin: 10px;
	color: white;
}

.categoria__edit-button:hover{
    background: var(--main-green);
	color: white;
	cursor: pointer;
}

.plato{
	width: 80%;
	margin: 5px auto;
	border-bottom: 1px solid var(--gray);
	background: white;
	height: 50px;
}

.plato__nombre{
	padding: 15px;
	display: block;
	float: left;
}

.plato__precio{
	display: block;
	float: left;
	padding: 14.5px;
	font-weight: bold;
    width: 80px;
    text-align: right;
}

.plato__img-alergeno{
	height: 35px;
	width: 35px;
	float: left;
	margin: 5px;
	cursor: pointer;
}

.plato__img-delete{
	height: 50px;
	width: 50px;
	float: right;
	padding: 12px;
	cursor: pointer;
}

.plato-button{
	float: right;
	background: var(--main-green);
	margin-top: 5px;
	margin-right: 5px;
}

.plato-button__button{
	float: right;
	display: block;
    margin: auto;
    width: 100%;
    padding: 10px;
    color: black;
    border: 0px;
    background: inherit;
}

.plato-button__button:hover{
    color: white;
    background: var(--main-green);
    cursor: pointer;
}

/* addCategoria */



/* appPlato.php */

.inputs-alergeno{
	text-align: center;
}

.input-alergeno{
	display: inline-block;
}

.input-alergeno__checkbox{
	position: relative;
	left: 35px;
	top: 20px;
}

.input-alergeno__img{
	width: 50px;
	margin-top: 15px;
}

.plato-input-img{
	display: inline-block;
	width: calc(25% - 10px);
	border: 0px solid var(--main-green);
	height: 120px;
	margin: 5px;
	position: relative;
}

.plato-input-img__button{
	color: white;
	background: var(--main-green);
	width: 30px;
	line-height: 30px;
	font-weight: bold;	
	display: block;
	cursor: pointer;
	position: absolute;
	left: 5px;
	bottom: 5px;
}

.plato-input-img__img{
	height: auto;
	max-height: 100%;
	width: 100%;
	position: absolute;
	bottom: 0px;
	left: 0px;	
}


.nombre-categoria{
	border: 1px solid var(--gray);
    width: 50%;
    text-align: center;
    padding: 15px;
    margin: 10px auto;
    background: white;
}

.plate-options{
   	width: 50%;
    margin: auto;
}

.plate-option{
	display: inline-block;
	width: 25%;
	padding: 1%;
}

.plate-option__checkbox{
	
}

.plate-option__text{
	display: block;
}

.option-items{
	clear: both;
	text-align: left;
    padding: 10px;
   	display: none; 
}

.option-items--shown{
	display: block;
}

.item{
	
}

.item__checkbox{
	
}

.item__name{
	
}

/* 
#img_categoria{
	width: 50%;
}


#img_plato{
	display: block;
	margin: 20px auto;
	clear: both;
}
*/

/************************************************ OPCIONES CARTA ***************************************/

.familia-opciones{
	margin: 2px;
    padding: 5px;
    background: #dadada;
    text-align: left;
}

.familia-opciones__nombre{
	
}

.familia-opciones__icon{
    width: 20px;
    float: right;
}

.add-family-panel, .add-option-panel{
    background: #045d5d;
    width: 50%;
    margin: auto;
    padding: 20px;
    position: absolute;
    top: 20%;
    left: 25%;
    box-shadow: 0 0 5px 5px #6b6b6b;
    display: none;
    text-align: center;
}

.add-family-panel__input, .add-option-panel__input{
	display: inline-block;
	width: 100%;
	height: 50px;
	display: block;
	margin: 5px;
	text-align: center;
}

.add-family-panel__button, .add-option-panel__button{
	display: inline-block;
	width: 20%;
    height: 35px;
    margin: 10px 5px;
}

.option-item{
	
}

.option-item__name{
	display: inline-block;
    background: #c9c8ca;
    padding: 5px;
    width: 80%;
    margin: 2px;
    text-align: left;
}

.option-item__price{
	display: inline-block;
    background: #c9c8ca;
    padding: 5px;
    width: 18%;
    margin: 2px;
}

#family-option-id{
	height: 40px;
    text-align: left;
    float: right;
    margin: 10px;
    border: 1px solid var(--gray);
  width: 50%;
}

/************************************************* HORARIO *********************************************/

.off-switch{
	position: absolute;
	top: 20px;
	left: 10px;
}

.off-switch__label{
    position: relative;
    top: -10px;
    margin: 5px;
    font-weight: bold;
}

.off-button{
	border: 1px solid gray;
	width: 60px;
	height: 30px;
	border-radius: 15px;
	position: relative;
	display: inline-block;
	background: rgb(138, 197, 65);
	cursor: pointer;
}

.off-button__button{
	display: block;
	width: 28px;
	height: 28px;
	border-radius: 15px;
	border: 1px solid #0b4171;
	position: absolute;
	left: 30px;
	transition: all 0.3s;
	background-image: radial-gradient(rgb(97, 168, 168), rgb(48, 103, 123), rgb(28, 53, 62));
}

.horarios{
	display: none;
}

.horario{
	width: 23.5%;
	border-bottom: 1px solid var(--second-gray);
	background: white;
	margin: 0.75% 0.75%;
	float: left;
	text-align: center;
	min-height: 190px;
	position: relative;
}

.horario--edit{
	margin: auto;
	float: initial;
}

.horario--menu{
	float: left;
	margin: 10px;
	width: 20%;
}

.horario__dia{
	font-size: 1.4em;
	display: block;
	padding: 4%;
	background: var(--gray);
	color: white;
}

.horario__hora{
	padding: 5px;
	color: #555;
	display: block;
}

.horario__cerrado{
	color: #9c0000;
}

.horario__button{
    display: block;
    position: absolute;
    left: 35%;
    bottom: 10px;
    margin: auto;
    width: 30%;
    padding: 10px;
    background: var(--main-green);
    border: 0px;
}

.horario__button:hover{
    color: white;
    background: var(--main-green);
    cursor: pointer;
}

.horario-tabla{
	width: 100%;
}

.horario-tabla__inicio{
	width: 80%;
	text-align: center;
}

.horario-tabla__fin{
	width: 80%;
	text-align: center;
}


/* ZONAS */

.zona{
    background: white;
    width: 30%;
    text-align: center;
    border-bottom: 1px solid var(--second-gray);
    margin: 1.5%;
    float: left;	
}

.zona__cp{
	float: left;
	width: 40%;
	height: 53px;
	line-height: 53px;	
	text-align: right;
	font-weight: bold;
}

.zona__precio{
	float: left;
	width: 30%;
	height: 53px;
	line-height: 53px;	
}

.zona__button{
	float: right;
	background: var(--main-green);
	height: 40px;
	display: block;
	width: 20%;
	line-height: 40px;
	cursor: pointer;	
	border: 0px;
	margin: 6px;
}

.zona__button:hover{
	color: white;
	background: var(--main-green);
}

.opciones-reparto{
	width: 80%;
	border: 1px solid var(--main-green);
	margin: auto;
	text-align: center;
	height: 100px;
}

.input-checkbox{
	display: inline;
	margin: 0 5px;
}

.input-checkbox__label{
	margin-right: 20px;
    margin: 0px auto;
    line-height: 40px;
}

.input-checkbox__input{
}


/* HISTORIAL */

.pedidos{
	clear: both;
	padding-top: 20px;	
	display: flex;
}

.pedido{
	width: 22.5%;
	margin: 0px 1.25%;
	float: left;
	border-bottom: 1px solid var(--second-gray);
	background: white;
	position: relative;
	padding-bottom: 55px;
}

.pedido__logo{
	width: 50px;
	height: auto;
	display: block;
	margin: auto;
	margin-bottom: 35px;
}

.pedido__fecha{
	font-size: 1.3em;
	background: var(--gray);
	display: block;
	text-align: center;
	font-weight: bold;
	padding-top: 10px;
	color: white;
}

.pedido__hora{
	background: var(--gray);
	display: block;
	text-align: center;
	padding-bottom: 10px;
	color: white;
	margin-bottom: 10px;
}

.pedido table{
	width: 100%;
	padding-bottom: 20px;
}

.pedido__dato{
	display: block;
	padding: 0px;
	width: 100%;
	margin: 0px;
	padding-left: 10px;
	color: gray;
}

.pedido__boton-imprimir{
    position: absolute;
    left: 35%;
    bottom: 10px;
    margin: auto;
    padding: 10px;
    background: var(--main-green);
    border: 0px;
    font-weight: bold;
}

.pedido__boton-imprimir:hover{
	color: white;
	cursor: pointer;
}

/******************************************** WHATSAPP ************************************************/
.open-whatsapp-button{
	display: inline-block;
	background: var(--gray);
	padding: 20px;
	color: white;
	text-decoration: none;
	clear: both;
	width: 20%;
	text-align: center;
	margin: 20px 40%;
}



