/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 991px) {

}

@media only screen and (min-width : 769px) {
	.hide-desktop{
		display: none !important;
	}
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	.hide-mobile{display:none !important;}
	.scroll-back-to-top-wrapper{right:5px !important;}
	body.home{background:url(../images/body-bg-mobile.png) center 610px no-repeat; background-size:100% auto;}
	#branding{width:100%;}
	#branding .logo{left:13px; top:24px;}
	#branding .logo > img{width:85px;}
	#branding .header-social{text-align:center;}
	#branding .header-social a{float:none; display:inline-block; zoom:1; *display:inline; vertical-align:top; margin:7px 14px;}
	#mobile-header{margin-bottom:10px;top:0px}
	#mobile-header .nav-trigger{margin-right:17px;}
	.mobile-menu{top:94px;}
	.breadcrumbs{padding-top:0px; margin-top:-5px;}
	.breadcrumbs a{text-decoration:none;}
	.home .slider{background-size:cover; background-position: 67% bottom;}
	#content{width:100%; margin: 0 auto;}
	#content.page-school{margin: 50px auto 0;}
	.home #content{width:100%;margin: 0px auto;}
	.home .metaslider{margin-top:95px}
	.meet{margin-bottom:5px;}
	.meet .text{float:none; width:100%; padding:10px 30px;}
	.meet h2{font-size:52px;}
	.meet .moto{position:relative; width:100%; height:210px; top:auto; right:auto; background-size:auto 100%; background-position:center;}
	.anonses{margin-bottom:0;}

	.bird-1{display:none;}
	.events{overflow:hidden;}
	.events .title{width:320px; padding-right:9px; margin:0 auto 44px;}


	.title-with-line{border-radius:8px; margin-left:auto; margin-right:auto;}
  
  
	.new-title-with-line{height:auto;}
	.vc_column_container.vc_col-sm-12 > .vc_column-inner{max-width:94%; margin-left:auto; margin-right:auto;}

	body.page-template-page-goods{background:url(../images/body-bg-mobile-simple.png) center 385px no-repeat; background-size:100% auto;}
	body.page-template-page-goods .breadcrumbs{margin-bottom:5px;}
	.goods .title-with-line, .goods .title-with-line h3{height:auto; background:transparent; top:auto;}
	.goods > .title-with-line{margin-bottom:0;}
	.goods .title-with-line h3{font-size:74px; line-height:0.9;}
	.goods .title-with-line h3:before, .goods .title-with-line h3:after{display:block; content:''; position:absolute; width:48px; height:6px; border-radius:8px; top:auto; bottom:34px; background:#9d1c53;}
	.goods .title-with-line h3:before{right:0;}
	.goods .title-with-line h3:after{left:0;}
	.goods > p{margin:0 3% 20px;}
	.goods .good h4, .page-school .good h4{padding:12px 10px; font-size:22px;}
	.goods .buy-now-button, .page-school .buy-now-button{width:166px; height:39px; left:50%; bottom:-19px; margin-left:-83px; background-size:100% 100% !important; font-size:31px; line-height:40px;}

	.small-title h3{padding:0 47px; font-size:54px; line-height:0.92;}
	.small-title h3:before, .small-title h3:after{height:6px; border-radius:8px; top:auto; bottom:25px;}
	.small-title h3:before{left:15px;}
	.small-title h3:after{right:15px;}

	.school-inner-1-block-6 .small-title h3{padding:0 55px;}
	.school-inner-1-block-7 .small-title h3{padding:0 62px;}

	h4.title-with-line-2{width:230px; height:66px; background-size:100% auto !important; font-size:40px; line-height:78px;}


	.anonses > div{width:250px; display:block; padding-bottom:36px; margin:0 auto !important;}
	.anonses .anons-image{width:250px; height:250px; border-radius:125px;}
	.anonses .anons-link{top:209px; left:50%; width:215px; height:61px; margin-left:-108px; padding-top:20px;}
	.all-anonses{text-align:center; padding-left:0;}
	.all-videos{text-align:center; padding-left:0;}
	.blog-all{text-align:center; padding-left:0;}

	.home-page-form{padding-top:230px; /*background:url(../images/form-gift.png) center 10px no-repeat; */margin-top:25px; margin-bottom:40px;}
	.ele-1{width:100px; height:218px; top:40px; right:50%; margin-right:-50px;}
	p.submit:after, p.submit:before{width:23% !important;}
	.form-2-fields form{padding-top:10px;}
	.form-2-fields input, .form-2-fields textarea{width:90%;}
	.school{margin-bottom:60px; /*padding-bottom:210px; background:url(../images/school-bg-mobile.png) center bottom no-repeat;*/ padding-bottom:0;}
	.school .anonses{margin-bottom:0;}
	
	.video-categories, .videos-wrapper{max-width:94%; margin:0 auto;}
	.video-categories{margin-top:30px; margin-bottom:25px;}
	.videos{/*padding-top:57px;*/ padding-top:20px; margin-bottom:70px}
	.videos .video-big span{padding:0;}
	.videos .video-small > div{width:100%; margin:0 auto 12px;}
	.videos .video-big .video,
	.videos .video-small .video,
	.video-slider,
	.video-gallery-item > div,
	.video-content{
	}
	.video-gallery-item > div{
		height:220px;
	}
	.videos .video-big .video iframe,
	.videos .video-small .video iframe,
	.video-slider iframe,
	.video-gallery-item > div iframe,
	.video-content iframe{
	}
	/* 16:9 */
	/*.videos .video-big .video,
	.videos .video-small .video,
	.video-slider,
	.video-gallery-item > div,
	.video-content{
		position: relative;
		padding-bottom: 56.25%;
		padding-top: 25px;
		height: 0;
	}
	.videos .video-big .video iframe,
	.videos .video-small .video iframe,
	.video-slider iframe,
	.video-gallery-item > div iframe,
	.video-content iframe{
		position: absolute;
		top: 0;
		left: 0;
		width: 100% !important;
		height: 100% !important;
	}*/
	#content .blog .blog-item-big .blog-data .blog-text{width:auto; padding:0 0 25px;}
	#content .blog .blog-item-big .groups{font-size:18px;}
	#content .blog > span{width:94%; margin:10px auto 25px;}
	#content .blog .blog-item-small{display:block;}
	#content .blog .blog-item-small > div{width:100%; height: auto;}
	#content .blog .blog-item-small h4 a{position: relative; font-size: inherit;}
	#content .blog .blog-item-big .blog-meta .date{display:none;}
	#content .blog .blog-item-big .blog-data{padding:15px 20px 240px;}
	#content .blog .blog-item-big .blog-data .blog-thumbnail{float:none; position:absolute; width:auto; left:20px; right:20px; bottom:45px;}
	#content .blog .blog-item-big .blog-data .blog-thumbnail img{width:100%; height:auto;}
	#content .blog .blog-item-big .blog-data .left-arrows{right:auto; left:50%; bottom:6px; margin-left:-51px; font-size:27px;}

	.home-feedback-button a{width:150px; height:47px; bottom:-24px; font-size:29px; line-height:47px;}

	.bird-2{width:87px; height:112px; background-size:auto 100%;}
	.press > span{padding:0 15px; margin-bottom:25px;}

	.school-about{padding:0 15px 230px;}
	.school-about h1{position:relative; overflow:hidden; text-align:center;}
	.school-about h1 strong{display:inline-block; padding:0 10px; background:#ffffff;}
	.school-about h1:before, .school-about h1:after{display:block; content:''; position:absolute; width:28px; height:6px; border-radius:8px; top:auto; bottom:33px; background:#9e1d53; z-index:-1;}

	.school-about h1:before{right:0;}
	.school-about h1:after{left:0;}
	.school-about p{text-align:center;}
	.school-page .title-with-line{margin-top:40px; margin-bottom:40px;}
	.school-page .articles .text, .school-page .links .text, .discs-description{padding:0;}
	.man-with-bird{bottom:35px;}
	.get-a-gift-form{padding-top:230px; background:url(../images/form-gift.png) center 10px no-repeat; margin-bottom:0;}
	.school-page p.submit{position:relative; width:90%; margin:0 auto; overflow:hidden;}
	.school-page p.submit:before, .school-page p.submit:after{display:block !important; content:''; position:absolute; width:100% !important; height:1px; top:20px; background:#000000; z-index:-1;}
	.school-page p.submit:before{right:50%; margin-right:80px;}
	.school-page p.submit:after{left:50%; margin-left:76px;}


	div.wpcf7-validation-errors{margin-top:10px !important;}
	a.left-arrows{font-size:30px; padding-left:20px; background-position: left 8px;}


	.courses{padding-top:0;}
	.courses-img{width:90%; height:auto;}
	.courses-img img{display:block;}
	.school-page .videos > span{width:90%; margin:0 auto 20px;}
	.school-page .videos, .discs{padding-top:0; margin-bottom:0;}

	.school-page .discs{padding-top:80px;}
	.school-page .discs-img{width:94%;}
	.discs-description{width:90%; margin:0 auto;}
	.school-page .links{width:90%; margin:0 auto; padding-top:0; margin-bottom:0;}
	.school-page .articles{padding-top:0; margin-bottom:0;}
	.ninja{position:relative; margin:0 auto; bottom:auto; right:auto;}

	.school-inner-1-block1 > p, .school-inner-1-block2, .school-inner-1-block3, .school-inner-1-block4, .school-inner-1-block-5, .school-inner-1-block-6, .school-inner-1-block-7{width:94%; margin:0 auto;}
	.school-inner-1-block-6{margin-bottom:15px;}
	.trainig-details-item{width:100%; margin:0 auto; overflow:hidden;}
	.trainig-details .text, .school-inner-1-block3 .image, .school-inner-1-block4 .wpcf7{width:100%; margin:0 auto; padding-right:0;}
	.trainig-details .text{text-align:center;}
	.trainig-details ul{padding-top:15px;}
	.trainig-details ul li{margin-bottom:7px;}
	.trainig-details img{float:none; width:100%; height:auto; margin-bottom:10px;}
	.trainig-details .image-description{ position:relative; width:100%; top:auto; left:auto; margin-bottom:15px; font-size:21px; color:#6d6e70;}

	.school-inner-1-recomendations .rec-title{float:none; width:148px; height:96px; margin:0 auto; background-size:100% 100%; font-size:44px; padding-top:16px;}
	.school-inner-1-recomendations .rec-title span:last-child{font-size:27px;}
	.school-inner-1-recomendations .rec-text{float:none; width:100%; text-align:center;}

	.school-inner-1-block3 .rabbit-says{width:100%; height:429px; margin:15px auto 15px; background:url(../images/rabbit-says-mobile.png) center no-repeat;}
	.school-inner-1-block3 .rabbit-says .rabbit-says-text{left:50%; top:36px; margin-left:-147px; font-family: "stanga";}
	.school-inner-1-block3 .rabbit-says .rabbit-says-text > p{font-size:28px; line-height:0.9;}

	.video-gallery-item{width:49%; display:block !important; float:right; margin-left:1%; }
	.video-gallery-item:nth-child(3n){margin-left:1%;}
	.video-gallery-item:nth-child(2n){margin-right:1%; margin-left:0;}

	.goods .good, .page-school .good{height:auto;}
	.goods .good-image, .page-school .good-image{width:100%; height:auto; float:none;}
	.goods .good-content, .page-school .good-content{width:100%; padding:10px 15px; text-align:center;}
	.goods .good-price, .page-school .good-price{position:relative; width:100%; height:auto; padding-bottom:40px; bottom:auto; right:auto; text-align:center;}
	.goods .good-price .delivery, .page-school .good-price .delivery{top:64px; bottom:auto; left:50%; margin-left:-57px;}
	.goods .good-price .good-price-2, .page-school .good-price .good-price-2{left:10%; top:32px;}

	body.page-template-page-links{background:#ffffff;}
	body.page-template-page-links #content{margin-bottom:0;}
	body.page-template-page-links .mickey-mouse, .page-school .mickey-mouse{display:none;}
	body.page-template-page-links .links-list, .page-school .links-list{padding:20px 0 0 !important; font-size:19px; text-align:center;}
	body.page-template-page-links .links-list-1, .page-school .links-list-1{padding-bottom:230px !important; background:url(../images/mickey-mouse-mob.png) center bottom no-repeat;}
	body.page-template-page-links .page-links, .page-school .page-links{padding-bottom:0;}
	body.page-template-page-links .pirat, .page-school .pirat{position:relative; height:270px; bottom:auto; left:auto;  margin:0 auto; background-size:auto 100%;}
	body.page-template-page-links .married, .page-school .married{position:relative; height:270px; bottom:auto; left:auto;  margin:0 auto; background-size:auto 100%;}

	.article-left, .article-right, .little-articles{width:94%; float:none; margin:0 auto 15px;}
	.little-article{width:100%; float:none; display:block; height:auto; margin-bottom:20px;}
	.little-article-image{width:100%; height:auto; margin-bottom:10px;}
	.little-article-image img{display:block;}

	.events-intro .title-with-line{margin-bottom:50px;}
	body.page-template-template-events .title-with-line{margin:32px auto;}
	body.page-template-template-events .title-with-line.all-events-title{margin-top:270px;}
	.events-content{width:92%; margin:0 auto; padding:0 0 265px;}
	body.page-template-template-events{background-image:url(../images/body-bg-events-mobile.png); background-position: center 96%; background-size: auto 690px;}
	body.page-template-template-events .married{bottom:32px; left:50%; margin-left:-100px;}
	body.page-template-template-events h1{font-weight: normal; font-family: 'stanga_700' !important; font-size: 72px; color: #9d1c53; background: #ffffff; position: relative; top: -33px; padding: 0 8px; display: inline-block;}
	body.page-template-template-events .events-content h2{display:none;}
	.events-content ul li{font-size:17px;}
	.white-bg-mobile{background:#ffffff !important;}
	.events-item{width:94%; display:block; padding-top:20px; margin:0 auto 30px;}
	.events-item-image{width:250px; height:250px;}
	.events-item-title{left:50%; top: 232px; width:215px; height:61px; margin-left:-107px; font-size:34px; line-height:77px;}
	.events-form{padding-top:0; margin-bottom:0; max-width:320px; margin:0 auto;}
	.events-form .text{padding:0 10px 10px; font-size: 21px;}
	.quote{width:205px; padding:12px 15px;}
	.quote:before, .quote:after{width:13px; height:50px; background-size:100% 100%;}
	.quote p{font-size:13px;}
	.form-2-fields input[type="submit"]{width:190px; font-size:29px; padding:8px 0 4px;}

	/*body.page-template-page-events1{background-image:url(../images/body-bg-events1-mobile.png); background-position: center 99%;}*/
	.events-quote{font-family:'stanga';}
	.link-with-line a{width:125px; height:35px; top:-18px; background-size:100% 100%; font-size:25px; line-height:35px;}
	body.page-template-page-events1 .link-with-line a{background-color:#ffffff;}
	.s1{margin-top:115px;}
	.s1 .bigger-font-mobile{width:185px; margin-top:-63px; line-height:0.9;}
	.recomendations{padding:38px 0 0;}
	.recomendations > strong{font-size:21px;}
	.partner{padding-top:0;}
	.partner h4{padding:0 35px; font-family:'stanga_700'; font-size:34px;}

	.s2{margin-top:115px;}
	.s2 .bigger-font-mobile{width:190px; margin-top:-63px; line-height:0.9;}

	.services-form-btn{position:relative; width:90%; margin:0 auto; overflow:hidden;}
	.services-form-btn:before, .services-form-btn:after{display:block !important; content:''; position:absolute; width:100% !important; height:1px; top:25px; background:#000000; z-index:-1;}
	.services-form-btn:before{right:50%; margin-right:63px;}
	.services-form-btn:after{left:50%; margin-left:65px;}

	.blog-page{padding-top:30px;}
	.blog-page .title-with-line{margin-bottom:32px;}
	.blog-page .text{margin-top:40px;}
	.blog-page .text p{margin:0 30px; font-size:21px;}

	.posts-sidebar{display:none;}
	.posts-list{float:none; width:94%; margin:0 auto;}
	.posts-list .blog-post h2{position:relative; padding-bottom:21px; font-family:'stanga' !important; font-size:44px !important; font-weight:400 !important; line-height:0.9;}
	.no-sidebar .posts-list .blog-post h2{padding-bottom: 4px;}
	.posts-list .blog-post h2 time{position:absolute; bottom:8px; right:0; font-family:'Alef', Arial, sans-serif; font-size:14px; text-align:center;}
	.posts-list .blog-post .blog-post-detail{text-align:center;}
	.posts-list .blog-post .blog-post-detail .post-thumb{margin-bottom:15px; float:none;}
	.posts-list .blog-post .blog-post-detail .blog-post-content{ float:none;}
	.posts-list .blog-post .blog-post-detail a.left-arrows{font-size: 24px; padding-left: 20px; background-position: left 6px;}
	.share{text-align:right;}

	.back-to-blog{position:relative; width:100%; margin:0 auto 35px; overflow:hidden;}
	.back-to-blog a{width: 125px; height: 35px; line-height: 35px; background-size:100% 100% !important;}
	.back-to-blog:before, .back-to-blog:after{display:block !important; content:''; position:absolute; width:100% !important; height:1px; top:17px; background:#000000; z-index:-1;}
	.back-to-blog:before{right:50%; margin-right:57px;}
	.back-to-blog:after{left:50%; margin-left:57px;}

	body.single{background-size: auto 96%; background-position: center 0;}

	body.page-template-template-about{background:#ffffff;}
	.about{padding-top:32px;}
	.about .about-text{padding:0px 12px 0; font-size:17px;}
	.about-text .me, .image-me{float:left; position:relative; top:auto; bottom:auto; left:auto; width:166px; height:253px;}
	.about .recomendations{padding:32px 0 0;}


	.reason{width:94%; margin:0 auto;}
	.reason-number{right:0; top:auto; float:right; font-size:80px;}
	.reason-text{padding-right:60px; padding-bottom:20px; text-align:right;}
	.reason-image img{display:block; width:100%; height:auto;}
	.event-press-images > div{width:50%; float:right;}

	.kesha{left:14px; bottom: -166px; height: 170px; width: 77px;}
	body.page-template-template-contact .contacts-form-1{padding-top:125px; width:100%; margin:0 auto 50px;}
	.contacts-form-1 .text{padding:0 10px;}
	.contacts-form-1 .text p{font-size:21px;}
	body.page-template-template-contact .contacts-form-1 .text{padding:0 50px;}

	.vc_separator.vc_separator_align_center.bigger-font-mobile h4{font-size:78px !important; }

	.contacts-form-2 .left, .contacts-form-2 .right{width:90%; float:none; margin:0 auto;}
	body.page-id-16 .left, body.page-id-16 .right{margin:0 auto; padding:0;}
	.contacts-form-2 .services-form-btn input{display:block; margin:0 auto; background-size:100% 100%;}

}


@media only screen and (max-width : 640px) {
	.school-invitation{max-width:480px; margin-left:auto; margin-right:auto;}
	.invitation-image, .invitation-content{width:100%; float:none;}
	.invitation-image img{position:relative; display:block; min-width:0; min-height:0; max-width:100%; width:100%; height:auto;}
	.invitation-content{padding-bottom:50px;}
	.invitation-button-holder a{margin-right:-105px;}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
	.home .slider{height:330px; background-position: 64% bottom;}

	.school-slider, .three-images{overflow:hidden;}
	#three-images-slider{display:block;}
	.three-images{height:auto;}
	#school-slider.flexslider, #three-images-slider.flexslider{max-width: 80%; width: 80%; margin: 0 auto; overflow: visible !important}
	#school-slider .flex-viewport, #three-images-slider .flex-viewport {overflow: visible !important}
	#school-carousel, #three-images-carousel{display:none;}
	#school-slider li, #three-images-slider li{opacity:0.5; border:1px solid transparent;}
	#school-slider li.flex-active-slide, #three-images-slider li.flex-active-slide{opacity:1;}

	.video-gallery >p iframe{height:230px;}


	.video-gallery-item{width:94%; display:block !important; float:none; margin:0 auto 20px;}
	.video-gallery-item:nth-child(2n), .video-gallery-item:nth-child(3n){margin:0 auto 20px;}
	.video-gallery-item > div{height:auto;}
	

	.video-categories a{font-size:19px; line-height:21px; padding:5px; margin:0 10px;}

	.event-image-1-image, .event-image-2-image, .event-image-3-image{height:auto;}
	.event-image-1-image img, .event-image-2-image img, .event-image-3-image img{display:block;}
	.mini-images-row-1 > div, .mini-images-row-2 > div{width:100%; display:block; height:auto; margin-bottom:12px;}
	.mini-images-row-1 .two-images .mini-image, .mini-images-row-1 .one-images .mini-image{height:auto; margin-bottom:12px;}
	.mini-images-row-1 .two-images .mini-image:first-child{margin-bottom:12px;}

	.recomendations > strong{display:block; padding:0; text-align:center;}
	.recomendations table, .recomendations tbody, .recomendations table td{display:block; width:94%; padding:10px 0 !important; margin:0 auto; text-align:center;}
	.recomendations td img{width:100%;}
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {
	body.home{background-position:center 540px;}
	#branding{left:0;}
	.home .slider{height:267px; background-position: 65% bottom;}

	.bird-1{height: 117px; width: 88px; top: -96px; background-size:100% auto;}
	p.submit:after, p.submit:before {width: 15% !important;}
	.school{padding-bottom:203px;}
	.school .anons-item p{font-size:20px;}
}
/* Custom, iPhone Retina */
@media only screen and (max-width : 376px) {
.ele-1 {
    top: 11px;
}
}
/* Medium Devices, Desktops , laptops*/
@media only screen and (max-width : 955px) {

}
/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
	.hide-desktop{display:none;}
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 991px) {
.school {
    padding-top: 62px;
    /*margin-bottom: 280px;*/
	margin-bottom: 0;
}
}

 /* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}