header#header {
  background-color: #F5F7F6;
}

header .header-top {
  width: 100%;
}

header .header-top .container {
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

#header_logo {
  max-width: 200px;
}

#header_search {
  flex-grow: 1;
  max-width: 750px;
}

#header_account {
  /* max-width: 250px; */
  display: flex;
  align-items: center;
  padding: 10px 0;
}


@media (max-width: 768px) {
  header .header-top .container {
    flex-wrap: wrap;
    padding: 0;
  }
  #header_logo {
    order: 1;
  }
  #header .logo {
    max-height: 35px;
  }
  #header_account {
    order: 2;
    max-width: 65%;
  }
  #header_search {
    order: 3;
  }

  #search_widget {
    padding: 1rem 0 0 0;
  }
}


/* naviMM */
#naviMM {
  border-bottom: 3px solid #9cca17;
}

#naviMM .badge-menu  {
  margin: 0px auto 10px;
  width: 70px;
  text-align: center;
}
/* end naviMM */




/* blockcart */
#header .blockcart {
  display: inline-block;
  padding: 10px 25px;
}

#header .blockcart .icon {
  margin: 0 auto;
  position: relative;
}

#header .blockcart .icon .item_total {
  position: absolute;
  top: 0;
  right: 0;
}

#header .blockcart .item_total_value {
  margin-top: 10px;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: bold;
  color: #2B2B2B;
  text-align: center;
}

@media (max-width: 992px) {
  #header .blockcart .item_total_value {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  #header .blockcart .item_total_value {
    font-size: 12px;
  }
}
/* end blockcart */



/* setting_top */
#header .setting_top {
  display: flex;
}

#header .setting_top:before {
  content: '';
  border-left: 1px solid #ddd;
}

#header .setting_top:after {
  content: '';
  border-right: 1px solid #ddd;
}

#header .account_sett {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  padding: 10px 25px;
  min-width: 170px;
}

#header .account_sett .account_label {
  margin-top: 10px;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: bold;
  color: #2B2B2B;
  text-align: center;
}

@media (max-width: 992px) {
  #header .account_sett { 
    padding: 10px 25px;
    min-width: 130px;
  }
  #header .account_sett .account_label {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  #header .account_sett {
    padding: 5px 25px;
    min-width: 90px;
  }

  #header .account_sett .account_label {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  #header .account_sett {
    padding: 5px 30px;
    max-width: 50px;
    min-width: auto;
  }

  #header .blockcart {
    display: inline-block;
    padding: 10px 10px;
  }
}
/* end setting_top */





/* features-home, banner-top */

.features-home {
  margin: 24px auto 0;
}

.features-home .item {
  width: calc(100% / 3);
  padding: 10px 20px 10px 40px;
}

.features-home .item1 {
  background-color: #126233;
  border-radius: 10px 0 0 10px;
}

.features-home .item2 {
  background-color: #9CCA17;
}

.features-home .item3 {
  background-color: #038C3C;
  border-radius: 0 10px 10px 0;
}

.banner-top {
  margin: 24px auto 0;
}

.banner-top .banner-innner {
  border-radius: 10px;
}

.banner-home {
  padding-top: 55px;
  margin: 24px auto 0;
  border-top: 8px solid #038C3C;
}



@media (max-width: 768px) {
  .features-home .box_cms {
    flex-direction: column;
  }

  .banner-home .banner-innner.top {
    margin-bottom: 15px;
  }

  .banner-top .row,
  .banner-home .row {
    display: flex;
    flex-wrap: wrap;
  }

  .banner-top .row > .col-lg-6,
  .banner-home .row > .col-lg-3 {
    width: 50% !important;
    float: none !important;
  }
}

@media (max-width: 480px) {
  .features-home > .container {
    flex-direction: column;
  }

  .features-home .item {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 2px;
  }

  .features-home .box_cms {
    flex-direction: row;
  }

  .banner-top .row > .col-lg-6,
  .banner-home .row > .col-lg-3 {
    width: 100% !important;

  }

}

@media (max-width: 320px) {

  

}
/* end features-home */





/* Nagłówki strona główna */

.pos_title h2 {
  border-bottom: 1px solid #DFE0DF;
  padding: 10px 0;
  margin-bottom: 10px;
}
.pos_title h2:before {
  content: '';
  background: url(../img/header.svg) no-repeat left center;
  background-size: auto;
  width: 75px;
  height: 24px;
  display: inline-block;
  background-size: contain;
}

.pos_new_product .pos_content {
  margin-bottom: 24px;
}

/* end Nagłówki strona główna */






/* Produkty lista */
.row.a3m-filters {
  background: #d2e890;
  padding: 1.5rem 1rem;
  border-radius: 5px;
}

.row.a3m-filters .form-control-select {
  background: white;
  color: #292929;
}

#btn-filtr {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  height: 2.5rem;
}


.pos_new_product .owl-carousel .owl-wrapper .owl-item {
  width: calc(1400px / 6)
}


@media (min-width: 993px) and (max-width: 1200px) {
  .pos_new_product .owl-carousel .owl-wrapper .owl-item {
    width: calc((1200px / 5) - 10px)
  }
}
@media (min-width: 769px) and (max-width: 992px) {
  .pos_new_product .owl-carousel .owl-wrapper .owl-item {
    width: calc((992px / 4) - 10px);
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .pos_new_product .owl-carousel .owl-wrapper .owl-item {
    width: calc((768px / 3) - 10px);
  }
}

@media (min-width: 321px) and (max-width: 480px) {
  .pos_new_product .owl-carousel .owl-wrapper .owl-item {
    width: calc((480px / 2) - 10px);
  }
}

@media (max-width: 320px) {
  .pos_new_product .owl-carousel .owl-wrapper .owl-item {
    width: calc(320px - 10px);
  }
}

.item-product {
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 10px;
  height: 100%;
}

.item-product .js-product-miniature {
  height: 100%;
}

.item-product .img_block {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.item-product .product-thumbnail {
  padding: 10px;
  display: block;
}

.item-product .product_desc {
  padding: 0 10px 10px;
}

.item-product .product_desc .product-price-and-shipping .price {
  color: #0f7e15;
  font-size: 26px;
  font-weight: 600;
}

.item-product .block-inner {
  display: flex;
  justify-content: center;
  padding: 10px;
  align-items: center;
  flex-direction: row;
}



.js-product-miniature .img_block .block-inner .cart {
  display: initial;
  margin: 1px;
}

.js-product-miniature .img_block .block-inner .cart button {
  background-color: #9CCA17;
  border-radius: 5px;
}
.js-product-miniature .img_block .block-inner .cart button:hover {
  color: white;
}


.js-product-miniature .img_block .block-inner .detail {
  background-color: #61A965;
  border-radius: 5px;
  margin: 1px;
}
.js-product-miniature .img_block .block-inner .detail:hover {
  color: white;
}


.js-product-miniature .img_block .block-inner .quick-view {
  background-color: #84C3DF;
  border-radius: 5px;
  margin: 1px;
}
.js-product-miniature .img_block .block-inner .quick-view:hover {
  color: white;
}

.out_of_stock {
  color: #D37070;
}


#content.page-content.page-not-found {
  margin: 4rem 0px;
}
/* end Produkty lista */








/* BLOG */
.home_blog_post_area {
  background-color: white;
  border-top: 8px solid #9cca17;
}

.blog_slider .owl-item {
  width: calc(100% / 3)
}

.home_blog_post_inner .blog_slider {
  display: flex;
}


.home_blog_post_inner .blog_slider > * {
  padding-bottom: 2rem;
}

@media (max-width: 576px) {
  .home_blog_post_inner .blog_slider {
    flex-direction: column;
  }
}
/* end BLOG */




/* footer */

footer#footer {
  border-top: 8px solid #9cca17;
}



#footer_account_list li {
  padding: 6px 0;
}

#footer_account_list li a {
  line-height: 1.225 !important;
}


@media (max-width: 992px) {
  #footer .footer-center > .container > .row > *:not(#lgcookieslaw_fixed_button),
  #footer .footer-bottom>.container>.row>* {
    float: none;
    width: 100%;
  }
    
  #footer .footer-center>#block_myaccount_infos,
  #footer .footer-center>.container>.row>.wrapper {
    margin-top: 20px;
  }
}
/* end footer */







/* subpage */
body:not(#index) #main {
  min-height: 640px;
}



/* end subpage */