/* ================================================
    -- Nav Desktop
================================================ */
#nav-desktop ul {padding: 0;margin: 0;list-style: none;position: relative;}
#nav-desktop ul li {display:inline-block;}
#nav-desktop ul li ul li{background-color: var(--gold);}
#nav-desktop a {
	display:block;
	padding:0 10px;	
	color:var(--main-white);
	font-size:16px;
	line-height: 60px;
	text-decoration:none;
}
#nav-desktop ul li ul li a {color:#fff;}
#nav-desktop ul li ul li a:hover {background-color: var(--main-black);}

/* Hide Dropdowns by Default */
#nav-desktop ul ul {display: none;position: absolute; top: 60px; /* the height of the main nav */}
	
/* Display Dropdowns on Hover */
#nav-desktop ul li:hover > ul {display:inherit;}
	
/* Fisrt Tier Dropdown */
#nav-desktop ul ul li {
	width:220px;
	float:none;
	display:list-item;
	position: relative;
}

/* Second, Third and more Tiers	*/
#nav-desktop ul ul ul li {
	position: relative;
	top:-60px; 
	left:220px;
}

/* Change this in order to change the Dropdown symbol */
#nav-desktop li > a:after { content:  ' +'; }
#nav-desktop li > a:only-child:after { content: ''; }

/* ================================================
    -- Nav Mobile: Burger
================================================ */
body.overflow { overflow: hidden; }

.burger {
  width: 50px;
  height: 51px;
  position: fixed;
  top: 15px;
  right: 15px;
  border-radius: 4px;
  z-index: 99999;
}

.burger span {
  position: relative;
  margin-top: 9px;
  margin-bottom: 9px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -15px;
  margin-top: -1.5px;
}

.burger span, 
.burger span::before, 
.burger span::after {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--main-white);
  outline: 1px solid transparent;
  transition-property: background-color, transform;

  transition-duration: 0.3s;
}

.burger span::before, .burger span::after {
  position: absolute;
  content: "";
}

.burger span::before { top: -9px; }
.burger span::after { top: 9px; }
.burger.clicked span { background-color: transparent; }

.burger.clicked span::before {
  transform: translateY(9px) rotate(45deg);
}

.burger.clicked span::after {
  transform: translateY(-9px) rotate(-45deg);
}

.burger.clicked span:before, 
.burger.clicked span:after { background-color: var(--main-white); }

.burger:hover { cursor: pointer; }


.nav-mobile .logo {
    margin-bottom: 50px;
    max-width: 220px;
}

/* ================================================
    -- Nav Mobile: Nav
================================================ */
.nav-mobile {
  background-color: #2a2a2a;
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  height: 100%;
  max-width: 515px;
  width: 100%;
  padding: 100px 40px 60px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

.nav-mobile.show {
  transform: translateX(0px);
}

.nav-mobile.show ul.menu li {
    transform: translateX(0px);
    opacity: 1;
}

.nav-mobile.show ul.menu li:nth-child(1) {transition-delay: 0.15s;}
.nav-mobile.show ul.menu li:nth-child(2) {transition-delay: 0.3s;}
.nav-mobile.show ul.menu li:nth-child(3) {transition-delay: 0.45s;}
.nav-mobile.show ul.menu li:nth-child(4) {transition-delay: 0.6s;}
.nav-mobile.show ul.menu li:nth-child(5) {transition-delay: 0.75s;}
.nav-mobile.show ul.menu li:nth-child(6) {transition-delay: 0.9s;}
.nav-mobile.show ul.menu li:nth-child(7) {transition-delay: 1.05s;}
.nav-mobile.show ul.menu li:nth-child(8) {transition-delay: 1.2s;}
.nav-mobile.show ul.menu li:nth-child(9) {transition-delay: 1.35s;}

.nav-mobile.show .about, 
.nav-mobile.show .social {
    transform: translateY(0px);
    opacity: 1;
    transition-delay: .85s;
}

@media (min-width: 667px) {
    .nav-mobile {padding: 120px 90px 70px 90px;}
}

.nav-mobile ul.menu {list-style-type: none;}

.nav-mobile ul.menu li {
    margin-bottom: 10px;
    transform: translateX(40px);
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-mobile ul.menu li:last-of-type {margin-bottom: 0px;}

.nav-mobile ul.menu li a {
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 15px;
  display: block;
  letter-spacing: 1px;
  font-weight: 600;
  padding: 0;
  transition: all 0.3s ease;
}

.nav-mobile ul.menu li a span { color: var(--red); }

.nav-mobile ul.menu li a:hover { color: var(--red); }

.nav-mobile .about {
	margin-top: 40px;
	margin-bottom: 30px;
	position: relative;
	padding-bottom: 30px;
	transform: translateY(30px);
	opacity: 0;
	transition: all 0.4s ease;
}

.nav-mobile .about p {
  color: var(--main-white);
  font-size: 13px;
  line-height: 23px;
	font-weight: 400;
}

.nav-mobile .about:after {
  content: "";
  width: 230px;
  height: 2px;
  background-color: var(--red);
  position: absolute;
  bottom: 0;
  left: 0;
}

.nav-mobile .social {
  margin-top: 40px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.4s ease;
}

.nav-mobile .social a {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 25px;
}

/* ================================================
    -- Nav Mobile: Overlay
================================================ */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease-in-out;
  background-color: #b7ac7f;
  opacity: 0;
  visibility: hidden;
}

.overlay.show {
    opacity: 0.8;
    visibility: visible;
}