@font-face {
    font-family: 'Raleway';
    src: url('fonts/raleway/raleway-bold-webfont.eot');
    src: url('fonts/raleway/raleway-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/raleway/raleway-bold-webfont.woff') format('woff'),
         url('fonts/raleway/raleway-bold-webfont.ttf') format('truetype'),
         url('fonts/raleway/raleway-bold-webfont.svg#ralewaybold') format('svg');
    font-weight: 700;
    font-style: normal;

}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/raleway/raleway-extralight-webfont.eot');
    src: url('fonts/raleway/raleway-extralight-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/raleway/raleway-extralight-webfont.woff') format('woff'),
         url('fonts/raleway/raleway-extralight-webfont.ttf') format('truetype'),
         url('fonts/raleway/raleway-extralight-webfont.svg#ralewayextralight') format('svg');
    font-weight: 200;
    font-style: normal;

}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/raleway/raleway-medium-webfont.eot');
    src: url('fonts/raleway/raleway-medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/raleway/raleway-medium-webfont.woff') format('woff'),
         url('fonts/raleway/raleway-medium-webfont.ttf') format('truetype'),
         url('fonts/raleway/raleway-medium-webfont.svg#ralewaymedium') format('svg');
    font-weight: 500;
    font-style: normal;

}

*, *:after, *:before { -webkit-box-sizing: border-box; box-sizing: border-box; }
.clearfix:before, .clearfix:after { content: ''; display: table; }
.clearfix:after { clear: both; }

body {
	background-color: #f0efee;
	color: #404d5b;
	font-weight: 500;
	font-size: 1.05em;
	font-family: 'Raleway', Arial, sans-serif;
}

a {
	color: #2fa0ec;
	text-decoration: none;
	outline: none;
}

a:hover, a:focus {
	color: #004777;
}

.accesskey {
	text-decoration: none;
}

.container {
	margin: 0 auto;
	text-align: center;
	overflow: hidden;
}

.content {
	font-size: 150%;
	padding-top: 0.5em;
    overflow: hidden;
}
.content .title {
	margin: 0 0.5em 1em 0.5em;
	opacity: 0.4;
    font-size: 1em;
    font-weight: bold;
}


.bgcolor { background: #fefdfc; }


.input {
	position: relative;
	z-index: 1;
	display: inline-block;
	margin: 0.8em;
	max-width: 350px;
	width: calc(100% - 2em);
	vertical-align: top;
}

.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 */
}

.input__field:focus {
	outline: none;
}
/*.input__field:-webkit-autofill {
	background-color: transparent !important;
}*/

.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;
}

.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%;
}

/* Fumi */
.input--fumi {
	background-color: #f0efee;
    border: 1px solid #ddd;
	overflow: hidden;
	padding: 5px;
    border-radius: 8px;
}

.input--fumi::after {
	content: '';
	width: 1px;
	position: absolute;
	top: 0.5em;
	bottom: 0.5em;
	left: 2.5em;
	background: #ccc;
	z-index: 100;
}

.input__field--fumi {
	background: transparent;
	width: 100%;
    color: #696969;
    padding: 1em 1em 0.5em 3.15em;
}

.input__label--fumi {
	position: absolute;
	width: 100%;
	text-align: left;
	padding-left: 4.5em;
	pointer-events: none;
}

.icon--fumi {
	width: 2em;
	position: absolute;
	top: 0;
	left: 0;
	padding: 0.7em 0 0 0.5em;
}

.input__label-content--fumi {
	padding: 1.2em 0;
	display: inline-block;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
}

.input__label-content--fumi span {
	display: inline-block;
}

.input__field--fumi:focus + .input__label--fumi .input__label-content--fumi,
.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;
	}
}

.input--fumi.input--filled {
    border: 2px solid #0c79c3;
	padding: 4px;
}
.input--fumi.input--filled::after {
	background: #0c79c3;
	width: 2px;
}
.input--filled .input__label-content--fumi {
    color: #0c79c3;
    padding: 1.7em 0;
    font-weight: 400;
}

.input--fumi.error {
    border: 2px solid #B40404;
	padding: 4px;
}
.input--fumi.error::after {
	background: #B40404;
	width: 2px;
}
.input--fumi.error .icon--fumi {
    color: #B40404;
}
.input--fumi input.error {
    background: none;
    color: #696969;
}

/* -------------------------------------- */

.logo {
    width: 150px;
    margin-bottom: 0.5em;
}

.boton {
    padding: 0.5em 1em;
    background-color: #0c79c3;
    border: none;
    font-size: 0.6em;
    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;
}
.boton:hover,
.boton:focus {
    background-color: #004777;
    color: #fff;
    outline: 0;
}

span.boton_enlace {
	padding: 0.2em 0.5em;
	background-color: #efefef;
	cursor:pointer;
	border: 1px solid #8f8f8f;
	border-radius: 4px;
}
span.boton_enlace:hover,
span.boton_enlace:focus {
    background-color: #d6d6d6;
}
span.boton_enlace a{
    color: #000;
}

.certificado {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: 1.2em 0 1em 0;
    width: 100%;
    vertical-align: top;
}
.certificado img {
    margin: 0 auto;
}

.containerCol {
    display: inline-block;
    margin: auto;
}
.columna {
    display: inline-block;
    float: left;
    width: 450px;
}
.colDer {
    width: 400px;
	min-height: 310px;
}
.colIzq {
    border-right: 1px solid #ddd;
	padding-bottom: 0.8em;
}

.password {
    margin-bottom: 0;
}
.links--fumi {
    font-size: 0.5em;
    margin-bottom: 1em;
}
.recuperar {
    clear: both;
    display: block;
    padding: 1em;
    outline: 0;
}
.recuperar:hover {
    text-decoration: underline;
    outline: 0;
}
.recuperar:focus {
    text-decoration: underline;
    outline: 0;
}
.avisar:focus {
    outline: inherit;
}

.sesamoMsgTop {
    background-color: #f0efee;
    margin-bottom: 2em;
    font-size: 0.6em;
}
.sesamoMsg {
    background-color: #f0efee;
    margin-top: 2em;
    font-size: 0.5em;
}
.sesamoInfo {
    background-color: #EDF5FE;
    border: 1px solid #CDE0F4;
    font-size: 0.5em;
    display: block;
    padding: 1em;
    margin: 2em;
    margin-bottom: 0;
    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;
}
.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: 350px;
    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 */
.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: 3px solid #0C660C;
    color: #0C660C;
}
.success .icon {
    background: #0C660C;
    color: #ddffaa;
}
/* Info */
.info {
    background-color: #eeffff;
    border: 3px solid #000088;
    color: #000088;
}
.info .icon {
    background: #000088;
    color: #eeffff;
}
/* Warn */
.warn {
    background-color: #FFF3CD;
    border: 3px solid #F49836;
    color: #F49836;
}
.warn .icon {
    background: #F49836;
    color: #FFEBE8;
}
/* Errors */
.errors {
    background-color: #FFEBE8;
    border: 3px solid #B40404;
    color: #B40404;
}
.errors .icon {
    background: #B40404;
    color: #FFEBE8;
}
/* - Otras pantallas - */



@media screen and (max-width: 850px) {
    .content {
        padding-top: 1em;
    }
    .content .title {
        font-size: 0.8em;
        margin: 0 0.5em 0.5em 0.5em;
    }
    .logo {
        width: 100px;
        margin-bottom: 0.5em;
    }
    .input {
        margin: 0.4em 0.8em;
    }
    .input--fumi {
        padding: 1px;
    }
	.input--fumi.input--filled {
		padding: 0px;
	}
	.input--fumi.error {
		padding: 0px;
	}
	.columna {
        display: inline-block;
        float: none;
        width: 100%;
    }
	.colDer {
		min-height: inherit;
	}
    .colIzq {
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding-bottom: 1em;
        margin-bottom: 1em;
    }
	.sinBorde.colIzq  {
		padding-bottom: 0;
		margin-bottom: 0;
	}
    .recuperar {
        padding: 0.3em;
    }
    .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;
    }
}

.oculto {
    display: none;
}
.sinBorde {
    border: 0;
}

.segundoFactor {
	font-size: 0.6em;
    padding: 50px;
    padding-bottom: 0px;
}
