html,
body {
  font-family: Arial, Helvetica, sans-serif;
}

a.neutral {
  text-decoration: none;
}

a.neutral:visited {
  text-decoration: none;
}

a.link {
  color: rgb(126, 186, 241);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.container {
  max-width: 768px;
  width: 90%;
  margin: 0 auto;
}

.logo-container {
  margin: 24px auto 12px auto;
  max-width: 240px;
  width: 70%;
}

.logo {
  width: 100%;
}

.search {
  width: 100%;
  margin: 24px auto 12px auto;
  position: relative;
}

.autoComplete_location-image {
  position: absolute;
  width: 28px;
  right: 12px;
  top: calc(50% - 14px);
  cursor: pointer;
}

.up-header {
  position: relative;
  height: 24px;
  line-height: 24px;
  bottom: -12px;
  text-align: center;
  font-size: 0.85rem;
  white-space: nowrap;
}

.up-header span {
  background-color: white;
  color: rgb(126, 186, 241);
  padding: 0 4px;
}

.up-box {
  border: 1px solid black;
  padding: 16px 12px;
  border-radius: 8px;
}

.up-title {
  font-weight: bold;
  margin: 8px 0;
  font-size: 1.4rem;
}

.upper-bar {
  display: flex;
  height: 6px;
  margin: 4px 0;
}

.upper-bar .bar {
  width: 25%;
  position: relative;
}

.bar-arrow:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid black;
  top: 12px;
  left: calc(50% - 6px);
}

.bar-c1 {
  background-color: rgb(95, 189, 194);
}
.bar-c2 {
  background-color: rgb(237, 207, 103);
}
.bar-c3 {
  background-color: rgb(251, 172, 81);
}
.bar-c4 {
  background-color: rgb(216, 85, 116);
}

.upper-rating {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.upper-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.upper-row-text {
  font-size: 0.9rem;
  font-weight: 600;
}

.upper-sources {
  margin-top: 16px;
  font-size: 0.8rem;
  text-align: right;
}

.filled {
  color: rgb(255, 214, 1);
}

.not-filled {
  color: rgb(221, 221, 221);
}

.bottom {
  margin-top: 20px;
}

.bottom__box {
  padding: 16px 16px;
  border-radius: 6px;
  margin: 8px 0;
  background-color: rgb(253, 220, 185);
  color: rgb(110, 90, 98);
  font-size: 0.9rem;
  font-weight: 400;
  background-repeat: no-repeat;
  background-size: 60px;
  background-position: 92% 50%;
}

.bottom__box-link {
  color: rgb(130, 112, 115);
  margin-left: 12px;
}

.bottom__box-title {
  margin-top: 4px;
  font-weight: 600;
}

.bottom__box-text {
  margin-top: 4px;
  padding-right: 20%;
}

.result__placeholder {
  text-align: center;
  margin: 12px 0;
  color: #555;
  font-style: italic;
}

.result__loading {
  text-align: center;
}
/* LOADING */

.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid #383846;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}
