﻿.clear {
  clear: both;
}
/***** Start of primary nav ******/
#menu-button {
  display: none;
}
nav.mobile {
  display: none;
}
nav.primary {
  padding: 0;
  display: inline-block;
  margin: 0;
  width: 100%;
  position: relative;
}
nav.primary ul {
  margin: 0;
  padding: 0;
}
nav.primary ul li {
  display: inline-block;
  margin: 0;
  list-style-type: none;
  width: auto;
}
nav.primary ul li a {
text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    line-height: 2;
    padding: 0 5px;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
    -webkit-transition: .4s ease-in;
    -moz-transition: .2s ease-in;
    -o-transition: .2s ease-in;
    transition: .2s ease-in;
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;

}
nav.primary ul li a.main-link:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 51%;
    right: 51%;
    bottom: 0;
    background: #fff;
    height: 1px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

nav.primary ul li a.main-link:hover:before, nav.primary ul li a.main-link:focus:before, nav.primary ul li a.main-link:active:before {
  left: 0;
  right: 0;
}
nav.primary ul li a:hover {
	
}

nav.primary ul li.top-level:after {
    content: '';
    background: var(--primary);
    /* padding: 5px; */
    height: 5px;
    width: 5px;
    border-radius: 90px;
    display: inline-flex;
    margin: 0 10px;
}

nav.primary ul li.top-level:last-of-type:after {content: none;}
/* Appearance of the sub-level links */
nav.primary ul li li a {
    font-size: 15px;
    line-height: 2;
    padding: 10px 10px;
    color: #000;
    background: #faf9f9;
    text-align: left;
    display: block;
    border-right: none;
    border-left: none;
    text-transform: none;
}
/* Appearance of the sub-level links on hover */
nav.primary ul li li a:hover {
	background:#c62828;color:#fff;
}
/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
  display: none;
  position: absolute;
  width: fit-content;
}
nav.primary ul ul ul {
  position: absolute;
  left: 100%;
  top: 0;
    width: 100%;
}
nav.primary ul li:hover > ul {
  display: block;
  line-height: 18px;
  z-index: 100;
}
nav.primary ul ul li {
  float: none;
  position: relative;
  margin: 0;
	width:100%;
  display: block;
}
@media screen and (max-width: 1490px) {
	nav.primary ul li.top-level:after {margin: 0 5px !important;}
}
@media screen and (max-width: 1330px) {
    nav.primary ul li.top-level:after {
        margin: 0 3px !important;
    }
@media screen and (max-width: 1295px) {
	nav.primary ul li a {font-size: 14px;}
}
/******** End of primary Nav ***************/
@media screen and (min-width: 1250px) {
  .menu-toggle.exit-click {
    display: none !important;
  }
}
@media screen and (max-width:1250px) {
  .mobile:not(.open) + .menu-toggle.exit-click {
    display: none;
  }
  .mobile.open + .menu-toggle.exit-click {
    position: fixed !important;
    top: 0 !important;
    left: 300px !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1000;
  }
  /*==============================
	Mobile Nav Styles			
================================*/
  nav.primary {
    display: none;
  }
	
	.nav-logo img {
    max-width: 100%;
    width: 100%;
}
  #menu-button {
  display: inline-block;
   font-size: 24px;
   position: relative;
   line-height: 3;
   z-index: 400;
   padding: 0 25px;
    text-align: right;
  }
  #menu-button a {
    color: #fff;
    text-decoration: none;
    font-weight: normal;
	  cursor: pointer;
  }

  nav.mobile {
    display: block;
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: var(--secondary);
    z-index: 500; /* needs to be higher than #menu-button, adjust as needed */
    overflow: auto;
  }
  /* MENU HEADER SOCIAL MEDIA */
  nav.mobile .social-media {
    position: relative;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    word-spacing: 13px;
    padding: 0 0 0 15px;
    color: #ccc !important;
  }
  nav.mobile .social-media a:link, nav.mobile .social-media a:visited {
    color: #ccc;
    text-decoration: none;
  }
  nav.mobile .social-media a:hover, nav.mobile .social-media a:active {
    color: #fff;
    text-decoration: underline;
  }
  /* MENU HEADER STYLES */
  nav.mobile .mobile_top {
    position: relative;
    display: block;
    padding: 0;
    margin: 50px 0 10px 0;
    color: #999;
    font-size: 18px;
    font-weight: 400;
  }
  /* MENU CLOSE 'X' BUTTON */
  nav.mobile .menu-toggle:not(.exit-click) {
    position: absolute;
    font-size: 38px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary) !important;
    text-decoration: none;
    top: -38px;
    right: 13px;
  }
  nav.mobile .menu-toggle:not(.exit-click):hover { /* Menu close button on hoveer */
    color: #fff;
  }
  /* MENU LIST STYLE */
  nav.mobile ul {
    list-style: none;
    font-weight: 300;
    margin: 0;
    padding: 0;
	 left: 0 !important;
	  position: relative !important;
  }
  nav.mobile ul li {
     border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    position: relative;
  }
  /* FIRST LEVEL */
  nav.mobile ul li a {
position: relative;
    display: block;
    font-size:16px;
    text-transform: uppercase;
    padding: 15px;
    color: #fff;
    text-decoration: none;
    text-align: left;
    font-family: var(--body) !important;
  }
  nav.mobile ul li a:hover {
	  background: #bf1e2e !important;
	  color: #fff !important;
  }
  /* SECOND LEVEL */
  nav.mobile ul li li:last-child {
    border: none;
  }
  nav.mobile ul li li a {
   position: relative;
    display: block;
    padding: 15px 15px 15px 25px;
	  background: #101010;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
  }
  nav.mobile ul li li a:hover {
  	background: #000 !important;color: #fff !important;
	}
  /* THIRD LEVEL */
  nav.mobile ul li li li:last-child {
    border: none;
  }
  nav.mobile ul li li li a {
    background: #000;
    position: relative;
    display: block;
    padding: 10px 10px 10px 25px;
    color: #fff;
    text-decoration: none;
    border-left: 4px #555 solid;
  }
  nav.mobile ul li li li a:hover {
    background: rgba(85, 85, 85, 0.5);
  }
  nav.mobile ul li .click { /* dropdown menu idicator arrow be sure to include this image with your image files */
  
  }
  .nav-footer {
    color: #1B1B1B;
    position: relative;
    text-align: center;
    font-size: 14px;
    line-height: 16px;
	  opacity: .5;
    padding: 30px 0;
  }
  /* FONT AWESOME ICONS */
  nav.mobile ul li a .fa,nav.mobile ul li a .fa-solid,nav.mobile ul li a .fa-regular {
    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;
  }
}
@media screen and (max-width: 1020px) {
 
}
@media screen and (max-width:450px) {

}