/*
Name: Sliding Login Panel with jQuery 1.3.2
Author: Jeremie Tisseau
Author URI: http://web-kreation.com/
Date: March 26, 2009
Version: 1.0

	Copyright 2009 Jeremie Tisseau
	"Sliding Login Panel with jQuery 1.3.2" is distributed under the GNU General Public License version 3:
	http://www.gnu.org/licenses/gpl-3.0.html
*/

/***** clearfix *****/
#toppanel .clear {clear: both;height: 0;line-height: 0;}
#toppanel .clearfix:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}
#toppanel .clearfix {display: inline-block;}
/* Hides from IE-mac \*/
#toppanel * html .clearfix {height: 1%;}
#toppanel .clearfix {display: block;}
/* End hide from IE-mac */
#toppanel .clearfix {height: 1%;}
.clearfix {display: block;}
#toppanel 
/* Panel Tab/button */
#toppanel .tab {
    /*background: url(../images/tab_b.png) repeat-x 0 0;*/
    height: 0px;
    position: relative;
    top: 0;
    z-index: 1001;
}

#toppanel .tab ul.login {
    display: block;
    position: relative;
    right: 12%;
    float: right;
    height: 0px;
    width: auto;
    font-weight: bold;
    line-height: 20px;
    margin: 0 auto;
    color: white;
    font-size: 12px;
    text-align: center;
    list-style: none;
}

#toppanel .tab ul.login li {
    text-align: left;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 16px;
    padding-right: 20px;
    margin-left: 4px;
    display: block;
    float: left;
    height: 35px;
    background: rgba(120,153,210,0.95);
    border-radius: 0px 0px 10px 10px;
}

#toppanel .tab ul.login li a {
    color: white;
}

#toppanel .tab ul.login li a:hover {
    color: white;
}

#toppanel .tab .sep {color:#414141}

#toppanel .tab a.open, .tab a.cerrar-panel-login {
    height: 20px;
    padding-left: 30px !important;
    cursor: pointer;
    display: block;
    position: relative;
    top: 6px;
    width: 80px;
}

#toppanel .tab a.cerrar-panel-login {background: url(img/bt_close.png) no-repeat left 0;}
#toppanel .tab a:hover.cerrar-panel-login {background: url(img/bt_close.png) no-repeat left -19px; text-decoration: underline;}

/* sliding panel */
#toppanel {
    position: absolute;   /*Panel will overlap  content */
    /*position: relative;*/   /*Panel will "push" the content down */
    top: 0;
    width: 100%;
    z-index: 999;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#toppanel #panel {
    width: 100%;
    color: #fff;
    overflow: hidden;
    position: relative;
    z-index: 3;
    display: none;
    background: rgba(120,153,210,0.95);
}

#toppanel #panel label{
    font-weight: bold;
    font-size: 12px;
}

#toppanel #panel span.titulo-panel-usuarios {
    font-size: 1.6em;
    padding: 5px 0 10px;
    margin: 0;
    color: white;
    font-weight: bold;
}

#toppanel #panel h2{
    font-size: 1.2em;
    padding: 10px 0 5px;
    margin: 0;
    color: white;
}

#toppanel #panel p {
    margin: 5px 0;
    padding: 0;
}

#toppanel #panel a {
    text-decoration: none;
    color: #0962c0;
}

#toppanel #panel a:hover {
    text-decoration: underline;
}

#toppanel #panel a-lost-pwd {
    display: block;
    float: left;
}

#toppanel #panel .content {
    width: 654px;
    margin: 0 auto;
    padding-top: 15px;
    text-align: left;
    font-size: 0.85em;
    padding-bottom: 15px;
}

#toppanel #panel .content .left {
    width: 280px;
    float: left;
    padding: 0 15px;
    /*border-left: 1px solid #333;*/
}

#toppanel #panel .content .right {
    /*border-right: 1px solid #333;*/
}

#toppanel #panel .content .borde-izq{
    border-left: 1px solid white;
}

#toppanel #panel .content .borde-dcha{
    border-right: 1px solid white;
}

#toppanel #panel .content .registro{
    padding-left: 30px;
}

#toppanel #panel .content form {
    margin: 0 0 10px 0;
}

#toppanel #panel .content label {
    float: left;
    padding-top: 8px;
    clear: both;
    width: 290px;
    display: block;
}

#toppanel #panel .content input.field {
    border: 1px #1A1A1A solid;
    /* background: #414141; */
    margin-right: 5px;
    margin-top: 4px;
    width: 200px;
    color: #414141;
    height: 16px;
}

#toppanel #panel .content input:focus.field {
	/*background: #545454;*/
}

/* BUTTONS */
/* Login and Register buttons */
#toppanel #panel .content input.bt_login,
#toppanel #panel .content input.bt_register {
    display: block;
    float: left;
    clear: left;
    height: 34px;
    text-align: center;
    cursor: pointer;
    border: medium none;
    font-weight: bold;
    margin: 10px 0;
    background: url(img/bt.jpg);
    color: #fff;
}

#toppanel #panel .content input.bt_login {
    width: 74px;
    font-size: 13px;
}

#toppanel #panel .content input.bt_register {
    width: 94px;
    color: white;
    font-size: 13px;
}

#toppanel #panel .lost-pwd {
    display: block;
    float:left;
    clear: right;
    padding: 15px 5px 0;
    font-size: 0.95em;
    text-decoration: underline;
}

#toppanel #panel .requerido {
    color: red;
}
#toppanel #panel .req {
    color: #f00
}
#toppanel #panel .terminos-de-uso{
    font-size: 13px;
}
#toppanel #panel .terminos-de-uso a{
    color: white;
    text-decoration: underline;
}
#toppanel #panel .terminos-de-uso a:hover{
    text-decoration: none;
}

#toppanel #contenedor-acceso-usuarios{
    margin-left: 16px;
}

/* Damos estilo al login que sacamos con la función de Wordpress */
#toppanel #loginform input[type=text], #toppanel #loginform input[type=password]{
    border-radius: 4px;
    color: #555555;
    display: inline-block;
    font-size: 14px;
    height: 20px;
    line-height: 20px;
    margin-bottom: 10px;
    padding: 4px 6px;
    vertical-align: middle;
    width: 300px;
}

#toppanel #wp-submit{
    display: inline-block;
    float: none;
    clear: left;
    height: 34px;
    text-align: center;
    cursor: pointer;
    border: none;
    font-weight: bold;
    margin: 10px 0;
    background: url(img/bt.jpg);
    color: white;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 5px;
}

/* Estilo para el botón de refrescar el captcha */
#toppanel .refrescar-captcha{
    cursor: pointer;
}
/* Centramos los paneles de login y registro, ya que Bootstrap los flota a la izquierda */
#toppanel .panel-centrado{
    float: none;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
    vertical-align: top;
    margin-top: 10px;
    text-align: left;
}

#toppanel #formulario-registro  input[type="text"], #toppanel #formulario-registro input[type="password"]{
    border-radius: 4px;
    color: #555555;
    display: inline-block;
    font-size: 14px;
    height: 20px;
    line-height: 20px;
    margin-bottom: 10px;
    padding: 4px 6px;
    vertical-align: middle;
    width: 350px;
}

#toppanel #formulario-registro input[type="submit"]{
    height: 34px;
    text-align: center;
    cursor: pointer;
    border: none;
    font-weight: bold;
    margin: 0;
    background: url(img/bt.jpg);
    color: white;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 5px;
}

/* Nombre y Apellidos en la misma línea */
#toppanel .contenedor-nombre-y-apellidos input{
    width: 90% !important;
}
#toppanel .contenedor-nombre-y-apellidos .contenedor-nombre, #toppanel .contenedor-nombre-y-apellidos .contenedor-apellidos{
    display: inline-block;
}

/* Animación botón de Creando cuenta... */
.glyphicon-refresh-animate {
    animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}
@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}
@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}
@font-face {
  font-family: 'Glyphicons Halflings';
  src: url('../fonts/glyphicons-halflings-regular.eot');
  src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg');
}
.glyphicon {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  -webkit-font-smoothing: antialiased;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -moz-osx-font-smoothing: grayscale;
}
.glyphicon-refresh:before {
  content: "\e031";
}
#toppanel .creando-cuenta button{
    font-size: 15px;
    font-weight: bold;
    font-family: 'Arial';
    padding: 8px 16px;
}
#toppanel .creando-cuenta button .glyphicon{
    margin-right: 3px;
    font-size: 16px;
}

/* Arreglo para centrar los formularios en diferentes resoluciones */
@media (min-width: 1130px) {
    #toppanel #formulario-login{
        margin-left: 100px;
    }    
}

/* Hacemos responsive el panel de acceso a usuarios externos de Tribuna */
@media (max-width: 767px) {
    #toppanel .panel-centrado{
        text-align: center;
    }
    #toppanel .panel-centrado input[type="checkbox"]{
        float: none;
    }
}
/* .fin responsive */

/* Ponemos color blanco a los enlaces */
#toppanel #formulario-login a{
    color: white;
    text-decoration: underline;
    font-size: 11px;
    display: inline-block;
    margin-bottom: 10px;
}
#toppanel #formulario-login a:hover{
    text-decoration: none;
}