/*

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; float:right;}



/* Panel Tab/button */

.tab {

  	/*background: url(../images/tab_b.png) repeat-x 0 0;*/

	height: 25px;

	position: relative;

    top: 0;

	margin: 0;

    z-index: 999;

	background-image:url(../images/loginbox/loginbox_tab.gif);

	background-position:right 0;

	background-repeat:no-repeat;

	overflow:hidden;

}



.tab .callPanel {
	font-family:Tahoma,"MS Sans Serif",Verdana;
	font-size:16px;
	display: block;
	position: relative;
	float: right;
	top:0px;
	margin-right:100px;
	clear: right;
	width: 160px;
	font-weight: bold;
	margin: 0;
	right: 0px;
	font-size: 11px;

}
#opentab  {
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: none;
}
#opentab a {
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: none;
}




.tab .callPanel a {

	color:#FFFFFF;

}

.tab .callPanel input.bt_login,

.tab .callPanel input.bt_register,

.tab .callPanel input.bt_close {
	display: block;
	float: left;
	clear: left;
	text-align: center;
	cursor: pointer;
	border: none;
	font-weight: bold;
	top:0;
	left:0px;

}



.tab .callPanel input.bt_login {
	width: 40px;
	height: 25px;
	background: transparent url(../images/loginbox/loginbox_tab_left.gif);
	margin: 0px 0px 0px 10px;
	padding: 0px;

}

.tab .callPanel input.bt_register {

	width: 73px;

	height: 25px;

	background: transparent url(../images/loginbox/loginbox_tab_right.gif) no-repeat 0 0;

}

.tab .callPanel input.bt_close {
	width: 160px;
	height: 25px;
	display:none;
	background: transparent url(../images/loginbox/loginbox_tab_close.gif) no-repeat center top;
}

/*.tab ul.login li.left {

  	background: url(../images/tab_l.png) no-repeat left 0;

  	height: 42px;

	width: 30px;

	padding: 0;

	margin: 0;

  	display: block;

	margin-left:-38px;

	float: left;

}*/



.tab ul.login li {

 	text-align: left;

  	padding: 0 3px;

	margin-left:-8px;

	display: block;

	float: right;

	height: 25px;

	background-color:#FFCC99;

	/*Welcome Guest && Login background*/

  	/*background: url(../images/tab_m.png) repeat-x 0 0;*/

}



.tab ul.login li a {

	color: #15ADFF;

}



.tab ul.login li a:hover {

	color: white;

}



.tab .sep {color:#414141}



.tab a.open, .tab a.close {

	height: 20px;

	line-height: 20px !important;

	padding-left: 30px !important;

	cursor: pointer;

	display: block;

	width: 80px;

	position: relative;

	top: 11px;

}



/*.tab a.open {background: url(../images/bt_open.png) no-repeat left 0;}*/

/*.tab a.close {background: url(../images/bt_close.png) no-repeat left 0;}

.tab a:hover.open {background: url(../images/bt_open.png) no-repeat left -19px;}

.tab 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: 160px;
	z-index: 999;
	text-align: center;
	margin-left: 355px;
	left: 50%;

}



#panel {
	height: 155px;
	color:#333333;
	background-image:url(../images/loginbox/loginbox_panel.gif);
	overflow: hidden;
	position: relative;
	z-index: 3;
	display: none;
	background-position: center top;
	background-repeat: no-repeat;
	background-color: #F9C4A6;

}



#panel h1 {

	font-size: 1.6em;

	padding: 3px 0 3px;

	margin: 0;

}



#panel h2{

	font-size: 1.2em;

	padding: 10px 0 5px;

	margin: 0;

	color: white;

}



#panel p {

	margin: 5px 0;

	padding: 0;

}



#panel a {

	text-decoration: none;

	color: #15ADFF;

}



#panel a:hover {

	color: white;

}



#panel a-lost-pwd {

	display: block;

	float: left;

}



#panel .content {

	margin: 0 auto;

	padding-top: 15px;

	text-align: left;

	font-size: 0.85em;

}



#panel .content .bgLeft {

	display: block;

	float: right;

  	clear: right;

	position:relative;

	width: 145px;

	padding: 0 0 0 0;

}



#panel .content .bgLeft .left {

	display: block;

	float: right;

  	clear: right;

	position:relative;

	width: 145px;

	padding: 0 0px;

}



#panel .content .bgLeft .right {

	border-right: 1px solid #333;

}



#panel .content .bgLeft .left form {

	/*margin: 0 0 10px 0;*/

	width: 145px;

}



#panel .content .bgLeft label {

	float: left;

	padding-top: 4px;

	clear: both;

	width: 145px;

	display: block;

}



#panel .content .bgLeft input.field {

	border: 1px #1A1A1A solid;

	background:#FFFFFF;

	margin-right: 5px;

	margin-top: 4px;

	width: 100px;

	color:#000000;

	height: 20px;

}



#panel .content .bgLeft input:focus.field {

	background: #545454;

}



/* BUTTONS */

/* Login and Register buttons */

#panel .content .bgLeft input.bt_login,

#panel .content .bgLeft input.bt_register {

	display: block;

	float: left;

	clear: left;

	height: 24px;

	text-align: center;

	cursor: pointer;

	border: none;

	font-weight: bold;

	margin: 5px 0;

}



#panel .content .bgLeft input.bt_login {

	width: 47px;

	background: transparent url(../images/loginbox/loginbox_login.gif);

}



#panel .content .bgLeft input.bt_register {

	width: 59px;

	color: white;

	background: transparent url(../images/loginbox/loginbox_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;

}



#panel .groupLink {

	display:block;

	width:90px;

	float:right;

	padding: 5px 5px 0;

	font-size: 0.95em;

	text-decoration: underline;

}



#panel .groupLink a {

	color:#000000;

}
