@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1180px!important;
}
.masthead:not(.side-header):not(.side-header-menu-icon) .header-bar {
    max-width: calc(1400px - 55px - 55px)!important;
    margin: 0 auto;
}
}

.vc_row[data-vc-full-width-temp],
.vc_section[data-vc-full-width-temp] {
  padding-bottom: 50px;
}

#page {
  background: #eeeef0 !important;
  background-size: auto;
}
#main {
  padding: 0 !important;
}

/* Приклади наших реалізованих проєктів */

.example {
  margin-top: 50px;
}

.example .exampletitle {
  text-align: center;
  margin-bottom: 60px;
}

.example .exampletitle h4 {
  font-size: 30px;
  color: #112941;
}

.example .examplelemtsebox {
  margin-top: 60px;
}

.example .examplebox {
  background-color: white;
  border-radius: 26px;
  min-height: 400px;
  max-height: 444px;
  padding: 11px;
  margin-bottom: 20px;
}
.example .examplebox .exampleimg img {
  width: 100%;
  text-align: center;
  border-radius: 15px;
}

.exampletext {
  margin-top: 30px;
  /* display: flex;*/
  align-items: flex-start;
  gap: 0px;
}

.exampletext img {
  display: block;
  margin-top: 9px;
}

.exampletext h5 {
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
  margin: 0;
  margin-top: 5px;
}

.exampletext .col-1 {
  width: 4.333333%;
}

/* Від ідеї до реалізації ваших проєктів */

.idea {
  margin-top: 80px;
}

.idea h4 {
  font-size: 30px;
  color: #112941;
}

.idea p {
  font-size: 18px;
  line-height: 30px;
  color: #112941;
}

.idea .ideabox {
  min-height: 300px;
  max-height: 536px;
  background-color: white;
  border-radius: 10px;
  text-align: center;
  padding: 25px;
}
.idea .ideabox img {
  width: 100%;
}

.idezbutton {
  margin-top: 60px;
}

/* Замовити проєкт */

.application {
  margin-top: 60px;
}

.application h4 {
  font-size: 30px;
  color: #112941;
}

.application p {
  font-size: 16px;
  color: #112941;
  line-height: 28px;
  margin-top: 15px;
}

.mail {
  height: 132px;
}

.applicationblock .phone {
  height: 172px;
  background-color: white;
  border-radius: 18px;
  margin-top: 18px;
}

.mess,
.mail,
.form {
  background-color: white;
  border-radius: 18px;
  margin-top: 18px;
  min-height: 130px;
  max-height: 700px;
}

.aboutuscontent h5,
.servicesbox h6,
.conactbox h6 {
  color: #fff;
}

.modal form input,
.modal form textarea {
  border-radius: 22px;
  font-size: 14px;
  color: #112941;
}
.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #ffcc00 !important;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgb(255 204 0 / 12%) !important;
}

.modal form button {
  background: #ffcc00;
  color: #183b56;
  padding: 12px 30px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  transition: 0.3s;
}

.mess h6,
.mail h6,
.phone h6 {
  font-weight: 600;
  color: #112941;
  font-size: 22px;
}

.applicationblock .form {
  min-height: 512px;
  max-height: 700px;
}

.applicationblock .form input,
.form textarea {
  border-radius: 22px;
  border: 1px solid #112941;
  font-size: 18px;
  margin-top: 15px;
}

.form button {
  background: #ffcc00;
  color: #183b56;
  padding: 20px 30px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  transition: 0.3s;
  margin-top: 12px;
}

.blocktitle {
  display: inline-flex;
}

.blocktitle img,
svg {
  align-self: center;
  vertical-align: bottom;
}

.phone a {
  color: #112941;
  text-decoration: none;
}

.cardbox a {
  color: #112941;
  text-decoration: none;
}

.contact p {
  font-size: 18px;
  line-height: 30px;
  color: #112941;
}

.socialbutton {
  background-color: #112941;
  color: white;
  padding: 14px 10px 15px 10px;
  border-radius: 37px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

/* Мобилки: кнопки занимают всю ширину */
@media (max-width: 575.98px) {
  .socialbutton {
    width: 100%;
    min-width: auto; /* сброс */
  }
}

.applicationblock input {
  height: 60px;
}

/* Про нас */
.aboutusfluid {
  background-color: #183b56;
  margin-top: 120px;
  min-height: 820px;
  max-height: 1900px;
}

.aboutuscontent {
  margin-top: 60px;
  background-color: #112941;
  padding: 24px;
  color: white;
  border-radius: 20px;
  min-height: 276px;
  max-height: 500px;
}

.aboutuscontent .aboutustitle {
  display: inline-flex;
}

.aboutustitle img,
svg {
  align-self: center;
  vertical-align: bottom;
}

.contentpage .aboutustitle h5,
h,
.contentpage .aboutusconten h5,
ht,
.contentpage .servicestitle h6,
.contentpage .contacttitle h6,
.contentpage .servicesbox h5,
h6 {
  font-size: 22px;
  color: #fff;
}

.aboutustext p {
  font-size: 18px;
  line-height: 30px;
  margin-top: 20px;
  font-weight: 300;
}

.aboutuscontent button {
  margin-top: 20px;
}

.servicesbox {
  margin-top: 30px;
  background-color: #112941;
  padding: 24px;
  color: white;
  border-radius: 20px;
  min-height: 404px;
  max-height: 545px;
}

.servicesbox li {
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 30px;
}

.servicesbox ul {
  margin-top: 25px;
}

.conactbox {
  margin-top: 30px;
  background-color: #112941;
  padding: 24px;
  color: white;
  border-radius: 20px;
  min-height: 404px;
  max-height: 665px;
  margin-bottom: 50px;
}

.conactphone {
  margin-top: 25px;
  font-size: 18px;
  line-height: 30px;
}

.conactphone a {
  color: #fff;
  text-decoration: none;
}

.contactelementadres,
.contactelementgrafick {
  margin-top: 36px;
}

/* Mobile */

/* Планшеты (до 992px) */
@media (max-width: 991.98px) {
  .banerhome {
    height: auto;
    padding: 80px 20px;
  }

  .banerhome .banerconntent h1 {
    font-size: 42px;
    line-height: 1.2;
  }

  .banerhome .banerconntent p {
    font-size: 20px;
    margin-bottom: 32px;
  }

  .buttonY {
    font-size: 18px;
    padding: 18px 50px;
  }

  /* PAGE ARHITECKTURA */
  .banerhomeathitecktura {
    height: auto;
    padding: 80px 20px;
  }

  .banerhomeathitecktura .banerconntent h1 {
    font-size: 42px;
    line-height: 1.2;
  }

  .banerhomeathitecktura .banerconntent p {
    font-size: 20px;
    margin-bottom: 32px;
  }
}

/* Мобильные (до 576px) */
@media (max-width: 575.98px) {
  .banerhome {
    padding: 60px 15px;
  }

  .banerhome .banerconntent {
    padding: 20px;
  }

  .banerhome .banerconntent h1 {
    font-size: 32px;
    padding-bottom: 20px;
    line-height: 46px;
    font-weight: 700;
  }

  .banerhome .banerconntent p {
    font-size: 18px;
    margin-bottom: 24px;
    font-weight: 500;
    line-height: 36px;
  }

  .social-icons a {
    display: none !important;
  }

  .buttonY {
    font-size: 16px;
    padding: 14px 35px;
    border-radius: 15px;
  }
  /* PAGE ARHITECKTURA */
  .banerhomeathitecktura {
    padding: 60px 15px;
  }

  .banerhomeathitecktura .banerconntent {
    padding: 20px;
  }

  .banerhomeathitecktura .banerconntent h1 {
    font-size: 32px;
    padding-bottom: 20px;
    line-height: 46px;
    font-weight: 700;
  }

  .banerhomeathitecktura .banerconntent p {
    font-size: 18px;
    margin-bottom: 24px;
    font-weight: 500;
    line-height: 36px;
  }

  /* PAGE MEREZHA */
  .banerhomeamerezha {
    padding: 60px 15px;
  }

  .banerhomeamerezha .banerconntent {
    padding: 20px;
  }

  .banerhomeamerezha .banerconntent h1 {
    font-size: 32px;
    padding-bottom: 20px;
    line-height: 46px;
    font-weight: 700;
  }

  .banerhomeamerezha .banerconntent p {
    font-size: 18px;
    margin-bottom: 24px;
    font-weight: 500;
    line-height: 36px;
  }
}

.scrol-button {
  padding: 14px 18px;
  border-radius: 8px;
  color: #000;
  border: #ffcc00 1px solid;
  text-decoration: none;
}
.scrol-button:hover {
  background-color: #e6b800;
  color: #000;
}
.scrol-button-activiti {
  padding: 14px 18px;
  border-radius: 8px;
  color: #000;
  border: #ffcc00 1px solid;
  background-color: #ffcc00;
  text-decoration: none;
}
.scrol-button-activiti:hover {
  background-color: #e6b800;
  color: #000;
}

.scroll-wrapper-container {
  position: relative;
  width: 100%;
}

.x-scrollable-line {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  cursor: grab;

  /* Симметричные технические отступы, чтобы в крайних точках кнопки не были прозрачными */
  padding-left: 40px;
  padding-right: 40px;

  /* Компенсируем отступ слева, чтобы первая кнопка визуально стояла ровно по сетке */
  margin-left: -40px;
  width: calc(100% + 40px);
}

/* Динамическая маска (чтобы первая кнопка НЕ была прозрачной по дефолту) */
.x-scrollable-line.mask-both {
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 15%,
    rgba(0, 0, 0, 1) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 15%,
    rgba(0, 0, 0, 1) 85%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* в начале: слева НЕ гасим, гасим только справа */
.x-scrollable-line.mask-right {
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 85%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* в конце: справа НЕ гасим, гасим только слева */
.x-scrollable-line.mask-left {
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 15%,
    rgba(0, 0, 0, 1) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 15%,
    rgba(0, 0, 0, 1) 100%
  );
}

/* если всё помещается — маску выключаем */
.x-scrollable-line.mask-none {
  -webkit-mask-image: none;
  mask-image: none;
}

.x-scrollable-line.active-dragging {
  cursor: grabbing;
  user-select: none;
}
.x-scrollable-line::-webkit-scrollbar {
  display: none;
}
.x-scrollable-line {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.exampletext img {
  max-width: 16px;
  width: 100%;
  height: auto;
  display: inline-block;
}
.exampletext .row {
  display: flex;
  align-items: start !important;
}

.exampletext img {
  max-width: 16px;
  width: 100%;
  height: auto;
  display: inline-block;
}
.exampletext .row {
  display: flex;
  align-items: start !important;
}
