/***** 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 */
#panel-container {
	top:0; 
	right:0; 
	width:100%;
}

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

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

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

.tab 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 ul.login li {
 	text-align: center;
  	padding: 0 6px;
	display: block;
	float: left;
	height: 42px;
  	background: url(../images/tab_m.png) repeat-x 0 0;
}

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

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

.tab .sep {color:#414141}

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

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

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

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

#panel h2{
	font-size: 1.2em;
	padding: 12px 0 5px;
	margin: 0;
	color: #333;
}

#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 {
	width: 960px;
	margin: 0 auto;
	padding-top: 15px;
	text-align: left;
	font-size: 0.85em;
}

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

#panel .content .right {
	border-right: transparent;
}

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

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

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

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

/* 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(../images/bt_login.png) no-repeat 0 0;
}

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

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

.specialbg1{background:transparent url(../images/div1.gif) no-repeat 0 0;}
.specialbg2{background:transparent url(../images/div2.gif) no-repeat 0 0;}
.specialbg3{background:transparent url(../images/div3.gif) no-repeat 0 0;}

/* Responsive adjustments for top profile panel */
@media (max-width: 1199.98px) {
	#panel {
		height: auto !important;
		min-height: unset !important;
	}
	#panel .content {
		width: 100% !important;
		max-width: 100% !important;
		padding: 15px 20px !important;
		box-sizing: border-box !important;
	}
	#panel .content .left {
		width: 100% !important;
		float: none !important;
		height: auto !important;
		border-right: none !important;
		border-bottom: 1px solid #222 !important;
		padding: 15px 0 !important;
		box-sizing: border-box !important;
		background: none !important; /* hide background divider image on mobile */
	}
	#panel .content .left:last-child {
		border-bottom: none !important;
	}
	#panel .content form {
		margin-bottom: 0 !important;
	}
	#panel .content label {
		width: 100% !important;
	}
	#panel .lost-pwd {
		float: none !important;
		padding-left: 0 !important;
	}
}

/* Stacking tables on mobile to prevent horizontal clipping */
@media (max-width: 767.98px) {
	#panel table, 
	#panel tbody, 
	#panel tr, 
	#panel th, 
	#panel td {
		display: block !important;
		width: 100% !important;
		text-align: left !important;
		box-sizing: border-box !important;
	}
	#panel tr {
		margin-bottom: 0.75rem !important;
	}
	#panel th {
		padding-bottom: 0.2rem !important;
		color: #fff !important;
	}
	#panel th[colspan="3"] {
		text-align: right !important;
		padding-top: 0.5rem !important;
	}
	#panel th + th {
		display: none !important; /* Hide colon column */
	}
	#panel .inputstyle,
	#panel input[type="text"],
	#panel input[type="password"],
	#panel select {
		width: 100% !important;
		box-sizing: border-box !important;
		height: 28px !important; /* give it nice height */
		font-size: 12px !important;
		background-color: #222 !important;
		border: 1px solid #444 !important;
		color: #fff !important;
		border-radius: 4px !important;
		padding: 2px 6px !important;
	}
}

/* Modern UI overrides for buttons inside the slide-down profile panel */
#panel .btn {
	background: #f1c704 !important;
	color: #0f172a !important;
	border: none !important;
	border-radius: 6px !important;
	padding: 6px 16px !important;
	font-family: inherit !important;
	font-size: 11px !important;
	font-weight: bold !important;
	text-transform: uppercase !important;
	letter-spacing: 0.05em !important;
	cursor: pointer !important;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
	box-shadow: 0 4px 10px rgba(241, 199, 4, 0.2) !important;
	height: auto !important;
	width: auto !important;
	display: inline-block !important;
}

#panel .btn:hover {
	background: #fada35 !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 6px 14px rgba(241, 199, 4, 0.3) !important;
}

#panel .btn:active {
	transform: scale(0.96) !important;
}

#panel .btn-panel-logout {
	background: rgba(239, 68, 68, 0.15) !important;
	border: 1px solid rgba(239, 68, 68, 0.3) !important;
	color: #f87171 !important;
	box-shadow: 0 4px 10px rgba(239, 68, 68, 0.05) !important;
}

#panel .btn-panel-logout:hover {
	background: rgba(239, 68, 68, 0.25) !important;
	border-color: rgba(239, 68, 68, 0.6) !important;
	color: #ffffff !important;
	box-shadow: 0 6px 14px rgba(239, 68, 68, 0.2) !important;
}