/*
Theme Name: lagazette
Theme URI: http://www.am-designer.com
Description: theme pour la gazette 
Version: 1.0
Author: AM Designer
Author URI: http://www.am-designer.com
Tags:designer
*/

@media only screen and (max-width: 1000px){

	.publicite {
	background-image:url(../../../uploads/pub-mobile.gif); 
	background-size: 100%;
	height: 500px;
	width: 100%;
	background-repeat: no-repeat;
}

	.logo {
    padding: 50px 0;
    display: block;
    margin: 0 auto;
    position: relative;
}

	.logo img {
    max-width: 60%;
    display: block;
    margin: 0 auto;
}
	
	.container-header{
		display: none;
	}
	
	.menumobile {
		display: none;
		width: 100%;
}
	
	.rubrique-societe, .rubrique-economie {
    width: 100%;
}
	
	.container-header-mobile {
    width: 100%;
    position: fixed;
    display: flex;
    display: -webkit-flex;
        background: rgba(0,0,0,0.9);
    color: #ffffff;
    justify-content: center;
    padding: 1rem 0;
    z-index: 99;
		flex-direction: column;
		align-items: center;
}

	.container-header-mobile .search
	{display: none;}
	
	.menumobile ul{
		display: block;
		width: 100%;
	}
	
	.menumobile ul>li {
		display: block;
		text-align: center;
		line-height: 3em;
	}
	
	.menumobile ul>li>a{
		font-size: 1em;
		color:#FFFFFF;
	}
	
	
	.content-container {
		flex-direction: column;
	}
	
	.first-col,
	.second-col,
	.third-col
	{
    width: 100%;
	}
	
	p {
    font-size: 12px !important;
    font-weight: normal;
    line-height: 23px;
}
	
	.texte-hc h2,
	.rubrique h2,
	.rubrique-economie h2,
	.rubrique-societe h2
	 {
    font-size: 1em;
}

	.rubrique-societe img, .rubrique-economie img{
		width: 100%;
		height: auto;
	}
	
	.rubrique_soc_econo{
		flex-direction: column;
	}
	
	.container-banner {
    max-height: 250px;
		}
	
	.second-col img {
    width: 100%;
    height: auto;
   /* max-width: 50%;*/
		margin: 0 auto;
}
	
	.archives ul li {
		display: inline-block;
	}
	
	.archives ul li:after {
		content:"  |  ";
	}


	/**************************************************************FULL ARTICLE*/
	.full-article{
	width:100%;
	}

	.related-article {
    width: 100%;
    padding: 4em;
	}

	.related-article h2 {
		width: 100%;
		display: block;
	}

	.logo-full {
    padding: 10px 0;
    /* margin-top: 20px; */
    /* margin-left: 20px; */
    margin: 0 auto;
    position: relative;
    margin-top: 0.5em;
    /* margin-bottom: 1em; */
}

	.logo-full img{
		display: block;
		margin:0 auto;
	}

	.big-container.full {
    margin-top: -171px;
}

		.contact {
	flex-direction: column;
	align-items: center;
	}

	.contact-standard,
	.contact-demi
	{
	width: 60%;
	padding: 1em;
	text-align: center;
	}
	
	.contact-demi-container {
		flex-direction: column;
		    align-items: center;
	}

}


@media only screen and (max-width: 480px){

	.publicite {
	background-image:url(../../../uploads/pub-mobile.gif); 
	background-size: 100%;
	height: 200px;
	width: 100%;
	background-repeat: no-repeat;
}

	.logo-full {
		    position: relative;
    left: auto;
        margin-top: 0; 
	}

	.logo-full img{
		max-width: 55%;
		    display: block;
    margin: 0 auto;
	}

	h1 {
    font-size: 22px !important;
	line-height: 22px !important;
	}

	h2 {
    font-size: 20px !important;
	line-height: 20px !important;
	}

	h3 {
    font-size: 18px !important;
	line-height: 18px !important;
	}

	.contact-demi-container {
		flex-direction: column;
		    align-items: center;
	}

	.contact {
	flex-direction: column;
	align-items: center;
}
	.contact-standard,
	.contact-demi
	{
	width: 60%;
	padding: 1em;
	text-align: center;
	}

	.rubrique-societe img, .rubrique-economie img{
		width: 100%;
		height: auto;
	}

	.footer-txt{
		flex-direction: column;
		justify-content: center;
	}
	
	
		.menumobile {
		display: none;
		width: 100%;
	}
	
	
	.container-header-mobile {
    width: 100%;
    position: fixed;
    display: flex;
    display: -webkit-flex;
        background: rgba(0,0,0,0.9);
    color: #ffffff;
    justify-content: center;
    padding: 1rem 0;
    z-index: 99;
		flex-direction: column;
		align-items: center;
}

	.container-header-mobile .search
	{display: none;}
	
	.menumobile ul{
		display: block;
		width: 100%;
	}
	
	.menumobile ul>li {
		display: block;
		text-align: center;
		line-height: 3em;
	}
	
	.menumobile ul>li>a{
		font-size: 1em;
		color:#FFFFFF;
	}
	
	
	
	
	.container-header{
		display: none;
	}
	
	.image-hc img {
    width: 100%;
    height: 129px;
    border-radius: 5px;
}

.article_hc {  height: auto;
    overflow-y: visible;}

	
	.article_hc_block {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    padding-bottom: 1em;
    margin-bottom: 1em;
    border-bottom: 1px #e1e1e1 solid;

}
	
	.texte-hc {
    padding-left: 0; 
}
	
	.contenu_rubrique img{
		width:100%;
	}
	
	.second-col img{
	     max-width: 100% ; }
	
	.capture_and_black_block {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
}
	
	.black_block {
    width: 100%;}
	
	.capture {
    width: 100%;}


	
/**************************************************************FULL ARTICLE*/
	.full-article{
	width:100%;
	    padding: 1em;
	}

	.related-article {
    width: 100%;
    padding: 1em;
	}

	.related-article h2 {
		width: 100%;
		display: block;
	}

	.txt-title-related a{
		font-size: 12px;
	}

	.image-one-related{
		display: none;
	}

	.txt-title-related{
		padding-left:0;
	}

	
	.big-container.full {
    margin-top: -192px;
}



}
	