/*
* Copyright 2019 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
* http://www.nop-templates.com/t/licensinginfo
*/

@media all and (max-width: 1024px) {
  table tr td {
    font-size: 12px;
    line-height: 14px;
  }
  table th.actionable, table td.actionable {
    width: 16%;
  }

  .admin-header-links {
    z-index: 1030;
    width: 100%;
  }
  .main-navigation {
    width: 87%;
  }
  /* RESPONSIVE MENU */
  .master-header-wrapper {
    position: relative;
  }
  .master-login-container {
    width: 50%;
    padding: 0 0% 30px 8%;
  }

  .video-login {
    right: 8%;
  }

  .registration-page .inputs {
    width: 100%;
  }

  .registration-page .buttons {
    width: 100%;
  }
    .ps-container > .ps-scrollbar-y-rail {
        visibility: hidden !important;
    }
    .scrollYRemove {
        overflow: hidden !important;
        -ms-touch-action: none !important;  
        -webkit-overflow-scrolling: touch !important;
    }
    .overlayOffCanvas {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: rgba(221,221,221,0.6);
        z-index: 1010;
        -webkit-transition: background .3s ease-in-out;
        transition: background .3s ease-in-out;
    }
    .overlayOffCanvas.show {
        background: rgba(0,0,0,0.4);
    }
    .header-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 320px;
        height: 100%;
        background: #eee;
        text-align: left;
        overflow: hidden;
        z-index: 1070;
        -webkit-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;    
        -webkit-transform: translate(-320px);
        -ms-transform: translate(-320px);
        transform: translate(-320px);
    }
    .header-menu.opened {    
        -webkit-transform: translate(0);
        -ms-transform: translate(0);
        transform: translate(0);
    }
    .navigation-wrapper {
        padding: 15px;
        border: 0;
        background: #084d62;
        cursor: pointer;
        overflow: hidden;
        font-size: 0;
    }
    .header-menu .close-menu,
    .header-menu ul .back-button {
        float: right;
    }
    .header-menu .close-menu span,
    .header-menu ul .back-button span {
        position: relative;
        display: inline-block;
        padding: 0;
        width: 28px;
        height: 28px;
        background: rgba(0,0,0,0.1);
        font-size: 0;
        color: #fff;
        line-height: 15px;
    }
    .header-menu .close-menu span:after,
    .header-menu ul .back-button span:after {
        content: '\e901';
        position: absolute;
        top: 50%;
        left: 50%;
        font-family: prisma;
        font-size: 8px;
        color: #fff;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
    .header-menu ul .back-button {
        margin-right: 5px;
    }
    .header-menu ul .back-button span:after {
        content: '\e924';
    }
    .header-menu > ul li {
        border-bottom: 1px solid #eee;
        background: #f6f6f6;
    }
    .header-menu > ul li:after {
        content: "";
        display: block;
        clear: both;
    }
    .header-menu > ul li > a,
    .header-menu > ul li > span {
        position: relative;
        display: block;
        padding: 16px 18px;
        line-height: 17px;
        text-align: left;
        font-size: 15px;
        color: #666;
        z-index: 0;
    }
    .header-menu > ul li > a:hover,
    .header-menu > ul li > span:hover {
        color: #084d62;
    }
    .header-menu > ul li:last-child > a,
    .header-menu > ul li:last-child > span {
        border-bottom: 0;
    } 
    .header-menu > ul li > .with-subcategories {
        float: left;
    }
    .plus-button {
        position:relative;
        float: right;
        margin: 10px;
        width: 28px;
        height: 28px;
        background: #fff;
        cursor: pointer;
        z-index: 1;
    }
    .plus-button:after {
        content: '\e925';
        position: absolute;
        top: 50%;
        left: 50%;
        font-family: prisma;
        font-size: 8px;
        color: #dcdde0;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
    .header-menu .sublist-wrap {
        position: fixed;
        top: 0;
        left: 0;
        width: 320px;
        height: 100%;
        background: #eee;
        box-shadow: 1px 0 5px rgba(0,0,0,0.5);
        z-index: 2;
        overflow: hidden;
        -webkit-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
    }
    .header-menu .sublist-wrap {
        -webkit-transform: translate(-320px);
        -ms-transform: translate(-320px);
        transform: translate(-320px);
    }       
    .header-menu .sublist-wrap.active {
        -webkit-transform: translate(0);
        -ms-transform: translate(0);
        transform: translate(0);
    }
    .flyout-cart {
        display: none;
    }


    /*********** FOOTER ***********/



    .footer-block .title {
        position: relative;
        padding: 19px 37px;
    }
    .footer-block .title:before,
    .footer-block .title:after {
        content: '\e923';
        position: absolute;
        top: 50%;
        width: 24px;
        height: 24px;
        background: #fff;
        line-height: 24px;
        font-family: prisma;
        font-size: 10px;
        color: #dcdde0;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    .footer-block .title.active:before,
    .footer-block .title.active:after {
        -webkit-transform: translateY(-50%) rotate(180deg);
        -ms-transform: translateY(-50%) rotate(180deg);
        transform: translateY(-50%) rotate(180deg);
    }
    .footer-block .title:before {
        left: 13px;
    }
    .footer-block .title:after {
        right: 13px;
    }
    .footer-middle > div:last-child {
        margin-top: 45px;
    }
  .master-login-container {
    
  }
  .home-bg {
    width: 42%;
    height: 100vh;
  }
  .page-title h1 {
    font-size: 38px;
    line-height:38px;
  }
  /* SEARCH BOX */
  .company-search-box {
    position: absolute;
    top: 120%;
    left: unset;
    right: 15px;
    width: 400px;
    z-index: 1010;
    background-color: white;
  }
    .company-search-box.open {
        display: block;
    }

    .search-box.company-search-box input {
       
    }
  .company-search-box input.search-box-button {
    background: #ffffff url(../img/search.png) no-repeat center;
    background-size: 43%;
  }
    .company-search-box input.search-box-text {
        
    }
  .header .company-search-box ::-webkit-input-placeholder {
    color: var(--lightGray);
  }
  .header .company-search-box ::-moz-placeholder {
    color: var(--lightGray);
  }
  .header .company-search-box :-ms-input-placeholder {
    color: var(--lightGray);
  }
  .header .company-search-box :-moz-placeholder {
    color: var(--lightGray);
  }


    /* MISCELLANEOUS */


    .html-account-page .block {
        float: none;
        width: auto;
        text-align: center;
    }
    .product-selectors,
    .filter-options {
        display: none;
    }
    .category-page-body .footer {
        padding-bottom: 30px;
    }
    .search-page-body .filter-options,
    .category-page-body .filter-options,
    .manufacturer-page-body .filter-options,
    .vendor-page-body .filter-options {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        box-shadow: 0 0 15px rgba(0,0,0,.2);
        font-size: 0;
        z-index: 1000;
    }
    .filter-options > .filters-button {
        display: none;
    }
    .filter-options > div {
        position: relative;
        display: inline-block;
        padding: 20px 10px;
        width: 50%;
        background: #fff;
        text-transform: uppercase;
        text-align: center;
        font-size: 13px;
        color: #888;
        cursor: pointer;
    }
    .filter-options > div:before {
        display: inline-block;
        margin-right: 5px;
        font-family: prisma;
        font-size: 20px;
        color: #084d62;
        vertical-align: middle;
        cursor: pointer;
    }
    .filters-button:before { 
        content: '\e907';
    }
    .product-sorting-mobile:before {
        content: '\e90c';
    }
    .product-display-mobile:before {
        content: '\e906';
    }
    .filter-options li:after {
        content: '.';
        position: absolute;
        top: 10px;
        right: 0;
        height: 40px;
        width: 1px;
        background: #eee;
        text-indent: -9999px;
        font-size: 0;
    }
    .filter-options li:last-of-type:after {
        content: none;
    }
    .filter-options > div > div span {
        display: none;
    }
    .product-sorting-mobile,
    .product-display-mobile {
        position: relative;
    }
    .product-sorting-mobile select,
    .product-display-mobile select {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
    }


    /* WISHLIST & CART */
    

    .cart thead {
        display: none;
    }
    .cart col {
        float: left;
    }
    .cart tr {
        float: left;
        padding-bottom: 15px;
        margin-right: 6px;
        width: 32.7%;
        width: -webkit-calc(100%/3 - 2px);
        width: calc(100%/3 - 5px);
        overflow: hidden;
        border-bottom: 10px solid #f6f6f6;
        background: #fff;
    }
    .cart tr:nth-of-type(3n) {
        margin-right: 0;
    }
    .cart tr:nth-of-type(3n+1) {
        clear: left;
    }
    .cart td {
        display: block;
        border: 0;
        border-bottom: 4px solid #f6f6f6;
    }
    .order-summary-content tr,
    .shopping-cart-page tr {
        margin-bottom: 4px;
        padding: 4px 10px 0;
        background: #f6f6f6;
    }
    .shopping-cart-page .cart-item-row td:first-child, 
    .shopping-cart-page .cart-item-row td.sku {
        display: none;
    }
    .order-summary-content td,
    .shopping-cart-page td {
        padding: 5px 10px;
        border-bottom: none;
        background: none;
        text-align: left;
    }
    .order-summary-content .cart .remove-from-cart,
    .shopping-cart-page .cart .remove-from-cart {
        display: block;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
        width: 100%;
        text-align: right;
    }
    .order-summary-content td.product,
    .shopping-cart-page td.product {
        text-align: left;
    }
    .order-summary-content .cart .product-name,
    .shopping-cart-page .cart .product-name {
        font-size: 13px;
    }
    .order-summary-content .cart label,
    .shopping-cart-page .cart label {
        text-transform: uppercase;
        font-weight: normal;
        font-size: 11px;
        color: #aaa;
    }
    .order-summary-content td.quantity,
    .shopping-cart-page td.quantity {
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
    }
    .order-summary-content td.subtotal,
    .shopping-cart-page td.subtotal {
        padding-bottom: 0;
        font-size: 14px;
    }
    .order-summary-content .cart td,
    .shopping-cart-page .cart td {
        float: right;
        padding-left: 0;
        width: 58%;
    }
    .order-summary-content .cart .product-picture,
    .shopping-cart-page .cart .product-picture {
        float: left;
        width: 40%;
    }
    .wishlist-content .table-wrapper {
        padding: 10px;
        background: #f6f6f6;
    }
    .wishlist-content .cart tbody {
        font-size: 0;
        background: #f6f6f6;
    }
    .wishlist-content .cart label,
    .wishlist-content .cart td {
        font-size: 14px;
        color: #666;
    }
    .wishlist-content .cart .product-picture,
    .wishlist-content .cart .product,
    .wishlist-content .cart .unit-price {
        border: 0;  
    }
    .wishlist-content .cart .remove-from-cart,
    .wishlist-content .cart .add-to-cart {
        width: 50%;
        height: 48px;
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .wishlist-content .cart .product-picture {
        float: left;
        width: 30%;
        padding-right: 0;
    }
    .wishlist-content .cart .product-picture ~ td {
        margin: 0 0 0 40%;
        text-align: left;
        padding: 10px;
    }
    .wishlist-content .cart .quantity {
        float: left;
        clear: left;
        width: 40%;
    }
    .wishlist-content .cart .subtotal {
        float: right;
        padding-left: 0;
        width: 60%;
        text-align: left;
    }
    .wishlist-content .cart tr td.quantity,
    .wishlist-content .cart tr td.subtotal {
        margin: 0;
        border:0;
        border-top: 4px solid #f6f6f6;
        max-width: none;
    }
    .wishlist-content .cart .qty-dropdown {
        padding-right: 15px;
        min-width: auto;
        width: 48px;
    }


    /*COMPARE MOBILE*/


    .compare-products-mobile {
        padding: 10px;
        background: #f6f6f6;
    }
    .compare-section {
        margin-bottom: 30px;
    }
    .compare-section:last-child {
        margin-bottom: 0;
    }
    .compare-section .title {
        margin-bottom: 5px;
        text-transform: uppercase;
        font-weight: bold;
        font-size: 13px;
        color: #444;
    }
    .compare-section ul {
        margin: 0 auto;
        padding: 0 20px;
        max-width: 500px;
        background: #fff;
    }
    .compare-section ul li {
        padding: 15px 0;
        font-size: 13px;
        color: #666;
    }
    .compare-section ul li + li {
        border-top: 1px solid #eee;
    }
    .compare-section.product .title {
        font-size: 0;
    }
    .compare-section.product ul {
        padding: 0;
        background: none;
    }
    .compare-section.product li {
        padding: 0;
        border: 0;
        margin-bottom: 10px;
    }
    .compare-section.product li:after {
        content: '';
        display: block;
        clear: both;
    }
    .compare-section.product .picture {
        float: left;
        margin-right: 4px;
        width: 25%;
        background: #fff;
        text-align: center;
    }
    .compare-section.product .product-name {
        text-align: left;
        font-size: 13px;
        color: #666;
    }
    .compare-section.product .details {
        position: relative;
        padding: 20px 10px 10px;
        background: #fff;
        overflow: hidden;
    }
    .compare-section .remove-button {
        position: absolute;
        bottom: 10px;
        left: 50%;
        width: 100%;
        max-width: 136px;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }
    .compare-section.price li {
        font-weight: bold;
        color: #084d62;
    }

}
@media all and (max-width: 992px) {
  .header-logo {
    width: 100px;
  }
  .main-navigation {
    width: 90%;
  }
  .main-navigation .top-menu li a {
    font-size: 10px;
  }
  .login-page-template {
    width: 100%;
  }

  .home-bg, .video-login {
    display: none;
  }

  .master-login-container {
    width: 60%;
    margin: 0 auto;
    padding: 0 0 100px;
  }

  .page-title p {
    width: 80%;
  }

  .login-box {
    margin-top: 50px;
  }

  .login-box form, .form-fields, .buttons, .reversed {
    width: 100%;
  }

  .search-box, .company-search-box {
    right: 25%;
    width: 50%;
    -webkit-box-shadow: 15px 21px 31px -5px rgba(194,194,194,0.4);
    -moz-box-shadow: 15px 21px 31px -5px rgba(194,194,194,0.4);
    box-shadow: 15px 21px 31px -5px rgba(194,194,194,0.4);
  }

  .master-header-wrapper {
    -webkit-box-shadow: 15px 21px 31px -5px rgba(194,194,194,0.4);
    -moz-box-shadow: 15px 21px 31px -5px rgba(194,194,194,0.4);
    box-shadow: 15px 21px 31px -5px rgba(194,194,194,0.4);
  }
}
@media all and (max-width: 767px) {
  .master-header-wrapper.stick {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1020;
  }
  .master-header-wrapper-parent{
      height:auto !important;
  }
  .header {
    justify-content: space-between;
  }
  .master-login-container {
    width:70%;
    height: auto;
    padding-bottom: 30px;
    padding-top: 20px;
  }
  .search-box, .company-search-box {
    right: 20%;
    width: 60%;
  }
  .main-navigation{
      display:none;
  }
  .menu-toggle{
      display:block;
  }
 
  .language-selector{
      justify-self:flex-end;
  }

  .cart tr {
    width: 49.7%;
  }

    .cart tr:nth-of-type(2n) {
      margin-right: 0;
    }

    .cart tr:nth-of-type(2n+1) {
      clear: left;
      margin-right: .6%;
    }

    .cart tr:nth-of-type(3n+1) {
      clear: none;
    }

    .cart tr:nth-of-type(3n) {
      clear: none;
    }

  .compare-section.product .picture {
    width: 45%;
  }

  .shipments thead,
  .products thead,
  .return-request-page thead,
  .recurring-payments thead,
  .reward-points-history thead,
  .downloadable-products-page thead {
    display: none;
  }

  .shipments tr,
  .products tr,
  .return-request-page tr,
  .recurring-payments tr,
  .reward-points-history tr,
  .downloadable-products-page tr {
    display: block;
    margin-bottom: 10px;
    border: 1px solid #eee;
    background: #fff;
  }

  .shipments td,
  .products td,
  .return-request-page td,
  .recurring-payments td,
  .reward-points-history td,
  .downloadable-products-page td {
    display: block;
    padding: 10px;
    border: 0;
    text-align: center;
  }

    .shipments td:first-of-type,
    .products td:first-of-type,
    .return-request-page td:first-of-type,
    .recurring-payments td:first-of-type,
    .reward-points-history td:first-of-type,
    .downloadable-products-page td:first-of-type {
      display: none;
    }

    .return-request-page td.product {
      text-align: center;
    }

    .shipments td label,
    .products td label,
    .return-request-page td label,
    .recurring-payments td label,
    .reward-points-history td label,
    .downloadable-products-page td label {
      margin-bottom: 10px;
      text-transform: uppercase;
      font-weight: normal;
      font-size: 11px;
      color: #bbb;
    }
}
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3)and (orientation: landscape) {
  .master-header-wrapper.stick {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1020;
  }

  .master-header-wrapper-parent {
    height: auto !important;
  }

  .header {
    justify-content: space-between;
  }

  .master-login-container {
    width: 70%;
    height: auto;
    padding-bottom: 30px;
    padding-top: 20px;
  }

  .search-box, .company-search-box {
    right: 20%;
    width: 60%;
  }

  .main-navigation {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .language-selector {
    justify-self: flex-end;
  }

  .cart tr {
    width: 49.7%;
  }

    .cart tr:nth-of-type(2n) {
      margin-right: 0;
    }

    .cart tr:nth-of-type(2n+1) {
      clear: left;
      margin-right: .6%;
    }

    .cart tr:nth-of-type(3n+1) {
      clear: none;
    }

    .cart tr:nth-of-type(3n) {
      clear: none;
    }

  .compare-section.product .picture {
    width: 45%;
  }

  .shipments thead,
  .products thead,
  .return-request-page thead,
  .recurring-payments thead,
  .reward-points-history thead,
  .downloadable-products-page thead {
    display: none;
  }

  .shipments tr,
  .products tr,
  .return-request-page tr,
  .recurring-payments tr,
  .reward-points-history tr,
  .downloadable-products-page tr {
    display: block;
    margin-bottom: 10px;
    border: 1px solid #eee;
    background: #fff;
  }

  .shipments td,
  .products td,
  .return-request-page td,
  .recurring-payments td,
  .reward-points-history td,
  .downloadable-products-page td {
    display: block;
    padding: 10px;
    border: 0;
    text-align: center;
  }

    .shipments td:first-of-type,
    .products td:first-of-type,
    .return-request-page td:first-of-type,
    .recurring-payments td:first-of-type,
    .reward-points-history td:first-of-type,
    .downloadable-products-page td:first-of-type {
      display: none;
    }

    .return-request-page td.product {
      text-align: center;
    }

    .shipments td label,
    .products td label,
    .return-request-page td label,
    .recurring-payments td label,
    .reward-points-history td label,
    .downloadable-products-page td label {
      margin-bottom: 10px;
      text-transform: uppercase;
      font-weight: normal;
      font-size: 11px;
      color: #bbb;
    }
}

@media all and (max-width: 480px) {

  body {
    max-width: 100%;
    overflow-x: hidden;
    font-size: 13px;
    font-family: var(--text);
    line-height: 1.2;
    background: #ffffff;
  }

  .master-wrapper-page {
    overflow: unset;
  }

  .master-wrapper-content {
    width:100%;
  }

  .page-body {
    background: #ffffff;
    width: 100%;
    padding: 20px;
    background-clip: border-box;
    border: 0 solid rgba(0,0,0,.125);
    border-radius: 0.35rem;
  }

  table thead tr th {
    font-size: 12px;
    text-align: center;
  }
  table th.actionable, table td.actionable {
    width: 19%;
  }
  table tr td {
    text-align: center;
  }
  .action-button {
    font-size: 10px;
    padding: 5px 4px;
  }
  table td .actions-menu {
    top: 48px;
    width: 80px;
  }
  .nav-icons-services > a {
    width: 160px;
    min-height: 160px;
  }
    .nav-icons-services > a:hover {
      background-color: var(--yellow);
      -webkit-box-shadow: -1px 10px 26px 1px rgba(214,214,214,0.7);
      -moz-box-shadow: -1px 10px 26px 1px rgba(214,214,214,0.7);
      box-shadow: -1px 10px 26px 1px rgba(214,214,214,0.7);
      transform: translate(0, 0);
    }
  .search-box, .company-search-box {
    width: 85%;
    right: 7.5%;
  }
  .header-wrapper {
    padding: 0 20px;
  }
  .page-title h1 {
    font-size: 31px;
    line-height:31px;
  }
  .login-box .title {
    font-size: 25px;
  }
  .login-page-template{
      width:100%;
  }

  .search-box .label {
    width: 51%;
    font-size: 9px;
  }

    .search-box input {
      font-size: 9px;
    }

  .master-login-container {
    padding: 0 0 30px 0;
    width: 85%;
  }

  .cart tr {
    width: 100%;
  }

    .cart tr:nth-of-type(2n) {
      margin-right: 0;
    }

    .cart tr:nth-of-type(2n+1) {
      clear: none;
    }

    .cart tr:nth-of-type(3n+1) {
      clear: none;
      margin: 0;
    }
}