.topblock {
  width: 100%;
  position: relative;
  padding: 0;
  overflow: hidden;
  /* height: calc(100vh - 155px);
    max-height: 100vh; */
}

.fullpage-picture {
  width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  object-fit: cover;
  object-position: bottom;
  /* position: absolute;
    z-index: 0;
    bottom: 0;
    left: 0; */
}

.fullpage-picture img,
.fullpage-picture source {
  object-fit: cover;
  width: 100%;
  height: 100%;
  object-position: 50% 100%;
}

.topblock-botcontent {
  position: absolute;
  z-index: 1;
  bottom: 8%;
  width: 100%;
}

.topblock-botcontent span {
  font-size: 24px;
  padding: 5px 10px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.6;
  background-color: var(--red-color);
}

.topblock-content {
  margin-top: 20px;
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 1;
}

.topblock-content-inner {
  align-items: center;
  justify-content: space-between;
}

.topblock-content-inner h1 {
  font-size: 64px;
  font-weight: 600;
  line-height: 1.2;
}

.tpb-title {
  text-align: center;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.3px;
}

.topblock-partners {
  box-sizing: border-box;
  padding: 20px 20px;
  background-color: var(--black-color);
}

.tpb-logos {
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.tpb-logos-item {
  border-left: 1px solid var(--grey-color);
  padding: 10px 20px;
}

.tpb-logos-item:first-child {
  border-left: 0;
}

.tpb-logos-item picture {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.tpb-logos-item picture img {
  display: block;
  object-fit: cover;
}

.topblock-partners.desctop-hide {
  display: none;
}

@media screen and (max-width: 990px) {
  .topblock-content-inner h1 {
    font-size: 50px;
  }
  .topblock-botcontent span {
    font-size: 18px;
  }
}

@media screen and (max-width: 850px) {
  .topblock-content-inner h1 {
    font-size: 40px;
    line-height: 1.2;
  }
  .topblock-botcontent span {
    font-size: 16px;
  }
  .topblock .topblock-partners {
    display: none;
  }
  .topblock-partners.desctop-hide {
    display: block;
    background-color: var(--dark-color);
  }
  .tpb-logos {
    max-width: 300px;
    margin: 20px auto 0;
  }
  .topblock {
    height: calc(100vh - 155px);
    height: calc(100vh - 155px);
    max-height: 100vh;
  }
}

@media screen and (max-width: 420px) {
  .fullpage-picture {
    max-height: calc(100vh - 90px);
    height: calc(100vh - 90px);
    overflow: hidden;
  }
}

/* content */

.page-content {
  padding: 100px 0;
}

.page-content.no-bot-padding {
  padding-bottom: 0;
}

.pc-line-text h2 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--white-color);
}

.content-text {
  font-size: 14px;
  line-height: 2;
  color: var(--grey-violet-color);
}

.content-text ul {
  margin-bottom: 25px;
}

.content-text ul li {
  line-height: 2;
  padding-left: 15px;
  position: relative;
}

.content-text ul li:last-child {
  margin-bottom: 0;
}

.content-text ul li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 10px;
  background-color: var(--grey-violet-color);
}

.content-text p {
  margin-bottom: 25px;
}

.content-text p:last-child {
  margin-bottom: 0;
}

.content-text img {
  max-width: 100%;
  height: auto;
}

.pc-line {
  justify-content: space-between;
  position: relative;
  margin-top: 100px;
}

.pc-line:first-child {
  margin-top: 0;
}

.img-right {
  flex-flow: row-reverse;
}

.img-right .pc-line-image {
  max-width: 45%;
  width: 45%;
  position: relative;
}

.img-left .pc-line-image {
  max-width: 40%;
  width: 40%;
  position: relative;
  top: -90px;
}

.pc-line-text {
  max-width: 50%;
}

.img-left .pc-line-text {
  max-width: 60%;
}

.pc-widetext .pc-line-text {
  max-width: 75%;
}

.pc-widetext .pc-line-image {
  max-width: 25%;
  width: 25%;
}

.d-columns {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 20px;
  -moz-column-gap: 20px;
  column-gap: 20px;
}

.pc-line.img-right .pc-line-text {
  padding-right: 25px;
}

.pc-line.img-left .pc-line-text {
  padding-left: 25px;
}

.pli-main-img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
}

.pli-extra-img {
  position: absolute;
  z-index: 2;
  display: block;
  line-height: 0;
  max-width: 50%;
  width: 50%;
  height: auto;
  box-sizing: border-box;
  background-color: var(--dark-color);
  border: 15px solid var(--dark-color);
}

.pc-line-image {
  height: fit-content;
}

.pc-line-image img,
.pc-line-image source {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
}

.img-right .pc-line-image {
  padding-top: 50px;
}

.img-right .pli-extra-img {
  right: -30px;
  top: -25%;
  max-width: 50%;
  width: 50%;
}

.pc-widetext .pli-extra-img {
  max-width: 100%;
  width: 100%;
}

.img-left .pli-extra-img {
  left: 0;
  bottom: -25%;
  max-width: 50%;
  width: 50%;
}

.opened {
  height: 100px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.opened:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(
    180deg,
    rgba(35, 34, 42, 0) 0%,
    var(--dark-color) 100%
  );
}

.opened::after {
  content: "";
  width: 25px;
  height: 15px;
  position: absolute;
  bottom: -5px;
  left: 3px;
  background: url(../img/bott_arrow.svg) 0 0 no-repeat;
}

.page-action {
  margin: 50px 0 0;
  text-align: center;
}

.pa-title {
  font-size: 36px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--red-color);
  margin-bottom: 30px;
}

@media screen and (min-width: 1300px) {
  .img-right .pli-extra-img {
    right: -10%;
  }
  .img-left .pli-extra-img {
    left: -15%;
  }
}

@media screen and (min-width: 1400px) {
  .img-right .pli-extra-img {
    right: -25%;
    max-width: 60%;
    width: 60%;
  }
  .pc-widetext .pli-extra-img {
    right: 0%;
    max-width: 100%;
    width: 100%;
  }
}

@media screen and (min-width: 1580px) {
  .img-right .pli-extra-img {
    right: -40%;
  }
}

@media screen and (max-width: 1000px) {
  .img-right .pli-extra-img,
  .img-left .pli-extra-img {
    display: none;
  }
  .pc-widetext .pc-line-text {
    max-width: 100%;
  }
  .pc-line.img-right .pc-line-text {
    padding-right: 0;
  }
  .page-content {
    padding: 50px 0;
  }
}

@media screen and (max-width: 850px) {
  .page-content {
    padding: 50px 0;
  }
  .pc-line {
    display: block;
    margin-top: 50px;
  }
  .pc-line .pc-line-image {
    box-sizing: border-box;
    max-width: 500px;
    width: 100%;
    padding: 0 20px 50px;
    top: 0;
  }
  .pc-line.img-left .pc-line-text,
  .pc-line.img-right .pc-line-text {
    padding: 0;
  }
  .img-left .pc-line-text,
  .pc-line-text {
    max-width: 100%;
  }
  .img-right .pc-line-image {
    padding-top: 0;
  }
  .d-columns {
    column-count: unset;
  }
  .pc-line-text h2 {
    font-size: 30px;
  }
  .pa-title {
    font-size: 30px;
    font-weight: 400;
  }
}

.carousel-controls {
  align-items: center;
}

.carousel-controls .control span {
  padding: 5px;
  box-sizing: border-box;
  cursor: pointer;
}

.control-counts {
  padding: 0 15px;
}

.control-counts span {
  padding: 5px;
}

.carousel-header {
  justify-content: space-between;
  align-items: flex-end;
}

.ch-morelink {
  margin-right: 20px;
}

.ch-morelink:last-child {
  margin-right: 0;
}

.ch-morelink a {
  font-size: 14px;
  color: var(--red-color);
  display: inline-block;
  margin-bottom: 30px;
}

.blockset-wrap {
  flex-wrap: wrap;
  justify-content: space-between;
}

.blockset-itemwrap {
  width: 90%;
  box-sizing: border-box;
}

.blockset-item {
  width: 47%;
  box-sizing: border-box;
  margin-bottom: 50px;
}

.bsi-image {
  display: block;
  width: 100%;
  padding-bottom: 50%;
  position: relative;
}

.bsi-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bsi-title {
  font-size: 35px;
  line-height: 1.4;
  font-weight: 400;
  margin: 20px 0;
}

.bsi-desc {
  font-size: 14px;
  line-height: 2;
}

@media screen and (max-width: 1000px) {
  .bsi-title {
    font-size: 20px;
  }
}

@media screen and (max-width: 780px) {
  .blockset-item {
    width: 50%;
  }
}

@media screen and (max-width: 600px) {
  .blockset-item {
    width: 100%;
  }
  .blockset-itemwrap {
    width: 100%;
  }
  .morelink-flex {
    flex-wrap: wrap;
  }
}

.topnoimage {
  padding: 30px 0 0 0;
}

.title-desc {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  margin: 20px 0;
}

.nav-links {
  margin: 50px 0 70px;
}

.nav-links ul {
  display: flex;
  justify-content: center;
}

.nav-links span,
.nav-links a {
  display: block;
  margin: 0 20px;
  padding: 5px 15px;
  border-bottom: 1px solid transparent;
}

.nav-links .current {
  border-bottom: 1px solid var(--red-color);
}

@media screen and (max-width: 800px) {
  .nav-links a {
    display: block;
    margin: 0 0px;
    padding: 5px 10px;
  }
  .prev,
  .next {
    width: 70px;
  }
  .prev svg,
  .next svg {
    width: 100%;
    height: auto;
  }
}

.topblock-desc {
  margin-top: 50px;
  margin-bottom: 50px;
}

.tbl-title {
  font-size: 18px;
  font-weight: 600;
}

.tbl-desc {
  font-size: 18px;
  font-weight: 400;
  margin-top: 15px;
}

.topblock-detail {
  position: relative;
}

.topblock-detail:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: #23222b94;
}

.topblock.topblock-detail {
  overflow: hidden;
  min-height: 60vh;
  height: 60vh;
}

.topblock-detail .fullpage-picture {
  height: 60vh;
}

.topblock-detail .fullpage-picture img,
.topblock-detail .fullpage-picture source {
  object-fit: cover;
  width: 100%;
  height: 100%;
  object-position: 50% 50%;
  position: absolute;
  z-index: 0;
}

.gallery.detail-page-gallery {
  padding: 50px 0;
}

.detail-page-text {
  padding: 50px 0;
  background: var(--grey-dark);
}

.detail-page-textBot {
  padding: 70px 0 0;
  background-color: var(--dark-color);
}

.dpt-gal-bot {
  overflow: hidden;
}

.dpt-gal-top {
  padding-top: 0;
}

.topblock-detail .gallery-wrap {
  margin: 50px 0 0;
}

.goback-block {
  padding: 50px 0 50px;
  background: var(--dark-color);
}

.goback a {
  color: var(--red-color);
}

@media screen and (max-width: 990px) {
  .topblock-detail,
  .topblock-detail .inner-wide {
    min-height: 50vh;
  }
  .topblock-detail .fullpage-picture img,
  .topblock-detail .fullpage-picture source {
    min-height: 50vh;
  }
  .detail-page-textBot {
    padding: 50px 0 0;
  }
}

.popup-formbg {
  position: fixed;
  z-index: 55;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background: #393843f5;
  overflow: auto;
}

.popup-formbg h3 {
  margin-bottom: 30px;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  width: 30px;
  height: 30px;
}

.popup-close:before,
.popup-close:after {
  content: "";
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--grey-violet-color);
  position: absolute;
  bottom: 45%;
  left: 8%;
}

.popup-close:before {
  transform: translateY(50%) rotateZ(-45deg);
}

.popup-close:after {
  transform: translateY(50%) rotateZ(45deg);
}

.popup-formbg .vertical-form {
  position: relative;
  z-index: 3;
}

.popup-formbg .popup-bg {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
}

form.complete {
  display: none;
}

.vertical-form .form-input {
  margin-bottom: 10px;
}

.vertical-form .form-submit {
  margin-bottom: 0;
}

.vertical-form .form-input input,
.vertical-form .form-input textarea,
.vertical-form .form-input button {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

@media screen and (max-width: 480px) {
  .add-review {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }
}

/* newslist area */

.newslist-area {
  margin-top: 50px;
}

.newslist-changer a {
  font-size: 14px;
  color: var(--red-color);
  display: inline-block;
  padding: 3px 0;
  margin-right: 30px;
  border-bottom: 3px solid transparent;
}

.newslist-changer a:last-child {
  margin-right: 0;
}

.newslist-changer a.active,
.newslist-changer a:hover {
  border-bottom: 3px solid var(--red-color);
}

/* удалить */

.first-level-item:nth-child(2) .second-level-item a {
  padding: 8px 4.5vw 8px 2.5vw;
}

/* нові зміни */
.inner-wide {
  position: relative;
}
.page-action-topblock {
  position: absolute;
  z-index: 10;
  left: 10px;
  bottom: 10px;
}
