
/* Sticky header */
header {
	z-index: 1000;
	border-width: 0;
}
header img.custom-logo {
	width: auto;
}
.header-socialmenu {
	padding-top: 5px;
}
header.sticky,
header.sticky img.custom-logo {
	height: 75px;
	transition: height 0.6s ease;
}
.header-navs-container {
	top: 0px;
	transition: top 0.6s ease;
}

body.with-sticky-header header.sticked,
body.with-sticky-header header.sticked img.custom-logo {
	height: 50px;
}
header.sticked .header-navs-container {
	top: -25px;
}

body.with-sticky-header.page-template-page-onepage > section:first-of-type, 
body.with-sticky-header > div:first-of-type {
	margin-top: 75px;
}
body.with-sticky-header.page-template-page-onepage > div:first-of-type {
	margin-top: 0px;
}

/* Colonnes adjacentes de même hauteur (à appliquer sur le row) */
@media screen and (min-width: 768px) {
	.row-eq-height {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
	}
}

/* Supprimer le padding des colonnes (à appliquer sur le row) */

.no-padding > [class*='col-'] {
    padding:0;
}
.no-padding .row {
	margin-left: 0;
	margin-right: 0;
}

@media screen and (max-width: 768px) {
	.row > div[class^="col-xs-"]:first-child,
	.row > div[class*=" col-xs-"]:first-child {
		padding-left:0;
	}
	.row > div[class^="col-xs-"]:last-child,
	.row > div[class*=" col-xs-"]:last-child {
		padding-right:0;
	}
	.row.no-padding > div[class^="col-xs-"]:first-child,
	.row.no-padding > div[class*=" col-xs-"]:first-child {
		padding-left:15px;
	}
	.row.no-padding > div[class^="col-xs-"]:last-child,
	.row.no-padding > div[class*=" col-xs-"]:last-child {
		padding-right:15px;
	}
}
/* Remove Bootstrap default */

.navbar-default {
	border: none;
	background-color: transparent;
	margin-bottom: 0px;
}

.entry-content .row .row {
	margin-left: 0;
	margin-right: 0;
}

/* pour les pages avec un fond fluide: permet d'appliquer un container sans marges */
.body-container.container-fluid .content-row > [class*='col-'] {
	padding-left: 0;
	padding-right: 0;
}

/* Menu */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

/* Mega Menu */
/* MEGAMENU STYLE
-------------------------------------------------- */
.megamenu li.dropdown {
	position: static;
}
.megamenu .megamenu-container {
	background-color: transparent;
	border: 0px solid white;
	border-radius: 0;
	box-shadow: none;
	padding-top: 0;
}	
.megamenu .megamenu-content {
	background-color: white;
	border: 1px solid rgba(0,0,0,.15);
	border-top: 0px solid white;
	border-radius: 4px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

/* Menu social */
#header-socialmenu-container ul {
	margin: 0;
	float: right;
}
#header-socialmenu-container ul li {
	list-style-type: none;
	display: inline-block;
}

#header-mainnav-container {
	padding-left: 0px;
	padding-right: 0px;
}
#header-mainnav-container > nav > .navbar-collapse {
	padding-left: 0px;
	padding-right: 0px;	
}

/* ------------ Bandeau Page ----------- */

.bandeau-entete div,
.bandeau-entete {
	max-height: 280px;
	overflow: hidden;
	padding:0;
}
.bandeau-entete img {
	width: 100%;
	position: relative;
	top: 50%;
	transform: translateY(-25%);
	margin: 0 auto;
}

/***** SINGLE POST ******/
.single-post .attachement-post-image-container {
	max-width: 50%;
	float: left;
	margin-right: 20px;
}
.single-post .attachement-post-image-container img {
	width: 100%;
	height: auto;
}

/* ------------ ONEPAGE CSS ------------ */

section.onepage-section {
	overflow: hidden;
}
/* Set height to all boxes to allow vertical centering */
section.onepage-section > div,
section.onepage-section > div > article,
section.onepage-section > div > article > div.row,
section.onepage-section > div > article > div.row > div.entry-content,
section.onepage-section > div > article > div.row > div.entry-content > div.row,
section.onepage-section > div > article > div.row > div.entry-content > div.row > div.col
{
	height: 100%
}
/* Define vertical-center class on ultimate shortcode su-column */
@media screen and (min-width: 768px) {
	section.onepage-section .col.vertical-center > .col-inner {
		position: relative;
		top: 50%;
		transform: translateY(-50%);
	}
}

/* Remove left and right paddings for fluid section */
section.onepage-section.container-fluid,
section.onepage-section div.container-fluid div.col-lg-12 {
	padding-left: 0px;
	padding-right: 0px;
}

/* Centering images */
img.aligncenter {
	display: block;
	margin: 0 auto;
}

/* Slick plugin */
.slick-prev::before, .slick-next::before,
.slick-prev, .slick-next {
	color: inherit;
}

