/* --------------------------------------- */
/* Estilos propios para la pagina de login */
/* --------------------------------------- */
body#login-body{
    //background: #fff url(images/bg.jpg) no-repeat;
    //background-size: cover;
}

body#login-body p#intro-login {
    text-align: left;
    color: #fff;
    font-family: Vitesia;
    //margin-top: 150px;
    //margin-left: -10px;
    background-color: transparent;
    background: url(images/trama_logo_white.png) no-repeat right center;
    width: 50vw;
    height: 19vw;
    background-size: contain;
    position: fixed;
    right: 48%;
    bottom: 10%;
}

#header {
	border: none !important;
	background-color: transparent !important;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

#header-logo {
	/*display: none !important;*/
	visibility: hidden;
}

#listQueryMenu {
	-moz-box-flex: 1.0;
	-webkit-box-flex: 1.0;
	-ms-flex: 1.0;
	height: 100%;
}

div#usuario-language {
	right: 10px;
	z-index: 1000;
	position: fixed;
	top: 125px;
	display: none;
}

p#login-title-line1 {
	font-size: 25px;
}

p#login-title-line2 {
	font-size: 20px;
}

p#login-title-line2 a {
	text-decoration: none;p
	color: #fff;
}

#login-picture {
	background: url(images/bg6.jpg) no-repeat left top transparent;
	background-size: cover;
	position: fixed;
	height: 100%;
	width: 70%;
	top: 0px;
	left: 0px;
}

#logo-trama-new {
	position:absolute; 
	top: 50px;	
	width: 100%;
	height: 100%;
	padding-top: 40px;
	background: rgba(255,255,255,0.8);
	background: -moz-linear-gradient(left, rgba(255,255,255,0.8) 0%, rgba(246,246,246,0.35) 47%, rgba(213,213,213,0.05) 69%, rgba(204,204,204,0.05) 75%);
	background: -webkit-gradient(left top, right top, color-stop(0%, rgba(255,255,255,0.8)), color-stop(47%, rgba(246,246,246,0.35)), color-stop(69%, rgba(213,213,213,0.05)), color-stop(75%, rgba(204,204,204,0.05)));
	background: -webkit-linear-gradient(left, rgba(255,255,255,0.8) 0%, rgba(246,246,246,0.35) 47%, rgba(213,213,213,0.05) 69%, rgba(204,204,204,0.05) 75%);
	background: -o-linear-gradient(left, rgba(255,255,255,0.8) 0%, rgba(246,246,246,0.35) 47%, rgba(213,213,213,0.05) 69%, rgba(204,204,204,0.05) 75%);
	background: -ms-linear-gradient(left, rgba(255,255,255,0.8) 0%, rgba(246,246,246,0.35) 47%, rgba(213,213,213,0.05) 69%, rgba(204,204,204,0.05) 75%);
	background: linear-gradient(to right, rgba(255,255,255,0.8) 0%, rgba(246,246,246,0.35) 47%, rgba(213,213,213,0.05) 69%, rgba(204,204,204,0.05) 75%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#cccccc', GradientType=1 );
}

#logo-trama-new img {
	height: 70px; 
	margin-left: 15px;
}

#sampleMovie {
	display: none;
	position: absolute; 
	right: 50px; 
	top: 65px; 
	padding: 5px 5px 0px 5px; 
	border: 5px solid #fff; 
	border-radius: 3px; 
	-webkit-border-radius: 3px; 
	-moz-border-radius: 3px;
}

#loginForm {
	font-family: OpenSans-Regular;
    background-color: #fff;
    border-left: 1px solid #eee;
    width: 1px;
    position: fixed;
    top: 53px;
    right: -30px;
    padding: 75px;
	height: 100%;
	z-index: 3;
	display: none;
}

#loginFormContent {
	margin-top: -60px;
}

#loginForm input {
	border: none;
    border-bottom: 1px solid #79771f;
    width: 40%;
    margin-bottom: 20px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    padding: 0.3em;
    padding-left: 10px;
    margin-top: 0;
}

#loginForm input[type=text]:focus, #loginForm input[type=password]:focus {
	border-bottom: 3px solid #79771f;
	max-width: 50%;
	width: 50%; 
	transition-duration: .2s;
	transition-timing-function: cubic-bezier(.4,0,.2,1);
	transition-property: border-bottom, max-width, width;
}



#j_username, #j_password {
	margin-left: 100px;
}

#loginForm .izquierda {
    min-width: 90px;
    color: #79771f;
}

#loginForm label {
    color: #8e8c6d;
	//background-color: #8e8c6d;
	padding-left: 5px;
	position: fixed;
	min-width: 80px;
	line-height: 1.6em;
	margin-top: 8px;
}

#loginForm #loginpage-guide {
    margin-bottom: 50px;
}

#loginForm #loginpage-guide > span {
	color: #aaa;
	font-size: 13px;
}

#loginForm #loginpage-guide span span {
	color: #79771f;
	font-style: italic;
	font-size: 14px;
}

#loginForm .boton-login,#loginForm .boton-createAccount {
    background-color: #BF360C;
    border-bottom: 5px solid #8c2f12 !important;
	font-weight: bold;
    color: #fff !important;
    width: 35% ;
    float: left;
    margin-top: 15px;
    padding: 0.6em;
    border: none;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    min-width: 100px;
}

#loginForm .boton-login:hover,#loginForm .boton-createAccount:hover {
    cursor: pointer;
}

/*#loginForm .boton-createAccount{
	margin-left: 15%;
}*/

#loginForm .boton-login{
	margin-right: 5%;
}

#loginForm .text-down {
    float: left;
    width: 95%;
    font-size: 11px;
    color: #777;
    margin-top: 40px;
}

#loginForm a.links {
    font-size: 17px;
    color: #51574a;
    text-decoration: none;
    background-color: transparent;
    padding: 0;
}

/* #status-message {
	color: #EE1818;
	border: 1px solid #ccc;
	padding: 10px;
	margin: 10px 0;
	box-shadow: 0px 1px 1px 0px #ddd;
	-moz-box-shadow: 0px 1px 1px 0px #ddd;
	-webkit-box-shadow: 0px 1px 1px 0px #ddd;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
} */

#status-message {
	visibility: hidden;
	height: 0px;
	display: inline-block
}

#password-quality-info {
	color:#fff; 
	padding: 3px 0px 3px 25px; 
	font-size: 12px;
}


::-webkit-input-placeholder { /* WebKit browsers */
    color: #ddd;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #ddd;
    opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #ddd;
    opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #ddd;
}

#loginpage-loginMail, #loginpage-forgotPassword, #loginpage-expired-invitation {
    background-color: #fff;
    width: 70%;   
    padding: 7% 0 0 15%;
}

#loginpage-expired-invitation {
	 padding: 3% 0 0 15%;
}

textarea#expired-invitation-text{
	width: 99%;
	height: 160px;
	margin-top: 10px;
}

#loginpage-loginMail input, #loginpage-forgotPassword input {
    border: none;
    border-bottom: 1px solid #79771f;
    width: 70%;
    max-width: 70%;
    margin-bottom: 20px;
    padding: 1px;
    padding-left: 10px;
    margin-top: 0;
    margin-left: 90px;
}

#loginpage-loginMail input:focus, #loginpage-forgotPassword input:focus {
	border-bottom: 3px solid #79771f;
	max-width: 80%;
	width: 80%; 
	transition-duration: .2s;
	transition-timing-function: cubic-bezier(.4,0,.2,1);
	transition-property: border-bottom, max-width, width;
}


#loginpage-loginMail input#username, #loginpage-forgotPassword input#username{
	margin-bottom: 10px;
}

#loginpage-loginMail .izquierda, #loginpage-forgotPassword .izquierda {
    min-width: 90px;
    color: #79771f;
}

#loginpage-loginMail label, #loginpage-forgotPassword label {
    color: #8e8c6d;
	//background-color: #b6a300;
	padding-left: 5px;
	position: absolute;
	/*margin-top: 3px;
	margin-left: 1px;*/
	min-width: 80px;
	line-height: 1.6em;
}

#loginpage-loginMail #loginpage-registration-mail-guide, #loginpage-forgotPassword #loginpage-forgotPassword-guide,
#expired-invitation-guide {
    margin-bottom: 50px;
    color: #51574a;
}

.forgot-password-class {
	height: auto !important;
	width: 700px !important;
	top: 75px !important;
}

#forgot-password, #registration-mail, #expired-invitation{
	height: 300px !important;
}

#link-send-registration-mail-help, #link-form-invitation-help {
	position: absolute;
	margin-left: 5px;
	margin-top: -1px;
	cursor: pointer;
	height: 25px;
}

p#copy {
	position: fixed;
	bottom: -9px;
	right: 0px;
	text-align: right;
	border-top: 1px solid #ccc;
	width: 100% !important;
	padding: 8px !important;	
	background-color: #fafafa;
}

p#copy a, p#copy span {
	color: #51574a;
	text-decoration: none;	
	font-family: OpenSans-Regular;
	font-size: 12px;
}

p#copy span{
	margin-left: 25px;
}

p#copy a:hover {
	border-bottom: 2px solid #FF5722;
}

p#free-register-text {
	display: none;
	float: right;
	margin-right: 5px;
	margin-top: -8px;
	color: #51574a;
	font-size: 12px;
}

p#free-register-text img {
	position: absolute;
	margin-left: -25px;
	margin-top: -3px;
	height: 20px;
}

#trama-wql-doc {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 2;
	background-color: #fafafa; 
	width: 100%; 
	text-align: left;
	border-bottom: 2px solid #dadada;
}

.toolbox-button {
	font-size: 14px;
	color: #51574a;
	padding: 0 20px;
	margin-bottom: -5px;
	text-decoration: none;
	font-family: OpenSans-Regular;
	line-height: 50px;
	background-color: rgba(0, 0, 0, 0);
	display: inline-block;
	overflow: hidden;
	cursor: pointer;
}

.toolbox-button:hover{
	background-color: #FF5722;
	color: #FFF;
}

#show-login {
	text-decoration: none;
	color: #FF5722;
	font-size: 20px;
	position: absolute; 
	right: 25px; 
	top: 17px; 
	height: 40px;
}

#show-login:after {
	font-family: mytramaportal;
	content: "\ea13";
}

#show-login span {
	float: left; 
	margin-top: -4px; 
	padding-right: 5px;
}

#close-login {
	text-decoration: none;
	color: #FF5722;
	font-size: 25px;
	position: absolute; 
	right: 50px; 
	margin-top: -20px;
}

#close-login:after {
	font-family: mytramaportal;
	content: "\ea0f";
}

#temp-mask {
	width:100%; 
	height:100%; 
	position: fixed; 
	background-color: transparent; 
	opacity: 0; 
	left:0; 
	margin-top: -5px; 
	display: none; 
	z-index: 2;
	background-image: url(images/bg6.jpg);
	background-size: cover;

	-webkit-transition: opacity 700ms linear;
    -moz-transition: opacity 700ms linear;
    -o-transition: opacity 700ms linear;
    -ms-transition: opacity 700ms linear;
    transition: opacity 700ms linear;
}

#temp-mask.visible {
	//background-color: #BF360C;
	opacity: 0.95;
	
	-webkit-transition: opacity 700ms linear;
    -moz-transition: opacity 700ms linear;
    -o-transition: opacity 700ms linear;
    -ms-transition: opacity 700ms linear;
    transition: opacity 700ms linear;
}

#general-helper-img-link {
	display: none;
}

/**** Algunas reglas responsivas para que sea una vista mas amigable en todo tipo de entornos  ****/
@media all and (max-width: 1000px) {
	#loginForm {
		width: 34%;
	}
	#login-picture {
		width: 63%;
		background-size: 115% 100%;
	}
	div#sampleMovie {
		right: 20px !important;
	}
	video#sampleMovie-video-tag {
		width: 250px !important;
	}
	/*
	#logo-trama-new img {
		height: 35px !important;
	}
	#logo-trama-new p {
		font-size: 15px !important;
	}
	*/
}

@media all and (max-width: 800px) {
	.toolbox-button {
		font-size: 12px;
	}
}

@media all and (max-width: 680px) {
	#login-picture {
		display: none;
	}
	#loginForm {
		width: 100%;
		margin-top: 60px;
		//background: url(images/bg-login-min.jpg) repeat-x;
		//background-size: initial;
	}
	#loginFormContent {
		margin-left: 30px;
	}
	#loginForm .text-down {
		margin-top: 20px;
	}
	#loginFormLogoMyTrama {
		display: inline-block !important;
	}
	.toolbox-button {
		font-size: 14px;
		display: block;
		line-height: 30px;
		width: 100px;
		margin-left: 15px;
	}
}

@media all and (max-height: 570px) and (orientation: portrait) {
	#loginForm #loginpage-guide {
		margin-bottom: 0px;
	}
	#loginForm .text-down {
		margin-top: 0px;
	}
	#loginForm .boton-login, #loginForm .boton-createAccount {
		margin-top: 0px;
	}
}

@media all and (max-height: 550px) and (orientation: landscape) {
	#loginForm #loginpage-guide {
		margin-bottom: 0;
	}	
	#loginFormContent {
		margin-top: -70px;
	}
	#loginForm .text-down {
		margin-top: 0;
	}
	#copy {
		display: none;
	}
}
/*
@media all and (max-height: 440px) and (orientation: portrait) {
	#copy {
		display: none;
	}
	.toolbox-button {
		font-size: 11px;
		line-height: 22px;
	}
	#loginForm {
		margin-top: 15px;
	}
}
*/