body, html {
    padding: 0px;
    margin: 0px;
    height: 100%;
    font-family: Helvetica, Arial;
}

.page {
    display: flex;
    height: 100%;	
}
.gradient {
    background-image: linear-gradient(#3f7099, white);
}
.hflex {
    display: flex;
}
.shadow {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
section.popup {
    display: block;
    background-color: #eee;
    border: 1px solid #c4c4ff;
    border-radius: 5px;
    box-shadow: 2px 2px 10px 4px #444;
    min-width: 400px;
    user-select: none;
}
section.popup header {
    background-color: #c4c4ff;
    color: white;
    font-weight: bold;
    line-height: 1em;
    border-radius: 5px 5px 0px 0px;
    box-sizing: border-box;
    display: flex;
}
section.popup header span {
    flex: 1;
    padding: 10px;
}
section.popup>header>button {
    border: none;
    background: transparent;
    color: white;
    font-size: large;
    width: 2em;
}
section.popup>article input {
    padding: 5px;
}
.form {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 20px;
}
.logo {
    background: URL(magicmed.png) 15px 15px no-repeat;
    width: 133px;
    font-size: 14px;
    color: #888;
    padding: 175px 15px 15px 15px;
    text-align: center;
    float: left;
}
.login label {
    padding: 5px;
    display: flex;
    flex-direction: column;
}
.buttons {
    padding: 10px;
}
.buttons>button {
    padding: 10px 20px;
    margin-right: 10px;
    width: 100px;
}