@media only screen and (max-width: 1919px) {
.footer_sec .col2 { padding: 40px 30px 40px 15px; }



}



@media only screen and (max-width: 1599px) {
    h1, .h1 { font-size: 45px; }
    h2, .h2 { font-size: 40px; }
    h3, .h3 { font-size: 30px; }
    h4, .h4 { font-size: 25px; }
    h5, .h5 { font-size: 20px; }
    h6, .h6 { font-size: 16px; }

.header_sec .logo { max-width: 200px; top: -77px; }
.header_sec .left { width: 300px; }
.header_sec .nav_button { width: 170px; padding-left: 40px; }
.header_sec .contactbox { width: calc(100% - 470px); padding: 0 30px 0 20px; }
.top_sec { height: 77px; }
#wrapper { padding-top: 181px; }
.program_sec .slick-arrow { width: 50px; height: 50px; }
.program_sec .slick-arrow { left: 0px; }
.program_sec .slick-arrow.slick-next { right: 0; }
.program_sec .program { padding: 0px 25px; }
.program_sec .program_list { padding: 0 50px; }

.heading h2 { font-size: 60px; padding: 0 120px; }
.heading h2 em { font-size: 130%; }
.heading h2:after, .heading h2:before { width: 110px; height: 10px; }

.about_sec .text { padding: 30px 0; } 
.about_sec .heading { margin-bottom: 20px; }
.about_sec p { font-size: 16px; line-height: 1.4; }
.about_sec .text .inner { position: relative; z-index: 1; width: 100%; max-width: 800px; padding: 0 30px 0 20px; }
.gallery_sec h2 em { margin-right: 5px; }
.gallery_sec .heading { margin-bottom: 25px; }
.testimonials_sec p { line-height: 1.6; }

 .newsletter_sec .inner h3 { font-size: 60px; }
.newsletter_sec .inner h3 em { font-size: 125%; }
.newsletter_sec .screen { left: 15px; margin: 0; max-width: 380px; }
.newsletter_sec:before { width: 18%; }

.footer_sec h4 { font-size: 50px; }
.footer_sec h4 em { font-size: 70px; }
.footer_sec .col3 .inner { padding: 0 20px 0 30px; }
.footer_sec .logo { max-width: 280px; }
.footer_sec .contactbox { margin-top: -10px; }
.footer_sec .col1 { width: 430px; }
.footer_sec .col2 { width: calc(49.5% - 215px);  }
.footer_sec .col3 { width: calc(50.5% - 215px); margin: 0; padding: 30px 0; }
.footer_sec .instabox { background-size: 45px auto; padding-left: 50px; }















}

@media only screen and (max-width: 1365px) {
#wrapper { padding-top: 134px; }
.header_sec .logo { max-width: 150px; top: -45px; }
.header_sec .left { width: 165px; }
.header_sec .nav_button { width: 120px; padding: 0 20px; }
.header_sec .contactbox { width: calc(100% - 285px); padding: 0 30px 0 20px; }
.top_sec { height: 77px; }
.top_sec { height: 45px; }
.header_sec .menu_trigger span.icon { width: 40px; height: 40px; background-size: contain; }
.newsletter_sec .tnp-subscription input.tnp-submit, .button { min-width: 200px; padding: 10px; }  
.footer_sec .wpcf7-form-control:not(.button), .footer_sec input[type="text"], .footer_sec input[type="email"], .footer_sec input[type="url"], .footer_sec input[type="tel"], .footer_sec input[type="password"], .footer_sec textarea {
height: 30px; font-size: 14px !important; padding: 5px 10px !important; margin-bottom: 10px; }
.footer_sec .logo { max-width: 240px; }
.footer_sec .contactbox .contacts.email { margin-bottom: 0; }

#sb_instagram #sbi_load { position: static; top: 5px; right: 20px; width: auto; margin: 10px auto 0 auto; float: none; }

}

@media only screen and (max-width: 1279px) {
h1, .h1 { font-size: 40px; }
h2, .h2 { font-size: 35px; }
h3, .h3 { font-size: 28px; }
h4, .h4 { font-size: 23px; }
h5, .h5 { font-size: 20px; }
h6, .h6 { font-size: 16px; }
html, body {  font-size: 18px; }

.header_sec .contactbox .contacts { min-height: 40px; padding: 5px 15px 5px 40px; margin-right: 15px; font-size: 14px; line-height: 1.3; background-size: 30px auto !important; }
.header_sec .contactbox .contacts.phone { padding-left: 35px;  background-size: 25px auto !important; }
.newsletter_sec .tnp-subscription input.tnp-submit, .button { font-size: 14px; }
.header_sec .contactbox .button { margin-left: 5px; }

.program_sec .slick-arrow { width: 40px; height: 40px; }
.program_sec .slick-slide.slick-current + .slick-slide .program:after, .program_sec .slick-slide.slick-current .program:after { width: 6px; right: -3px; }
.program_sec .program { padding: 0px 15px; }
.program_sec .program_list { padding: 0 35px; }
.program_sec .text h4 { font-size: 18px; }

.heading h2 { font-size: 50px; padding: 0 120px; }
.about_sec .image { width: 100%; order: 0; }
.about_sec .text { width: 100%; padding: 40px 0 30px; }
.about_sec .text .inner { width: 100%; max-width: 100%; }
.newsletter_sec .screen { max-width: 300px; }
.newsletter_sec .inner { max-width: calc(100% - 330px); margin-left: auto; }
.footer_sec .col1 { width: 100%; order: 1; }
.footer_sec .contactbox { max-width: 100%; }
.footer_sec .contactbox .contacts { font-size: 14px; line-height: 18px; display: inline-block; vertical-align: top; margin-right: 20px; background-size: 30px auto; padding: 0 20px 0 40px; border-right: 3px solid #ca9e3e; min-height: 40px; }
.footer_sec .contactbox .contacts {  }
.footer_sec .contactbox .contacts:after { display: none; }
.footer_sec .contactbox .contacts.email { padding-right: 0; margin-right: 0; border: 0; }
.footer_sec .contactbox { padding-left: 100px; margin-top: 5px; }
.footer_sec .col2 { width: 50%; padding: 30px 30px 20px 15px; }
.footer_sec .col3 { width: 50%; }


















.inner-banner-bar { min-height: 300px; }
}



@media only screen and (max-width: 1023px) {
.inner-banner-bar { min-height: 250px; }

.header_sec .menu_trigger { font-size: 14px; min-width: 55px; }
.header_sec .menu_trigger span.icon { width: 30px; height: 30px; }
.header_sec .nav_button { padding: 0 15px; width:85px; }
.header_sec .left { width: 115px; }
.header_sec .logo { max-width: 100px; top: -12px; }
.header_sec .contactbox .contacts { font-size: 12px; padding-right: 10px; margin-right: 10px; line-height: 1.2; background-size: 25px auto !important; padding-left: 30px !important; }
.header_sec .contactbox .button { font-size: 12px; line-height: 16px; padding: 5px; min-width: auto; }
.header_sec .contactbox { width: calc(100% - 200px); padding: 0 10px; }
.header_sec .contactbox .contacts.phone { padding-left: 25px; background-size: 20px auto !important; margin-right: 0; }
.header_sec .contactbox .button { margin-left: 10px; }
.top_sec { height: 12px; }
#wrapper { padding-top: 91px; }
.nav-bar { position: relative; }
.program_sec .slick-slide.slick-current + .slick-slide .program:after { display: none; }
.heading h2 { font-size: 40px; padding: 0 95px; }
.heading h2:after, .heading h2:before { width: 80px; }
.testimonials_sec .slick-arrow { left: 0; }
.testimonials_sec .slick-arrow.slick-next { right: 0; }  
.testimonials_sec .tesimonial_list { padding: 0 45px; }
.testimonials_sec .name { font-size: 20px }
.newsletter_sec:before { display: none; }
.newsletter_sec .inner { max-width: 100%; width: 100%; margin-left: auto; }
.newsletter_sec .screen { bottom: auto; top: -30px; margin-left: -100px; left: 50%; max-width: 200px;  }
.newsletter_sec { padding: 0 0 30px 0; position: relative; z-index: 1; }
.newsletter_sec .inner { padding-top: 180px; }
.newsletter_sec .inner h3 { font-size: 40px; }
.footer_sec .col2 { width: 100%; padding: 30px 30px 20px 15px; }
.footer_sec .col3 { width: 100%; }
.newsletter_sec .dots { width: 190px; }
.footer_sec .col3 .inner { max-width: 100%; }
.footer_sec .col2 .inner { max-width: 500px; margin: 0 auto; float: none; }
#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img, #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img img, .sb_instagram_header.sbi_medium .sbi_header_img, .sb_instagram_header.sbi_medium .sbi_header_img img {
width: 40px;
height: 40px;
}
.footer_sec .instabox { background: url(../images/instagram2.png) center top no-repeat; background-size: auto 30px; padding: 40px 0 0 0; }
.footer_sec .insta_info { text-align: center; padding-left: 0px; margin-top: 0px; }
#sb_instagram .sb_instagram_header, .sb_instagram_header { padding-left: 0; }
.footer_sec h4 { font-size: 40px; text-align: center; }
.footer_sec form .wpcf7-form-control.button { min-width: 150px; margin: 20px auto 0; display: block;}
#sb_instagram .sb_instagram_header .sbi_header_text, .sb_instagram_header .sbi_header_text { display: inline-flex; }





.rightBlogBox { padding: 0 0 0 20px; width: 30%; }  
.leftBlogBox { width: 70%; }
.search-form input[type="submit"] { font-size: 14px; width: 70px; padding: 5px; }
.search-form input[type="Search"] { width: calc(100% - 75px); width: -ms-calc(100% - 75px); width: -webkit-calc(100% - 75px); width: -moz-calc(100% - 75px); }
/* .leftBlogBox .postLoop .image { max-width:180px; } */
.leftBlogBox .wp-pagenavi { margin: 25px 0 0; }
.leftBlogBox #commentform input[type="text"], .leftBlogBox #commentform input[type="email"], .leftBlogBox #commentform textarea, .leftBlogBox #commentform input[type="url"] { width: calc(100% - 100px); width: -webkit-calc(100% - 100px); width: -ms-calc(100% - 100px); width: -moz-calc(100% - 100px); }
.blog-bar,
.blog-bar .inner,
.rightBlogBox ul li { font-size: 14px; }
.rightBlogBox .widget h3 { font-size: 20px; }
.blog-bar .post_list { width: calc(100% + 20px); margin: 0 -10px; }
.blog-bar .postLoop { width: 33.33%; padding: 0 10px 50px; }
.blog-bar .leftBlogBox .postLoop { width: 50%; }
.blog-bar .postLoop h3 { font-size: 18px; }
.blog-bar .info span { font-size: 12px; }
.blog-bar .details { padding: 40px 15px 15px; width: calc(100% - 20px); margin: -30px 10px 0; }
.blog-bar .info span.comment { padding-left: 20px; }




}



@media only screen and (max-width: 767px) {
html, body { font-size: 16px; line-height: 1.4; }
h1, .h1 { font-size: 30px; }
h2, .h2 { font-size: 25px; }
h3, .h3 { font-size: 22px; }
h4, .h4 { font-size: 20px; }
h5, .h5 { font-size: 18px; }
h6, .h6 { font-size: 16px; }

.nav-bar { top: 100%; margin-top: 0px; padding:0; }
#header-bar .nav-bar .wrapper { padding: 0; }
.nav-bar li { font-size: 14px; line-height: 18px; text-align: left; border-top: 1px solid rgba(0,0,0,0.2); padding:0; width: 100%; position: relative; }
.nav-bar li a { padding: 10px; }
.nav-bar li::after { display: none; }
.nav-bar li .submenu_trigger { display: block; width: 41px; height: 39px; position: absolute; right: 0; top: 0; font-size: 0; line-height: 0; background: rgba(0,0,0,0.2) url(../images/drop_arrow2.png) center center no-repeat; background-size: 14px auto; cursor: pointer; }
.nav-bar li .submenu_trigger.active { transform: scale(1,-1); }
.nav-bar .sub-menu li a { color: #fff; }
.nav-bar .sub-menu { min-width: 200px; width: 100%; position: relative; top: auto; left: auto; opacity: 100; visibility: visible; transition: none; -webkit-transition: none; display: none; }

.inner-banner-bar { min-height: 0; padding-bottom: 40%; }

#wrapper { padding-top: 90px; }
#header-bar {  position: fixed; }
#header-bar.stickyhead { position: fixed; -webkit-animation: none; -moz-animation: none; animation: none; }
.stickyhead .header_sec, .stickyhead .top_sec { display: block; }

.gallery_sec .slick-arrow,
.program_sec .slick-arrow { display: none !important; }
.gallery_sec .gallery_list,
.gallery_sec .slick-dots li { padding: 5px; }
.gallery_sec .slick-dots { margin-top: 20px; }
.copyright_sec .copyright p a { display: inline-block; vertical-align: top; }
.copyright_sec .copyright { font-size: 12px; }
.nav-bar li.mobile { display: block; }
.header_sec .contactbox .button { display: none; }
.header_sec .contactbox { display: none; }
.top_sec .contactbox { width: 100%; display: block; text-align: center; line-height: 0; }
.top_sec .contactbox a { display: inline-block; vertical-align: top; font-size: 12px; line-height: 16px; background: url(../images/footer-chat.png) left center no-repeat; background-size: auto 16px; padding-left: 25px; }
.top_sec .contactbox .phone a { background-image: url(../images/footer-tel.png); padding-left: 20px; }
.top_sec .contactbox .contacts { display: inline-block; vertical-align: top; padding: 0 5px; }


.top_sec { padding: 10px 0; height: auto; }
.header_sec .logo { top: 0; }
.header_sec .menu_trigger { display: flex; flex-wrap: wrap; align-items: center; }
.header_sec .menu_trigger span.icon { margin-right: 8px; }
.header_sec .nav_button { width: auto; }
.header_sec .logo { max-width: 75px; }
.header_sec .left { max-width: 90px; }
.nav-bar { position: fixed; top: 90px; }
.nav-bar li.button { border: 0;  }
.nav-bar li.button a { border: 1px solid #213592; background: rgba(255,255,255,0.5); }
.custom.tp-bullets { margin-top: 25px; }  
#rev_slider_2_1_wrapper .custom.tparrows { display: none !important; }
.heading h2 { font-size: 30px; padding: 0 50px; }
.heading h2:after, .heading h2:before { width: 40px; } 
.heading h2 em { margin-top: -5px; }
.program_sec .slick-slide.slick-current + .slick-slide .program:after, .program_sec .slick-slide.slick-current .program:after { display: none; }
.program_sec .program { padding: 0; }
.program_sec .program_list { padding: 0; }
.program_sec .slick-list { padding-bottom: 20px; }
.program_sec .slick-dots li { padding: 5px; }
.program_sec .slick-dots { margin: 0px 0 0 0 ; line-height: 0; }
.about_sec .text .inner { padding: 0 15px; }
.about_sec p { text-align: unset; }
.fancybox-content { padding: 40px 15px 30px; }
.fancybox-content p { font-size: 16px; line-height: 1.4; padding-bottom: 10px; }
.testimonials_sec .heading { max-width: 350px; margin: 0 auto 25px; }
.testimonials_sec .heading h2:after,
.testimonials_sec .heading h2:before { top: auto; bottom: 3px; }
.testimonials_sec p { font-size: 15px; line-height: 1.4; }
.testimonials_sec .tesimonial_list { padding: 0; }
.testimonials_sec .slick-arrow { display: none; }
.testimonials_sec .slick-dots li { padding: 5px; }
.testimonials_sec .slick-dots { margin-top: 20px; }
.testimonials_sec .slick-arrow {  display: none !important;}
.newsletter_sec .tnp-subscription input[type="text"], .newsletter_sec .tnp-subscription input[type="email"] { height: 40px; font-size: 16px; padding: 10px 10px; }
.newsletter_sec .inner h3 { font-size: 30px; }
.newsletter_sec .dots { width: 110px; }
.newsletter_sec .inner h3 em { margin-bottom: 0; }
.footer_sec .contactbox { padding-left: 0; }
.footer_sec .logo { max-width: 170px; }
.footer_sec .contactbox { max-width: 250px; }
.footer_sec .contactbox .contacts { display: block; border: 0; padding-right: 0;  margin-right: 0; text-align: center; padding: 25px 0 0 0; background-position: center top; background-size: auto 20px; } 
.footer_sec .contactbox .contacts.phone { margin-bottom: 10px; padding-bottom: 15px; }
.footer_sec .contactbox .contacts.phone::after { display: block; left:0px; width: 100%; }
.footer_sec .col1 { border-bottom: 10px solid transparent;position: relative; }
.footer_sec .col1:after {width: 100%;height: 10px;content: '';position: absolute;left: 0;bottom: -10px;background: url(../images/border.jpg) center center no-repeat;background-size: 100% 100%;z-index: 1;}
.footer_sec .col2 { padding: 30px 15px; }
.footer_sec h4 em { margin-right: -10px; }
.footer_sec .col3 .inner { padding: 0 15px 0 15px; }



.blog-bar .inner { padding: 40px 0; }
.leftBlogBox h1,
.blog-bar h1 { padding-bottom: 20px; }
.blog-bar .leftBlogBox .postLoop { width: 100%; }
.blog-bar .details { padding: 40px 15px 15px; width: calc(100% - 20px); margin: -30px 10px 0; }

table { margin-bottom: 15px; }
.rightBlogBox { width: 100%; padding: 30px 0 0 0; }
.leftBlogBox { margin-top: 0; width: 100%; padding-right: 0; border: 0; }

/* .mobilesidebar { display: block; } */

.leftBlogBox #searchform input#s { border: 1px solid #7b7b7b; box-sizing: border-box; color: #7b7b7b; float: left; height: 30px; margin-right: 4px; padding: 5px; width: 200px; }
.leftBlogBox #searchform input#searchsubmit { background: #ea0000 none repeat scroll 0 0; border: medium none; color: #ffffff; cursor: pointer; float: left; font-weight: bold; height: 30px; text-transform: capitalize; width: 76px; }
.leftBlogBox #searchform input#searchsubmit:hover { background: #c70505 none repeat scroll 0 0; }
.leftBlogBox #cat { -moz-appearance: none; background: #ffffff url(../images/drop_arrow.png) calc(100% - 10px) center no-repeat; background-size:22px auto; border: 1px solid #0b9444 ; border-radius: 0; color: #000; cursor: pointer; float: left; font-size: 14px; line-height: 19px; margin: 10px 0 0 0; max-width: 100%; padding: 4px 2px; width: 100%; }
.leftBlogBox #cat option { color: #000000; font-size: 13px; padding: 2px 5px; }
.leftBlogBox #cat option { font-size: 13px; padding: 2px 5px; }
.leftBlogBox #searchform input#s { width: 200px; }
.wp-pagenavi { margin-bottom: 50px; }
.leftBlogBox #commentform input[type="text"], .leftBlogBox #commentform input[type="email"], .leftBlogBox #commentform textarea, .leftBlogBox #commentform input[type="url"] { border-radius: 0; font-size: 14px; line-height: 21px; padding: 7px; resize: none; width: 380px; }
.leftBlogBox h3#comments, .leftBlogBox #respond h3, h2.comments-title { font-style: normal; font-size:16px; line-height: 20px; }
.leftBlogBox #commentform { margin-top: 30px; }
.leftBlogBox .commentlist a.url, .leftBlogBox .commentlist cite.fn, .leftBlogBox a.url, .leftBlogBox cite.fn { font-size: 14px; line-height: 18px; }  
.leftBlogBox p { padding-bottom: 20px; }
.leftBlogBox .comment-list .comment-metadata { font-size: 14px; line-height: 18px; }
.leftBlogBox h3#comments, .leftBlogBox #respond h3 { font-size: 20px; }
.leftBlogBox #commentform p.form-submit input[type="submit"] { border-radius: 0; color: #ffffff; font-size: 15px; line-height: 20px; margin-left: 100px; }
.search-form input[type="submit"] { padding: 4px 16px; }
.leftBlogBox .widget .widget-title { display: none; }
.error404 .content-bar { min-height:250px; padding: 70px 0 50px; }  
.online_pay_sec .left::before { height:100%; margin:0; top:0; }
.content-bar { padding: 20px 0; }
.newsletter_sec .button { transform: translate(0px,0); }
.newsletter_sec .left .inner h2 { padding-right: 0; }
.newsletter_sec .left h2::before { width: 160px; margin-left: 0; }
.newsletter_sec .left { padding-bottom: 0; background-position:  93% top; }
.newsletter_sec .right { min-height: 350px; }


}



@media only screen and (max-width: 639px) {
.leftBlogBox #commentform input[type="text"], .leftBlogBox #commentform input[type="email"], .leftBlogBox #commentform textarea, .leftBlogBox #commentform input[type="url"] { font-size: 14px; width: 100%; }
.leftBlogBox #commentform textarea { height: 150px; }
.leftBlogBox #commentform p.form-submit input[type="submit"] { margin-left: 0; }
#commentform label { font-size: 14px; }
.leftBlogBox #commentform { margin-top: 20px; }
/* .mobilesidebar { display: block; width: 100%; } */
}



@media only screen and (max-width: 479px) {

/*.newsletter_sec .tnp-field-surname, .newsletter_sec .tnp-field-firstname { width: 100%; }*/
.newsletter_sec .tnp-subscription input.tnp-submit { font-size: 16px; width: auto; height: auto; letter-spacing: 0.04em !important; margin: 20px auto 0; display: block; letter-spacing: 0.05em; float: none; cursor: pointer; list-style: 1.2; padding: 10px 20px; }   


caption, th, td { float: left; padding-left: 0; padding-right: 0; width: 100%; }
caption, th, td { float: left; padding-left: 0; padding-right: 0; width: 100%; }
.alignleft, .alignnone, .alignright, .aligncenter { clear: both; display: block; float: none; height: auto; margin: 0 0 10px !important; max-width: 100%; }
.wp-caption { width: 98% !important; }
.wp-caption.alignleft, .wp-caption.alignnone, .wp-caption.lignright, .wp-caption.aligncenter { float: none; margin: 0 0 10px !important; }
.wp-caption.alignleft img, .wp-caption.alignnone img, .wp-caption.lignright img, .wp-caption.aligncenter img { height: auto; max-width: 96%; width: 96%; }
.wp-caption img { width: 96%; }
.wp-caption p { padding: 3px !important; }
td img.alignnone { margin: 0 !important; }
}

@media only screen and (max-width: 374px) {
.top_sec .contact { font-size: 9px; }
}

@media only screen and (min-width: 768px) {
.mm-menu.mm-current { display: none !important; }
html.mm-opening .mm-slideout { transform: translate(0px, 0px) !important; -webkit-transform: translate(0px, 0px) !important; }
html.mm-opened { overflow: visible !important; }
html.mm-opened body { overflow: visible !important; }
#mm-blocker { display: none !important; }
}