body::before {
  min-height: 100vh;
}

header {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  min-height: 217px;
}

header .title {
  width: calc(25% - 1.5rem);
  max-width: 285px;
  border-left: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  height: auto;
  /* margin: auto; */
  display: flex;
  grid-template: none;
}

.title a {
  flex-direction: column;
  padding: 5% 5% 15% 5%;
}

.title .header__logo {
  height: auto !important;
  width: 55%;
}

.title h1 {
  font-size: 5em;
  margin-top: 0;
  line-height: 10px;
  margin-right: 0 !important;
  font-weight: 500;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
}

.title h1 span {
  /* font-size: 0.25em !important; */
  font-size: 11px;
  margin: 0;
  line-height: 15px;
  margin-bottom: 57px;
}

.title hgroup {
  align-self: stretch;
  margin-top: 0px;
  margin-right: 7px;
  display: block;
  height: auto;
}

.header__title-detail {
  width: 200%;
  top: 110%;
  /* top: calc(100vh - 269px); */
  right: -115%;
  font-size: 10px;
}

.title .english-title {
  display: block;
  font-family: 'Roboto Slab', serif;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  line-height: 1;
  margin: 0.5rem 0 0 0;
  padding-bottom: 0.5rem;
}

header .my-miami-large {
  display: block;
  width: calc(100% + 3rem);
  margin-right: -1.5rem;
}

.my-miami-large ul {
  background-color: var(--primary);
  display: flex;
  justify-content: flex-end;
  list-style-type: none;
  padding: 0.5rem 3rem;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.3);
}

.my-miami-large ul li {
  margin: 0 1rem;
  padding: 0.2rem 0;
  font-size: 1.2rem;
}

.my-miami-large ul li:last-of-type {
  margin-left: 0;
}

.my-miami-large ul li a {
  text-decoration: none;
  color: var(--lighter-gray);
  font-family: 'font-medium';
  transition: all 0.3s;
}

.my-miami-large ul li a:hover {
  outline: white 1px dotted;
  offset: 2px;
}

.toolbar__section {
  display: flex;
  width: 100%;
  margin-bottom: 5px;
}

.toolbar__section:last-of-type {
  margin-bottom: 0;
}

.toolbar__calendar {
  background: var(--lighter-gray);
  flex: 100%;
  box-shadow: 0 2px 5px rgba(70, 70, 70, 0.5);
  font-weight: 600;
  color: var(--dark-primary);
  line-height: 22px;
  display: flex;
  justify-content: flex-end;
  font-size: 12px;
  border-radius: 4px;
}
.toolbar__calendar-date span {
  margin: 0 10px;
}
.toolbar__calendar div {
  text-align: center;
  font-family: 'font-faNum';
}

.toolbar__language {
  width: 37px;
  font-size: 1.2em;
  line-height: 1.5em;
  margin: 0 5px 0 0;
  background-color: var(--lighter-gray);
  padding: 2px 10px 2px 10px;
  border: 1.5px solid #11446e;
  color: var(--primary) !important;
  text-decoration: none;
  display: flex;
  justify-content: center;
  justify-self: center;
  box-shadow: 0 2px 5px rgba(70, 70, 70, 0.5);
  transition: all 0.3s linear;
  outline: 1px dotted transparent;
  border-radius: 15%;
  font-family: 'Roboto Slab', serif;
  transition: all 0.5s;
}

.toolbar__language:visited {
  color: var(--primary);
}

.toolbar__language:hover {
  background-color: var(--primary) !important;
  color: var(--lighter-gray) !important;
}

.toolbar__calendar-date {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.toolbar__calendar-date div {
  margin-left: 10px;
}

.slider-nav {
  display: none;
}

.buttons {
  display: none;
}

header .search-container-large {
  display: block;
  margin: 1.5rem 0;
  display: flex;
  justify-content: flex-end;
}

.search-container-large .search-box {
  border: 1px solid var(--lighter-gray);
  background-color: var(--primary);
  margin-left: 1.5rem;
  display: flex;
}

.search-container-large input {
  height: 32px;
  width: 200px;
  border: none;
  outline: 1px dotted transparent;
  outline-offset: 0;
  transition: all 0.3s linear;
  padding-right: 1rem;
  background-color: var(--lighter-gray);
}

.search-container-large input:focus {
  outline: 1px dotted var(--primary);
  outline-offset: -4px;
}

.search-container-large input::placeholder {
  color: var(--dark-primary);
  opacity: 1;
  font-family: 'font-medium';
}

.search-container-large a {
  transition: all 0.3s linear;
  outline: 1px dotted transparent;
  outline-offset: 0;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-container-large a img {
  height: 20px;
  display: inline-block;
}

.search-container-large a:hover {
  background: var(--dark-primary);
  outline: 1px dotted #fff;
  outline-offset: -4px;
}

header .navbar-large {
  background-color: var(--lighter-gray);
  display: block;
  width: calc(100% + 3rem);
  margin-right: -1.5rem;
}

.navbar-large .nav-items {
  list-style: none;
  display: flex;
  padding: 4px 0 2px 0;
  margin-right: calc(25% + 0rem);
  justify-content: center;
}

.navbar-large .nav-item {
  padding: 6px 0px;
  margin: 0 1.4%;
  position: relative;
}

.navbar-large .nav-item:hover {
  outline: 1px dotted var(--primary);
}

.navbar-large .nav-item:hover .nav-item-list {
  visibility: visible;
  opacity: 1;
}

.navbar-large .nav-item:hover .nav-item-listItem {
  display: block;
}

li.nav-item.with-sub::after {
  content: '';
  border: 5px solid transparent;
  border-top-color: var(--dark-primary);
  position: absolute;
  top: 50%;
  right: 103%;
  transform: translateY(-17%);
}

.navbar-large .nav-item > a {
  text-decoration: none;
  font-family: 'font-medium';
  font-size: 1.3rem;
  color: var(--dark-primary);
}

.navbar-large .nav-item-list {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  position: absolute;
  width: 300px;
  background: #f8fafafa;
  z-index: 401;
  border-top: 2px solid var(--primary);
  box-shadow: 0 0 4px rgba(70, 70, 70, 0.4);
  margin: 0;
  right: 0;
  padding: 1rem 2rem 1rem 2rem;
  top: 100%;
  font-family: 'font';
}

.navbar-large .nav-item-list::after {
  content: '';
  width: 0;
  height: 0;
  border: 10px solid rgba(255, 0, 0, 0);
  border-bottom-color: var(--primary);
  position: absolute;
  top: -20px;
  right: 15px;
}

.nav-item-list--mega {
  right: -300% !important;
  left: 0;
  text-align: right;
  width: 700px !important;
  display: flex;
}

.nav-item-list--mega::after {
  right: 32% !important;
}

.nav-item-list--mega li {
  list-style: none;
}

.nav-item-list-col {
  padding: 10px 15px;
}

.navbar-large .nav-item-listItem {
  list-style-type: none;
  color: var(--primary);
  display: none;
}

.navbar-large .nav-item-listItem:first-of-type {
  border-top: none;
}

.navbar-large .nav-item-listItem a {
  text-decoration: none;
  color: var(--dark-primary);
  font-family: 'font-medium';
  padding: 1rem 0;
  display: inline-block;
  width: 100%;
  font-size: 1.4rem;
  transition: all 0.1s linear;
}

.navbar-large .nav-item-listItem a:hover {
  color: #fff;
  background: var(--primary);
}

.nav-item-listItem--megal1 {
  flex-direction: column;
  width: 100%;
  flex-basis: unset !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

.nav-item-listItem--megal1 a {
  padding: 0 !important;
}

.nav-item-subitems {
  padding-right: 8px;
}

.nav-item-subitem--megaL2 .nav-item-subitem-link {
  font-size: 13px !important;
  padding: 1px 0;
  line-height: 29px;
  color: var(--dark-primary) !important;
}

.nav-item-listItem--second-row {
  border-top: none !important;
}

.nav-item-listItem-link {
  flex: 0 1 35%;
  padding-right: 0px !important;
  color: var(--accent) !important;
  font-size: 1.5rem !important;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.nav-item-listItem-link:hover {
  /* text-shadow: 0 1px 2px var(--light-gray);
  font-weight: 600; */
  cursor: default;
  background: none !important;
  color: var(--accent) !important;
}

.nav-item-subitem-link:hover {
  text-shadow: 0 1px 2px var(--light-gray);
  font-weight: 600;
  cursor: pointer;
  background: none !important;
  /* color: var(--accent) !important; */
}

header > h1 {
  margin: 1.5rem calc(25% + 3.5rem) 0 0 !important;
  /* margin-right: calc(25% + 4.5rem) !important; */
  text-align: right;
}

main {
  /* height: 200vh; */
}

.footer__container {
  padding: 25px 5%;
}

.footer__bio {
  margin: 0;
  padding-right: 2rem;
  padding-left: 5rem;
}

.footer__links {
  padding: 0;
}

.footer__links-items {
  flex-direction: row;
  flex-wrap: wrap;
}

.footer__links-item {
  flex: 50%;
}

.social__list--footer {
  justify-content: center;
}

.social__item {
  margin: 0 4%;
}

@media (min-width: 1101px) {
  .navbar-large .nav-item {
    padding: 6px 1px;
    margin: 0 1.8%;
    position: relative;
  }

  .navbar-large .nav-item > a {
    font-size: 1.35rem;
  }
}
