:root {
  --color-link: #F20D18;
  --color-brand: #7A1020;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  background-color: #E1E5E5;
  min-width: 320px;
  -webkit-overflow-scrolling: touch;
  color: #3B4445;
  font: 13px/1.2 Georgia, "Times New Roman", Times, sans-serif;
}

img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  transition: all 0.3s;
  color: var(--color-link);
}
a:hover {
  text-decoration: underline;
}

p {
  margin: 12px 0;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
  outline: none;
}

h1, h2, h3, h4, h5, h6,
.heading-1, .heading-2, .heading-3 {
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0.5em;
  text-transform: uppercase;
}

h1, .heading-1 {
  font-size: 24px;
}
@media (max-width: 767px) {
  h1, .heading-1 {
    font-size: 22px;
  }
}
@media (max-width: 575px) {
  h1, .heading-1 {
    font-size: 20px;
  }
}

h2, .heading-2 {
  font-size: 22px;
}
@media (max-width: 767px) {
  h2, .heading-2 {
    font-size: 20px;
  }
}
@media (max-width: 575px) {
  h2, .heading-2 {
    font-size: 18px;
  }
}

h3, .heading-3 {
  font-size: 18px;
}
@media (max-width: 767px) {
  h3, .heading-3 {
    font-size: 16px;
  }
}

.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}

.wrapper {
  background: linear-gradient(top, #A7B2B4 0, #E1E5E5 100%);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.content-page {
  padding: 10px 0;
  flex: 1 0 auto;
  min-height: 1px;
}

.container {
  width: 100%;
  max-width: 966px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 767px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.left {
  float: left;
}

.right {
  float: right;
}

.heading-line {
  background: rgba(222, 222, 222, 0.5);
  border: 1px solid #B7C1C2;
  border-left: none;
  border-right: none;
  padding: 6px 1px;
  margin-bottom: 5px;
}

.panel {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.25);
  border: 3px solid var(--color-brand);
  padding: 12px;
}
.panel:not(:last-child) {
  margin-bottom: 10px;
}

.header {
  padding: 0;
  background-color: #d9d3d1;
  background-repeat: no-repeat;
}
@media (min-width: 901px) {
  .header {
    height: 166px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-image: url("../img/header.jpg");
    background-position: 50% 50%;
    background-size: cover;
  }
}
@media (max-width: 900px) {
  .header {
    min-height: 220px;
    padding-bottom: 160px;
    background-image: url("../img/header-mob.jpg");
    background-position: 50% 100%;
  }
}

.nav {
  padding: 4px;
}
.nav__list {
  padding: 0 12px 0 24px;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}
.nav__list li {
  margin: 1px;
}
.nav__list a {
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5px 12px;
}
.nav__list a:hover {
  background-color: rgba(122, 16, 32, 0.8);
  text-decoration: none;
}
.nav__list .current a {
  background-color: var(--color-brand);
}
@media (max-width: 900px) {
  .nav__list {
    justify-content: center;
    padding: 0 8px;
  }
}
@media (max-width: 575px) {
  .nav__list li {
    width: 100%;
  }
}

.promo {
  padding: 1px 8px;
}
.promo-link {
  display: block;
  text-align: center;
}
.promo-link:hover {
  text-decoration: none;
  opacity: 0.8;
}

.post-content {
  text-align: justify;
}
.post-content h2, .post-content h3 {
  color: var(--color-link);
  font-weight: normal;
  margin: 10px 0 0;
}
.post-content ul {
  padding: 0;
  list-style: none;
  margin: 1em 0 1em 11px;
  color: #131616;
}
.post-content ul li {
  padding-left: 9px;
  margin: 5px 0 0;
  position: relative;
}
.post-content ul li:before {
  content: url(../img/postbullets.png);
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 0;
  line-height: 0;
}
.post-content img {
  margin: 5px;
}
@media (max-width: 575px) {
  .post-content .left, .post-content .right {
    float: none;
  }
  .post-content img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

.footer {
  background: rgba(45, 51, 52, 0.5);
  flex: 0 0 auto;
  color: #350305;
  font-size: 11px;
  text-align: center;
}
.footer__inner {
  padding: 15px 0;
}

.color-txt {
  color: #6B060B;
}

.mb-0 {
  margin-bottom: 0;
}

.text-up {
  text-transform: uppercase;
}

.text-center {
  text-align: center;
}

.nowrap {
  white-space: nowrap;
}