/* CSS Document */
@charset "utf-8";

@font-face {
	font-family: "Raleway";
	src: url('../fonts/Raleway-Regular.eot');
	src: url('../fonts/Raleway-Regular.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Raleway-Regular.woff2') format('woff2'),
		url('../fonts/Raleway-Regular.woff') format('woff'),
		url('../fonts/Raleway-Regular.ttf') format('truetype'),
		url('../fonts/Raleway-Regular.svg#Raleway-Regular') format('svg');
	font-weight: normal;
	font-style: normal;
}

html,body {
	margin: 0px;	
	height: 100%;
	font-family: Raleway;
}

/* GENERALES */
.bg_blue {
  background-color: #283891;
}
.bg_red {
  background-color: #ef3e36;
}
.txt_short {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.txt_right {
  text-align: right;
}
.txt_center {
  text-align: center;
}

.bg_modal {
  display: none; 
  position: fixed; 
  top: 0px; 
  left: 0px; 
  width: 100%; 
  height: 100%; 
  background-color: rgba(0,0,0,0.85); 
  padding: 200px 0px; 
  z-index: 2000;
}

#form_pdf {
	position: absolute;
	left: 50%;
	top: 50%;
	background-color: rgba(255,255,255,0.9);
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);	
	border-radius: 7px;
	-moz-border-radius: 7px; 
	-webkit-border-radius: 7px;
	font-size: 14px;
	padding: 10px;
  width: 80%;
	min-width: 320px;
  -webkit-box-shadow: 0px 0px 30px 5px rgba(136,27,80,0.5);
  -moz-box-shadow: 0px 0px 30px 5px rgba(136,27,80,0.5);
  box-shadow: 0px 0px 30px 5px rgba(136,27,80,0.5);
}

iframe {
  width: 100%;
  height: 80vh;
}

a {
	color:#FFF;
	text-decoration: none;
}

#main {
  width: 100%; 
  position: fixed; 
  top: 0px; 
  left: 0px; 
  bottom: 0px; 
  right: 0px; 
  height: auto;
  /*overflow-y: auto;
  overflow-x: hidden;*/
}
#contenido_principal {
  width: 100%; 
  display: flex; 
  height: 100%;
}
#cont_menu {
	height:100%;
	background-color:#283891;	
	width: 200px;
  display: none;
}
#menu_table {
	background-color:#283891;
	font-size:14px; 
	color:#FFF; 	
	width: 200px;
}
#menu_table #tit_table {
	text-align: center;
	padding: 15px 0px; 
	font-size:16px;		
	background-color:#ef3e36;
	font-weight:bold;
}
#menu_table #sub_menu {
	height:42px; 
	padding:12px 0px 0px 15px;
}
#menu_table #sub_menu:hover {
	font-weight: bold;
	background-color: #ef3e36;
}

#header {
	background-color:#ef3e36; 
	padding:15px; 
	font-size: 18px;
	color:#FFF; 
	height: 50px;
  display: flex;
}
#btn_menu {
  cursor: pointer;
}
#tit_header {
  margin: 0px 15px;
}
#menu {
  width: 200px; 
  background-color:#283891; 
  float: left;
  /*position: absolute; 
  top: 50px; 
  left: 0px; 
  bottom: 0px; */
  height: 100vh; 
  z-index: 999;
}
#menu .principal {
  width: 200px;
}

#content-int {
  float: left; 
  width: calc( 100% - 50px );
  height: calc( 100% - 50px );
  /*position: absolute;
  left: 50px;*/
  overflow-y: auto; 
  overflow-x: hidden;
}
#content-int .principal {
  width: calc( 100% - 250px );
  left: 200px;
  top: 50px; 
  bottom: 0px; 
  height: auto;
}

#titulo {
	font-size: 30px;	
	color: #393939; 
	padding: 15px 25px 0px;
}
.subtitulo {
  font-size: 16px;
  color: #999;
  font-style: italic;
  position: relative;
  top: -12px;
}

#contenido {
	font-size:14px; 
	text-align: justify; 
	color: #393939; 
	vertical-align: top; 
	padding: 10px 30px; 
	width: 100%;
}

a.gray {
	color:#393939;
	text-decoration: none;
}
a.gray:hover {
	color:#393939;
	text-decoration: underline;
}

.form_div {
  max-width: 700px;
  background-color: whitesmoke;
  padding: 15px;
	border-radius: 7px;
	-moz-border-radius: 7px; 
	-webkit-border-radius: 7px;
}

input {
  width: 100%;
  margin: 0px 0px 8px;
}


button {
	padding: 9px 15px; 
	font-size: 18px; 
	color: white; 
	background-color: #ef3e36; 
	border: none; 
	border-radius: 5px; 
	cursor: pointer;
  margin: 0px 0px 15px;
}
.second_button {
	color: #444444; 
	background-color: #ffffff; 
}
.second_button:hover {
	background-color: #cccccc; 
}

.styleSpan {
	border: 1px solid #bbb; 
	border-radius: 50%; 
	width: 30px; 
	height: 30px;
}

.divbuttonpalete {
	display: block; 
	width: 320px; 
	float: left;
	font-size: 18px;
	font-weight: bold;
}
.group_radio {
  display: flex;
  justify-content: space-between;
  max-width: 270px;
}
.group_monto {
  display: flex;
  justify-content: space-around;
  max-width: 270px;
}
input[type=radio] {
  position: absolute;
  visibility: hidden;
  display: none;
}

label {
  color: #888888;
  display: inline-block;
  cursor: pointer;
  font-weight: bold;
  padding: 5px 14px;
  border: 1px solid #cccccc;
  border-radius: 5px;
}
input[type=radio]:checked + label{
  color: white;
  background: #283891;
}

select {
  padding: 2px;
}

.modales {
	position: absolute; 
	top: 0px; 
	left: 0px; 
	bottom: 0px; 
	right: 0px; 
	width: 100%; 
	height: 100%; 
	background-color: rgba(0,0,0,0.80); 
	z-index: 1000; 
	display: none;
}

.back-modal {
	position: fixed; 
	top: 0px; 
	left: 0px; 
	width: 100%; 
	height: 100%; 
	background-color: rgba(0,0,0,0.85); 
	z-index: 9000;
}

#form_perfil {
	position: absolute;
	left: 50%;
	top: 50%;
	background-color: rgba(255,255,255,0.9);
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);	
	border-radius: 7px;
	-moz-border-radius: 7px; 
	-webkit-border-radius: 7px;
	font-size: 14px;
	min-width: 320px;
	max-width: 80%;
	text-align: center;
}

.tipo_user {
	padding: 10px 15px 0px;
}

.nombre_user {
	padding: 10px 15px;
	font-weight: bold;
	font-size: 20px;
}

.det_user {
	text-align: left;
	padding: 30px 15px 0px;
	font-size: 16px;
	content: "";
	clear: both;
	display: table;
}

.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
	width: 380px;
	height: 350px;
  overflow: auto;
}

.tab button.tablinks {
	padding: 9px 15px; 
	font-size: 16px; 
	border: none; 
	cursor: pointer;
  color: black;
  border-radius: 0px;
}

.pnl_res {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  float: left;
  margin: 10px 10px 0px 0px;
}

#resultado_busqueda {
  overflow: hidden;
  max-width: 700px;
  margin: 0px 0px 20px;
}

.nom_button {
  padding: 0px 0px 0px 10px;
}
table#registros {
  width: 100%;
  max-width: 700px;
}
.tit_tabla {
  padding: 5px; 
  background-color:#494949;
  color:#FFF;
  max-width: 700px;
  overflow: hidden;
  text-align: center;
}
.row_table {
  max-width: 700px;
  overflow: hidden;
}
.row_table:nth-of-type(odd) {
  background-color: #ccc;
}
.row_table:nth-of-type(even) {
  background-color: #eee;
}
.cel_table, .down_table {
  padding: 13px 8px;
} 
.down_table {
  text-align: right;
}
.lbl_cel_table {
  padding: 5px 3px; 
  font-weight: 900;
}
.totales_table {
  max-width: 400px;
  display: inherit;
  justify-content: space-between;
}

.flex {
  display: flex;
  justify-content: space-around;
  padding: 5px 0px;
}

.hidden {
  display: none;
}

.total_item {
  background-color: #999;
  height: 130px;
  margin: 10px 10px 10px 0px;
  -webkit-box-shadow: 4px 4px 20px -10px rgba(0,0,0,0.9);
  -moz-box-shadow: 4px 4px 20px -10px rgba(0,0,0,0.9);
  box-shadow: 4px 4px 20px -10px rgba(0,0,0,0.9);
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  color: white;
  display: flex;
}
#totales {
  margin: 0px 0px 25px;
}
#totales_text {
  width: 70%;
}
#totales_text_cant {
  font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
  padding: 15px 15px 0px;
  font-size: 17px;
}
#totales_text_monto {
  font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
  padding: 5px 15px 0px;
  font-size: 26px;
  font-weight: 600;
}
#totales_text_titulo {
  padding: 12px 15px 0px;
  font-size: 20px;
}
#totales_icon {
  width: 30%;  
  font-size: 40px;
  padding: 20px 10px 0px;
}
#tot_gen {
  background: rgb(88,178,202);
  background: -webkit-linear-gradient(top right, rgba(88,178,202,1) 0%, rgba(9,68,89,1) 100%);
  background: -o-linear-gradient(top right, rgba(88,178,202,1) 0%, rgba(9,68,89,1) 100%);
  background: linear-gradient(to bottom left, rgba(88,178,202,1) 0%, rgba(9,68,89,1) 100%);
}
#tot_e {
  background: rgb(35,214,219);
  background: -webkit-linear-gradient(top right, rgba(35,214,219,1) 0%, rgba(89,130,232,1) 100%);
  background: -o-linear-gradient(top right, rgba(35,214,219,1) 0%, rgba(89,130,232,1) 100%);
  background: linear-gradient(to bottom left, rgba(35,214,219,1) 0%, rgba(89,130,232,1) 100%);
}
#tot_d {
  background: rgb(252,159,78);
  background: -webkit-linear-gradient(top right, rgba(252,159,78,1) 0%, rgba(255,91,3,1) 100%);
  background: -o-linear-gradient(top right, rgba(252,159,78,1) 0%, rgba(255,91,3,1) 100%);
  background: linear-gradient(to bottom left, rgba(252,159,78,1) 0%, rgba(255,91,3,1) 100%);
}
#tot_c {
  background: rgb(248,139,148);
  background: -webkit-linear-gradient(top right, rgba(248,139,148,1) 0%, rgba(208,48,60,1) 100%);
  background: -o-linear-gradient(top right, rgba(248,139,148,1) 0%, rgba(208,48,60,1) 100%);
  background: linear-gradient(to bottom left, rgba(248,139,148,1) 0%, rgba(208,48,60,1) 100%);
}
#content_chart {
  width: 100%;
  max-width: 700px;
}
canvas {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
.btn_monto {
  padding: 1px 12px;
}

@media only screen and (max-width: 768px) {
  #menu {
    width: 0px;
  }
  #content-int {
    left: 0px;
    width: 100%;
  }
  .nom_button {
    display: none;
  }
  .btn_add {
    position: fixed;
    bottom: 0px;
    right: 15px;
    background-color: white;
    font-size: 32px;
    -webkit-box-shadow: 3px 3px 8px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 3px 3px 8px 0px rgba(0,0,0,0.5);
    box-shadow: 3px 3px 8px 0px rgba(0,0,0,0.5);
    width: 55px;
    height: 55px;
    background-color: #283891;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    padding: 0px;
  }
  .acc_table {
    display: none;
  }
  .flex1 {
  display: flex;
  justify-content: space-around;
  padding: 5px 0px;
  }
  .col1 {
    width: 350px;
  }
  .grafico {
    display: none;
  }

}