html .scroll-to-top {
  bottom: 50px;
  font-size: initial;
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
  .shop-cart-table,
  .checkout-table {
    word-break: keep-all !important;
    white-space: nowrap !important;
  }
}

.product-card-info .price.text-4 {
  font-size: 1rem !important;
}

.product-card-info .price.text-4 strong {
  margin-left: 0px;
  margin-right: 0px;
}

.select2.select2-container.select2-container--default {
  height: 37px;
}
.select2.select2-container.select2-container--default
  .select2-selection.select2-selection--multiple {
  height: 100%;
}

@media only screen and (max-width: 767px) {
  .promo-container p {
    line-height: 18px;
    font-size: 18px;
  }

  body.category .category-breadcrumb h1 {
    font-size: 14px !important;
  }

  .banner-mobile-discount p {
    color: #222;
    text-align: center;
  }

  body.about-us .image-frame.image-frame-style-2::after,
  body.about-us .image-frame.image-frame-style-3::after,
  body.about-us .image-frame.image-frame-style-4::after {
    content: none !important;
  }

  body.about-us .company-img-section .image-frame.image-frame-style-2::after {
    content: none;
  }

  .image-frame.image-frame-style-2:after,
  .image-frame.image-frame-style-3:after,
  .image-frame.image-frame-style-4:after {
    content: none !important;
  }

  body.home .owl-nav {
    display: none;
  }

  body.home .owl-item p {
    margin-bottom: 0px !important;
  }

  body.home .owl-item .icon-box.icon-box-style-5.p-4 {
    padding-bottom: 0px !important;
  }
}

.cc-cookies {
  bottom: 0px !important;
  width: 100%;
  top: auto !important;
  z-index: 9999999999;
}

.cc-cookies a.cc-cookie-accept,
.cc-cookies-error a.cc-cookie-accept,
.cc-cookies a.cc-cookie-decline,
.cc-cookies-error a.cc-cookie-decline,
.cc-cookies a.cc-cookie-reset,
.cc-cookies a:hover.cc-cookie-accept,
.cc-cookies-error a:hover.cc-cookie-accept,
.cc-cookies a:hover.cc-cookie-decline,
.cc-cookies-error a:hover.cc-cookie-decline,
.cc-cookies a:hover.cc-cookie-reset {
  background: #1d63ac;
  color: #fff !important;
}

.pr_desc h2 {
  font-size: 1.25rem;
  margin-top: 10px;
}

.cc-cookies {
  font-weight: lighter;
}

.pr_desc p,
.pr_desc ul,
.pr_desc ol {
  margin-bottom: 5px;
}

span.h3-desc {
  color: #1c1f21;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.4rem 0;
  letter-spacing: -0.5px;
  font-size: 1.5rem;
}

a.main-image {
  position: relative;
  /* overflow: hidden; */
  width: 100% inherit;
  width: 100%;
  display: block;
  overflow: hidden;
  margin: 0px !important;
  height: auto;
}

.ribbon {
  position: absolute;
  right: 0px;
  top: 15px;
  z-index: 2;
  width: 75px;
  height: 75px;
  text-align: right;
}

.ribbon span {
  font-size: 10px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  width: 100px;
  display: block;
  background: #1d63ac;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#1d63ac),
    to(#1d63ac)
  );
  background: linear-gradient(#1d63ac 0%, #1d63ac 100%);
  -webkit-box-shadow: 0 3px 10px -5px #000;
  box-shadow: 0 3px 10px -5px #000;
}

.ribbon span::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 100%;
  z-index: -1;
  border-left: 3px solid #013e27;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #013e27;
}

body.product span.price > strong {
  font-size: 14px;
  display: block;
}

body.product span.old-price > strong {
  font-size: 14px;
  display: block;
}

.ribbon span::after {
  content: "";
  position: absolute;
  right: 0px;
  top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-right: 3px solid #013e27;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #013e27;
}

body.product .variation-table > thead > tr > th:nth-child(3) {
  min-width: 140px !important;
}

body article.product span.price > strong {
  display: block;
}

body article.product .is-promo span.price > strong {
  height: auto;
  min-height: auto;
  display: block;
  font-weight: 600 !important;
}

body.product .is-promo span.price > strong {
  font-weight: 600 !important;
  font-size: 16px;
  margin-bottom: 10px;
}

body.product .variation-table .price-row {
  vertical-align: middle;
}

body.product .variation-table .price-row span > strong {
  font-weight: 300;
}

@media only screen and (min-width: 768px) {
  table.shop-cart-table {
    word-break: keep-all !important;
    white-space: nowrap !important;
  }
}

table .product-desc {
  max-height: 130px;
  overflow: hidden;
  width: 180px;
  display: block;
}
.table thead th {
  border-bottom: 0px !important;
}

body.product a.main-image {
  text-align: center;
}

.text-truncate-3 {
  height: 50px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  display: -ms-flexbox;
  display: box;
  -webkit-line-clamp: 3;
  box-orient: vertical;
  -webkit-box-orient: vertical;
  white-space: normal !important;
}

.ribbon.left {
  left: -22px;
  right: initial;
}

.ribbon.left > span {
  transform: rotate(-45deg) !important;
  -webkit-transform: rotate(-45deg) !important;
}

body article.product .pricex2 span.price > strong {
  height: 38px;
  min-height: 38px;
  max-height: 38px;
  display: block;
}

.product-card .product-card-info {
  padding: 10px !important;
}

@media only screen and (max-width: 360px) {
  .header-top-container .header-row .header-column.justify-content-start {
    display: none;
  }

  .header-top-container .header-row .header-column.justify-content-end {
    justify-content: center !important;
  }

  #header .header-nav-main:before {
    left: 43%;
    width: 102vw;
  }

  #header .header-top .header-top-container {
    padding: 0px !important;
  }

  #header .header-top .header-top-container .lang-element {
    max-width: 60px;
    overflow: hidden;
  }

  #header .header-top .header-top-container .lang-element i {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  .pt-xs-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0 !important;
  }
  body.about-us .order-xs-2 {
    order: 2;
    padding-bottom: 0 !important;
    margin-bottom: 0px !important;
  }

  body.about-us .position-absolute {
    position: unset !important;
    top: 0 !important;
    left: 0 !important;
  }

  body.about-us .order-xs-2 .bg-primary.position-relative.mx-auto {
    display: flex;
    width: 100%;
    max-width: 100% !important;
    overflow-x: scroll;
    margin-top: 0px;
  }

  body.about-us .scroll-text {
    padding: 0;
    margin: 40px 0 20px 0;
    color: #000;
    text-align: center;
    font-size: 16px;
    display: block;
  }

  body.about-us .text-center-xs {
    text-align: center !important;
  }

  body.about-us a.btn.btn-outline {
    width: 100%;
    justify-content: center;
  }

  .offer-svg {
    left: 55px !important;
    top: 5px !important;
  }
}

.offer-svg {
  fill: #1d63ac;
  width: 16px;
  z-index: 0;
  position: absolute;
  right: -5px;
  top: 35px;
}

.primary-color {
  color: #1d63ac !important;
}

.order-user-summary table .product-desc {
  width: 100%;
  max-width: 180px;
}

body.cart table .product-desc {
  max-height: 130px;
  overflow: hidden;
  max-width: 180px;
  display: block;
  width: 100%;
}

.order-user-summary table {
  word-break: keep-all !important;
  white-space: nowrap !important;
}

@media only screen and (min-width: 767px) {
  .order-user-summary table {
    border-top: 1px solid #dee2e6 !important;
  }
}

.promo-container a {
  font-weight: bold;
  text-transform: uppercase;
}

.cc-cookies a:hover {
  color: #fff !important;
  text-decoration: underline;
}

/**
 * V3 Modiiche Novembre 2020
 */
header a svg {
  fill: #707070;
}

footer ul li svg {
  width: 5px;
  height: 14px;
  fill: #fff;
  position: absolute;
  left: 0;
  top: 6px;
}

body.category .custom-select-1::before {
  content: " ";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'%3E%3Cpath d='M119.5 326.9L3.5 209.1c-4.7-4.7-4.7-12.3 0-17l7.1-7.1c4.7-4.7 12.3-4.7 17 0L128 287.3l100.4-102.2c4.7-4.7 12.3-4.7 17 0l7.1 7.1c4.7 4.7 4.7 12.3 0 17L136.5 327c-4.7 4.6-12.3 4.6-17-.1z'/%3E%3C/svg%3E");
  height: 21px;
  background-repeat: no-repeat;
  margin-right: 5px;
  background-size: cover;
  /* margin-top: 3px; */
  display: flex;
  background-position: center;
  width: 9px;
}

aside.sidebar .accordion.accordion-style-1 .accordion-header a::before {
  content: " ";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 192 512'%3E%3Cpath d='M166.9 264.5l-117.8 116c-4.7 4.7-12.3 4.7-17 0l-7.1-7.1c-4.7-4.7-4.7-12.3 0-17L127.3 256 25.1 155.6c-4.7-4.7-4.7-12.3 0-17l7.1-7.1c4.7-4.7 12.3-4.7 17 0l117.8 116c4.6 4.7 4.6 12.3-.1 17z'/%3E%3C/svg%3E");
  height: 21px;
  background-repeat: no-repeat;
  margin-right: -4px;
  background-size: cover;
  display: flex;
  background-position: center;
  width: 9px;
  border: none;
  transform: none;
}

body.product .pref-product svg {
  fill: #1d63ac;
}

.checkbox-custom input[type="checkbox"]:checked + label::after {
  font-family: none;
  content: " ";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' style='&%2310; width: 10px;&%2310; height: 10px;&%2310;'%3E%3Cpath d='M413.505 91.951L133.49 371.966l-98.995-98.995c-4.686-4.686-12.284-4.686-16.971 0L6.211 284.284c-4.686 4.686-4.686 12.284 0 16.971l118.794 118.794c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-11.314-11.314c-4.686-4.686-12.284-4.686-16.97 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
  width: 10px;
  height: 10px;
}

/* V3 */
.promo-container {
  color: #000;
}

.promo-container p,
.promo-container a {
  color: #222;
}

@media (max-width: 767px) {
  header .header-column .nav-link {
    padding: 0.5rem 0.5rem !important;
  }

  #header .header-column.justify-content-end {
    justify-content: space-evenly !important;
  }

  .promo-container p {
    font-size: 16px !important;
    padding: 5px 0 !important;
  }

  html #header .header-nav-main nav > ul > li > a {
    padding-left: 20px;
  }

  header .header-container.container .header-row {
    position: relative;
  }

  header .header-container.container .header-row .header-nav-main {
  }

  html #header .header-nav-main nav > ul > li > a {
    padding-left: 30px !important;
  }

  #header .header-nav-main {
    width: calc(100% + 60px) !important;
  }
}

@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }

  .header-column ul.custom-nav {
    width: 100%;
    display: flex;
    justify-content: space-around;
  }
  #header .header-nav-main:before {
    left: 28%;
    width: 211vw;
  }
  .hide-desktop {
    display: block !important;
  }
}

@media (min-width: 767px) {
  .hide-mobile {
    display: block !important;
  }
  .hide-desktop {
    display: none !important;
  }
}

@media only screen and (max-width: 360px) {
  #header .header-top .header-top-container .lang-element {
    max-width: 100px;
    overflow: hidden;
  }
}

@media only screen and (max-width: 321px) {
  #header .search-form {
    min-width: 110px;
  }

  .hide-iphone-5 {
    display: none !important;
  }
}

.test-class {
  border: 1px solid red;
}

#header .header-btn-collapse-nav {
  width: 40px !important;
  height: 40px !important;
  padding-left: 1rem !important;
  padding: 24px 10px !important;
  margin-left: 0px !important;
  margin: 0 10px !important;
}

.category-img-bg picture > img {
  width: 300px;
  height: 255px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .category-img-bg picture > img {
    width: 100%;
    height: 255px;
    object-fit: cover;
  }
}

.breadcrumb a.active {
  padding: 10px;
}

.d-sm-none {
  display: block;
}

.d-md-none {
  display: block;
}

@media (max-width: 767px) {
  .d-sm-none {
    display: none;
  }

  .category-img-bg picture img {
    width: 100% !important;
  }

  .category .breadcrumb li a {
    line-height: 41px;
    padding: 10px;
  }
}

@media (min-width: 1350px) {
  .container {
    max-width: 1260px;
  }
}

#header .header-top {
  font-size: 0.8rem;
}

#header.header-effect-shrink .header-container {
  min-height: 65px !important;
  height: 65px !important;
}

.promo-container {
  margin-top: 0px !important;
}

.promo-container p {
  font-size: 18px;
  padding: 0px 0px 0px 0px;
}

.sprite-logo250 {
  /* transform: scale(.6); */
  height: 57px;
}

aside.sidebar .accordion.accordion-default {
  margin-bottom: 20px;
}

aside.sidebar .filter-slider-container {
  margin-bottom: 0px;
}

.filter-slider-container p {
  color: #222;
}

aside.sidebar .card,
aside.sidebar .filter-slider-container {
  border-left: 1px solid #eee !important;
}

.accordion.accordion-style-1 .accordion-header a {
  font-weight: 300;
  font-family: "Montserrat";
}

.main-image-product-page {
  max-width: 300px;
  height: auto;
}

#header .header-logo img {
  margin: 0;
  max-height: 70px;
  width: auto;
  display: block !important;
}

.home .category-img-bg picture > img {
  width: 140px !important;
  height: 140px;
  object-fit: cover;
}

#registerForm .has-error,
#checkoutForm .has-error {
  border: 3px solid #bd362f !important;
}

/* #registerForm .is-valid {
  border: 3px solid #155724 !important;
} */

#registerForm input,
#checkoutForm input {
  border: 3px solid transparent;
}

/* Zooming Checkout checkbox */
#billingAndShipping + .checkbox-button {
  transform: scale(1.4);
  margin-right: 10px;
}

.checkout .form-group .checkbox-label {
  color: #222;
  font-size: 15px;
  font-weight: bold;
}

body.checkout #checkoutForm .form-row.row div[class^="col-"] {
  padding-right: 5px !important;
  padding-left: 5px !important;
}

body.checkout .form-control.is-valid,
body.checkout .was-validated .form-control:valid {
  border-color: transparent !important;
}

body.checkout #modalTransferCheckout {
  z-index: 99999;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transition: .3s linear all;
}

body.checkout #modalTransferCheckout.active {
  opacity: 1;
  visibility: visible;
  transition: .3s linear all;
}