/* only small desktops */
/* tablets */
/* only small tablets */
@media (min-width: 768px) and (max-width: 991px) {
  #home .contents h1 {
    font-size: 28px;
  }

  .item-boxes h4 {
    font-size: 18px;
  }

  .features .show-box img {
    display: none;
  }

  .pricing-table .pricing-details ul li {
    font-size: 12px;
  }

  .counters .facts-item .fact-count h4 {
    font-size: 14px;
  }

  .single-team {
    margin-bottom: 30px;
  }

  .meta-tags span {
    margin-right: 3px;
  }

    .meta-tags span i {
      margin-right: 0px;
    }

  #blog .blog-item-text h3 {
    font-size: 14px;
    line-height: 20px;
  }
}

/* mobile or only mobile */
@media (max-width: 767px) {
  .section {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 30px;
  }

    .section-header .section-title {
      font-size: 20px;
    }

  #home .contents {
    padding: 100px 0 80px;
  }

    #home .contents h1 {
      font-size: 18px;
      line-height: 30px;
    }

  .features .show-box img {
    display: none;
  }

  .features .box-item .text h4 {
    font-size: 14px;
  }

  .controls {
    margin: 0px;
  }

    .controls .btn {
      font-size: 13px;
      padding: 7px 7px;
    }

  .video-promo .video-promo-content h2 {
    font-size: 22px;
  }

  .pricing-table {
    height: 190px;
    margin-bottom: 15px;
  }

    .pricing-table .pricing-details h2 {
      font-size: 20px;
      margin-bottom: 20px;
      padding: 15px 0;
    }

    .pricing-table .pricing-details span {
      font-size: 24px;
      margin-bottom: 10px;
    }

  .counters .facts-item {
    margin-bottom: 30px;
  }

    .counters .facts-item .icon {
      margin-bottom: 20px;
    }

  .single-team {
    margin-bottom: 15px;
  }

  .contact-us {
    margin-bottom: 30px;
  }

    .contact-us h3 {
      font-size: 28px;
    }

  .aboutus .content p {
    font-size: 14px;
    line-height: 26px;
  }

  .footer-links li a {
    margin-right: 10px;
  }

  .copyright {
    float: left;
  }

  .team-popup {
    padding: 20px;
  }

    .team-popup .title {
      font-size: 1.1em;
    }

    .team-popup .part-title {
      text-align: left;
    }

    .team-popup .cv-logo img {
      width: 80%;
    }

    .team-popup .cv-logo .logo-name {
      font-size: 1.5em;
      background: white;
      border-radius: 2rem;
      position: static;
    }

    .team-popup hr.separator {
      margin: 0.5rem 0;
    }

  .mfp-close {
    width: 36px;
    height: 36px;
    line-height: 36px;
  }
}

/*Small mobiles*/
@media (max-width: 450px) {
  .team-popup .title {
    font-size: 1em;
  }

  .team-popup .cv-logo img {
    width: 100%;
  }

  .team-popup .cv-logo .logo-name {
    font-size: 1em;
    background: white;
    border-radius: 2rem;
    position: static;
    margin-left: -0.7em;
  }
}
