 /*
 Theme Name: Hebdo
 Description: Thème hebdo créé par KR
 Author: Pierre
 Author URI: https://www.l-hebdo.com/
 Template: twentysixteen
 Version: 1
 */

.ptitbonhomme{
	float: left;
	width: 250px;
	margin: auto;
	position: relative;
    min-height: 100px;
    padding-right: 15px;
    padding-left: 15px;
}

@media screen and (min-width: 61.5625em){
.custom-logo {
    max-width: 500px !important;
	width: 500px;
	height: 105px;
}}

.site-inner{
max-width: 100% !important;
}

.site-header, .site-content{
max-width:1570px !important;
margin: auto;
}

.site-header-menu#site-header-menu{
padding-right: 100px;
}

@media screen and (max-width: 1280px) and (min-width: 1080px){
.ptitbonhomme {
    display: none !important;
}
#secondary.sidebar{
	margin-left: 66%;
}
}

@media screen and (max-width: 1280px){
.ptitbonhomme {
    display: none !important;
}
}

h2.widget-title{
text-align: center;
}

#primary{
margin-left: 50px;
}

.site-info{
    text-align: center;
    width: 100%;
}

a{
color: #1A1A1A !important;
box-shadow: none !important;
}

a:hover{
font-weight: bold;
}

@media (max-width: 909px) {
  #content.site-content{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    /* optional */
    -webkit-box-align: start;
    -moz-box-align: start;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
  }

  #primary.content-area{
    -webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
  }

  #secondary.sidebar{
    -webkit-box-ordinal-group: 1;
    -moz-box-ordinal-group: 1;
    -ms-flex-order: 1;
    -webkit-order: 1;
    order: 1;
	width: 88%;
	margin: auto;
	padding: 33px !important;
  }
}

.woocommerce div.product .woocommerce-tabs ul.tabs{
display: none;
}

.woocommerce button.button.alt, .woocommerce button.button.alt:hover{
background-color: #000000;
min-height: 42px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button, .woocommerce a.button.alt:hover, .woocommerce a.button.alt{
background-color: #000000;
color: #FFFFFF !important;
}

span.posted_in{
display: none;
}

@media screen and (min-width: 1281px)
{
.main-navigation a {
    outline-offset: -8px;
    padding: 0.65625em 0.4em !important;
    white-space: nowrap;
    font-size: 15px !important;
}}

#menu-item-115, #menu-item-115 > a {
	background-color: #000000;
	font-weight: bold;
	color: white !important;
}

@media screen and (min-width: 56.875em){
.sidebar {
		float: left;
		margin-left: 60%;
		padding: 0;
		width: 17%;
	}

	.content-area {
		float: left;
		margin-right: -100%;
		width: 50%;
	}
}

@media screen and (max-width: 1280px) and (min-width: 1080px)
{
	#secondary.sidebar {
    	margin-left: 80%;
	}
	
	.content-area {
		float: left;
		margin-right: -100%;
		width: 70%;
	}
	
	#primary {
    	margin-left: 0px;
	}
}