a#login_pop:hover,
a#join_pop:hover {
  border-color: #eee;
}
.fr-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  bottom: 0;
  cursor: default;
  left: 0;
  opacity: 0;
  position: fixed;
  right: 0;
  top: 0;
  visibility: hidden;
  z-index: 1;

  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -ms-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  transition: opacity 0.5s;
}
.fr-overlay:target {
  visibility: visible;
  opacity: 1;
  pointer-events: none;
}
.fr-popup {
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  border-radius: 1px;
  width: 50%;
  display: inline-block;
  left: 50%;
  opacity: 0;
  position: fixed;
  top: 40%;
  visibility: hidden;
  z-index: 10;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;

  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);

  -webkit-transition: opacity 0.5s, top 0.5s;
  -moz-transition: opacity 0.5s, top 0.5s;
  -ms-transition: opacity 0.5s, top 0.5s;
  -o-transition: opacity 0.5s, top 0.5s;
  transition: opacity 0.5s, top 0.5s;
}

@media (max-width: 477px) {
  .fr-popup {
    width: 90%;
  }
}

@media only screen and (max-width: 799px) and (min-width: 477px) {
  .fr-popup {
    width: 60%;
  }
}

.fr-overlay:target + .fr-popup {
  top: 50%;
  opacity: 1;
  visibility: visible;
}

.fr-modal-header {
  padding: 16px;
  background-color: #f5f4eb;
  color: white;
}

.fr-close {
  color: #000;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin: auto;
}

.fr-close:hover,
.fr-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.fr-modal-body {
  padding: 20px;
  max-height:40vh;
  overflow-y:auto;
}

.fr-modal-footer {
  padding: 16px;
  color: white;
}
