.site-header .title-area {
  padding-bottom: 10px;
}

.header-image .site-title > a {
  min-height: 130px;
}

.header-social {
  list-style: none;
  padding: 10px 0;
  flex: 1;
}

.header-social li {
  display: inline-block;
  margin-right: 15px;
}

.header-social li a {
  color: #7c1517;
  display: inline-block;
}

.header-social li a:hover,
.header-social li a:focus {
  transform: scale(1.3);
  display: inline-block;
}

.title-area .site-title a {
  background: url(../img/logo/mac.png) no-repeat !important;
  background-repeat: no-repeat;
  background-size: contain !important;
}

.top-nav {
  display: flex;
  list-style: none;
  flex: 1;
  justify-content: flex-end;
  position: relative;
  top: -3px;
  margin-bottom: -12px;
}

.top-nav li {
  width: 100%;
  max-width: 90px;
  text-align: center;
  line-height: 0.8em;
  margin-left: 30px;
  transition: ease all 0.3s;
}

.top-nav li:hover {
  transform: scale(1.05) translate3d(3px, 1px, 0px);
}

.top-nav li:hover a:before {
  border-bottom-width: 11px;
  border-left-width: 11px;
}

.top-nav li.subscribe {
  background-color: #b71323;
}

.top-nav li.subscribe:hover {
  background-color: #dc2f40;
}

.top-nav li.subscribe:hover a:after {
  border-top-color: #dc2f40;
}

.top-nav li.portal {
  background-color: #f5b814;
}

.top-nav li.portal:hover {
  background-color: #ffc836;
}

.top-nav li.portal:hover a:after {
  border-top-color: #ffc836;
}

.top-nav li.login {
  background-color: #505355;
}

.top-nav li.login:hover {
  background-color: #6b6e6f;
}

.top-nav li.login:hover a:after {
  border-top-color: #6b6e6f;
}

.top-nav li a {
  text-transform: uppercase;
  display: block;
  font-family: "kepler-std-semicondensed", serif;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  padding-top: 5px;
  font-size: 14px;
  font-weight: 700;
}

.top-nav li a strong {
  display: block;
  font-family: "myriad-pro", Helvetica, Arial, sans-serif;
  font-size: 13px;
}

.top-nav li a:after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-left: 45px solid transparent;
  border-right: 45px solid transparent;
  border-top: 15px solid #f8463f;
  left: 0;
  top: 100%;
  transition: ease all 0.3s;
}

.top-nav li.subscribe a:after {
  border-top-color: #b71323;
}

.top-nav li.portal a:after {
  border-top-color: #f5b814;
}

.top-nav li.login a:after {
  border-top-color: #505355;
}

.top-nav li a:before {
  content: "";
  height: 0;
  width: 0;
  top: 1px;
  right: 100%;
  border-bottom: 9px solid black;
  border-left: 9px solid transparent;
  position: absolute;
  transition: ease all 0.3s;
}

.top-nav li.subscribe a:before {
  border-bottom-color: #7c1517;
}

.top-nav li.portal a:before {
  border-bottom-color: #d8a008;
}

.top-nav li.login a:before {
  border-bottom-color: #000000;
}

.top-nav li span {
  border: 2px solid #fff;
  border-radius: 50%;
  align-self: center;
  width: 18px;
  height: 18px;
  line-height: 15px;
  font-size: 11px;
  margin-top: 5px;
  margin-bottom: -10px;
  z-index: 9;
}

.utility-bar {
  box-shadow: none;
  border-bottom: 0;
}

.utility-bar .top-bar {
  display: flex;
  justify-content: space-between;
}

.header-wrap {
  display: flex;
  justify-content: space-between;
}

#search-form-mobile {
  position: relative;
}

.header-wrap .search #search-form {
  display: flex;
  border: 1px solid #ccc;
}

.header-wrap .search #search-form input[type="search"] {
  border: 0;
}

.header-wrap .search #search-form button[type="submit"] {
  padding: 0 10px;
  background-color: transparent;
  color: #7c1517 !important;
  font-size: 20px;
}

.header-wrap .search {
  width: 330px;
  padding-top: 45px;
  position: relative;
}

.search-options {
  display: flex;
  list-style: none;
  justify-content: space-between;
  margin: 0;
  text-transform: uppercase;
  padding-top: 7px;
}

.search-options li {
  flex: 1;
  transition: ease all 0.3s;
}

.search-options li a {
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  padding: 0 5px;
  display: block;
  text-align: center;
}

.search-options li:nth-child(1) {
  background-color: #7c1517;
  margin-right: 5px;
}

.search-options li:nth-child(1):hover {
  background-color: #b71423;
}

.search-options li:nth-child(2) {
  background-color: #b71323;
  margin-right: 5px;
}

.search-options li:nth-child(2):hover {
  background-color: #e64352;
}

.search-options li:nth-child(3) {
  background-color: #d8a008;
}

.search-options li:nth-child(3):hover {
  background-color: #f5b814;
}

.search #search-map-outer {
  position: absolute;
  right: 0;
  left: auto;
  top: 100%;
}

.search #search-map-outer.hidden {
  visibility: hidden;
  opacity: 0;
  z-index: -999;
}

.search #search-map-outer #map {
  right: 0;
  left: auto;
  top: 100%;
}

.search #topic-list {
  position: absolute;
  top: 100%;
  right: 0;
  width: 430px;
  z-index: 999;
  display: none;
}

.search #topic-list ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  letter-spacing: 0.03em;
  background-color: #fbf3f4;
  border: 10px solid #fff;
  padding: 20px 0px 20px 30px;
}

.search #topic-list ul li {
  flex-basis: 50%;
  text-transform: capitalize;
  padding-right: 80px;
}

.search #topic-list ul li a {
  display: block;
  font-weight: bold;
  color: #5e705d;
  border-top: 1px solid #f5babf;
  padding: 4px 0;
}

.search #topic-list ul li:first-child a,
.search #topic-list ul li:nth-child(2) a {
  border-top: 0;
}

.nav-primary {
  box-shadow: none;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.nav-primary:after {
  background: none;
}

.site-header-mobile .logo_header {
  left: 140px;
  transform: none;
  width: 180px;
  min-width: 180px;
  padding-top: 10px;
}

.nav-primary .menu-primary > li > a {
  display: flex;
  color: #515455;
  align-items: center;
  box-shadow: none;
  border-left: 1px solid #fff;
  padding: 18px 22px;
}

.nav-primary .menu-primary > li:first-of-type a {
  line-height: 1;
  box-shadow: none;
  border-left: 0;
}

.nav-primary .menu-primary > li > a .sub-title {
  margin-bottom: 0;
  text-align: left;
  color: #515455;
}

.nav-primary {
  background: #f5f5f5;
  margin-top: 30px;
}

.main-nav-wrap {
  display: flex;
  justify-content: space-between;
}

.logo-nav {
  list-style: none;
  margin-left: 0;
  padding: 12px 12px 12px 0;
}

.logo-nav li {
  display: inline-block;
  margin-right: 20px;
}

.logo-nav li:last-child {
  margin-right: 0;
}

.search-wrapper {
  position: relative;
}

.menu-accout {
  position: absolute;
  right: 100px;
  top: 0;
}

.menu-accout ul {
  margin-left: 0;
  list-style: none;
  text-transform: uppercase;
  font-family: "kepler-std-semicondensed", serif;
  text-align: right;
  padding-top: 4px;
}

.menu-accout ul li {
  line-height: 22px;
}

.menu-accout ul li a {
  font-weight: bold;
}

.menu-accout ul li a span {
  border: 2px solid #000;
  font-size: 9px;
  width: 16px;
  display: inline-block;
  text-align: center;
  height: 16px;
  border-radius: 50%;
  line-height: 14px;
  vertical-align: top;
  margin-top: 2px;
}

.menu-accout ul li.subscribe a,
.menu-accout ul li.subscribe a span {
  border-color: #b71423;
  color: #b71423;
}

.menu-accout ul li.portal a,
.menu-accout ul li.portal a span {
  border-color: #f5b814;
  color: #f5b814;
}

.menu-accout ul li.login a,
.menu-accout ul li.login a span {
  border-color: #505355;
  color: #505355;
}

.state-list {
  background-color: #fff;
  padding: 20px 0;
  display: none;
  position: fixed;
  width: 100%;
  top: 161px;
  z-index: 999999;
  bottom: 0;
  overflow: auto;
}

.state-list ul {
  column-count: 2;
  list-style: none;
  margin: 0;
  padding: 0 80px;
}

.state-list ul li a {
  color: #5e705d;
}

#topic-list-mobile {
  display: none;
  position: fixed;
  top: 161px;
  width: 100%;
  z-index: 999999;
  padding: 10px 20px;
  background: #fff;
  text-transform: capitalize;
  background-color: #fbf3f4;
  border: 20px solid #fff;
}

#topic-list-mobile ul {
  list-style: none;
  margin: 0;
  column-count: 2;
  padding: 0 80px;
}

@media only screen and (max-width: 1023px) {
  .site-container {
    padding-top: 76px;
  }

  .slideout-menu {
    background: #b71423;
  }

  .social-links {
    padding: 15px 0;
    border-bottom: 1px solid #730000;
  }

  .menu-icon {
    box-shadow: none;
    border-right: 1px solid #999;
  }

  .slideout-menu ul li a {
    padding: 0.9rem 0.9rem 0.9rem 1.5rem;
    border-bottom: 1px solid #730000;
    border-top: 0;
    text-transform: uppercase;
    font-family: "kepler-std-semicondensed", serif;
    font-size: 26px;
  }

  .search_bar_container {
    background: #701410;
    position: fixed;
    margin-top: 0;
    top: -10px;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }

  .search_bar_container.open_search {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    top: 76px;
  }

  .search_bar_container input[type="search"] {
    background-color: #fff;
  }

  .search-toggle {
    border-left: 1px solid #999;
  }

  .slider-open .slideout-menu {
    z-index: 999 !important;
  }

  .slideout-menu .mobile-social {
    text-align: center;
  }

  .slideout-menu .mobile-social li a {
    padding: 1rem;
    border-bottom: 0;
  }

  .mobile-social li {
    display: inline-block;
  }

  .logos li img {
    filter: brightness(100);
  }

  .logos ul li:first-of-type a {
    padding-top: 30px;
  }

  .logos ul li a {
    border-bottom: 0;
  }

  .slider-open .slideout-panel-left {
    box-shadow: none;
  }

  #searchBarMedium .search {
    max-width: 350px;
    margin: 0 auto;
  }

  .search_bar_container input[type="search"] {
    background-color: #fff;
  }

  #searchBarMedium .search-options li:nth-child(1) {
    background: #fff;
  }

  #searchBarMedium .search-options li:nth-child(1) a {
    color: #7c1517;
  }

  .site-header-bar {
    position: relative;
    height: 76px;
  }
}

@media screen and (min-width: 1023px) and (max-width: 1200px) {
  .nav-primary .menu-primary > li > a {
    font-size: 2.5rem;
  }

  .logo-nav img {
    width: 100px;
  }
}

@media screen and (max-width: 640px) {
  .site-header-bar {
    height: 55px;
  }

  .site-container {
    padding-top: 0;
  }

  .search_bar_container {
    top: -31px;
  }

  .search_bar_container.open_search {
    top: 55px;
  }

  .state-list {
    top: 141px;
  }

  #topic-list-mobile {
    top: 140px;
  }

  .site-header-mobile .logo_header {
    left: 60px;
    padding-top: 0;
    width: 180px;
    min-width: 180px;
  }

  .state-list ul {
    padding: 0 20px;
  }

  #topic-list-mobile ul {
    padding: 0 20px;
  }

  .menu-accout {
    right: 60px;
  }

  .menu-accout ul li {
    font-size: 12px;
    line-height: 16px;
  }

  .menu-accout ul li a span {
    display: none;
  }
}
