@media print
{    
    nav, form, input, .ano_con, .mes_con, .interactive td:last-child
    {
        display: none !important;
    }
    .dia div span{display:none;font-size: 11px;}
    .dia .nr_sequencial{display:none;}
    .dia .dt_lancamento{display:none;}
    .dia .cd_plano{width:20px;display:inline-block;}
    .dia .cd_des_conta{width:150px;display:inline-block;}
    .dia .te_historico{width:200px;text-align:left;display:inline-block;}
    .dia .dt_vencimento{width:80px;display:inline-block;}
    .dia .valor{width:100px;display:inline-block;}
    .dia .delete_container{display:none;}
    .dia .saldo_parcial{margin-left: 10px;font-size: 10px;}
    .dia .positive .valor{color: #111;}
    .dia .negative .valor{color: #222;}
    body{height:91%}
    .hierarchy thead, .interactive thead{
      color: #fff;
      background-color:#000;
      -webkit-print-color-adjust: exact;
      print-color-adjust: exact;
    }
    table.scrollable tbody{
      overflow-y: hidden;
      max-height: auto;
    }
    table.feriados tbody{
      max-height: auto;
    }
    table.plano_contas tbody{
      max-height: auto;
    }
}

label{
  font-weight: bold;
}
body{
  margin: 40px auto -40px;
}
form {
  font-size: 13px;
  text-align: center;
  margin: 30px;
}
form table{
  border: solid 1px rgba(0, 0, 0, 0.25);
  background-color: rgba(255, 255, 255, 0.25);
}
form td{
  text-align: left;
  padding: 5px 10px 5px 10px;
}
table {
  margin: 0 auto;
}
.lefta{text-align:left;}
.righta{text-align:right;}
.static {
  cursor: default;
  border: dashed 1px rgba(0, 0, 0, 0.5);
  color: #777;
  background-color: rgba(255, 255, 255, 0.8);
  border-collapse: collapse;
}
.static thead{
  color: rgb(70, 70, 70);
  background-color: rgba(0, 0, 0, 0.18);
}
.static td{
  border: dashed 1px rgba(0, 0, 0, 0.15);
  padding: 5px;
}
.hierarchy {
  font-size: 14px;
  cursor: default;
  color: #777;
  background-color: rgba(255, 255, 255, 0.8);
  border-collapse: collapse;
}
#Receitas .hierarchy{
  background-color: #F8F8FF;
}
#Despesas .hierarchy{
  background-color: #FFF8F8;
}
#Saldos .hierarchy{
  background-color: #F8FFF8;
}
.hierarchy thead{
  color: #fff;
}
#Receitas .hierarchy thead{
  background-color: #00A;
}
#Despesas .hierarchy thead{
  background-color: #A00;
}
#Saldos .hierarchy thead{
  background-color: #0A0;
}
.hierarchy td{
  padding: 2px;
}
.hierarchy tbody tr{cursor:pointer;transition: background-color 0.3s ease-out;}
.hierarchy tbody tr:hover{background-color:#fff;}
.interactive {
  cursor: default;
  color: #727272;
  border: solid 1px rgba(0, 0, 0, 0.5);
  background-color: rgba(255, 255, 255, 0.8);
}
.interactive thead{
  color: white;
  border: solid 1px rgba(0, 0, 0, 0.5);
  background-color: rgba(0,0,0, 0.8);
}
.interactive td{
  border: solid 1px rgba(0, 0, 0, 0.15);
  padding: 5px;
}
.interactive thead td{
  border: 1px solid transparent;
}
.interactive tbody tr {
  cursor: pointer;
}
.interactive tbody tr:hover {
  color: #1E741E;
}
.semi-interactive {
  cursor: default;
  color: #727272;
  border: solid 1px rgba(0, 0, 0, 0.5);
  background-color: rgba(255, 255, 255, 0.8);
}
.semi-interactive thead{
  color: white;
  border: solid 1px rgba(0, 0, 0, 0.5);
  background-color: rgba(0,0,0, 0.8);
}
.semi-interactive td{
  border: solid 1px rgba(0, 0, 0, 0.15);
  padding: 5px;
}

@media screen
{    
  .scrollable thead{
    display: block;
  }
  .scrollable tbody{
    display: block;
    overflow-y: scroll;
  }
  .feriados tbody{
    max-height: 32vh;
  }
  .feriados td:nth-child(1){
    width:72px;
  }
  .feriados td:nth-child(2){
    width:115px;
  }
  .feriados td:nth-child(3){
    width:16px;
  }
  .plano_contas tbody{
    max-height: 70vh;
  }
  .plano_contas td:nth-child(1){
    width:29px;
  }
  .plano_contas td:nth-child(2){
    width:37px;
  }
  .plano_contas td:nth-child(3){
    width:223px;
  }
  .plano_contas td:nth-child(4){
    width:48px;
  }
  .plano_contas td:nth-child(5){
    width:16px;
  }
}

.selected {
  background-color: rgb(70, 214, 52);
  color: rgb(36, 114, 26);
}
.resumo_financeiro thead{
  font-weight: bold;
}
nav {
  margin: -1px auto; 
  text-align: center;
  border-radius: 0 0 50px 50px;
  border-style: solid;
  border-width: 1px;
  border-color: rgba(0, 0, 0, 0.3);
  background-color: rgb(255, 255, 255);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 3;
  height: 30px;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.3);
  transition: opacity 0.4s 1s ease-out;
  opacity:0.8;
}
nav:hover{
  opacity:1;
  transition: opacity 0.4s ease-out;
}
nav ul ul {
  display: none;
}
nav ul ul:hover {
  z-index: 100;
}
nav>ul>li{height:30px;}
nav ul li:hover > ul {
  max-height: 220px;
  max-width: 250px;
  opacity:1;
  transition: opacity 0.3s ease-out;
}
nav ul {
margin:0;
	border-radius: 10px;
	list-style: none;
	position: relative;
	display: inline-table;
}
nav ul:after {
  content: ""; clear: both; display: block;
}
nav ul li {
  float: left;
}
nav ul li:hover:not([solo]) {
  background: rgb(248, 248, 248);
}
nav ul li:hover > a {
/*  color: rgb(110, 110, 110);
  background-color: rgb(245, 245, 245);
  border: solid 1px rgb(197, 197, 197);*/
}
nav ul li:active > a {
/*  color: rgb(84, 113, 204);
  border: solid 1px rgb(169, 180, 255);
  background-color: rgb(229, 235, 255);*/
}
nav ul li:hover > span {
/*  color: rgb(110, 110, 110);
  background-color: rgb(245, 245, 245);
  border: solid 1px rgb(197, 197, 197);*/
}	
nav ul li a {
  color: rgb(133, 133, 133);
  border: solid 1px rgb(248, 248, 248);
  border-radius: 15px;
  background-color: rgb(253, 253, 253);
  margin: 2px;
  margin-left: 5px;
  margin-right: 5px;
  font-size: 15px;
  padding: 1px 4px 1px 4px;
  display: block;
  text-decoration: none;
  transition: background 0.4s ease-out, border-color 0.4s ease-out;
}
nav ul li span {
  color: rgb(175, 175, 175);
  border: solid 1px rgb(248, 248, 248);
  border-radius: 15px;
  background-color: rgb(253, 253, 253);
  margin: 2px;
  margin-left: 5px;
  margin-right: 5px;
  font-size: 14px;
  padding: 1px 4px 1px 4px;
  display: block;
  cursor: default;
  transition: background 0.4s ease-out, border-color 0.4s ease-out;
}
nav ul ul {
background-color: rgb(248, 248, 248);
  border-color: rgba(255,255,255,0.3);
  border-width: 0px 1px 1px 1px;
  border-style: solid;
  border-radius: 0 0 10px 10px;
  position: absolute;
  top: 100%;
  padding: 0;
  box-shadow: 0px 2px 1px 1px rgba(0, 0, 0, 0.25);
  max-height: 0;
  max-width: 0;
  overflow: hidden;
  display:block;
  opacity:0;
  transition: max-height 3s, max-width 3s, opacity 0.3s ease-out;
}
nav ul ul li {
  float: none; 
  position: relative;
}

nav ul ul li a, nav ul li a,#logout {
    background-color: rgb(253, 253, 253);
    margin: 2px 4px 5px 4px;
    font-size: 14px;
    padding: 1px 5px 1px 5px;
    display: block;
    text-decoration: none;
    text-shadow: rgba(0, 0, 0, 0.1) 0px 2px 2px;
    color: #A7A7A7;
    background: rgb(255, 255, 255);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px 2px 0px 1px rgba(0, 0, 0, 0.1);
}
nav ul ul li a:hover, nav ul li a:hover {
    color: rgb(148, 148, 148);
    background-color: rgb(241, 241, 241);
    border: solid 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 2px 0px 1px rgba(0,0,0,0.2);
}
nav ul ul a:active,  nav ul li a:active, #logout:active {
    color: rgb(89, 128, 197);
    border: solid 1px rgba(0, 33, 255, 0.25);
    background-color: rgb(229, 235, 255);
    box-shadow: 0px 2px 0px 1px rgba(0, 33, 255, 0.25);
}

.beta-opt a {
    color: #8DB38D;
    border-color: rgba(13,208,13,0.2);
    background-color: #E9FFDA;
    box-shadow: 0px 2px 0px 1px rgba(13,208,13,0.2);
}
.beta-opt:hover a {
    color: #5EB35E;
    border-color: rgba(13,208,13,0.4);
    background-color: #E0FDCC;
    box-shadow: 0px 2px 0px 1px rgba(13,208,13,0.4);
}
.security a{
  color: #DEB969;
  border-color: rgba(255, 175, 0, 0.2);
  background-color: #FFFFDA;
  box-shadow: 0px 2px 0px 1px rgba(255, 175, 0, 0.2);
}
.security:hover a {
  color: #DAB566;
  border-color: rgba(255, 175, 0, 0.4);
  background-color: #FDFAD9;
  box-shadow: 0px 2px 0px 1px rgba(255, 175, 0, 0.4);
}

#topmenu{
  text-align: center;
  margin-top: -1px;
  padding: 5px;
  height: 22px;
}
#planobody::after {
  content: "";
  background-color: rgb(178, 162, 192);
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
}
#homebody,#planobody{
  background-image: url('/images/cavalinho_c.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
#homebody.c2{
  background-image: url('/images/cavalinho2.jpg');
}
#homebody.c3{
  background-image: url('/images/cavalinho3.jpg');
}
#loginbody{
  background-color: rgb(226, 226, 163);
}
#planobody{
  background-color: rgb(178, 162, 192);
}
#plano_contabody{
  background-color: rgb(210, 190, 228);
}
#lancamentobody{
  background-color: rgb(175, 175, 236);
}
#confbody{
  background-color: rgb(204, 236, 175);
}
#feriadobody{
  background-color: rgb(169, 199, 190);
}
#moedabody{
  background-color: rgb(236, 218, 173);
}
#cotacaobody{
  background-color: rgb(245, 234, 208);
}
#senhabody{
  background-color: rgb(226, 226, 163);
}

.menu_button a{
  text-decoration: none;
  color: rgb(133, 133, 133);
  font-size: 15px;
  border: solid 1px rgb(248, 248, 248);
  border-radius: 15px;
  background-color: rgb(253, 253, 253);
  padding: 1px 4px 1px 4px;
}
.menu_button a:hover{
  color: rgb(75, 75, 75);
  border: solid 1px rgb(197, 197, 197);
  background-color: rgb(245, 245, 245);
}
.menu_button a:active{
  color: rgb(84, 113, 204);
  border: solid 1px rgb(169, 180, 255);
  background-color: rgb(229, 235, 255);
}
.menu_button_inactive{
  text-decoration: none;
  color: rgb(133, 133, 133);
  font-size: 15px;
  padding: 1px 4px 1px 4px;
}

#lista_sessoes {
  margin-top: 50px;
}

#logout{
  text-decoration: none;
  color: rgb(197, 178, 178);
  font-size: 15px;
  border: solid 1px rgb(248, 248, 248);
  border-radius: 15px;
  background-color: rgb(253, 253, 253);
  padding: 1px 4px 1px 4px;
  position: absolute;
  right: 15px;
  top: 2px;
  transition: background 0.4s ease-out, border-color 0.4s ease-out;
}
#logout:hover {
    background-color: rgba(255,240,240,1);
    color: rgb(216, 146, 146);
    border: solid 1px rgba(146, 6, 6, 0.2);
    box-shadow: 0px 2px 0px 1px rgba(146, 6, 6, 0.2);
}
.prints{
  cursor:pointer;
  text-decoration: none;
  color: rgb(133, 133, 133);
  font-size: 15px;
  border: solid 1px rgb(248, 248, 248);
  border-radius: 15px;
  background-color: rgb(253, 253, 253);
  padding: 1px 4px 1px 4px;
}
.prints:hover {
  color: rgb(75, 75, 75);
  background-color: rgb(245, 245, 245);
  border: solid 1px rgb(197, 197, 197);
}
.print{
  cursor:pointer;
  display:inline-block;
  background:url('/images/print.png') no-repeat 0px 0px scroll;
  width: 20px;
  height: 20px;
  background-size: 100%;
  vertical-align: text-bottom;
  margin-top: 2px;
}
.print:hover{
background-position:0px -21px;
}
.top_left {
  position: absolute;
  float: left;
  top: 0;
  padding-left: 15px;
}
#location_page{
  cursor: default;
  color: rgb(202, 202, 202);
  font-size: 15px;
  padding-left: 4px;
}
.go_home{
  cursor:pointer;
  display:inline-block;
  background:url('/images/gohome.png') no-repeat 0px 0px scroll;
  width: 20px;
  height: 20px;
  background-size: 100%;
  vertical-align: text-bottom;
  margin-top: 2px;
}
.go_home:hover{
background-position:0px -21px;
}
.delete_button{
cursor:pointer;
display:inline-block;
background:url('/images/delete_trash.png') no-repeat 0px 0px scroll;
width: 16px;
height: 16px;
background-size: 100%;
vertical-align: text-bottom;
}
.delete_button:hover{
background-position:0px -16px;
}
.error_button{
cursor:pointer;
display:inline-block;
background:url('/images/error.png') no-repeat 0px 0px scroll;
width: 16px;
height: 16px;
background-size: 100%;
vertical-align: text-bottom;
}
.error_button:hover{
background-position:0px -16px;
}
.wait{
display:inline-block;
background:url('/images/wait.png') no-repeat 0px 0px scroll;
width: 16px;
height: 16px;
background-size: 100%;
vertical-align: text-bottom;
}
.close_icon{
display:inline-block;
background:url('/images/close.png') no-repeat 0px 0px scroll;
width: 16px;
height: 16px;
background-size: 100%;
vertical-align: text-bottom;
}
.close_icon:hover{
background-position:0px -16px;
}
.success_icon{
display:inline-block;
background:url('/images/success.png') no-repeat 0px 0px scroll;
width: 16px;
height: 16px;
background-size: 100%;
vertical-align: text-bottom;
}
.loading_icon{
display:inline-block;
background:url('/images/ajax-loader.gif') no-repeat 0px 0px scroll;
width: 16px;
height: 16px;
background-size: 100%;
vertical-align: text-bottom;
}
.switch_button{
cursor:pointer;
display:inline-block;
//background:url('/images/switch.png') no-repeat 0px 0px scroll;
width: 16px;
height: 16px;
//background-size: 100%;
//vertical-align: text-bottom;
}
.switch_button:hover>div.bottom{
opacity:1;
}
.switch_button div{
display:block;
background:url('/images/switch.png') no-repeat 0px 0px scroll;
width: 16px;
height: 16px;
position:absolute;
}
.switch_button div.bottom{
background-position:0 -16px;
opacity:0.2;
transition:opacity 0.4s ease-out;
}
.switch_button{padding-left:12px;}
.switch_tr{
background: -moz-linear-gradient(top,  rgba(255,0,0,0.05) 0%, rgba(0,0,255,0.05) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,0,0,0.05)), color-stop(100%,rgba(0,0,255,0.05))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(255,0,0,0.05) 0%,rgba(0,0,255,0.05) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(255,0,0,0.05) 0%,rgba(0,0,255,0.05) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(255,0,0,0.05) 0%,rgba(0,0,255,0.05) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(255,0,0,0.05) 0%,rgba(0,0,255,0.05) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0dff0000', endColorstr='#0d0000ff',GradientType=0 ); /* IE6-9 */

}
.switch_tr td{padding:0;}

.valor {
  text-align: right;
  font-weight: bold;
}
.positive .valor {
  color: #0047FF;
}
.negative .valor {
  color: #FF2A2A;
}
.conta span{
  cursor: default;
  display: inline-block;
  width: 15%;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}
.conta input{
  width: 70%;
}
.plus{
  background-color: rgba(0, 0, 255, 0.05);
  text-shadow: 0px 0px 10px rgba(0, 122, 255, 0.59), 0px 0px 3px rgba(255, 255, 255, 0.5), 0px 0px 4px rgba(255, 255, 255, 0.5), 1px 1px 0 rgba(130, 171, 216, 0.5);
  color: #2761F8;
}
.minus{
  background-color: rgba(255, 0, 0, 0.05);
  text-shadow: 0px 0px 10px rgba(255, 0, 0, 0.59), 0px 0px 6px rgba(255, 255, 255, 0.5), 0px 0px 4px rgba(255, 255, 255, 0.5), 1px 1px 0 rgba(216, 130, 130, 0.5);
  color: #F73535;
}
.plus input{
  color: #2222A8;
}
.minus input{
  color: #991919;
}
.des_conta{
  width: 130px;
  padding-left: 35px;
  cursor: default;
}
.plus .des_conta{
  text-shadow: 0px 0px 2px rgba(59, 142, 233, 0.7), 0px 0px 2px rgba(255, 255, 255, 0.5), 0px 0px 4px rgba(255, 255, 255, 0.5), 1px 1px 0 rgba(130, 171, 216, 0.5);
  color: #1246CC;
}
.minus .des_conta{
  text-shadow: 0px 0px 1px rgba(255, 0, 0, 0.59), 0px 0px 6px rgba(255, 255, 255, 0.5), 0px 0px 2px rgba(255, 255, 255, 0.5), 1px 1px 0 rgba(216, 130, 130, 0.5);
  color: #DF3434;
}
.editing_nr{
  cursor: default;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 11px;
  background-color: #A2F0A2;
  padding: 2px;
  text-shadow: 0px 0px 6px rgba(10, 255, 0, 0.5), 0px 0px 2px rgba(255, 255, 255, 1);
  color: #14A500;
}
#lancamentos_wrapper{text-align: center;}
.dia div{
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.5);;
  font-size: 13px;
  display: table;
  margin: 2px auto;
}
.dia div a{
  color: rgba(0, 0, 0, 0.8);
}
.dia div a:hover{
  color:#027C02;
}
.dia table{
  width: 60%;
}
.dia div span{
  display: inline-block;
  padding: 0;
}
form select.ano, form input.ano{width:70px;}
.nr_sequencial{width:40px;}
.dt_lancamento{width:100px;background-color:rgba(0, 0, 0, 0.04)}
.cd_plano{width:30px;display:inline-block;}
.cd_des_conta{width:200px;background-color:rgba(0, 0, 0, 0.04);display:inline-block;}
.te_historico{width:230px;text-align:left;display:inline-block;}
.dt_vencimento{width:100px;background-color:rgba(0, 0, 0, 0.04);display:inline-block;}
.dia .valor{width:130px;display:inline-block;}
.delete_container{background-color:rgba(0, 0, 0, 0.04);display:inline-block;}
.saldo_parcial{
  font-style: italic;
  width: 80px;
  text-align: right;
}

.nivel1{border-bottom: solid 2px;color:#000;}
.nivel2{border-bottom: solid 1px;}
.nivel3{border-bottom: dotted 1px;}

//#Receitas .nivel1{color: #060092;}
#Receitas .nivel2{color: #060092;}
#Receitas .nivel3{color: #0047DF;}
#Receitas .nivel4{color: #439AEB;}

//#Despesas .nivel1{color: #920600;}
#Despesas .nivel2{color: #920600;}
#Despesas .nivel3{color: #DF0900;}
#Despesas .nivel4{color: #E97979;}

//#Saldos .nivel1{color: #009206;}
#Saldos .nivel2{color: #009206;}
#Saldos .nivel3{color: #13C51A;}
#Saldos .nivel4{color: #6CE071;}

.cd_des_conta{text-align:left;}
.resumo_financeiro{
  background-color: white;
  padding: 10px;
  border-collapse: collapse;
  font-size: 16px;
}
.resumo_financeiro td{padding: 5px 15px 5px 15px;}
.diferenca{
  border-top:1px solid;
  border-bottom:1px solid;
}
.ano_exp h1{cursor:pointer;width: 110px;}
.ano_exp h1:hover{
  background-image: url(/images/cons.png),url(/images/cons.png);
  background-repeat: no-repeat;
  background-position: center right, center left;
  width: 110px;
}
.ano_con h1:hover{
  background-image: url(/images/exp.png),url(/images/exp.png);
  background-repeat: no-repeat;
  background-position: center right, center left;
  width: 90px;
}
.ano_con h1{
  cursor:pointer;
  font-size:14px;
  width: 90px;
}
.ano_con .mes_exp,.ano_con .mes_con{display:none;}
.ano_con{margin-bottom:10px;}
.mes h2{margin:0;}
.mes_exp{margin-bottom: 20px;}
.mes_con{margin-bottom: 10px;}
.mes_exp h2{
  margin:0 auto;
  cursor:pointer;
  width:140px;
}
.mes_con h2{
  margin:0 auto;
  cursor:pointer;
  font-size:12px;
  width:110px;
}
.mes_exp h2:hover{
  background-image: url(/images/cons.png),url(/images/cons.png);
  background-repeat: no-repeat;
  background-position: center right, center left;
  width: 140px;
}
.mes_con h2:hover{
  background-image: url(/images/exp.png),url(/images/exp.png);
  background-repeat: no-repeat;
  background-position: center right, center left;
  width: 110px;
}
.mes_con .saldo_mensal{font-size:8px;}
.mes_con .dia{display:none;}

.saldo_mensal{
  display:block;
}
#InsertStatus tr:hover {
background: #E6E6E6;
}
#InsertStatus{
text-align:center;
margin-bottom: 15px;
}
#InsertStatus input{
display: inline-block;
font-size: 10px;
}
#LimparIS{
display: inline-block;
border-radius: 3px 3px 10px 10px;
background: #E6E6E6;
border: 1px solid #999999;
padding: 3px;
border-top: none;
box-shadow: inset -1px -1px 1px 0px rgba(0, 0, 0, 0.2);
}
.beta{
background-image: url('../images/beta.png');
background-attachment: scroll;
}
#overlay{
width: 100%;
height: 100%;
position: fixed;
top: 0;
background: rgba(0,0,0,0.5);
overflow:hidden;
z-index:1;
}
#overlay form{
display: table-cell;
vertical-align: middle;
}
#overlay table{
border: solid 1px rgba(0, 0, 0, 0.7);
background-color: rgba(247, 255, 245, 1);
}
.form-hidden{
display:block;
max-height:0;
}
.form-visible{
display:table;
}
h1#Titulo-conta {
margin-bottom: 10px;
}
h1#Titulo-conta span {
font-size: 16px;
font-style: italic;
margin-right: 7px;
color: rgba(0, 0, 0, 0.3);
}