/* header */

body {
  margin-top: 0;
  padding-top: 101px;
}

header.navbar {
  margin: 0;
  padding: 0;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 9;
  font-family: var(--secondary-font);
  border: none;
  border-radius: 0;
}

.header-top-section {
  padding: 15px 100px;
  z-index: 2;
  position: relative;
  background: #fff;
}

header .navbar-header {
  width: 100%;
}

.region-headertop {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo-wrapper {
  display: flex;
  align-items: center;
}

.header-title {
  font-size: 24px;
  color: var(--blue);
}

.header-logo {
  margin-right: 20px;
  padding-right: 20px;
  border-right: 1px solid #ccc;
}

body:not(.page-loaded) .menu {
  opacity: 0;
  transition: none !important;
}

.menu {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 0 100px;
  background-color: var(--blue);
  z-index: 1;
  transition: all .4s ease;
  /* transform: translateY(100%); */
}

.act-menu .menu {
  transform: translateY(100%);
}

.menu.menu--proceedings-menu a {
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  padding: 29px 15px;
}

.menu.menu--proceedings-menu a:hover,
.menu.menu--proceedings-menu .active a,
.menu.menu--proceedings-menu .active a:focus {
  background-color: #153768;
}

.menu.menu--proceedings-menu li.active {
  pointer-events: none;
}

.menu.menu--proceedings-menu li:not(.active) a:hover {
  background-color: var(--orange);
}

.menu.menu--proceedings-menu a:focus {
  background-color: transparent;
}

.header-right .field--item {
  display: flex;
  align-items: center;
}

.header-right .field--item>div {
  cursor: pointer;
}

header .youtube-icon {
  margin-right: 20px;
}

/* hamburger */
.menu-toggle-button {
  cursor: pointer;
  display: block;
  position: relative;
  width: 35px;
  height: 30px;
  /* padding: 5px; */
  overflow: hidden;
  margin-left: 30px;
}


.menu-toggle-button span {
  position: absolute;
  width: 100%;
  display: block;
  height: 2px;
  background-color: #29509c;
  left: 0;
  transition: all .3s ease;
}

.act-menu .menu-toggle-button span {
  transition: top .2s ease 0s, transform .4s ease .2s;
}

.menu-toggle-button span:first-child {
  top: 2px;
}

.menu-toggle-button span:nth-child(2) {
  top: 14px;
}

.menu-toggle-button span:nth-child(3) {
  top: 26px;
}

.act-menu .menu-toggle-button span:first-child {
  top: 14px;
  transform: rotate(45deg);
}

.act-menu .menu-toggle-button span:nth-child(2) {
  transform: translateX(60px);
}

.act-menu .menu-toggle-button span:nth-child(3) {
  top: 14px;
  transform: rotate(-45deg);
}

/* home link */

.home-menu {
  display: flex !important;
}

.home-menu-link {
  display: block !important;
  font-size: 0 !important;
  background: url(img/home.png) no-repeat center center transparent;
  width: 52px;
  height: auto;
  flex: 1;
}

@media screen and (max-width: 1350px) {

  .header-top-section,
  .menu {
    padding-left: 70px;
    padding-right: 70px;
  }
}

@media screen and (max-width: 1200px) {

  .menu {
    height: calc(100vh - 100px);
    flex-direction: column;
    justify-content: flex-start;
    width: 90%;
    max-width: 350px;
    right: 0;
    left: auto;
    padding: 15px 0;
    bottom: auto;
    top: 100px;
    transform: translateX(100%);
  }

  .act-menu .menu {
    transform: translateX(0);
  }

  header .menu {
    text-align: left;
    padding: 20px 15px;
  }

  .menu.menu--proceedings-menu a {
    padding: 15px;
  }


  .header-top-section {
    padding-left: 30px;
    padding-right: 30px;
  }

  .header-title {
    font-size: 22px;
    line-height: 26px;
    padding-right: 20px;
  }

  .menu--proceedings-menu .home-menu .home-menu-link {
    width: 52px;
    background-position: 15px center;
    padding: 10px 15px;
    height: 43px;
    /* float: left; */
    flex: unset;
    background-color: transparent !important;
  }
}

@media screen and (max-width: 991px) {

  .header-title {
    font-size: 16px;
  }
}

@media screen and (max-width: 767px) {
  body {
    padding-top: 75px;
  }

  .menu {
    height: calc(100vh - 75px);
    top: 75px;
  }

  .header-logo {
    margin-right: 0;
    padding-right: 15px;
    border-right: none;
  }

  .header-logo img {
    max-width: 150px;
  }

  .header-title {
    display: none;
  }

  .header-top-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  header .navbar-header {
    margin: 0 !important;
  }

  .menu.menu--proceedings-menu a {
    padding: 12px 15px;
    font-size: 16px;
  }

  header .youtube-icon {
    margin-right: 10px;
  }

  .menu-toggle-button {
    margin-left: 20px;
  }
}

@media screen and (max-width: 320px) {
  .header-logo img {
    max-width: 125px;
  }
}
