/* Navigation */

.header-container {
  width: 100vw;
  height: 70px;
  display: flex;
}

#tf-menu {
  /* padding: 10px; */
  transition: all 0.8s;
}

#tf-menu.navbar-default {
  background-color: rgba(248, 248, 248, 0);
  border-color: rgba(231, 231, 231, 0);
}

#tf-menu a.nav-logo {
  text-transform: uppercase;
  font-size: 22px;
  color: #fff;
  font-weight: 900;
}

.nav-logo {
  padding: 0;
  outline: none;
}

.nav-logo img {
  height: 40px;
}

.on {
  background-color: #222222 !important;
}

.navbar-default .navbar-nav > .active > a,
#tf-menu.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #45c8fc !important;
  background-color: transparent;
}

.navbar-toggle {
  margin: 0 0 0 15px;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #45c8fc;
  border-color: #45c8fc;
  cursor: pointer;
}

.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: #fff;
}

#language-switch-container {
  display: flex;
  align-items: center;
  margin-bottom: 2px;
}

#language-switch-container label {
  margin: 0;
}

.input-hidden {
  outline: none;
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

input[type="radio"] + button {
  color: #ccc;
  margin: 0 5px;
  box-sizing: border-box;
  opacity: 0.5;
  cursor: pointer;
}

input[type="radio"]:checked + button {
  opacity: 1;
  color: #fff;
}

.navbar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hamburger {
  display: none;
}

.bar {
  display: block;
  width: 35px;
  height: 3px;
  margin: 7px auto;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #ffffff;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}

.nav-item {
  margin-left: 2em;
  list-style: none;
}

.nav-link{
  font-size: 0.9em;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
}

.nav-link:hover{
  color: #45c8fc;
}

.nav-logo {
  font-size: 2.1rem;
  font-weight: 500;
  color: #482ff7;
}

.header-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  width: 100%;
  padding: 0 3vw;
}

@media only screen and (max-width: 768px) {
  .nav-menu {
    height: 100vh;
    width: 50vw;
    position: fixed;
    z-index: -1;
    left: 100%;
    top: 0;
    right: 0;
    flex-direction: column;
    justify-content: center;
    padding: 100px 0 30px;
    background-color: #222222;
    text-align: center;
    font-size: 2rem;
    transition: 0.25s ease-out all;
  }

  .nav-menu.active {
    left: 50vw;
  }

  .nav-item {
    display: block;
    padding: 30px 70px;
    margin-left: 0;
    width: 100%;
  }

  .nav-item a {
    width: 100%;
  }

  .hamburger {
    display: block;
    cursor: pointer;
  }

  .header-navbar {
    padding: 0 7vw;
  }

  #language-switch-container {
    display: block;
  }
}

@media only screen and (max-width: 603px) {
  .nav-menu {
    width: 100vw;
  }

  .nav-menu.active {
    left: 0;
  }
}

.localization-button {
  background-color: transparent;
  border: none;
}

.localization-button.eng {
  margin-left: 10px;
}