#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  cursor: pointer;
}

.overlay-container {
  background-color: blue;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background-color: #ffffff;
  width: 280px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.overlay-title {
  padding: 0px;
  margin: 0px !important;
  font-size: 20px;
  font-weight: bold;
}
.overlay-container .score-text {
  font-size: 25px;
  font-weight: bold;
}

.res-top-margin {
  margin-top: 75px !important;
}

@media (max-width: 992px) {
  .res-top-margin {
    margin-top: 120px !important;
  }
}

.bg-grey {
  background-color: #f4f4f4;
}

/* native language modal  */
.modal-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s;
  /* rem */
  /* visibility: visible;
  opacity: 1; */
}
.bg-active {
  visibility: visible;
  opacity: 1;
}
.modal {
  font-family: "Montserrat", sans-serif;
  background-color: white;
  width: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px rgba(0, 0, 0, 0.2);
  height: 60%;
  display: flex;
  flex-direction: column;
  /* justify-content: space-around;
  align-items: center; */
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal p {
  flex: 11;
}
.modal .close-btn {
  flex: 1;
}

.modal-header p {
  margin: 0px !important;
  color: #cc0033;
  font-size: 17px;
  font-weight: bold;
}

.radios {
  padding: 20px;
}

.form-group {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-content .radios {
  min-width: 300px;
}

.modal-footer {
  border: none;
}

.text-center {
  justify-self: center;
}

.border-none {
  padding: 5px 50px 5px 50px !important;
}

.close-btn {
  color: #ccc;
  float: right;
  font-size: 30px;
}
.close-btn:hover,
.close-btn:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
#language-btn {
  border: 1px solid #fff;
  font-family: "Raleway", sans-serif;
  color: #cc0033;
  background-color: #ccc;
  border-radius: 28px;
  padding: 5px 10px 5px 10px !important;
}
#language-btn:hover,
#language:focus {
  border-color: #003366;
}

@media (max-width: 480px) {
  .modal {
    font-family: "Montserrat", sans-serif;
    background-color: white;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px rgba(0, 0, 0, 0.2);
    height: 30%;
    display: flex;
    flex-direction: column;
    /* justify-content: space-around;
  align-items: center; */
    margin-top: 10px !important;
  }
}
