@-webkit-keyframes vex-slideup {
    0% {
        -webkit-transform: translate(50%,0);
        transform: translate(50%,0);
        opacity: 0;
    }

    1% {
        -webkit-transform: translate(50%,800px);
        transform: translate(50%,800px);
        opacity: 0;
    }

    2% {
        -webkit-transform: translate(50%,800px);
        transform: translate(50%,800px);
        opacity: 1;
    }

    100% {
        -webkit-transform: translate(50%,0);
        transform: translate(50%,-50%);
        opacity: 1;
    }
}

@keyframes vex-slideup {
    0% {
        -webkit-transform: translate(50%,0);
        transform: translate(50%,0);
        opacity: 0;
    }

    1% {
        -webkit-transform: translate(50%,800px);
        transform: translate(50%,800px);
        opacity: 0;
    }

    2% {
        -webkit-transform: translate(50%,800px);
        transform: translate(50%,800px);
        opacity: 1;
    }

    100% {
        -webkit-transform: translate(50%,0);
        transform: translate(50%,-50%);
        opacity: 1;
    }
}

@-webkit-keyframes vex-slidedown {
    0% {
        -webkit-transform: translate(50%,0);
        transform: translate(50%,0);
    }

    100% {
        -webkit-transform: translate(50%,800px);
        transform: translate(50%,800px);
    }
}

@keyframes vex-slidedown {
    0% {
        -webkit-transform: translate(50%,0);
        transform: translate(50%,0);
    }

    100% {
        -webkit-transform: translate(50%,800px);
        transform: translate(50%,800px);
    }
}

@-webkit-keyframes vex-pulse {
    0% {
        box-shadow: inset 0 0 0 300px transparent;
    }

    70% {
        box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
    }

    100% {
        box-shadow: inset 0 0 0 300px transparent;
    }
}

@keyframes vex-pulse {
    0% {
        box-shadow: inset 0 0 0 300px transparent;
    }

    70% {
        box-shadow: inset 0 0 0 300px rgba(255, 255, 255, 0.25);
    }

    100% {
        box-shadow: inset 0 0 0 300px transparent;
    }
}

.vex.vex-theme-bottom-up {
    top: auto;
    bottom: 0;
    right: 0;
    overflow: visible;
}

.vex.vex-theme-bottom-up .vex-overlay {
    display: none;
}

.vex.vex-theme-bottom-up.vex-closing .vex-content {
    -webkit-animation: vex-slidedown .5s forwards;
    animation: vex-slidedown .5s forwards;
}

.vex.vex-theme-bottom-up .vex-content {
    -webkit-animation: vex-slideup .5s;
    animation: vex-slideup .5s;
}

.vex.vex-theme-bottom-up .vex-content {
    padding: 0;
    max-width: 100%;
    width: 600px;
    position: fixed;
    top: 50%;
    right: 50%;
    transform: translate(50%,-50%);
    background: transparent;
}
.vex.vex-theme-bottom-up .vex-dialog-form {
    background: #fff;
}

.vex.vex-theme-bottom-up .vex-content h1,
.vex.vex-theme-bottom-up .vex-content h2,
.vex.vex-theme-bottom-up .vex-content h3,
.vex.vex-theme-bottom-up .vex-content h4,
.vex.vex-theme-bottom-up .vex-content h5,
.vex.vex-theme-bottom-up .vex-content h6,
.vex.vex-theme-bottom-up .vex-content p,
.vex.vex-theme-bottom-up .vex-content ul,
.vex.vex-theme-bottom-up .vex-content li {
    color: inherit;
}

.vex.vex-theme-bottom-up .vex-close {
    border-radius: 5px;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}

.vex.vex-theme-bottom-up .vex-close:before {
    border-radius: 3px;
    position: absolute;
    content: "\00D7";
    font-size: 26px;
    font-weight: normal;
    line-height: 31px;
    height: 30px;
    width: 30px;
    text-align: center;
    top: 3px;
    right: 3px;
    color: #bbb;
    background: transparent;
}

.vex.vex-theme-bottom-up .vex-close:hover:before,
.vex.vex-theme-bottom-up .vex-close:active:before {
    color: #777;
    background: #e0e0e0;
}

.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-message {
    margin-bottom: .5em;
}

.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input {
    margin-bottom: 1em;
}

.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input select,
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input textarea,
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="date"],
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="datetime"],
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="datetime-local"],
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="email"],
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="month"],
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="number"],
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="password"],
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="search"],
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="tel"],
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="text"],
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="time"],
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="url"],
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="week"] {
    border-radius: 3px;
    background: #fff;
    width: 100%;
    padding: .25em .67em;
    border: 0;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    min-height: 2.5em;
    margin: 0 0 .25em;
}

.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input select:focus,
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input textarea:focus,
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="date"]:focus,
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="datetime"]:focus,
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="datetime-local"]:focus,
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="email"]:focus,
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="month"]:focus,
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="number"]:focus,
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="password"]:focus,
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="search"]:focus,
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="tel"]:focus,
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="text"]:focus,
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="time"]:focus,
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="url"]:focus,
.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-input input[type="week"]:focus {
    box-shadow: inset 0 0 0 2px #8dbdf1;
    outline: none;
}

.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-buttons {
    *zoom: 1;
}

.vex.vex-theme-bottom-up .vex-dialog-form .vex-dialog-buttons:after {
    content: "";
    display: table;
    clear: both;
}

.vex.vex-theme-bottom-up .vex-dialog-button {
    border-radius: 3px;
    border: 0;
    float: right;
    margin: 0 0 0 .5em;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .8em;
    line-height: 1em;
    padding: .75em 2em;
}

.vex.vex-theme-bottom-up .vex-dialog-button.vex-last {
    margin-left: 0;
}

.vex.vex-theme-bottom-up .vex-dialog-button:focus {
    -webkit-animation: vex-pulse 1.1s infinite;
    animation: vex-pulse 1.1s infinite;
    outline: none;
}

@media (max-width: 568px) {
    .vex.vex-theme-bottom-up .vex-dialog-button:focus {
        -webkit-animation: none;
        animation: none;
    }
}

.vex.vex-theme-bottom-up .vex-dialog-button.vex-dialog-button-primary {
    background: #3288e6;
    color: #fff;
}

.vex.vex-theme-bottom-up .vex-dialog-button.vex-dialog-button-secondary {
    background: #e0e0e0;
    color: #777;
}

.vex-loading-spinner.vex-theme-bottom-up {
    box-shadow: 0 0 0 0.5em #f0f0f0, 0 0 1px 0.5em rgba(0, 0, 0, 0.3);
    border-radius: 100%;
    background: #f0f0f0;
    border: .2em solid transparent;
    border-top-color: #bbb;
    top: -1.1em;
    bottom: auto;
}

body.vex-open {
    overflow: initial;
}