

/****************************************************/

/* STRUCTURE */

/****************************************************/

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	background-color: #fff;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 1em;
	line-height: 1.5;
	margin: 0;
	padding: 0;
}

@font-face {
	font-family: Elementary;
	src: url(../../theme/fonts/vwagh.eot);
}

@font-face {
	font-family: Elementary;
	src: url(//:) format("No-IE-404"),url(../../theme/fonts/vwagh.ttf) format("truetype");
}

/****************************************************/

/* DISPOSITIONS */

/****************************************************/

#mainpage {
	margin: 0 auto;
	max-width: 1100px;
	-webkit-overflow-scrolling: touch;/* scroll fluide ios */
}

.alignCenter {
  text-align: center;
}

.alignRight {
  text-align: right;
}

/****************************************************/

/* HEADER */

/****************************************************/

header {
	margin: 1em 0 3em;
}

#logo {
	float: left;
	margin: 0 1em 0 0;
}

#siteName {
	color: #208fe5;
	font-family: 'Elementary',Arial,sans-serif;
	font-size: 2.5em;
	font-weight: bold;
	padding: .7em 0 0 0;
}

#siteName a {
	color: #208fe5;
	text-decoration: none;
}

.blc {
	color: #98cff9;
}

#slog {
	background-color: #8accff;
	background-image: repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,.2) 35px, rgba(255,255,255,.2) 70px);
	border-radius: 50px;
	clear: both;
	color: #fff;
	font-size: 1.2em;
	margin: 3em 0 0;
	padding: .7em 1.5em;
}

#userNavBox {
	float: right;
	margin: 2.3em 0 0;
}

#userNav {
	vertical-align: top;
}

#userNav:hover > #userHover {
	display: block;
}

#userLogin {
	border: 0;
	border-radius: 3px;
	font-size: 1.5em;
	height: 48px;
	padding: .2em .5em .3em .5em;
	vertical-align: top;
	width: 100%;
	-moz-user-select: text;
	-webkit-user-select: text;
}

#userLogin::placeholder {
	color: #aaa;
}

.icoElev {
	float: right;
	height: 30px;
	width: 30px;
}

#affUser {
	display: inline-block;
	float: right;
	font-size: 1.1em;
	font-weight: bold;
	vertical-align: top;
}

#userHover {
	display: none;
	font-size: .95em;
}

#userHover a {
	color: #aaa;
	text-decoration: none;
}

#hdAcc {
	display: none;
}

/* CONNEXION */

#cnxBox {
	clear: both;
	display: none;
	padding: 2em 0 0;
}

#cnxTab {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}

#tabCnx1 {
	/*background-color: #FFF7E4;*/
	background-color: #FFEBBC;
}

#tabCnx2 {
	background-color: #EFB;
}

#tabCnx3 {
	background-color: #C4EBFF;
}

.tabCnx {
	border-radius: 8px;
	margin: 0 1em;
	padding: .5em 1em 1em;
}

.cnxHd {
	font-size: 1.5em;
	font-weight: bold;
	line-height: 1;
	padding: .5em 0 .4em .2em;
}

#cnxHd1 {
	border-bottom: 5px dotted #F9C959;
	color: #F4AF0E;
}

#cnxHd2 {
	border-bottom: 5px dotted #b3e149;
	color: #91B731;;
}

#cnxHd3 {
	border-bottom: 5px dotted #78C6F6;
	color: #41A5E0;
}

.cnxHd img {
	vertical-align: bottom;
}

.infoBeta{
	background-color: rgba(255, 255, 255, 0.9);
	border-radius: 5px;
	font-size: 1.1em;
	padding: .3em;
}

/* NAV */

nav {
	margin-top: 3em;
}

nav ul {
	padding: 0;
}

.navLi {
	background-color: #4ea6ff;
	color: #fff;
	border: 0;
	border-radius: 30px;
	display: inline-block;
	font-size: 1.1em;
	margin: 0 1em 0 0;
	padding: .1em .7em;	
}

.navLi:hover {
  opacity: .8;
}

nav li {
	display: inline-block;
}

nav li a {
	text-decoration: none;
}

/****************************************************/

/* BOUTONS */

/****************************************************/

#btLogin {
	padding: .3em .7em;
}

#btLog {
	margin: .3em 0 0;
	padding: .4em;	
}

.btBig {
	font-size: 1.5em;
}

.btB, .btN, .btV,.btR, .btG {
	border: 0;
	border-radius: 3px;
	cursor: pointer;
	display: inline-block;
	padding: .1em .4em;	
}

.btB:hover, .btN:hover, .btV:hover, .btR:hover, .btG:hover {
	opacity: .8;	
}

.btB {
	background-color: #007fff;
	color: #fff;
}

.btN {
	background-color: #24464d;
	color: #BBF200;
}

.btV {
	background-color: #A8D900;
	color: #fff;
}

.btR {
	background-color: #D92E00;
	color: #fff;
}

.btG {
	background-color: rgba(0, 0, 0, 0.1);
	color: #393939;
}

.btCnx {
	font-size: 1.5em;
	padding: .3em 0;
	text-align: center;
	width: 100%;
}

/****************************************************/

/* ACCORDEON */

/****************************************************/

/* Titles */
.s1Title {
	font-size: 2.1em;
	line-height: 2.9;
	padding: 0 .5em 0 2.5em;
	border-radius: 6px;
}

.s1Title, .s2Title {
	cursor: pointer;
}

/* Content */
.s1Content, .s2Content {
	display: none;
}

.s2 {
	line-height: 3;
}

.s2Grid {
	background-color: #fbfbfb;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	padding: .5em;
}

/* Disciplines */

.mathematiques {
	background-color: #DFF8A4;
	background: url(../../theme/img/pwv.png) no-repeat 1em 50% #DFF8A4;
	border-bottom: 8px solid #b3e149;
	color: #91B731;
}

.mathematiques:hover {
	background-color: #D8FE7E;
}

.francais {
	background-color: #CFEBFC;
	background: url(../../theme/img/pwb.png) no-repeat 1em 50% #CFEBFC;
	border-bottom: 8px solid #78C6F6;
	color: #41A5E0;
}

.francais:hover {
	background-color: #A1D8F9;
}

.jeux {
	background-color: #FFEBBC;
	background: url(../../theme/img/pwj.png) no-repeat 1em 50% #FFEBBC;
	border-bottom: 8px solid #F9C959;
	color: #F4AF0E;
}

.jeux:hover {
	background-color: #FFE29E;
}

.clavier {
	background-color: #FAE0FC;
	background: url(../../theme/img/pwf.png) no-repeat 1em 50% #FAE0FC;
	border-bottom: 8px solid #DD68E8;
	color: #C93ED6;
}

.clavier:hover {
	background-color: #F7C4FB;
}

.utilitaires {
	background-color: #fbcdc2;
	background: url(../../theme/img/pwr.png) no-repeat 1em 50% #fbcdc2;
	border-bottom: 8px solid #fa7354;
	color: #fa603d;
}

.utilitaires:hover {
	background-color: #f9b2a1;
}

/* Matières */

.s2Title {
	background-color: #f5f5f5;
	border-radius: 4px;
	font-size: 1.2em;
	font-weight: bold;
	padding: .5em 0 .5em 2em;
}

#mathematiques .s2Title {
	border-bottom: 5px solid #b3e149;
	color: #91B731;
}

#francais .s2Title {
	border-bottom: 5px solid #78C6F6;
	color: #41A5E0;
}

#jeux .s2Title {
	border-bottom: 5px solid #F9C959;
	color: #F4AF0E;
}

#clavier .s2Title {
	border-bottom: 5px solid #DD68E8;
	color: #C93ED6;
}

#utilitaires .s2Title {
	border-bottom: 5px solid #fa7354;
	color: #fa603d;
}

/* Case */

.case {
	background-color: #fff;
	border-radius: 4px;
	padding: .5em .5em 3em;
	margin: .5em;
	position: relative;
}

.img {
	border-radius: 4px;
	height: auto;
	max-width: 100%;
	vertical-align: bottom;
}

.appName {
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.appName span {
	bottom: .5em;
	font-size: .8em;
	left: 0;
	line-height: 1.3;
	padding: .5em;
	position: absolute;
	text-align: center;
	width: 100%;
}

#mathematiques .s2Content .case {
	border: 2px solid #b3e149;
}

#mathematiques .s2Content .case:hover {
	background-color: #D5FD78;
}

#mathematiques .s2Content .case span {
	color: #789D1B;
}

#francais .s2Content .case {
	border: 2px solid #78C6F6;
}

#francais .s2Content .case:hover {
	background-color: #CFEBFC;
}

#francais .s2Content .case span {
	color: #41A5E0;
}

#jeux .s2Content .case {
	border: 2px solid #F9C959;
}

#jeux .s2Content .case:hover {
	background-color: #FFEBBC;
}

#jeux .s2Content .case span {
	color: #F4AF0E;
}

#clavier .s2Content .case {
	border: 2px solid #FAE0FC;
}

#clavier .s2Content .case:hover {
	background-color: #FAE0FC;
}

#clavier .s2Content .case span {
	color: #C93ED6;
}

#utilitaires .s2Content .case {
	border: 2px solid #fa7354;
}

#utilitaires .s2Content .case:hover {
	background-color: #fbcdc2;
}

#utilitaires .s2Content .case span {
	color: #fa603d;
}

/****************************************************/

/* CONTENT */

/****************************************************/

#primary {
	border-bottom: 1px solid #ddd;
	padding: 0 0 2em 0;
}

#primary h1 {
	color: #333;
}

#primary h2 {
	color: #555;
	margin-bottom: 0;
}

#primary p {
	color: #222;
	margin: .2em 0 .5em;
}

.bl1 {
	color: #007fff;
}

.vr1 {
	color: #97BF0F;
}

/****************************************************/

/* FOOTER */

/****************************************************/

#nbApps {
	/*float: right;
	margin-top: .6em;*/
	display: inline-block;
}

footer {
	color: #555;
	font-size: .8em;
	padding: 1em 0;
}

footer a {
	color: #555;
	text-decoration: none;
}