@import url(https://fonts.googleapis.com/css?family=Raleway:200,500,700,800);

*, *:after, *:before { -webkit-box-sizing: border-box; box-sizing: border-box; }
.clearfix:before, .clearfix:after { content: ''; display: table; }
.clearfix:after { clear: both; }

#loginForm {
	font-weight: 500;
	font-size: 1em;
	font-family: 'Raleway', Arial, sans-serif;
}

#loginForm .title,
.titular {
    margin: 1.5em 0.5em 0em;
    font-size: 1.8em;
    font-weight: bold;
    text-shadow: none;
    color: #B0AFAE;
}
.titular {
	font-size: 1.2em;
	text-align: center;
	color: #888;
}
.fecha { display: inline-block; }

#loginForm a {
	color: #2fa0ec;
	text-decoration: none;
	outline: none;
}

#loginForm a:hover, #loginForm a:focus {
	color: #004777;
}

#loginForm .input {
	position: relative;
	z-index: 1;
	display: inline-block;
	margin: 0.8em;
	max-width: 360px;
	width: calc(100% - 2em);
	vertical-align: top;
	font-size: 1.5em;
}

#loginForm .input__field {
	position: relative;
	display: block;
	float: right;
	padding: 0.8em;
	width: 60%;
	border: none;
	border-radius: 0;
	background: #f0f0f0;
	color: #aaa;
	font-weight: 400;
	font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-appearance: none; /* for box shadows to show on iOS */
}

#loginForm .input__field:focus {
	outline: none;
}

#loginForm .input__label {
	display: inline-block;
	float: right;
	padding: 0 1em;
	width: 40%;
	color: #696969;
	font-weight: bold;
	font-size: 70.25%;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#loginForm .input__label-content {
	position: relative;
	display: block;
	padding: 1.6em 0;
	width: 100%;
}

.graphic {
	position: absolute;
	top: 0;
	left: 0;
	fill: none;
}

.icon {
	color: #696969;  
	font-size: 150%;
}

.accionesBloque {
	padding-bottom: 0.8em;
}

/* Fumi */
#loginForm .input--fumi {
	background-color: #f0efee;
    border: 1px solid #ddd;
	overflow: hidden;
	padding: 5px;
    border-radius: 8px;
    position: relative;
}

#loginForm .input--fumi::after {
	content: '';
	width: 1px;
	position: absolute;
	top: 0.5em;
	bottom: 0.5em;
	left: 2.5em;
	background: #ccc;
	z-index: 100;
}

#loginForm .input__field--fumi {
	background: transparent;
	width: 100%;
    color: #696969;
    padding: 1em 1em 0.5em 3em;
	font-size: 1em;
	box-shadow: none;
}

#loginForm .input__label--fumi {
	position: absolute;
	width: 100%;
	text-align: left;
	padding-left: 4.5em;
	pointer-events: none;
	left: 0;
}

#loginForm .icon--fumi {
	width: 2em;
	position: absolute;
	top: 0;
	left: 0;
	padding: 0.8em 0 0 0.5em;
}

#loginForm .input__label-content--fumi {
	padding: 1.2em 0;
	display: inline-block;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
}

#loginForm .input__label-content--fumi span {
	display: inline-block;
}

#loginForm .input__field--fumi:focus + .input__label--fumi .input__label-content--fumi,
#loginForm .input--filled .input__label-content--fumi {
	-webkit-animation: anim-fumi-1 0.3s forwards;
	animation: anim-fumi-1 0.3s forwards;
}

@-webkit-keyframes anim-fumi-1 {
	50% {
		-webkit-transform: translate3d(0, 3em, 0);
		transform: translate3d(0, 3em, 0);
	}
	51% {
		-webkit-transform: translate3d(0, -3em, 0) scale3d(0.85, 0.85, 1);
		transform: translate3d(0, -3em, 0) scale3d(0.85, 0.85, 1);
	}
	100% {
		/*color: #a3a3a3;*/
		color: #0c79c3;
		-webkit-transform: translate3d(0, -1.1em, 0) scale3d(0.85, 0.85, 1);
		transform: translate3d(0, -1.1em, 0) scale3d(0.85, 0.85, 1);
	}
}
@keyframes anim-fumi-1 {
	50% {
		-webkit-transform: translate3d(0, 3em, 0);
		transform: translate3d(0, 3em, 0);
	}
	51% {
		-webkit-transform: translate3d(0, -3em, 0) scale3d(0.85, 0.85, 1);
		transform: translate3d(0, -3em, 0) scale3d(0.85, 0.85, 1);
	}
	100% {
		/*color: #a3a3a3;*/
		color: #0c79c3;
		-webkit-transform: translate3d(0, -1.1em, 0) scale3d(0.85, 0.85, 1);
		transform: translate3d(0, -1.1em, 0) scale3d(0.85, 0.85, 1);
	}
}
.input__field--fumi:focus + .input__label--fumi .icon--fumi,
.input--filled .icon--fumi {
	-webkit-animation: anim-fumi-2 0.3s forwards;
	animation: anim-fumi-2 0.3s forwards;
}
@-webkit-keyframes anim-fumi-2 {
	50% {
		opacity: 1;
		-webkit-transform: translate3d(0, -3em, 0);
		transform: translate3d(0, -3em, 0);
	}
	50.25% {
		opacity: 0;
		-webkit-transform: translate3d(0, -3em, 0);
		transform: translate3d(0, -3em, 0);
	}
	50.75% {
		opacity: 0;
		-webkit-transform: translate3d(0, 3em, 0);
		transform: translate3d(0, 3em, 0);
	}
	51% {
		opacity: 1;
		-webkit-transform: translate3d(0, 3em, 0);
		transform: translate3d(0, 3em, 0);
	}
	100% {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
		color: #0c79c3;
	}
}
@keyframes anim-fumi-2 {
	50% {
		opacity: 1;
		-webkit-transform: translate3d(0, -3em, 0);
		transform: translate3d(0, -3em, 0);
	}
	50.25% {
		opacity: 0;
		-webkit-transform: translate3d(0, -3em, 0);
		transform: translate3d(0, -3em, 0);
	}
	50.75% {
		opacity: 0;
		-webkit-transform: translate3d(0, 3em, 0);
		transform: translate3d(0, 3em, 0);
	}
	51% {
		opacity: 1;
		-webkit-transform: translate3d(0, 3em, 0);
		transform: translate3d(0, 3em, 0);
	}
	100% {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
		color: #0c79c3;
	}
}

#loginForm .input--fumi.input--filled {
    border: 2px solid #0c79c3;
	padding: 4px;
}
#loginForm .input--fumi.input--filled::after {
	background: #0c79c3;
	width: 2px;
}
#loginForm .input--filled .input__label-content--fumi {
    color: #0c79c3;
    padding: 1.7em 0;
    font-weight: 400;
}

#loginForm .input--fumi.error {
    border: 2px solid #B40404;
	padding: 4px;
}
#loginForm .input--fumi.error::after {
	background: #B40404;
	width: 2px;
}
#loginForm .input--fumi.error .icon--fumi {
    color: #B40404;
}
#loginForm .input--fumi input.error {
    background: none;
    color: #696969;
}

/* -------------------------------------- */

.logos {
	margin-bottom: 2em;
	text-align: center;
}
.logo {
    margin-bottom: 1em;
    margin-right: 20px;
    height: 44px;
}

#loginForm .boton {
    padding: 0.5em 1em;
    background-color: #0D57A1;
    border: none;
    font-weight: bold;
    -moz-transition: all 0.25s ease-in-out; -webkit-transition: all 0.25s ease-in-out; -o-transition: all 0.25s ease-in-out; -ms-transition: all 0.25s ease-in-out; transition: all 0.25s ease-in-out;
    color: #f0efee;
    border-radius: 4px;
	display: inline-block;
	line-height: 1.5em;
}
#loginForm .boton:hover,
#loginForm .boton:focus {
    background-color: #198DDD;
    color: #fff;
    outline: 0;
}
#loginForm .boton:hover {
	cursor: pointer;
}

.certificado {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-top: 1.8em;
    width: 100%;
    vertical-align: top;
}
.certificado img {
    margin: 0 auto;
}

.containerCol {
    display: inline-block;
    margin: auto;
}
.columna {
    display: inline-block;
    float: left;
    width: 450px;    
}
.coluDer {
}
.coluIzq {
    border-right: 1px solid #DDD;
}

.password {
    margin-bottom: 0;
}
.links--fumi {
    margin-bottom: 1em;
    font-size: 0.9em;
}
#loginForm .crear {
    outline: 0;
    
    padding-left: 10px;
}
#loginForm .recuperar {
    /*clear: both;
    display: block;
    padding: 1em;*/
    outline: 0;
    
    border-right: 1px solid #888;
    padding-right: 10px;
}
#loginForm .crear:hover,
#loginForm .recuperar:hover {
    text-decoration: underline;
    outline: 0;
}
#loginForm .crear:focus,
#loginForm .recuperar:focus {
    text-decoration: underline;
    outline: 0;
}
.avisar:focus {
    outline: inherit;
}

.sesamoMsg {
    background-color: #f0efee;
    margin-top: 2em;
    font-size: 0.5em;
}
.sesamoInfo {
    background-color: #EDF5FE;
    border: 1px solid #CDE0F4;
    font-size: 0.8em;
    display: block;
    padding: 1em;
    margin: 0.2em 2em 0 2em;
    display: none;
    border-radius: 8px;
}
.sesamoNota {
    width: 850px;
    margin: auto;
    padding: 2em 2em 2em 3em;
    opacity: 0.8;
    text-align: left;
    position: relative;    
}
.sesamoNota p,
.sesamoInfo p{
    margin: 0;
    margin-left: 32px;
    text-align: left;
	line-height: 1.5em;
}
.sesamoInfo .icon,
.sesamoNota .icon {
    background: #aaa;
    border-radius: 50%;
    color: #f0f0f0;
    height: 24px;
    line-height: 24px;
    width: 24px;
    margin-right: 5px;
    float: left;
	font-size: 14px;
}
.sesamoInfo .icon {
    background: #95c4f5;
    color: #EDF5FE;
}
.sesamoError {
    background-color: #800000;
    color: #fff;
    padding: 1em;
    -moz-transition: all 0.25s ease-in-out; -webkit-transition: all 0.25s ease-in-out; -o-transition: all 0.25s ease-in-out; -ms-transition: all 0.25s ease-in-out; transition: all 0.25s ease-in-out;
}
.sesamoError h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: bold;    
}
.sesamoError .errores {
    margin: 10px 24px 10px 24px;
}
.sesamoError .icon {
    cursor: pointer;
    float: right;
	margin-top: 8px;
}
.sesamoError .icon {
    color: #fff;
}

.mostrar {
    display: block;
}

.errorCaptcha {
    font-size: 0.5em;
    margin-top: 2em;
    max-width: 360px;
    width: calc(100% - 2em);
    position: relative;
    display: inline-block;
    padding: 0.5em;
	background-color: #ffefef;
    border-radius: 8px;
}
.errorCaptcha p {
    max-width: 305px;
    text-align: left;
    display: inline-block;
    margin: 5px 0;
}
.captcha {
    display: inline-block;
    margin-top: 5px;
}


/* Otras pantallas */
#msg.msgSMS {
	padding: 1em;
}
.msgSMS {
    color: #202d3b;
    max-width: 850px;
    margin: 4em auto;
    padding: 1em;
    font-size: 0.6em;
    border-radius: 8px;
}
.msgSMS .icon {
    border-radius: 50%;
    height: 36px;
    line-height: 38px;
    width: 36px;
    margin-right: 5px;
}
/* Success */
.success {
    background-color: #ddffaa;
    border: none;
    color: #0C660C;
    font-size: 0.6em;
}
.success h2{
    color: #0C660C;
    text-shadow: none;
}
.success .icon {
    background: #0C660C;
    color: #ddffaa;
}
/* Info */
/*.info {
    background-color: #eeffff;
    border: none;
    color: #000088;
    font-size: 0.6em;
}
.info h2{
    color: #000088;
    text-shadow: none;
}
.info .icon {
    background: #000088;
    color: #eeffff;
}*/
/* Errors */
.errors {
    background-color: #FFEBE8;
    border: none;
    color: #B40404;
    font-size: 0.6em;
}
.errors h2{
    color: #B40404;
    text-shadow: none;
}
.errors .icon {
    background: #B40404;
    color: #FFEBE8;
}
/* - Otras pantallas - */


@media screen and (max-width: 950px) {
	#header #titulo-aplicacion {
	    font-size: 1.5em;
	    line-height: 1em;
	    margin-left: 130px;
	    margin-top: 36px;
	    text-align: left;
	}
	#content {
		padding: 20px 0;
	}
    .content {
        padding-top: 1em;
    }
    #loginForm .title {
        font-size: 1.2em;
        margin: 0 0.5em 0.5em 0.5em;
    }
    .logo {
        margin-bottom: 0.5em;
    }
	.columna {
        display: inline-block;
        float: none;
        width: 100%; 
        padding-right: 0;
        padding-left: 0;
        margin-right: 0;
        margin-left: 0;
    }
	.coluDer {
		min-height: inherit;
	}
    .coluIzq {
        border-right: none;
        border-bottom: 1px solid #ddd; 
        padding-bottom: 1em;
        margin-bottom: 1em;
    }
	.sinBorde.coluIzq  {
		padding-bottom: 0;
		margin-bottom: 0;
	}
    .certificado {
        max-width: 100%;
        display: block;
        margin: 0;
        margin-bottom: 10px;
    }
    .certificado img {
        margin: 0 auto;
        width: 100px;
    }
    .sesamoNota {
        width: 100%;
    }
    .msgSMS {
        margin: 4em 1em;
    }
	.separarArribaMas {
		margin-top: 10px;
	}
	.separarAbajoMas {
		margin-bottom: 0px;
	}
	.input {
		margin: 0.5em;
	}
	.links--fumi {
		margin-top: 0;
	}
}
@media screen and (max-width: 400px) {
	.mursal,
	.separador {
		display: none;
	}
}

.oculto {
    display: none;
}
.sinBorde {
    border: 0;
}