﻿.clear {
  clear: both;
}

/***** Start of primary nav ******/
.mobile {
  display: none;
}
#menu-button {
  display: none;
}

.header-wrap {
  background: white;
  width: 100%;

  z-index: 900;
  -webkit-transition: 0.4s ease-in;
  -moz-transition: 0.2s ease-in;
  -o-transition: 0.2s ease-in;
  transition: 0.2s ease-in;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.internal .header-wrap {
  position: static;
}
.header-wrap.sticky {
  background: #fff;
  position: fixed !important;
  box-shadow: 0 12px 6px rgba(0, 0, 0, 0.06);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1vw 3vw 1vw 3vw;
}

.logo {
  width: 20%;
}
.logo img {
  width: auto;
  max-width: 100%;
  max-height: 37px;
}

.header-right {
  display: flex;
}
nav.primary-menu {
  width: 100%;
  padding: 0;
  margin: 0;
  z-index: 500;
  position: relative;
}

nav.primary-menu ul {
  display: flex;
  align-items: center;
  height: 100%;
}
.primary-menu ul li {
  position: relative;
}
.primary-menu ul li a {
  color: #061e46;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: calc(1.1 * 1rem);
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: none;
  line-height: 1.8em;
  position: relative;
  padding-bottom: 2px;
}

.active-link {
  background-repeat: repeat-x;
  background-image: linear-gradient(
    to right,
    currentColor 100%,
    currentColor 0
  );
  background-size: 1px 1px;
  background-position: 0 calc(100% - 0.1em);
}

.primary-menu ul li a:hover {
  opacity: 0.7;
}

.bttn-base {
  font-family: Roboto;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.2em;
  transition: 0.3s !important;
  font-size: calc(0.9 * 1rem);
  padding: 0.64rem 1.0688rem !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  letter-spacing: 1px;
  border-radius: 0;
  white-space: nowrap;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  cursor: pointer;
}

.bttn-orange {
  background: #f68a1e;
  color: white;
}
.primary-menu ul li a,
.header .bttn-base {
  margin-left: 2.5vw;
}

nav ul li a.ca-button {
  background: #f68a1e;
  color: white;
  white-space: nowrap;
  padding: 5% 10%;
  -webkit-transition: 0.4s ease-in;
  -moz-transition: 0.2s ease-in;
  -o-transition: 0.2s ease-in;
  transition: 0.2s ease-in;
}
nav ul li a.ca-button:hover {
  background: #1f2a44;
}

/* Appearance of the sub-level links */

nav.primary-menu ul li li a {
  color: #061e46;
  margin-left: 0;
  border-right: none;
  border-left: none;
}
/* Appearance of the sub-level links on hover */
nav.primary-menu ul li li a:hover {
}

nav.primary-menu ul ul {
  display: none;
  position: absolute;
}
nav.primary-menu ul ul ul {
  position: absolute;
  left: 100%;
  top: 0;
}
nav.primary-menu ul li:hover > ul {
  display: block;
  line-height: 18px;
  z-index: 100;
  padding-top: 0;
  right: 0;
}
nav.primary-menu ul li ul li:hover > ul {
  display: block;
  line-height: 18px;
  z-index: 100;
  padding-top: 0px;
}
nav.primary-menu ul li ul li ul li:hover > ul {
  display: block;
  line-height: 18px;
  z-index: 100;
  padding-top: -2px;
}
nav.primary-menu ul ul li {
  float: none;
  width: 156px;
  position: relative;
  margin: 0;
  display: block;
  text-align: right;
  background: #fff;
  padding: 0 9%;
  -webkit-transition: 0.4s ease-in;
  -moz-transition: 0.2s ease-in;
  -o-transition: 0.2s ease-in;
  transition: 0.2s ease-in;
}

nav.primary-menu ul ul li a:hover {
  opacity: 0.8;
}
nav.primary-menu ul ul li a:before {
  content: none;
}

/******** End of primary Nav ***************/

@media screen and (max-width: 1024px) {
  .horizontal-menu {
    padding-right: 2%;
    padding-top: 0%;
  }
}

/*==============================
	Mobile Nav Styles
================================*/
@media only screen and (max-width: 1350px) {
  .primary-menu {
    display: none;
  }

  .header {
    padding: 3vw;
  }
  nav ul li.ca-btn {
    width: 100%;
  }
  /*==============================
			Mobile Nav Styles
	================================*/

  /* AMenu icon */

  .mobile-menu-icon {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .mobile-menu-top {
    background-color: #061e46;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    content: "";
    width: 100%;
    height: 1px;
    transform: translatey(-5.5px);
    will-change: transform, width;
  }

  .mobile-menu-bottom {
    background-color: #061e46;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    content: "";
    width: 100%;
    height: 1px;
    transform: translatey(5.5px);
    will-change: transform, width;
  }

  #menu-button {
    /* initially will need to be hidden */
    display: block;
    /* font-size: 25px; */
    z-index: 9; /* needs to be lower than nav.mobile, adjust as needed */
    background: transparent;
    text-align: right;
    position: relative;
    width: 35px;
    height: 35px;
  }
  #menu-button a {
    color: #1f2a44;
    text-decoration: none;
  }
  #menu-button a:hover {
    color: #6d8392;
  }

  nav.mobile {
    display: block;
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: #1f2a44;
    z-index: 9999999999; /* needs to be higher than #menu-button, adjust as needed */
    overflow: auto;
  }
  nav.mobile h3 {
    /* Menu header styles */
    position: relative;
    padding: 12px 10px;
    color: #fff;
    font-size: 22px;
    font-weight: normal;
    letter-spacing: 1px;
  }
  nav.mobile .menu-toggle {
    /* Menu close button */
    position: absolute;
    top: 12px;
    right: 10px;
    display: inline-block;
    padding: 6px 9px 5px;
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    line-height: 1;
    background: #1f2a44;
    color: #fff;
    text-decoration: none;
    vertical-align: top;
  }
  nav.mobile .menu-toggle:hover {
    /* Menu close button on hoveer */
    color: white;
  }
  nav.mobile ul {
    list-style: none;
    font-weight: 300;
    margin: 0;
    padding: 0;
  }
  nav.mobile ul li {
    /*
		border-top: 1px solid #454545;
		border-bottom: 1px solid #151515;
*/
  }
  nav.mobile ul li a {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 15px;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 2px;
    color: #fff;
    background: #1f2a44;
    -webkit-transition: 0.4s ease-in;
    -moz-transition: 0.2s ease-in;
    -o-transition: 0.2s ease-in;
    transition: 0.2s ease-in;
  }
  nav.mobile ul li a:hover {
    background: #f68a1e;
  }
  nav.mobile ul li a:before {
    content: none;
  }
  nav.mobile ul li li a {
    /* appearance of the sub-level links */
    background: #f68a1e;
    position: relative;
    display: block;
    font-weight: 400;
    font-size: 15px;
    padding: 10px 10px 10px 15px;
    color: #fff;
    text-decoration: none;
    -webkit-transition: 0.4s ease-in;
    -moz-transition: 0.2s ease-in;
    -o-transition: 0.2s ease-in;
    transition: 0.2s ease-in;
  }
  nav.mobile ul li li a:hover {
    color: #1f2a44;
  }
  nav.mobile ul li li li a {
    /* appearance of third level sub-level links if needed */
    background: #e6e0d4;
    position: relative;
    display: block;
    padding: 10px 10px 10px 25px;
    color: #0a2618;
    text-decoration: none;
  }
  nav.mobile ul li span.click {
    /* dropdown menu idicator arrow be sure to include this image with your image files */
    background: url(../siteart/arrow.png) 10px 16px no-repeat;
    background-size: 35%;
    position: relative;
    display: block;
    float: right;
    margin: -49px 0 0 0;
    cursor: pointer;
    z-index: 12399994;
    width: 44px;
    height: 49px;
    -webkit-transition: background-size 0.3s ease-in-out;
    -moz-transition: background-size 0.3s ease-in-out;
    transition: background-size 0.3s ease-in-out;
  }
  nav.mobile ul li ul li .click {
    /* dropdown menu idicator arrow be sure to include this image with your image files */
    position: relative;
    display: block;
    float: right;
    margin: -25px 0 0 0;
    cursor: pointer;
    z-index: 12399994;
    width: 43px;
    height: 43px;
    color: #fff;
    font-size: 12px;
    -webkit-transition: background-size 0.3s ease-in-out;
    -moz-transition: background-size 0.3s ease-in-out;
    transition: background-size 0.3s ease-in-out;
  }
  .nav-footer {
    font-family: "Titilum Web", sans-serif;
    font-weight: 300;
    color: #fff;
    padding: 15px;
    font-size: 12px;
    letter-spacing: 1px;
  }

  /*  	end of Mobile Nav Styles    */
}

@media only screen and (max-width: 650px) {
  .logo {
    width: 55%;
  }
  .header {
    padding: 6vw;
  }
}

@media only screen and (max-width: 500px) {
  .nav-footer {
    text-align: center;
  }
}

@media only screen and (max-width: 425px) {
}

@media only screen and (max-width: 336px) {
}
