/*
Theme Name: TMM (based on three-column-twenty-eleven)
Theme URI: http://zeaks.org/three-column-twenty-eleven
Author: Scott Dixon 
Author URI: http://zeaks.org
Description: A Twenty Eleven child theme.
Version: 1.1
License: GNU General Public License
Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support
Template: twentyeleven
*/
@import url("../twentyeleven/style.css");

/* Three Column layout - left and right sidebars
--------------------------------------------------*/
.three-column #page { max-width: 1000px;}
.three-column #primary {
    float: left;
    margin: 0 -26.4% 0 0;
    width: 100%;
}
.three-column #content {
    /*margin: 0 34% 0 26.4%;
    width: 46.4%;*/
    width: 70%;
    margin: 0 0 0 20%;
}
.three-column #secondary {
 /*   float: right;
    margin-right: 2.6%;
    width: 20.8%;
    */
    float: right;
    margin-right: 0px;
    width: 100px;
}
.three-column #extra-sidebar{
    position:absolute;
    float: left;
    /*width: 20.8%;
    margin-left: -70%;*/
    width: 9%;
}
/* Three column - Two Right sidebar layout
------------------------------------------- */
.two-right #page { max-width: 1000px;}
.two-right #primary {
	float: left;
	margin: 0 -46.4% 0 0;
	width: 100%;
}
.two-right #content {
	margin: 0 46.4% 0 3.6%;
	width: 50.4%; /*slightly wider than alternate layout */
}
.two-right #secondary {
	float: right;
	margin-right: 2.6%;
	width: 19.2%; 
}
.two-right #extra-sidebar{
	position:relative;
	float: right;
	margin-right: 2.6%;
	width: 19.2%;
}
/* Three column - Two Left sidebar layout
------------------------------------------ */
.two-left #page { max-width: 1000px;}
.two-left #primary {
	float: right;
	margin: 0 0 0 -46.4%;
	width: 100%;
}
.two-left #content {
	margin: 0 5.6% 0 46.4%;
	width: 49.4%;
}
.two-left #secondary {
	float: left;
	margin-left: 3.6%;
	margin-right: 0;
	width: 18.8%;
}
.two-left #extra-sidebar{
	position:relative;
	float: left;
	margin-left: 2.6%;
	margin-right: 0;
	width: 18.8%;
}
/* Adjust the comments */
.commentlist, #respond {
   -margin-right: -2%;
}
/* Extra sidebar fix for narrow browsers/media devices */
@media (max-width: 800px) {
#main #extra-sidebar{
		float: none;
		margin: 0 7.6%;
		width: auto;
	}
}
/* Default right sidebar (Twenty Elevens) with extra sidebar alignment fix*/
#extra-sidebar{
	position:relative;
	float: right;
	margin-right: 7.6%;
	width: 18.8%;
}
/* Left sidebar layout (Twenty Elevens) extra sidebar alignment fix */
.left-sidebar #extra-sidebar {
	float: left;
	margin-left: 7.6%;
	margin-right: 0;
	width: 18.8%;
}
/* Fix for gallery attachment pages 1.5 */
.image-attachment #content{
    margin: 0 7.6% 0 7.7%;
    width: 84.8%;
}
/* Better Comments (makes better use of space in comments)
--------------------------------------------------------- */

/* Make comments as wide as possible*/
.page-template-sidebar-page-php .commentlist,
.single  .commentlist { width: auto; }
/* Make sure we have room for our comment avatars */
.page-template-sidebar-page-php .commentlist > li.comment,
.singular  .commentlist > li.comment,
.single  .commentlist > li.comment {
	margin-left: 102px;
	width: auto;
}
/* Talking avatars take up too much room at this size */
.page-template-sidebar-page-php .commentlist > li.comment,
.singular  .commentlist > li.comment,
.single  .commentlist > li.comment {
	margin-left: 0;
}
.page-template-sidebar-page-php .commentlist > li.comment .comment-meta,
.page-template-sidebar-page-php .commentlist > li.comment .comment-content,
.singular  .commentlist > li.comment .comment-meta,
.singular  .commentlist > li.comment .comment-content,
.single  .commentlist > li.comment .comment-meta,
.single  .commentlist > li.comment .comment-content {
	margin-right: 75px;
}
/* fix the margin for narrow content in threaded comments */
.commentlist .children li.comment .comment-content,
.commentlist .children > li.bypostauthor, .commentlist > li.bypostauthor {
	margin-right: 0;
}
.page-template-sidebar-page-php .commentlist .avatar,
.singular  .commentlist .avatar,
.single  .commentlist .avatar {
	background: transparent;
	display: block;
	padding: 0;
	top: 1.625em;
	left: auto;
	right: 1.625em;
}
.page-template-sidebar-page-php .commentlist .children .avatar,
.singular .commentlist .children .avatar,
.single  .commentlist .children .avatar {
	background: none;
	padding: 0;
	position: absolute;
	top: 2.2em;
	left: 2.2em;
}

.singular #respond,
.single #respond {
	width: 62.9%;
}
/* comment fix for single pages and attachment pages */
#sidebar-page-custom #respond, .single-post #respond {width: auto;}
.commentlist .children  #respond {width:auto;}
.image-attachment .commentlist{width: 68.9%;}
.image-attachment #respond {width: 62.9%;}
.one-column #respond, .wide-column  #respond,
.wide-column .commentlist, .one-column .commentlist, .page-template-default .children  > li#respond {width: auto;}
/* remove the talking arrow, unless you want it */
.commentlist > li.bypostauthor:before , .commentlist > li:before  {
    content: '';
}
/* Change the post author comment look as well */
/* Post Author threaded comments background */
.custom-layouts .commentlist .children > li.bypostauthor,
.custom-layouts .commentlist > li.bypostauthor  {
	background: #efefef;
}

/* Use our own way to author highlight :D~ */
.bypostauthor img.avatar {
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	border-bottom: 5px solid #F5D800;
	padding-bottom: 2px !important;
}

/* Singular - one column page template css for extra layouts
/*------------------------------------------------------------*/
.singular #primary {	margin: 0; }
.custom-layouts.singular #content {
	margin: 0 7.6%;
	position: relative;
	width: auto;
}
.custom-layouts.singular .entry-header,
.custom-layouts.singular .entry-content,
.custom-layouts.singular footer.entry-meta,
.custom-layouts.singular #comments-title {
	margin: 0 auto;
	width: 68.9%;
}
.custom-layouts.singular .entry-meta .edit-link a {
	position: absolute;
	left: 0;
	top: 40px;
}
.custom-layouts.singular #author-info {
	margin: 2.2em -8.8% 0;
	padding: 20px 8.8%;
}



/* Michael Definitions 
--------------------------------------------------*/

#branding {
    border-top: none;
    background: url("img/default_1000.jpg") no-repeat scroll center center;
    display: block;
    height: 235px;
    width: 100%;
}
#branding.manutention {
    background: url("img/manutentionheader_1000.jpg") no-repeat scroll center center;
}

#branding.multimedia {
    background: url("img/multimediaheader_1000.jpg") no-repeat scroll center center;
}

#branding.maison_a_maison {
    background: url("img/maison_a_maisonheader_1000.jpg") no-repeat scroll center center;
}
.natel {
    border: 2px solid red;
    display: block;
    float: left;
    font-weight: bold;
    margin-left: 56.7%;
    margin-top: 10.7%;
    padding: 10px;
    background: none;
}

#tmm_address {
    background: none;
    display: block;
    float: right;
    text-align: center;
    margin-right: 6%;
    margin-top: 3.7%;
    margin-bottom: 5%;
}

#access {
    background: none;
    border-bottom: 3px solid #ff0000;
    box-shadow: none;
    /*height: 45px;*/
	clear: both;
	display: block;
	float: left;
	margin: 0 auto 6px;
	width: 100%;
}

#access div {
    margin: 0 2% 0 7.6%;
}

#access li {
    /*width: 33%;*/
    background: #edeaea;
    border-left: 1px solid #999999;
    border-right: 1px solid #999999;
    border-top: 2px solid #999999;
    /*display: block;*/
    float: left;
    position: relative;
   /* height: 33px;
    margin-top: 10px;*/
}

#access a {
    padding: 0 1em;
    color: #000;

}

#access ul li.current-menu-item, 
#access ul li.current-page-ancestor{
    background: #fff;
    border-left: 2px solid #ff0000;
    border-right: 2px solid #ff0000;
    border-top: 2px solid #ff0000;
    border-bottom: 2px solid #ff0000;
    /*height: 45px;*/
    margin-bottom: -2px;
    font-weight: bold;

    /*margin-top: 0px;*/
}

#access li.current-menu-item:hover > a, #access ul ul *:hover > a, #access a:focus {
        background: #ffffff none repeat scroll 0 0;
        color: #000000;
}

#site-generator {
    background: #ffffff;
    color: #000000;
    font-style: italic;
}

#site-generator span {
    font-weight: bold;
    font-style: normal;
    font-size: 140%;
    margin-left: 2px;
}

.widget {
    margin: 0;
}

.hentry {
    border-bottom: none;
}

/* side menu config */
/*
#extra-sidebar .widget {
    margin-left: 4px;
}

#extra-sidebar .widget-title {
    color: #ff0000;
    font-size: 18px;
    text-transform: none;
    font-style: bold;
    letter-spacing: 0em;
}

#extra-sidebar ul li {
    list-style-type: none;
    border-bottom: 1px solid #999999;
    line-height: 200%;
}

#extra-sidebar .widget ul li > a {
    color: #ff0000;
    font-size: 12px;
}

#extra-sidebar .advanced-sidebar-menu li.current_page_item{
    background-color: #eaeaea;
}

#extra-sidebar .advanced-sidebar-menu li:hover, #extra-sidebar .advanced-sidebar-menu li:hover > a {
    background-color: #ff0000;
    color: #ffffff;
    text-decoration: none; 
}
*/
/* accordeon menu override */
/*div#nextend-accordion-menu-nextendaccordionmenuwidget-2 .active {
    background-color: #00ff00;
}
 */ 
