/*
	colores: 
		azul => #00989f
		azul celeste => #77d7ff
*/

@font-face {
 	font-family: 'Myriad';
 	src: url(../lib/common/img_user/MyriadPro-Light.otf);
}

body{
	font-family: Myriad;
	font-size: 14px;
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
	-webkit-flex: 1; /* Safari 6.1+ */
    -ms-flex: 1; /* IE 10 */ 
    flex: 1;
	display: flex;  
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background-color: inherit !important;
}

a{
	color: #2e61ab;
}

.bg{
	background-repeat: no-repeat;
    background-position: center center;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: cover;
    background-color: inherit !important;
}

.bg--blue{
	background-color: #77d7ff;
}

.principal{
	height: auto;
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
	-webkit-flex: 1; /* Safari 6.1+ */
    -ms-flex: 1; /* IE 10 */ 
    flex: 1;
	display: flex;  
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
    padding: 50px 0;
}

.principal > .login{
	width: 60%;
}

.login{
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
	-webkit-flex: 1; /* Safari 6.1+ */
    -ms-flex: 1; /* IE 10 */ 
    flex: 1;
	display: flex;  
	align-items: center;
    justify-content: center;
	margin-bottom: 40px;
	
}
main.principal {
	background-image: linear-gradient(to bottom right,#044956, #009297);
}
.index{
	position: relative;
    margin: 0 auto;
    background: #ffffff;
    padding: 3px 2px;
    border-radius: 10px;
    box-shadow: 0 1px 3px 0 #1d1d1c91;
}

.login_form{
	width: 215px;
}

.login_form .form-control{
	background: white;
    border: 1px black solid;
    border-radius: 3px 3px 3px 3px;
    -moz-border-radius-topright: 3px;
    -webkit-border-top-right-radius: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    padding: 10px;
    height: 40px;
}

.form-group > label{
	color: #00989f;
    font-size: medium;
}

h2.login_formTitle{
    color: #00989f;
    font-size: 40px;
    line-height: 1.42;
    font-weight: 400;
    white-space: normal;
    letter-spacing: 0.20px;
}

.login_formActions{
	display: flex;
    justify-content: space-between;
    align-items: center;
}

.login_formActions a{
	color: #00989f;
	cursor: pointer;
}

.login_btnAcceder{
	width: 80px;
    height: 30px;
    background: #F4F4F4;
    text-align: center;
    border: 1px black solid;
    border-radius: 3px 3px 3px 3px;
    -moz-border-radius-topright: 3px;
    -webkit-border-top-right-radius: 3px;
}

.login_logo{
	max-width: 420px;
    margin-left: 30px;
    max-height: 300px;
}

.login_logo > img{
		bottom: 40px;
    max-height: 500px;
    position: relative;
	width: 60%;
    margin-top: 6%;
	
}

.login_errors{
	height: 50px;
    margin-top: 10px;
    color: #FF0000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.login_errors .feedback{
	display: none;
    text-align: center;
    width: 100%;
    background: #ea7e7e;
    border: 1px solid #a71010;
    padding: 5px;
    text-align: center;
    color: #ffffff;
}

.loginfooter{
    color: #000;
    font-size: 12px;
    text-align: justify;
    line-height: 1.42;
    font-weight: 400;
    white-space: normal;
    text-align: center;
	width: 100%;
	margin-top: 20px;
    background-color: rgba(255,255,255,0.5);
}

.loginfooter > p{
	margin: 10px;
}

/* ---- Resoluciones menores a 800px ---- */
@media ( max-width : 800px ){
	.login_logo {
    	width: 50%;
	}
}

/* ---- Resoluciones menores a 650px ---- */

@media screen and ( min-height: 600px ){
    body,html{
    	height: 100%;
    }
}

@media ( max-width : 650px ){

	.principal{
		position: relative;
	    padding: 50px 0 25px 0;
	}

	.login{
		flex-direction: column-reverse;
	}

	h2.login_formTitle{
		font-size: 28px;
		text-align: center;
		margin: 0;
	}

	.login_logo{
		margin-left: 0px;
		width: 200px;
	}

	.login_logo > img{
		width: 100%;
	}

}

/* ---- Resoluciones menores a 320px ---- */

@media ( max-width : 320px ){
	
	.principal > .login{
		width: 85%;
	}

	.login_form{
		width: 100%;
	}

	h2.login_formTitle{
		font-size: 25px;
	}

	.login_logo {
	    width: 200px;
	}
}