@media all and (min-width: 1800px) {

	body #page-container {
	    margin-top: 1rem !important;
	    margin-left: auto !important;
	    margin-right: auto !important;
	    margin-bottom: 1rem !important;
	    width: 100%;
	    max-width: 1800px;
	    border-radius: 25px;
	}

	/* Sections's border radius on > 1800px */
	.border-radius-1800-top {
		border-radius: 25px 25px 0 0;
	}

	.border-radius-1800-bottom {
		border-radius: 0 0 25px 25px;
	}

	.border-radius-1800-all {
		border-radius: 25px;
	}

}

@media all and (max-width: 1500px) {
	.custom-card-item {
		width: 31% !important;
	}

	.slider-members-nav .nav-item {
		max-width: 180px;
	}

	.home-slide-members-nav-item-name {
	    font-size: 18px;
	    margin-bottom: 0;
	}



}

@media all and (max-width: 1200px) {

	.custom-card-item {
		width: 48% !important;
	}
}


@media all and (max-width: 980px) {
	/* Home slide Engagements */
	.slider-commitments-nav .nav-item {
		max-height: 200px;
	}

	/* Home slide bureau */
	.slider-members-nav {
	    /*max-width: 100% !important;*/
	    display: none;
	}

	.home-slide-members-item-img img {
		object-fit: contain;
	}

	.home-slide-news-container .slide-news-item-data {
		max-width: 60%;
	}

	.slider-news-nav .slide-news-item-title {
		font-size: 24px;
	}

	.last-chapitres-item-header {
	    flex-wrap: wrap;
	}

	.last-chapitres-item-title-date, .last-chapitres-item-resume {
	    width: 100%;
	}

	.last-chapitres-item-description {
	    width: 100%;
	}

	.last-chapitres-item-content {
	    flex-wrap: wrap;
	}

	.last-chapitres-item-citation {
    	width: 80%;
   		margin: auto;
	}

	.last-chapitres-item-citation .last-chapitres-item-readmore {
		margin-top: 2rem;
	}



}

@media all and (max-width: 768px) {

	/* Menu */

	header .et_pb_section_0_tb_header, header .difl_advancedmenu_0_tb_header .df-am-container.small-device {
		max-height: 80px;
	}

	.difl_advancedmenuitem_1_tb_header {
		place-self: stretch;
	}

	.df-mobile-menu .mobile-slide-inner-wrap {
		height: 100vh;
	}

	/* Home slide news */
	.slider-news-nav {
		display: none;
	}

	.home-slide-news-container {
		margin-bottom: 0;
	}

	.home-slide-news-container .slide-news-item-thumb img {
		border-radius: 25px 25px 0 0;
	}

	.home-slide-news-container .slide-news-item-data {
	    position: relative;
	    left: auto;
	    bottom: auto;
	    border-radius: 0 0 25px 25px;
	    max-width: 100%;
	    padding: 1rem;
	}

	.home-slide-news-container .slide-news-item-excerpt {
		display: none;
	}

	.slide-news-item-reedmore {
	    position: relative;
	    right: auto;
	    bottom: 2rem;
        justify-content: flex-end;
	}

	.slide-news-item-reedmore .custom-readme-btn:before {
		display: none;
	}

	.home-slide-news-container .slide-news-item-title {
    	font-size: 28px;
	}

	/* Home slide Engagements */

	.home-slide-commitments-container .home-slide-commitments-item .home-slide-commitments-item-content h3 {
    	font-size: 1.5rem;
	}

	#section-engagements .et_pb_column.et_pb_column_2_5.et_pb_column_6 {
		flex-direction: column-reverse;
    	display: flex;
	}

	#section-engagements .slick-dots {
		display: none !important;
	}

	/* Home slide bureau */
	.home-slide-members-item {
		flex-direction: column;
	    gap: 1rem;
	}

	.home-slide-members-item-img, .home-slide-members-item-content {
		width: 100%;
		text-align: center;
	}

	.home-slide-members-item a {
	    margin-left: auto;
    	margin-right: auto;
	}

	.slider-members-nav .nav-item {
		width: 50% !important;
    	padding: .5rem;
    	margin: 0;
	}

	.loader-container .loader-text {
	    font-size: 3rem !important;
	}

}

@media all and (max-width: 580px) {

	.custom-card-container {
    	justify-content: center;
	}
	.custom-card-item {
		width: 100% !important;
	}
}