.menu-toggle {
  width: 18px;
  height: 18px;
  padding: 0;
  background: none;
  border: 0;
  appearance: none;
  transform: rotate(0);
  transition: 0.4s ease;
  position: fixed;
  bottom: 2.2rem;
  right: 2.4rem;
}
.menu-toggle:hover,
.menu-toggle:focus {
  background-color: transparent;
  cursor: pointer;
}
.open > .menu-toggle #hamburger,
.menu-toggle #close {
  display: none;
}
.open > .menu-toggle #close {
  display: block;
}
.menu-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: var(--primary-color);
  opacity: 1;
  left: 0;
  transform: rotate(0);
  transition: all 0.2s ease;
}
.menu-toggle span:nth-child(1) {
  top: 0;
  width: 100%;
}
.menu-toggle span:nth-child(2),
.menu-toggle span:nth-child(3) {
  top: 7px;
}
.menu-toggle span:nth-child(4) {
  top: 14px;
  width: 100%;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 7px;
  width: 0;
  left: 50%;
}
.menu-toggle[aria-expanded="true"] span:nth-child(2),
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 7px;
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(4) {
  top: 7px;
  width: 0;
  left: 50%;
}
@media (min-width: 1025px) {
  .menu-toggle {
    display: none;
  }
}

.header__navigation {
  display: flex;
  gap: 3.2rem;
}
.menu {
  /*   position: absolute; */
  top: 100%;
  left: 0;
  right: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1025px) {
  .header__navigation.is-open,
  .header__navigation {
    display: flex;
    gap: 3.2rem;
  }
  .menu {
    flex: 1;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2.4rem;
  }
}
.menu.open {
  display: block;
}
@media (min-width: 1025px) {
  .menu.open {
    display: flex;
  }

  .dropdown {
    position: relative;
  }

  .menu > li > .menu-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 1rem 2rem;
    background-color: var(--white);
    position: relative;

    color: #000;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5
  }
  .menu > li > .menu-item:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + .6rem);
    width: 100%;
    height: 0.4rem;
    background: var(--primary-color);
    pointer-events: none;
    opacity: 0;
  }
  .menu > li.open > a:after,
  .menu > li > .menu-item:hover:after,
  .menu > li > .menu-item.active-branch:after {
    opacity: 1;
  }

  .menu > li > .menu-item {
    display: inline-flex;
    padding: 0;
    background-color: transparent;
    border-bottom: 0;
  }
}
.menu > li > .menu-item:hover,
.menu > li > .menu-item:focus {
  cursor: pointer;
}

.dropdown-menu {
  flex-direction: column;
  display: none;
  list-style: none;
  background-color: var(--white);
  margin: 0;
  padding: 0;
}

.dropdown-menu.sub-menu {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1025px) {
  .dropdown-menu:not(.sub-menu) {
    position: absolute;
    z-index: 2;
    top: calc(100% + 1rem);
    left: -3.7rem;
    box-shadow: 0px 12px 24px rgba(27, 59, 119, 0.05);
    padding: 0;
    min-width: 24rem;
  }
  .dropdown-menu.has-children {
    min-width: 48rem;
    flex-direction: row;
  }
  .dropdown-menu.has-children > li {
    flex: 0 1 50%;
  }
  .dropdown-menu.has-children ul {
    background: transparent;
  }
  .has-children > li:nth-child(2) {
    /*background-image: url(https://info.premiertrailerleasing.com/hubfs/_img/premier_brandbook_texture.jpg);
    background-size: cover;*/
    flex: 1;
  }

  .header .navigation a {
    word-break: normal;
  }

  .header .navigation .button {
    padding: 1.5rem 2rem;
    font-weight: 600;
  }

  .header .navigation .button--icon {
    gap: 1rem;
  }

  .menu > .dropdown > .dropdown-menu {
    box-shadow: 0 6px 12px rgba(0,0,0,0.175), inset 0px 3px 8px -2px rgba(0,0,0,0.5);
  }

  .cta__dropdown .dropdown-menu {
    top: calc(100% + .1rem);
    left: 0;
    right: 0;
    gap: .1rem;
  }
}
.dropdown-menu > li > span {
  display: block;
  padding: 1.3rem 2.4rem;

  color: #000;
  background: transparent;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
}
.dropdown-menu > li > a {
  display: block;
  padding: 1.3rem 2.4rem;

  color: #000;
  background: transparent;
  border-bottom: 1px solid var(--gray);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2.2rem; /* 137.5% */
}
.dropdown-menu > li:last-child > a {
  border-bottom: 0;
}
.dropdown-menu > li > a:hover {
  color: #fff;
  background: var(--primary-color);
}

/*.cta__dropdown .dropdown-menu > li > a {
  color: #fff;
  background: var(--primary-color);
  border-bottom: 0;
  font-weight: 800;
  line-height: 2.4rem;
}
.cta__dropdown .dropdown-menu > li > a .small-text {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
}
.cta__dropdown .dropdown-menu > li > a:hover {
  color: #fff;
  background: var(--primary-hover);
}*/

.dropdown.open .dropdown-menu {
  display: flex;
}
.dropdown > a > svg {
  transition: all .3s;
}
.dropdown.open > a > svg {
  transform: rotate(180deg);
}

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px dashed;
  border-top: 4px solid \9;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.dropdown.open > a > .caret {
  border-top: 0px !important;
  border-bottom: 4px dashed !important;
}

.header__ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.header__ctas > .button {
  white-space: nowrap;
}
.header__ctas .button.button--mobile-only {
  display: none;
}
nav.navigation {
  flex: 1;
}
.menu.open {
  display: block;
  padding: 2.5rem 0;
}


@media(max-width: 1065px) {
  .header__ctas {
    flex: 130px 0 1;
    min-height: 68px;
    width: 242px;
  }
  .header__ctas .button {
    font-size: 11px;
  }
}

{#
@media(max-width: 1024px) {
  .menu {
    background: #fff;
  }
  .header__inner {
    padding: 1rem 2rem 1rem 0rem;
  }
  .header__navigation {
    position: absolute;
    bottom: 0;
    top: auto;
    transform: translateY(100%);
    left: 0;
    width: 100%;
  }
  .header .navigation a {
    margin-top: -1px;
    font-size: 14px;
  }
  .header .navigation .menu > li > .menu-item {
    font-style: normal;
    font-weight: 600;
    font-size: 17px;
    line-height: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-bottom: 0;
    padding-top: 25px;
  }
  .header .navigation .menu > li li > a {
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  .header__ctas .button {
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FFFFFF;
    padding: 1.8rem 2rem;
  }
  .header__ctas .button.button--mobile-only {
    display: block;
  }
  .dropdown.open .dropdown-menu {
    border-top: 1px solid #EDEFF0;
    border-bottom: 1px solid #EDEFF0;
    padding: 1.25rem 2rem;
    margin: 1.25rem 2rem;
  }
  .menu > li > .menu-item {
    font-size: 17px;
    padding: 1.25rem 2rem;
  }
  .dropdown-menu > li > a {
    padding: 1.25rem 0;
    font-size: 14px;
    font-weight: 600;
  }
  .header__ctas {
    width: auto;
    display: block;
    min-height: 0;
  }
}
#}

@media (min-width: 1025px) {
  .menu.mobile,
  .navigation.mobile {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .header__logo {
  }

  .header .button {
    padding: 1.1rem 1rem;
    font-size: 1.3rem;
    word-break: keep-all;
  }

  .menu.desktop {
    display: none !important;
  }

  .menu.mobile {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    width: 100%;
  }

  .menu.mobile .dropdown-menu {
    position: absolute;
    z-index: 2;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0px 12px 24px rgba(27, 59, 119, 0.05);
    padding: 0;
  }

  .dropdown-menu > li > a {
    text-align: center;
    border-bottom: none;
  }

  .navigation.mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.6rem 2.4rem;
    background: #F9F9F9;
    border-top: 1px solid var(--light-gray);
  }

  .navigation.mobile.open {
    top: 7.7rem;
    overflow: auto;
    background: var(--light-gray);
  }

  .mobile .menu {
    display: grid;
    gap: 0;
    grid-template-columns: 1fr;
  }

  .mobile .menu > li > a {
    color: #000;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: unset;
    line-height: 1.375;
    min-height: unset;
    padding: 2rem;
    border-top: 1px solid var(--gray);
    text-transform: none;
  }

  .mobile .menu > li > a:hover {
    color: var(--primary-color);
  }

  .mobile .menu > li:last-child > a {
    border-bottom: 1px solid var(--gray);
  }

  .mobile .menu > li > a {
    align-items: center;
    cursor: pointer!important;
    display: flex;
    gap: 1rem;
    justify-content: center;
  }

  #bottom__menu .dropdown-menu {
    background: transparent;
  }

  .mobile .dropdown-menu > li > span {
    display: block;
    padding: 1.3rem 2.4rem;
    color: #000;
    background: transparent;
    border-bottom: 1px solid var(--gray);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2.2rem;
    text-align: center;
  }

  .mobile .menu ul ul {
    display: none;
    font-size: 14px;
    gap: 16px;
    grid-template-columns: 1fr;
    letter-spacing: .5px;
    line-height: 1.71;
    list-style: none;
    margin: 0;
    padding: 1.6rem 0 0;
  }

  #bottom__menu {
    display: none;
    margin: -2.4rem -2.4rem 0;
    width: calc(100% + 4.8rem);
  }

  .open > #bottom__menu {
    display: block;
  }

  .menu__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.8rem;
    padding: 8rem 0;
    margin: 0 auto;
    list-style: none;
    max-width: 40rem;
  }

  .menu__bottom li {
    flex: 1 1 calc(50% - .4rem);
  }

  .menu__bottom li a {
    width: 100%;
  }
}

.menu__bottom li a.button {
  flex-direction: column;
  min-height: 5.4rem;
  line-height: 1.6rem;
}

.menu__bottom li a.button span {
  font-size: 1.2rem;
  line-height: 1;
}

.menu__bottom li a.button--border:last-child {
  max-width: 100%;
}



.mobile-buttons {
  margin: 0;
  padding: 0;
  list-style: none;

  display: flex;
  gap: .4rem;
}

.mobile-buttons .button {
  max-width: unset;
  width: auto;
}
