<?php if (false){ ?><style><?php } ?>
<?php function get_css(){ ?>
@font-face {
  font-family: 'casaseguridad_font';
  src: url('libreria/css/NunitoSans.woff2') format('woff2'); 
  /* Puedes proporcionar múltiples fuentes y formatos compatibles para mayor compatibilidad de navegadores */
  /* src: url('ruta/a/mi-fuente.woff') format('woff'),
          url('ruta/a/mi-fuente.ttf') format('truetype'); */
}
html{
	margin: 0px;
	padding: 0px;
	border: 0px;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	font-family:casaseguridad_font;
	font-size: 12px;
}
body{
	margin: 0px;
	padding: 0px;
	border: 0px;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
}
a {
	text-decoration: none;
	color: inherit;
}
svg{
	width:25px;
	height:25px;
	min-width:15px;
	min-height:15px;
}
button{
	min-width:100px;
	padding: 0px;
	height:30px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
}
button span{
	text-align:center;
	font-size:12px !important;
	padding: 3px;
}
button svg{
	margin: 3px;
}
hr{
	width: 80%;
	margin: auto;
	margin-top: 3px;
	margin-bottom: 3px;
}
input[type="number"]{
	text-align: right;
}
/* CABECERA */
header{
	width: 100%;
	height: 50px;
	min-height: 50px;
	border-bottom: 1px solid #cccccc;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	align-content: stretch;
}
header .menu_button{
	/*width: 35px;*/
	height: 35px;
	min-width: 35px;
	min-height: 35px;
	border-width: 3px;
	border-style: solid;
	margin: 4px 5px 5px 5px;
	padding: 0px 5px;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-evenly;
	align-items: center;
	align-content: stretch;
	cursor: pointer;
	font-size:18px;
	font-weight: bold;
	user-select: none;
}
header .menu_button span{
	width: 80%;
	height: 3px;
}
header .user_button{
	width: 35px;
	height: 35px;
	min-width: 35px;
	min-height: 35px;
	border-width: 3px;
	border-style: solid;
	border-radius: 50%;
	margin: 4px 5px 5px 5px;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-evenly;
	align-items: center;
	align-content: stretch;
	cursor: pointer;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 20px;
	user-select: none;
}
header .title{
	text-transform: capitalize;
	font-size: 18px;
	font-weight: bold;
	flex:1;
	text-align: center;
}
header .title .modo_vista{
	border:1px solid #cccccc;
	width: 60%;
	margin:auto; 
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
	background-color: #FFFFFF;
	background-color: rgba(255,255,255,0.5);
}
.window_modo_vista{
	width: 100%;
	height: 100%;
	position: fixed;
	backdrop-filter: blur(5px);
	z-index: 9000;
	top: 0px;
	left: 0px;
	display: none;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
}
.window_modo_vista .modo_vista_select{
	width:80%;
	height: 80%;
	margin: 0px;
	padding: 0px;
	border: 0px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: flex-start;
	align-content: flex-start;
	overflow: auto;
	list-style: none;
}
.window_modo_vista .modo_vista_select li{
	width: 150px;
	height: 150px;
	margin: 10px;
	border: 1px solid #cccccc;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: center;
    background-size: cover; 
    background-repeat: no-repeat; 
    background-position: center center;
    color: #ffffff;
    text-shadow: 2px 2px 0px rgba(64, 116, 181, 1), 
               2px -2px 0px rgba(64, 116, 181, 1), 
			   -2px 2px 0px rgba(64, 116, 181, 1), 
			   -2px -2px 0px rgba(64, 116, 181, 1), 
			   2px 0px 0px rgba(64, 116, 181, 1), 
			   0px 2px 0px rgba(64, 116, 181, 1), 
			   -2px 0px 0px rgba(64, 116, 181, 1), 
			   0px -2px 0px rgba(64, 116, 181, 1);
    cursor: pointer;
}
</style>
<style>
/* MENU */
.section_menu, .section_user{
	position: fixed;
	width: 100%;
	height: 100%;
	z-index:200;
	user-select: none;
	display: none;
}
.section_menu .header, .section_user .header{
	height: 51px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: stretch;
}
.section_menu ul, .section_user ul{
	width: 250px;
	height: 100%;
	margin: 0px;
	padding: 0px;
	border: 0px;
	list-style: none;
	overflow: auto;
	display: none;
	border-right:1px solid #cccccc;
}
.section_menu ul li, .section_user ul li{
	margin: 0px;
	padding: 0px;
	border: 0px;
	width: 100%;
}
.section_menu ul li a, .section_user ul li a{
	width: 100%;
	padding: 5px 0px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: stretch;
}
.section_menu ul li a:hover, .section_user ul li a:hover{
	/*background: #cccccc;
	background: rgba(204,204,204,0.8);*/
}
.section_menu ul li a svg, .section_user ul li a svg{
	margin: 0px 5px;
}
</style>
<style>
.section_user ul{
	margin-right:0px;
	margin-left:auto;
	/*background: transparent;*/
	max-height: 121px;
}
.section_user .header{
	/*background: transparent;*/
}
.section_user ul li{
	/*background: #ffffff;
	background: rgba(255,255,255,0.8);*/
}
.section_user ul li a{
	justify-content: flex-end;
}
</style>
<style>
/* CUERPO */
.section_body{
	max-height: calc(100% - 51px);
	flex:1;
	/*background: #4D4D4D;*/
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
}
.dv_middle{
	width:5px;
	border: 1px solid #cccccc;
	border-top: 0px;
	border-bottom: 0px;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
	cursor: w-resize;
}
.dv_middle span{
	width: 3px;
	height: 3px;
	/*background: #cccccc;*/
	margin: 1px;
}
.dv_left{
	max-width: 80%;
	padding: 5px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
}
.dv_left .dv_border{
	width: 250px;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
}
.dv_left .dv_border .box{
	width:100%;
	height:100%;
	display:flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
	overflow-x: hidden;
}
.dv_left .header{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: center;
}
.dv_left .header span{
	font-weight: bold;
    text-align: center;
    font-size: 24px;
    flex: 1;
}
.dv_right{
	max-width: calc(100% - 267px);
	flex:1;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: stretch;
	align-content: stretch;
}
.dv_right .dv_border{
	flex:1;
	width: auto;
	margin: 5px;
	overflow: auto;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
}
.dv_right .splash{
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
}
.dv_right .splash .splash_title{
	font-size:48px;
	text-align: center;
}
.dv_right .splash .splash_image{
	width:100%;
	height: 50%;
	min-height:150px;
    background-size: contain; 
    background-repeat: no-repeat; 
    background-position: center center;
}
.dv_right .splash .splash_subtitle{
	font-size: 24px;
}
.dv_right .header{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: center;
}
.dv_right .header span{
	font-weight: bold;
    text-align: center;
    font-size: 24px;
    flex: 1;
}
.dv_right .menu_button{
	width: 35px;
	height: 35px;
	min-width: 35px;
	min-height: 35px;
	border-top: 3px;
	border-right: 3px;
	border-bottom: 3px;
	border-left: 0px;
	border-style: solid;
	border-radius: 0px 10px 10px 0px;
	margin-top: 20px;
	display: none;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-evenly;
	align-items: center;
	align-content: stretch;
	cursor: pointer;
}
.dv_right .menu_button span{
	width: 80%;
	height: 3px;
	flex: none;
}
.list_store{
	margin: 0px;
	padding: 0px;
	border: 0px;
	list-style: none;
	width: auto;
	flex:1;
	overflow: auto;
}
.list_store .row_store{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: flex-start;
	cursor: pointer;
	user-select: none;
	border-bottom: 1px solid #cccccc;
}
.list_store .row_store span{
	flex:1;
}
.list_store .row_store svg{
	/*background: #cccccc;*/
	border-radius: 5px;
}
.list_store .row_store .item_image{
	width: 100px;
	height: 100px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: flex-start;
}
.list_store .row_store .item_image img{
	max-width: 90%;
	max-height: 90%;
}
.table_view{
	width: 100%;
	min-height: 150px;
	margin: 5px auto;
	flex: 1;
	overflow: auto;
}
.table_view table{
	border-collapse: collapse;
}
.table_view table th, .table_view table td {
  padding: 5px;
  /*text-align: center;*/
}
.table_view table td {
	cursor: pointer;
}
.table_view table thead {
    position: sticky;
    top: 0;
}
.table_view input[type="number"]{
	min-width:60px;
	max-width:60px;
	text-align: right;
}
.table_view input[type="text"]{
	min-width:46px;
	max-width:46px;
	text-align: right;
	padding-right: 16px;
}
.table_view td div{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: stretch;
}
.opciones_adicionales_btn{
	max-width:150px;
	cursor: pointer;
	border-radius:5px 5px 0px 0px;
	background: #000070;
	color: #ffffff;
	font-weight: bold;
	padding: 5px;
}
.opciones_adicionales_view{
	border-radius:0px 5px 5px 5px;
	background: #ffffff;
	color: #000070;
	padding: 5px;
	display: none;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: flex-start;
	align-content: stretch;
}
.opciones_adicionales_view label{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: stretch;
	padding: 3px 0px;
	cursor: pointer;
}
.opciones_adicionales_view input[type="checkbox"]{
	width:15px;
	height:15px;
}
.opciones_adicionales_columns{
	border-radius:0px 5px 5px 5px;
	background: #ffffff;
	color: #000070;
	padding: 5px;
	display: none;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: stretch;
	align-content: flex-start;
}
@media (max-width: 700px) {
.dv_middle{
	display: none;
}
.dv_left{
	display:none;
	position: fixed;
	padding: 0px;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	max-width: 100%;
	background: transparent;
	z-index:5;
}
.dv_left .dv_border{
	margin-top: 51px;
	max-height: calc(100% - 51px);
	display:none;
}
.dv_right{
	width: 100%;
	max-width: 100%;
}
.dv_right .menu_button{
	display: flex;
}
}
</style>
<style>
.buscador_options{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: center;
}
.buscador_options .option_button{
	max-width: 30px;
	min-width: 30px;
	width: 30px;
	height: 30px;
	margin-left: 5px;
	user-select: none;
}
.buscador_options .option_button svg{
	width: 28px;
	height: 28px;
	pointer-events: none;
}
.buscador_input{
	min-width: 25px;
	width: auto;
	border: 1px solid #cccccc;
	padding:2px 5px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: flex-start;
	/*background-color: #ffffff;*/
}
.buscador_input input{
	min-width: 0px;
	height: 25px;
	margin: 0px;
	padding: 0px;
	border: 0px;
	flex: 1;
	/*color: #1C274C;*/
}
.buscador_input:focus-within{
	border:1px solid rgb(28, 39, 76);
}
.buscador_input input:focus{
	outline: none;
}
.buscador_input svg{
	cursor: pointer;
}
.option_select{
	min-width:0px;
	border: 1px solid #E5E5E5;
	height: 28px;
	background-color: #ffffff;
}
.option_select:focus{
	outline: none;
}
.input_column_double{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	align-content: stretch;
}
.input_column_double .input_text, .input_column_double .input_select, .input_column_double .input_combotext{
	width: 49%;
}
.input_column_double .input_text span, .input_column_double .input_select span, .input_column_double .input_combotext span{
	width: 30%;
}
.input_text{
	padding: 1px 0px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: center;
}
.input_text span{
	width:40%;
	max-width: 200px;
}
.input_text input{
	flex: 1;
	min-width: 5px;
	height: 25px;
	border: 1px solid #cccccc;
}
.input_text input:focus{
	border: 1px solid #000000;
	outline: none;
}
.input_textarea{
	padding: 1px 0px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: flex-start;
	align-content: center;
}
.input_textarea span{
	width:40%;
	max-width: 200px;
}
.input_textarea textarea{
	flex: 1;
	min-width: 5px;
	height: 100px;
	border: 1px solid #cccccc;
	resize: none;
}
.input_textarea textarea:focus{
	border: 1px solid #000000;
	outline: none;
}
.input_image{
	width: 90%;
	height: 200px;
	max-width: 350px;
	margin: 5px auto;
	border: 1px solid #cccccc;
	border-radius: 10px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
	cursor: pointer;
	font-weight: bold;
	/*background-color: #ffffff;*/
    background-size: contain; 
    background-repeat: no-repeat; 
    background-position: center center;
    -webkit-text-stroke-width: 0.2px;
    -webkit-text-stroke-color: #ffffff;
    -webkit-text-fill-color: #000000;
}
.input_image_min{
	width: 90%;
	height: 100px;
	max-width: 250px;
	margin: 5px auto;
	border: 1px solid #cccccc;
	border-radius: 10px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
	cursor: pointer;
	font-weight: bold;
	/*background-color: #ffffff;*/
    background-size: contain; 
    background-repeat: no-repeat; 
    background-position: center center;
    -webkit-text-stroke-width: 0.2px;
    -webkit-text-stroke-color: #ffffff;
    -webkit-text-fill-color: #000000;
}
.input_select{
	padding: 1px 0px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: center;
}
.input_select span{
	width:40%;
	max-width: 200px;
}
.input_select select{
	flex: 1;
	min-width: 5px;
	height: 30px;
	border: 1px solid #cccccc;
}
.input_select select:focus{
	border: 1px solid #000000;
	outline: none;
}
.input_combotext{
	padding: 1px 0px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	align-content: center;
}
.input_combotext span{
	width:40%;
	max-width: 200px;
}
.input_combotext div{
	flex: 1;
	min-width: 5px;
	height: 27px;
	border: 1px solid #cccccc;
	display: flex;
}
.input_combotext div input{
	flex: 1;
	min-width: 5px;
	height: 25px;
	border: 0;
}
.input_combotext div input:focus{
	outline: none;
}
.input_combotext div select{
	flex: 1;
	min-width: 5px;
	max-width: 25px;
	height: 26px;
	border: 0;
}
.input_combotext div select:focus{
	outline: none;
}
.input_combotext div:focus-within{
	border: 1px solid #000000;
}
/* WINDOW */
.background_window{
	z-index: 9000;
	width: 100%;
	height: 100%;
	position: fixed;
	display: none;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: stretch;
	overflow: auto;
	backdrop-filter: blur(5px);
}
.background_window .window{
	width:80%;
	height: 80%;
	max-width:80%;
	max-height: 80%;
	border: 1px solid #999999;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
}
.background_window .window .window_title{
	padding: 0px 5px;
	height: 30px;
	border-bottom: 1px solid #dddddd;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	align-content: center;
	user-select: none;
}
.background_window .window .window_title .btn_close{
	cursor:pointer;
}
.background_window .window .window_body{
	width:auto;
	padding: 0px 1%;
	flex: 1;
	overflow: auto;
}
.background_window .window .window_body .subtitle{
	text-align: center;
	font-weight: bold;
	padding: 5px 0px;
}
.background_window .window .window_buttons{
	padding: 2px 5px;
	border-top: 1px solid #dddddd;
	height: 30px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	align-content: center;
	user-select: none;
}
.background_window .window .window_buttons select{
	min-width: 100px;
	height: 28px;
	cursor:pointer;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
	padding: 0px;
	border: 0px;
}
.background_window .window .window_buttons select:focus{
	outline: none;
}
.background_window .window .window_buttons select:hover{
	background: #dddddd;
}
.dv_alert{
	display: none;
	width:25px; 
	height:25px;
	background-color:#FF0000;
	border-radius:50%;
	color:#FFFFFF;
	font-weight:bold;
	justify-content: center;
	align-items: center;
}
<?php } ?>
<?php if (false){ ?></style><?php } ?>
