/*
Theme Name: Total Child Theme
Theme URI: https://your-site.com
Description: Your site description. Go to Appearance > Editor to modify this file.
Author: Your Name
Author URI: https://your-site.com
Template: Total
Version: 1.0
*/
/* -------------------------------------------------------------------------------- */
/* ! BASE */
/* -------------------------------------------------------------------------------- */
:root {
    --primary-color: #f1910b;
    --secondary-colory: #00A099;
}

a {text-decoration: none !important;}

@media (min-width: 991px) {
  h1{font-size: 55px !important ; color: var(--primary-color) !important;line-height: 84px !important;}
  h2{font-size: 35px !important ; text-transform: uppercase !important; color: var(--primary-color) !important;}
  h3{font-size: 32px !important;}
  h4{font-size: 25px !important;}

  .page-header-title {font-size: 45px !important; line-height: 50px !important;}

  .h1-home {color: var(--secondary-colory) !important; }

  .single h1 {text-transform: none !important;}
}
@media (max-width: 768px) {
  h1{font-size: 36px !important;color: var(--primary-color) !important;}
  h2{font-size: 32px !important ;text-transform: uppercase !important;color: var(--primary-color) !important;}
  h3{font-size: 28px !important ;}
  h4{font-size: 26px !important;}

  .page-header-title {font-size: 30px !important; line-height: 40px !important;text-align: center !important;}

  .site-breadcrumbs {text-align: center !important;}

  .h1-home {color: var(--secondary-colory) !important; }

  .center-mobile {text-align: center !important;}

  p,.woocommerce .related.products {text-align: center !important;}
}

.archive .wpex-card-title {text-transform: none !important; font-size: 32px !important;}

/* -------------------------------------------------------------------------------- */
/* ! HEADER */
/* -------------------------------------------------------------------------------- */
.login-corsi span {
  background: #cc5433 !important; 
  padding: .6em .8em !important;
  border-radius: 0px !important;
}
.login-corsi span {color: #fff; font-weight: 700; }

.login-corsi span:hover {
  background: #9b3b20 !important;
}

@media (max-width: 768px) {
  .login-corsi {
    width: fit-content;
    margin: 1em 0;
  }
  .login-corsi a {border-top-width: 0 !important;}
}
/* -------------------------------------------------------------------------------- */
/* ! BOX ARTICOLI */
/* -------------------------------------------------------------------------------- */
.wpex-card-title {color: var(--secondary-colory) !important; font-weight: 600 !important;}
.wpex-card-more-link a {font-weight: 700 !important; background-color:var(--primary-color) !important; padding: .738em 1.077em !important;text-transform: uppercase;color: #fff !important;font-size: 16px !important;}
.wpex-card-more-link a:hover {background-color: var(--secondary-colory) !important;}
.wpex-card-details, .wpex-card-more-link  {text-align: center !important;} 

/* -------------------------------------------------------------------------------- */
/* ! SINGOLO PRODOTTO*/
/* -------------------------------------------------------------------------------- */
.vcex-wc-template-part--single-product__tabs__description h2 {
    text-transform: none !important;
    color: var(--secondary-colory) !important;
}

.woocommerce-price-suffix {font-size: 60% !important;}


.box-elearning {
  padding: 20px;
  background: #F6F6F6;
  border:1px solid #222;
  margin-top:1em
}
.button-corso-elearning {background-color: #CC6227 !important; width: 100%;margin: 1em 0;}

/* -------------------------------------------------------------------------------- */
/* ! ARCHIVIO PRODOTTI */
/* -------------------------------------------------------------------------------- */
.vcex-wc-template-part--loop__title .woocommerce-loop-product__title {
    all: inherit !important;
}

.wpex-card-template_7708 .product_meta, .wpex-card-template_9181 .product_meta,
.wpex-card-template_11831 .product_meta{
  position: relative;
  width: 100%;
  text-align: center;
  color: #fff ;
  text-transform: uppercase;
  z-index: 999;
  margin-bottom: 0 !important;
  background: #00A099;
}

.product_meta.e-learning {
  background: #CC6227 !important; /* Colore per corsi e-learning */
}

.product_meta.aula {
  background: #17A2B8 !important; /* Colore per corsi in presenza */
}

.product_meta.video-conferenza {
  background: #843dff !important; /* Colore per corsi in video conferenza */
}

.single .product_meta {
  width: 100%;
  text-align: center;
  color: #fff ;
  text-transform: uppercase;
  background: #00A099;
}

.product_meta .t-label {display: none !important;}

.product_meta .sku_wrapper {display: none !important;}

.woocommerce .quantity {position: absolute !important;}

/* -------------------------------------------------------------------------------- */
/* ! custom card video-conferenza aula */
/* -------------------------------------------------------------------------------- */
.category-entry-card .video-conferenza, .category-entry-card .aula {
  visibility:hidden;
  }
  
  .category-entry-card .video-conferenza:after{
    content:"Videoconferenza";
    color:#3a3a3a;
    visibility:visible;
    font-size:18px;
    text-transform:capitalize;
    position: absolute;
    top: 0 ; left: 0; right: 0;
  }

  .category-entry-card .aula:after{
    content:"in aula";
    color:#3a3a3a;
    visibility:visible;
    font-size:18px;
    text-transform:capitalize;
    position: absolute;
    top: 0 ; left: 0; right: 0;
  }

/* -------------------------------------------------------------------------------- */
/* ! SERVIZI*/
/* -------------------------------------------------------------------------------- */
.wpex-card-blog_1 .wpex-card-meta, .post-pagination-wrap {display: none !important;}
.wpex-card-blog_1 {text-align: center !important; border: 2px solid var(--secondary-colory);}
.wpex-card-blog_1 .wpex-card-title,.wpex-card-blog_1 .wpex-card-excerpt {padding:0 20px;}
.wpex-card-blog_1 .wpex-card-more-link {padding: 20px;}

.related-portfolio-posts-heading {color: var(--primary-color);}
#portfolio-single-related {margin-top: 2em;}


/* -------------------------------------------------------------------------------- */
/* ! CHECKOUT */
/* -------------------------------------------------------------------------------- */
.checkout h3 {color:var(--secondary-colory) !important}
@media (max-width:768px) {
.checkout h3 {text-align: center !important;}
}

.woocommerce-checkout-review-order {background: #f5f5f5; padding: 20px; border: 2px solid #eee;}
.woocommerce-checkout-review-order-table {background: #ffff !important;}

.wc_payment_methods li {
	margin: 10px 0 !important;
	padding:10px;
	background:#efefef;
	border:1px solid #dcdcdc
}
/* -------------------------------------------------------------------------------- */
/* ! CART*/
/* -------------------------------------------------------------------------------- */
.product-price {color: var(--primary-color) !important;}
.cart_totals h2 {text-transform: none !important;}

@media (max-width:768px) {
  .cart_totals h2 {text-align: center !important;}
  .xoo-wsc-container {max-width: 80% !important;}
  }

/* -------------------------------------------------------------------------------- */
/* ! FOOTER */
/* -------------------------------------------------------------------------------- */
@media (max-width: 768px) {
#footer-callout {text-align: center !important;}
#footer, #footer h4 {text-align: center !important;}
#footer .vcex-social-links {justify-content: center !important;}
  
}