html,
body {
    height: 100%;
}

body.flex {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #f5f5f5;
}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}

.form-signin .checkbox {
    font-weight: 400;
}

.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.container-fluid {
    padding-top: 50px;
}

.navbar-brand {
    margin-left: 20px;
}

.codex-editor {
    border: 1px solid #ccc;
}

.fz-12 {
    font-size: 12px !important;
}

.alert {
    position: fixed;
    right: 0;
    top: 50px;
    z-index: 100000;
}

.image-area.has_image {
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px dotted #ccc;
    border-radius: 5px;
    height: 12rem;
    width: 12rem;
    display: flex;
    flex-direction: column-reverse;
}

.image-area.has_image a:first-child {
    display: none;
}

.image-area.has_image a:last-child {
    display: block;
}

.image-area a:last-child {
    display: none;
}