/* ------------------------ */
/* --- Haute résolution --- */
/* ------------------------ */

/* Barre de Navigation */
.navbar {
  top: 0;
  background: #ffffff;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  z-index: 98;
  text-align: center;
}

.navbar .navbar-brand {
  text-align: left;
  width: 20%;
}

.navbar .navbar-brand img {
  width: auto;
}

.navbar-fixed {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0);
}
/* FIN */


/* Logo */
.navbar .navbar-brand img {
    height: 40px;
    width: auto;
}
/* FIN */


/* Menus */
.navbar .navbar-nav {
    margin-right: 0;
    margin-left: auto;
}

/* FIN */


/* Menu */
.navbar .navbar-nav li {
    padding: 0 10px;
}

.navbar .navbar-nav li a {
    color: #0a0a0a;
    font-weight: 500;
}

.navbar .navbar-nav li a:hover {
    color: #0691CA;
}

.without-sub-item:after {
	content: " ";
    display: table;
	bottom: -15px;
    border-bottom: 2px solid #0691CA;
	width: 0px;
    pointer-events: none;
    -webkit-transition: all 0.35s linear;
    transition: all 0.35s linear;
}

.navbar .navbar-nav li a:hover.without-sub-item:after  {
    width: 25px;
}

.fawithout-sub-item:after {
    width: 25px;
    opacity: 0;
    -webkit-transition: all 0.35s linear;
    transition: all 0.35s linear;
    bottom: -15px;
    border-bottom: 2px solid #0691CA;
    pointer-events: none;
}

.active:after {
	content: " ";
    display: table;
	bottom: -15px;
    border-bottom: 2px solid #0691CA;
	width: 25px;
    pointer-events: none;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem; 
    color: #0691CA;
    text-decoration: none;
    transition: color .25s ease-in-out,background-color .25s ease-in-out,border-color .25s ease-in-out;
}
/* FIN */


/* Sous-menu */
.nav-item {
	position:relative;
}

.drop{
	cursor:pointer;
}

.sub-item {
	padding: 0;
	height: 0;
	overflow: hidden;
}

.drop .sub-item .nav-sub-item:first-child {
    padding-top: 5px; 
}

.drop .sub-item .nav-sub-item:last-child {
    padding-bottom: 5px;
}

.drop .sub-item .nav-sub-item {
	display: block;
}
	
.drop .sub-item .nav-sub-item a {
	text-decoration: none;
}

.drop .sub-item .nav-sub-item a:hover {
	font-weight: 650;
}

	/* 1 */
	.nav-sub-item-1 .sub-item {
		transition:0.25s all;
	}

	.nav-sub-item-1:hover .sub-item{
		height: 40px;
	}
	
	/* 2 */
	.nav-sub-item-2 .sub-item {
		transition:0.5s all;
	}

	.nav-sub-item-2:hover .sub-item{
		height: 70px;
	}

	/* 3 */
	.nav-sub-item-3 .sub-item {
		transition:0.75s all;
	}

	.nav-sub-item-3:hover .sub-item{
		height: 100px;
	}
	
	/* 4 */
	.nav-sub-item-4 .sub-item {
		transition:1s all;
	}

	.nav-sub-item-4:hover .sub-item{
		height: 130px;
	}
	
	/* 5 */
	.nav-sub-item-5 .sub-item {
		transition:1.25s all;
	}

	.nav-sub-item-5:hover .sub-item{
		height: 160px;
	}
	
	/* 6 */
	.nav-sub-item-6 .sub-item {
		transition:1.5s all;
	}

	.nav-sub-item-6:hover .sub-item{
		height: 190px;
	}
	
	/* 7 */
	.nav-sub-item-7 .sub-item {
		transition:1.75s all;
	}

	.nav-sub-item-7:hover .sub-item{
		height: 220px;
	}
	
	/* 8 */
	.nav-sub-item-8 .sub-item {
		transition:2s all;
	}

	.nav-sub-item-8:hover .sub-item{
		height: 250px;
	}
	
	/* 9 */
	.nav-sub-item-9 .sub-item {
		transition:2.25s all;
	}

	.nav-sub-item-9:hover .sub-item{
		height: 280px;
	}
	
	/* 10 */
	.nav-sub-item-10 .sub-item {
		transition;2.5s all;
	}

	.nav-sub-item-11:hover .sub-item{
		height: 310px;
	}
	

/* FIN */

/* ------------------------ */
/* --- Basse résolution --- */
/* ------------------------ */

/* Bouton de menu */
.navbar .navbar-toggler {
    background: none;
}

.navbar-toggler:hover {
    text-decoration: none;
}

[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
}


.navbar-toggler {
    position: relative;
    float: right;
    margin-right: 0;
    padding: 9px 10px;
    margin-top: -16.5px;
    margin-bottom: -16.5px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
	border-color: #0691CA;
}

.navbar-toggler .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
	background-color: #0691CA;
}

.navbar-toggler .icon-bar + .icon-bar {
    margin-top: 4px;
}

.navbar-toggler[aria-expanded="true"], .navbar-toggler:hover, .navbar-toggler:active {
    background: #0691CA;
}

.navbar-toggler[aria-expanded="true"] .icon-bar, .navbar-toggler:hover .icon-bar, .navbar-toggler:active .icon-bar {
    background: #FFF;
}
/* FIN */

/* ------------------- */
/* --- Récursivité --- */
/* ------------------- */

@media (max-width: 991px) {	
	.navbar .navbar-brand img {
		height: 37.5px;
	}
		
	.without-sub-item:after {
		display: block;
        margin: 0 auto; /* Ajoute cette ligne pour centrer */
        width: 0px;
        border-bottom: 2px solid #0691CA;
	}
	
	.active:after {
		display:none;
	}
	
	.sub-item {
		position:relative;	
		width: 100%;
	}
		
	.drop .sub-item .nav-sub-item {
		text-align : center;
	}
	
	.drop .sub-item .nav-sub-item a {
		color: #0691CA;
		font-size: 0.9rem;
		line-height: 1.1rem;
	}

	.drop .sub-item .nav-sub-item a:hover {
		color: #0691CA;
	}
	
		/* 1 */
		.nav-sub-item-1:hover .sub-item{
			height: 30px;
		}
		
		/* 2 */
		.nav-sub-item-2:hover .sub-item{
			height: 50px;
		}

		/* 3 */
		.nav-sub-item-3:hover .sub-item{
			height: 80px;
		}
		
		/* 4 */
		.nav-sub-item-4:hover .sub-item{
			height: 120px;
		}
		
		/* 5 */
		.nav-sub-item-5:hover .sub-item{
			height: 150px;
		}
		
		/* 6 */
		.nav-sub-item-6:hover .sub-item{
			height: 180px;
		}
		
		/* 7 */
		.nav-sub-item-7:hover .sub-item{
			height: 210px;
		}
		
		/* 8 */
		.nav-sub-item-8:hover .sub-item{
			height: 240px;
		}
		
}

@media (min-width: 992px) {
	.navbar .navbar-brand img {
		height: 40px;
	}

	.navbar-expand-lg {
		flex-wrap: nowrap;
		justify-content: flex-start;
	}
	
	.navbar-expand-lg .navbar-collapse {
		display: flex!important;
		flex-basis: auto;
	}
	
	.navbar-expand-lg .navbar-nav {
		flex-direction: row;
	}
	
	.navbar-expand-lg .navbar-nav .nav-link {
		padding-right: 0.5rem;
		padding-left: 0.5rem;
	}
	
	.navbar-expand-lg .navbar-toggler {
		display: none;
	}
	
	.sub-item {
		position:absolute;	
		width: 90%;
	}
	
	.drop .sub-item .nav-sub-item {
		text-align : left;
		background: #0691CA;
		padding-left: 15px;
	}
	
	.drop .sub-item .nav-sub-item a {
		color: #FFF;
		font-size: 0.9rem;
	}

	.drop .sub-item .nav-sub-item a:hover {
		color: #FFF;
	}
}
