
/* COMPUTERS AND TABLETS */
@media screen and (max-width: 1366px) and (min-width: 1296px) {
}
@media screen and (max-width: 1295px) and (min-width: 1081px) {
}

/* MENU BREAKPOINT */
@media screen and (max-width: 1280px) and (min-width: 980px) {

#top-menu li.parent {
    width: 158px !important;
}
#et-top-navigation{
		padding-top:128px;	
	}
}

/* LOW-REZ LAPTOP */
@media screen and (max-width: 1280px){
	
}

@media screen and (max-width: 1080px) and (min-width: 770px) {

/* Adding vertical space under images in Administration Accueil SL*/
     .tsr-home-news .et_pb_row {
        padding-top: 3% !important;
    }
}

@media screen and (max-width: 640px) and (min-width: 320px) {

/* Adding vertical space under images in Administration Accueil SL*/
     .tsr-home-news .et_pb_row {
        padding-top: 2% !important;
    }
}

/* IPAD LANDSCAPE */
@media screen and (max-width: 1080px) {
	
	/*
	
		FOOTER
		
	*/
	#footer-credit, #footer-info{
		width:100%;
		text-align:center;	
	}
    li.proces-verbaux a {
        padding-top: 7px !important;
    }
    .tsr-avis-publics {
        top: 75px;
    }
}

/* DIVI BREAKPOINT MOBILE */
@media screen and (max-width: 980px) {
	div#custom_html-10, div#custom_html-2, div#search-2 {
    	padding: 0px 20px;
	}

    /* Adjusting image of Administration Accueil responsively SL*/
    .tsr-home-news img {
    width: 100%;
    }

    /* Adjusting Caption of image in Administration Accueil responsively SL*/
    .tsr-home-news .et_pb_row h5 {
        padding-top: 2%;
    }

    .hidden-on-desktop{
		display:block;	
	}
	.style-on-mobile{
		background: lightgray;
		border-bottom: 1px solid #888;
	}
    .tsr-avis-publics {
        right: -35px;
        top: 181px;
    }
	
	/* 
	
		HEADER
		
	*/
	#main-header{
		padding-top: 15px;
	}
	#mobile_menu .parent > a br{
		display:none;	
	}
	.logo_container img{
		margin-left: 0; 
		margin-top: 0;
	}
	.et_header_style_left .logo_container {
		position: static;
		width: 30%;
		height: 100%;
		float: left;
	}	
	.tsr-site-description {
		font-size: 1.7em;
		line-height: 1.2em;
		position: static;
		top: 8px;
		float: left;
		padding-top: 30px;
		padding-left: 10px;
	}
	.tsr-quoi-de-neuf {
		position: static;
		top: 15em;
		max-width: 260px;
		margin: 0 auto;
		padding-top: 7.9em;
		padding-bottom: 1em;
	}
	.et_header_style_left #et-top-navigation {
		display: block;
		padding-top: 7px;
	}	
	.mobile_menu_bar {
		position: absolute;
		top: 1.8em;
		right: 0px;
	}
	#mobile_menu{
		top: 70px;
		padding: 0;	
	}
	.itsmenu ul{
		padding-right: 10px;	
	}
	.itsmenu ul li {
		padding: 5px 0 8px !important;
		min-height: 40px;
		width: 100%;
		background-position: 10px center;
		background-size: 21px;
		border-right: none !important;
	}
	.itsmenu ul li a {
		min-height: 40px;
		height: auto;
		padding-left: 50px;
		text-align: left !important;
	}
	#content-area table td{
		padding:0.857em 0.587em 0.857em 0;
	}
	#content-area table td:first-child{
		padding:0.857em 0.587em 0.857em 0.587em;
	}
	
	/*
	
		CONTENT
		
	*/
	.et_pb_column .et_pb_widget_area_right .et_pb_widget{
		width:100% !important;	
	}
	.et_pb_column .et_pb_widget_area_right .et_pb_widget h4{
		width:100% !important;	
	}
	#et-main-area{
		padding-top:0;
	}
	.tsr-home-news{
		text-align:center;	
	}
	.tsr-home-news .et_pb_column{
		margin-bottom:15px;	
		padding-left:0px;
	}
	#tsr-recent-posts-3, #wysija-2{
		float: none;
		margin: 20px auto !important;	
	}
	body.home .et_pb_column_1 {
    padding-left: 0px;
	}
	#search-2{
		float: left!important;
		margin: 20px auto !important;
	}
	#main-content .container {
		padding-top: 10px;
	}
	.et_pb_section:first-child{
		padding-top:10px !important;	
	}
	.et_pb_section:first-child .et_pb_title_container{
		text-align:center;
		width:100%;	
	}
	#left-area ul, .entry-content ul, .comment-content ul, body.et-pb-preview #main-content .container ul{
		list-style-type:none;	
	}
	.et_pb_column {
		margin-bottom: 0;
	}	

	/* Conseil Municipal */
	.admin-municipale .et_pb_image{
		max-width: 340px;
		width: 100%;
	}
	.admin-municipale h3{
		margin-top:10px;	
	}
	.admin-municipale h3 + p{
		margin-bottom:30px;	
	}
	.admin-municipale .et_pb_text_align_left{
		text-align:center;	
	}
	
	/* Direction Générale */
	.page-id-109 img.alignleft{
		float:none;	
	}
	
	/* Proces verbaux */
	.admin-municipale .documents {
		padding: 0 !important;
	}
	
	/* Taxation */
	.page-id-129 img.alignleft{
		float:none;	
	}
	.services-citoyens .et_pb_text_align_left{
		text-align:center;	
		margin-right:0;
	}
	
	/* Urbanisme */
	.page-id-131 img.alignleft{
		float:none;	
		margin-right:0;
	}
	#left-area .et_pb_toggle ul {
		padding-left: 15px;
	}
	.agrile .wp-caption {
		clear: both;
	}
	
	/* services des loisirs */
	.serv-loisirs .et_pb_text_align_left{
		text-align:center;	
		margin-right:0;
	}
	
	/* Bibliotheque */
	.page-id-152 .serv-loisirs img.alignleft {
		display: inline-block;
		float: none;
	}	
	.page-id-164 .serv-loisirs ul{
		padding-left:0 !important;	
	}
	.page-id-164 .serv-loisirs .et_pb_toggle_content{
		text-align:center;	
	}
	.page-id-164 .serv-loisirs img.alignleft, .page-id-164 .serv-loisirs img.alignright{
		display: inline-block;
		float: none;
		margin-left:0;
		margin-right:0;
	}
	
	/* Pourquoi TSR */
	.seatsr .et_pb_text_align_left{
		text-align:center;	
		margin-right:0;
	}
	.page-id-260 .seatsr img.alignright {
		display: inline-block;
		float: none;
		margin-bottom:15px;
		margin-right:0;
		margin-left:0;
	}
	
	/* Projets residentiels */
	.page-id-168 .seatsr img.alignright {
		display: inline-block;
		float: none;
		margin-bottom:15px;
		margin-right:0;
		margin-left:0;
	}
	
	/* Commerces et entreprise */
	.commerce-section .et_pb_column_1_3,
	.commerce-section .et_pb_column_2_3{
		text-align:center;
	}
	.commerce-section .et_pb_column_2_3 p:first-of-type{
		margin-top:15px;
	}
	.commerce-section .et_pb_column_1_3 img.alignleft{
		display:inline-block;
		float:none;
	}
	.page-id-121 .et_pb_text_0{
		text-align:center;	
	}
	
	/* Contact */
	.page-id-127 .et_pb_text_align_left{
		text-align:center;
	}	
	.blog #sidebar{
		text-align: center;	
	}
	.blog #sidebar .widget_wysija_cont .wysija-submit {
		margin: 20px auto 0 auto;
	}	
	
	/*
	
		FOOTER
		
	*/	
	.footer-widget .widget_nav_menu{
		border-right:none;	
	}
    
    /* POPUP */
    .acx-alert-content {
        padding: 30px 5%;
    }

}

/* IPAD PORTRAIT */
@media only screen and (max-width: 768px) {
	
}

/* IPAD PORTRAIT BEFORE BREAKPOINT */
@media only screen and (max-width: 767px){

	/*
	
		CONTENT
		
	*/	
	/* reglements */
	.documents{
		padding: 0 !important;	
	}
	.documents > .et_pb_column > .et_pb_text > .js-wpv-view-layout{
		padding:20px 10px !important;	
	}
	.documents .et_pb_tabs_controls li{
		padding-top:10px;
		padding-bottom:10px;	
	}

	/*
	
		FOOTER
		
	*/	
	.footer-widget .et_pb_widget{
		width:100% !important;	
	}
	.footer-widget .widget_nav_menu{
		min-height:1px;
	}
	#footer-widgets .footer-widget:nth-child(n), #footer-widgets .footer-widget .fwidget {
		margin-bottom:7% !important;
		text-align: center;
	}	
}

/* IPHONE 6+ LANDSCAPE */
@media only screen and (max-width: 736px){
	/*
	
		HEADER
		
	*/
	.tsr-quoi-de-neuf {
		position: static;
		top: 5em;
		max-width: 50%;
		margin: 0 auto;
	}
	.tsr-site-description {
		font-size: 1.2em;
		line-height: 1.2em;
		position: static;
		top: 8px;
		float: left;
		padding-top: 10px;
		padding-left: 6px;
	}
	.mobile_menu_bar{
		position: absolute;
		top: 0.5em;
		right: 0px;	
	}
	#mobile_menu {
    	top: 40px;
	}
    .tsr-avis-publics {
        right: 0;
        top: 200px;
    }
}

/* IPHONE 6 LANDSCAPE */
@media only screen and (max-width: 667px){
}

/* HTC, GALAXY LANDSCAPE */
@media only screen and (max-width: 640px) {
}

/*IPHONE 5 LANDSCAPE */
@media only screen and (max-width: 568px) {
	/*
	
		HEADER
		
	*/	
	.tsr-quoi-de-neuf {
		padding-top:0;
	}	
}

/* IPHONE 4 LANDSCAPE */
@media only screen and (max-width: 480px) {
	
}

/* IPHONE 6+ PORTRAIT */
@media only screen and (max-width: 414px) {
	/*
	
		HEADER
		
	*/
	.tsr-site-description {
		font-size: 0.8em;
	}
    .tsr-avis-publics {
        top: 140px;
    }
}

/* IPHONE 6 PORTRAIT */
@media only screen and (max-width: 375px) {
    .tsr-avis-publics {
        top: 120px;
    }
}

/* HTC, GALAXY PORTRAIT */
@media only screen and (max-width: 360px) {
}

/* IPHONE 4, IPHONE 5 PORTRAIT */
@media only screen and (max-width: 320px) {
}

/*--------------------------------- TARGET ONLY SPECIFIC DEVICES ------------------------------------------*/
/* TARGET IPAD */
@media only screen and (max-width: 768px) and (min-width: 767px) {
}
@media only screen and (max-width: 1024px) and (min-width: 1023px) {
}

/* TARGET iPHONE 5S */
@media only screen and (device-width: 640px) and (device-height: 1136px) and (orientation: portrait) {
}
@media screen and (max-device-width: 1136px) and (orientation: landscape) and (device-aspect-ratio: 40/71) {
}

/* TARGET IPHONE 5 */
@media only screen and (device-width: 568px) and (orientation: landscape) {
}
@media only screen and (device-width: 320px) and (orientation: portrait) {
}

/* TARGET IPHONE 4 */
@media only screen and (device-width: 320px) and (orientation: portrait) {
}
@media only screen and (device-width: 480px) and (orientation: landscape) {
}

/* TARGET HTC ONE AND GALAXY S5 */
@media only screen and (device-width: 360px) and (orientation: portrait) {
}
@media only screen and (device-width: 640px) and (orientation: landscape) {
}

/* TARGET IPHONE 6 */
@media only screen and (device-width: 375px) and (orientation: portrait) {
}
@media only screen and (device-width: 667px) and (orientation: landscape) {
}

/* TARGET IPHONE 6+ */
@media only screen and ( device-width: 414px ) and ( orientation: portrait ) {
}
@media only screen and ( device-width: 736px ) and ( orientation: landscape ) {
}
.et_header_style_left #et-top-navigation {
  padding-top: 33px !important;
}