


body{
	background: #fff;
	font-size: 14px;
	font-family: arial, sans serif;
	color: #333;
}
#body-wrapper{
	
}


.page-wrapper{
	max-width: 1024px;
	margin: 0 auto;
}



/*  USER BANNER */
#user-banner{
	text-align: left;
	border-bottom: 1px solid lightblue;
	padding: 0;
	font-size: 18px;
	line-height: 26px;
	min-height: 46px;
	background: #c20404;
	color: white;
	border-bottom: 1px solid pink;
}
#user-banner .welcome{
	text-align: center;
	padding: 5px 0;
	line-height: 36px;
}
#user-banner #buttons-box{
	position: absolute;
	top: 0;
	right: 0;
}
#user-banner #buttons-box .open{
	width: 26px;
	height: 26px;
	/*font-weight: bold;*/
	color: pink;
	/*line-height: 34px;
	font-size: 34px;*/
	cursor: pointer;
	float: right;
	background: url(../img/gear.png) no-repeat center center;
	margin-top: 12px;
	margin-right: 5px;
}
#user-banner #buttons-box .buttons{
	display: block;
	float: right;
	margin-top: 12px;
	height: 26px;
	font-weight: bold;
	color: white;
	line-height: 26px;
	font-size: 18px;
	overflow: hidden;
	width: 0;
	background: #c20404;
}
#user-banner #buttons-box .buttons a{
	cursor: pointer;
}
#user-banner #buttons-box .buttons a.logout{
	width: 26px;
	height: 26px;
	background: url(../img/xion.png) no-repeat center center;
	display: inline-block;
}
#user-banner #buttons-box .buttons a.manageactivities{
	width: 26px;
	height: 26px;
	background: url(../img/wrench.png) no-repeat center center;
	display: inline-block;
}
#user-banner #buttons-box .buttons a.locale-fr{
	width: 26px;
	height: 26px;
	background: url(../img/fr.png) no-repeat center center;
	display: inline-block;
}
#user-banner #buttons-box .buttons a.locale-en{
	width: 26px;
	height: 26px;
	background: url(../img/en.png) no-repeat center center;
	display: inline-block;
}
#user-banner #buttons-box.closed .buttons{
	/*display: none;*/
	-webkit-transition: width 500ms ease-in-out;
    -moz-transition: width 500ms ease-in-out;
    -o-transition: width 500ms ease-in-out;
    transition: width 500ms ease-in-out;
}
#user-banner #buttons-box.opened .buttons{
	width: 90px;
	padding-left: 10px;
	-webkit-transition: width 500ms ease-in-out;
    -moz-transition: width 500ms ease-in-out;
    -o-transition: width 500ms ease-in-out;
    transition: width 500ms ease-in-out;
}
#user-banner #buttons-box.opened .buttons-guest{
	width: 30px;
	padding-left: 10px;
	-webkit-transition: width 500ms ease-in-out;
    -moz-transition: width 500ms ease-in-out;
    -o-transition: width 500ms ease-in-out;
    transition: width 500ms ease-in-out;
}
#user-banner #level{
	/*border-radius: 50%;
	box-shadow: 0 0 2px 1px white inset;
	border: 1px solid white;*/
	width: auto;
	min-width: 36px;
	height: 36px;
	padding: 5px 0;
	/*background: #e6e6e1;*/
	font-weight: bold;
	color: yellow /*#4cb1ff*/;
	line-height: 36px;
	display: inline-block;
	vertical-align: middle;
	text-align: center;
	margin: 0 15px;
	font-size: 24px;
	text-align: center;
	-moz-text-shadow: 0 0 1px black;
	-webkit-text-shadow: 0 0 1px black;
	text-shadow: 0 0 1px black;
	direction:rtl;
	background: url(../img/favorites.png) no-repeat center center;
}
#user-banner .bar{
	display: inline-block;
	vertical-align: middle;
	width: 60%;
	padding: 5px 0;
	color: white;
	font-size: 12px;
	line-height: 14px;
	font-weight: bold;
	text-align: left;
}
#user-banner .bar .value{
	padding-left: 5px;
}
#user-banner #progression{
	height: 11px;
	display: inline-block;
	vertical-align: middle;
	width: 60%;
	text-align: center;
	border-radius: 2px;
	border: 1px solid white;
	position: relative;
	background: #e6e6e1;
	box-shadow: 0 0 2px 1px white inset;
}
#user-banner #progression span{
	height: 11px;
	display: inline-block;
	background: #4cb1ff;
	position: absolute;
	top: 0;
	left: 0;
}
#user-banner #cumul{
	height: 11px;
	display: inline-block;
	vertical-align: middle;
	width: 60%;
	text-align: center;
	border-radius: 2px;
	border: 1px solid white;
	background: #e6e6e1;
	position: relative;
	box-shadow: 0 0 2px 1px white inset;
}
#user-banner #cumul span{
	height: 11px;
	display: inline-block;
	background: pink;
	position: absolute;
	top: 0;
	left: 50%;
	
}
#user-banner #cumul span.positive{
	background: #5bff4c;
}
#user-banner #cumul span.negative{
	background: black;
}















/* MENU */
#menu{
	display: table;
	width: 100%;
	font-size: 16px;
}
#menu a{
	display: table-cell;
	vertical-align: middle;
	height: 36px;
	line-height: 36px;
	border-right: 1px solid #c20404;
	border-bottom: 1px solid #c20404;
	color: lightblue;
	text-align: center;
	font-size: 16px;
	cursor: pointer;
	text-decoration: none;
	font-weight: bold;
}
#menu a.g{
	background: url(../img/home.png) no-repeat center center;
}
#menu a.w{
	background: url(../img/clock.png) no-repeat center center;
}
#menu a.e{
	background: url(../img/evolution.png) no-repeat center center;
}
#menu a:hover,
.globalActive #menu a.g,
.weekActive #menu a.w,
.evolutionActive #menu a.e{
	background-color: #c20404;
	color: white;
}







.view{
	margin: 10px;
}
.view .title, .view .subtitle{
	text-align: center;
	font-weight: bold;
	margin-bottom: 1em;
}
.view table{
	width: 100%;
	margin-bottom: 1em;
}
.view table td{
	padding: 5px 5px;
	vertical-align: top;
}
.view table thead td{
	font-weight: bold;
}
.view .skill .skill-name,
.view .total-week .skill-name{
	font-weight: bold;
	color: #c20404;
	width: 64px;
}





#user-skills .skill-level, 
#user-skills .skill-progression, 
#user-skills .skill-cumul{
	text-align: center;
}



#week-values .title a.prev{
	float: left;
	cursor: pointer;
	margin-left: 10px;
	text-decoration: none;
	font-size: 16px;
	color: #c20404;
	width: 26px;
	height: 26px;
	background: url(../img/left.png) no-repeat center center;
}
#week-values .title a.next{
	float: right;
	cursor: pointer;
	margin-right: 10px;
	text-decoration: none;
	font-size: 16px;
	color: #c20404;
	width: 26px;
	height: 26px;
	background: url(../img/right.png) no-repeat center center;
}
#week-values .title .week-title{
	line-height: 26px;	
}

#week-values .menu{
	text-align: center;
	margin-bottom: 1em;
}
#week-values .menu div{
	display: inline-block;
	vertical-align: middle;
	height: 26px;
	min-width: 26px;
	line-height: 14px;
	border: 1px solid #c20404;
	border-radius: 40%;
	color: #c20404;
	text-align: center;
	font-size: 16px;
	cursor: pointer;
	text-decoration: none;
	padding: 2px 10px;
	margin: 0 2px;
}
#week-values .menu div.v{
	background: url(../img/valeurs.png) no-repeat center center;
}
#week-values .menu div.p{
	background: url(../img/points.png) no-repeat center center;
}
#week-values .menu div.r{
	background: url(../img/rules.png) no-repeat center center;
}
#week-values .menu div:hover,
#week-values.valuesActive .menu div.v,
#week-values.pointsActive .menu div.p,
#week-values.rulesActive .menu div.r{
	background-color: #c20404;
	color: white;
}

#week-values .header td, 
#week-values .skill td, 
#week-values .total-week td{
	padding: 5px 0px;
}
#week-values .header td,
#week-values .skill td{
	font-size: 12px;
}
#week-values .total-week td{
	border-top: 1px solid #c20404;
}
#week-values .value, 
#week-values .total-values, 
#week-values .week-points{
	text-align: center;
}

#week-values .value.seuils{
	text-align: left;
	padding: 5px 5px;
	width: 40%;
}
.seuils .points{
	color: #c20404;
	display: block;
	float: left;
	width: 20%;
	text-align: center;
}
.seuils .seuil{
	display: block;
	float: left;
	width: 80%;
}
#week-values #week-values-values,
#week-values #week-values-points,
#week-values #week-values-rules{
	display: none;
}
#week-values.valuesActive #week-values-values,
#week-values.pointsActive #week-values-points,
#week-values.rulesActive #week-values-rules{
	display: table;
}


#skills-evolution{
	
}
#skills-evolution .skill .skill-name{
	padding: 2px 5px;
}





.popin{
	position: absolute;
	top: 5%;
	left: 5%;
	width: 88%;
	background: lightgrey;
	border-radius: 3px;
	border: 1px solid lightgrey;
	background: white;
	display: none;
	-moz-box-shadow: 0 0 3px white;
	-webkit-box-shadow: 0 0 3px white;
	box-shadow: 0 0 10px white;
}
.popin.active{
	display: block;
}
.popin .view{
	padding: 0;
	margin: 0;	
}
.popin-wrapper{
	padding: 1em;
}
.popin .close{
	float: right;
	font-weight: bold;
	cursor: pointer;
	background: url("../img/xion.png") no-repeat scroll center center;
    height: 26px;
    width: 26px;
}
.popin .title{
	font-weight: bold;
	color: #c20404;
	text-transform: uppercase;
	margin-bottom: 2em;
	font-size: 16px;
	line-height: 26px;
}
.popin .formfield{
	width: 80%;
	margin: 0 auto;
	text-align: center;
}
.popin .hl{
	display: inline-block;
	vertical-align: top;
	width: 30%;
}
.popin .val{
	display: inline-block;
	vertical-align: top;
	width: 65%;
}


#popin-manageactivities .action.disabled{
	display: none;
}
#popin-manageactivities .user{
	background: url("../img/user.png") no-repeat scroll center center;
    width: 26px;
}
#popin-manageactivities .computer{
	background: url("../img/computer.png") no-repeat scroll center center;
    width: 26px;
}
#popin-manageactivities .desactivate{
	background: url("../img/xion.png") no-repeat scroll center center;
    width: 26px;
}
#popin-manageactivities .activate{
	background: url("../img/plus.png") no-repeat scroll center center;
    width: 26px;
}
#popin-manageactivities .rename{
	background: url("../img/rename.png") no-repeat scroll center center;
    width: 26px;
}
#popin-manageactivities .desactivate a,
#popin-manageactivities .activate a,
#popin-manageactivities .rename a{
    width: 26px;
    height: 26px;
    cursor: pointer;
    display: inline-block;
}

#popin-changerule tbody td{
	font-size: 12px;
}
#popin-changerule .weeknumber,
#popin-changerule .rules{
	margin-bottom: 1em;
}
#popin-changerule .seuils{
	display: inline-block;
	width: 65%;
}
#popin-changerule .activate{
	background: url("../img/plus.png") no-repeat scroll center center;
    width: 26px;
}
#popin-changerule .activate a{
    width: 26px;
    height: 26px;
    cursor: pointer;
    display: inline-block;
}



#login,
#register{
	padding: 0 20px;
	text-align:center;
}

#login .view,
#register .view{
	max-width: 980px;
	text-align: center;
}
#login .links,
#register .links{
	margin: 2em auto;
}
#login .links a,
#register .links a{
	text-decoration: none;
	display: inline-block;
	margin-bottom: 1em;
}
#login .text,
#register .text{
	text-align: left;
	margin: 2em auto;
}













input[type='number'],
input[type='text'],
input[type='email'],
input[type='password']{
	display: inline-block;
	border: 1px solid lightgrey;
	border-radius: 2px;
	background: white;
	padding: 1% 5%;
	width: 90%;
	font-size: 16px;
	line-height: 18px;
	margin: 0 auto;
}
.submit, a.submit{
	display: inline-block;
	border: 1px solid #c20404;
	background: #c20404;
	padding: 3px 5%;
	padding-bottom: 0;
	width: auto;
	font-size: 16px;
	line-height: 22px;
	margin: 0 auto;
	border-radius: 2px;
	cursor: pointer;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	color: white;
}
.submit:hover{
	background: white;
	color: #c20404;
}

ul{
	margin: 0;
	padding: 0;
}
li{
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.error{
	color: red;	
}

.hl{
	color: #c20404;
}