@import url("../../font-awesome.min.css");
@import url("../../open-sans.css");
:root {
  scrollbar-color: #507dbc #f0eff4;
  --app-search-text-highlight-color: #ff0;
}

body {
  font-size: 15px;
  font-family: "Open Sans", sans-serif;
  background-color: #f0eff4;
}

main {
  padding-top: 100px;
}

.cursor-pointer {
  cursor: pointer;
}

.area-switch {
  border-color: #507dbc;
  max-width: 15em;
  margin: 3px 6px;
}

.action-buttons-block > * {
  margin-left: 2em;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

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

.badge-inside {
  position: relative;
}

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

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

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

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

.dofamin-timer {
  font-size: 1em;
  padding: 0 11px;
  border-radius: 0.375rem;
  background-color: #de1a1a;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.custom-dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid #6c757d;
  opacity: 1;
}

*:focus {
  outline: none !important;
  box-shadow: none !important;
}

.posts-wrapper {
  max-width: 1200px;
  margin: auto;
}

.post {
  position: relative;
  max-width: 100%;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  background-color: #fff;
  border-radius: 0.375rem;
  margin-bottom: 20px;
  transition: all 0.2s ease-in-out;
}

.post-options-wrapper {
  line-height: 20px;
  display: flex;
  height: 20px;
}

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

.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 {
  font-weight: 700;
  font-size: 16px;
}

.post__author-wrapper, .post__number {
  display: flex;
  align-items: center;
}

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

.post__streak {
  background-color: #507dbc;
  border-radius: 0.25rem;
  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.2s ease-in-out;
}

.post__content {
  padding: 0 20px 20px;
  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;
  }
}
.title {
  border-width: 1px;
  border-style: solid;
  margin: 0;
}

.my-post {
  background-color: rgb(211.25, 222.5, 238.25);
}

.diary-modal-textarea {
  resize: both;
  width: 100%;
  min-width: 260px;
}

.quote {
  color: #789922;
}

.code {
  margin: 0;
}

.spoiler {
  color: #808080;
  background-color: #808080;
}
.spoiler:hover {
  color: #212529;
  background-color: transparent;
}
.spoiler a {
  color: #808080;
  background-color: #808080;
}
.spoiler a:hover {
  color: #507dbc;
  background-color: transparent;
}

.blur {
  color: transparent !important;
  text-shadow: 0 0 5px rgba(33, 37, 41, 0.4);
  transition: 1s;
}
.blur:hover {
  color: #212529 !important;
  text-shadow: none;
}
.blur a {
  color: transparent !important;
  text-shadow: 0 0 5px rgba(80, 125, 188, 0.6);
  transition: 1s;
}
.blur a:hover {
  color: #507dbc !important;
  text-shadow: none;
}
.blur .quote {
  color: transparent !important;
  text-shadow: 0 0 5px rgba(120, 153, 34, 0.6);
  transition: 1s;
}
.blur .quote:hover {
  color: #789922 !important;
  text-shadow: none;
}

.embed-video {
  margin: 5px;
}

#answer-form {
  display: none;
}

.answer-form {
  width: 520px;
  margin-left: auto;
  margin-bottom: 20px;
}

.answer-form .fa-times-circle {
  position: absolute;
  right: 0;
  font-size: 20px;
  color: #de1a1a;
  padding: 3px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.answer-form .fa-times-circle:hover {
  transform: scale(1.2, 1.2);
}

.answer-form textarea {
  overflow-y: auto;
  height: 100px;
  resize: vertical;
}

@media only screen and (max-width: 540px) {
  .answer-form {
    max-width: 90%;
  }
}
.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;
}

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

.latest-events {
  padding: 10px;
  background-color: #fff;
  width: 80vw;
  border-radius: 0.375rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  font-weight: 300;
}

.latest-events__note {
  padding: 3px;
}

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

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

.calendar-table {
  width: 240px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.calendar-table td {
  padding: 3px 5px;
}
.calendar-table .calendar-link {
  color: #212529;
  background: #fff;
  text-decoration: none;
}
.calendar-table .calendar-link:hover {
  font-weight: bold;
}
.calendar-table .calendar-mark-no-time {
  color: #212529;
  background: #f0eff4;
}
.calendar-table .calendar-mark-no-time .calendar-link {
  color: #212529;
  background: #f0eff4;
}
.calendar-table .calendar-mark-fail {
  color: #212529;
  background: #d30335;
}
.calendar-table .calendar-mark-fail .calendar-link {
  color: #212529;
  background: #d30335;
}
.calendar-table .calendar-mark-many-fails {
  color: #212529;
  background: #ff0040;
  font-weight: bold;
}
.calendar-table .calendar-mark-many-fails .calendar-link {
  color: #212529;
  background: #ff0040;
}
.calendar-table .calendar-mark-good-day {
  color: #212529;
  background: #bbf3c5;
}
.calendar-table .calendar-mark-good-day .calendar-link {
  color: #212529;
  background: #bbf3c5;
}
.calendar-table .calendar-season-winter {
  background-color: #92a5e1 !important;
}
.calendar-table .calendar-season-spring {
  background-color: #8dc87f !important;
}
.calendar-table .calendar-season-summer {
  background-color: #e5e501 !important;
}
.calendar-table .calendar-season-autumn {
  background-color: #f3b06d !important;
}

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

.fail-stat__head {
  width: 100%;
  color: white;
  background-color: #8e79be;
  border-radius: 0.375rem;
  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: 0.375rem;
  text-align: center;
  background-color: #dddddd;
}

.fail-stat__column_a {
  margin: 3px 3px 3px 0;
}

.fail-stat__column_b {
  margin: 3px 0 3px 3px;
}

.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: 0.375rem;
  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: 39.6%;
  margin-right: 10px;
  padding: 10px 0;
  transition: all 0.2s ease-in-out;
  text-align: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.25rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.war-report__button:last-child {
  margin-right: 0;
}

.war-report__button--check-in {
  background-color: #66bb6a;
}

.war-report__button--check-in:hover {
  background-color: rgb(119.6538461538, 194.8461538462, 123.1923076923);
}

.war-report__button--casualty {
  background-color: #de1a1a;
}

.war-report__button--casualty:hover {
  background-color: rgb(230.2056451613, 43.2943548387, 43.2943548387);
}

.war-stat {
  max-width: 700px;
  margin: 0 auto;
  padding: 25px;
}

.war-stat__title {
  font-size: 18px;
  font-weight: bold;
  display: block;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  border: none;
  border-radius: 0.375rem;
  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: 0.375rem;
  flex-basis: 50%;
}

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

.news {
  width: 100%;
  max-width: 740px;
  border-radius: 0.375rem;
  background-color: #fff;
  padding: 0.7em;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  font-weight: 300;
}

.news__content {
  white-space: pre-wrap;
}

.news__info {
  text-align: right;
  font-size: 0.9em;
  font-weight: 300;
}

.calendar-table thead th {
  color: #fff;
}
