.html{
    height: 100%;
    background-color: #FEDD02;
    padding: 10px;
    border-color:  #888888;
    font-family: helvetica;
    font-size: 14px;
}

body{
    background-color: #FEDD02;
    color: #555;;
    overscroll-behavior: contain;
}

.erro {
    color: #AA0800;
}

.campo_errado
{
    background-color: #FFD2BA;
}

div.erro_servidor{
    margin: 50px auto;
    color: #990000;
    font-weight: bold;
}

.inline {
    display: inline !important;
}

.login{
    display:block; 
    background-color: #FEDD02;
    background-image: url('../images/taxi.png');
    background-repeat: no-repeat;
    background-position: top;
    width: 300px;
    height: 450px;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.3) !important;
    position: relative;
    float: none;
    margin: 0 auto;
}

.login_padding
{
    padding-top: 170px;
}

.login_padding_input
{
    padding-left: 25px;
    padding-right: 25px;
    margin-bottom: 2px;
}


.registo-form {
    width: 640px;
    margin: 50px auto;
}
.registo-form form {
    margin-bottom: 15px;
    background: #f7f7f7;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    padding: 30px;
}
.registo-form h2 {
    margin: 0 0 15px;
}

.form-group label {
    color: #555;
    margin-bottom: 0px;
     margin-top: 5px;
}



#start{
    cursor: pointer;
}
.navbar{
    line-height: 1;
background-image: url('../images/bg_topgrad.png');
background-repeat: repeat-x;
color: white;
}


.navbar-default .navbar-nav > .active{
    color: #000;
    background: transparent;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #000;
    background: transparent;
}

#form_div{
    padding:19px;
    margin-bottom:20px;
    padding-top:0px;
}

#container 
{
    margin-top: 60px;
}

.navbar-brand{
    background-image: url('../images/logo_joaps.png');
background-repeat: no-repeat;
width: 250px;
height: 55px;

}

.wrapper {
    margin: auto;
  display: grid;
  grid-gap: 1px;
  color: #444;
}

.wrapper_button {
    margin: auto;
    width: 125px;
  display: grid;
  grid-template-columns: 125px ;
  grid-gap: 1px;
  color: #444;
}


.separator{
    border-style: none dotted none dotted;
    border-width: 2px;
}
div.main_help{
    text-align: center;
    width: 100%;
}
.hand{
        cursor: pointer;
}

.hidden{
    display: none;
}

.topo {
   width: 100%;
   height: 40px;
   background-color: white;
}
.topo_logo 
{
   float: left;
   
    width: -webkit-calc(100% - 80px);
    width:    -moz-calc(100% - 80px);
    width:         calc(100% - 80px);
    
   height: 40px;
   color: black;
}
.logo 
{
   text-align: center;
   width: 100%;
   height: 40px;
   background-image: url('../images/logo_peq.jpg');
   background-position: center;
   background-repeat: no-repeat;
}

.topo_user 
{
   float: left;
   width: 40px;
   height: 40px;
   background-image: url('../images/user.png');
   background-position: center;
   background-repeat: no-repeat;
}

.topo_carrinho 
{
   float: right;
   width: 40px;
   height: 40px;
   background-image: url('../images/shop_bag_peq.png');
   background-position: center;
   background-repeat: no-repeat;
}

.resumo_carrinho 
{
   width: 36px;
   height: 20px;
   padding-top: 14px;
   text-align: center;
   vertical-align: middle;
   color: green;
}



.search_input
{
    background-color: #aaa;
    color: #333;
    margin-right: 10px;
    size: 15px;
}
.search_label{
    font-size: 80%;
    padding-right: 10px;
    padding-left: 10px;
}
.mimicLink
{
    color: #3979ad;
}

div.registo_user {
    margin: auto;
    margin-top: 10px;
    display: table;
    float: none !important ;
}

div.user_help{
    text-align: center;
    width: 100%;
    height: 20px;
    padding-top: 20px;
    font-weight: bold;
}

div.help_container {
    width: 90%;
    margin: auto;
    text-align: center;
    display:none;
}

div.help{
    text-align: center;
    font-size: 80%;
    float: left;
    width: 33%;
}

div.imprimir{
    
    background-image: url('../images/printer.png');
    background-position: center;
    background-repeat: no-repeat;
    width: 150px;
    height: 150px;
    margin: 50px auto;
}


div.email{
    
    background-image: url('../images/email.png');
    background-position: center;
    background-repeat: no-repeat;
    width: 150px;
    height: 150px;
    margin: 50px auto;
}


div.consultar{
    
    width: 380px;
    margin: 50px auto;
    
}

div.inicio{
    
    background-image: url('../images/taxi_peq.png');
    background-position: center;
    background-repeat: no-repeat;
    width: 150px;
    height: 150px;
    margin: 50px auto;
    
}
div.pedido{
    position:absolute;
    
    height: -webkit-calc(100% - 30px);
    height:    -moz-calc(100% - 30px);
    height:         calc(100% - 30px);
    
    width: -webkit-calc(100% - 10px);
    width:    -moz-calc(100% - 10px);
    width:         calc(100% - 10px);
}
div.categorias{
    background-color: #333;
    overflow: auto;
    white-space: nowrap;
}

div.categoria{
    font-size: 12px;
    display: inline-block;
    color: white;
    text-align: center;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    text-decoration: none;
    width: 100%;
    height: 25%;
    border-radius: 10px;
    border: 1px solid #888888;
    background: #73AD21;
    margin-bottom: 5px;
    background-image: linear-gradient(#CCCCCC, #FF8300);
}
label.categoria
{
    cursor: pointer;
    width: 100%;
    height: 20px;
}


div.salas{
    background-color: #333;
    overflow: auto;
    white-space: nowrap;
        height: 50px;
}

div.sala{
    font-size: 12px;
    display: inline-block;
    color: white;
    text-align: center;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    text-decoration: none;
    width: 120px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #888888;
    background: #73AD21;
    margin-bottom: 5px;
    background-image: linear-gradient(#CCCCCC, #48484C);
}

div.mesas{
    background-color: #333;
    position:absolute;
    
    height: -webkit-calc(100% - 10px);
    height:    -moz-calc(100% - 10px);
    height:         calc(100% - 10px);
    
    width: -webkit-calc(100% - 10px);
    width:    -moz-calc(100% - 10px);
    width:         calc(100% - 10px);
    
    z-index: 100;
    overscroll-behavior: contain;
}


label.sala
{
    cursor: pointer;
    width: 100%;
    height: 20px;
}

label.mesa_actual{
    padding-top: 0px;
    width: 100%;
    text-align: center;
    background-color: white;
    color: black;
    height: 20px;
}

div.menu{
     background-color: #333;
    position:absolute;
    padding-top: 100px;
    
    padding-right: -webkit-calc(50% - 160px);
    padding-right:    -moz-calc(50% - 160px);
    padding-right:         calc(50% - 160px);
    
    padding-left: -webkit-calc(50% - 160px);
    padding-left:    -moz-calc(50% - 160px);
    padding-left:         calc(50% - 160px);
    
    height: -webkit-calc(100% - 10px);
    height:    -moz-calc(100% - 10px);
    height:         calc(100% - 10px);
    
    width: -webkit-calc(100% - 10px);
    width:    -moz-calc(100% - 10px);
    width:         calc(100% - 10px);
    
    z-index: 100;
    overflow-y: hidden;
    overflow-x:hidden;
}

div.opcao_menu label{
    
    clear: both;
    font-size: 12px;
    display: inline-block;
    color: white;
    text-align: center;
    padding-top: 22px;
    padding-left: 5px;
    padding-right: 5px;
    text-decoration: none;
    width: 300px;
    height: 60px;
    border-radius: 10px;
    border: 1px solid #888888;
    background: #73AD21;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    background-image: linear-gradient(#CCCCCC, #48484C);
    cursor: pointer;
}

div.lista_mesas{
    height: -webkit-calc(100% - 100px);
    height:    -moz-calc(100% - 100px);
    height:         calc(100% - 100px);
    
}
div.mesa_voltar{
    display: flex;
    align-items: center;
    float: left;
    clear: both;
    color: black;
    background-image: linear-gradient(#3A78FF, #9BCDFF, #9BCDFF, #3A78FF);
    margin-bottom: 5px;
    margin-right: 5px;
    height: 15%;
    font-size: small;
    text-align: center;

    width: -webkit-calc(25% - 5px);
    width:    -moz-calc(25% - 5px);
    width:         calc(25% - 5px);
    
    border-radius: 10px;
    border: 1px solid #888888;
    
    text-align:center;

}


div.mesa{
    display: flex;
    align-items: center;
    float: left;
    color: black;
    background-image: linear-gradient(#3A78FF, #9BCDFF, #9BCDFF, #3A78FF);
    margin-bottom: 5px;
    margin-right: 5px;
    height: 15%;
    font-size: small;
    text-align: center;

    width: -webkit-calc(25% - 5px);
    width:    -moz-calc(25% - 5px);
    width:         calc(25% - 5px);
    
    border-radius: 10px;
    border: 1px solid #888888;
}

label.mesa
{
    text-align:center;
    width: 95%;
    margin-left: 3%;
}

label.mesa_voltar {
    text-align: center;
    width: 95%;
    margin-left: 3%;
}

div.mesas_abertas{
    height: 100%;
    overscroll-behavior: contain;
}

div.consulta{
    position:absolute;
    left: 0px;
    top: 0px;
    
    height: 100%; 
    width: 100%;
    
    z-index: 100;
}

div.lista
{
    position: relative;
    clear: both;
    float: left;
   
    width: 40%;
    background-color: #F5F3F2;
    
    height: -webkit-calc(100% - 40px);
    height:    -moz-calc(100% - 40px);
    height:         calc(100% - 40px);
    
    border-radius: 10px;
    border: 1px solid #888888;

}

div.lista_talao
{
    margin-top: 3px;
    margin-left: 5px;
    
    width: -webkit-calc(100% - 10px);
    width:    -moz-calc(100% - 10px);
    width:         calc(100% - 10px);
    
    height: -webkit-calc(100% - 50px);
    height:    -moz-calc(100% - 50px);
    height:         calc(100% - 50px);
    color: black;
    background-color: #EEEEEE;
    
    overflow-y: scroll;
    overflow-x:hidden;
    border-radius: 10px;
    border: 1px solid #888888;
}


div.produtos
{
    float: left;
    width: 100%;
    padding-top: 5px;
    color: white;
    height: -webkit-calc(100%);
    height:    -moz-calc(100%);
    height:         calc(100%);
    
    overflow-y: scroll;
    overflow-x:hidden;
    overscroll-behavior: contain;
}

div.produtos_lista
{
    width: 460px;
    margin: auto;
}

div.produto
{
    background-image: linear-gradient(#888888, #48484C);
    background-repeat: no-repeat;
    background-position: center; 
    margin-bottom: 20px;
    margin-right: 5px;
    height: 80px;
    text-align: center;

    width: 100%;
    border: 1px solid #888888;
     border-radius: 10px;
    position:relative
}
div.descricao_produto {
   width: 100%;
   height: 100%;
}



label.descricao_produto {
    text-align:center;
    width: 100%;
    line-height: 75px;


}
label.preco_produto {
    text-align:right;
    width: 100%;
    line-height: 70px;
    padding-right: 10px;
    background-color: rgba(0, 255, 255, 0.5);
    margin: 0px;
}

label.adiciona_produto{
    cursor: pointer;
}

label.detalhe_designacao
{
    width: 50%;
}

label.detalhe_preco
{
    width: 50%;
    text-align: right;
}

.detalhe_botoes
{
    width: 50%;
    height: 60px;
    color: black;
}
.detalhe_produto
{
    width: 100%;
    height: 80px;
}
.detalhe_quantidade
{
    width: 100%;
    height: 70px;
    text-align: center;
}

div.detalhe_carrinho_botoes
{
    margin-top: 20px;
}
.detalhe_extras
{
    width: 100%;
    display:table;
}
.detalhe_menos
{
    width: 40px;
    height: 40px;
}

.detalhe_mais
{
    width: 40px;
    height: 40px;
}

.detalhe_qtd{
    width: 40px;
    height: 40px;
    color: black;
    font-size:large;
    text-align: center;
}


div.opcoes{
    width: 460px;
    margin: auto;
    margin-top: 40px;
}

div.opcao
{
    background-image: linear-gradient(#0000FF, #0B1980);
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 5px;
    margin-right: 5px;
    height: 80px;
    text-align: center;
    width: 100%;
    border: 1px solid #888888;
    border-radius: 10px;
    position: relative;
    line-height: 80px;
    cursor: pointer;
}
label.opcao_lbl{
    cursor: pointer;
    
}



#loading{
    position: relative; 
    z-index: 300; 
    width: 100%; 
    height: 100%; 
}
#loading_msg{
    position: relative; 
    width: 256px; 
    height: 256px; 
    
    background-image: url('../images/loading-orange.gif');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 256px;
    margin: auto;
    padding-top: 100px;
}

div.painel_calendario{
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 180px;
    height: 40px;
    font-size: 16px;
}

div.painel_calendario_hora{
    margin: auto;
    width: 210px;
    height: 40px;
    float: right;
}

div.calendario_lbl{
    width: 60px;
    height: 100%;
    float: left;
}

label.calendario_lbl{
    height: 100%;
    line-height: 36px;
    color: black;
    font-weight: bold;
}

div.calendario_data{
    width: 120px;
    height: 100%;
    float: left;
}

div.calendario_data_hora{
    width: 180px;
    height: 100%;
    float: right;
    margin-right: 2px;
}

.calendario_input{
    height: 30px;
    line-height: 30px;
    background-color: #eee; 
    display: block;
    width: 100%;
    padding-top: 3px;
    padding-left: 0px;
    margin: 0px !important;
    color: #555;
}


input.calendario_input_hora{
    margin-top: 5px;
}

div.calendario_actualizar{
    width: 30px;
    height: 100%;
    float: left;
    margin-left: 10px;
}

.calendario {
    cursor: pointer;

    background-image: url('../images/calendar.png');
    background-repeat: no-repeat;
    background-position: right;
    background-color: transparent;
    border: 0px;
      -webkit-box-shadow: none;
    box-shadow: none;
    text-align: left;
}

.actualizar {
    cursor: pointer;

    background-image: url('../images/search.png');
    background-repeat: no-repeat;
    background-position: right;
    background-color: transparent;
    width: 30px;
    height: 30px;
}

.data_calendario {

    width: 100px;
    height: 30px;
}


div.docs{
    margin: auto;
    width: 560px;
    margin-bottom: 20px;
}
div.docs_linha{
    clear: both;
    height: 50px;
}

div.docs_linha_header{
    clear: both;
    height: 25px;
    line-height: 25px;
    background-color: grey;
    border-radius: 5px;
    color: white;
}

.docs_linha label
{
    display: flex;
    align-items: center;
    height: 50px;
}


div.docs_invoice{
    width: 100px;
    float: left;
    height: 100%;
    padding-left: 5px;
}

div.docs_cliente{
    width: 300px;
    float: left;
    height: 100%;
}

div.docs_imprime{
    width: 50px;
    height: 50px;
    background-image: url('../images/printer.png');
    background-size: 40px;
    float: left;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
    cursor: pointer;
}

div.docs_email{
    width: 50px;
    height: 50px;
    background-image: url('../images/email.png');
    background-size: 40px;
    float: left;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
    cursor: pointer;
}

div.docs_consulta{
    width: 50px;
    height: 50px;
    background-image: url('../images/view.png');
    background-size: 40px;
    float: left;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
    cursor: pointer;
}


div.docs_imprime_header{
    width: 50px;
    height: 100%;
    float: left;
}

.docs_linha_semdados label
{
    height: 50px;
}

.docs_semdados label{
    width:100%;
    text-align: center;
    line-height: 50px;
}

div.voltar{
    width: 300px;
    margin: auto;
    text-align: center;
    cursor: pointer;
    background-image: linear-gradient(orange, #BC5800);
    background-repeat: no-repeat;
    background-position: center;
    font-weight: bold;
    height: 40px;
    line-height: 40px;
    border-radius: 10px;
    clear: both;
    color: white;
    border: 0px solid black;
    cursor: pointer;
    margin-bottom: 20px;
}

label.voltar{
    width: 100%;
    cursor: pointer;
}



select.pais{
    display: block;
    height: 40px;
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
     -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
    background-image: url('../images/search2.png');
    background-repeat: no-repeat;
    background-position-x: right;
    cursor: pointer;
}

.bold{
    font-weight: bold;
}
.font_larger{
    font-size: larger;
}

.centrado{
    text-align: center;
}

div.talao{

}
div.extra
{
    display: flex;
    align-items: center;
    float: left;
    margin-bottom: 5px;
    margin-right: 5px;
    height: 60px;
    font-size: small;
    text-align: center;

    padding-left: 5px;
    width: 100%;
    border: 1px solid #888888;
}
.descricao_extra {
    text-align:left;
    width: 100%;
}
.extra_escolhido
{
    background-color: orange;
}

div.carrinho
{
    float: left;
    width: 100%;
    background-color: #333;

    padding-top: 5px;
    height: -webkit-calc(100% - 40px);
    height:    -moz-calc(100% - 40px);
    height:         calc(100% - 40px);
    
    overflow-y: scroll;
    overflow-x:hidden;
    overscroll-behavior: contain;
}

div.detalhe_carrinho
{
    background-image: linear-gradient(#FFDAAF, #FF8800);
    background-repeat: no-repeat;
    background-position: center; 
    margin-bottom: 5px;
    margin-right: 5px;
    
    font-size: small;

    width: 100%;
    
    border: 1px solid #888888;
    padding-top: 10px;
}
div.detalhe_carrinho_produto{
    width: 100%;
}

div.detalhe_carrinho_extra{
    width: 100%;
}

input.detalhe_carrinho
{
    width: 50%;
    color: black;
}


label.detalhe_carrinho_designacao{
    padding-left: 20px;
    width: -webkit-calc(100% - 100px);
    width:    -moz-calc(100% - 100px);
    width:         calc(100% - 100px);
    text-align: left;
}

label.detalhe_carrinho_qtd{
    width: 40px;
}

label.detalhe_carrinho_preco{
    width: 40px;
}

label.detalhe_carrinho_valor{
    width: 60px;
}

label.detalhe_carrinho_extra{
    width: 100%;
    text-align: left;
    padding-left: 40px;
}

.fundo{
    position: absolute;
    bottom: 0;
}

.btn-gravar
{
    background-color: #31b0d5;
    border-color: #269abc;
    color: white;
    width: 150px;
}

.btn-info-cancel
{
    background-color: #d50000;
    border-color: #aa0000;
    color: white;
    width: 150px;
}

.btn-nif
{
    background-color: orange;
    border-color: orangered;
    color: white;
    width: 100%;
}

@font-face { font-family: deja; 
			 src: url('../fonts/DejaVuSansMono.ttf'); } 
@font-face { font-family: condensed; 
			 src: url('../fonts/Antonio-Bold.ttf'); }

@page
{
    size:  auto;   /* auto is the initial value */
    margin: 0mm;  /* this affects the margin in the printer settings */
}

html
{
    background-color: #FFFFFF;
    margin: 0px;  /* this affects the margin on the html before sending to printer */
}

body
{
    margin: 0mm; /* margin you want for the content */
}

.impressao{
    font-family: deja;
    font-size: 14px;
}

.print{
    margin: 0mm;
}
p.impressao{
    margin: 0mm !important;
}
.impressao_grande{
    font-family: condensed; 
    font-size: 17px !important;
}
.impressao_pequeno{
    font-size: 12px !important;
}

.impressao_extragrande{
    font-family: condensed; 
    font-size: 22px !important;
}

.impressao_bold{
 font-weight: bold;   
}

.loading_small
{
    margin-top: 25px;
}

.lbl_cliente{
    display: block;
}

div.opcoes_talao{
    width: -webkit-calc(100% - 10px);
    width:    -moz-calc(100% - 10px);
    width:         calc(100% - 10px);
    
    height: 40px;
    margin-left: 5px;
    margin-bottom: 3px;
    background-color: purple;
}

div.opcao_talao{
    float: left;
    width: 20%;
    height: 40px;
    background-color: #F5F3F2;
    color: white;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    padding: 5px;
    background-repeat: no-repeat;
    background-size: 40px 40px;
}

.linha{
    cursor: pointer;
}

.linha_escolhida{
    background-color: orange;
}

table.talao{
    width: 100%;
    margin-top: -5px;
}

table.talao th{

    background-image: linear-gradient(#3A78FF, #9BCDFF, #9BCDFF, #3A78FF);
    height: 20px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 12px;
}
.col_prod{
    width: 80%;
    padding-left: 5px;
}

td.col_extra{
    width: 100%;
    color: #444444;
    padding-left: 20px;
}

.col_quant{
    text-align: center;
    width: 20%;
}

.col_preco{
    width: 0px;
    display: none;
}

div.consulta_mesa{
  
    height: 100%;
    width: 100%;
}

div.consulta_talao{
  
    height: -webkit-calc(100% - 90px);
    height:    -moz-calc(100% - 90px);
    height:         calc(100% - 90px);
    width: 100%;
}

.linha_consulta_quant{
    width: 8%;
    text-align: right;
    padding-right: 10px;
}


th.linha_consulta_valor{
    width: 15%;
    text-align: right;
    padding-right: 10px;
}

td.linha_consulta_valor{
    width: 15%;
    text-align: right;
    padding-right: 10px;
}



div.consulta_talao_mesa{
    height: 30px; 
    width: 100%;
}

div.consulta_talao_total{
    height: 40px; 
    width: 100%;
}

table.consulta_talao{
    width: 100%;
    padding: 10px;
}

table.consulta_talao th{
    background-image: linear-gradient(#3A78FF, #9BCDFF, #9BCDFF, #3A78FF);
    color: black;
    height: 20px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 12px;
}

table.consulta_talao td{
    height: 20px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 12px;
}

div.voltar_talao{
    clear: left;
    float: left;
    width: 30%;
    cursor: pointer;
    height: 100%;
    display: inline-block;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid #888888;
    background: #73AD21;
    background-image: linear-gradient(#CCCCCC, #FF8300);
    padding-top: 8px;
    color: black;
    font-weight: bold;
}

div.pagar_talao{
    float: left;
    width: 30%;
    cursor: pointer;
    height: 100%;
    display: inline-block;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid #888888;
    background: #73AD21;
    background-image: linear-gradient(#CCCCCC, #FF8300);
    padding-top: 8px;
    color: black;
    font-weight: bold;
}

div.total_talao{
    padding-top: 8px;
    float: left;
    width: 70%;
    text-align: right;
    padding-left: 20px;
    padding-right: 10px;
    font-weight: bold;
    
}

div.opcoes_fatura{
     background-color: #333;
    position:absolute;
    padding-top: 100px;
    
    padding-right: -webkit-calc(50% - 160px);
    padding-right:    -moz-calc(50% - 160px);
    padding-right:         calc(50% - 160px);
    
    padding-left: -webkit-calc(50% - 160px);
    padding-left:    -moz-calc(50% - 160px);
    padding-left:         calc(50% - 160px);
    
    height: -webkit-calc(100% - 10px);
    height:    -moz-calc(100% - 10px);
    height:         calc(100% - 10px);
    
    width: -webkit-calc(100% - 10px);
    width:    -moz-calc(100% - 10px);
    width:         calc(100% - 10px);
    
    z-index: 100;
    overflow-y: hidden;
    overflow-x:hidden;
}

div.fatura label{
    
    clear: both;
    font-size: 12px;
    display: inline-block;
    color: white;
    text-align: center;
    padding-top: 22px;
    padding-left: 5px;
    padding-right: 5px;
    text-decoration: none;
    width: 300px;
    height: 60px;
    border-radius: 10px;
    border: 1px solid #888888;
    background: #73AD21;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    background-image: linear-gradient(#CCCCCC, #48484C);
    cursor: pointer;
}

.box {
  color: #444;
  border-radius: 5px;
  padding: 5px;
  text-align: center;
  margin-top: 1px;
}

#confirm_backdrop{width:100%;height:100%;position:fixed;z-index:999;top:0;left:0;background:#000;-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";filter: alpha(opacity=50);-khtml-opacity: 0.5;-moz-opacity: 0.5;opacity: 0.5;filter: alpha(opacity=50);;display:none;}
#confirm_dialog{position: fixed;top: 20%;left: 30%;z-index:1000;width: 40%;padding: 20px;box-sizing: border-box;background: #FFF;display:none;}
#confirm_title{color: #525252;padding: 0px 0px 5px 5px;font-weight: bold;font-size: 18px;}
#confirm_actions{margin-top: 20px;text-align: center;}
#confirm_actions button{padding: 10px 15px;border: 0;color: #FFFFFF;text-transform: uppercase;cursor: pointer;-khtml-border-radius: 3px;-o-border-radius: 3px;border-radius: 3px;-webkit-border-radius: 3px;-moz-border-radius: 3px;}
#confirm_actions button.red{background: green;}
#confirm_actions button.gray{background: red;}
#confirm_doit{margin-right: 10px;}
#confirm_dont{background: #969696;margin-left: 10px;}



.negative {
    color: #B71B00;
}

.positive {
    color: #2E8227;
}

.boxheader {
  background-color: #EEE;
  color: #000;
  border-radius: 5px;
  padding: 5px;
  text-align: center;
  cursor: pointer;
}
label.gera_pdf{
    background-image: url('../images/pdf.png');
    background-repeat: no-repeat;
    width: 28px;
    height: 28px;
    cursor: pointer;
    margin: 0px !important;
    padding: 0px !important;
}

div.col_PDF
{
    margin: 0px !important;
    padding: 0px !important;
}

#div_details {
    position:fixed;
    left: 50%;
    width:44em;
    margin-top: -10em; /*set to a negative number 1/2 of your height*/
    margin-left: -24em; /*set to a negative number 1/2 of your width*/
    border: 1px solid #ccc;
    background-color: #333;
    display: none;
    z-index: 99;
    overflow-y: scroll;
}

.hide{
    display: none;
}

.show{
    display: block;
}

#btn_submit
{
    margin-top: 10px;
    margin-bottom: 10px;
}

.form-control_label {
    display: block;
    width: 100%;
    height: 28px;
    padding: 2px 6px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

div.teclado{
    width: 100%;
    height: 220px;
    padding-left: 20%;
    padding-right: 20%;
    margin-bottom: 15px;
    margin-top: -10px;
}
div.tecla{
    cursor: pointer;
    text-align: center;
    padding-top: 15px;
    float: left;
    width: 50px;
    height: 50px;
    margin: 3px;
    background-image: url('../images/tecla.png');
    background-size: 50px 50px;
    background-repeat: no-repeat;
}
