@font-face{
     font-family: Roboto-Light;
     src: url('../fonts/Roboto-Light.ttf') format('truetype');
}
@font-face{
     font-family: Roboto-Medium;
     src: url('../fonts/Roboto-Medium.ttf') format('truetype');
     /*src: url('../fonts/apercu_regular_pro.otf');*/
}
@font-face{
     font-family: Roboto-Regular;
     src: url('../fonts/Roboto-Regular.ttf') format('truetype');
     /*src: url('../fonts/apercu_regular_pro.otf');*/
}

body,html {
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    -webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none' to 'text' */
    background-color:#f9f9f9;
    font-family:Roboto-Regular, sans-serif;
    font-size:18px;
    color: #282323;
    height:100%;
    margin:0px;
    padding:15px 0 0 0;
    width:100%;
    position: relative;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#status_bar{
    position: fixed;
    top:5px;
    height: 15px;
    width: 100%;
    padding: 0 5px;
    font-size: 10px;
    vertical-align: middle;
    z-index: 100;
}
#no_connect,#connect{
    height: 100%;
    float: left;
}
#no_connect img{
    max-height: 100%;
    display: inline-block;
    vertical-align: middle;
}
#connect{
    display: none;
}
#connect i{
    color: green;
    font-size: 14px;
    display: inline-block;
    vertical-align: middle;
}
#connect.deactive i{
    color: red;
}
.header{
    padding: 5px 10px;
    border-bottom: 1px solid #cdced3;
    text-align: center;
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 45px;
}
.header select,.cont_sel select{
    font-family:Roboto-Regular, sans-serif;
    font-size: 25px;
    height: 35px;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    color: #656565;
    background: url('../images/fr_dw.png') no-repeat center right;
    padding-right: 25px;
    background-size: 15px auto;
}
.cont_sel{
    width: 100%;
    background: #dadada;
}
.cont_sel select{
    width: 90%;
    margin: 0 5%;
    height: 45px;
    padding-right: 0;
}
#tavolo_detail .cont_sel{
    position: absolute;
    top: 45px;
    left: 0;
}
.content,.content_full{
    position: absolute;
    top: 45px;
    bottom: 45px;
    width: 100%;
    left: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
#tavolo_detail .content{
    top: 90px;
}
#list_tavoli .search,#list_plu .search{
    margin: 8px 3%;
}
#list_option .el_plu{
    top: 40px;
}
#list_plu .el_plu{
    top: 98px;
}
.content_full{
    bottom: 0;
}
#el_tavoli{
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    display: block;
    position: absolute;
    top: 60px;
    bottom: 0;
    overflow-y: auto;
}
#el_tavoli ul{
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    min-height: 100%;
    background: #FFF;
}
#el_tavoli li{
    font-family: Roboto-Medium,sans-serif;
    width: 33.3%;
    border:2px solid #f9f9f9;
    display: inline-block;
    border-radius: 8px;
    text-align: center;
    padding: 10px 0;
    background: #FFF;
    font-size: 25px;
}
#el_tavoli li::after{
    display: none;
}
#el_tavoli li.occupato{
    background: #f43b3b;
    color: #FFF;
}
.ctr_refresh{
    height: 40px;
    margin-top: -40px;
    text-align: center;
    font-size: 13px;
}
.view{
    position: absolute;
    left: 100%;
    top:0;
    width: 100%;
    height: 100%;
    background-color:#f9f9f9;
    z-index: 2;
}
.menu{
    margin: 0;
    padding: 0;
    height: 45px;
    list-style: none;
    position: absolute;
    border-top: 1px solid #cdced3;
    bottom:0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 12px;
    overflow: hidden;
}
.menu.second{
    bottom:45px;
}
.menu.el2 li{
    width: 50%;
}
.menu.el5 li{
    width: 20%;
}
.menu.el4 li{
    width: 25%;
}
.menu li{
    float: left;
    margin: 0;
    padding-top: 5px;
    color: #918e8e;
    height: 45px;
    overflow: hidden;
}
.menu li.more_pad{
    padding-top: 12px;
}
.menu li.nopad{
    padding-top: 0;
}
.menu li input{
    border: none;
    width: 100%;
    height: 100%;
    font-family: Roboto-Medium;
    font-size: 25px;
    text-align: center;
}
.menu li i{
    font-size: 22px;
    display: block;
}
.menu li.sel_marcia{
    opacity: 0.3;
    font-family: Roboto-Medium;
    font-size: 25px;
}
.menu li.sel_marcia.active{
    opacity: 1;
}
/*TAVOLO DETAIL*/
.header a{
    position: absolute;
    top: 14px;
    text-decoration: none;
    color: #656565;
}
.header a.left{
    left: 15px;
}
.back,.back_tavolo {
    left: 15px;
    text-transform: uppercase;
    font-size: 14px;
}
.back_tavolo {
    left: auto;
    right: 15px;
}
.title{
    width: 100%;
    font-size: 12px;
}
.title strong{
    font-size: 17px;
}
.el_ordine{
    color: #FFF;
    width: 100%;
    display: block;
    font-family: Roboto-Medium,sans-serif;
}
.el_ordine ul{
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
}
.el_ordine ul.active{
    border-left: 5px solid #6df969;
}
.el_ordine li{
    display: block;
    border-bottom: 1px solid #cdced3;
    position: relative;
}
.el_ordine li.deleted .name,.el_ordine li.deleted .qta{
    text-decoration: line-through;
    color: #656565;
}
.el_ordine li .cont_plu{
    position: relative;
    width: 100%;
    background: #FFF;
    z-index: 3;
    padding: 12px 2px;
}
.el_ordine li .delete{
    position: absolute;
    width: 82px;
    text-align: center;
    z-index: 2;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 0 15px;
    font-size: 14px;
    font-family: Roboto-Regular;
}
.el_ordine li .delete::before{
    height: 100%;
    width: 0;
    content: "";
    display: inline-block;
    vertical-align: middle;
}
.el_ordine li .name{
    width: 55%;
    display: inline-block;
    vertical-align: middle;
    font-size: 15px;
}
.el_ordine li .price{
    display: block;
    font-size: 12px;
    font-family: Roboto-Regular;
}
.el_ordine li .variant{
    font-size: 11px;
    color: #656565;
    display: inline-block;
    width: 30%;
    font-family: Roboto-Light;
    vertical-align: middle;
}
.el_ordine li .variant li{
    padding: 0;
    border: none;
}
.el_ordine .qta{
    vertical-align: middle;
    font-size: 32px;
    width: 15%;
    text-align: center;
    display: inline-block;
}
.el_ordine .add,.el_ordine .minus{
    text-align: center;
    background: rgba(40,35,35,0.1);
    font-size: 15px;
    padding: 15px;
    display: block;
    width: 100%;
}
#plu_detail .add,#plu_detail .minus{
    width: 50%;
    float: left;
}
#plu_detail .content{
    bottom: 90px;
}
#marcia0,#plu_detail .el_ordine{
    color: #282323;
}
#marcia1,#marcia1 li .cont_plu{
    background: #3acdef;
}
#marcia2,#marcia2 li .cont_plu{
    background: #0351ed;
}
#marcia3,#marcia3 li .cont_plu{
    background: #ea3f3f;
}
/*LIST PLU*/
h1{
    width: 100%;
    font-family: Roboto-Medium;
    font-size: 20px;
    text-align: center;
    margin: 7px 0 7px 0;
    font-weight: normal;
    text-transform: uppercase;
}
.el_plu{
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
    width: 100%;
    position: absolute;
    top: 90px;
    bottom: 0;
    overflow-y: auto;
    background: #FFF;
}
.el_plu li{
    display: block;
    width: 100%;
    padding: 15px 20px;
    border-bottom: 1px solid #cdced3;
}
.el_plu li::after{
    display: inline-block;
    float: right;
    content: "\f105";
    font-weight: 900;
    font-family: Font Awesome\ 5 Free;
}
.op_add .el_plu li::after, .el_plu li.op_add::after{
    content: "\f055";
}
.op_minus .el_plu li::after,.el_plu li.op_minus::after{
    content: "\f056";
}
.op_add .active{
    color: #43ce3c;
}
.op_minus .active{
    color: #fb3a2f;
}
.search{
    width: 94%;
    margin: 0 0 0 3%;
    border-radius: 30px;
    border: 1px solid #c7c7cc;
    padding: 10px;
    font-size: 13px;
    font-family: Roboto-Light;
    background: url(../images/search.png) no-repeat center right;
}
/*SETTING*/
.cont_form{
    width: 90%;
    margin-left: 5%;
}
#save_setting,#update_db{
    border: none;
    padding: 8px 15px;
    float: right;
    margin-top: 10px;
}
#update_db{
    float: left;
}
.cont_form label{
    width: 100%;
    font-size: 13px;
}
.cont_form input{
    width: 100%;
    padding: 5px;
    font-family: Roboto-Medium;
    font-size: 25px;
}
/*MODAL*/
.cont_modal{
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	text-align: center;
	z-index: 100;
	display: none;
	background: url(../images/bg_over.png);
	cursor: pointer;
}
.view_modal{
	display: inline-block;
	width: 80%;
	position: relative;
	z-index: 2;
	top: 0;
	margin: 10% 0;
	text-align: left;
	background: #FFF;
	padding: 60px 20px 20px 20px;
	will-change:top;
	cursor: default;
}
.popAlert .view_modal{
	width: 60%;
	text-align: center;
	font-size: 15px;
}
.popAlert .view_modal .title_view{
	text-align: left;
}
.popAlert button{
    padding: 10px 20px;
    color: #FFF;
    border: none;
    display: inline-block;
    margin: 10px 3px 0;
}
.popAlert button.yes{
    background: #43ce3c;
}
.popAlert button.no{
    background: #fb3a2f
}
.popAlert .close_modal{
    display: none;
}
.title_view{
	position: absolute;
	top: 0;
	left: 0;
	background: #2f4050;
	width: 100%;
	padding: 10px;
	color: #FFF;
	font-weight: bold;
}
.close_modal:before{
	display: inline-block;
	content: '';
	content: "\f00d";
	font-family: FontAwesome;
	font-weight: normal;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	/*margin-right: 15px;
	background: url('../images/cms/close_mod.png');
	background-size: 100% 100%;*/
	font-size: 20px;
}
.close_modal{
	float: right;
	cursor: pointer;
}
/*GENERAL*/
#download,#alert{
    background: #FFF;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100;
    top:0;
    text-align: center;
    padding-top: 40%;
    display: none;
}
.nopad{
    padding: 0;
}
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}
*:focus,*{
	outline-width: 0;
}
a{
    color: inherit;
    text-decoration: none;
}
.bg_red{
    background: #fb3a2f!important;
    color: #FFF!important;
}
.bg_green{
    background: #43ce3c!important;
    color: #FFF!important;
}
.bg_blue{
    background: #3acdef!important;
    color: #FFF!important;
}
.bg_darkblue{
    background: #0351ed!important;
    color: #FFF!important;
}
.txt_blue{
    color:#3acdef;
}
.txt_darkblue{
    color:#0351ed;
}
.txt_red{
    color:#fb3a2f;
}

.flLeft{
    float: left;
}
