/* Mobile Menu */

.navbar-header {
    position: relative;
}

#mobile-nav-open-btn {
    font-size: 30px;
    color: red;
    cursor: pointer;
    z-index: 2;
    position: absolute;
    right: 15px;
    top: 20px;
    /* hide mobile nav open btn */
    display: none;
}

#mobile-nav {
    /* by default, mobile nav will be hidden with height 0% */
    height: 0%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    background-color: rgba(245,245,245, .9);
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
    overflow-y: hidden;
    
}

#mobile-nav-close-btn{
    font-family: "Roboto", sans-serif;
    font-size: 70px;
    color:#212226;
    font-weight: 400;
    cursor: pointer;
    position: absolute;
    top: -9px;
    right: 13px;
    -webkit-transition: .3s;
    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: "Roboto", sans-serif;
    font-size: 18px;
    color: red;
    font-weight: 400;
    text-transform: uppercase;
    display: inline;
    -webkit-transition: .3s;
    transition: .3s;
}
#mobile-nav a:hover,
#mobile-nav a:focus,
#mobile-nav-close-btn:hover,
#mobile-nav-close-btn:focus {
    color:limegreen;
    background: none;
    
}

.white-nav-top #mobile-nav ul.navbar-nav>li>a.active {
    color: red;
    font-weight: 500;

}


/*
=====Bootstrap 4 Media queries ====
*/

/* Large devices (desktops and large laptops) */

@media (min-width: 1200px) and (max-width: 1299px) {

    /* Navigation */
    .site-nav-wrapper {

        padding: 0 20px;
    }

}


/* Medium devices (lanscape tablets and medium desktops) */

@media (min-width: 992px) and (max-width: 1199px) {

    /* Navigation */
    .site-nav-wrapper {

        padding: 0;
    }

    /* Generic */
    .vertical-heading h2 {
        font-size: 29px;
    }

    /* services 02 */
    #services-tabs .tab-bg {
        padding: 16px 30px;
        min-height: 300px;
    }

    .service-tab b {
        line-height: 20px;
    }


}

/* Small devices (portrait tablets and small desktops) */

@media (min-width: 768px) and (max-width: 991px) {

    /* Navigation */
    .site-nav-wrapper {

        padding: 0;
    }
    
    .navbar {
        padding: 20px;
    }
    
     /* show mobile nav open btn */
    #mobile-nav-open-btn {
        display: block;
    }
    

    /* Home */
    #home-heading h1 {
        font-size: 41px;
    }

    #home-text p {
        font-size: 13px;
    }

    /* Generic */
    .btn-general {
        padding: 8px 35px 8px 35px;
        font-size: 10px;
    }

    /* Generic */
    .vertical-heading h2 {
        font-size: 29px;
    }

    /* tech statement */
    #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: "Roboto", sans-serif;
        font-size: 13px;
        color: #212226;
        text-transform: uppercase;
        font-weight: 400;
        padding: 0;
        text-decoration: none;
    }

    /* Tab active State */
    .r-tabs-accordion-title.r-tabs-state-active a {
        color: #f4c613;
        font-weight: 700;
        border-bottom: 3px solid #f4c613;
        padding-bottom: 5px;
        -webkit-transition: border-color 300ms linear;
        transition: border-color 300ms linear;
    }

    /* Pricing */
    .pricing-table .price h2 {
        margin: 0 0 0 6px;
        font-size: 35px;
    }

    /* Stats */
    .stats-item p {
        line-height: 18px;
    }

    /* Blog */
    .blog-post .post-meta p {
        line-height: 14px;
    }


    /* Contact */
    ul.office-details li {
        margin-right: 15px;
    }

    ul.office-details li i {
        width: 25px;

    }
    
    .white-nav-top #mobile-nav-open-btn {
        top: 20px
    }
}


/* Extra Small devices (lanscape phones and portrait tablets) */

@media (max-width: 767px) {

    /* Navigation */
    .navbar {
        padding: 20px;
    }
    .site-nav-wrapper, .white-nav-top {
        padding: 5px;
    }
    
    /* show mobile nav open btn */
    #mobile-nav-open-btn {
        display: block;
    }

    /* Home */
    #home-heading h1 {
        font-size: 22px;
    }

    #home-text p {
        font-size: 13px;
        line-height: 18px;
        margin: 8px 2px 30px 2px;
    }

    /* Generic */
    .btn-general {
        padding: 8px 25px 6px 25px;
        font-size: 10px;
    }

    /* About */
    /*large content box */
    .content-box-lg {
        padding: 90px 0;

    }

    /* Vertical Heading */
    .vertical-heading {
        text-align: center;
    }

    .vertical-heading h5 {
        -webkit-transform: rotate(0deg);
        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 02 */
    /* Medium content box */
    .content-box-md {
        padding: 80px 0;
    }

    .about-item {
        padding: 55px 35px;
        margin-bottom: 35px;
    }

    .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 */
    
    #tech-statement h3 {
        font-size: 20px;
        line-height: 30px;
    }

    /* Services 01*/

    /* Horizontal Heading */
    .horizontal-heading {
        margin-bottom: 40px;
    }

    .horizontal-heading h2 {
        font-size: 30px;

    }

    #services-01 img {
        margin: 35px 0;

    }

    .service,
    .service .icon {
        text-align: center !important;

    }

    .service h4 {
        font-size: 18px;
    }

    /* services 02 */
    .r-tabs-accordion-title {
        text-align: center;
        margin-bottom: 10px;

    }

    .r-tabs-accordion-title a {
        font-family: "Roboto", sans-serif;
        font-size: 13px;
        color: #212226;
        text-transform: uppercase;
        font-weight: 400;
        padding: 0;
        text-decoration: none;
    }

    /* Tab active State */
    .r-tabs-accordion-title.r-tabs-state-active a {
        color: #f4c613;
        font-weight: 700;
        border-bottom: 3px solid #f4c613;
        padding-bottom: 5px;
        -webkit-transition: border-color 300ms linear;
        transition: border-color 300ms linear;
    }

    #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 */
    #testimonials {
        padding-top: 45px;

    }

    #testimonial-slider {
        top: 0;

    }

    #testimonials .vertical-heading {
        padding: 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 {
        font-size: 28px;
        margin: 0 0 0 16px;
    }

    /* 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 {
        width: auto;
        display: block;
        margin-bottom: 3px;
    }

    ul.social-list {
        margin-bottom: 40px;
    }
    
    .white-nav-top #mobile-nav-open-btn {
        top: 5px
    }

}

/* Extra Small devices (portrait phones and smaller) */

@media (max-width: 480px) {
    /* Home */
    #home-heading h1 {
        font-size: 18px;
    }
    #home-text p {
        font-size: 11px;
        line-height: 16px;
        margin: 8px 10px 25px 10px;
    }
    /* Generic */
    .vertical-heading h2 {
        font-size: 22px;
    }
    /* Portfolio */
    #isotope-filters {
        text-align: center;
    }
    #isotope-filters button {
        font-size: 10px;
        padding-right: 14px;
    }
    /* Testimonials */
    .testimonial h3 {
        font-size: 14px;
        line-height: 18px;
    }
    .testimonial .stars {
        font-size: 13px;
    }
}


/* Extra Small Devices (Portrait Phones & Smaller Devices) */

@media (max-width: 320px) {
    /* Testimonials */
    .testimonial h3 {
        font-size: 12px;
        line-height: 16px;
    }
    .testimonial .stars {
        font-size: 10px;
    }
}