/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/* MIGLIORAMENTO SOTTTOMENU UTENTE */
#leo_block_top .userinfo {
    width: 300%;
    text-align: center;
    margin-left: -100%;
}
.products .product_list.product-list-default .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

/* TABELLA VALORI NUTRIZIONALI KF */
.row.valori-nutrizionali {
    max-width: 780px;
}
.tabella-valori-nutrizionali td {
    padding: 6px 10px;
}
.tabella-valori-nutrizionali td:nth-child(1) {
    min-width: 190px;
}
.tabella-valori-nutrizionali td:nth-child(2) {
    font-size: 0.78rem;
    font-weight: 800;
}
.tabella-valori-nutrizionali td b {
    font-size: 1rem;
}
.tabella-valori-nutrizionali .sub-valore td {
    padding: 0px 10px;
    font-size: 0.78rem;
}
.tabella-valori-nutrizionali .sup-valore td {
    padding: 6px 10px 0px 10px;
}
/* FINE TABELLA */

/* ALL FOODS */
.packaging label {
  margin-bottom: 0;
  font-size: .75rem;
  line-height: 1.1;
  color: #222437;
  font-weight: 600;
}
.packaging {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 5px 0;
}
.packaging > div > input[type="radio"] {
  display: none;
}
.packaging > div > input[type="radio"] + *::before {
  content: "";
  display: inline-block;
  vertical-align: bottom;
  width: 14px;
  height: 14px;
  margin-right: 3px;
  border-style: solid;
  border-width: 0.125rem;
  position: relative;
  cursor: pointer;
  top: 1px;
}
.packaging > div > input[type="radio"] + *::before {
  border-radius: 50%;
}
.packaging > div > input[type="radio"]:checked + *::before {
  background: radial-gradient(#000 30%, #000 30%, transparent 40%, transparent);
  border-color: #000;
}
.packaging > div > input[type="radio"]:checked {
  color: #000;
}
.button-container {
	position: relative;
}
.cart-grid-body .card-block {
	padding: 2rem 2rem 1rem 2rem;
}
.cart-grid-body .cart-overview {
	padding: 1rem 2rem 2rem 2rem;
}
.cart-line-product-actions .far, .cart-line-product-actions .fa, .cart-line-product-actions .fas, .cart-line-product-actions .fal {
	width: 1em;
	height: 1em;
	font-size: 22px;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	word-wrap: normal;
	white-space: nowrap;
	direction: ltr;
}
.cart-line-product-actions .edit-packet {
	margin-right: 5px;
}
.cart-line-product-actions .packet-details {
  margin-right: 1rem;
  text-decoration: underline;
  font-weight: 500;
  font-size: .875rem;
  cursor: pointer;
}
.packet-products {
	margin-top: 1rem;
}
.packet-products h3 {
  font-weight: 600;
  font-size: 1rem;
  font-style: italic;
}
.packet-products .products-container {
	padding: .5rem .5rem .5rem 2rem;
	max-width: 500px;
}
.packet-products .product-line {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: .3125rem;
}
.packet-products .product-line .product-name h4 {
  font-size: .875rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: .3125rem;
}
.packet-products .product-line .product-name p {
  font-size: .625rem;
  margin-bottom: 0px;
  line-height: 1rem;
}
.packet-products .product-line .product-image {
  min-width: 60px;
  width: 60px;
}
.packet-products .product-line img {
  border-radius: 5px;
}
.packet-products .product-line .product-quantity {
  font-weight: bold;
  font-style: italic;
  margin-left: auto;
}
.packet-products .product-line .product-actions button {
  background: transparent;
  border: none;
  font-size: 18px;
}
.packet-products .product-line .product-actions .product-delete {
	cursor: pointer;
}
.card-block.cart-detailed-subtotals {
  padding: 2rem 2rem 0rem 2rem;
}
.card-block.cart-summary-totals {
  padding: 0rem 2rem;
}
.cart-summary-line.cart-total {
  border-bottom: 2px solid;
  padding-bottom: .625rem;
}
.card-block.cart-detailed-subtotals.shipping {
	padding: 0 2rem;
}
#cart-subtotal-shipping .free-shipping {
  font-size: .875rem;
  font-weight: 600;
  font-style: italic;
  color: #ff472e;
}
.checkout.cart-detailed-actions {
  padding: 1rem 2rem 2rem 2rem;
}

/**** Modification area****/
.main.temporary-sale .col-sp-12.col-md-6 {
    display: flex;
    padding-left:0px;
    padding-right:0px;
    width: 100%;
}

.main.temporary-sale .col-sp-12.col-md-6 .box-workout.new {
padding:2rem 0 2rem 2rem;
min-width: calc(50% - 15px)!important;
}

.main.temporary-sale .col-sp-12.col-md-6 .box-price p:last-of-type {
    font-size: 18px;
    font-weight: 500;
    font-style: normal;
   /* margin-boottom:20px;*/
}

.find-more.container{
      flex-direction: row;
     width:100%; 
     display: flex;
    padding:0px;
    
}
.find-more.container .find-more.column{
      width:50%;

}

.box-monthly, .box-monthly .new{
    background-image: url(/wp-content/uploads/2023/01/sfondo-02-verde.png)!important;
    border: 2px solid #212437;
    background-color: #53A615!important;
    margin-left:15px;
    background-repeat:no-repeat;
}

.box-monthly.box-workout.new div, .box-yearly.box-workout.new div{
  flex-wrap: wrap;
}

/*.box-monthly {
    background: url(/shop/themes/leo_efway/assets/img/bg-monthly.png);
    border: 2px solid #ff472e;
}*/


box-price.free p:last-of-type{
   font-weight:500;
}

.btn.positivo{
    border: 0px;
    color: #ff472e;
    background-color: #FDEBDD;
    font-weight:700;
    padding: 16px 40px;
    margin-top:10px;
    font-style: initial;
}

.btn.btn-out.negativo{
    border:2px solid  #ff472e;
    color: #ff472e;
     text-transform: uppercase;
line-height: 20px;
    font-size: 18px;
    padding: 20px 40px;
}

.btn.btn-out.negativo:hover{
    color: #FDEBDD;
}

/*.box-yearly {
    background: url(/shop/themes/leo_efway/assets/img/bg-yearly.png);
    border: 2px solid #222437;
}*/

.box-yearly{
    background: url(/shop/themes/leo_efway/assets/img/bg-yearly.png);
    border: 2px solid #212437;
    margin-right:15px;
}

.box-yearly.new .box-title,  .box-monthly.new .box-title{
   max-width:60%;
}

.box-yearly.new .box-sale-price,  .box-monthly.new .box-price.free{
   min-width:40%;
   text-align:center;
}

.box-yearly.new .box-title div, .box-monthly.new .box-title div {
    color: #FDEBDD;
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
    font-style: italic;
    line-height: 1em;
}

.box-yearly.new .box-title p, .box-monthly.new .box-title p{color: #FDEBDD;
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    font-style: italic;
    line-height: 1em;}
.box-workout {
    color: #fdebdd;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1rem;
}
.box-workout div {
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 600;
    font-style: italic;
}
.box-title {
    flex-grow: 2;
    flex-basis: 0;
    margin-bottom: 1rem;
    padding-right: 20px;
    border-right: 2px solid;
}
.box-workout p {
    color: #fdebdd;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1;
    font-weight: 700;
}
.box-price {
    flex-grow: 1;
    flex-basis: 0;
    margin-bottom: 1rem;
    padding-left: 30px;
}

.box-price.free{
    padding-left:0px;
}

.box-price div {
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.box-price p:last-of-type {
    margin-bottom: 0px;
    font-size: 1rem;
}
div.box-button {
    text-align: center;
    font-style: initial;
    margin-top: 1rem;
}
.box-button .btn {
    font-weight: 700;
    background-color: #fdebdd;
    border: none;
    padding: 15px 35px;
}
.smaller.box-workout {
	border-radius: 15px;
	padding: 1.5rem;
}
.smaller.box-workout div {
  font-size: 1.5rem;
  line-height: 1;
}
.smaller.box-workout p {
	font-size: 1rem;
	line-height: 1;
	font-weight: bold;
}
.smaller.box-workout .box-price {
	margin-bottom: 0;
	padding-left: 1rem;
	position: relative;
	top: .25rem;
}
.smaller.box-workout .box-price div {
	font-size: 1.75rem;
	font-weight: bold;
}
.smaller.box-workout .box-price p {
	font-size: .75rem;
}
.smaller.box-workout .box-title {
	margin-bottom: 0;
	padding-right: 1rem;
}
#upselling-workouts .quickview {
	margin-right: .5rem
}
#upselling-workouts .products-section-title, #upselling-food .products-section-title {
	text-align: center;
	margin-bottom: 1rem;
} 
#upselling-workouts, #upselling-food {
	margin-top: 3rem;
}
#upselling-workouts .workout-buttons {
	margin-top: 1rem;
}
#upselling-workouts .workout-buttons > a:not(:last-of-type) {
	margin-right: 10px;
}
#upselling-food .products {
	pointer-events: none;
}
#upselling-food .food-buttons {
	margin-top: 1rem;
}
#checkout .js-cart-summary-products {
	display: none;
}
#checkout #js-checkout-summary > .card-block {
	padding: 0;
}
#checkout #js-checkout-summary .cart-summary-subtotals-container {
	padding: 2rem 2rem 1rem 2rem;
}
#checkout #js-checkout-summary > .cart-summary-totals {
	padding: 0rem 2rem 2rem 2rem;
}
#checkout .cart-summary-line.cart-total {
	border-bottom: 0;
	padding-bottom: 0;
	border-top: 2px solid;
	padding-top: .625rem;
}
.cart-summary-line.cart-summary-subtotals .label, .cart-summary-line.cart-summary-subtotals .value {
	font-weight: bold;
}
.order-options {
	margin-bottom: 1rem;
}
#order-confirmation .card-block {
  padding: 2rem;
}
.workout-container {
	padding: 5px;
	text-align: center;
	margin-bottom: 1rem;
}
.workout-container img {
  border-radius: 10px;
}
.workout-container h3 {
    line-height: 1.375rem;
    font-size: 1.25rem;
    margin-top: 1rem;
    min-height: 4.125rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-transform: uppercase;
    color: #FF472E;
    font-weight: 600;
}
.stripe-subscription-form {
    background: #fff;
    padding: 2rem;
    margin-bottom: 1rem;
    border: 2px solid #ff472e;
    border-radius: 10px;
}
.subname-labels {
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}
.subname-labels span {
  font-size: 1.125rem;
  color: #ff472e;
  font-weight: 700;
  padding: 8px 20px;
  border: 2px solid #ff472e;
  background: #FFF;
  border-radius: 0 15px 0;
  margin-right: 1rem;
}
.sp-scs {
	float: right;
}
.leo-quickview .buy-packet {
	display: none;
}
.leo-quickview .product-quantity .qty, .leo-quickview .product-quantity .add{
	display: none;
}
.leo-quickview .product-quantity .leo-compare-wishlist-button {
	margin-left: 0;
	padding-bottom: 0;
}
#module-foodpackets-allfood .thumbnail-container .product-price-and-shipping {
  margin-top: .5rem;
}
#module-foodpackets-allfood .product-list-default .product-price-and-shipping .price {
  font-size: 1.25rem;
  color: #ff472e;
  font-weight: bold;	
}
.product-wa-feature {
    color: #ff472e;
}
.product-id-category-3 .product-quantity > .qty, .product-id-category-3 .product-quantity > .leo-compare-wishlist-button {
	display: none !important;
}
#product .product-prices .current-price {
    font-weight: bold;
}
.product-cover .layer {
	display: none;
}
.product-detail.product-thumbs-left .images-container .product-cover.only-one-image {
	margin-left:0;
}
.product-quantity .leo-wishlist-button:active:hover {
	background: none;
}
.block-promo .promo-name {
	padding: 1rem 2rem 0;
}
#js-checkout-summary .block-promo .promo-name {
	padding-top: 0;
}
.cart-grid-right .promo-discounts {
	padding: 1rem 2rem;
}
.block-promo.promo-highlighted {
	padding: 1rem 2rem 0;
}
#cart .block-promo .promo-code {
	margin-top: 1rem;	
}
.block-promo .promo-code {
	padding: 1.5rem 2rem;
}
#cart .block-promo .promo-code form {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	align-items: center;
	justify-content: center;
}
.block-promo .promo-input + button {
	margin-top: unset;
}
.block-promo .promo-input {
	width: auto;
}
#my-account #order-slips-link {
	display: none !important;
}
body .owl-theme .owl-buttons div:before {
	color: #ff472e;
	font-weight: 400;
}
.js-address-form .custom-radio {
    margin-right: 0.25rem;
}
label[for="field-eicustomertype-1"] {
    margin-left: 0.5rem;
}
/* MAILCHIMP */
input#mce-EMAIL {
	font-family: "Exo 2";
	color: #fdebdd !important;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	position: relative;
	display: inline-block;
	width: 100%;
	vertical-align: top;
	line-height: 24px;
	letter-spacing: -.02em;
	background-color: transparent;
	border: 0;
	border-bottom: 2px solid #fdebdd;
	border-radius: 0;
	box-sizing: border-box;
	outline: 0;
	cursor: pointer;
	transition: color .3s ease-out;
	margin: 0;
	padding: 8px 105px 8px 30px;
}
input#mce-EMAIL::placeholder {
	/* Chrome, Firefox, Opera, Safari 10.1+ */
	color: #fdebdd;
	opacity: 1;
	/* Firefox */
}
input#mce-EMAIL:-ms-input-placeholder {
	/* Internet Explorer 10-11 */
	color: #fdebdd;
}
input#mce-EMAIL::-ms-input-placeholder {
	/* Microsoft Edge */
	color: #fdebdd;
}
.checkbox.subfield {
	font-family: "Exo 2" !important;
	font-weight: 400;
	padding-top: 10px;
	letter-spacing: -.02em;
	font-size: 12px;
	line-height: 1.333em;
	color: #fdebdd;
	text-align: left;
}
.checkbox.subfield input {
	margin: 3px 3px 3px 4px;
}
fieldset.mc_fieldset.gdprRequired.mc-field-group {
	border: 0px;
	margin-bottom: 0em;
	padding: 0.35em 0em;
}
#mc_embed_signup .qodef-newsletter-icon {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	max-height: 45px;
	width: auto;
	padding: 0;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fdebdd;
	background: 0 0;
	border: 0;
	z-index: 2;
}
#mc_embed_signup .qodef-newsletter-icon i {
	font-size: 18px;
    position: relative;
    bottom: 2px;
}
#mc_embed_signup_scroll {
	position: relative;
}
#mc_embed_signup .invia-ora-parent {
	position: absolute;
	top: calc(18% - 1px);
	right: 0;
	transform: translateY(-50%);
}
#mc_embed_signup .invia-ora-parent .invia-ora-button {
	display: inline-flex;
	align-items: center;
	padding: 0!important;
	font-size: 14px;
	text-transform: none!important;
	letter-spacing: -.025em;
	color: #fdebdd;
	background-color: transparent;
	border: 0;
}
#mc_embed_signup .invia-ora-parent .invia-ora-testo {
	font-family: "Exo 2" !important;
	align-items: center;
	padding: 0!important;
	font-size: 14px;
	letter-spacing: -.025em;
	background-color: transparent;
	border: 0;
	color: #fdebdd;
	display: inline-block;
	text-transform: uppercase;
	font-weight: 700;
	margin-right: 0.5rem;
}
#mc_embed_signup div.mce_inline_error {
	margin: 0 0 1em 0;
	padding: 2px 2px;
	background-color: #fdebdd;
	font-weight: 500;
	z-index: 1;
	color: #000;
	font-size: 12px;
	position: absolute;
}
button[type=submit]:not(.qodef-layout--textual)>span:after {
	display: none;
}
#newsletter-column .block .title_block {
	font-weight: 700;
}
#mc_embed_signup {
	max-width: 530px;
}
#gdpr_90497 {
    width: 1.3em;
    height: 1.3em;
    background-color: transparent;
    border-radius: 50%;
    vertical-align: middle;
    border: 1px solid #fdebdd;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    margin-right: 5px;
    margin-left: 0px;
    margin-top: 0px;
    position: absolute;
}
.checkbox.subfield > span {
	padding-left: 25px;
    display: block;
}
input#gdpr_90497:checked:after {
    content: "✓";
    text-align: center;
    margin-left: 3px;
    color: #fe472e;
}
/* MOBILE */
@media (max-width: 1199px) {
	.box-workout div {
		font-size: 2rem;
	}
}
@media (max-width: 991px) {
	#upselling-workouts .js-product-miniature {
		margin-bottom: 2rem;
	}
	.box-workout div {
		font-size: 1.625rem;
	}
	#content-wrapper, #right-column {
		margin-top: 30px;
	}
}
@media (max-width: 767px) {
	#back-top {
		bottom: 15px;
		right: 15px;
	}
	#wrapper {
    	padding-top: 0;
	}
	.subname-labels {
		margin-bottom: 2rem;
	}
	.subname-labels span {
		margin-right: .5rem;
		font-size: 1rem;
	}
	.leo-quickview .product-add-to-cart {
		padding: .5rem 0;
    	margin: .5rem 0;
	}
	.cart-grid-body .cart-overview {
		padding: 0 2rem;
	}
	body#checkout section.checkout-step .step-title {
		line-height: 1.25;
	}
	.box-workout {
		padding: 1.5rem;
	}
	.box-title {
		padding-right: 1rem;
	}
	.box-price {
		padding-left: 1rem;
	}
	.smaller.box-workout div {
	    font-size: 1.25rem;
	}
	.sp-details {
		margin-top: 1.5rem;
	}
	.sp-scs {
		float: none;
		margin-bottom: .5rem;
	}
	.sp-scsape {
		white-space: normal;
	}
	.sp-c {
		word-break: break-word;
	}
}
@media (max-width: 575px) {
	.box-price p:last-of-type {
		font-size:  .675rem;
	}
	.box-workout {
		padding: 1rem;
	}
	.box-workout div {
	    font-size: 1.5rem;
	}
	.page-customer-account #content {
		padding: 1rem;
	}
	.stripe-subscription-form {
		padding: 1rem .5rem;
	}
}

@media only screen and (max-width: 1200px) and (min-width: 1025px) {
	.temporary-sale .box-title div{
		font-size:30px!important;}
	.temporary-sale .box-title p{
		font-size:20px!important;}
	.temporary-sale .box-price.free, .temporary-sale .box-sale-price{width:40%!important;}
        .temporary-sale .box-title {width:60%!important;}
}

@media only screen and  (max-width: 1024px) and (min-width:765px){
	.box-yearlybox-workout.new, .box-monthly.box-workout.new  {
    width: 100%;}
   .main.temporary-sale .col-sp-12.col-md-6 {
    display: flex;
    padding-left: 0px;
    padding-right: 0px;
    width: 100%;
    flex-direction: column;
    }

.main.temporary-sale .box-workout{
margin-right:0px;
margin-left:0px;}

}

@media only screen and  (max-width: 1024px) {
  .main.temporary-sale .col-sp-12.col-md-6 {
    display: flex;
    padding-left: 0px;
    flex-direction: column!important;
     }
.main.temporary-sale .box-workout{
margin-right:0px;
margin-left:0px;
}

.main.temporary-sale .col-sp-12.col-md-6 .box-workout.new {
padding:30px 10px 30px 10px;
min-width:50%;
}

.find-more.container{
      flex-direction: column;
}

.find-more.container .find-more.column{
      width:100%;
}
}

@media only screen and  (max-width: 775px){
.main.temporary-sale .col-sp-12.col-md-6 {
    display: flex;
    padding-left: 0px;
    flex-direction: column!important;
     }

     .box-yearly.new .box-sale-price, .box-monthly.new .box-price.free {
     width: 100%!important;
    min-width:100%;
    text-align:center;
     }
    .main.temporary-sale .col-sp-12.col-md-6  .box-title{
      border:none;
       max-width: 100%!important;
      text-align: center;
     margin-bottom:40px;
     }
     
     .main.temporary-sale .col-sp-12.col-md-6  .box-title div{
      font-size: 28px;
     }
.main.temporary-sale .col-sp-12.col-md-6 .box-price p:last-of-type {
    font-size: 18px;
    font-weight: 500;
    font-style: normal;
    margin-boottom:20px;
}
.box-yearly.new .box-title p, .box-monthly.new .box-title p{
font-size:20px;}
}

@media only screen and  (max-width: 1200px) and  (min-width: 480px){
  .functional-buttons.clearfix{
    flex-direction: column;}
    .functional-buttons.clearfix .list-quantity{margin:10px 0 20px 0;}
    .functional-buttons.clearfix .quickview{margin-top:10px;}
}

@media only screen and  (min-width: 1200px) and (max-width: 1500px){
  .functional-buttons.clearfix .quickview span, .functional-buttons.clearfix .button-container button{padding: 6px 16px;}
  .functional-buttons.clearfix .list-quantity{min-width:80px}
}
