/*
Name: Sliding Login Panel with jQuery 1.3.2
Author: Jeremie Tisseau
Author URI: http://web-kreation.com/
Script URI: http://web-kreation.com/index.php/tutorials/nice-clean-sliding-login-panel-built-with-jquery/
Date: March 26, 2009
Version: 1.0

	The CSS, XHTML and design is released under Creative Common License 3.0:
	http://creativecommons.org/licenses/by-sa/3.0/

*/ 

/***** clearfix *****/
.clear {clear: both;height: 0;line-height: 0;}

.clearfix:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
.clearfix {height: 1%;}
.clearfix {display: block;}

/* draw black line across page connect to tab */
.tab_login {
  	background: url(../images/tab_b.png) repeat-x 0 0;
	height: 40px;
	position: relative;
        top: 0;
        z-index: -100;
}

/* tab_login login block */
.tab_login ul.login {
	display: block;
	position: relative;
  	float: right;
  	clear: right;
  	height: 42px;
	width: auto;
  	font-weight: bold;
	line-height: 42px;
	margin: 0;
        top: 0px;
	right: 50px;
  	color: white;
  	font-size: 12px;
	text-align: center;
}

.tab_login ul.login li.left {
  	background: url(../images/tab_l.png) no-repeat left 0;
  	height: 42px;
	width: 30px;
	padding: 0;
	margin: 0;
  	display: block;
	float: left;
}

.tab_login ul.login li.right {
  	background: url(../images/tab_r.png) no-repeat left 0;
  	height: 42px;
	width: 30px;
	padding: 0;
	margin: 0;
  	display: block;
	float: left;
}

.tab_login ul.login li {
 	text-align: left;
  	padding: 0 6px;
	display: block;
	float: left;
	height: 42px;
  	background: url(../images/tab_m.png) repeat-x 0 0;
}

.tab_login ul.login li a {
	color: #15ADFF;
}

.tab_login ul.login li a:hover {
	color: white;
}

.tab_login .sep {color:#414141}

/* common open and close styling */
.tab_login a.open, .tab_login a.close {
	height: 20px;
	line-height: 20px !important;
	padding-left: 30px !important;
	cursor: pointer;
	display: block;
	width: 120px;
	position: relative;
	top: 11px;
}

/* login open button image */
.tab_login a.open {background: url(../images/bt_open.png) no-repeat left 0;}
.tab_login a:hover.open {background: url(../images/bt_open.png) no-repeat left -19px;}

/* login close button image */
.tab_login a.close {background: url(../images/bt_close.png) no-repeat left 0;}
.tab_login a:hover.close {background: url(../images/bt_close.png) no-repeat left -19px;}

/* 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;
}

/* slide down panel */
#panel {
    width:100%;
    font-size: 2.5vw;;
    padding-bottom:10px;
    background: black;
    overflow: hidden;
    position: relative;
    z-index: 3;
    display: none;
}

#panel h1 {
	font-size: 1.6em;
	padding: 5px 0 10px;
	margin: 0;
	color: white;
}

/*   slide panel LOGIN and ACCESS REGISTRATION labels */
#panel h2{
	font-size: 1.2em;
	padding: 10px 0 5px;
	margin: 0;
	color: green;
	font-family:Arial, Helvetica, sans-serif;
	font-weight:bold;
}

/* panel paragraph */
#panel p {
	margin: 5px 0;
	color: red;
	padding: 0;
}

/* panel link */
#panel a {
	text-decoration: none;
	color: #15ADFF;
}
#panel a:hover {
	color: white;
}

/* lost password link */
#panel a-lost-pwd {
	display: block;
	float: left;
}

/* common panel content */
#panel .content {
	padding-top: 15px;
	font-size: 3vw;
}

/* common panel left (login) */
#panel .content .left {
    border: 2px solid yellow;
    width:40%;
    display:block;
}

/* common panel left (registration) */
#panel .content .right {
    border: 2px solid yellow;
    width:40%;
    display:block;
}

/* common form */
#panel .content form {
	margin: auto;
}

/* common login and access registration input labels */
#panel .content label {
	width: 40%;
	font-size:2.0vw;
	display: inline-block;
	margin:auto;
	color: white;
}

/* common login and registration input fields */
#panel .content .form input.field {
	width: 35%;          /* input field width */
	max-width:350px;
	font-size: 2.0vw;
	height: 3.0vw;
	border: 1px #1A1A1A solid;
	margin:auto;
	color: black;        /* font color */
	background: white;  /* input field background color */
	display:inline-block;
}

#panel .content input:focus.field {
    background: rgb(200,200,200);
}

/* BUTTONS */

/* common Login and Register buttons */
#panel .content .form input.bt_login,
#panel .content .form input.bt_register,
#panel .content .form input.bt_developer {
        font-size:2.5vw;
        display: block;
	text-align: center;
	cursor: pointer;
	border: none;
	color: white;
	font-weight: bold;
	padding: auto;
	margin: auto;
}


/* login button */
#panel .content input.bt_login {
  background: #344dd9;
  background-image: -webkit-linear-gradient(top, #344dd9, #202426);
  background-image: -moz-linear-gradient(top, #344dd9, #202426);
  background-image: -ms-linear-gradient(top, #344dd9, #202426);
  background-image: -o-linear-gradient(top, #344dd9, #202426);
  background-image: linear-gradient(to bottom, #344dd9, #202426);
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;
  font-family: Arial;
  color: #ffffff;
  font-size: 14px;
  padding: 4px 20px 4px 20px;
  text-decoration: none;
}
#panel .content input.bt_login:hover {
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3c7ffc, #2e383d);
  background-image: -moz-linear-gradient(top, #3c7ffc, #2e383d);
  background-image: -ms-linear-gradient(top, #3c7ffc, #2e383d);
  background-image: -o-linear-gradient(top, #3c7ffc, #2e383d);
  background-image: linear-gradient(to bottom, #3c7ffc, #2e383d);
  text-decoration: none;
}

/* registration button */
#panel .content input.bt_register {
  background: #344dd9;
  background-image: -webkit-linear-gradient(top, #344dd9, #202426);
  background-image: -moz-linear-gradient(top, #344dd9, #202426);
  background-image: -ms-linear-gradient(top, #344dd9, #202426);
  background-image: -o-linear-gradient(top, #344dd9, #202426);
  background-image: linear-gradient(to bottom, #344dd9, #202426);
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;
  font-family: Arial;
  color: #ffffff;
  font-size: 14px;
  padding: 4px 20px 4px 20px;
  text-decoration: none;
}
#panel .content input.bt_register:hover {
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3c7ffc, #2e383d);
  background-image: -moz-linear-gradient(top, #3c7ffc, #2e383d);
  background-image: -ms-linear-gradient(top, #3c7ffc, #2e383d);
  background-image: -o-linear-gradient(top, #3c7ffc, #2e383d);
  background-image: linear-gradient(to bottom, #3c7ffc, #2e383d);
  text-decoration: none;
}

/* developer */
#panel .content input.bt_developer {
  background: #344dd9;
  background-image: -webkit-linear-gradient(top, #344dd9, #202426);
  background-image: -moz-linear-gradient(top, #344dd9, #202426);
  background-image: -ms-linear-gradient(top, #344dd9, #202426);
  background-image: -o-linear-gradient(top, #344dd9, #202426);
  background-image: linear-gradient(to bottom, #344dd9, #202426);
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;
  font-family: Arial;
  color: #ffffff;
  font-size: 14px;
  padding: 4px 20px 4px 20px;
  text-decoration: none;
}
#panel .content input.bt_developer:hover {
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3c7ffc, #2e383d);
  background-image: -moz-linear-gradient(top, #3c7ffc, #2e383d);
  background-image: -ms-linear-gradient(top, #3c7ffc, #2e383d);
  background-image: -o-linear-gradient(top, #3c7ffc, #2e383d);
  background-image: linear-gradient(to bottom, #3c7ffc, #2e383d);
  text-decoration: none;
}

/* lost password */
#panel .lost-pwd {
	display: block;
	float:left;
	clear: right;
	padding: 15px 5px 0;
	font-size: 0.95em;
	text-decoration: underline;
}

