* {
    --red-color: #dc5c11;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  color: #878787;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.5px;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-weight: bold;
}
h1 {
  color: #24292e;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 25px;
}
h2 {
  font-size: 24px;
  color: var(--red-color);
}
h3 {
  font-size: 18px;
  color: #285669;
}
h4 {
  font-size: 16px;
  color: #24292e;
}
img {
  max-width: 100%;
}
a {
 color: #285669;
}
.btn {
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1;
  border-radius: 0.5rem;
  border: 1px solid;
  text-decoration: none !important;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}
.btn.btn-primary {
  color: #285669;
  background-color: transparent;
  border-color: #285669;
}
.btn.btn-primary:hover {
  color: #fff;
  background-color: #f7a600;
  border-color: #f7a600;
}
.btn-secondary {
  color: #666;
  background: #eee;
  border-color: #eee;
}
.btn i {
  margin-right: 5px;
}

.full-width {
  width: 100vw !important;
  margin-left: calc((100% - 100vw) / 2);
}

.yellow {
  color: #f7a600;
}
.orange {
  color: var(--red-color);
}

main {
  padding: 50px 0;
}

.text-right {
  text-align: right;
}
.text-center {
  text-align: center;
}

.div-center {
    margin: 0 auto;
}

/* HEADER */
.topbar {
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
  background: #f7a600;
}
.topbar .nav-link {
  color: #435059;
  line-height: 50px;
  text-decoration: none !important;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 0;
}
.topbar .nav-link i.fa-shopping-cart, .topbar .nav-link .cart-count {
  transition: transform .5s, opacity .3s;
  z-index: 9;
}
.topbar .nav-link:focus i.fa-shopping-cart, .topbar .nav-link:focus .cart-count {
  transform: translateY(100px);
  opacity: 0;
}
.topbar .btn-admin {
  color: #435059;
  border: 2px solid #435059;
  background: #fff;
}
.topbar .btn-admin i.fas {
  transition: .5s;
}
.topbar .btn-admin:hover i.fas {
  transform: rotate(360deg);
}
.dropdown-menu .nav-link {line-height: 30px;}

.cart-count {
  background: var(--red-color);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  color: #fff;
  line-height: 18px;
  text-align: center;
  font-size: 0.8em;
  position: absolute;
  top: 10px;
  margin-left: -5px
}

a.navbar-brand img {
  height: 70px;
}
.navbar-light .navbar-nav .nav-link {
  color: #1d1d1d;
  font-weight: bold;
  font-size: 1rem;
  transition: 0.5s all;
}
.navbar-light .navbar-nav .nav-link:hover {color: #f7a600;}
.navbar-toggler {border: none;}


/* LOGIN */
.card {
  border-color: #285669;
  max-width: 600px;
  margin: auto;
  text-align: center;
}
.card .card-header {
  background: #285669;
  color: #fff;
}
.card .card-header h1, .card .card-header h2, .card .card-header h3 {
  color: #fff;
  margin: 0;
}
.card .list-group-item {
  border-color: #285669;
}

.register-card h3 {
  color: var(--red-color);
  font-style: italic;
  font-size: 1.4em;
  margin-top: 20px;
}
.register-card h2 {
  color: #285669;
  margin-top: 20px;
}
.register-card .btn {
  display: block;
  max-width: 200px;
  margin: 30px auto;
  border-color: var(--red-color);
}
.register-card .input-help {
  position: absolute;
  margin-top: -57px;
  margin-left: 107px;
}

.input-help {
  position: relative;
}
.input-help i {
  color: #cccccc;
  font-size: 1.2em;
  position: relative;
}
.input-help .help-content {
  position: absolute;
  background: #1d1d1d;
  color: #fff;
  width: 300px;
  font-size: 0.9em;
  padding: 5px 10px;
  border-radius: 5px;
  margin-top: 10px;
  display: none;
  transition: all 0.5s;
  z-index: 999;
  text-align: justify;
  right: -25px;
}
.input-help:hover .help-content {
  display: block;
}
.input-help:hover i:after {
  content: '';
  width: 0;
  height: 0;
  line-height: 0;
  border-bottom: 8px solid #1d1d1d;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
  position: absolute;
  left: 2px;
  bottom: -15px;
}
.form-check-label .input-help i {
  font-size: 1em;
}

/* BANNER */
.banner {
  background: #285669;
  border: solid 3px #f7a600;
  position: fixed;
  left: 0;
  border-radius: 5px;
  width: 500px;
  right: 0;
  top: 40vh;
  z-index: 9999;
  margin: auto;
  max-width: 100%;
  box-shadow: 0px 0px 300px 300px rgba(0,0,0,0.3);
}

.banner-content {
  padding: 60px 40px 40px;
}

.banner-text {
  color: #fff;
}

.banner-close {
  background: none;
  border: none;
  position: absolute;
  top: 10px;
  right: 20px;
}

/* FORM */
.form-group {margin-bottom: 20px;}

.form-label {
  color: var(--red-color);
  font-size: 15px;
}
.form-control {
  background: #e9eef0;
  border-radius: 10px;
  border: 1px solid #ddd;
  color: #666;
  padding: 0 12px;
  line-height: 40px;
  font-size: 15px;
}
.form-control:focus {
  background: #e9eef0;
  color: #666;
  box-shadow: none;
  border-color: #666;
}
.form-group .btn {
  height: 40px;
  margin-bottom: 20px;
  line-height: calc(40px - .8rem);
}
.form-group .btn-secondary {
  color: #666;
  background: #eee;
  border-color: #eee;
}
.forgot-psw {
  color: #888 !important;
  text-decoration: none;
}
.forgot-psw:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .form-group .btn-half-1 {
    width: 48%;
    margin-right: 3%;
  }
  .form-group .btn-half-2 {
    width: 48%;
  }
}

.field-validation-error {
  color: #c0150c;
  position: absolute;
  background: #fff;
  border: 1px solid #c0150c;
  border-radius: 10px;
  padding: 2px 15px;
  margin-top: -8px;
  margin-left: 10px;
  font-size: 0.9em;
  z-index: 9;
}
.field-validation-error:before {
  content: "\f071";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 10px;
}
.form-check .field-validation-error {
  display: block;
  position: relative;
  margin: 0;
}

/* SEPARATOR */
.separator {
  display: flex;
  align-items: center;
  text-align: center;
}
.separator::before,
.separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #000;
}
.separator:not(:empty)::before {
  margin-right: .25em;
}
.separator:not(:empty)::after {
  margin-left: .25em;
}

/* SLIDE */
.slide {
  position: relative;
  color: #fff;
  margin-top: -50px;
  margin-bottom: 50px;
}
.slide img {
  width: 100%;
}

.slide-title {
  display: flex;
}
.slide-title h1 {
  margin: auto;
  color: #fff;
  text-shadow: 2px 2px 10px #000;
  padding: 50px 0;
}
.slide-title h1 span.welcome {
  font-family: 'Berkshire Swash', cursive;
  display: block;
  font-size: 1.5em;
}
.slide-title h1 span.welcome {
  animation: fade-bottom 1s ease-in-out;
}
.slide-title h1 span.our {
  animation: fade-bottom 2s ease-in-out;
}
@keyframes fade-bottom {
  0% {opacity: 0; transform: translateY(30px);}
  100% {opacity: 1; transform: translateY(0px);}
}

.user-choice {
  background: rgba(0,0,0,0.3);
  padding: 50px;
  text-align: center;
}
.user-choice .btn-primary {
  color: #fff;
  border-color: #f7a600;
  display: block;
  margin-bottom: 20px;
}
.user-choice .input-help {
  position: absolute;
  margin-top: -47px;
  right: 58px;
}
.user-choice .input-help .help-content {right: 0;}
@media (max-width: 768px) {.user-choice .input-help {margin-top: -43px;} }

.slide-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: -1;
  padding: 0;
}
.slide-bg .lSSlideWrapper, .slide-bg .lSSlideWrapper ul {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: auto !important;
}
.slide-bg .lSSlideWrapper ul li {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  top: 0;
  bottom: 0;
}

.slide-bg .lSSlideOuter .lSPager.lSpg {
  position: absolute;
  bottom: 10px;
  left: calc(50% - 25px);
}
.slide-bg .lSSlideOuter .lSPager.lSpg > li a {
  background-color: transparent;
  border: 1px solid #fff;
}
.slide-bg .lSSlideOuter .lSPager.lSpg > li.active a {
  background-color: #fff;
}

/* PRODUCT DETAIL */
.product-detail h1 {
  text-align: left;
  color: var(--red-color);
}
.product-detail .meta span {
  color: #285669;
  font-weight: 700;
}
.product-detail .meta strong.price {
  color: #000;
  font-size: 1.8em;
}
.product-detail .control-label {
  color: #285669;
  font-weight: 700;
}

.product-detail table {
  width: 100%;
  margin-bottom: 50px;
}
.product-detail table thead {
  color: #fff;
  background: #285669;
  font-weight: bold;
}
.product-detail table td {
  padding: 2px 5px;
}
.product-detail table strong {
  color: #000;
}
.btn.add-cart {
  background: #f7a600;
  color: #fff;
  border-color: #f7a600;
  width: 100%;
  animation: shake-btn 3s infinite ease-in-out;
}
@keyframes shake-btn {
  0% {transform: rotate(0deg);}
  20% {transform: rotate(0deg);}
  40% {transform: rotate(5deg);}
  60% {transform: rotate(-5deg);}
  80% {transform: rotate(0deg);}
  100% {transform: rotate(0deg);}
}
.text-alert {
  color: #c0150c !important;
}

/* TAGS */
.tags span {
  background: #285669;
  border-radius: 10px;
  color: #fff;
  padding: 2px 8px;
  font-size: 0.9em;
}

/* PRODUCT LIST */
.filters {
  border-right: 1px solid #285669;
}
.filters h3 {
  color: var(--red-color);
  font-style: italic;
  font-size: 1.5em;
}
.filters label {
  color: #24292e;
  font-weight: bold;
}
.filters .check-group label {
  font-weight: normal;
}
.filters .btn {
  color: #fff;
  background-color: var(--red-color);
  border-color: var(--red-color);
  display: block;
  margin: auto;
  padding-left: 25px;
  padding-right: 25px;
}

.search {
  position: relative;
}
.search button[type=submit] {
  position: absolute;
  top: 0%;
  right: 20px;
  border: none;
}

.products-list .col-lg-4 {
  display: flex;
}
.products-list a {
  text-decoration: none;
  color: inherit;
  margin: 0;
  margin-bottom: 20px;
  overflow: hidden;
}
.products-list img.card-img-top {
  transition: .5s;
}
.products-list img.card-img-top:hover {
  transform: scale(1.1);
}
.products-list .card-body {
  background: #fff;
  z-index: 1;
}
.products-list h4 {
  color: var(--red-color);
  font-size: 1.2em;
}
.products-list .meta {
  margin-bottom: 5px;
  font-size: 0.9em;
}
.products-list .meta.out-stock {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.products-list .meta span {
  color: #285669;
  font-weight: 700;
}
.products-list .meta strong.price {
  color: var(--red-color);
  font-size: 1.5em;
}

.products-list .product:nth-child(1) .card {
  animation: productLoaded .5s;
}
@keyframes productLoaded {
  0% {transform: translateY(-300px) translateX(50px); opacity: 0;}
  100% {transform: translateY(0) translateX(0); opacity: 1;}
}
.products-list .product:nth-child(2) .card {
  animation: productLoaded .5s;
}
@keyframes productLoaded {
  0% {transform: translateY(-300px) translateX(50px); opacity: 0;}
  10% {transform: translateY(-300px) translateX(50px); opacity: 0;}
  100% {transform: translateY(0) translateX(0); opacity: 1;}
}
.products-list .product:nth-child(3) .card {
  animation: productLoaded .6s;
}
@keyframes productLoaded {
  0% {transform: translateY(-300px) translateX(50px); opacity: 0;}
  20% {transform: translateY(-300px) translateX(50px); opacity: 0;}
  100% {transform: translateY(0) translateX(0); opacity: 1;}
}
.products-list .product:nth-child(4) .card {
  animation: productLoaded .7s;
}
@keyframes productLoaded {
  0% {transform: translateY(-300px) translateX(50px); opacity: 0;}
  30% {transform: translateY(-300px) translateX(50px); opacity: 0;}
  100% {transform: translateY(0) translateX(0); opacity: 1;}
}
.products-list .product:nth-child(5) .card {
  animation: productLoaded .8s;
}
@keyframes productLoaded {
  0% {transform: translateY(-300px) translateX(50px); opacity: 0;}
  40% {transform: translateY(-300px) translateX(50px); opacity: 0;}
  100% {transform: translateY(0) translateX(0); opacity: 1;}
}
.products-list .product .card {
  animation: productLoaded .9s;
}
@keyframes productLoaded {
  0% {transform: translateY(-300px) translateX(50px); opacity: 0;}
  50% {transform: translateY(-300px) translateX(50px); opacity: 0;}
  100% {transform: translateY(0) translateX(0); opacity: 1;}
}

.pagination {
  display: flex;
  float: right;
  margin-top: 15px;
}
.pagination span {
  margin: 0 10px;
}


/* CARRELLO */
.cart-detail .product-image {
  width: calc(100px + 1rem);
}
.btn-cart {
  font-size: 0.8em;
  padding: 5px;
  border: none;
}
#modify-quantity-form-0 .btn-cart {
  margin-top: 20px;
}
.btn.cart-confirm {
  background: #f7a600;
  color: #fff;
  border-color: #f7a600;
  height: 40px;
}
.cart-detail input[type="number"] {
  max-width: 100px;
  text-align: center;
  margin: auto;
}


/* ACCOUNT */
.account-detail .nav.nav-pills {
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-bottom: 25px;
  display: unset;
}

.account-detail .nav-pills .nav-link {
  background-color: #bbb;
  color: #fff;
  width: 100%;
  text-align: left;
  margin-bottom: 1px;
  position: relative;
}
.account-detail .nav-pills .nav-link:hover {
  background-color: #878787;
}
.account-detail .nav-pills .nav-link.active {
  background-color: var(--red-color);
}
.account-detail .nav-pills i {
  padding-right: 10px;
  border-right: solid 1px #fff;
  margin-right: 10px;
}
.account-detail .nav-pills .nav-link:after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  right: 1rem;
  position: absolute;
  opacity: 0;
  transition: all 0.5s;
}
.account-detail .nav-pills .nav-link.active:after {
  opacity: 1;
}
.account-detail .nav-pills .nav-link:hover:after {
  opacity: 1;
}

.account-detail .tab-content {
  border-left: solid 1px #285669;
}
.account-detail .tab-content h3 {
  color: var(--red-color);
  margin-bottom: 1em;
}
.account-detail .tab-content h3 i {
  margin-right: 15px;
  color: #f0aa42;
}

/* ORDER DETAILS */
.status-alert {color: #c0150c;}
.status-wait {color: #f0aa42;}
.status-complete {color: #008833;}

.order-details .card {
  text-align: left;
  padding: 10px 15px;
  margin: 0;
  width: 100%;
  margin-bottom: 25px;
}
.order-details h6 {
    color: #285669;
    margin-top: 0.5rem;
}
.order-details p {
    margin-bottom: 0.5rem;
}
.order-details p + h6 {
    margin-top: 1rem;
}
.order-details .col-md-6 {
  display: flex;
}

/*  SHIPPING COST */
.shipping-cost {
  border-top: solid 2px currentColor;
}
.shipping-cost td:first-child {
  text-align: right;
  font-weight: 700;
}

/* IN EVIDENZA */
.block-carousel {width: 100%; padding: 40px 50px; position: relative;}
.block-carousel .lSSlideWrapper {position: unset;}
.block-carousel .lSPager.lSpg {display: none;}
.block-carousel .lSAction a {background-image: url('https://csbonlus.org/wp-content/themes/csb/slide/controls-black.png');}

ul#highlighted-carousel {display: flex;}
ul#highlighted-carousel li {display: flex;}
ul#highlighted-carousel li a {width: 100%;}

.hp-icon {
  animation: up-and-down 3s infinite ease-in-out;
}
@keyframes up-and-down {
  0% {transform: translateY(0) rotate(0deg);}
  20% {transform: translateY(0) rotate(0deg);}
  40% {transform: translateY(-10px) rotate(3deg);}
  70% {transform: translateY(5px) rotate(-3deg);}
  90% {transform: translateY(0) rotate(0deg);}
  100% {transform: translateY(0) rotate(0deg);}
}

/* FOOTER */
.footer {
  background-color: #285669;
  color: #fff;;
}
.footer .footer-logo {
  border-bottom: 1px solid #fff;
}
.footer h3 {
  color: #f7a600;
  text-transform: uppercase;
  font-size: 1rem;
  background-image: linear-gradient(to right, #fff 20%, rgba(255, 255, 255, 0) 0%);
  background-position: bottom;
  background-size: 5px 1px;
  background-repeat: repeat-x;
  line-height: 2rem;
}
.footer b {
  color: #fff;
}
.footer a {
  color: #fff;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
ul.social-icon {
  display: flex;
  flex-direction: row;
  list-style: none;
  padding: 0;
}
.social-icon a {
  border: 1px solid #fff;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  text-align: center;
  margin-right: 10px;
  display: block;
  padding: 4px;
  font-size: 0.875rem;
}
ul.privacy-menu {
  list-style: none;
  padding: 0;
}
ul.privacy-menu li a {
  padding: 4px 0;
  text-decoration: none !important;
  display: block;
}
.footer .site-info {
  color: #99979c;
  font-size: 0.8em;
}
.footer .site-info a {
  color: #99979c;
}

.order-details p {
    margin-bottom: 0.5rem;
}
