a:hover {
  text-decoration: none !important;
}

img {
  max-width: 100%;
}

.page {
  display: flex;
  flex-direction: column;
}

.page__header {
  margin-bottom: 10px;
}

.page__main {
  margin-bottom: 10px;
}

.responsive-video {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
}

.responsive-video iframe,
.responsive-video embed,
.responsive-video object,
.responsive-video video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.responsive-video_16x9 {
  padding-bottom: 56.25%;
}

.responsive-video_4x3 {
  padding-bottom: 75%;
}

.article-full__info {
  margin-right: 20px;
  float: left;
  width: 480px;
}

.article-full__image {
  margin-bottom: 20px;
}

/* .article-full__video {
  margin-bottom: 20px;
} */

.articles-main-last-videos__title {
  margin-bottom: 8px;
}

.articles-main-last-videos__item {
  width: 100%;
  margin-bottom: 10px;
}

.main-page-sidebar__section {
  margin-bottom: 20px;
}

.articles-vip__item {
  margin-bottom: 10px;
}

.articles-vip__frame {
  margin-bottom: 5px;
}

.header-lang {
  margin-left: auto;
}

.header-navbar-list {
  width: 100%;
}

.mt-auto,
.my-auto {
  margin-top: auto !important;
}

.page__banner-top {
  margin: auto;
}

.article-likebox {
  -webkit-user-select: none;
  -moz-user-select: none;
  padding: 4px 8px;
  color: #888;
  cursor: pointer;
}

.article-likebox.is-liked {
  color: #007bff;
}

.article-likebox form {
  margin: 0;
}

.article-likebox__link,
.article-likebox__link:hover,
.article-likebox__link:active,
.article-likebox__link:visited {
  display: inline-block;
  text-decoration: inherit;
  color: inherit;
}

.article-likebox__icon {
  margin-right: 4px;
}

.article-list-info {
  margin-right: 4px;
}

@media (max-width: 991px) {
  .article-full__info {
    float: none;
    margin-right: 0;
    width: auto;
  }

  .article-full__sidebar {
    display: none;
  }
}

.showmobile {
  display: none;
  max-width: 100%;
}
@media only screen and (min-device-width: 320px) and (max-device-width: 500px) {
  .showmobile {
    display: inline;
  }
}

.banner-block {
  margin-bottom: 10px;
}

.footer {
  margin-top: 10px !important;
}

.liveinternet {
  margin-left: 15px;
}

.rightimg {
  float: right; /* Выравнивание по правому краю  */
  margin: 7px 0 7px 7px; /* Отступы вокруг картинки */
}

.container-video {
  margin-bottom: 15px;
}

.banner-container {
  margin: auto;
  text-align: center;
}

.pix {
  margin-bottom: 20px;
}

.pixel-table {
  margin: auto;
  width: 1000px;
  height: 1000px;
  background: #fff url("../px/img/pixel.gif") 0 0 repeat;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.pixel-grid-element {
  position: absolute;
  z-index: 5;
  background-color: #888;
  transition: 0.5s; /* Время эффекта */
}

.pixel-grid-element:hover {
  transform: scale(1.2); /* Увеличиваем масштаб */
}

.video {
  position: relative;
  /* padding-bottom: 75%; */
  padding-bottom: 56.25%;
  /* padding-top: 25px; */
  height: 0;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .video {
    position: relative;
    padding-bottom: 56.25%;
    /* padding-top: 25px; */
    height: 0;
  }

  .video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 320px) {
  .video {
    position: relative;
    padding-bottom: 56.25%;
    /* padding-top: 25px; */
    height: 0;
  }

  .video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

.blog-post {
  width: 100%;
  /* height: 16rem; */
  max-width: 98rem;
  padding: 0.5rem;
  margin: 0.5rem 0;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(22, 43, 64, 0.1);
  /* box-shadow: 0 0.7rem 1.5rem 0 rgba(0, 0, 0, 0.08); */
  /* box-shadow: 0 0 0.2rem rgba(0, 0, 0, 0.2); */
  display: flex;
  align-items: center;
  border-radius: 0.3rem;
  transition: all 0.3s ease;
}

.blog-post:hover {
  /* transition: all 0.3s ease; */
  box-shadow: 0 0.5rem 1.5rem 0 rgba(0, 0, 0, 0.2);
  /* transform: scale(1.005); //Увеличиваем масштаб */
}

@media screen and (max-width: 768px) {
  .blog-post {
    display: inline-flex;
    /* padding: 2.5rem; */
    flex-direction: column;
  }
}

.home-slider .slider-item .slider-text .btn-primary {
  border: 1px solid rgba(255, 255, 255, 0.4);
  /* -webkit-border-radius: 30px; */
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  /* border-radius: 30px; */
}
.home-slider .slider-item .slider-text .btn-primary:hover,
.home-slider .slider-item .slider-text .btn-primary:focus {
  background: #fff !important;
  color: #404044;
}
