.modal-popup {
    position: fixed;
    z-index: 101;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .5s 0s ease, visibilty 0s .75s linear;
    -o-transition: opacity .5s 0s ease, visibilty 0s .75s linear;
    transition: opacity .5s 0s ease, visibilty 0s .75s linear;
}
.modal-popup-window {
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 480px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    transform: scale(0) translate3d(0,0,0);
    backface-visibility: hidden;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .5s 0s ease, visibilty 0s .75s linear, -webkit-transform .75s .25s cubic-bezier(0.175, 0.885, 0.32, 1);
    transition: opacity .5s 0s ease, visibilty 0s .75s linear, -webkit-transform .75s .25s cubic-bezier(0.175, 0.885, 0.32, 1);
    -o-transition: opacity .5s 0s ease, transform .75s .25s cubic-bezier(0.175, 0.885, 0.32, 1), visibilty 0s .75s linear;
    transition: opacity .5s 0s ease, transform .75s .25s cubic-bezier(0.175, 0.885, 0.32, 1), visibilty 0s .75s linear;
    transition: opacity .5s 0s ease, transform .75s .25s cubic-bezier(0.175, 0.885, 0.32, 1), visibilty 0s .75s linear, -webkit-transform .75s .25s cubic-bezier(0.175, 0.885, 0.32, 1);
    -moz-transform: scale(0) translate3d(0,0,0);
    -o-transform: scale(0) translate3d(0,0,0);
    -webkit-transform: scale(0) translate3d(0,0,0);
    -ms-transform: scale(0) translate3d(0,0,0);
    -webkit-backface-visibility: hidden;
}

.modal-popup-close {
    position: absolute;
    top: 0;
    right: 0;
    background: #fff;
    z-index: 2;
}
.modal-popup-close button {
    position: relative;
    padding: 0.25rem;
    margin: 0;
    border: none;
    outline: none;
    background: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    border-radius: 2px;
    -webkit-box-shadow: 0 0 0 1px rgb(0 0 0 / 10%);
    box-shadow: 0 0 0 1px rgb(0 0 0 / 10%);
    opacity: 0.75;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.modal-popup-close button:after {
    font-family: 'icons' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: block;
    height: 1.25rem;
    width: 1.25rem;
    line-height: 1.25rem;
    content: "\e910";
    color: #222;
}

.modal-popup-close button span {
    width: 1px;
    height: 1px;
    position: absolute;
    border: 0;
    clip: rect(0 0 0 0);
    margin: -1px;
    overflow: hidden;
    padding: 0;
}

.modal-popup-close button:hover {
    outline: none;
    opacity: 1;
    background: #222;
    color: #fff
}
.modal-popup-close button:hover:after {
    color: #fff;
}
.modal-popup-close button:focus,
.modal-popup-window .button:focus {
   -webkit-box-shadow: inset 0 0 3px rgba(41, 128, 185,1.0);
   box-shadow: inset 0 0 3px rgba(41, 128, 185,1.0);
}
.touch .modal-popup-close button:focus {
   -webkit-box-shadow: none;
   box-shadow: none;
}
.modal-popup-caption {
    padding: 2rem;
    position: relative;
}
.modal-popup-intro-inner,
.modal-popup-congratulations-inner,
.modal-popup-nextsteps-inner {
    background-color: #fff;
    opacity: 0;
    transition: all .75s ease;
    -webkit-transition: all .75s ease;
    -moz-transition: all .75s ease;
    -ms-transition: all .75s ease;
    -o-transition: all .75s ease;
}
.modal-popup-congratulations,
.modal-popup-nextsteps {
    position: absolute;
    width: 100%;
    visibility: hidden;
}
.modal-popup-congratulations p,
.modal-popup-nextsteps p {
    font-weight: normal;
    text-transform: uppercase;
    line-height: 1.35em;
}
.modal-popup-nextsteps p {
}
.modal-popup h2 {
    font-size: 1.25rem;
    margin-top: 0;
    line-height: 1.2;
    text-transform: uppercase;
}
.modal-popup h3,
.modal-popup h4 {
    line-height: 1;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
}
.modal-popup .deco:after {
    left: 50%;
    transform: translate3d(-50%,0,0);
    -webkit-transform: translate3d(-50%,0,0);
    -moz-transform: translate3d(-50%,0,0);
    -ms-transform: translate3d(-50%,0,0);
    -o-transform: translate3d(-50%,0,0);
}
.modal-button-group ul {
    margin: 0 -0.5rem;
    padding: 0;
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.modal-button-group li {
    padding: 0.5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
}
.modal-button-group .button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    min-width: 110px;
    min-height: 100%;
    transform: translate3d(0,0,0);
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    -o-transform: translate3d(0,0,0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    margin: 1px;
}
.modal-button-group.vertical-group .button {
    min-width: 240px;
}
.modal-button-group.vertical-group .button span {
    width: 100%;
}
.modal-popup .button.action {
    display: table;
    margin: 1rem auto 0 auto;
}
.modal-popup-hero {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 25%;
}
.modal-popup-hero div {
    background-image: url(../assets/select-southern-2022.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
.isModalPopup .modal-popup {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity .5s 0s ease, visibilty 0s 0s linear;
    -o-transition: opacity .5s 0s ease, visibilty 0s 0s linear;
    transition: opacity .5s 0s ease, visibilty 0s 0s linear;
}
.isModalPopup .modal-popup-window {
    visibility: visible;
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transition: opacity .5s 0s ease, visibilty 0s 0s linear, -webkit-transform .75s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: opacity .5s 0s ease, visibilty 0s 0s linear, -webkit-transform .75s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -o-transition: opacity .5s 0s ease, transform .75s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibilty 0s 0s linear;
    transition: opacity .5s 0s ease, transform .75s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibilty 0s 0s linear;
    transition: opacity .5s 0s ease, transform .75s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibilty 0s 0s linear, -webkit-transform .75s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.status-form-wrapper {
    height: 0;
    overflow: hidden;
}

.button--secondary {
    background: #fff;
    border: 1px solid #007F8F;
    color: #007F8F;
}
.button--secondary:hover {
    background: #007F8F;
    color: #fff;
}
@media screen and (max-width:480px){
    .modal-popup h2 {
        font-size: 1.25rem;
    }
    .modal-popup-nextsteps p {
        font-size: 0.825rem;
    }
}

.yes .modal-popup-intro,
.no .modal-popup-intro {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}
.yes .modal-popup-congratulations,
.no .modal-popup-nextsteps {
    position:relative;
    visibility: visible;
}


.modal-popup-intro-inner,
.yes .modal-popup-congratulations-inner,
.no .modal-popup-nextsteps-inner {
    opacity: 1;
}