/**
 * common
 */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  line-height: 1.2em;
}
.dropdown-menu {
  font-size: 0.9rem;
}

main {
  padding-bottom: 6rem;
}

/**
 * login form
 */
.private_modern_theme #wrapper {
    margin-top: 5% !important;
}
.private_modern_theme #footer {
    padding-top: 1.5rem;
}

/**
 * header
 */
#header .header-top .menu {
    padding: 0;
}
#header .header-top .menu {
    margin-top: .625rem;
    margin-bottom: .375rem;
}
#top-menu {
    margin-bottom: 0;
}
#header .header-top a[data-depth="0"] {
    color:#000;
}
.top-menu a[data-depth="0"] {
    padding: .1875rem .625rem .375rem 0;
}

/**
 * sidebar
 */

.block-categories .category-top-menu .h6 {
    padding: 8px 8px 12px 8px;
    text-transform: uppercase;
    font-weight: 300;
    width: 100%;
    display: block;
}
.block-categories .category-sub-menu li[data-depth="0"]>a {
    padding: 8px 2.5em 8px 8px;
    border: 0;
}
.block-categories .category-sub-menu li[data-depth="1"] {
    margin: 0;
}
.block-categories .category-sub-menu a:hover {
    background: rgba(246, 246, 246, 0.9);
}
.block-categories .collapse-icons {
    padding: 12px 0;
}
.block-categories .category-sub-menu a.category-sub-link {
    display:block;
    padding: 6px 8px 6px 8px;
}

/**
 * footer
 */
#footer {
    box-shadow: 2px 2px 11px 0 rgba(0,0,0,.3);
}
.footer-container {
    margin-top: 0;
    padding-top: 0;
    box-shadow: none;
}

/**
 * product miniature
 */
#products .thumbnail-container .product-thumbnail,
.featured-products .thumbnail-container .product-thumbnail,
.product-accessories .thumbnail-container .product-thumbnail,
.product-miniature .thumbnail-container .product-thumbnail {
    height: calc(100% - 160px);
}
#products .thumbnail-container,
.featured-products .thumbnail-container,
.product-accessories .thumbnail-container,
.product-miniature .thumbnail-container {
    height: 378px;
}
#products .product-description,
.featured-products .product-description,
.product-accessories .product-description,
.product-miniature .product-description {
    height: 170px;
}
.product-miniature .product-title {
    height: 40px;
}
#products .product-title a,
.featured-products .product-title a,
.product-accessories .product-title a,
.product-miniature .product-title a {
    color: #000;
}
.product-miniature .product-reference {
    color: #7a7a7a;
    font-size: .875rem;
    text-align: center;
}
.product-miniature .product-price-and-shipping {
    margin-top:.5em;
    margin-bottom:.5em;
}
.an_wishlist-mini {
    top: -200px;
}
.product-miniature .qty {
    float:left;
    width:46%;
    margin-left:10px;
}
.product-miniature .qty .quantity_wanted {
    width:5.2rem;
}
.product-miniature .add {
    float:left;
    width:46%;
    margin-right:10px;
}
.product-miniature .add button {
    width:100%;
}
.product-miniature .add .btn-primary .material-icons {
    margin-right: 0;
}
.featured-products .product-add-to-cart {
    display:none;
}

/**
 * my account in home page
 */
.homepage-my-account .links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start
}
.homepage-my-account .links a {
    text-align: center;
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #7a7a7a;
    padding: 0 .9375rem;
    margin-bottom: 1.875rem;
}
.homepage-my-account .links a span.link-item {
    display: block;
    height: 100%;
    box-shadow: 2px 2px 8px 0 rgba(0,0,0,.2);
    background: #fff;
    padding: 1rem
}
.homepage-my-account .links a i {
    display: block;
    font-size: 2.6rem;
    width: 100%;
    color: #232323;
    padding-bottom: 3.4rem
}
.homepage-my-account .links a:hover {
    color: #232323
}
.homepage-my-account .links a:hover i {
    color: #2fb5d2
}

/**
 * product details
 */
.product-prices {
    margin-bottom: 1.25rem;
}
.product-prices div {
    margin-bottom: 0;
}
.product-information, .product-information p {
    color: #000;
}
.product-quantity #quantity_wanted {
    width: 3.5rem;
}
.product-container .label {
    font-size: 1rem;
    color: #232323;
    font-weight: 700;
}

/**
 * manufacturer list
 */
.all-brands .letter-select li {
    float:left;
}
.all-brands .letter-select a {
    padding: 11px;
    font-weight: bold;
    font-size: 14px;
    display:block;
}
.all-brands .box-letter .box-title {
    width: 100%;
    display:block;
    background-color: #fff;
    font-weight: bold;
    height: 40px;
    line-height: 40px;
    padding-left: 10px;
}
.all-brands .box-letter .letter-content {
    line-height: 32px;
    padding-left: 10px;
}
.all-brands .box-letter p {
    margin-bottom: 0;
    float: left;
    width: 25%;
}
.brands-by-letter {clear:both;}

/**
 * order confirmation
 */
.page-order-confirmation hr {
    border-top: 1px solid #000;
}
#order-items hr {
    border-top: 1px solid rgba(0,0,0,.1);
}
#order-details>.card-title {
    margin-bottom: 0;
}
#order-details {
    padding-left: 15px;
}
#order-details>.card-summary {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
#order-items .order-line {
    margin-top: 0;
}
#order-items .details {
    margin-bottom: 0.5rem;
}
#order-items .qty {
    margin-bottom: 0.5rem;
}

/**
 * facated filters
 */
#search_filters .facet .facet-label a, #search_filters_brands .facet .facet-label a, #search_filters_suppliers .facet .facet-label a {
  margin-top: 0;
}
.facet-dropdown .select-list {
  padding: .25rem .625rem;
}

/*
 * Update page pagination row, due to the presence of the new horizontal cart component
 */

@media screen and (max-width: 1366px) {
  nav.pagination {
    bottom: 27px;
    position: relative;
  }

  #obs_floatingcart_wrapper {
    height: 8%;
  }

  .obs_floatingcart_product{
    height: 70px;
    width: 50px;
  }

}

.obs_floatingcart_product img {
   max-height: 70px;
}

/*
  Custom fields personalisation
*/
.page-order-confirmation div.cart-custom-fields {
  padding: 1em;
}
