/*
Index
======
1. GENERIC STYLE
	1.1 TABLE
2. TYPO
	2.1 HEADINGS
	2.2 TEXT
3. HEADER
4. VOLET
5. TOOLBAR
	5.1 NAVIGATION ELEMENTS
	5.2 RELATED LINKS
6. PAGINATION SLIDE LINEAR LAYOUT
7. SLIDES
	7.1 COLUMN
	7.2 FREAKY DISC
8. TOOL BLOCK (SUMMARY & CONFIG)
	8.1 TOOLS ELEMENTS
9. CSS TRANSITIONS
*/

@font-face {
	font-family: 'os-bold';
	src: url('../fonts/opensans-bold-webfont.eot');
	src: url('../fonts/opensans-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/opensans-bold-webfont.woff2') format('woff2'),
         url('../fonts/opensans-bold-webfont.woff') format('woff'),
         url('../fonts/opensans-bold-webfont.ttf') format('truetype'),
         url('../fonts/opensans-bold-webfont.svg#open_sansbold') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'os-regular';
	src: url('../fonts/opensans-regular-webfont.eot');
	src: url('../fonts/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/opensans-regular-webfont.woff2') format('woff2'),
         url('../fonts/opensans-regular-webfont.woff') format('woff'),
         url('../fonts/opensans-regular-webfont.ttf') format('truetype'),
         url('../fonts/opensans-regular-webfont.svg#open_sansregular') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'os-light';
	src: url('../fonts/opensans-light-webfont.eot');
	src: url('../fonts/opensans-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/opensans-light-webfont.woff2') format('woff2'),
         url('../fonts/opensans-light-webfont.woff') format('woff'),
         url('../fonts/opensans-light-webfont.ttf') format('truetype'),
         url('../fonts/opensans-light-webfont.svg#open_sanslight') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'FontAwesome';
	src: url('../fonts/fontawesome-webfont.eot?v=4.3.0');
	src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.3.0') format('embedded-opentype'), 
  			url('../fonts/fontawesome-webfont.woff2?v=4.3.0') format('woff2'),
  			url('../fonts/fontawesome-webfont.woff?v=4.3.0') format('woff'),
  			url('../fonts/fontawesome-webfont.ttf?v=4.3.0') format('truetype'),
  			url('../fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular') format('svg');
	font-weight: normal;
	font-style: normal;
}

/*
1.	Generic style
======
*/

body {
	background-color: #333;
	color: #fff;
	font-family: 'os-light';
}

a,
a:hover,
a:focus,
button,
button:hover,
button:focus,
input,
input:hover,
input:focus {
	-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

a {
	color: #fff;
}

a:hover,
a:focus {
	text-decoration: none;
}

a:focus,
select:focus,
button:focus {
	outline: 2px solid yellow;
}

button {
	background: none;
	border: none;
}

.slide button {
	border: 1px solid #ddd;
	border-radius: 3px;
	font-size: 90%;
	margin-bottom: 2px;
}

.slide button:hover {
	border: 1px solid orange;
	background: #ddd;
	color: #000;
}

figcaption {
	font-size: 80%;
}

strong {
	font-family: 'os-regular';
}

blockquote {
	font-style: italic;
}

q {
	font-style: italic;
	quotes: "« " " »";
}

blockquote q {
	font-style: normal;
}

code,
kbd {
	position: relative;
	top: -2px;
	padding: 1px 3px;
	border: 1px solid #fff;
	background: #ddd;
	color: #000;
	font-size: 70%;
	line-height: 1em;
	white-space: nowrap;
	border-radius: 2px;
}

h3 code,
h3 kbd {
	background: inherit;
}

pre code {
	border: 0;
	white-space: pre-wrap;
}

.hljs {
	padding: 10px;
}

.slide img {
	box-shadow: 0 0 3px #fff;
	border: 3px solid #333;
}

/** @subsection 1.1 TABLE **/

table {
	width: auto;
	min-width: 70%;
	margin: auto;
}

caption {
	padding: 5px;
	color: #000;
	font-weight: bold;
	text-align: left;
	background: orange;
}

thead {
	border-bottom: 1px solid #fff;
}

tbody tr:nth-child(even) {
	background-color: #ddd;
	color: #000;
}

th {
	padding: 10px;
	color: orange;
	font-weight: bold;
	text-align: center;
}

td {
	padding: 10px;
	text-align: center;
}

/**
 * -------------------------
 * @section 2. TYPO
 * -------------------------
 */

/** @subsection 2.1 HEADINGS **/

h2 {
	margin-bottom: 0;
	padding: 0.1em;
	border-left: 5px solid orange;
	color: #000;
	-webkit-font-feature-settings: "c2sc";
	-moz-font-feature-settings: "c2sc";
	font-feature-settings: "c2sc";
	font-variant: small-caps;
	line-height: 1.1em;
	font-family: 'os-bold';
	background: #ddd;
}

.couv h2,
.end h2 {
	float: none;
	border-left: 0;
	color: #fff;
	text-align: center;
	background: transparent;
}

h3 {
	padding: 0 5px 5px 5px;
	margin: 0;
	border-top: 2px solid orange;
	background: #fff;
	color: #000;
	-webkit-font-feature-settings: "c2sc";
	-moz-font-feature-settings: "c2sc";
	font-feature-settings: "c2sc";
	font-variant: small-caps;
	font-weight: normal;
	font-family: 'os-regular';
}

h4 {
	margin: 0.3em;
}

h5 {
	margin: 0.3em;
}

h6 {
	margin: 0.3em;
}

/** @subsection 2.2 TEXT **/

.slide p,
.slide ul,
.slide ol,
.slide blockquote {
	margin: 0.2em 0 0.5em 0;
	line-height: 150%;
}

.slide ul ul,
.slide ul ol {
	font-size: 100%;
	line-height: 100%;
}

.slide .small {
	font-size: 90%;
	font-weight: normal;
}

.slide .small * {
	font-size: 100%;
	font-weight: normal;
}

/**
 * -------------------------
 * @section 3. HEADER
 * -------------------------
 */

.main-header h1 {
	font-size: 3vh;
	color: #fff;
	font-weight: normal;
}

.modeplan .main-header {
	background: #333;
	box-shadow: 0 2px 3px #bbb;
}

/**
 * -------------------------
 * @section 4. VOLET
 * -------------------------
 */

#volet {
	background: #333;
}

/**
 * -------------------------
 * @section 5. TOOLBAR
 * -------------------------
 */

.tool-bar {
	background: #333;
}

.modeplan .tool-bar {
	box-shadow: 0 -2px 3px #bbb;
	background: #333;
}

/** @subsection 5.1 NAVIGATION ELEMENTS **/

.select-goto {
	color: #000;
	border: none;
}

.slide-counter-current {
	background-color: #333;
	color: #fff;
	border: 1px solid #fff;
}

.slide-counter-total {
	background-color: #fff;
	color: #000;
	border: 1px solid transparent;
}

.btn:hover .icon {
	opacity: 0.5;
}

.btn[disabled="disabled"]:hover {
	opacity: 1;
	cursor: default;
}

/** @subsection 5.2 RELATED LINKS **/

.related a {
	padding: 2px 3px;
	font-size: 70%;
	border: 1px solid #fff;
	border-radius: 3px;
	text-decoration: none;
}

.related a img {
	position: related;
	margin-top: -4px;
}

.related a:hover {
	color: #000;
	background: #ddd;
	border: 1px solid #aaa;
}

/**
 * -------------------------
 * @section 6. PAGINATION SLIDE LINEAR LAYOUT
 * -------------------------
 */

.index {
	padding-top: 15px;
	border-radius: 0;
}

.index span {
	padding: 0;
	color: #000;
	background-color: #fff;
}

/**
 * -------------------------
 * @section 7. SLIDES
 * -------------------------
 */

.modeplan .slide {
	border-bottom: 2px solid #fff;
	padding-top: 1em;
}

.couv,
.end {
	text-align: center;
	color: #fff;
}

.credit {
	padding: 0;
}

.credit li {
	display: inline-block;
}

.credit a {
	padding: 2px 3px;
	border: 1px solid #ddd;
	border-radius: 3px;
	text-decoration: none;
}

.credit a:hover,
.credit a:focus {
	background: orange;
	border: 1px solid #fff;
}

/** @subsection 7.1 COLUMN **/

/** @subsection 7.2 FREAKY DISC **/

.list-disc {
	padding: 0;
}

.list-disc li {
	list-style: none;
}

button.disc {
	display: block;
	width: 100%;
	border: none;
	padding-top: 85px;
}

button.disc1 {
	background: transparent url("../img/disc_1_gray.png") center top no-repeat;
}

button.disc1:hover,
button.disc1:focus {
	background: transparent url("../img/disc_1.png") center top no-repeat;
}

/**
 * -------------------------
 * @section 8. TOOL BLOCK (SUMMARY & CONFIG)
 * -------------------------
 */

.tool-block {
	background-color: #ddd;
	color: #000;
	box-shadow: 0 0 10px #000;
}

.tool-block-title {
	padding-top: 5px;
	font-size: 1.2em;
	text-align: center;
	border-bottom: 1px dashed #fff;
	text-transform: uppercase;
}

.tool-block li,
.tool-block label,
.tool-block select {
	font-size: 0.75em;
}

/** @subsection 8.1 TOOLS ELEMENTS **/

.tool-block-settings fieldset {
	border: none;
}

.tool-block-settings legend {
	font-size: 1.5em;
	-webkit-font-feature-settings: "c2sc";
	-moz-font-feature-settings: "c2sc";
	font-feature-settings: "c2sc";
	font-variant: small-caps;
}

.help {
	color: #fff;
	border: 1px solid orange;
	border-radius: 5px;
	background: #333;
}

.tool-block button:hover,
.tool-block button:focus {
	color: #fff;
}

.btn-setting { /* Save & Default button*/
	background-color: orange;
	border: 1px solid  #fff;
	color: #000;
}

.btn-setting:hover,
.btn-setting:focus {
	background: #333;
	color: #fff;
}

/**
 * -------------------------
 * @section 9. CSS TRANSITIONS
 * -------------------------
 */

#volet.Flash {
	background: #fff;
}

@media screen and (min-width: 48em) {

h2 {
	float: left;
	margin-bottom: 0.5em;
}

h2 + * {
	clear: both;
}

h3 {
	float: left;
	margin-bottom: 1em;
}

h3 + * {
	clear: both;
}

.col-left {
	float: left;
	width: 50%;
	padding: 0 5% 0 0;
}

.col-right {
	float: right;
	width: 50%;
	padding: 0 0 0 5%;
}

.list-disc li {
	float: left;
	width: 25%;
}

}

@media screen and (max-width: 48em) and (min-width:24em) {

.list-disc li {
	float: left;
	width: 50%;
}

}

@media screen and (max-width: 48em) {

.main-header h1 {
	font-size: 80%;
}

.main-header {
	background: #333;
	padding: 5px;
	box-shadow: 0 2px 3px #bbb;
}

.tool-bar {
	box-shadow: 0 -2px 3px #bbb;
}

.related {
	background: #333;
	border: 3px solid #ddd;
	border-left: 0;
	border-bottom: 0;
}

}

