/*
Theme Name:   Nature
Theme URI:    http://tp1.com
Description:  Thème Nature 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: #636363;
  font: normal 75% Arial,Helvetica,sans-serif;
  line-height: 1.417em;
}

#header {
  min-height: 130px;
  height: 130px;
} /*important for the aligning of the background with the menu*/


#header #school {
  height: 90px;
}

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

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

#header .menu li a {
  background: url('images/icons-sprite.png') no-repeat 1px -263px;
  padding: 12px 8px 12px 14px;
}

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

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

*:first-child+html/*/* /**/ #header hr {
/* overstyling IE7 */
display: block;
margin: -7px 0;
}

#content {
  background: #fff;
  box-shadow: 0px 0px 5px 1px #666;
  -webkit-box-shadow: 0px 0px 5px 1px #666;
  -moz-box-shadow: 0px 0px 5px 1px #666;  
  padding-bottom: 200px; /*shared css uses padding-bottom: 170px;*/
  margin-top: 370px;  /*300px + 70px:  height of the banner + height of the navigation*/
}

#content #banner {
  height: 300px;
  position: absolute;
  top: -370px;
}

#content #banner img {
  max-height: 300px;
}

#content #banner a {
  text-decoration: none;
}

#banner .frame {
  width: 1114px;
  height: 300px;
  position: absolute;
  top: 0px;
  left: -134px;
}

/*
 * Main column elements
 */

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

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

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

/*
 * Navigation
 */

#navigation {
  width: 980px;
}

#navigation .menu {
  left: 0px;
  position: absolute;
  top: -70px; /*height of the navigation*/
  height: 70px;
  overflow: hidden;
  width: 980px;
}

#navigation .menu li {
  float: left;
  text-transform: uppercase;
  width: 16.4%;
}

#navigation .menu a {
  display: block;
  font: normal 19px/70px 'QuicksandBook',sans-serif;
  height: 70px;
  text-align: center;
  text-decoration: none;
}

#navigation #breadcrumbs {
  clear: both;
  font: normal 91.7% "Helvetica";
  padding: 10px;
}

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

/*
 * Sidebar
 */
.sidebar .widget {
  clear: both;
  margin-bottom: 40px;
}

.sidebar .title {
  border-bottom: 1px solid #d7d7d7;
  font: normal 100%/1.4em Arial,Helvetica,sans-serif;
  padding: 7px 1px;
}

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

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

/*
 *  Widget Menu - Liens Rapides
 */

.sidebar .widget_nav_menu .menu,
.sidebar .tp1_widget_nav_submenu .menu {
  clear: both;
  overflow: hidden;
  width: 100%;
}

.sidebar .widget_nav_menu .menu li,
.sidebar .tp1_widget_nav_submenu .menu li {
  border-bottom: 1px solid #d7d7d7;
  clear: both;
  float: left;
  width: 100%;
}

.sidebar .widget_nav_menu .menu li a,
.sidebar .tp1_widget_nav_submenu .menu li a {
  display: block;
  padding: 8px 5px 8px 25px;
  text-decoration: none;
}

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

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

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

.sidebar .wp-polls .question,
#main .wp-polls .question {
  font-family: DroidSans,sans-serif;  
  font-size: 108.3%;
  line-height: 1.308em;
}

#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 {
  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,
.wp-polls .questions li {
  background: none;
  font-size: 91.7%;
  line-height: 1.455em;  
}

.wp-polls .answers li {
  margin-bottom: 10px;
  padding: 0;
}

.wp-polls p {
  clear: both;
}

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

.wp-polls .questions li {
  clear: both;
  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: 40px;
  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 {
  border-bottom: 1px solid #d7d7d7;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.wp-polls .submit,
.sidebar .archive li a /*submit button and link to archive look the same*/ {
  cursor: pointer;
  font: normal 91.7% Arial, Helvetica, sans-serif;
  padding: 10px 0 10px 25px;
}

.wp-polls .submit {
  border: none;
  border-top: 1px solid #d7d7d7;
  text-align: left;
  width: 100%;
  margin: -10px 0;
}

#main .wp-polls .submit {
  font-size: 100%;
  border-top: 2px solid #d7d7d7;
}

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 {
  display: block;
  text-decoration: none;
}

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

/*
 *  Widget Social
 */

.sidebar .tp1_widget_social,
.sidebar .tp1_widget_newsletter {
  overflow: hidden;
  margin-bottom: 20px;
}

.tp1_widget_newsletter + .tp1_widget_social,
.tp1_widget_social + .tp1_widget_newsletter  {
  margin-bottom: 40px;
}

.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/icons-sprite.png") no-repeat 5px 8px;
  color: #636363;
  font: normal 108.3% 'DroidSans',sans-serif;
  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 {
  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 {
  -webkit-box-shadow: 0px 0px 1px rgba(50, 50, 50, 0.6);
  -moz-box-shadow: 0px 0px 1px rgba(50, 50, 50, 0.6);
  box-shadow: 0px 0px 1px rgba(50, 50, 50, 0.6);
}

.sidebar .tp1_widget_text .content {
  padding: 20px 15px;
  font-size: 116.7%;
  line-height: 1.429em;
}

.sidebar .tp1_widget_text .title {
  border: none;
  font: normal 135.7%/1.158em 'QuicksandBold',sans-serif;
  letter-spacing: 0.5px;
  padding: 0 0 20px 0;
  text-transform: uppercase;
}

.sidebar .tp1_widget_text .title a {
}

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

.sidebar .tp1_widget_text .content p {
  margin: 0 0 1.3em 0;
}

/*
 * Widget Calendar Events
 */
.sidebar .tp1_widget_events ul.events {
  overflow: hidden;
  padding: 3px 0 20px 0;
}

.sidebar .tp1_widget_events .events li {
  border-bottom: 1px solid #d7d7d7;
  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 Arial, Helvetica, sans-serif;
  width: 155px;
}

.sidebar .tp1_widget_events .events .date {
  font: bold 9px/14px Arial, Helvetica, sans-serif;
  width: 70px;
}

.sidebar .tp1_widget_events .events .date,
.sidebar .tp1_widget_events .events .title {
  display: block;  
  float: left;
  margin: 0 0 0 5px;
  padding: 8px 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;
  border-bottom: 1px solid #d7d7d7;
  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;
  color: #333;
  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 .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:#333;
  display: block;
  float: left;
  font: normal 10px/30px DroidSans,sans-serif;
  text-align: center;
  text-transform: uppercase;
  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: #fff;
  border: 1px solid #d7d7d7;
  bottom: 55%;
  cursor: auto;
  display: none;
  font: normal 1.2em Arial, Helvetica, sans-serif;
  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 {
  text-decoration: underline;
}

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

/*
 * Site map
 */

#main .sitemap {
  margin: 20px 0px;
  line-height: 1.25em;
}

#main .page .sitemap .title {
  color: #22272c;
  font: normal 166.7% Arial, Helvetica, sans-serif;
}

#main .page .sitemap .title a {
  color: #333;
  display: block;
  padding: 0 0 10px 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 0 4px 0;
  padding: 0;
}

#main .sitemap li li a {
  display: block;
  padding: 3px 15px 3px 1px;
  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 10px 0;
  width: 100%;
}

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

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

#main a {
  text-decoration: none;
}

#main a.link {
  clear: both;
  margin: 0 0 20px 0;
  padding: 4px 10px 4px 25px;
  text-decoration: none;
}

#main .top .title,
#main .top .hat {
  border-bottom: 1px solid #d7d7d7;
  float: left;
  font: normal 100%/1.4em Arial,Helvetica,sans-serif;
  padding: 7px 249px 7px 1px;
  width: 210px;
}

/*
 * Gallery on the home page
 */

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

#main .galleries .item {
  float: left;
  margin-right: 3px;
}

#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 3px 15px 3px;
  max-width: 146px;
}

.page .gallery dl img {
  height: auto;
  max-width: 150px;
}

.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 {
  min-height: 130px;
  padding: 0px;
  position: relative;
}

#main .children .title {
  font: normal 166.7% 'SketchetikLight',sans-serif;
}

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

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

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

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

#main .children .full .image img {
  float: left;
  height: auto;
  margin: 20px 15px 10px 3px;
  max-width: 225px;
}

#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: #00a54b;
  font: normal 300%/1em 'Quicksand',sans-serif;
  margin: 0 0 20px 0;
  padding-left: 1px;
}

#main .news .title {
  margin-bottom: 1px;
}

#main .date {
  color:#959595;
  font-size: 83.3%;
  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;
  font: normal 84.6%;
  float: left;
  overflow: hidden;
  width: 100%;
}

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

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

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

#main .list .news .title {
  border: none;
  font: normal 100% Arial,Helvetica,sans-serif;
  width: 350px;
}

#main .list .news .date {
  color: #636363;
  font: bold 83.3% Arial,Helvetica,sans-serif;
  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%;
}

/*
 * FAQ
 */

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

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

#main .faq .title {
  color: #636363;
  font: normal 91.7% Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}

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

#main .faq .answer {
  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 #fff;
}

#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 .calendrier .title,
#main .event .title,
#main .archive .title { /* One Title - h1*/
  font: normal 291.7%/1em 'Quicksand',sans-serif;  
  padding-left: 1px;
}

#main .archive .title {  /*List of titles - h2*/
  font: normal 166.7%/1.2em Arial,Helvetica,sans-serif;
}

#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:#ff6551;}

#footer .logo a {
  background: none;
}
