/* General rules */

html {
    scroll-behavior: smooth;
}

.title-block {
    color: #004d85;
    font-weight: 600;
    margin: 20px 0 30px 0;
}

#home ol {
    color: #414141 !important;
}
#home ol a, #home ol li {
    color: #414141 !important;
}
#home ol a:hover {
    color: #004d85 !important;
}
#home p {
    color: #414141 !important;
    font-size: 18px;
    margin-bottom: 20px;
}
#home li::marker {
    color: #414141 !important;
    font-size: 18px;
}

.top-cart .cart-total {
    font-size: 0 !important;
}
.cart-total .cart-title {
    margin-right: 3px;
}

/* Komputery stacjonarne */
.stacjonarne img {
    border-radius: 10px;
    margin-top: 20px;
}
@media (min-width: 767px) {
    .stacjonarne img {
        margin-top: 0;
        max-height: 486px;
        float: right;
    }
}
@media (max-width: 429px) {
    .stacjonarne div.col-lg-4 {
        padding: 0;
    }
    .stacjonarne img {
        border-radius: 0px;
        margin-bottom: -40px;
    }
}

/* Produkt */

.product-desc ul {
    list-style: disc;
    padding-left: 25px;
}

/* Serwis */

.flip {
    position: relative;
    width: 100% !important;
}
.flip > .front, .flip > .back {
    display: block;
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-duration: 1s;
    transition-property: transform, opacity;
}
.flip > .front {
    transform: rotateY(0deg);
}
.flip > .back {
    position: absolute;
    opacity: 0;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    transform: rotateY(-180deg);
}
.flip:hover > .front {
    transform: rotateY(180deg);
}
.flip:hover > .back {
    opacity: 1;
    transform: rotateY(0deg);
}
.flip.flip-vertical > .back {
    transform: rotateX(-180deg);
}
.flip.flip-vertical:hover > .front {
    transform: rotateX(180deg);
}
.flip.flip-vertical:hover > .back {
    transform: rotateX(0deg);
}
.flip {
    position: relative;
    display: inline-block;
    margin-right: 2px;
    margin-bottom: 30px;
    width: 400px;
}
.flip > .front, .flip > .back {
    display: block;
    color: white !important;
    width: inherit;
    background-size: cover !important;
    background-position: center !important;
    height: 220px;
    padding: 1em 2em;
    background: #003d68;
    border-radius: 10px;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}
.flip > .front p, .flip > .back p {
    font-size: 0.7125rem;
    line-height: 140%;
    color: white !important;
    margin-bottom: 0 !important;
}
.flip > .back {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
#home .flip > .front > h1 {
    color: white !important;
    font-weight: 700 !important;
    font-size: 26px !important;
}
#home .flip > .back > h2 {
    color: white !important;
    font-weight: 700 !important;
}
#home .flip > .back > p {
    color: white !important;
}
/* .text-shadow {
    text-shadow: 1px 1px rgba(0, 0, 0, 0.04), 2px 2px rgba(0, 0, 0, 0.04), 3px 3px rgba(0, 0, 0, 0.04), 4px 4px rgba(0, 0, 0, 0.04), 0.125rem 0.125rem rgba(0, 0, 0, 0.04), 6px 6px rgba(0, 0, 0, 0.04), 7px 7px rgba(0, 0, 0, 0.04), 8px 8px rgba(0, 0, 0, 0.04), 9px 9px rgba(0, 0, 0, 0.04), 0.3125rem 0.3125rem rgba(0, 0, 0, 0.04), 11px 11px rgba(0, 0, 0, 0.04), 12px 12px rgba(0, 0, 0, 0.04), 13px 13px rgba(0, 0, 0, 0.04), 14px 14px rgba(0, 0, 0, 0.04), 0.625rem 0.625rem rgba(0, 0, 0, 0.04), 16px 16px rgba(0, 0, 0, 0.04), 17px 17px rgba(0, 0, 0, 0.04), 18px 18px rgba(0, 0, 0, 0.04), 19px 19px rgba(0, 0, 0, 0.04), 1.25rem 1.25rem rgba(0, 0, 0, 0.04);
} */

/* #komputery {
    background-image: url(/imgs/"komputery.jpg");
} */

/* Kontakt */

.map {
    margin-bottom: -40px;
}
input.btn-default {
    margin: 10px 0;
}
input.btn-default:hover {
    background-color: #004d85;
    color: #fff;
}
.input-wrapper, .input-wrapper label {
    font-size: 10px;
}

/* Custom Mobile Menu */

.burger-icon {
    display: none;
    cursor: pointer;
    padding: 0px 9px;
    position: absolute;
    right: 70px;
    width: 43px;
    border: 1px solid white;
    border-radius: 10px;
    height: 43px;
    top: 24px;
    z-index: 999999;
}

.bar1 {
    margin-top: 13px !important;
}

.bar1, .bar2, .bar3 {
    background: #fff;
    width: 23px;
    height: 2px;
    margin: 5px 0;
    transition: .6s;
    border-radius: 2px;
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-4px, 5px);
    transform: rotate(-45deg) translate(-4px, 5px);
}
.change .bar2 {
    opacity: 0;
}
.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-5px, -6px);
    transform: rotate(45deg) translate(-5px, -6px);
}

#navbarCollapse {
    display: none;
    position: fixed;
    top: 90px;
    right: 0;
    left: 0;
    z-index: 1000000;
    background-color: #fff;
    overflow: scroll;
    height: calc((var(--vh, 1vh) * 100) - var(--height) - 90px);
}

#navbarCollapse img {
    color: #004d85 !important;
    width: 30px;
    margin-right: 20px;
}

/* #navbarCollapse ul {
    margin-left: 27px;
} */

#navbarCollapse li {
    padding: 20px 0 20px 28px;
    border-bottom: #eee solid 1px;
}
#navbarCollapse li a{
    text-transform: uppercase;
    font-weight: 600;
    color: #004d85;
}
#navbarCollapse>ul>.menu-item:first-child{
    display: none;
}

.noscroll {
    overflow: hidden;
}

/* preloader */

.preload {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 10000000;
    visibility: hidden;
    opacity: 0;
    width: 100vw;
    height: 100vh;
    top: 0;
    background-color: #004d85;
    transition: opacity 400ms ease-in-out, visibility 0s 400ms;
}

.show-preloader {
    visibility: visible;
    opacity: 1;
}

.circle {
    background-color: #fff;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
    animation: bounce-circles 0.7s infinite ease-in-out;
}

.preload .circle:nth-child(1) {
     animation-delay: -0.6s;
}

.preload .circle:nth-child(2) {
     animation-delay: -0.5s;
}

.preload .circle:nth-child(3) {
     animation-delay: -0.4s;
}

.preload .circle:nth-child(4) {
    animation-delay: -0.3s;
}

@keyframes bounce-circles {
    0%, 40%, 100% {
        transform: translateY(-10px);
    } 20% {
        transform: translateY(-20px);
    }
}

/* Meanmenu (jQuery plugin) */

.mobile-menu-area {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000000;
    transition: top 0.5s;
}

.mean-container .mean-nav ul li a img {
    color: #004d85 !important;
    width: 30px;
    padding-right: 20px;
    padding-bottom: 6px;
}

.mean-container .mean-nav {
    line-height: 3.2;
    overflow: scroll;
}

.mean-nav>ul>.menu-item:first-child{
    display: none;
}

/* Kategorie - dolny pasek na urządzeniach mobilnych */

.category-mobile {
    width: 100%;
    background-color: #fff;
    overflow: scroll;
    height: calc((var(--vh, 1vh) * 100) - var(--height));
    display: none;
    position: fixed;
    top: 0;
    z-index: 1000001;
}

.category-mobile ul li.mobile-only {
    text-align: right !important;
    border-bottom: none;
    padding: 0;
    position: sticky;
    top: 0;
    right: 10px;
    z-index: 1000002;
}

.category-mobile ul li.mobile-only a {
    border-bottom: none;
    padding: 10px 10px 0 0;
}

.category-mobile ul li a {
    padding: 20px 20px;
    border-bottom: #eee solid 1px;
    font-size: 16px;
    text-transform: uppercase;
    color: #004d85;
    display: block;
    font-family: "Lato",sans-serif;
    font-weight: 600;
    line-height: 25px;
    position: relative;
}

.category-mobile > ul > li > a > img {
    margin-right: 10px;
    width: 25px;
}

.mobile-only {
    cursor: pointer;
}

/* Overlay */

/* .overlay {
    display: none;
    background: rgba(0,0,0,0.5);
    z-index: 1000000;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
}

.show-overlay {
    display: block;
} */

/* Koszyk - mobilne */

.cart-mobile {
    width: 100%;
    background-color: #fff;
    display: none;
    overflow: scroll;
    /* height: 88vh; */
    height: calc((var(--vh, 1vh) * 100) - var(--height));
    display: none;
    position: fixed;
    top: 0;
    z-index: 1000001;
}

.cart-mobile .mini-cart-content {
    background: #fff none repeat scroll 0 0;
    padding: 10px 0 0;
    /* height: 88vh; */
    height: calc((var(--vh, 1vh) * 100) - var(--height));
}

.cart-mobile .mini-cart-content .cart-mobile-icon img {
    margin-right: 20px;
    width: 25px;
}

.cart-mobile .mini-cart-content div.cart-mobile-icon.text-right {
    float: right;
}

.cart-mobile a span i {
    background: #004d85 none repeat scroll 0 0;
    color: #fff;
    float: left;
    font-size: 16px;
    height: 51px;
    line-height: 51px;
    text-align: center;
    width: 50px;
    margin: 0 12px;
}

.cart-mobile .cart-total {
    color: #929292;
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    margin: 0;
    min-width: 160px;
    position: relative;
    text-align: left;
    text-transform: uppercase;
}

.cart-mobile span.cart-title {
    margin-top: 3px;
    color: #004d85;
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.cart-mobile span.cart-item {
    color: #004d85;
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.cart-mobile span.top-cart-price {
    color: #b4414e;
    font-size: 15px;
    margin-right: 0;
    white-space: nowrap !important;
}

.cart-mobile .cart-inner-bottom {
    padding: 0 15px;
    background-color: #fff;
}

.cart-mobile .mini-cart-content .cart-img-details {
    border-bottom: 0 none;
    margin: 12px 0;
    overflow: hidden;
    padding: 12px 12px 0;
    position: relative;
}

.cart-mobile .mini-cart-content .cart-img-details .cart-img-photo {
    border: 1px solid #ddd;
    float: left;
    margin: 0 15px 0 0;
    min-height: 100px;
    padding: 4px;
    width: 80px;
}

.cart-mobile .mini-cart-content .cart-img-details .cart-img-content {
    line-height: 1;
    margin-right: 30px;
}

.cart-mobile a {
    display: block;
}

.cart-mobile .mini-cart-content .cart-img-details .cart-img-content h4 {
    color: #636363;
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    margin: 0 0 5px;
    text-align: left;
    text-transform: capitalize;
    transition: all 0.3s ease 0s;
}

.cart-mobile-icon {
    cursor: pointer;
}

/* Koszyk - desktop */

.quick-access {
    width: 100%;
}

.top-cart a > span.cart-icon > i {
    float: right;
    margin-right: 0;
}

div.top-link > ul.link > li > a.koszyk {
    background-color: #004d85;
    color: #eee;
    font-weight: 700;
    height: 52px;
    line-height: 52px;
}
div.top-link>ul.link>li>a.koszyk:hover {
    background-color:#ed7987;
}


@media (min-width: 992px) {
    span.cart-total {
        padding: 3px 5px 0 0;
        text-align: right !important;
    }
    span.cart-total > span.cart-title, span.cart-total > span.cart-item {
        text-align: right;
        display: inline-block;
    }
    span.cart-total > span.top-cart-price {
        text-align: right;
        display: block;
    }
}
@media (max-width: 992px) {
    .shopping-cart {
        margin-top: 50px;
    }
}

/* Search - mobilne */

.search-mobile-icon {
    cursor: pointer;
}

.search-mobile {
    background-color: #fff;
    overflow: scroll;
    /* height: 88vh; */
    height: calc((var(--vh, 1vh) * 100) - var(--height));
    display: none;
    position: fixed;
    top: 0;
    z-index: 1000001;
}

.search-mobile .search-by-category {
    float: left;
    margin: 10px;
    position: relative;
}

.search-mobile .search-by-category i {
    cursor: pointer;
    font-size: 18px;
}

.search-mobile .search-by-category .header-search {
    width: 100vw !important;
}

.search-mobile .header-search button {
    position: fixed;
    right: 20px;
    background: #004d85 none repeat scroll 0 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    height: 52px;
    line-height: 50px;
    transition: all 0.3s ease 0s;
    width: 55px;
    cursor: pointer;
}

.search-mobile .search-by-category .header-search input {
    border: 2px solid #004d85;
    color: rgb(37, 37, 37) !important;
    font-weight: 500;
    height: 52px;
    line-height: 26px;
    width: 100% !important;
}

.search-mobile .search-by-category .header-search div {
    padding-left: 26px;
}

.search-mobile .search-by-category .search-container select {
    background: #004d85;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    width: 100% !important;
    height: 52px;
    padding-left: 5px;
}

/* .fa-arrow-down */

.search-mobile .search-by-category .search-container  {
    color: rgb(37, 37, 37) !important;
    width: 100vw !important;
}

.search-mobile .search-by-category .search-container div  {
    padding-left: 26px !important;
}

.search-mobile .search-container::after {
    border-left: 8px solid hsla(0, 0%, 100%, 0);
    border-right: 8px solid hsla(0, 0%, 100%, 0);
    border-top: 10px solid white;
    content: "";
    display: block;
    height: 0;
    position: absolute;
    right: 35px;
    top: 20px;
    width: 0;
    z-index: 1;
  }

.product-filter .btn {
    background-color: #004d85; 
    border: none;
    color: #fff;
}
.product-filter .btn:hover {
    background-color: #013357; 
    border: none;
    color: #fff;
}

/* Checkout area */

.checkout-area a.accordion-trigger:hover {
    color: white;
    background-color: #026ab4;
}
.checkout-area table tfoot td{
    padding: 0.75rem 0.25rem;
}

/* Media queries */

@media (min-width: 992px) {
    .menu-item img {
        display: none;
    }
    .mobile-bottom-menu nav .mbm-item img {
        max-width: 30%;
    }
    .mobile-bottom-menu nav .mbm-item span {
        font-size: 16px;
    }
    .header-middle {
        margin: 35px 0 30px !important;
      }
}
@media (min-width: 768px) and (max-width: 991px) {
    .mobile-bottom-menu nav .mbm-item img {
        max-width: 30% !important;
    }
    .mobile-bottom-menu nav .mbm-item span {
        font-size: 16px !important;
    }
}
@media (min-width: 600px) and (max-width: 767px) {
    .mobile-bottom-menu nav .mbm-item img {
        max-width: 40% !important;
    }
    .mobile-bottom-menu nav .mbm-item span {
        font-size: 14px !important;
    }
}
@media (min-width: 480px) and (max-width: 599px) {
    .mobile-bottom-menu nav .mbm-item img {
        max-width: 50%;
    }
    .mobile-bottom-menu nav .mbm-item span {
        font-size: 12px;
    }
}

@media (max-width: 991px) {
    .burger-icon {
        display: block;
    }
    .nivo-slider a {
        z-index: 100;
    }
}

@media (max-width: 767px) {
    .mobile-hidden {
        display: none;
    }
    .header-middle {
        margin: 0;
    }
    .single-product .product-action {
        opacity: 1;
        transform: none;
        position: absolute;
        bottom: 5px;
    }
    .single-product .product-action .button-group {
        display: block;
    }
    .single-product .product-button a {
        width: 100%;
        display: block;
        padding: 0 15px 10px;
    }
    .single-product .product-action button {
        width: 100%;
        margin: 0;
    }
    .single-product .product-description h5 a {
        height: max-content;
    }
    .category-menu-list {
        display: none;
    }
    .checkout-area .btn {
        font-size: .8rem;
    }
    .checkout-area #getCompanyFrom {
        font-size: .7rem;
    }
    .checkout-area table, .checkout-area div {
        font-size: 14px;
    }
    .checkout-area table td {
        padding: 0.25rem;
    }
    table td a {
        word-break: break-word;
    }
    .checkout-area .card-body {
        padding: .25rem;
    }
    div.card-body {
        padding: .75rem;
    }
}

/* Footer - mobile devices */

@media (max-width: 576px) {
    ul.footer-content {
        margin: 0 0 0 15px;
    }
    ul.footer-content li a {
        line-height: 30px;
    }
    footer.footer-area {
        padding: 0;
    }
    div.footer {
        padding: 20px 0 0 0;
    }
    .subscribe-area .social-media {
        margin-top: 10px;
    }
    .subscribe-area {
        padding: 20px 0;
    }
}

/* Profil - zamówienia */

@media (max-width: 479px) {
    div.card-body {
        padding: .25rem;
    }
    table td, table th {
        font-size: 14px;
        padding: .25rem !important;
    }
}
@media (max-width: 328px) {
    div.card-body {
        padding: .0;
    }
    table td, table th {
        font-size: 12px;
        padding: 0 !important;
    }
}

#toast-container {
    z-index: 2000000;
}

/* Responsive table for shopping cart */

/* Variables
================================== */
/* Tables
================================== */
.Rtable {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
  }
  .Rtable-cell {
    box-sizing: border-box;
    flex-grow: 1;
    width: 100%;
    padding: 0.8em 1.2em;
    overflow: hidden;
    list-style: none;
    border: solid 1px white;
    background: rgba(112, 128, 144, 0.2);
  }
  .Rtable-cell > h1,
  .Rtable-cell > h2,
  .Rtable-cell > h3,
  .Rtable-cell > h4,
  .Rtable-cell > h5,
  .Rtable-cell > h6 {
    margin: 0;
  }
  /* Table column sizing
  ================================== */
  .Rtable--2cols > .Rtable-cell {
    width: 50%;
  }
  .Rtable--3cols > .Rtable-cell {
    width: 33.33%;
  }
  .Rtable--4cols > .Rtable-cell {
    width: 25%;
  }
  .Rtable--5cols > .Rtable-cell {
    width: 20%;
  }
  .Rtable--6cols > .Rtable-cell {
    width: 16.6%;
  }
  /* Apply styles
  ================================== */
  .Rtable {
    position: relative;
  }
  .Rtable-cell {
    margin: 0;
    background-color: white;
    border-color: #e2e6e9;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .tablehead {
      font-weight: 700;
  }
  /* Cell styles
  ================================== */
  .Rtable-cell--dark {
    background-color: slategrey;
    border-color: #5a6673;
    color: white;
  }
  .Rtable-cell--dark > h1,
  .Rtable-cell--dark > h2,
  .Rtable-cell--dark > h3,
  .Rtable-cell--dark > h4,
  .Rtable-cell--dark > h5,
  .Rtable-cell--dark > h6 {
    color: white;
  }
  .Rtable-cell--medium {
    background-color: #b8c0c8;
    border-color: #a9b3bc;
  }
  .Rtable-cell--light {
    background-color: white;
    border-color: #e2e6e9;
  }
  .Rtable-cell--highlight {
    background-color: lightgreen;
    border-color: #64e764;
  }
  .Rtable-cell--alert {
    background-color: darkorange;
    border-color: #cc7000;
    color: white;
  }
  .Rtable-cell--alert > h1,
  .Rtable-cell--alert > h2,
  .Rtable-cell--alert > h3,
  .Rtable-cell--alert > h4,
  .Rtable-cell--alert > h5,
  .Rtable-cell--alert > h6 {
    color: white;
  }
  /* .Rtable-cell--head {
    background-color: slategrey;
    border-color: #5a6673;
    color: white;
  } */
  .Rtable-cell--head > h1,
  .Rtable-cell--head > h2,
  .Rtable-cell--head > h3,
  .Rtable-cell--head > h4,
  .Rtable-cell--head > h5,
  .Rtable-cell--head > h6 {
    color: white;
  }
  .Rtable-cell--foot {
    background-color: #ebebeb;
    border-color: #d6d6d6;
  }
  /* Responsive
  ==================================== */
  @media all and (max-width: 767px) {
    .Rtable--collapse {
      display: block;
    }
    .Rtable--collapse > .Rtable-cell {
      width: 100% !important;
    }
    .Rtable--collapse > .Rtable-cell--foot {
      margin-bottom: 1em;
    }
  }
  .no-flexbox .Rtable {
    display: block;
  }
  .no-flexbox .Rtable > .Rtable-cell {
    width: 100%;
  }
  .no-flexbox .Rtable > .Rtable-cell--foot {
    margin-bottom: 1em;
  }
  



/*pop up */

/* Search Overlay CSS */
.popup {
    display: none;
    position: fixed;
    z-index: 9999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
  }
  .popup-content {
    position: relative;
    margin: 10% auto;
    width: 80%;
    max-width: 600px;
    background-color: #fefefe;
    text-align: center;
  }
  .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
  }
  .close:hover {
    color: black;
  }
  
/* collapsable menu */
.accordion {
    width: 100%;
  }
  
  .accordion-item {
    margin-bottom: 10px;
  }
  
  .accordion-item-header {
    cursor: pointer;
    padding: 10px;
    background-color: #004d85;
    color: white;
    font-size: 1rem;
  }
  .accordion-item-header::after
  {
    content: "\f0d7";
    display: block;
    float: right;
    font-family: "FontAwesome";
    font-size: 14px;
    font-weight: 700;
    text-align: center;
  }
  
  .accordion-item-content {
    display: none;
    padding: 10px;
    background-color: #f5f5f5;
    color: #341c77;
  }
  
  .accordion-item.active .accordion-item-content {
    display: block;
  }
  
/* !_collapsable menu */


.hidden-until-991 {
    display: none;
}

@media (max-width: 991px) {
    .hidden-until-991 {
        display: block;
    }
}


@media (min-width: 992px) {
    .product-menu {
        padding: 0px;
    }
    .product-area
    {
        margin-top: 0px;
    }
}
