/*  
Theme Name: AFEAS
Theme URI: http://afeas.qc.ca
Description: Thème du nouveau site, conçu en Mai 2006, mise à jour en octobre 2010, par Sébastien Laframboise.
Version: 2.0
Author: Patrick Tanguay
Author URI: http://tasteofblue.ca
*/

body {
	background: #f3f2e4 url('images/main_back_beige.gif') repeat-x 0 -51px;
	margin: 0 0 30px 0;
	text-align: center;
	font-family: Helvetica, Verdana, Arial, sans-serif;
	font-size: 14px;
	color: #6c6939;
}

a {
	color: #2483bd;
}

#skipnav {
	display: none;
}

#header, #wrap {
	width: 790px;
	margin: 0 auto;
	text-align: left;
}

#header {
	background: #69caf9 url('images/head_back.gif') repeat-x bottom left;
}

#header h1 {
	background: url('images/head_faces.gif') no-repeat 101% 1px;
	margin: 0 -1px;
	border-left: 1px solid #69a4c4;
	border-right: 1px solid #69a4c4;
	border-bottom: 5px solid #2483bd;
	font-size: 5px;
}

#header h1 a {
	display: block;
	background: url('images/head_logo.png') no-repeat 40px 7px;
	margin: 0 220px 0 0;

	height: 90px;
	color: #69caf9;
}

#header ul#utilities {
	float: right;
	margin: -25px 20px 0 0 !important;
	margin: -25px 10px 0 0;
	height: 15px;
}

#header ul#utilities li {
	display: inline;
	float: left;
	list-style-type: none;
	text-indent: -1000em;
}

#header ul#utilities li a {
	display: block;
	width: 15px;
	height: 15px;
	margin-left: 5px;
	border: 1px solid #69a4c4;
}

#header ul#utilities li a:hover {
	border: 1px solid #fff;
}

#header ul#utilities li.small a {
	background: url('images/icon_text_small.gif') no-repeat top left;
}

#header ul#utilities li.small a:hover {
	background: #3da0dd url('images/icon_text_small.gif') no-repeat top left;
}

#header ul#utilities li.medium a {
	background: url('images/icon_text_medium.gif') no-repeat top left;
}

#header ul#utilities li.medium a:hover {
	background: #3da0dd url('images/icon_text_medium.gif') no-repeat top left;
}

#header ul#utilities li.large a {
	background: url('images/icon_text_large.gif') no-repeat top left;
}

#header ul#utilities li.large a:hover {
	background: #3da0dd url('images/icon_text_large.gif') no-repeat top left;
}

#header ul#utilities li.print a {
	background: url('images/icon_print.gif') no-repeat top left;
	width: 17px;
	height: 15px;
	border: 1px solid #0e6d9e;;
}

#header ul#utilities li.print a:hover {
	background: #3da0dd url('images/icon_print.gif') no-repeat top left;
	border: 1px solid #fff;
}


#wrap {
	background: #f3f2e4 url('images/content_back.gif') repeat-y top right;
	margin-top: 1px;
	padding-bottom: 20px;
	border-right: 1px solid #c36c0a;
	border-bottom: 1px solid #c36c0a;
	border-left: 1px solid #c36c0a;
}

#wrap #subhead {
	background: url('images/subhead_back.gif') no-repeat bottom right;
	height: 48px;
}

#wrap #subhead form {
	margin: 0;
	padding: 10px 20px 0 0;
	text-align: right;
}

#wrap #subhead form input {
	background: #ebad68;
	padding: 2px 5px;
	border: 1px solid #fff;
	text-align: right;
	color: #c36c0a;
}

#wrap #subhead form input#searchsubmit {
	text-align: center;
}

#wrap #menucol {
	float: left;
	background: url('images/menucol_back.gif') no-repeat right 10px;
	width: 190px;
	padding-top: 10px;
	padding-bottom: 50px;
}

#wrap #menucol ul#mainnav, #wrap #menucol ul#mainnav ul {
	margin: 0;
	padding-left: 0;
}

#wrap #menucol ul#mainnav li {
	list-style-type: none;
	border-bottom: 1px solid #f3f2e4;
}

#wrap #menucol ul#mainnav li a:hover {
	background: #adcdd7;
/*	background: #adcdd7 url('images/mainnav_on.gif') repeat-x bottom left;*/
}

#wrap #menucol ul#mainnav li ul li a:hover {
	background: #adcdd7 url('images/bullet_square_white.gif') no-repeat 10px 0.65em;
}

#wrap #menucol ul#mainnav li a, #wrap #menucol ul#mainnav li span {
	display: block;
	background: url('images/mainnav_top_off.gif') no-repeat bottom right;
	padding: 7px 0 5px 10px;
	border-bottom: 1px solid #c1bd91;
	text-decoration: none;
	color: #0a325c;
	font-weight:normal;
}

#wrap #menucol ul#mainnav li ul li {
	border-bottom: 1px solid #c1bd91;
	font-size: 0.9em;
}

#wrap #menucol ul#mainnav li ul li a {
	background: url('images/bullet_square_beige.gif') no-repeat 10px 0.65em;
	padding: 5px 0 5px 20px;
	border-bottom: none;
	color: #256182;
}

#wrap #menucol p {
	margin: 10px;
}

#wrap #content {
	margin: 10px 9px 0 190px;
}
#content-box {
	line-height: 150%;
	background:white;
	border:1px solid #C1BD91;
	padding:20px;
	min-height:848px;
}
#content-banner{
    min-height:400px;
}
#content-banner-bottom{
    height:10px;
}
/*
#content-banner{
/*	background:url("images/banner_top_back.gif") no-repeat scroll left top transparent;
	width:555px;
	margin-left:-3px;
	-webkit-border-radius:10px;
	-khtml-border-radius:10px;
	-moz-border-radius:10px;
}
#content-banner-bottom{
	width:535px;
	/*min-height:140px;
	margin:0px 10px 25px 0px;
	padding:6px 20px 6px 20px;
	background: url("images/banner_bottom_back.gif") no-repeat scroll left bottom transparent;
	-webkit-border-radius:10px;
	-khtml-border-radius:10px;
	-moz-border-radius:10px;	
	display:table-cell;
}*/

/* Typography */

#content h1{
	line-height: 100%;
	line-height: 100%;
	font-size: 1.6em;
	color: #256182;
	margin: 0px 0px 10px 0px;
}

#content h2 {
	background: url('images/bullet_arrow_blue.gif') no-repeat 0 1px;
	margin: 15px 0 20px 0px;
	padding-left: 18px;
	line-height: 100%;
	line-height: 100%;
	font-size: 1.4em;
	color: #256182;
}

#content .post h2 {
	margin-bottom: 20px;
	padding-left:20px;
}

#content h2 a {
	text-decoration: none;
	color: #256182;
}

#content h2 a:hover {
	text-decoration: underline;
}

h2 span {
	display: block;
	font-size: 0.65em;
	color: #6c6939;
}

#content h2 a.headfloat {
	float: right;
	margin-top: -1.45em;
	padding: 2px 2px 0 2px;
	border: 1px solid #c1bd91;
	font-size: 0.65em;
	color: #c1bd91;
}

h3 {
	margin: 10px 0 5px 0;
	font-size: 1.2em;
	line-height:22px;
}

h3 a {
	text-decoration: none;
	color: #256182;
}

h3 a:hover {
	text-decoration: underline;
}

.eventpost h3 {
	float: left;
	margin: 0 0 0 -11em !important;
	margin: 0 0 0 -7em;
	padding: 5px 10px 3px 10px;
	font-size: 1em;
}

h3#comments, h3#respond {
	margin: 25px 0 0px 0;
}

h3#signed {
	background: #f3f2e4 url('images/icon_signed.gif') no-repeat 5px 4px;
	margin: 25px 0;
	padding: 5px 10px 4px 34px;
	border: 1px solid #c1bd91;
}

h3 span {
	float: right;
	margin-top: -1.75em;
	font-size: 0.7em;
}

h4 {
	margin-bottom: 5px;
	font-weight: bold;
}

.eventpost h4 {
	margin: 5px 0 0 0;
	font-weight: normal;
}

h4.dateauthor {
	margin: -5px 0 10px 0;
	border-top: 1px solid #dddab8;
	font-weight: normal;
	font-size: 0.9em;
	color: #B3AE77;
}

#content ul li {
	list-style-type: square;
	margin-left: 0;
}

/* Content blocks */

img.banner {
	margin-bottom: 5px;
}

#content .post img {
	/*margin: 10px;*/
	/*padding: 2px;*/
	/*border: 5px solid #c1bd91;*/
}

.navigation {
	display: none;
}

.post {
	margin-bottom: 20px;
}

.eventpost {
	margin: 10px 0;
	padding: 0 10px 0 11em;
	border: 1px solid #dddab8;
}

.postmetadata {
	margin: 0;
	padding: 2px 0;
	border-top: 2px solid #f3f2e4;
	text-align: left;
	font-size: 0.9em;
	color: #B3AE77;
}

.postmetadata a {
	color: #3AA8EC;
}

.group {
	margin-left: 18px;
}

#floatcal {
	float: right;
	margin: 0 0 10px 10px;
}

.sidebar {
	background: url('images/sidebar_top.gif') no-repeat top left;
	width: 280px;
	padding-top: 10px;
}

.insidebar {
	background: url('images/sidebar_bottom.gif') no-repeat bottom left;
	padding-bottom: 10px;
}

#menucol ul#misc {
	margin: 25px 0 0 10px;
	padding-left: 0;
}

#menucol ul#misc li {
	list-style-type: none;
	padding: 2px 0;
	font-size: 0.8em;
}

#menucol ul#misc li a.feed, #menucol p.partners a {
	text-decoration: none;
	color: #c36c0a;
}

#menucol ul#misc li a.feed:hover, #menucol p.partners a:hover {
	text-decoration: underline;
}

#menucol ul#misc li a.feed img {
	margin-bottom: -3px;
}

.more {
	margin: -10px 0 10px 0;
	text-align: right;
	font-size: 0.9em;
}

.more a {
	color: #6c6939;
}

#menucol p.partners {
	text-align: right;
	font-size: 0.9em;
}

#menucol p.partners img {
	margin: 15px 0 8px -3px;
}

/* Classes for plugins */

table.surveyform, form.survey {
	padding-bottom: 15px;
}

table.surveyform {
	text-align: left;
}

form.survey {
	text-align: right;
}

table.surveyform th, table.surveyform td {
	vertical-align: top;
}

table.surveyform th {
	background: #ebe8ce;
	padding: 5px 0;
	border-top: 1px solid #c1bd91;
	border-bottom: 1px solid #c1bd91;
	text-align: center;
}

table.surveyform td {
	padding: 35px 0 5px 0;
	vertical-align: top;
}

table.surveyform tr.sep td {
	background: url('images/misc_small_fade_back.gif') repeat-x bottom left;
	padding-top: 5px;
	padding-bottom: 20px;
	border-bottom: 1px solid #c1bd91;
}

form.survey label {
	font-size: 0.9em;
}

table.surveyform td textarea {
	width: 100%;
}

.contactform {
	position: static;
	overflow: hidden;
	background: #ebe8ce;
	width: 550px;
	padding: 10px 0;
	border: 1px solid #c1bd91;
}

.contactleft, .eventleft {
	clear: left;
	float: left;
	display: inline;
	width: 25%;
	margin: 5px 0 5px 10px;
}

.contactleft, .eventleft {
	width: 40%;
}

.contactright, .eventright {
	float: left;
	display: inline;
	width: 70%;
	margin: 5px 10px 5px 0;
}

.eventright #contactsubmit {
	margin-left: 0 !important;
	margin-left: 10px;
}

.contactright, .eventright {
	width: 55%;
}

.error {
	background: #ebe8ce;
	border: 1px solid #f00;
}

.contacterror {
	border: 1px solid #ff0000;
}

.contactsubmit {
}

.surveysubmit {
	margin-top: 10px;
}





/* Banners */

#text-1, #text-2, #text-3, #text-4, #text-5 {
	background: url('images/banner_top_back.gif') no-repeat top left;
	padding: 10px 0 0 0;
}

#text-1 div, #text-2 div, #text-3 div, #text-4 div {
	min-height: 90px;
	height: auto !important;
	height: 90px;
	background: url('images/banner_bottom_back.gif') no-repeat bottom left;
	margin-left: 0 !important;
	margin-left: -3px;
	padding: 0 10px 10px 10px;
}

#text-5 div {
	background: url('images/banner_bottom_back.gif') no-repeat bottom left;
	padding: 0 10px 10px 10px;
}

#content .post p.logos {
	margin-left: 20px;
}

#content .post p.logos img {
	border: 1px solid #f3f2e4;
}

#content .post p.logos img:hover {
	border: 1px solid #c36c0a;
}

/* Misc */

img {
	border: 0;
}

* {
	font-weight: normal;
}

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

p {
	margin: 0 0 10px 0;
}

#content input[type=text]:focus, #content textarea:focus, #content select:focus{
		background-color: lightyellow;
		border:#000 1px solid;
}

#content input {
	border: 1px solid #c1bd91;
	font-size:1.3em;
	padding:5px;
}
#content textarea {
	border: 1px solid #c1bd91;
	font-size:1.2em;
	padding:5px;
	height:200px;
}

#content textarea#comment {
	width: 98%;
}

.clearfix:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}

.clearfix {display: inline-table;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */





/* Classes from default theme */


.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}

.commentlist {
	margin-left: 0;
}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}
	
.commentlist li {
	font-weight: bold;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}
	
code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}
	
#wp-calendar #prev a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}
	
#sidebar ul, #sidebar ul ol {
	margin: 5px;
	padding: 0;
	font-family: Helvetica, Verdana, Arial, sans-serif;
	font-size: 0.7em;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}

#sidebar #searchform #s {
	width: 115px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	/*float: right;*/
	}

.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}

/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

/* End Various Tags & Classes*/


/*3.0*/

/* =Asides
-------------------------------------------------------------- */

.home #content .category-asides p {
	font-size: 14px;
	line-height: 20px;
	margin-bottom: 10px;
	margin-top: 0;
}
.home .hentry.category-asides {
	padding: 0;
}
.home #content .category-asides .entry-content {
	padding-top: 0;
}


/* =Gallery listing
-------------------------------------------------------------- */

.category-gallery .size-thumbnail img {
	border: 10px solid #f1f1f1;
	margin-bottom: 0;
}
.category-gallery .gallery-thumb {
	float: left;
	margin-right: 20px;
	margin-top: -4px;
}
.home #content .category-gallery .entry-utility {
	padding-top: 4px;
}

/* =Images
-------------------------------------------------------------- */

#content img {
	margin: 0;
	max-width: 640px;
}
#content .attachment img {
	max-width: 900px;
	border: 5px solid #c6c397; 	
}
#content .alignleft,
#content img.alignleft {
	display: inline;
	float: left;
	margin-right: 20px;
	margin-top: 4px;
	border: 5px solid #c6c397; 	
}
#content .alignright,
#content img.alignright {
	display: inline;
	float: right;
	margin-left: 20px;
	margin-top: 4px;
	border: 5px solid #c6c397; 	
}
#content .aligncenter,
#content img.aligncenter {
/*	clear: both; */
	display: block;
	margin-left: auto;
	margin-right: auto;
	border: 5px solid #c6c397; 	
}
#content img.alignleft,
#content img.alignright,
#content img.aligncenter {
	margin-bottom: 12px;
}
.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}
.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}
#content .wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	padding: 4px;
	text-align: center;
}
#content .wp-caption img {
	margin: 5px 5px 0;
}
#content .wp-caption p.wp-caption-text {
	color: #888;
	font-size: 12px;
	margin: 5px;
}
#content .wp-smiley {
	margin: 0;
}
#content .gallery {
	margin: 0 auto 18px;
}
#content .gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
#content .gallery img {
	border: 2px solid #cfcfcf;
}
#content .gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
#content .gallery dl {
	margin: 0;
}
#content .gallery img {
	border: 10px solid #f1f1f1;
}
#content .gallery br+br {
	display: none;
}
#content .attachment img { /* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}


.navlink {
        color:#808080;
        font-size:12px;
}

.navlink a {
        padding:6px;
        font-size:12px;
        background:#fff;
		border:1px solid #C1BD91;
		margin-top:20px;
}

.navlink a:hover {
        color:#000;

}
/* social media widget */
.simplesocial{
	margin-bottom:5px;
}
/* The Welcomizer custom tab */
.tab_titre {
    display: block;
    width: auto;
    height: 21px;
    padding: 10px;
    border: 1px solid #DDDAB8;
    float: left;
}
.tab_box {
    background: #C1BD91 url(images/logocouleur.afeas.png) no-repeat center;
    display: block;
    width: 549px;
    height: 387px;
    font-size: 16px;
    line-height:35px;
    border: 1px solid #DDDAB8;
    float:none;
}
.tab_titre:hover {
    cursor: pointer;
}
.tab_box_2 {
    display:none;
}
.tab_titre_1 {
    background-color: #adcdd7;
    color:#2483BD;
}
