:root {
    --amab-color: #264290;
    --amab-color-rgb: 38, 66, 144;
    --margin: 1rem;
    --padding: 1rem;
    --grid-spacing: 1rem;
}

@view-transition {
  navigation: auto;
}

html .sub-category-grid .sub-category-item {
    position: relative;
}

html .sub-category-grid .sub-category-item .title {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0,.3);
    z-index: 2;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    padding: 12px 10px;
    text-align: center;
    font-size: 20px;
    line-height: 40px;
    font-weight: 600;
}

html .home-page .topic-block {
    max-width: 100%;
    width: 100%;
}

html .sub-category-grid .sub-category-item .title:hover {
    background: #000000;
    background: rgba(0,0,0,.1);
}

html .sub-category-grid .sub-category-item .title:hover .category-item-name {
    text-shadow: 0px 2px 5px black;
    transition: all .2s ease-in-out;
}

html .sub-category-grid .sub-category-item .title a {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    top: -2px;
    padding: 0 15px;
    color: #000;
}


.category-item-text-wrapper {
    display: block;
    position: relative;
    left: auto;
    right: auto;
    margin: 0;
    height: 100%;
    top: 0;
    text-align: center;
}



html .category-grid .item-box .picture a:before {
    padding-top: 20%;
}

html .bar-notification.success {
    background-color: var(--amab-color);
}


.sub-category-grid .item-box .category-item-name {
  color: #fff;
  display: block;
  text-transform: uppercase;
  line-height: 1.2em;
  max-height: 2.4em;
  font-size: 18px;
  word-break: break-word;
  max-height: none;
  overflow: auto;
  margin: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}


html .filter-block .toggleControl {
    font-size: 14px;
    padding: 10px 30px 10px 40px;
}
html .filter-block .toggleControl:before {
    left: 20px;
}
html .filtersGroupPanel .checkbox-list label {
    padding: 6px 0 4px 25px;
    font-size: 14px;
    line-height: 14px;
}

html .filtersGroupPanel input[type="radio"] + label:before,
html .filtersGroupPanel input[type="checkbox"] + label:before {
    width: 16px;
    height: 16px;
}


html .sub-category-grid .picture > a img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 100%;
    margin: auto;
    transform: none;
    height: auto;
}

html .home-page-category-grid,
html .sub-category-grid,
html .manufacturer-grid {
    margin: 0 auto 15px;
}

.product-specs-box .title,
.category-page .products-title,
.search-page .products-title,
.manufacturer-page .products-title {
  background-color: var(--amab-color);
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  padding: 15px;
  display: block;
  width: 100%;
  margin: 0;
  text-align: left;
}

.category-page table.dataTable,
.search-page table.dataTable,
.manufacturer-page table.dataTable {
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
}


.category-page table.dataTable thead th,
.search-page table.dataTable thead th,
.manufacturer-page table.dataTable thead th {
    background: rgba(var(--amab-color-rgb),.2);
    color: var(--amab-color);
}

.category-page table.dataTable td,
.category-page table.dataTable td a,
.search-page table.dataTable td,
.search-page table.dataTable td a,
.manufacturer-page table.dataTable td,
.manufacturer-page table.dataTable td a {
  color: #8c8c8c;
}

.category-page table.dataTable td a,
.search-page table.dataTable td a,
.manufacturer-page table.dataTable td a {
    display: inline-block;
    border-bottom: 1px dotted;
    padding-bottom: 0px;
}


.category-page table.dataTable td button,
.search-page table.dataTable td button,
.manufacturer-page table.dataTable td button {
    padding: 5px 10px;
    vertical-align: middle;
    border: none;
    text-overflow: ellipsis;
    overflow: hidden;
    background-color: #264290;
    border-radius: 3px;
    font-weight: bold;
    font-size: 12px;
    color: #ffffff;
    text-transform: uppercase;
    transition: all .2s ease;
}

.category-page table.dataTable td a:hover,
.search-page table.dataTable td a:hover,
.manufacturer-page table.dataTable td a:hover {
    color: #000;
}

.category-page table.dataTable th:first-of-type,
.category-page table.dataTable td:first-of-type,
.search-page table.dataTable th:first-of-type,
.search-page table.dataTable td:first-of-type,
.manufacturer-page table.dataTable th:first-of-type,
.manufacturer-page table.dataTable td:first-of-type {
    border-left: 0;
}

.category-page table.dataTable th:last-of-type,
.category-page table.dataTable td:last-of-type,
.search-page table.dataTable th:last-of-type,
.search-page table.dataTable td:last-of-type,
.manufacturer-page table.dataTable th:last-of-type,
.manufacturer-page table.dataTable td:last-of-type {
    border-right: 0;
}

.category-page table.dataTable th,
.category-page table.dataTable td,
.search-page table.dataTable th,
.search-page table.dataTable td,
.manufacturer-page table.dataTable th,
.manufacturer-page table.dataTable td {
    padding: 6px 12px;
    border: 1px solid #FFF;
    font-size: 12px;
    white-space: nowrap;
}

.category-page table th,
.search-page table th,
.manufacturer-page table th {
    white-space: nowrap;
    line-height: 1.45;
    vertical-align: top;
    overflow: hidden;
}

.category-page table td,
.search-page table td,
.manufacturer-page table td {
    background-color: #f5f5f5;
}
table.dataTable.no-footer {
    border: 0;
}

.category-page table.dataTable .stock-wrapper span,
.search-page table.dataTable .stock-wrapper span,
.manufacturer-page table.dataTable .stock-wrapper span {
    vertical-align: middle;
}

.category-page table.dataTable .stock-quantity-symbol,
.search-page table.dataTable .stock-quantity-symbol,
.manufacturer-page table.dataTable .stock-quantity-symbol {
    width: 12px;
    height: 12px;
    border-radius: 100%;
    background-color: #dddddd;
    display: inline-block;
    margin-right: 3px;
}

.category-page table.dataTable .stock-column,
.search-page table.dataTable .stock-column,
.manufacturer-page table.dataTable .stock-column {
    text-align: center;
}

.category-page table.dataTable .stock-quantity-symbol.in-stock,
.search-page table.dataTable .stock-quantity-symbol.in-stock,
.manufacturer-page table.dataTable .stock-quantity-symbol.in-stock {
    background-color: #97c300;
}
.category-page table.dataTable .stock-quantity-symbol.few-stock,
.search-page table.dataTable .stock-quantity-symbol.few-stock,
.manufacturer-page table.dataTable .stock-quantity-symbol.few-stock {
    background-color: #e8af00;
}
.category-page table.dataTable .stock-quantity-symbol.no-stock,
.search-page table.dataTable .stock-quantity-symbol.no-stock,
.manufacturer-page table.dataTable .stock-quantity-symbol.no-stock {
    background-color: #cd3c4a;
}




.filter-block {
    display: block;
    position: relative;
    float: none;
    width: auto;
}

.filtersGroupPanel {
    padding: 18px;
}

.filter-block .title {
    position: relative;
    padding: 0 !important;
}

.filter-block .toggleControl {
    position: relative;
    display: block;
    padding: 14px 35px 14px 50px;
    width: 100%;
    cursor: pointer;
    text-align: left;
    font-weight: 300;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



.filter-block .toggleControl:before {
    content: "\77";
    display: inline-block;
    position: absolute;
    left: 25px;
    top: 50%;
    -webkit-transform: translateY(-50%) rotate(0);
    -ms-transform: translateY(-50%) rotate(0);
    transform: translateY(-50%) rotate(0);
    font-size: 10px;
    color: var(--amab-color);
    text-transform: none;
    transition: all .4s ease;
}


.filter-block .toggleControl.closed:before {
    -webkit-transform: translateY(-50%) rotate( -90deg);
    -ms-transform: translateY(-50%) rotate(-90deg);
    transform: translateY(-50%) rotate( -90deg);
}

.filtersGroupPanel .checkbox-list input {
    position: absolute;
    opacity: 0;
}

.filtersGroupPanel .checkbox-list label {
    display: block;
    position: relative;
    max-width: 100%;
    padding: 9px 0 9px 27px;
    text-transform: none;
    text-align: left;
    font-size: 15px;
    color: #909090;
    font-weight: 400;
    cursor: pointer;
    z-index: 2;
    transition: all .2s ease-in-out;
}

.filtersGroupPanel .checkbox-list label:before {
    position: absolute;
    left: 0;
    top: 50%;
    margin: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.product-specs-box {
    margin: 0;
    padding: 0;
}

.product-specs-box .data-table td.spec-name,
.product-specs-box .data-table td.spec-value {
    font-size: 12px;
    padding: 10px;
}

.product-specs-box .data-table tr.even td {
    background-color: #f5f5f5;
}

html .order-summary-content .cart .attributes.sku {
    padding: 5px 0 0 0;
    font-size: 12px;
}

html .productTabs.ui-tabs .ui-tabs-panel {
    margin: 0;
    padding: 20px;
}

html .cart-options .checkout-attributes input,
html .cart-options .checkout-attributes textarea {
    width: 100%;
}

html .shopping-cart-page .page-title {
    border-bottom: 4px solid var(--amab-color);
    padding-bottom: 10px;
    text-transform: uppercase;
    text-align: left;
}

html .shopping-cart-page .quick-order {
    margin-bottom: 20px;
}


html .amab-search-autocomplete {
  position: absolute;
  z-index: 1015;
  text-align: left;
  border: 1px solid #eee;
  border-radius: 3px;
  background: #fff;
  margin-top: 15px;
  width: 360px;
  overflow-y: auto;
  height: calc(100% - 100px);
}

html .amab-search-autocomplete .amab-search-autocomplete-main-title {
  background-color: #eee;
  display: flex;
  flex-direction: row;
  font-size: 15px;
  padding: 20px;
  justify-content: space-between;
}

html .amab-search-autocomplete .amab-search-autocomplete-main-title > div {
  justify-content: center;
  display: flex;
}

html .amab-search-autocomplete .amab-search-autocomplete-main-title #amab-close-search-result {
  width: 20px;
  height: 20px;
  background-image: url('/Themes/Emporium/Content/img/close.png');
  border: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #d5d5d5;
  border-radius: 50%;
}

html .amab-search-autocomplete .amab-search-autocomplete-main-title #amab-close-search-result:hover {
    background-color: #706f6f;
}

html .amab-search-autocomplete .amab-search-autocomplete-result-wrapper {
  display: flex;
  flex-flow: column;
  gap: 20px;
  padding: 20px;
}

html .amab-search-autocomplete ul.amab-search-autocomplete-list {

}

html .amab-search-autocomplete ul.amab-search-autocomplete-list a {
  font-size: 10px;
  display: flex;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 5px;
  margin-bottom: 5px;
  flex-direction: row;
}

html .amab-search-autocomplete ul.amab-search-autocomplete-list a:hover {
  background-color: #eee;
  box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}

html .amab-search-autocomplete ul.amab-search-autocomplete-list a img {
  width: 40px;
  height: 40px;
}

html .amab-search-autocomplete ul.amab-search-autocomplete-list a .amab-search-autocomplete-list-product-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 0 0 10px;
  gap: 5px;
  justify-content: center;
}

html .amab-search-autocomplete ul.amab-search-autocomplete-list a .amab-search-autocomplete-list-product-info .amab-autocomplete-name {
    font-size: 12px;
    color: #000;
    font-weight: bold;
}

html .amab-search-autocomplete ul.amab-search-autocomplete-list a .amab-search-autocomplete-list-product-info .amab-autocomplete-sku {
  font-size: 10px;
  color: #ccc;
}

html .amab-search-autocomplete .amab-search-autocomplete-section {
  flex: 50%;
}

html .amab-search-autocomplete .amab-search-autocomplete-section .amab-search-autocomplete-title {
  font-size: 12px;
  font-weight: bold;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

html .amab-search-autocomplete .amab-search-autocomplete-section .amab-search-autocomplete-no-results {
  font-size: 12px;
  color: #8f8f8f;
  font-style: italic;
}

html .amab-search-autocomplete .amab-search-autocomplete-section .amab-search-autocomplete-view-all {
  text-align: center;
}

html .search-box .search-input-wrapper::after {
  content: "";
  display: block;
  clear: both;
}

html .amab-search-autocomplete .amab-search-autocomplete-section .amab-search-autocomplete-view-all a {
  display: inline-block;
  text-align: center;
  margin: 10px auto 0 auto;
  font-size: 12px;
  background-color: #264290;
  color: #fff;
  padding: 10px 20px;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 5px;
}

.extended-availability {
  text-align: left;

  .stock {
    margin: 0;
    padding: 0;
    border-radius: 0;
    background-color: #fff;


    table {
      border: 1px solid #eee;

      th {
        padding: 10px;
        color: #000;
        font-weight: bold;
        border: 1px solid #eee;
        background-color: #f6f6f6;
      }

      td {
        padding: 10px;
        color: #222;
        font-weight: normal;
        border: 1px solid #eee;
      }
    }
  }
}
/* CATALOG GRID */
html .product-grid .item-grid .item-box {
  padding: 20px;


  .details {
    padding: 0;
  }

  h2.product-title {
    font-size: 1rem;
    margin-top: .5rem;
    margin-bottom: .5rem;
    font-weight: bold;

    a {
      color: #000;

      &:hover {
        text-decoration: underline;
      }
    }
  }

  h3.sku,
  h4.manufacturer {
    color: #777;
    font-size: .8rem;
    margin-bottom: .5rem;
  }

  h4.manufacturer a:hover {
    text-decoration: underline;
  }

  .description {
    display: block;
    word-break: break-word;
    overflow: hidden;
    font-size: 0.8rem;
    height: auto;
    color: #000;
  }

  .add-info {
    border-top: 1px solid #eeeeee;
    margin: 20px -20px 0px -20px;
    padding: 20px 20px 0 20px;

    .buttons {
      display: block;
    }

    .prices > *:last-child:not(:empty) {
      margin-bottom: 19px;
    }
  }
}



html .item-box h3.sku {
  font-weight: bold;
  font-size: 16px;
  color: #000;
  margin-bottom: 5px;
}

html .item-box h2.product-title {
  font-weight: normal;
  font-size: 14px;
  color: #777;
  margin-bottom: 15px;
}


html .spc .item-grid {
    display: block;
}

html tbody.item-grid {
  display: table-row-group;
}

html .item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  padding: 1rem 0;
}

@media (min-width: 600px) {
  html .item-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}
@media (min-width: 1001px) {
  html .item-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }

  html .product-grid .item-grid {
    grid-template-columns: 1fr;

    .item-box .product-item {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      align-items: flex-start;
      justify-content: flex-start;
      gap: 1rem;

      .picture {
        width: 150px;
      }

      .details {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        width: 100%;

        .main-info {
          flex-basis: 30%;
          flex-shrink: 0;
        }

        .description {
          flex-grow: 1;
        }

        .add-info {
          flex-basis: 30%;
          flex-shrink: 0;
          margin: 0;
          padding: 0;
          border: 0;
        }
      }
    }
  }
}



/* END CATALOG GRID */


@media (max-width: 1024px) {
  .search-box form {
    height: calc(100% - 47px);
    overflow: hidden;
  }
}

@media (min-width: 1001px) {
  html .amab-search-autocomplete .amab-search-autocomplete-result-wrapper {
      flex-direction: row;
  }

  html .amab-search-autocomplete {
      height: auto;
      width: 100%;
      margin-top: 2px;
      padding-top: 10px;
  }
}

@media (min-width: 410px) {



  html .category-grid .item-box .picture a:before {
    padding-top: 50%;
  }
}

 


  @media (min-width: 481px) {

    html .home-page-category-grid,
    html .sub-category-grid,
    html .manufacturer-grid {
      margin: 0 auto 45px;
    }

  }

  @media (min-width: 768px) {
    .product-specs-box {
      margin: 0;
      padding: 0;
    }

    html .home-page .topic-block-body {
      padding: 0;
    }
  }

  @media (min-width: 1025px) {

    html .category-navigation-list .dropdown .row-wrapper {
      padding: 15px;
    }

    html .category-navigation-list .dropdown .box .picture a:before {
      padding-top: 50%;
    }

    html .category-navigation-list .dropdown .box .title a span {
      font-size: 15px;
    }

    html .category-navigation-list-wrapper ul li span {
      font-size: 13px;
    }

    html .category-navigation-list .dropdown.boxes-6 .box {
      max-width: calc(16.66% - 10px);
    }

    html .category-navigation-list .dropdown .box, .category-navigation-list .dropdown .empty-box {
      margin-left: 13px;
    }

    html .category-navigation-list .dropdown .box .subcategory-item a {
      line-height: 1;
      padding: 5px 0;
    }
  }

  @media (min-width: 1281px) {
    html .filtersGroupPanel {
      padding: 12px 18px;
      max-height: 400px;
      overflow-y: auto;
    }

    html .cart-collaterals {
      margin: 0 auto;
    }

    html .cart-options .checkout-attributes {
      margin-top: 0;
    }



    .filtersGroupPanel {
      padding: 18px 30px;
    }

    .gallery {
      width: 49%;
    }

    .overview {
      width: 49%;
      padding-right: 0;
    }

    .product-prices-box {
      position: relative;
      top: initial;
      right: initial;
      left: initial;
      width: auto;
      text-align: center;
    }

    .product-specs-box {
      margin: 0;
      padding: 0;
    }
  }

  @media (min-width: 1601px) {
    .gallery {
      width: 49%;
    }

    .overview {
      width: 49%;
      padding-right: 0;
    }

    .product-prices-box, .grouped-product-box {
      width: auto;
    }
  }



  /***  NEW CAT  ***/

  html:not(.html-account-page, .html-search-page) .master-column-wrapper:after {
    content: none;
    display: none;
  }

html .category-page-body .master-column-wrapper,
html .search-page-body .master-column-wrapper,
html .manufacturer-page-body .master-column-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

  html:not(.html-account-page, .html-search-page) .side-2,
  html:not(.html-account-page, .html-search-page) .center-2 {
    float: none !important;
    border: none;
  }

  html:not(.html-account-page, .html-search-page) .center-2 {
    width: 100%;
  }



  .page.category-page .category-description {
    margin: 0;
    max-width: 100%;
    padding-top: 0;
    padding-bottom: calc(var(--grid-spacing) * 2);
    padding-left: 0;
    padding-right: 0;
    transition: all .3s ease-in-out
  }

  .page.category-page .category-description.fade {
    -webkit-mask-image: -webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,1)),to(rgba(0,0,0,0)))
  }

  .page.category-page .category-description .category-description__content {
    margin: 0 0 10px 0;
    color: #706f6f;
    font-size: 1rem;
    line-height: 1.5rem;
    overflow: hidden;
    height: 3rem;
    transition: all .3s ease-in-out
  }

  .page.category-page .category-description .category-description__content > p:first-child {
    margin-top: 0
  }

  .page.category-page .category-description.full {
    -webkit-mask-image: none
  }

  .page.category-page .category-description.full .read-more__wrapper {
    padding: 8px 0 2px 0;
  }

  .page.category-page .category-description .read-more__wrapper {
    width: 100%;
    background-color: #f3f3f3;
    padding: 3px 0 7px 0;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
  }

  .page.category-page .category-description .read-more {
    border: solid #706f6f;
    border-width: 0 3px 3px 0;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    cursor: pointer;
    display: none;
    transition: transform .3s ease-in-out
  }

  .page.category-page .category-description.full .read-more {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg)
  }

  .page.category-page .category-description .read-more:hover {
    border: solid #333;
    border-width: 0 3px 3px 0
  }



  @media (min-width: 1025px) {

    html:not(.html-account-page, .html-search-page) .side-2 {
      margin: 0 20px 0 0;
      flex: 0 0 300px;
      width: auto;
    }

    html:not(.html-account-page, .html-search-page) .center-2 {
      width: 0;
      flex: 1 1 auto;
    }


    body,
    .master-wrapper-content {
      overflow-x: visible;
      overflow-y: visible;
      overflow: visible;
    }


    html .nopAjaxFilters7Spikes {
      position: -webkit-sticky;
      position: sticky;
      top: 20px;
    }
  }

  @media (min-width: 1025px) {
  }




  .gg-info {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs,1));
    width: 20px;
    height: 20px;
    border: 2px solid;
    border-radius: 40px
  }

  .gg-info::after,
  .gg-info::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    border-radius: 3px;
    width: 2px;
    background: currentColor;
    left: 7px
  }

  .gg-info::after {
    bottom: 2px;
    height: 8px
  }

  .gg-info::before {
    height: 2px;
    top: 2px
  }




  .schema-picture-container {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
  }

  .schema-picture-container__icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    object-fit: cover;
  }

  .schema-picture-container__popup-container {
    position: absolute;
    visibility: hidden;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 5px;
  }

  .schema-picture-container:hover .schema-picture-container__popup-container {
    visibility: visible;
    top: 0;
    left: 35px;
    z-index: 1;
  }

  /* Example image style */
  .schema-picture-container__popup-container img {
    max-width: 400px;
  }

