:root {
    /*Titulos de Nivel 1*/
	--ColorStandarTitle:#386f96; /*Color de titulos*/
	--ColorStandarTitleFont:#ffffff; /*Color de letras de esos titulos*/
	
	/*Titulos de Nivel 2*/
    --ColorStandarTitle2:#225982; /*Color de titulos*/
	--ColorStandarTitleFont2:#e6e6e6; /*Color de letras de esos titulos*/

	/*Titulos de Nivel 3*/
    --ColorStandarTitle3:#214369; /*Color de titulos*/
	--ColorStandarTitleFont3:#ffffff; /*Color de letras de esos titulos*/
	
	
	--ColorBackCards:#FFF; /*Fondo de los wcards*/
	--ColorColorFontCards:#333; /*Color de fuente pra los wcards*/
	
	--ColorBackMenuG:#1A5784; /*Fondo del menu general del Framework, esto no afecta al menu clasico del viejo tramite*/
	--ColorMenuSelectedOver:#069; /*Color al que se pondra cuando se pase el mouse sobre las opciones del menu general y otros con hover (en admin por ejemplo)*/
	--ColorMenuSelectedOverFont:#FFF; /*Color de letras al que se pondra cuando se pase el mouse sobre las opciones del menu general*/
	
	/*Ej de aplicacion:
	background:var(--ColorStandarTitle);
	*/
}

*{
	margin:0;
	padding:0;
	box-sizing: border-box;
}
body{
	background:#FFF;	
	font-family:Tahoma, Geneva, sans-serif;
	font-size:15px; /*1em=16px*/
}

#TextoDerecha{
	text-align:right;
}
#TextoIzquierda{
	text-align:left;
}
#TextoCentrado{
	text-align:left;
}
#TextoJustificado{
	text-align:justify;
}


.contenedor{
	width: 100%;
	margin:auto;
	display:grid;
	grid-gap: 1px;
	/*border:2px solid #FC3;*/
	grid-template-columns:200px 1fr;
	grid-template-areas:"logo header"
						"menu content"
						"menu footer";
}

hr{
	border: 0; 
	height: 1px; 
	background: #333; 
	background-image: linear-gradient(to right, #ccc, #333, #ccc);
	margin:3px;
}

.contenedor .header{
	background:#FFF !important;
	display:grid;
	grid-template-columns:0.2fr 1fr;
	grid-area: header;
	height:3em;
	border-bottom:1px solid #FC3;
	/*border:2px solid #F33;*/
	
}
.contenedor .header .header_left{
	/*display:none;*/
	visibility:hidden;	
	display:flex;
	align-items:center;
	margin-left:5px;
	/*border:2px solid #FC3;*/
}

.contenedor .header_right{
	display:flex;
	align-items:center;
	justify-content:right;	
	margin-right:10px;
	font-size:0.8em;
	font-weight:bold;
	/*border:2px solid #FC3;*/
}




.contenedor  .logo{
	grid-area: logo;
	background:#333;
	height:3em;
	z-index:10500;
	display:flex;
	align-items:center;
	justify-content:center;
}

.contenedor .content{
		grid-area: content;		
		padding:5px;
}

.contenedor .menu{
	grid-area: menu;
	z-index:1500;
	background:var(--ColorBackMenuG);	
	width:200px;
	position: absolute;
	top: 3em;
	bottom: 0;
}





.contenedor .footer{
	grid-area: footer;
	
	position:fixed;
	bottom:0px;
	height:30px;
	width:100%;
	background:#333;
	padding-left:210px;
	font-size:0.8em;
	color:#CCC;
}




.contenedor div{
	/*
	background:#FFF;
	border:1px solid #06C;
	padding:2px;
	*/
}

/*ESTILO PARA EL MENU IZQUIERDO*/
.contenedor .menu ul{
	list-style:none;
}

.contenedor .menu ul li{
	display:block;
	/*border:1px solid #C39;*/
	line-height:30px;
}




.contenedor .menu ul li a{
	text-decoration:none;
	color:#CCC;
	border-bottom:1px dotted #999;
	padding:8px;
	display:block;
}

.contenedor .menu ul li a:hover{
	background:var(--ColorMenuSelectedOver);
	color:var(--ColorMenuSelectedOverFont);
}







/*ESTILOS DEL FOMULARIO DE LOGIN*/
.card{
	display:flex;
	background:#333;
	width:30%;
	height:250px;
	margin:12em auto;
	border-radius:20px;	
	opacity:0.9;
	/*border:1px dotted #999;*/
}


.card .card_left{
	/*border: 1px solid #F96;*/
	width:30%;
	display:flex;
	align-items:center;
	justify-content:center;
	background:#000;
}

.card .card_right{
	/*border: 1px solid #00F;*/	
	width:70%;
	padding: 0.5em;
	border-radius:20px;	
}
.card .card_title{
	font-weight:bold;
	text-align:center;
	opacity:1 !important;
	color:#CCC;
	font-size:1em;
	border-bottom:1px dotted #CCC;
}

.card .form_field{
	display:flex;
	/*border:1px solid #F00;*/
	padding:0.5em;
}

.card .form_field .input-append{
	display:flex;
	justify-content:center;
	align-items:center;
	color:#666;
	/*border:2px solid #C33;*/
	background:#FFF;
	margin-left:-22px;
	height:28px !important;
	margin-top:4px;
}


.card input{
	border-radius: 0.4rem;	
	font-size:1em;
	border:1px solid #999;
	line-height:1.5em;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	padding:0.3em 2em 0.3em 0.8em;
	background:#FFF;
	width:100%;
}
/*ESTILOS DEL FOMULARIO DE LOGIN*/









@media screen and (min-width: 788px){
	body{		
		//background:#333; //fondo rojo
	}
	
	.contenedor .menu{				
		display:block !important;
	}
	
}



@media screen and (max-width: 768px){
	body{		
		background:#FFF;
	}
	
	.contenedor{
		width: 100%;
		margin:auto;
		display:grid;
		grid-gap: 2px;
		/*border:2px solid #FC3;*/
		grid-template-columns:200px 1fr;		
		grid-template-areas:"header header"
							"content content"
							"footer footer";
	}
	
	.contenedor .header .header_left{
		/*display:block;*/
		visibility:visible;
	}
	.contenedor .header #link_sh_1{
		visibility:hidden;
	}
	
	.contenedor .content{
		grid-area: content;
	}
	.contenedor .footer{
		grid-area: footer;
	}
	.contenedor .header{
		grid-area: header;
	}
	.contenedor .menu{		
		grid-area: menu;
		display:none;
	}
	.contenedor .logo{
		position:fixed;
		left:-100%;		
		grid-area: logo;
	}
	
	.card{
		width:80%;
	}
	.card .card_left{
		display:none;
	}
	.card .card_right{
		width:100%; /*para 400px;*/
	}
	
	.wcard{
		width:100% !important;
		margin:auto;		
	}
	
	
	.row-row{
		flex-direction:column !important;
	}

	textarea{
		width:100%;
		font-size:1em !important;
		font-family:Arial, Helvetica, sans-serif;
		text-transform:uppercase;
		padding:2px;
		resize:vertical;
	}
	
	.form_main_vertical .row .row-row .col{
		padding:2px;
		width:100%;
		/*border:1px solid #CF0;*/
		text-align:left !important;
	}

	
	
}


/*INICIO Estilos para formularios en general*/
.form_main_vertical{
	/*background:#666;*/
	width:100%;
	margin:auto;
	border:2px solid #B3F7C4; /*THEME N --> Color general del borde del FV*/
	padding:8px;
	border-radius:0 0 4px 4px;
	display:grid;
	grid-gap: 5px;
	grid-template-columns:1fr;
}

.form_main_vertical.half{
	width:50%;
}


.form_main_vertical .row{
	display:flex;
	flex-direction:column;	
	width:100%;
	/*border:2px solid #C30;*/
}

.form_main_vertical .row .row-row{
	display:flex;
	flex-direction:row;
	justify-content:space-between;
	width:100%;
	/*border:4px solid #09C;*/
}
.form_main_vertical .row .row-row .col{
	padding:2px;
	width:100%;
	border-bottom:1px solid #999;
	/*border:1px solid #F33;*/
}


.form_main_vertical .center{
	/*border:1px solid #000;*/
	margin:auto;
	text-align:center;
	padding:2px;
}

.form_main_vertical label{
	font-size:0.8em;
	margin-top:0.5em;
	/*color:#666;*/
	font-weight:bold;
}

.form_main_vertical input{ 
	line-height:1.6rem;
	padding:2px;
	border: 1px solid #CCC;
	border-radius:4px;
	font-size:1em;
	width:100%;
}
.form_main_vertical input:focus{
	background:#CAFBDF; /*THEME N --> fondo del cuadro de texto*/
	border: 1px solid #333;
}

.form_main_vertical label span{
	font-size:0.9em;
	color:#F30;
	font-style:italic;
	after
}

.form_main_vertical label span:after{
	content:")";
}

.form_main_vertical label span:before{
	content:" (";
}

.form_main_vertical fieldset{
	border:2px solid #093; /*THEME N --> color de borde de los field set*/
	padding:10px;
	border-radius:10px;
}
.form_main_vertical fieldset legend{ 
	background:#093; /*THEME N --> Fondo de la leyenda del field set*/
	color:#FFF;
	font-size:1rem;
	padding-left:15px;
	padding-right:15px;
	padding-bottom:3px;
	border-radius:10px;
}
.form_main_vertical textarea{ 
	width:100%;
	font-size:1.25em;
	font-family:Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	padding:6px;
	border:2px solid #333; /*THEME N --> color de borde distintivo para los text area de 'fundamento de pedido' y 'documentos que se adjuntan'*/
	border-radius:10px;
	resize:vertical;
}






.form_main_horizontal{
	/*background:#666;*/
	width:100%;
	margin:auto;
	border:1px solid #2174A0;
	padding:8px;
	border-radius:0 0 4px 4px;
}

.form_main_horizontal.half{
	width:50%;
}


.form_main_horizontal .row{
	display:grid;
	grid-template-columns:35% 65%;
	grid-gap: 2px;
	margin-bottom:4px;
	/*border:2px solid #C03;*/
}

.form_main_horizontal label{
	font-size:0.9em;
	/*color:#CCC;*/
	border-bottom:1px dotted #2174A0;
	padding-top:8px;
	text-align:left;
	margin-right:4px;


}

.form_main_horizontal input,select{
	line-height:1.5em;
	padding:2px;
	border:none;
	border: 1px solid #61AFD6 !important;
	border-radius:4px;
	font-size:1em;
	width:100%;
}
.form_main_horizontal input:focus{
	background:#EDF9FE;
	border: 1px solid #06C;
}

.form_main_horizontal label span{
	font-size:0.9em;
	color:#F30;
	font-style:italic;
}

.form_main_horizontal fieldset{
	border:2px solid #333;
	padding:10px;
	border-radius:10px;
}
.form_main_horizontal fieldset legend{
	background:#333;
	color:#CCC;
	font-size:1.1em;
	padding-left:15px;
	padding-right:15px;
	padding-bottom:3px;
	border-radius:10px;
}
.form_main_horizontal textarea{
	width:100%;
	font-size:1.25em;
	font-family:Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	padding:6px;
	border:2px solid #930;
	border-radius:10px;
}


/*FIN DE Estilos para formularios en general*/


/*INICIO: Wcard*/
.wcard{
	width:100%;
	margin:auto;
	padding:5px;
	background:var(--ColorBackCards);
	color:var(--ColorColorFontCards);
}
.wcard.width25{
	width:25%;
}
.wcard.width50{
	width:50%;
}
.wcard.width75{
	width:75%;
}
.wcard .wtitle{
	font-weight:bold;
	text-align:center;
	background:var(--ColorBackMenuG);
	padding:0.5em;
	color:#FFF;
	border-radius:6px 6px 0 0;

}

/*FIN DE: Wcard*/



/*From Bootstrap*/
/*From Bootstrap*/
.btn {
  display: inline-block;
  font-weight: 400;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 0.9rem;
  line-height: 1.2;
  border-radius: 0.25rem;
  
}


.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.btn:hover,
.btn:focus,
.btn.focus {
  color: #333;
  text-decoration: none;
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
  cursor: not-allowed;
  filter: alpha(opacity=65);
  opacity: 0.65;
  -webkit-box-shadow: none;
  box-shadow: none;
}
a.btn.disabled,
fieldset[disabled] a.btn {
  pointer-events: none;
}
.btn-default {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}
.btn-default:focus,
.btn-default.focus {
  color: #333;
  background-color: #e6e6e6;
  border-color: #8c8c8c;
}
.btn-default:hover {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
}
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
  color: #333;
  background-color: #e6e6e6;
  background-image: none;
  border-color: #adadad;
}
.btn-default:active:hover,
.btn-default.active:hover,
.open > .dropdown-toggle.btn-default:hover,
.btn-default:active:focus,
.btn-default.active:focus,
.open > .dropdown-toggle.btn-default:focus,
.btn-default:active.focus,
.btn-default.active.focus,
.open > .dropdown-toggle.btn-default.focus {
  color: #333;
  background-color: #d4d4d4;
  border-color: #8c8c8c;
}
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus {
  background-color: #fff;
  border-color: #ccc;
}
.btn-default .badge {
  color: #fff;
  background-color: #333;
}
.btn-primary {
  color: #fff;
  background-color: #337ab7;
  border-color: #2e6da4;
}
.btn-primary:focus,
.btn-primary.focus {
  color: #fff;
  background-color: #286090;
  border-color: #122b40;
}
.btn-primary:hover {
  color: #fff;
  background-color: #286090;
  border-color: #204d74;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  color: #fff;
  background-color: #286090;
  background-image: none;
  border-color: #204d74;
}
.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus {
  color: #fff;
  background-color: #204d74;
  border-color: #122b40;
}
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus {
  background-color: #337ab7;
  border-color: #2e6da4;
}
.btn-primary .badge {
  color: #337ab7;
  background-color: #fff;
}
.btn-success {
  color: #fff;
  background-color: #5cb85c;
  border-color: #4cae4c;
}
.btn-success:focus,
.btn-success.focus {
  color: #fff;
  background-color: #449d44;
  border-color: #255625;
}
.btn-success:hover {
  color: #fff;
  background-color: #449d44;
  border-color: #398439;
}
.btn-success:active,
.btn-success.active,
.open > .dropdown-toggle.btn-success {
  color: #fff;
  background-color: #449d44;
  background-image: none;
  border-color: #398439;
}
.btn-success:active:hover,
.btn-success.active:hover,
.open > .dropdown-toggle.btn-success:hover,
.btn-success:active:focus,
.btn-success.active:focus,
.open > .dropdown-toggle.btn-success:focus,
.btn-success:active.focus,
.btn-success.active.focus,
.open > .dropdown-toggle.btn-success.focus {
  color: #fff;
  background-color: #398439;
  border-color: #255625;
}
.btn-success.disabled:hover,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
fieldset[disabled] .btn-success:focus,
.btn-success.disabled.focus,
.btn-success[disabled].focus,
fieldset[disabled] .btn-success.focus {
  background-color: #5cb85c;
  border-color: #4cae4c;
}
.btn-success .badge {
  color: #5cb85c;
  background-color: #fff;
}
.btn-info {
  color: #fff;
  background-color: #5bc0de;
  border-color: #46b8da;
}
.btn-info:focus,
.btn-info.focus {
  color: #fff;
  background-color: #31b0d5;
  border-color: #1b6d85;
}
.btn-info:hover {
  color: #fff;
  background-color: #31b0d5;
  border-color: #269abc;
}
.btn-info:active,
.btn-info.active,
.open > .dropdown-toggle.btn-info {
  color: #fff;
  background-color: #31b0d5;
  background-image: none;
  border-color: #269abc;
}
.btn-info:active:hover,
.btn-info.active:hover,
.open > .dropdown-toggle.btn-info:hover,
.btn-info:active:focus,
.btn-info.active:focus,
.open > .dropdown-toggle.btn-info:focus,
.btn-info:active.focus,
.btn-info.active.focus,
.open > .dropdown-toggle.btn-info.focus {
  color: #fff;
  background-color: #269abc;
  border-color: #1b6d85;
}
.btn-info.disabled:hover,
.btn-info[disabled]:hover,
fieldset[disabled] .btn-info:hover,
.btn-info.disabled:focus,
.btn-info[disabled]:focus,
fieldset[disabled] .btn-info:focus,
.btn-info.disabled.focus,
.btn-info[disabled].focus,
fieldset[disabled] .btn-info.focus {
  background-color: #5bc0de;
  border-color: #46b8da;
}
.btn-info .badge {
  color: #5bc0de;
  background-color: #fff;
}
.btn-warning {
  color: #fff;
  background-color: #f0ad4e;
  border-color: #eea236;
}
.btn-warning:focus,
.btn-warning.focus {
  color: #fff;
  background-color: #ec971f;
  border-color: #985f0d;
}
.btn-warning:hover {
  color: #fff;
  background-color: #ec971f;
  border-color: #d58512;
}
.btn-warning:active,
.btn-warning.active,
.open > .dropdown-toggle.btn-warning {
  color: #fff;
  background-color: #ec971f;
  background-image: none;
  border-color: #d58512;
}
.btn-warning:active:hover,
.btn-warning.active:hover,
.open > .dropdown-toggle.btn-warning:hover,
.btn-warning:active:focus,
.btn-warning.active:focus,
.open > .dropdown-toggle.btn-warning:focus,
.btn-warning:active.focus,
.btn-warning.active.focus,
.open > .dropdown-toggle.btn-warning.focus {
  color: #fff;
  background-color: #d58512;
  border-color: #985f0d;
}
.btn-warning.disabled:hover,
.btn-warning[disabled]:hover,
fieldset[disabled] .btn-warning:hover,
.btn-warning.disabled:focus,
.btn-warning[disabled]:focus,
fieldset[disabled] .btn-warning:focus,
.btn-warning.disabled.focus,
.btn-warning[disabled].focus,
fieldset[disabled] .btn-warning.focus {
  background-color: #f0ad4e;
  border-color: #eea236;
}
.btn-warning .badge {
  color: #f0ad4e;
  background-color: #fff;
}
.btn-danger {
  color: #fff;
  background-color: #d9534f;
  border-color: #d43f3a;
}
.btn-danger:focus,
.btn-danger.focus {
  color: #fff;
  background-color: #c9302c;
  border-color: #761c19;
}
.btn-danger:hover {
  color: #fff;
  background-color: #c9302c;
  border-color: #ac2925;
}
.btn-danger:active,
.btn-danger.active,
.open > .dropdown-toggle.btn-danger {
  color: #fff;
  background-color: #c9302c;
  background-image: none;
  border-color: #ac2925;
}
.btn-danger:active:hover,
.btn-danger.active:hover,
.open > .dropdown-toggle.btn-danger:hover,
.btn-danger:active:focus,
.btn-danger.active:focus,
.open > .dropdown-toggle.btn-danger:focus,
.btn-danger:active.focus,
.btn-danger.active.focus,
.open > .dropdown-toggle.btn-danger.focus {
  color: #fff;
  background-color: #ac2925;
  border-color: #761c19;
}
.btn-danger.disabled:hover,
.btn-danger[disabled]:hover,
fieldset[disabled] .btn-danger:hover,
.btn-danger.disabled:focus,
.btn-danger[disabled]:focus,
fieldset[disabled] .btn-danger:focus,
.btn-danger.disabled.focus,
.btn-danger[disabled].focus,
fieldset[disabled] .btn-danger.focus {
  background-color: #d9534f;
  border-color: #d43f3a;
}
.btn-danger .badge {
  color: #d9534f;
  background-color: #fff;
}
.btn-link {
  font-weight: 400;
  color: #337ab7;
  border-radius: 0;
}
.btn-link,
.btn-link:active,
.btn-link.active,
.btn-link[disabled],
fieldset[disabled] .btn-link {
  background-color: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.btn-link,
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
  border-color: transparent;
}
.btn-link:hover,
.btn-link:focus {
  color: #23527c;
  text-decoration: underline;
  background-color: transparent;
}
.btn-link[disabled]:hover,
fieldset[disabled] .btn-link:hover,
.btn-link[disabled]:focus,
fieldset[disabled] .btn-link:focus {
  color: #777777;
  text-decoration: none;
}
.btn-lg,
.btn-group-lg > .btn {
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
  border-radius: 6px;
}
.btn-sm,
.btn-group-sm > .btn {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}
.btn-xs,
.btn-group-xs > .btn {
  padding: 1px 5px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}
.btn-block {
  display: block;
  width: 100%;
}
.btn-block + .btn-block {
  margin-top: 5px;
}
input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block {
  width: 100%;
}

