@media (max-width: 767px) {
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 40px !important;
  }
  h2 {
    font-size: 32px !important;
  }
  h3 {
    font-size: 24px !important;
  }

  header {
    position: fixed;
    top: 0;
    left: 0;
    height: 70px;
    background: #414635;
    box-shadow: 0 2px 5px rgba(0,0,0, 0.5);
  }
  header .logo__menu {
    width: 60px !important;
  }
  header .logo {
    display: none;
  }
  header .logo__fixed {
    display: block;
  }
  header .logo__fixed img {
    top: 15px;
    width: 32px;
  }
  header .slogan {
    display: none;
  }
  header .social__icons .phone {
    display: block !important;
    font-size: 16px;
    margin: 0 0 0 0 !important;
    line-height: 30px;
  }
  header .social__icons a {
    display: none;
  }

  .main__nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 100%;
    background: #414635;

    opacity: 0;
    visibility: hidden;

    transition: all .3s ease-in-out;
    transform: translateX(-110%);
  }

  .main__nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0%);
    margin-top: 0 !important;
  }

  .menu__button {
    display: block;
  }

  header .main__nav > ul {
    position: absolute;
    top: 50px;
    left: 20px;
  }
  header .main__nav li {
    position: relative;
    float: none;
    margin: 0 0 32px 0;
  }
  header .main__nav li a {
    font-size: 18px;
  }
  header .main__nav .sub__menu {
    position: relative;
    top: auto;
    left: auto;
    margin-top: 16px;
    transform: translate(0, 0);
    opacity: 1;
    visibility: visible;
  }
  header .sub__menu li {
    margin-bottom: 16px;
  }
  header .sub__menu li a {
    font-size: 14px;
  }

  .home__slider-info {
    position: absolute;
    top: 100px;
    left: 0;
    transform: translate(0,0);
  }
  .home__slider-txt {
    width: 100%;
    padding-right: 0;
  }
  .home__slider-info h1 {
    width: 100%;
    font-size: 28px !important;
    margin-bottom: 16px;
  }
  .home__slider-info p {
    font-size: 16px;
  }
  .home__slider-video {
    width: 100%;
    margin-top: 0px;
    height: 200px;
  }
  .home__slider-video:before {
    display: none;
    width: 300px;
    height: 300px;
  }
  .home__slider-video img, .home__slider-video iframe {
    height: 200px;
  }

  .home__slider .owl-nav {
    bottom: 20px;
    right: 10px;
  }
  .home__slider-counter {
    bottom: 16px;
    left: 20px;
  }
  .home__slider .owl-dots {
    display: none;
  }

  .section {
  	overflow-x: hidden;
  }
  .section__title {
    margin-bottom: 40px;
  }
  .home__begin {
    padding: 40px 0 140px;
  }

  .home__begin-img span {
    font-size: 18px;
    left: 16px;
    bottom: 16px;
  }
  .home__begin-dates {
    margin-bottom: 40px;
  }
  .home__begin-dates .dates {
    margin-top: 32px;
  }
  .home__begin-dates .button {
    margin-top: 0;
  }

  .date__item {
    width: 100%;
    padding: 16px 25px 16px 60px;
  }
  .date__number {
    font-size: 32px;
  }
  .date__number span {
    font-size: 20px;
  }
  .date__class span {
    font-size: 14px;
  }

  .promo__item {
    height: 400px !important;
  }

  .home__begin:after {
  	width: 250%;
    height: 100px;
  }


  .opp__image:before {
    left: -150px;
  }
  .opportunities {
    padding: 0;
  }
  .opp__info {
    height: 300px;
  }
  .opp__info-txt {
    left: 20px;
  }
  .opp__info h2 {
    margin: 0 0 24px;
  }
  .opp__info p {
    font-size: 18px;
  }
  .opp__image {
    height: 240px;
    padding-left: 0
  }
  .opp__image:before {
    width: 300px;
    height: 300px;
  }

  /*.page__header {
    height: 460px;
  }
  .page__header .page__header-content {
    bottom: 140px;
    left: 15px;
  }
  .page__header .page__title {
    font-size: 48px;
  }*/

  .page__header,
  .page__profile .page__header,
  .page__faq .page__header,
  .page__media .page__header,
  .page__services .page__header,
  .page__courses .page__header,
  .page__contact .page__header {
    height: 320px;
  }
  .page__header .page__header-content,
  .page__profile .page__header-content,
  .page__faq .page__header-content,
  .page__media .page__header-content,
  .page__services .page__header-content,
  .page__courses .page__header-content,
  .page__contact .page__header-content {
    bottom: 90px;
    left: 15px;
    width: calc(100% - 30px);
  }
  .page__header-shape img {
    height: 90px !important;
  }
  .page__desc p {
    width: 100%;
  }

  .page__grid {
    margin-bottom: 40px;
  }
  .grid__item-content {
    padding: 20px;
  }

  .courses__category {
    margin-top: 0px;
  }
  .category__img {
    width: 100%;
  }
  .category__info {
    width: 100%;
    padding: 0 16px;
  }
  .category__item .dates {
    margin-top: 16px;
  }
  .category__item .date__item {
    width: 100%;
  }
  .date__pricing {
    padding-left: 0;
  }

  .course__single-slider {
    height: 240px;
  }
  .course__single-info {
    padding-right: 15px;
    margin-bottom: 40px;
  }
  .course__single-option-item {
    width: 100%;
  }
  .share__icons {
    margin-top: 40px;
  }
  .course__single-dates .button {
    margin-top: 16px;
  }
  .contact__form form {
    width: 100%;
  }

  .faq {
    margin-bottom: 40px;
  }
  .faq__item img {
    width: 100% !important;
    height: auto !important;
  }

  .about__philosophy-item {
    margin-bottom: 40px;
  }
  .philosophy__item-img{
    width: 100%;
    height: 200px;
    margin-bottom: 32px;
  }
  .philosophy__item-info {
    width: 100%;
    padding: 0 16px;
  }
  .about__journey-grid {
    margin: 80px 0 0;
  }
  .about__journey-item {
    margin-bottom: 80px;
  }
  .about__journey-img {
    margin-bottom: 80px;
  }

  .team__single {
    width: 100%;
    margin: 0 auto 40px;
  }
  .team__single p img {
    margin: 0 0 32px;
    width: 100%;
  }

  .testimonials {
    padding: 0;
  }
  .testimonials__slider {
    width: 70%;
    margin: 0 auto;
  }
  .testimonials__slider .owl-item {
    padding: 0 10px;
  }
  .testimonials:before,
  .testimonials:after {
    height: 71%;
  }
  .testimonials__slider .owl-item.active.center {
    padding: 0 0px;
    z-index: 9;
  }
  .testimonials__slider .owl-nav {
    width: 176px;
  }


  .contact__page {
    margin-bottom: 60px;
  }
  .contact__form {
    order: 2;
    margin-top: 40px;
    margin-bottom: 80px;
  }
  .contact__map ul li {
    width: 100%;
    margin-bottom: 16px;
  }
  .contact__map iframe {
    height: 320px;
  }

  footer {
    margin-top: 16px;
    padding: 20px 0;
  }
  .footer__social-icons {
    text-align: left;
  }
  .footer__social-icons a {
    float: none;
    margin-left: 0;
    margin-right: 16px;
  }
  .footer__social-icons .phone {
    display: block;
    margin-top: 4px;
    margin-left: 0;
  }
  .copyright {
    width: 100%;
    font-size: 14px;
  }
  .footer__logo {
    display: none;
  }
  .credits {
    float: left;
    font-size: 14px;
    margin-top: 16px;
  }

  .user__classes {
    padding-left: 15px;
    margin-top: 40px;
  }
  .user__classes .row {
    margin-bottom: 64px;
  }
  .user__classes .row:last-child {
    margin-bottom: 0;
  }
  .user__classes .grid__item-title {
    font-size: 14px !important;
  }
}


@media (min-width: 768px) and (max-width: 1020px) {

  .home__slider-info h1 {
    width: 80%;
  }
  .home__slider-video {
    width: 100%;
    margin-top: 100px;
  }
  .home__slider-video img, .home__slider-video iframe {
    height: 300px;
  }

  .home__begin {
    padding-top: 40px;
  }

  .opp__image:before {
    left: -150px;
  }

  .testimonials__slider .owl-item {
    padding: 0 10px;
  }
  .testimonials:before,
  .testimonials:after {
    height: 71%;
  }
  .testimonials__slider .owl-item.active.center {
    padding: 0 0px;
    z-index: 9;
  }

  .footer__social-icons {
    text-align: right;
  }
  .footer__social-icons a {
    float: none;
  }
  .footer__social-icons .phone {
    display: block;
    margin-top: 4px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  h1 {
    font-size: 48px;
  }
  h2 {
    font-size: 36px;
  }

  header {
    position: fixed;
    top: 0;
    left: 0;
    height: 70px;
    background: #414635;
    box-shadow: 0 2px 5px rgba(0,0,0, 0.5);
  }
  header .logo__menu {
    width: auto !important;
  }
  header .logo {
    display: none;
  }
  header .logo__fixed {
    display: block;
  }
  header .slogan {
    display: none;
  }
  header .social__icons .phone {
    font-size: 18px;
    float: left;
    margin: 0 0 0 0 !important;
  }
  header .social__icons a {
    line-height: 30px;
  }

  .main__nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 100%;
    background: #414635;

    opacity: 0;
    visibility: hidden;

    transition: all .3s ease-in-out;
    transform: translateX(-110%);
  }

  .main__nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0%);
  }

  .menu__button {
    display: block;
  }

  header .main__nav > ul {
    position: absolute;
    top: 60px;
    left: 40px;
    width: 50%;
  }
  header .main__nav li {
    position: relative;
    float: none;
    margin: 0 0 32px 0;
  }
  header .main__nav li a {
    font-size: 32px;
  }
  header .main__nav .sub__menu {
    position: relative;
    top: auto;
    left: auto;
    margin-top: 16px;
    transform: translate(0, 0);
    opacity: 1;
    visibility: visible;
  }
  header .sub__menu li {
    margin-bottom: 16px;
  }
  header .sub__menu li a {
    font-size: 24px;
  }

  .home__slider-container {
    overflow-x: hidden;
  }
  .home__slider-txt {
    width: 100%;
  }
  .home__slider-info h1 {
    font-size: 48px;
  }
  .home__slider-video {
    width: 100%;
  }
  .home__slider-video img, .home__slider-video iframe {
    height: 300px;
  }

  .home__slider .owl-dots {
    bottom: 20px;
  }
  .home__slider .owl-nav {
    bottom: 25px;
    right: 25px;
  }

  .home__begin {
    overflow-x: hidden;
  }
  .home__begin:after {
    width: 200%;
    height: 164px;
  }
  .home__begin-img span {
    font-size: 24px;
  }
  .home__begin-dates {
    margin-bottom: 40px;
  }
  .home__begin-dates .dates {
    margin-top: 32px;
  }
  .home__begin-dates .button {
    margin-top: 0;
  }

  .date__item {
    padding: 16px 25px 16px 40px;
  }
  .date__number {
    font-size: 32px;
  }
  .date__number span {
    font-size: 20px;
  }
  .date__class span {
    font-size: 14px;
  }

  .promo__item {
    height: 400px;
  }


  .opportunities {
    padding: 50px 0;
  }
  .opp__info-txt {
    left: 0;
  }
  .opp__image {
    padding-left: 0
  }
  .opp__image:before {
    width: 450px;
    height: 450px;
  }

  .page__header,
  .page__profile .page__header,
  .page__faq .page__header,
  .page__media .page__header,
  .page__services .page__header,
  .page__courses .page__header,
  .page__contact .page__header {
    height: 400px;
  }
  .page__header .page__header-content,
  .page__profile .page__header-content,
  .page__faq .page__header-content,
  .page__media .page__header-content,
  .page__services .page__header-content,
  .page__courses .page__header-content,
  .page__contact .page__header-content {
    bottom: 120px;
    left: 15px;
    width: calc(100% - 30px);
  }
  .page__desc p {
    width: 100%;
  }

  .page__grid {
    margin-bottom: 40px;
  }
  .grid__item-content {
    padding: 20px;
  }
  .grid__item-title {
    font-size: 24px;
  }

  .category__img {
    width: 100%;
    height: 400px !important;
  }
  .category__info {
    width: 100%;
    padding: 0 40px;
  }
  .category__item .dates {
    margin-top: 16px;
  }
  .category__item .date__item {
    width: 100%;
  }

  .course__single-info {
    padding-right: 15px;
    margin-bottom: 40px;
  }
  .share__icons {
    margin-top: 40px;
  }
  .course__single-dates .button {
    margin-top: 16px;
  }

  .faq__item img {
    width: 100% !important;
    height: auto !important;
  }

  .philosophy__item-img {
    width: 33.333%;
  }
  .about__journey-grid {
    margin-bottom: 0;
  }
  .about__journey-item {
    margin-bottom: 80px;
  }

  .team__single {
    width: 100%;
    margin: 0 auto 40px;
  }
  .team__single p img {
    margin-left: 0;
    width: 300px;
  }

  .testimonials {
    padding: 50px 0;
  }


  .contact__page {
    margin-bottom: 60px;
  }
  .contact__form {
    order: 2;
    margin-top: 40px;
  }

  footer {
    margin-top: 60px;
  }
  .copyright {
    width: 45%;
    font-size: 14px;
  }
  .credits {
    font-size: 14px;
  }

}

@media (min-width: 1025px) and (max-width: 1280px) {
  .promo__item {
    height: 400px;
  }
}

@media (min-width: 1024px) and (max-width: 1365px) {
  .page__header {
    height: 480px;
  }
  .page__header .page__header-content {
    bottom: 180px;
  }
  .home__begin-img span {
    font-size: 18px;
  }
  .grid__item-content {
    padding: 20px;
  }
  .grid__item-title {
    font-size: 24px;
  }
}

@media (min-width: 1366px) and (max-width: 1440px) {
  .page__header {
    height: 560px;
  }
  .page__header .page__header-content {
    bottom: 240px;
  }
  h1 {
  	font-size: 48px;
  }
  h2 {
  	font-size: 36px;
  }

  .home__slider-video {
  	width: 40%;
  }

  .home__begin-info h3 {
  	font-size: 36px;
  }
  .home__begin-img span {
  	font-size: 24px;
  }
  .date__item {
  	padding-left: 56px;
  }

  .promo__item {
    height: 500px;
  }
  .home__begin:after {
  	width: 125%;
  }

  .grid__item-content {
  	padding: 20px;
  }
  .grid__item-title {
  	font-size: 28px;
  }
}

@media (min-width: 1441px) and (max-width: 1600px) {
  .page__header {
    height: 560px;
  }
  .page__header .page__header-content {
    bottom: 240px;
  }
  .grid__item-content {
    padding: 30px;
  }
  .grid__item-title {
    font-size: 28px;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1540px;
  }
}
