/*
Theme Name: CRI Store (Sporta Child)
Theme URI: http://modernthemes.net/demo/sporta
Template: sporta
Author: Maredigital
Author URI: https://www.maregroup.it
Description: An eCommerce WordPress child theme designed to sell CRI goods.
Tags: technology, woocommerce
Version: 1.4.0
Updated: 2022-04-29

*/
:root {
  --rosso: #cc0000;
  --bianco: #fefefe;
  --primary: #cc0000;
  --btn-primary: #cc0000;
  --btn-primary-hover: #870000;
  --btn-primary-contrast: #ffffff;
  --white: #fefefe;
  --gray: #cccccc;
  --grigio: #cccccc;
  --border-color: #cccccc;
  --border-radius: 5px;
  --header-top-color: #cc0000;
  --header-background: #ffffff00;
  --header-color: #000000;
  --header-link: #000000;
  --header-link-hover: #cc0000;
  --navigation-menu-dropdown: #ffff;
  --navigation-menu-dropdown-contrast: #000000;
  --header-padding-sticky: 106px;
  --top-nav-height: 46px;
  --add-to-cart: #cc0000;
  --add-to-cart-hover: #870000;
  --toggle-button: #000000;
  --table-odd: #f7f7f7;
  --table-head: #ffffff;

}
h1 { line-height: 1.7; }
h2 { line-height: 1.6; }
h3 { line-height: 1.5; }
h4,h5, h6 { line-height: 1.4; }

body.sticky-header.admin-bar {
  padding-top: var(--header-padding-sticky);
}

body.sticky-header {
  padding-top: var(--header-padding-sticky);
  ;
}

.top-nav,
.nav-container {
  height: var(--top-nav-height)
}

.small {
  font-size: 75%;
}

.home .specialprice {
  font-size: 1.7rem;
  color: var(--rosso);
}

.nav-container {
  background: var(--header-background);
}

.site-header {
  border-top: 6px solid var(--header-top-color);
  background: var(--header-background);
  height: auto;
}

.site-header:before {
  /* content: ''; */
  /* background-image: radial-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.2) 20%, transparent 50%); */
  /* position: absolute; */
  /* bottom: -55%; */
  /* height: 50px; */
  /* width: 100%; */
  /* background-position-y: -25px; */
  /* background-repeat: no-repeat; */
  /* filter: blur(6px); */
}

.main-navigation .toggle-menu {
  color: var(--toggle-button)
}

.cbp-spmenu.cbp-spmenu-open:before {
  /* content: ''; */
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  left: 0;
  right: 0;
  top: 0;
  z-index: -1;
}

.cbp-spmenu:before {
  /* content: ''; */
  position: fixed;
  width: 0%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  left: auto;
  right: 0;
  top: 0;
  z-index: -1;
  transition: all 2s ease;
}

.top-nav {
  padding: 10px 170px 0px 240px;
  transition: all 0.3s ease;
}

/* .top-nav span {
    position: relative;
    top: 0;
    right: 0;
    padding: 0;
    width: auto;
} */
.top-nav .widget_search .search-submit {
  display: inline-block;
  max-width: 36px;
  padding: 7px 0;
  background: url(images/search.png) no-repeat center center;
  background-size: contain;
  text-indent: 999em;
}

.top-nav .widget_nav_menu {
  width: 5%;
  float: right;
}

.top-nav .widget_search {
  width: 90%;
  float: right;
}

.top-nav .widget {
  position: relative;
}

body.sticky-header.scroll .top-nav {
  height: 0;
  overflow: hidden;
  padding: 0;
}

/* body.sticky-header.scroll .site-branding{
  top: 0;
    max-height: 52px;
} */
.site-branding {
  transition: all 0.3s ease;
}

.top-nav .widget {
  margin-bottom: 0;
}

.top-nav .search-field {
  width: 20%;
  transition: width 0.3s ease;
  border-radius: 3px;
}

.top-nav .search-field:focus {
  width: calc(100% - 56px);
}

.top-nav .socials {
  position: relative;
  right: 0px;
  width: 5%;
  float: right;
}

#sequence .sequence-next,
#sequence .sequence-prev {
  mix-blend-mode: difference;
  color: #ff0000;
}

#sequence .slide-title {
  background: rgba(204, 2, 0, 0.8)
}

#sequence .slide-title h2 {
  line-height: 1.4;
  margin-bottom: 0;
  font-weight: bold;
}

.sticky-header.admin-bar .site-header {
  top: 32px
}

.sticky-header .site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

/* il header is inline */
.site-header.header-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-header.header-inline .site-branding {
  position: relative;
  min-width: 220px;
  max-width: 50%;
}

.site-header.header-inline .top-nav {
  padding: 15px 30px;
  height: 100%;
  flex: 1 1 0%;
  text-align: center;
}

.site-header.header-inline .site-branding {
  top: 0px;
}

.site-header.header-inline .nav-container {
  padding: 0 30px;
  width: auto;
}

body.sticky-header.scroll .site-header.header-inline .top-nav {
  height: auto;
  transform: translateY(-100px);
  transition-duration: 0.7s;
}

body.sticky-header.scroll.scroll-up .site-header.header-inline .top-nav {
  transform: translateY(0%);
}
/* WIDGET */
.widget-area aside {
  border-color: transparent;
  box-shadow: 0 8px 15px -8px rgb(0 0 0 / 50%);
  border-radius: 10px;
  padding: 5px 20px;
  margin-bottom: 0px;
}
/**
*
*customized woocommerce
*
**/
.woocommerce a[download] {
  background: var(--add-to-cart) !important;
  color: #fff !important;
  padding: 0.618em 1em;
  margin-top: 1em;
  border-radius: var(--border-radius);
  display: inline-block;
  position: relative;
}

.woocommerce a[download]::before {
  content: "\f019";
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  margin-right: 5px;
}

.woocommerce a[download]:hover {
  background: var(--add-to-cart-hover) !important;
}

.woocommerce-account h2 {
  font-size: 20px;
  font-weight: normal;
  text-align: center;
}

.woocommerce form.checkout_coupon:hover,
.woocommerce form.login:hover,
.woocommerce form.register:hover {
  border-color: var(--primary)
}

.woocommerce #respond input#submit.alt.disabled,
.woocommerce #respond input#submit.alt.disabled:hover,
.woocommerce #respond input#submit.alt:disabled,
.woocommerce #respond input#submit.alt:disabled:hover,
.woocommerce #respond input#submit.alt:disabled[disabled],
.woocommerce #respond input#submit.alt:disabled[disabled]:hover,
.woocommerce a.button.alt.disabled,
.woocommerce a.button.alt.disabled:hover,
.woocommerce a.button.alt:disabled,
.woocommerce a.button.alt:disabled:hover,
.woocommerce a.button.alt:disabled[disabled],
.woocommerce a.button.alt:disabled[disabled]:hover,
.woocommerce button.button.alt.disabled,
.woocommerce button.button.alt.disabled:hover,
.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt:disabled:hover,
.woocommerce button.button.alt:disabled[disabled],
.woocommerce button.button.alt:disabled[disabled]:hover,
.woocommerce input.button.alt.disabled,
.woocommerce input.button.alt.disabled:hover,
.woocommerce input.button.alt:disabled,
.woocommerce input.button.alt:disabled:hover,
.woocommerce input.button.alt:disabled[disabled],
.woocommerce input.button.alt:disabled[disabled]:hover {
  background-color: var(--rosso) !important;
  background: var(--rosso) !important;
}

.woocommerce #content input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce-page #content input.button:hover,
.woocommerce-page #respond input#submit:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover,
.woocommerce-page input.button:hover,
.home .products .add_to_cart_button:hover {
  background-color: var(--add-to-cart-hover) !important;
  background: var(--add-to-cart-hover) !important;
  color: #fff !important;
}
.woocommerce ul.products li.product a img{
  object-fit: contain;
}

.woocommerce #content input.button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-page #content input.button,
.woocommerce-page #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button,
.home .products .add_to_cart_button {
  background-color: var(--add-to-cart) !important;
  background: var(--add-to-cart) !important;
  color: #fff !important;
  padding: 0.618em 1em;
  border-radius: var(--border-radius);
  display: inline-block;
  position: relative;
}

.woocommerce #content input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce-page #content input.button.alt:hover,
.woocommerce-page #respond input#submit.alt:hover,
.woocommerce-page a.button.alt:hover,
.woocommerce-page button.button.alt:hover,
.woocommerce-page input.button.alt:hover {
  background-color: var(--rosso) !important;
  background: var(--rosso) !important;
  color: #fff !important;
}

.woocommerce select,
.woocommerce div.product form.cart .variations select {
  max-width: 100%;
  min-width: 100%;
  display: inline-block;
  margin-right: 1em;
  border-radius: var(--border-radius) !important;
  -webkit-appearance: none;
  padding: 5px;
  background-image: url('images/arrow_down.png');
  background-repeat: no-repeat;
  background-position: 98% center;
  border-color: var(--border-color);
  font-size: 12px;
}

.woocommerce-Tabs-panel>h2 {
  display: none;
}

.latest-story-img:before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 250px;
  background: linear-gradient(transparent, black);
  display: block;
  bottom: 0;
}
/**
* table style in tabs 
* */
.woocommerce-tabs table{
  border-collapse: collapse;
  width: 100%;
}
.woocommerce-tabs table tbody tr:nth-child(odd) {
  background: var(--table-odd);
}

.woocommerce-tabs table thead tr {
  background: var(--table-head);
  border-color: var(--table-head);
}

.woocommerce-tabs table thead tr th,
.woocommerce-tabs table thead tr td {
  border-color: var(--table-head) !important;
  border-bottom-color: #ccc !important;
}

.woocommerce-tabs table {
  font-size: 1.4rem;
}
/**
* end table style in tabs 
* */

.woocommerce-tabs {
  border-bottom: 1px solid #ededed;
}

.woocommerce .products.up-sells h2 {
  text-align: center;
  font-size: 18px;
  font-weight: normal;
  padding: 25px 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-size: 14px;
  font-weight: normal;
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: 1px solid #ebe9eb !important;
  border-radius: 30px;
  margin: 0 5px 5px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:before,
.woocommerce div.product .woocommerce-tabs ul.tabs li:after {
  content: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--primary);
  color: #fff;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a:before {
  width: 10px;
  height: 10px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:before {
  content: '';
  width: 0px;
  height: 0px;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  transform: rotate(-135deg);
  position: absolute;
  bottom: -11px;
  left: 0;
  right: 0;
  margin: auto;
  background: #fff;
  transition: all 0.3s ease;
}
.woocommerce-page .widget input{
  width: auto;
}

.woocommerce-page.post-type-archive-product .widget-area,
.woocommerce-page.tax-product_cat .widget-area
{
  background:#fafafa;
}
.woocommerce-page.post-type-archive-product .widget-area aside,
.woocommerce-page.tax-product_cat .widget-area aside{
  box-shadow: none;
}
.woocommerce-page.post-type-archive-product .widget-area aside .widget-title,
.woocommerce-page.tax-product_cat .widget-area aside .widget-title{
  font-size: 14px;
  line-height: 1.4;
  font-weight: bold;
}

.woocommerce-page.post-type-archive-product .product-archive-container .products {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}
.woocommerce-page.post-type-archive-product .product-archive-container img:hover {
  -webkit-transition: ease-in-out all 0.2s;
  -moz-transition: ease-in-out all 0.2s;
  -o-transition: ease-in-out all 0.2s;
  transition: ease-in-out all 0.2s;
  -webkit-transform: scale(1.07);
  -moz-transform: scale(1.07);
  -o-transform: scale(1.07);
  transform: scale(1.07);
}

.woocommerce-cart-form .coupon {
    display: flex;
}

.woocommerce-cart-form #coupon_code {
    min-width: 200px
}
.woocommerce-cart-form .actions button {min-height: 37px;}
.badge-featured {
  position: absolute;
  bottom: -10px;
  width: 80px;
  height: 80px;
}

.row-info .woocommerce-input-wrapper,
.row-info .optional {
  display: none;
}

.row-info {
  margin-top: 3em !important;
  font-weight: bold;
}

.row-info input {
  user-select: none;
}

.latest-products ul li {float: none;width: auto !important;}

.latest-products ul {display: grid;grid-template-columns: repeat(auto-fill, minmax(260px , 1fr));}

.featured-products h3,
.latest-products h3 {
  height: 3.2em;
  line-height: 1.6;
  margin-top: 15px;
}

.front-product-image {
  overflow: visible;
  margin-bottom: 1em;
}

.latest-story:before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 250px;
  background: linear-gradient(transparent, red);
  bottom: 0;
}

.home-news-content {
  top: auto;
  bottom: 50px;
  z-index: 99;
}

.grid-flex {
  display: -webkit-flex;
  display: flex;
}

.conten-center {
  place-content: center;
}

.section-red {
  background: #ce222a;
  background: -moz-radial-gradient(center, ellipse cover, #ce222a 50%, #751e0e 100%);
  background: -webkit-radial-gradient(center, ellipse cover, #ce222a 50%, #751e0e 100%);
  background: radial-gradient(ellipse at center, #ce222a 50%, #751e0e 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ce222a', endColorstr='#751e0e', GradientType=1);

  padding: 50px;
  color: #fff;
}

.site-footer {
  font-size: 1.8rem;
}

.site-branding {
  top: 7px;
  padding: 15px 30px;
  background: transparent;
  position: absolute;
  left: 0;
  max-width: 220px;
  max-height: 86px;
  overflow: hidden;
}


.main-navigation a {
  font-size: 1.8rem;
  padding: 10px 20px;
}

.menu-item-has-children:after {
  content: '+';
  display: inline-block;
  position: absolute;
  right: 0;
  color: red;
  width: 10px;
  height: 10px;
  top: 0;
  bottom: 13px;
  margin: auto;
  font-size: 1.4em;
  font-weight: bold;
}

@media screen and (max-width: 960px) {
  body.sticky-header {
    padding-top: 65px;
  }

  body.sticky-header.scroll .site-branding {
    max-width: 100px;
    top: 3px;
  }

  body.sticky-header.scroll .toggle-menu {
    top: 5px;
  }

  .toggle-menu {
    right: 10px;
    top: 10px;
    font-size: 25px !important;
    position: absolute;
    transition: all 0.3s ease;
  }

  .nav-container {
    height: auto;
  }

  .menu-item-has-children:after {
    content: none;
  }
}

/* navigation */
.main-navigation ul ul li:hover a,
.main-navigation li:hover>a {
  color: var(--header-link-hover);
}

.main-navigation li {
  margin: 0 7px;
}

.main-navigation ul ul li a,
.main-navigation li>a {
  color: var(--header-link);
  padding: 5px 20px;
}

.main-navigation li.btn-shop {
  background-color: var(--btn-primary);
  border-radius: 20px;
}

.main-navigation li.btn-shop:hover {
  background-color: var(--btn-primary-hover);
}

.main-navigation ul ul li.btn-shop:hover a,
.main-navigation li.btn-shop:hover>a {
  color: var(--btn-primary-contrast);
}

.main-navigation li.btn-shop>a {
  color: var(--btn-primary-contrast);
  padding: 5px 30px;
}

.main-navigation li.btn-shop.menu-item-has-children:after {
  right: 10px;
  bottom: 16px;
  color: var(--btn-primary-contrast);
}

.main-navigation ul ul {
  background: var(--navigation-menu-dropdown);
  top: 5em;
  box-shadow: 0 4px 24px 15px rgb(32 33 36 / 50%);
  border-radius: 7px;
  transition: all 0.3s ease;
}

.main-navigation ul li:hover>ul {
  right: 0;
  top: 2.5em;
}

.main-navigation ul ul a {
  width: auto;
}

.submenu-2cols .sub-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 10px;
}
@media (min-width:996px) {
  .submenu-2cols .sub-menu {
    min-width: 360px;
  }
}

.submenu-2cols .view-all-btn {
  grid-column: span 2 / 3;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-all-btn {
  grid-column: span 2 / 3;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
}



/* slider top*/
#sequence {
  height: 80vh;
}

/** 
* mouse animation
*/
#widMouseScroll {
  width: 24px;
  position: fixed;
  bottom: 0;
  margin-left: 2%;
  z-index: 10000
}

#widMouseScroll .mouse-box {
  width: 100%;
  height: 42px;
  border-radius: 40px;
  border-color: #999;
  border-width: 2px;
  border-style: solid;
  position: relative
}

#widMouseScroll.center {
  left: 50% !important;
  margin-left: -12px !important
}

#widMouseScroll .mouse-wheel {
  position: absolute;
  width: 4px;
  height: 8px;
  background: #999;
  left: 50%;
  margin-left: -2px;
  border-radius: 10px;
  top: 6px;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-name: scroll;
  animation-name: scroll
}

#widMouseScroll .scroll-bar {
  width: 2px;
  height: 30px;
  background: #999;
  margin: 0 auto 0 auto
}

@keyframes scroll {
  0% {
    opacity: 1
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px)
  }
}

@-webkit-keyframes scroll {
  0% {
    opacity: 1
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px)
  }
}

@media (max-width: 1328px) {
  #widMouseScroll {
    display: none
  }
}

/* logo */
.site-logo img {
  max-height: 80px;
  transition: all 0.3s ease;
}

.logo-collapse img.site-motto {
  transform: scale(1);
  transform-origin: center left;
}

body.scroll .logo-collapse img.site-motto {
  transform: scale(0);
}

body.scroll .site-logo img {
  max-height: 46px;
}

.site-header .container {
  margin: auto;
  position: relative;
}

@media (min-width: 1180px) {
  .container {
    max-width: 1172px;
  }
}

@media (max-width: 1179px) {
  .container {
    max-width: 920px;
  }
}

/** woocommerce customization */
.product_meta {
  display: flex;
  flex-flow: column wrap;
}

/** utils */
.btn-primary {
  background-color: var(--btn-primary);
  color: var(--btn-primary-contrast);
}