@media(min-width:768px) {
    #navbar.navbar-collapse {
        display: table-cell !important;
    }
}

@media(max-width:1480px) {
    .container {
        width: 100%;
        padding: 0 2%;
        box-sizing: border-box
    }
    .main-content{
        overflow-x: hidden
    }
}

@media(max-width:1280px) {
    .container-inner {
        width: 100%;
        padding: 0 2%;
        box-sizing: border-box
    }
    .header .menu .navbar {
        padding-left: 0
    }
    .footer-inner {
        padding-right: 0
    }
}

@media(max-width:1269px) {
    .about_left {
        width: 55%;
        padding-right: 2%
    }
    .thumb_img {
        width: 235px;
        height: 170px;
    }
    .gallery {
        width: 55%;
    }
    .work_inner {
        width: 45%
    }
    .about,
    .our_work,
    .testimonial {
        padding-bottom: 40px;
    }
    .logo {
        width: 380px;
    }
    #navbar ul.nav.navbar-nav li {
        padding: 0 30px
    }
    .f_logo,
    .association,
    .acn_lic,
    .f_contact {
        width: 50%;
        /*display: block*/
    }
    .association,
    .acn_lic,
    .f_contact {
        padding-top: 85px
    }
    .f_right {
        padding-top: 35px
    }
    #navbar ul.nav.navbar-nav li a {
        font-size: 21px;
    }
    .logo {
        width: 320px;
    }
    #myHeader.sticky_head #navbar ul.nav.navbar-nav li a {
        font-size: 21px
    }
    .f_contact,
    .acn_lic{
        padding-left: 0
    }
}

@media(max-width:1023px) {
    .logo {
        width: 220px;
    }
    .header .menu {
        height: 100px;
    }
    #navbar ul.nav.navbar-nav li a,
    a.logo_num {
        font-size: 18px;
    }
    #myHeader.sticky_head #navbar ul.nav.navbar-nav li a,
    #myHeader.sticky_head a.logo_num {
        font-size: 18px;
    }
    #navbar ul.nav.navbar-nav li {
        padding: 0 15px;
    }
    #myHeader.sticky_head .logo {
        width: 220px;
    }
    .gallery,
    .work_inner {
        width: 100%
    }
    .gallery {
        padding-top: 40px;
    }
    .about,
    .our_work,
    .testimonial {
        padding-bottom: 20px;
    }
    /*#myHeader.sticky_head .menu {
        height: 80px;
    }*/
    .thumb_img {
        width: 275px;
        height: 205px;
    }
    .thumb_img {
        margin-right: 30px;
    }
    .contact-detail h2,
    .about .about_left h2,
    .work_inner h2,
    .gallery h2,
    #work.our_work h2 {
        font-size: 28px;
    }
    .about .about_left p {
        font-size: 17px;
    }
    .contact-detail .social-icon{
       display:block;
    }
    .banner {
        margin-bottom: 10px
    }
    .about .about_left h3,
    #work.our_work h3, .news h3{
        font-size: 24px;
        padding-bottom: 15px;
    }
    .about .about_left h4 {
        font-size: 19px;
    }
    .our_work,
    .testimonial,
    .contact-us,
    .about {
        padding-top: 110px
    }
    .testimonial{
        padding-bottom: 50px
    }
    .f_logo a {
        width: 180px;
        height: auto
    }
    .f_logo a img {
        width: 100%
    }
    .association,
    .acn_lic,
    .f_contact {
        padding-top: 50px;
    }
    .footer-inner h3 {
        font-size: 24px;
    }
    .contact-detail p {
        padding: 10px 0;
    }
    .f_contact,
    .acn_lic{
        padding-left: 0
    }
    .f_left.f_contact{
        display: none
    }
    .f_logo, .association, .acn_lic, .f_contact{
        width: 33%;
        padding: 0
    }
    .f_logo a img {
    width: 80%;
    }
    .footer{
        padding: 35px 0 25px
    }
}

@media(max-width:767px) {
    .contact-detail .social-icon{
        padding-bottom:15px
    }
    .banner{
        padding-top: 0
    }
    .btn-default.sub_btn{
        float: left;
        margin-top: 10px
    }
    .right_img {
        display: none
    }
    .about_left {
        width: 100%
    }
    
    #navbar.navbar-collapse {
        position: absolute;
        left: 0;
        top: 80px;
        background: rgba(255, 255, 255, 1);
        padding: 0;
        width: 100%;
        border: 0;
        border-bottom: 1px solid #eaeaea
    }
    .header .menu .navbar {
        position: static;
    }
    .header {
        position: relative
    }
    #navbar ul.nav.navbar-nav li {
        width: 100%;
        text-align: center;
        padding: 0;
        border: 0
    }
    #navbar ul.nav.navbar-nav {
        margin: 0;
        padding: 15px 0;
        0
    }
    #navbar ul.nav.navbar-nav li a,
    #myHeader.sticky_head #navbar ul.nav.navbar-nav li a {
        font-size: 19px;
        padding: 15px 0
    }
    .navbar-default .navbar-toggle:focus,
    .navbar-default .navbar-toggle:hover,
    .navbar-default .navbar-toggle {
        background: transparent;
        border: 0;
        margin-right: 0 
    }
    .navbar-toggle{
           
    }
    .navbar-default .navbar-toggle .icon-bar {
        background: #000
    }
    .navbar-toggle .icon-bar {
        width: 26px;
        height: 3px;
    }
    .navbar-toggle .icon-bar+.icon-bar {
        margin-top: 7px;
    }
    .navbar-toggle .icon-bar+.icon-bar {
        margin-top: 4px;
    }
    .f_logo,
    .association,
    .acn_lic,
    .f_contact {
        width: 100%;
        font-size: 16px;
        padding: 20px 0 0
    }
    a.logo_num,
    /*#myHeader.sticky_head a.logo_num {
        font-size: 17px;
    }*/
    /*#myHeader.sticky_head {
        background: #ffffff;
    }*/
    .f_logo a {
        width: 160px
    }
    .f_contact .social-icon p {
        font-size: 16px;
    }
    .footer-inner h3 {
        font-size: 19px;
        padding-bottom: 15px;
    }
    .footer {
        padding: 30px 0 35px
    }
    .contact-detail h2,
    .about .about_left h2,
    .work_inner h2,
    .gallery h2,
    #work.our_work h2 {
        font-size: 23px;
        padding-bottom: 25px
    }
    .testimonial h3 {
        margin-bottom: 25px;
        font-size: 22px;
    }
    .contact-detail p {
        font-size: 17px;
        padding: 5px 0;
    }
    .contact-form h3 {
        font-size: 23px;
    }
    .about,
    .our_work,
    .testimonial {
        padding-bottom: 0
    }
    .news {
        padding-top: 20px;
        padding-bottom: 20px
    }
    .about .about_left p,
    .our_work p,
    .testimonial p,
    .work_inner ul li {
        font-size: 16px;
        line-height: 24px
    }
    .work_inner ul li {
        padding: 5px 20px
    }
    .about .about_left h4,
    .testimonial h4 {
        font-size: 18px;
        line-height: 24px;
        padding: 15px 0
    }
    .about .about_left h3,
    #work.our_work h3, .news h3,
    .contact-form h3{
        font-size: 21px;
    }
    .work_inner h4 {
        font-size: 19px;
        padding-bottom: 15px
    }
    .testimonial p {
        padding-bottom: 15px;
    }
    .header .menu {
        height: 80px;
    }
    .logo {
        width: 200px;
    }
    .our_work,
    .testimonial,
    .contact-us,
    .about {
        padding-top: 40px
    }
    .container-inner,
    .container {
        padding: 0 3%;
    }
    #myHeader.sticky_head .menu{
        height: 80px
    }
    .navbar-toggle{
        margin-top: 15px
    }
    .about{
        padding-top: 50px
    }
    
    .fancybox-opened .fancybox-title {    background:#ffffff; background-image: none;    background-size: auto 50px; height: auto;}
    .fancybox-title-float-wrap .child {    padding-bottom: 0px; width: 100%; text-align: center; line-height: 1.5; white-space: normal;}
    .fancybox-title-float-wrap { margin-bottom: -15px;}
    
    
    .f_logo, .association{
        width: 50%;
    float: left;
        padding-top: 0
    }
    .f_logo a img{
        width: 70%
    }
    .association a img{
        width: 60px;height: auto;object-fit: contain
    }
    .footer-inner h3 {
        font-size: 18px;
        padding-bottom: 13px;
    }
    .f_left.acn_lic{
        text-align: center
    }
}