/* begin 50-50 Custom CSS */

.mobile-header-top {
	display: none;
}

#header-widget-area {
	width: 200px;
	float: right;
  clear: right;
	margin-top: 5%;
  padding: 1em 0em 0em 6em;
  text-align: center;
  background: #eee url(https://www.50-50magazine.fr/_19/wp-content/themes/5050/images/50-50_email.png) 15px 10px no-repeat;
}
#header-widget-area .widget-title {
  font-size: 20px;
  font-weight: normal;
  font-family: "Novecento", tahoma;
  color: #830101;
  line-height: 28px;
  margin: 0px 0 0px 0px !important;
}
#header-widget-area ul {
	padding: 0 !important;
}
#header-widget-area p {
	margin: 0 !important;
	padding: 0 !important;
}

.title a:hover
{
  text-decoration: underline;
}

#primary-nav {
		background-color: #FFF;
}
#primary-nav li{
		padding-right:0px;
		padding-left:0px;
}
#primary-nav a.sf-with-ul {
    padding-right: 1.5em !important;
}

/* Personnalisation du menu */

/*Ile de france*/
#primary-nav .menu-item-27422{
		background-color: #481185;
		background-image: url("https://www.50-50magazine.fr/_19/wp-admin/images/arrows.png");
		background-repeat: no-repeat;
		background-position: 135px 14px;
		background-size: 15px 123px;
		width:160px;
}
/*France*/
#primary-nav .menu-item-27423{
		background-color: #193E6B;
		background-image: url("https://www.50-50magazine.fr/_19/wp-admin/images/arrows.png");
		background-repeat: no-repeat;
		background-position: 82px 14px;
		background-size: 15px 123px;
		width:110px;
}

/*Monde*/
#primary-nav .menu-item-27424{
		background-color: #3973D1;
		background-image: url("https://www.50-50magazine.fr/_19/wp-admin/images/arrows.png");
		background-repeat: no-repeat;
		background-position: 78px 14px;
		background-size: 15px 123px;
		width:110px;
}

/*Culture*/
#primary-nav .menu-item-27425{
		background-color: #6BC697;
		background-image: url("https://www.50-50magazine.fr/_19/wp-admin/images/arrows.png");
		background-repeat: no-repeat;
		background-position: 92px 14px;
		background-size: 15px 123px;
		width:120px;
}

/*Dossier*/
#primary-nav .menu-item-27417{
		background-color: #236129;
		background-image: url("https://www.50-50magazine.fr/_19/wp-admin/images/arrows.png");
		background-repeat: no-repeat;
	  background-position: 95px 14px;
		background-size: 15px 123px;
		width:120px;
}

/*Débats*/
#primary-nav .menu-item-27426{
		background-color: #CD6940;
		background-image: url("https://www.50-50magazine.fr/_19/wp-admin/images/arrows.png");
		background-repeat: no-repeat;
		background-position: 82px 14px;
		background-size: 15px 123px;
		width:110px;
}

/*Matrimoine*/
#primary-nav .menu-item-31634{
		background-color: #B02D3B;
		display:block;
		width:135px;
		text-align:center;
		/* 
		background-image: url("https://www.50-50magazine.fr/_19/wp-admin/images/arrows.png");
		background-repeat: no-repeat;
		background-position: 214px 15px;
		background-size: 15px 123px; */
}

/*média*/
#primary-nav .menu-item-35405{
		background-color: #D15E97;
		display:block;
		width:100px;
		text-align:center;
		background-image: url("https://www.50-50magazine.fr/_19/wp-admin/images/arrows.png");
		background-repeat: no-repeat;
		background-position: 75px 15px;
		background-size: 15px 123px;
}
/* Fin Personnalisation du menu */
#primary-nav .sub-menu {
  width: auto-flow;
}

#primary-nav .sub-menu li {
  border: 0px;
	list-style-type: none;
}
#primary-nav .sub-menu li:hover {
  border: 0px;
	text-decoration:underline;
}
#primary-nav .sub-menu li a {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: Bold;
  padding: 5px 0 10px 0;
  line-height: 120%;
}

.no-thumbnail {
 	display : none; 
}

.entry-content h2:first-child,
.entry-content h2 span {
 line-height: 150%; 
  margin-bottom: 2em; 
}
body.home .cat-title h3 {
  margin: 1em 0 2em 0;
  color: #830101;
  font-weight: bold;
  text-transform: uppercase;
}
body.home .cat-description {
  margin: 1em 0;
}
body.home .cat-description p {
  text-align: justify;
  text-justify: newspaper;
}
body.home .cat-description .alignleft {
  margin: 0 1em 1em 0 !important;
}
body.home .cat-description .wp-caption .wp-caption-text,
body.home .cat-description .wp-caption .wp-caption-dd {
  text-align: center;
  font-style: italic; 
  font-size: small;
}

/*	extraits du slider page accueil	*/
body.home .slider .excerpt p {
 	margin-bottom:  5px;
}

/* single / custom tags list	*/
.post-tags {
	padding: 1em;
	border-radius: 3px;
	background: #EEEEEE;
}
/* personnalisation du bloc related posts de bas de page sur les pages d'articles */
body.single #related-posts {
	margin-bottom: 3em !important;
}
body.single #related-posts .item .image {
	display: none;
}
/* masquage des compteurs de liens des réseaux sociaux */
.sharedaddy .share-count {
	display: none; 
}

/* sidebar */
#sidebar .textwidget .pdfprnt-bottom-right {
 	display: none; 
}
#sidebar .textwidget .su-post p {
 	line-height: 23px; 
}
#sidebar .textwidget .sidebar-widget-newsletter {
	background: #eee url(https://www.50-50magazine.fr/_19/wp-content/themes/5050/images/50-50_email.png) 15px 10px no-repeat;
	padding: 1.25em 1em 1em 7em;
	min-height: 30px;
}

/* sous-titres des categories dans la page des dossiers */
.category-block {
    margin: 0px 0 20px 0;
    padding-top: 25px;
}
.category-block:first-child {
    padding-top: 0;
}
.category-block h2 a {
    color: #810409;
}
.category-title {
    background: url("http://www.50-50magazine.fr/_19/wp-content/themes/zend/images/hor_dash.png") repeat-x bottom;
	font-size: 20px;
	font-family: "Novecento", tahoma, sans-serif;
  	line-height: 36px;
	color: #000;
    margin: 20px 0 0 0;
  	padding: 0 0 10px 0;
  clear: both;
}
.category-title span {
    color: #830101 !important; 
}
.category-description {
  	padding: 30px 0 10px 0;
}
.category-description img,
.category-description .wp-caption,
.cat-description img {
  float: left;
  margin: 0 .5em 1em 0;
}
.single h2.post_title .cate a {
    color: #810409 !important;
}

/*
espacement du lecteur audio
*/
.wp-playlist-current-item,
.wp-playlist-tracks {
 	display: none !important;  
}
.mejs-container {
 margin: 0.5em 0 0.5em 0 !important; 
}

/*
formulaire de contact
*/
.contact-form label {
  font-family: "Novecento",tahoma, sans serif !important;
  color: #4D4A49 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  padding: 0 0 8px !important;
  width: 400px !important;
}
.contact-form label span {
  text-transform: lowercase !important;
}
.contact-form p.contact-submit input.pushbutton-wide {
  background-color: #830101;
    border: medium none;
    border-radius: 2px 2px 2px 2px;
    color: #FFFFFF;
    cursor: pointer;
    float: right;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 15px;
}
.contact-form textarea {
    -moz-box-shadow: 0 2px 0 #F1F1F1 inset;
    -webkit-box-shadow: 0 2px 0 #F1F1F1 inset;
    box-shadow: 0 2px 0 #F1F1F1 inset;
    border: 1px solid #D9D9D9;
    float: left;
    height: 200px;
    padding: 10px;
    width: 97% !important;
}
.contact-form input[type="text"],
.contact-form input[type="email"]{
    -moz-box-shadow: 0 2px 0 #F1F1F1 inset;
    -webkit-box-shadow: 0 2px 0 #F1F1F1 inset;
    box-shadow: 0 2px 0 #F1F1F1 inset;
    border: 1px solid #D9D9D9;
    padding: 10px;
}





/*	PLUGINS	*/

/*	Simple Share Button Adder	*/
.ssba {
 	margin-bottom: 0.5em !important; 
}
.home .cat-container .ssba {
  display: none;
}

#sharing_box .social-buttons li {
	margin-right: 1em !important;
}
#sharing_box .social-buttons li.facebook_button {
	margin-top: -3px !important;
}


/*	Related Posts Thumbnails	*/
.relpost-thumb-wrapper { 
  background: #eee; 
  padding: 1em;
  margin: 1em auto 1em auto;
  text-align: center;
}
.relpost-block-single {
 	margin: 0 1em !important; 
}
#sidebar .relpost-thumb-wrapper {
  display: none;
}


/*	Print Post and Page	*/
.h5ab-print-button-container {
  padding-left: .5em;
}


/*	Shortcodes Ultimate	*/
.sitemap_menu .sub-menu {
	margin-left: 2em;
	margin-bottom: 1em;
}
.sitemap_table table {
	border: 0px solid #fff !important;
}


@media only screen  
and (max-width : 1000px) {
  
  #header-widget-area {
   	width: 100%; 
    text-align: center;
		padding-top: 20px;
  }
	
	.inner_wrap {
		margin-top: 0px !important;
	}
	
	.wrap {
		padding: 0 15px;
	}
	
	.mobile-header-top {
		display: block;
		background-color: #EEEEEE;
		text-align: center; 
		padding: 2px 5px;
	}
	.mobile-header-top span {
		display: inline-block;
		margin-right: 5px;
	}
	.mobile-header-top div {
		background-color: transparent;
	}
	.mobile-header-top-social {
		padding-top: 3px;
	}
	
	.mobile-header-top-search form {
		margin: 2px 0 0 0;
		padding: 5px 0 0 0 !important;
	}
	
	.mobile-header-top-search form input[type=text] {
		box-sizing: border-box;
		height: 25px !important; 
		width: 75%;
		padding-left: 3px;
		border: 2px solid #e7e7e7;
		float: left;
		margin-right: 5px;
	}
	
	.mobile-header-top-search form input[type=image] {
		float: left;
	}
	
	.header-middle {
		margin: 10px 0;
	}
	
	#social_sharing {
		display: none;
	}
	#header-widget-area {
		display: none;
	}
	
	.header-top.mobile {
		display: none !important;
	}
	
	#logo {
		max-width: 100%;
	}
	#logo img {
		margin: 0 auto !important;
		width: 50% !important;
		display: block !important;
		float: none !important;
	}
	
	#mobile-nav{
		border-radius: 5px;
	}
	
	.home .cat-container:first-child {
		margin-top: 25px;
		clear: both;
	}
	
	#sidebar {
		margin-bottom: 30px;
	}
	
  .home .flexslider .ssba {
    display: none;
  }
  
}

@media only screen  
and (max-width : 540px) {
	
	.home .cat-container .slides .slide .item img {
		display: none;
	}
	.home .cat-container .slides .slide:first-child .item:first-child img {
		display: block;
	}

}



@media only screen  
and (max-width : 540px) {
	
	.flex-viewport .item .image {
		height: 200px; 
		overflow: hidden;
	}
	.flex-control-nav {
		bottom: 390px !important;
	}
	
}

/*	tmp fix for double-column broken into 1	*/
.cat-container.two-columns .item:nth-child(2n) {
	margin-right: 0px !important;
}
.two_columns.item:nth-child(2n) {
	margin-right: 0px !important;
}

/* end 50-50 Custom CSS */