/*
orange: #ff7900

liens
gris:
- #f6f6f6
- #eeeeee
- #dddddd
- #cccccc
- #999999
- #666666
- #444444
- #333333
- #232323
photos
yellow: #ffd200
blue: #4bb4e6
green: #50be87
purple: #a885d8
pink: #ffb4e6

alertes
red: #dc3c14
green: #50be87
yellow: #ffd200
blue: #527ebd
*/

/* page structure */
body {
	background-color: #232323;
	grid-template-rows: 64px auto 48px;
}
header#page-header {
	border: 0;
	background-color: black;
	background-image: none;
	height: 64px;
	padding-top: 1px;
	padding-bottom: 0.3em;
}

main#page-content {
	background-color: white;
	margin-left: auto;
    margin-right: auto;
    max-width: 1280px;
    min-width: 320px;
    width: 100%;
	padding-bottom: 1em;
}
main#page-content.frontpage {
	background-color: transparent;
	padding-bottom: 0;
}
main#page-content section#main-container {
	margin-left: auto;
    margin-right: auto;
    max-width: 100%;
	min-width: auto;
    width: 100%;
}
main#page-content.frontpage section#main-container {
	padding-bottom: 0;
}
footer#page-footer {
	background-color: #1a1a1a;
}

header#page-header div#page-header-logo {
	width: 104px;
	height: 58px;
	background-image: url('imgs/orange-prestabox_logo.png');
	background-repeat: no-repeat;
	background-position: left bottom;
	cursor: pointer;
}
nav#main-menu-container {
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
	align-items: flex-end;
	padding: 0;
}
div#logout-container {
	padding-top: 1px;
	padding-right: 1em;
	font-size: 0.87em;
	height: 24px;
	line-height: 24px;
	color: white;
}
div#logout-container img {
	vertical-align: top;
}
nav#main-menu-container ul li.selected {
	background-color: transparent;
}
nav#main-menu-container ul li a {
	height: auto;
	line-height: normal;
}
nav#sub-menu-container ul li.selected {
    background-color: #ff7900;
}
aside#page-nav nav ul li:first-child {
	height: auto;
	line-height: normal;
}
aside#page-nav nav ul li.selected {
    background-color: #ff7900;
}
nav#main-menu-container ul#mobile-menu li#mobile-menu-open a {
	height: 64px;
	line-height: 64px;
}
aside#page-nav nav ul li#mobile-menu-close a {
	height: 64px;
	line-height: 64px;
}

footer#page-footer div#page-footer-inner-container {
	margin-left: auto;
    margin-right: auto;
    max-width: 1280px;
    min-width: 320px;
    width: 100%;
	height: 100%;
	padding-bottom: 0.3em;
	display: flex;
	flex-flow: row wrap;
	align-items: flex-end;
	justify-content: space-between;
}
footer#page-footer div#footer-info {
}
footer#page-footer div#footer-info ul {
	list-style-type: none;
}
footer#page-footer div#footer-info ul li a {
	color: #ff7900;
	font-size: 0.87em;
}
footer#page-footer div.copy {
	text-align: right;
	font-size: 0.87em;
}
footer#page-footer div#rstats_full {
	width: 100%;
}


/* default page */
div#page-home-main-container h2#sites-choose-title {
	display: none;
}

div#page-home-main-container div#page-home-list {
}
div#page-home-main-container div.box-container {
	width: auto;
	margin: 0;
	padding: 0.3em;
	flex-basis: 25%;
	max-width: 25%;
	min-width: 300px;
}
div#page-home-main-container div.box {
	min-width: 144px;
	margin: 0;
	box-shadow: none;
	display: flex;
	flex-flow: column nowrap;
}
div#page-home-main-container div.box-title {
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
}
div#page-home-main-container div.box-title,
div#page-home-main-container div.box-title.odd {
	background-color: white;
	height: 40px;
}
div#page-home-main-container div.box-title h2 {
	color: black;
}
div#page-home-main-container div.box-content {
	height: auto;
	margin: 0;
	padding: 0;
	border: none;
}
div#page-home-main-container div.box-content img {
	width: 100%;
	height: auto;
}

/* courses list */
div#courseslist-main-container div.breadscrumb-container {
	border: 0;
}
div#courseslist-main-container div.breadscrumb-container ul li a.linkable {
	color: #cccccc;
}

div#courses-list-container ul li div.course-container {
	border: 0;
	background-color: white;
	border-radius: 0;
}
div#courses-list-container ul li div.course-title-status {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	min-height: 40px;
}
div#courses-list-container ul li div.course-title-status div.course-title {
	width: 100%;
	text-align: center;
	padding: 0.5em;
}
div#courses-list-container ul li div.course-title-status div.course-title a,
div#courses-list-container ul li div.course-title-attempts div.course-title a {
	color: black;
	font-weight: bold;
	font-size: 1.2em;
}
div#courses-list-container ul li div.course-title-status div.course-title a:hover,
div#courses-list-container ul li div.course-title-attempts div.course-title a:hover {
	color: #333333;
}

div#courses-list-container ul li div.course-img-status {
	margin: 0;
	position: relative;
}
div#courses-list-container ul li div.course-img-status div.course-img-container {
	padding-bottom: 83.23%;
}
div#courses-list-container ul li div.course-img-status div.course-img-container div.course-img {
	background-size: cover;
}
div#courses-list-container ul li div.course-img-status div.sidednode-status-container {
	position: absolute;
	right: 0;
	bottom: 0;
	background-color: white;
	padding: 0.3em;
	border-top: 1px solid #d0d0bf;
	border-left: 1px solid #d0d0bf;
	border-top-left-radius: 4px;
}
div#courses-list-container ul li div.course-title-attempts div.course-attempts {
	height: auto;
	min-height: 33px;
	line-height: normal;
}
div#courses-list-container.sided ul li {
	padding-bottom: 0.5em;
}
div#courses-list-container ul li div.course-title-status {
	display: none;
}
div#courses-list-container.sided ul li div.course-title-status {
	display: flex;
}

div#courses-list-container ul li div.course-title-attempts {
	display: flex;
}
div#courses-list-container.sided ul li div.course-title-attempts {
	display: none;
}
div#courses-list-container ul li div.course-img-status div.sidednode-status-container {
	display: block;
}
div#courses-list-container.sided ul li div.course-img-status div.sidednode-status-container {
	display: none;
}

/* courses details */
div#courses-details-container {
	margin-top: 0;
}
div#courses-details-container div#breadscrumb {
	padding-top: 1em;
	padding-bottom: 0.5em;
	background-color: #232323;
	border: 0;
}
div#courses-details-container div#breadscrumb ul li a.linkable {
	color: #cccccc;
}

div#courses-details-container div#courseheader-container {
	margin: 0;
	padding: 0;
	border: 0;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
}
div#courses-details-container div#title-img-duration {
	max-width: 320px;
	min-width: 320px;
}
div#courses-details-container div#title-img-duration h2 {
	font-size: 1.5em;
    line-height: 2em;
    text-align: center;
	padding-left: 0.5em;
	padding-right: 0.5em;
	color: #545454;
}
div#courses-details-container div#title-img-duration div#courseheader-img-container {
	position: relative;
	width: 100%;
	padding-bottom: 83.23%;
	min-width: 0;
	height: auto;
}
div#courses-details-container div#title-img-duration div#courseheader-img-thumbnail,
div#courses-details-container div#title-img-duration div#courseheader-img-play {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	height: auto;
	width: auto;
}
div#courses-details-container div#courseheader-time-container {
    font-weight: bold;
    font-size: 1.3em;
    line-height: 2em;
    overflow: hidden;
    text-align: center;
	color: black;
}

div#courses-details-container div#courseheader-status-container {
	padding-left: 0.5em;
	padding-right: 0.5em;
	flex-grow: 1;
}
div#courses-details-container div#courseheader-status-container ul {
	list-style-type: none;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
}
div#courses-details-container div#courseheader-status-container ul li {
	text-align: center;
	font-weight: bold;
	font-size: 1.6em;
	line-height: 2em;
	cursor: pointer;
}
div#courses-details-container div#coursebody-container h3.bartitle {
    color: #ff7900;
}

/* shaman documents details */
div#prompt.modal_shaman {
	background-color: white;
	border-radius: 0;
	padding: 0;
}
div#prompt.modal_shaman div#overlay_actions {
	margin: 1em;
}
div#shaman-document-container {
	padding: 1em;
	display: flex;
	flex-flow: row nowrap;
}
div#shaman-document-container div#ffront-commands {
	width: 120px;
}
div#shaman-document-container div#ffront-commands div.command {
	text-align: center;
	margin-bottom: 1em;
}
div#shaman-document-container div#ffront-commands div.command.download {
	background-color: #50be87;
}
div#shaman-document-container div#ffront-commands div.command.edit {
	background-color: #ffd200;
}
div#shaman-document-container div#ffront-commands div.command.delete {
	background-color: #dc3c14;
}
div#shaman-document-container div#ffront-commands div.command a {
	width: 100px;
	height: 48px;
	line-height: 48px;
	margin-left: auto;
	margin-right: auto;
	text-decoration: none;
	color: white;
	font-size: 1.2em;
}
div#shaman-document-container div#ffront {
	margin-right: 0.5em;
	width: 100%;
}
div#shaman-document-container div#ffront div#ffront-desc h2 {
	font-size: 1.5em;
	line-height: 48px;
	height: 48px;
	background-color: #a885d8;
	color: white;
	padding-left: 1em;
}
div#shaman-document-container div#ffront div#ffront-desc p {
	margin: 2em;
	text-align: justify;
}
div#shaman-document-container div#ffront div#ffront-lastversion {
	margin-top: 3em;
}
div#shaman-document-container div#ffront div#ffront-lastversion dl {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
}
div#shaman-document-container div#ffront div#ffront-lastversion dl dt {
	width: 120px;
	text-align: right;
}
div#shaman-document-container div#ffront div#ffront-lastversion dl dd {
}

div#shaman-document-container div#keywords {
	margin-top: 3em;
}
div#shaman-document-container div#keywords ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
div#shaman-document-container div#keywords a {
	color: black;
	text-decoration: underline;
}
div#shaman-document-container div#keywords a:hover {
	color: #333333;
}
div#shaman-document-container div#keywords h3 {
	border-bottom: 1px solid #cccccc;
}


/* stats groups list */
div#orange-stats_groups-container div#orange-stats_groups_tree-container ul.tree {
	margin-left: 1.2em;
}
div#orange-stats_groups-container div#orange-stats_groups_tree-container ul.tree.first {
	margin-left: 0;
}
div#orange-stats_groups-container div#orange-stats_groups_tree-container li.tree.orange-active {
	background-color: #e0e0e0;
}

/* stats groups content */
div#orange-stats_groups-container {
	padding-top: 1em;
}

div#orange-stats_groups-container div#orange-breadcrumbs-container {
	margin-right: 172px;
}

div#orange-stats_groups-container div#orange-stats_groups_tree-container {
}
div#orange-stats_groups-container div#orange-stats_groups_tree-container ul.tree {
	margin-left: 1.2em;
}
div#orange-stats_groups-container div#orange-stats_groups_tree-container ul.tree li {
	padding: 2px;
}
div#orange-stats_groups-container div#orange-stats_groups_tree-container ul.tree.first {
	margin-left: 0;
}
div#orange-stats_groups-container div#orange-stats_groups_tree-container li.tree.orange-active {
	background-color: #e0e0e0;
}

div#orange-stats_groups_list-container {
}
div#orange-stats_groups_list-container div.content_left_actions {
	width: 48px;
	height: 32px;
	text-align: center;
}
div#orange-stats_groups_list-container div.content_left_actions div.catimg {
	width: 32px;
	height: 30px;
	margin-top: 1px;
	margin-left: auto;
	margin-right: auto;
	background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% auto;
	overflow: hidden;
	cursor: pointer;
}

div#orange-stats_groups_list-container div#breadcrumbs-container {
	margin-right: 320px;
}
div#orange-stats_groups_list-container div.breadscrumb_actions {
	width: 320px;
}
div#orange-stats_groups_list-container div.breadscrumb_actions div#stats_score {
	text-align: right;
	width: 80px;
	float: right;
    font-size: 0.9em;
    font-weight: bold;
}
div#orange-stats_groups_list-container div.breadscrumb_actions div#stats_elapsed {
	text-align: right;
	width: 80px;
}
div#orange-stats_groups_list-container div.breadscrumb_actions div#stats_attempts {
	text-align: right;
	width: 70px;
}
div#orange-stats_groups_list-container div.breadscrumb_actions div#stats_last_attempt {
	text-align: right;
	width: 80px;
}

div#orange-stats_groups_list-container div.stats_reports {
	width: 320px;
}
div#orange-stats_groups_list-container div.stats_reports div.stats_score {
	text-align: right;
	width: 80px;
	float: right;
}
div#orange-stats_groups_list-container div.stats_reports div.stats_elapsed {
	text-align: right;
	width: 80px;
}
div#orange-stats_groups_list-container div.stats_reports div.stats_attempts {
	text-align: right;
	width: 70px;
}
div#orange-stats_groups_list-container div.stats_reports div.stats_last_attempt {
	text-align: right;
	width: 80px;
}

div#orange-stats_groups_list-container div.course_title-container {
	margin-right: 320px;
}

/* stats groups courses details */
div#orange-stats_groups-container div.courseattempts-container {
	align-items: center;
}

div#courses-details-container div#courseattempts-list-container ul#courseattempts-list div.courseattempts-picto {
	width: auto;
	height: auto;
}
div#courses-details-container div#courseattempts-list-container ul#courseattempts-list div.courseattempts-picto img {
	margin: 0;
}
div#courses-details-container div#courseattempts-list-container ul#courseattempts-list div.courseattempts-success {
	width: auto;
	height: auto;
	text-align: center;
}
div#courses-details-container div#courseattempts-list-container ul#courseattempts-list div.courseattempts-success img {
    margin: 0;
}
div#courses-details-container div#courseattempts-list-container div.courseattempts-details {
	padding-top: 1em;
}

/* stats groups courses head: interactions/histo */
div#courses-details-container div#courseattempt-header-container {
	display: block;
}
div#orange-stats_groups-container div#courseattempt-header-container h3.bartitle {
	color: #ff7900;
	border-bottom: 1px solid #d0d0bf;
    font-size: 1.2em;
    height: 24px;
    line-height: 24px;
    margin-top: 2em;
}
div#courses-details-container div#courseattempt-header-container div#courseattempts-data-container {
	padding-top: 1em;
	padding-bottom: 1em;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
}
div#orange-stats_groups-container div#courseattempt-header-container div#courseattempt-success {
	height: auto;
	min-height: 48px;
	text-align: center;
	font-weight: bold;
}

/* mydashboard */
div#mydashboard-container {
	margin-top: 1em;
}
div#mydashboard-container ul#mydashboard li {
	margin: 0;
}
div#mydashboard-container ul#mydashboard li.chapter {
	margin-bottom: 1em;
	background-color: white;
}
div#mydashboard-container ul#mydashboard li.chapter ul {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	list-style-type: none;
}
div#mydashboard-container ul#mydashboard li.chapter ul li {
	min-width: 144px;
	flex-basis: 25%;
	text-align: center;
}
div#mydashboard-container ul#mydashboard li.chapter ul li div.graph-title {
	font-size: 1.2em;
    font-weight: bold;
    color: #666666;
	text-align: center;
}
div#mydashboard-container ul#mydashboard li.chapter ul li div.graph-result {
	font-size: 1.2em;
    color: #333333;
    min-height: 40px;
}

div#mydashboard-container div.catalog_title_container {
    min-height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
}
div#mydashboard-container div.catalog_title_container a.course_title {
	color: black;
	font-size: 1.4em;
	font-weight: bold;
}
div#mydashboard-container div.catalog-img-container {
	position: relative;
	width: 100%;
	padding-bottom: 83.23%;
	min-width: 0;
	height: auto;
}
div#mydashboard-container div.catalog-img-thumbnail {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	width: auto;
	height: auto;
}
div#mydashboard-container div.graph-picto-container {
	max-height: 132px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	width: 100%;
	padding-bottom: 50%;
	min-width: 0;
	height: auto;
}
div#mydashboard-container div.graph-picto-thumbnail {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	width: auto;
	height: auto;
}

/* page type main */
div#main div#middle-container {
	display: flex;
	flex-flow: row wrap;
	align-items: stretch;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}
div#main div#middle-container div#left {
	flex-basis: 66.8%;
	max-width: 66.8%;
	padding-right: 0.3em;
}
div#main div#middle-container div#right {
	flex-basis: 33.2%;
	max-width: 33.2%;
	padding-left: 0.3em;
}
div#main div#middle-container div.inner {
	height: 100%;
}
div#main div#middle-container div#right div.inner {
	background-color: white;
}
div#main h4.block-title {
	display: none;
}
div#main div.pages-block-text-container {
	background-color: white;
	height: 100%;
}
div#main div.block div.pages-block-text-container video {
	width: 100%;
	height: auto;
}
div#pages_form-container div#page_include div#main {
	padding-top: 0.6em;
	padding-bottom: 0.6em;
	background-color: #232323;
}
div#pages_form-container div#main div.block {
	min-height: 120px;
}
div#pages_form-container div#main div.block div.pages-block-text-container {
	height: 100%;
}

div#main div.color {
	height: 60px;
	line-height: 60px;
	background-color: #ff7900;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	font-size: 1.17em;
	font-weight: bold;
	color: white;
	text-align: center;
}

/* news article form */
div#news_article_form_container dt.form.tab {
	flex-basis: 25%;
	max-width: 25%;
}
div#news_article_form_container dd.form.tab {
	flex-basis: 75%;
	max-width: 75%;
}
div#news_article_form_container input#title {
	width: 422px;
}
div#news_article_form_container dd.form.tab input[type="text"] {
	border: 1px solid #c5c5c5;
	width: 422px;
}
div#news_article_form_container dd.form.tab div.mce-container {
	max-width: 420px;
}

/* news.block */
div#main div.pages-block-news-container {
	width: 100%;
}
div#main div.pages-block-news-container ul.news_mode_headline {
	display: flex;
	flex-flow: row wrap;
}
div#main div.pages-block-news-container ul.news_mode_headline li {
	flex-basis: 50%;
	max-width: 50%;
	overflow: hidden;
    border: 0;
	margin: 0;
	padding: 0;
	padding-bottom: 0.5em;
}
div#main div.pages-block-news-container ul.news_mode_headline li div.news-box {
	min-height: 280px;
	height: 100%;
	background-color: white;
	position: relative;
}
div#main div.pages-block-news-container ul.news_mode_headline li div.news-link-tag {
	position: absolute;
	width: 24px;
	height: 24px;
	background-image: url('imgs/news-link-tag.png');
	background-repeat: no-repeat;
	background-position: bottom right;
	right: 0;
	bottom: 0;
}
div#main div.pages-block-news-container ul.news_mode_headline li div.news-color {
	height: 60px;
	line-height: 60px;
}
div#main div.pages-block-news-container ul.news_mode_headline li div.news-title {
	display: flex;
	align-items: center;
	min-height: 60px;
	padding-left: 1em;
	padding-right: 1em;
	color: #ff6600;
	font-size: 1.1em;
	font-weight: bold;
}
div#main div.pages-block-news-container ul.news_mode_headline li div.news-text {
	padding: 1em;
}
div#main div.pages-block-news-container ul.news_mode_headline li.news-0 div.news-color {
	background-color: #ffd200;
}
div#main div.pages-block-news-container ul.news_mode_headline li.news-1 div.news-color {
	background-color: #4bb4e6;
}
div#main div.pages-block-news-container ul.news_mode_headline li.news-2 div.news-color {
	background-color: #50be87;
}
div#main div.pages-block-news-container ul.news_mode_headline li.news-3 div.news-color {
	background-color: #ffb4e6;
}

div#main div.pages-block-news-container ul.news_mode_headline li.news-0,
div#main div.pages-block-news-container ul.news_mode_headline li.news-2 {
	padding-right: 0.3em;
}
div#main div.pages-block-news-container ul.news_mode_headline li.news-1,
div#main div.pages-block-news-container ul.news_mode_headline li.news-3 {
	padding-left: 0.3em;
}
div#main div.pages-block-news-container ul.news_mode_headline li.news-2,
div#main div.pages-block-news-container ul.news_mode_headline li.news-3 {
	padding-bottom: 0;
}
div#main div.pages-block-news-container ul.news_mode_headline li div.news_title_container {
	display: none;
}
div#main div.pages-block-news-container ul.news_mode_headline li div.news_text {
	padding: 0;
	margin: 0;
	background-color: white;
	height: 100%;
	width: 100%;
	min-height: 280px;
}


/* orange specifics */
div#page-home-main-container div.box {
	height: 100%;
	background-color: white;
}

@media screen and (max-width: 720px){
	body {
		grid-template-rows: 44px auto 48px;
	}
	header#page-header {
		height: 44px;
	}
	header#page-header div#page-header-logo {
		height: 42px;
	}
	nav#main-menu-container ul#mobile-menu li#mobile-menu-open a {
		height: 44px;
		line-height: 44px;
	}
	aside#page-nav nav ul li#mobile-menu-close a {
		height: 44px;
		line-height: 44px;
	}

	nav#main-menu-container {
		display: block;
	}
	nav#main-menu-container div#logout-container {
		display: none;
	}

	div#courses-list-container ul li div.course-title-status,
	div#courses-list-container.sided ul li div.course-title-status {
		display: none;
	}
	div#courses-list-container ul li div.course-title-attempts,
	div#courses-list-container.sided ul li div.course-title-attempts {
		display: flex;
	}
	div#courses-list-container ul li div.course-img-status div.sidednode-status-container,
	div#courses-list-container.sided ul li div.course-img-status div.sidednode-status-container {
		display: block;
	}


	div#main div#middle-container {
		display: block;
	}
	div#main div#middle-container div#left {
		padding: 0;
		max-width: 100%;
	}
	div#main div#middle-container div#right {
		padding-left: 0;
		max-width: 100%;
	}
	div#main div.pages-block-news-container ul.news_mode_headline li.news-2,
	div#main div.pages-block-news-container ul.news_mode_headline li.news-3 {
		padding-bottom: 0.5em;
	}
}

@media screen and (max-width: 618px){
	div#page-home-main-container div.box-container {
		margin-left: auto;
		margin-right: auto;
	}
}

@media screen and (max-width: 598px){
	div#courses-details-container div#courseheader-container {
		flex-flow: column nowrap;
		align-items: center;
		padding: 0;
	}
}

@media screen and (max-width: 480px){
	div#main div.pages-block-news-container ul.news_mode_headline {
		display: block;
	}
	div#main div.pages-block-news-container ul.news_mode_headline li {
		padding-bottom: 0.5em;
		max-width: 100%;
	}
	div#main div.pages-block-news-container ul.news_mode_headline li.news-0,
	div#main div.pages-block-news-container ul.news_mode_headline li.news-2 {
		padding-right: 0;
	}
	div#main div.pages-block-news-container ul.news_mode_headline li.news-1,
	div#main div.pages-block-news-container ul.news_mode_headline li.news-3 {
		padding-left: 0;
	}
	div#main div.pages-block-news-container ul.news_mode_headline li div.news_text {
		min-height: 320px;
	}
}

@media screen and (max-width: 320px){
	div#page-home-main-container div#page-home-list {
		display: block;
	}
}