/* ALERT RELATED CLASS (START) */

.alert-area {
    max-height: 100%;
    position: fixed;
    bottom: 5px;
    left: 20px;
    right: 20px;
    z-index: 100;
}
.alert-content{
  padding-right: 16px;
    text-align: left;
}

.alert-box {
  font-size: 16px;
  color: white;
  background: rgba(0, 0, 0, 0.9);

  line-height: 1.3em;
  padding: 10px 15px;
  margin: 5px 10px;
  position: relative;
  border-radius: 5px;
  transition: opacity 0.5s ease-in;
}
.alert-box.red{
    background: rgba(255, 0, 0, 0.7);
}
.alert-box.green{
    background: rgba(0, 255, 0, 0.7);
}

.alert-box.gray {
  background: rgba(15, 30, 53, .7);
}

.alert-box.hide {
  opacity: 0;
}

.alert-close {
  background: transparent;
  width: 12px;
  height: 12px;
  position: absolute;
  top: 15px;
  right: 15px;
}

.alert-close:before,
.alert-close:after {
  content: '';
  width: 15px;
  border-top: solid 2px white;
  position: absolute;
  top: 5px;
  right: -1px;
  display: block;
}

.alert-close:before {
  transform: rotate(45deg);
}

.alert-close:after {
  transform: rotate(135deg);
}

.alert-close:hover:before,
.alert-close:hover:after {
  border-top: solid 2px #d8d8d8;
}

@media (max-width: 767px) and (min-width: 481px) {
  .alert-area {
    left: 100px;
    right: 100px;
  }
}

@media (min-width: 768px) {
  .alert-area {
    width: 350px;
    left: auto;
    right: 0;
  }
}



.alert-message-container {
  text-align: center;
  line-height: 2.5em;
  margin-top: 50px;
}

.alert-message-box {
  font-size: 20px;
  width: 300px;
  border: solid 1px #444;
  padding: 10px 15px;
  outline: none;
  transition: box-shadow 0.1s;
}

.alert-message-box:focus {
  box-shadow: 0 0 15px 2px #888;
}

.alert-message-button {
  font-size: 18px;
  color: white;
  background: #14b9ff;
  width: 250px;
  border: solid 1px #14b9ff;
  padding: 10px 20px;
  margin-top: 5px;
  cursor: pointer;
  outline: none;
  transition: background 0.1s;
}

.alert-message-button:hover,
.alert-message-button:focus,
.alert-message-button:active {
  background: #7dd8ff;
}

/* ALERT RELATED CLASS (END) */


html,
body{
    height: 100%;
}
body{
    height: 100%;
}
.page{
    display: flex;
    flex-direction: column;
    height: 100%;
}
footer{
    margin-top: auto;
    margin-bottom: 0;
}
header .moto-widget-menu-list{
    margin-right: 70px;
}
.first-screen{
    height: 650px;
    width: 100%;
    position: relative;
}
.first-screen-carousel{
    width: 100%;
    height: 100%;
}
.first-screen-carousel__item{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.first-screen .owl-stage-outer,
.first-screen .owl-stage,
.first-screen .owl-item{
    height: 100%;
}
.first-screen__bottom{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
}
.first-screen__container{
    padding: 0 8.3%;
    position: relative;
}
.js-top-slider-text{
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: 0.5s opacity;
}
.js-top-slider-text.js-act{
    opacity: 1;
    visibility: visible;
}
.im-popup {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    z-index: 25;
    font-size: 0;
    overflow-y: auto;
    padding: 65px 0;
    background-color: rgba(0, 0, 0, .7);
    visibility: hidden;
    opacity: 0;
    transition: visibility ease-in-out .3s, opacity .3s ease-in-out
}

.im-popup:before {
    content: '';
    height: 100%;
    display: inline-block;
    vertical-align: middle
}

.im-popup .im-popup-inside {
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
    width: 100%
}

.im-popup._visible {
    opacity: 1;
    visibility: visible
}
.im-popup {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    z-index: 25;
    font-size: 0;
    overflow-y: auto;
    padding: 65px 0;
    background-color: rgba(0, 0, 0, .7);
    visibility: hidden;
    transition: visibility ease-in-out .3s, opacity .3s ease-in-out
}
.im-popup {
    opacity: 0
}

.b-popup {
    width: 580px;
    max-width: 90%;
    padding: 60px 100px 70px;
    background-color: #fff;
    position: relative;
    text-align: left;
    margin: 0 auto;
    max-width: 90%;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .3)
}

.b-popup__close {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 20px;
    right: 20px;
    cursor: pointer
}
.b-popup__close:hover{
    opacity: 0.7;
} 

.b-popup__close:after, .b-popup__close:before {
    content: '';
    position: absolute;
    top: 11px;
    left: 0%;
    width: 100%;
    height: 3px;
    border-radius: 5px;
    background-color: #fb861e
}

.b-popup__close:after {
    transform: rotate(45deg)
}

.b-popup__close:before {
    transform: rotate(-45deg)
}
.b-popup-title{
    font-size: 36px;
    font-weight: 600;
    color: #131f2b;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 30px;
}
@media (max-width: 640px){
    .b-popup{
        padding: 40px;
    }
    .b-popup-title{
        font-size: 28px;
    }
}
.b-popup-title span{
    color: #88c057;
}
.b-popup p{
    font-size: 14px;
    line-height: 1.43;
    text-align: center;
    color: #131f2b;
    margin-bottom: 35px;
}
.form-section{
    margin-bottom: 25px;
}
.form-section-title{
    text-align: center;
    color: #131f2b;
    font-weight: bold;
    margin-bottom: 19px;
}

.b-input{
    width: 100%;
    height: 50px;
    border: solid 1px #eae0e0;
    background-color: #f9f9f9;
    color: black;
    font-size: 14px;
    margin-bottom: 8px;
    padding: 0 15px;
}
.b-input:last-child{
    margin-bottom: 0;
}
.b-checkbox__input, .b-radiobox__input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
.b-checkbox__input:checked + .b-checkbox__label:after,
.b-radiobox__input:checked + .b-checkbox__label:after,
.b-checkbox__input:checked + .b-radiobox__label:after,
.b-radiobox__input:checked + .b-radiobox__label:after {
	opacity: 1;
}
.b-checkbox__input:checked + .b-checkbox__label:before, 
.b-radiobox__input:checked + .b-checkbox__label:before, 
.b-checkbox__input:checked + .b-radiobox__label:before, 
.b-radiobox__input:checked + .b-radiobox__label:before {
	background-color: white;
	border-color: #fb861e;
}
.b-checkbox__label, .b-radiobox__label {
	display: block;
	position: relative;
	padding-left: 34px;
	cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}
.b-checkbox__label:before, .b-radiobox__label:before, .b-checkbox__label:after, .b-radiobox__label:after {
	position: absolute;
}
.b-radiobox{
    margin-bottom: 10px;
}
.b-radiobox_activity{
    margin-bottom: 20px;
}
.b-radiobox__label:before {
	content: '';
	width: 24px;
	height: 24px;
    border: solid 1px #eae0e0;
    background-color: #f9f9f9;
	border-radius: 50%;
	transition: .25s background-color, .25s color;
}
.b-radiobox__label:after {
    content: '';
	height: 10px;
	width: 10px;
	line-height: 24px;
    background-color: #fb861e;
    border-radius: 50%;
	text-align: center;
	opacity: 0;
	color: #fff;
	transition: .25s opacity;
}
.b-radiobox__label:before {
	left: 0;
	top: 0;
}
.b-radiobox__label:after {
	top: 7px;
	left: 7px;
}
.form-section .rcol:last-child .b-radiobox_activity{
    margin-bottom: 0;
}
.calories{
    border: solid 3px #eae0e0;
    background-color: #ffffff;
    padding: 18px 23px 16px;
    margin-bottom: 8px;
}
.calories:last-child{
    margin-bottom: 0;
}
.calories-title{
    font-size: 16px;
    font-weight: bold;
    color: #131f2b;
    margin-bottom: 5px;
    line-height: 1.2;
}
.calories-value{
    font-size: 22px;
    color: #131f2b;
}
.b-btn{
    height: 58px;
}
.b-btn_sm{
    height: 48px;
    padding: 0 22px;
}

.b-btn_orange{
 
    background-color: #fb861e;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: .3s;
    border: none;
    font-weight: 600;
}
.w100{
    width: 100%;
}

.b-btn_orange:hover{
    background-color: #131f2b;
    color: white;
}
.form-section + .b-btn{
    margin-top: 20px;
}
.lh1-2{
    line-height: 1.2;
}
.moto-text_normal{
    font-size: 14px;
    color: #131f2b;
    line-height: 1.45;
}
.faq .moto-text_normal{
    font-size: 14px;
    color: #131f2b;
    line-height: 1.45;
}
.moto-text_normal p:not([class]){
    margin-bottom: 20px;
    font-size: 14px;
    color: #131f2b;
    line-height: 1.45;
}
.moto-text_normal p:not([class]):last-child{
    margin-bottom: 0;
}
/*#about-author .moto-text_normal p{*/
/*    margin-bottom: 20px;*/
/*    font-size: 14px;*/
/*    color: #131f2b;*/
/*    line-height: 1.45;*/
/*}*/
#about-author .moto-text_normal p:last-child{
    margin-bottom: 0;
}
#about-author .moto-spacing-bottom-small{
    padding-bottom: 27px;
}
.col-xs-2.mod-xs-1-5{
    flex-basis: 13.5%;
}
.testimonials-text{
    padding-top: 24px;
    margin-bottom: 33px;
}
.testimonials-name{
    font-size: 16px;
    font-weight: bold;
}
@media (min-width: 768px){
    .col-sm-5.testimonials-mod-col-sm-5{
        flex-basis: 38.7%;
    }
}
.col-xs-3.testimonials-mod-col-xs-3{
    flex-basis: 19%;
}

#testimonials{
    padding-bottom: 75px;
}
.socials-link{
    margin-right: 45px;
}
.socials-link:last-child{
    margin-right: 0;
}

footer.moto-spacing-top-large{
    padding-top: 70px;
}
@media (min-width: 1024px){
    footer.moto-spacing-top-large {
        padding-top: 140px;
    }
}
.footer-title{
    color: white;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
}
.footer-text {
    font-size: 12px;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 37px;
}

.footer-copyright {
    font-size: 12px;
    font-weight: normal;
    line-height: 1.33;
    color: white;
}
.advantage-text a{
    color: #131f2b;
}
#discount-block{
    padding: 135px 0 ;
}
@media (max-width: 1023px){
    #discount-block{
        padding: 80px 0 ;
    }
}
@media (max-width: 767px){
    #discount-block{
        padding: 70px 0 ;
    }
}
.main-discount-text{
    font-size: 50px;
    font-weight: 800;
    color: white;
    line-height: 1.3;
}
#discount-block .moto-widget-button-link{
    min-width: 215px;
}
.advantage-title{
    font-size: 22px;
    color: #131f2b;
    font-weight: normal;
    margin-bottom: 10px;
}
.moto-content-image-container img{
    max-height: 100%;
    max-width: 100%;
}
.moto-content-image-container{
    width: 60px;
    display: block;
}
#advantages{
    padding-bottom: 130px;
}
@media (max-width: 1024px){
   #advantages{
        padding-bottom: 60px;
    } 
}
.discount-block.layout{
    position: relative;
}
.discount-block.layout:before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #2ca31f;
    opacity: 0.8;
}
.b-btn{
    cursor: pointer;
}
.b-btn:disabled{
    opacity: 0.5;
    pointer-events: none;
}
.first-screen .moto-text_system_5{
    font-size: 50px;
}

.moto-widget .advantages-card-wrap{
    padding-top: 15px;
    padding-bottom: 8px;
}
.advantages-card{
    padding-top: 30px;
    padding-bottom: 30px;
}
.payments{
    background-color: white;
    padding: 20px 24px;
    display: block;
    width: 100%;
    margin-bottom: 70px;
    border-radius: 3px;
    overflow: hidden;
}

.payments__title {
    font-size: 14px;
    color: #131f2b;
    margin-bottom: 5px;
    text-align: left;
}
.payments__cols-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: -12px;
}
.payments__col {
    padding: 12px;
    display: flex;
}
.payments__img {
    margin: auto;
}
.payments-wrap{
    width: 100%;
}
@media (min-width: 768px){
    .advantages-icon{
        padding-bottom: 17px;
    }
    .first-screen-text-slide {
        padding-left: 70px;
        padding-bottom: 60px;
        padding-top: 60px;
    }
    .first-screen-text-slide .moto-text_system_2{
        margin-bottom: 10px;
    }
}
@media (max-width: 767px){
    .testimonials-left{
        display: none;
    }
    .main-discount-text{
        font-size: 34px;
        line-height: normal;
    }
    .first-screen .moto-text_system_5{
        font-size: 36px;
    }
    .discount-block-btn-wrap{
        text-align: left;
    }
}
@media (max-width: 630px){
    .first-screen .moto-text_system_5{
        font-size: 26px;
    }
}

@media (max-width: 1023px){
    .testimonials-comments{
        flex-basis: 75%;
        max-width: 75%;
    }
}
@media (max-width: 1023px){
    footer{
        padding-left: 20px;
        padding-right: 20px;
    }
    #about-author .container-fluid{
        padding-left: 20px;
        padding-right: 20px;
    }
    .testimonials-comments{
        padding-right: 20px;
    }
    .row-gutter-0 .moto-cell.faq-left{
        padding: 0 20px 20px;
    }
    .first-screen{
        height: 400px;
    }
    header .b-btn_orange{
        height: 40px;
        vertical-align: bottom;
    }
}
.logo-container{
    max-width: 200px;
}
.logo-col{
    width: 150px;
    flex-basis: 150px;
}
.menu-col{
    max-width: none;
    flex-grow: 2;
}
@media (max-width: 767px){
    .header-menu-container{
        flex-wrap: nowrap;
    }
    .menu-col > div{
        text-align: right;
    }
}
.reviews-mobile-img{
    display: none;
}
.reviews-mobile-img picture img{
    width: 100%;
    height: auto;
    display: inline-block;
    max-width: 500px;
}
.gallery-wrap .gallery-items-container {
    column-gap: 0px;
     column-count: 5;
}

.gallery-wrap .moto-widget-tile-gallery__item-wrapper {
    padding-bottom: 0px;
}
header.fixed-header{
    position: fixed;
    z-index: 5;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
}
#section-content{
    padding-top: 88px;
}

@media (min-width: 640px) and (max-width: 1023px) {
    .gallery-wrap .gallery-items-container {
        column-count: 3;
    }

    .gallery-wrap .moto-widget-tile-gallery__item-wrapper:nth-child(3) ~ .moto-widget-tile-gallery__item-wrapper {
        display: none;
    }
}

@media (max-width: 639px) {
    .gallery-wrap .gallery-items-container {
        column-count: 2;
    }

    .gallery-wrap .moto-widget-tile-gallery__item-wrapper:nth-child(4) ~ .moto-widget-tile-gallery__item-wrapper {
        display: none;
    }


}
@media (max-width: 1023px) {
    .reviews-mobile-img {
        display: flex;
        justify-content: flex-end;
    }
    #testimonials{
        background-image: none;
        padding-bottom: 0;
    }
}
picture img{
    width: 100%;
    height: auto;
}
.program-advantages-mobile-img{
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}

.program-advantages-mobile-img picture img {
    width: 100%;
    height: auto;
    display: inline-block;
    max-width: 500px;
}
@media (max-width: 767px) {
    .program-advantages{
        padding-bottom: 0;
    }
}
@media (min-width: 768px) {
    .program-advantages-mobile-img{
        display: none;
    }
}

