html, body {
	font-family: 'Ubuntu Condensed', sans-serif;
	font-size: 12pt;
	margin: 5px;
	padding: 0;
	background-color: #FFF;	color: #000;}

* {
	box-sizing: border-box;
}

.row::after, .header::after {
	content: "";
	clear: both;
	display: block;
}

[class*="col-"] {
	float: left;
	padding: 10px;
}

sup {
	vertical-align: super;
	font-size: 70%;
	line-height: 70%;
}


/* En-tête */
.header {
	background-color: #3498DB;	color: #000;	padding: 0px;
	text-align: left;
	box-shadow: 0 2px 5px #00000044, 0 1px 2px #000000AA;
	border-radius: 5px;
}

.header h1 {
	font-size: 50pt;
	margin: 0px;
	color: #FFF;}

.header h1 img {
	padding: 0px;
	vertical-align: bottom;
}

.header .theme {
	position: absolute;
	top: 44px;
	left: calc(100% - 63px);
	display: inline-block; cursor:pointer;
	padding: 0px;
	margin: 0px;
	height: 48px;
	border-radius: 5px;
}

.header .theme:hover {
	background-color: #FFFFFF55;
}


/* Ligne intermédiaire */
.row .ancien {
	display: none;
	text-align: center;
}

.row label {
	width: 25%;
	display: inline-block;
	text-align: right;
}

.row fieldset {
	width: 100%;
	border-radius: 5px;
	border-color: #3498DB;	box-shadow: 0 1px 3px #00000044, 0 1px 2px #000000AA;
	padding: 0px 10px;
	/*max-height: 670px;*/
	overflow: auto;
}

.row legend {
	font-size: 12pt;
	font-weight: bold;
	line-height: 22px;
	background-color: #FFF;	padding: 0px 5px;
}

.row fieldset button {
	cursor: pointer;
}

.row fieldset button img {
	height:16px;
	vertical-align: bottom;
}

.row input[type="text"] {
	font-family: 'Ubuntu Mono', monospace;
	width:180px;
}

.row input[type="password"] {
	font-family: 'Ubuntu Mono', monospace;
	letter-spacing: 1px;
}

.row a, a:visited {
	color: #3498DB;	text-decoration: underline;
}

.row a:hover {
	color: #2980B9;	text-decoration: none;
}

.row .ip {
	width: 250px;
	display: none;
	margin-left: 25%;
}

/* Menu */
.menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	cursor: pointer;
}

.menu li {
	padding: 8px;
	margin-bottom: 7px;
	background-color: #3498DB;	color: #FFF;	font-size: 12pt;
	box-shadow: 0 1px 3px #00000044, 0 1px 2px #000000AA;
	cursor: pointer;
}

.menu li:hover {
	background-color: #2980B9;}

.menu li img {
	vertical-align: bottom;
}

#m0 {
	display: none;
}

#m0 #texte {
	display: inline-block;
	width: calc(100% - 16px);
	font-weight: bold;
}

#m0 img {
	vertical-align: middle;
}

#m0 .rotated {
	transform: rotate(180deg);
	transition:0.5s;
}

#m0 .notrotated {
	transform: rotate(0deg);
	transition:0.5s;
}

.row #liste {
	display: block;
}

.menu .selected {
	background-color: #2980B9;	cursor: default;
}

.menu .normal {
	background-color: #3498DB;	cursor: pointer;
}

[id*="contenu"] {
	display: none;
}

.cont_selected {
	display: initial;
}

.row .favoris {
	width: 110px;
	height: 150px;
	text-align: center;
	float: left;
	padding: 5px;
	margin: 5px;
	transition: all .2s;
}

.row .favoris .image {
	display: block;
	height: 100px;
	width: 100px;
}

.row .favoris a, a:visited, a:hover {
	text-decoration: none;
}

.row .favoris:hover {
	box-shadow: 0 1px 3px #00000044, 0 1px 2px #000000AA;
	transition: all .2s;
}

.row .favoris img {
	background-color: #FFF;
	width: 95%;
	transition: width .2s;
}

.row .favoris:hover img {
	width: 100%;
	transition: width .2s;
}

.row .miniature {
	display: block;
	float: left;
	color: #FFF;	font-size: 9pt;
	line-height: 10px;
	height: 240px;
	padding: 2px;
	margin: 2px;
}

.row .miniature:hover {
	box-shadow: 0 1px 3px #00000044, 0 1px 2px #000000AA;
}

.row .miniature img {
	display:block;
	margin-left:auto;
	margin-right:auto;
	cursor:pointer;
}

.row .miniature p {
	text-align:left;
}

.row [id*="contenu"] h1 {
	font-size: 20pt;
	font-weight: bold;
	padding: 0.5em;
	margin: 0;
	line-height: 1em;
}

.row .ephemeride {
	width: 100%;
	/*max-height: 630px;*/
}

.row .ephemeride table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0px;
	margin-bottom: 30px;
}

.row .ephemeride th, td {
	width: 33%;
	text-align: left;
	border-bottom: 1px solid #3498DB;;
	padding-left:5px;
	line-height: 30px;
	font-size: 12pt;
}

.row #contenu [id*="Q"] label {
	width: auto !important;
}

.row #administration fieldset {
	padding: 10px;
}

.row #administration p {
	padding: 5px 0px;
	margin: 0px;
}

.row #administration span {
	font-weight: bold;
}

.row #administration a {
	text-decoration: none;
	cursor: pointer;
	font-weight: normal;
}

.row #administration img {
	vertical-align: bottom;
}

.row #administration h1 {
	font-size: 50pt;
	margin: 0px;
}

.row #administration #dragandrophandler {
	border:2px dotted #3498DB;;
	width: calc(100% - 20px);
	color: #3498DB;;
	text-align: center;
	padding: 10px;
	margin: 10px;
	font-size: 200%;
	cursor: pointer;
}

.row #administration #dragandrophandler:hover {
	border:2px dotted #2980B9;;
	color: #2980B9;;
}

.row #administration fieldset {
	margin-bottom: 10px;
}

/*Drag and drop*/
.drag {
	width: 100%;
	min-height: 20px;
	list-style-type: none;
	margin: 0;
	padding: 5px;
	float: left;
	margin-right: 10px;
}

.drag li {
	margin: 0px 2px 3px 5px;
	padding: 5px;
	padding-left: 5px;
	min-height: 25px;
	line-height: 30px;
	white-space: nowrap;
	text-overflow: ellipsis;
	word-wrap: break-word;
	overflow: hidden;
	width: calc(100% - 10px);
	cursor: move;
	float: left;
}

.drag li:hover {
	white-space: normal;
	text-overflow: initial;
	word-wrap: normal;
	background: #2980B9;}

.drag li input[type="text"] {
	height: 25px;
}

.drag label {
	cursor: move;
}

option.avatar {
	background-repeat: no-repeat !important;
	padding-left: 20px;
}
.avatar .ui-icon {
	background-position: left top;
}

.overflow {
	height: 153px;
}


/* Pied de page */
.footer {
	background-color: #3498DB;	color: #FFF;	text-align: left;
	padding: 0px;
	border-radius: 5px;
	box-shadow: 0 1px 3px #00000044, 0 1px 2px #000000AA;
}

.footer .div_ephemeride {
	position: absolute;
	width: calc(100% - 20px);
}

.footer h1 {
	font-size: 20pt;
	font-weight: normal;
	line-height: 48px;
	margin: 0px;
}

.footer h1 img {
	padding: 0px;
	vertical-align: middle;
	float: left;
	margin-right: 10px;
}

.footer .div_lune {
	margin-left: calc(100% - 100px);
	position: relative;
	top: 0;
	right: 0;
}

.footer .lune {
	position: relative;
}

.footer .lune img {
	height: 90px;
	margin-top: 3px;
}

.footer .lune .overlay {
	position: absolute;
	right: 10px;
	cursor: help;
}

button img {
	vertical-align: top;
}

[id*="dialog"] label {
	font-weight: bold;
}

[id*="dialog"] fieldset {
	width: 100%;
	border-radius: 5px;
	border-color: #2980B9;	box-shadow: 0 1px 3px #00000044, 0 1px 2px #000000AA;
	padding: 10px;
}

[id*="dialog"] legend {
	font-size: 12pt;
	font-weight: bold;
	line-height: 22px;
}

.radiolabel {
	font-weight: normal !important;
}

#chargement {
	position: fixed;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	line-height: 100%;
	background-color: rgba(255,255,255,0.7);
	background-image: url('../images/chargement.svg');
	background-position: center;
	background-repeat: no-repeat;
	display: none;
	z-index: 1000000;
}

/* Pour ordinateurs */
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

/* Pour téléphone mobiles / tablettes */
@media only screen and (max-width: 1024px) {
	[class*="col-"] {
		width: 100%;
	}

	.row {
		min-height: 0px;
	}

	.row label {
		width: 100%;
		text-align: center;
	}

	/*.row p {
		text-align: center;
	}*/

	.row .center {
		text-align: center;
	}

	.row #infoenvoi span {
		display: block;
		text-align: center;
	}

	.row #administration h1 {
		font-size: 31.25pt;
	}

	.row #administration h1 img {
		height: 60px;
	}

	.row input[type="text"], input[type="password"] {
		width: 80% !important;
	}

	.row .ip {
		width: 250px;
		display: none;
		margin: auto;
	}

	.header h1 {
		font-size: 31.25pt;
	}

	.header img {
		height: 60px;
	}

	.header .theme {
		position: absolute;
		top: 35px;
		left: calc(100% - 47px);
		display: inline-block; cursor:pointer;
		padding: 0px;
		margin: 0px;
		height: 32px;
		border-radius: 2px;
	}

	.header .theme:hover {
		background-color: #FFFFFF55;
	}

	.header .theme img {
		height: 32px;
	}

	#m0 {
		display: block;
	}

	.menu li {
		padding: 5px;
		margin-bottom: 1px;
	}

	.row #liste {
		display: none;
	}

	.row .favoris {
		padding: 1px;
		margin: 2px;
	}

	.footer h1 {
		font-size: 12.5pt;
		line-height: 30px;
	}

	.footer img {
		height: 60px;
	}

	.footer .div_lune {
		margin-left: calc(100% - 64px);
	}

	.footer .lune img {
		height: 56px;
		margin-top: 2px;
	}
}

@media only screen and (max-width: 512px) {
	.row #liste {
		display: none;
	}

	.ui-dialog {
		width: 95% !important;
	}
}

/* IE10 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	.row .ancien {
		display: block;
	}
}

/* JQuery UI */
.no-close .ui-dialog-titlebar-close {
	display: none;
}