* {
    font-family: sans-serif;
    font-size: 17px;
}

body {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(at bottom, #c1d8d7, #3ac1ef);
}

.navbar {
    position: fixed;
    display: flex;
    top: -60px;
    width: 100%;
    height: 50px;
    background: #034e67;
    box-shadow: 0 0 5px 0 rgba(32,32,32,0.75);
    transition: top .5s;
}

.navbar.active {
    top: 0;
}

.navbar_elem {
    position: relative;
    padding: 0 10px;
    height: 100%;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
    text-decoration: none;
    color: white;
    cursor: pointer;
    transition: all .3s;
}

.navbar_elem:not(.disabled):hover {
    background: #5e5e5e;
}

.main_container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .25s;
}

.form_logo {
    max-width: 100%;
}

.form_hint {
    margin: 2px 31px;
    height: 20px;
    opacity: 0;
    transition: opacity .5s;
}

.form {
    display: flex;
    flex-direction: column;
    background: #f1f1f1;
    width: 40%;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 3px 9px -2px;
}

.form_inputs {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 20px 20px 20px;
    height: 100%;
}

.form_ref {
    margin: 11px;
    height: 100%;
    color: dimgrey;
}

.signup_passBlock {
    width: 100%;
    position: relative;
}

.statusIcon {
    position: absolute;
    width: 16px;
    height: 16px;
    top: 14px;
    left: -16px;
    opacity: 0;
    transition: opacity .3s;
}

.app {
    border-radius: 10px;
    width: 80%;
    height: 80%;
    background: #f1f1f1;
    box-shadow: 0 3px 9px -2px;
    display: flex;
}

.docs_block {
    width: 50%;
    border-radius: 10px 0 0 0px;
    display: flex;
    flex-direction: column;
    transition: width .3s;
}

.flex_vert {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 0 0 10px 0;
}

.actions_block {
    width: 100%;
    height: 10%;
    display: flex;
    border-radius: 0 10px 0 0;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    transition: all .2s;
}

.form_button {
    width: calc(100% - 12px);
    padding: 6px;
    margin: 10px;
    outline: none;
    border: none;
}

.disabled {
    color: #00000050;
}

.actions_block > .button:last-child {
    border-radius: 0 10px 0 0;
}

.controls_block > .button:last-child {
    border-radius: 0 0 10px 0;
}

.text_block {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 0 0 10px 0;
    height: 100%;
}

.controls_block {
    width: 100%;
    height: 10%;
    display: flex;
    border-radius: 0 0 10px 0;
}

.wider {
    width: 100%;
}

.editedDocs_container {
    margin-top: 5px;
    display: none;
}

.editedDocs_container:not(:empty) {
    position: relative;
    display: block;
    width: 100%;
    max-width: 600px;
}

.editedDocs_container p {
    margin: 0;
    min-height: 20px;
    max-height: 68px;
    word-wrap: break-word;
    overflow: auto;
}

.editIcon {
    position: absolute;
    left: -3vw;
    top: calc(50% - 13px);
    width: 26px;
    height: 26px;
    filter: blur(10px) opacity(0%);
    transition: filter .2s linear;
}

.editIcon:not(:only-child) {
    filter: blur(0px) opacity(100%);
}

.doclist {
    width: 100%;
    overflow: auto;
}

.doc {
    position: relative;
    padding: 8px 8px 8px 12px;
    transition: all .2s;
}

.doc.current {
    background: #d8d8d8;
}

.doc:hover, .button:not(.disabled):hover {
    background: #d8d8d8;
    cursor: pointer;
}

.doc::after {
    position: absolute;
    top: calc(100% - 1px);
    left: 9px;
    width: calc(100% - 19px);
    height: 1px;
    background:#d8d8d8;
    content: "";
}

.no_res {
    position: relative;
    padding: 8px;
}

.no_res::after {
    position: absolute;
    top: calc(100% - 1px);
    left: 10px;
    width: calc(100% - 20px);
    height: 1px;
    background:#d8d8d8;
    content: "";
}

.field {
    padding: 6px;
    width: calc(100% - 24px);
    margin: 5px;
    border-radius: 10px;
    border: solid #adadadad 1px;
    resize: none;
    outline: none;
    transition: border .3s, background .3s;
}

.field.disabled {
    background: #e2e2e2;
}

.field:focus {
    border-color: dimgrey;
}

.field:disabled {
    color: black;
    background: white;
}

.search_block {
    width: calc(100% - 16px);
}

#subject_field, #search_field, #link_field, #post_modified_gmt {
    height: 20px;
}

#text_field {
    height: 100%;
}

#search_field {
    width: calc(100% - 8px);
    transition: border .3s, width .3s;
}

.blackScreen {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 11;
    opacity: 0;
    transition: all .3s;
}

.modal_overlay {
    z-index: 12;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all .3s;
}

.modal_window {
    z-index: 13;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 500px;
    height: 250px;
    border-radius: 10px;
    margin: 0 0 10% 0;
    background: #f1f1f1;
}

.modal_window p {
    font-size: 20px;
    margin: 0px 10%;
    text-align: center;
}

.modal_buttons {
    margin: 0;
    position: relative;
    display: flex;
    width: 100%;
    height: 30%;
}

.modal_buttons .button {
    font-size: 23px;
    font-variant: small-caps;
}

.modal_buttons::before {
    position: absolute;
    top: -30%;
    left: 10%;
    width: 80%;
    height: 1px;
    background:#d8d8d8;
    content: "";
}

.actions_block .button {
    position: relative;
}

.hint {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: calc(100% - 22px);
    height: 60px;
    background: #d8d8d8;
    cursor: default;
    margin-top: 10px;
    padding: 16px 6px 6px 16px;
    overflow: auto;
    transition: opacity .5s;
}

.hint_arr {
    display: none;
    position: absolute;
    top: calc(100% + 3px);
    left: calc(50% - 7px);
    background: #d8d8d8;
    cursor: default;
    width: 14px;
    height: 14px;
    transform: rotate(45deg);
    transition: opacity .5s;
}

.hint.shown, .hint.shown ~ .hint_arr {
    opacity: 1;
}

.opa_0 {
    opacity: 0;
}

.opa_50 {
    opacity: .5;
}

.opa_1 {
    opacity: 1;
}

.text_warn {
    color: rgb(153, 15, 15);
}

.text_ref {
    text-decoration: underline;
    color: #105c79;
    cursor: pointer;
    transition: all .15s;
}

.text_ref:hover {
    color: #3ac1ef;
    text-decoration: none;
}

.field_warn:focus {
    border-color: rgb(153, 15, 15);
}