#isMobile {
  display: none;
}
#isTablet {
  display: none;
}
@media only screen and (max-width: 1200px) {
  #isTablet {
    display: block;
  }
  #header-inner .header-content {
    width: 970px;
  }
  #header-inner .navigation-inner {
    width: 970px;
  }
  #top-form-inner {
    width: 970px;
  }
  #top-form-inner .slogan > div {
    width: 485px;
  }
  #top-form-inner .slogan-left {
    font-size: 44px;
  }
  #top-form-inner .slogan-right {
    font-size: 44px;
  }
  #top-form-inner .slogan-right:before {
    top: 7px;
    height: 138px;
  }
  .triggers {
    width: 970px;
  }
  .triggers .trigger.trigger-2 {
    margin-left: 65px;
  }
  .triggers .trigger.trigger-3 {
    margin-left: 65px;
  }
  #teachers-inner {
    width: 970px;
  }
  #teachers-inner .teachers-block-title {
    font-size: 40px;
  }
  #teachers-inner .teachers-item-right {
    width: 770px;
  }
  #teachers-inner .teachers-content .teachers-description-text {
    height: 80px;
    overflow: hidden;
  }
  .about-us {
    width: 970px;
  }
  .about-us-title {
    font-size: 40px;
  }
  .about-us br {
    display: none;
  }
  #footer #footer-inner,
  #footer .footer_menu {
    width: 970px;
  }
}
@media only screen and (max-width: 990px) {
  #header-inner .header-content {
    width: 750px;
  }
  #header-inner .header-content .request-call button {
    width: 210px;
    font-size: 18px;
  }
  #header-inner .navigation-inner {
    width: 750px;
  }
  #top-form {
    height: 475px;
  }
  #top-form-inner {
    width: 750px;
  }
  #top-form-inner .slogan > div {
    width: 375px;
  }
  #top-form-inner .slogan-left {
    font-size: 36px;
  }
  #top-form-inner .slogan-right {
    font-size: 36px;
  }
  #top-form-inner .slogan-right:before {
    top: 5px;
    height: 112px;
  }
  #top-form-inner .order-lesson {
    width: 750px;
  }
  #top-form-inner .order-lesson > div {
    width: 375px;
  }
  #top-form-inner .order-lesson input {
    width: 300px;
    height: 34px;
    margin-bottom: 15px;
    float: right;
    font-size: 18px;
  }
  #top-form-inner .order-lesson button {
    width: 300px;
    height: 76px;
    font-size: 18px;
  }
  .triggers {
    width: 750px;
    margin-top: -120px;
  }
  .triggers .trigger {
    width: 227px;
    height: 235px;
    font-size: 18px;
  }
  .triggers .trigger .trigger-text p {
    margin: 15px 0;
  }
  .triggers .trigger.trigger-2 {
    margin-left: 34px;
  }
  .triggers .trigger.trigger-3 {
    margin-left: 34px;
  }
  #teachers-inner {
    width: 750px;
  }
  #teachers-inner .teachers-block-title {
    font-size: 36px;
  }
  #teachers-inner .teachers-item-right {
    width: 550px;
  }
  .about-us {
    width: 750px;
  }
  .about-us-title {
    font-size: 36px;
  }
  .about-us br {
    display: none;
  }
  #footer .footer_menu {
    width: 750px;
  }
  #footer #footer-inner {
    width: 750px;
  }
  #footer #footer-inner .footer-logo {
    width: 28%;
  }
  #footer #footer-inner .footer-phone {
    width: 44%;
  }
  #footer #footer-inner .footer-social {
    width: 28%;
  }
  #schedule-lesson-modal .modal-dialog {
    width: 740px;
    margin: 10% auto 0;
  }
  #schedule-lesson-modal textarea {
    width: 700px;
  }
}
@media only screen and (max-width: 768px) {
  #header-inner {
    padding: 0 10px;
    height: 105px;
  }
  #header-inner .header-content {
    width: 100%;
    height: 64px;
  }
  #header-inner .header-content .logo img {
    width: 140px;
  }
  #header-inner .header-content .phone {
    margin-top: 2px;
  }
  #header-inner .header-content .phone-inner {
    margin-left: -32px;
  }
  #header-inner .header-content .phone-inner .call-icon {
    width: 25px;
    height: 25px;
    background-size: contain;
  }
  #header-inner .header-content .phone-inner .part-1 {
    font-size: 20px;
  }
  #header-inner .header-content .phone-inner .part-2 {
    font-size: 28px;
  }
  #header-inner .header-content .request-call button {
    width: 210px;
    font-size: 18px;
    margin: 1px 0;
  }
  #header-inner .navigation-inner {
    width: 100%;
  }
  #header-inner .navigation-inner ul li {
    font-size: 18px;
    line-height: 40px;
  }
  #top-form {
    height: 475px;
  }
  #top-form-inner {
    width: 100%;
  }
  #top-form-inner .slogan > div {
    width: 50%;
  }
  #top-form-inner .slogan-left {
    font-size: 34px;
  }
  #top-form-inner .slogan-right {
    font-size: 34px;
  }
  #top-form-inner .slogan-right:before {
    top: 5px;
    height: 106px;
  }
  #top-form-inner .order-lesson {
    width: 100%;
  }
  #top-form-inner .order-lesson > div {
    width: 50%;
  }
  #top-form-inner .order-lesson input {
    width: 300px;
    height: 34px;
    margin-bottom: 15px;
    float: right;
    font-size: 18px;
  }
  #top-form-inner .order-lesson button {
    width: 300px;
    height: 76px;
    font-size: 18px;
  }
  .triggers {
    width: 100%;
  }
  .triggers .trigger {
    width: 29.33%;
    height: 235px;
    font-size: 16px;
    margin: 0 2%;
  }
  .triggers .trigger .trigger-text p {
    margin: 15px 0;
  }
  .triggers .trigger.trigger-1 {
    margin-left: 2%;
  }
  .triggers .trigger.trigger-2 {
    margin-left: 2%;
  }
  .triggers .trigger.trigger-3 {
    margin-left: 2%;
  }
  #teachers-inner {
    width: 100%;
  }
  #teachers-inner .teachers-block-title {
    font-size: 34px;
  }
  #teachers-inner .teachers-item-right {
    width: 100%;
    padding-left: 200px;
    float: none;
  }
  .about-us {
    width: 100%;
  }
  .about-us-title {
    font-size: 34px;
  }
  #footer {
    height: 90px;
  }
  #footer #footer-inner {
    width: 100%;
    padding: 0 10px;
  }
  #footer #footer-inner .footer-logo img {
    width: 140px;
  }
  #footer #footer-inner .footer-phone {
    margin-top: 25px;
  }
  #footer #footer-inner .footer-phone .call-icon {
    width: 25px;
    height: 25px;
    background-size: contain;
  }
  #footer #footer-inner .footer-phone .part-1 {
    font-size: 20px;
  }
  #footer #footer-inner .footer-phone .part-2 {
    font-size: 28px;
  }
  #footer #footer-inner .footer-social .social {
    margin: 27px 40px 0 0;
  }
  .modal-dialog {
    margin: 10% auto 0;
  }
  #schedule-lesson-modal .modal-dialog {
    width: 660px;
    margin: 10% auto 0;
  }
  #schedule-lesson-modal textarea {
    width: 620px;
  }
}
@media only screen and (max-width: 700px) {
  #header-inner .header-content .request-call button {
    width: 160px;
    font-size: 16px;
    margin: 1px 0;
  }
  #top-form {
    height: 420px;
  }
  #top-form-inner .slogan > div {
    width: 50%;
  }
  #top-form-inner .slogan-left {
    font-size: 30px;
    margin-top: 0;
  }
  #top-form-inner .slogan-right {
    font-size: 30px;
    margin-top: 0;
  }
  #top-form-inner .slogan-right:before {
    top: 5px;
    height: 94px;
  }
  #top-form-inner .order-lesson input {
    width: 100%;
  }
  #top-form-inner .order-lesson button {
    width: 100%;
  }
  #teachers {
    margin-top: 60px;
  }
  #bottom-form {
    height: 289px;
  }
  #bottom-form #second-form {
    width: 630px;
    height: 327px;
    top: -19px;
    background: url(../images/form-bg.png) no-repeat;
    background-size: 630px 327px;
  }
  #bottom-form #second-form .input-wrap input {
    width: 350px;
    height: 34px;
    font-size: 20px;
  }
  #bottom-form #second-form .input-wrap button {
    width: 350px;
    height: 34px;
    font-size: 20px;
  }
  #schedule-lesson-modal .modal-dialog {
    width: 610px;
    margin: 10% auto 0;
  }
  #schedule-lesson-modal textarea {
    width: 570px;
  }
}
@media only screen and (max-width: 650px) {
  #header-inner .header-content > div {
    width: 28.33%;
  }
  #header-inner .header-content > div.phone {
    width: 43.33%;
  }
  #header-inner .header-content > div.phone .phone-inner {
    margin-left: 0;
  }
  #top-form {
    height: 380px;
  }
  #top-form-inner .slogan {
    width: 100%;
  }
  #top-form-inner .slogan > div {
    width: 100%;
    float: none !important;
  }
  #top-form-inner .slogan > div .slogan-left,
  #top-form-inner .slogan > div .slogan-right {
    float: none;
    text-align: center;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 5px;
  }
  #top-form-inner .slogan > div .slogan-left br,
  #top-form-inner .slogan > div .slogan-right br {
    display: none;
  }
  #top-form-inner .slogan > div .slogan-left:before,
  #top-form-inner .slogan > div .slogan-right:before {
    display: none;
  }
  #top-form-inner .order-lesson {
    margin-top: 10px;
  }
  #bottom-form #second-form {
    width: 580px;
    background-size: 580px 327px;
  }
  #schedule-lesson-modal .modal-dialog {
    width: 560px;
    margin: 10% auto 0;
  }
  #schedule-lesson-modal textarea {
    width: 520px;
  }
}
@media only screen and (max-width: 600px) {
  #isMobile {
    display: block;
  }
  #header-inner .header-content .request-call {
    display: none;
  }
  #header-inner .header-content > div.logo {
    float: left;
    width: 30%;
  }
  #header-inner .header-content > div.phone {
    float: right;
    width: 70%;
    text-align: right;
  }
  #header-inner .navigation {
    position: relative;
  }
  #header-inner .navigation .navbar-toggle {
    display: block;
  }
  #header-inner .navigation-inner {
    position: absolute;
    top: 40px;
    right: -10px;
    z-index: 10;
    display: none;
  }
  #header-inner .navigation-inner ul {
    float: right;
    width: 200px;
    background: #04c3da;
    border: 1px solid #10a7c7;
  }
  #header-inner .navigation-inner ul li {
    width: 100%;
    float: none;
    text-align: left;
    padding: 0 25px;
    border-bottom: 1px solid #10a7c7;
  }
  #header-inner .navigation-inner ul li:last-child {
    border: 0;
  }
  #header-inner .navigation .request-call {
    display: block;
  }
  #top-form {
    height: 320px;
  }
  #top-form-inner .slogan-left {
    font-size: 26px;
  }
  #top-form-inner .slogan-right {
    font-size: 26px;
  }
  .triggers {
    margin-top: -60px;
  }
  .triggers .trigger {
    width: 29.33%;
    height: 175px;
    font-size: 16px;
    margin: 0 2%;
  }
  .triggers .trigger .trigger-text p {
    margin: 15px 0;
  }
  .triggers .trigger .trigger-text img {
    margin-top: 10px;
    height: 45px;
  }
  .triggers .trigger-trigger-1 img {
    margin-top: 10px;
  }
  .triggers .trigger-trigger-2 img {
    margin-top: 10px;
  }
  .triggers .trigger.trigger-1 {
    margin-left: 2%;
  }
  .triggers .trigger.trigger-2 {
    margin-left: 2%;
  }
  .triggers .trigger.trigger-3 {
    margin-left: 2%;
  }
  #teachers-inner .teachers .teachers-name {
    margin-bottom: 12px;
  }
  #teachers-inner .teachers-block-title {
    font-size: 26px;
  }
  #teachers-inner .teachers-item {
    height: auto;
  }
  #teachers-inner .teachers-item-left {
    width: 100%;
    height: 217px;
    float: none;
  }
  #teachers-inner .teachers-item-left .teachers-name {
    display: block;
  }
  #teachers-inner .teachers-item-left .teacher-avatar {
    float: left;
  }
  #teachers-inner .teachers-item-left .check-list {
    width: 100%;
    padding-left: 180px;
    margin-top: 0;
  }
  #teachers-inner .teachers-item-left .check-list-item {
    margin-bottom: 10px;
  }
  #teachers-inner .teachers-item-left .schedule-lesson-btn {
    left: 200px;
    bottom: 20px;
  }
  #teachers-inner .teachers-item-right {
    width: 100%;
    padding-left: 0;
    float: none;
  }
  #teachers-inner .teachers-item-right .teachers-content .teachers-description .teachers-name {
    display: none;
  }
  #teachers-inner .teachers-item-right .teachers-content .teachers-description-text {
    font-size: 14px;
    line-height: 18px;
    height: 74px;
    overflow: hidden;
  }
  #teachers-inner .teachers-item-right .teachers-content .teachers-description-text.clipped-text {
    height: 74px;
  }
  #teachers-inner .teachers-item-right .teachers-content .teachers-description-text.clipped-text :before {
    content: '...';
    font-size: 14px;
  }
  #teachers-inner .teachers-item-right .teachers-content .teachers-description-text.full-text {
    height: auto;
  }
  #teachers-inner .teachers-item-right .teachers-content .teachers-description-text.full-text :before {
    display: none;
  }
  #teachers-inner .teachers-item-right .teachers-content .teachers-description-reviews .reviews .owl-nav {
    top: 40px;
  }
  #teachers-inner .teachers-item-right .teachers-content .teachers-description-reviews .reviews-block-title {
    font-size: 18px;
    margin: 7px 0;
  }
  #teachers-inner .teachers-item-right .teachers-content .teachers-description-reviews .reviews-item-text {
    font-size: 14px;
    line-height: 18px;
    height: 54px;
    overflow: hidden;
  }
  #teachers-inner .teachers-item-right .teachers-content .teachers-description-reviews .reviews-item-text.clipped-text {
    height: 55px;
  }
  #teachers-inner .teachers-item-right .teachers-content .teachers-description-reviews .reviews-item-text.clipped-text :before {
    content: '...';
    font-size: 14px;
  }
  #teachers-inner .teachers-item-right .teachers-content .teachers-description-reviews .reviews-item-text.full-text {
    height: auto;
  }
  #teachers-inner .teachers-item-right .teachers-content .teachers-description-reviews .reviews-item-text.full-text :before {
    display: none;
  }
  #bottom-form {
    height: 243px;
  }
  #bottom-form #second-form {
    width: 480px;
    height: 275px;
    background-size: 480px 275px;
    top: -16px;
  }
  #bottom-form #second-form .input-wrap input {
    width: 280px;
    height: 30px;
    font-size: 16px;
    margin: 0 auto 15px;
  }
  #bottom-form #second-form .input-wrap button {
    width: 280px;
    height: 34px;
    font-size: 18px;
  }
  #footer #footer-inner .footer-logo {
    width: 40%;
  }
  #footer #footer-inner .footer-phone {
    margin-top: 0;
    width: 50%;
    float: right;
  }
  #footer #footer-inner .footer-social {
    margin: 0;
    width: 50%;
    float: right;
  }
  #footer #footer-inner .footer-social .social {
    margin: 0;
    margin-top: 5px;
  }
  #schedule-lesson-modal {
    font-size: 14px;
    line-height: 22px;
  }
  #schedule-lesson-modal .modal-dialog {
    width: 460px;
    margin: 10% auto 0;
  }
  #schedule-lesson-modal textarea {
    width: 420px;
    font-size: 14px;
  }
  #schedule-lesson-modal input {
    width: 180px;
    height: 15px;
    font-size: 14px;
  }
  #schedule-lesson-modal .modal-title {
    font-size: 20px;
  }
}
@media only screen and (max-width: 500px) {
  #top-form .slogan-left,
  #top-form .slogan-right {
    font-size: 22px;
  }
  #top-form-inner .order-lesson > div {
    width: 100%;
    padding: 0;
  }
  #top-form-inner .order-lesson input {
    width: 80%;
    height: 30px;
    display: block;
    margin: 0 auto 15px;
    float: none;
  }
  #top-form-inner .order-lesson button {
    width: 80%;
    height: 40px;
    display: block;
    margin: 10px auto 15px;
    padding: 0;
    float: none;
    font-size: 16px;
  }
  .triggers {
    margin-top: 0;
    padding: 20px 10px;
  }
  .triggers .trigger {
    position: relative;
    float: none;
    -webkit-transform: none;
    -moz-transform: none;
    -o-transform: none;
    transform: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    color: #000;
    text-shadow: none;
    margin-bottom: 20px;
  }
  .triggers .trigger .trigger-text {
    -webkit-transform: none;
    -moz-transform: none;
    -o-transform: none;
    transform: none;
  }
  .triggers .trigger .trigger-text p {
    position: absolute;
    top: 0;
    margin: 0;
    text-align: left;
    color: #6c6f6f;
    height: 70px;
    width: 235px;
    font-size: 14px;
    left: 70px;
  }
  .triggers .trigger .trigger-text img {
    margin: 13px auto;
    width: 30px;
    height: auto;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }
  .triggers .trigger.trigger-1 {
    width: 60px;
    height: 60px;
    margin-left: 0;
    background-color: #04c3da;
    padding: 20px;
    border-radius: 50%;
  }
  .triggers .trigger.trigger-2 {
    width: 60px;
    height: 60px;
    margin-left: 0;
    background-color: #04c3da;
    padding: 20px;
    border-radius: 50%;
  }
  .triggers .trigger.trigger-3 {
    width: 60px;
    height: 60px;
    margin-left: 0;
    background-color: #04c3da;
    padding: 20px;
    border-radius: 50%;
  }
  #teachers {
    margin-top: 0;
  }
  .about-us-item {
    width: 100%;
    float: none;
  }
  .about-us-item-icon {
    width: 70px;
    height: 70px;
    margin: 0;
    float: left;
  }
  .about-us-item-icon.item-1,
  .about-us-item-icon.item-2,
  .about-us-item-icon.item-3 {
    background-size: contain;
  }
  .about-us-item-text {
    border: 0;
    margin: 0;
    padding: 0;
    padding-left: 85px;
    width: 100%;
    float: none;
  }
  #bottom-form #second-form {
    width: 430px;
    background-size: 430px 275px;
  }
  #bottom-form #second-form .input-wrap input {
    width: 260px;
  }
  #bottom-form #second-form .input-wrap button {
    width: 260px;
    font-size: 16px;
  }
  .modal-dialog {
    width: 340px;
  }
  .modal-dialog .modal-content .modal-body #request-call-form button {
    width: 300px;
  }
  .modal-dialog .modal-content .modal-body #request-call-form input {
    width: 300px;
    height: 34px;
    font-size: 16px;
    margin-bottom: 15px;
  }
  .modal-dialog .modal-content .modal-body #request-call-form textarea {
    width: 300px;
    font-size: 16px;
  }
  #schedule-lesson-modal .modal-dialog {
    width: 430px;
  }
  #schedule-lesson-modal textarea {
    width: 390px;
  }
}
@media only screen and (max-width: 450px) {
  .triggers .trigger .trigger-text p {
    width: 280px;
  }
  #teachers-inner .teachers .teachers-name {
    font-size: 18px;
  }
  #teachers-inner .teachers-item-left {
    height: 156px;
    padding: 10px;
  }
  #teachers-inner .teachers-item-left .teacher-avatar {
    float: left;
    width: 120px;
    height: 105px;
  }
  #teachers-inner .teachers-item-left .teacher-avatar img {
    width: 120px;
    /*height: 105px;*/
  }
  #teachers-inner .teachers-item-left .check-list {
    padding-left: 130px;
  }
  #teachers-inner .teachers-item-left .check-list-item {
    margin-bottom: 5px;
  }
  #teachers-inner .teachers-item-left .schedule-lesson-btn {
    left: 140px;
    bottom: 10px;
    font-size: 14px;
    width: 170px;
    height: 30px;
  }
  #teachers-inner .teachers-item-right .teachers-content {
    padding: 10px;
  }
  #teachers-inner .teachers-item-right .teachers-content .teachers-description-reviews .reviews {
    padding: 0 25px;
  }
  #teachers-inner .teachers-item-right .teachers-content .teachers-description-reviews .reviews .owl-nav .owl-prev {
    left: -5px;
  }
  #teachers-inner .teachers-item-right .teachers-content .teachers-description-reviews .reviews .owl-nav .owl-next {
    right: -5px;
  }
  #bottom-form #second-form {
    width: 380px;
    background-size: 380px 275px;
  }
  #bottom-form #second-form .input-wrap input {
    width: 220px;
  }
  #bottom-form #second-form .input-wrap button {
    width: 220px;
    font-size: 17px;
    line-height: 18px;
    height: 44px;
  }
  #footer #footer-inner .footer-phone {
    margin-top: 7px;
    width: 60%;
    float: right;
    text-align: right;
  }
  #footer #footer-inner .footer-phone .call-icon {
    width: 20px;
    height: 20px;
    margin-right: 5px;
  }
  #footer #footer-inner .footer-phone .part-1 {
    font-size: 16px;
  }
  #footer #footer-inner .footer-phone .part-2 {
    font-size: 22px;
  }
  #schedule-lesson-modal .modal-dialog {
    width: 370px;
  }
  #schedule-lesson-modal textarea {
    width: 330px;
  }
}
@media only screen and (max-width: 400px) {
  #header-inner {
    height: 88px;
  }
  #header-inner .header-content {
    height: 46px;
    padding: 5px 0;
  }
  #header-inner .header-content .logo img {
    width: 110px;
  }
  #header-inner .header-content .phone-inner .call-icon {
    width: 20px;
    height: 20px;
    margin-right: 5px;
  }
  #header-inner .header-content .phone-inner .part-1 {
    font-size: 16px;
  }
  #header-inner .header-content .phone-inner .part-2 {
    font-size: 22px;
  }
  .navbar-toggle {
    margin-bottom: 6px;
  }
  #top-form {
    height: 300px;
  }
  .triggers .trigger {
    margin-bottom: 10px;
  }
  .triggers .trigger .trigger-text p {
    width: 235px;
  }
  #bottom-form #second-form {
    width: 90%;
    border-radius: 15px;
    background: rgba(26, 118, 164, 0.65);
  }
  #bottom-form #second-form .input-wrap input {
    width: 80%;
  }
  #bottom-form #second-form .input-wrap button {
    width: 80%;
  }
  .about-us-item-icon {
    width: 60px;
    height: 60px;
  }
  .about-us-item-text {
    font-size: 14px;
    padding-left: 75px;
  }
  #footer {
    height: 80px;
  }
  #footer #footer-inner .footer-logo img {
    width: 110px;
  }
  #footer #footer-inner .footer-logo .copyright {
    margin-top: 8px;
    font-size: 11px;
  }
  .modal-dialog {
    width: 300px;
  }
  .modal-dialog .modal-content .modal-header .modal-title {
    font-size: 20px;
  }
  .modal-dialog .modal-content .modal-body #request-call-form button {
    width: 260px;
  }
  .modal-dialog .modal-content .modal-body #request-call-form input {
    width: 260px;
    height: 34px;
    font-size: 16px;
    margin-bottom: 15px;
  }
  .modal-dialog .modal-content .modal-body #request-call-form textarea {
    width: 260px;
    font-size: 16px;
  }
  #schedule-lesson-modal .modal-dialog {
    width: 340px;
  }
  #schedule-lesson-modal textarea {
    width: 300px;
  }
  #schedule-lesson-modal button {
    width: 300px;
  }
}
@media only screen and (max-width: 370px) {
  #teachers-inner .teachers-item-left {
    height: 175px;
  }
}
@media only screen and (max-width: 359px) {
  body {
    min-width: 320px;
  }
  #top-form-inner .order-lesson button {
    font-size: 14px;
    height: 34px;
    margin-top: 0 ;
  }
  #top-form .slogan-left,
  #top-form .slogan-right {
    font-size: 20px;
  }
  #schedule-lesson-modal .modal-dialog {
    width: 280px;
  }
  #schedule-lesson-modal textarea {
    width: 240px;
  }
  #schedule-lesson-modal button {
    width: 240px;
    font-size: 17px;
  }
}
