/****************Base*styles********************/
*{
	box-sizing: border-box;
}

body,html{
	font-family: 'Montserrat' , sans-serif;
	color: #232323;
}

button.cky-btn-customize{
	display:none!important;
}



#arrow-to-top{
	position: fixed;
	bottom: 60px;
	background-image: url(/wp-content/themes/smartykids-theme/images/arrow-top.png);
	right: 140px;
	width: 44px;
	height: 44px;
	background-size: cover;
	z-index: 999;
	cursor: pointer;
	transition: 0.4s cubic-bezier(0.01, 1.13, 1, 0.99);;
	opacity: 0;
	bottom: -50px;
}
#arrow-to-top.show{
	opacity: 1;
	bottom: 60px;
}

body{
	overflow-x: hidden;
}

button{
	font-family: 'Montserrat' , sans-serif;
}

body,html,div,section{
	padding: 0;
	margin: 0;
}

.container{
	width: 1180px;
	margin: 0 auto;
	max-width: 1920px;
}

#its_ok_city:hover{
	color: #000;
	border-color: #000;
}

a{
	text-decoration: none;
}

a:hover{
	text-decoration: underline;
}

p{
	margin: 0 0 20px 0;
	font-size: 15px;
	line-height: normal;
}

h1{
	margin-top: 0;
	font-size: 41px;
	line-height: 46px;
	font-weight: 900;
	color: #fff;
	margin-bottom: 20px;
	text-transform: uppercase;
}

h2{
	font-size: 35px;
	line-height: 45px;
	font-weight: 400;
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 80px;
}

h3{
	font-size: 15px;
	line-height: 22px;
	margin: 0 0 10px 0;
	font-weight: 700;
	text-transform: uppercase;
}

h4{}

h5{}

h6{}


input{
	width: 100%;
    border: 1px solid #d3d3d3;
    box-sizing: border-box;
    border-radius: 5px;
    padding: 12px 12px 12px 15px;
    font-size: 14px;
    line-height: 15px;
    color: #989797;
    height: 39px;
    background: 0 0;
    outline: none;
    margin-bottom: 15px;
    font-family: 'Montserrat' , sans-serif;
    font-weight: 400;
}

.h1_style{
	margin-top: 0;
	font-size: 41px;
	line-height: 46px;
	font-weight: 900;
	color: #fff;
	margin-bottom: 20px;
	text-transform: uppercase;
}
.h2_style{
	font-size: 35px;
	line-height: 45px;
	font-weight: 400;
	text-align: center;
	text-transform: uppercase;
	margin: 0 0 80px 0;
}
.h3_style{
	font-size: 15px;
	line-height: 22px;
	margin: 0 0 10px 0;
	font-weight: 700;
	text-transform: uppercase;
}
.h4_style{}
.h5_style{}
.h6_style{}

.h2_style.have-undertitle{
	margin-bottom: 25px;
}

.delete{
	display: none !important;
}


.under-h2-text{
	font-size: 15px;
	line-height: 24px;
	text-align: center;
	margin-bottom: 80px;
}

.title-header{
	margin-top: 0;
	font-size: 41px;
	line-height: 46px;
	font-weight: 900;
	color: #fff;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.title-quote{
	display: inline-block;
	position: relative;
}

.title-quote:before{
	content: '';
	position: absolute;
	left: -55px;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 2px;
	background: #00b3e2;

}

.title-quote:after{
	content: '';
	position: absolute;
	right: -55px;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 2px;
	background: #00b3e2;
}

.center{
	text-align: center;
}

.flex{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
}

.link-with-arrow{
	color: #005dd0;
	font-size: 15px;
	line-height: 16px;
	position: relative;
	display: inline-block;
	text-decoration: none;
}

.link-with-arrow:after{
	content: '';
    width: 7px;
    height: 7px;
    position: absolute;
    border-right: 2px solid #005dd0;
    border-bottom: 2px solid #005dd0;
    border-radius: 2px;
    top: 57%;
    right: -12px;
    transform: translateY(-50%) rotate(-45deg);
}

.link-with-arrow:before{
	content: '';
	position: absolute;
	width: 100%;
	height: 1px;
	background: #005dd0;
	left: 0;
	bottom: -1px;
}

.grey-btn{
	color: #272727;
	font-size: 15px;
	line-height: 20px;
	text-transform: uppercase;
	border-radius: 5px;
	border: 1px solid #808080;
    padding: 11px 30px 9px 30px;
	display: inline-block;
	cursor: pointer;
	-webkit-transition: 0.5s ease-out;
  	transition: 0.5s ease-out;
  	overflow: hidden;
  	position: relative;
}

.grey-btn:before {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  z-index: -1;
}

.grey-btn:hover{
  cursor: pointer;
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
  color: #000;
  z-index: 8;
  border-color: #ffcb00;
}

.grey-btn:before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
  display: block;
  width: 40px;
  height: 40px;
  background: #ffcb00;
  border-radius: 50px;
}
.grey-btn:hover:before {
  -webkit-transform: scale(8.3);
  transform: scale(8.3);
}

.yellow-btn{
	background: transparent;
	border-radius: 5px;
	padding: 19px 48px;
	font-size: 18px;
	line-height: 20px;
	text-transform: uppercase;
	cursor: pointer;
	display: inline-block;
	border:1px solid #ffcb00;
	-webkit-transition: 0.5s ease-out;
  	transition: 0.5s ease-out;
  	color: #272727;
  	background: #ffcb00;
}

.dev-prog .yellow-btn:hover{
	color: #000;
	border-color: #000;
}

.yellow-btn:hover{
  background: transparent;
  color: #fff;
  border-color: #fff;
  text-decoration: none;
}

.yellow-btn-md{
	background: #ffcb00;
	border-radius: 5px;
	padding: 11px 30px 9px 30px;
    font-size: 15px;
    line-height: 20px;
	text-transform: uppercase;
	cursor: pointer;
	display: inline-block;
	border:1px solid #ffcb00;
	-webkit-transition: 0.5s ease-out;
  	transition: 0.5s ease-out;
}


.yellow-btn-md:hover{
  background: transparent;
  border-color: #232323;
  color: #232323;
}


.shadow{
	position: fixed;
	left: 0;
	top: 0;
	z-index: 50;
	background: #333333ad;
	width: 100%;
	height: 100%;
	opacity: 0;
	display: none;
	transition: 0.3s ease;
}

.shadow.show{
	display: block;
	opacity: 1;
}

/*************************************************/
/******************MODAL**************************/
/*************************************************/

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999;
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
    overflow: auto;
}

.close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    position: absolute;
    border: none;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    background-color: rgba(0, 131, 119, 0.9);
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    cursor: pointer;
    outline: none;

}

.close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    font-family:  Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}

.close:hover {
    background-color: rgba(252, 20, 0, 0.8);
}


/*************************************************/
/******************HEADER*************************/
/*************************************************/
#header-section{
	padding-top: 20px;
}

.header{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: space-between;
	padding-bottom: 20px;
}

.close-mobile-menu{
	display: none;
}

.mobile-search{
	display: none;
}

.mobile-lk{
	display: none;
}

.mobile-header{
	display: none;
}

.header-logo-block{
	width: 280px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-transform: uppercase;
	font-size: 12px;
	line-height: 15px;
	font-weight: 500;
	text-decoration: none;
	color: #232323;
}

.header-logo-block:hover{
	text-decoration: none;
}

.header-info-block{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	width: 416px;
}

.header-lichnyi-kabinet{
	font-size: 12px;
	line-height: 15px;
	font-weight: 500;
	border-radius: 5px;
	padding: 8px 15px 10px 15px;
	background: transparent;
	cursor: pointer;
	transition: 0.3s ease;
	display: inline-block;
	position: relative;
	overflow: hidden;
	border: 1px solid #e6e6e6;
	color: #232323;
}

.header-lichnyi-kabinet:before {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  z-index: -1;
}

.header-lichnyi-kabinet:hover{
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}

.header-lichnyi-kabinet:before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) scale(8.3);
  transform: translate(-50%, -50%) scale(8.3);
  display: block;
  width: 40px;
  height: 40px;
  background: #e6e6e6;
  border-radius: 50px;
}

.header-lichnyi-kabinet:hover:before {
  -webkit-transform: scale(1);
  transform: scale(1);
}

.header-info-block .header-lichnyi-kabinet{
	margin-bottom: 15px;
}

.header-info-block-left{
	width: 183px;
	margin-right: 35px;
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	align-items: flex-start;
}

.header-info-block-rigth{
	width: 200px;
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	align-items: flex-start;
}

.header-choise-city{
	display: inline-block;
	font-size: 12px;
	line-height: 15px;
	text-decoration: underline;
	font-weight: 500;
	margin-bottom: 20px;
	color: #232323;
	cursor: pointer;
}

.header-phone{
	font-size: 20px;
	line-height: 22px;
	font-weight: 600;
	text-decoration: none;
	color: #232323;
	display: inline-block;
	margin-bottom: 12px;
}

.header-phone-free-call{
	font-size: 12px;
	line-height: 14px;
	color: #696969;
}

.social-links a{
	width: 36px;
	height: 36px;
	font-size: 19px;
	display: inline-block;
	border: 2px solid #757575;
	border-radius: 50%;
	color: #757575;
	display: -webkit-inline-flex;
	display: -moz-inline-flex;
	display: -ms-inline-flex;
	display: -o-inline-flex;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	transition: 0.3s ease;
}

.social-links a:hover{
	color: #e62253;
	border: 2px solid #e62253;
}

.header-menu{
	background: #f6f6f6;
	padding: 22px 0;
	z-index: 20;
	width: 100%;
}

.header-town-list{
	position: fixed;
    left: auto;
    right: calc((100% - 1180px)/2);
    top: -855px;
    height: 415px;
    z-index: 150;
    transition: 0.5s ease;
    width: 300px;
    padding: 15px 15px 15px;

    background: #f6f6f6;
    border-radius: 5px;
    opacity: 0;
    box-shadow: 0px 0px 25px 0px #A9A9A9;
}

.header-town-list.open{
	opacity: 1;
	top: 55px;
}


.town-list-title{
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 20px;
	margin-left: 40px;
	display: none;
}

.close-town-list {
    position: absolute;
    top: 4px;
    right: -49px;
    font-size: 57px;
    font-weight: 200;
    border-radius: 5px;
    transform: rotate(45deg);
    width: 30px;
    height: 33px;
    text-align: center;
    outline: none;
    cursor: pointer;
    color: #DEDEDE;
}

.town-list{
	margin-top: 10px;
    padding-left: 17px;
    padding-right: 15px;
	overflow-y: scroll;
	height: 305px;
}

.town-list::-webkit-scrollbar {
	width: 2px;
	margin-right:10px;
	padding-right:10px;
}

.town-list::-webkit-scrollbar-track {
	background: #e2e2e2;
}

.town-list::-webkit-scrollbar-thumb {
	background:#636363;
	border-radius: 2px;
}

.town-list a{
	display: block;
    border-bottom: 0.5px solid #e2e2e2;
    color: #636363;
    position: relative;
    font-size: 14px;
    line-height: 33px;
}

.town-list a:last-child{
	border-bottom: none;
}

.town-list a:after{
    content: '';
    position: absolute;
    right: 6px;
    top: 13px;
    width: 6px;
    height: 6px;
    border-bottom: 1px solid #555;
    border-right: 1px solid #555;
    transform: rotate(-45deg)
}


.header-info-write-in-menu{
	display: none;
}

@keyframes menufixed {
	from {top:-100px;}
	to {top: 0px;}
}

.header-menu.fixed{
	position: fixed;
	top: 0;
    box-shadow: 0px 5px 9px rgba(0, 0, 0, 0.1);
    animation: menufixed 0.5s ease;
}

.header-menu.fixed .container{
	padding: 0 190px 0 0;
}

.header-info-write-in-menu span{
	display: none;
}

.header-menu.fixed .header-info-write-in-menu{
	display: block;
    position: absolute;
    right: calc((100% - 1180px)/2);
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.header-info-write-in-menu.yellow-btn{
	font-size: 15px;
    text-transform: none;
    font-weight: 600;
    padding: 7px 20px;
}

.header-info-write-in-menu.yellow-btn:hover{
	color: #000;
	border-color: #000;
}

.header-menu .container{
	display: flex;
	justify-content: space-between;
	padding-left: 110px;
}


.header-menu a{
	display: inline-block;
	color: #232323;
	text-decoration: none;
	font-size: 15px;
	line-height: 22px;
	font-weight: 500;
	position: relative;
	transition: 0.5s ease;
}


.header-menu a.active:after{
	content: '';
	position: absolute;
	bottom: -1px;
	left: 50%;
	width: 100%;
	height: 2px;
	background: #232323;
}

.header-menu a:after{
	content: '';
	position: absolute;
	bottom: -1px;
	left: 50%;
	transform: translateX(-50%);
	height: 2px;
	background: #232323;
	width: 0;
	transition: 0.3s ease;

}
.header-menu a:hover:after{
	width: 100%;
}

.header-info-block-mobile{
	display: none;
}
/*************************************************/
/*****************END*HEADER**********************/
/*************************************************/



/*************************************************/
/*****************SLIDER**************************/
/*************************************************/
.slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}

.slick-slide {
	outline: none;
}

.slick-arrow{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: transparent;
	border: none;
	background-color: transparent;
	width: 19px;
	height: 34px;
	background: url(../images/arrow-slide.png);
	background-repeat: no-repeat;
	outline: none;
	cursor: pointer;
	z-index: 1;
}

.slick-prev{
	left: -50px;
}

.slick-next{
	right: -50px;
	transform: translateY(-50%) scale(-1,1);
}

.slick-dots{
	position: absolute;
    bottom: -25px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 1px;
    padding: 0;
    cursor: pointer;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: 0 0;
}

.slick-dots li button:before {
    font-size: 6px;
    line-height: 20px;
    position: absolute;
    width: 8px;
    height: 8px;
    text-align: center;
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	border-radius: 50%;
    background: #fff;
    content: '';
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    border: 1px solid #bfbfbf;
}

.slick-dots li.slick-active button:before {
    background: #55dcff;
}

/*************************************************/
/***************END**SLIDER***********************/
/*************************************************/

/*************************************************/
/***************FOOTER****************************/
/*************************************************/
#footer{
	background: #313131;
	padding-top: 55px;
	padding-bottom: 35px;
	color: #fefefe;
}

#footer .container{
	position: relative;
}

.footer-logo-line{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 60px;
}

.footer-logo{
	width: 280px;
	font-size: 12px;
	line-height: 15px;
	text-transform: uppercase;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 500;
	color: #fff;
}

.footer-menu{
	display: flex;
	justify-content: space-between;
	margin-left: 113px;
	padding-bottom: 20px;
	border-bottom: 1px solid #535353;
	margin-bottom: 35px;
}

.footer-menu a{
	color: #fff;
	text-decoration: none;
	font-size: 15px;
	transition: 0.3s ease;
}

.footer-menu a:hover{
	color: #e62253;
}

.footer-menu a.active{
	color: #e62253;
	position: relative;
}

.footer-menu a.active:after{
	content: '';
	position: absolute;
	width: 100%;
	height: 2px;
	background: #10ceba;
	left: 0;
	bottom: -5px;
}

/*.footer-info-line{*/
/*	margin-left: 113px;*/
/*	display: flex;*/
/*	justify-content: space-between;*/
/*	padding-bottom: 90px;*/
/*}*/

.footer-info-links{
	display: flex;
}

.footer-info-line a{
	color: #fefefe;
	display: block;
	font-size: 13px;
	line-height: 22px;
    font-weight: 300;
}



.footer-info-links div{
	margin-right: 50px;
}

.footer-info-adress{
	text-align: right;
	line-height: 23px;
}

.footer-info-adress-title{
	text-transform: uppercase;
	font-size: 15px;
	line-height: 23px;
	font-weight: 600;
}

.footer-info-adress p{
	font-weight: 300;
	font-size: 15px;
	margin-bottom: 30px;
}

.footer-info-line{
	border-bottom: 1px solid #535353;
}

/*.footer-confident{*/
/*	position: absolute;*/
/*	left: 113px;*/
/*	font-size: 13px;*/
/*	line-height: normal;*/
/*	text-decoration: none;*/
/*	font-weight: 300;*/
/*	color: #909090;*/
/*    top: auto;*/
/*    bottom: 80px;*/
/*}*/


.footer-confident {
    position: absolute;
    left: 113px;
    font-size: 13px;
    line-height: normal;
    text-decoration: none;
    font-weight: 300;
    color: #909090;
   /* top: 258px;*/
}


.footer-info-phone{
	margin-left: 113px;
	padding-top: 28px;
	display: flex;
	justify-content: space-between;
}

.footer-info-mail a{
	color: #fefefe;
	font-size: 15px;
	line-height: 20px;
	display: inline-block;
	margin-bottom: 24px;
}

.footer-phones{
	text-align: right;
}

/*.footer-info-mail{*/
/*	display: -webkit-flex;*/
/*	display: -moz-flex;*/
/*	display: -ms-flex;*/
/*	display: -o-flex;*/
/*	display: flex;*/
/*	width: 100%;*/
/*	justify-content: space-between;*/
/*}*/

.footer-phones span{
	display: block;
	font-size: 15px;
}

.footer-phones a{
	color: #fefefe;
	font-size: 23px;
	line-height: 25px;
	font-weight: 500;
	text-decoration: none;
}

.footer-phones div{
	margin-left: 65px;
}

/*************************************************/
/***************END**FOOTER***********************/
/*************************************************/

/*************************************************/
/*************Zapis*na*urok***********************/
/*************************************************/
#free-lesson-section{
    padding-bottom: 40px;
	background-image: url(../images/mainpage/zapisbg-min.jpg);
	background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

#free-lesson-section .container{
	overflow-y: hidden;
	height: 100%;
	position: relative;
	width: 1300px;
}

#freelesson-smartik{
	position: absolute;
	left: calc((100%-1300px)/2 + -590px);
    top: -30px;
    z-index: 1;
}

#freelesson-smartik-shadow{
	position: absolute;
	left: 30px;
    top: 0px;
}

.free-lesson-text{
	margin-left: 530px;
	margin-top: 73px;
}

.free-lesson-title{
	font-size: 49px;
	line-height: 63px;
	margin-bottom: 20px;
    font-weight: 800;
	color: #fff;
	text-transform: uppercase;
}

.free-lesson-text p{
	background: url(../images/mainpage/zapis-bglbl.png);
	background-repeat: no-repeat;
	font-size: 30px;
	font-weight: 800;
	line-height: 40px;
	color: #fff;
	text-transform: uppercase;
    padding: 25px 30px 35px 38px;
    background-size: 100% 100%;
	margin-left: -39px;
	margin-bottom: 30px;
	display: inline-block;
}

#free-lesson-section.green-bg{
	background-image: url(../images/zapis-bg-green.jpg);
}

#free-lesson-section.blue-bg{
	background-image: url(../images/zapis-bg-blue.jpg);
}

/*************************************************/
/***************MEDIA***768***********************/
/*************************************************/

@media (max-width: 1200px){
	.container{
		width: 740px;
	}

	h1{
		font-size: 34px;
		line-height: 38px;
	}
	h2{
		font-size: 25px;
		line-height: normal;
		margin-bottom: 60px;
	}
	h3{
		font-size: 12px;
		line-height: normal;
		margin-bottom: 15px;
	}
	h4{}
	h5{}
	h6{}

	p{
		font-size: 12px;
		line-height: normal;
	}

	.h1_style{
		font-size: 34px;
		line-height: 38px;
	}

	.h2_style{
		font-size: 25px;
		line-height: normal;
		margin-bottom: 60px;
	}

	.h3_style{
		font-size: 12px;
		line-height: normal;
		margin-bottom: 15px;
	}

	.yellow-btn{
		font-size: 15px;
		line-height: 17px;
		padding: 15px 40px;
	}

	.grey-btn{
		font-size: 10px;
		padding: 5px 22px 3px 22px;
	}

	.yellow-btn-md{
		font-size: 10px;
		padding: 5px 22px 3px 22px;
	}


	.h2_style.have-undertitle{
		margin-bottom: 15px;
	}

	.under-h2-text{
		font-size: 11px;
		line-height: normal;
		margin-bottom: 55px;
	}

	.title-header{
		font-size: 34px;
		line-height: 38px;
	}

	.title-quote:before, .title-quote:after{
		width: 33px;
	}

	.title-quote:after{
		right: -44px;
	}

	.title-quote:before{
		left: -44px;
	}

	.link-with-arrow{
		font-size: 12px;
		line-height: normal;
	}

	.link-with-arrow:after{
	    border-right: 1px solid #005dd0;
	    border-bottom: 1px solid #005dd0;
	    border-radius: 1px;
	}

/*********slider*768******************************/
	.slick-next{
		right: -30px;
	}

	.slick-prev{
		left: -30px;
	}

	.slick-arrow{
		background-size: contain;
		width: 16px;
		height: 28px;
	}


/******************header*768*********************/

	.header-logo-block{
		width: 232px;
		font-size: 10px;
		line-height: 13px;
	}

	.header-logo-block img{
		width: 69px;
	}

	.header-info-block-left{
		display: none;
	}

	.mobile-search{
		display: block;
	}

	.mobile-lk{
		display: block;
	}

	.header-info-write-in-menu{
		display: inline-block;
		margin-left: 15px;
	}

	.header-info-write-in-menu span{
		display: inline;
	}

	.burger{
		display: block;
		position: relative;
		width: 29px;
		height: 25px;
		cursor: pointer;
	}

	.burger:before, .burger:after{
		position: absolute;
		width: 100%;
		height: 2px;
		content: '';
		left: 0;
		background: #000;
		border-radius: 2px;
	}

	.burger:before{
		top: 0;
	}

	.burger:after{
		bottom: 0;
	}

	.burger span:after{
		content: '';
		position: absolute;
		width: 100%;
		height: 2px;
		left: 0;
		top: 50%;
		background: #000;
		transform: translateY(-50%);
	}

	.header-phone-free-call{
		display: none;
	}

	.header-info-block-mobile{
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 110px;
    	margin-top: 13px;
	}

	.header-info-write img{
		width: 29px;
	}

	.header-info-write{
		cursor: pointer;
	}

	.header-choise-city{
		margin-bottom: 10px;
	}

	.header-phone{
		margin-bottom: 0;
	}

	.header-info-block{
		align-items: center;
		width: 365px;
	}

	.header-menu{
		position: fixed;
		left: -400px;
		top: 0;
		z-index: 100;
		height: 100vh;
		transition: 0.5s ease;
		width: 300px;
		padding: 35px 15px 15px;
	}

	.mobile-header{
		display: block;
		border-bottom: 1px solid #c5c5c5;
		margin-bottom: 20px;
		padding: 0 15px 20px 15px;
	}

	.mobile-logo-header{
		display: block;
	}

	.mobile-logo-header{
		display: flex;
		font-size: 10px;
    	line-height: 13px;
    	font-weight: 500;
    	align-items: center;
	    margin-bottom: 20px;
	    margin-top: 20px;
	}

	.mobile-lk{
		margin-top: 20px;
		display: inline-block;
		padding-left: 15px;
		color: #88a7e8;
	}

	.mobile-search{
		padding: 0 15px;
		margin-top: 20px;
	}

	.mobile-search-town{
		font-size: 15px;
		color: #88a7e8;
	    margin-bottom: 20px;
	    display: inline-block;
	}


	.mobile-search-town-list{
		display: none;
	}

	.mobile-search-town-list a{
		display: block;
	    margin: 0 0 10px 15px;
	}

	.mobile-logo-header img{
		width: 69px;
		margin-right: 15px;
	}

	.header-menu.open{
		left: 0;
	}

	.header-menu .container{
		padding: 0px;
		width: 100%;
		flex-wrap: wrap;
		border-bottom: 1px solid #c5c5c5;
		padding: 0 15px;
	}

	.header-menu .container div{
		width: 100%;
	}

	.header-menu a{
		transition: opacity .35s ease-out,transform .35s ease-out;
		opacity: 1;
    	pointer-events: auto;
    	margin-bottom: 20px;
		display: inline-block;
	}

	.header-menu a:after{
		display: none;
	}

	.header-menu .container div a{
		display: block;
	}

	.mobile-header a{
		font-size: 18px;
		font-weight: 700;
		margin-bottom: 0;
	}

	.mobile-header a:before{
		display: none;
	}

	.mobile-header{
		margin-bottom: 20px;
	}

	.close-mobile-menu{
	    display: block;
	    position: absolute;
        right: -48px;
    	top: -11px;
	    font-size: 70px;
	    cursor: pointer;
	    transform: rotate(45deg);
        font-weight: 500;
        color: #cccccc;
	}

	.mobile-sticky{
		 transition: 0.5s ease;
	}

	.mobile-sticky.fixed{
 		animation: menufixed 0.3s ease;
 		position: fixed;
 		z-index: 40;
 		top: 0;
 		background: #fff;
 		width: 100%;
		box-shadow: 0px 5px 15px rgba(84, 84, 84, 0.3);
 		padding-top: 11px;
	}

	.header-town-list{
	    left: -400px;
	    right: auto;
	    top: 0;
	    height: 100vh;
	    border-radius: 0;
	    padding: 25px 15px 15px;
	    box-shadow: none;
	}


	.header-town-list.open{
		left: 0;
		top: 0;
	}

	.town-list{
		height: calc(100% - 140px);
		margin-top: 10px;
		padding-left: 10px;
	    padding-right: 15px;
	}

	.town-list a{
		padding-bottom: 10px;
	    font-size: 15px;
	    line-height: 40px;
	    box-shadow: none;
	    padding: 0 0 0 7px;
	}

	.town-list a:after{
	    content: '';
	    position: absolute;
	    right: 6px;
	    top: 16px;
	    width: 6px;
	    height: 6px;
	    border-bottom: 2px solid #636363;
	    border-right: 2px solid #636363;
	    border-radius: 1px;
	    transform: rotate(-45deg)
	}

	.town-list-title{
		display: block;
	}

	.close-town-list{
		position: absolute;
	    left: 13px;
		top: 21px;
		right: auto;
	    font-size: 38px;
	    font-weight: 500;
	    border-radius: 5px;
   	    transform: scale(-1,1);
	    width: 25px;
	    height: 25px;
	    text-align: center;
	    outline: none;
	    cursor: pointer;
	    color: transparent;
        background-image: url(../images/partner_page/quest-arrow.png);
	}

	.header-town-list  input{
		height: 45px;
		margin-bottom: 10px;
	}

/***************end**header***********************/

/*******free-lesson-section*768*******************/
	#free-lesson-section{

	}

	#free-lesson-section .container{
		width: auto;
	}

	#freelesson-smartik{
		width: 251px;
		left: 65px;
    	top: -20px;
	}

	#freelesson-smartik-shadow{
		width: 251px;
		left: 57x;
    	top: 0px;
	}

	.free-lesson-text {
	    margin-left: 350px;
	    margin-top: 45px;
	}

	.free-lesson-title{
		font-size: 27px;
		margin-bottom: 12px;
		line-height: normal;
	}

	.free-lesson-text p{
		font-size: 17px;
	    padding: 5px 20px 12px 25px;
	    margin-left: -25px;
	}

	.free-lesson-text .yellow-btn{
		font-size: 11px;
		line-height: normal;
	    padding: 10px 28px;
	}

/*************Zapis*na*urok*RED*768*********************/

	#free-lesson-section.red-version #freelesson-smartik{
	    left: 100px;
	    top: 12px;
	}

	#free-lesson-section.red-version .free-lesson-text p{
		background-size: contain;
	}

/***************footer*768************************/
	#footer{
		padding-top: 32px;
	}

	.footer-logo{
		font-size: 10px;
		line-height: normal;
		width: 230px;
	}

	.footer-logo img{
		width: 69px;
		height: 69px;
	}

	.footer-logo-line{
		margin-bottom: 50px;
	}

	.footer-menu{
		margin-left: 0;
		flex-wrap: wrap;
		justify-content: flex-start;
		padding-right: 50px;
		padding-bottom: 120px;
	}

	.footer-menu a{
		margin-right: 40px;
		margin-bottom: 25px;
		display: inline-block;
	}

	.footer-info-line{
		display: none;
	}

	.footer-info-phone{
		margin-left: 0;
		justify-content: flex-end;
		padding-top: 0;
	}

	.footer-info-mail{
		position: absolute;
		left: 0;
    	bottom: 0px;
	}

	.footer-info-mail a{
		display: none;
	}

	.footer-phones span{
		font-size: 12px;
		line-height: normal;
		margin-bottom: 3px;
	}

	.footer-phones a{
		font-size: 20px;
		line-height: normal;
	}

	.footer-phones{
		flex-wrap: wrap;
	}

	.footer-phones div{
		margin-left: 0;
		width: 100%;
		margin-bottom: 20px;
	}

	#footer .social-links{
		left: 0;
		bottom: 59px;
		position: absolute;
	}

	.footer-confident{
		left: 0;
	    top: 210px;
	    bottom: 92px;
	    font-size: 13px;
	    line-height: normal;
	}

	.footer-info-mail span{
		font-size: 11px;
	}
}

/*************************************************/
/***************MEDIA***320***********************/
/*************************************************/
@media (max-width: 760px){
	.container{
		width:290px;
	}
	#arrow-to-top{right: 10px;}
	#arrow-to-top.show{bottom: 10px;}

	h1{
		font-size: 16px;
		line-height: normal;
		margin-bottom: 10px;
	}

	.h1_style{
		font-size: 16px;
		line-height: normal;
		margin-bottom: 10px;
	}

	h2{
		font-size: 15px;
		line-height: normal;
		margin-bottom: 30px;
	}

	.h2_style{
		font-size: 15px;
		line-height: normal;
		margin-bottom: 30px;
	}

	h3{
		font-size: 10px;
		line-height: normal;
		margin-bottom: 10px;
	}

	.h3_style{
		font-size: 10px;
		line-height: normal;
		margin-bottom: 10px;
	}

	.yellow-btn{
		font-size: 9px;
		line-height: normal;
		padding: 8px 21px;
	}

	.title-quote:before, .title-quote:after{
		width: 17px;
		height: 1px;
	}

	.title-header{
		font-size: 16px;
		line-height: normal;
		margin-bottom: 10px;
	}

	.title-quote:before{
		left: -25px;
	}

	.title-quote:after{
		right: -25px;
	}

	.under-h2-text{
		display: none;
	}

	.h2_style.have-undertitle{
		margin-bottom: 30px;
	}

	.link-with-arrow{
		font-size: 9px;
	}

	.link-with-arrow:after{
		top: 64%;
	    right: -9px;
	    width: 5px;
	    height: 5px;
	}


/*******free-lesson-section*320*******************/
	#free-lesson-section{
		height: auto;
		padding-bottom: 20px;
	}

	#freelesson-smartik-shadow{
		display: none;
	}

	#freelesson-smartik{
		width: 134px;
	    left: calc((100%-290px)/2 + -160px);
	    top: 38px;
	}

	#free-lesson-section .container{
		width: 290px;
	}

	.free-lesson-text{
		margin-left: 125px;
		margin-top: 55px;
	}

	.free-lesson-title{
		font-size: 20px;
		line-height: normal;
		margin-bottom: 8px;
	}

	.free-lesson-title br{
		display: none;
	}

	.free-lesson-text p{
		background: none;
		padding: 0;
		margin-bottom: 30px;
		font-size: 11px;
		line-height: normal;
		margin-left: 0;
	}

	#free-lesson-section .yellow-btn{
		font-size: 10px;
		line-height: normal;
		padding: 8px 23px;
	}

/*************************************************/
/******************SLIDER*320*********************/
/*************************************************/
	#block-news-section {
	    padding-bottom: 30px;
	}
	.slick-dots li button:before{
		height: 4px;
		width: 4px;
	}

	.slick-dots li{
		width: 6px;
	    margin: 0 3px;
	}

	.slick-prev{
		left: -15px;
	}

	.slick-next{
		right: -15px;
	}

	.slick-arrow{
		width: 8px;
    	height: 20px;
	}

	.slick-dots{
		bottom: -15px;
	}

/*************************************************/
/******************HEADER*320*********************/
/*************************************************/
	#header-section{
		padding-top: 11px;
	}

	.header{
		padding-bottom: 11px;
	}

	.header-logo-block img{
		height: 42px;
		width: 42px;
	}

	.header-logo-block div{
		display: none;
	}

	.header-logo-block{
		width: 42px;
		margin-right: 11px;
	}

	.header-choise-city{
		font-size: 9px;
		line-height: normal;
		margin-bottom: 2px;
	}

	.header-phone{
		font-size: 12px;
		line-height: normal;
	}

	.header-info-block-rigth{
		justify-content: flex-start;
		width: 110px;
	}

	.header-info-block-mobile{
		margin-top: 0;
		width: 77px;
	}

	.burger{
		height: 18px;
		width: 21px;
		order: 1;
	}

	.header-info-write img {
	    width: 23px;
	    margin-top: 3px;
	}




/*************************************************/
/******************FOOTER*320*********************/
/*************************************************/
	#footer{
		padding-top: 20px;
	    padding-bottom: 150px;
	}

	.footer-logo img{
		width: 42px;
		height: 42px;
	}

	.footer-logo{
		font-size: 10px;
    	width: 195px;
	}

	.footer-info-mail{
		bottom: -140px;
	}

	.footer-logo-line{
		margin-bottom: 25px;
		padding-bottom: 20px;
		border-bottom: 1px solid #535353;
	}

	.footer-menu a.active{
		color: #fff;
	}

	.footer-menu a.active:after{
		display: none;
	}

	.footer-menu a{
		width: 100%;
		margin-bottom: 14px;
	}

	.footer-menu{
		padding-bottom: 15px;
		margin-bottom: 30px;
	}

	.footer-confident{
	    position: initial;
	}

	.footer-phones{
		text-align: left;
	}

	#footer .social-links{
		bottom: -63px;
	}
}

@media (max-width: 736px){
	.free-lesson-title {
	    font-size: 14px;
	    line-height: normal;
	    margin-bottom: 8px;
	}

	.free-lesson-text p {
	    background: none;
	    padding: 0;
	    margin-bottom: 15px;
	    font-size: 11px;
	    line-height: normal;
	    margin-left: 0;
	}

	.free-lesson-text {
	    margin-left: 125px;
	    margin-top: 16px;
	}

	#freelesson-smartik {
	    width: 134px;
	    left: calc((100%-290px)/2 + -160px);
	    top: 0px;
	}
}


/*************************************************/
/**********thanks*modal***************************/
/*************************************************/

.form-thanks {
    padding: 85px 53px 135px 53px;
    overflow: hidden;
    z-index: 300;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    border: 10px solid #ffc300;
    width: 657px;
    background: #fff;
    display: none;
	max-height: 100%;
	position: fixed;
}

.close-form-style{
	position: absolute;
    cursor: pointer;
    right: -1px;
    top: -1px;
    background: #ffc300;
    border-radius: 50%;
    width: 53px;
    height: 53px;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
}

.frm-pdn {
    padding-left: 11px;
}

.form-thanks:after {
    position: absolute;
    content: '';
    bottom: -95px;
    right: 45px;
    width: 306px;
    height: 607px;
    background-image: url(/wp-content/themes/smartykids-theme/images/smartyk-form.png);
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: contain;
}

.form-thanks h3 {
    font-size: 30px;
    line-height: 32px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.thx-orange-block {
    background: #ffc300;
    border-radius: 30px;
    padding: 52px 64px 66px 21px;
    margin-top: 170px;
    position: relative;
}

.thx-orange-block h4 {
    width: 56%;
    text-align: center;
    font-size: 20px;
    line-height: 24px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.thx-orange-block a {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
}

.thx-orange-block:after {
    position: absolute;
    background: #e94a63;
    content: '';
    bottom: -44px;
    left: 125px;
    width: 94px;
    height: 94px;
    border-radius: 50%;
    background-image: url(/wp-content/themes/smartykids-theme/images/instagram-wh.png);
    background-repeat: no-repeat;
    background-position: 50%;
}
