/* @override http://localhost/wel/html/style.css */

html {
	height: 100%;	
}

body, html, div, p, h1, h2, h3, h4, h5, ul, ol, li, span, form, input, fieldset, a {
	margin: 0;
	padding: 0;
}
body {
	background: #0876b2;
	font-family: "Lucida grande", Helvetica, Arial, Verdana;
}
div, p {
	font-size: 14px;
	line-height: 150%;
}
img {
	border: 0;
}
a {
	outline: none;
}

#whistenligne {
	min-width: 780px;
}

#header {
	height: 91px;
	background: url('src/header.png') repeat-x;
	overflow: hidden;
}

#header #logo {
	float: left;
	display: block;
	width: 295px;
	height: 50px;
	background: url('src/logo.png') no-repeat;
	text-decoration: none;
	margin: 21px 0 0 -10px;
}
#header #play {
	display: block;
	width: 108px;
	height: 42px;
	background: url('src/play.png') no-repeat;
}
#header #sinscrire {
	display: block;
	width: 197px;
	height: 42px;
	background: url('src/button/button_register.png') no-repeat;
}
#header #seconnecter {
	display: block;
	width: 138px;
	height: 42px;
	background: url('src/button/button_login.png') no-repeat;
}
#header #online_users {
	color: #FFF;
	font: 14px Helvetica, Arial;
	text-decoration: none;
	display: block;
	text-align: right;
	text-shadow: rgba(0,0,0,0.5) 0 -1px 0;
	margin-top: 6px;
	font-weight: bold;
}
#header #user, #header #user span {
	display: block;
	height: 41px;
	background: url('src/user.png') repeat-x 0 -41px;
	color: #FFF;
	text-shadow: rgba(0,0,0,0.5) 0 -1px 0;
	text-decoration: none;
}
#header #user span {
	float: left;
	background-position: 0 0;
	background-repeat: no-repeat;
}
#header #user span span {
	background-position: right -82px;
	background-repeat: no-repeat;
}
#header #user span span span.link {
	min-width: 20px;	
	background: transparent;
	height: 17px;
	padding: 12px 12px 12px 12px;
}
#header #user #user_avatar,
#header #user #user_avatar span {
	display: block;
	width: 40px;
	height: 40px;
	background-position: 0 0;
	background-repeat: no-repeat;
}
#header #user #user_avatar span {
	background: url('src/user_avatar_on.png') no-repeat;
}
#header #user #user_profile_edit {
	display: none;
}
#header #user:hover #user_name {
	display: none;
}
#header #user:hover #user_profile_edit {
	display: block;
}
#header #logout {
	color: #FFF;
	font: 14px Helvetica, Arial;
	text-decoration: none;
	display: block;
	text-align: right;
	text-shadow: rgba(0,0,0,0.5) 0 -1px 0;
	margin-top: 6px;
}

#header #logo span,
#header #play span,
#header #sinscrire span,
#header #seconnecter span {
	display: none;
}


#header .right {
	float: right;
	padding: 16px 0 0 0;
}
#header .right .item {
	margin-left: 24px;
	float: right;
}

/* #header #online_users:hover, */
#header #logout:hover,
#header #user_profile_edit:hover {
	text-decoration: underline;
}
#header #online_users:active,
#header #logout:active,
#header #user_profile_edit:active {
	color: #cee9f7;
}


#menu {
	height: 36px;
	background: url('src/menu.png') repeat-x;
	overflow: hidden;
}
#menu ul {
	float: left;
	list-style: none;
	height: 36px;
}
#menu ul.right {
	float: right;
}
#menu ul li, #menu ul li a {
	float: left;
}
#menu ul li a {
	display: block;
	font-size: 14px;
	font-family: Helvetica, Arial;
	color: #FFF;
	height: 36px;
	line-height: 100%;
	text-decoration: none;
	text-shadow: rgba(0,0,0,0.5) 0 1px 0;
}
#menu ul li.selected a, #menu ul li.selected a span, 
#menu ul li a:active, #menu ul li a:active span {
	background: url('src/menu_item.png') repeat-x 0 -36px;
}
#menu ul li a span {
	float: left;
	display: block;
	background-repeat: no-repeat;
	background-position: 0 0;
}
#menu ul li a span span {
	background-repeat: no-repeat;
	background-position: right -72px;
}
#menu ul li a span span span {
	background: transparent;
}
#menu ul li a span span span span {
	background: transparent;
	margin: 0 10px;
	padding: 11px 0;
	height: 14px;
}
#menu ul li.selected a,
#menu ul li a:active {
	text-shadow: rgba(0,0,0,1.0) 0 -1px 0;
}
#menu ul li.selected a span span span {
	background: url('src/menu_item_arrow.png') no-repeat center bottom;
}
#menu ul li.selected a span span span span {
	background: transparent;
}

#menu ul li a.icon_donate span span span span {
	padding-right: 20px;
	background: url('src/icons.png') no-repeat right 11px;
}
#menu ul li a.icon_help span span span span {
	padding-right: 20px;
	background: url('src/icons.png') no-repeat right -53px;
}

#page {
	background: #FFF;
}
#page .content {
	padding: 20px 0;
}

#footer {
	background: url('src/footer.png') repeat-x;
	padding: 10px 0 30px 0;
}
#footer ul {
	list-style: none;
}
#footer ul li, #menu ul li a {
	float: left;
}
#footer ul li a {
	font-size: 14px;
	font-family: Helvetica, Arial;
	color: #FFF;
	text-decoration: none;
	text-shadow: rgba(0,0,0,0.5) 0 1px 0;
}
#footer ul li a:hover {
	text-decoration: underline;
}
#footer ul li a:active {
	color: #cee9f7;
}
.content {
	margin: 0 auto 0 auto;
	width: 750px;
}


/* MAIN */


.alignleft {
	float: left;	
}

.alignright {
	float: right;	
}

.fleft {
	float: left;
	width: 50%;	
}

.fright {
	float: right;
	width: 50%;
}

.spacer {
	clear: both;
}

a:link, a:visited, a:active {
	color: #3A7205;    	
}

a:hover {
	color: #000;
}

h1 a:link, h1 a:visited, h1 a:active {
	color: #016297;    	
}

h1 a:hover {
	color: #000;
}

h1 {
	color: #016297;
	font-size: 22px;
	font-weight: 500;
	margin-bottom: 10px;
}

.inter_h1 {
	margin-top: 30px;
	
}

h2 {
	color: #016297;
	font-size: 16px;
	font-weight: 500;
}

.center {
	text-align: center;	
}

ul.grey_list {
	color: #4E4E4E;
}

ul.grey_list span {
	color: #000;	
}

.input-form .error {
	color: red;
}

/* SIDEBAR */

.content_sidebar {
	float: left;
	width: 477px;
}

#sidebar {
	float: right;
	margin-left: 18px;
	padding: 20px 20px 10px 20px;
	width: 206px;
	border-left: 1px solid #6ebde4;
	background-color: #E5F6FE; /*#c8effe;*/
}
#sidebar ul {
	list-style: none;
}
#sidebar li {
	padding: 0 0 4px 0;
	font-size: 14px;
}

#sidebar a:link, #sidebar a:visited, #sidebar a:active, 
.commentlist a:link, .commentlist a:visited, .commentlist a:active {
	color: #016297;    	
}

#sidebar a:hover {
	color: #000;
}

#sidebar ul a {
	font-size: 12px; 
	line-height: 110%;	
}

#sidebar .widget {
	padding: 0px 0 30px 0;
}


/* POSTS */

.post h2 {
	margin: 30px 0 20px 0;
}

.post img {
	float: none;
	margin: 0 auto;	
	text-align:center;
    display:block;
}

.post p {
	margin-bottom: 15px;	
}

.post li {
	margin: 5px 0 10px 20px;
}

.post .post_date {
	/*margin-top: 0px;
	font-size: 12px;*/
	text-align: right;
}

.post .post_meta1 {
	margin-bottom: 15px;
	color: #3A7205; 
}

.post .post_meta {
	padding-top: 20px;
	padding-bottom: 30px;
	text-align: center;
	font-size: 12px;
}

#pages_nav_links {
	text-align: center;
	margin: 20px;	
}


/* COMMENTS */


/*#comment {
	width: 500px;
}*/
.commentlist {
	list-style: none;
	padding: 0;
}
.commentlist li {
	font-size: 12px;
}
.commentlist .t {
	overflow: auto;
	padding: 3px;
	margin-bottom: 5px;
	background-color: #E5F6FE;
}
.commentlist .l {
	float: left;
}
.commentlist cite {
	font-style: normal;
}
.commentlist .commentmetadata {
	float: right;
	font-size: 10px;
	padding-top: 2px;
}
.commentlist p {
	clear: both;
	padding: 3px;
	margin-bottom: 25px;
}

.commentlist img {
	display: inline;
}

/* FRONT PAGE */



#home #lefttop {
	float: left; 
	width: 355px;
}	

#home #righttop {
	float: right; 
	width: 355px;
	/*margin-left: 10px;*/
}

#home #righttop li {
	float: left;
	width: 50%;
	list-style-position: inside;
}

.home_link a:link, .home_link a:visited, .home_link a:active {
	color: #000;	
}

.home_link a:hover {
	color: #3A7205;
} 

#home #bottom {
	background-color: #E5F6FE;
}

#home #leftbottom {
	float: left; 
	width: 430px;	
}	

#home #rightbottom {
	float: right; 
	width: 280px;
}

#home #rightbottom li {
    list-style: none;
    background: url('src/home/arrow0.png') no-repeat 5px 15px;
    border-bottom: 1px solid #B3D6EA;
    padding-left: 25px;
}

#home #rightbottom .alt1 {
	background-color: #E8F5FD;	
}

#home #rightbottom .alt2 {
	background-color: #EEF9FD;	
}

#home #rightbottom li a:link, #home #rightbottom li a:visited, #home #rightbottom li a:active {
	color: #016297;    	
}

#home #rightbottom li a:hover {
	color: #000;
}

#home h2 {
	color: #000;
	font-size: 16px;	
	margin-top: 20px;
	margin-bottom: 15px;
}

#home h2 a {
	font-weight: bold;
}

#home .post_meta {
	margin-top: 20px;
	text-align: right;
	font-weight: bold;	
}

#home .post_meta .space {
	margin-left: 20px;
}

/* register & connection */
.input-form .spacer {
	border: 8px solid #FFF;
}

.input-form input[type="text"], 
.input-form input[type="password"],
.input-form select {
	width: 100%;
}

.input-form select {
	font-family: "Lucida grande", Helvetica, Arial, Verdana;
	font-size: 14px;
}

#wel-connexion-form {
	margin-top: 15px;	
}

/* button */
.submit {
	float: left;
	margin-top: 5px;	
}
.button, .button span, .button span span {
	float: left;
	display: block;
	height: 28px;
	font-size: 14px;
	color: #fff;
	text-decoration: none;
	background-image: url('src/button/button.png');
}
.button {	
	background-repeat: no-repeat;
	background-position: 0 0;
}
.button span {
	background-repeat: no-repeat;
	background-position: right -56px;
}
.button span span {
	background-repeat: repeat-x;
	background-position: 0 -28px;
	margin: 0 5px;
	padding: 3px 3px 0 3px;
	height: 25px; /* = height - padding */
}

/* ranking */

#ranking {
	padding-top: 10px;
}
#ranking .user {
	overflow: hidden;
}
#ranking .user div {
	font-size: 14px;
}
#ranking .user.alt {
	background-color: #E5F6FE;
}
#ranking .user div {
	float: left;
}
#ranking .user_ranking {
	width: 50px;
	padding-right: 10px;
	text-align: right;
	color: #9b9b9b;
}
#ranking .user_name {
	width: 200px;
}
#ranking .user_level {
	width: 100px;
}

#ranking .pages {
	margin: 15px 0;	
}

#ranking_sidebar h2 {
	margin: 20px 0 5px 0;	
}

#ranking_sidebar .submit {
	float: right;	
}

#ranking_sidebar .button span span {
	padding-top: 8px;
	height: 20px; /* = 28 - padding */
}

/* #my-profile */

#myprofile .update {
	padding: 10px;
	background-color: #E5F6FE;
	text-align: center;
}


#myprofile h3 {
	color: #016297;
	font-size: 22px;
	font-weight: 500;
	margin-bottom: 15px;
	margin-top: 25px;
}

#myprofile .space {
	margin-right: 15px;	
}

#tablesystem .info {
	background-color:	#8be399;
}

#tablesystem .exception {
	background-color:	#ff5151;
}

#tablesystem .client {
	background-color:	#ffdd67;
}
