.box {
    width: 20%;
    margin: 0 auto;
    background: rgba(255,255,255,0.2);
    padding: 35px;
    border: 2px solid #fff;
    border-radius: 20px/50px;
    background-clip: padding-box;
    text-align: center;
}

.button {
  font-size: 1em;
  padding: 10px;
  color: #fff;
  border: 2px solid orange;
  border-radius: 20px/50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.button:hover {
  background: orange;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
}
.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    margin: 40px auto;
    background: #98cc84;
/*  border-radius: 5px;*/
    width: 500px;
    position: relative;
    transition: all 5s ease-in-out;
}

.popup h3 {
    margin: 5px;
    color: #333;
    font-family: Open Sans, sans-serif;
}

.acc_name {
    font-family: Open Sans, sans-serif;
    font-weight: 600;
}

.popup .close {
    position: absolute;
    top: 0px;
    right: 15px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.popup .close:hover {
    color: orange;
}

.popup .content {
    font-family: Open Sans, sans-serif;
    padding: 5px;
    background-color: white;
}

.popup p {
    padding: 5px 0px;
}

.popup .extra_detail {
    font-style: italic;
    font-size: 0.8125em;
    line-height: 1em;
}

.popup .on_route {
    font-weight: 400;
    font-style: italic;
}

/* Extra classes for Ascot Heath */

.popup_header {
    background-color: #98cc84;
    padding: 3px 10px;
    margin: 0;
    width: initial;
}

.boxed_link {
    padding: 0 20px;
}

footer {
    font-family: Open Sans, sans-serif;
    font-size: 14px;
}