/* Tablet Layout: 768px. */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .single-count {
    border-bottom: 1px solid #e8ebf2;
  }

  .single-count:nth-child(2) {
    border-right: none;
  }

  .single-count:nth-child(3),
  .single-count:nth-child(4) {
    border-bottom: none;
  }

  .single-service.two:hover {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }

  .header-area {
    padding-top: 200px;
    display: block;
  }
}

@media only screen and (max-width: 992px) {
  .footer-area {
    position: static !important;
  }

  .footer-up-content {
    margin-bottom: 0 !important;
  }
}

/* Mobile Layout: 320px. */

@media only screen and (max-width: 767px) {
  .header-area {
    padding-top: 200px;
    display: block;
  }

  .site-header .page-title {
    font-size: 30px;
    line-height: 35px;
  }

  .site-header .sub-title {
    font-size: 16px;
  }

  .nav-links .nav-previous,
  .nav-links .nav-next,
  .comment-form .comment-form-author,
  .comment-form .comment-form-email {
    width: 100%;
  }

  .nav-links .nav-previous {
    text-align: left;
    border: none;
    padding-right: 0;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(51, 77, 136, 0.3);
  }

  .nav-links .nav-next {
    padding-left: 0;
  }

  .comment-list .comment .comment-body {
    padding-left: 15px;
  }

  .comment-list .comment .comment-body .comment-author img {
    position: static;
    margin-right: 10px;
    margin-bottom: 10px;
  }

  .comment-list .children {
    margin-left: 15px;
  }

  .nav-links .nav-next {
    text-align: left;
    margin-bottom: 30px;
  }

  /* Footer-Widget-Style */
  .post-photo-gallery .owl-controls .owl-buttons > div {
    width: 40px;
    height: 40px;
    line-height: 40px;
  }

  .timeline-post .masonry-item {
    width: calc(100% - 30px);
  }

  a#scrollUp {
    right: 5px;
    bottom: 5px;
    width: 30px;
    height: 30px;
    background-color: #1990ea;
    text-align: center;
    line-height: 30px;
    color: #ffffff;
    border-radius: 100%;
    font-size: 14px;
  }

  .nav-links .nav-next,
  .nav-links .nav-previous {
    display: block;
    width: 100%;
  }

  .woocommerce #respond input#submit.alt,
  .woocommerce a.button.alt,
  .woocommerce button.button.alt,
  .woocommerce input.button.alt,
  .woocommerce div.product form.cart .button,
  .woocommerce #respond input#submit,
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button {
    padding: 18px 15px;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce-page .woocommerce-ordering {
    float: none;
  }

  .woocommerce .woocommerce-result-count {
    margin-bottom: 15px;
  }

  .woocommerce form .form-row-first,
  .woocommerce form .form-row-last,
  .woocommerce-page form .form-row-first,
  .woocommerce-page form .form-row-last,
  .woocommerce ul.products[class*="columns-"] li.product,
  .woocommerce-page ul.products[class*="columns-"] li.product {
    width: 100%;
    float: none;
  }

  .woocommerce-MyAccount-navigation ul {
    margin-bottom: 30px;
  }

  .social-menu-list {
    text-align: center;
  }

  .sidebar {
    padding-left: 0px;
  }

  .admin-bar .mini-cart,
  .admin-bar .mainmenu-area.affix {
    top: 0px;
  }

  .copyright {
    text-align: center;
    padding-bottom: 30px;
    display: block;
  }
}

/* Wide Mobile Layout: 480px. */
@media only screen and (max-width: 480px) {
  .xs-full {
    width: 100%;
  }
}

/* Hide header button on mobile screens */
@media (max-width: 768px) {
  .header-button {
    display: none;
  }
}
