/*========================================
==========================================
==========================================
            BOOTSTRAP MEDIA QUERIES
==========================================
==========================================
========================================*/

/*==================================================
====================================================
    Large Devices (Desktops & Laptops) min1200px
====================================================
==================================================*/

/*=========================================================================================================
===========================================================================================================
Medium Devices (Landscape Tablets & Medium Desktops)
===========================================================================================================
=========================================================================================================*/
@media (min-width: 992px) and (max-width: 1200px) {
  /*========================================
                    Navigation 
    ========================================*/

  /*========================================
                    Services 02 
    ========================================*/
  #services-tabs .tab-bg {
    padding: 16px 30px;
    min-height: 320px;
  }
  .service-tab p {
    line-height: 20px;
  }

  /*======================================== 
                    News
    ========================================*/
  .blog-post {
    height: 100%;
  }
  .blog-post .post-meta {
    margin-top: 10px;
  }
  .blog-post .col-md-8,
  .blog-post .col-md-4 {
    padding: 0;
  }
}

/*======================================================================================================
========================================================================================================
Small Devices (Portrait Tablets & Small Desktops)
========================================================================================================
======================================================================================================*/
@media (min-width: 768px) and (max-width: 991px) {
  /*========================================
                    Global
    ========================================*/
  .btn-general {
    padding: 8px 30px 8px 30px;
    font-size: 10px;
  }
  .vertical-heading h2 {
    font-size: 35px;
  }
  .horizontal-heading h2 {
    font-size: 35px;
  }

  /*========================================
                    Navigation
    ========================================*/
  /* Dark BG */
  .navbar-dark .container-fluid {
    padding: 20px 20px 0 20px;
  }
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 12px;
    font-size: 11px;
  }
  /* White BG */
  .navbar-light .container-fluid {
    padding: 20px 20px 0 20px;
  }

  /*========================================
                    Home
    ========================================*/
  #home-heading h1 {
    font-size: 32px;
  }

  /*========================================
                    Services 01
    ========================================*/
  .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;
  }
  /* Tab Active State */
  .r-tabs-accordion-title.r-tabs-state-active a {
    color: #247ba0; /*f4c613; moon yellow*/
    font-weight: 700;
    border-bottom: 3px solid #247ba0; /*f4c613; moon yellow*/
    padding-bottom: 5px;
    -webkit-transition: border-color 300ms linear;
    transition: border-color 300ms linear;
  }
  .service-tab .tab-bg {
    padding: 10px 30px;
    min-height: 240px;
  }
  .service-tab h2 {
    font-size: 32px;
  }
  .service-tab h3 {
    margin-bottom: 20px;
    font-size: 22px;
  }
  .service-tab p {
    margin-bottom: 20px;
    line-height: 20px;
  }

  /*========================================
                    Statement
    ========================================*/
  #statement h3 {
    font-size: 18px;
    line-height: 30px;
  }

  /*========================================
                    Portfolio
    ========================================*/
  #portfolio-btn {
    text-align: center;
  }
  #filters {
    padding: 20px 0 5px 0;
  }
  .portfolio-item-overlay h3 {
    font-size: 22px;
  }
  .portfolio-item-overlay p {
    font-size: 15px;
  }

  /*========================================
                    Stats
    ========================================*/
  #stats h3 {
    font-size: 22px;
  }
  .stats-item {
    padding: 25px 20px;
  }

  /*========================================
                    About
    ========================================*/
  .about-item {
    padding: 20px 10px;
  }
  .about-item i {
    font-size: 29px;
    margin: 0;
  }
  .about-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  /* Team */
  .fa.fa-angle-left {
    font-size: 30px;
  }
  .fa.fa-angle-right {
    font-size: 30px;
  }

  /*========================================
                    News
    ========================================*/
  #blog-btn a {
    margin-bottom: 20px;
  }
  .blog-post {
    height: 100%;
  }
  .blog-post .post-meta {
    margin-top: 10px;
  }
  .content-box-lg {
    padding: 80px 0;
  }
  /*========================================
                    Contact
    ========================================*/
  .content-box-md {
    padding: 80px 0;
  }
  #contact-left {
    text-align: center;
  }
  #contact-left hr {
    display: block;
    margin: 13px 0 13px 0;
  }
  #contact-left .vertical-heading {
    text-align: center;
  }
  #contact-left .vertical-heading h5 {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    display: block;
    position: static;
    margin-bottom: 10px;
  }
  #contact-left .vertical-heading h2 {
    font-size: 29px;
    margin: 0;
    margin-bottom: 10px;
    line-height: normal;
  }
  #contact h4 {
    font-size: 20px;
  }
  #contact-left .office {
    margin: 10px 0 20px 0;
  }
  ul.office-details li {
    display: block;
    margin-bottom: 20px;
  }
  ul.office-details li i {
    width: auto;
    display: block;
    margin-bottom: 3px;
  }
  ul.social-list {
    margin-bottom: 40px;
  }
}

/*==============================================================================================================
================================================================================================================
Extra-Small Devices (Landscape Phones & Portrait Tablets)
================================================================================================================
==============================================================================================================*/
@media (max-width: 767px) {
  /*========================================
                    Global
    ========================================*/
  .btn-general {
    padding: 8px 25px 6px 25px;
    font-size: 10px;
  }
  .vertical-heading {
    text-align: center;
  }
  .vertical-heading h5 {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    display: block;
    position: static;
    margin-bottom: 10px;
  }
  .vertical-heading h2 {
    font-size: 29px;
    margin: 0;
    line-height: normal;
  }
  .horizontal-heading {
    margin-bottom: 30px;
  }
  .horizontal-heading h2 {
    font-size: 30px;
  }
  .content-box-md {
    padding: 70px 0;
  }

  /*========================================
                    Navigation
    ========================================*/
  .navbar-expand-md .navbar-nav .nav-link {
    padding: 10px 0 10px 0;
  }
  /* Dark BG */
  .navbar-dark .container-fluid {
    padding: 15px 40px 0 40px;
  }
  /* White BG */
  .navbar-light .container-fluid {
    padding: 15px 50px 0 50px;
  }

  /*========================================
                    Home
    ========================================*/
  #home-heading h1 {
    font-size: 22px;
  }

  /*========================================
                Services 01
    ========================================*/
  #services-01 img {
    margin: 0 0 20px 0;
  }
  .service h5 {
    font-size: 15px;
  }
  .service,
  .service .icon {
    text-align: center;
    margin: 15px 0;
  }
  .service:hover .icon {
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }

  /*========================================
                Services 02 Tabs
    ========================================*/
  .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;
  }
  /* Tab Active State */
  .r-tabs-accordion-title.r-tabs-state-active a {
    color: #247ba0; /*f4c613; moon yellow*/
    font-weight: 700;
    border-bottom: 3px solid #247ba0; /*f4c613; moon yellow*/
    padding-bottom: 5px;
    -webkit-transition: border-color 300ms linear;
    transition: border-color 300ms linear;
  }
  .service-tab .tab-bg {
    padding: 40px 30px;
    text-align: center;
  }
  .service-tab h2 {
    font-size: 40px;
  }
  .service-tab h3 {
    font-size: 28px;
  }
  .service-tab p {
    line-height: 20px;
  }

  /*========================================
                    Statement
    ========================================*/
  #statement h3 {
    font-size: 20px;
    line-height: 30px;
  }

  /*========================================
                    Portfolio
    ========================================*/
  #portfolio .vertical-heading {
    margin-bottom: 30px;
  }
  #portfolio .content-box-md {
    padding-bottom: 10px;
  }
  #portfolio-btn {
    text-align: center;
    margin-bottom: 20px;
  }
  #filters {
    padding: 20px 0 5px 0;
    margin-bottom: 0;
    text-align: center;
  }
  #filters button {
    padding-right: 5px;
    padding-left: 5px;
  }
  .portfolio-item-overlay h3 {
    font-size: 18px;
  }
  .portfolio-item-overlay p {
    font-size: 13px;
  }

  /*========================================
                    About
    ========================================*/
  /* About 01 */
  #about-right {
    text-align: center;
  }
  #about-left .vertical-heading {
    min-height: 120px;
  }

  /* About 02 */
  .about-item {
    padding: 55px 30px;
  }
  #about-02 .col-md-4 {
    margin-bottom: 35px;
  }
  .about-item p {
    line-height: normal;
  }
  .about-item i {
    font-size: 30px;
  }
  .about-item h3 {
    font-size: 18px;
  }

  /* Team */
  .fa.fa-angle-left {
    font-size: 30px;
  }
  .fa.fa-angle-right {
    font-size: 30px;
  }
  #team .content-box-lg {
    padding: 30px 0 50px 0;
  }
  #team-left .vertical-heading {
    min-height: 120px;
  }
  #team-left p {
    text-align: center;
  }

  /*========================================
                    Stats
    ========================================*/
  #stats h3 {
    font-size: 22px;
  }
  .stats-item {
    padding: 25px 5px;
    margin-bottom: 20px;
  }
  .stats-item i {
    font-size: 30px;
  }

  /*========================================
                    News
    ========================================*/
  #blog .content-box-lg {
    padding: 60px 0;
  }
  #blog-left {
    text-align: center;
    margin-bottom: 20px;
  }
  .blog-post {
    margin-bottom: 25px;
  }

  /*========================================
                    Contact
    ========================================*/
  #contact .content-box-md {
    padding: 45px 0;
  }
  #contact-left {
    text-align: center;
  }
  #contact-left hr {
    display: block;
    margin: 13px 0 13px 0;
  }
  #contact h4 {
    font-size: 20px;
  }
  #contact-left .office {
    margin: 10px 0 20px 0;
  }
  ul.office-details li {
    display: block;
    margin-bottom: 20px;
  }
  ul.office-details li i {
    width: auto;
    display: block;
    margin-bottom: 3px;
  }
  ul.social-list {
    margin-bottom: 40px;
  }
  /*========================================
                Projects & News Page
    ========================================*/
  #projects .vertical-heading {
    margin-top: 10%;
  }
  #gallery .portfolio-item {
    border-bottom: 10px solid white;
    border-top: 10px solid white;
  }
  #news .vertical-heading {
    margin-top: 10%;
  }
}
/*==============================================================================================================
================================================================================================================
        Extra-Small Devices (Portrait Phones)
================================================================================================================
==============================================================================================================*/
@media (max-width: 480px) {
  /*========================================
                    Global
    ========================================*/
  .btn-general {
    padding: 8px 25px 6px 25px;
    font-size: 10px;
  }
  .vertical-heading h2 {
    font-size: 24px;
  }
  /*========================================
                    Navigation
    ========================================*/
  .navbar-brand {
    margin-right: 0;
  }
  /* Dark BG */
  .navbar-dark .container-fluid {
    padding: 0 25px 0 25px;
  }
  .navbar-expand-md .navbar-nav .nav-link {
    padding: 15px 0;
  }
  /* White BG */
  .navbar-light .container-fluid {
    padding: 0 10px 0 10px;
  }
  .bg-black {
    background-color: rgba(28, 36, 38, 1);
  }

  /*========================================
                    Home
    ========================================*/
  #home-heading h1 {
    font-size: 18px;
  }
  /*========================================
                    Services
    ========================================*/
  .service h4 {
    font-size: 22px;
  }
  .service i {
    font-size: 34px;
  }
  .tab-bg h2 {
    font-size: 30px;
  }
  .tab-bg h3 {
    font-size: 22px;
  }
  /*========================================
                    Statement
    ========================================*/
  #tech-statement h3 {
    font-size: 16px;
    line-height: normal;
  }
  /*========================================
                    Portfolio
    ========================================*/
  #filters {
    text-align: center;
    padding-top: 10px;
  }
  /*========================================
                    Contact
    ========================================*/
  #contact h4 {
    font-size: 20px;
  }
  /*========================================
                  Sub Pages
    =======================================*/
  #projects h2 {
    font-size: 30px;
  }
  #gallery .portfolio-item {
    border-bottom: 5px solid white;
    border-top: 5px solid white;
  }
  #news h2 {
    font-size: 30px;
  }
  .blog-post-title {
    font-size: 25px;
  }
}

/*==============================================================================================================
================================================================================================================
            Extra-Extra-Small Devices (iPhone 5)
================================================================================================================
==============================================================================================================*/
@media (max-width: 370px) {
  /* Dark BG */
  .navbar-dark .container-fluid {
    padding: 10px 10px 0 10px;
  }
  /* White BG */
  .navbar-light .container-fluid {
    padding: 10px 10px 0 10px;
  }
  #blog h4 {
    font-size: 20px;
  }
  .navbar-brand {
    width: 75%;
  }
  nav img {
    width: 100%;
  }
  .navbar-expand-md .navbar-nav .nav-link {
    margin: 10px 0;
  }
}

/*==============================================================================================================
================================================================================================================
            Height Media Querries
================================================================================================================
==============================================================================================================*/
@media (max-height: 415px) {
  .navbar-dark .container-fluid {
    padding: 10px 50px 0 50px;
  }
  #home-heading h1 {
    font-size: 35px;
  }
  .btn-general {
    padding: 8px 25px 6px 25px;
    font-size: 10px;
  }
  .bg-black {
    background-color: rgba(28, 36, 38, 1);
  }
  .bg-black .navbar-expand-md .navbar-nav .nav-link {
    padding: 9px 0;
  }
  #projects .vertical-heading {
    margin-top: 3%;
  }
  #news .vertical-heading {
    margin-top: 3%;
  }
  #subproj .vertical-heading {
    margin-top: 3%;
  }

  .blog-post-title {
    font-size: 25px;
  }
}
