﻿@media all and (min-width: 481px) {


  /*** GLOBAL ***/
 .container {
    width: var(--container-sm);
  }

  html:not(.html-home-page) .master-wrapper-content,
  .header-menu {
    width: var(--container-sm);
  }


  /*** GLOBAL TABLES ***/


  .cart tr {
    width: 46%;
    margin: 40px 2% 0;
  }

    .cart tr:nth-child(2n+1) {
      clear: both;
    }

  .order-details-page .data-table tr {
    width: 46%;
    margin: 40px 2% 0;
  }

    .order-details-page .data-table tr:nth-child(2n+1) {
      clear: both;
    }


  /*** HEADER ***/


  .header-selectors-wrapper > div {
    display: inline-block;
    width: 30%;
    margin: 10px auto;
  }

  .search-box input.search-box-text {
    width: 280px;
  }

  .ui-autocomplete {
    width: 280px !important;
  }

    .ui-autocomplete img {
      display: inline;
    }

  /*** NAVIGATION ***/


  /** Main menu START **/

  .menu__group > .menu__link {
    display: flex;
    grid-area: auto / right;
  }

  .menu__image {
    width: auto;
  }

  .menu__group {
    display: grid;
    grid-auto-flow: column;
    grid-auto-rows: auto;
    grid-template-columns: [left] 1fr [right] 1fr;
    grid-column-gap: 10px;
  }

  .menu__image-link {
    grid-column: left;
    grid-row-start: 1;
    grid-row-end: span 300;
  }

  /** Main menu END **/


  /*** CATEGORY ***/


  .item-box {
    width: 49%;
    margin: 0 0.5% 50px;
  }

    .item-box:nth-child(2n+1) {
      clear: both;
    }

    .item-box .product-rating-box {
      margin: 0 0 15px;
    }

    .item-box .prices {
      min-height: 40px;
    }

  /*** PRODUCT PAGE ***/


  .overview-buttons div {
    display: inline-block;
    width: auto;
    margin: 0 1px 2px;
  }


  /*** WISHLIST ***/


  .wishlist-content .button-2 {
    display: inline-block;
    width: auto;
    min-width: 140px;
    margin: 0 1px 5px;
  }


  /*** TOPICS ***/


  .enter-password-form input[type="password"] {
    width: 260px;
  }


  /*** FORUM & PROFILE ***/

  .forums-header {
    background-color: #f9f9f9;
    padding: 30px 20px 20px;
  }

  .ui-tabs-nav li {
    display: inline-block;
    min-width: 150px;
    margin: 0 5px -1px;
    /*override jQuery UI styles, do not delete doubled properties*/
    margin: 0 5px -1px !important;
  }

  .private-messages-page .buttons .button-1,
  .private-messages-page .buttons .button-2,
  .private-message-view-page .buttons .button-1,
  .private-message-view-page .buttons .button-2 {
    display: inline-block;
    width: auto;
    margin: 1px;
  }

  .topic-post .post-text {
    float: left;
    width: 90.5%;
    text-align: left;
  }

  .forum-group .forum-table th.latest-post,
  .forum-group .forum-table th.topics,
  .forum-group .forum-table th.posts,
  .forum-group .forum-table td.latest-post,
  .forum-group .forum-table td.topics,
  .forum-group .forum-table td.posts {
    display: table-cell;
  }

  .topic-group .forum-table th.latest-post,
  .topic-group .forum-table td.latest-post {
    display: table-cell;
  }

  .forum-table td.image {
    max-width: 40px;
  }

  .forum-table td.image div {
    max-width: 100%;
    background-size: contain;
  }


  /*** ESTIMATE SHIPPING POPUP ***/

  .estimate-shipping-popup {
    padding: 30px;
  }
}
