@import url('../fonts/roboto-wix.css');

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 140%;
  margin-top: 20px;
  background: #f5f5f7;
}

.orange {
  color: #ff8c00;
}

.pantone {
  color: #015a99;
}

.bg-pantone {
  background: #033f69;
}

.bg-antra {
  background: #57595d;
}

.bg-ya {
  background: #e8eeef;
}

.border-ya {
  border-color: #e8eeef !important;
}

.bg-dh {
  background-image: linear-gradient(160deg, #1d3a67, #1d3a67, rgb(56, 89, 155));
}


@media (min-width: 640px) .title--h1 {
  font-size: 2rem;
  line-height: 1.2;
}

@media (min-width: 1440px) .title--h1 {
  font-size: 3rem;
  line-height: 1.25;
}


.fone {
  background-image: url(/img/pattern-bg.jpg);
}


.toptop {
  margin-top: -60px;
  z-index: 2 !important;
  position: relative;
}

div.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 80px;
  padding: 5px;
  font-size: 20px;
}

@media(max-width:991px) {
  div.sticky {
    top: 75px;
  }
}

/* Портфолио */
.about_section .about_img img {
  max-width: 100%;
  /* border-radius:15px;
    box-shadow:0 16px 28px 0 rgba(8,56,103,.5); */
}

@media (min-width:992px) {
  .about_section .about_img img {
    width: 60%;
  }

  .about_section .about_img_2 {
    margin: -180px 0 0 270px;
  }

  .about_section .about_img_3 {
    margin: -20px 0 0 40px;
  }
}

@media(max-width:991px) {
  .about_section .about_img img {
    margin: 0.5rem 0;
  }
}

.effect {
  text-stroke: 2px #ff8c00;
  text-shadow: -1px -1px 0 #ff8c00, 1px -1px 0 #ff8c00, -1px 1px 0 #ff8c00, 1px 1px 0 #ff8c00;
  color: #fff;
  display: block;
  font-weight: 700;
  letter-spacing: calc(1em / 5);
}




.rotate-right {
  transform: rotate(90deg);
}








ul {
  list-style: none;
}


.complete::before {
  content: url(/assets/icons/done.svg);
  margin-right: 5px;
  margin-bottom: -1em;
}

.arrow::after {
  content: url(/img/east_black_24dp.svg);
  margin-left: 5px;
  top: 5px;
  position: absolute;
}


.text-gradient {
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);
  animation: animatedgradient 3s ease alternate infinite;
  background-size: 300% 300%;
}

@keyframes animatedgradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}




.bg-blue {
  background-image: linear-gradient(335deg, #accbee 0%, #e7f0fd 100%);
}





.callbutton {
  text-align: center;
  border: none;
  outline: none;
  cursor: pointer;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.88);
  }

  100% {
    transform: scale(1);
  }
}



/* ЛАЙТБОКС */
/* увеличенная картинка */
#magnify {
  display: none;
  position: fixed;
  /* max-width: 600px; */
  height: auto;
  z-index: 9999;
}

#magnify img {
  width: 100%;
}

/* затемняющий фон */
#overlay {
  display: none;
  background: #000;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0.75;
  z-index: 9990;
}

/* кнопка закрытия */
#close-popup {
  width: 30px;
  height: 30px;
  background: #033f69;
  border-radius: 15px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 15px;
}

#close-popup i {
  width: 30px;
  height: 30px;
  background: url(/img/close.svg) no-repeat center center;
  background-size: 22px 22px;
  display: block;
}

@keyframes rota {
  25% {
    transform: rotate(360deg);
  }
}

#close-popup:hover {
  animation: rota 4s infinite normal;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

/* ЛЕНИВАЯ ЗАГРУЗКА */
img {
  opacity: 1;
  transition: opacity 0.3s;
}

img[data-src] {
  opacity: 0;
}

.bg-pattern {
  background-image: url("/assets/img/cubes.png");
}


/* Cookie consent — final */
.dh-cookie {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 1080;
	display: none;
	max-width: 500px;
	margin: 0 auto;
	padding: 12px 12px 12px 14px;
	background: #fff;
	color: #343a40;
	border: 1px solid #d6d9dc;
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .07);
	font-size: 14px;
	line-height: 1.35;
}

.dh-cookie--visible {
	display: block;
}

.dh-cookie__row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.dh-cookie__text {
	flex: 1 1 auto;
	min-width: 0;
}

.dh-cookie__actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
}

.dh-cookie__link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
}

.dh-cookie__close {
	position: relative;
	flex: 0 0 20px;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 0;
	cursor: pointer;
}

.dh-cookie__close::before,
.dh-cookie__close::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 14px;
	height: 1.5px;
	background: #bfc3c7;
	transform-origin: center;
}

.dh-cookie__close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.dh-cookie__close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.dh-cookie__close:hover::before,
.dh-cookie__close:hover::after {
	background: #9fa4a9;
}

@media (max-width: 767.98px) {
	.dh-cookie {
		left: 8px;
		right: 8px;
		bottom: 8px;
		max-width: none;
		padding: 11px 10px 11px 12px;
		font-size: 13px;
	}

	.dh-cookie__row {
		gap: 8px;
	}

	.dh-cookie__actions .btn {
		white-space: nowrap;
	}
}

/* Главные карточки гаражей: до инициализации Slick показываем только первый кадр.
   Это исключает появление фотографий друг под другом при загрузке страницы. */
.twogarage {
  overflow: hidden;
}

.twogarage:not(.slick-initialized) > div:not(:first-child) {
  display: none;
}

