/* RETINA */
@media screen and (min-width: 1440px) {
}

@media screen and (max-width: 1400px){
	.ndip-accueil-post-category {
		border-left: none;
	}
}
/* The big, the large and mega ones */
@media screen and (max-width: 2550px) and (min-width: 2200px) {

/*	!* TELLEMENT BEAU xxx *!
	.logged-in .concours-photo-crest-row {
		margin-top: 12vw;
	}*/
}

/* MAC BOOK */
@media screen and (max-width: 1440px) and (min-width: 1367px) {
}

/* DESKTOP 1 */
@media screen and (max-width: 1366px) and (min-width: 1296px) {
}


/* DESKTOP 2 */
@media screen and (max-width: 1295px) and (min-width: 980px) {
	#content-area{
		display:flex;
	}
	#sidebar{
		min-width: 350px;
	}
	#main-content > .container{
		width:90%;
	}
	#main-content .container{
		padding-top:0;
	}
	h4.widgettitle{
		font-size: 23px;
		margin-bottom: 20px;
	}
}

@media screen and (max-width: 1800px) {
	#MenuPart br{
		display: block;
	}
}

@media screen and (max-width: 1500px) {
	#et_top_search{
		margin-left: 20px;
    	margin-right: 20px;
	}
	#top-menu > li.menu-item > a{
		padding: 30px 35px 40px 25px !important;
		font-size: 14px;
	}
	.et-fixed-header #top-menu > li.menu-item > a{
		padding: 30px 28px 40px 18px !important;
	}
	#et-secondary-nav .menu-item-has-children > a:first-child:after,
	#top-menu .menu-item-has-children > a:first-child:after{
		right:10px;
	}
	.et-fixed-header #et-secondary-nav .menu-item-has-children > a:first-child:after,
	.et-fixed-header #top-menu .menu-item-has-children > a:first-child:after{
		top:30px;
	}
	.et-fixed-header #et_top_search {
		margin-top: 30px;
	}
	.accueil-vous-desirez-module{
		background-color:#FFF;
		margin-left: 60%;
		padding: 20px 44px !important;
	}
	#main-footer > .container{
		padding:0 10px;
	}
}
@media screen and (max-width:1440px){
	body #main-header .nav > li > ul {
		padding-left: 20%;
		padding-right: 12%;
	}
}

@media screen and (max-width: 1280px) {
    body #main-header .nav > li > ul {
		padding-left: 30px;
		padding-right: 2%;
	}
	.et_section_specialty > .et_pb_row > .et_pb_column_1_3.et_pb_column_single a{
		font-size: 15px;
    	line-height: 1.5em;
	}
	#main-footer > .container{
		width: 90%;
	}
	#footer-widgets .footer-widget:first-child{
		width: 100% !important;
		display: flex;
		overflow: hidden;
	}
	#footer-widgets .footer-widget:first-child #media_image-2{
		margin-bottom: 0;
	}
	#footer-widgets .footer-widget{
		width:23%;
	}
	#footer-widgets .footer-widget li{
		width:100%;
	}
	#footer-widgets .et_social_icons_container > li{
		width:auto;
	}

	.logged-in .concours-photo-container {
		text-align: center;
	}
	.logged-in .concours-photo-crest-row .et_pb_image_wrap  {
		position: unset;
	}
}

@media only screen and (max-width: 1136px){

	/* TELLEMENT BEAU xxx */
	.logged-in .concours-photo-crest-row {
		margin-top: 25%;
	}
}
/* IPAD LANDSCAPE */
@media screen and (max-width: 1080px) {
	#top-menu > li.menu-item > a {
		padding: 30px 30px 44px 20px !important;
		font-size: 12px;
	}
	#main-footer > .container{
		width: 90%;
	}
	.tribe-mini-calendar-event .list-info{
		width:60%;
	}
	#section_attrait .bloc_attrait{
		flex:0 1 calc(50% - 18px);
	}
	.home .tribe-mini-calendar-grid-wrapper{
		flex:0 1 320px;
		margin-right:30px;
	}
	.home .tribe-mini-calendar{
		height:auto;
	}
	.footer-widget #MenuPart div ul > li a{
		font-size:15px;
	}
}


/* DIVI BreakPoint */
@media screen and (min-width: 981px) {
    /* min-width -- desktop */
}
@media screen and (max-width: 980px) {
    /* max-width -- mobile */
    .acx_normal_text h2 {
        font-size: 32px !important;
    }
    #et_top_search {
    	margin-top: 0;
	}
	body.et_fixed_nav.et_secondary_nav_only_menu.admin-bar #main-header,
	body.et_non_fixed_nav.et_transparent_nav.et_secondary_nav_only_menu.admin-bar #main-header{
		top:-20px !important;
	}
	#logo{
		max-height: 140% !important;
    	margin-left: 0;
	}
	#accueil-slider .et_pb_slide_description{
		padding:100px 0 0 0;
	}
	.ndip-accueil-slider .et_pb_slides,
	.ndip-accueil-slider .et_pb_slide{
		min-height:700px;
	}
	.ndip_titre_principale_slider {
		font-size: 37px;
    	padding-bottom: 30px;
	}
	.ndip_titre_principale_hash {
		font-size: 60px;
	}
	.ndip_texte_description_slider {
		font-size: 23px;
	}
	#accueil-slider .et_pb_button, .et_pb_button{
		font-size:15px;
	}
	.home .et_pb_section_0{
		min-height:0;
	}
	.ndip_accueil_slider_views{
		margin-top:-45px;
	}
	.ndip-accueil-post-title{
		padding-left:0;
		font-size:20px;
		padding-top:10px;
	}
	.ndip-accueil-slider-header{
		margin-left:0;
	}
	.ndip-accueil-post-category{
		border-left:0;
		border-top:1px solid #045f91;
		padding-left: 0px;
    	padding-right: 0px;
		margin-left: 10px;
    	margin-right: 10px;
		padding-top:6px;
		margin-top:6px;
	}
	.ndip-accueil-post-read-more{
		padding-top:22px;
		padding-left:0;
	}
	.accueil-rejoindre-image{
		position: absolute;
		right: 50px;
		top: 160px;
	}
	.offres-concours .et_pb_button_module_wrapper {
		text-align: left !important;
	}
	a.et_pb_button.offre-emploi-button {
		margin-left: 0 !important;
	}
	#inscrivez_col + .et_pb_column{
		min-height:0;
	}
	.et_right_sidebar #left-area{
		width:100% !important;
	}
	.blog #sidebar, .single #sidebar {
		margin-top: 100px;
		margin-bottom: 40px;
	}
	.tribe-mini-calendar{
		max-width:320px;
	}
	#MenuPart{
    	margin-bottom: 20px;
		padding-bottom:0;
	}
	#MenuPart > div:first-child{
		flex-direction: row;
    	padding: 10px 15px 10px 10px;
		justify-content: space-between;
	}
	#MenuPart > div > ul:not(.coords_part){
		padding:0;
	}
	.footer-widget #MenuPart div ul > li a{
		font-size:16px;
	}
	body:not(.home):not(.page-id-30859) #page-container .et_builder_inner_content > .et_pb_section_0.et_pb_fullwidth_section > .et_pb_fullwidth_header_0 {
		min-height: 0;
		padding-top: 190px;
	}
	body:not(.home):not(.page-id-30859) #page-container .et_builder_inner_content > .et_pb_section_0.et_pb_fullwidth_section > .et_pb_fullwidth_header_0 .et_pb_module_header{
		margin-bottom:40px;
	}
	.home .tribe-mini-calendar-grid-wrapper{
		margin-right:40px;
	}
	.home .tribe-mini-calendar-wrapper{
		flex-direction:column;
	}
	#service_en_ligne{
		position: static;
		text-align: center;
		margin-top: 30px;
	}
	.accueil-offre-emploi-two-thirds-column .accueil-vous-desirez-module{
		min-height:0;
		margin:30px 0 0 0 !important;
	}
	#footer-widgets .footer-widget:last-child{
		width:100% !important;
	}
	#footer-widgets .footer-widget:last-child > div:first-child{
		margin-bottom:30px;
	}
	.ndip-accueil-parent-view-slider{
		justify-content: space-around;
	}
	#mosaic{
		/* display:flex; */
		/* flex-direction: column; */
		/* max-height:none; */
	}
	#mosaic-main{
		margin-bottom:20px;
		flex: 1;
	}
	#mosaic > div{
		/* margin-right:0; */
	}
	#mosaic-col-left,
	#mosaic-col-right{
		display: flex;
    	justify-content: space-evenly;
	}
	#mosaic-main{
		width: 50%;
   	 	margin: 0 auto 20px auto;
	}
	.single-attrait #et-main-area{
		padding-top:128px;
	}
	.home .tribe-mini-calendar{
		max-width:320px;
	}

	.no-padding {
		padding: 0 !important;
	}
    /*.ndip_accueil_slider_views .et_pb_row_0{*/
    /*    width:100%;*/
    /*    padding-left:3%;*/
    /*    padding-right:3%;*/
    /*}*/

	/* PAGE TELLEMENT BEAU  xxx */
	.logged-in .concours-photo-crest-row {
		margin-top: 20%;
	}
	#top-menu {
    	display: none;
	}
    .accueil-vous-desirez-module{
		margin-left: 0;
	}
}

@media only screen and (min-width: 600px) and (max-width: 800px) {
	#form_concours-photo .frm_form_field.frm_fourth {
		width: 100%;
	}
}


/* Generic Tablets */
@media only screen and (max-width: 767px){

    .ndip-accueil-parent-view-slider{
        flex-direction:column;
        justify-content: center;
        align-items: center;
    }
    .ndip-accueil-slider-posts{
        border:none;
        border-top:1px dashed #045F91;
        width: 100%;
        max-width: 300px;
    }
    .ndip-accueil-slider-posts:first-child{
        border-top:none;
    }
    .ndip-accueil-post-category{
        margin: 0;
        padding: 0 10px;
        border: none;
        border-left: 1px solid #045f91;
    }
	.ndip_titre_principale_slider{
		font-size:27px;
	}
	.ndip_titre_principale_hash{
		font-size: 46px;
	}
	.ndip_texte_description_slider{
		font-size:20px;
		width:100%;
	}
	.ndip-accueil-post-title{
		font-size: 15px;
	}
	.et_menu_container{
		width:90%;
	}
	#accueil-slider .et_pb_button, .et_pb_button{
    	padding: 15px 40px 15px !important;
	}
	.ndip-accueil-slider-posts{
		padding:0 10px;
	}
	.ndip-accueil-slider-posts br{
		display:none;
	}
	.ndip-accueil-post-date{
		font-size:10px;
	}
	.ndip-accueil-post-category{
		font-size:10px;
	}
	.ndip-accueil-post-read-more a{
		font-size: 11px;
	}
	.accueil-rejoindre-text-left{
		float: none;
		width: 100%;
		max-width: 80%;
	}
	.accueil-rejoindre-image{
		float: none;
		position: static;
		margin-top:50px;
		transform: none;
	}
	.bouton-contour{
		min-width:0;
	}
	.et_pb_module.accueil-nous-joindre-left-module{
		min-height:0;
		padding:20px !important;
	}
	.accueil-nous-joindre-left-module h2{
		font-size: 20px;
		padding-bottom: 20px;
	}
	.accueil-rejoindre-text-left p{
		font-size: 14px;
		line-height: 1.6em;
	}
	.accueil-rejoindre-text-left{
		max-width:100%;
	}
	body:not(.home):not(.page-id-30859) #page-container .et_builder_inner_content > .et_pb_section_0.et_pb_fullwidth_section > .et_pb_fullwidth_header_0 .et_pb_module_header{
		font-size: 35px;
		letter-spacing: 2px;
		margin-bottom: 20px;
	}
	.et_pb_fullwidth_header .et_pb_fullwidth_header_container.left .header-content, .et_pb_fullwidth_header .et_pb_fullwidth_header_container.right .header-content{
		margin:0;
	}
	body:not(.home):not(.page-id-30859) #page-container .et_builder_inner_content > .et_pb_section_0.et_pb_fullwidth_section > .et_pb_fullwidth_header_0 .et_pb_fullwidth_header_subhead{
		font-size:25px;
		padding: 22px 40px;
	}
	.et_pb_with_border.et_pb_section.et_pb_section_1.et_section_regular span > span a, .et_pb_with_border.et_pb_section.et_pb_section_1.et_section_regular span > span span{
		font-size:13px;
	}
	.et_pb_toggle .et_pb_toggle_content table{
    	width: 100% !important;
	}
	table th{
		font-size: 14px;
		line-height: 1.3em;
	}
	.acx_liens_download_only_pdf a, .acx_liens_download_only_pdf a[href$=".pdf"]{
		font-size:15px;
	}
	html, body{
		overflow-x:hidden;
	}
}

@media only screen and (max-width: 700px){
	/* PAGE TELLEMENT BEAU xxx */
	.logged-in .concours-photo-crest-row {
		margin-top: 20%;
	}
	.logged-in .concours-photo-crest-row .et_pb_image_wrap {
		max-width: 175px;
	}
}

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

/* IPHONE 6 LANDSCAPE */
@media only screen and (max-width: 667px){
	#logo{
		max-height: 170% !important;
	}
	.et_header_style_left .mobile_menu_bar, .et_header_style_split .mobile_menu_bar{
		padding-bottom:10px;
	}
	.et_header_style_left #et-top-navigation, .et_header_style_left .et-fixed-header #et-top-navigation{
		padding-top:10px;
	}
	#tellement-beau-attraits-row {
		background-image: url(/wp-content/themes/ndip/img/svg/pastille_vivez.svg);
		background-size: 230px;
		background-position: top 12px center;
		margin-top: 130px;
	}
	h2, .product .related h2, .et_pb_column_1_2 .et_quote_content blockquote p{
		font-size:30px;
	}
	#attraits_filters_radios > div{
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	#attraits_filters_radios > div label{
		margin-right:0;
		max-width:320px;
    	align-items: center;
	}
	#section_attrait{
		justify-content: center;
	}
	#section_attrait .bloc_attrait{
		flex:0 1 100%;
	}
	#sidebar #searchform input#searchsubmit, .frm_style_style-formidable.with_frm_style .frm_submit input[type="submit"], #accueil-nous-joindre-row .widget_wysija_cont .wysija-submit, .et_pb_widget .widget_wysija_cont .wysija-submit{
		font-size:15px;
    	padding: 15px 20px 15px !important;
	}
	#footer-widgets .et_social_icons_container{
		margin-left:40px !important;
	}
}

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

/*IPHONE 5 LANDSCAPE */
@media only screen and (max-width: 568px) {
	.mot-de-la-mairesse img {
		float: none;
		width: 100%;
	}
	.offre-emploi-container {
		flex-flow: row wrap;
	}
	.offre-emploi {
		min-width: 100%;
	}
}
@media only screen and (max-width: 520px) {
	a.bouton-contour {
		padding-right: 20px !important;
		padding-left: 20px !important;
		width: 100%;
		text-align: center;
	}
}

/* IPHONE 4 LANDSCAPE */
@media only screen and (max-width: 480px) {
	#MenuPart > div:first-child{
		flex-direction: column;
	}
	#MenuPart > div:first-child .menu{
		margin-bottom:20px;
	}
	.ndip-accueil-post-date{
		padding: 0 5px;
	}
	.ndip-accueil-post-title{
		font-size:13px;
	}
	.ndip-accueil-post-read-more .underline-button{
		padding-top:10px;
	}
	.tribe-mini-calendar-grid-wrapper{
		margin-right:0;
	}
	.home .tribe-mini-calendar{
		width:100%;
	}
	.home .tribe-mini-calendar-grid-wrapper{
		margin-right:0;
	}
	.entry-content tr td, body.et-pb-preview #main-content .container tr td{
		padding:6px 14px;
	}
	body:not(.home) #et-main-area{
		margin-top: 160px;
	}
	body:not(.home):not(.page-id-30859) #page-container .et_builder_inner_content > .et_pb_section_0.et_pb_fullwidth_section > .et_pb_fullwidth_header_0 .et_pb_module_header{
		font-size: 28px;
	}
	body:not(.home):not(.page-id-30859) #page-container .et_builder_inner_content > .et_pb_section_0.et_pb_fullwidth_section > .et_pb_fullwidth_header_0 .et_pb_fullwidth_header_subhead{
		font-size: 18px;
		padding: 15px 20px;
	}
	.et_pb_with_border.et_pb_section.et_pb_section_1.et_section_regular span > span a, .et_pb_with_border.et_pb_section.et_pb_section_1.et_section_regular span > span span{
		font-size:13px;
	}
	a.et_pb_button.offre-emploi-button {
		width: 100%;
	}
}

/* IPHONE 6+ PORTRAIT */
@media only screen and (max-width: 414px) {

}

/* IPHONE 6 PORTRAIT */
@media only screen and (max-width: 375px) {
	#popmake-24893 .check_availability {
		width: 100%;
	}
	/* ---------------------------------------- */
	/* Sidebar - cart*/
}

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

/* IPHONE 4, IPHONE 5 PORTRAIT */
@media only screen and (max-width: 320px) {
	.accueil-view-offre-emploi {
		padding: 10px;
	}
}

/*--------------------------------- 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 ) {
}
