@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro&subset=cyrillic");
:root {
  --header-hg-d: 75px;
  --header-hg-m: 50px;

  --footer-hg-d: 200px;
  --footer-hg-m: 100px;

  --header-w-d: 100%;

  --icons-footer-m: 175px;
}
html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Source Sans Pro", sans-serif;
}
.grid-wrap {
  display: flex;
  flex-direction: column;
}
.grid-wrap .row {
  display: flex;
}
.row {
  flex-flow: row wrap;
  justify-content: space-evenly;
  flex: 1 1;
  /* align-items: center; */
  /*background-color: #aaaaaa;*/
}
.header,
.footer {
  width: var(--header-w-d);
  height: var(--header-hg);
  display: flex;
  flex: 0 1 auto;
  flex-flow: row wrap;
  justify-content: space-between;
  position: relative;
  align-items: center;
}
.header {
  position: fixed;
}
.header-item {
  display: flex;
  flex-direction: column;
  font-size: 6vh;
  color: #fff;
  font-weight: 400;
  text-align: center;
  align-self: center;
}
.footer {
  padding: 10px 0;
  height: var(--footer-hg-d);
  background-color: #dddddd;
}
.grid-item {
  flex-direction: column;
  padding: 10px;
  margin: 10px 0;
  align-self: flex-start;
  justify-content: center;
}
.left-sidebar,
.right-sidebar {
  width: calc((100% / 12) * 2);
}
.main {
  width: calc((100% / 12) * 8);
}
.grid-wrap .content {
  display: flex;
  flex: 1 1 auto;
}
.bg-violet {
  background-color: #434e7b;
}
.bottom-shadow {
  box-shadow: 0px 2px 10px 0px rgba(104, 104, 104, 1);
}
.test-block {
  background-color: #eeeeee;
  min-height: 75px;
  text-align: center;
}
.title {
  /* display: flex;
        flex-direction: column;
        justify-content: stretch; */
  margin-left: 15px;
  margin-top: 15px;
  width: calc(100% - 15px);
}
.title-text {
  background-color: #ffc107;
  color: #333333;
  font-size: 20px;
  text-align: center;
  width: 41%;
}
.title-underline {
  height: 3px;
  background-color: #ffc107;
  width: inherit;
}
.art-thumbnail {
  width: 100%;
  height: 95px;
  margin-bottom: 10px;
  background-color: #eeeeee;
}
.col {
  display: flex;
  flex-direction: column;
  flex: 1 1;
}
.no-wrap {
  flex-wrap: nowrap;
}
.icon {
  width: 25px;
}
.align-items-center {
  align-items: center;
}
.icons-footer {
  display: inherit;
  flex-direction: inherit;
  width: var(--icons-footer-m);
}
.copyright {
  font-size: 18px;
}
.link {
  color: #fff !important;
  text-decoration: none;
}
.justify-content-around {
  justify-content: space-around;
}

.art-btn-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
}

.art-title {
  font-size: 20px;
  color: #333333;
}
.art-text {
  font-size: 16px;
  color: #555555;
}
.art-date {
  display: flex;
  font-style: italic;
  font-size: 18px;
  align-self: center;
  margin: 0 auto;
}
.cattitle {
  font-size: 20px;
  color: #333333;
  text-align: center;
  align-self: flex-start;
  justify-content: flex-start;
}
.cattitle:hover {
  color: #535e9b;
  text-decoration: none;
}

.custom-btn {
  background-color: #434e7b;
  color: #fff;
  font-weight: 300;
  font-size: 16px;
  text-align: center;
  width: 125px;
  padding: 5px 0;
  cursor: pointer;
  transition: all 0.5s;
}
.custom-btn:hover {
  box-shadow: 0px 0px 5px 1px rgba(112, 112, 112, 1);
}
.logo {
  width: 100px;
  height: var(--header-hg-m);
}
.menu,
.menu-close {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 2;
}
.header-menu > img {
  height: 17px;
}
.hidden {
  visibility: hidden;
}
.d-none {
  display: none;
  transition: all 5s;
}
.header-menu-block {
  position: absolute;
  right: 0;
  top: 50px;
  height: 100vh;
  background-color: #eeeeee;
  color: #333333;
  transition: all 1s;
}
.header-menu-block::before {
  content: "";
  display: block;
  position: absolute;
  top: initial;
  right: 100%;
  width: 100vw;
  height: inherit;
  background-color: rgba(0, 0, 0, 0.5);
}
.w-75 {
  width: 75%;
  transition: all 1s;
}
.header-item a {
  color: #ffffff;
  font-size: 22px;
}
.w-5 {
  width: 52.666%;
}
.ml-auto {
  margin-left: auto;
}
.header-item > .link {
  color: #fff;
  font-size: 18px;
  padding: 10px;
  transition: all 0.5s;
}
.header-item > .link:hover {
  color: #333333 !important;
  background-color: #ffc107;
}
.sidebar {
  align-items: stretch;
}
.header-item-sidebar > .sidebar-link {
  text-decoration: none;
  padding: 7px 10px;
  font-size: 22px;
  color: #333333;
}
.header-item-sidebar > .sidebar-link:hover {
  background-color: #ffc107;
}
.subheader-wrap > row {
  justify-content: space-evenly;
}
.art-thumbnail > img {
  width: 100%;
  height: inherit;
  object-fit: cover;
}
.height-100-vh {
  min-height: 100vh;
}
.pt-10 {
  padding-top: 10px;
}
@media screen and (min-width: 320px) and (max-width: 375px) {
  .grid-wrap {
    width: 100vw;
  }
  .header {
    height: var(--header-hg-m);
  }
  .footer {
    height: auto;
    align-items: center;
  }
  .header-item {
    margin: 7px 15px;
  }
  .content {
    flex-direction: inherit;
    justify-content: space-evenly;
  }
  .left-sidebar,
  .right-sidebar,
  .main {
    width: 100vw;
  }
  .grid-item {
    width: calc(95% - 15px);
  }
  .content {
    margin-top: calc(var(--header-hg-m) + 5px);
  }
  .w-200 {
    width: 200px !important;
  }
}

@media screen and (min-width: 425px) and (max-width: 766px) {
  .grid-wrap {
    width: 100vw;
  }
  .header,
  .footer {
    justify-content: center;
    align-items: center;
  }
  .header {
    height: calc(var(--header-hg-m) + 10px);
  }
  .footer {
    height: auto;
    margin-top: 15px;
  }
  .grid-item {
    width: calc(100% - 30px);
    margin: 15px auto;
    margin-bottom: 0;
  }
  .header-width-wrap:nth-child(1) {
    margin-left: 15px;
  }
  .menu,
  .menu-close {
    top: 22px;
  }
  .header-menu-block {
    top: 60px;
  }
  .content {
    margin-top: calc(var(--header-hg-m) + 10px);
  }
  .w-200 {
    width: 300px !important;
  }
}
@media screen and (max-width: 600px) {
  .subheader-wrap {
    display: none;
  }
}
@media screen and (min-width: 601px) {
  .header-menu {
    display: none;
  }
  .w-5 {
    width: 100%;
  }
  .subheader-wrap {
    margin-right: 15px;
  }
  .subheader-wrap > .row {
    justify-content: flex-end;
  }
}
@media screen and (min-width: 767px) and (max-width: 1023px) {
  .grid-wrap {
    width: 100%;
  }
  .header,
  .footer {
    justify-content: center;
    align-items: center;
  }
  .header {
    height: calc(var(--header-hg-m) + 10px);
  }
  .header-width-wrap:nth-child(1) {
    margin-left: 15px;
  }
  .footer {
    height: auto;
  }
  .grid-item {
    flex: 1 1 22.222%;
    margin: 15px;
    padding: 0;
  }
  .right-sidebar {
    height: 80%;
  }
  .title-text {
    width: 21%;
  }
  .art-thumbnail {
    width: 100%;
  }
  .content {
    margin-top: calc(var(--header-hg-d) - 15px);
  }
  .w-200 {
    width: 400px !important;
  }
}
@media screen and (min-width: 1023px) {
  .grid-wrap {
    width: 100%;
  }
  .logo {
    width: 140px;
  }
  .grid-item {
    flex: 1 1 22.222%;
    margin: 15px;
    padding: 0;
  }
  .header {
    height: var(--header-hg-d);
    width: var(--header-w-d);
  }
  .header-item {
    padding-left: 15px;
  }

  .header-item .navbar-nav .nav-link {
    color: #fff;
  }

  .header-width-wrap {
    max-width: 100%;
    margin: 0 auto;
  }
  .header-menu {
    display: none;
  }
  .content {
    width: 1024px;
    margin: 0 auto;
  }
  .title-text {
    width: 21%;
  }
  .content {
    margin-top: calc(var(--header-hg-d) + 5px);
  }
  .w-200 {
    width: 600px !important;
  }
  .justify-content-center {
    justify-content: center;
  }
  .custom-btn {
    font-size: 18px;
  }
}
