@media only screen and (max-width: 1919px) {
    .footer_sec .right h4 { font-size: 40px; }

}



@media only screen and (max-width: 1599px) {
    .header_sec .logo { max-width: 350px; }
    .header_sec .wrapper { padding-top: 30px; }
    #wrapper { padding-top: 124px; }
    .service_sec .slides img { max-width: 120px; }
    .service_sec h3 { font-size: 22px; }

    .gallery_sec .slick-dots li button,
    .slider-bar .custom .tp-bullet,
    .service_sec .slick-dots li button { width: 20px; height: 20px; }

    .gallery_sec .slick-dots li ,
    .service_sec .slick-dots li { padding: 5px 8px; }

    .service_sec p,
    .welcome_sec p,
    .about_sec p { font-size: 18px; line-height: 1.5; padding-bottom: 20px; }

    .about_sec .images::before { width: 320px; height: 320px; }
    
    .gallery_sec h2,
    .events_sec h2,
    .about_sec h2,
    .service_sec h2,
    .welcome_sec h2 { letter-spacing: normal; font-size: 60px; }

    .gallery_sec .tabs li,
    .events_sec .tabs li { font-size: 30px; }

    .gallery_sec .horizontalTab { padding: 0; }
    .gallery_sec h2 { padding-left: 0; }
    .gallery_sec .tabs { top: -40px; width: calc(100% - 400px); }
    .gallery_sec .tabs::before { width: 70px; left: -70px; }
    .footer_sec .right { padding: 60px 40px 30px 40px; }
    .footer_sec .right h4 { font-size: 34px; }
    .footer_sec .right h3 { font-size: 23px; }
    .footer_sec .logo { padding: 30px 20px; }
    .footer_sec .logo a {max-width: 250px; margin-bottom: 0; }
    .gallery_sec .tabs { right: 15px; }
    .events_sec .tabs { margin-bottom: 15px; }

}



@media only screen and (max-width: 1279px) {
h1, .h1 { font-size: 45px; }
h2, .h2 { font-size: 40px; }
h3, .h3 { font-size: 28px; }
h4, .h4 { font-size: 24px; }
h5, .h5 { font-size: 20px; }
h6, .h6 { font-size: 16px; }
html, body { font-size: 18px; }

.service_sec .slick-active + .slick-active + .slick-active .slides:before { display: none; }
.about_sec .images { padding-left: 30px; }
.about_sec .images::before { width: 270px; height: 270px; }
.gallery_sec h2 { width: 100%; text-align: center; padding-bottom: 20px; }
.gallery_sec .tabs { position: relative; top: auto; left: auto; width: 100%; right: auto; max-width: 1080px; margin: 0 auto; padding: 0 40px; }
.gallery_sec .tabs .slick-arrow { left: 10px; }
.gallery_sec .tabs .slick-arrow.slick-next { right: 10px; }  
.newsletter_sec h2 { font-size: 70px; }
.newsletter_sec h3 { font-size: 40px; }
.footer_sec form .wpcf7-form-control.button { font-size: 20px !important; width: 170px; margin: 15px auto 0; }
.footer_sec .wpcf7-form-control-wrap[data-name="your-message"] { margin-top: 20px; }
.copyright_sec { padding: 20px 0; }
.gallery_sec .tabs { margin-bottom: -155px; }


.gallery_sec .tabs.indexed { z-index: 1; }
























}



@media only screen and (max-width: 1023px) {
h1, .h1 { font-size: 35px; }
h2, .h2 { font-size: 30px; }
h3, .h3 { font-size: 25px; }
h4, .h4 { font-size: 22px; }
h5, .h5 { font-size: 20px; }
h6, .h6 { font-size: 16px; }
html, body { font-size: 18px; }

.header_sec li { width: 40px; height: 40px; margin-right: 10px; }
.header_sec li a { width: 40px; height: 40px; line-height: 40px; display: block; font-size: 17px; }
.header_sec .logo { max-width: 200px; }
.header_sec .wrapper { background-size: 50% 100%; }
.header_sec .logo { transform: translate(-55px,0); }
#wrapper { padding-top: 105px; }

.gallery_sec h2, .events_sec h2, .about_sec h2, .service_sec h2, .welcome_sec h2 { letter-spacing: normal; font-size: 45px; }
.welcome_sec { padding: 50px 0 40px; }
.service_sec h3 { font-size: 20px; }
.service_sec p, .welcome_sec p, .about_sec p { font-size: 16px; line-height: 1.4; padding-bottom: 15px; }

.about_sec .image1 { width: 65%; }
.about_sec .image2 { width: 65%; left: 30%; top: 40%; }
.about_sec .text { padding-top: 0; }
.about_sec .images { margin-top: 40px; }
.about_sec .images::before { width: 200px; height: 200px; right: 60px; }
.gallery_sec .tabs li, .events_sec .tabs li { font-size: 20px; }
.gallery_sec .tabs .slick-arrow,
.events_sec .slick-arrow { width: 20px; height: 20px; left: 10px; }
.events_sec .slick-arrow.slick-next { left: auto; right: 10px; }
.newsletter_sec h2 { font-size: 60px; } 
.newsletter_sec .tnp-subscription input[type="text"], .newsletter_sec .tnp-subscription input[type="email"] { height: 40px; font-size: 16px; padding: 10px 20px; }
.footer_sec .left { width: 100%; }
.footer_sec .right { padding: 60px 20px 30px 20px; width: 100%; }

.events_sec .tabs .slick-active + .slick-active .tab::after, .events_sec .tabs .slick-active + .slick-active .tab::before { height: 20px; width: 4px; }
.gallery_sec .tabs .slick-active + .slick-active .tab::after, .gallery_sec .tabs .slick-active + .slick-active .tab::before { height: 20px; width: 4px; }
.gallery_sec .tabs .tab.has_subcat .subcat { width: 20px; height: 20px; top: 1px; }

.gallery_sec .tabs::after { top: 7px; }
.gallery_sec .tabs::before { top: 7px; }
.gallery_sec .tabs .tab .subcatlist li { font-size: 16px; }
.gallery_sec .tabs .tab .subcatlist { width: 220px; }
.gallery_sec .gallery_slider .slides a.pic.has_video::before { width: 60px; height: 60px; }

.gallery_sec .tabs::after ,
.gallery_sec .tabs::before { display: none; }

}



@media only screen and (max-width: 767px) {
html, body { font-size: 16px; }
#wrapper { padding-top: 99px; }
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; }

.stickyhead .header_sec { display: block; }
#header-bar.stickyhead { animation: none; -webkit-animation: none; }
#header-bar { position: fixed; left: 0; top: 0; }
#header-bar.sticky_added {  padding: 0; }
.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: #1332be; }
.stickyhead .nav-bar { display: none; }
.stickyhead .header_sec .logo { max-width: 150px; }

#rev_slider_2_1_wrapper .custom.tparrows { display: none !important; }

.slider-bar .custom .tp-bullet { position: relative; left: auto !important; top: auto !important; display: inline-block; vertical-align: top; margin: 5px; }
.slider-bar .custom.tp-bullets { z-index: 99 !important; width: 100% !important; transform: none !important; left: 0 !important; bottom: 15px !important; top: auto !important; text-align: center; } 

.inner-banner-bar { min-height:200px; }
.nav-bar .sub-menu { width: 100%; position: relative; left: auto; top: auto; opacity: 100; visibility: visible; transition: none; display: none; }
.error404 .content-bar { min-height:250px; padding: 70px 0 50px; }  
.content-bar { padding: 20px 0; }

.header_sec li { width: 25px; height: 25px; margin-right: 7px; }
.header_sec li a { width: 25px; height: 25px; line-height: 25px; font-size: 12px; }
.header_sec .logo { transform: translate(-10px,0); max-width: 150px; }
.header_sec .wrapper { padding: 10px 15px; }
.header_sec .wrapper:before { width: 100%; height: 100%; content: ''; position: absolute; left: 0; top: 0; background: rgba(0,0,0,0.7); }
.header_sec .menu_trigger span.icon { width: 35px; height: 35px; }
.header_sec .menu_trigger span.icon span { width: 35px; height: 4px; left: 4px; }
.header_sec .menu_trigger span.icon span::before { top: -10px; height: 4px; }
.header_sec .menu_trigger span.icon span::after { top: 10px; height: 4px; }
#wrapper { padding-top: 68px; }
.gallery_sec .slick-dots li button, .slider-bar .custom .tp-bullet, .service_sec .slick-dots li button { width: 15px; height: 15px; }
.events_sec h2 { padding-bottom: 20px; position: static; }
.events_sec { padding-top: 40px; }
.gallery_sec h2, .events_sec h2, .about_sec h2, .service_sec h2, .welcome_sec h2 { letter-spacing: normal; font-size: 35px; }
.welcome_sec h2 { padding-bottom: 10px; }
.service_sec .slides::before { display: none; }
.about_sec .images { padding-bottom: 38%; width: 100%; padding-left: 0; }
.about_sec .text P { width: 100%; }
.about_sec .image1 { width: 70%; }
.about_sec .image2 { width: 70%; }
.about_sec .text { padding: 0; width: 100%; }
.about_sec h2 {padding-left: 0; }
.fancybox-content { padding: 45px 20px 20px; }
.gallery_sec .gallery_slider .slick-arrow { display: none !important; }
.gallery_sec .gallery_slider { padding-left: 0; padding-right: 0; }
.newsletter_sec h3 { font-size: 22px; }  
.newsletter_sec h2 { font-size: 35px; }
.newsletter_sec { padding-top: 40px; }
.footer_sec form .wpcf7-form-control.button,
.newsletter_sec .tnp-subscription input.tnp-submit { font-size: 16px !important; line-height: 20px; padding: 10px 20px !important; width: auto; }
.footer_sec .logo a { max-width: 150px; }
.footer_sec .right h3 { font-size: 16px; }
.footer_sec .right h4 { font-size: 22px; }
.footer_sec .wpcf7-form-control-wrap { width: 100%; }
.footer_sec .wpcf7-form-control-wrap[data-name="your-message"] { margin-top: 0; }
.footer_sec form .wpcf7-form-control.button { padding: 15px 0; }
.gallery_sec .tabs li, .events_sec .tabs li { font-size: 16px; }
.events_sec .tabs { padding: 0 25px; }
.gallery_sec .tabs .slick-arrow, 
.events_sec .tabs .slick-arrow { left: 0; }
.gallery_sec .tabs .slick-arrow.slick-next,
.events_sec .tabs .slick-arrow.slick-next { left: auto; right: 5px; }
.events_sec .tabs { margin-bottom: 15px; }
.gallery_sec .tabs { padding: 0 20px; }
.gallery_sec .tabs .tab.has_subcat { padding-right: 35px; }
.gallery_sec .tabs .tab.has_subcat .subcat { width: 15px; height: 15px; top: 1px; }
.gallery_sec .tabs .tab .subcatlist li { font-size: 14px; }
.gallery_sec .tabs .tab .subcatlist { width: 180px; }
.stickyhead .nav-bar { display: none !important; }
.stickyhead.sticky_added .nav-bar { display: block !important; }




}



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


}



@media only screen and (max-width: 479px) {
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; }
}