/*================================
    Booststrap 3 Media Queries
==============================*/

/*Mobile Menu*/
.navbar-header {
    position: relative;
}

#mobile-nav-open-btn {
    font-size: 30px;
    color: #F8B818;
    cursor: pointer;
    z-index: 2;
    position:absolute;
    right: 0;
    top: 6px;
    /* hide mobile nav open btn*/
    display:none;
}

#mobile-nav {
    height: 0%;/*mobile nav will be hidden by default with height 0%*/
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    background-color: rgba(255, 255, 255, .9);
    transition: all 300ms linear;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    overflow-y: hidden;
}

#mobile-nav-close-btn {
    font-family: "Raleway", sans-serif;
    font-size: 70px;
    color: #212226;
    font-weight:400;
    cursor: pointer;
    position: absolute;
    top: -9px;
    right: 13px;
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
}

#mobile-nav-content {
    text-align:center;
    width: 100%;
    margin-top: 30px;
    position: relative;
    top: 10%;
}

#mobile-nav ul li {
   margin-bottom: 20px; 
}

#mobile-nav a {
   font-family:"Raleway", sans-serif;
   font-size: 18px;
   color: #212226;
   font-weight: 400;
   text-transform: uppercase;
   display: inline;
   transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
}

#mobile-nav a:hover,
#mobile-nav a:focus,
#mobile-nav-close-btn:hover,
#mobile-nav-close-btn:focus
{
   color: #F8B818;
   background:none;
}

.white-nav-top #mobile-nav ul.nav > li.active > a {
    color:#F8B818;
    font-weight: 500;
}


/*   Large Devices (Desktop & Laptops)   */
@media (min-width: 1200px) and (max-width: 1299px) {
   
    .site-nav-wrapper {
        padding: 0 20px;
    }

}

/*   Medium Devices (Landscape Tablets & Medium Desktop)   */
@media (min-width: 992px) and (max-width: 1199px) {
   
     .site-nav-wrapper {
        padding: 0;
    }

     .vertical-heading h2 {
        font-size: 29px;
    }

    #services-tabs .tab-bg {
        padding: 16px 30px;
        min-height: 400px;
    }

    .service-tab p {
        line-height: 20px;
    }

}

/*   Small Devices (Portrait Tablets & Small Desktop)   */
@media (min-width: 768px) and (max-width: 991px) {
      
    .site-nav-wrapper {
        padding: 0;
    }

    /*  Home  */

    #home-heading h1 {
        font-size: 41px;
    }

    #home-text p {
        font-size: 13px;
    }

    .btn-general {
        padding: 8px 35px 8px 35px;
        font-size: 10px;
    }

     .vertical-heading h2 {
        font-size: 29px;
    }

    #tech-statement h3 {
        font-size: 20px;
        line-height: 30px;
    }
    
    /* Services 02 */
    .r-tabs-accordion-title {
        text-align: center;
        margin-bottom: 10px;
    }

    .r-tabs-accordion-title a {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    color: #212226;
    text-transform: uppercase;
    font-weight: 400;
    padding: 0;
    text-decoration: none;
    }

    .r-tabs-accordion-title.r-tabs-state-active a {
    color:#F8B818;
    font-weight: 700;
    border-bottom: 3px solid #F8B818;
    padding-bottom: 5px;
    transition: border-color 300ms linear;
    -webkit-transition: border-color 300ms linear;
    -moz-transition: border-color 300ms linear;
    -ms-transition: border-color 300ms linear;
    -o-transition: border-color 300ms linear;
    }

    /* Pricing  */
    .pricing-table .price h2 {
        margin: 0 0 0 6px;
        font-size: 35px;
    }

    .stats-item p {
        line-height: 18px;
    }

    .blog-post .post-meta p {
        line-height: 14px;
    }

    ul.office-details li {
        margin-right: 15px;
    }

    ul.office-details li i {
        width: 25px;
    }
}

/*   Extra-Small Devices (Lanscape Phones & Portrait Tablets)   */
@media (max-width: 767px) {
    
    /*Navigation*/
    .navbar {
        padding: 20px 0;
    }

    .site-nav-wrapper,
    .white-nav-wrapper {
        padding: 0;
    }

    #mobile-nav-open-btn{  /*show mobile nav*/
        display: block;
    }

    /*  Home  */
    #home-heading h1 {
        font-size: 22px;
    }

    #home-text p {
        font-size: 13px;
        line-height: 18px;
    }

    .btn-general {
        padding: 8px 25px 6px 25px;
        font-size: 10px;
    }

    /*  About 1  */
    .content-box-lg {
        padding: 90px 0;
    }

    .vertical-heading{
        text-align: center;
     }

    .vertical-heading h5 {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        display: block;
        position: static;
        margin-bottom: 15px;
    }

     .vertical-heading h2 {
        font-size: 29px;
        line-height: normal;
        margin: 0;
     }

     #about-left {
        margin-bottom: 50px;
     }

     #about-right {
        text-align: center;
     }
    
     /*  About 2  */
    .content-box-md {
        padding: 80px 0;
    }

    .about-item {
        padding: 55px 30px 0;
        margin-bottom: 30px;
    }

     .about-item i {
       font-size: 30px;
    }

     .about-item h3 {
       font-size: 18px;
    }

    /*  Team  */
    #team-left .vertical-heading {
    min-height: 130px;
    }

    .skill h4 {
        font-size:14px;
        line-height: 35px;
    }

    #tech-statement h3 {
        font-size:20px;
        line-height: 30px;
    }

    /*  Services 1  */
    .horizontal-heading {
    margin-bottom: 40px;
 }

    .horizontal-heading h2 {
       font-size: 30px;
    }

    .services-01 img {
        margin: 35px 0;
    }

    .service, .service .icon {
        text-align: center;
    }

    .service h4 {
        font-size: 18px;
    }

    /* Services 02 */
    .r-tabs-accordion-title {
        text-align: center;
        margin-bottom: 10px;
    }

    .r-tabs-accordion-title a {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    color: #212226;
    text-transform: uppercase;
    font-weight: 400;
    padding: 0;
    text-decoration: none;
    }

    .r-tabs-accordion-title.r-tabs-state-active a {
    color:#F8B818;
    font-weight: 700;
    border-bottom: 3px solid #F8B818;
    padding-bottom: 5px;
    transition: border-color 300ms linear;
    -webkit-transition: border-color 300ms linear;
    -moz-transition: border-color 300ms linear;
    -ms-transition: border-color 300ms linear;
    -o-transition: border-color 300ms linear;
    }

    #services-tabs .tab.bg {
        text-align: center;
        padding: 40px 30px;
    }

    #services-tabs .tab.bg {
        text-align: center;
        padding: 40px 30px;
    }

    #services-tabs h2 {
        font-size: 40px;
    }

    #services-tabs h3 {
        font-size: 28px;
    }

    /* Portfolio */
    #portfolio {
        padding-bottom: 0;
    }

    #isotope-filters button {
        padding-right: 15px;
    }

    /* Testimonial */
    #testimonial {
        padding-top: 45px;
    }
    
    #testimonials .vertical-heading {
    padding: 40px 0 0 0;
    }

    #testimonial-slider {
        top: 0;
    }

    .testimonial .row {
        margin: 0;
    }
    
    .testimonial h3{
    font-size: 20px;
    }

    .testimonial .stars {
        font-size: 16px;
    }

    .author img {
        width: 80px !important;
    }

    /* Pricing */

    .pricing-table {
        margin-bottom: 30px;
    }
    
    .pricing-table .price h2 {
        margin: 0 0 0 16px;
        font-size: 28px;
    }
    
    /* Stats*/
    .stats-item {
        margin-bottom: 20px;
        padding:25px 5px;
    }

    .stats-item i {
        font-size: 30px;
    }

     .stats-item h3 {
        font-size: 24px;
    }

    /*Blog*/
    #blog-left {
        text-align: center;
        margin-bottom: 30px;
    }

     .blog-post {
        margin-bottom: 25px;
    }

    /* Contact */
    #contact-left {
        text-align: center;
    }
  
    .office {
        margin-bottom: 40px;
    }
    
    ul.office-details li {
        display: block;
        margin-top: 25px;
    }
    
     ul.office-details li i {
        display: block;
        margin-bottom: 3px;
        width: auto;
    }
    
    ul.social-list {
        margin-bottom: 40px;
    }
}

/*   Extra-Small Devices (Portrait Phones & smaller Devices)   */
@media (max-width: 480px)  {

     /*  Home  */

    #home-heading h1 {
        font-size: 18px;
    }

    #home-text p {
        font-size: 11px;
        list-style: 16px;
        margin: 8px 10px 25px 10px;
    }

    .btn-general {
        padding: 6px 25px 6px 25px;
        font-size: 10px;
    }

    .vertical-heading h2 {
        font-size: 22px;
     }

     #isotope-filters {
        text-align: center;
    }

    #isotope-filters button {
        padding-right: 14px;
        font-size: 10px;
    }  

      .horizontal-heading h2 {
        font-size: 22px;
     }

      /* Testimonial */
    .testimonial h3{
    font-size: 14px;
    line-height: 18px;
    }

    .testimonial .stars {
        font-size: 13px;
    }
}

/*   Extra-Small Devices (Portrait Phones & smaller Devices)   */
@media (max-width: 320px)  {

     /* Testimonial */
    .testimonial h3{
    font-size: 12px;
    line-height: 16px;
    }

    .testimonial .stars {
        font-size: 10px;
    }

}