@import "news-default";

//Specific To Zaums Site

.inpage {
  &-wraper {
    padding-top: 130px;
    .sec__header {
      transform: translateY(0) !important;
      top: 0 !important;
      background: rgba($color: #424874, $alpha: 0.9);
      height: auto;
      opacity: 1 !important;
      transition: none;
      position: fixed;

      &:hover {
        background: rgba($color: #424874, $alpha: 1);
      }
    }
    .justified-gallery {
      background-color: #f1f1f1;
    }
    .single-post-wrap {
      .news-img {
        float: left;
        margin-inline-start: 30px;
        margin-bottom: 30px;
      }
    }
    .content-groups {
      span {
        display: inline-block;
        margin-inline-end: 8px;
      }
    }
    .links__news {
      max-width: 100%;
    }
    .links-news__scrollbar .scrollbar .os-scrollbar-vertical {
      left: 2px;
    }
    .sidebar-page__sidebar .scrollbar {
      max-height: 320px;
      height: unset;
      padding-inline-start: 8px;
      padding-inline-end: 8px;
      padding-bottom: 12px;
    }
    .main-news__news {
      box-shadow: none;
      margin-bottom: 0;
    }
    .links-news__list {
      gap: 0 !important;
    }
    .pic-news {
      margin-bottom: 20px;
      &__slider {
        overflow: hidden;
        .flickity-page-dots {
          bottom: 15px;
          background: #fff;
          .dot {
            opacity: 0.5;
            &.is-selected {
              opacity: 1;
              background: #fff;
            }
          }
        }
        .flickity-button {
          width: 32px;
          height: 32px;
          opacity: 0.7;
          &:hover {
            opacity: 1;
          }
        }
        &:hover {
          .flickity-button.next {
            left: 5px !important;
            transform: translateX(0%) translateY(-50%);
          }
          .flickity-button.previous {
            right: 5px !important;
            transform: translateX(0%) translateY(-50%);
          }
        }
      }
      &__cell {
        width: 100% !important;
      }
      &__item {
        width: 100%;
        .news-item {
          border-radius: 15px;
          overflow: hidden;
          &__pic {
            aspect-ratio: 4/2;
            width: 100%;
            position: relative;
          }
        }
      }
    }
  }
}
@media (min-width: 991.98px) {
  .sec__footer {
    margin-top: 150px;
  }
}
@media (max-width: 991.98px) {
  .sidebar-page {
    flex-direction: column;
    &__content {
      margin-bottom: 20px;
      width: 100%;
      margin-inline-end: 0;
      margin-inline-start: 0;
    }
    &__sidebar {
      width: 100%;
      margin-inline-end: 0;
      margin-inline-start: 0;
    }
  }
  .inpage-wraper .single-post-wrap .news-img {
    float: unset;
    margin-inline-start: 0;
    margin-bottom: 20px;
  }
}
.sidebar-page__sidebar {
  padding-bottom: 30px;
  .links__news {
    margin-bottom: 20px;
  }
  .news__news-groups {
    margin-inline-start: 0;
    margin-bottom: 20px;
    width: 100%;
    .news-groups__archive {
      left: 0px;
      bottom: 10px;
    }
    .scrollbar {
      max-height: 290px;
    }
  }
  .news__news-groups .section__content {
    margin-inline-end: -30px;
    padding-inline-end: 22px;
  }
  .news-groups__list {
    padding-inline-end: 0px;
  }
  .news__news-groups .section__header {
    padding-inline-start: 0;
  }
  .news-groups__list {
    padding-inline-start: 15px;
  }
  .vote {
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.08);
    padding: 20px;
    button {
      margin-inline-end: 0;
      max-width: 150px;
      border-radius: 10px !important;
      background-color: #eceef8;
      color: #103262;
      text-align: center;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 1em;
      font-weight: bold;
      transition: all 0.2s linear;
      margin-inline-end: 0 !important;
      height: 40px !important;
      font-size: 14px;
      border: unset !important;
      &:hover {
        background-color: #ff9b18;
        color: white;
      }
    }
  }
  .news-groups__archive {
    left: 15px !important;
  }
  .answers label {
    font-size: 14px;
  }
}
#es-content-top {
  table {
    display: block;
    max-width: 100%;
  }
}
@media (max-width: 991.98px) {
  #es-content-top {
    table {
      display: block;
      max-width: 100%;
      overflow: auto;
    }
  }
}
