.light {
  font-family: Gilroy-Light;
}

.regular {
  font-family: Gilroy-Regular;
}

.regular-italic {
  font-family: Gilroy-Regularitalic;
}

.medium {
  font-family: Gilroy-Medium;
}

.semibold {
  font-family: Gilroy-Semibold;
}

.bold {
  font-family: Gilroy-Bold;
}

@media (max-width: 1199px) {
  #header {
    background: url("../../assets/img/header-bg.jpg") top/cover no-repeat;
    padding-bottom: 150px;
    overflow: hidden;
  }
}

#success {
  background: url("../../assets/img/success-bg.jpg") center/cover no-repeat;
}

@media (min-width: 1200px) {
  #header {
    background: url("../../assets/img/header-bg.jpg") top no-repeat;
    min-height: 800px;
  }
}

#header {
  position: relative;
}

@media (max-width: 575px) {
  .txt24 {
    font-size: 19px;
    line-height: 1.2em;
  }
  .txt26 {
    font-size: 20px;
    line-height: 1.2em;
  }
}

@media (min-width: 576px) {
  .txt24 {
    font-size: 24px;
    line-height: 1.2em;
  }
  .txt26 {
    font-size: 26px;
    line-height: 1.2em;
  }
}

@media (min-width: 576px) {
  .txt40 {
    font-size: 40px;
    line-height: 1.2em;
  }
}

@media (max-width: 575px) {
  .txt40 {
    font-size: 30px;
    line-height: 1.2em;
  }
}

.osw-semibold {
  font-family: Oswald, sans-serif;
  font-weight: 600;
}

.dark {
  color: #000;
}

.txt12 {
  font-size: 12px;
}

.grey {
  color: #47617a;
}

.logo-desc {
  max-width: 180px;
}

@media (min-width: 576px) {
.logo {
  max-width:200px;
}}
@media (max-width: 575px) {
.logo {
  max-width:140px;
}}

@media (min-width: 576px) {
.txt20 {
  font-size: 20px;
  line-height: 1.2em;
}}
@media (max-width: 575px) {
.txt20 {
  font-size: 17px;
  line-height: 1.2em;
}}

.osw-medium {
  font-family: Oswald, sans-serif;
  font-weight: 500;
}

.callback-btn:hover {
  border: 1px solid #d13c23;
  background: #d13c23;
  color: #fff;
  text-transform: uppercase;
  padding: 10px 20px;
  transition: all 0.3s ease-in-out;
}

.callback-btn {
  border: 1px solid #d13c23;
  color: #d13c23;
  text-transform: uppercase;
  padding: 10px 20px;
  transition: all 0.3s ease-in-out;
}

.osw-regular {
  font-family: Oswald, sans-serif;
  font-weight: 400;
}

@media (max-width: 1199px) {
  .title {
    margin-top: 30px;
  }
}

@media (min-width: 1200px) {
  .title {
    margin-top: 70px;
  }
}

@media (min-width: 576px) {
	.txt36 {
		font-size: 36px;
		line-height: 1.2em;
	}

	.txt32 {
		font-size: 32px;
		line-height: 1.2em;
	}
}

@media (max-width: 575px) {
	.txt36 {
		font-size: 24px;
		line-height: 1.2em;
	}

	.txt32 {
		font-size: 23px;
		line-height: 1.2em;
	}
}

@media (max-width: 575px) {
  .txt30 {
    font-size: 24px;
    line-height: 1.2em;
  }
}

@media (min-width: 576px) {
  .txt30 {
    font-size: 30px;
    line-height: 1.2em;
  }
}

.osw-light {
  font-family: Oswald, sans-serif;
  font-weight: 300;
}

.osw-bold {
  font-family: Oswald, sans-serif;
  font-weight: 700;
}

ul li {
  margin-bottom: 10px;
}

.blue-btn {
  background: #b2002a;
  color: #000;
  border-radius: 10px;
  padding: 20px 20px 25px 20px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 576px) {
.txt22 {
  font-size: 22px;
  line-height:1.2em;
}}
@media (max-width: 575px) {
.txt22 {
  font-size: 18px;
  line-height:1.2em;
}}

.blue-btn .flare {
  position: absolute;
  top: 0;
  height: 100%;
  width: 145px;
  transform: skewX(-45deg);
  animation: flareAnimation;
  left: -150%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.7));
  animation: flareAnimation 3s infinite linear;
}

@keyframes flareAnimation {
  0% {
    left: -250%;
  }
  100% {
    left: 250%;
  }
}

@media (max-width: 1199px) {
  .white {
    padding-bottom: 50px;
  }
}

@media (max-width: 767px) {
  .white {
    background: rgba(255,255,255,0.5);
  }
}

@media (min-width: 768px) {
  #quiz {
    padding-bottom: 100px;
  }
}

@media (max-width: 767px) {
  #quiz {
    padding-bottom: 70px;
  }
}

.uppercase {
  text-transform: uppercase;
}

#q1661258658 .b-quizgo-wrapper__inner-block {
  height: inherit;
  min-height: inherit;
}

#q1661258658 {
  position: relative;
  width: 100%;
  padding: 0px;
  margin: 0px auto;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  #q1661258658 {
    height: 650px;
  }
}

#cases {
  padding-top: 70px;
  padding-bottom: 70px;
  background:#f9f9f9;
}

.nav-item {
  width: 25%;
  padding: 1px;
}

.nav-link {
  padding: 33%;
  position: relative;
}

.carousel-control-prev {
  width: 60px;
  height: 60px;
  background: rgba(0,0,0,0.45);
  border-radius: 50%;
  margin: auto;
}

.carousel-control-next {
  width: 60px;
  height: 60px;
  background: rgba(0,0,0,0.45);
  border-radius: 50%;
  margin: auto;
}

.nav-link img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.txt14 {
  font-size: 14px;
  line-height: 1.2em;
}

.txt16 {
  font-size: 16px;
  line-height: 1.2em;
}

.txt18 {
  font-size: 18px;
  line-height: 1.2em;
}

.carousel-indicators {
  bottom: -50px;
}

@media (max-width: 767px) {
  .carousel-control-prev {
    top: -40%;
  }
}

@media (max-width: 767px) {
  .carousel-control-next {
    top: -40%;
  }
}

.underline {
  text-decoration: underline;
}

.text-input {
  padding: 35px 20px 38px 20px;
  margin-bottom: 10px;
  border-radius: 10px;
}

.dark-bg {
  background: rgba(0,0,0,0.75);
  padding-bottom: 80px;
}

div.b-quizgo-wrapper__inner-block {
  height: inherit;
}

@media (min-width: 576px) {
  .preim {
    max-width: 165px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0,0,0,0.15);
    padding: 15px;
    margin-left: auto;
  }
}

@media (max-width: 575px) {
  .preim {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0,0,0,0.15);
    padding: 15px;
  }
}

.tab-pane {
  border-radius: 20px;
  overflow: hidden;
}

.nav-link img {
  border-radius: 15px;
}

.quiz-body {
  margin-top: -100px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 0 50px rgba(0,0,0,0.15);
  overflow: hidden;
  position:relative;
}

@media (max-width:767px) {
  .quiz-body {
    position: relative;
    padding: 30px 0;
  }
}

.tag-city {
  background: #b2002a;
  color: #000;
  border-radius: 10px;
  padding: 15px 40px;
}

@media (min-width: 576px) {
  .tag-city {
    display: inline-block;
  }
}

.arrow {
  position: relative;
}

.arrow img {
  position: absolute;
  top: 15px;
  left: 10px;
}
/*
.header-man {
  position: absolute;
  bottom: 0;
  left: 510px;
  right: 0;
  margin: auto;
}

@media (min-width: 992px) and (max-width:1199px) {
  .header-man {
    width: 600px;
    left: 390px;
  }
}*/

.prj-crsl {
  border-radius: 20px;
  /*overflow: hidden;*/
}

.crsl-text {
  position: absolute;
  bottom: 0;
  z-index: 9;
  padding: 0 20px 20px 20px;
}

.carousel-item.prj {
  height: 400px;
  border-radius: 20px;
}

.info-link {
  position: relative;
}

.info-txt {
  background: #fff;
  position: absolute;
  bottom: 25px;
  padding: 20px 20px 20px 0;
  border-radius: 20px;
  z-index: 99;
  display: none;
  box-shadow: 0 0 40px rgba(0,0,0,0.15);
}

.info-link:hover .info-txt {
  display: block;
}

.p-title {
  max-width: 400px;
}

.type-item {
  padding: 30px;
  border-radius: 20px;
  height: 350px;
}

.type-txt {
}

@media (max-width: 575px) {
  .crsl-text .txt20 {
    font-size: 16px;
    line-height: 1.2em;
  }
}



/*********QUIZ3********/

#block2000 {
	max-width: 2000px;
	margin: auto;
	box-shadow: 0 0 80px rgba(0, 0, 0, 0.20);
	position: relative;
  overflow: hidden;
}



.pin-static {
	position: absolute;
	margin: 6px 0px 0px -15px;
	width: 6px;
	height: 6px;
	background-color: #b2002a;
	border-radius: 8px;
}

.pin-active {
	top: 2px;
	bottom: 2px;
	left: 2px;
	right: 2px;
	position: absolute;
	background-color: #b2002a;
	border-radius: 50%;
	animation: growth 1.5s infinite ease-in-out;
}

@keyframes growth {
	from {
		top: 2px;
		bottom: 2px;
		left: 2px;
		right: 2px;
		opacity: 0.8;
	}

	to {
		top: -20px;
		bottom: -20px;
		left: -20px;
		right: -20px;
		opacity: 0;
	}
}




@media (min-width: 992px) {
	#quiz3-header {
		background: url(../../assets/img/quiz3-bg.jpg) top/auto no-repeat;
		min-height: 800px;
		position: relative;
	}
}

@media (max-width: 991px) {
	#quiz3-header {
		background: url(../../assets/img/quiz3-bg.jpg) top/cover no-repeat;
		min-height: 800px;
		position: relative;
		padding-bottom: 50px;
    overflow:hidden;
	}
}

@media (max-width:767px) {
	#quiz3-header {
		padding-bottom: 50px;
	}
}

@media (min-width: 992px) {
	.quiz3-body {
		min-height: 650px;
		position: relative;
	}
}

@media (min-width: 992px) {
	.quiz3-title-body {
		margin-top: 50px;
		max-width: 750px;
	}
}

@media (min-width: 768px) and (max-width:991px) {
	.quiz3-title-body {
		margin-top: 50px;
		max-width: 500px;
		position: relative;
		z-index: 1;
	}

}

@media (min-width: 768px) {
	.header-man {
		position: absolute;
		bottom: 0;
		left: 52%;
	}
}

@media (max-width: 767px) {
	.header-man {
		position: relative;
		bottom: 0;
		padding-top: 30px;
	}
}

@media (max-width: 575px) {
	.h-man {
		max-height: 500px;
	}
}

@media (min-width: 992px) {
	.header-man-tag {
		position: absolute;
		top: 350px;
		left: 50px;
	}
}

@media (min-width: 0px) and (max-width:991px) {
	.header-man-tag {
		position: absolute;
		top: 300px;
		left: 100px;
	}
}

.header-pre {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 0 50px rgba(0, 0, 0, 0.15);
	max-width: 555px;
	padding: 20px;
}

.pre-ico {
	height: 50px;
	position: relative;
	margin-bottom: 10px;
}

@media (min-width: 576px) {
.pre-ico img {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}}

#quiz3-block {
	padding-top: 80px;
	padding-bottom: 60px;
  background: #f9f9f9;
}

.top-line {
	border-top: 1px solid #ddd;
	padding-top: 30px;
}

#footer {
	padding-top: 40px;
	padding-bottom: 40px;
}

.red-btn {
	background: linear-gradient(to bottom, rgba(255, 122, 64), rgba(247, 2, 7));
	padding: 20px 40px;
	border: 1px solid #ff7a40;
	border-radius: 10px;
	box-shadow: 0 3px #c22b2e, 0 4px 3px #3f090a, 0 0 20px rgba(161, 0, 3, 0.4);
	transition: all 0.3s ease-in-out;
	position: relative;
	overflow: hidden;
}

.red-btn:hover {
	background: linear-gradient(to bottom, rgba(247, 2, 7), rgba(255, 122, 64));
	box-shadow: 0 3px #c22b2e, 0 1px 2px #3f090a, 0 0 20px rgba(161, 0, 3, 0.4);
	transition: all 0.3s ease-in-out;
}

.red-btn .flare {
	position: absolute;
	top: 0;
	height: 100%;
	width: 45px;
	transform: skewX(-45deg);
	animation: flareAnimation;
	left: -150%;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.7));
	animation: flareAnimation 3s infinite linear;
}

@keyframes flareAnimation {
	0% {
		left: -250%;
	}

	100% {
		left: 250%;
	}
}


/*********QUIZ3********/

/*********fancyBox********/
.fancybox__container {
  --fancybox-color: #0d0c22;
  --fancybox-bg: #fff;
  --f-spinner-color-1: rgba(0, 0, 0, 0.1);
  --f-spinner-color-2: rgba(17, 24, 28, 0.8);

  flex-direction: column-reverse;
}

.fancybox__toolbar {
  --f-button-bg: #f3f3f4;
  --f-button-hover-bg: #e7e7e9;
  --f-button-active-bg: #e7e7e9;
  --f-button-color: #0d0c22;
  --f-button-hover-color: #0d0c22;

  --f-button-border-radius: 8px;

  --f-button-svg-width: 20px;
  --f-button-svg-height: 20px;

  --f-button-svg-stroke-width: 1.5;
  --f-button-svg-filter: none;

  padding: 30px;
  z-index: 10;
}

.fancybox__slide {
  padding: 12px 0px;
}

.fancybox__thumbs.is-classic {
  --f-thumb-gap: 3px;
  --f-thumb-width: 88px;
  --f-thumb-height: 66px;
  --f-thumb-opacity: 1;
  --f-thumb-outline: 3px;
  --f-thumb-outline-color: #ea4c89;
  --f-thumb-border-radius: 6px;
  --f-thumb-offset: 4px;

  padding: 10px 100px 10px 26px;
  border-bottom: 2px solid #f3f3f4;
}

/* Align thumbnails on right side if not draggable */
.f-thumbs__viewport:not(.is-draggable) .f-thumbs__track {
  justify-content: flex-end;
}

.f-thumbs__slide__img {
  border-radius: 7px;
}

.fancyimg {
  padding:35%;
  width:20%;
}
.fancyimg img {
  width:100%;
  object-fit: cover;
}
.rounded {
  margin-bottom:4px;
}
.grid {
  margin:auto;
  text-align: center;
}
/*********fancyBox********/


#video-work {
  padding-top:80px;
  padding-bottom:80px;
  background: #f5f5f5;
}

#preim-body {
  background:#f9f9f9;
}
/*
@media (max-width:991px) {
#preim-body {
  padding-top:50px;
  padding-bottom: 50px;
}}
*/
@media (min-width: 992px) {
.preim-block {
  margin-top:-95px;
}}

@media (max-width: 991px) {
.preim-block {
  margin-top:-70px;
}}

.case-body {
  background: #fff;
  border-radius:20px;
  overflow:hidden;
  height:100%;
}

.case-txt {
  padding:30px;
}

.case-img {
  padding:36%;
}

.case-img-prev {
  padding:36%;
  border-radius:10px;
}

.nav-link {
  padding:inherit;
  width:33%;
}

.nav-tabs {
  border-bottom:none;
  padding-top: 1px;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  border:none;
}

.nav-link .case-img-prev {
  opacity:0.4;
}
.nav-link.active .case-img-prev {
  opacity:1;
}

#preimushestva {
  padding-top:80px;
  padding-bottom:80px;
}

#preimushestva .item {
  background:#fff;
  box-shadow:0 0 40px rgba(0,0,0,0.1);
  border-radius:20px;
  overflow:hidden;
  position:relative;
  height:100%;
}

@media (min-width: 992px) {
#preimushestva .item {
    padding:50px 40px 50px 200px;
}}
@media (min-width: 576px) and (max-width: 991px) {
#preimushestva .item {
    padding:30px 30px 200px 30px;
}}
@media (max-width: 575px) {
#preimushestva .item {
    padding:20px 20px 150px 20px;
}}

@media (min-width: 992px) {
.preim-img-1 {
  position:absolute;
  left:-10px;
  top:20px;
}

.preim-img-2 {
  position:absolute;
  left:-60px;
  top:20px;
}

.preim-img-3 {
  position:absolute;
  left:-10px;
  top:20px;
}

.preim-img-4 {
  position:absolute;
  left:-20px;
  top:20px;
}
}

@media (min-width: 576px) and (max-width: 991px) {
  .preim-img-1, .preim-img-2, .preim-img-3, .preim-img-4 {
    position:absolute;
    left:-100px;
    right:-100px;
    margin:auto;
  }
  .preim-img-1 {
    bottom:-130px;
  }
  .preim-img-2 {
    bottom:-130px;
  }
  .preim-img-3 {
    bottom:-100px;
  }
  .preim-img-4 {
    bottom:-100px;
  }
}

@media (max-width: 575px) {
  .preim-img-1, .preim-img-2, .preim-img-3, .preim-img-4 {
    position:absolute;
    left:-100px;
    right:-100px;
    margin:auto;
    zoom:0.7;
  }
  .preim-img-1 {
    bottom:-120px;
  }
  .preim-img-2 {
    bottom:-110px;
  }
  .preim-img-3 {
    bottom:-80px;
  }
  .preim-img-4 {
    bottom:-90px;
  }
}

@media (max-width: 575px) {
.txt20.phone-txt {
  font-size: 17px;
}
.txt22.regular-italic {
  font-size: 19px;
}}



.video-widget {
            position: fixed;
            bottom: 20px; /* Расположение виджета */
            right: 20px;
            width: 300px; /* Размер виджета */
            /*height: 170px;*/
            z-index: 9999;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            border-radius: 10px;
            overflow: hidden;
            background-color: #fff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease-in-out;
            cursor:pointer;
        }

        /* Стиль для кнопки закрытия */
        .close-btn {
            position: absolute;
            top: 5px;
            right: 5px;
            background-color: #ff4d4d;
            color: white;
            border: none;
            border-radius: 50%;
            width: 25px;
            height: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            cursor: pointer;
            z-index: 10000;
        }

        /* Кнопка с призывом к действию */
        .cta-button {
            margin-top: 10px;
            margin-bottom:10px;
            padding: 10px 20px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 14px;
            text-align: center;
        }

        .cta-button:hover {
            background-color: #0056b3;
        }

        .clips-button {
          transition: all 0.3s ease-in-out;
          height:0px;
        }
        .video-widget-big .clips-button{
          transition: all 0.3s ease-in-out;
          height:90px;
        }

        .video-widget {
          transition: all 0.3s ease-in-out;
          width:150px;
        }
        @media (min-width: 576px) {
        .video-widget-big {
          width:350px;
        }}
        @media (max-width: 575px) {
        .video-widget-big {
          width:80%;
        }}
