/*!
Theme Name: mynik-theme
Theme URI: https://mod-web.ru/
Author: Mytnik Anton
Author URI: https://mod-web.ru/
Description: Description
Version: 1.0.2
Tested up to: 8.0
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mod-web
*/
@import url(css/normalize.css);
@import url(css/fonts.css);
html {
  font-family: Inter; }

a {
  text-decoration: none; }

* {
  box-sizing: border-box; }

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

.container {
  padding-right: 0px;
  padding-left: 0px;
  margin-right: auto;
  margin-left: auto; }
  .container::after, .container::before {
    display: table;
    content: " "; }
  .container::after {
    clear: both; }
  @media (max-width: 991px) {
    .container {
      padding-right: 15px;
      padding-left: 15px; } }

@media (min-width: 768px) {
  .container {
    width: 750px; } }
@media (min-width: 992px) {
  .container {
    width: 970px; } }
@media (min-width: 1200px) {
  .container {
    width: 1200px; } }
.navigation .nav-links, .pagination .nav-links {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  align-items: center; }
.navigation .page-numbers, .pagination .page-numbers {
  color: #000;
  text-align: center;
  font-size: 14px;
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-right: 7px; }
  .navigation .page-numbers:last-child, .pagination .page-numbers:last-child {
    margin-right: 0px; }
.navigation .page-numbers:not(.prev):not(.next), .pagination .page-numbers:not(.prev):not(.next) {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-box-flex: 0 0 32px;
  -moz-box-flex: 0 0 32px;
  -webkit-flex: 0 0 32px;
  -ms-flex: 0 0 32px;
  flex: 0 0 32px;
  width: 32px;
  height: 32px; }
.navigation .prev, .navigation .next, .pagination .prev, .pagination .next {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-box-flex: 0 0 auto;
  -moz-box-flex: 0 0 auto;
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  padding: 8px 10px;
  font-weight: 700; }
.navigation .current, .pagination .current {
  color: #FFF;
  border-radius: 16px;
  background: #000; }
@media (max-width: 576px) {
  .navigation .prev, .pagination .prev {
    -webkit-box-flex: 0 0 16px;
    -moz-box-flex: 0 0 16px;
    -webkit-flex: 0 0 16px;
    -ms-flex: 0 0 16px;
    flex: 0 0 16px;
    width: 16px;
    height: 32px;
    padding: 0;
    background: url(images/arrow-left-pagination.svg) no-repeat center;
    background-size: contain;
    font-size: 0px; }
  .navigation .next, .pagination .next {
    -webkit-box-flex: 0 0 16px;
    -moz-box-flex: 0 0 16px;
    -webkit-flex: 0 0 16px;
    -ms-flex: 0 0 16px;
    flex: 0 0 16px;
    width: 16px;
    height: 32px;
    padding: 0;
    background: url(images/arrow-right-pagination.svg) no-repeat center;
    background-size: contain;
    font-size: 0px; }
  .navigation .page-numbers, .pagination .page-numbers {
    margin-right: 5px; }
    .navigation .page-numbers:last-child, .pagination .page-numbers:last-child {
      margin-right: 0px; } }

.common-title {
  color: #000;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 38px; }

.header {
  position: relative;
  display: block;
  width: 100%;
  margin: 30px 0; }
  .header .header__top {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    background: #F4F4F4;
    padding: 30px; }
  .header .header__bottom {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0 10px;
    background: #D9D9D9; }
  .header .header__bottom__menu {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    list-style-type: none;
    margin: 0;
    padding: 0px; }
    .header .header__bottom__menu > li {
      margin: 0 10px;
      padding: 0;
      list-style-type: none; }
      .header .header__bottom__menu > li > a {
        display: inline-block;
        padding: 0 10px;
        color: #000;
        text-align: center;
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: 40px; }
  @media (max-width: 576px) {
    .header .header__bottom {
      padding: 0; }
    .header .header__top {
      padding: 15px; } }

.archive-page {
  display: block;
  width: 100%;
  margin: 0 0 172px; }
  .archive-page .archive-page__items {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: flex-start; }
  @media (max-width: 991px) {
    .archive-page {
      margin: 0 0 20px; }
      .archive-page .archive-page__items {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap; } }

.section__news {
  -webkit-box-flex: 1 1 auto;
  -moz-box-flex: 1 1 auto;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  width: auto;
  background: #F4F4F4;
  padding: 30px; }
  .section__news .news__title {
    display: block;
    margin: 0 0 30px; }
  .section__news .news__items {
    display: block;
    width: 100%; }
  .section__news .news__item {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    background: #FFF;
    margin: 0 0 30px; }
  .section__news .news__item__block-img {
    position: relative;
    -webkit-box-flex: 0 0 170px;
    -moz-box-flex: 0 0 170px;
    -webkit-flex: 0 0 170px;
    -ms-flex: 0 0 170px;
    flex: 0 0 170px;
    width: 170px;
    min-height: 170px; }
  .section__news .news__item__img {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover; }
  .section__news .news__item__content {
    -webkit-box-flex: 1 1 auto;
    -moz-box-flex: 1 1 auto;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: auto;
    padding: 20px; }
  .section__news .news__item__title {
    display: block;
    width: 100%;
    margin: 0 0 15px;
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px; }
  .section__news .news__item__desc {
    display: block;
    width: 100%;
    margin: 0 0 15px;
    color: #888;
    font-size: 18px;
    font-family: Inter;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; }
  .section__news .news__item__bottom {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    align-items: center; }
  .section__news .news__item__author {
    -webkit-box-flex: 1 1 auto;
    -moz-box-flex: 1 1 auto;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: auto;
    display: inline;
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    line-height: 22px; }
  .section__news .news__item__author-text {
    display: inline;
    color: #888; }
  .section__news .news__item__author-name {
    display: inline;
    color: #000000; }
  @media (max-width: 991px) {
    .section__news {
      -webkit-box-flex: 0 0 100%;
      -moz-box-flex: 0 0 100%;
      -webkit-flex: 0 0 100%;
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      width: 100%;
      margin: 0 0 30px; } }
  @media (max-width: 687px) {
    .section__news .news__item__title {
      font-size: 18px;
      line-height: 24px; }
    .section__news .news__item__desc {
      font-size: 14px;
      line-height: 20px; }
    .section__news .news__item__author {
      font-size: 14px;
      line-height: 22px; } }
  @media (max-width: 576px) {
    .section__news {
      padding: 15px; }
      .section__news .news__item {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap; }
      .section__news .news__item__block-img {
        -webkit-box-flex: 0 0 100%;
        -moz-box-flex: 0 0 100%;
        -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        width: 100%;
        height: 170px;
        min-height: inherit; } }

.section__sidebar {
  -webkit-box-flex: 0 0 293px;
  -moz-box-flex: 0 0 293px;
  -webkit-flex: 0 0 293px;
  -ms-flex: 0 0 293px;
  flex: 0 0 293px;
  margin: 0 0 30px 30px;
  padding: 30px;
  background: #F4F4F4; }
  @media (max-width: 991px) {
    .section__sidebar {
      -webkit-box-flex: 0 0 100%;
      -moz-box-flex: 0 0 100%;
      -webkit-flex: 0 0 100%;
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      width: 100%;
      margin: 0 0 30px; } }

.footer {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 30px; }
  .footer .footer__items {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    background: #F4F4F4;
    padding: 30px; }
