﻿.clear {clear: both;}

/***** Start of primary nav ******/

/* hide for now .active-primary {background: #a7282d;}*/
nav.mobile {display: none;}

nav.primary {
  padding: 0;
  display: inline-flex;
  justify-content: flex-end;
  margin: 0;
  position: relative;
  z-index: 99;
  width: 100%;
}
nav.primary ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  border-top: 1px solid #aaa;
}
nav.primary ul li {
  display: inline-block;
  position: relative;
  transition: 0.3s;
  height: 100%;
}
nav.primary ul li a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  -webkit-transition: 0.2s ease-in;
  -moz-transition: 0.2s ease-in;
  -o-transition: 0.2s ease-in;
  transition: 0.2s ease-in;
  transition: 0.3s;
  padding: 6px 1.25vw;
  -ms-transition: 0.2s ease-in;
}
nav.primary ul li a:hover {color: #669eff; transition: .3s ease-in-out all;}

nav.primary ul li a i {color: #fff;}
.open-arrow {
  transform: rotate(-180deg);
  transition: all 0.05s ease-in;
  -webkit-transition: all 0.05s ease-in;
  -moz-transition: all 0.05s ease-in;
  -ms-transition: all 0.05s ease-in;
  -o-transition: all 0.05s ease-in;
}
li > a i {
  transition: transform 0.2s linear;
  -webkit-transition: transform 0.2s linear;
  -moz-transition: transform 0.2s linear;
  -ms-transition: transform 0.2s linear;
  -o-transition: transform 0.2s linear;
}
.active-mobile > a i {
  transform: rotate(180deg) !important;
  -webkit-transform: rotate(180deg) !important;
  -moz-transform: rotate(180deg) !important;
  -ms-transform: rotate(180deg) !important;
  -o-transform: rotate(180deg) !important;
}


/* Appearance of the sub-level links */

nav.primary .primary-sub-menu li a {
  color: #000 !important;
  font-size: 14px;
  line-height: 24px;
  padding: 10px 20px;
  text-transform: capitalize;
  background: #f4f4f4 !important;
  font-weight: 600;
  text-align: left;
  border: none;
  -webkit-box-shadow: 0px 4px 10px -2px rgba(0, 0, 0, 0.48);
  -moz-box-shadow: 0px 4px 10px -2px rgba(0, 0, 0, 0.48);
  box-shadow: 0px 4px 10px -2px rgba(0, 0, 0, 0.48);
}


/* Appearance of the sub-level links on hover */

nav.primary ul li li a:hover {
  background: #366cc9!important;
	color: #fff!important;
	padding: 10px 20px 10px 25px;
}
nav.primary .primary-sub-sub-menu li a {
  background: #efefef !important;
}
nav.primary .primary-sub-sub-menu li a:hover {
  background: #cbc5c5 !important;
}
nav.primary ul ul {
  display: none;
  position: absolute;
  z-index: 5;
  -webkit-box-shadow: 0px 19px 18px -9px rgba(0, 0, 0, 0.17);
  -moz-box-shadow: 0px 19px 18px -9px rgba(0, 0, 0, 0.17);
  box-shadow: 0px 19px 18px -9px rgba(0, 0, 0, 0.17);
  border-top: none;
}
nav.primary ul ul ul {
  position: absolute;
  left: 100%;
  z-index: 5;
  top: 0;
  border-top: none;
}
nav.primary ul li:hover > ul {
  display: block;
  line-height: 18px;
  z-index: 100;
  white-space: nowrap;
  position: absolute;
}
nav.primary ul ul li {
  float: none;
  width: 270px;
  position: relative;
  margin: 0;
  display: block;
  font-size: 12px;
}

/******** End of primary Nav ***************/


@media screen and (max-width: 1100px) {
  nav.primary {display: none;}
	
	
/*==============================
	Mobile Nav Styles
================================*/
  #menu-button {
    display: block;
    position: relative;
	right: 0;
	top: 0;
	bottom: 0;
    z-index: 400;
	color: #fff;
	box-sizing: border-box;	  
	padding: 1.25rem 0.625rem;
    background: transparent;
    -webkit-appearance: none;
    outline: none;
    border: none;
  }
  #menu-button:hover {}
	
	.menu-toggle span {position: relative; }	
	.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
		display: block;
		width: 3.75rem;
		height: 0.25rem;
		background-color: #fff;
		transform-origin: -4% center;
		transition: all .4s ease;
	}
	.menu-toggle span::before {
		content: '';
		position: absolute;
		top: -0.9375rem;
		left: 0;
	  }
	.menu-toggle span::after {
		content: '';
		position: absolute;
		top: 0.9375rem;
		left: 0;
	  }
	
	.menu-toggle.active-menu span::before {
		top: -1.875rem;
		left: 0.3125rem;
		transform: rotate(45deg);
	}
	
	.menu-toggle.active-menu span::after {
		top: 0.9375rem;
		left: 0.3125rem;
		transform: rotate(-45deg);
	}

	/* When active (menu open) */
	.menu-toggle.active-menu span {
	  transform: rotate(45deg) translate(-15px, -27px);
	}

	.menu-toggle.active-menu span::before {
	  opacity: 0;
	}

	.menu-toggle.active-menu span::after {
	  transform: rotate(-90deg) translate(-15px, 27px);
	}
	
  nav.mobile {
    display: block;
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background: rgba(24,53,101,.98);
    z-index: 9999;
    overflow: auto;
  }

  .mobile.open {
    -webkit-box-shadow: 6px 0px 13px -5px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 6px 0px 13px -5px rgba(0, 0, 0, 0.35);
    box-shadow: 6px 0px 13px -5px rgba(0, 0, 0, 0.35);
  }
  /* MENU HEADER STYLES */
  nav.mobile .mobile_top {
    position: relative;
    display: flex;
    justify-content: flex-start;
    color: #999;
    font-size: 18px;
    font-weight: 400;
	padding-bottom: 60px;
  }
  .mobile_top img {
	max-width: 100%;
    width: 100px;
    padding: 25px;
	display: none;
  }
  /* MENU CLOSE 'X' BUTTON */
  nav.mobile .menu-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 3px 8px 3px;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
	cursor: pointer;
    color: #fff;
    text-decoration: none;
  }
  nav.mobile .menu-toggle:hover {
    color: #fff;
	  background: #a7282d;
  }
  /* MENU LIST STYLE */
  nav.mobile ul {
    list-style: none;
    font-weight: 300;
    margin: 0;
    padding: 0;
  }
  nav.mobile ul li {
    position: relative;
  }
  /* FIRST LEVEL */
  nav.mobile ul li a {
    position: relative;
    display: inline-flex;
    justify-content: space-between;
    font-size: 16px;
	font-weight: 600;
    text-transform: uppercase;
    width: 100%;
	cursor: pointer;
    padding: 15px 22px;
    color: #fff;
    text-decoration: none;
    text-align: left;
    box-sizing: border-box;
  }
  nav.mobile ul li a:hover {
    background: #366cc9;
    color: #fff;
    /* border highlight - Change to fit match site colors */
  }
  /* SECOND LEVEL */
  nav.mobile ul li li:last-child {
    border: none;
  }
  nav.mobile ul li li a {
    background: #ddd;
    position: relative;
    display: block;
	text-transform: capitalize;
    padding: 10px 10px 10px 20px;
    color: #000;
    text-decoration: none;
  }
  nav.mobile ul li li a:hover {
    background: #366cc9;
	color: #fff;
  }
  /* THIRD LEVEL */
  nav.mobile ul li li li:last-child {
    border: none;
  }
  nav.mobile ul li li li a {
    background: #555;
    position: relative;
    display: block;
    padding: 10px 10px 10px 25px;
    color: #ccc;
    text-decoration: none;
  }
  nav.mobile ul li li li a:hover {
    background: rgba(85, 85, 85, 0.5);
  }
  nav.mobile ul li .click {
    position: absolute;
    display: block;
    cursor: pointer;
    z-index: 12399994;
    top: 0;
    right: 0;
    width: auto;
    height: auto;
    padding: 17px 20px;
    color: #fff;
  }

  .mobile .social-container i {
    font-size: 22px;
    color: #ddd;
  }
  .mobile .social-container {
    padding: 25px;
  }
  .mobile .social-container a {
    margin-right: 25px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
  }
  .mobile .social-container a:hover {
    opacity: 0.75;
  }
  .nav-footer {
    color: #aaa;
    position: relative;
    text-align: center;
    font-size: 13px;
    line-height: 16px;
    padding: 2em 0;
  }
  .has-sub-menu a {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  /* FONT AWESOME ICONS */
  nav.mobile ul li a .fa {
    width: 25px;
    font-weight: 100;
    padding: 8px 3px;
    margin: 0 6px 0 0;
    text-align: center;
    background: #292929;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  }
  nav.mobile ul li .fa-chevron-down {
    color: #999;
  }
  nav.primary ul li a {
    font-size: 15px;
    padding: 0 10px;
  }
}


@media screen and (max-width: 768px) {
}
