.animate-top {
    position: relative;
    animation: animatetop 0.4s
}

@@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 100;
        opacity: 1
    }
}

.rvt-button {
    background-color: #006298;
    border: .125rem solid #006298;
    border-radius: 1.25rem;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    position: relative;
    height: 2.5rem;
    padding: 0 .75rem;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    transition: box-shadow .2s ease
}

.rvt-button:focus {
    outline: none;
    box-shadow: 0 0 0 .125rem #fff, 0 0 0 .25rem #006298
}

.rvt-button:hover {
    background-color: #134a71;
    border-color: #134a71;
    color: #fff
}

.rvt-button:active {
    background-color: #16324b;
    border-color: #16324b
}

.rvt-button-secondary {
    background-color: transparent !important;
    color: #006298 !important;
}

.rvt-button-secondary:hover {
    background-color: #dce3ee !important;
    border-color: #006298 !important;
    color: #16324b !important;
}

.rvt-button-secondary:active {
    background-color: #b8c8dc !important;
    color: #16324b !important;
}

.modal-open,
.rvt-modal-open {
    overflow: hidden
}

.modal,
.rvt-modal {
    z-index: 999999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(51, 51, 51, .85);
    overflow-y: scroll;
    padding-bottom: 5rem
}

.modal__inner,
.rvt-modal__inner {
    position: relative;
    top: 5rem;
    max-width: 600px;
    width: 90%;
    background-color: #fff;
    margin: 0 auto;
    margin-bottom: 5rem;
    border-radius: .25rem;
    overflow: hidden
}

.modal__close,
.rvt-modal__close {
    background-color: transparent;
    border: none;
    border-radius: .25rem;
    position: absolute;
    right: 1rem;
    top: 1.1rem;
    padding: .5rem;
    height: auto;
    line-height: .5;
    display: inline-block;
    color: #333
}

.modal__close:hover,
.rvt-modal__close:hover {
    background-color: #006298;
    color: #fff
}

.modal__close:focus,
.rvt-modal__close:focus {
    outline: none;
    box-shadow: 0 0 0 .125rem #fff, 0 0 0 .25rem #006298
}

.leave-modal__close,
.rvt-leave-modal__close {
    background-color: transparent;
    border: none;
    border-radius: .25rem;
    position: absolute;
    right: 1rem;
    top: 1.1rem;
    padding: .5rem;
    margin-bottom: .5rem;
    height: auto;
    line-height: .5;
    display: inline-block;
    color: #333
}

.leave-modal__close:hover,
.rvt-leave-modal__close:hover {
    background-color: #006298;
    color: #fff
}

.leave-modal__close:focus,
.rvt-leave-modal__close:focus {
    outline: none;
    box-shadow: 0 0 0 .125rem #fff, 0 0 0 .25rem #006298
}


.modal__header,
.rvt-modal__header {
    padding: 3rem 1rem 1rem;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.modal__title,
.rvt-modal__title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    color: #000000 !important;
    float: none;
}

.modal__body,
.rvt-modal__body {
    padding: 1rem
}

.modal__controls,
.rvt-modal__controls {
    padding: 1rem;
    display: -ms-flexbox;
    display: flex;
    border-top: 1px solid #eee;
    background-color: #fafafa;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.modal__controls .rvt-button,
.rvt-modal__controls .rvt-button {
    /*width: 100%;*/
    margin: 0 auto;
    text-align: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 1rem
}

.modal__controls .rvt-button:last-child,
.rvt-modal__controls .rvt-button:last-child {
    margin-bottom: 0
}

@@media screen and (min-width: 30em) {

    .modal__controls,
    .rvt-modal__controls {
        -ms-flex-pack: end;
        justify-content: flex-end
    }

    .modal__controls .rvt-button,
    .rvt-modal__controls .rvt-button {
        width: auto;
        margin-right: 1rem;
        margin-bottom: 0
    }

    .modal__controls .rvt-button:last-child,
    .rvt-modal__controls .rvt-button:last-child {
        margin-right: 0
    }
}

.modal[aria-hidden=true],
.rvt-modal[aria-hidden=true] {
    display: none
}

.modal:not([aria-hidden=true]),
.rvt-modal:not([aria-hidden=true]) {
    display: block
}