/*
Theme Name: FlexiOne
Theme URI: http://tuosito.com
Author: Zangari Davide
Description: Tema starter personalizzato e responsive woocommerce custom
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flexione
*/

/* ! Reset */
:root {
    --one: #1A1A2E;
    --two: #AAAAAA;
    --three: #F9F9F9;
    --five: #F9A826;
    --link-color: #0F4C75;
    --link-menu: #1A1A2E;
    --link-menu-active: #90323d;
    --link-botton: #0F4C75;
    --white: #ffff;
    --woo-link-botton-bg: #0F4C75;
    --woo-link-botton-color: #F9F9F9;
    --woo-border-color: #AAAAAA;
  }

body,
header {margin: 0; font-size: 16px;box-sizing: border-box;padding: 0;}
body {overflow-x: hidden;}
h1,h2,h3,h4,h5,h6, p, ol, ul{margin: 0;padding: 0;}
ol,ul{padding-left: 20px;}
*,*:before,*:after{ box-sizing: border-box; }
img{height: auto;}
 a{text-decoration: none;}
 hr{border:none; border-bottom: 1px solid #000}
 
 html {scroll-behavior: smooth;}


 /* ------------------------------------------------------------------------- *
/* Base */
/* ------------------------------------------------------------------------- */

/* Typography */
body{font-size: 16px; background: var(--three); color: var(--one);}
/* 
h1 {font-size: 3.4rem; color: var(--one); font-weight: 900;}
h2 {font-size: 2rem; color: var(--one);}
h3 {font-size: 1.5rem; color: var(--two);}
h4 {font-size: 1rem; color: var(--one);}
h5, p, ul,li{font-size: 1rem;}
h6{font-size: 0.8rem;}  */
a  {color: var(--link-color);}
h1 { margin-bottom:20px; }
p {margin-top: 0; margin-bottom:1rem; }
.text-center {text-align: center; }


/* ------------------------------------------------------------------------- *
/* ! Grid System */
/* ------------------------------------------------------------------------- */


.grid { margin: 0 auto; padding: 0 15px; max-width: 1250px; display: flex; flex-flow: row; flex-wrap: wrap; gap:1em}
.grid--nogap {gap:0}
.grid--center{justify-content: center;}


.col-20{ width: 20%; }
.col-25{ width: 25%; }
.col-30{ width: 30%; }
.col-33{ width: 33.33%; }
.col-40{ width: 40%; }
.col-48{ width: 48%; }
.col-50{ width: 50%; }
.col-70{ width: 70%; }
.col-80{ width: 80%; }
.col-90{ width: 90%; }
.col-100{ width: 100%; }

@media (max-width: 991px) {
    .tab-20 { width: 20%; }
    .tab-25 { width: 25%; }
    .tab-33 { width: 33.33%; }
    .tab-50 { width: 50%; }
    .tab-100 { width: 100%; }
}

@media (max-width: 768px) {
    [class*='col-'] { width: 100%;}
    .sma-20 { width: 20%; }
    .sma-25 { width: 25%; }
    .sma-33 { width: 33.33%; }
    .sma-50 { width: 50%; }
    .sma-100 { width: 100%; }
}

 /* ------------------------------------------------------------------------- *
/* ! Helpers  */
/* ------------------------------------------------------------------------- */

.mt-0{margin-top: 0 }
.mt-1{margin-top: 10px}
.mt-2{margin-top: 20px}
.mt-3{margin-top: 40px}
.mt-4{margin-top: 100px }

.mb-0{margin-bottom: 0}
.mb-1{margin-bottom: 10px}
.mb-2{margin-bottom: 20px}
.mb-3{margin-bottom: 40px}
.mb-4{margin-bottom: 100px}

.p-0{padding: 0}
.p-1{padding: 10px}
.p-2{padding: 20px}
.p-3{padding: 40px}
.p-4{padding: 100px}

.pt-1{padding-top: 10px;}
.pt-3{padding-top: 20px;}
.pt-3{padding-top: 40px;}
.pt-4{padding-top: 15vh;}

.pb-1{padding-bottom: 10px;}
.pb-2{padding-bottom: 20px;}
.pb-3{padding-bottom: 40px;}
.pb-4{padding-bottom: 15vh;}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.img-res { width: 100%; height: auto; margin-bottom: 20px;vertical-align: middle;}
img{max-width: 100%;}



 /* ------------------------------------------------------------------------- *
/* layout */
/* ------------------------------------------------------------------------- */
main {min-height: 100vh;}

main.content-grid {
  margin: 30px auto 0 auto;
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  padding: 30px;
  justify-content: center;
  width: 100%;
  max-width: 1400px;
  gap: 30px;
  min-height: 100vh;
}


.pagination span, .pagination a, .post-navigation .nav-previous a, .post-navigation .nav-next a  {
  display: inline-block;
  border: 1px solid var(--link-color);
  padding: 9px;
  margin: 2px;
  color: var(--link-color);
}

.pagination span:hover, .pagination a:hover, .post-navigation .nav-previous a:hover, .post-navigation .nav-next a:hover  {
  background: var(--link-color);
  color: var(--three);
}


span.page-numbers.current {
  display: inline-block;
  border: 1px solid var(--link-color);
  padding: 9px;
  margin: 2px;
  color: var(--link-color);
 background: var(--link-color);
 color: var(--three);
}

.link-wrapper {
  display: flex;
  align-items: center;
}

.material-icons {
  font-size: 20px; /* Dimensione dell'icona */
  margin-right: 5px; /* Distanza tra icona e testo (a sinistra o destra in base alla posizione dell'icona) */
}





 /* ------------------------------------------------------------------------- *
/* Blocks custom */
/* ------------------------------------------------------------------------- */

.wp-block-quote { font-style: italic; }
.wp-block-quote p { font-size: 0.9rem; }



/* ------------------------------------------------------------------------- *
/* ul check list Utilizzare la classe (check-list) */
/* ------------------------------------------------------------------------- */


/* Stile per sostituire i bullet con icona check di Material Icons */
.check-list li {
  list-style-type: none; /* Rimuove i bullet standard */
  position: relative;
  padding-left: 30px; /* Spazio a sinistra per l'icona */
}

.check-list li:before {
  content: "check_circle"; /* Testo dell'icona Material Icons */
  font-family: 'Material Icons'; /* Applica Material Icons */
  position: absolute;
  left: 0; /* Posiziona l'icona a sinistra */
  top: 0;
  font-size: 20px;
  color: #4CAF50; /* Cambia il colore dell'icona, opzionale */
}


/* ------------------------------------------------------------------------- *
/* ol check list Utilizzare la classe (custom-list) */
/* ------------------------------------------------------------------------- */

/* Stile per lista ordinata con numerazione in cerchio */
ol.custom-list {
  counter-reset: list; /* Reset del contatore */
  list-style: none;
  padding-left: 0; /* Rimuove l'indentazione standard */
}

ol.custom-list li {
  position: relative;
  padding-left: 40px; /* Spazio a sinistra per il cerchio numerato */
  margin-bottom: 10px;
}

ol.custom-list li:before {
  counter-increment: list;
  content: counter(list);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  color: var;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}


/* ------------------------------------------------------------------------- *
/* ol check list Utilizzare la classe (stylish-list) */
/* ------------------------------------------------------------------------- */

/* Stile per numerazione colorata con ombra */
ol.stylish-list {
  counter-reset: list;
  list-style: none;
  padding-left: 0;
}

ol.stylish-list li {
  counter-increment: list;
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
  position: relative;
  padding-left: 25px;
}

ol.stylish-list li:before {
  content: counter(list) "";
  position: absolute;
  left: 0;
  font-size: 24px;
  color: var(--two); /* Colore della numerazione */
  font-weight: bold;
}


@media only screen and (min-width: 960px) {

}

body .alignfull {
  width: auto;
  max-width: 1000%;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}
body .alignwide {
  width: auto;
  max-width: 1000%;
  margin-right: calc(25% - 25vw);
  margin-left: calc(25% - 25vw);
}
.alignwide img,
.alignfull img {
  display: block;
  margin: 0 auto;
}

/* ------------------------------------------------------------------------- *
/* footer */
/* ------------------------------------------------------------------------- */

/* Stile Footer */
.site-footer {
  background-color: #5384a5;
  color: #fff;
  padding: 30px;

}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
}
