/*
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/

*/

html, body {border: 0; margin: 0; padding: 0;}

body {
  	font: 85%/0.9 arial, helvetica, sans-serif;
	background: #99A989 url(../images/sliding_login/bg.jpg) repeat 0 0;
  	line-height: 130%;
  	width: 100%;
  	min-width: 970px;
  	color: black;
}

#toppanel a {
	color: #0099CC;
	text-decoration: none;
}

#toppanel a:hover {
	color: #00CCFF;
}

#toppanel a img {
  border: none;/*remove border for linked images*/
}

#toppanel h1 {
	font-size: 1.6em;
	height: 20px;
	padding-top: 0;
}

#toppanel h2{
	font-size: 1.2em;
	height: 20px;
	padding-top: 0;
}

#toppanel .highlight {background-color:#FF9D9D;border-bottom:#F30 1px solid;border-top:#F30 1px solid;padding: 4px 10px}

/***** Main Layout ****/
#toppanel #container {
  	width: 100%;
  	height: 100%;
  	text-align: center;/* IE fix to center the page */
}

#toppanel #panel-content {
  	width: 740px;
  	margin: 0 auto;/* center the page in Firefox */
  	text-align: left;
	padding: 20px;
}

/***** 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%;}
#toppanel .clearfix {display: block;}

/* Panel Tab/button */
#toppanel .tab-wrap {
  width: 957px;
  margin:0 auto;
}

#toppanel .tab {
  background: url(../images/sliding_login/tab_b.png) repeat-x 0 0;
  height: 42px;
  /*position: relative;*/
  top: 0;
  z-index: 999;
}

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

#toppanel .tab ul.login li.left {
  background: url(../images/sliding_login/tab_l.png) no-repeat left 0;
  height: 42px;
  width: 30px;
  padding: 0;
  margin: 0;
  display: block;
  float: left;
}

#toppanel .tab ul.login li.right {
  background: url(../images/sliding_login/tab_r.png) no-repeat left 0;
  height: 42px;
  width: 30px;
  padding: 0;
  margin: 0;
  display: block;
  float: left;
}

#toppanel .tab ul.login li {
  text-align: left;
  padding: 0 6px;
  display: block;
  float: left;
  height: 42px;
  background: url(../images/sliding_login/tab_m.png) repeat-x 0 0;
}

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

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

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

#toppanel .tab a.open, .tab a.close {
  height: 20px;
  line-height: 20px !important;
  padding-left: 30px !important;
  cursor: pointer;
  display: block;
  width: 100px;
  position: relative;
  top: 11px;
}

#toppanel .tab a.open {background: url(../images/sliding_login/bt_open.png) no-repeat left 0;}
#toppanel .tab a.close {background: url(../images/sliding_login/bt_close.png) no-repeat left 0;}
#toppanel .tab a:hover.open {background: url(../images/sliding_login/bt_open.png) no-repeat left -19px;}
#toppanel .tab a:hover.close {background: url(../images/sliding_login/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;
}

#toppanel #panel {
  width: 100%;
  height: 300px;
  color: #999999;
  background: #272727;
  overflow: hidden;
  position: relative;
  z-index: 3;
  display: none;
}

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

#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: #15ADFF;
}

#toppanel #panel a:hover {
  color: white;
}

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

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

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

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

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

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

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

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

/* BUTTONS */
/* Login and Register buttons */
#toppanel #panel .panel-content input.bt_login,
#toppanel #panel .panel-content input.bt_register {
  display: block;
  float: left;
  clear: left;
  height: 24px;
  text-align: center;
  cursor: pointer;
  border: none;
  font-weight: bold;
  margin: 10px 0;
}

#toppanel #panel .panel-content input.bt_login {
  width: 74px;
  background: transparent url(../images/sliding_login/bt_login.png) no-repeat 0 0;
}

#toppanel #panel .panel-content input.bt_register {
  width: 94px;
  color: white;
  background: transparent url(../images/sliding_login/bt_register.png) no-repeat 0 0;
}

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