
@media only screen and (max-width : 1601px) {
    .language {
        right: -100px;
    } 
}

@media only screen and (max-width : 1440px) {
    .header-top {
        padding: 18px 0;
    }
    .navbar-default .navbar-nav>li>a {
        font-size: 20px;
    }
    .navbar-list {
        margin-top: 12px;
    }
    .header-content {
        padding-bottom: 170px;
    }
    .header-title {
        margin-top: 240px;
    }
    .header-title span {
        font-size: 70px;
    }
    .block-title {
        margin-top: 80px;
    }
    .block-title p {
        font-size: 52px;
    }
    .property-list {
        padding-top: 100px;
    }
    .list-text p {
        font-size: 21px;
    }
    .property-text-bottom {
        margin: 70px 0 100px 0;
    }
    .title-first-group p {
        font-size: 40px;
    }
    .title-first-group {
        margin-top: 70px;
    }
    .btn-first-group {
        margin: 65px 0 100px 0;
    }
    .carousel-control.left {
        left: 90px;
        top: 260px;
    }
    .carousel-control.right {
        right: 90px;
        top: 260px;
    }
    .block-title {
        margin-top: 75px;
    }
    .block-title p {
        font-size: 40px;
    }
    .program___ span {
        font-size: 40px;
    }
    .program___ {
        font-size: 28px;
    }
    .program_price span {
        font-size: 70px;
    }
    .program-content {
        margin-top: 30px;
        margin-bottom: 100px;
    }
    .about_us_center_ p {
        margin-top: 40px;
        font-size: 21px;
    }
    .about_us_center_ {
        margin-bottom: 90px;
    }
    .teacher-list-group {
        margin-top: 80px;
    }
    .media_school_content {
        font-size: 21px;
    }
    .media_school_content_text {
        margin-top: 20px;
    }
    .media_school_list ul {
        margin: 30px 0 0 35px;
    }
    .form_footer {
        margin: 90px 0 0 0px;
        float: right;
    }
    .footer {
        padding-bottom: 90px;
    }
    .property-list {
        width: 740px;
    }
}

@media only screen and (max-width : 1367px) {
    .language {
        right: 18px;
        top: 20px;
    }
}

@media only screen and (max-width : 1280px) {
    
}

@media only screen and (max-width : 1025px) {
    .carousel-control.left {
        left: 20px;
        top: 264px;
    }
    .carousel-control.right {
        right: 20px;
        top: 264px; 
    }
    .modal-form {
        width: 525px;
        height: 525px;
    }
    .popup-title {
        padding: 60px 60px 0 60px;
    }
    .popup-title p {
        font-size: 32px;
    }
    .close-popup button {
        right: 25px;
        top: 25px;
        width: 26px;
        height: 26px;
        background-size: contain;
    }
    .subtitle-head {
        width: 58%;
    }
    .subtitle-head p {
        font-size: 20px;
    }
}

@media only screen and (max-width : 1199px) {
    .form_footer {
        margin: 90px 0 0 40px;
        width: 300px;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    .header-title {
        margin-top: 130px;
    }
    .header-title span {
        font-size: 55px;
        line-height: 35px;
    }
    .subtitle-head {
        width: 100%;
        padding-top: 42px;
    }
    .subtitle-head p {
        text-align: center;
    }
    .header-content {
        padding-bottom: 100px;
    }
    .block-title {
        margin-top: 60px;
    }
    .block-title p {
        font-size: 40px;
    }
    .block-title span {
        margin-top: 20px;
    }
    .property-list {
        padding-left: 0;
        padding-top: 70px;
        width: 600px;
    }
    .list-text p {
        font-size: 18px;
    }
    .property-text-bottom span {
        font-size: 30px;
    }
    .property-text-bottom {
        margin: 60px 0 70px 0;
    }
    .title-first-group {
        margin-top: 50px;
    }
    .title-first-group p {
        font-size: 30px;
    }
    .btn-first-group {
        margin: 65px 0 80px 0;
    }
    .bannerImage {
        margin-top: 15px;
    }
    .bannerImage img {
        width: 100px;
    }
    .slider-list li {
        font-size: 22px;
    }
    .slider-list span {
        top: 10px;
    }
    .slider-width {
        width: 560px;
        height: 250px;
        margin: auto;
    }
    .carousel-control.left, .carousel-control.right {
        top: 215px;
    }
    .teacher-img {
        float: none;
        text-align: center;
    }
    .teacher-text {
        margin: 40px auto;
        width: auto;
    }
    .media_school_content {
        width: 100%;
    }
    .title-footer {
        float: none;
        text-align: center;
        line-height: 55px;
    }
    .form_footer {
        width: 380px;
        margin: auto;
        float: none;
        padding-top: 50px;
    }
    .addres___ {
        width: 100%;
    }
    .address-item {
        font-size: 20px;
        float: none;
        text-align: center;
    }
    .links-item {
        font-size: 16px;
    }
    .links-links-center {
        margin: 0 40px;
    }
    .links__ {
        width: 536px;
        margin: auto;
    }
    .links-item span img {
        width: 40px;
    }
    .modal-form {
        margin-top: 35px;
    }
}

@media only screen and (max-width : 800px) {
    .popup-title {
        padding: 30px 30px 0 30px;
    }
    .modal-form {
        width: 400px;
        height: 400px;
    }
    .popup-title p {
        font-size: 25px;
    }
    .close-popup button {
        width: 20px;
        height: 20px;
    }
    #form-modal {
        width: 85%;
    }
    #form-modal input {
        width: 100%;
        height: 49px;
        border-radius: 6px;
        margin-bottom: 13px;
        padding-left: 25px;
    }
    .btn_modal {
        width: 100%;
        height: 55px;
        font-size: 25px;
    }
    .property-list {
        width: 100%;
    }
}

@media only screen and (max-width : 768px) {
    .logo {
        float: left;
        margin-left: 20px;
    }
    .navbar-default .navbar-collapse {
        margin-top: 15px;
    }
    .navbar-list {
        margin-top: 12px;
        width: 100%;
        text-align: center;
    }
    .navbar-default .navbar-nav>li>a {
        font-size: 25px;
    }
    .navbar-list li:hover {
        background: #cc4242;
    }
    .navbar-list li:hover:last-child {
        background: transparent;
    }
    .navbar-list li:hover a {
        color: #fff !important;
    }
    .navbar-nav {
        margin: 0;
    }
    .bannerImage {
        float: none;
        width: 100%;
        text-align: center;
    }
    .slider-list {
        float: none;
        margin-left: 0;
        width: 100%;
        text-align: center;
        margin-top: 15px;
    }
    .slider-list span {
        display: none;
    }
    .sliders {
        margin-top: 90px;
    }
    .slider-width {
        width: 430px;
        height: 310px;
    }
    .carousel-control.left, .carousel-control.right {
        top: 300px;
        width: 30px;
        background-size: contain;
    }
    .teacher-text {
        padding: 0 50px;
        text-align: center;
    }
    .teacher-position {
        margin: 10px 0 0 0;
    }
    .list-image {
        float: none;
        text-align: center;
        width: 100%;
    }
    .list-text {
        text-align: center;
        float: none;
        width: 100%;
        margin-left: 0;
        margin-top: 5px;
    }
    .group-list {
        margin-bottom: 45px;
    }
    .about_us_center_ p {
        text-align: center;
    }
    .teacher_info__ p {
        text-align: center;
    }
    .media_school_list ul li img {
        display: none;
    }
    .media_school_content_text {
        text-align: center;
    }
    .media_school_list {
        text-align: center;
    }
    .media_school_end {
        text-align: center;
    }
    .media_school_list ul {
        margin: 30px 0 0 0px;
    }
    .language {
        right: 110px;
        top: 43px;
    }
    #form-modal input {
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        -o-appearance: none !important;
        -webkit-caret-color: transparent !important;
        -moz-caret-color: transparent !important;
        -o-caret-color: transparent !important;
        caret-color: transparent !important;
    }
    #form-modal input:focus {
        -webkit-box-shadow: 0px 0px 10px 0px #cc4242;
        -mozt-box-shadow: 0px 0px 10px 0px #cc4242;
        -o-box-shadow: 0px 0px 10px 0px #cc4242;
        box-shadow: 0px 0px 10px 0px #cc4242;
        -webkit-caret-color: transparent !important;
        -moz-caret-color: transparent !important;
        -o-caret-color: transparent !important;
        caret-color: transparent !important;
    }
}

@media only screen and (max-width : 640px) {
    .header-title span {
        font-size: 35px;
    }
    .subtitle-head p {
        font-size: 20px;
    }
    .program___ {
        font-size: 24px;
    }
    .program___ span {
        font-size: 34px;
    }
    .program_price p {
        font-size: 30px;
    }
    .program_price span {
        font-size: 40px;
    }
    .slider-list li {
        font-size: 16px;
    }
    .bannerImage img {
        width: 80px;
    }
    .carousel-control.left, .carousel-control.right {
        width: 20px;
    }
    .slider-width {
        width: 300px;
        height: 260px;
    }
}

@media only screen and (max-width : 541px) {
    .links__ {
        width: 100%;
        text-align: center;
    }
    .links-item {
        float: none;
        margin-bottom: 15px;
    }
    .footer-links {
        margin-top: 40px;
    }
    .footer {
        padding-bottom: 40px;
    }
}

@media only screen and (max-width : 470px) {
    .modal-form {
        width: 80%;
        height: auto;
        padding-bottom: 25px;
    }
    .popup-title p {
        font-size: 20px;
        text-align: center;
    }
    .close-popup button {
        right: 5px;
        top: 5px;
    }
    /*================*/
    .modal-form {
        margin-top: 15px;
    }
    .popup-title {
        padding: 18px 30px 0 20px;
    }
    .popup-title p {
        font-size: 18px;
    }
    .close-popup button {
        width: 15px;
        height: 15px;
    }
    #form-modal {
        padding-top: 15px;
    }
    #form-modal input {
        height: 41px;
        font-size: 17px;
    }
    .btn_modal {
        height: 40px;
        font-size: 20px;
    }
    
}

@media only screen and (max-width : 414px) {
    .program___ {
        font-size: 16px;
    }
    .program___ span {
        font-size: 28px;
    }
    .ograniceno p {
        font-size: 16px;
    }
    .ograniceno span {
        font-size: 20px;
    }
    .form_footer {
        width: 100%;
    }
    .teacher-img {
        padding: 0 10px;
        width: 100%;
    }
    .teacher-img img {
        width: 100%;
    }
    .header-title {
        margin-top: 60px;
    }
    .header-content {
        padding-bottom: 50px;
    }
    .block-title {
        margin-top: 25px;
    }
    .property-text-bottom {
        margin: 30px 0 40px 0;
    }
    .btn-first-group {
        margin: 25px 0 40px 0;
    }
    .carousel-control.left, .carousel-control.right {
        top: 226px;
    }
    .slider-width {
        height: 230px;
    }
    .program-content {
        margin-top: 30px;
        margin-bottom: 40px;
    }
    .about_us_center_ {
        margin-bottom: 40px;
    }
    .teacher-list-group {
        margin-top: 50px;
    }
    .footer-address {
        margin-top: 50px;
    }
    .footer-links {
        margin-top: 35px;
    }
}

@media only screen and (max-width : 375px) {
    .bannerImage img {
        width: 60px;
    }
    .slider-list li {
        font-size: 14px;
    }
    .slider-list {
        width: 90%;
        margin: 15px auto;
    }
    .carousel-control.left, .carousel-control.right {
        width: 30px;
        height: 30px;
        top: 270px;
    }
    .carousel-control.left {
        left: 15px;
    }
    .carousel-control.right {
        right: 0px;
    }
}

@media only screen and (max-width : 320px) {
    .btn-all {
        width: 100%;
        height: 50px;
        font-size: 22px
    }
    .slider-width {
        width: 100%;
        height: 230px;
    }
    .block-title p {
        font-size: 26px;
    }
    .block-title {
        margin-top: 40px;
    }
    .program___ span {
        font-size: 24px;
    }
    .program-content {
        margin-top: 30px;
        margin-bottom: 70px;
    }
    .about_us_center_ p {
        margin-top: 20px;
        font-size: 16px;
    }
    .teacher-list-group {
        margin-top: 50px;
    }
    .title-footer {
        line-height: 30px;
    }
    .address-item-center {
        margin: 0;
    }
}

@media only screen and (max-width : 300px) {
    body {
        width: 320px;
    }
}
