h2
{
	display: inline-block;
}
h5
{
	font-family: 'Cabin', Arial, sans-serif;
}
#eleves h4
{
	font-family: 'Lobster', 'Cabin', Arial, sans-serif;
	font-size: 1.5em;
}
h3.panel-heading
{
	margin: 0;
}
.panel
{
	padding-left: 0;
	padding-right: 0;
}
.listeexos
{
	margin: 0;
	padding: 0;
}
.exo
{
	width: 40px;
	height: 40px;
	display: inline-block;
	vertical-align: middle;
	margin: 2px;
	padding: 0;
	text-align: center;
	font-family: 'Lobster';
	color: white;
	font-size: 1.5em; 
	border-radius: 5px;
	padding-top: 5px;

	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#a8a8a8+0,8e8e8e+44,6b6b6b+100 */
	background: #a8a8a8; /* Old browsers */
	background: -moz-linear-gradient(top, #a8a8a8 0%, #8e8e8e 44%, #6b6b6b 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #a8a8a8 0%,#8e8e8e 44%,#6b6b6b 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #a8a8a8 0%,#8e8e8e 44%,#6b6b6b 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a8a8a8', endColorstr='#6b6b6b',GradientType=0 ); /* IE6-9 */
}
header .btn-primary
{
	font-size: 1em;
	position: relative;
	bottom: 10px;
	margin-left: 5px;
}

.listeclasses
{
	margin-left: 5px;
}
.choixclasse
{
	display: inline-block;
	margin-left: 2px; 
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	background-color: #ddd;
	padding: 4px;
	border-top: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	color: black;
	cursor: pointer;
	font-size: 1em;
}
.choixclasse:hover
{
	background-color: white;
	color: black;
}
.selected
{
	color: white;
	cursor: default;
		/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#a5a503+0,8c8c02+44,686800+100 */
	background: #a5a5a5; /* Old browsers */
	background: -moz-linear-gradient(top, #a5a5a5 0%, #8c8c8c 44%, #686868 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #a5a5a5 0%, #8c8c8c 44%, #686868 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #a5a5a5 0%, #8c8c8c 44%, #686868 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a5a5a5', endColorstr='#686868',GradientType=0 ); /* IE6-9 */
}
.selected:hover
{
	color: white;
	text-decoration: none;
}
.classe
{
	display: block;
	padding: 5px;
	margin: 0 0 10px;
	background-color: rgba(240,240,240,0.7);
	border: 1px solid #ccc;
	border-radius: 10px;
	min-width: 410px;
}
.classe h3
{
	margin-top: 10px;
}
.autreclasse
{
	font-size: 0.9em;
	top: 1px;
	position: relative;
	background-color: #dde;
}
#eleves .col-xs-3
{
	padding-left: 0px;
	padding-right: 1px;
}
#eleves .row
{
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 2px;
}

#eleves .button-center
{
	margin-top: 5px;
	margin-bottom: 5px;
}
.suppr
{
	margin-top: 2em;
}
.modifajout
{
	font-size: 0.8em;
	color: grey;
}
table 
{
	background-color: white;
	min-width: 400px;
}
.col-id
{
	width: 20%;
}
.col-mdp
{
	width: 15%;
}
.col-reu
{
	width: 185px;
}
.col-pour
{
	width: 200px;
}
/*.modif td:nth-child(2) { font-size: 0.8em; }*/
.modif td:nth-child(3) { padding: 0; }
.modif td:nth-child(2) { padding: 2px; padding-top: 5px; font-family: 'Lobster'; }
.modif td:nth-child(2) ul, .modif td:nth-child(2) div {display: inline-block;}
.modif td:nth-child(2) div {position: relative; top: 2px; left: 2px;}
.modif td:nth-child(2) span.col-pour-defis {font-size: 0.7em;}
.modif td:nth-child(2) span.col-pour-petit {font-size: 0.7em;}
span.col-pour-petit {display: none;}
span.col-pour-grand {display: inline;}
.modif td:nth-child(3) .exo { width: 32px; height: 32px; padding-top: 3px; font-size: 1.25em;}
.modif td:nth-child(2) .exo {width: 18px; height: 18px; line-height: 1; padding-top: 2px; font-size: 1em; margin-right: 0;}
select, h4
{
	display: inline-block;
}

@media (max-width: 768px) { 
    ul.listeexos li.exodernier{
   		display:none;
	}
	.col-reu
	{
		width: 110px;
	}
	.col-pour
	{
		width: 90px;
	}
	.modif td:nth-child(2) ul {display: none;}
	span.col-pour-petit {display: inline;}
	span.col-pour-grand {display: none;}
}
input[type="file"]
{
	display: inline;
}

.changer-nom-classe{
	margin-left: 1em;
	margin-bottom: 10px;
	font-size: 0.8em;
}

.admin_defi
{
	position: relative; 
	margin-bottom: 10px; 
	text-align: center
}
.admin_defi_code
{
	position: absolute;
	left: 75%;
	top: 0;
	width: 150%;
	text-align: left;
	font-size: 0.8em;
	font-family: 'Courier';
	display: none;
	background-color: white;
	border: 1px solid black;
	z-index: 1;
}
.admin_defi_code_left
{
	right: 75%;
	left: initial;
}
.admin_defi:hover .admin_defi_code
{
	display: block;
}