/*
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 *****/
.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;}

/* Panel Tab/button */
.tab {
	height: 40px;
	position: relative;
    top: 0;
    z-index: 100;
}

.tab ul.login {
	display: block;
	position: relative;
  	float: right;
  	clear: right;
  	height: 40px;
	width: auto;
  	font-weight: normal;
	line-height:40px;
	margin: 0;
	right: 0;
  	color:#FFFFFF;
  	font-size: 14px;
	text-align: left;
	font-family:Arial, Helvetica, sans-serif;
}

.tab ul.login li.left {
  	background: url(http://www.gobalancediet.com/images/tab_l.gif) no-repeat left 0;
  	height: 40px;
	width: 15px;
	padding: 0;
	margin: 0;
  	display: block;
	float: left;
}

.tab ul.login li.right {
  	background: url(http://www.gobalancediet.com/images/tab_r.gif) no-repeat left 0;
  	height: 40px;
	width: 15px;
	padding: 0;
	margin: 0;
  	display: block;
	float: left;
}

.tab ul.login li {
 	text-align: left;
	display: block;
	float: left;
	height: 40px;
  	background: url(http://www.gobalancediet.com/images/tab_m.gif) repeat-x 0 0;
}

.tab ul.login li a {
	color: #FFFFFF;
	width:121px;
}

.tab ul.login li a:hover {
	color: #FFFFFF;
	text-decoration:none;
}

.tab .sep {color:#945c9b}

.tab a.open, .tab a.close {
	height: 20px;
	line-height: 20px !important;
	cursor: pointer;
	display: block;
	width: 40px;
	position: relative;
	top: 8px;
}

.tab a.open {background: url(http://www.gobalancediet.com/images/bt_open.gif) no-repeat right 0;}
.tab a.close {background: url(http://www.gobalancediet.com/images/bt_close.gif) no-repeat right 0;}
.tab a:hover.open {background: url(http://www.gobalancediet.com/images/bt_open.gif) no-repeat right -19px;}
.tab a:hover.close {background: url(http://www.gobalancediet.com/images/bt_close.gif) no-repeat right -19px;}

/* sliding panel */
#toppanel {
    position: absolute;   /*Panel will overlap  content */
    /*position: relative;*/   /*Panel will "push" the content down */
    top: 0;
    width:506px;
    text-align: center;
    margin:0;
	padding:0 0 0 456px;
} 

#panel {
	width: 476px;
	color: #999999;
	background: #404041;
	overflow: hidden;
	position: relative;
	z-index: 101;
	display: none;
	padding:0 15px 15px 15px;
	font-family:Arial, Helvetica, sans-serif;
}

.panel_header {
	font-size: 18px;
	line-height:20px;
	padding: 0 0 10px 0;
	margin: 0;
	color: white;
	font-weight:bold;
}

#panel h2{
	font-size: 1.2em;
	padding: 10px 0 5px;
	margin: 0;
	color: white;
	font-family:Arial, Helvetica, sans-serif;
}

.panel_copy {
	font-size: 14px;
	line-height: 16px;
	padding: 0 0 2px 0;
	color:#FFFFFF;
}

#panel a {
	text-decoration: none;
	color: #15ADFF;
}

#panel a:hover {
	color: white;
}

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

#panel .content {
	width: 476px;
	margin: 0 auto;
	padding-top: 15px;
	text-align: left;
}

#panel .content .left {
	width: 230px;
	float: left;
	border-right: 1px solid #333;
	
}

#panel .content .right {
	width: 230px;
	float:left;
	padding:0 0 0 15px;
}
#panel img {
	margin:3px 0 0 0;
}



/* BUTTONS */
/* Login and Register buttons */
#panel .content input.bt_login,
#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;
}

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

#panel .content input.bt_register {
	width: 94px;
	color: white;
	background: transparent url(http://www.gobalancediet.com/images/bt_register.gif) no-repeat 0 0;
}

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