/***Подключение шрифтов***/
@font-face {
  font-family: CenturyGothic; 
  src: url("./fonts/centurygothic/centurygothic.ttf") format("truetype"); 
  font-style: normal; 
  font-weight: normal; 
} 
@font-face {
  font-family: TimesNewRoman; 
  src: url("./fonts/timesnewroman/timesnewromanpsmt.ttf") format("truetype"); 
  font-style: normal; 
  font-weight: normal; 
} 

/***Базовые стили***/

/***Шапка***/
.header {
  background-color: #171304;
}
#block-vesta-theme-kontakty .field--name-body {
  display: flex;
  align-items: center;
}
.callback a, .phone a {
  font-family: CenturyGothic;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #fdda82;
  position: relative;
}
.callback a::after {
  content: '';
  display: block;
  background: rgb(253, 218, 130);
  height: 1px;
  width: 100%;
  position: absolute;
  top: calc(100% + 2px);
}
.callback a:hover, .phone a:hover {
  color: #fff;
  text-decoration: none;
}
.callback a:hover::after {
  background-color: #fff;
}
.messengers {
  display: flex;
  column-gap: 10px;
  margin: 0 15px 0 19px;
}
.messengers a {
  display: flex;
}

/***Главное меню***/
.navigation {
  padding: 10px 0;
}
#block-vesta-theme-osnovnayanavigaciya-2 {
  width: fit-content;
}
#superfish-main {
  display: flex;
}
#superfish-main > li:not(:last-child) {
  margin-right: 30px;
}
#superfish-main > li.menuparent:not(:last-child) {
  margin-right: 38px;
}
#superfish-main li a {
  padding: 0;
  font-family: CenturyGothic;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #171304;
  white-space: nowrap;
}
#superfish-main > li > a {
  text-transform: uppercase;
}
#superfish-main > li > ul {
  width: fit-content!important;
}
#superfish-main li a .sf-sub-indicator {
  opacity: 1;
}
#superfish-main  > li > a .sf-sub-indicator {
  left: calc(100% + 8px);
  transition: all 0.4s ease;
}
#superfish-main li a .sf-sub-indicator::after {
  content: url(../image/arrow-down.svg);
  transition: all 0.4s ease;
}
#superfish-main li:not(.sf-depth-1) a .sf-sub-indicator {
  right: 0;
}
#superfish-main li:not(.sf-depth-1) a .sf-sub-indicator::after {
  transform: rotateZ(-90deg);
}
#superfish-main > li > a .sf-sub-indicator::after {
  transform: rotateY(180deg);
}
#superfish-main > li:hover > a .sf-sub-indicator::after {
  transform: rotateX(180deg);
}
#superfish-main > li:hover > a .sf-sub-indicator {
  transform: translateY(-70%);
}
ul.sf-menu.sf-horizontal.sf-shadow ul, ul.sf-menu.sf-vertical.sf-shadow ul, ul.sf-menu.sf-navbar.sf-shadow ul ul {
  border-radius: 5px!important;
  background: rgb(253, 218, 130)!important;
  padding: 10px 7px 20px 10px;
  box-shadow: 4px 4px 4px 0 rgba(23, 19, 4, 0.2);
}
#superfish-main li > ul li:not(:last-child) {
  margin-bottom: 30px;
}
#superfish-main > li ul li::after {
  content: '';
  display: block;
  height: 1px;
  width: 100%;
  background-color: #615f5b;
  position: absolute;
  top: calc(100% + 9px);
}
#superfish-main li > ul li a:hover {
  text-decoration: none;
}
#block-search-icon .field--name-body a:hover path {
  fill: #fdda82;
}

/***Главный баннер***/
.main-image-block {
  position: relative;
  margin-bottom: 0!important;
  background-image: url(../image/main-image.jpg);
  padding: 192px 0 203px;
  background-size: cover;
}
.main-image-block::after {
  content: '';
  display: block;
  background-image: linear-gradient(to left, rgba(23, 19, 4, 0), rgba(23, 19, 4, 0.7) 50%);
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}
#block-main-image {
  position: relative;
  z-index: 1;
}
.field--name-field-header-with-icon {
  font-family: CenturyGothic;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #fdda82;
  display: flex;
  align-items: center;
  text-transform: uppercase;
}
.field--name-field-header-with-icon::before {
  content: url(../image/cup.svg);
  margin-right: 5px;
}
.field--name-field-h1-header {
  margin: 40px 0;
}
.field--name-field-h1-header h1 {
  font-family: TimesNewRoman;
  font-size: 72px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.1;
  letter-spacing: normal;
  color: #fff;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}
.field--name-field-h1-header h1 span:first-child {
  color: #fdda82;
  margin-bottom: 20px;
}
.field--name-field-additional-information {
  font-family: CenturyGothic;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 60px;
}
.field--name-field-link-custom a, .view-services .field--name-field-leave-request a,
#block-all-news-on-main .more-link a, .webform-submission-form .btn-primary {
  border-radius: 30px;
  box-shadow: 4px 4px 4px 0 rgba(23, 19, 4, 0.2);
  background-color: #fdda82;
  padding: 10px 20px;
  font-family: CenturyGothic;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #171304;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  width: fit-content;
}
.field--name-field-link-custom a::after, .btn::after, .view-services .field--name-field-leave-request a::after,
#block-all-news-on-main .more-link a::after {
  content: url(../image/button-arrow.svg);
  display: flex;
  margin-left: 10px;
  transition: all 0.4s ease;
}
.field--name-field-link-custom a:hover, .view-services .field--name-field-leave-request a:hover,
#block-all-news-on-main .more-link a:hover, .webform-submission-form .btn-primary:hover {
  text-decoration: none;
  color: #171304;
  background-color: #fdda82;
}
.field--name-field-link-custom a:hover::after, .btn:hover::after, a.portfolio-btn:hover::after,
.view-services .field--name-field-leave-request a:hover::after,
#block-all-news-on-main .more-link a:hover::after {
  scale: 1.2;
}

/***Блок "Обо мне"***/
.about-block {
  margin-bottom: 0!important;
  padding: 120px 0;
}
.block-content--type-about-me {
  display: flex;
  justify-content: space-between;
}
.block-content--type-about-me > div {
  width: 100%;
}
.block-content--type-about-me .central-block {
  margin: 0 35px 0 30px;
}
.block-content--type-about-me .left-block {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: fit-content;
}
.block-content--type-about-me .field--name-field-first-text {
  font-family: TimesNewRoman;
  font-size: 40px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #171304;
}
.block-content--type-about-me .field--name-field-my-image img {
  border-radius: 15px;
}
.block-content--type-about-me .field--name-field-second-text {
  font-family: CenturyGothic;
  font-size: 20px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #171304;
  text-transform: uppercase;
  margin-bottom: 83px;
  position: relative;
}
.block-content--type-about-me .field--name-field-second-text::after {
  content: '';
  display: block;
  background-color: #171304;
  width: 100px;
  height: 3px;
  position: absolute;
  top: calc(100% + 40px);
}
.block-content--type-about-me .field--name-field-third-text {
  font-family: CenturyGothic;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #171304;
}
.block-content--type-about-me .field--name-field-third-text p:not(:last-child) {
  margin-bottom: 40px;
}
.block-content--type-about-me .field--name-field-third-text p:last-child {
  margin-bottom: 0;
}
.front .main {
  margin-bottom: 0!important;
}

/***Блок "Портфолио" на главной***/
.portfolio-block {
  margin-bottom: 0!important;
  background-color: #171304;
  padding: 60px 0;
}
#block-block-portfolio-on-main .field--name-field-photo {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}
#block-block-portfolio-on-main .field--name-field-photo img {
  width: 100%;
  min-width: 270px;
  max-height: 240px;
  object-fit: cover;
  border-radius: 10px;
  transition: all 0.4s ease;
}
#block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(-n + 3),
#block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(8),
#block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(9),
#block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(10) {
  width: calc(100% / 3 - 30px);
}
#block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(-n + 3) img,
#block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(8) img,
#block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(9) img,
#block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(10) img {
  min-width: 370px;
}
#block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(4),
#block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(5),
#block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(6),
#block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(7),
#block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(11),
#block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(12),
#block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(13),
#block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(14) {
  width: calc(100% / 4 - 30px);
}
#block-block-portfolio-on-main .field--name-field-photo .field__item a {
  display: flex;
  border: solid 1px #fdda82;
  border-radius: 10px;
  overflow: hidden;
}
#block-block-portfolio-on-main .field--name-field-photo .field__item a:hover img {
  scale: 1.2;
}
#block-block-portfolio-on-main .block-title {
  font-family: TimesNewRoman;
  font-size: 40px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #fff;
}
.portfolio-subheader {
  font-family: CenturyGothic;
  font-size: 20px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #fff;
  margin: 40px 0 64px;
}
#block-block-portfolio-on-main .view-footer {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 20px;
}
a.portfolio-btn {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 4px 4px 4px 0 rgba(23, 19, 4, 0.2);
  border: solid 1px #fdda82;
  background-color: #171304;
  font-family: CenturyGothic;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #fdda82;
  text-transform: uppercase;
}
a.portfolio-btn::after {
  content: url(../image/arrow-yellow.svg);
  display: flex;
  margin-left: 10px;
  transition: all 0.4s ease;
}
a.portfolio-btn:hover {
  color: #fdda82;
  text-decoration: none;
}

/***Блок "Услуги" на главной***/
.services-block {
  padding: 90px 0 120px;
  margin-bottom: 0!important;
}
#block-block-services-on-main .block-title {
  font-family: TimesNewRoman;
  font-size: 40px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #171304;
  margin-bottom: 40px;
}
.view-services .view-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}
.view-services .views-row {
  width: calc(100% / 2 - 15px);
}
.view-services .field--name-field-service-images img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}
.view-services .field--name-field-service-images {
  position: relative;
}
.view-services .field--name-field-service-images::before {
  content: '';
  display: block;
  background-color: rgba(23, 19, 4, 0.6);
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  z-index: 1;
  border-radius: 15px;
}
.view-services .text-block {
  padding: 20px;
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 100%;
}
.view-services .field--name-node-title a {
  font-family: TimesNewRoman;
  font-size: 48px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.1;
  letter-spacing: normal;
  color: #fff;
  display: block;
  max-width: 468px;
}
.view-services .field--name-node-title a:hover {
  text-decoration: none;
  color: #fdda82;
}
.view-services .field--name-body {
  font-family: CenturyGothic;
  font-size: 20px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #fff;
  white-space: break-spaces;
  margin: 40px 0 60px;
}
.view-services .field--name-field-leave-request {
  position: absolute;
  bottom: 104px;
}

/***Блок "Состав услуг" на главной***/
.services-composition-block {
  margin-bottom: 0!important;
  background-image: url(../image/composite-back.jpg);
  background-size: cover;
  padding: 90px 0;
}
.region-services-composition {
  display: flex;
  justify-content: space-between;
  column-gap: 136px;
}
#block-services-composition .block-title {
  font-family: TimesNewRoman;
  font-size: 40px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #fff;
  margin-bottom: 40px;
}
#block-services-composition .field--name-body {
  font-family: CenturyGothic;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #fff;
}
#block-composition-service-on-main {
  padding: 40px 60px;
  border-radius: 5px;
  background-color: #fff;
  min-width: 681px;
}
#block-composition-service-on-main .view-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
#block-composition-service-on-main .views-row {
  width: calc(100% / 2 - 40px);
} 
.node--type-composition-service.node--view-mode-teaser {
  display: flex;
  min-width: 261px;
}
#block-composition-service-on-main .field--name-field-icon-service {
  margin-right: 10px;
}
#block-composition-service-on-main .field--name-node-title {
  font-family: CenturyGothic;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  color: #171304;
  margin-bottom: 5px;
  text-transform: uppercase;
}
#block-composition-service-on-main .field--name-body {
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  color: #171304;
}

/***Блок "Новости" на главной***/
.news-block {
  margin-bottom: 0!important;
  padding: 120px 0;
}
#block-all-news-on-main .block-title {
  font-family: TimesNewRoman;
  font-size: 40px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #171304;
  margin-bottom: 40px;
}
#block-all-news-on-main .views-row {
  margin: 0 15px;
}
#block-all-news-on-main .slick-list {
  margin: 0 -30px;
  border-radius: 10px;
}
#block-all-news-on-main button.slick-arrow {
  width: 70px;
  height: 70px;
  top: 179px;
  border-radius: 100%;
}
#block-all-news-on-main button.slick-arrow:hover {
   box-shadow: 4px 4px 4px 0 rgba(23, 19, 4, 0.2);
}
#block-all-news-on-main .slick-next {
  right: -50px;
}
#block-all-news-on-main .slick-prev {
  left: -50px;
}
.node--type-news.node--view-mode-teaser {
  background-color: rgba(97, 95, 91, 0.1);
  border-radius: 10px;
}
.node--type-news.node--view-mode-teaser::before {
  content: '';
  display: block;
  border: solid 1px #171304;
  border-radius: 10px;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}
.view-news .field--name-field-image-news img {
  border-radius: 10px;
  width: 100%;
}
.view-news .field--name-field-image-news {
  position: relative;
  z-index: 1;
}
.view-news .content {
  padding: 20px 17px 10px 10px;
}
.view-news .field--name-dynamic-token-fieldnode-created-date {
  font-family: CenturyGothic;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #615f5b;
}
.view-news .field--name-node-title {
  font-family: CenturyGothic;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #171304;
  text-transform: uppercase;
  margin: 5px 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -moz-box;
  display: -webkit-box;
  line-clamp: 2;
  box-orient: vertical;
  -moz-box-orient: vertical;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 40px;
  max-height: 40px;
}
.view-news .field--name-node-link {
  position: relative;
  z-index: 1;
}
.view-news .field--name-node-link a {
  font-family: CenturyGothic;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #615f5b;
  display: flex;
  align-items: center;
}
.view-news .field--name-node-link a::after {
  content: url(../image/news-arrow.svg);
  display: flex;
  margin-left: 5px;
  transition: all 0.4s ease;
}
.view-news .field--name-node-link a:hover {
  text-decoration: none;
}
.view-news .field--name-node-link a:hover::after {
  scale: 1.2;
}
#block-all-news-on-main .more-link {
  margin-top: 60px;
}
#block-all-news-on-main .more-link a {
  margin: 0 auto;
}

/***Блок "Веб-форма" на главной***/
.form-block {
  margin-bottom: 0!important;
  padding: 120px 0;
  background-image: url(../image/form-background.jpg);
  background-size: cover;
}
#block-vesta-theme-webforma {
  padding: 40px 90px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  max-width: 719px;
  margin: 0 auto;
}
#block-vesta-theme-webforma .block-title {
  font-family: TimesNewRoman;
  font-size: 40px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #171304;
  margin-bottom: 10px;
}
#webform-submission-callback-node-2-add-form #edit-subheader-form {
  margin-top: 0;
  margin-bottom: 30px;
  font-family: CenturyGothic;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #171304;
}
#webform-submission-callback-node-2-add-form .js-form-item-name {
  margin-top: 0;
  margin-bottom: 0;
}
#webform-submission-callback-node-2-add-form .js-form-item-phone {
  margin-top: 20px;
  margin-bottom: 20px;
}
#webform-submission-callback-node-2-add-form input:not(.form-checkbox, .webform-button--submit) {
  max-width: 375px;
  height: 42px;
  margin: 0 auto;
  padding: 10px 100px 10px 10px;
  border-radius: 10px;
  border: solid 1px #615f5b;
  background-color: #faf6f2;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #171304;
}
#webform-submission-callback-node-2-add-form input:not(.form-checkbox, .webform-button--submit)::placeholder {
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #171304;
}
#webform-submission-callback-node-2-add-form input:not(.form-checkbox, .webform-button--submit):focus {
  box-shadow: 0 0 3px 3px #fdda82;
}
#webform-submission-callback-node-2-add-form .form-item-privacy {
  max-width: 375px;
  margin: 0 auto;
  margin-top: 0;
  margin-bottom: 30px;
  display: flex;
}
#webform-submission-callback-node-2-add-form .form-type-checkbox .description {
  margin-left: 21px;
}
#webform-submission-callback-node-2-add-form .js-form-type-checkbox .form-control {
  width: 22px;
  height: 24px;
}
.webform-submission-form .js-form-type-checkbox input {
  display: none;
}
.webform-submission-form .js-form-type-checkbox label {
  font-size: 0;
  margin-bottom: 0;
  height: 24px;
}
.webform-submission-form .js-form-type-checkbox label::after {
  background-image: none;
}
.webform-submission-form .js-form-type-checkbox label::before {
  content: '';
  display: flex;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 24px;
  border-radius: 3px;
  border: solid 1px #615f5b;
  background-color: #faf6f2;
  box-shadow: 4px 4px 4px 0 rgba(23, 19, 4, 0.2);
  cursor: pointer;
}
.webform-submission-form .js-form-type-checkbox input:checked + label::before {
  content: url(../image/check.svg);
}
.webform-submission-form #edit-privacy--description, .webform-submission-form #edit-privacy--description a {
  font-family: CenturyGothic;
  font-size: 12px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #171304;
}
#webform-submission-callback-node-2-add-form .form-actions {
  margin-top: 0;
  margin-bottom: 0;
  width: fit-content;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  padding-right: 50px;
}
.webform-submission-form .btn-primary {
  width: 161px;
  border: none;
  background-image: url(../image/button-arrow.svg);
  background-repeat: no-repeat;
  background-position-x: 120px;
  background-position-y: center;
}
.webform-submission-form .btn-primary:focus {
  box-shadow: 4px 4px 4px 0 rgba(23, 19, 4, 0.2);
  background-color: #fdda82;
  color: #171304;
}
.webform-submission-form .btn-primary:hover {
  background-size: 14%;
}

/***Блок "Контакты и карта" на главной***/
.map-block {
  margin-bottom: 0!important;
  background-color: rgba(97, 95, 91, 0.1);
  padding: 90px 0;
}
.region-map {
  display: flex;
  justify-content: space-between;
  column-gap: 87px;
}
#block-contacts-map .block-title {
  font-family: TimesNewRoman;
  font-size: 40px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #171304;
  margin-bottom: 38px;
}
#block-contacts-map .field--name-body {
  display: flex;
  flex-wrap: wrap;
}
#block-contacts-map .field--name-body > div:not(:last-child) {
  margin-bottom: 20px;
}
.address, .phone-map a, .mail-map a {
  font-family: CenturyGothic;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #171304;
  display: flex;
  align-items: center;
}
.address::before, .phone-map a::before, .mail-map a::before {
  margin-right: 10px;
  display: flex;
}
.address::before {
  content: url(../image/location.png);
}
.phone-map a:hover, .mail-map a:hover {
  color: #171304;
}
.phone-map a::before {
  content: url(../image/phone.svg);
}
.mail-map a::before {
  content: url(../image/mail.svg);
}
.mail-map a {
  text-decoration: underline;
}

/***Фиксированный блок с мессенджерами***/
#block-fixed-messengers {
  position: fixed;
  right: 210px;
  bottom: 74px;
  z-index: 1;
}
#block-fixed-messengers .field--name-body {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

/***Подвал***/
.footer {
  padding: 90px 0 15px;
  background-color: #171304;
}
.region-footer {
  flex-direction: row!important;
  justify-content: space-between;
  padding: 0!important;
}
.rights {
  margin: 20px 0 10px;
  font-family: CenturyGothic;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #fff;
}
a.privacy {
  font-family: CenturyGothic;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #fff;
  text-decoration: underline;
  white-space: nowrap;
}
a.privacy:hover {
  color: #fdda82;
}
#block-services-footer {
  margin: 0 60px 0 132px;
}
#superfish-services-footer, #superfish-main-menu-footer {
  width: fit-content;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
#superfish-services-footer li, #superfish-main-menu-footer li {
  width: fit-content;
}
#superfish-services-footer li a, #superfish-main-menu-footer li a {
  font-family: CenturyGothic;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #fff;
  padding: 0;
  white-space: nowrap;
}
#superfish-main-menu-footer li a {
  color: #fdda82;
}
#superfish-services-footer li a:hover, #superfish-main-menu-footer li a:hover {
  text-decoration: none;
}
#superfish-services-footer li a:hover, .vesta_backlink a:hover {
  color: #fdda82;
}
#superfish-main-menu-footer li a:hover {
  color: #fff;
}
.vesta_backlink {
  margin-top: 17px;
}
.vesta_backlink a {
  font-family: CenturyGothic;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #fdda82;
}
#block-vesta-theme-cpp img {
  border-radius: 10px;
}

/***Страница "Портфолио"***/
.page-view--portfolio .view-content {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.page-view--portfolio .views-row {
  width: calc(100% / 3 - 15px);
}
.page-view--portfolio .field--name-node-title {
  padding: 10px;
  background-color: #171304;
  text-align: center;
}
.page-view--portfolio .field--name-node-title a {
  font-family: CenturyGothic;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #fff;
}
.node--type-portfolio.node--view-mode-full .field--name-field-photo {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.node--type-portfolio.node--view-mode-full .field--name-field-photo .field__item {
  width: calc(100% / 3 - 15px);
}

/***Страница услуги***/
.node--type-sevice.node--view-mode-full .field--name-field-leave-request {
  margin: 20px 0;
}
.node--type-sevice.node--view-mode-full .field--name-field-leave-request .btn-default {
  width: fit-content;
}
.node--type-sevice.node--view-mode-full .field--name-field-service-images {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.node--type-sevice.node--view-mode-full .field--name-field-service-images .field__item {
  width: calc(100% / 3 - 15px);
}

/***Адаптивные стили***/
@media screen and (max-width: 1200px) {
  /***Главное меню***/
  #superfish-main > li:not(:last-child) {
    margin-right: 15px;
  }
  #superfish-main li a {
    font-size: 14px;
  }
  #block-vesta-theme-logo img {
    max-width: 170px;
  }

  /***Главный баннер***/
  .main-image-block {
    padding: 50px 0 40px;
  }
  .field--name-field-h1-header h1 span:first-child {
    margin-bottom: 10px;
  }
  .field--name-field-h1-header h1 {
    font-size: 60px;
  }
  .field--name-field-h1-header {
    margin: 20px 0;
  }
  .field--name-field-additional-information {
    margin-bottom: 30px;
  }

  /***Блок "Обо мне"***/
  .about-block {
    padding: 30px 0;
  }
  .block-content--type-about-me {
    display: grid;
    grid-template-areas: 'left left'
                         'central right';
  }
  .left-block {
    grid-area: left;
    margin-bottom: 20px;
  }
  .central-block {
    grid-area: central;
  }
  .right-block {
    grid-area: right;
  }

  /***Блок "Портфолио" на главной***/
  .portfolio-block {
    padding: 30px 0;
  }
  .portfolio-subheader {
    margin: 20px 0 30px;
  }
  #block-block-portfolio-on-main .field--name-field-photo {
    gap: 15px;
  }
  #block-block-portfolio-on-main .field--name-field-photo .field__item {
    width: calc(100% / 3 - 15px)!important;
  }
  #block-block-portfolio-on-main .field--name-field-photo .field__item:last-child,
  #block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(13) {
    display: none;
  }
  #block-block-portfolio-on-main .field--name-field-photo .field__item img {
    min-width: 100%;
  }

  /***Блок "Услуги" на главной***/
  .services-block {
    padding: 30px 0;
  }
  #block-block-services-on-main .block-title {
    margin-bottom: 20px;
  }
  .view-services .field--name-node-title a {
    font-size: 35px;
  }
  .view-services .field--name-field-leave-request {
    bottom: 20px;
  }

  /***Блок "Состав услуг" на главной***/
  .services-composition-block {
    padding: 30px 0;
  }
  .region-services-composition {
    justify-content: center;
    column-gap: 0;
    flex-wrap: wrap;
    row-gap: 20px;
  }
  #block-services-composition .block-title {
    margin-bottom: 20px;
  }
  #block-composition-service-on-main {
    padding: 20px;
    min-width: 100%;
  }

  /***Блок "Новости" на главной***/
  #block-all-news-on-main .block-title {
    margin-bottom: 20px;
  }
  .news-block {
    padding: 30px 0;
  }

  /***Блок "Веб-форма" на главной***/
  .form-block {
    padding: 30px 0;
  }
  #block-vesta-theme-webforma {
    padding: 20px;
  }

  /***Блок "Контакты и карта" на главной***/
  .map-block {
    padding: 30px 0;
  }
  .region-map {
    column-gap: 0;
    row-gap: 20px;
    flex-wrap: wrap;
  }
  #block-contacts-map .field--name-body {
    flex-direction: column;
  }
  .phone-map a, .mail-map a {
    width: fit-content;
  }
  #block-contacts-map .block-title {
    margin-bottom: 15px;
  }

  /***Фиксированный блок с мессенджерами***/
  #block-fixed-messengers {
    right: 55px;
    bottom: 60px;
  }
  #scrollToTop {
    right: 50px!important;
  }

  /***Подвал***/
  .footer {
    padding: 30px 0 15px;
  }
  .region-footer > div {
    width: fit-content;
  }
  .region-footer {
    flex-wrap: wrap;
    row-gap: 15px;
  }
  #block-services-footer {
    margin: 0 30px;
  }
}

@media screen and (max-width: 991px) {
  /***Блок "Контакты и карта" на главной***/
  #block-vesta-theme-yandekskarta-2, .mapContainer {
    width: 100%;
  }

  /***Блок "Новости" на главной***/
  #block-all-news-on-main .slick-list {
    margin: 0 -15px;
  }
  #block-all-news-on-main .slick-prev {
    left: -10px;
  }
  #block-all-news-on-main .slick-next {
    right: -10px;
  }
  #block-all-news-on-main button.slick-arrow, #block-all-news-on-main button.slick-arrow img {
    width: 45px;
    height: 45px;
  }
  #block-all-news-on-main .more-link {
    margin-top: 30px;
  }

  /***Подвал***/
  #block-services-footer {
    margin: 0 15px;
  }
}

@media screen and (max-width: 768px) {
  /***Главный баннер***/
  .field--name-field-h1-header h1 {
    font-size: 50px;
  }

  /***Блок "Обо мне"***/
  .block-content--type-about-me {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .right-block {
    margin-top: 15px;
  }
  .block-content--type-about-me .central-block {
    margin: 0;
    text-align: center;
  }
  .block-content--type-about-me .field--name-field-second-text {
    margin-bottom: 30px;
  }
  .block-content--type-about-me .field--name-field-second-text::after {
    top: calc(100% + 15px);
  }
  .block-content--type-about-me .field--name-field-third-text p:not(:last-child) {
    margin-bottom: 15px;
  }
  .block-content--type-about-me .field--name-field-first-text {
    font-size: 35px;
  }

  /***Блок "Портфолио" на главной***/
  #block-block-portfolio-on-main .block-title {
    font-size: 35px;
  }
  .portfolio-subheader {
    margin: 10px 0 20px;
  }
  #block-block-portfolio-on-main .field--name-field-photo .field__item {
    width: calc(100% / 2 - 15px)!important;
  }
  #block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(12),
  #block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(11) {
    display: none;
  }

  /***Блок "Услуги" на главной***/
  #block-block-services-on-main .block-title {
    font-size: 35px;
  }
  .view-services .field--name-node-title a {
    font-size: 25px;
  }
  .view-services .field--name-body {
    font-size: 16px;
    margin: 10px 0;
  }
  .view-services .view-content {
    gap: 15px;
  }
  .view-services .views-row {
    width: calc(100% / 2 - 7.5px);
  }

  /***Блок "Состав услуг" на главной***/
  #block-services-composition .block-title {
    font-size: 35px;
  }
  #block-composition-service-on-main .field--name-body {
    font-size: 14px;
  }
  #block-composition-service-on-main .views-row {
    width: 100%;
  }
  #block-composition-service-on-main .view-content {
    gap: 20px;
  }

  /***Блок "Новости" на главной***/
  #block-all-news-on-main .block-title, #block-vesta-theme-webforma .block-title, #block-contacts-map .block-title  {
    font-size: 35px;
  }
  #block-all-news-on-main .views-row {
    margin: 0 5px;
  }
  #block-all-news-on-main .slick-list {
    margin: 0 -10px;
  }
  #block-all-news-on-main button.slick-arrow {
    top: 130px;
  }

  /***Подвал***/
  #block-services-footer, #block-main-menu-footer {
    display: none;
  }
}

@media screen and (max-width: 576px) {
  /***Главный баннер***/
  .field--name-field-h1-header h1 {
    font-size: 45px;
  }

  /***Блок "Портфолио" на главной***/
  #block-block-portfolio-on-main .block-title, #block-block-services-on-main .block-title, #block-services-composition .block-title
  #block-all-news-on-main .block-title, #block-vesta-theme-webforma .block-title, #block-contacts-map .block-title {
    font-size: 30px;
  }
  #block-block-portfolio-on-main .block-title br {
    display: none;
  }
  #block-block-portfolio-on-main .field--name-field-photo .field__item {
    width: 100%!important;
  }
  #block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(6),
  #block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(7),
  #block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(8),
  #block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(9),
  #block-block-portfolio-on-main .field--name-field-photo .field__item:nth-child(10) {
    display: none;
  }
  #block-block-portfolio-on-main .view-footer {
    margin-top: 30px;
  }
  #block-block-portfolio-on-main .view-footer a:nth-child(1) {
    display: none;
  }

  /***Блок "Услуги" на главной***/
  .view-services .views-row {
    width: 100%;
  }

}
