﻿@charset "UTF-8";
/*
Theme Name: CSMB
Description: Theme pour les sites web des écoles primaires de la commission scolaire Marguerite-Bourgeoys
Version: 1.0
Author: Karine Savaria Handfield (PAR Design)
Author URI: http://www.pardesign.net/
*/

@import url('fonts/pluto_regular_macroman/stylesheet.css');

/* RESET
******************************************************************************************/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin:0; padding:0; border:0; font-size:100%; font:inherit; vertical-align:baseline; text-decoration: none; }
/* HTML5 display-role reset for older browsers */
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }

/* HELPERS
******************************************************************************************/
.clr, .clear	{ clear:both; display:block; }

.cf:before,
.cf:after	{ content:""; display:table; }
.cf:after	{ clear:both; }
.cf 	 		{ zoom:1; }

.alignleft		{ float: left; margin: 0 10px 10px 0; }
.alignright		{ float: right; margin: 0 0 10px 10px; }
.aligncenter	{ margin: auto; display: block; }

/* MAIN BLOCKS
**********************************************************************************************************************/
body { position: relative; font-family: Arial, sans-serif; font-size: 16px; color: #444; }

.container-fluid { max-width: 960px; margin: 0 auto; }

.content{ padding-top: 30px; padding-bottom: 30px; } 

/* Sidebar */
.sidebar .inner	{ border: 1px solid #bcbcbc; }

.sidebar li 	{ list-style-type: none; font-size: 14px; font-weight: 400; box-sizing: border-box }
.sidebar h3	{ 
	font-size: 14px;
	font-weight: 800;
	padding: 18px 26px; 
	background-color: #efefef; 
	border-top: 1px solid #bcbcbc;
	border-bottom: 1px solid #bcbcbc;
}
.sidebar > li:first-child h3 { border-top: 0; margin-top: 0; }
.sidebar h4	{ margin: 0; }

.sidebar ul,
.sidebar ol,
.sidebar p { margin: 15px; }

.sidebar ul li			{ padding-left: 15px; margin: 18px 0; background: url(images/widget-bullet.png) no-repeat 0 4px; font-size: 14px; line-height: 1; }

.tribe-events-list-widget ol li								{ margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #bcbcbc; }
.tribe-events-list-widget ol li *								{ font-weight: normal; font-size: 14px; }
.tribe-events-list-widget ol li .entry-title a					{ font-weight: 700; }
.tribe-events-list-widget .tribe-events-widget-link a:hover	{ text-decoration: underline; }

#tribe-events .tribe-events-ical.tribe-events-button	{ display: none; }

/* MAIN TEXT
**********************************************************************************************************************/
a		{ text-decoration: none; color: #213847; }
a:hover, 
a:focus	{ text-decoration: underline; }

h1, h2, h3, h4, h5, h6	{ color: #213847; font-weight: bold; margin: 15px 0; }

h1 { font-size: 36px; }
h2 { font-size: 24px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p		{ line-height: 24px; margin-bottom: 15px; }
li		{ line-height: 24px; margin-bottom: 10px; }
ul, ol	{ margin-bottom: 15px; margin-left: 20px; }
ul		{ list-style-type: disc; }
ol		{ list-style-type: decimal; }

b, strong	{ font-weight: bold; }
em		{ font-style: italic; }

/* HEADER
**********************************************************************************************************************/
.header			{ text-align: center; position: relative; z-index: 9999; }
.header-top		{ 
	padding: 35px 0; 
	background: url(images/header-bg.jpg) no-repeat center top; 
	-moz-background-size: cover;
	-webkit-background-size: cover;
	background-size: cover; 
}
.header-bottom	{ background-color: #213847; border-bottom: 1px solid #444444; height: 90px; line-height: 90px; }

.header-top a:hover	{ text-decoration: none; }

.site-title *	{ 
	margin: 3px 0 5px; 
	color: #fff; 
	font-size: 72px; 
	text-transform: uppercase; 
	text-shadow: 0 0 7px rgba(0, 0, 0, 0.5);
}
.site-title h1	{ font-weight: bold; }
.site-title h2	{ font-size: 30px; }

.social-icons	{ float: right; height: 47px; }
.social-icons a	{ margin-left: 23px; font-size: 27px; color: #476675; }

.header .btn-down	{ font-size: 48px; color: #FFF; text-shadow: 0 0 7px rgba(0, 0, 0, 0.5); }

#google_translate_element	{ position: absolute; top: 0; right: 0; }

/* MENU
**********************************************************************************************************************/
.main-nav-wrap h1 { display: none; margin: 0; }

.main-nav-wrap ul 						{ margin: 0; list-style-type: none; text-align: left; }
.main-nav-wrap li						{ margin: 0; }
.main-nav-wrap > ul						{ height: 90px; }
.main-nav-wrap > ul > li				{ display: inline-block; position: relative; padding: 0 15px; height: 90px; line-height: 90px; }

.main-nav-wrap a			{ display: block; font-size: 18px; font-weight: 300; color: #ffffff; }

.main-nav-wrap li.current-menu-item > a,
.main-nav-wrap li.current-menu-ancestor > a	{ font-weight: bold; }

.main-nav-wrap li:hover .sub-menu { display: block; }

.main-nav-wrap .sub-menu {
	display: none;
	position: absolute; 
	top: 90px;
	left: -20px; 
	z-index: 9999;
	width: 220px;
	padding: 0 0 10px 34px;
	background-color: #213847;
	border: 1px solid #444444;
	border-top-color: #213847;
	-moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}
.main-nav-wrap .sub-menu li			{ margin: 5px 0; padding: 8px 0; }
.main-nav-wrap .sub-menu li a			{ padding-right: 10px; }

.breadcrumbs-wrap	{ height: 47px; line-height: 47px; background: #EFEFEF; border-bottom: 1px solid #BCBCBC; font-size: 16px; }
.breadcrumbs		{ line-height: 47px; color: #A3A3A3; margin: 0; float: left; }
.breadcrumbs a		{ font-weight: bold; }

/* BLOG
**********************************************************************************************************************/
.blog .content,
.archive .content,
.single .content	{ position: relative; }

.article-list .article	{ margin-bottom: 75px; }
.article-thumb			{ float: left; margin-right: 40px; margin-bottom: 40px; max-width: 50%; }
.article-thumb img		{ max-width: 100%; height: auto; }

ul.page-numbers			{ float: right; text-align: right; margin: 10px 0 20px; }
ul.page-numbers li 		{ display: inline; padding: 10px; font-size: 24px; font-weight: bold; }

/* CALENDAR
**********************************************************************************************************************/
.tribe-events-calendar			{ background: #fff; }
.tribe-events-calendar thead th	{ word-break: break-all; font-weight: bold; padding: 8px 0; }

.tribe-events-calendar td.tribe-events-past div[id*="tribe-events-daynum-"]	{ color: #333; }

/* FOOTER
**********************************************************************************************************************/
.footer 		{ height: 100px; background: #333333; border-top: 1px solid #444444; }
.footer p	{ line-height: 100px; color: #cecece; text-align: right; margin: 0; }
.footer p a	{ color: #cecece; }

.footer-left	{ float: left; }
.footer-right	{ float: right; }

.footer-widgets		{ border-top: 1px solid #bcbcbc; padding: 75px 0; }
.footer-widget h3	{ font-size: 18px; font-weight: 800; margin-bottom: 17px; letter-spacing: -1px; }

.footer-widgets li	{ list-style-type: none; }

.footer-widgets ul		{ margin: 0; }
.footer-widgets ul li	{ padding-left: 15px; margin: 18px 0; background: url(images/widget-bullet.png) no-repeat 0 4px; font-size: 14px; line-height: 1; }


/* MEDIA QUERIES
**********************************************************************************************************************/
@media only screen and (max-width: 960px) {
	
	.main-nav-wrap > ul > li	{ padding: 0 5px; }
	
	.site-title h1	{ font-size: 60px; }
	.site-title h2	{ font-size: 24px; }
		
	.page-template-tpl-right-sidebar-php .post-content,
	.page-template-tpl-left-sidebar-php .post-content	{ width: 100%; float: none; margin: 0; }
	.page-template-tpl-right-sidebar-php .sidebar,
	.page-template-tpl-left-sidebar-php .sidebar		{ display: none; }
	
	.article-list .article	{ margin-bottom: 55px; }
	.article-thumb			{ margin-right: 20px; margin-bottom: 20px; }
	
	.footer			{ height: auto; }
	.footer p		{ line-height: 1; margin: 15px 0; text-align: center; }
	.footer-left,
	.footer-right	{ float: none; }

}

@media only screen and (max-width: 767px) {

	.header-top		{ padding: 58px 0; }

	.site-title h1	{ font-size: 30px; }
	.site-title h2	{ font-size: 14px; }

	.logo img	{ max-height: 150px; }
	
	.main-nav-wrap { 
		position: relative;
	}
	.main-nav-wrap h1		{ display: block; font-weight: bold; }
	.main-nav-wrap h1 i { 
		font-weight: bold;
		font-size: 24px;
		vertical-align: middle;
		-moz-transition: all 0.5s ease-in-out;
		-webkit-transition: all 0.5s ease-in-out;
		-o-transition: all 0.5s ease-in-out;
		transition: all 0.5s ease-in-out;
	}
	.main-nav-wrap.open h1 i {
		-moz-transform: rotate(-180deg);
		-webkit-transform: rotate(-180deg);
		-o-transform: rotate(-180deg);
		transform: rotate(-180deg);	
	}
	
	.main-nav-wrap > ul {
		display: none;
		position: absolute; 
		top: 90px;
		left: 0; 
		width: 100%;
		height: auto;
		padding: 5px 20px 10px;
		background-color: #213847;
		border: 1px solid #444444;
		border-top-color: #213847;
		-moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.1);
		-webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
		box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
		text-align: left;
	}

	.main-nav-wrap ul li					{ display: block; padding: 0; margin: 30px 0; line-height: 1; height: auto; }
	.main-nav-wrap > ul  > li:first-child	{ margin-top: 10px; }
	.main-nav-wrap > ul  > li:last-child 	{ margin-bottom: 10px; }
	.main-nav-wrap .sub-menu { 
		display: block; 
		position: relative; 
		top: auto; 
		left: auto; 
		width: auto; 
		background: none;
		border: none; 
		margin-left: 20px;
		padding: 0;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
	}
	.main-nav-wrap .sub-menu li			{ margin: 30px 0; }

	.article-list, 
	.single .article		{ width: 100%; float: none; margin: 0; }
	.article-list .article	{ margin-bottom: 55px; }
	.article-list:before, 
	.single .article:before,
	.sidebar,
	.footer-widgets,
	#google_translate_element	{ display: none; }
	
	#tribe-events-content .tribe-events-calendar td	{ height: 70px; }
}

@media only screen and (max-width: 479px) {	

	.site-title h1	{ font-size: 22px; }
	.site-title h2	{ font-size: 10px; }
	
	.logo img	{ max-height: 100px; }
	
	.social-icons	{ display: none; }
	
	.main-nav-wrap {
		border: none;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
	}
	
	.article-list h2	{ font-size: 24px; }
	.article-thumb		{ float: none; margin-right: 0; text-align: center; max-width: none; }
	
	#tribe-events-content .tribe-events-calendar td	{ height: 50px; }
	
	body	{ background-image: none!important; }
}