@charset "UTF-8";
/**
  Переменные для отступов
 */
/**
  Переменные для цветов
 */
/**
  Переменные для шрифтов
 */
body {
  background: #f8f8f8;
}

.section {
  display: flex;
  justify-content: center;
  padding: 60px 0px;
}
.section a {
  text-decoration: none;
}
.section__wrapper {
  width: 520px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}
.section__wrapper_full {
  width: 100%;
}
.section__title {
  font-weight: bold;
  color: black;
  font-size: 28px;
  text-align: center;
}
.section__h2 {
  font-size: 24px;
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  color: #31394c;
  text-align: center;
  margin-bottom: 5px;
}
.section__p {
  font-size: 16px;
  width: 70%;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.38;
  letter-spacing: normal;
  text-align: center;
  color: #808080;
}

.backgr {
  position: relative;
  z-index: 1;
  box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.07);
  border-radius: 20px 20px 0 0;

}
.backgr img {
  border-radius: 20px 20px 0 0;
  width: 100%;
  position: relative;
  z-index: 1;
}

.main {
  border-radius: 20px;
  width: 100%;
  padding: 20px;
  margin-top: -40px;
  position: relative;
  z-index: 99;
  background: white;
  padding-top: 0;
  padding-bottom: 40px;
  box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.07);
  background: #fff;
}

.avatar {
  width: 140px;
  border-radius: 100%;
  display: flex;
  border: 2px solid white;
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  top: -70px;
}
.avatar img {
  width: 100%;
  border-radius: 100%;
}

.main-title {
  margin-top: 80px;
  text-align: center;
}

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

.main-social {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-li {
  background: #000;
  color: #fff;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin: 0 5px;
}
.social-li img {
  width: 100%;
}

.part {
  margin-top: 20px;
  display: flex;
  border-radius: 15px;
}
.part img {
  width: 100%;
  border-radius: 15px;
}

.parts {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.parts a {
  width: 49%;
}

.copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
  font-weight: bold;
  font-size: 13px;
  opacity: 0.4;
}
.copyright a {
  font-weight: normal;
}
.copyright span {
  text-align: center;
  margin-bottom: 10px;
}

.pages .main {
  margin-top: 0;
  padding-left: 0;
  padding-right: 0;
}
.pages .page-img {
  width: 100%;
  display: flex;
  border-radius: 20px 20px 0 0;
}
.pages .part,
.pages .parts {
  margin-left: 20px;
  margin-right: 20px;
}
.pages .parts .part {
  margin-left: 0px;
  margin-right: 0px;
}
.pages .main-title {
  margin-top: 20px;
}
.pages .conte {
  margin-left: 20px;
  margin-right: 20px;
}

.prev-button {
  border: 1px solid #e4e9e9;
  border-radius: 5px;
  padding: 5px 10px;
  color: black;
  text-align: center;
  position: relative;
  margin-top: 20px;
  -ms-grid-column-align: center;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 100px;
}

a:visited {
  color: black;
}

.imams {
  margin-top: 30px;
  margin-left: 20px;
  margin-right: 20px;
}

.imam {
  display: flex;
  margin-bottom: 20px;
}
.imam img {
  width: 130px;
  margin-right: 15px;
  border-radius: 10px;
}
.imam-part {
  display: flex;
  flex-direction: column;
}
.imam h3 {
  font-size: 16px;
  margin-top: 5px;
  margin-bottom: 0;
}
.imam p {
  font-size: 13px;
  margin-bottom: 5px;
  margin-top: 0;
}

a{
  color: black;
}
.container {
  max-width: 1400px;
}

/**
  Десктоп маленький
 */
/**
  Планшет горизонтальный
 */
@media screen and (max-width: 1279px) {
  .container {
    max-width: 100%;
  }
}
/**
  Планшет вертикальный
 */
/**
  Мобильные устройства
 */
@media screen and (max-width: 767px) {
  .basic__left {
    display: none;
  }
  .basic__first_time {
    display: none;
  }
  .section__wrapper {
    width: 100%;
    padding: 20px;
  }
  .header__menu {
    display: none;
  }
  .basic__main,
  .bs__new {
    width: 100%;
  }
  .basic__first_left {
    margin-right: 0;
  }
  .basic__part_content {
    flex-direction: column;
  }
  .bs__new {
    margin-bottom: 30px;
  }
  .basic__part_bottom {
    padding-top: 0;
  }
  .header__bottom_wrapper {
    padding-left: 5px;
  }
  .header__lines {
    display: flex;
    width: 100%;
    padding-top: 10px;
    background: url(../img/icon-picture2.svg) 0 2px repeat-x,
      linear-gradient(to bottom, #f3f8f9 0, #f3f8f9 100%);
    background-color: #f3f8f9 !important;
    padding-top: 15px;
  }
  .header {
    position: fixed;
    width: 100%;
    display: flex;
    background: white;
  }
  .basic {
    padding-top: 0;
  }

  .section__wrapper{
    padding: 0;
  }
  .backgr img{
    border-radius: 0;
  }
}
.hamburger {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border: 1px solid transparent;
  background: transparent;
  padding: 5px;
  border-radius: 8px;
}

.btn__hamb {
  position: relative;
  display: block;
  width: 100%;
  height: 4px;
  background: #fff;
  cursor: pointer;
}

.btn__hamb div {
  width: 100%;
  height: 100%;
}

.btn__hamb:before,
.btn__hamb:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  background: #fff;
}

.btn__hamb:before {
  top: -8px;
}

.btn__hamb:after {
  top: 8px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 70%;
  z-index: 100;
}

@media (min-width: 768px) {
  .mobile-menu {
    padding-top: 0;
  }
}
.mobile-menu .mm__bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.8);
  z-index: 100;
}

.mobile-menu .mm__wrapper {
  visibility: hidden;
  transform: translateX(-100%);
  transition: all 0.4s ease-in-out;
  overflow-y: auto;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 200;
  touch-action: auto;
  -ms-touch-action: auto;
  background: #fff;
}

@media (min-width: 768px) {
  .mobile-menu .mm__wrapper {
    width: 35%;
  }
}
@media (min-width: 1200px) {
  .mobile-menu .mm__wrapper {
    width: 25%;
  }
}
.mobile-menu .h__logo {
  padding-left: 40px;
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  line-height: 1.25;
  margin-left: 20px;
  margin-top: 15px;
}

.mm__header .close-btn {
  position: absolute;
  top: 0;
  right: 0;
  margin-right: 15px;
  margin-top: 15px;
}

.close-btn {
  position: relative;
  width: 20px;
  height: 20px;
  transform: rotate(45deg);
  cursor: pointer;
}

.close-btn:before {
  width: 2px;
  height: 18px;
  left: 8px;
  top: 0;
}

.close-btn:after {
  height: 2px;
  width: 18px;
  top: 8px;
  left: 0;
}

.close-btn:before,
.close-btn:after {
  content: '';
  background: #000;
  position: absolute;
}

.close-btn--red:before,
.close-btn--red:after {
  background: #7a0d10;
}

.mm-content {
  padding-left: 20px;
}

.mma-link {
  font-size: 18px;
  font-weight: bold;
  color: black;
}
