/*
Theme Name: Yos Template
Author: Kat Happens
Version: 1.0
Text Domain: leos
*/
.repeat-form-block {
 background-image: none; 
}
.contact-form-wrap div.wpcf7 input[type=email], .contact-form-wrap div.wpcf7 input[type=text], .contact-form-wrap div.wpcf7 input[type=tel], .contact-form-wrap div.wpcf7 textarea, .contact-form-wrap div.wpcf7 select {
  background: inherit;
}
.sp-easy-accordion>.sp-ea-single {
    background: #c4c4c4 !important;
}
.side-form-wrap {
    background: #c4c4c4;
}
@media screen and (width > 1600px) {
#MainNav ul li {
      padding: 30px 7px;
}
#MainNav ul li a{
      font-size: 19px ;
      padding: 10px;
}
}

.archive .base-output ul
{
	list-style-position: inside;
}
.base-output ul
{
	margin-right: 2rem;
}
.base-output ul li
{
	margin-bottom: 0.5em;
}
.flip-box {

}

.flip-box-inner {
	position: relative;
	width: 100%;
	height: 32vh;
	text-align: center;
	transition: transform 0.8s;
	transform-style: preserve-3d;
	margin-bottom: 30px;
}
.category-card{
	height: 32vh;
}
.flip-box:hover .flip-box-inner {
	transform: rotateX(180deg);
}

.flip-box-front, .flip-box-back {
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.flip-box-front {
	background-color: transparent;
	color: black;
}

.flip-box-back {
	background-color: #fff;
	color: white;
	transform: rotateX(180deg);
	margin-bottom: 46px;
	overflow: hidden;
	border-radius: 25px;
	box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.25);
	display: flex;
	justify-content: center;
	align-items: center;
}
.flip-box-back a {
	height: 46px;
	font-size: 22px;
	line-height: 24px;
	color: #ffffff;
	font-weight: 500;
	text-align: center;
	background-color: #3b72b9;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 2rem;
	border-radius: 10px;
}
.category-card-back p {
	color: #000;
	margin-bottom: 10px;
}
.tel-phone {
  direction:ltr !important;
  justify-content: end;
}
.clients-block .slick-slider .slick-track, .clients-block .slick-slider .slick-list {
  align-items:center;
}
.sidebar-courses .sidebar-block {
    position: sticky;
    top: 120px;
}
.icon_map{
  width: 260px;
  height: 73px;
  background-repeat: no-repeat;
  background-size: 100%;
}
.icon_map.elot {
  right: 16%;
    top: 17%;
}
.icon_map.gat {
    bottom: 58%;
    right: 47%;
}
.icon_map.demona {
  bottom: 43%;
    left: -12%;
}
.icon_map.bear {
    position: absolute;
    opacity: 0;
  	bottom: 49%;
    left: 0%;
    font-size: 19px;
}

.top-five {
    width: 80%;
    margin: 0 auto;
}
.top-five .courses-over {
    left: -5%;
    width: 110%;
}
.aspectratio3 {
    aspect-ratio: 3;
    object-fit: cover;
}

@media screen and (width < 768px) {
  header {
    background: white !important;
  }
}
.logo-wrap {
  	background: #ffffff;
}
.logo-wrap .logo {
    padding: 15px;
}

a.foo-logo img {
    width: 100%;
    max-width: 333px;
}
.fix-link.fix-faq {
  cursor: pointer;
}
@media (min-width: 768px) {
  .col-md-25 {
      flex: 0 0 20%;
      max-width: 20%;
  }
}
@media (min-width: 1440px) {
  .counter-item {

  }
  .counter-num, .counter-num:before {
    font-size: 70px !important;
  }
  .counter-text {
    font-size: 27px;
  }
}

li#menu-item-228 a {
	background-color: #1C3653;
	padding: 4px 10px;
	border-radius: 10px;
}

.project-card img {
	position: relative;
	flex-direction: column !important;
	height: 30vh;
	object-fit: cover;
}

.project-card {
	flex-direction: column;
}

.count-col:nth-child(1) .counter-num:before {
  	content: "+";
    font-size: 80px;
    line-height: 1;
    text-align: center;
    font-weight: 300;
    margin-bottom: 20px;
    color: #ffffff;
}
.count-col:nth-child(4) .counter-num:after {
  	content: "%";
    font-size: 80px;
    line-height: 0;
    text-align: center;
    font-weight: 300;
    margin-bottom: 20px;
    color: #ffffff;
}
@media (max-width: 1600px) {
    .counter-num:before {
        font-size: 70px;
    }
}

.project-card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 30px rgba(0,0,0,.06);
	padding: 0 0 24px;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.project-card-img {
	position: relative;
	border-radius: 16px 16px 0 0;
	overflow: hidden;
}

.project-card-img img {
	width: 100%;
	height: auto;
	display: block;
}

.project-card-icon {
	position: absolute;
	top: 12px;
	left: 12px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #eaf1ff;
	border: none;
	cursor: pointer;
	font-size: 16px;
}

.project-card-title {
	margin: 20px 20px 4px;
	font-weight: 700;
	color: #1C3653;
}

.project-card-prof {
	margin: 0 20px 12px;
	font-size: 14px;
	color: #3b72b9;
}

.project-card-text-wrap {
	margin: 0 20px;
	overflow: hidden;
	max-height: 92px;
	transition: max-height .35s ease;
}

.project-card-text {
	font-size: 14px;
	line-height: 1.6;
	color: #444;
}

.project-card.is-open .project-card-text-wrap {
	max-height: 1000px;
}

.project-card-toggle {
	margin: 16px auto 0;
	background: none;
	border: none;
	color: #02b7ef;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	padding: 6px 12px;
}

.project-card-img {
	position: relative;
	width: 100%;
	aspect-ratio: 10 / 11;
	overflow: hidden;
	border-radius: 16px 16px 0 0;
	background: #f3f4f6;
}

.project-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

.project-card-icon {
	position: absolute;
	top: 12px;
	left: 12px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #eef2ff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #2563eb;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(0,0,0,.12);
	transition: transform .15s ease, background .15s ease;
}

.project-card-icon:hover {
	background: #e0e7ff;
	transform: translateY(-1px);
}

.project-card-icon svg {
	display: block;
	pointer-events: none;

}