@font-face {
  font-family: 'Lora-Regular';
  src: url('./font/Lora-Regular.ttf');
}

@font-face {
  font-family: 'Lora-Bold';
  src: url('./font/Lora-Bold.ttf');
}
@font-face {
  font-family: 'Lato-Regular';
  src: url('./font/Lato-Regular.ttf');
}

@font-face {
  font-family: 'Lato-Bold';
  src: url('./font/Lato-Bold.ttf');
}

body {
  font-family: 'Lato-Regular', sans-serif;
  font-size: 14px;
}

/************ HEADER ************/

header {
  padding: 20px 0;
  margin-bottom: 10px;
  box-shadow: 0 1px 5px 1px #aaa;
  background-color: rgba(255, 185, 0, 0.15);
}

header .site-logo {
  display: inline-block;
  max-width: 310px;
}

header .site-logo a {
  font-size: 30px;
  color: #fff;
}

header .languages {
  text-align: center;
  background-color: #38355E;
  color: #ffffff;
  font-family: 'Lato-Bold';
  padding: 10px 30px;
  position: relative;
  bottom: 13px;
}

header .languages a {
  display: inline-block;
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: none;
}

header .languages a:last-child {
  margin: 0;
}

@media (max-width: 350px) {
  header .site-logo {
    display: block;
    margin: 0 auto 10px;
  }
}

@media (min-width: 993px) {
  header .container {
    display: flex;
    justify-content: space-between;
    align-items: end;
    flex-wrap: wrap;
  }

  header .languages {
    order: 3;
  }

  header .search-wrapper {
    order: 4;
  }
}

@media (max-width: 1400px) {
  header .container {
    flex-wrap: unset;
    align-items: center;
  }

  header .site-logo {
    transform: scale(0.8);
  }

  .main-menu ul li a {
    font-size: 14px;
  }

}

@media (max-width: 992px) {
  header .languages {
    width: 200px;
  }
}



/************ FOOTER ************/

footer {
  padding: 5px 0;
  background-color: #38355E;
}

footer .container {
  display: flex;
  justify-content: space-between;
  padding: 70px 0;
}

footer h3 {
  font-family: 'Lato-Regular';
  font-size: 20px;
  color: #6A6A6A;
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: 100;
}

footer p {
  font-family: 'Lato-Regular';
  font-size: 16px;
  color: white;
  line-height: 26px;
}

footer .map-mobile {
  display: none;
}

footer a {
  color: white;
}

@media (min-width: 992px) {
  footer a:hover {
    text-decoration: underline;
  }
}

footer #footerMenu ul li {
  display: block;
}

footer #footerMenu ul li a {
  padding: 7px 0;
  color: white;
  font-family: 'Lato-Regular';
  font-weight: 100;
}

@media (max-width: 580px) {

  footer .container {
    flex-wrap: wrap;
    padding: 70px 0 70px 15px;
  }

  footer .container .footer-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  footer .container .navigation {
    display: none;
  }

  footer .map {
    display: none;
  }

  footer .map-mobile {
    display: block;
  }

}


/***************** SEARCH FORM *****************/

#searchOverlay {
  background-color: rgba(30, 126, 220, 0.96);
}

#searchOverlay button {
  background-color: transparent;
  position: fixed;
  top: 40px;
  right: 5%;
}

#searchOverlay button i {
  font-size: 50px;
  color: #ffffff;
}

#searchOverlay .search-form-wrapper {
  width: 80%;
  max-width: 800px;
  z-index: 999;
}

#searchOverlay .search-form-wrapper h3 {
  margin-bottom: 70px;
  font-size: 60px;
  color: #ffffff;
}

#searchOverlay .search-form-wrapper .field {
  width: 100%;
  padding: 10px;
  background-color: transparent;
  color: #ffffff;
  border-bottom: 1px solid #ffffff;
  font-size: 20px;
}

#searchOverlay .search-form-wrapper button {
  position: absolute;
  right: 0;
  bottom: -60px;
  background-color: transparent;
  font-size: 30px;
}

#searchOverlay .search-form-wrapper button i {
  color: #ffffff;
}

/***************become member********************/

.become-member {
  height: 525px;
  background: url('./img/become-member.png');
  background-size: cover;
  position: relative;
}

.become-member > .become-member-over {
  background-color: rgba(56, 53, 94, 0.7);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.become-member h3 {
  color: #F29F23;
  font-size: 20px;
  position: relative;
  font-weight: 100;
  margin-top: 70px;
}

.become-member h3:after {
  content: '';
  position: absolute;
  width: 73px;
  height: 2px;
  background-color: #F29F23;
  top: 13px;
  left: 230px;
}

.become-member p {
  font-family: 'Lora-Bold', sans-serif;
  font-size: 52px;
  color: #FFFFFF;
}

.become-member a {
  margin-top: 10px;
  padding: 10px 3px;
  width: 320px;
  background-color: #ED8E00;
  color: white;
  font-family: 'Lato-Bold';
  font-size: 18px;
  display: block;
  text-align: center;
}

@media (max-width: 580px) {
  .become-member a {
    width: 300px;
  }
}