/*
Theme Name: EDU 1070
Author: Marie-Josée Briand & Annick Desmeules
Description: Thème relatif au cours EDU 1040 - Théorie d'apprentissage et éducation des adultes
Version: 1.0
*/

/*
Fait à partir du cours EDU 1040 développé par Annick Desmeules
*/

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

img{
	max-width: 100%;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: .2em 0;
    background: #ccc;
    color: #000;
    padding: .2em 0;
}


/* ==================================================
 * généraux
 * ================================================== */

*,
*:before,
*:after{
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	
	background-repeat: no-repeat;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
	font-family: 'OptimaLTStd-Bold';
	src: url('fonts/Optima/OptimaLTStd-Bold.eot'); 
	src: url('fonts/Optima/OptimaLTStd-Bold.eot?#iefix') format('embedded-opentype'), 
	     url('fonts/Optima/OptimaLTStd-Bold.svg#CharisReg') format('svg'),
	     url('fonts/Optima/OptimaLTStd-Bold.woff') format('woff'), 
	     url('fonts/Optima/OptimaLTStd-Bold.ttf')  format('truetype');
	font-weight: 700;
	font-style:regular;
}
@font-face {
	font-family: 'OptimaLTStd-Italic';
	src: url('fonts/Optima/OptimaLTStd-Italic.eot'); 
	src: url('fonts/Optima/OptimaLTStd-Italic.eot?#iefix') format('embedded-opentype'), 
	     url('fonts/Optima/OptimaLTStd-Italic.svg#CharisReg') format('svg'),
	     url('fonts/Optima/OptimaLTStd-Italic.woff') format('woff'), 
	     url('fonts/Optima/OptimaLTStd-Italic.ttf')  format('truetype');
	font-weight: 400;
	font-style: italic;
}


html, 
body {
	height: 100%;
}
html{
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
}

body {
	background: #edede9;
	color: #333;
	font: 100%/21px Georgia, "Times New Roman", Times, serif;
	margin: 0 auto;
	padding: 0;
	width: 100%;
}

#zoneLogo {
	width:100%;
	height: 60px;
	padding: 0;
	background: #1d1d1b;
}

#zoneLogo #logo{
	width: 960px;
	margin: 0 auto;
	text-align: right;
}

#zoneLogo img{
	margin-top: 4px;
	margin-right: 10px;
}

#page {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -28px;
	width: 960px;
	background-color: #d0d2c8;
}

header {
	width: 960px;
	position:relative;
}

header img{
	vertical-align: top;
	border-bottom: 1px solid #000;
}/*Colle l'image dans le haut et empêche un espace après*/

.menu-header {
    height: 40px;
    position: relative;
    z-index: 1;	
}

header nav {
	width: 960px;
	background: #fff;
	padding-bottom: 3px;
	position: relative;
    z-index: 0;
}

header nav:after{
	content: "";
	background: #ececec;
	border-left: 1px solid #d0d2c8;
	border-right: 1px solid #d0d2c8;
	position: absolute;
	right: 0;
	bottom: 0;
	height: 100%;
	width: 225px;
}

header nav ul{
	font-size: .9375em;
	list-style-type:none;
	margin:0 auto;
	padding:0;
	height:31px;
	line-height: 30px;
	text-align:center;
}

@-moz-document url-prefix() {
	header nav ul{height:32px;}
}

header nav ul li {
	color: #4D4D4D;
	display: inline-block;
	margin-left: 4px;
	position: relative;
	text-transform: uppercase;
}

header nav ul li:before{
	float: left;
	font-weight:700;
	margin-top: 8px;
	padding-bottom: 7px;
	border-bottom: 7px solid #4D4D4D;
}
.firefox-mac header nav ul li:before{
	padding-bottom: 8px;
}

header nav a:link, 
header nav a:visited{
	font-family: "OptimaLTStd-Bold", Arial, Helvetica, sans-serif!important;
	display: block;
	text-decoration: none;
	margin: 0;
	padding: 9px 10px 5px;
	font-weight:700;
	color: #575757;
	line-height: 22px;
}

header nav a:active, 
header nav a:hover, 
header nav a:focus,
header nav .current_page_item >a, 
header nav .current-menu-item >a,  
header nav .current-page-ancestor >a,
header nav .current-page-ancestor.his_res >a{
	color: #602618;
	border-bottom:7px solid #1fa591;
}

header >a:link, 
header >a:visited{
	position:absolute;
	top: 10px;
	right: 20px;
	font-size: 15px;
	font-size: .9375rem;
	font-family: "OptimaLTStd-Bold", Arial, Helvetica, sans-serif!important;
	color: #323232;
	text-decoration: none;
}

header >a:active, 
header >a:hover, 
header >a:focus{
	text-decoration: underline;
}

/**/
#content{
	min-height: 500px;
	padding-bottom: 50px;
}
/**/
#left{
	width: 195px;
	height: 100%;
	float: left;
	display: block;
}

#left nav{
	font-family: "OptimaLTStd-Bold", Arial, Helvetica, sans-serif;
	font-size: .9375em;
}

#left ul{
	margin: 0;
	padding: 0;
	list-style-type:none;
}

#left ul ul {
	margin-left:10px;
}

#left ul ul li {
	margin: 6px .5em 6px 0;
}

#left ul ul ul li {
	font-style: italic;
	font-size: 14px;
	font-size: .875rem;
    margin: 2px 0;
}

#left a:link, 
#left a:visited{
	color: #333;
	padding: 4px 20px;
	margin-left: -15px;
	display: block;
	text-decoration: none;
}

#left a:active,
#left a:hover,
#left a:focus,
#left .current_page_item >a{
	color: #fff; 
	background-color: #02665e;
}

#left .current_page_ancestor >a{
	color: #fff; 
	background: #35857e;
}

#left ul ul ul li a:link,
#left ul ul ul li a:visited{
	display: inline-block;
    padding: 2px 20px;	
}

/*#left ul#menu-accueil ul.sub-menu li.current_page_item>a {
    background-color: transparent!important;
    color: #4a2324!important;
}

#left ul ul ul{
	list-style-image:url('images/edu1070_puce_moins.png');
	margin-left: 10px;
}

#left ul ul ul li{
	margin:0;
	font-size:.875em;
}

#left ul ul ul li a:link{
	font-style:italic;
}*/

/**/
section{
	background-color: #fff;
	margin: 40px 0 0 220px;
	display: block;
	width: 710px;
	padding: 15px 20px 10px;
	font-size: 14px;
	font-size: .875rem;/*14/16*/
	border-top: 4px solid #712a2c;
	min-height: 500px;
}

section h1{
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 2.14em;/*30/14*/
	font-weight: bold;
	color: #fff;
	background-color: #02665e;
	height: 40px;
	display: inline-block;
	margin-left: -25px;
	padding: 8px 20px;
}

section h2{
	font-family: "OptimaLTStd-Bold", Arial, Helvetica, sans-serif;
	font-size: 1.428em;/*20/14*/
	color: #602618;
	margin-bottom: 0;
}

section h2 + h3{
	margin-top:10px;
}

section h3{
    font-family: "OptimaLTStd-Italic", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-size: 1rem;
    color: #602618;
}

section h3 + p{
	margin-top:0;
}

section #respond h3,
section h4{
	color: #602618;
	font-size: 14px;
	font-size: .875rem;
	text-transform: uppercase;
}

section h4 + p{
	margin-top:5px;
}

.lien_top a:link,
.lien_top a:visited{
	color: #492223;
	text-decoration: none;
	word-break: break-word;
}

.lien_top {
    background-color: #fff;
	margin: 0;
    margin-left: 220px;
	padding: 20px;
    text-align: right;	
    width: 710px;
}

.lien_top a:link,
.lien_top a:visited{
	font-family: "OptimaLTStd-Bold", Arial, Helvetica, sans-serif;
	font-size: .875em;	
}
.lien_top a:active,
.lien_top a:hover,
.lien_top a:focus {
	color: #0B7A78;
	text-decoration: underline;
}

section a:link,
section a:visited{
	color: #0B7A78;
	text-decoration: underline;
}

section a:active,
section a:hover,
section a:focus{
	color: #492223;
}



section ul {
	list-style-image:url(images/edu1070_puce.gif);
}

dt{
	float:left;
}
dd{
	margin-left:75px;
	margin-bottom: 20px;
}

section .note{
	margin-top: 50px;
	margin-bottom: 30px;
	font-size: smaller;
	padding-left: 20px;
	text-indent: -15px;
	border-top: 1px solid #999;
}

section .encadre{
	border:1px solid #333;
	padding: 10px 20px;
}

section .biblio{
	margin-top:10px;
	padding-left:30px;
	background:url(images/fleche.png) no-repeat -1px 6px;
	min-height: 18px;
}


/****************LISTE avec parentese******************************/
section ol.alpha {
	counter-reset: list;
}

section ol.alpha > li {
	list-style: none;
	padding-left: 10px;
}

section ol.alpha > li:before {
	content: counter(list, lower-alpha) ") ";
	counter-increment: list;
	margin-left: -1.5em;
	float:left;
}

/*Details*/
summary::-webkit-details-marker {
	display:none;
}
details> summary:before{
	content:""!important;
}

summary:after {
	content: "";
	float:right;
	background:url("images/plus_moins.gif") no-repeat;
	width:13px;
	height: 13px;
	margin-top: 4px;
}

details[open]> summary:after,
details.open> summary:after {
	background-position:0 -13px;
}

details> summary{
	background-color: #00a099;
	color: #FFF;
	text-transform: uppercase;
	padding:2px 10px;
}

details ol {
	counter-reset: list;
	margin: 0;
	padding:0;
}

details ol > li:nth-child(even){
	background-color: rgb(255, 255, 255);
}

details ol > li:nth-child(odd){
	background-color: rgb(245, 245, 245);
}

details ol > li:before{
	content: counter(list) ". ";
	counter-increment: list;
	margin-left: -1.5em;
	float:left;
}

details ol > li{
	border: 1px solid #c6c6c5;
	border-top:none;
	padding: 5px 10px 5px 30px;
	list-style: none;
}

details p{
	word-wrap: break-word;
}
/* * Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden {
	border: 0;clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/**/
.clearfix{
	clear:both;
}

table {
	margin:10px auto;
}

table th,
table td{
	border: 1px solid #c6c6c5;
	text-align: left;
	vertical-align: top;
	padding: 5px;
	background-color: #f5f5f5;
}

table td ul{
	padding-left: 0;
	margin-left: 30px;
	margin-right: 40px;
}

table+table{
	margin-top:20px;
}

/*figure*/
.wp-caption.aligncenter{
	margin:0 auto;
}

.wp-caption-text{
	font-size:small;
}

/**/
.push {
	height:28px; /* .push must be the same height as .footer */
}

footer{
	font-family:"OptimaLTStd-Bold", Arial, Helvetica, sans-serif;
	color:#FFF;
	text-align:center;
	font-size:.875em;
	height:40px;
	background: #30100a;
	padding-top:12px;
	color:#FFF;
	line-height:30px;
}


/* COMMENTS */
.comment-list{
    border-top: 1px solid #30100A;
	list-style-type: none;
	margin-top: 40px;
    padding-left: 0;	
	padding-top: 30px;
}

.comment-list >li{
    border-bottom: 1px solid #30100A;
	padding-bottom: 30px;
}

.comment-form-comment > label{
	display: none;
}

#comment{
	width: 100%;
}

.children{
    border-top: 1px solid #ccc;
	list-style-type: none;
	margin-top: 30px;
    padding-top: 30px;	
}

.children > li + li{
	margin-top: 30px;	
}


/*@media all and (device-width: 768px) and (device-height: 1024px){
	header nav ul li:before{
		padding-bottom: 6px;
	}
}*/

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait){
	footer, 
	body{
		width:758px;
	}
}

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape){
	footer, 
	body{
		width:1024px;
	}
}

.page-template-page-accueil-php #jwplayer-0_wrapper{
	margin:0 auto;
}
.page-template-page-accueil-php small{
	font-size:small;
	display:block;
	margin-bottom:2em;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: .5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}