@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    /* For Old IE 7-8-9 */    
}
@media only screen and (min-width:1025px) and (max-width:1660px){
    header a.logo{top: 30px;right: 30px;}
    .banner_wrap .rslides .bg_img .bann_content h2{font-size: 72px;line-height: 72px;letter-spacing: -1px;}
    .banner_wrap .rslides .bg_img .bann_content p{font-size: 35px;line-height: 45px;}
    .banner_wrap .rslides .bg_img .bann_content{max-width: 830px;}

    .banner_wrap .rslides_tabs{bottom: 160px;}
    .services_wrap .sere_list h6{font-size: 24px;line-height: 28px;}
    .testimonials .bottom_part h3,.testimonials h2,h3{font-size: 44px;}
    .programs .box_wrap .box .detail_text h5{font-size: 28px;}
    .programs .box_wrap .box .detail_text p{font-size: 24px;}
    .programs .box_wrap .box a{font-size: 26px;}    
    .testimonials .item .right_content p{font-size: 26px;}



}
@media only screen and (min-width:1025px) and (max-width:1460px){

    .banner_wrap .rslides .bg_img{height: 580px;}
    header a.logo{max-width: 280px;}
    .banner_wrap .rslides .bg_img .bann_content h2{font-size: 60px;line-height: 60px;}
    .banner_wrap .rslides .bg_img .bann_content p{font-size: 28px;line-height: 38px;}
    .banner_wrap .rslides .bg_img .bann_content{max-width: 740px;}
    .banner_wrap .scroll_down{bottom: 15px;font-size: 24px;text-align: center; margin: 0 0 0 13.5%;}
    .banner_wrap .scroll_down img{max-width: 40px;}
    .banner_wrap .en_now{width: 200px;right: -15px;bottom: 50px;}
    .services_wrap .sere_list h6{ font-size: 22px;line-height: 24px;}
    .services_wrap .sere_list{margin-right: 12%;}
    .testimonials .bottom_part h3, .testimonials h2, h3{font-size: 40px;}
    .about_tau .video_slider .play_video{height: 550px;}   
    .about_tau .video_slider .play_video a{ width: 80px;height: 100px;}
    .programs .box_wrap .box:nth-child(3):before{width: 302px;height: 302px;background-repeat: no-repeat; top: -45px;right: -45px;}
    .programs .box_wrap .box:nth-child(7):after{width: 302px;height: 302px;background-repeat: no-repeat; bottom: -45px;left: -45px;}
.v_center .box:nth-child(1):after{width: 302px;height: 302px;background-repeat: no-repeat; bottom: -45px;left: -45px;}

}
@media only screen and (min-width:1025px) and (max-width:1366px){
    header a.logo{max-width: 220px;}
    .banner_wrap .rslides .bg_img{ padding-top: 100px;padding-left: 60px;height: 480px;}
    .wrapper,.container{padding: 0px 50px;}
    .programs .box_wrap .box .detail_text h5{font-size: 24px;}
    .programs .box_wrap .box .detail_text p{font-size: 20px;line-height: 28px;}
    .programs .box_wrap .box a{font-size: 22px;line-height: 38px;width: 160px;}
    .programs .box_wrap .box{margin-bottom: 50px;}    
    .banner_wrap .rslides_tabs{bottom: 110px;}
    
    .poup{max-width: 90%;}
    .poup .close img{width: 30px;}
    .poup .content_section{padding-top: 165px;}
    .poup .content_section h3{font-size: 40px;}
    .poup .content_section p{font-size: 30px;}
    .poup .content_section:before{bottom: -60px;}
    .poup .content_section:after{top: -7px;}
}
@media only screen and (min-width:1025px) and (max-width:1280px){
    .banner_wrap .rslides .bg_img .bann_content h2{font-size: 66px;line-height: 68px;}
    .banner_wrap .rslides .bg_img .bann_content p{font-size: 26px;line-height: 36px;}
    .banner_wrap .rslides .bg_img .bann_content{max-width: 690px;}
    .banner_wrap .rslides_tabs{bottom: 110px;}

}
@media only screen and (min-width:1025px) and (max-width:1100px) /* container size */
{
    header a.logo{max-width: 180px;right: 20px;top: 20px;}
    .banner_wrap .rslides .bg_img{ padding-top: 80px;padding-left: 30px;height: 410px;}
    .banner_wrap .rslides .bg_img .bann_content h2{ font-size: 54px;line-height: 56px;}
    .banner_wrap .rslides .bg_img .bann_content p{ font-size: 22px;line-height: 30px;}
    .banner_wrap .rslides .bg_img .bann_content{max-width: 600px;}
    .services_wrap .sere_list h6{font-size: 18px;line-height: 20px;}
    .services_wrap .sere_list{margin-right: 6.6%;width: 20%;}
    .about_tau h3,.testimonials .bottom_part h3, .testimonials h2, h3{font-size: 30px;margin-bottom: 25px;}
    .about_tau .video_slider .play_video{height: 420px;}
    .about_tau .video_slider .play_video a{ width: 60px;height: 70px;}
    .about_tau p{font-size: 20px;line-height: 25px;}
    .about_tau .read_more{font-size: 22px;line-height: 38px;width: 160px;}
    .programs .box_wrap .box .detail_text h5{font-size: 20px;}
    .programs .box_wrap .box .detail_text p{font-size: 18px;line-height: 24px;}
    .testimonials .item .right_content h4{font-size: 24px;}
    .testimonials .item .right_content p{font-size: 18px;}
    .testimonials .bottom_part h5{font-size: 28px;}
    .form_section{    padding-top: 50px;padding-bottom: 40px;}
    .form_section h2{font-size: 26px;}

}
@media only screen and (max-width:1024px) /* if tablate and mobile view is same */
{    
    .banner_wrap .rslides .bg_img{height: 580px;}
    header a.logo{max-width: 190px;top: 20px;right: 20px;}
    .banner_wrap .rslides .bg_img .bann_content h2{ font-size: 50px;line-height: 50px;letter-spacing: 0px;}
    .banner_wrap .rslides .bg_img .bann_content p{font-size: 24px;line-height: 30px;}
    .banner_wrap .rslides .bg_img .bann_content{max-width: 650px;}
    .banner_wrap .scroll_down{bottom: 15px;font-size: 24px;text-align: center; margin: 0 0 0 13.5%;}
    .banner_wrap .scroll_down img{max-width: 40px;}
    .banner_wrap .en_now{width: 200px;right: -15px;bottom: 50px;}
    .services_wrap .sere_list h6{ font-size: 18px;line-height: 20px;}
    .services_wrap .sere_list{margin-right: 12%;}
    .testimonials .bottom_part h3, .testimonials h2, h3{font-size: 40px;}
    .about_tau .video_slider .play_video{height: 550px;}   
    .about_tau .video_slider .play_video a{ width: 80px;height: 100px;}
    .programs .box_wrap .box:nth-child(3):before{width: 302px;height: 302px;background-repeat: no-repeat; top: -45px;right: -45px;}
    .programs .box_wrap .box:nth-child(7):after{width: 302px;height: 302px;background-repeat: no-repeat; bottom: -45px;left: -45px;}
.v_center .box:nth-child(1):after{width: 302px;height: 302px;background-repeat: no-repeat; bottom: -45px;left: -45px;}

    header a.logo{max-width: 200px;}
    .banner_wrap .rslides .bg_img{padding-top: 80px;padding-left: 30px;height: 410px;}
    .wrapper,.container{padding: 0px 50px;}
    .programs .box_wrap .box .detail_text h5{font-size: 22px;}
    .programs .box_wrap .box .detail_text p{font-size: 18px;line-height: 26px;}
    .programs .box_wrap .box a{font-size: 22px;line-height: 38px;width: 160px;}
    .programs .box_wrap .box{margin-bottom: 50px;}    
    .banner_wrap .rslides_tabs{bottom: 100px;}
    .services_wrap .sere_list{ margin-right: 0%;width: 25%}
    .about_tau h3,.testimonials .bottom_part h3, .testimonials h2, h3{font-size: 28px;}
    .about_tau h3{margin-bottom: 20px;}
    .about_tau .video_slider .play_video{height: 400px;}
    .about_tau .video_slider .play_video a{width: 50px;height: 60px;}

    .about_tau p{font-size: 20px;}
    .testimonials .item .right_content p{font-size: 20px;}
    .testimonials .item .right_content h4{font-size: 24px;}
    .form_section{padding-top: 60px;padding-bottom: 30px;}
    .form_section h2{font-size: 26px;}
    
    
    .poup{max-width: 90%;}
    .poup .close img{width: 30px;}
    .poup .content_section{padding-top: 165px;}
    .poup .content_section h3{font-size: 40px;}
    .poup .content_section p{font-size: 30px;}
    .poup .content_section:before{bottom: -60px;}
    .poup .content_section:after{top: -7px;}
    .poup .content_section,.poup .form_section{padding-left: 30px; padding-right: 30px;}



}
@media only screen and (max-width:960px)
{    
    .mo_banner{display: block;}
    .banner_wrap .rslides .bg_img{background-image: none !important;height: auto;background: #fff;padding-top: 180px;padding-left: 0;padding-right: 0;}
    header a.logo{max-width: 250px;margin: 0 auto;display: block;position: relative;right: 0;}
    .banner_wrap .rslides .bg_img .bann_content{text-align: center;}
    .banner_wrap .rslides .bg_img .bann_content p{padding-right: 0;}
    .banner_wrap .rslides .bg_img .bann_content{max-width: 100%;}
    .banner_wrap .rslides .bg_img .bann_content h2{font-size: 60px;line-height: 70px;}
    .banner_wrap .rslides .bg_img .bann_content p{ font-size: 25px;line-height: 34px;letter-spacing: 0;}
    .banner_wrap{height: 100vh;}
    .banner_wrap .en_now{position:fixed;top:auto;bottom: 0px;width: 100%;right: 0;left: 0;border-radius: 0px;}
    .banner_wrap .en_now img{display: none;}
    .banner_wrap .en_now{background-color: #04b9ed;color: #ffffff;font-size: 34px;font-weight: 400;text-align: center;padding: 10px 0px;}
    .banner_wrap .scroll_down{bottom: 150px; margin: 0 auto; color:#fff; text-shadow: 1px 2px 6px #000;}
    .banner_wrap .rslides_tabs{bottom: 190px;}
    .banner_wrap .rslides img{max-width: 100%;width: auto;margin: 0;float: none;}
    .services_wrap .sere_list{width: 50%;margin-bottom: 70px;}
    .services_wrap .sere_list h6{ font-size: 22px;line-height: 28px;}
    .about_tau{display: flex;flex-wrap: wrap;    margin-top: 40px;}
    .about_tau h3,.about_tau .video_slider,.video_text{width: 100%;display: block;}
    .about_tau .video_slider{order: 2;}
    .video_text{text-align: center;margin-bottom: 50px;}
    .programs .box_wrap .box{width: 100%;margin-right: 0;}
    .programs .box_wrap .box .detail_text{text-align: center;padding: 30px;}
    .programs .box_wrap .box .detail_text h5{font-size: 30px;}
    .programs .box_wrap .box .detail_text p{ font-size: 22px;line-height: 32px;}
    .programs .box_wrap .box{height: auto !important;margin-bottom: 90px;}
    .programs .box_wrap .box:nth-child(1):before{background-image: url(../images/site/detail_text.png);background-size: contain;background-position: center center;width: 302px;height: 302px;background-repeat: no-repeat;top: -39px;right: -39px;position: absolute;content: '';z-index: -1;}
    .programs .box_wrap .box:nth-child(3):before{display: none;}
    .programs .box_wrap .box span{background-size: cover;background-position: bottom center;}
    .programs .box_wrap .box:nth-child(4):before{background-image: url(../images/site/detail_text.png);background-size: contain;background-position: center center;width: 302px;height: 302px;background-repeat: no-repeat;top: -39px;left: -39px;position: absolute;content: '';z-index: -1;}
    .programs .box_wrap .box:nth-child(7):after{top: -39px;right: -39px;left: auto;}
.v_center .box:nth-child(1):after{top: -39px;right: -39px;left: auto;}
    .programs .box_wrap .box:nth-child(9):before{background-image: url(../images/site/detail_text.png);background-size: contain;background-position: center center;width: 302px;height: 302px;background-repeat: no-repeat;top: -39px;left: -39px;position: absolute;content: '';z-index: -1;}

    .about_tau h3, .testimonials .bottom_part h3, .testimonials h2, h3{font-size: 36px;}
    .testimonials .item .left_image{width: 100%;max-width: 380px;margin: 0 auto;float: none;margin-bottom: 40px;}
    .testimonials .item .right_content{width: 100%;padding-right: 0;text-align: center;}
    .testimonials .item .right_content h4{font-size: 26px;width: 320px;margin: 0 auto;padding-bottom: 20px;}
    .testimonials .item .right_content p{font-size: 24px;padding: 0px 80px;}
    .testimonials .owl-carousel .owl-nav button.owl-prev,.testimonials .owl-carousel .owl-nav button.owl-next{display: none;}
    footer .wrapper .social{padding: 50px 0px;float: none;}
    footer .wrapper p{float: none;}
    footer .wrapper{padding: 0px;text-align: center;}
    footer .wrapper .social a{margin: 0px 10px;}
    .form_section .wrapper .col{width: 100%;}
    .form_section .wrapper{display: block;}
    footer .wrapper p{line-height: 90px;}
    footer{height: 90px;}
    footer .wrapper .social{padding: 30px 0px;}


}
@media only screen and (max-width:767px)
{
    header a.logo{max-width: 120px;}
    .banner_wrap .rslides .bg_img{padding-top: 100px;padding-left: 0px;padding-right: 0px;}
    .banner_wrap .rslides .bg_img .bann_content h2{font-size: 38px;line-height: 42px;}
    .banner_wrap .rslides .bg_img .bann_content p{font-size: 22px;line-height: 26px;}
    .banner_wrap .rslides_tabs{display: none;}
    .banner_wrap .scroll_down{font-size: 20px;bottom: 60px;margin: 0 auto;}
    .banner_wrap .scroll_down img{max-width: 30px;}
    .banner_wrap .en_now{font-size: 24px;padding: 8px 0px;}
    .wrapper, .container{padding: 0px 30px;}
    .services_wrap .sere_list span{width: 110px;height: 110px;}
    .services_wrap .sere_list h6{font-size: 16px;font-weight:400;line-height: 20px;margin-top: 15px;}

    .services_wrap .sere_list{margin-bottom: 40px;}
    .services_wrap{padding-top: 30px;padding-bottom: 0px;}
    .about_tau h3, .testimonials .bottom_part h3, .testimonials h2, h3{font-size: 22px;}
    .about_tau p{font-size: 16px;line-height: 22px;padding: 0px 15px;}
    .btn{width: 160px;line-height: 38px;font-size: 22px;}
    .about_tau .video_slider .play_video{height: 240px;}
    .about_tau .video_slider .play_video a{width: 30px;height: 40px;}
    .about_tau{margin-bottom: 30px;}
    .programs .box_wrap .box span{height: 230px;}
    .programs .box_wrap .box:nth-child(1):before{width: 240px;height: 240px;top: -22px;right: -22px;}
    .programs .box_wrap .box:nth-child(4):before{width: 240px;height: 240px;top: -22px;left: -22px;}
    .programs .box_wrap .box:nth-child(7):after{width: 240px;height: 240px;top: -22px;right: -22px;}
.v_center .box:nth-child(1):after{width: 240px;height: 240px;top: -22px;right: -22px;}


    .programs .box_wrap .box:nth-child(9):before{width: 240px;height: 240px;top: -22px;left: -22px;}
    .programs .box_wrap .box .detail_text{padding: 15px;}
    .programs .box_wrap .box .detail_text h5{font-size: 22px;}
    .programs .box_wrap .box .detail_text p{font-size: 18px;line-height: 26px;}
    .programs .box_wrap .box{margin-bottom: 40px;}
    .testimonials .item .left_image .img_part:after{left: -20px;top: -20px;}
    .testimonials .item .left_image{max-width: 300px;padding-left: 35px;padding-right: 35px;padding-top: 30px;}
    .testimonials .item .right_content h4{ font-size: 20px;width: 300px;}
    .testimonials .item .right_content p{ font-size: 18px;padding: 0px 10px;}
    .testimonials .bottom_part h5{font-size: 24px;margin-top: 10px;}
    .btn_1{width: 100%;margin: 0px;}
    .testimonials .bottom_part .btn_1{margin: 0px;margin: 15px 0px;}
    .testimonials{padding-bottom: 50px;}
    footer .wrapper p{display: none;}
    footer{height: auto;}
    footer .wrapper .social a{ display: inline-block;vertical-align: middle;}
    footer .wrapper .social a img{max-width: 20px;max-height: 20px;}
    .form_section input[type="submit"]{width: 100%;border-radius: 0px;margin-top: 25px;}
    .form_section{padding-bottom: 0;}

    .services_wrap .sere_list .sere_content{font-size:16px;font-weight:300;}



    .poup .content_section:after{top: -87px; left: -90px;}
    .poup .close{top: 20px; right: 20px;}
    .poup .content_section h3{font-size: 22px;}
    .poup .content_section p{font-size: 16px;}
    .poup .content_section, .poup .form_section{padding-left: 15px; padding-right: 15px; }
    .poup .content_section{padding-top: 100px;}
    .form_section h2{font-size: 22px;}
    .poup .form_section{padding-top: 30px; padding-left: 0px; padding-right: 0px;}
    .form_section .wrapper{flex-direction: column}
    .form_section .wrapper .col{width: 100%;}
    .poup .content_section:before{bottom: -70px; right: -100px;}
    .form_section .wrapper .col label,select,.form_section .wrapper .col input:not([type="checkbox"]){font-size: 14px;}
    .form_section input[type="submit"]{width: 100%;}
    
    .video_slider .owl-dots .owl-dot{width: 13px; height: 13px;}
.alert-box .alert_text{    padding: 5px 50px;display:block;}

}
@media (max-height: 500px)
{

}

@media (max-width:340px)
{
    header a.logo{top: 10px;}
    .banner_wrap .rslides .bg_img .bann_content h2{font-size: 28px;line-height: 30px;}
    .banner_wrap .rslides .bg_img .bann_content p{font-size: 15px;line-height: 19px;}
    .banner_wrap .scroll_down{ font-size: 16px;bottom: 50px;}
    .banner_wrap .en_now{font-size: 20px}
    .services_wrap .sere_list span{width: 90px;height: 90px;}
    .services_wrap .sere_list h6{font-size: 14px;}
    .about_tau h3, .testimonials .bottom_part h3, .testimonials h2, h3{font-size: 20px;}
    .about_tau p{padding: 0px;}
    .about_tau .video_slider .play_video{height: 180px;}
    .programs .box_wrap{margin-top: 45px;}
    .programs .box_wrap .box .detail_text h5{font-size: 18px;}
    .programs .box_wrap .box .detail_text p{font-size: 16px;line-height: 24px;}
    .programs .box_wrap .box a{font-size: 20px;line-height: 36px;width: 140px;}
    .testimonials .bottom_part .btn_1{font-size: 18px;}
    .form_section h2{font-size: 19px;margin-bottom: 25px;}
    input[type='email'], input[type='text'], input[type='tel'],select{font-size: 16px;}
    .form_section .wrapper .col label{font-size: 16px;}


}