.service{
	position:relative;
	background-color: transparent;
	color: var(--bs-text);
}

@media (min-width: 992px) {
	.service{
		height:100%;
	}
}

.service a{
	color: var(--bs-secondary);
}

.service strong, .service b{
	font-weight:bold;
}

.service i{
	font-style: italic;
}

.service ul{
	display: block;
	list-style-type: none;
	
	padding-left: 12px;
	text-align:left;
}

.service ul li::before{
	content: '\2022';
	color: var(--bs-secondary);
	position: absolute;
	margin-left: -12px;
}

.service img{
	max-width:100%;
}

.service .tabs::before{
	content:'';
	display:block;
	position:absolute;
	width: 200px;
	height:100%;
	background:transparent;
	z-index:1;
}

.service .tabs .tab{
	transition: all 0.15s ease-out 0s;
	position:relative;
	background-color: var(--bs-blocks-service);
	width: 265px;
	height: calc(100%/4);
	margin-bottom: 0px;
	color: var(--bs-secondary);
	font-weight:bold;
	text-align: center;
	padding-left: 65px;
	box-sizing: border-box;
	cursor: pointer;
	z-index:50;
	box-shadow: 10px 0px 25px -6px  black!important;
}

.service .tabs .tab:nth-last-child(2){
	margin-bottom: 0;
}

.service .tabs .tab.active{
	background-color: var(--bs-blocks-service-active);
	margin-left: 0;
	width: 300px;
	padding-left: 65px;
	/*margin-top: -10px;*/
	height: calc(100%/4);
	margin-bottom: 0;
	z-index: 51;
	border-radius:0 20px 20px 0;
}

@media screen and (max-width:991px) {
	.service .tabs .tab.active{
		border-radius:0;
	}
	.maxsi{
		font-size: 1rem;
	}
}

.service .tabs .tab.active:first-child{
	margin-top:0;
	height: calc(100%/4);
}

.service .tabs .tab.active:nth-last-child(2){
	height: calc(100%/4);
}

.service .tabs .tab .tab-shadow{
	height: 100%;
	box-sizing: border-box;
	display:flex;
}

.service .tabs .tab .tab-shadow:hover{
	color: var(--bs-secondary);
}

/*иконки*/
.service .tabs .tab .tab-shadow .tab_icon{}
.service .tabs .tab .tab-shadow .tab_icon .f_icon{}
.service .tabs .tab .tab-shadow .tab_icon .s_icon{
	display:none;
}

/*active*/
.service .tabs .tab.active .tab-shadow .tab_icon .f_icon{
	display:none;
}

.service .tabs .tab.active .tab-shadow .tab_icon .s_icon{
	display:inline;
}

/*--иконки*/

/*текст вкладок*/
.service .tabs .tab .tab-shadow .tab_text{
	text-transform: uppercase;
	/*margin-top: 5px;*/
	margin: auto!important;
    line-height: 0;
}
@media screen and (max-width:991px) {
	.service .tabs .tab .tab-shadow .tab_text{
		text-transform: none;
		/*margin-top: 5px;*/
		margin: auto!important;
		line-height: 0;
	}
}
/*--текст вкладок*/
.service .tabs .data_tab, .service .default{
	transition: all 0.15s ease-out 0s;
	position: absolute;
	height: 100%;
	top:0;
	right: 0;
	/*left: 265px;*/
	overflow: hidden;
	opacity: 0;
	z-index: 1;
	/*text-align: center;*/
}

@media screen and (min-width:992px) {
	.service .tabs .data_tab, .service .default{
		left: 265px;
	}
}

.service .tabs .data_tab.active, .service .default.active{
	opacity:1;
	z-index:10;
}

.service .tabs .data_tab .content_wrap, .service .default .content_wrap{
	/*padding:100px 7%;*/
	padding-top: 90px;
	padding-left: 8%;
	padding-right: 5%;
	padding-bottom: 10px;
}

.service .tabs .data_tab .content_wrap #development_list {
	line-height:1.5rem;
}

/*подвкладки*/
.service .tabs .data_tab .sub_tabs{
	position:relative;
}

.service .tabs .data_tab .sub_tabs .sub_tab:first-child{
	left:0!important;
	z-index:15;
}

.service .tabs .data_tab .sub_tabs .sub_tab{
	transition: all 0.15s ease-out 0s;
    position: absolute;
    height: 100px;
    top: 0;
    background-color: var(--bs-blocks-service);
    color: var(--bs-secondary);
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0px 10px 25px -6px black;
    z-index: 10;
    cursor: pointer;
    /* padding-top: 40px; */
    box-sizing: border-box;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service .tabs .data_tab .sub_tabs .sub_tab:nth-last-child(2){
	right:0;
	left:auto!important;
	z-index:1;
}

/*активная*/
.service .tabs .data_tab .sub_tabs .sub_tab.active{
	z-index:20;
	background-color: var(--bs-blocks-service-active);
	height:120px;
	border-radius:0 0 20px 20px;
}

.service .tabs .data_tab .sub_tabs .sub_tab:first-child{
	border-radius:0 0 20px 0px;
}

/*--активная*/

/*для 2 вкладок*/
.service .tabs .data_tab .sub_tabs>*:nth-last-child(n+4).sub_tab, .service .tabs .data_tab .sub_tabs>*:nth-last-child(n+4) ~ .sub_tab{
	width:51%;
}

/*для 3 вкладок*/
.service .tabs .data_tab .sub_tabs>*:nth-last-child(n+6).sub_tab, .service .tabs .data_tab .sub_tabs>*:nth-last-child(n+6) ~ .sub_tab{
	width:34%;
	left:33%;
}

.service .tabs .data_tab .sub_tabs>*:nth-last-child(n+6).sub_tab.active, .service .tabs .data_tab .sub_tabs>*:nth-last-child(n+6) ~ .sub_tab.active{
	width:36%;
	left:32%;
}

/*для 4 вкладок*/
.service .tabs .data_tab .sub_tabs>*:nth-last-child(n+8).sub_tab, .service .tabs .data_tab .sub_tabs>*:nth-last-child(n+8) ~ .sub_tab{
	width:26%;
	left:25%;
}

.service .tabs .data_tab .sub_tabs>*:nth-last-child(n+8).sub_tab.active, .service .tabs .data_tab .sub_tabs>*:nth-last-child(n+8) ~ .sub_tab.active{
	width:28%;
	left:24%;
}

.service .tabs .data_tab .sub_tabs>*:nth-last-child(n+8) ~:nth-child(5){
	right:25%;
	left:auto;
	z-index:5;
}

.service .tabs .data_tab .sub_tabs>*:nth-last-child(n+8) ~:nth-child(5).sub_tab.active{
	right:24%;
	left:auto;
	z-index:20;
}

/*анимация подвкладок*/
.service .tabs .data_tab .sub_tabs .sub_tab{
	top:-100px;
}

.service .tabs .data_tab.active .sub_tabs .sub_tab{
	top:0;
}

/*--анимация подвкладок*/
.service .tabs .data_tab .sub_tabs .sub_data_tab{
	display: none; 
	height: 100%;
	padding-top: 160px;
	box-sizing: border-box;
}

.service .tabs .data_tab .sub_tabs .sub_data_tab.active{
	display:flex;
	padding-left: 8%;
	padding-right: 8%;
}

@media screen and (max-width:991px) {
	.service .tabs .data_tab .sub_tabs .sub_data_tab{
		padding-left: 8%;
		padding-right: 8%;
	}
}


.main-container {
	padding-bottom: 0;
}

/* HEADING */

.heading {
  text-align: center;
}

.heading__title {
  font-weight: 600;
}

.heading__credits {
  margin: 10px 0px;
  color: #888888;
  font-size: 25px;
  transition: all 0.5s;
}

.heading__link {
  text-decoration: none;
}

.heading__credits .heading__link {
  color: inherit;
}

/* CARDS */

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.tit{
	color: var(--bs-text) !important;
    font-size: 20px;
	cursor: pointer;
}

.card {
  margin: 20px;
  padding: 20px;
  width: 25rem;
  height: 18rem;
  display: grid;
  grid-template-rows: 20px 50px 1fr 50px;
  border-radius: 10px;
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.2s;
}

.card:hover {
    box-shadow: 0px 15px 20px rgb(116 104 104 / 40%);
    transform: scale(1.1);
	cursor: pointer;
}

.card__link,
.card__exit,
.card__icon {
  position: relative;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
}

.card__link::after {
  position: absolute;
  top: 25px;
  left: 0;
  content: "";
  width: 0%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.6);
  transition: all 0.5s;
}

.card__link:hover::after {
  width: 100%;
}

.card__exit {
  grid-row: 1/2;
  justify-self: end;
}

.card__icon {
  grid-row: 2/3;
  font-size: 30px;
}

.card__title {
  font-weight: 400;
  color:var(--bs-text);
  overflow: hidden;
    
}

.card__apply {
  grid-row: 4/5;
  align-self: center;
}

/* CARD BACKGROUNDS */

.card-1 {
  background: radial-gradient(#1fe4f5, #3fbafe);
}

.card-2 {
  background: radial-gradient(#fbc1cc, #fa99b2);
}

.card-3 {
  background: radial-gradient(#76b2fe, #b69efe);
}

.card-4 {
  background: radial-gradient(#60efbc, #58d5c9);
}

.card-5 {
  background: radial-gradient(#f588d8, #c0a3e5);
}

/* RESPONSIVE */

@media (max-width: 1600px) {
  .cards {
    justify-content: center;
  }
}


@media screen and (max-width:991px) {
	.service{
		height:auto;
	}
	
	.tab a.tab-shadow:hover {
		opacity: 1;
	}
	
	.service .tabs .tab{
		position: relative;
		width: 100%;
		/* left: 0; */
		text-align: center;
		box-shadow: none;
		height: 5vh;
		padding: 0;
		font-weight: 500;
		box-shadow: 0 0 0 0 black !important;
	}

	
	.service .tabs .tab.active, .service .tabs .tab.active:first-child, .service .tabs .tab.active:nth-last-child(2){
		width:100%;
		left:0;
		height:140px;
		padding:0;
	}
	
	.service .tabs .tab .tab-shadow{
		padding-top:0;
		box-shadow: 0px 20px 20px -25px black;
	}
	
	.service .tabs .tab.active .tab-shadow{
		padding-top:45px;
		box-shadow: 0px 20px 20px -25px black;
	}
	
	.service .tabs .data_tab .content_wrap{
		padding:10px;
	}
	
	.service .tabs .data_tab{
		position:relative;
		padding:0;
		opacity:1;
		overflow:hidden;
		height:0;
		
		transform: scaleY(0);
	}
	
	.service .tabs .data_tab.active{
		height:auto;
		transform: scaleY(1);
		border-radius: 0; 
	}
	
	.service .tabs .data_tab .sub_tabs .sub_tab, .service .tabs .data_tab .sub_tabs .sub_tab{
		border-radius: 0 !important;
	}
	
	.service .tabs .data_tab .sub_tabs .sub_tab, .service .tabs .data_tab .sub_tabs .sub_tab.active{
	position: relative;
    width: 100%!important;
    left: 0!important;
    right: 0!important;
    background: none;
    color:var(--bs-text);
    height: 0;
    cursor: default;
    box-shadow: none;
    line-height: 0;
    transition: none;
    padding: 1rem;
    background-color: var(--bs-blocks);
    border-radius: 0;
    margin-bottom: 0.5rem;
    text-transform: none;
	}

	.service .tabs .data_tab .sub_tabs .underlined:after{
	 display:block;
	 content:"";
	 background: linear-gradient(to right, rgba(255, 255, 255, 0), #8a8a8a, rgba(255, 255, 255, 0));
	 margin: 20px auto;
	 width:100%;
	 max-width:300px;
	 height: 2px;
	}

	.service .tabs .data_tab .sub_tabs .sub_data_tab{
		position:relative;
		width:100%;
		height:0;
		padding-top: 0px;
		display:none;
	}

	.service .tabs .data_tab.active .sub_tabs .sub_data_tab{
		height:auto;
	}

	.service .default{
		display:none;
	}
	
	.innerCol {
		padding: 0;
		width: 100%;
		float: none;
	}
}

.serv-buttons-bg {
	background:var(--bs-blocks-service);
	width: 280px;
	height: 40px;
	border-radius: 2px;
}
 
.serv-buttons {
	font-style: normal;
	font-weight: 500;
	align-items: center;
	text-align: center;
	color: var(--bs-secondary);
}

.serv-buttons-bg:hover {
	opacity: 0.6 !important;
}

.serv-buttons-bg a:hover {
	opacity: 1 !important;
}

.animated {
  transform: translateY(-100%);
  transition: transform 1s linear;
}

.animated:hover {
  transform: translateY(0);
}


.flip-card {
  
  width: 300px;
  height: 200px;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */


/* Style the back side */
.flip-card-back {
  background-color: dodgerblue;
  color: var(--bs-text);
  transform: rotateY(180deg);
}



.services{
	font-family: MyriadPro, tahoma, sans-serif;
}
.s-header{
	height:70px;
	line-height:50px;

}
.s-header-main{
	height:85px;
	margin-top:-15px;
	line-height:65px;
}
@media screen and (max-width:960px) {
/*@media screen and (max-width: var(--breakpoint-sm)) {*/
	.s-header-main{
		margin-top:0px;
	}
	
}


.service_modern_btns .service_buttons {
	display:flex;
	justify-content:space-between;
	flex-flow: wrap;
} 

.service_modern_btns .service_button {
	position: relative;
    width: 33.333%;
    overflow: hidden;
     background-color: var(--bs-blocks); 
    /* background: rgb(27, 51, 69); */
    /* margin: 0 0 20px 0; */
    cursor: pointer;
    color: var(--bs-secondary);
	height: 37vh;
    /*border: 1px solid var(--bs-primary);*/
}

.service_modern_btns .service_buttons .service_button:nth-child(1) {
	border-top: 1px solid var(--bs-primary);
	border-left: 1px solid var(--bs-primary);
}
.service_modern_btns .service_buttons .service_button:nth-child(2) {
	border-top: 1px solid var(--bs-primary);
	border-left: 1px solid var(--bs-primary);
	border-right: 1px solid var(--bs-primary);
}
.service_modern_btns .service_buttons .service_button:nth-child(3) {
	border-top: 1px solid var(--bs-primary);
	border-right: 1px solid var(--bs-primary);
}
.service_modern_btns .service_buttons .service_button:nth-child(4) {
	border-top: 1px solid var(--bs-primary);
	border-left: 1px solid var(--bs-primary);
	border-right: 1px solid var(--bs-primary);
	border-bottom: 1px solid var(--bs-primary);
}
.service_modern_btns .service_buttons .service_button:nth-child(5) {
	border-top: 1px solid var(--bs-primary);
	border-right: 1px solid var(--bs-primary);
	border-bottom: 1px solid var(--bs-primary);
}
@media screen and (max-width:960px) {
	.service_modern_btns .service_buttons .service_button{
		border: 1px solid var(--bs-primary);
	}
}
.service_modern_btns .service_button2 {
	position: relative;
    width: 50%;
    overflow: hidden;
     background-color: var(--bs-blocks); 
    /* background: rgb(27, 51, 69); */
    /* margin: 0 0 20px 0; */
    cursor: pointer;
    color: var(--bs-text);
	/*border: 1px solid var(--bs-primary);*/
}


@media screen and (max-width: 991px) {
	.service_modern_btns .service_button {
		height: 37vh;
		width: 100%;
	}
	
	.service_modern_btns .service_button2 {
		height: 37vh;
		width: 100%;
	}
}

.service_modern_btns .service_title {
    position: absolute;
    /*top: 50%;*/
    width: 100%;
    text-align: center;
    color: var(--bs-secondary);
    font-family: arial;
    font-size: 18px;
    line-height: 22px;
    transition: 1.5s;
	opacity:1;
}

.service_modern_btns .service_description {
	position: absolute;
    /*top: 50%;*/
    width: 100%;
    color: var(--bs-text);
    font-family: arial;
    font-size: 14px;
	opacity:0;
    transition: 1.5s;
	padding-inline: 2rem;
	line-height: 2rem;
}

.service_modern_btns .service_button:hover {
	background-color: transparent;
}

.service_modern_btns .service_button:hover .service_title {
     /*transform: translate(0%, -100%);*/
	 opacity:0;
}

.service_modern_btns .service_button:hover .service_description {
     /*transform: translate(0%, -100%);*/
	 opacity:1;
}

.kardi_icons {
  overflow: hidden;
  display:flex;
  justify-content:center;
  flex-flow:row wrap
}

.kardi_icon {
  width:255px;
  height:215px;
  background:#fe9700
}

.kardi_icon {
margin-right:0.75rem
}

.kardi_icon:last-child {
margin-right:0
}

.kardi_icon_img {
position:relative;
overflow:hidden;
width:242px;
height:115px;
margin:2px auto 0
}

.kardi_icon_img img{
position:absolute;
top:0;
left:0;
right:0;
bottom:0;
overflow:hidden;
max-width:242px;
max-height:115px;
display:block;
margin:auto
}

.kardi_icon_img img.kardi_icon_img_mob {
display:none;
}

.kardi_icon_text {
font-family:Arial Narrow;
color:#fff;
font-size:23px;
text-align:center;
margin-top:0.5rem;
line-height:23px
} 

.kardi_sxema_img_mob {
display:none;
}

@media screen and (max-width: 640px) {
.kardi_icons {
  display:block;
}

.kardi_icon {
margin:0 auto 0.75rem;
height:176px
}

.kardi_icon:last-child {
margin-right:auto
}
}


@media screen and (max-width: 825px) {
.kardi_icon_img img:not(.kardi_icon_img_mob) {
display:none;
}

.kardi_icon_img img.kardi_icon_img_mob {
display:block;
}

.kardi_icon {
background:none;
}

.kardi_icon_text {
color:#fe9700;
}



.kardi_icon:last-child {
flex-direction: column;
margin-top:0.75rem;
}
}


@media screen and (min-width: 961px) and (max-width: 1085px) {
.kardi_icon:last-child {
flex-direction: column;
margin-top:0.75rem;
}
}


@media (max-width: 991px) {
	.service .services-sliders{
		height:0;
		opacity:0;
		display:none;
		margin-bottom: 0.5rem!important;
	}
	
	.service .services-sliders.active{
		height:auto;
		opacity:1;
		display:block;
		margin-bottom: 0 !important;
	}
}

.banner {
	max-width: 95% !important;
	max-height: 95% !important;
}

.test {
	margin: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.newli{
	display: block;
    border: solid 1px var(--bs-secondary);
   
    transition: 0.5s;
	min-height: 60px;
	
}

.newli:hover{
	background-color: var(--bs-secondary);
    color: black;
}