/*** COMPONENT - CARBON MENU ***/

/* BRANDING */

.logo {
    width: 30%;
    min-width: 168px;
    opacity: 1;
    height: auto;
    margin: auto 0;
    left: 5%;
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.logo svg {
    display: block;
    margin: 0;
}

.logo .st0 {
    stroke-width: 0 !important;
    fill: #000 !important;
}


/* DESKTOP MENU */

.menu_desktop_container {
    height: 120px;
    background: #fff;
    top: 0;
    z-index: 20;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid #55308e;
}

.fixed_menu_spacer {
    position: relative;
    height: 120px;
    width: 100%;
}

.menu_desktop_lists {
    position: relative;
    float: right;
    margin: 0 16px 0 0;
    float: right;
    top: 50%;
    transform: translateY(-65%);
}

.menu_desktop_container .menu {
    position: relative;
    display: none;
    margin: 0;
    list-style-type: none;
    padding: 0;
    float: right;
    z-index: 1;
}

.menu_desktop_container .menu:last-of-type {
    clear: both;
}

#menu-desktop-right-half-fr,
#menu-desktop-right-half-en {
    margin-bottom: 11px;
}

.menu_desktop_container .menu a {
    height: 100%;
    color: #a2218d;               
    text-decoration: none;
    line-height: 1.2;
}

.menu_desktop_container .menu:last-of-type a {
    padding: 8px 16px;
}

.menu_desktop_container .menu:first-of-type li:nth-of-type(1) {
    margin-right: 25px;
}

.menu_desktop_container .menu:first-of-type li:nth-of-type(2) {
    margin-right: 29px;
}

.menu_desktop_container .menu:first-of-type li:nth-of-type(3) {
    margin-right: 29px;
}

.menu_desktop_container .menu:last-of-type li {
    margin-right: 2vw;
}

.menu_desktop_container .menu li:last-child {
    margin-right: 0 !important;
}

.menu_desktop_container .menu .menu_desktop_link_locations a {
    background: #55308e;
    padding: 8px 24px;
    color: #fff;
    font-weight: bold;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.menu_desktop_container .menu .menu_desktop_link_locations a:hover {
    background: #52cebb;
    opacity: 1 !important;
}

.menu_desktop_container .menu > .current_page_item a,
.menu_desktop_container .menu > .current-menu-parent a,
.menu_desktop_container .menu > .current-menu-item a {
    color: #55308e !important;
    font-weight: bold !important;
    border-bottom: 2px solid #55308e !important;
}

.page-template-locations .menu_desktop_container .menu > .current_page_item a,
.page-template-locations .menu_desktop_container .menu > .current-menu-parent a,
.page-template-locations .menu_desktop_container .menu > .current-menu-item a {
    color: #fff !important;
}



/* MOBILE MENU */

.menu_btn_container {
    position: absolute;
    top: 50px;
    right: 24px;
    z-index: 21;
    display: none;
}

.nav_menu_mobile {
    width: 80%;
    max-width: 316px;
    min-height: 120vh;
    margin: auto;
    margin-left: 0;
    height: auto;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    background: #fff;
    box-shadow: 0.17em 0.25em 0.3em 0px rgba(0, 0, 0, 0.2);
    z-index: 22;
    transform: translateX(-120%);
    display: none;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

.nav_menu_mobile ul {
    display: block;
    position: relative;
    overflow: auto;
    margin: auto;
    padding: 0;
    width: 82%;
    text-align: left;
    font-size: 1em;
    color: #a2218d;
    font-weight: normal;
    list-style-type: none;
}

.nav_menu_mobile ul a {
    display: block;
    width: 100%;
    height: 100%;
    color: #a2218d;
    text-decoration: none;
    font-size: 1em;
    cursor: pointer;
}

.nav_menu_mobile ul li {
    float: none;
    margin: 0;
    border-bottom: 1px solid #e6e6e6;
    padding: 16px 6px;
    font-weight: 600;
}

.nav_menu_mobile ul li:first-child {
    margin-top: 24px;
}

.menu-divider {
    width: 85%;
    margin: auto 0;
    height: 1px;
    background: #bdbdbd;
    opacity: 0;
}

.grey-out {
    width: 100%;
    height: 200vh;
    position: absolute;
    top: 0;
    z-index: 17;
    left: 0;
    background: #fff;
    opacity: 0;
    display: none;
    -webkit-transition: opacity 0.3s linear;
    -moz-transition: opacity 0.3s linear;
    -ms-transition: opacity 0.3s linear;
    -o-transition: opacity 0.3s linear;
    transition: opacity 0.3s linear;        
}

.grey-out-fade-in {
    opacity: 0.7;
}

.slide-menu {
    transform: translateX(0%);
}


/* BURGER BUTTON (credit: Jonathan Suh) */

.hamburger-box .hamburger-inner:after {
    bottom: -7px;
}

.hamburger-box .hamburger-inner:before {
    top: -7px;
}

.hamburger-box:hover {
    cursor: pointer;
}

.hamburger,.hamburger--squeeze {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hamburger {
  	font: inherit;
  	display: inline-block;
  	overflow: visible;
  	margin: 0;
	  padding: 15px;
	  cursor: pointer;
	  transition-timing-function: linear;
	  transition-duration: .15s;
  	transition-property: opacity, -webkit-filter;
  	transition-property: opacity, filter;
  	transition-property: opacity, filter, -webkit-filter;
  	text-transform: none;
  	color: inherit;
  	border: 0;
  	background-color: transparent;
}

.hamburger:hover {
  	opacity: .86;
}

.hamburger-box {
  	position: relative;
  	display: inline-block;
  	width: 20px;
  	height: 20px;
}

.hamburger-inner {
  	top: 50%;
  	display: block;
  	margin-top: -2px;
}

.hamburger-inner, .hamburger-inner:after, .hamburger-inner:before {
  	position: absolute;
  	width: 20px;
  	height: 2px;
  	transition-timing-function: ease;
  	transition-duration: .15s;
  	transition-property: -webkit-transform;
  	transition-property: transform;
  	transition-property: transform, -webkit-transform;
  	border-radius: 4px;
  	background-color: #55308e;
}

.hamburger-inner:after, .hamburger-inner:before {
  	display: block;
  	content: '';
}

.hamburger-inner:before {
  	top: -10px;
}

.hamburger-inner:after {
  	bottom: -10px;
}


/* SQUEEZE-STYLE BURGER ANIMATION */

.hamburger--squeeze .hamburger-inner {
	  transition-timing-function: cubic-bezier(.55,.055,.675,.19);
	  transition-duration: .1s;
}

.hamburger--squeeze .hamburger-inner:before {
	  transition: top .1s .14s ease, opacity .1s ease;
}

.hamburger--squeeze .hamburger-inner:after {
  	transition: bottom .1s .14s ease, -webkit-transform .1s cubic-bezier(.55,.055,.675,.19);
  	transition: bottom .1s .14s ease, transform .1s cubic-bezier(.55,.055,.675,.19);
  	transition: bottom .1s .14s ease, transform .1s cubic-bezier(.55,.055,.675,.19), -webkit-transform .1s cubic-bezier(.55,.055,.675,.19);
}

.hamburger--squeeze.is-active .hamburger-inner {
  	transition-delay: .14s;
  	transition-timing-function: cubic-bezier(.215,.61,.355,1);
  	-webkit-transform: rotate(45deg);
  	transform: rotate(45deg);
}

.hamburger--squeeze.is-active .hamburger-inner:before {
  	top: 0;
  	transition: top .1s ease, opacity .1s .14s ease;
  	opacity: 0;
}

.hamburger--squeeze.is-active .hamburger-inner:after {
  	bottom: 0;
  	transition: bottom .1s ease, -webkit-transform .1s .14s cubic-bezier(.215,.61,.355,1);
  	transition: bottom .1s ease, transform .1s .14s cubic-bezier(.215,.61,.355,1);
  	transition: bottom .1s ease, transform .1s .14s cubic-bezier(.215,.61,.355,1), -webkit-transform .1s .14s cubic-bezier(.215,.61,.355,1);
  	-webkit-transform: rotate(-90deg);
  	transform: rotate(-90deg);
}

@media screen and (min-width: 1000px) {
    
    .logo {
    width: 13%;
    }
    
    .menu_desktop_container .menu {
        display: block;
    }
    .grey-out {
        display: none !important;
    }
}

@media screen and (min-width: 1100px) {
    .logo {
        left: 10%;
    }
}

@media screen and (min-width: 1200px) {
    .menu_desktop_lists {
        margin: 0 10% 0 0;
    }
    .menu_desktop_container .menu:last-of-type li {
        margin-right: 2vw;
    }
}

@media screen and (min-width: 1400px) {
    .menu_desktop_container .menu:last-of-type li {
        margin-right: 5vw;
    }
}

@media screen and (max-width: 999px) {
    .menu_btn_container {
        display: block;
    }
    .nav_menu_mobile {
        display: block;
    }
}