/********** Template CSS **********/
:root {
    --primary: #fbcc0a;
    --secondary: #1D242F;
    --light: #F3F6F8;
    --dark: #0C2B4B;
}

.py-6 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.my-6 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 8%;
    bottom: 2px;
    z-index: 99;
}
/* Typography */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans", cursive ;
  font-weight: 200;
  color: #1D2451;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 10px;
  margin-bottom: 10px;
}

h1 {
  font-size: 52px;
}
.h11 {
  font-size: 28px;
  margin-left: 10px;
  margin-right: 10px;
}
h2 {
  font-size: 38px;
}
.h22 {
  font-size: 15px;
  margin-left: 15px;
  margin-right: 10px;
}
h3 {
  font-size: 36px;
  line-height: 1.2;
}

h4 {
  font-size: 28px;
  line-height: 1.4;
}

h5 {
  font-size: 24px;
  line-height: 1.3;
}

h6 {
  font-size: 18px;
  line-height: 1.7;
}

p {
  margin-bottom: 20px;
  color: #1D2451;
}
.ul1 {
  margin-bottom: 20px;
  color: #1D2451;
  margin-left: 10px;
  margin-right: 10px;
}

a {
  color: #fbcc0a;
  transition: .3s;
  display: inline-block;
  text-decoration: none;
  
}
i {
  color: #1D2451;
}
a:hover,
a:focus {
  outline: none;
  box-shadow: none;
  text-decoration: none;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
a:hover {
  color: var(--thm-base-hover);
  text-decoration: none;
}
/***section-title***/
.primary-color {
  color: #fbcc0a;	
}

.subtitle {
  color: #fbcc0a;	
}
.section-title {
  position: relative;
  max-width: 50px;
}

.section-title.centered {
  text-align: center;
  margin: 0 auto 50px;
}

.section-title.flex-title{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 50px;
  max-width: 100%;
}
.section-title .title {
  font-weight: 700;
  font-size: 58px;
  line-height: 1.2;
  position: relative;
}
.section-title .title.sm{
  font-size: 48px;
}

.section-title .subtitle {
  display: inline-flex;
  color: var(--thm-base);
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 600;
}

.section-title .btn-link {
  margin-top: 20px;
}

.required {
  font-size: 12px;
  line-height: 1;
  color: #f78686;
  font-style: normal;
}


/*** Block-c-cenoi-na-glavnoi***/
.d-inline-block {
	 border-radius: 8px;
}
.container-xxl {
	 background-color: rgba(249, 250, 252);
}
.card-body {
	 background-color: rgba(249, 250, 252);
}
.container-xxl-1 {
	 background-color: #F8FAFC;
}
.section-service {
	 background-color: rgba(243, 246, 248);
}
.section-about {
	 background-color: rgba(243, 246, 248);
}
.list-group-item {
	 background-color: rgba(249, 250, 252);
	 color: #fbcc0a;
}
.alert{
	 background-color: rgba(249, 250, 252);
}
.caption {
	 font-family: "Comfortaa", cursive ;
     font-weight: 200;
	 font-size: x-large;
	 color: #1D2451;
}

.td: first-child {
	width: 50%;
}

.th {
	vertical-align: right;
	text-align: right;
}
.colortext1 {
	color: red;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.nav-nav-tabs {
	color: #F8FAFC;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
	border-radius: 8px;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
	border-radius: 8px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
	border-radius: 8px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
	border-radius: 8px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
	border-radius: 8px;
}
.fab-fa-telegram {
	color: #fbcc0a;
}

.submitB { 
border:none; 
padding: 0; 
margin: 0;  
font-size:20px; 
color:#1D2451; 
background-color:transparent; 
}
/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 10px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 1000px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
		flex-direction: column;
		align-items: flex-start;
    }
}
    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, .70);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
	border-radius: 8px;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
		
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)), url(../img/1920x800-0.jpg) center center no-repeat;
    background-size: cover;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}


/*** Courses ***/
.courses {
    min-height: 100vh;
    background: linear-gradient(rgba(248, 248, 248), rgba(248, 248, 248));
    background-attachment: fixed;
    background-size: cover;
}

.courses-item .courses-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.courses-item:hover .courses-overlay {
    height: 100%;
    opacity: 1;
}
.section-service {
    margin-bottom: 10px;
	margin-top: 12px;
	padding: 20px 20px;
}
.section-about {
    margin-bottom: 10px;
	margin-top: 12px;
	padding: 20px 20px;
}
/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .75);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    height: 100%;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid var(--primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}


/*** Footer ***/
.container-fluid bg-dark text-light footer my-6 mb-0 py-6 wow fadeIn {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: column;
	align-items: flex-start;
}
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--light);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #092139;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}

.box-brands {
  position: relative;
  padding-top: 0;
}
.box-brands .brands-items {
  margin-top: 50px;
}
.box-brands .brands-item {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.box-brands .swiper-button-next {
  background: url("../img/next.svg") no-repeat center;
  margin-top: 25px;
}
.box-brands .swiper-button-prev {
  background: url("../img/prev.svg") no-repeat center;
  margin-top: 25px;
}
/* Popup */
.popup__overlay {display: none; position: fixed; left: 0;    top: 0;    width: 100%;
    height: 100%; background: rgba(0,0,0,.7);text-align: center  }
.popup__overlay:after {display: inline-block; *display: inline;   *zoom: 1;   height: 100%;
        width: 0;  vertical-align: middle;   content: '' }
/* Added for IE<9 compatibility */
.popup__overlay_ie { background: #000;   opacity: .7; filter: alpha(opacity=70) }
.popup {display: inline-block; *display: inline; *zoom: 1;
    position: relative; max-width: 80%; padding: 20px; border: 5px solid #fff;
    border-radius: 8px; box-shadow: inset 0 2px 2px 2px rgba(251,205,10,.4);
    background: #fff;  vertical-align: middle  }
/* Added instead of :after pseudoelement */
.popup__valignfix { display: inline-block;    *display: inline;    *zoom: 1;
    width: 0;    height: 100%;    vertical-align: middle   }
.popup-form__row { margin: 1em 0}
.popup__close {display: block; position: absolute;top: -20px;
    right: 10px;  width: 12px; height: 12px; padding: 8px;
    border: 5px solid #fff;  border-radius: 50%;
    -webkit-box-shadow: inset 0 2px 2px 2px rgba(255,204,0,.5),
                              0 3px 3px     rgba(255,204,0,.5);
    box-shadow:         inset 0 2px 2px 2px rgba(255,204,0,.5),
                              0 3px 3px     rgba(255,204,0,.5);
    cursor: pointer; background: #fff; text-align: center;
    font-size: 12px; line-height: 12px; color: #333;
    text-decoration: none; font-weight: bold}
.popup__close:hover {background: #ddd}
/* Popup*/

/* Single Product Area css
============================================================================================ */
.product_image_area{
	padding-top: 5px;
	
	@media(min-width: 1000px){
		padding-top: 100px;
	}
}
.s_product_inner{
	
}
.s_Product_carousel{
	.owl-dots{
		position: absolute;
		right: 20px;
		top: 50%;
		transform: translateY(-50%);
		div{
			height: 5px;
			width: 20px;
			background: #dddddd;
			margin: 5px;
			display: block;
			content: "";
			border-radius: 50px;
			&.active{
				width: 30px;
				// @extend .gradient-bg;
			}
		}
	}
}

.s_product_text{
	margin-left: 5px;
	margin-top: 5px;
	@media (max-width: 575px) {
		margin-left: 0px;
	}
	h3{
		font-size: 24px;
		font-weight: 500;
		color: $title-color;
		margin-bottom: 20px;
	}
	h2{
    font-family: $text-font;
		font-size: 24px;
		font-weight: 700;
    // @extend .gradient-color;
    color: $primary-color;
		margin-bottom: 10px;
	}
	.list{
		li{
			margin-bottom: 5px;
			a{
				font-size: 15px;
				// font-family: $primary-font;
				font-weight: normal;
				color: #777777;
				span{
					width: 90px;
          display: inline-block;
          color: #555555;
					&:hover{
						color: #555;
					}
				}
				&.active{
					// @extend .gradient-color;
					span{
						color: #555;
						-webkit-text-fill-color: #555;
					}
				}
			}
			&:last-child{
				margin-bottom: 0px;
			}
		}
	}
	p{
		padding-top: 20px;
		border-top: 1px dotted #eeeeee;
		border-bottom: 1px dotted #eeeeee;
		margin-top: 20px;
    padding-bottom: 26px;
    margin-bottom: 0;
	}
	.card_area{
    margin-top: 25px;
		.primary-btn{
			line-height: 38px;
			padding: 0px 38px;
			text-transform: uppercase;
			margin-right: 10px;
			border-radius: 5px;
		}
		.icon_btn{
			position: relative;
			height: 40px;
			width: 40px;
			text-align: center;
			background: #e8f0f2;
			border-radius: 3px;
			display: inline-block;
			color: $title-color;
			@include transition();
			margin-right: 10px;
      z-index: 1;

      i,span{
			  line-height: 40px;
      }
			&:after{
				position: absolute;
				left: 0;
				top: 0;
				height: 100%;
				width: 100%;
				content: "";
				// @extend .gradient-bg;
				border-radius: 50%;
				opacity: 0;
				visibility: hidden;
				z-index: -1;
			}
			&:hover{
        background: #fff;
        box-shadow: 0px 10px 20px 0px rgba(153, 153, 153, 0.3); 

				&:after{
					opacity: 1;
					visibility: visible;
				}
			}
		}
	}
}


// .product_count{
//   border-bottom: 1px dotted #eeeeee;
//   padding: 15px 0;
//   label{
//     margin-right: 5px;
//     color: $title-color;
//   }

//   button{
//     background: transparent;
//     border: 1px solid #EEEEEE;
//     width: 40px;
//     height: 40px;
//     border-radius: 3px;

//     i,span{
//       font-size: 15px;
//       color: $title-color;
//     }
//   }

//   input{
//     width: 40px;
//     height: 40px;
//     border: 0;
//     text-align: center;
//     border: 1px solid #EEEEEE;
//     border-radius: 3px;
//     margin: 0 5px;
//   }

//   .primary-btn{
// 	margin-top: 10px;
	
// 	@media(min-width: 1200px){
// 		margin-left: 30px;
// 		margin-top: 0;
// 	}
//   }
// }



.product_count{
	display: inline-block;
	position: relative;
	margin-bottom: 24px;
	label{
		font-size: 14px;
		color: $text-color;
		// font-family: $primary-font;
		font-weight: normal;
		padding-right: 10px;
	}
	input{
		width: 76px;
		border: 1px solid #eeeeee;
		border-radius: 3px;
		padding-left: 10px;
	}
	button{
		display: block;
		border: none;
		background: transparent;
		box-shadow: none;
		cursor: pointer;
		position: absolute;
		right: 0px;
		font-size: 14px;
		color: #cccccc;
		@include transition;
		&:hover{
			color: $title-color;
		}
	}
	.increase{
		top: -4px;
	}
	.reduced{
		bottom: -8px;
	}
	
}


.product_description_area{
	padding-bottom: 100px;
	margin-top: 60px;
	.nav.nav-tabs{
		background: #f1f6f7;
		text-align: center;
		display: block;
		border: none;
		padding: 10px 0px;
		li{
			display: inline-block;
			margin-right: 7px;
			&:last-child{
				margin-right: 0px;
				@media (max-width: 441px) {
					margin-top: 15px;
				}
			}
			a{
				padding: 0px;
				border: none;
				line-height: 38px;
				background: #fff;
				border: 1px solid #eeeeee;
				border-radius: 30px;
				padding: 0px 30px;
				color: $title-color;
				font-size: 14px;
				font-weight: normal;
				@media (max-width: 570px) {
					padding: 0 15px;
				}
				&.active{
					// @extend .gradient-bg;
          color: #fff;
          background: $primary-color;
          border-color: $primary-color;
					// border: 1px solid transparent;
				}
			}
		}
	}
	.tab-content{
		border-left: 1px solid #eee;
		border-right: 1px solid #eee;
		border-bottom: 1px solid #eee;
		padding: 30px 30px 15px 30px;
		.total_rate{
			.box_total{
				background: #f1f6f7;
				text-align: center;
				padding-top: 20px;
				padding-bottom: 20px;
				h4{
					// @extend .gradient-color;
					font-size: 48px;
          font-weight: bold;
          color: $primary-color;
				}
				h5{
					color: #333333;
					margin-bottom: 0px;
					font-size: 24px;
				}
				h6{
          font-family: $text-font;
					margin-bottom: 0px;
					font-size: 14px;
					color: #555555;
					font-weight: normal;
				}
			}
			.rating_list{
				margin-bottom: 30px;
				h3{
					font-size: 18px;
					color: $title-color;
					// font-family: $primary-font;
					font-weight: 500;
					margin-bottom: 10px;
				}
				.list{
					li{
						a{
							font-size: 15px;
							color: #555555;
							i{
                color: #fbd600;
                
                &:first-child{
                  margin-left: 15px;
                }

                &:last-child{
                  margin-right: 15px;
                }
							}
						}
						&:nth-child{
							a{
								i{
									&:last-child{
										color: #eeeeee;
									}
								}
							}
						}
					}
				}
			}
		}
		.table{
			margin-bottom: 0px;
			tbody{
				tr{
					td{
						padding-left: 65px;
						padding-right: 65px;
						padding-top: 14px;
						padding-bottom: 14px;
						h5{
							font-size: 14px;
							// font-family: $primary-font;
							font-weight: normal;
							color: $text-color;
							margin-bottom: 0px;
							white-space: nowrap;
						}
					}
					&:first-child{
						td{
							border-top: 0px;
						}
					}
				}
			}
		}
	}
}
.review_list{
	
}
.review_item{
	margin-bottom: 10px;
	&:last-child{
		margin-bottom: 0px;
	}
	.media{
		position: relative;
		.d-flex{
			padding-right: 15px;
		}
		.media-body{
			vertical-align: middle;
			align-self: center;
			h4{
				font-size: 16px;
				color: $title-color;
				// font-family: $primary-font;
				margin-bottom: 4px;
			}
			i{
				color: #fbd600;
			}
			h5{
				font-size: 13px;
				font-weight: normal;
				color: $text-color;
			}
			.reply_btn{
				border: 1px solid #e0e0e0;
				padding: 0px 28px;
				display: inline-block;
				line-height: 32px;
				border-radius: 16px;
				font-size: 14px;
				// font-family: $primary-font;
				color: $title-color;
				position: absolute;
				right: 0px;
				top: 14px;
				@icnlude transition;
				&:hover{
					background: $primary-color;
					border-color: $primary-color;
					color: #fff;
				}
			}
		}

	}
	p{
		padding-top: 10px;
		margin-bottom: 0px;
	}
	&.reply{
		padding-left: 28px;
	}
}

.review_box{
	h4{
		font-size: 20px;
		color: $title-color;
		margin-bottom: 20px;
	}
	p{
    margin-bottom: 0px;
    color: #555555;
		display: inline-block;
	}
	.list{
		display: inline-block;
		padding-left: 10px;
		padding-right: 10px;
		li{
			display: inline-block;
			a{
				display: inline-block;
				color: #fbd600;
			}
		}
	}
	.contact_form{
		margin-top: 15px;
	}
	.primary-btn{
		line-height: 38px!important;
		padding: 0px 38px;
		text-transform: uppercase;
		margin-right: 10px;
		border-radius: 5px;
		border: none;
	}
}

.comment_list{
	.review_item{
		
	}
}

.form-review{

  .form-control{
	height: 46px;
    background: transparent;
    border: 1px solid #EEEEEE;
    font-size: 14px;
    color: #999999;
  }
}
/* End Single Product Area css
============================================================================================ */
input[type=checkbox]:checked~.button {
pointer-events: auto;
cursor: pointer;
background: transparent}
.button {
pointer-events: none;
}
.order__btn {
display: inline-block;}


.title-side {
	overflow: hidden; /* Скрываем линии, чтобы они не выходили за ширину блока заголовка */
	margin: 30px 0; /* Отступ сверху и снизу */

    color: #5a5a5a; /* Цвет заголовка */
}
/* Заголовок по центру */
.title-side-center {
    text-align: center;
}
/* Заголовок справа */
.title-side-right {
    text-align: right;
}
.title-side:before,
.title-side:after {
	content: '';	
	display: inline-block;	
	vertical-align: middle; 
	box-sizing: border-box;
	width: 100%; /* Устанавливаем ширину в 100%, что сделает делает линию равной ширине тега заголовка */
	height: 1px; /* Высота линий */
    background: #fbcc0a; /* Цвет линий */
	border: solid #fff; /* Добавляем к линиям границу с цветом основного фона заголовка, для отступа от текста */
	border-width: 0 30px; /* Отступ от текста */
}
.title-side:before {
	margin-left: -100%;
}
.title-side:after {
	margin-right: -100%;
}

