*{
  margin: 0;
  padding: 0;
  transition: all 0.3s ease-in-out;
}
.block-d {
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #fafafa;

}
.join-text {
	padding-left: 35px;
	position: relative;
	padding-bottom: 0;
	margin-bottom: 10px!important;
}
.join-num {
	border: 2px solid #cc0000;
	border-radius: 50%;
	font-size: 20px;
	color: #cc0000;
	width: 25px;
	height: 25px;
	display: inline-block;
	text-align: center;
	line-height: 24px;
	position: absolute;
	left: 0;
	top: -4px;
}
.join-but {
	display: block;
	max-width: 220px;
	margin: 0px auto 20px;
	animation: rocking 2s infinite;
        animation-timing-function: ease;
    animation-timing-function: cubic-bezier(0, 0, 0.58, 1);
    transition: .2s;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 10px;
    padding: 10px 10px;
    font-weight: 300!important;
    text-align: center;
    color: #fff;
}
@keyframes rocking{0%{transform:rotate(0deg)}25%{transform:rotate(0deg)}50%{transform:rotate(2deg)}75%{transform:rotate(-2deg)}100%{transform:rotate(0deg)}}
.join-but:hover{animation:none !important}
.join-but.tg {
color: rgb(48, 99, 211);
font-weight: 600;
background-color: rgb(255, 255, 255);

}
.join-but.tg {
	background: #0088cc; color: #fff;
}
.join-but.yt {
	background: #c4302b; color: #fff;
}
.join-but.ig {
	background: #833ab4; color: #fff;
}
.join-but.fb {
	background: #3b5998; color: #fff;
}
@font-face {
  font-family: GothamProNarBol; /* Имя шрифта */
  src: url(fonts/GothamCyrillic/GothaProNarBol.otf); /* Путь к файлу со шрифтом */
}
@font-face {
  font-family: GothamProReg; /* Имя шрифта */
  src: url(fonts/GothamCyrillic/GothaProReg.otf); /* Путь к файлу со шрифтом */
}
@font-face {
  font-family: GothamProMed; /* Имя шрифта */
  src: url(fonts/GothamCyrillic/GothaProMed.otf); /* Путь к файлу со шрифтом */
}
body{
  overflow-x: hidden;
  color: #666666;
  font-family: 'GothamProReg', sans-serif;
}
b,strong{
  font-family: 'GothamProMed', sans-serif;
}
a,a:hover,a:active,a:focus{
  text-decoration: none;
}
img{
  max-width: 100%;
}
.block-contacts{
  margin-top: 10px;
  margin-bottom: 40px;

}
em {
	font-family: 'Rubik', sans-serif;
}
.block-contacts .center-main-block{}

.block-contacts .flex-block{
  flex-wrap: wrap;
  justify-content: flex-start;
}
.contact-box{
  display: flex;
  align-items: flex-start;
  width:32%;
  margin-right: 1%;
  margin-top: 30px;
}
.contact-image{
  min-width: 34px;
  width: 34px;
  margin-right: 12px;
}
.contact-image.fa{
  line-height: 34px;
  font-size: 34px;
}
.contact-text{}
.center-main-block{
  max-width: 900px;
  margin: 0 auto;
}
.flex-block{
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
}
.clearfix{
  display: table;
  content: "";
  float: none;
  clear: both;
}
.line{
  margin: 30px auto 30px;
  width: 100%;
  max-width: 640px;
  height: 2px;
  border-radius: 2px;
  background: #f4763b;
}
.line_b{
  margin-bottom: 20px;
  background: #121212;
}
.black{
  color: #353535;
}
.blue{
  color: #4978ff;
}
.red{
  color: #CC0000;
}
.orandge{
  color: #f4763b;
}
.bold{
  font-weight: bold;
}
.italy{
  font-style: italic;
}
h1,h2,h3,h4,h5,h6{
  margin-bottom: 10px;
  color: #353535;
  font-family: 'GothamProNarBol', sans-serif;
  font-weight: bold;
  text-align: center;
}
h1{
  font-size: 28px;
}
h2{
  font-size: 26px;
  margin-bottom: 15px;
}
h3{
  font-size: 20px;
}
h4{
  font-size: 18px;
}
ul,ul li{
  list-style: none;
}
ul li{
  margin-bottom: 8px;
}
ul li .fa{
  color: #4978ff;
  position: relative;
  top: -1px;
}
ul .fa,
ol.fa{
  display: inline-block;
  margin-right: 6px;
  font-size: 22px;
  position: relative;
  top: -1px;
  clear: left;
  float: left;
}
p{
  margin-bottom: 10px;
}
p:last-child{
  margin-bottom: 0;
}
.order{
  display: inline-block;
  padding: 14px 22px;
  background: #ff2025;
  color: #ffffff;
}
.order.big{
  font-size: 24px;
}
.order.big:hover{
  transform: scale(1.1);
  background: #cf0005;
}
.arrow {
  right: 0;
  left: 0;
  display: block;
  width: 74px;
  height: 74px;
  margin: 20px auto 30px;
  background-image: url(img/arrow_w.png);
  background-repeat: no-repeat;
  background-position: center center; 
}
.arrow:hover {
  transform: translateY(20px); 
}

section{
  padding: 30px 0;
}
header{
  padding: 40px 0;
  background: #121212;
  background-image: url(img/bg_h.jpg);
  background-size: cover;
  background-position: top center;
  background-attachment: fixed;
  min-height: 100vh;
  color: #ffffff;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  text-align: center;
}
header h2{
  color: #ffffff;
  margin-bottom: 20px;
}
header h1{
  font-size: 32px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
header p{
  max-width: 700px;
  text-align: center;
  margin: 0 auto 40px;
}
header form{
  margin-top: 30px;
}
header .moonray-form-element-wrapper{
  width: 24%;
}
header input{
  padding: 16px;
  width: 100%;
  font-family: 'GothamProMed';
  color: #333333;
  box-sizing: border-box;
  outline: none;
  border: 1px solid #ff2025;
}
header .moonray-form-input-type-select{
  position: relative;
  top: -1px;
}
header .moonray-form-input-type-select label{
  width: 100%;
}
header .moonray-form-input-type-select select{
  width: 100%;
  margin-top: 5px;
  padding: 4px;
  border: 1px solid #ff2025;
  font-family: 'GothamProMed';
}
header input[type=submit]{
  width: 100%;
  background: #ff2025;
  color: #ffffff;
  text-transform: uppercase;
  font-family: 'GothamProMed';
  cursor: pointer;
}
header input[type=submit]:hover{
  background: #df0005;
  border: 1px solid #df0005;
}
header .moonray-form-input-type-hidden{
  display: none;
}

.block_1{
  background: #f7f7f7;
}
.block_1 .center-main-block{}
.block_1 h2{}
.block_1 p{}
.block_1 strong{
  margin-top: 25px;
  display: block;
  text-transform: uppercase;
}
.block_1 ul{
  margin-bottom: 10px;
  display: inline-block;
  text-align: left;
}
.block_1 ul li{
  margin-top: 10px;
}
.block_1 p.italy{
  margin-top: 10px;
}

.block_2{
  background-image: url(img/bg_2.png);
  background-size: cover;
  background-position: center;
}
.block_2 h2{
  text-transform: uppercase;
  margin-bottom: 15px;
}
.block_2 .flex-block{
  justify-content: space-around;
  margin-bottom: 15px;
  overflow: hidden;
}
.block_2 .flex-block>div:nth-of-type(1){
  width: 100%;
}
.ifwant:nth-of-type(1){
  animation: ifwant1 2s ease-in-out;
}
.ifwant:nth-of-type(2){
  animation: ifwant2 2.5s ease-in-out;
}
.ifwant:nth-of-type(4){
  animation: ifwant4 3s ease-in-out;
}
.ifwant:nth-of-type(5){
  animation: ifwant5 3.5s ease-in-out;
}
@keyframes ifwant1{
  0%{top: -300px; opacity: 0;}
  100%{top: 0; opacity: 1;}
}
@keyframes ifwant2{
  0%{left: -100%;; opacity: 0;}
  100%{left: 0; opacity: 1;}
}
@keyframes ifwant4{
  0%{left: 100%; opacity: 0;}
  100%{left: 0; opacity: 1;}
}
@keyframes ifwant5{
  0%{top: 300px; opacity: 0;}
  100%{top: 0; opacity: 1;}
}
.block_2 .flex-block>div:nth-of-type(1) figcaption{
  margin: 0 auto;
  width: 30%;
}
.block_2 .flex-block>div{
  margin-top: 15px;
  width: 30%;
  position: relative;
  text-align: center;
}
.block_2 .flex-block>div figure{
  margin-bottom: 5px;
}
.block_2 h3{
  font-size: 22px;
}
.popup-container{
  position: fixed;
  top: -200%;
  left: 0;
  z-index: 400;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  opacity: 0;
  overflow-y: auto;
  transition: opacity 1s ease-in-out, top 0.6s linear;
}
.popup-container.active{
  top: 0;
  opacity: 1;
}
.popup-background{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  cursor: pointer;
}
.popup{
  position: relative;
  z-index: 400;
  width: 100%;
  max-width: 660px;
  padding: 16px;
  background-color: #ffffff;
  border-radius: 6px;
  border: 4px solid #ff9900;
}
.popup-title {
	text-align: center;
	font-weight: 700;
	color: #85bb65;
	font-size: 28px;
	line-height: 34px;
	margin-bottom: 20px;
}
.popup-subtitle {
	text-align: center;
	font-weight: 700;
	
	font-size: 30px;
	line-height: 34px;
	margin-bottom: 20px;
}
.popup-flex {
	display: flex;
	justify-content: space-between;
}
.image-text {
	line-height: 22px;
	font-size: 18px;

}
.popup {
    line-height: 1.2;
}
.popup .fa-close{
  position: absolute;
  top: 4px;
  right: 6px;
  z-index: 10;
  display: inline-block;
  color: #ff9900;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.popup .fa-close:hover{
  transform: scale(1.2);
}
.popup h2{
  margin-top: 0;
  margin-bottom: 14px!important;
  font-weight: 500!important;
}
.popup h3{
  margin-top: 22px!important;
  font-family: 'Roboto'!important;
  font-weight: 500!important;
}
.popup p{
  margin-bottom: 14px;
}
.popup p:last-of-type{
  margin-bottom: 0;
}
.popup-text {
	line-height: 28px;
	font-size: 20px;
	font-weight: bold;
	padding: 20px 20px 0 20px;
}
.popup .gform_wrapper,
.popup .ussr{
 

  border-radius: 5px;

  
}
.popup .gform_wrapper *{
  margin: 0!important;
  padding: 0!important;
  max-width: 100%!important;
}
.popup .gform_wrapper .form-title,
.popup .ussr .form-title{
  margin-bottom: 20px!important;
  font-size: 20px;
  font-weight: 400!important;
  line-height: 1.4!important;
}
.popup .gform_wrapper .form-title_top,
.popup .ussr .form-title_top{
  display: inline-block;
  margin-bottom: 6px!important;
  padding: 0 4px 3px!important;
  font-weight: bold;
  line-height: 1;
  border-bottom: 1px solid #4472c4;
}
.popup .gform_wrapper .form-title_bottom,
.popup .ussr .form-title_bottom{}
.popup .gform_wrapper .form-title_date,
.popup .ussr .form-title_date{
  color: #ff9900!important;
  font-weight: bold;
}
.popup .gform_wrapper label{
  display: none!important;
  margin-bottom: 5px!important;
  font-size: 18px!important;
}
.popup .gfield_required,
.popup #input_310_1_3_container label{
  display: none!important;
}
.popup .gform_wrapper input,
.popup .ussr input{
  display: inline-block;
  width: calc(100% - 20px)!important;
  margin-bottom: 20px!important;
  padding: 10px 10px!important;
  background-color: #ffffff!important;
  color: #495057!important;
  font-size: 16px!important;
  line-height: 1.4;
  border: 1px solid #ced4da!important;
  border-radius: 3px;
}
.popup .gform_wrapper input[type=submit],
.popup .ussr input[type=submit]{
  padding: 14px 10px 15px!important;
  background-color: #ff9900!important;
  color: #ffffff!important;
  font-size: 18px!important;
  font-weight: bold;
  width: 100%!important;
  text-align: center;
  border: 1px solid transparent!important;
  cursor: pointer;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.popup .gform_wrapper input[type=submit]:hover,
.popup .ussr  input[type=submit]:hover{
  background-color: #ffde00!important;
  color: #121212!important;
} 
.block_3{
  background: #464646;
  background-image: url(img/bg_3.jpg);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  color: #ffffff;
}
.block_3 h1{
  text-transform: uppercase;
}
.block_3 center{
  margin-bottom: 20px;
}
.block_3 article.flex-block:not(:last-of-type){
  border-bottom: 2px solid #ffffff;
  align-items: center;
}
.block_3 figure{
  overflow: hidden;
  height: 300px;
  width: calc(50% - 2px);
  border-left: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}
.block_3 article:nth-of-type(2n) figure{
  width: calc(50% - 4px);
  border-right: 2px solid #ffffff;
}
.block_3 article:nth-of-type(1) figure{
  border-top: 2px solid #ffffff;
  width: calc(50% - 2px);
}
.block_3 article:last-of-type figure{
  border-bottom: 2px solid #ffffff;
  margin-bottom: 20px;
}
.block_3 figure img{
  width: auto;
  height: 100%;
  max-width: none;
}
.block_3 figcaption{
  padding: 18px;
  width: calc(50% - 4px);
  box-sizing: border-box;
  text-align: center;
}
.block_3 h3, .block_3 h4{
  color: #ffffff;
}

.block_4{
  background: #f4f4f4;
}
.block_4 h2{}
.mebel{
  display: flex;
  margin-top: 30px;
}
.mebel:nth-of-type(2) .descr_cont{
  margin-left: 0;
  margin-right: 10px;
}
.book_cont{}
.book_all{}
.book_all:nth-of-type(1) .book{}
.book{
  margin-top: -26px;
  margin-bottom: 4px;
  background: #2d5cd4;
  background: url(img/book_1.png);
  color: #f4f4f4;
  color: #fff;
  font-family: 'GothamProMed', sans-serif;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  width: 360px;
  min-height: 46px;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(0,0,0,0.3);
  border-right: 8px solid #173fa5;
  border-bottom: 6px solid #1f43a0;
  cursor: pointer;
  box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.2);
}
.book_all:before{
  display: block;
  content: "";
  width: 0;
  height: 0;
  position: relative;
  border-left: 20px solid transparent;
  border-top: 16px solid #f4f4f4;
  left: 354px;
  top: -13px;
}
.book_all:after{
  display: block;
  content: "";
  width: 0;
  height: 0;
  position: relative;
  top: -11px;
  left: -1px;
  border-left: 0px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 16px solid #f4f4f4;
}
.trainer{
  display: none!important;
}
#trainer,
#trainer2{
  opacity: 0;
  display: block;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  animation: descr_st 1s ease-in-out;
  animation-fill-mode: forwards;

}
.descr_cont{
  width: calc(100% - 370px);
  max-height: 430px;
  box-sizing: border-box;
  margin-top: -9px;
  margin-left: 10px;
  padding: 15px;
  color: #333333;
  box-shadow: 2px 2px 3px 2px rgba(0,0,0,0.1);
  border-radius: 24px;
  border: 2px solid rgba(39, 76, 175, 0.74);
  background: rgba(245, 245, 245, 0.73);
}
.descr_cont article{}
.descr_cont input[type=radio]{
  display: none;
}
/*.descr_cont input[type=radio]:checked+.descr{
  display: block;
}*/
.test+.descr{
  display: block;
  animation: descr_st 2s ease-in-out;
  animation-fill-mode: forwards;
}
@keyframes descr_st{
  1%{opacity: 0;}
  100%{opacity: 1;}
}
.descr{
  display: none;
  opacity: 0;
}

.block_5{
  background-image: url(img/bg_2.png);
  background-size: cover;
  background-position: center bottom;
}
.block_5 .center-main-block,
.foot .center-main-block{
  max-width: 700px;
}
.block_5 h4{}
.block_5 h3{}
.author{
  background: #ffffff;
  box-shadow: 2px 2px 3px 2px rgba(0,0,0,0.24);
  border: 2px solid #4978ff;
  border-radius: 20px;
  padding: 15px 20px 25px;
  align-items: center;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.author figure{
  width: 100%;
  height: 260px;
  margin-bottom: 10px;
}
.author img{
  height: 100%;
  width: auto;
}
.author figcaption{}
.block_5 p{}
.gift{
  margin: 30px auto;
  display: inline-block;
  padding: 20px 80px;
  background: #fff;
  border: 2px solid #4978ff;
  box-shadow: 2px 2px 3px 2px rgba(0,0,0,0.24);
}
.gift h1{
  font-size: 34px;
}
.gift ul{
  display: inline-block;
  text-align: left;
}
.gift ul li{
  text-align: left;
}
.garant{
  text-align: center;
}
.garant figure{
  width: 100%;
  height: 80px;
  margin-bottom: 10px;
}

.left{
  float: left;
}
.right{
  float: right;
}
.foot {
  padding: 20px 0;
  color: #ddd;
  font-size: 14px;
  background-color: #343d4d;
  border-top: 1px solid #ddd; }
  .foot p {
    margin: 0; }
  .foot a {
    display: inline-block;
    color: #ddd;
    opacity: 0.7; }
    .foot a:hover {
      color: #6f6f6f;
      opacity: 1; }
  .foot ul {
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style-type: none; }
  .foot ul .fa{
    font-size: 18px;
    color: #ddd;
  }
    .foot ul li {
      display: inline-block;
      margin: 0 10px;
      font-size: 14px; }
      .foot ul li:before {
        display: none; }
      .foot ul li a {
        transition: 1s; }
        .foot ul li a:hover {
          transform: scale(1.2); }









@media only screen and (max-width: 1200px){
  .center-main-block{
    padding: 0 2%;
    box-sizing: border-box;
  }
  .block_3 .center-main-block{
    padding: 0;
  }
  .block_3 figure{
    height: 320px;
  }
  .block_3 figure img{
    position: relative;
    left: -50px;
  }
  .descr{
    font-size: 0.85em;
  }
  .descr ul li{
    margin-bottom: 10px;
  }
  .descr ul li .fa{
    top: -3px;
  }
  .contact-box{

  width:49%;
  margin-right: 0;
}
}
@media only screen and (max-width : 760px){
  .flex-block{
    flex-direction: column;
    align-items: center;
  }
  header p{
    margin-bottom: 10px;
  }
  header form{
    margin-top: 0;
  }
  header .moonray-form-element-wrapper{
    width: 60%;
    margin: 5px auto 0;
    min-width: 300px;
  }
  .block_2 .flex-block>div:nth-of-type(1) figcaption,
  .block_2 .flex-block>div{
    width: 280px;
  }
  .block_3 article.flex-block:not(:last-of-type){
    border-bottom: none;
  }
  .block_3 article.flex-block:last-of-type{
    border-bottom: 2px solid #ffffff;
    margin-bottom: 20px;
  }
  .block_3 article:nth-of-type(1) figure,
  .block_3 article figure{
    width: calc(100% - 4px);
    height: auto;
    border-bottom: 2px solid #ffffff;
  }
  .block_3 article:nth-of-type(2n+1) figure{
    border-top: 2px solid #ffffff;
  }
  .block_3 article:nth-of-type(2n) figure{
    width: calc(100% - 4px);
    border-top: 2px solid #ffffff;
    order: 1;
  }
  .block_3 article figure img{
    width: 100%;
    height: auto;
    margin-bottom: -3px;
    left: 0;
  }
  .block_3 article:nth-of-type(2n) figcaption{
    order: 2;
    border-bottom: none;
  }
  .block_3 article figcaption{
    width: 100%;
  }
  .block_4 h2:first-child{
    display: none;
  }
  .mebel{
    display: none;
  }
  #trainer,
  #trainer2{
    display: none;
  }
  .mebel{
    flex-direction: column;
    align-items: center;
  }
  .descr_cont{
    width: calc(100% - 4px);
    max-width: 370px;
    max-height: none;
    margin: 0;
  }
  .descr{
    font-size: 1em;
  }
  .test+.descr{
    animation: descr_st2 2s ease-in-out;
  }
  .descr_cont input[type=radio]:checked+.descr{
    display: block;
  animation: descr_st 2s ease-in-out;
  animation-fill-mode: forwards;
  }
  .mebel:nth-of-type(2) .descr_cont{
    margin: 0;
    order: 4;
  }
  .gift{
    display: block;
  }
  .foot {
    text-align: center;
    }
    .foot .left,
    .foot .right{
      float: none;
    }
    .foot ul{
      margin-top: 5px;
    }
    .foot a{
      display: block;
    }
}
@media only screen and (max-width : 480px) {
	.contact-box{

  width:100%;
  margin-right: 0;
}
  header h2{
    font-size: 22px;
  }
  header h1{
    font-size: 30px;
  }
  header .moonray-form-element-wrapper{
    width: 100%;
  }
  .book{
    width: 280px;
  }
  .book_all:before{
    left: 276px;
  }
  .gift{
    padding: 20px;
  }
}