.light {
  font-family: Gilroy-Light;
}

.regular {
  font-family: Gilroy-Regular;
}

.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/quiz3-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: 25px;
  }
}

@media (min-width: 576px) {
  .txt24 {
    font-size: 24px;
    line-height: 30px;
  }
}

@media (min-width: 576px) {
  .txt40 {
    font-size: 40px;
    line-height: 45px;
  }
}

@media (max-width: 575px) {
  .txt40 {
    font-size: 30px;
    line-height: 35px;
  }
}

.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;
}

.txt20 {
  font-size: 20px;
  line-height: 25px;
}

.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: 42px;
	}

	.txt32 {
		font-size: 32px;
		line-height: 40px;
	}
}

@media (max-width: 575px) {
	.txt36 {
		font-size: 27px;
		line-height: 33px;
	}

	.txt32 {
		font-size: 23px;
		line-height: 29px;
	}
}

@media (max-width: 575px) {
  .txt30 {
    font-size: 24px;
    line-height: 29px;
  }
}

@media (min-width: 576px) {
  .txt30 {
    font-size: 30px;
    line-height: 35px;
  }
}

.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: #fa0c09;
  color: #fff;
  border-radius: 10px;
  padding: 20px 20px 25px 20px;
  position: relative;
  overflow: hidden;
}

.txt22 {
  font-size: 22px;
}

.blue-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%;
  }
}

@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;
}

.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: 19px;
}

.txt16 {
  font-size: 16px;
  line-height: 21px;
}

.txt18 {
  font-size: 18px;
}

.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;
}

#footer .container {
  border-top: 2px solid #eee;
}

.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: #fa0c09;
  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: 19px;
  }
}



/*********QUIZ3********/

#block2000 {
	max-width: 2000px;
	margin: auto;
	box-shadow: 0 0 80px rgba(0, 0, 0, 0.20);
	position: relative;
}



.pin-static {
	position: absolute;
	margin: 6px 0px 0px -15px;
	width: 6px;
	height: 6px;
	background-color: #fa0c09;
	border-radius: 8px;
}

.pin-active {
	top: 2px;
	bottom: 2px;
	left: 2px;
	right: 2px;
	position: absolute;
	background-color: #fa0c09;
	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;
	}
}

@media (max-width:767px) {
	#quiz3-header {
		padding-bottom: 0;
	}
}

@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;
}

.pre-ico img {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}

#quiz3-block {
	padding-top: 80px;
	padding-bottom: 60px;
}

.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(250, 12, 9), rgb(192, 14, 11));
	padding: 20px 40px;
	border: 1px solid #fa0c09;
	border-radius: 10px;
	box-shadow: 0 3px #830907, 0 4px 3px #3f090a, 0 0 20px rgba(156, 13, 11, 0.4);
	transition: all 0.3s ease-in-out;
	position: relative;
	overflow: hidden;
}

.red-btn:hover {
	background: linear-gradient(to bottom, rgba(192, 14, 11), rgba(250, 12, 9));
	box-shadow: 0 3px #830907, 0 1px 2px #3f090a, 0 0 20px rgba(156, 13, 11, 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;
}

@media (min-width: 1200px) {
.header-man-success {
  margin: -50px 0 -80px 0;
}}

@media (min-width: 992px) and (max-width:1199px) {
  .header-man-success {
  margin: 0px 0 -80px 0;
}
  .header-man-success .h-man {
    max-height:550px;
  }
}

@media (min-width: 576px) and (max-width:991px) {
  .header-man-success {
  margin: 40px 0 -80px 0;
}
  .header-man-success .h-man {
    max-height:650px;
  }
}

@media (max-width: 575px) {
  .header-man-success {
  margin: 40px 0 -80px 0;
}
}