﻿@media all and (min-width: 768px) {
  /***** CHECKOUT PAGE *****/
  .order-review-data > div,
  .order-details-area > div,
  .shipment-details-area > div {
    float: right;
    width: 48%;
    margin: 0 1% 40px;
  }

  .checkout-page .address-item {
    display: inline-block;
    vertical-align: top;
    zoom: 1;
    width: 48%;
    margin: 0 1% 40px;
  }
  /***** BLOG & NEWS PAGES *****/
  .blog-posts .tags {
    width: 80%;
    float: right;
    margin-bottom: 0;
    padding-right: 0;
    text-align: right;
  }

  .blog-posts .blog-comments {
    width: 20%;
    float: left;
    text-align: left;
  }

  .new-comment,
  .comment-list .title {
    text-align: right;
  }

  .comment-list .comment {
    display: table;
    width: 100%;
    margin: 0;
  }

    .comment-list .comment:last-child {
      border-bottom: 1px solid #ddd;
    }

  .comment-info {
    display: table-cell;
    width: 15%;
    margin: 0;
    vertical-align: top;
  }

    .comment-info .username {
      min-height: 40px;
      margin: 0;
      border: none;
      text-align: center;
    }

  .comment-content {
    display: table-cell;
    width: 85%;
    border-right: 1px solid #d9d9d9;
    vertical-align: top;
    text-align: right;
  }

  .comment-time {
    min-height: 40px;
    margin: 0;
    background-color: #f6f6f6;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 400;
  }

  .comment-title,
  .comment-body {
    padding: 20px;
  }

  .comment-title {
    padding-bottom: 0;
  }

  /***** SEARCH PAGE *****/
  .search-input .inputs.checkbox {
    margin-top: 15px;
  }
}

@media all and (min-width: 992px) {

  .forum-topic-page input[type="text"].search-box-text,
  .forums-main-page input[type="text"].search-box-text,
  .forum-group-page input[type="text"].search-box-text,
  .forum-page input[type="text"].search-box-text {
    width: 60%;
    padding-left: 90px;
  }

  .forum-topic-page .search-box-button,
  .forums-main-page .search-box-button,
  .forum-group-page .search-box-button,
  .forum-page .search-box-button {
    left: 40%;
  }

  .forum-search-box,
  .forum-breadcrumb,
  .forums-header {
    margin-right: 0px !important;
    padding-right: 0px !important;
  }

  .checkout-page .address-item {
    width: 31%;
  }
  /***** HEADER *****/
  .top-menu.mobile {
    display: none;
  }

  .top-menu.notmobile {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ddd;
  }

  .menu-toggle {
    display: none;
  }

  .other-links li a {
    padding: 10px 0;
  }

  .header-lower.sticky {
    padding: 7px 0 !important;
  }

    .header-lower.sticky .dropdown-menu-list > .mm-dropdown::before {
      right: 0;
    }

  /***** FOOTER *****/
  .footer-powered-by {
    text-align: center;
  }

  .footer-payment-method {
    text-align: left;
  }

  /***** CART/WISHLIST PAGES *****/
  .cart th.add-to-cart, .cart td.add-to-cart {
    min-width: 126px;
  }

  /***** HOMEPAGE - BLOG/NEWS *****/
  .latest-blog-container .blog-items .blog-item:nth-child(even) {
    margin-top: 50px;
  }

  /***** BLOG & NEWS PAGES *****/
  .link-rss {
    display: block;
    float: left;
    margin: 6px 0 0;
  }
}

@media all and (min-width: 1200px) {
  /***** FOOTER *****/
  .footer-logo-wrapper {
    min-height: 540px;
  }

  .footer .newsletter {
    padding: 130px 48% 20% 10%;
  }

  .footer .link-blocks {
    padding-bottom: 18%;
  }

  /***** PRODUCT BOX *****/
  .category-page .item-grid .item-box {
    width: calc(20% - 20px);
  }

  .center-2 .product-grid .item-grid .item-box {
    width: calc(25% - 20px);
  }

  .product-list .item-grid .item-box,
  .center-2 .product-list .item-grid .item-box {
    width: 100%;
  }
}

@media all and (min-width: 1300px) {
}

@media all and (min-width: 1670px) {
  /***** FOOTER *****/
  .footer {
    height: 761px;
    background-size: 100% 762px;
  }

  .footer-logo-wrapper {
    min-height: 575px;
  }

  .footer-logo {
    padding: 35% 0 0 15px;
  }

  .footer .newsletter {
    padding: 130px 48% 15% 10%;
  }

  .footer .link-blocks {
    padding-bottom: 165px;
  }
}

@media all and (max-width: 1669.99px) {
  /***** FOOTER *****/
  .footer-logo {
    padding: 27% 0 0 15px;
  }
}

@media all and (max-width: 1499.99px) {
  .forums-main-page {
    max-width: 1000px;
  }
  /***** FOOTER *****/
  .footer-logo {
    padding: 45% 0 0 15px;
  }
}

@media all and (max-width: 1299.99px) {
  .item-box {
    width: calc(33% - 20px);
  }
  /***** FOOTER *****/
  .footer-logo {
    padding: 63% 0 0 15px;
  }
}

@media all and (max-width: 1199.99px) {
  /***** FOOTER *****/
  .footer-logo-wrapper {
    min-height: 505px;
  }

  .footer-logo {
    padding: 67% 0 0 15px;
  }

  .footer .newsletter {
    padding: 130px 48% 15% 0;
  }

  .footer .link-blocks {
    padding-bottom: 17%;
  }

  /***** PRODUCT BOX *****/
  .center-2 .product-grid .item-grid .item-box {
    width: calc(33.3333% - 20px);
  }
}

@media all and (max-width: 1099.99px) {
  /***** FOOTER *****/
  .footer-logo {
    padding: 80% 0 0 15px;
  }
}

@media all and (max-width: 991px) {

  /***** HEADER *****/
  .top-menu.notmobile {
    display: none;
  }

  .header-upper__middle {
    text-align: right;
  }

  .header-logo img {
    max-width: 166px;
  }

  .header-links [class*="icon-"] {
    font-size: 30px;
  }

  .header-links .icon-cart {
    font-size: 35px;
  }

  input[type="text"].search-box-text {
    height: 45px;
    padding: 0 20px 0 50px;
    font-size: 16px;
    border: 1px solid #DBDBDB;
    border-radius: 0;
  }

  .store-search-box input[type="text"].search-box-text {
    margin-bottom: 0;
  }

  .forum-search-box .search-box-button {
    margin: 0;
    width: auto;
    padding: 0 5px;
    height: 45px;
    border-radius: unset;
  }

  .search-box-button {
    left: 0;
    width: 50px;
    min-height: 45px;
    background: #223668;
    color: #fff;
    font-size: 20px;
  }

  .header-lower.sticky {
    padding: 8px 0 0 !important;
  }

    .header-lower.sticky input[type="text"].search-box-text {
      box-shadow: none;
    }

    .header-lower.sticky + .header-menu .mm-navbar,
    .header-lower.sticky + .header-menu .sublist {
      top: 109.81px;
      height: calc(100vh - 109.81px);
    }

  /***** FOOTER *****/
  .footer {
    background-image: none;
    background-color: #B9E3ED;
  }

  .footer-logo-wrapper {
    height: auto;
    min-height: initial;
    background-image: none;
    text-align: center;
  }

  .footer-logo {
    max-width: 280px;
    margin: auto;
    padding: 0 15px;
  }

  .footer .newsletter {
    padding: 30px 0 50px;
    text-align: center;
  }

  .footer-block.follow-us {
    text-align: center;
  }

  .footer .networks {
    color: #223668;
  }

  .footer-block .title {
    text-transform: uppercase;
    padding: 10px 0;
    font-weight: 800;
    cursor: pointer;
  }

  .footer-block:not(.follow-us) .title:before {
    font-family: 'Almarai' !important;
    content: "\e922";
    float: left;
    font-size: 12px;
    display: block;
    padding-top: 5px;
  }

  .footer-block .title.slide-up:before {
    content: "\e920";
    float: left;
    display: block;
  }

  .footer-block .list {
    display: none;
    padding-bottom: 15px;
  }

  .footer .link-blocks {
    padding-bottom: 40px;
  }

  .footer-lower {
    text-align: center;
  }

  /***** HOMEPAGE - SHIPPING TYPES *****/
  .shipping-types .col-lg-4:not(:last-child) {
    margin-bottom: 15px;
  }

  /***** PRODUCT DETAILS PAGE *****/
  .html-product-details-page .side-2 {
    margin-top: 24px;
  }

  /***** CART/WISHLIST PAGES *****/
  .cart {
    display: block;
  }

    .cart colgroup, .cart thead {
      display: none;
    }

    .cart tbody {
      display: block;
      overflow: hidden;
    }

    .cart tr {
      display: block;
      float: right;
      width: 100%;
      margin: 40px 0 0;
      border: 1px solid #ddd;
    }

    .cart tr {
      width: calc(33.6% - 1%);
      margin: 0 0 20px;
      text-align: center;
    }

      .cart tr:nth-child(3n+1) {
        clear: both;
        margin-left: 1%;
      }

      .cart tr:nth-child(3n+2) {
        margin-left: 1%;
      }

    .cart td {
      display: block;
      border: none;
      padding: 10px;
    }

      .cart td.remove-from-cart {
        margin: 0 0 15px;
        padding: 10px;
        border-bottom: 1px solid #E3E3EA;
        background-color: #F3F3F9;
      }

    .cart .product-picture a {
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
    }

  /***** HOMEPAGE - BLOG/NEWS *****/
  .latest-blog-container .blog-item {
    margin-bottom: 25px;
  }

  .latest-news-container .news-item:not(:last-child),
  .news-list-homepage .news-item {
    margin-bottom: 35px;
  }
  /****/
  .html-checkout-page .checkout-data .ml-5 {
    margin-right: 0px !important;
  }
}

@media all and (max-width: 767.99px) {
  .private-message-send-page .buttons, .forum-edit-page .buttons {
    margin-right: 0%;
  }

  .product-item .buttons-hover {
    display: none;
  }
  /***** HEADER *****/
  .header-links [class*="icon-"] {
    font-size: 24px;
  }

  .ico-cart {
    bottom: -3px;
    padding-left: 10px;
  }

  .header-links .icon-cart {
    font-size: 30px;
  }

  .ico-cart .cart-qty {
    top: -11px;
    left: 0px;
  }

  .ico-wishlist .wishlist-qty {
    top: -5px;
  }

  /***** PRODUCT BOX *****/
  .item-box,
  .center-2 .product-grid .item-grid .item-box {
    width: calc(50% - 20px);
  }

  /***** CART/WISHLIST PAGES *****/
  .cart tr {
    width: calc(50% - 1%);
    margin: 0px 0 20px;
  }

    .cart tr:nth-child(3n+1),
    .cart tr:nth-child(3n+2) {
      clear: none;
      margin-left: 0;
    }

    .cart tr:nth-child(2n+1) {
      margin-left: 2%;
    }
}

@media all and (max-width: 575px) {
  .block-gradient {
    padding: 30px 5px 0;
  }

  .date-picker-wrapper select:not(:last-child) {
    margin-left: 5px;
  }
  /***** HEADER *****/
  .mm-navbar {
    width: 300px;
  }

  .bg-overlay {
    width: calc(100% - 300px);
  }

  /***** PRODUCT BOX *****/
  .item-box,
  .center-2 .product-grid .item-grid .item-box {
    width: 100%;
    float: none;
    margin: 0 0 20px;
  }

  .center-2 .manufacturer-grid .item-box {
    width: calc(50% - 20px);
    float: right;
    margin-right: 10px;
    margin-left: 10px;
  }

  /***** CATAGOREY PAGE *****/
  .category-page .item-grid,
  .search-page .item-grid,
  .manufacturer-page .item-grid,
  .vendor-page .item-grid,
  .manufacturer-grid .item-grid,
  .manufacturer-list-page .item-grid,
  .recently-viewed-products-page .item-grid,
  .recently-added-products-page .item-grid,
  .also-purchased-products-grid .item-grid,
  .related-products-grid .item-grid {
    margin: 0;
  }

  /***** ESTIMATE SHIPPING POPUP *****/
  .estimate-shipping-row.shipping-address {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .estimate-shipping-row-item.address-item {
    width: 100%;
    margin-bottom: 15px;
  }

    .estimate-shipping-row-item.address-item + .estimate-shipping-row-item.address-item {
      padding-right: 0;
    }

  /***** CART/WISHLIST PAGES *****/
  .cart tr {
    width: 100%;
    margin: 0px 0 20px;
  }

  .cart-options .common-buttons,
  .wishlist-page .buttons {
    padding: 15px 0 30px;
  }

    .cart-options .common-buttons .button-2,
    .wishlist-page .buttons .button-2 {
      width: 100%;
      margin-bottom: 10px;
    }

    .cart-options .common-buttons .button-2 {
      width: 100%;
    }

  /*** FLYOUT CART ***/
  .flyout-cart {
    left: 10px;
  }

  /***** HOMEPAGE - BLOG/NEWS *****/
  .latest-blog-container .single-blog,
  .latest-news-container .news-box-inner,
  .news-list-homepage .news-item {
    text-align: center;
  }
  /******/
  .guest-button-container {
    flex-direction: column;
  }

    .guest-button-container button {
      min-width: 260px;
    }
}

@media all and (max-width: 450px) {
  .select, .date-picker-wrapper select {
    width: initial;
  }

  .center-2 .manufacturer-grid .item-box {
    width: 100%;
    float: none;
    margin: 0 0 20px;
  }
  /***** HEADER *****/
  .header-logo img {
    max-width: 130px;
  }

  .header-links .list-inline > li:not(:last-child) {
    margin-left: 4px;
  }

  .header-lower.sticky + .header-menu .mm-navbar,
  .header-lower.sticky + .header-menu .sublist {
    top: 100.52px;
    height: calc(100vh - 100.52px);
  }
}

@media all and (max-width: 400px) {
  /***** HEADER *****/
  .header-logo img {
    max-width: 120px;
  }

  /*** FLYOUT CART ***/
  .flyout-cart {
    width: 310px;
  }
}

@media all and (max-width: 340px) {
  /***** HEADER *****/
  .header-links .list-inline > li:not(:last-child) {
    margin-left: 3px;
  }

  .header-links [class*="icon-"] {
    font-size: 18px;
  }

  .header-links .icon-cart {
    font-size: 29px;
  }

  .ico-wishlist .wishlist-qty {
    font-size: 14px;
  }

  /***** PRODUCT BOX *****/
  .manufacturer-grid .item-grid {
    margin: 0;
  }

  /*** FLYOUT CART ***/
  .flyout-cart {
    width: 290px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  /***** PRODUCT BOX *****/
  .item-box {
    width: calc(33.33% - 20px);
  }

  .center-2 .product-grid .item-grid .item-box {
    width: calc(50% - 20px);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  /***** CART/WISHLIST PAGES *****/
  .block-gradient.block-gradient-checkout {
    padding: 30px 35px;
  }

    .block-gradient.block-gradient-checkout .buttons {
      height: 100%;
      margin: 0 35px 0 0;
      border-radius: 5px;
    }
}

@media (min-width: 1200px) and (max-width: 1245px) {
  /***** HEADER *****/
  .header-links .list-inline > li:not(:last-child) {
    margin-left: 5px;
  }

  .header-links .list-inline > li:first-child {
    margin-left: 3px;
  }
}
