/** HEADER **/
header {
  padding: 3vh 2vw 3vh 3.4vw;
}

.logo-container {
  display: block !important;
  text-align: right;
  margin: 2vw 0 0 auto;
}
.logo-container img {
  width: 8vw;
}

#languages_container {
  font-family: "FS Joey Pro";
  font-size: 1.4vw;
  margin: -0.2vw 1vw 0 0;
}

header #search:before {
  background-image: url(../img/search-grey.svg);
}

/** BODY **/

.container {
  /* width: 100vw;
  max-width: 100vw; */
  max-height: 100vh;
  margin: 9.6vh auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 3.4vw;
}

.search-form {
  position: relative;
  width: 100%;
}

.search-form input {
  font-weight: 600;
  font-size: 1.8vw;
  color: #fff;
  text-shadow: 0 0.025vw 0.05vw rgba(0, 0, 0, 0.25);
  padding: 0 0.2vw 0 3.6vw;
  border-radius: 1.6vw;
  border: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 93.2vw;
  background: transparent no-repeat center left 1vw;
  height: 3.4vw;
  font-family: "Open Sans", sans-serif;
  text-transform: capitalize;
}

.search-form input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.search-form button {
  border-radius: 50%;
  height: 3.4vw;
  width: 3.4vw;
  padding: 0;
  background: transparent url("../img/search.svg") no-repeat center;
  background-size: 1.4vw auto;
}

.search-form.selected button,
.search-form.selected button:hover {
  background: #fff url("../img/search-color.svg") no-repeat center;
}

#results_container {
  display: flex;
  flex-direction: column;
}

.result {
  height: 3.4vw;
  line-height: 3.4vw;
  padding: 0 1.8vw;
  border-radius: 17vw;
  font-size: 1.25vw;
  background: #1a4357;
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 0.025vw 0.05vw rgba(0, 0, 0, 0.25);
  transition: color 0.4s, background-color 0.4s;
  max-width: 100%;
  margin: 0 auto 0.8vw 0;
  text-overflow: ellipsis;
  overflow: hidden;
  display: inline-block;
  white-space: nowrap;
  position: relative;
  font-weight: 600;
}

.result.active {
  background: #ffffff;
  //color: #0d1114;
  color: #005587;
  text-shadow: 0 0.025vw 0.05vw rgba(0, 0, 0, 0.25);
}

.result.saved {
  padding-left: 3.8vw;
}

.result.saved:before,
.result.saved:after {
  content: "";
  display: block;
  width: 1.5vw;
  height: 100%;
  position: absolute;
  margin: auto 1vw;
  top: 0;
  left: 0.8vw;
  transition: opacity 0.4s;
  background: transparent url("../img/repeat_white.svg") no-repeat center;
  background-size: 1.4vw auto;
}

.result.saved:after {
  background: transparent url("../img/repeat.svg") no-repeat center;
  background-size: 1.4vw auto;
}

.result.active:before {
  opacity: 0;
}

.result:after {
  opacity: 0;
}

.result.active:after {
  opacity: 1;
}

.page-container {
  display: flex;
}

.aside {
  /* width: 15vw;
  min-width: 15vw;
  margin: 10vh 4.2vw 0; */
  width: 65vw;
  min-width: 15vw;
  margin: 10vh 4.2vw 0;
  margin-right: 0px;
}

/** KEYBOARD **/
.keyboard {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

ul {
  width: 24.5vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  list-style: none;
  margin: 0.4vw auto;
}

ul#body {
  justify-content: flex-start;
}

ul#body li {
  font-weight: 600;
  font-size: 1.25vw;
  line-height: 2.5vw;
  width: 3.33vw;
  height: 3.33vw;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.4s, background-color 0.4s;
  margin: 0.1vw 0.08vw;
}

ul#header li,
ul#footer li {
  padding: 0.4vw 0;
  width: 7.6vw;
  height: 3.4vw;
  left: 0;
  top: 0;
  background: #1a4357;
  border-radius: 10vw;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: capitalize;
  font-weight: 600;
  font-size: 1.25vw;
  line-height: 2.5vw;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 0.025vw 0.05vw rgba(0, 0, 0, 0.25);
  transition: color 0.4s, background-color 0.4s;
  position: relative;
}

ul#body li {
  text-transform: uppercase;
}

ul li.active {
  background: #ffffff !important;
  color: #005587 !important;
}

li.delete:before,
li.delete:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: transparent url("../img/delete.svg") no-repeat center;
  background-size: 1.5vw auto;
  transition: opacity 0.4s;
}

li.delete:after {
  background-image: url("../img/delete_white.svg");
  opacity: 0;
}

li.delete.active:before {
  opacity: 0;
}

li.delete.active:after {
  opacity: 1;
}

li.en {
  padding-left: 1.9vw !important;
}

li.en:before,
li.en:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: transparent url("../img/lang.svg") no-repeat center;
  background-position: center left 2.1vw;
  background-size: 1.5vw auto;
  transition: opacity 0.4s;
}

li.en:after {
  background-image: url("../img/lang_white.svg");
  opacity: 0;
}

li.en.active:before {
  opacity: 0;
}

li.en.active:after {
  opacity: 1;
}
