@import url("font-awesome.min.css");
@import url("open-sans.css");

a.dropdown-item:active, a.dropdown-item:focus {
    background-color: #507dbc;
}

.answer {
    width: 90%;
    max-width: 720px;
    background-color: #507DBC;
    padding: 0.7em;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0px 0px 1px #ddd, 0 0px 12px #ccc;
    box-shadow: 0px 0px 1px #ddd, 0 0px 12px #ccc;
    color: #fff;
    text-align: left;
    font-weight: 300; 
}
.comment {
    font-weight: 400;
    font-size: 15px;
    font-style: italic;
    border-left: dashed 2px #fff;
    padding: 10px; 
}

.answer__info {
    text-align: right;
    font-size: 0.9em; 
}
#answer-form {
    display: none; 
}

.answer-form {
    width: 520px;
    margin-left: auto;
    margin-bottom: 20px; 
}
.answer-form .list-container__element {
    position: relative; 
}
.answer-form .fa-times-circle {
    position: absolute;
    right: 0;
    font-size: 20px;
    color: #DE1A1A;
    padding: 3px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; 
}
.answer-form .fa-times-circle:hover {
    -webkit-transform: scale(1.2, 1.2);
    -ms-transform: scale(1.2, 1.2);
        transform: scale(1.2, 1.2); 
}
.answer-form textarea {
    overflow-y: auto;
    height: 100px;
    resize: vertical; 
}
.answer-form .list-container__row .list-container__element .list-container__input_button {
    padding: 10px;
    display: block;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; 
}
.answer-form .list-container__row .list-container__element .list-container__input_button:hover {
    opacity: .8; 
}
@media only screen and (max-width: 540px) {
    .answer-form {
    max-width: 90%; 
}

}
.latest-events {
    margin: 0 1.5em 1.5em 1.5em;
    padding: 10px;
    background-color: #d5d4d8;
    width: 80vw;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0px 0px 1px #ddd, 0 0px 12px #ccc;
    box-shadow: 0px 0px 1px #ddd, 0 0px 12px #ccc;
    font-weight: 300; 
}

.latest-events__head {
    text-align: right; 
}

.latest-events__note {
    padding: 3px; 
}

.latest-events__ctrl-lnk {
    padding: 0 5px;
    font-size: 12px; 
}

.emergency {
    text-transform: uppercase;
    text-decoration: none;
}
.emergency:hover {
    -webkit-transform: scale(1.1, 1.1);
    -ms-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
}

.fail-stat {
    width: 80vw;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}
.fail-stat__head {
    width: 100%;
    color: white;
    background-color: #8e79be;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 7px;
    text-align: center;
    text-transform: uppercase;
}
.fail-stat__columns {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between; 
}

.fail-stat__column {
    width: 50%;
    padding: 7px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    text-align: center;
    background-color: #dddddd; 
}
.fail-stat__column_a {
    margin: 3px 3px 3px 0;
}
.fail-stat__column_b {
    margin: 3px 0 3px 3px;
}

.faq__ol {
    font-weight: 700;
    padding-left: 20px; 
}

.faq__section {
    margin-bottom: 15px;
    border-bottom: 1px solid #d3d3d3; 
}
.faq__section:last-child {
    border: none; 
}

.faq__text {
    font-size: 17px;
    font-weight: 400;
    line-height: 33px;
    margin-top: 0;
    margin-bottom: 17px; 
}

.faq__title {
    font-size: 22px;
    margin-top: 0; 
}

.faq__ul {
    list-style: disc; 
}

.faq {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding: 25px; 
}
.hidden-container__element {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 20px;
    width: auto;
    padding: 0.2em 0.3em;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #171717; 
}
.hidden-container__element input {
    border: none;
    padding: 5px;
    -webkit-border-radius: 2px;
        border-radius: 2px;
    -webkit-box-shadow: 0px 0px 1px #ddd, 0 0px 12px #ccc;
    box-shadow: 0px 0px 1px #ddd, 0 0px 12px #ccc;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; 
}
.hidden-container__element input:focus {
    -webkit-box-shadow: 0 0 0;
        box-shadow: 0 0 0;
    -webkit-transform: scale(1.1, 1.1);
    -ms-transform: scale(1.1, 1.1);
        transform: scale(1.1, 1.1); 
}
.hidden-container__element select {
    cursor: pointer;
    display: inline-block;
    position: relative;
    font-size: 14px;
    color: #171717;
    border: none;
    -webkit-border-radius: 3px;
        border-radius: 3px;
    background-color: #fff;
    padding: 3px;
    cursor: pointer; 
}
.hidden-container__row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap; 
}

.hidden-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 95%; 
}

.link {
    text-decoration: none;
    color: #507DBC;
    font-weight: 400;
    cursor: pointer; 
}
    .link:visited {
    text-decoration: none;
    color: #507DBC; 
}
    .link:hover {
    text-decoration: underline; 
}
.links-files {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.links-files__row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    margin: 3px 0;
    padding: 1px;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between; 
}

.links-files__element {
    margin: 1px;
    padding: 5px;
    text-align: center;
    overflow: auto;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: #F0EFF4;
    -webkit-border-radius: 3px;
    border-radius: 3px; 
}

.links-files__element_full {
    width: 836px; 
}

.links-files__element_remove {
    width: 80px; 
}

.links-files__element_item, .links-files__element_comment {
    width: 360px; 
}

.links-files__element_remove_head {
    background-color: rgba(193, 27, 27, 0.45); 
}

.links-files__element_item_head {
    background-color: rgba(27, 193, 27, 0.45); 
}

.links-files__element_comment_head {
    background-color: rgba(27, 27, 193, 0.45); 
}

.links-files__input {
    width: 95%; 
}

@media only screen and (max-width: 910px) and (min-width: 381px) {
    .links-files {
    width: 95%; 
}
.links-files__row {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: left;
    -webkit-justify-content: left;
    -ms-flex-pack: left;
        justify-content: left; 
} 
}

@media only screen and (max-width: 380px) {
    .links-files__row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
        margin: 7px 0 3px 0; 
    }
        .links-files {
        width: 95%; 
    }
        .links-files__element {
        width: 100%; 
    } 
}

.list-container__element {
    padding: 9px;
    overflow: auto;
    width: 95%; 
}

.list-container__input_button {
    width: auto; 
}

.list-container__input {
    overflow: auto;
    width: 90%;
}

textarea.list-container__input, input.list-container__input {
    border: none;
}

.list-container__row_head {
    font-weight: 400;
    background-color: rgba(102, 187, 106, 0.6);
    color: #fff;
    text-transform: uppercase;
    text-align: center; 
}

.list-container__row_nohower {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0; 
}

.list-container__row_text {
    -webkit-box-align: left;
    -webkit-align-items: left;
    -ms-flex-align: left;
    align-items: left; 
}

.list-container__row_theme_frosty {
    color: #fff;
    text-transform: uppercase;
    background-color: #507DBC; 
}

.list-container__row_theme_spring {
    background-color: rgba(102, 187, 106, 0.6); 
}
    .list-container__row_theme_spring:hover {
    background-color: rgba(102, 187, 106, 0.7); 
}

.list-container__row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0; 
}

.list-container__text {
    text-align: left; 
}

.list-container * {
    box-sizing: content-box;
}
.list-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 1px #ddd, 0 0px 12px #ccc;
    box-shadow: 0px 0px 1px #ddd, 0 0px 12px #ccc;
    -webkit-border-radius: 3px;
    border-radius: 3px; 
}
.list-container .list-container__text {
    font-weight: 300; 
}

* {
    margin: 0;
    padding: 0; 
}

body {
    font-size: 15px;
    min-width: 320px;
    position: relative;
    line-height: 1.5;
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
    opacity: 1;
    background-color: #F0EFF4; 
}

main {
    padding-top: 100px; 
}

input[type='submit'] {
    border: none;
    padding: 4px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-color: #507DBC;
    color: #fff;
    cursor: pointer; 
}
*:focus {
    outline: none; 
}
@media only screen and (max-width: 1010px) {
    ul {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column; 
    }
}

.quote {
    color: #789922; 
}

.spoiler, .spoiler a {
    color: gray;
    background-color: gray; 
}

.spoiler:hover, .spoiler a:hover {
    color: black;
    background-color: transparent; 
}
.code {
    margin: 0; 
}
.navigation__hidden {
    visibility: hidden;
    padding: 1em 10%; 
}

.navigation__link {
    text-decoration: none;
    color: #507DBC;
    padding: 1em 10%; 
}
    .navigation__link:hover {
    -webkit-transform: scale(1.3, 1.3);
    -ms-transform: scale(1.3, 1.3);
        transform: scale(1.3, 1.3); 
}

.navigation__paginator {
    padding: 0 1.5em; 
}

.navigation {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 90%;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap; 
}
.news {
    width: 100%;
    max-width: 740px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-color: #fff;
    padding: 0.7em;
    -webkit-box-shadow: 0px 0px 1px #ddd, 0 0px 12px #ccc;
    box-shadow: 0px 0px 1px #ddd, 0 0px 12px #ccc;
    font-weight: 300; 
}
.news__content {
    white-space: pre-wrap;
}
.news__info {
    text-align: right;
    font-size: 0.9em;
    font-weight: 300; 
}
.dofamin-timer {
    font-size: 1em;
    padding: 0 11px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-color: #DE1A1A;
    color: #F0EFF4;
    font-weight: 700;
    text-transform: uppercase; 
}
.nofap-ranks {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    -webkit-box-shadow: 0px 0px 1px #ddd, 0 0px 12px #ccc;
    box-shadow: 0px 0px 1px #ddd, 0 0px 12px #ccc;
    font-weight: 300;
    -webkit-border-radius: 3px;
    border-radius: 3px; 
}

.nofap-ranks__row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%; 
}
.nofap-ranks__row:hover {
    background-color: rgba(100, 100, 100, 0.4); 
}

.nofap-ranks__row_mynick {
    background-color: rgba(10, 193, 37, 0.35); 
}
.nofap-ranks__row_mynick:hover {
    background-color: rgba(10, 193, 37, 0.5); 
}

.nofap-ranks__row_head {
    background-color: #507DBC;
    color: #F0EFF4;
    text-transform: uppercase;
    font-weight: 400; 
}

.nofap-ranks__element {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    overflow: auto;
    padding: 0.45em 0.3em 0.45em 0.3em; 
}

.nofap-ranks__element_number {
    width: 60px;
    background-color: rgba(200, 200, 200, 0.3); 
}

.nofap-ranks__element_nick {
    width: 360px;
    background-color: rgba(150, 150, 150, 0.3); 
}

.nofap-ranks__element_period {
    width: 80px;
    background-color: rgba(200, 200, 200, 0.3); 
}

.nofap-ranks__element_rank {
    width: 240px;
    background-color: rgba(150, 150, 150, 0.3); 
}

@media only screen and (max-width: 840px) {
    .nofap-ranks {
        max-width: 100%; 
    }
    .nofap-ranks__element_nick {
        width: 200px; 
    }
    .nofap-ranks__element_rank {
        width: 200px; 
    } 
}

@media only screen and (max-width: 520px) {
    .nofap-ranks__row {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between; 
    }
    .nofap-ranks {
        width: 96%; 
    }
    .nofap-ranks__row_head {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center; 
    }
    .nofap-ranks__element_number {
        width: 80px;
        background-color: transparent; 
    }
    .nofap-ranks__element_nick {
        width: -webkit-calc(96% - 100px);
        width: calc(96% - 100px);
        background-color: rgba(0, 0, 0, 0.12); 
    }
    .nofap-ranks__element_period {
        width: 80px;
        background-color: transparent; 
    }
    .nofap-ranks__element_rank {
        width: -webkit-calc(96% - 100px);
        width: calc(96% - 100px);
        background-color: rgba(0, 0, 0, 0.12); 
    }
    .nofap-ranks__element {
        border: solid 0; 
    } 
}

.nofap-ranks__link {
    text-decoration: none;
    color: #507DBC;
    font-weight: 400; 
}
.nofap-ranks__link:hover {
    text-decoration: underline; 
}
.posts-wrapper {
    max-width: 1200px;
    margin: auto; 
}

.post-options-wrapper {
    line-height: 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    height: 20px;
    -webkit-box-pack: none;
    -webkit-justify-content: none;
    -ms-flex-pack: none;
    justify-content: none; 
}

.post {
    max-width: 100%;
    -webkit-box-shadow: 0px 0px 1px #ddd, 0 0px 12px #ccc;
    box-shadow: 0px 0px 1px #ddd, 0 0px 12px #ccc;
    background-color: #fff;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    margin-bottom: 20px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; 
}

.post__info {
    padding: 10px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    overflow: auto;
    max-width: 100%; 
}

.post__number {
    font-size: 12px;
    line-height: 20px;
    margin-right: 10px;
    text-decoration: none;
}

.post__author-wrapper, .post__number {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center; 
}

.post__author {
    text-decoration: none;
    color: #507DBC;
    font-weight: 700;
    font-size: 16px; 
}
.post__author:hover {
    text-decoration: underline; 
}

.post__flair {
    color: #fff;
    margin-left: 20px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    padding: 3px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 10px; 
}

.post__streak {
    background-color: #507DBC;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    margin-left: 7px;
    padding: 1px 2px;
    font-size: 10px;
    font-weight: 700; 
}

.post__date, .post__streak {
    line-height: 20px;
    white-space: nowrap; 
}

.post__date {
    font-weight: 300;
    margin-left: auto;
    font-size: 13px; 
}

.post__option {
    font-size: 20px;
    line-height: 20px;
    height: 20px;
    margin-left: 10px;
    text-decoration: none;
    color: #507DBC;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; 
}
.post__option:hover {
    -webkit-transform: scale(1.2, 1.2);
    -ms-transform: scale(1.2, 1.2);
        transform: scale(1.2, 1.2); 
}

.post__option--admin {
    font-size: 10px;
    line-height: 18px; 
}

.post__content {
    padding: 20px;
    padding-top: 0;
    margin-top: 10px;
    overflow: auto; 
}

.post__title {
    color: #507DBC;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px; 
}

.post__text {
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    max-height: 469px;
    overflow-y: auto;
    overflow-x: auto;
    padding: 15px;
    white-space: pre-wrap; 
}

.post__streak_inactive {
    background-color: silver;
    font-weight: 400; 
}
@media only screen and (max-width: 540px) {
    .post .post__date {
        display: none; 
    }
}
.profile {
/*    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center; */
}
.profile .block {
    -webkit-border-radius: 3px;
        border-radius: 3px;
    padding: 15px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
        flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
        justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
        align-items: center;
    white-space: nowrap; 
}
.profile .size_360p {
    width: 290px;
    -webkit-border-radius: 3px;
        border-radius: 3px;
    font-weight: 400;
    font-size: 16px; 
}
.profile .size_360p a {
    font-size: 14px;
    text-decoration: none;
    font-weight: 400;
    text-transform: uppercase; 
}
@media only screen and (max-width: 1010px) {
    .profile {
        display: block; 
    }
}
.status-button {
    font-size: 14px;
    display: block;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    padding: 5px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 0px 0px 1px #ddd, 0 0px 12px #ccc;
    box-shadow: 0px 0px 1px #ddd, 0 0px 12px #ccc;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; 
}
.status-button:hover {
    -webkit-transform: scale(1.1, 1.1);
    -ms-transform: scale(1.1, 1.1);
        transform: scale(1.1, 1.1);
    -webkit-box-shadow: 0 0 0;
        box-shadow: 0 0 0; 
}

.status-button_nice {
    background-color: #66bb6a !important;
}
.status-button_fail {
    background-color: #DE1A1A !important;
}
.status-button_update {
    background-color: #507DBC !important;
}

.list-container__element.markbutton {
    padding: 0;
    background-color: #171717;
    margin-bottom: 10px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    width: auto;
}
.list-container__element .markbuttons {
    text-align: center;
    padding: 7px 10px;
    border: none;
    background-color: #171717;
    color: #F0EFF4;
    cursor: pointer;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.list-container__element .markbuttons:last-child {
    border: none;
}
.list-container__element .markbuttons span {
    font-style: normal;
    font-weight: 300;
}

.list-container input[type="submit"] {
    text-transform: uppercase;
}

.war-memorial * {
    box-sizing:content-box;
}
.war-memorial {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column; 
}

.war-memorial__row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between; 
}

.war-memorial__element {
    -webkit-border-radius: 3px;
    border-radius: 3px;
    margin: 3px;
    padding: 5px;
    background-color: #bebebe;
    text-align: center; 
}

.war-memorial__head {
    width: 860px;
    background-color: rgba(243, 93, 101, 0.8);
}

.war-memorial__war {
    width: 100px; 
}

.war-memorial__army {
    width: 200px; 
}

.war-memorial__time {
    width: 200px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column; 
}

.war-memorial__time_start {
    margin: 0;
    padding: 0;
    border-bottom: solid 1px; 
}

.war-memorial__time_finish {
    margin: 0;
    padding: 0; 
}

.war-memorial__number {
    width: 140px; 
}

.war-memorial__war_head {
    background-color: rgba(64, 130, 109, 0.6);
}

.war-memorial__army_head {
    background-color: rgba(209, 226, 49, 0.5);
}

.war-memorial__time_head {
    background-color: rgba(52, 59, 41, 0.53);
}

.war-memorial__number_head {
    background-color: rgba(42, 100, 120, 0.7);
}

@media only screen and (max-width: 900px) and (min-width: 281px) {
    .war-memorial {
        width: 95%; 
    }
    .war-memorial__row {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        -webkit-box-pack: left;
        -webkit-justify-content: left;
        -ms-flex-pack: left;
            justify-content: left; 
    }
}

@media only screen and (max-width: 240px) {
    .war-memorial {
        width: 95%; 
    }
    .war-memorial__row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
        margin: 3px 3px 12px 3px; 
    }
    .war-memorial__element {
        width: 95%; 
    } 
}
.war-report {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    max-width: 500px;
    margin-top: 25px;
    margin-right: auto;
    margin-left: auto;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center; 
}

.war-report__button {
    font-size: 15px;
    font-weight: bold;
    width: -webkit-calc(99% * 2/5);
    width: calc(99% * 2/5);
    margin-right: 10px;
    padding: 10px 0;
    -webkit-transition: background-color 200ms;
    -o-transition: background-color 200ms;
    transition: background-color 200ms;
    text-align: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 0 2px 9px -4px #000;
    box-shadow: 0 2px 9px -4px #000;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.27); 
}
.war-report__button:last-child {
    margin-right: 0; 
}

.war-report__button--check-in {
    background-color: #4caf50; 
}
.war-report__button--check-in:hover {
    background-color: rgba(76, 175, 80, 0.9); 
}

.war-report__button--casualty {
    background-color: #ff5722; 
}
.war-report__button--casualty:hover {
    background-color: rgba(255, 87, 34, 0.9); 
}
.war-stat {
    max-width: 700px;
    margin: 0 auto;
    padding: 25px; 
}

.war-stat-table__item {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: -webkit-calc(99.9% * 1/3);
    width: calc(99.9% * 2/3);
    padding: 10px;
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, 0.1); 
}

.war-stat__title {
    font-size: 18px;
    font-weight: bold;
    display: block;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    color: #F0EFF4;
    border: none;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background: #507DBC; 
}

.war-stat-remain-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    max-width: 500px;
    margin-top: 5px;
    margin-right: auto;
    margin-left: auto;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap; 
}

.war-stat__remain {
    font-size: 18px;
    height: 30px;
    text-align: center;
    color: #fff;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-flex-basis: 50%;
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%; 
}

.war-stat-table {
    -webkit-box-shadow: 0px 0px 1px #ddd, 0 0px 12px #ccc;
    box-shadow: 0px 0px 1px #ddd, 0 0px 12px #ccc;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 25px;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-border-radius: 3px;
    border-radius: 3px; 
}

.war-stat-table__row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap; 
}
.war-stat-table__row:not(:last-child) {
    border-bottom: none; 
}

.war-stat-table__item--corner {
    background-color: #fff; 
}

.war-stat-table__item--category {
    background-color: #fff; 
}

.war-stat-table__item:last-child {
    border-right: none; 
}
.wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0.0em 0.3em 0.9em 0.3em;
    padding: 0.15em;
    padding-top: 3em;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap; 
}

.wrapper_text {
    -webkit-box-pack: left;
    -webkit-justify-content: left;
    -ms-flex-pack: left;
    justify-content: left; 
}

wrapper_fat > * {
    margin: 0.5em; 
}

.wrapper_column {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column; 
}

.wrapper_alltogether {
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around; 
}

.separator {
    height: 1.5em;
    width: 1px; 
}

.title {
    border-width: 1px;
    border-style: solid;
    margin: 0;
}

.wrapper_soft {
    padding: 17px; 
}

.help-tip:hover {
    border-bottom: 1px dashed gray; 
}

.blur, .blur a, .blur .quote {
    color: transparent !important;
    transition: 1s; 
}
.blur:hover, .blur a:hover, .blur .quote:hover {
    text-shadow: none; 
}

.blur {
    text-shadow: 0 0 5px rgba(0,0,0,0.4); 
}
.blur a {
    text-shadow: 0 0 5px rgba(80,125,188,0.6); 
}
.blur .quote {
    text-shadow: 0 0 5px rgba(120,153,34,0.6); 
}
.blur:hover{ 
    color: black !important; 
}
.blur a:hover { 
    color: #507DBC !important; 
}
.blur .quote:hover { 
    color: #789922 !important; 
}

.list-container__element_counter {
    text-align: right;
}
.post-counter {
    color: grey;
    font-size: 14px;
    font-style:italic;
    padding-right: 11px;
}

.embed-video {
    margin: 5px;
    /*overflow: none;*/
}

.editor {
    border-collapse: collapse;
}
.editor td{
    padding: 7px;
    border: 1px solid gray;
}
.editor td > * {
    margin: 0;
}
.editor thead {
    text-align: center;
}
.editor__center {
    text-align: center;
}

.calendar-container {
  display: flex;
  flex-direction: column;
  width: 95%;
  /*max-width: 300px;*/
}
.calendar-container__row {
  display: flex;
  width: 100%;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.calendar-container__element {
  width: auto;
  /*max-width: 360px;*/
  padding: 0.3em 0.5em;
  justify-content: center;
}
.calendar-mark__fail {
  background-color: #f47171;
}
.calendar-mark__overfap {
  background-color: #ff0040;
  font-weight: bold;
}
.calendar-mark__notime {
  background-color: #dfdfdf;
}
.calendar-mark__today {
  background-color: #96b2e0;
}

.calendar-season__winter {
  background-color: #92A5E1;
}
.calendar-season__spring {
  background-color: #8DC87F;
}
.calendar-season__summer {
  background-color: #E8F485;
}
.calendar-season__autumn {
  background-color: #F3B06D;
}

.calendar-link{
  color: black;
  text-decoration: none;
}
.calendar-link:hover{
  font-weight: bold;
}
.calendar-container__element > table{
  width: 240px;
}

#modal {
  text-align: center;
  display: none;
  cursor: default;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  color: black;
  background: white;
  font-weight: normal;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  z-index: 1000;
}

#modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

#modal-close-button, .ok-button {
  font-size: 14px;
  background-color: #507DBC;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  padding: 5px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  -webkit-box-shadow: 0px 0px 1px #ddd, 0 0px 12px #ccc;
  box-shadow: 0px 0px 1px #ddd, 0 0px 12px #ccc;
}

#modal-content {
  padding: 1rem;
}

.diary-answers {
  padding-left: 2vw;
}
.diary-answers-even {
  border-left: 1px solid rgba(128, 128, 128, 0.4);
}
.diary-answers-odd {
  border-left: 1px solid rgba(128, 128, 128, 0.8);
}
.diary-answers-toggler {
  margin-bottom: 20px;
  padding-left: 1vw;
}

.badge-inside {
  position: relative;
}
.badge-inside .badge {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
}
