/*
Theme Name:   Colors
Theme URI:    http://tp1.com
Description:  Thème Colors pour les écoles primaires.
Version:    20120510
Template:   tp1
Author:     TP1
Author URI:   http://tp1.ca
Tags:     TP1
*/
@import url(../tp1/style-reset.css);
/* @import url(../tp1/style-shared.css); */
@import url(layout.css);
@import url(post.css);
@import url(fonts.css);

html {
  height: 100%;
}

body {
  color: #333;
  font: normal 81.3% Helvetica;
  line-height: 1.308em;
}

#content {
  background: #f6f6f3 url('images/content-bg.png') no-repeat left bottom;
  box-shadow: 0px 7px 5px #b0aca5;
  -webkit-box-shadow: 0px 7px 5px #b0aca5;
  -moz-box-shadow: 0px 7px 5px #b0aca5;  
}

/* #banner {
  position: absolute;
  top: -345px;
  width: 100%;
} */

#banner img {
  max-width: 980px;
}

#banner .frame {
/*  width: 980px;
  height: 300px;
  background: url('images/frame-bg.png') no-repeat 0 0;
  position: absolute;
  top: -242px;
  left: 44px; */
}

#banner a {
  position: relative;
  text-decoration: none;
}

#header #school a {
  height: auto;
  min-height: 50px;
}

#header .menu li {
  padding: 0px;
}

#header .menu li a {
  background: url('images/header-divider.png') no-repeat 0 14px;
  padding: 12px 7px 12px 13px;
}

#header .menu li.first a {
  background-image: none;
  padding-left: 0px;
}

#header .menu a {
  border: none;
  padding: 2px 4px;
}

#header .menu .first a {
  padding-left: 4px;
}

/*
 * Main column elements
 */

#main .top .social {
  bottom: 0;
  font: normal 10px Helvetica;
  margin: 0;
  position: absolute;
  right: -6px;
}

#main .top .social a {
	color: #666 !important;
}

#main .social a:hover {
  color: #333;
}

/*
 * Header
 */
#header #search #search-input {
  font-size: 100%;
}

/*
 * Navigation
 */
#navigation .menu {
  font: normal 17px/38px 'GarajeBlack',Helvetica,sans-serif;
  overflow: hidden;
  text-transform: uppercase;
/*  width: 816px; */
  padding-left: 163px;
 /*  position: absolute; */
  top: -39px;
}

#navigation .menu li {
  float: left;
}

#navigation .menu a {
  display: block;
  text-align: center;
  text-decoration: none;
  width: 135px;
}

#navigation #breadcrumbs {
  clear: both;
  font: normal 84.6% "Helvetica";
  padding: 20px 0 0 9px;
}

#navigation #breadcrumbs a:hover {
  text-decoration: underline;
}

/*
 * Sidebar
 */
.sidebar .widget {
  margin-bottom: 25px;
}

.sidebar .title {
  color: #464646;
  font: normal 100% "GarajeBlack",sans-serif;
  border-bottom: 1px solid #d7d7d7;
  padding: 7px 1px;
  text-transform: uppercase;
}

.sidebar div.textwidget {
  padding: 12px 7px;
}

.sidebar .top,
.sidebar .bottom,
#main .bottom {
  display: none;
}

/*
 *  Widget Menu - Liens Rapides
 */

.sidebar .widget_nav_menu .content,
.sidebar .tp1_widget_nav_submenu .content {
  background: #73f660 url("images/bg-green.png") repeat-x left bottom;
  min-height: 150px;
}

.sidebar .widget_nav_menu .bottom,
.sidebar .tp1_widget_nav_submenu .bottom {
  background: url("images/wgt-bottom.png") no-repeat -248px 0;
  display: block;
  height: 23px;
  width: 235px;
}

.sidebar .widget_nav_menu .menu,
.sidebar .tp1_widget_nav_submenu .menu {
  padding-bottom: 20px;
}

.sidebar .widget_nav_menu .title,
.sidebar .tp1_widget_nav_submenu .title,
.sidebar .tp1_widget_events .title {
  padding: 7px;
}

.sidebar .widget_nav_menu .title,
.sidebar .widget_nav_menu .menu li,
.sidebar .tp1_widget_nav_submenu .menu li {
  border-bottom: 1px solid #61cf50;
}

.sidebar .widget_nav_menu .menu li a,
.sidebar .tp1_widget_nav_submenu .menu li a {
  background: url("images/arrow-line2.png") no-repeat -2px -233px;
  color: #464646;
  display: block;
  font: normal 84.6% Helvetica,Arial,sans-serif;
  padding: 7px 5px 7px 40px;
  text-decoration: none;
}

.sidebar .widget_nav_menu .menu li a:hover,
.sidebar .tp1_widget_nav_submenu .menu li a:hover {
  text-decoration: underline;
}

.sidebar .widget_nav_menu .menu .children li {
  border: none;
}

.sidebar .widget_nav_menu .menu .children a {
  background: none;
}

/*
 *  Widget Poll
 */
.sidebar .wp-polls {
  padding: 0px;
}

#main .wp-polls-archive .question {
  border-top: 1px solid #d7d7d7;
  padding-top: 20px;
}

.sidebar .widget_polls-widget .content {
  overflow: hidden;
}

.widget_polls-widget p,
#main .wp-polls-form p {
  margin: 0;
  padding: 10px 0;
}

.wp-polls .answers li,
.wp-polls .questions,
.wp-polls .submit {
  font: normal 84.6%/1.455em Helvetica,sans-serif;
}

.wp-polls .answers {
  border-bottom: 1px solid #d7d7d7;
  border-top: 1px solid #d7d7d7;
  padding: 10px 0;
  margin: 0;
}

#main .wp-polls .answers {
  border: none;
  padding: 0px;
}

.wp-polls .answers li {
  background: none;
  color: #636363;
  margin-bottom: 10px;
  padding: 0;
}

.wp-polls p {
  clear: both;
}

.wp-polls .questions {
  overflow: hidden;
  margin-bottom: 0px;
}

.wp-polls .questions li {
  clear: both;
  background: none;
  border-top: 1px solid #d7d7d7;
  float: left;
  overflow: hidden;
  padding: 8px 0;
  margin: 0;
  position: relative;
  width: 100%;
}

#main .wp-polls .questions li {
  border: none;
}

.wp-polls .questions label {
  display: block;
  float: left;
  margin-left: 29px;
  width: 80%;
}

.wp-polls .questions input {
  left: 6px;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 10px;
  height: 14px /*fix issue with extra padding in ie7*/
}

.wp-polls-loading {
  display: none;
}

#main .wp-polls .total {
  margin: 10px 0;
}

.wp-polls .submit {
  background: url("images/arrow-line.png") no-repeat -2px -13px;
  border: none;
  border-top: 1px solid #d7d7d7;
  padding: 8px 0 8px 40px;
  text-align: left;
  width: 100%;
}

#main .wp-polls .submit {
  font-size: 100%;
}

.wp-polls .submit:hover {
  background: url("images/arrow-line.png") no-repeat -2px -233px;
}

.wp-polls .submit {
  margin: -10px 0;
}

button::-moz-focus-inner,
.wp-polls .submit::-moz-focus-inner,
ul.questions li input::-moz-focus-inner {
  padding: 0;
  border: none;
}

.sidebar .archive li {
  border-bottom: 1px solid #d7d7d7;
  border-top: 1px solid #d7d7d7;
  float: left;
  margin: 0;
  overflow: hidden;
  padding: 0px;
  width: 100%;
}

.sidebar .archive li a {
  background: url("images/arrow-line.png") no-repeat -2px -13px;
  font-size: 84.6%;
  line-height: 13px;
  display: block;
  padding: 8px 5px 8px 40px;
  text-decoration: none;
}

.sidebar .archive li a:hover {
  background: url("images/arrow-line.png") no-repeat -2px -233px;
  text-decoration: underline;
}

#main .wp-polls-form {
  border-bottom: 2px solid #D7D7D7;
  width: 350px;
}

/*
 *  Widget Social
 */

.sidebar .tp1_widget_social,
.sidebar .tp1_widget_newsletter {
  overflow: hidden;
}

.sidebar .tp1_widget_social li,
.sidebar .tp1_widget_newsletter li {
  float: left;
  width: 100%;
}

.sidebar .tp1_widget_social li a,
.sidebar .tp1_widget_newsletter li a {
  background: url("images/ico-sprint.png") no-repeat 5px 8px;
  color: #7e7e7d;
  font-size: 84.6%;
  display: block;
  padding: 13px 15px 12px 38px;
  text-decoration: none;
}

.sidebar .tp1_widget_newsletter li a  {
  background-position: 5px -141px
}

.sidebar .tp1_widget_social li a:hover,
.sidebar .tp1_widget_newsletter li a:hover {
  color: #666;
  text-decoration: underline;
}

/*
 * Widget Image
 */

.sidebar .tp1_widget_image .title {
  padding: 0px;
}

.sidebar .tp1_widget_image img {
  height: auto;
  margin: 0 auto;
  max-width: 235px;
}

/*
 * Widget Promotion
 */

.sidebar .tp1_widget_text .content {
  font-family: Helvetica;
  background-color: #f6ed7b;
  color: #333;
  padding: 20px 0px;
}

.sidebar .tp1_widget_text .bottom {
  background: url("images/wgt-bottom.png") no-repeat right top;
  display: block;
  height: 23px;
  width: 235px;
}

.sidebar .tp1_widget_text .title {
  border-top: 1px solid #cfc443;
  border-bottom: 1px solid #cfc443;
  color: #333;
  font: normal 153.8%/1.25em 'GarajeBlack',sans-serif;
  margin: 0 0 13px 0;
  padding: 13px 0 10px 0;
  text-transform: uppercase;
}

.sidebar .tp1_widget_text .title a {
  color: #333;
  text-decoration: none;
}

.sidebar .tp1_widget_text a {
  color: #333;
}

.sidebar .tp1_widget_text .content > * {
  padding-left: 15px;
  padding-right: 15px;
}

.sidebar .tp1_widget_text .content p {
  margin: 0 0 25px 0;
}

.sidebar .tp1_widget_promotion_site .content img {
  display: block;
  margin: 0 auto;
}

/*
 * Widget Calendar Events
 */

.sidebar .tp1_widget_events .content {
  background-color: #7ae2f3;
  min-height: 150px;
}

.sidebar .tp1_widget_events .bottom {
  background: url("images/wgt-bottom.png") no-repeat left top;
  display: block;
  height: 24px;
  width: 235px;
}

.sidebar .tp1_widget_events .content .title {
  border-bottom: 1px solid #5abccd; /*blue line*/
}

.sidebar .tp1_widget_events ul.events {
  overflow: hidden;
  padding-bottom: 20px;
}

.sidebar .tp1_widget_events .events li {
  border-bottom: 1px solid #5abccd;
  clear: both;
  float: left;
  overflow: hidden;
  width: 100%;
}

.sidebar .tp1_widget_events .events a.link {
  display: block;
  overflow: hidden;
}

.sidebar .tp1_widget_events .events .title {
  border: none;
  font: normal 11px/15px Helvetica;
  text-transform: none;
  width: 155px;
}

.sidebar .tp1_widget_events .events .date {
  color: #000;
  font: bold 10px/14px Helvetica;
  width: 70px;
}

.sidebar .tp1_widget_events .events .date,
.sidebar .tp1_widget_events .events .title {
  display: block;  
  float: left;
  margin: 0 0 0 5px;
  padding: 6px 0;
}


.sidebar .tp1_widget_events .events a.link:hover .title {
  text-decoration: underline;
}

.sidebar .tp1_widget_events .events .more {
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
}

/*
 * Widget Calendar
 */

.sidebar .tp1_widget_calendar {
  overflow: visible;
  color: #464646;
}

/*Calendar grid */

.sidebar .tp1_widget_calendar .calendar .caption {
  overflow: hidden;
}

.sidebar .tp1_widget_calendar .calendar { /*Main calendar table */
  border-collapse: collapse;
  margin: 0 auto;
  text-align: center;
  width: 235px;
}

.sidebar .tp1_widget_calendar .calendar th { /*Day headings (S, M etc.) */
  border-left: 1px solid #d7d7d7;
  border-top: 1px solid #d7d7d7;
  font: normal 11px/30px Helvetica;
  width: 14.29%;
}

.sidebar .tp1_widget_calendar .calendar tr th:first-child {border-left: none;}

.sidebar .tp1_widget_calendar .calendar td { /* Day table cells */
  border-left: 1px solid #d7d7d7;
  border-top: 1px solid #d7d7d7;
  font: normal 10px/30px Helvetica;
  width: 14.29%;
}

.sidebar .tp1_widget_calendar .calendar tr td:first-child {border-left: none;}

.sidebar .tp1_widget_calendar .calendar .has-events { /* Table cells with events */  
  cursor: pointer;
  font-weight: bold;
}

.sidebar .tp1_widget_calendar .calendar .has-events:hover {
  font-weight: bold;
}

.sidebar .tp1_widget_calendar .calendar .next,
.sidebar .tp1_widget_calendar .calendar .prev { /* Prev and next month links */
  display: block;
  float: left;
  height: 30px;
  overflow: hidden;
  text-indent: -2000px;
  width: 34px;
}

.sidebar .tp1_widget_calendar .calendar .next {
  float: right;
}

.sidebar .tp1_widget_calendar .next a,
.sidebar .tp1_widget_calendar .prev a {
  display: block;
  height: 30px;
  width: 34px;
}

.sidebar .tp1_widget_calendar .calendar .month-title { /* Month title in caption at top of table */
  color:#898989;
  display: block;
  float: left;
  font: normal 17px/30px 'HelveticaNeueLight',Helvetica,sans-serif;
  text-align: center;
  width: 167px;  
}

.sidebar .tp1_widget_calendar .calendar th abbr { /* Day name abbreviations */
  border-bottom: none !important;
}

/*
 * Calendar popup list 
 */

.sidebar .widget-list .list { /* The list itself */
  margin: 10px 0 0 0;
}

.sidebar .widget-list .list ul {
  list-style-type: none;
  margin: 0 !important;
  padding: 0 !important;
}

.sidebar .calendar td div {
  position: relative;
}

.sidebar .calendar ul.events {
  background-color: #fff;
  border: 1px solid #d7d7d7;
  bottom: 55%;
  cursor: auto;
  display: none;
  font: normal 1.2em Helvetica;
  overflow: hidden;
  padding: 8px;
  position: absolute;
  right: 70%;
  text-align:left;
  width: 190px;
  word-wrap: break-word;
  z-index: 1000;
  -webkit-box-shadow: 0px 2px 4px 0px #666;
  -moz-box-shadow: 0px 2px 4px 0px #666;
  box-shadow: 0px 2px 4px 0px #666;
  
}

.sidebar .calendar ul.events li {
  border-top: 1px solid #d7d7d7;
  color: #333;
  clear: both;
  float: left;
  padding: 8px 0;
  width: 100%;
}

.sidebar .calendar ul.events li:first-child {
  border-top: none;
}

.sidebar .calendar ul.events a {
  display: block;
  text-decoration: none;     
}

.sidebar .calendar ul.events a:hover {
  color: #464646;
  text-decoration: underline;
}

.sidebar .calendar td:hover ul.events {
  display: block;      
}

/*
 * Site map
 */

#main .sitemap {
  margin: 20px 0px;
}

#main .page .sitemap .title {
  border: none;
  color: #333;
  font: bold 76.9% Helvetica;
  margin: 0 0 5px 0;
  padding: 0;
  text-transform: uppercase;
  width: 100%;
}

#main .page .sitemap .title a {
  color: #333;
  display: block;
  padding: 0 0 15px 1px;
}

#main .page .sitemap .title a:hover {
  text-decoration: underline;
}

#main .sitemap li {
  background: none;
  float: right;
  margin-bottom: 45px;
  width: 225px;
}

#main .sitemap li.odd {
  clear: left;
  float: left;
}

#main .sitemap ul ul {
  margin-top: 1em;
}

#main .sitemap li li {
  margin: 0;
  padding: 0;
}

#main .sitemap li li a {
  background: url("images/arrow.png") no-repeat 0 4px;
  display: block;
  padding: 4px 15px 4px 25px;
  text-decoration: none;
}

#main .sitemap li li a:hover {
  text-decoration: underline;
}

/*
* Pages
*/
#main .page {
  float: left;
  margin: 0 0 10px 0;
  width: 100%;
}

#main .home, 
#main .news, 
#main .photos, 
#main .single {
  float: left;
  margin: 0 0 15px 0;
  width: 100%;
}

#main .top {
  min-height: 25px;
  overflow: hidden;
  position: relative;
}

#main .content {
  clear: both;
  overflow: hidden;
  padding: 15px 0;
}

#main a {
  text-decoration: none;
}

#main a.link {
  background: url("images/arrow.png") no-repeat 0px 2px;
  clear: both;
  margin: 0 0 20px 0;
  padding: 4px 25px;
  text-decoration: none;
}

#main .top .title,
#main .top .hat {
  border-bottom: 1px solid #d7d7d7;
  color: #464646;
  float: left;
  font: normal 100% "GarajeBlack";
  padding: 7px 229px 7px 1px;
  text-transform: uppercase;
  width: 230px;
}

/*
 * Gallery on the home page
 */

#main .galleries {
  margin: 0 0 20px 0;
  overflow: hidden;
  width: 100%;
}

#main .galleries .item {
  text-align: center;
}

#main .galleries .item img {
  height: auto;
  max-width: 460px;
}

/*
 * Gallery page
 */

#main .gallery .top #title {
  padding: 7px 10px 7px 5px;
  width: 445px;
}

#main .gallery .content {
  padding: 20px 0px;
}
 
.page .gallery dl {
  float: left;
  margin: 0 1px 15px 1px;
  max-width: 151px;
}

.page .gallery dl img {
  border: 3px solid #fff;
  height: auto;
  max-width: 145px;
}

.page .gallery dd {
  text-align: center;
}

.gallery .gallery-caption {
  padding: 3px 0 0 0;
}

/*
 * Snippets
 */

#main .children .top {
  display: none;
}

#main .children .half {
  float: left;
  margin: 0 0 30px 0;
  width: 220px;
}

#main .children .left {
  clear: left;
  margin-right: 20px;
}

#main .children .content {
  color: #333;
  min-height: 130px;
  padding: 0px;
  position: relative;
}

#main .children .title {
  font: 138.5%/1.111em 'HelveticaNeueMedium',sans-serif;
}

#main .children .title a:hover {
  text-decoration: underline;
}

#main .children .post {
  padding: 10px 12px 0 1px;
}

#main .children a.link {
  display: block;
}

#main .children .link:hover {
  color: #464646;
}

#main .children .full {
  clear: both;
  margin: 0 0 30px 0;
  width: 100%;
}

#main .children .full .post {
  padding: 15px 2px;
}

#main .children .full .title {

}

#main .children .full .image img {
  border: 5px solid #fff;
  box-shadow: 0 0 2px 2px #d9d9d6;
  -webkit-box-shadow: 0 0 2px 2px #d9d9d6;
  -moz-box-shadow: 0 0 2px 2px #d9d9d6;  
  float: left;
  height: auto;
  margin: 17px 15px 10px 3px;
  max-width: 170px;
}

#main .top .rss {
  bottom: 3px;
  font: 10px Helvetica;
  margin: 0;
  position: absolute;
  right: -7px;
}

#main .rss a {
  color: #666;
  display: block;
  font: normal 76.9% Helvetica;
  padding: 10px 10px 8px 22px;
}

#main .news .title,
#main .home .title {
  color: #898989;
  font: normal 192.3%/1.12em 'HelveticaNeueLight',Helvetica,sans-serif;
  margin: 0 0 5px 0;
  padding-left: 1px;
}

#main .date {
  color:#898989;
  font: normal 83.3% Helvetica;
  margin: 0 0 25px;
  padding-left: 1px;
  text-transform: uppercase;
}

/*
 * LIST OF NEWS
 */

#main .list ul.news {
  border-bottom: 1px solid #d7d7d7;
  margin: 30px 0 15px 0;
  overflow: hidden;
  width: 100%;
}

#main .list .news li {
  border-top: 1px solid #d7d7d7;
  clear: both;
  float: left;
  overflow: hidden;
  width: 100%;
}

#main .list .news a {
  background-image: none;
  display: block;
  margin: 0;
  overflow: hidden;
  padding: 8px 0 6px 0;
}

#main .list .news a.link:hover {
  background: none;
}

#main .list .news .title,
#main .list .news .date {
  display: block;
  float: left;
  margin: 0 0 0 10px;
  padding: 0;
  text-transform: none;
}

#main .list .news .title {
  font: normal 100% Helvetica;
  width: 350px;
}

#main .list .news .date {
  color: #333;
  font: bold 69.2% Helvetica;
  padding: 3px 0;
  width: 90px;
}

#main .list .news .more {
  display: none;
}

/*
 * Pagination
 */

#main .pagination {
  overflow: hidden;
  margin: 35px 0 15px;
}

#main .pagination li {
  display: block;
  float: left;
  padding: 0 0 3px 0;
}

#main .pagination li a {
  padding: 10px;
}

#main .pagination li a:hover {
  text-decoration: underline;
}

#pagination .page, #pagination .current {
  padding: 2px 5px;
}

#main hr.separation {
  border: none;
  border-top: 1px solid #d7d7d7;
  clear: both;
  height: 1px;
  margin-bottom: 20px;
  width: 100%;
}

/*
 * Single
 */

#main .single .title {
  color: #898989;
  font: 192.3%/1.12em 'HelveticaNeueLight',Helvetica,sans-serif;
  margin: 0 0 5px 0;
  padding-left: 1px;
}

/*
 * FAQ
 */

#main .faq {
  border-top: 1px solid #d7d7d7;
  margin-bottom: 20px;
  overflow: hidden;
  width: 100%;
}

#main .faq .question {
  border-bottom: 1px solid #d7d7d7;
  clear: both;
  color: #555;
  cursor: pointer;
  display: block;
  float: left;
  width: 100%;
}

#main .faq .title {
  border: none;
  float: none;
  font: normal 100% Helvetica,sans-serif;
  margin: 0px;
  padding: 0px;
  width: 100%;
}

#main .faq .title a {
  color: #464646;
  display: block;
  padding: 9px 40px 9px 10px;
}

#main .faq .open .title a {
  background: #ebe7df url("images/arrow.png") no-repeat -742px 8px;
} 

#main .faq .close .title a {
  background: url("images/arrow.png") no-repeat -90px 8px;
}

#main .faq .close .title a:hover {
  background: #eeede8 url("images/arrow.png") no-repeat -742px 8px;  

}

#main .faq .answer {
  background-color: #fcfccb;
  color: #464646;
  font-size: 92.3%;
  line-height: 1.25em;
  display: none;
  padding: 25px 25px 15px 10px;
}

#main .faq .open .answer {
  background: transparent url('images/answer-bg.png') repeat 0 0;
  border-top: 1px solid #D7D7D7;
}

#main .faq p,
#main .faq ol,
#main .faq ul {
  margin: 0 0 1.5em;
}

/*
 * News, Calendar Landing Pages
 */

#main .calendrier .archive {margin-top: 40px;}

#main .event .title,
#main .archive .title {
  margin: 0 0 5px 0;
}

#main .event .title {
  font: 192.3%/1.12em 'HelveticaNeueLight',sans-serif;
  padding-left: 1px;
}

#main .archive .title,
#main .calendrier .title {
  font: normal 138.5% 'HelveticaNeueMedium',Helvetica,sans-serif;
  padding-left: 1px;
}

#main .event .date,
#main .archive .date {
  clear: both;
  margin-bottom: 15px;
}

#main .event p,
#main .archive p {
  margin: 0 15px 1.5em 0;
}

#main .archive ul li, #main .event ul li {
  border-bottom: 1px solid #d7d7d7;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

#main .event .place {
  color: #666;
  margin-bottom: 5px;
  padding: 0px;
}

/*
 * About us
 */
#main .location {
  width: 170px;
  background: url("images/map-marker.gif") no-repeat 10px 0;
  float: left;
  padding-left: 60px
}

#main .location .subtitle {
  font-size: 100%;
  font-weight: bold;
}

/*
* Comments
*/
#main #comments {
  float: left;
  margin: 0 0 10px 0;
  padding: 10px;
  background: #fff;
  width: 460px;  
}

/*
* Footer Area
*/

#footer .content {
  background: #fff;
  height: 170px;
}

#footer .top,
#footer .bottom {
  display: none;
}

#footer a {
  padding: 2px;
}

#footer a:hover {
  text-decoration: underline;
}

#footer a:visited,
#footer a:link,
#footer a:hover {color:#00BADA;}

#footer .logo a {
  background: none;
}
