.html{
    height: 100%;
    border-color:  #888888;
    font-size: 14px;
    margin:0px;
    padding: 0px;
    height: -webkit-fill-available;
    max-height: 100vh;
    font-family: "Verdana";
    font-size: 14px;
}

body{
    color: black;
    background-color: #eee;
    overscroll-behavior: contain;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    width: 100vw;
        margin:0px;
    padding: 0px;
}


.erro {
    color: #AA0800;
}
#loading{
    position: relative; 
    z-index: 999; 
    width: 100%; 
    height: 100%; 
    display: block; 
    text-align: center;
}

div.loading{
    position: relative; 
    z-index: 999; 
    width: 100%; 
    height: 100%; 
    display: block; 
    text-align: center;
    background-image: url('../images/barra_s.gif');
    background-repeat: no-repeat;
    background-position: center;
}

#start{
    cursor: pointer;
}

.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;
}

.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.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.menu{
    position:fixed;
   width: 100%;
   height: 100%;
    
    z-index: 1000;

}

div.menu_lista
{
    width: 460px;
    margin: auto;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100vh;
}
div.opcao_menu{
    width: 450px;
    display: inline-block;
}
div.opcao_menu label{
    
    clear: both;
    display: inline-block;
    color: #eee;
    text-align: center;

    text-decoration: none;
    width: 100%;
    height: 60px;
    line-height: 60px;
    border-radius: 10px;
    border: 1px solid #888888;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    background-image: linear-gradient(#6E8ACC, #013E8E);
    cursor: pointer;
}

div.separador_menu{
        float: left;
        margin-right: 10px;
        width: 100%;
    }
    
div.separador_menu label{
    
    clear: both;
    font-size: 16px;
    display: inline-block;
    color: #333;
    text-align: center;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    text-decoration: none;
    width: 100%;
    height: 30px;

    margin-left: auto;
    margin-right: auto;
}

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

tr{
    font-size: 16px;
}


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

div.dados{
    height: 100%;
}

div.div_details{
    margin-top: 15px;
    text-align: center;
}

div.detalhe_dados{
     height: -webkit-calc(100vh - 70px);
    height:    -moz-calc(100vh - 70px);
    height:         calc(100vh - 70px);
    width: 50%;
    padding-left: 5px;
    padding-right: 5px;
    overflow-y: scroll;
    overflow-x: hidden;
    clear: both;
}

div.lista_concluidas, div.consulta_tarefas{

    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
    overflow-y: scroll;
    overflow-x: hidden;
    clear: both;
}
div.lista_concluidas{
   
    height: -webkit-calc(100vh - 100px);
    height:    -moz-calc(100vh - 100px);
    height:         calc(100vh - 100px); 
}
div.consulta_tarefas{
   
    height: -webkit-calc(100vh - 50px);
    height:    -moz-calc(100vh - 50px);
    height:         calc(100vh - 50px); 
}  

div.lista_tarefas{
    float:left;
    width: 100%;
    text-align: center;
    padding-bottom: 80px;
    
}

div.lista_novas_tarefas{
    float:left;
    width: 46%;
    text-align: center;
    padding-bottom: 80px;
    position: fixed;
    right: 25px;
        height:  -webkit-calc(100% - 60px);
    height:    -moz-calc(100% - 60px);
    height:         calc(100% - 60px); 
     overflow-y: scroll;
    overflow-x: hidden;
}

.titulo_lista_tarefas{
    margin-top: 4px;
}

.lista_completa{
    width: 85% !important;
}

.lista_vazia{
    width: 10% !important;
}

.todas_tarefas {
    width: 100%;
    min-height: 200px;
    padding-bottom: 150px;
    text-align: left;
}

.novas_tarefas{
    width: 100%;
    min-height: 200px;
    text-align: left;
    margin-top: 4px;
}

.tarefa{
    border-radius: 10px;
    background-color: #F7FEFF;
    cursor: pointer;
    margin-bottom: 4px;
    padding-left: 5px;
}

.descricao_tarefa{
padding: 5px;
width: 100%;   
 cursor: pointer;
 text-align: left;
}

.descricao_abrev_tarefa{
padding: 5px;
width: 100%;   
 cursor: pointer;
 text-align: left;
}

.resumo_tarefa{
padding: 5px;
width:  100%;
    
text-align: left;
 height: 240px;
 overflow-y:auto; 
 display: grid;
   grid-template-columns: 700px 282px;
   grid-gap: 5px;

}

.resumo_descricao{
   width: 700px;
      border-radius: 5px;
border: 1px solid lightgray;
}
.anexos{
    width: 282px;
    overflow-y:auto; 
    border-radius: 5px;
border: 1px solid lightgray;
}
.anexo{
    width: 100%;
    padding-left: 4px;
    cursor: pointer;
    border-bottom: 1px dotted gray;
}
.titulo_editar{
  padding-left: 4px;  
  margin-bottom: 0px !important;
}
.editar_descricao{
 padding-left: 4px;
   font-weight: normal;
width:  -webkit-calc(100% - 15px);
width:    -moz-calc(100% - 15px);
width:         calc(100% - 15px)
}

.projecto_tarefa{
padding-left: 5px;
width:  -webkit-calc(50% - 5px);
width:    -moz-calc(50% - 5px);
width:         calc(50% - 5px);  
 text-align: left;
}

.prioridade_tarefa{
    padding-left: 5px;
    width:  -webkit-calc(100% - 5px);
    width:    -moz-calc(100% - 5px);
    width:         calc(100% - 5px);    
    text-align: left;
    font-weight: normal;
}

.prioridade_tarefa_resumo{
    padding-left: 5px;
    margin-left: 5px;
    width:  -webkit-calc(100% - 10px);
    width:    -moz-calc(100% - 10px);
    width:         calc(100% - 10px);    
    text-align: left;
    font-weight: normal;
    line-height: 30px;
    border-radius: 5px;
}



.versao_tarefa{
padding-right: 5px;
width:  -webkit-calc(25% - 10px);
width:    -moz-calc(25% - 10px);
width:         calc(25% - 10px);    
 text-align: left;
}

.conclusao_tarefa{
padding-right: 5px;
width:  -webkit-calc(25% - 10px);
width:    -moz-calc(25% - 10px);
width:         calc(25% - 10px);    
 text-align: right;
}


div.voltar{
    width: 620px;
    margin: auto;
    height: 40px;
    position: fixed;
    bottom: 5px;
    
    left: -webkit-calc(50% - 300px);
    left:    -moz-calc(50% - 300px);
    left:         calc(50% - 300px);
}

label.voltar{
    width: 300px;
    margin: auto;
    
    cursor: pointer;
    height: 100%;
    display: inline-block;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid #888888;
    background-image: linear-gradient(#6E8ACC, #013E8E);
    padding-top: 8px;
    font-weight: bold;
}

div.painel_editar_tarefa{
    position: fixed;
    z-index: 999;
    left: -webkit-calc(50% - 500px);
    left:    -moz-calc(50% - 500px);
    left:         calc(50% - 500px);
    
    top: 60px;
    height: 430px;
    width: 1000px;
    
    background-color: white;
    padding-top: 4px;
    border-radius:10px;
    border: 1px solid gray;
}
div.alterar_estados{

    width: 100%;
    display: grid;
    grid-template-columns: 230px 230px 230px 230px;
    grid-gap: 32px;
}

div.alterar_estado{

    text-align: center;
    height: 60px;
    line-height: 40px;
    width: 200px;
}

.alterar_estado label{
    width: 100%;
    border-radius: 10px;
    margin: 5px;
        cursor: pointer;
}

div.editar_voltar{

    text-align: center;
    height: 40px;
    line-height: 40px;
    width: 200px;
    margin: auto;
    margin-top: 30px;
}

.editar_voltar label{
    width: 100%;
    border-radius: 5px;
    margin: 5px;
    cursor: pointer;
    color: #EEE;
    background-color: black;
}

div.consultar_voltar{

    text-align: center;
    height: 40px;
    line-height: 40px;
    width: 200px;
    margin: auto;
}

.consultar_voltar label{
    width: 100%;
    border-radius: 5px;
    margin: 5px;
    cursor: pointer;
    color: #EEE;
    background-color: black;
}


div.painel_consultar_tarefa{
    position: fixed;
    z-index: 999;
    left: -webkit-calc(50% - 500px);
    left:    -moz-calc(50% - 500px);
    left:         calc(50% - 500px);
    
    top: 100px;
    height: 340px;
    width: 1000px;
    
    background-color: white;
    padding-top: 8px;
    border-radius:10px;
    border: 1px solid black;
}

.cor_tarefa_0{
    background-color: white;
    border: 1px solid;
}

.cor_tarefa_1{
    background-color: #fae5d3 ;
}

.cor_tarefa_2{
    background-color: #d4e6f1;
}

.cor_tarefa_3{
    background-color: #d4efdf;
}

.cor_tarefa_4{
    background-color:  #f5b7b1 ;
}

.estado_execucao label{
    background-color: #fae5d3;
    color: #333;
}

.estado_testes label{
    background-color: #d4e6f1;
    color: #333;
}

.estado_terminada label{
    background-color: #d4efdf;
    color: #333;
}

.estado_anulada label{
    background-color:  #f5b7b1 ;
    color: #000;
}

label.btn-gravar{
    width: 300px;
    margin: auto;
    
    cursor: pointer;
    height: 100%;
    display: inline-block;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid #888888;
    background-image: linear-gradient(#01A571, #006837);
    padding-top: 8px;
    font-weight: bold;
}

.btn-info-cancel
{
    color: black;
}

.btn-gravar
{
    color: black;
}

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

div.consulta_tarefas{
    padding: 10px;
    text-align: center;
}

div.concluidas{
    padding: 10px;
    text-align: center;
}

div.lista_projectos{
    width: 100%;
    height: 30px;
    line-height: 30px;
}
div.lista_projectos_novas{
    width: 300px;
    float: right;
    text-align: right;
    margin-top: 3px;
}

div.lista_projectos, div.lista_projectos_curso{
    width: 250px;
    float: left;
    text-align: left;
    margin-top: 3px;
    margin-left: 10px;
}

.titulo_janela{
    text-align: left;
    margin-left: 20px;
    float: left;
    height: 30px;
}

.titulo_janela label{
    line-height: 28px;
}

div.tarefas_em_curso{
    margin-top: 5px;
}

.actualizar {
    cursor: pointer;

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

div.lista_tickets{
    text-align: center;
}

div.grelha_tickets{
    width: 800px;
    grid-template-columns: 100px 100px 450px 150px;
}

div.grelha_tickets_cliente{
    width: 950px;
    grid-template-columns: 100px 100px 250px 350px 150px;
}

div.col_ticket_descricao{
    text-align: left !important;
    padding-left: 10px;
}

div.lista_tickets_interna{
    width: 900px;
    text-align: center;
    margin:auto;
}

.frm_tickets{
    width: 600px;
    margin: auto;
}

.cod_postal{
    float:left;
    width: 136px;
}

.no_clear{
    clear: none !important;
}

.espaco{
    margin-left: 20px !important;
}
.data{
    float: left;
    width: 136px;
    margin-bottom: 10px;
}
.titulo{
    margin-top: 20px;
    font-size: 20px;
}

.estado{
    height: 30px;
    line-height: 30px;
}
.btn-block{
    margin-top:20px;
}
.cor_botoes{
    
    color: #eee;
    text-align: center;

    width: 150px;
    height: 32px;
    line-height: 30px;
    border-radius: 10px;
    border: 1px solid #888888;
    
    margin-bottom: 20px;
    background-image: linear-gradient(#6E8ACC, #013E8E);
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
}

.descricao_ticket{
    height: 200px;
}
#ticket_descricao{
    height: 150px;
}

input[type="date"] {
line-height: 20px !important;
}
textarea {
width: calc(100% - 12px);
padding: 5px;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


.item {
position: relative;
margin-top: 10px;
clear: both;
}

.item label{
 width: 100%;  
margin-bottom: 0px !important; 
}

.item select{
 width: 100%;   
 height:30px;
}
input, textarea{
    background-color: #fff; 
    display: block;
    width: 100%;
    height: 30px;
    padding: 4px 4px;
    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);
    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;
    
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

.linha_grelha:hover
{
    background-color: orange;
}

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

.margin_top{
    margin-top: 20px !important;
}

.negative {
    color: #B71B00;
}

.positive {
    color: #2E8227;
}

.boxheader {
  background-color: #ddd;
  color: #000;
  border-radius: 5px;
  padding: 3px;
  text-align: center;
  cursor: pointer;
}

.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);
    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;
}
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;
    color: #eee;
}


@media only screen 
  and (-webkit-min-device-pixel-ratio: 2)
{
    .html{
        height: 100%;
        border-color:  #888888;
        font-size: 14px;
        margin:0px;
        padding: 0px;
        width: 480px;
    }

    body{
        color: black;
        background-color: #eee;
        overscroll-behavior: contain;
        width: 480px;
        margin:0px;
        padding: 0px;
    }
    
    div.consulta_tarefas{
        margin-left: 10px;
    }
    div.painel_consultar_tarefa{
        left: 20px;
        top: 20px;

        width: 460px;
    }
    
    .resumo_tarefa{
        grid-template-columns: 460px;
     }

     .resumo_descricao{
        width: 460px;
     }
     .anexos{
         width: 460px;
         min-height: 50px;

     }
    .projecto_tarefa{
        
        width: 100%;  
        }   

    .versao_tarefa{
        padding-left: 0px !important;
        width:  -webkit-calc(50% - 10px);
        width:    -moz-calc(50% - 10px);
        width:         calc(50% - 10px);    
        text-align: left;
    }

        .conclusao_tarefa{
        padding-right: 10px;
        width:  -webkit-calc(50% - 10px);
        width:    -moz-calc(50% - 10px);
        width:         calc(50% - 10px);    
        text-align: right;
    }
   
}