/*Erwann Ser 4/2013*/

.hidden { /*global css*/
	position: absolute;
	left: -7000px;
	overflow: hidden;
}

#chat_footer {
	position:fixed;
	width: 990px;
	z-index:100;
	bottom:0;
	padding: 0 3px;
	text-align:right;
	font-size: 0; /*prevent unwanted spaces between inline-block elements*/
	}
	#chat_footer .logo, #chat_footer .on, #chat_footer .off, #chat_footer .online, #chat_footer .dials  {
	position:relative;
	display:inline-block;
	text-align:left;
	vertical-align: top;
	font-size:13px; /*font-size initialisation*/
	font-size: .8rem; /*bis*/ 
	}
	#chat_footer .dials {font-size: 0} 
	
#chat_footer .online span:first-child, #chat_footer .logo, #chat_footer .online, #chat_footer .online > a {height:100%}
#chat_footer a, #chat_footer .dialHeader {
	color:#FFF;
	text-shadow: 0 1px 0 #144577;
	text-decoration:none;
	vertical-align:top
	}
#chat_footer .online .om  {text-shadow: 0 1px 0 #0b3764}
	#chat_footer .arrow {
		background:url(../images/chat_icons.png) no-repeat -235px 0;
		position:absolute;
		width: 23px;
		height: 23px;
		top: 7px;
		right: 25px;
		}
	#chat_footer .dials a:hover, #chat_footer > div, #scrollbar2 .dialHeader {
		background: -webkit-linear-gradient(#2263a3,#002e7d);
		background: -moz-linear-gradient(#2263a3,#002e7d);
		background: linear-gradient(#2263a3,#002e7d); 
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2263a3', endColorstr='#002e7d',GradientType=0);
		}


#chat_footer > div {
	display:inline-block;
	height: 32px;
	font-weight:bold;
	line-height: 33px;
	box-shadow: inset 0 1px 0 0 #84a9ce; 
	border: 1px solid #2567aa;
	border-radius: 4px 4px 0 0;
	}
#chat_footer .dials { border-right: 1px solid #4c83c3; border-left: 1px solid #0a3277
}
#chat_footer .logo {
	width: 28px;
	margin: 0 3px;
	padding-right: 4px;
	background:url(../images/chat_icons.png) no-repeat 0 4px; 
	}
#chat_footer .online {
	text-align:left;
	border-left: 1px solid #103371;
	width: 170px;
	padding-right:30px;
	}

#chat_footer .om span:first-child {
	display:inline-block;
	vertical-align:middle;
	width: 20px;
	margin: 5px 6px 0 8px;
	background:url(../images/chat_icons.png) -160px 0; 
	}
#chat_footer .online #scrollbar1, #chat_footer #scrollbar2  {
	position:absolute;
	width:99%;
	top:0;
	z-index:-1;
	background:#e1eeff;
	border: 1px solid #819eb9;
	border-radius: 4px 4px 0 0;
	box-shadow: inset 0 0 0 1px #FFF, 0 0 4px #819eb9; 
	-webkit-transition: margin 0.2s ease;
	-moz-transition: margin 0.2s ease;
	-o-transition: margin 0.2s ease;
	transition: margin 0.2s ease;

	}
#chat_footer #scrollbar2  {
	left: 0;
	width:97%;
	margin-top: -420px;
	border: 1px solid #367cc5;
	border-radius: 5px 5px 0 0;
	background:#f7fafc;
	padding-left: 3%;
	font: 12px/1.5 Tahoma, Geneva, sans-serif;
	}
#chat_footer .online:hover #scrollbar1  {margin-top: -378px;}
#chat_footer .dials > div:hover #scrollbar2 {margin-top: -420px;}
	
#chat_footer .online li:first-child a  {border-radius: 4px 4px 0 0}
#chat_footer .online li:last-child a  { padding-bottom: 5px}
#chat_footer .online ul a  {
	display:block; 
	border-top: 1px solid #FFF;
	border-bottom: 1px solid #c1d3ea;
	line-height: 36px;
	box-shadow: inset 0 -2px 15px 0 #d7e7f8;
	height: 40px;
	padding-left: 6px;
	color:#171717;
	text-shadow: 0 1px 0 #FFF;
	font-weight:normal;
	}
#chat_footer .online ul a:hover  {
	background:#2c79cb; 
	color: #fff; 
	text-shadow: 0 1px 0 #012d68;
	box-shadow: inset 0 0 10px 0 #2260a1;
	border-top-color: #d6e5f5; 
	border-bottom-color: #145090; 
	}
#chat_footer .online ul a span {vertical-align:middle}
#chat_footer .online a img {
	display: inline-block;
	vertical-align:middle;
	border-radius:3px;
	overflow:hidden;
	border: 1px solid #FFF;
	margin-right: 14px;
	}
#chat_footer .online ul a:hover img {border-color: #a9c5e4}

#chat_footer .online > a {display:inline-block; padding-right:10px}


#chat_footer .bull {
	display:inline-block;
	position:relative;
	margin: -10px 3px 0 0;
	font-size: .9em;
	padding-left: 10px;
	height:28px;
	width: 18px;
	background:url(../images/chat_icons.png); 
	}
	
	#chat_footer .dials > div {
		width: 288px;
		border-left: 1px solid #1e498a;
		border-right: 1px solid #4c83c3;
		}
#chat_footer .dials > div:first-child {border-left:0}
#chat_footer .dials > div:last-child {border-right:0}
	
	
	
	@-webkit-keyframes "jump" {0% {top:0;} 100% {top: -3px;}}
	@-moz-keyframes jump {0% {top:0;} 100% {top: -3px;}}
	@-o-keyframes "jump" {0% {top:0;} 100% {top: -3px;}}
	@-ms-keyframes "jump" {0% {top:0;} 100% {top: -3px;}}
	@keyframes "jump" {0% {top:0;} 100% {top: -3px;}}

	#chat_footer .on .bull {
		background-position: -84px 7px; 
		text-shadow: 0 1px 0 #274708;
		}
	#chat_footer .on.newMsg:hover .bull {
		-webkit-animation: jump 0.2s infinite alternate;
		-moz-animation: jump 0.2s infinite alternate;
		-ms-animation: jump 0.2s infinite alternate;
		-o-animation: jump 0.2s infinite alternate;
		animation: jump 0.2s infinite alternate;
		}
	#chat_footer .off .bull {background-position: -122px 7px; text-shadow: 0 1px 0 #222}
	#chat_footer .dials a {
		padding: 0 12px; 
		display:block;
		box-shadow: inset 0 1px 0 0 #aacaea; 
		background: -webkit-linear-gradient(#4385c2,#104a90);
		background: -moz-linear-gradient(#4385c2,#104a90);
		background: linear-gradient(#4385c2,#104a90); 
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4385c2', endColorstr='#104a90',GradientType=0);
		}
	#chat_footer .dials a:hover {
		padding: 0 12px; 
		display:inline-block;
		box-shadow: inset 0 1px 0 0 #aacaea; 
		}
	#chat_footer .close {
		position:absolute;
		right: -10px;
		top: -12px;
		background:#000;
		height: 22px;
		width: 22px;
		background:url(../images/chat_icons.png) -190px 0 
		}
		#chat_footer .close:hover {background-position: -212px 0}
		
.dialHeader {
	margin-left: -3%; 
	padding: .5em 10px; 
	letter-spacing: 1px;
	border-radius: 4px 4px 0 0
	}
		
