#console {
    display: none;
}

#dialog {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.15);
    transition: visibility 0s linear 0.5s, opacity 0.5s linear;
    opacity: 0;
    visibility: hidden;
}

.dialog_state {
    visibility: hidden;
    opacity: 0;
    display: none;
}

.dialog_state:checked + #dialog,
#dialog.dialog_open {
    transition-delay: 0s;
    opacity: 1;
    visibility: visible;
}

#dlg-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    width: 100vw;
    height: 100vh;
    cursor: pointer;
    background: black;
    opacity: 0.6;
}

.dialog_state:checked + #dialog #dlg-wrap {
    max-height: 44rem;
    opacity: 1;
    padding: 2rem;
}

#dlg-wrap {
    position: relative;
    z-index: 1;
    display: block;
    box-sizing: border-box;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    max-width: 640px;
    padding: 2rem;
    border-radius: 0.25rem;
    box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    transition: all .5s;
    background: #232a5c;
}

#dlg-wrap.wider {
    width: 1000px;
    max-width: 100%;
}

#dlg-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 2rem;
    height: 2rem;
    padding-top: 5px;
    text-align: center;
    cursor: pointer;
}



#dlg-content {
    font-weight: 300;
    letter-spacing: 0.015em;
}

#dlg-prompt .button {
    margin: 1rem 0.5rem;
    border-radius: 1.5rem;
}

.main_area {
    transition: all 0.5s ease-out;
}

.dialog_state:checked ~ .main_area,
.main_area.dialog_open {
    filter: blur(6px);
}

.modal-main-container .button, a.button {
    display: inline-block;
    padding: 0.25em 1em;
    box-sizing: border-box;

    background: #ffffff;
    color: #606060;
    text-decoration: none;
    letter-spacing: 0.075em;

    font-family: Raleway, Open Sans, Arial;
    font-weight: 300;
    font-size: 0.85em;
    border-radius: 4px;
    border: 1px solid #e0e0e0;

    transition: .1s all;
    cursor: pointer;
}

.modal-main-container .button:hover, a.button:hover {
    color: #a0a0a0;
    background: #f8f8f8;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    /*transform: scale(1.01);*/
}

.modal-main-container .button.positive, a.button.positive {
    border-color: #6199B7;
    color: #6199B7;
}

.modal-main-container .button.positive:hover, a.button.positive:hover {
    border-color: #468FB6;
    color: #fff;
    background-color: #468FB6;
}

.modal-main-container .icon {
    vertical-align: middle;
    line-height: 2rem;
    font-size: 1.75em;
}

#console {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    background: #f0f0f0;
    color: #606060;
    font: 400 13px/16px Open Sans;
    letter-spacing: 0em;
    text-align: left;
    padding: 2px;
    overflow-y: scroll;
}

#console p {
    margin: 0;
    padding: 0;
}

#console p em {
    font-style: none;
    font-weight: 700;
}

.modal-title-style {
    text-shadow: 2px 2px 4px #ff0052;
    color: #fff;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
}
