/*

Theme Name:     mastera

Theme URI:      http://#

Description:    FTT Theme 

Author:         http://#

Author URI:     http: //example.com/about/

Template:       mastera

Version:        0.1.0

*/

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
	margin: 0;
	padding: 0;
}

fieldset,
img {
	border: 0;
}

address,
caption,
cite,
code,
dfn,
th,
var {
	font-style: normal;
	font-weight: normal;
}

table {
	border-collapse: collapse;
}

ol,
ul {
	list-style: none;
}

caption,
th {
	text-align: left;
}

q:before,
q:after {
	content: '';
}

abbr,
acronym {
	border: 0;
}

iframe {
	max-width: 100%;
}

* {
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
}

a {
	text-decoration: none;
}

img {
	display: block;
}

li {
	list-style: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
	display: block;
}

input[type='submit'],
a {
	outline: none!important;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
	display: block;
}

textarea {
	resize: none;
}

.clr {
	clear: both;
}

.inline {
	display: inline-block;
}

::-webkit-input-placeholder {
	color: #b0b0b0;
}

::-moz-placeholder {
	color: #b0b0b0;
}

:-moz-placeholder {
	color: #b0b0b0;
}

:-ms-input-placeholder {
	color: #b0b0b0;
}

body input:focus:required:invalid,
body textarea:focus:required:invalid {
	border: red 1px solid
}

body input:required:valid,
body textarea:required:valid {
	border: green 1px solid
}

img {
	max-width: 100%;
}

/* End Reset */

/* Start */

/* font-family: "Stem-Bold"; */

@font-face {
	font-family: "Stem-Bold";
	src: url("/wp-content/themes/mastera/fonts/Stem-Bold/Stem-Bold.eot");
	src: url("/wp-content/themes/mastera/fonts/Stem-Bold/Stem-Bold.eot?#iefix")format("embedded-opentype"), url("/wp-content/themes/mastera/fonts/Stem-Bold/Stem-Bold.woff") format("woff"), url("/wp-content/themes/mastera/fonts/Stem-Bold/Stem-Bold.ttf") format("truetype");
	font-style: normal;
	font-weight: normal;
}

/* font-family: "Stem-Light"; */

@font-face {
	font-family: "Stem-Light";
	src: url("/wp-content/themes/mastera/fonts/Stem-Light/Stem-Light.eot");
	src: url("/wp-content/themes/mastera/fonts/Stem-Light/Stem-Light.eot?#iefix")format("embedded-opentype"), url("/wp-content/themes/mastera/fonts/Stem-Light/Stem-Light.woff") format("woff"), url("/wp-content/themes/mastera/fonts/Stem-Light/Stem-Light.ttf") format("truetype");
	font-style: normal;
	font-weight: normal;
}

/* font-family: "Stem-Regular"; */

@font-face {
	font-family: "Stem-Regular";
	src: url("/wp-content/themes/mastera/fonts/Stem-Regular/Stem-Regular.eot");
	src: url("/wp-content/themes/mastera/fonts/Stem-Regular/Stem-Regular.eot?#iefix")format("embedded-opentype"), url("/wp-content/themes/mastera/fonts/Stem-Regular/Stem-Regular.woff") format("woff"), url("/wp-content/themes/mastera/fonts/Stem-Regular/Stem-Regular.ttf") format("truetype");
	font-style: normal;
	font-weight: normal;
}

/* font-family: "Stem-Medium"; */

@font-face {
	font-family: "Stem-Medium";
	src: url("/wp-content/themes/mastera/fonts/Stem-Medium/Stem-Medium.eot");
	src: url("/wp-content/themes/mastera/fonts/Stem-Medium/Stem-Medium.eot?#iefix")format("embedded-opentype"), url("/wp-content/themes/mastera/fonts/Stem-Medium/Stem-Medium.woff") format("woff"), url("/wp-content/themes/mastera/fonts/Stem-Medium/Stem-Medium.ttf") format("truetype");
	font-style: normal;
	font-weight: normal;
}

/* End РџРѕРґРєР»СЋС‡РµРЅРёРµ С€СЂРёС„С‚РѕРІ */

/* Start Body */

.body,
body {
	font-family: "Stem-Bold";
	font-size: 15px;
}

.body {
	padding-top: 163px;
}

iframe {
	border: 0px;
}

b,
strong {
	font-family: "Stem-Bold";
}

h2 {
	font-family: "Stem-Bold";
	font-size: 25px;
	text-transform: uppercase;
	text-align: center;
}

hr {
	width: 112px;
	height: 2px;
	background-color: #cb2129;
	border: 0px;
	margin-bottom: 20px;
}

ol li {
	font-family: "Stem-Light";
	margin-bottom: 20px;
	padding-left: 60px;
	min-height: 40px;
}

ol li:first-child {
	background: url(/wp-content/themes/mastera/img/icon_1.png) left top no-repeat;
}

ol li:nth-child(2) {
	background: url(/wp-content/themes/mastera/img/icon_2.png) left top no-repeat;
}

ol li:nth-child(3) {
	background: url(/wp-content/themes/mastera/img/icon_3.png) left top no-repeat;
}

ol li:nth-child(4) {
	background: url(/wp-content/themes/mastera/img/icon_4.png) left top no-repeat;
}

ol li:nth-child(5) {
	background: url(/wp-content/themes/mastera/img/icon_5.png) left top no-repeat;
}

.content ul li,
.text ul li {
	font-family: "Stem-Light";
	padding-left: 20px;
}

.content ul li:before,
.text ul li:before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #66CBEF;
	margin-right: 20px;
}

.header,
.foo {
	width: 1280px;
	margin: 0px auto;
	padding: 20px 70px;
	box-sizing: border-box;
}

.header .names,
.header .phones,
.header .work,
.header .call,
.foo .names,
.foo .phones,
.foo .work,
.foo .call {
	display: inline-block;
	vertical-align: top;
}

.header .names,
.foo .names {
	width: 410px;
	margin-right: 63px;
}

.header .names .logo,
.foo .names .logo {
	float: left;
	margin-right: 10px;
	width: 58px;
	height: auto;
}

.header .names .name,
.foo .names .name {
	display: block;
	font-size: 14px;
	text-transform: uppercase;
	margin-top: 4px;
}

.header .names .desc,
.foo .names .desc {
	display: block;
	font-family: "Stem-Light";
}

.header .phones,
.header .work,
.foo .phones,
.foo .work {
	margin-top: 10px;
}

.header .phones p,
.foo .phones p {
	font-family: "Stem-Light";
	text-transform: uppercase;
}

.header .phones .phone,
.foo .phones .phone {
	background: url(/wp-content/themes/mastera/img/icon_phone.png) left center no-repeat;
	padding-left: 20px;
	margin-right: 50px;
}

.header .work,
.foo .work {
	margin-right: 50px;
}

.header .work p,
.foo .work p {
	font-family: "Stem-Light";
}

.header .work .zvoni,
.foo .work .zvoni {
	padding-left: 20px;
	background: url(/wp-content/themes/mastera/img/icon_clock.png) left center no-repeat;
}

.header .work .mail,
.foo .work .mail {
	padding-left: 20px;
	background: url(/wp-content/themes/mastera/img/icon_mail.png) left center no-repeat;
}

.header .call,
.foo .call {
	width: 195px;
	height: 47px;
	border: 3px solid #66CBEF;
	line-height: 47px;
	text-align: center;
	color: #000;
	text-transform: uppercase;
	margin: 7px 0px;
}

.header .call:hover,
.foo .call:hover {
	background-color: #66CBEF;
	color: #fff;
}

.wrap_menu {
	background-color: #66CBEF;
	border-bottom: 2px solid #fff;
}

.menu {
	width: 1280px;
	margin: 0px auto;
	font-size: 0px;
	text-align: center;
	position: relative;
}

.menu li {
	display: inline-block;
	margin: 0px 23px;
	padding: 16px 0px;
}

.menu li a {
	font-size: 15px;
	color: #fff;
	text-transform: uppercase;
	border-bottom: 2px solid #66CBEF;
	display: inline-block;
}

.menu li a:hover {
	border-bottom: 2px solid #fff;
}

.menu li:hover ul {
	width: 246px;
	display: block;
	position: absolute;
	top: 53px;
	background-color: #66CBEF;
	padding: 20px 0px;
	text-align: center;
	border-bottom: 2px solid #fff;
	border-top: 2px solid #fff;
}

.menu li ul {
	display: none;
}

.menu li li {
	padding: 5px 0px;
	margin: 0px 10px;
	display: block;
}

.fixed {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	background: #fff;
	z-index: 8;
}

.main,
.category {
	width: 1280px;
	text-align: center;
	padding-top: 40px;
	margin-right: auto;
	margin-left: auto;
	background-size: cover !important;
}

.main:after,
.price:after,
.viezd:after,
.owl-nav:after,
.katalog ul li p:after,
.text:after,
.content:after,
.shkola:after,
.shkola2:after,
.post:after {
	content: '';
	display: block;
	clear: both;
}

.main .h2,
.main p {
	color: #fff;
	font-size: 29px;
	text-transform: uppercase;
	width: 1200px;
	margin: 0px auto;
}

.main iframe,
.main .wp-video {
	max-width: 621px;
	margin-top: 30px;
	margin-bottom: 35px;
	margin-left: 70px;
	float: left;
}

/*.main ul{max-width: 400px;float: left;text-align: left;margin-top: 40px;margin-left: 110px;margin-bottom: 80px;}*/

.main ul {
	width: 40%;
	float: left;
	text-align: left;
	margin-top: 40px;
	/* margin-left: 110px; */
	margin-bottom: 80px;
	margin-left: 5%;
}

.main ul li {
	font-family: "Stem-Medium";
	color: #fff;
	font-size: 30px;
	/*background: url(/wp-content/themes/mastera/img/icon_mark.png) left center no-repeat;padding-left:50px;*/
	margin-bottom: 30px;
}

.wrap_price,
.wrap_viezd,
.wrap_otzivi,
.wrap_text,
.wrap_shkola,
.wrap_faq {
	background-color: #eeeeee;
}

.price,
.viezd,
.otzivi {
	width: 1280px;
	margin: 0px auto;
}

.main_text {
	/*position: absolute;left: 0;*/
	width: 100%;
	z-index: 1;
}

.price .h2,
.types .h2,
.viezd .h2,
.otzivi .h2,
.uslugi h1,
.how .h2,
.sertifikat .h2,
.garanty .h2 {
	font-family: "Stem-Bold";
	font-size: 25px;
	text-transform: uppercase;
	text-align: center;
	padding: 50px 0px;
}

.price .left {
	width: 555px;
	float: left;
	margin-left: 70px;
}

.price .left h4 {
	font-family: "Stem-Bold";
	text-transform: uppercase;
	margin: 40px 0px;
}

.price .left ul li {
	font-family: "Stem-Light";
	margin-bottom: 45px;
	padding-left: 20px;
}

.price .left ul li:before {
	content: '';
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: #66CBEF;
	margin-right: 20px;
}

.reg_price
{
	background-color: #66CBEF;
	color: white;
	padding: 5px 10px;
	border-radius: 10px;
}

.reg_date
{
	font-weight: bold;
	font-size: 16px;
}

.price .right {
	float: right;
	margin-right: 70px;
}

.price .right form {
	width: 518px;
	background-color: #fff;
	-moz-box-shadow: 0 0 16px rgba(46, 46, 46, .05);
	-webkit-box-shadow: 0 0 16px rgba(46, 46, 46, .05);
	box-shadow: 0 0 16px rgba(46, 46, 46, .05);
	border: 1px solid #b8b8b8;
	padding: 25px 25px 0px 25px;
	margin-bottom: 50px;
}

.price .right form .h4 {
	text-transform: uppercase;
	color: #66CBEF;
}

.price .right form label {
	font-family: "Stem-Bold";
	display: block;
	text-align: left;
}

.price .right form select,
.price .right form input[type="text"],
.price .right form textarea
{
	width: 293px;
	height: 45px;
	background-color: #fff;
	font-family: "Stem-Light";
	font-size: 15px;
	color: #000;
	border: 1px solid #898989;
	outline: none;
	padding-left: 10px;
	box-sizing: border-box;
	float: right;
	position: relative;
	top: -13px;
}

.price .right form textarea
{
	padding-top: 10px;
	height: 60px;
}

.price .right form input[type="text"] {
	top: -30px;
}

.price .right form label.select:after {
	content: '';
	display: block;
	background: #fff url(/wp-content/themes/mastera/img/arrow-down.png) center no-repeat;
	width: 43px;
	height: 43px;
	position: absolute;
	right: 1px;
	top: -12px;
	z-index: 1;
	pointer-events: none;
}

.price .right form input[type="submit"] {
	display: block;
	width: 208px;
	height: 48px;
	background-color: #66CBEF;
	color: #fff;
	font-family: "Stem-Bold";
	font-size: 20px;
	line-height: 47px;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	margin: 0px auto;
	border: 0px;
}

.price .right form input[type="submit"]:hover,
.viezd .right form input[type="submit"]:hover,
.uslugi form input[type="submit"]:hover {
	background-color: #c2c2c2;
	color: #000;
}

.types,
.garanty,
.uslugi,
.how,
.sertifikat,
.katalog,
.text,
.content,
.gallery,
.shkola,
.shkola2,
.page {
	width: 1280px;
	margin: 0px auto;
	padding: 60px 0px;
}

.types ul {
	text-align: center;
	font-size: 0px;
}

.types ul li {
	display: inline-block;
	margin: 0px 16px;
	vertical-align: top;
	position: relative;
}

.types ul li a:hover:after {
	content: '';
	position: absolute;
	top: 10px;
	left: 10px;
	width: 238px;
	height: 166px;
	border: 2px solid #fff;
}

.types ul li:first-child {
	margin-left: 0px;
}

.types ul li:last-child {
	margin-right: 0px;
}

.types ul li img {
	width: 263px;
	height: 191px;
	margin-bottom: 20px;
}

.types ul li p {
	font-family: "Stem-Bold";
	font-size: 15px;
	text-transform: uppercase;
	color: #000;
}

.viezd .h2 span {
	color: #66CBEF;
}

.viezd .left {
	float: left;
	width: 360px;
	margin-left: 70px;
	margin-bottom: 20px;
}

.viezd .left img {
	margin-bottom: 10px;
}

.viezd .left p {
	font-family: "Stem-Light";
}

.viezd .left p b,
.viezd .left p strong {
	font-family: "Stem-Bold";
}

.viezd .right {
	width: 740px;
	float: right;
	margin-right: 70px;
}

.viezd .right ul li {
	font-family: "Stem-Light";
	margin-bottom: 20px;
	padding-left: 60px;
	min-height: 40px;
}

.viezd .right ul li.one {
	background: url(/wp-content/themes/mastera/img/icon_1.png) left center no-repeat;
}

.viezd .right ul li.two {
	background: url(/wp-content/themes/mastera/img/icon_2.png) left center no-repeat;
}

.viezd .right ul li.three {
	background: url(/wp-content/themes/mastera/img/icon_2.png) left center no-repeat;
}

.viezd .right ul li.four {
	background: url(/wp-content/themes/mastera/img/icon_3.png) left center no-repeat;
}

.right form,
.text form {
	width: 740px;
	background-color: #fff;
	-moz-box-shadow: 0 0 16px rgba(46, 46, 46, .05);
	-webkit-box-shadow: 0 0 16px rgba(46, 46, 46, .05);
	box-shadow: 0 0 16px rgba(46, 46, 46, .05);
	border: 1px solid #b8b8b8;
	padding: 25px 25px 0px 25px;
	box-sizing: border-box;
	margin: 0px auto;
}

.right form p.h4,
.text form p.h4 {
	font-family: "Stem-Bold";
	font-size: 20px;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 10px;
	font-weight: bold;
}

.right form p,
.text form p {
	font-family: "Stem-Light";
	text-align: center;
	margin-bottom: 20px;
}

.right form p:last-of-type
{
	margin-bottom: 8px;
}

.right form input[type="text"],
.text form input[type="text"] {
	width: 322px;
	height: 59px;
	background-color: #fff;
	font-family: "Stem-Light";
	font-size: 15px;
	color: #000;
	border: 1px solid #898989;
	outline: none;
	padding-left: 10px;
	box-sizing: border-box;
	/*margin: 0px 20px;*/
}

.right form input[type="text"]:last-child,
.uslugi form input[type="text"]:last-child,
.text form input[type="text"]:last-child {
	margin-right: 0px;
}

.right form input[type="submit"],
.text form input[type="submit"] {
	display: block;
	height: 48px;
	background-color: #66CBEF;
	color: #fff;
	font-family: "Stem-Bold";
	font-size: 14px;
	line-height: 47px;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	margin: 0px auto;
	border: 0px;
	padding: 0px 25px;
}

.garanty {
	padding: 20px 0px;
}

.garanty h2 {
	font-family: "Stem-Bold";
	font-size: 25px;
	text-transform: uppercase;
	text-align: center;
	padding: 20px 0px 40px;
}

.garanty ul {
	text-align: center;
}

.garanty ul li {
	width: 230px;
	width: 350px;
	display: inline-block;
	vertical-align: top;
	margin: 0px 50px 40px;
}

.garanty ul li img {
	margin: 0px auto 15px;
}

.otzivi ul {
	text-align: center;
}

.otzivi ul li {
	width: 361px;
	display: inline-block;
	vertical-align: top;
	margin: 0px 15px 40px;
	text-align: left;
}

.otzivi ul li iframe {
	margin-bottom: 15px;
	max-height: 240px;
}

.otzivi ul li p {
	text-transform: uppercase;
}

.uslugi,
.how {
	padding: 0px;
}

.uslugi p {
	font-family: "Stem-Light";
	margin-bottom: 15px;
}

.uslugi h2,
.uslugi h3 {
	text-align: left;
	font-size: 1.17em;
	text-transform: uppercase;
	margin-bottom: 15px;
}

.uslugi ul {
	margin: 20px 0px;
}

.uslugi ul li {
	font-family: "Stem-Light";
	padding-left: 20px;
	margin-bottom: 10px;
}

.uslugi ul li:before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #66CBEF;
	margin-right: 20px;
}

.uslugi form {
	width: 749px;
	background-color: #fff;
	-moz-box-shadow: 0 0 16px rgba(46, 46, 46, .05);
	-webkit-box-shadow: 0 0 16px rgba(46, 46, 46, .05);
	box-shadow: 0 0 16px rgba(46, 46, 46, .05);
	border: 1px solid #b8b8b8;
	padding: 25px 25px 0px 25px;
	box-sizing: border-box;
	margin: 40px auto 0px;
}

.uslugi form .h4 {
	font-family: "Stem-Bold";
	font-size: 20px;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 10px;
	font-weight: bold;
}

.uslugi form p {
	font-family: "Stem-Light";
	text-align: center;
	margin-bottom: 20px;
}

.uslugi form input[type="submit"] {
	display: block;
	height: 48px;
	background-color: #66CBEF;
	color: #fff;
	font-family: "Stem-Bold";
	font-size: 20px;
	line-height: 47px;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	margin: 0px auto;
	border: 0px;
	padding: 0px 25px;
}

.how ul {
	text-align: center;
}

.how ul li {
	width: 180px;
	display: inline-block;
	vertical-align: top;
	margin: 0px 36px 0px;
	position: relative;
}

.how ul li img {
	margin: 0px auto 15px;
}

.how ul li:nth-child(odd):after {
	content: '';
	position: absolute;
	width: 143px;
	top: 80px;
	left: 146px;
	height: 40px;
	background: url(/wp-content/themes/mastera/img/line_bottom.png) center no-repeat;
}

.how ul li:last-child:after {
	background: none;
}

.how ul li:nth-child(even):after {
	content: '';
	position: absolute;
	width: 143px;
	top: 0px;
	left: 146px;
	height: 40px;
	background: url(/wp-content/themes/mastera/img/line_top.png) center no-repeat;
}

.sertifikat .owl-nav,
.gallery .owl-nav {
	float: right;
	margin: 10px 0px;
}

.gallery .owl-nav {
	margin: 0px 0px;
}

.sertifikat .owl-prev,
.gallery .owl-prev {
	float: left;
	width: 30px;
	height: 30px;
	background: url(/wp-content/themes/mastera/img/arrow-left.png) center no-repeat;
	text-indent: -9999px;
}

.sertifikat .owl-next,
.gallery .owl-next {
	float: right;
	width: 30px;
	height: 30px;
	background: url(/wp-content/themes/mastera/img/arrow-right.png) center no-repeat;
	text-indent: -9999px;
}

.katalog .owl-nav {
	width: 100%;
	margin: -30px 0px 40px;
	position: relative;
	z-index: 8;
}

.katalog .owl-prev {
	height: 30px;
	line-height: 30px;
	display: inline-block;
	background: url(/wp-content/themes/mastera/img/arrow-left.png) left center no-repeat;
	font-family: "Stem-Bold";
	font-size: 15px;
	padding-left: 20px;
	text-transform: uppercase;
	margin: 0px 25px;
}

.katalog .owl-next {
	height: 30px;
	line-height: 30px;
	display: inline-block;
	background: url(/wp-content/themes/mastera/img/arrow-right.png) right center no-repeat;
	font-family: "Stem-Bold";
	font-size: 15px;
	padding-right: 20px;
	text-transform: uppercase;
	margin: 0px 25px;
}

.katalog .owl-prev:hover {
	background: url(/wp-content/themes/mastera/img/arrow-leftH.png) left center no-repeat;
	color: #979797;
}

.katalog .owl-next:hover {
	background: url(/wp-content/themes/mastera/img/arrow-rightH.png) right center no-repeat;
	color: #979797;
}

.sertifikat .owl-prev:hover,
.gallery .owl-prev:hover {
	background: url(/wp-content/themes/mastera/img/arrow-leftH.png) center no-repeat;
}

.sertifikat .owl-next:hover,
.gallery .owl-next:hover {
	background: url(/wp-content/themes/mastera/img/arrow-rightH.png) center no-repeat;
}

.foo {
	color: #fff;
	border-bottom: 1px solid #555555;
}

.foo .call {
	color: #fff;
}

.wrap_footer {
	background-color: #333333;
}

.footer {
	width: 1280px;
	margin: 0px auto;
	color: #fff;
	padding: 10px 0px;
}

.footer p {
	font-family: "Stem-Light";
	text-align: center;
	font-size: 13px;
}

.katalog {
	padding-bottom: 0px;
}

.katalog .h2 {
	font-family: "Stem-Bold";
	font-size: 25px;
	text-transform: uppercase;
	text-align: center;
	padding: 0px 0px 50px;
}

.katalog .owl-katalog {
	text-align: center;
}

.katalog .owl-katalog .item {
	display: inline-block;
}

.katalog .owl-katalog .item a {
	display: block;
	margin: 0px 0px 40px;
	position: relative;
	height: 450px;
}

.gallery .item a {
	margin: 0px 0px 40px;
	position: relative;
}

.katalog .owl-katalog .item a:hover {
	background-color: #555;
	-moz-box-shadow: 0 0 21px rgba(0, 0, 0, .15);
	-webkit-box-shadow: 0 0 21px rgba(0, 0, 0, .15);
	box-shadow: 0 0 21px rgba(0, 0, 0, .15);
}

.katalog .owl-katalog .item p {
	height: 39px;
	line-height: 35px;
	font-family: "Stem-Light";
	font-size: 15px;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.55);
	position: absolute;
	left: 0px;
	bottom: 0px;
	width: 100%;
	padding: 0px 20px;
	box-sizing: border-box;
	text-align: left;
}

.katalog .owl-katalog .item p b {
	font-family: "Stem-Bold";
	font-size: 20px;
}

.katalog .owl-katalog .item p .number {
	float: left;
}

.katalog .owl-katalog .item p .cena {
	float: right;
}

.besedki .owl-katalog .item p {
	height: 64px;
	line-height: 100%;
	padding: 10px 20px;
	text-align: left;
}

.besedki .owl-katalog .item p .number b {
	font-size: 15px;
}

.besedki .owl-katalog .item p .number {
	display: block;
	float: none;
	margin-bottom: 10px;
}

.besedki .owl-katalog .item p .cena {
	display: block;
	float: none;
}

.gray_bg {
	background-color: #eeeeee;
	position: relative;
}

.text .alignleft,
.text iframe {
	float: left;
	margin: 0px 30px;
}

.text .alignright {
	float: right;
	max-width: 360px;
	height: auto;
	margin-left: 30px;
}

.text .inline_block {
	margin: 0px auto;
	text-align: center;
}

.text .alignleft {
	max-width: 360px;
	height: auto;
}

.content .alignleft {
	max-width: 555px;
	height: auto;
	float: left;
	margin-right: 30px;
}

.content .alignright {
	max-width: 555px;
	height: auto;
	float: right;
	margin-left: 30px;
}

.content .wp-video {
	margin: 0px auto 20px;
}

.text .aligncenter {
	margin: 0px auto 15px;
}

.text .alignleft li:before {
	display: none;
	width: 0px;
	height: 0px;
}

.text .alignleft img,
.shkola .left img,
.shkola2 .right img {
	margin-bottom: 20px;
}

.text .right {
	width: 700px;
	float: right;
	margin-right: 70px;
}

.text h3,
.shkola h3,
.text h2,
.shkola h2,
.text h1,
.shkola h1 {
	font-size: 15px;
	text-transform: uppercase;
	margin-bottom: 22px;
	position: relative;
	display: inline-block;
}

.text .wp-video {
	max-width: 500px;
	float: left;
	margin: 0px 30px;
}

.text h5,
.content h5,
.shkola h5 {
	font-family: "Stem-Bold";
	font-size: 15px;
	margin-bottom: 20px;
}

.text h3:after,
.shkola h3:after,
.shkola2 .line:after,
.content .line:after,
.text h2:after,
.shkola h2:after,
.text h1:after,
.shkola h1:after,
.content h2:after {
	content: '';
	position: absolute;
	width: 112px;
	height: 2px;
	background-color: #cb2129;
	left: 0px;
	top: 28px;
}

.text p,
.shkola p {
	font-family: "Stem-Light";
	margin-bottom: 20px;
}

.text td p,
.shkola td p {
	margin-bottom: 0px;
}

.text .form_bg {
	float: left;
	width: 100%;
	margin-top: 20px;
}

.text ul li {
	margin-bottom: 20px;
}

.content h2 {
	font-family: "Stem-Bold";
	font-size: 25px;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 50px;
}

.content h3,
.content h1,
.content h2 {
	font-size: 15px;
	text-transform: uppercase;
	margin-bottom: 20px;
	position: relative;
	display: inline-block;
}

.content p,
.shkola2 p,
.post p {
	font-family: "Stem-Light";
	margin-bottom: 20px;
}

.content ul {
	margin-bottom: 20px;
}

.content ul li {
	font-family: "Stem-Light";
}

.gallery h2 {
	font-family: "Stem-Bold";
	font-size: 15px;
	text-transform: uppercase;
	margin-bottom: 40px;
	text-align: left;
}

.shkola {
	position: relative;
}

.shkola .left {
	float: left;
	margin: 0px 30px 0px 0px;
}

.shkola ul li,
.shkola2 ul li {
	font-family: "Stem-Light";
	margin-bottom: 20px;
}

.shkola ul li:before,
.shkola2 ul li:before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #66CBEF;
	margin-right: 20px;
}

.shkola2 .right {
	float: right;
	margin: 0px 30px;
}

.shkola2 h3 {
	font-size: 15px;
	text-transform: uppercase;
	margin-bottom: 22px;
	position: relative;
	display: inline-block;
}

.shkola2 .big {
	font-size: 20px;
}

.other_posts {
	width: 1280px;
	margin: 0px auto 40px;
}

.other_posts h3 {
	font-size: 15px;
	margin-bottom: 30px;
	text-align: center;
	text-transform: uppercase;
}

.other_posts .other {
	width: 46%;
	display: inline-block;
	margin: 0px 1%;
	vertical-align: top;
}

.other_posts .other img {
	float: left;
	margin-right: 15px;
	max-width: 262px;
	max-height: 190px;
}

.other_posts .other h3 {
	text-align: left;
	position: relative;
	display: initial;
}

.other_posts .other .line:after {
	content: '';
	position: absolute;
	width: 112px;
	height: 2px;
	background-color: #cb2129;
	left: 0px;
	bottom: -10px;
}

.other_posts .other p {
	font-family: "Stem-Light";
	margin: 22px 0px;
}

.other_posts .other .more {
	display: inline-block;
	width: 165px;
	height: 47px;
	border: 2px solid #66CBEF;
	line-height: 47px;
	text-align: center;
	color: #000;
	text-transform: uppercase;
}

.other_posts .other .more:hover {
	background-color: #66CBEF;
	color: #fff;
}

.post {
	margin-bottom: 40px;
	text-align: left;
	position: relative;
}

.post img {
	float: left;
	max-width: 360px;
	margin-right: 30px;
	width: 360px;
	height: 260px;
}

.post h3 {
	font-size: 15px;
	text-transform: uppercase;
	margin-bottom: 22px;
	position: relative;
	text-align: left;
	display: inline-block;
}

.post h3:after {
	content: '';
	position: absolute;
	width: 112px;
	height: 2px;
	background-color: #cb2129;
	left: 0px;
	top: 28px;
}

.post .more {
	position: absolute;
	bottom: 0px;
	display: inline-block;
	width: 165px;
	height: 47px;
	border: 3px solid #66CBEF;
	line-height: 47px;
	text-align: center;
	color: #000;
	text-transform: uppercase;
}

.post .more:hover {
	background-color: #66CBEF;
	color: #fff;
}

.category .pagination {
	width: 100%;
	margin: 0px 0px 40px;
}

.category .pagination li {
	display: inline-block;
}

.category .pagination .prev {
	height: 30px;
	line-height: 30px;
	display: inline-block;
	background: url(/wp-content/themes/mastera/img/arrow-left.png) left center no-repeat;
	font-family: "Stem-Bold";
	font-size: 15px;
	padding-left: 20px;
	text-transform: uppercase;
	margin: 0px 25px;
	color: #000;
}

.category .pagination .prev:hover {
	background: url(/wp-content/themes/mastera/img/arrow-leftH.png) left center no-repeat;
	color: #979797;
}

.category .pagination .next {
	height: 30px;
	line-height: 30px;
	display: inline-block;
	background: url(/wp-content/themes/mastera/img/arrow-right.png) right center no-repeat;
	font-family: "Stem-Bold";
	font-size: 15px;
	padding-right: 20px;
	text-transform: uppercase;
	margin: 0px 25px;
	color: #000;
}

.category .pagination .next:hover {
	background: url(/wp-content/themes/mastera/img/arrow-rightH.png) right center no-repeat;
	color: #979797;
}

.prices,
.faq,
.services {
	width: 1280px;
	margin: 0px auto;
	padding: 0px 0px 50px;
}

.prices table,
table {
	width: 100%;
	margin-bottom: 20px;
}

.prices table th,
table th {
	font-family: "Stem-Bold";
	text-align: center;
	text-transform: uppercase;
	border: 1px solid #dddddd;
	border-left: 1px solid #fff;
	border-top: 1px solid #fff;
	padding: 10px 20px;
}

.prices table th:last-child,
table th:last-child {
	border-right: 1px solid #fff;
}

.prices table td,
table td {
	font-family: "Stem-Light";
	padding: 10px 20px;
	border: 1px solid #dddddd;
	border-left: 1px solid #fff;
	text-align: right;
}

.prices table td:last-child,
table td:last-child {
	border-right: 1px solid #fff;
}

.prices table td:nth-child(1),
table td:nth-child(1) {
	font-family: "Stem-Medium";
	text-align: left;
}

.faq {
	padding: 30px 0px;
}

.faq .h3 {
	font-size: 15px;
	text-transform: uppercase;
	margin-bottom: 22px;
	position: relative;
	display: inline-block;
}

.faq .q {
	margin-bottom: 20px;
}

.faq .ans {
	font-family: "Stem-Light";
	margin-bottom: 20px;
}

.faq .q:before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #66CBEF;
	margin-right: 20px;
}

.faq .more_q {
	width: 475px;
	height: 65px;
	border: 3px solid #66CBEF;
	padding: 8px 0px;
	box-sizing: border-box;
	text-align: center;
	text-transform: uppercase;
	margin: 0px auto;
}

.faq .more_q b {
	font-size: 20px;
}

.services {
	padding: 40px 0px;
}

.services h3,
.services h4,
.services h1,
.services h2 {
	font-size: 15px;
	text-transform: uppercase;
	margin-bottom: 22px;
	position: relative;
	display: inline-block;
}

.services h3:after,
.services h1:after {
	content: '';
	position: absolute;
	width: 112px;
	height: 2px;
	background-color: #cb2129;
	left: 0px;
	top: 28px;
}

.services p {
	font-family: "Stem-Light";
	margin-bottom: 20px;
}

.services form {
	width: 740px;
	background-color: #fff;
	-moz-box-shadow: 0 0 16px rgba(46, 46, 46, .05);
	-webkit-box-shadow: 0 0 16px rgba(46, 46, 46, .05);
	box-shadow: 0 0 16px rgba(46, 46, 46, .05);
	border: 1px solid #b8b8b8;
	padding: 25px 25px 0px 25px;
	box-sizing: border-box;
	margin: 0px auto 40px;
}

.services form .h4 {
	font-weight: bold;
	font-family: "Stem-Bold";
	display: block;
	font-size: 20px;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 10px;
}

.services form p {
	font-family: "Stem-Light";
	text-align: center;
	margin-bottom: 20px;
}

.services form input[type="text"] {
	width: 322px;
	height: 59px;
	background-color: #fff;
	font-family: "Stem-Light";
	font-size: 15px;
	color: #000;
	border: 1px solid #898989;
	outline: none;
	padding-left: 10px;
	box-sizing: border-box;
	margin-right: 30px;
	margin-top: 20px;
	margin: 0px 20px;
}

.services form input[type="text"]:last-child {
	margin-right: 0px;
}

.services form input[type="submit"] {
	display: block;
	height: 48px;
	background-color: #66CBEF;
	color: #fff;
	font-family: "Stem-Bold";
	font-size: 20px;
	line-height: 47px;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	margin: 0px auto;
	border: 0px;
	padding: 0px 25px;
}

.services form input[type="submit"]:hover {
	background-color: #c2c2c2;
	color: #000;
}

.spasibo img {
	width: 100%;
	position: relative;
	text-align: center;
	margin: 0px auto;
}

.spasibo .thanks {
	width: 524px;
	height: 444px;
	background-color: rgba(0, 0, 0, 0.25);
	border: 6px solid #fff;
	position: absolute;
	top: 50%;
	margin-top: -222px;
	left: 50%;
	margin-left: -262px;
	text-align: center;
	padding: 70px 60px;
	box-sizing: border-box;
}

.spasibo .thanks p {
	font-family: "Stem-Medium";
	font-size: 30px;
	text-transform: uppercase;
	color: #fff;
}

.spasibo .thanks p span {
	display: block;
	font-family: "Stem-Bold";
	font-size: 50px;
}

.spasibo .thanks hr {
	width: 151px;
	height: 4px;
	background-color: #fff;
	margin: 30px auto;
}

span.wpcf7-not-valid-tip {
	/*position: absolute;*/
	position: relative;
}

.forma {
	background-color: #fff;
	/*width: 740px;-moz-box-shadow: 0 0 16px rgba(46,46,46,.05);-webkit-box-shadow: 0 0 16px rgba(46,46,46,.05);box-shadow: 0 0 16px rgba(46,46,46,.05);border: 1px solid #b8b8b8;padding: 25px;box-sizing: border-box;*/
}

.forma p {
	font-family: "Stem-Light";
	text-align: center;
	margin-bottom: 20px;
}

.forma input[type="text"] {
	height: 59px;
	background-color: #fff;
	font-family: "Stem-Light";
	font-size: 15px;
	color: #000;
	border: 1px solid #898989;
	outline: none;
	padding-left: 10px;
	box-sizing: border-box;
	/*margin: 0px 20px;*/
	width: 100%;
}

.forma input[type="submit"] {
	display: block;
	height: 48px;
	background-color: #66CBEF;
	color: #fff;
	font-family: "Stem-Bold";
	font-size: 14px;
	line-height: 47px;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	margin: 0px auto;
	border: 0px;
	padding: 0px 25px;
}

.navigation {
	width: 100%;
	margin: 10px 0px 40px;
}

.navigation .prev,
.navigation .next {
	display: inline-block;
}

.navigation .prev a {
	height: 30px;
	line-height: 30px;
	display: inline-block;
	background: url(/wp-content/themes/mastera/img/arrow-left.png) left center no-repeat;
	font-family: "Stem-Bold";
	font-size: 15px;
	padding-left: 20px;
	text-transform: uppercase;
	margin: 0px 25px;
	color: #000;
}

.navigation .prev a:hover {
	background: url(/wp-content/themes/mastera/img/arrow-leftH.png) left center no-repeat;
	color: #979797;
}

.navigation .next a {
	height: 30px;
	line-height: 30px;
	display: inline-block;
	background: url(/wp-content/themes/mastera/img/arrow-right.png) right center no-repeat;
	font-family: "Stem-Bold";
	font-size: 15px;
	padding-right: 20px;
	text-transform: uppercase;
	margin: 0px 25px;
	color: #000;
}

.navigation .next a:hover {
	background: url(/wp-content/themes/mastera/img/arrow-rightH.png) right center no-repeat;
	color: #979797;
}

.owl-carousel .owl-item img {
	height: 100%;
}

.ya-share2 {
	text-align: center;
	padding-bottom: 40px;
}

.menu li.current-menu-item a {
	border-bottom: 2px solid #fff;
}

.bread {
	margin-bottom: 40px;
}

.bread a,
.bread span,
.bread span.current {
	display: inline-block;
	vertical-align: top;
	margin-bottom: 0px;
	padding-top: 0px;
	background: none;
}

.bread a,
.bread span {
	font-family: "Stem-Light";
	color: #000;
}

.bread span.raz {
	margin: 0px 5px;
}

.wrap_viezd {
	padding-bottom: 20px;
}

.alignnone {
	max-width: 100%;
	height: auto;
}

/* End Body */

.main,
.category {
	margin-top: 160px;
}

.mobile-menu {
	display: none;
}

@media only screen and (max-width: 1500px) {
	.header,
	.foo {
		width: 100%;
		max-width: 1280px;
		padding: 20px 1%;
	}
	.header .names,
	.foo .names {
		width: 40%;
		max-width: 410px;
		margin-right: 2%;
	}
	.header .phones,
	.header .work,
	.foo .phones,
	.foo .work {
		width: 20%;
	}
	.header .phones .phone,
	.foo .phones .phone,
	.header .work,
	.foo .work {
		margin-right: 2%;
	}
	.header .call,
	.foo .call {
		width: 15%;
		max-width: 195px;
		font-size: 14px;
	}
	.menu {
		width: 100%;
		max-width: 1280px;
	}
	.menu li {
		margin: 0px 2%;
	}
	.main,
	.category {
		width: 100%;
		max-width: 1280px;
	}
	.main .h2,
	.main p {
		font-size: 24px;
		width: 100%;
		max-width: 1200px;
	}
	.main iframe,
	.main .wp-video {
		width: 40%;
		max-width: 621px;
		height: 250px;
		margin-left: 2%;
	}
	.maun ul {
		width: 40%;
		max-width: 400px;
		float: right;
		margin-left: 0%;
		margin-right: 2%;
	}
	.main ul li {
		font-size: 24px;
	}
	.price,
	.viezd,
	.otzivi {
		width: 100%;
		max-width: 1280px;
	}
	.price .left {
		width: 48%;
		max-width: 555px;
		margin-left: 2%;
	}
	.price .right {
		width: 44%;
		margin-right: 2%;
	}
	.price .right form {
		width: 96%;
		padding: 25px 2% 0px 2%;
	}
	.types,
	.garanty,
	.uslugi,
	.how,
	.sertifikat,
	.katalog,
	.text,
	.content,
	.gallery,
	.shkola,
	.shkola2,
	.page {
		width: 100%;
		max-width: 1280px;
		padding: 50px 1%;
		box-sizing: border-box;
	}
	.types ul li {
		width: 22%;
		margin: 0px 1%;
	}
	.types ul li a:hover:after {
		left: 3%;
		width: 94%;
		box-sizing: border-box;
	}
	.types ul li img {
		width: 100%;
	}
	.types ul li p {
		font-size: 14px;
	}
	.viezd .left {
		width: 48%;
		margin-left: 2%;
	}
	.viezd .right {
		width: 48%;
		margin-right: 2%;
	}
	.right form,
	.text form {
		width: 100%;
	}
	.right form input[type="text"],
	.text form input[type="text"] {
		width: 80%;
		margin: 0px 0px 20px;
	}
	.garanty ul li {
		width: 28%;
		margin: 0px 2% 20px;
	}
	.otzivi ul li {
		width: 28%;
		margin: 0px 2% 40px;
	}
	.otzivi ul li iframe {
		max-height: 170px;
	}
	.uslugi,
	.how {
		width: 96%;
	}
	.uslugi form {
		width: 80%;
	}
	.how ul li {
		width: 17%;
		margin: 0px 1% 0px;
	}
	.how ul li:nth-child(odd):after {
		width: 52%;
		background: url(/wp-content/themes/mastera/img/line_bottom.png) center no-repeat;
		left: 80%;
		background-size: contain;
	}
	.how ul li:nth-child(even):after {
		width: 52%;
		left: 80%;
		background: url(/wp-content/themes/mastera/img/line_top.png) center no-repeat;
		background-size: contain;
	}
	.footer {
		width: 100%;
		max-width: 1280px;
	}
	.owl-carousel {
		width: 98%;
	}
	.text .alignleft {
		max-width: 36%;
	}
	.text .alignleft,
	.text iframe {
		margin: 0px 2%;
	}
	.main iframe,
	.main .wp-video {
		max-width: 40%;
	}
	.besedki .owl-katalog .item p {
		height: auto;
	}
	.prices,
	.faq,
	.services {
		width: 100%;
		max-width: 1280px;
	}
	.post img {
		max-width: 30%;
		margin-right: 2%;
		width: 100%;
		height: auto;
		margin-bottom: 20px;
	}
	.post {
		margin-bottom: 100px;
	}
	.post .more {
		bottom: -70px;
	}
	.other_posts {
		width: 100%;
		max-width: 1280px;
	}
	.other_posts .other img {
		max-width: 36%;
		height: auto;
		max-height: 100%;
		margin-bottom: 80px;
	}
	.how ul li:last-child:after {
		background: none !important;
	}
}

@media only screen and (max-width: 1100px) {
	.main,
	.category {
		margin-top: 160px;
	}
	img {
		height: auto;
	}
	.header .names,
	.foo .names {
		width: 36%;
		margin-right: 1%;
	}
	.header .call,
	.foo .call {}
	.header .work,
	.foo .work {
		width: 24%;
	}
	.header .phones .phone,
	.foo .phones .phone,
	.header .work,
	.foo .work {
		margin-right: 1%;
	}
	.menu li {
		margin: 0px 1%;
	}
	.main iframe,
	.main .wp-video {
		width: 50%;
		max-width: 50%;
	}
	.main ul {
		float: right;
		margin-left: 0px;
		margin-right: 2%;
	}
	.main ul li {
		font-size: 21px;
		min-height: 30px;
		margin-bottom: 20px;
	}
	.price .h2,
	.types .h2,
	.viezd .h2,
	.otzivi .h2,
	.uslugi .h2,
	.how .h2,
	.sertifikat .h2 {
		padding: 30px 0px;
	}
	.price .left ul li {
		margin-bottom: 20px;
	}
	.price .right form select,
	.price .right form textarea,
	.price .right form input[type="text"] {
		width: 193px;
	}
	form select option {
		width: 100%;
	}
	.uslugi form input[type="text"] {
		margin: 0px 0px 20px;
	}
	.how ul li:nth-child(odd):after,
	.how ul li:nth-child(even):after {
		width: 42%;
		left: 84%;
	}
	.katalog .owl-katalog .item a {
		height: 350px;
	}
	.katalog .owl-katalog .item p {
		height: auto;
	}
	.katalog .owl-katalog .item p .cena,
	.katalog .owl-katalog .item p .number {
		float: none;
		display: block;
	}
	.content .alignleft,
	.content .alignright {
		width: 40%;
	}
	.content h3,
	.shkola2 h3 {
		display: flex;
	}
	.shkola .left,
	.shkola2 .right {
		margin: 0px 2%;
		max-width: 40%;
	}
	.menu li a {
		font-size: 14px;
	}
	.main {
		padding-bottom: 10px;
	}
	.text .alignleft {
		margin-bottom: 20px;
	}
	.content p,
	.shkola2 p,
	.post p {
		line-height: 110%;
	}
	.uslugi form input[type="text"] {
		margin: 0 0 10px !important;
		width: auto !important;
		float: none;
	}
}

@media only screen and (max-width: 900px) {
	.header,
	.foo {
		font-size: 12px;
	}
	.menu li a {
		font-size: 14px;
	}
	.main .h2,
	.main p,
	.main ul li,
	.right form .h4,
	.text form .h4 {
		font-size: 18px;
	}
	.price .h2,
	.types .h2,
	.viezd .h2,
	.otzivi .h2,
	.uslugi .h2,
	.how .h2,
	.sertifikat .h2 {
		font-size: 21px;
	}
	.price .left {
		width: 45%;
		margin-left: 1%;
	}
	.price .right {
		width: 50%;
		margin-right: 1%;
	}
	.types ul li img {
		height: 121px;
	}
	.types ul li a:hover:after {
		height: 102px;
	}
	.viezd .left {
		width: 40%;
		margin-left: 1%;
	}
	.viezd .right {
		width: 56%;
		margin-right: 1%;
	}
	.otzivi ul li iframe {
		max-height: 120px;
	}
	.how ul li:nth-child(odd):after,
	.how ul li:nth-child(even):after {
		width: 32%;
		left: 90%;
	}
	.forma {
		width: 100%;
	}
	.main ul {
		margin-right: 1%;
		max-width: 42%;
	}
	.text h3:after,
	.shkola h3:after,
	.shkola2 .line:after,
	.content .line:after,
	.text h2:after,
	.shkola h2:after,
	.text h1:after,
	.shkola h1:after,
	.content h2:after {
		top: 120%;
	}
	.text h3,
	.shkola h3,
	.text h2,
	.shkola h2,
	.text h1,
	.shkola h1 {
		display: flex;
	}
	.text .wp-video {
		max-width: 60%;
		margin: 0px 2%;
	}
	.content iframe {
		height: auto;
	}
	.header .call,
	.foo .call {
		font-size: 10px;
	}
	.garanty {
		padding-bottom: 0;
	}
	.main ul {
		vertical-align: top;
		width: 48%;
	}
	#my-line p {
		line-height: 30px;
	}
	.list-img {
		margin-top: 0 !important;
	}
}

@media only screen and (max-width: 767px) {
	.mobile-menu {
		display: block;
		position: fixed;
		top: 0px;
		left: 0px;
		width: 100%;
		background-color: #66CBEF;
		border-bottom: 2px solid #fff;
		color: #fff;
		text-transform: uppercase;
		padding: 11px 0px;
		text-align: center;
		z-index: 7777;
	}
	.wrap_menu {
		display: none;
		position: fixed;
		top: 43px;
		left: 0px;
		width: 100%;
		z-index: 7777;
	}
	.menu li {
		display: block;
		padding: 12px 0px;
	}
	.menu li ul {
		display: block;
	}
	.body {
		padding-top: 43px;
	}
	.fixed {
		position: static;
	}
	.header .call {
		width: 240px;
		max-width: 245px;
		height: 44px;
		line-height: 44px;
		position: fixed;
		bottom: 0px;
		left: 50%;
		margin: 0px 0px;
		margin-left: -120px;
		background-color: #fff;
		z-index: 7777;
		box-sizing: border-box;
	}
	.header .names,
	.header .phones,
	.header .work,
	.header .call,
	.foo .names,
	.foo .phones,
	.foo .work,
	.foo .call {
		display: block;
	}
	.header,
	.foo {
		padding: 10px 1%;
		font-size: 14px;
	}
	.header .names,
	.foo .names {
		width: 290px;
		margin-right: 0%;
		margin: 45px auto 20px;
	}
	.header .phones,
	.header .work,
	.foo .phones,
	.foo .work {
		width: 192px;
		margin: 0px auto 20px;
	}
	.header .phones {
		font-weight: bold;
	}
	.header .work,
	.foo .work {
		width: 190px;
	}
	.main .h2,
	.main p {
		padding-top: 20px;
	}
	.main iframe,
	.main .wp-video {
		width: 70%;
		max-width: 70%;
		height: 300px;
		float: none;
		margin: 20px auto;
	}
	.main ul {
		display: inline-block;
		margin-right: 0%;
		margin: 0px auto;
		float: none;
		padding-bottom: 20px;
		max-width: 100%;
	}
	.main ul li {
		margin-bottom: 10px;
	}
	.price .left {
		width: 100%;
		margin-left: 0%;
		margin: 0px auto;
		float: none;
	}
	.price .right {
		width: 100%;
		margin-right: 0%;
		float: none;
	}
	.price .right form {
		margin-bottom: 0px;
	}
	.price .right form select,
	.price .right form textarea,
	.price .right form input[type="text"] {
		width: 70%;
		max-width: 70%;
	}
	.types,
	.garanty,
	.uslugi,
	.how,
	.sertifikat,
	.katalog,
	.text,
	.content,
	.gallery,
	.shkola,
	.shkola2,
	.page {
		padding: 20px 1%;
	}
	.types ul li:first-child {
		margin-left: auto;
	}
	.types ul li {
		display: block;
		width: 100%;
		margin: 0px auto 20px;
	}
	.types ul li img {
		width: inherit;
		margin: 0px auto 20px;
		height: auto;
	}
	.types ul li a:hover:after,
	.how ul li:nth-child(odd):after,
	.how ul li:nth-child(even):after,
	.foo .call {
		display: none !important;
	}
	.viezd .left {
		width: 360px;
		margin-left: 0%;
		margin: 0px auto 20px;
		float: none;
	}
	.viezd .right {
		width: 100%;
		margin-right: 0%;
		float: none;
	}
	.wrap_price,
	.wrap_viezd,
	.wrap_otzivi,
	.wrap_text,
	.wrap_shkola,
	.wrap_faq {
		padding-bottom: 20px;
	}
	.garanty ul li {
		width: 96%;
	}
	.otzivi ul li {
		width: 96%;
		margin: 0px 2% 20px;
		text-align: center;
	}
	.otzivi ul li iframe {
		max-height: 300px;
	}
	.uslugi form {
		width: 100%;
	}
	.how ul li {
		width: 100%;
		margin: 0px 0% 20px;
	}
	.sertifikat,
	.gallery {
		padding: 40px 1%;
	}
	.footer {
		padding: 10px 0px 60px;
	}
	.menu li:hover ul {
		width: 100%;
		position: static;
		padding: 0px 0px;
		background-color: #fff;
		border-bottom: 0px;
		border-top: 0px;
	}
	.menu li ul {
		background-color: #fff;
		margin-top: 20px;
	}
	.menu li ul li a {
		color: #000;
		border-bottom: 0px;
	}
	.text .alignleft,
	.text iframe {
		margin: 0px auto;
		float: none;
	}
	.text .alignleft {
		max-width: 100%;
	}
	.text .wp-video {
		max-width: 100%;
		margin: 0px auto 20px;
		float: none;
	}
	.mejs-container {
		margin: 0px auto;
	}
	.text .alignleft img,
	.shkola .left img,
	.shkola2 .right img {
		margin: 0px auto 20px;
	}
	.content .alignleft {
		width: inherit;
		max-width: 100%;
		float: none;
		margin-right: 0px;
		margin: 0px auto;
	}
	.content .alignright {
		width: inherit;
		max-width: 100%;
		float: none;
		margin-left: 0px;
		margin: 0px auto;
	}
	.shkola .left,
	.shkola2 .right {
		margin: 0px auto;
		max-width: 100%;
	}
	.shkola .left,
	.shkola2 .right {
		float: none;
	}
	.main,
	.category {
		width: 98%;
	}
	.post {
		margin-bottom: 20px;
	}
	.post .more {
		position: static;
		width: 100%;
		box-sizing: border-box;
		line-height: 42px;
	}
	.post img {
		float: none;
		max-width: 100%;
		margin-right: 0%;
		width: inherit;
		margin: 0px auto 20px;
	}
	.other_posts .other {
		width: 98%;
		display: block;
		margin: 0px 1%;
	}
	.other_posts .other img {
		max-width: 100%;
		float: none;
		margin-right: 0px;
		margin: 0px auto 20px;
	}
	.other_posts .other .more {
		display: block;
		width: 100%;
		box-sizing: border-box;
		margin-bottom: 20px;
	}
	.fancybox-nav span {
		visibility: visible !important;
	}
	.services form {
		width: 100%;
	}
	.services form input[type="text"] {
		margin: 0px auto 20px;
	}
	.prices,
	.faq,
	.services {
		padding: 20px 2% 50px;
		box-sizing: border-box;
	}
	.wrap_price,
	.wrap_viezd,
	.wrap_otzivi,
	.wrap_text,
	.wrap_shkola,
	.wrap_faq {
		padding-top: 20px;
	}
	.menu li.current-menu-item a {
		border-bottom: 2px solid #000;
	}
	.content h2 {
		text-align: left;
		position: relative;
	}
	.post h3:after,
	.services h3:after {
		top: 120%;
	}
	.prices table,
	table {
		display: block;
		width: 100%;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}
	.alignnone {
		width: auto !important;
	}
}

@media only screen and (max-width: 600px) {
	.main iframe,
	.main .wp-video {
		height: 220px;
	}
	.forma {
		padding: 15px 2%;
	}
	.fancybox-wrap {
		width: 100% !important;
		left: 0px !important;
	}
	.fancybox-close {
		top: 5px !important;
		right: 5px !important;
	}
	.fancybox-inner {
		width: 100% !important;
		height: 100% !important;
	}
	h2 {
		font-size: 18px;
	}
	.main ul {
		width: auto;
		display: block;
	}
	#my-line p {
		padding-top: 0;
	}
	.main ul {
		padding: 0;
		padding-left: 10px;
	}
	.main .h2 {
		margin-bottom: 20px;
	}
	body {
		min-width: 320px;
	}
}

@media only screen and (max-width: 480px) {
	.main iframe,
	.main .wp-video {
		width: 96%;
		max-width: 96%;
		height: 250px;
	}
	.price .right form select,
	.price .right form textarea,
	.price .right form input[type="text"] {
		max-width: 60%;
	}
	.right form input[type="text"],
	.text form input[type="text"],
	.services form input[type="text"] {
		width: 100%;
	}
	.main .h2,
	.main p {
		padding: 20px 2% 0px;
		box-sizing: border-box;
	}
	.main ul {
		width: 96%;
	}
	.faq .more_q {
		width: 100%;
		height: auto;
	}
	.prices table th,
	table th {
		padding: 10px;
		font-size: 14px;
		vertical-align: top;
	}
	.forma input[type="text"] {
		margin: 0px 0px;
	}
	.prices table td,
	table td,
	.prices table th,
	table th {
		padding: 5px;
	}
	.header .names,
	.foo .names {
		width: 100%;
	}
	.uslugi form input[type="text"] {
		width: 100% !important;
	}
	.uslugi form input[type="submit"],
	.right form input[type="submit"] {
		width: 100% !important;
		padding: 0;
		font-size: 12px !important;
	}
	.uslugi form {
		padding: 10px;
	}
	.uslugi ul li:before {
		margin-right: 5px;
	}
	div.wpcf7 {
		padding: 10px;
	}
	.price .right form select,
	.price .right form textarea,
	.price .right form input[type="text"] {
		max-width: 58%;
	}
	.price .right form label {
		font-size: 12px;
	}
	.price .left ul li:before {
		margin-right: 5px;
	}
	.price .left h4 {
		padding: 0 10px;
	}
	#my-line p {
		font-size: 15px;
	}
	.wrap_viezd>.viezd div {
		padding: 5px;
		box-sizing: border-box;
	}
	.wrap_viezd>.viezd div img {
		max-width: 100%;
	}
	.right form,
	.text form {
		padding: 10px;
	}
}

input[type="submit"] {
	-webkit-appearance: none;
}

@media only screen and (max-width: 380px) {
	.main iframe,
	.main .wp-video {
		height: 190px;
	}
	.otzivi ul li iframe {
		max-height: 200px;
	}
	.price .right form select,
	.price .right form textarea,
	.price .right form input[type="text"] {}
	.uslugi form input[type="submit"],
	.forma input[type="submit"],
	.right form input[type="submit"],
	.text form input[type="submit"],
	.services form input[type="submit"] {
		font-size: 14px;
		max-width: 100%;
		box-sizing: border-box;
	}
	.forma input[type="text"],
	.viezd .left,
	.uslugi form input[type="text"] {
		width: 100%;
	}
	.main iframe,
	.main .wp-video,
	.otzivi ul li iframe {
		height: 170px;
	}
	.uslugi form h4 {
		font-size: 18px;
	}
	.content h2 {
		font-size: 18px;
		margin-bottom: 20px;
	}
	.prices table th,
	table th,
	.prices table td,
	table td {
		font-size: 12px;
	}
	.main .h2 {
		padding: 10px;
		font-size: 16px;
	}
}

p.h2 a {
	font-size: 14px;
	text-transform: none;
	font-weight: normal;
	font-family: "Stem-Light";
}

.list-img {
	max-width: 100%;
	float: left;
	padding-right: 20px;
	margin-top: 5px;
}

#my-line p {
	display: inline-block;
	width: 100%;
}

@media (min-width: 100px) and (max-width: 767px) {
	.main,
	.category {
		margin-top: 10px;
	}
}

@media (min-width: 768px) and (max-width: 4096px) {
	.title {
		font-family: "Stem-Bold";
		font-size: 25px;
		text-transform: uppercase;
		text-align: center;
		/*padding: 50px 0px;*/
		padding: 190px 0px 70px 0px;
	}
}

@media (min-width: 100px) and (max-width: 767px) {
	.title {
		font-family: "Stem-Bold";
		font-size: 25px;
		text-transform: uppercase;
		text-align: center;
		/*padding: 50px 0px;*/
		padding: 60px 0px 70px 0px;
	}
}

@media (min-width: 451px) and (max-width: 4096px) {
	.uslugi form input[type="text"] {
		width: 322px;
		height: 59px;
		background-color: #fff;
		font-family: "Stem-Light";
		font-size: 15px;
		color: #000;
		border: 1px solid #898989;
		outline: none;
		padding-left: 10px;
		box-sizing: border-box;
		margin-right: 30px;
		margin-top: 20px;
		margin: 0px 20px;
	}
	.price .right form p {
		font-family: "Stem-Light";
		height: 45px;
		margin-bottom: 20px;
		position: relative;
		clear: both;
	}
}

@media (min-width: 100px) and (max-width: 450px) {
	.uslugi form input[type="text"] {
		width: 100%;
		height: 59px;
		background-color: #fff;
		font-family: "Stem-Light";
		font-size: 15px;
		color: #000;
		border: 1px solid #898989;
		outline: none;
		padding-left: 10px;
		box-sizing: border-box;
		margin-right: 30px;
		margin-top: 20px;
		margin: 0px 20px;
	}
	.price .right form p {
		font-family: "Stem-Light";
		height: 75px;
		margin-bottom: 20px;
		position: relative;
		clear: both;
	}
}

.doc_type_input select
{
	margin-top: -38px;
	margin-bottom: 38px;
}

@media only screen and (max-width: 480px)
{
	.doc_type_input select
{
	margin-top: -32px;
	margin-bottom: 32px;
}
}

.main_order_form p
{
	position: relative;
}

.main_order_form .wpcf7-not-valid-tip
{
	display: none;
}

.main_order_form .wpcf7-not-valid
{
	outline: 2px solid red !important;
}

.prices p
{
	font-family: "Stem-Light";
	margin-bottom: 30px;
}

.prices ul
{
	font-family: "Stem-Light";
	margin-bottom: 30px;
}

	.prices li
	{
		list-style: disc;
		list-style-position: inside;
		margin-bottom: 10px;
	}

.prices h2,
.prices h3,
.prices h4,
.prices h5
{
	margin-top: 40px;
	margin-bottom: 30px;
}

img.alignright
{
	float: right;
	margin-left: 10px;
}

img.alignleft
{
	float: left;
	margin-right: 10px;
}

img.aligncenter
{
	margin-left: auto;
	margin-right: auto;
}

.whatsapp_icon
{
	position: fixed;
	right: 10px;
	bottom: 10px;
	background-image: url(img/icons/wa.svg);
	width: 50px;
	height: 50px;
	display: block;
	z-index: 999999;
}