@font-face {
  font-family: 'PF BeauSans Pro XThin';
  src: url('fonts/PFBeauSansPro-XThinItalic.eot');
  src: local('PFBeauSansPro-XThinItalic'), url('fonts/PFBeauSansPro-XThinItalic.eot?#iefix') format('embedded-opentype'), url('fonts/PFBeauSansPro-XThinItalic.woff') format('woff'), url('fonts/PFBeauSansPro-XThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
}
@font-face {
  font-family: 'PF BeauSans Pro';
  src: url('fonts/PFBeauSansPro-LightItalic.eot');
  src: local('PFBeauSansPro-LightItalic'), url('fonts/PFBeauSansPro-LightItalic.eot?#iefix') format('embedded-opentype'), url('fonts/PFBeauSansPro-LightItalic.woff') format('woff'), url('fonts/PFBeauSansPro-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: 'PF BeauSans Pro';
  src: url('fonts/PFBeauSansPro-Bold.eot');
  src: local('PFBeauSansPro-Bold'), url('fonts/PFBeauSansPro-Bold.eot?#iefix') format('embedded-opentype'), url('fonts/PFBeauSansPro-Bold.woff') format('woff'), url('fonts/PFBeauSansPro-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'PF BeauSans Pro';
  src: url('fonts/PFBeauSansPro-Italic.eot');
  src: local('PFBeauSansPro-Italic'), url('fonts/PFBeauSansPro-Italic.eot?#iefix') format('embedded-opentype'), url('fonts/PFBeauSansPro-Italic.woff') format('woff'), url('fonts/PFBeauSansPro-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: 'PF BeauSans Pro';
  src: url('fonts/PFBeauSansPro-Thin.eot');
  src: local('PFBeauSansPro-Thin'), url('fonts/PFBeauSansPro-Thin.eot?#iefix') format('embedded-opentype'), url('fonts/PFBeauSansPro-Thin.woff') format('woff'), url('fonts/PFBeauSansPro-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'PF BeauSans Pro';
  src: url('fonts/PFBeauSansPro-Black.eot');
  src: local('PFBeauSansPro-Black'), url('fonts/PFBeauSansPro-Black.eot?#iefix') format('embedded-opentype'), url('fonts/PFBeauSansPro-Black.woff') format('woff'), url('fonts/PFBeauSansPro-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'PF BeauSans Pro';
  src: url('fonts/PFBeauSansPro-ThinItalic.eot');
  src: local('PFBeauSansPro-ThinItalic'), url('fonts/PFBeauSansPro-ThinItalic.eot?#iefix') format('embedded-opentype'), url('fonts/PFBeauSansPro-ThinItalic.woff') format('woff'), url('fonts/PFBeauSansPro-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
}
@font-face {
  font-family: 'PF BeauSans Pro';
  src: url('fonts/PFBeauSansPro-SemiBoldItalic.eot');
  src: local('PFBeauSansPro-SemiBoldItalic'), url('fonts/PFBeauSansPro-SemiBoldItalic.eot?#iefix') format('embedded-opentype'), url('fonts/PFBeauSansPro-SemiBoldItalic.woff') format('woff'), url('fonts/PFBeauSansPro-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
}
@font-face {
  font-family: 'PF BeauSans Pro';
  src: url('fonts/PFBeauSansPro-BlackItalic.eot');
  src: local('PFBeauSansPro-BlackItalic'), url('fonts/PFBeauSansPro-BlackItalic.eot?#iefix') format('embedded-opentype'), url('fonts/PFBeauSansPro-BlackItalic.woff') format('woff'), url('fonts/PFBeauSansPro-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
}
@font-face {
  font-family: 'PF BeauSans Pro XThin';
  src: url('fonts/PFBeauSansPro-XThin.eot');
  src: local('PFBeauSansPro-XThin'), url('fonts/PFBeauSansPro-XThin.eot?#iefix') format('embedded-opentype'), url('fonts/PFBeauSansPro-XThin.woff') format('woff'), url('fonts/PFBeauSansPro-XThin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'PF BeauSans Pro Bbook';
  src: url('fonts/PFBeauSansPro-Bbook.eot');
  src: local('PFBeauSansPro-Bbook'), url('fonts/PFBeauSansPro-Bbook.eot?#iefix') format('embedded-opentype'), url('fonts/PFBeauSansPro-Bbook.woff') format('woff'), url('fonts/PFBeauSansPro-Bbook.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'PF BeauSans Pro';
  src: url('fonts/PFBeauSansPro-SemiBold.eot');
  src: local('PFBeauSansPro-SemiBold'), url('fonts/PFBeauSansPro-SemiBold.eot?#iefix') format('embedded-opentype'), url('fonts/PFBeauSansPro-SemiBold.woff') format('woff'), url('fonts/PFBeauSansPro-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'PF BeauSans Pro';
  src: url('fonts/PFBeauSansPro-Regular.eot');
  src: local('PFBeauSansPro-Regular'), url('fonts/PFBeauSansPro-Regular.eot?#iefix') format('embedded-opentype'), url('fonts/PFBeauSansPro-Regular.woff') format('woff'), url('fonts/PFBeauSansPro-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'PF BeauSans Pro';
  src: url('fonts/PFBeauSansPro-BoldItalic.eot');
  src: local('PFBeauSansPro-BoldItalic'), url('fonts/PFBeauSansPro-BoldItalic.eot?#iefix') format('embedded-opentype'), url('fonts/PFBeauSansPro-BoldItalic.woff') format('woff'), url('fonts/PFBeauSansPro-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}
@font-face {
  font-family: 'PF BeauSans Pro';
  src: url('fonts/PFBeauSansPro-Light.eot');
  src: local('PFBeauSansPro-Light'), url('fonts/PFBeauSansPro-Light.eot?#iefix') format('embedded-opentype'), url('fonts/PFBeauSansPro-Light.woff') format('woff'), url('fonts/PFBeauSansPro-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'PF BeauSans Pro Bbook';
  src: url('fonts/PFBeauSansPro-BbookItalic.eot');
  src: local('PFBeauSansPro-BbookItalic'), url('fonts/PFBeauSansPro-BbookItalic.eot?#iefix') format('embedded-opentype'), url('fonts/PFBeauSansPro-BbookItalic.woff') format('woff'), url('fonts/PFBeauSansPro-BbookItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}
.up {
  text-transform: uppercase;
}
.none {
  text-decoration: none;
}
.th {
  font-weight: 100;
}
.el {
  font-weight: 200;
}
.l {
  font-weight: 300;
}
.reg {
  font-weight: 400;
}
.med {
  font-weight: 500;
}
.sb {
  font-weight: 600;
}
.bold {
  font-weight: 700;
}
.eb {
  font-weight: 800;
}
.black {
  font-weight: 900;
}
.un {
  text-decoration: underline;
}
.in {
  display: inline-block;
}
.vam {
  vertical-align: middle;
}
.rel {
  position: relative;
}
.bl {
  display: block;
}
.abs {
  position: absolute;
}
.tr {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.try {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.trx {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.tc {
  display: table-cell;
  vertical-align: middle;
}
.dn {
  display: none;
}
.tac {
  text-align: center;
}
.tal {
  text-align: left;
}
.tar {
  text-align: right;
}
.taj {
  text-align: justify;
}
.it {
  font-style: italic;
}
.sn {
  font-style: normal;
}
.popup {
  position: fixed;
  width: 120%;
  height: 100%;
  left: -10%;
  top: 0;
  overflow-y: scroll;
  background: rgba(11, 37, 53, 0.8);
  z-index: 11;
  display: none;
}
.b0 {
  border: 0;
}
.bn {
  background: none;
}
.w100 {
  width: 100%;
}
.h100 {
  height: 100%;
}
.wa {
  width: auto;
}
.p0 {
  padding: 0;
}
.m0 {
  margin: 0;
}
.poi {
  cursor: pointer;
}
.auto {
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
}
.noup {
  text-transform: none;
}
.fix {
  position: fixed;
}
.tn {
  transform: none;
}
.bf {
  background: #fff;
}
.cf {
  color: #fff;
}
.c0 {
  color: #3b3b39;
}
.ap {
  appearance: none;
}
.nw {
  white-space: nowrap;
}
.ma {
  margin: 0 auto;
}
.oh {
  overflow: hidden;
}
body,
html {
  width: 100%;
  height: 100%;
}
body {
  background: #fff;
  overflow-x: hidden;
}
body,
th,
td {
  font-family: 'PF BeauSans Pro';
  font-size: 14px;
  color: #3b3b39;
}
body,
form,
object,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}
img,
table {
  border: none;
}
table {
  border-collapse: collapse;
}
table td {
  padding: 0;
}
a {
  color: #3b3b39;
  cursor: pointer;
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  -ms-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
}
a:hover {
  text-decoration: none;
}
input,
textarea,
button,
select {
  margin: 0;
  outline: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 14px;
  border: 0;
  font-family: 'PF BeauSans Pro';
}
button,
input[type='submit'] {
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  -ms-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
  cursor: pointer;
  border: 0;
}
ol,
ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
img {
  max-width: 100%;
}
.an {
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  -ms-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
}
.box {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
section,
header,
footer,
nav,
main {
  display: block;
}
.wrap {
  margin: 0 auto;
  width: 1055px;
}
.flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.flex2 {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
}
* {
  outline: none!important;
}
.first-block {
  background: url('img/first-block2.png') no-repeat top center, url('img/first-block.jpg') center / cover;
  padding-bottom: 215px;
}
.first-block .header {
  padding: 40px 0 170px;
}
.first-block .header .menu-button {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 17px;
  text-decoration: none;
  display: none;
}
.first-block .header ul li {
  display: inline-block;
  margin-right: 60px;
  position: relative;
}
.first-block .header ul li:last-child {
  margin-right: 0;
}
.first-block .header ul li:hover ul {
  display: block;
}
.first-block .header ul li a {
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  color: #424240;
}
.first-block .header ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  width: 200px;
  background: #fff;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  box-shadow: rgba(1, 1, 1, 0.1) 0 6px 12px;
  padding: 5px 10px;
  display: none;
}
.first-block .header ul li ul li {
  border-bottom: 1px solid #e0e0e0;
  margin: 0;
  display: block;
}
.first-block .header ul li ul li:last-child {
  border-bottom: 0;
}
.first-block .header ul li ul li a {
  display: block;
  font-weight: 400;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  padding: 4px 10px;
}
.first-block .header .contacts {
  padding-left: 22px;
  background: url('img/pointer.png') no-repeat 0 0;
  margin-right: 80px;
}
.first-block .header .contacts p {
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 15px;
}
.first-block .header .contacts .phone {
  font-size: 17px;
}
.first-block .header .contacts .phone a {
  display: block;
  text-decoration: none;
  font-size: 26px;
  font-weight: 600;
}
.first-block .logo {
  text-align: right;
  width: 700px;
  float: right;
}
.first-block .logo div {
  font-size: 12px;
  font-weight: 600;
  color: #72706e;
  padding: 50px 0 0 50px;
  max-width: 360px;
  text-align: left;
  display: none;
}
.first-block .logo div span {
  display: block;
  font-weight: 700;
  color: #3b3b39;
  text-transform: uppercase;
}
.first-block .wrap {
  position: relative;
}
.first-block .block {
  position: absolute;
  left: -100px;
  bottom: -210px;
  width: 461px;
  height: 355px;
  background: url('img/first-block.png');
  zoom: .7;
}
.first-block .block .text {
  padding: 100px 0 0 80px;
  transform: rotate(-2deg);
}
.first-block .block .text .b1 {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 28px;
  color: #f2ee8b;
  text-shadow: rgba(1, 1, 1, 0.5) 0 0 6px;
  text-indent: 24px;
}
.first-block .block .text .b2 {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 23px;
  color: #f2ee8b;
  text-shadow: rgba(1, 1, 1, 0.5) 0 0 6px;
}
.first-block .block .text .b3 {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 41px;
  color: #fff;
  text-shadow: rgba(1, 1, 1, 0.2) 0 0 6px;
  text-indent: 12px;
}
.first-block .block button {
  color: #fff;
  text-transform: uppercase;
  font-size: 22px;
  background: url('img/button.png');
  width: 211px;
  height: 60px;
  position: absolute;
  right: 85px;
  bottom: 70px;
}
.about-block {
  padding: 60px 0;
}
.about-block .text {
  width: 66%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 40px 0 20px;
}
.about-block .text .name {
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 25px;
}
.about-block .text .name span {
  display: block;
  font-weight: 700;
  font-size: 22px;
}
.about-block .text p {
  font-size: 15px;
  line-height: 17px;
  margin-bottom: 20px;
}
.about-block .text p.big {
  font-weight: 600;
  font-size: 18px;
  line-height: 20px;
}
.about-block .text .flex .list {
  width: 54%;
}
.about-block .text .flex .list:nth-child(1) {
  margin-left: -3%;
}
.about-block .text .flex .list:nth-child(2) {
  margin: 20px -3% 0 -3%;
}
.about-block .text .flex .list ul {
  box-shadow: rgba(1, 1, 1, 0.2) 0 0 5px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
}
.about-block .text .flex .list ul li {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 25px;
  padding-left: 44px;
  position: relative;
}
.about-block .text .flex .list ul li:before {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  content: "";
  left: 0;
  width: 34px;
  height: 34px;
  background: url('img/check.png');
}
.about-block .text .flex .list ul li:last-child {
  margin-bottom: 0;
}
.about-block .image {
  width: 32%;
  margin-bottom: 30px;
}
.programs-block {
  padding-bottom: 60px;
}
.programs-block .block-name {
  margin-bottom: 25px;
  font-weight: 600;
  font-size: 17px;
  color: #5c5b59;
}
.programs-block .block-name span {
  display: block;
  font-weight: 900;
  text-transform: uppercase;
  color: #3b3b39;
  font-size: 25px;
}
.programs-block .flex {
  padding: 0 10px;
}
.programs-block .item {
  width: 32.3%;
  margin-bottom: 20px;
  position: relative;
  font-size: 0;
}
.programs-block .item:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50px;
  background: rgba(240, 126, 0, 0.8);
  z-index: 2;
}
.programs-block .item img {
  width: 100%;
}
.programs-block .item a {
  position: absolute;
  left: 0;
  bottom: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding: 0 0 12px 12px;
  text-decoration: none;
  z-index: 3;
}
.programs-block .item a span {
  background: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 18px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  height: 50px;
  display: block;
  padding: 10px;
}
.programs-block .item .link {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 4;
}
.index-courses {
  padding-left: 322px;
  padding-bottom: 50px;
  position: relative;
}
.index-courses .image {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -200px;
}
.index-courses .item {
  padding: 30px 70px;
  border-bottom: 3px solid #b2b2b2;
}
.index-courses .item:last-child {
  border-bottom: 0;
}
.index-courses .item .name {
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 30px;
  font-size: 20px;
}
.index-courses .item p {
  font-size: 16px;
  line-height: 18px;
  margin-bottom: 25px;
}
.index-courses .item .info {
  font-size: 18px;
}
.index-courses .item .info span {
  font-weight: 600;
}
.gallery-block.bn {
  padding-top: 50px;
}
.gallery-block.bn .owl-carousel {
  background: none;
  padding: 0;
}
.gallery-block.bn .owl-carousel .item {
  margin: 0 10px;
  padding: 0;
  box-shadow: none;
}
.gallery-block .block-name {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 25px;
  margin-bottom: 30px;
}
.gallery-block .owl-carousel {
  padding: 55px 0 35px;
  background: url('img/gallery-block.jpg') center / cover;
  text-align: center;
}
.gallery-block .owl-carousel .item {
  margin: 10px;
  background: #fff;
  padding: 20px;
  box-shadow: rgba(1, 1, 1, 0.2) 0 0 10px;
  width: 633px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.gallery-block .owl-carousel .item img {
  width: 100%;
}
.gallery-block .owl-carousel .owl-dots {
  display: inline-block;
  background: #fff;
  padding: 0 30px 8px 30px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
}
.gallery-block .owl-carousel .owl-dots button {
  width: 8px;
  height: 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #da8325;
  margin: 0 2px;
}
.gallery-block .owl-carousel .owl-dots button.active {
  background: #da8325;
}
.contacts-block {
  padding: 86px 0 100px;
  background: url('img/contacts-block.png') no-repeat bottom center / contain;
}
.contacts-block .contacts {
  width: 384px;
  margin-bottom: 30px;
}
.contacts-block .contacts .name {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 25px;
  margin-bottom: 20px;
}
.contacts-block .contacts a {
  display: block;
  text-decoration: none;
  margin-bottom: 5px;
}
.contacts-block .contacts a.phone {
  font-size: 16px;
  margin-left: 0!important;
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
}
.contacts-block .contacts a.phone .fa {
  color: #0dc143;
  font-size: 20px;
}
.contacts-block .contacts a.in {
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
}
.contacts-block .contacts a.in .fa {
  color: #0dc143;
  font-size: 20px;
}
.contacts-block .contacts p {
  margin-bottom: 20px;
}
.contacts-block .contacts p.no_p {
  margin-bottom: 5px;
}
.contacts-block .contacts .map {
  height: 222px;
  margin-bottom: 15px;
}
.contacts-block .contacts .social p {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 18px;
  margin-bottom: 10px;
}
.contacts-block .contacts .social a {
  display: inline-block;
  margin: 0 5px 0 0;
}
.contacts-block .form {
  width: 540px;
  text-align: center;
}
.contacts-block .form .name {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 25px;
  margin-bottom: 6px;
}
.contacts-block .form p {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 13px;
}
.contacts-block .form p span {
  display: block;
  font-size: 16px;
}
.contacts-block .form form {
  background: url('img/form.png') center / cover;
  padding: 12px 15px 10px 15px;
  box-shadow: rgba(1, 1, 1, 0.05) 0 0 10px;
}
.contacts-block .form form .flex .field {
  width: 49.2%;
}
.contacts-block .form form .field {
  margin-bottom: 6px;
  position: relative;
}
.contacts-block .form form .field input[type='text'] {
  width: 100%;
  height: 56px;
  padding: 0 10px;
  box-shadow: inset rgba(1, 1, 1, 0.25) 0 0 10px;
}
.contacts-block .form form .field textarea {
  width: 100%;
  height: 170px;
  padding: 20px 10px;
  box-shadow: inset rgba(1, 1, 1, 0.25) 0 0 10px;
}
.contacts-block .form form .field input[type='text']:focus + p {
  font-size: 12px;
  top: 3px;
}
.contacts-block .form form .field input[type='text']:valid + p {
  font-size: 12px;
  top: 3px;
}
.contacts-block .form form .field textarea:focus + p {
  font-size: 12px;
  top: 3px;
}
.contacts-block .form form .field textarea:valid + p {
  font-size: 12px;
  top: 3px;
}
.contacts-block .form form .field p {
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  -ms-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
  position: absolute;
  left: 10px;
  font-style: italic;
  top: 20px;
  font-weight: 400;
  margin: 0;
  color: #636262;
  pointer-events: none;
}
.contacts-block .form form .bottom-text {
  font-size: 11px;
  font-style: italic;
}
.contacts-block .form form button {
  width: 146px;
  height: 42px;
  background: url('img/button2.png');
  color: #fff;
  text-transform: uppercase;
  font-size: 15px;
}
.footer {
  background: #feeddd;
  padding: 30px 0 60px;
}
.footer .logo {
  width: 170px;
  margin-top: -5px;
}
.footer ul li {
  margin-bottom: 3px;
}
.footer ul li a {
  text-decoration: none;
  font-weight: 600;
}
.footer .contacts a {
  display: block;
  text-decoration: none;
}
.footer .info {
  margin-right: 120px;
}
.popup .window {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50px;
  margin-bottom: 50px;
  width: 774px;
  background: #f27e00;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 33px;
}
.popup .window.thanks {
  width: 480px;
  padding: 4px;
}
.popup .window.thanks .close {
  display: none;
}
.popup .window .close {
  position: absolute;
  width: 18px;
  height: 19px;
  top: 12px;
  right: 12px;
  background: url('img/close.png');
}
.popup .window form {
  background: #fff;
  padding: 40px 30px;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
  box-shadow: inset rgba(1, 1, 1, 0.2) 0 0 30px;
}
.popup .window form .name {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 25px;
}
.popup .window p {
  font-style: italic;
  padding: 0 0 30px 20px;
}
.popup .window label {
  padding: 0 20px 10px 20px;
  font-weight: 700;
  font-size: 15px;
  display: block;
}
.popup .window input[type='text'] {
  width: 100%;
  height: 52px;
  max-width: 432px;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
  box-shadow: inset rgba(1, 1, 1, 0.3) 0 0 10px;
  padding: 0 20px;
  margin-bottom: 10px;
}
.popup .window .button {
  text-align: right;
  padding-top: 5px;
}
.popup .window .button button {
  width: 215px;
  height: 52px;
  background: url('img/button3.png');
  font-weight: 700;
  text-transform: uppercase;
  font-size: 18px;
  color: #fff;
}
.popup .window .thanks {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
}
.popup .window .thanks .name {
  font-weight: 600;
  font-size: 30px;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.popup .window .thanks p {
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 25px;
  font-style: normal;
  padding: 0;
}
.popup .window .thanks button {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  color: #fff;
  width: 185px;
  height: 45px;
  background: url('img/button4.png');
}
@media (max-width: 1085px) {
  .wrap {
    width: 970px;
  }
  .first-block .block {
    left: -50px;
  }
  .index-courses .image {
    left: -120px;
    pointer-events: none;
  }
  .contacts-block .form form .bottom-text {
    width: 100%;
    margin: 0 0 10px 0;
    text-align: left;
  }
  .first-block .header ul li {
    margin-right: 40px;
  }
}
@media (max-width: 991px) {
  .wrap {
    width: 757px;
  }
  .first-block .header .contacts {
    margin-right: 0;
  }
  .first-block .header ul li {
    margin-right: 40px;
  }
  .first-block .header {
    padding: 40px 0 100px;
  }
  .first-block .block {
    left: -80px;
  }
  .first-block .logo img {
    width: 500px;
  }
  .about-block .text .flex {
    width: 160%;
  }
  .index-courses {
    padding-left: 0;
  }
  .index-courses .image {
    display: none;
  }
  .contacts-block .form {
    width: 340px;
  }
  .footer .info {
    margin: 0;
  }
  .popup .window {
    width: 700px;
  }
  .first-block .header ul li {
    margin-right: 20px;
  }
}
@media (max-width: 777px) {
  .wrap {
    width: 556px;
  }
  .menubg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(1, 1, 1, 0.7);
    z-index: 11;
    display: none;
  }
  .first-block .header ul {
    position: fixed;
    width: 280px;
    height: 100%;
    top: 0;
    left: -280px;
    background: #fff;
    z-index: 12;
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
  }
  .first-block .header ul.opened {
    left: 0;
  }
  .first-block .header ul li {
    display: block;
    margin: 0;
  }
  .first-block .header ul li a {
    padding: 10px 20px;
    border-bottom: 1px solid #ccc;
    display: block;
  }
  .first-block .header ul li ul {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: auto;
    padding: 0;
    box-shadow: none;
    display: block;
  }
  .first-block .header ul li ul li {
    border-bottom: 0;
  }
  .first-block .header ul li ul li a {
    padding: 10px 30px;
  }
  .first-block {
    background: url('img/first-block.jpg') center / cover;
    padding-bottom: 40px;
  }
  .first-block .header .menu-button {
    display: block;
  }
  .first-block .header {
    padding: 40px 0 60px;
  }
  .first-block .block {
    zoom: .5;
    bottom: 120px;
  }
  .first-block .logo img {
    width: 320px;
  }
  .about-block .text {
    padding: 0;
  }
  .about-block .text .flex {
    width: 145%;
  }
  .programs-block .item {
    width: 49.5%;
  }
  .programs-block {
    padding-bottom: 30px;
  }
  .index-courses .item {
    padding: 30px 0;
  }
  .gallery-block .owl-carousel .item {
    width: 400px;
    padding: 10px;
  }
  .contacts-block .contacts {
    width: 100%;
  }
  .contacts-block .form {
    width: 100%;
  }
  .footer .logo {
    width: 100%;
    margin: 0 0 20px 0;
    text-align: center;
  }
  .footer .logo img {
    width: 170px;
  }
  .popup .window {
    width: 500px;
  }
}
@media (max-width: 575px) {
  .wrap {
    width: auto;
    padding: 0 10px;
  }
  .first-block .header {
    padding: 20px 0 30px;
  }
  .first-block .header .contacts {
    zoom: .75;
  }
  .first-block .block {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    margin: 0 auto;
  }
  .first-block .logo {
    margin-bottom: 10px;
  }
  .about-block .wrap .image {
    order: 0;
    width: 100%;
  }
  .about-block .wrap .text {
    order: 1;
    width: 100%;
  }
  .about-block {
    padding: 30px 0;
  }
  .about-block .text .flex {
    width: auto;
  }
  .about-block .text .flex .list {
    width: 100% !important;
    margin: 0 0 20px 0!important;
  }
  .programs-block .item {
    width: 100%;
  }
  .index-courses .item .info {
    font-size: 16px;
  }
  .gallery-block .owl-carousel .item {
    width: 200px;
  }
  .footer {
    text-align: center;
  }
  .footer ul {
    width: 100%;
    margin-bottom: 20px;
  }
  .footer .contacts {
    width: 100%;
    margin-bottom: 20px;
  }
  .footer .info {
    width: 100%;
  }
  .popup .window {
    width: 300px;
    padding: 5px;
  }
  .popup .window form {
    padding: 15px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
  }
  .popup .window .close {
    right: 0;
    top: -30px;
  }
  .gallery-block.bn .owl-carousel .item {
    width: 320px;
  }
}
