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

:root {
    scrollbar-color: var(--theme-accent-color) var(--theme-bg-color);
}

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

.answer {
    width: 90%;
    max-width: 720px;
    background-color: #507dbc;
    padding: 0.7em;
    border-radius: 3px;
    box-shadow: 0 0 1px #ddd, 0 0 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;
    transition: all 0.3s ease;
}

.answer-form .fa-times-circle:hover {
    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;
    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 {
    padding: 10px;
    background-color: var(--theme-bg-color-secondary);
    width: 80vw;
    border-radius: 3px;
    box-shadow: 0 0 1px #ddd, 0 0 12px #ccc;
    font-weight: 300;
}

.latest-events__note {
    padding: 3px;
}

.latest-events__body > * {
    padding-bottom: 11px;
}

.latest-events__note:last-child {
    padding-bottom: 0;
}

.emergency {
    text-transform: uppercase;
    text-decoration: none;
}

.emergency:hover {
    transform: scale(1.1, 1.1);
}

.fail-stat {
    width: 80vw;
    display: flex;
    flex-direction: column;
}

.fail-stat__head {
    width: 100%;
    color: white;
    background-color: #8e79be;
    border-radius: 5px;
    padding: 7px;
    text-align: center;
    text-transform: uppercase;
}

.fail-stat__columns {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.fail-stat__column {
    width: 50%;
    padding: 7px;
    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__link {
    text-decoration: underline dotted !important;
}

.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;
    justify-content: center;
    color: #171717;
}

.hidden-container__element input {
    border: none;
    padding: 5px;
    border-radius: 2px;
    box-shadow: 0 0 1px #ddd, 0 0 12px #ccc;
    transition: all 0.3s ease;
}

.hidden-container__element input:focus {
    box-shadow: 0 0 0;
    transform: scale(1.1, 1.1);
}

.hidden-container__element select {
    cursor: pointer;
    display: inline-block;
    position: relative;
    font-size: 14px;
    color: #171717;
    border: none;
    border-radius: 3px;
    background-color: #fff;
    padding: 3px;
}

.hidden-container__row {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.hidden-container {
    display: flex;
    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: flex;
    flex-direction: column;
}

.links-files__row {
    display: flex;
    flex-direction: row;
    margin: 3px 0;
    padding: 1px;
    justify-content: space-between;
}

.links-files__element {
    margin: 1px;
    padding: 5px;
    text-align: center;
    overflow: auto;
    justify-content: center;
    background-color: #f0eff4;
    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 {
        flex-wrap: wrap;
        justify-content: left;
    }
}

@media only screen and (max-width: 380px) {
    .links-files__row {
        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: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
}

.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: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
}

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

.list-container * {
    box-sizing: content-box;
}

.list-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 0 1px #ddd, 0 0 12px #ccc;
    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;
    border-radius: 3px;
    background-color: #507dbc;
    color: #fff;
    cursor: pointer;
}

*:focus {
    outline: none;
}

@media only screen and (max-width: 1010px) {
    ul {
        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;
}

.news {
    width: 100%;
    max-width: 740px;
    border-radius: 3px;
    background-color: #fff;
    padding: 0.7em;
    box-shadow: 0 0 1px #ddd, 0 0 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;
    border-radius: 3px;
    background-color: #de1a1a;
    color: #f0eff4;
    font-weight: 700;
    text-transform: uppercase;
}

.nofap-ranks {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 0 1px #ddd, 0 0 12px #ccc;
    font-weight: 300;
    border-radius: 3px;
}

.nofap-ranks__row {
    display: flex;
    flex-direction: row;
    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: flex;
    flex-direction: row;
    justify-content: center;
    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 {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .nofap-ranks {
        width: 96%;
    }

    .nofap-ranks__row_head {
        flex-direction: row;
        justify-content: center;
    }

    .nofap-ranks__element_number {
        width: 80px;
        background-color: transparent;
    }

    .nofap-ranks__element_nick {
        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: 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: flex;
    height: 20px;
}

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

.post__info {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    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: flex;
    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;
    border-radius: 2px;
    padding: 3px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 10px;
}

.post__streak {
    background-color: #507dbc;
    border-radius: 2px;
    color: #fff;
    text-transform: uppercase;
    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 {
    cursor: pointer;
    font-size: 20px;
    line-height: 20px;
    height: 20px;
    margin-left: 10px;
    text-decoration: none;
    color: #507dbc;
    transition: all 0.3s ease;
}

.post__option:hover {
    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 {
}

.profile .block {
    border-radius: 3px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.profile .size_360p {
    width: 290px;
    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 {
    cursor: pointer;
    font-size: 14px;
    display: block;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    padding: 5px;
    border-radius: 2px;
    box-shadow: 0 0 1px #ddd, 0 0 12px #ccc;
    transition: all 0.3s ease;
}

.status-button:hover {
    transform: scale(1.1, 1.1);
    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;
    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: flex;
    justify-content: center;
    flex-direction: column;
}

.war-memorial__row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.war-memorial__element {
    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: flex;
    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 {
        flex-wrap: wrap;
        justify-content: left;
    }
}

@media only screen and (max-width: 240px) {
    .war-memorial {
        width: 95%;
    }

    .war-memorial__row {
        flex-direction: column;
        justify-content: center;
        margin: 3px 3px 12px 3px;
    }

    .war-memorial__element {
        width: 95%;
    }
}

.war-report {
    display: flex;
    max-width: 500px;
    margin-top: 25px;
    margin-right: auto;
    margin-left: auto;
    justify-content: center;
}

.war-report__button {
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    width: calc(99% * 2 / 5);
    margin-right: 10px;
    padding: 10px 0;
    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);
    border-radius: 2px;
    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 {
    box-sizing: border-box;
    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;
    border-radius: 3px;
    background: #507dbc;
}

.war-stat-remain-wrapper {
    display: flex;
    flex-direction: row;
    max-width: 500px;
    margin-top: 5px;
    margin-right: auto;
    margin-left: auto;
    justify-content: center;
    flex-wrap: nowrap;
}

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

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

.war-stat-table__row {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    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: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.wrapper_text {
    justify-content: left;
}

.wrapper_column {
    flex-direction: column;
}

.wrapper_alltogether {
    justify-content: space-around;
}

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

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

.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;
}

.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%;
}

.calendar-container__row {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
}

.calendar-container__element {
    width: auto;
    justify-content: center;
}

.calendar-container__element table {
    width: 240px;
}

.calendar-container__element table thead {
    text-transform: uppercase;
}

.calendar-container table {
    border-collapse: collapse;
}

.calendar-container td {
    padding: 3px 5px;
    text-align: center;
    border: 1px solid;
}

.calendar-season__winter {
    background-color: #92a5e1;
}

.calendar-season__spring {
    background-color: #8dc87f;
}

.calendar-season__summer {
    background-color: #e5e501;
}

.calendar-season__autumn {
    background-color: #f3b06d;
}

.calendar-container__element table td {
    border-color: var(--theme-calendar-td-border-color);
}

.calendar-link {
    color: var(--theme-text-color);
    background: var(--theme-bg-color-secondary);
    text-decoration: none;
}

.calendar-link:hover {
    font-weight: bold;
}

.calendar-container__element tbody td {
    color: var(--theme-text-color);
    background: var(--theme-bg-color-secondary);
}

.calendar-container__element tbody td.calendar-mark__notime,
.calendar-container__element tbody td.calendar-mark__notime .calendar-link {
    color: var(--theme-text-color);
    background-color: var(--theme-bg-color);
}

.calendar-mark__fail, .calendar-mark__fail .calendar-link {
    color: var(--theme-text-color);
    background-color: var(--theme-calendar-color-fail) !important;
}

.calendar-mark__many-fails, .calendar-mark__many-fails .calendar-link {
    color: var(--theme-text-color);
    background-color: var(--theme-calendar-color-many-fails) !important;
    font-weight: bold;
}

.calendar-mark__good-day, .calendar-mark__good-day .calendar-link {
    color: var(--theme-text-color);
    background-color: var(--theme-calendar-color-good-day) !important;
}

#modal {
    color: var(--theme-text-color);
    background: var(--theme-bg-color-secondary);
    text-align: center;
    display: none;
    cursor: default;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: normal;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    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;
}

.ok-button {
    font-size: 14px;
    background-color: #507dbc;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    padding: 5px 12px !important;
    border-radius: 2px;
    box-shadow: 0 0 1px #ddd, 0 0 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;
}

.post-options-menu {
    position: absolute;
    z-index: 999;
    display: block;
    min-width: 150px;
    font-size: 15px;
    top: 10px;
    right: 10px;

    --bs-dropdown-color: var(--theme-text-color);
    --bs-dropdown-bg: var(--theme-bg-color-secondary);
    --bs-dropdown-border-color: var(--bs-border-color-translucent);
    --bs-dropdown-box-shadow: ;
    --bs-dropdown-link-color: var(--theme-text-color);
    --bs-dropdown-link-hover-color: var(--theme-text-color);
    --bs-dropdown-divider-bg: var(--bs-border-color-translucent);
    --bs-dropdown-link-hover-bg: var(--theme-bg-color);
    --bs-dropdown-link-active-color: #fff;
    --bs-dropdown-link-active-bg: #0d6efd;
    --bs-dropdown-link-disabled-color: #adb5bd;
    --bs-dropdown-header-color: #adb5bd;
}

.theme-box-shadow {
    box-shadow: var(--theme-box-shadow);
}

.diary-switch > * {
    margin: 3px 6px;
    font-size: 0.9em;
}

.custom-dropdown-divider {
    height: 0;
    margin: var(--bs-dropdown-divider-margin-y) 0;
    overflow: hidden;
    border-top: 1px solid #696b77;
    opacity: 1;
}

.common-table {
    color: var(--theme-text-color);
    background-color: var(--theme-bg-color-secondary);
}

.action-buttons-block > * {
    margin-left: 2em;
}

.action-buttons-block > *:first-child {
    margin: 0 0;
}

.cursor-pointer {
    cursor: pointer;
}

.area-switch {
    color: var(--theme-text-color);
    background-color: var(--theme-bg-color-secondary);
    border-color: var(--theme-accent-color);
    max-width: 15em;
    margin: 3px 6px;
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888888' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.pagination {
    --bs-pagination-color: var(--theme-accent-color);
    --bs-pagination-bg: var(--theme-bg-color);
    --bs-pagination-border-color: var(--theme-accent-color);

    --bs-pagination-hover-color: var(--theme-accent-color);
    --bs-pagination-hover-bg: var(--theme-bg-color-secondary);
    --bs-pagination-hover-border-color: var(--theme-accent-color);

    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: var(--theme-accent-color);
    --bs-pagination-active-border-color: var(--theme-accent-color);

    --bs-pagination-disabled-color: var(--theme-accent-color);
    --bs-pagination-disabled-bg: #888;
    --bs-pagination-disabled-border-color: var(--theme-accent-color);

    --bs-pagination-focus-color: var(--theme-accent-color);
    --bs-pagination-focus-bg: var(--theme-bg-color-secondary);
}

.btn-theme-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--theme-accent-color);
    --bs-btn-border-color: var(--theme-accent-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgb(11.05, 93.5, 215.05);
    --bs-btn-hover-border-color: rgb(10.4, 88, 202.4);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgb(10.4, 88, 202.4);
    --bs-btn-active-border-color: rgb(9.75, 82.5, 189.75);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--theme-accent-color);
    --bs-btn-disabled-border-color: var(--theme-accent-color);
}

.btn-theme-outline-primary {
    --bs-btn-color: var(--theme-accent-color);
    --bs-btn-border-color: var(--theme-accent-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--theme-accent-color);
    --bs-btn-hover-border-color: var(--theme-accent-color);
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--theme-accent-color);
    --bs-btn-active-border-color: var(--theme-accent-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--theme-accent-color);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--theme-accent-color);
    --bs-gradient: none;
}

.btn-theme:hover {
    color: var(--bs-btn-hover-color);
    background-color: color-mix(in srgb, var(--theme-accent-color) 95%, #fff 5%);
    border-color: color-mix(in srgb, var(--theme-accent-color) 95%, #fff 5%);
}
.btn-check + .btn-theme:hover {
    color: var(--bs-btn-color);
    background-color: color-mix(in srgb, var(--theme-accent-color) 95%, #fff 5%);
    border-color: color-mix(in srgb, var(--theme-accent-color) 95%, #fff 5%);
}
