/***** GASMAR - NAF *****/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video,dl,dt,dd {
	font-size: 100%;
	font-style: normal;
	vertical-align: baseline;
	margin: 0;
	padding: 0;
	border: 0;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
	display: block;
}
audio, canvas, progress, video {
	display: inline-block;
	vertical-align: baseline
}
a { color:#3376B3; outline:none; text-decoration: none; }
a:visited{color:#116ACC;}
a:hover{text-decoration: underline;}
a:focus{
	outline:0px;
}
* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
html {	font-size: 62.5%;}
body{
	font: 10px 'Lato', Arial, Helvetica, sans-serif;
	color: #707070;
	background-color: #fff;
	min-width: 318px;
}

/***** TEMPLATE *****/
.center{
	max-width: 1200px;
    width: 94%;
    margin:0 auto;
}
#wrapper{ background-color:#FFFFFF; /*position:absolute; width:100%; height: 100%;*/}
#top { background-color: #3E3E3E; text-align:right;}
.container-fluid {
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
}

.col-sm {
	padding-bottom: 30px;
}
@media (min-width: 860px){
.row {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	height:100%;
	height: 100vh;
	margin-right: -15px;
	margin-left: -15px;
}
.col-sm-5 {
	-ms-flex: 0 0 38%;
	flex: 0 0 38%;
	max-width: 38%;
}
.col-sm {
	-ms-flex-preferred-size: 0;
	flex-basis: 0;
	-ms-flex-positive: 1;
	flex-grow: 1;
	max-width: 100%;
	min-height: 586px;
}
}
.container-fluid .col-sm-5.last {
  padding-left: 0 !important;
  position: relative;
  overflow: hidden;
}

.imagen {
	vertical-align: top;
	width: 100%;
	height: 100vh;
	height: 100%;
	object-fit: cover;
	object-position: center;
	position:absolute;
	top:0;
	left:0;
}
.logo {
	text-align:center;
	width: 100%;
	padding-right:3%;
	position:absolute;
	bottom: 50px;
}
.logo img{
	vertical-align: top;
}
#logo-resp { display: none;}

#login {
  max-width: 460px;
  width: 92%;
  padding-top: 12%;
  margin: 0 auto;
}
#login legend {
	color: #3376B3;
	font-weight: 900;
	font-size: 36px;
	line-height: 50px;
}
#login .legend {
	color: #7D7D7D;
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 50px;
}
#login label {
	font-size: 13px;
	background-color: #fff;
	padding: 0 4px;
	position: absolute;
	top: -8px;
	left: 12px;
}
#login input[type="text"], #login input[type="password"] { padding:16px 14px 16px 48px;}
#login .form-group { margin-bottom: 30px; position:relative;}
#login input[type="text"] + i, #login input[type="password"] + i {
	color:#8694A5;
	font-size: 22px;
	position: absolute;
	top: 15px;
	left: 16px;
}
#login input[type="password"] + i { left: 18px;}
#login input[type="text"]:focus + i, #login input[type="password"]:focus + i {
	color:#3376B3;
}
#login .form-control:invalid{ border-color: #F35959;}

#login .btn.btn-primary { font-size: 22px;}

#aeurus { background-color:#333; position:fixed; width:100%; bottom:0; padding: 8px 10px; text-align: right;}
#aeurus img { vertical-align: top;}
.p_errores { color:#F35959; text-align:right; font-size: 16px; padding-top: 4px;}


/***** FORMULARIO *****/
label, input, textarea, select, button {
	font-family: 'Lato', Arial, Helvetica, sans-serif;
	color: #707070;
	font-size: 1.5em;
	font-size: 1.5rem;
	margin: 0;
}
input:focus, textarea:focus, select:focus{
	outline: none;
}
input[type="date"], input[type="time"], input[type="number"], input[type="text"], input[type="password"], input[type="email"],textarea, select {
	width: 100%;
	/*padding: 0 14px;*/
	background-color: #fff;
	border: 3px solid #E4E4E4;
	
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-khtml-border-radius: 10px;
	border-radius: 10px;
}
input[type="text"], input[type="password"], input[type="number"], input[type="date"], input[type="time"], input[type="email"], select {
	line-height: 20px;
	padding: 6px 14px;
}
textarea {
	padding: 6px 14px;
	margin-bottom: 30px;
	resize: none;
	moz-resize: none;
	-webkit-resize: none;
}
input::-webkit-input-placeholder {
    /* Google Chrome y Safari */
    color: #707070;
	opacity:1;
}
input:-moz-placeholder {
    /* Firefox anterior a 19 */
    color: #707070;
	opacity:1;
}
input::-moz-placeholder {
    /* Firefox 19 y superior */
    color: #707070;
	opacity:1;
}
input:-ms-input-placeholder {
    /* Internet Explorer 10 y superior */
    color: #707070;
	opacity:1;
}
.form-control:focus {
  background-color: #fff;
  border-color: #3376B3;
  outline: 0;
  box-shadow: 0 3px 10px 0 rgba(34, 41, 47, 0.1); 
}
.invalid-mensaje {
	color:#FFF;
	font-size: 16px;
	font-weight: 900;
	line-height: 20px;
	background-color: #F35959;
	text-align:center;
	padding: 15px 10px;
	border-radius: 10px;
	margin: -20px 0 50px;
}
/*input[type="checkbox"], input[type="radio"] {
    display:none;
}
input[type="checkbox"] + label span {
	display: inline-block;
	width: 18px;
	height: 17px;
	margin: -1px 4px 0 0;
	vertical-align: middle;
	background: url(/imagenes/sitio/check.png) left top no-repeat;
	cursor: pointer;
}
input[type="checkbox"]:checked + label span {
    background:url(/imagenes/sitio/check.png) 0 -17px no-repeat;
}

input[type="radio"] + label span {
	display: inline-block;
	width: 18px;
	height: 18px;
	margin: -2px 4px 0 0;
	vertical-align: middle;
	background: url(/imagenes/sitio/radio.png) left top no-repeat;
	cursor: pointer;
}
input[type="radio"]:checked + label span {
	background: url(/imagenes/sitio/radio.png) 0 -18px no-repeat;
}
input[type="text"].datepickerfix{
	background: #fff url(/imagenes/sitio/calendar.png) 93% center no-repeat;
}*/

.btn, .btn:visited {
	color:#FFF;
	font-size: 2em;
	font-size: 2rem;
	font-weight: 600;
	text-align:center;
	display: inline-block;
	margin: 0;
	padding: 12px 20px;
	border-radius: 7px;
	cursor: pointer;
}
.btn:hover { text-decoration: none;}

.btn-primary, .btn-primary:visited {
	background-color: #3376B3;
	border: 1px solid #3376B3;
}
.btn-primary:hover { background-color: #116ACC;}


/*Textos*/
h1,h2, h3, h4,h6,.text-h2{
	color: #1C2126;
	font-weight: bold;
	margin-bottom: 14px;
}
h1{
	font-size: 2.6em;
	font-size: 2.6rem;
	margin-bottom:30px;
}
h3{
	font-size: 1.8em;
	font-size: 1.8rem;
	margin-bottom:30px;
}

p {
	font-size: 1.6em;
	font-size: 1.6rem;
	margin-bottom:30px;
}
.text-center { text-align:center;}



@media (max-width: 859px){
#logo-resp {
	display:block;
	width: 300px;
	margin: 0 auto 60px;
}
#logo-resp img{
	vertical-align: top;
	width:100%;
	height:auto;
}
.col-sm-5 {
	display:none;
}
}

@media (max-width: 659px){
#logo-resp {
	width: 300px;
}
#login legend {
  font-size: 30px;
  line-height:1.1;
}
}
@media (max-width: 450px){
#logo-resp { width: 270px;}
#login legend { font-size: 22px;}
}