/* Окно согласия на cookie (вёрстка — tpls/site_privacy.htm) */
.pd-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 998;
  width: calc(100% - 40px);
  max-width: 440px;
  padding: 24px 24px 22px;
  background-color: #ffffff;
  border-top: 4px solid #5cc0d1;
  -webkit-border-radius: 10px;
          border-radius: 10px;
  -webkit-box-shadow: 0 5px 25px rgba(23, 22, 8, 0.2);
          box-shadow: 0 5px 25px rgba(23, 22, 8, 0.2);
  color: #171608;
  font-family: "Calibri-Light", sans-serif;
  font-size: 16px;
  line-height: 1.35;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(20px);
      -ms-transform: translateY(20px);
          transform: translateY(20px);
  -webkit-transition: opacity 0.3s, visibility 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}
.pd-banner--show {
  opacity: 1;
  visibility: visible;
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
}
.pd-banner-title {
  margin-bottom: 10px;
  font-family: "Calibri-Reg", sans-serif;
  font-size: 20px;
}
.pd-banner-text a {
  color: #4720a1;
  text-decoration: underline;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.pd-banner-text a:hover {
  color: #da0093;
}
.pd-banner-btns {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-top: 18px;
}
/* Кнопки равнозначны: отказ не должен выглядеть слабее согласия */
.pd-banner-btn {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 0;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  padding: 11px;
  background-color: #cc7caf;
  color: #ffffff;
  -webkit-border-radius: 5px;
          border-radius: 5px;
  font-family: "Calibri-Reg", sans-serif;
  font-size: 16px;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.pd-banner-btn + .pd-banner-btn {
  margin-left: 10px;
}
.pd-banner-btn:hover {
  background-color: #8066bc;
}
.pd-banner-btn:focus-visible,
.pd-banner-text a:focus-visible {
  outline: 2px solid #da0093;
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .pd-banner {
    right: 5%;
    bottom: 25px;
    width: 90%;
    max-width: none;
    padding: 18px 15px;
    font-size: 15px;
  }
  .pd-banner-title {
    font-size: 18px;
  }
}

/* Фасад видео YouTube (разметку строит privacy::youtubeFacade()) */
.yt-facade {
  display: block;
  width: 100%;
  margin: 0 auto;
}
.yt-facade-frame {
  display: block;
  position: relative;
  height: 0;
  overflow: hidden;
  background-color: #171608;
  -webkit-border-radius: 5px;
          border-radius: 5px;
}
.yt-facade-frame iframe,
.yt-facade-btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.yt-facade-btn {
  display: block;
  padding: 0;
  background-color: #171608;
  cursor: pointer;
}
.yt-facade-btn img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  -o-object-fit: cover;
     object-fit: cover;
}
.yt-facade-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 50px;
  margin: -25px 0 0 -36px;
  background-color: #da0093;
  -webkit-border-radius: 12px;
          border-radius: 12px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.yt-facade-play::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 29px;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #ffffff;
}
.yt-facade-btn:hover .yt-facade-play,
.yt-facade-btn:focus-visible .yt-facade-play {
  background-color: #4720a1;
}
.yt-facade-note {
  display: block;
  margin-top: 8px;
  color: #999999;
  font-size: 14px;
  text-align: center;
}

/* Нижняя строка подвала: копирайт, реквизиты, документы — друг под другом
   (вёрстка — tpls/page_footer.htm) */
.studia-wrap--pd {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 14px 0 16px;
  text-align: center;
}
.studia-wrap--pd > div:not(:last-child) {
  margin-bottom: 0;
}
.studia-copy .studia-text {
  font-size: 14px;
}
.studia-requisites {
  max-width: 900px;
  margin-top: 6px;
}
.studia-requisites .studia-text {
  color: #bdbdbd;
  font-size: 13px;
  line-height: 1.5;
}
.studia-docs {
  margin-top: 8px;
  line-height: 1.6;
}
.studia-docs .studia-link,
.studia-docs .studia-text {
  font-size: 14px;
}
.studia-docs .studia-text {
  margin: 0 4px 0 0;
  color: #999999;
}
@media (min-width: 961px) {
  .studia-docs .studia-link {
    white-space: nowrap;
  }
}
/* на телефоне и планшете — каждая ссылка своей строкой: названия не рвутся, по ним легко попасть пальцем */
@media (max-width: 960px) {
  /* неразрывные пробелы между ссылками иначе дают пустые строки */
  .studia-docs {
    font-size: 0;
  }
  .studia-docs .studia-text {
    display: none;
  }
  .studia-docs .studia-link {
    display: block;
    padding: 4px 0;
  }
}

/* Страницы документов (tpls/site_privacy_doc.htm, тексты — tpls/privacy_docs/) */
.pd-doc {
  max-width: 900px;
  padding-bottom: 50px;
  font-size: 1.1em;
  line-height: 1.5;
}
.pd-doc .block-title {
  font-size: 26px;
}
.pd-doc h2 {
  margin: 30px 0 12px;
  font-family: "Calibri-Bold", sans-serif;
  font-size: 20px;
  font-weight: normal;
}
.pd-doc p {
  margin: 0 0 10px;
}
.pd-doc p + p {
  margin-top: 0;
}
.pd-doc b {
  font-family: "Calibri-Bold", sans-serif;
  font-weight: normal;
}
.pd-doc a {
  color: #4720a1;
  text-decoration: underline;
  word-break: break-word;
}
.pd-doc a:hover {
  color: #da0093;
}
.pd-doc-center {
  text-align: center;
}
.pd-doc ul,
.pd-doc ol {
  margin: 0 0 12px 20px;
  padding-left: 20px;
}
.pd-doc ul li {
  list-style-type: disc;
  margin-bottom: 4px;
}
/* В документах нумерация вида «1)» */
.pd-doc ol {
  counter-reset: pd-item;
}
.pd-doc ol li {
  position: relative;
  list-style: none;
  margin-bottom: 4px;
  counter-increment: pd-item;
}
.pd-doc ol li::before {
  content: counter(pd-item) ")";
  position: absolute;
  left: -24px;
}
.pd-doc-table {
  margin: 10px 0 20px;
  overflow-x: auto;
}
.pd-doc-table table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.35;
}
.pd-doc-table td {
  width: auto !important;
  padding: 6px 8px;
  border: 1px solid #cabfe3;
  vertical-align: top;
}
.pd-doc-table td p {
  margin: 0;
  text-align: left !important;
}
.pd-doc-table tr:first-child td {
  background-color: #ececf5 !important;
  font-family: "Calibri-Bold", sans-serif;
}
@media (max-width: 600px) {
  .pd-doc {
    font-size: 1em;
  }
  .pd-doc .block-title {
    font-size: 21px;
  }
  .pd-doc h2 {
    font-size: 18px;
  }
}
