/*
 * Left Vertical menu
 */
.burger_menu {
    line-height: 0px !important;
    margin-left: 10px;
    margin-top: 10px;
}
.burger-icon {
    label {
        font-size: xx-small;
        line-height: 0;
        margin-top: 7px !important;
    }
    span {
        display: block;
        width: 28px;
        height: 2px;
        background-color: white;
        margin: 5px 0;
    }
}

.main-menu-bar {
    -moz-transition: -moz-transform 0.5s ease;
    -webkit-transition: -webkit-transform 0.5s ease;
    -ms-transition: -ms-transform 0.5s ease;
    transition: transform 0.5s ease;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    color: #000000;
    opacity: 0.9;
    height: 100%;
    max-width: 80%;
    overflow-y: auto;
    padding: 3em 2em 0 2em;
    position: fixed;
    left: -20em;
    top: 0;
    width: 20em;
    z-index: 10002;
    overflow-x: hidden;

    ul {
        list-style: none;
        padding: 0;
    }
    ul > li {
        padding: 0.2em 0 0 0;
    }
    ul > li img {
        vertical-align: middle;
        max-width: 1em;
    }
    ul > li  a {
        border: 0;
        color: inherit;
        font-size: small;
        letter-spacing: 0.225em;
        outline: 0;
        text-decoration: none;
        text-transform: capitalize;
    }
    ul > li a:hover {
        border-bottom-color: white;
        border: 1px;
    }
    .menu-entry  {
        font-size: 16px;
    }
	.main-entry {
		font-weight: 600;
		text-transform: uppercase;
	}
    .close {
		background-image: url(/images/site/icons/close.svg);
        background-repeat: no-repeat;
        cursor: pointer;
        height: 1.5em;
        position: absolute;
        left: 0;
        top: 0;
        width: 5em;
        margin: 10px 0px 0px 0px;
        background-position: 0px !important;
    }
}

.deactivated-link {
    pointer-events: none !important;
    cursor: default !important;
    text-decoration: none !important;
    color: lightgrey !important;
}

/*
 * Mobile
 */
@media screen and (max-width: 736px) {
    .main-menu-bar ul > li > a {
        line-height: 2em;
    }
}
@media screen and (max-width: 736px) {
    .main-menu-bar {
        padding: 3em 1.5em 0 1.5em;
    }
}

body.is-menu-visible #page-wrapper {
    opacity: 0.35;
}

    body.is-menu-visible #page-wrapper:before {
        display: block;
    }

body.is-menu-visible .main-menu-bar {
    -moz-transform: translateX(20em);
    -webkit-transform: translateX(20em);
    -ms-transform: translateX(20em);
    transform: translateX(20em);
    padding: 2em 0 0 0.5em;
}	


.main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: small;

    li {
        display: flex;
        align-items: center;
        padding: 10px 12px;
    }
}


/*
 * Sub-menu
 */
.menu_submenu_button {
    font-family: "Open Sans", Helvetica, sans-serif;
    font-size: 1em;
	color: black;
	padding: 0px;
	font-weight: normal;
	height: 2em;
	line-height: 2em;
}

.menu_submenu {
    margin-top: 0px !important;
	font-size: 12px !important;
	letter-spacing: .225em !important;
	text-transform: uppercase !important;
	background: #ffffff !important;
	color: #000000 !important;
	opacity: 0.8 !important;
    text-align: left !important;
	padding: 0 0 0 2em !important;
	right: 0 !important;
	top: 0 !important;
	display: none;

    .open {
	    display: block !important;
    }
    li span {
        font-size: 12px !important
    }
    li a {
       font-size: 12px !important
    }
}

.entry-item {
	width: 100% !important;
}

.menu_separator {
	border-bottom: dotted 1px grey;
	margin: 1em 1em 0em 0em;
}

.menu_separator-full {
	border-bottom: dotted 1px grey;
	margin: 2em -2em 0em -1em;
}

.has-submenu {
    position: relative;
    cursor: pointer;
}

/*
 * Flèche orientée vers le bas
 */
.submenu-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease;
    color: #ffffff;
    font-size: 0.9em;
    margin-left: 8px;
}
.has-submenu.open .submenu-arrow {
    transform: translateY(-50%) rotate(90deg);
}


 /*
 * Menu Utilsateur (à droite)
 */
.menu_user {
	-moz-transition: -moz-transform 0.5s ease;
	-webkit-transition: -webkit-transform 0.5s ease;
	-ms-transition: -ms-transform 0.5s ease;
	transition: transform 0.5s ease;
	-webkit-overflow-scrolling: touch;
	background: #ffffff;
	color: #000000;
	opacity: 0.9;
	max-width: 80%;
	position: fixed;
	display: none;
	width: 18em;
	z-index: 10002;
	border-radius: 8px;
	text-align: center;
	padding: 0.5em 0em 0.5em 0em;
	right: 1em;
    top: 2.5em !important;
    margin: 0 !important;
}

.menu_user table {
	margin: 0;
	width: 100%;
}

.menu_user-language {
	position: absolute;
	z-index: 100001;
	right: 2.5em;
	margin-top: 5px;
}

.menu_user button {
	width: auto;
	padding:0;
	line-height: 2em;
	height: min-content;
	width: 80%;
}

	.menu_user tr {
		background-color: transparent !important;
	}
	.menu_user td {
		padding: 0 !important;
	}
	.menu_user .connexion_btn {
		text-transform: uppercase;
		font-weight: bold;
		font-size: small;
		font-family: Arial;
		color: rgb(65, 105, 225);
		letter-spacing: 2.925px;
		margin-top: 1em;
	}

	.menu_user .lien_btn {
		font-size: small;
		font-family: Arial;
		color: rgb(65, 105, 225);
	}

	/* CARLOS => utilisé dans loggout ?
	.connexion_btn {
		border-radius: 4px !important;
		background: transparent !important;
		color: royalblue !important;
		margin: 0px;
	}
	*/

	.menu_user .menu_user_profile_name {
		font-weight: 600;
		font-size: smaller;
		font-family: Arial;
		color: grey;
		line-height: 0;
	}
	.menu_user .menu_user_profile_email {
		font-weight: normal;
		font-size: small;
		font-family: Arial;
		color: grey;
		line-height: 0;
	}
	/*
	.main_profile {
		background: -webkit-linear-gradient(left, #3931af, #00c6ff) !important;
	}
	*/

	.menu_user ul {
		list-style: none;
		padding: 0;
	}
		.menu_user ul > li {
			margin: 0.5em 0 0 0;
			padding: 0.5em 0 0 0;
		}
			.menu_user ul > li:first-child {
				border-top: 0 !important;
				margin-top: 0 !important;
				padding-top: 0 !important;
			}

			.menu_user ul > li img {
				vertical-align: middle;
				max-width: 1em;
			}

			.menu_user ul > li  a {
				border: 0;
				color: inherit;
				font-size: 0.8em;
				letter-spacing: 0.225em;
				outline: 0;
				text-decoration: none;
				text-transform: uppercase;
			}

			.menu_user ul > li a:hover {
				border-bottom-color: white;
				border: 1px;
			}
				@media screen and (max-width: 736px) {
					.menu_user ul > li > a {
						line-height: 3em;
					}
				}
			.inactive_link {
				pointer-events: none !important;
    			cursor: default !important;
    			color: lightgrey !important;
			}
			.hidden_link {
				display: none;
			}

			.blink_link {
				animation: blinker 1s linear infinite;
			}
			  
			@keyframes blinker {
				50% {
				  opacity: 0;
				}
			}
			
			.zoom-in-out-box {
				animation: zoom-in-zoom-out 1s ease infinite;
			}
			  
			@keyframes zoom-in-zoom-out {
				0% {
					transform: scale(1, 1);
				}
				50% {
				  transform: scale(1.3, 1.3);
				}
				100% {
				  transform: scale(1, 1);
				}
			}


	.menu_user .close {
		display:none;
	}

	.user_icon {
		width: 4em;
		height: 4em;
		object-fit: cover;
		border-radius: 50%;
	}
	.user_icon.not-connected {
		border-radius: 0px;
	}
	
	.menu_user-open {
		height: 1.6em;
		width: 1.6em;
		font-size: x-large;
		position: relative;
		object-fit: cover;
		border-radius: 50%;
		vertical-align: top;
		margin-top: 3px;
	}

body.is-menu_user-visible #page-wrapper {
	opacity: 0.35;
}

body.is-menu_user-visible #page-wrapper:before {
	display: block;
}

body.is-menu_user-visible .menu_user {
	display: block;
}		

