body{font-family:Quicksand,sans-serif}

._login-container{position:fixed;top:0;right:0;bottom:0;left:0;overflow:hidden}
._login-bg:before,._login-form,
._password-show{position:absolute;right:0}
._login-bg:before{content:"";top:0;bottom:0;left:0;background-color:rgba(0,0,0,.5)}
._login-form{top:0;bottom:0;width:100%}
._position-stuck{bottom:16px}
._position-middle-stuck{top:50px}
._login-img{margin-top:-50px}
._login-img img{max-width:150px;-webkit-filter:drop-shadow(0 1px 2px rgba(0,0,0,.2));filter:drop-shadow(0 1px 2px rgba(0, 0, 0, .2))}
._white{color:#fff}
._black{color:#444}
.btn-large:hover,.btn:hover{color:#fff}
._login-form ._position-middle{text-align:left;width:100%;margin:auto}
._layout-xs{max-width:360px;margin:auto}
._password-show{top:8px;padding:5px 12px;border-radius:4px;background-color:#26a69a;display:inline-block;color:#fff;font-size:13px;cursor:pointer;-webkit-transition:.3s;-o-transition:.3s;transition:.3s;z-index:100}
._password-show:hover{opacity:.8}
._login-position-middle{margin-top:20px}


#video_background {
/*
Este estilo es para darle propiedades al vídeo, como que ocupe el 100%, pero en ldo izquierdo.
Si no le pongo el estilo ocupa toda la pantalla, y en tamaño original,
por lo que si veo la web con una resolucion mayor no la ocupa toda
*/
	position: absolute;
	bottom: 0px;
	right: 0px;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	/*Con este z-index se queda detrás el vídeo, por lo que no se vería. Si lo comento sí se muestra*/
	/*z-index: -1000;*/
	overflow: hidden;
}
/*
#video_pattern {
	background:#fff;
	position: fixed;
	opacity: 0.8;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 1;
}
*/
@media (min-width:993px){
	._login-position-middle{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:100%;z-index:100}
	._login-position-bottommiddle{position:absolute;bottom:16px;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);text-align:center}
}

@media (max-width:992px){
	._login-position-middle{position:relative}
	._login-form{overflow-y:auto;overflow-x:hidden}
	._login-position-bottommiddle{margin:32px 16px}
}

._text-btn{position:absolute;right:110%;top:-18px}

@media (min-width:993px){
	._login-position-middle-stuck{top:45%;left:80%!important}
}

._stack-behind,._stack-behind-bg,._stack-behind-bg:before{
	position:absolute;top:0;bottom:0;left:0
}

/*GRADIENTE DE TODO*/
._stack-behind{
	right:0;overflow:hidden;
	/*Lo comento para poner un color fijo*/
	/*
	background-image:-webkit-gradient(linear,left bottom,left top,from(#d299c2),to(#fef9d7));
	background-image:-webkit-linear-gradient(bottom,#d299c2 0,#fef9d7 100%);
	background-image:-o-linear-gradient(bottom,#d299c2 0,#fef9d7 100%);
	background-image:linear-gradient(to top,#d299c2 0,#fef9d7 100%);
	-webkit-transition:20s;-o-transition:20s;transition:20s
	*/
	/*Un color*/
	/*background-color: #93A49D;*/
	/*Gradiente colores Servalia*/
	background-image:-webkit-gradient(linear,left bottom,left top,from(#e15100),to(#009381));
	background-image:-webkit-linear-gradient(bottom,#e15100 0,#009381 100%);
	background-image:-o-linear-gradient(bottom,#e15100 0,#009381 100%);
	background-image:linear-gradient(to top,#e15100 0,#009381 100%);
}

._login-container:hover
._stack-behind{
/*
Esta clase es la que hace el efecto de ir cambiando gradualmente el color
Si lo aplico, se lo cambia también al vídeo
*/
	/*-webkit-filter:hue-rotate(1000deg);
	filter:hue-rotate(1000deg)*/
}

/*Estilo para la parte del LOGIN*/
._bg-white{
	/*Todo esto no es necesario*/
	/*
	background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#eee));
	background-image:-webkit-linear-gradient(top,#fff,#eee);
	background-image:-o-linear-gradient(top,#fff,#eee);
	*/
	background-image:linear-gradient(to bottom,#fff,#eee);
	-webkit-box-shadow:0 0 3px rgba(0,0,0,.1);
	box-shadow:0 0 3px rgba(0,0,0,.1);
	border-radius:8px
}

/*Estilo para la parte izquierda. Si comento la imagen no se ve el vídeo*/
._stack-behind-bg{
	right:350px;background-image:url(../img/bg-login.jpg);
	/*
	background-position:center center;
	background-repeat:no-repeat;
	background-size:cover;
	-webkit-box-shadow:0 0 5px rgba(0,0,0,.8);
	box-shadow:0 0 5px rgba(0,0,0,.8)
	*/
}

._stack-behind-bg:before{
	content:"";
	right:0;
	background-color:rgba(0,0,0,.5)
}

._lily-pad-stuck{padding:20px}

@media (min-width:993px){
	._lily-pad-stuck{padding:20px 25px}
}