/*---------------------------

    10px = 0.625rem
    12px = 0.75rem
    14px = 0.875rem
    16px = 1rem (base)
    18px = 1.125rem
    20px = 1.25rem
    22px = 1.375rem
    24px = 1.5rem
    26px = 1.625rem
    30px = 1.875rem
    32px = 2rem
-------------------------*/

/*--------------------------------------------------------------------------------
elimina color.css, porta tutto su custom.css utilizzando le variabili per i colori

:root{
  --primary-color:#263238;
  --bg-color:#151414;
  --light-black:#373636;
  --light-black-2:#2e2e2e;
  --light-black-3:#202020;
  --white-color:#fff;
  --dark-gray:#757575;
  --dark-gray-2:#7e7e7e;
  --dark-gray-3:#878787;
  --facebook:#3b5998;
  --twitter:#55acee;
  --instagram:#e93b81;
}
color:var(--primary-color);
padding: calc((var(--mm-spn-item-height) - var(--mm-spn-line-height))) var(--mm-spn-item-indent);
---------------------------------------------------------------------------------*/


/*------------------------
           GENERALI
 -------------------------*/
* {
 /* -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  border-radius: 0 !important;*/
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/*:focus {
    outline: 3px solid #4A90E2;
    outline-offset: 2px;
}*/

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    border: 0 !important;
}

.bg-trasparente {
  padding-left: 0;
  padding-right: 0;
}

.bg-bianco {
  padding-left: .5rem !important;
  padding-right: .5rem !important;
}

.bg-grigio {
  padding-left: .5rem !important;
  padding-right: .5rem !important;
}

.bg-rosa {
  padding-left: .5rem !important;
  padding-right: .5rem !important;

}

.bg-azzurro {
  padding-left: .5rem !important;
  padding-right: .5rem !important;
}

#btn-back-to-top {
  position: fixed;
  bottom: 1rem;
  right: 4.25rem;
  display: none;
}

body {
  font-size: 1rem;
  font-size: clamp(100%, 1rem + 2vw, 16px);
  font-weight: 400;
  font-family: 'Merriweather', serif;
  color: #161514;
}

a{
  /*color: unset;*/
  color: #3A5381
}

a:active,
a:hover {
  color: unset;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  padding-left: 0;
}

ul.bull {
  list-style: inside;
  padding-left: 0;
}

.container-xl {
  max-width: 1260px;
}

header>h1:first-of-type,
section>h2:first-of-type {
  display: none;
}

.small {
  font-size: 0.75rem;
}

main {
/*  margin-top: 164px;*/
  margin-top: 190px;
}

main.homepage{
/*  margin-top: 164px;*/
  margin-top: 20px;
}


.display-none{
  display: none;
}

.display-inline{
  display: inline !important;
}

/*---------------------
      Titoli
----------------------*/
.classic-title {
  font-size: 1.5rem;
  line-height: 1.5rem;
  padding-bottom: 11px;
  margin: 1.5rem 0;
  border-bottom: 2px solid;
}

.classic-title span {
  font-weight: 700;
  padding-bottom: 7px;
  border-bottom: 2px solid;
}

h6.classic-title {
  font-size: 1.25rem;
  line-height: 2rem;
  padding-bottom: 3px;
  margin: 1.25rem 0;
  border-bottom: 2px solid;
}

h6.classic-title span {
  padding-bottom: 0;
  border-bottom: 2px solid;
}


h2.itl-title,
.itl-title {
  /*color: #fff;*/
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 40px;
  position: relative;
}

h2.itl-title::before,
.itl-title::before  {
  content: '';
  position: absolute;
  left: 0;
  bottom: -15px;
  height: 2px;
  width: 50px;
  background: #263238;
}

/*card pagina info e index-macrosettori*/
.card-header h2 .btn-link {
  font-size: 1rem;
  font-weight: 500;
}



blockquote {
  border-left: none;
  margin-bottom: 60px;
}

.quotation {
  font-size: 23px;
  //margin: 0 auto;
  quotes: "\201C""\201D""\2018""\2019";
  padding: 10px 20px;
  line-height: 1.4;
  text-align: center;
}

.quotation:before {
  content: open-quote;
  display: inline;
  height: 0;
  line-height: 0;
  left: -10px;
  position: relative;
  top: 45px;
  font-size: 4em;
}

.quotation::after {
  content: close-quote;
  display: inline;
  height: 0;
  line-height: 0;
  left: 10px;
  position: relative;
  top: 55px;
  font-size: 4em;
}

blockquote .footer {
  margin: 0;
  text-align: right;
  font-size: 1em;
  font-style: italic;
  font-weight: bold;
}



/*---------------------
      Scrollbar
----------------------*/

html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: rgb(179, 177, 177);
  border-radius: 10px;
}

html::-webkit-scrollbar-thumb {
  background: rgb(136, 136, 136);
  border-radius: 10px;
}

html::-webkit-scrollbar-thumb:hover {
  background: rgb(100, 100, 100);
  border-radius: 10px;
}

html::-webkit-scrollbar-thumb:active {
  background: rgb(68, 68, 68);
  border-radius: 10px;
}

/*----------------------
IO Leggo
------------------------*/
.ioleggo p {
line-height: 2rem
}

.btn-ioleggo{
  background-color: #fff;
  border:1px solid #ccc;
  font-size: .8rem;
}

.btn-ioleggo:hover{
  background-color: #e6e6e6;
  border: 1px solid #adadad;

}

.btn-ioleggo img{
  display: block;
  margin: 0 auto;

}
.ioleggo ol {
  list-style: none;
  counter-reset: steps;
  padding-left: 0;
  margin-left: 0;
  font-size: 1.6rem;
}
.ioleggo ol li {
  counter-increment: steps;
  margin-bottom: 10px;
    font-size: 1rem
}
.ioleggo ol li::before {
  content: counter(steps);
  margin-right: 0.5rem;
  background: #e10510;
  color: white;
  width: 1.8em;
  height: 1.8em;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  line-height: 1.8em;
}
.ioleggo ol ol li::before {
  background: darkorchid;
}
.ioleggo .card-body{

}
/*---------------------
      prevendita
----------------------*/
/* HTML: <div class="ribbon">Your text content</div> */
.ribbon {
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
}
.ribbon {
  --f: .5em; /* control the folded part*/
  --r: .8em; /* control the ribbon shape */

  position: absolute;
  top: 20px;
  left: calc(-1*var(--f));
  padding-inline: .25em;
  line-height: 1.8;
  background: #263238;
  border-bottom: var(--f) solid #0005;
  border-right: var(--r) solid #0000;
  clip-path:
    polygon(calc(100% - var(--r)) 0,0 0,0 calc(100% - var(--f)),var(--f) 100%,
      var(--f) calc(100% - var(--f)),calc(100% - var(--r)) calc(100% - var(--f)),
      100% calc(50% - var(--f)/2));
}

#prodotto-scheda .ribbon {
  font-size: 1.625rem;
}


#prodotto-scheda .ribbon {
  --f: .5em; /* control the folded part*/
  --r: .8em; /* control the ribbon shape */

  position: absolute;
  top: 22px;
  /*left: calc(-1*var(2--f));*/
  left: .15rem;
  padding-inline: .25em;
  line-height: 1.8;
  background: #263238;
  border-bottom: var(--f) solid #0005;
  border-right: var(--r) solid #0000;
  clip-path:
    polygon(calc(100% - var(--r)) 0,0 0,0 calc(100% - var(--f)),var(--f) 100%,
      var(--f) calc(100% - var(--f)),calc(100% - var(--r)) calc(100% - var(--f)),
      100% calc(50% - var(--f)/2));
}

/* -----------------------
  LAZYLOAD
--------------------------*/
.lazyload,
.lazyloading {
  opacity: 0;
}

.lazyloaded {
  opacity: 1;
  /*  transition is applied to lazyloaded not lazyload */
  transition: opacity 3000ms 500ms;
}

/*
per evitare lo shifting della pagina , solo che non ho l'aspect ratio 56.25 corrisponde a 16:9
calcolo aspectratio altezza/larghezza x100*/
[data-src]::before {
  content: '';
  display: block;
  padding-top: 56.25%;
  padding-top: 25.73%
}

/*---------------------------
    ALERT
----------------------------*/
.alert {
  border: 1px solid;
  font-size: 1rem;
  margin-bottom: 3rem
}


/*------------------------
          Admin
--------------------------*/
.admin {
  padding: 0;
}

.admin-titolo {
  position: absolute;
  top: 25px;
  right: 15px;
}

.select2-container--default .select2-selection--multiple {
  border: 1px solid #ced4da !important;
  min-height: calc(1.5em + .75rem + 2px) !important;
  /*padding: .375rem 1.75rem .375rem .75rem !important;*/
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #495057 !important;


}

.select2-container {
  width: 100% !important;
}


#moduli-vetrine .mce-content-body,
#moduli-banner .mce-content-body,
#moduli-eventi .mce-content-body,
#moduli-news .mce-content-body {
  margin: .0 !important;
  padding: .375rem .75rem !important;
}

#moduli-vetrine .tox-tinymce,
#moduli-banner .tox-tinymce,
#moduli-eventi .tox-tinymce,
#moduli-news .tox-tinymce {
  height: 38px !important;
}

.copertina-vetrina-modifica {
  vertical-align: middle !important;
  max-width: 4rem;
}

table.dataTable tbody>tr.EventiDaInserire,
table.dataTable tbody>tr>.EventiDaInserire,
table.dataTable tbody>tr.NewsDaInserire,
table.dataTable tbody>tr>.NewsDaInserire {
  background-color: #0275d8 !important;
}

table.dataTable tbody>tr.EventiGiaInseriti,
table.dataTable tbody>tr>.EventiGiaInseriti,
table.dataTable tbody>tr.NewsGiaInseriti,
table.dataTable tbody>tr>.NewsGiaInseriti {
  background-color: #fff3cd;
}



/* ---------------------
      Admin Utenti
-----------------------*/
#admin table h1,
#admin table h2,
#admin table h3,
#admin table h4 {
  font-size: 1.125rem;
}

.excel div.dataTables_wrapper div.dataTables_filter {
  text-align: center !important;
}

.excel div.dt-buttons {
  float: right !important;
}

.excel #data-ordini {
  font-size: 1rem !important
}

.excel .badge {
  font-size: 100%;
}

#utenti div.dataTables_wrapper div.dataTables_info {
  padding-top: 0em !important;
}

#utenti .traccia-pacco .copertina {
  width: 100px
}

#data-ordini {
  font-size: 0.8rem !important
}

#data-ordini td {
  vertical-align: middle;
}

/*------------------------
          TOPBAR
-------------------------*/

#top-navigazione {
  background-color: #fff;
  box-shadow: 1px 0px 8px rgba(0, 0, 0, 0.34);

  /*padding-bottom: 1rem;*/
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1031;
}

.top-bar {
  font-family: 'lato', sans-serif;
}

.top-bar-logo {
  text-align: center;
}

.top-bar-logo img {
  height: 50px;
}

.top-bar-logo-arci {
  padding: 1rem 0;
}

.carrello-ajax .nav-link {
  padding: 0;
}

.carrello-ajax i, .fa-cart-shopping, .fa-cog {
  font-size: 1.5rem !important;
}

/*------------------------
  LOGO RICERCA CARRELLO
-------------------------*/

.top-ricerca-logo img {
  max-height: 130px;
}

/*------------------------
          NAVBAR
-------------------------*/
/*-------------------------
       Multilevel menu
-------------------------*/
#macrosettori .dropdown-menu{
  min-width: 20rem;
  max-height: calc(100vh - 100px);

}
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>a:after {
  content: "\f0da";
  float: right;
  border: none;
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: 0px;
  margin-left: 0px;
}
/*-------------------------
    fine Multilevel menu
-------------------------*/

.top-menu .navbar li.active::after,
.top-menu .navbar li:hover::after {
  content: "";
  position: absolute;
  height: 1px;
  background-image: linear-gradient(to right, #263238, #000);
  width: 100%;
  bottom: -6px;
  left: 0;
}

.top-menu .navbar #macrosettori li.active::after,
.top-menu .navbar #macrosettori li:hover::after {
  content: "";
  position: absolute;
  height: 0;
  background-image: none;
  width: 100%;
  bottom: 0;
  left: 0;
}

.top-menu .navbar li.active,
.top-menu .navbar li:hover {
  position: relative;
}

.top-menu .navbar {
  padding: 0;
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid;
}

.top-menu .navbar-nav {
  width: 100% !important;
}

.top-menu-scroll {
  transition: all 0.4s;
}

.top-menu-shadow {

  box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.2);
}

.top-menu {
  border-top: none;
  border-bottom: none;
  padding-bottom: .5 rem;
  /*transition: top 0.03s;*/

}

.top-menu .nav-link {
  font-weight: 700;
  /*padding: .25rem 1rem;*/
  transition: 1s;
  text-align: center;
  color: #3E3C39 !important;
  font-size: 1.125rem;
  transition: 1s;
}

.navbar .fa-shopping-cart {
  font-size: 2rem
}



/*------------------------
      CAROSELLO
-------------------------*/

#top-carosello {margin-top: 160px;}
.carosello,
.slide-captions {
  height: 150px;
}

.carosello .swiper-slide {
  background-size: 100% 100%;
}

.carosello .swiper-pagination{
  padding-bottom: 1rem;
}

#top-carosello img {
  width: 100%;
}

#top-carosello .swiper-slide:hover {
  transition: .8s;
}

#top-carosello .swiper-slide:hover {
  opacity: .9;
}

/* Slide captions*/
#top-carosello .slide-captions {
  z-index: 9;
  /*max-width: 95%;*/
 /* -ms-transform: translate(-10%, -20%);
  -webkit-transform: translate(-10%, -20%);
  -moz-transform: translate(-10%, -20%);
  transform: translate(-10%, -20%);*/
}

#top-carosello .slide-captions-position {
  position: absolute;
 /* bottom: 1.5rem;*/
 top:40%;
}

#top-carosello .slide-captions .current-title {
  margin: 0;
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 700;
  opacity: .9;
  display: table;
  padding: .375rem .75rem;
}

#top-carosello .slide-captions .current-subtitle {
  font-size: .9rem;
  font-weight: 400;
  /*opacity: .8;*/
  display: table;
  /*padding: .375rem .75rem;*/

}

#top-carosello .slide-captions .current-subtitle span {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  display: inline-block;
  padding: .375rem .75rem;

}

/* ------------------------------------------------
  TABELLE
---------------------------------------------------*/
.table-responsive td {
  vertical-align: middle;
}


/*----------------------------
			 HOMEPAGE
-------------------------------*/
.homepage h2 {
  font-size: 1.625rem !important;
  margin-bottom: 1.375rem !important;
}

.homepage h3 {
  font-size: 1rem !important;
  margin-bottom: 1rem ;
}

.homepage .bg-trasparente {
  padding-left: 0;
  padding-right: 0;
}

.homepage .bg-bianco,
.homepage .bg-grigio,
.homepage .bg-rosa,
.homepage .bg-azzurro {
  padding-left: .875rem !important;
  padding-right: .875rem !important;
}

.home-vetrina header {
  min-height: 80px;
    margin-bottom: 1.5rem !important;
}
.home-vetrina header p {

}

.home-banner p {
  margin-bottom: .625rem !important;
}

.home-banner h2 {
  margin-bottom: .375rem !important;
}

.home-banner .card .icon {
  -webkit-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  transition: all 0.3s linear;
  position: absolute;
  top: 5px;
  right: 15px;
  z-index: 0;
  font-size: 75px;
}


.home-banner:hover .card .icon {
  font-size: 80px;
}

.home-banner .card .icon i {
  font-size: 80px;
  color: rgba(0,0,0,.09);
}
/*------------------------
        Home-vetrina
-------------------------*/
.vetrina-catweb {
  font-size: 0.625rem;
  position: absolute;
  top: 0;
  right: 0;
}

/*------------------------
        Home-banner
-------------------------*/



/*------------------------
        Home-news
-------------------------*/


.home-news figcaption{
  padding: .625rem 0;
  line-height: 1.625rem;
}
.home-news figcaption h3 {
  font-size: 1.125rem;
  color: #3E3C39 !important;
  margin-bottom: 0;
  font-weight: 700;
}

.home-news figcaption p {
  padding-bottom: 0;
  margin-bottom: 0;

  margin-top: .625rem ;
  font-size: 1rem;
  color: #444;
  font-weight: 400 ;

}

.home-news.crop figcaption p {
  display: none;
}


.home-news.post figure img {
max-height: 300px
}

.home-news.crop figure img {
  object-fit: cover;
  width: 170px;
  height: 170px;
}

.swiper-slide .news-box figcaption{
  height: 150px;
  /*outline: 1px solid red;*/
}


.home-news .etichetta{
position: absolute;
top: 1rem;
left: 2rem;
background: #000;
opacity: .8;
padding: 0.5rem;
color: #fff !important;
}

 .campolibero{
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  padding: .375rem;
 background-color: #fff;
 opacity: .9;
 min-height: 4rem;
 text-align: center;

}


  .dataNews .mese {

      font-size: 1.2rem;
      font-weight: bold;

      color: #3A5381

  }

  .dataNews .giorno {
      font-size: 3.5rem;
      font-weight: bold;
      line-height: 1;
      /*background-color: #900;*/

      color: #3A5381;

  }

  .dataNews .orario {
      font-size: 1.2rem;

  }
.news-all  img {
      width: 100%;
      height: 350px;
  }
.dataNews  .d-flex.flex-column {
      height: 100%; /* Altezza uguale al contenitore */
      justify-content: space-between; /* Spaziatura tra giorno e orario */
  }
/*solo due linee con 3 dots*/
.home-news .NewsTesto{
  overflow: hidden;
   text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* number of lines to show */
  line-height: X;        /* fallback */
  max-height: X*2;       /* fallback */

}


#home-news .form-group{

  margin-bottom: 0;
}



/*------------------------
      SWIPER
-------------------------*/

.swiper-lazy-preloader {
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  border-radius: 50% !important;
}

.swiper-lazy-preloader-grigio {
  color: #3E3C39 !important;

}

.swiper-pagination-bullets,
.swiper-pagination-fraction {
  bottom: -6px !important;

}

.swiper-pagination-bullet {
  width: .8rem;
  height: .8rem;
  min-width: 24px;
  min-height: 24px;
  border-radius: 100% !important;
}

.swiper figure {
  margin: 0;
}

.swiper-wrapper {
  align-items: flex-end;
}

.swiper-slide {
  /*text-align: center;*/
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 0;
  padding-bottom: 2rem;
}


/*
.classifica .swiper-slide img {
  width: 150px;
  max-height: 200px;
}

.classifica .swiper-slide {
  text-align: center;
  font-size: 1.5rem;
}*/


/*------------------------
      CLASSIFICA
-------------------------*/
.classifica .classifica-1 {
  background-color: #e1e1e1;
  padding: 2rem 5rem 0rem 5rem
}

/*
.classifica figure {

    margin: 0 15px 1rem;
}*/
.classifica-1 .classifica-copertina img {
  width: 100%;
  vertical-align: middle;
}

.classifica-1 .classifica-posizione {
  font-size: 6rem;
  position: absolute;
  left: 1rem;
  top: 1rem
}

.classifica-2 .classifica-posizione {
  font-size: 2rem;
  position: absolute;
  left: -2.5rem;
  top: 0;
}

.classifica-1 .classifica-copertina {
  text-align: center;
}

.classifica-1 figcaption {
  width: 100%;
  text-align: center;
}

.classifica-1 .classifica-info {
  padding-top: 1rem;
}

.classifica-2 .classifica-copertina img {
  /*max-width: 100%;*/
  width: 100px;
  /*max-height: 130px;*/
  vertical-align: middle;
}

.classifica-2 .classifica-copertina {
  min-width: 150px
}

.classifica-posizione {
  font-size: 2rem;
  color: #961311;
  font-weight: 900;
  margin-top: 0;
  line-height: 1.2;
}

.classifica-1 .classifica-info .titolo, {
  font-size: 1.125rem;
}

.classifica-1 .classifica-info .autore, .classifica-1 .classifica-info .editore {
  font-size: 1rem;
}

.classifica-2 .classifica-info .titolo {
  font-size: 1rem;
}

.classifica-2 .classifica-info .autore, .classifica-2 .classifica-info .editore {
  font-size: 0.875rem;
}

.classifica-info .titolo {
  font-weight: 600;
  margin: 0;
  padding: 0;
}

.classifica-info .autore {
  padding-bottom: 0;
  margin-bottom: 0;
}

.classifica-info .editore {
  font-weight: 400;
  font-style: italic;
  padding-bottom: 0;
  margin-bottom: 0;
}

/*
.e-auto .swiper-slide {
   width: auto;

}*/



/* ------------------
TRANSOK
-----------------------*/


/*-------------------------
    Ordine conferma
-------------------------*/
.ordine-conferma .alert-info {
  border-radius: .25rem !important;
}

.ordine-conferma .copertina {
  width: 40px
}

.ordine-conferma table td {
  font-size: .735rem
}

.ordine-conferma table td b {
  font-size: 1rem
}

.ordine-conferma div.dataTables_info {
  padding-top: 0 !important;
}

.ordine-conferma .alert-info a {
  font-size: 1.4rem
}

.ordine-conferma .alert-heading {
  font-size: 1.8rem
}


.ordine-conferma ol {
  padding-left: 1.25rem;
}

.ordine-conferma ol {
  list-style: none;
  counter-reset: my-awesome-counter 0;
}

.ordine-conferma ol li {
  counter-increment: my-awesome-counter;
  padding: 0 0 0 .5em;
}

.ordine-conferma ol li::marker {
  content: counter(my-awesome-counter) ".";
  font-weight: 700;
  font-size: 1.6rem;
}

.ordine-conferma .alert-dismissible {
  padding-right: 1.25rem;
}

/*-------------------------
  SIDEBAR MACROSETTORI
--------------------------*/

#macrosettori-sidebar .card-header {
  padding: 0;
}

#macrosettori-sidebar .btn-link {
  text-decoration: none;
  font-size: 1rem;
}

#macrosettori-sidebar .settori-sidebar {
  display: block;
  font-size: 0.875rem;
  padding: .25rem 0
}

/*#macrosettori-sidebar .settori-sidebar:hover {
  font-size: 1rem;
  transition: all 0.5s ease;
}*/

#macrosettori-sidebar .card-header button:after {
  content: "\f068";
  font-family: 'Font Awesome 6 Free';
  float: right;
  font-weight: 900;
}

#macrosettori-sidebar .card-header.collapsed button:after {
  content: "\f067";
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

#macrosettori-sidebar .card-header {
  margin: 4px 0 0 0
}

#macrosettori-sidebar .card {
  border: 0;
}

/*-------------------------
    Contatti
---------------------------*/
.icons-list li,
.list-unstyled li {
  padding-bottom: 1rem;
}

.icons-list ul,
.list-unstyled ul {
  margin-bottom: 1rem;
}

/*------------------------
      BOTTONI
-------------------------*/

.btn-primary {
  color: #fff;
  background-color: #263238;
  border-color: #263238;
}

.btn-primary:hover {
  color: #fff;
  background-color: #263238;
  border-color: #263238;
}

.nav-pills .nav-link.active {
  color: #fff;
  background-color: #263238;
}
/*------------------------
      PRODOTTO
-------------------------*/

.btn-arci {
  background: linear-gradient(89.94deg, #263238 1.88%, #000 99.93%);
  background-color: rgba(0, 0, 0, 0);
  background-color: rgba(0, 0, 0, 0);
  border-radius: 8px !important;
  font-family: Lato;
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  width: fit-content;
  height: fit-content;
  outline: none !important;
  padding: 10px 15px !important;
  color: #fff !important;
  border: 0 !important;
}

.prodotto-scheda h3,
.prodotto-scheda h4{
  text-transform: lowercase;
}

.prodotto-scheda h3::first-letter {
  text-transform: uppercase;
}

.prodotto-scheda {
  font-family: 'Lato';
}

.prodotto-scheda .categoria a {
  color: #263238;
  font-size: 0.875rem;
  font-weight: 700;
}

.prodotto-scheda .categoria a:hover,
.prodotto-scheda .categoria a:active,
.prodotto-scheda .categoria a:visited {
  color: #a5202f;
  text-decoration: none;
}

.prodotto-scheda .titolo {
  font-weight: 900;
  font-size: 1.875rem;
  font-family: 'Merriweather';
  line-height: 2.375rem;
  color: #212529;
}

.prodotto-scheda .sottotitolo {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.875rem;
  color: #3E3C39;
  margin-bottom: .5rem;
}

.prodotto-scheda .autore,
.prodotto-scheda .autore a {
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.375rem;
  color: #444;
  margin-bottom: 1.5rem;
}

.prodotto-scheda .editore,
.prodotto-scheda .editore a {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5rem;
  color: #444;
  margin-bottom: .5rem;
}

.prodotto-scheda .editore a {

  font-style: italic;
}
.prodotto-scheda .ean{
font-size: 1rem;
font-weight: 700;
line-height: 1.5rem;
color: #444;
margin-bottom: .5rem;
}

.prodotto-scheda .collana,
.prodotto-scheda .collana a {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  color: #444;
  margin-bottom: .5rem;
  text-transform: lowercase;
}

.prodotto-scheda .collana::first-letter {
  text-transform: capitalize;
}

.prodotto-carrello .custom-select {
  border: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path fill="%23263238" d="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"/></svg>');
  background-size: 16px;
  /* Regola la dimensione dell'immagine */
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 20px;
  /* Spazio per l'immagine della freccia */
}

.prodotto-carrello #quantity {
  width: 60px;
}



.prodotto-disponibilita {
  font-weight: 700;
  font-size: .875rem;
}

.prodotto-disponibilita span:last-child {
  line-height: 1.25;
}

.prodotto-richiesta {
  color: #263238;
  font-weight: 900;
}

.prodotto-richiesta:hover,
.prodotto-richiesta:active,
.prodotto-richiesta:visited {
  color: #a5202f;
  text-decoration: none;
}

.prodotto-scheda dd  {
  margin-bottom: 0;
  font-weight: 400;
  color: #444;
  margin-bottom: 1.5rem;
  margin-left: 0;
}

/*-------------------------
      RICERCA-RISULTATO
------------------------ */

#ricerca-risultato .prodotto-scheda {
  margin: 1rem 0;
  border: 1px solid #dedede;
  padding-top: 15px;
  padding-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,.16);
}

#ricerca-risultato .prodotto-copertina img {
  max-width: 150px;
  height: auto;
  object-fit: cover;
}

.ricerca-header,
.ricerca-footer {
  border: 1px solid;
  padding: 1rem;
  border-color:  #dedede;
  background: #fff;
}

.prodotto-scheda .categoria  {
margin-bottom: 1.5rem;
}

#ricerca-risultato .prodotto-prezzo-carrello{
border-left: 1px solid #dedede;


}

#ricerca-risultato .prodotto-prezzo,
#ricerca-risultato .prodotto-carrello{
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: end;
  margin-bottom: 1.5rem;

}

#ricerca-risultato .prodotto-disponibilita {
  margin-bottom: 0;
 }

 #ricerca-risultato .fa-stack{font-size: .5rem;}


#ricerca-risultato .prodotto-prezzo .prezzo-scontato,
#ricerca-risultato .prodotto-prezzo .prezzo-arianna {
  font-size: 1.625rem;
  font-weight: 900;
  line-height: 1.625rem;
  color: #3E3C39;
  padding-right: .5rem;
}


/*------------------------
      PRODOTTO SCHEDA
-------------------------*/

#prodotto-scheda .prodotto-copertina img {
  /*min-width: 250px;*/
  width: 350px;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

#prodotto-scheda .prodotto-quarta p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.625rem;
  color: #444;
}

#prodotto-scheda .prodotto-quarta .nav-link {
  font-size: 1.25rem;
  cursor: pointer;
  font-weight: 400;
  color: #444;

}

#prodotto-scheda .prodotto-quarta .nav-link.active {
  text-decoration: underline;
  color: #3c3c3c;
  font-weight: 700;}


#prodotto-scheda .prodotto-prezzo {
    padding: 1.25rem 2.75rem;
    border: 1px solid #C4C4C4;
    box-sizing: border-box;
    border-radius: 4px !important;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  #prodotto-scheda  .prodotto-prezzo .prezzo-scontato,
  #prodotto-scheda  .prodotto-prezzo .prezzo-arianna {
    font-size: 1.625rem;
    font-weight: 900;
    line-height: 1.625rem;
    color: #3E3C39;
    padding-right: .5rem;
  }

#prodotto-scheda .fa-stack{font-size: .75rem;}



/*-----------------------
 modal stesso autore
 -----------------------*/
.prodotto .autore-titoli {
  text-align: center;
  padding-bottom: 2rem;
}

.prodotto .autore-titoli .prezzo-arianna,
.prodotto .autore-titoli .prezzo-libreria,
.prodotto .autore-titoli .prezzo-vecchio {
  font-size: 1rem;
}

.autore-titoli .prodotto-copertina {
  min-height: 170px
}

.prodotto .autore-titoli img {
  width: 100px;
  max-height: 150px;
  padding: 3px;
  border-top: 1px solid;
  vertical-align: middle;
}

.prodotto .modal-header {
  border-bottom: 0
}

.prodotto .autore-titoli .titolo {
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1rem
}

.prodotto .autore-titoli .autore {
  font-weight: 300;
  font-size: 0.8rem;
}

.prodotto .autore-titoli .editore {
  font-weight: 300;
  font-size: 0.6rem;
}

.prodotto .autore-titoli .prezzo {
  font-weight: 400;
  font-size: 1rem;
}

.prodotto .autore-titoli .prezzo i {
  font-size: .8rem;
}






/*---------------------------
          CARRELLO
----------------------------*/
pu
/* per dimensionare input qty*/
.form-carrello-ajax .input-group>.input-group-append {
  flex: 0 0 80% !important;
}

.form-carrello-ajax .input-group .input-group-text {
  width: 100% !important;
}

.page-changer-submit {
  visibility: hidden;
  display: none;
}



.carrello img.copertina {
  width: 2rem
}



#carrello-titolo .prodotto-prezzo {

  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 20px;

}

#carrello-titolo  .prodotto-prezzo .prezzo-scontato,
#carrello-titolo  .prodotto-prezzo .prezzo-arianna {
  font-size: 1.625rem;
  font-weight: 900;
  line-height: 1.625rem;
  color: #3E3C39;
  padding-right: .5rem;
}

/*----------------------------
			 P A G I N A Z I O N E
-------------------------------*/


.dataTables_wrapper .pagination a {
  padding: 0.2rem 0.6rem;
  border: 0;
  font-size: 1rem;
  height: auto;
  width: auto;
  line-height: normal;
}

.dataTables_wrapper .pagination .active a{
    /* Safari 3-4, iOS 1-3.2, Android 1.6- */
    -webkit-border-radius: 50% !important;
    /* Firefox 1-3.6 */
    -moz-border-radius: 50% !important;
    /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
    border-radius: 50% !important;
}



.pagination {
  padding-left: 0;
  margin: 0;
}

.pagination a {

  border: 0;
  font-size: 1rem;
  color: #263238 ;
  height: 44px;
  width: 44px;
  text-align: center;
  line-height: 44px;

}

.pagination span {
  line-height: 44px;
}

.pagination a.current {
  border: 0;
  /* Safari 3-4, iOS 1-3.2, Android 1.6- */
  -webkit-border-radius: 50% !important;
  /* Firefox 1-3.6 */
  -moz-border-radius: 50% !important;
  /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
  border-radius: 50% !important;
  background: #263238;
  color: #fff ;
}

.pagination a:hover {
  border: 0;
  /* Safari 3-4, iOS 1-3.2, Android 1.6- */
  -webkit-border-radius: 50% !important;
  /* Firefox 1-3.6 */
  -moz-border-radius: 50% !important;
  /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
  border-radius: 50% !important;
  background: #e9e6ed;
  color: #816e99;
}

.pagination a.disabled:hover,
.pagination a.disabled span,
.pagination a.disabled:hover span {
  border: 0;

}

.pagination a.pag-icon.disabled,
.pagination a.disabled:hover,
.pagination a.disabled:focus {
  cursor: default;

}


/*----------------------------
			 NEWS
-------------------------------*/

#news .etichetta{
position: absolute;
top: 1rem;
left: 2rem;
background: #000;
opacity: .8;
padding: 0.5rem;
color: #fff !important;
}

#news .dataNews{
  right: 2rem;
}

#news .oraNews{
  right: 2rem;
}

#news figcaption{
  padding: .625rem 0;
  line-height: 1.625rem;height: 150px
}
#news figcaption h3 {
  font-size: 1.125rem;
  color: #3E3C39 !important;
  margin-bottom: 0;
  font-weight: 700;
}

#news figcaption p {
  padding-bottom: 0;
  margin-bottom: 0;
  margin-top: .625rem ;
  font-size: 1rem;
  color: #444;
  font-weight: 400 ;

}
#news .titolo h3{
font-size: 1.375rem ;
font-weight: 700;
padding-top: 1rem}

/*solo due linee con 3 dots*/
#news .NewsTesto{
  overflow: hidden;
   text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* number of lines to show */
  line-height: X;        /* fallback */
  max-height: X*2;       /* fallback */

}

.news-singola p {
  line-height: 1.625rem;
}

.news-singola h3 {
  font-size: 1.875rem;
  font-weight: 700;
}


.news-singola .news-intro{
  padding-top: 0;
}
.news-intro{
  padding-top: 2rem;
}
/*----------------------------
			 SCOLASTICO
-------------------------------*/

#scuola-risultato table td a {
  font-weight: 400;
}




/*-------------------------
        F O O T E R
--------------------------*/
footer {
  margin-top: 6rem;
}

footer ul {
  margin: 0px;
  list-style-type: none;
  font-size: 1rem;
  padding: 0;
  list-style: none;
  list-style-position: inside;
  padding-left: 0;
}

footer ul li {
  padding: .312rem 0;
}

.footer-nav ul {
  list-style-type: none;
  display: table;
  margin: .75rem auto;

  display: flex !important;
  justify-content: center !important;
  flex-wrap: wrap;
}

.footer-nav ul li {
  display: inline;
  margin: 0 .875rem;
}

footer a:hover {
  color: #fff;
}

footer h2 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 40px;
  position: relative;
}

footer h2::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -15px;
  height: 2px;
  width: 50px;
  background: #263238;
}

/*-------------------------
        MEDIA QUERY
--------------------------*/

@media (min-width: 479px) {
  .carosello {
  height: 230px; /*160*/
  }
  .classifica .classifica-box-1 {
    padding: 0rem 8rem
  }
  .classifica-1 .classifica-posizione {
    left: 5rem;
  }

}
/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {

  .carosello,
  .slide-captions {
    height: 230px;
  }

  .classifica .classifica-box-1 {
    padding: 0rem 8rem
  }
  .classifica-1 .classifica-posizione {
    left: 5rem;
  }

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

  .carosello,
  .slide-captions {
    height: 250px;

  }

  .classifica .classifica-box-1 {
    padding: 0rem 1rem
  }

  .classifica-1 .classifica-posizione {
    left: 3rem;
  }

  /*
  mettere bg-color anche su home-vetrina cosi da avere sfondo full su mobile, sistemare bordo padding (left e right) e sfondo su disp > di 786 px
  come ibs saso

  .home-vetrina{
    background-color: transparent !important;
    border: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  */

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
#top-carosello {margin-top: 0;}
  .carosello,
  .slide-captions {
    height: 300px;
  }

  #top-navigazione {
    box-shadow: none;
    position: static;
  }

  .top-bar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1031;
    background-color: #263238;
  }

  .top-bar-logo {
    background-color: #fff;
  }

  .top-bar a,
  .top-bar a:hover {
    color: #fff;
    cursor: pointer;
  }

  .top-bar .dropdown-menu a {
    color: #3E3C39;
  }

  .top-bar .dropdown-menu .dropdown-item:hover,
  .top-bar .dropdown-menu .dropdown-item:active,
  .top-bar .dropdown-menu .dropdown-item:focus,
  .top-bar .dropdown-menu .dropdown-item.active {
    color: #fff;
    background-color: #263238;
  }

  .link .nav-link {
    font-weight: 900;
    font-size: 1rem;
  }

  .link li.active {
    background-color: #fff;
  }

  .link li.active a {
    color: #3E3C39;
    /* border-top: 2px solid #263238; */
  }

  .social .nav-link {
    padding-left: 15px;
    padding-right: 15px;

  }

  .social li:last-child {
    border-right: 1px solid #fff;
    padding-right: 25px;
  }

  .carrello-utente li.active .nav-link {
    background: #fff;
    color: #161514;
    padding: .5rem 1.5rem;
    font-size: 16px;
    font-weight: 900;
  }

  .carrello-utente .active .fa-user-circle {
    font-size: 23px;
    padding-right: 10px;
    color: #263238;
  }

  .carrello-ajax .nav-link {
    padding: .5rem 1.5rem;
  }

  .carrello-ajax i, .fa-cart-shopping, .fa-cog {
    font-size: 1.25rem !important;
  }

  .social .nav-link,
  .link .nav-link,
  .carrello-utente .nav-link {
    height: 44px;
  }

  .link {
    padding-left: 1.25rem;
    z-index: 1;
  }

  .social li:first-child .nav-link {
    padding-left: 0;
  }

  .top-ricerca {
    /*margin-top: 126px;    */
    margin-top: 50px;
  }

  .top-ricerca-form.fixed-top {
  /*  top: 44px;*/

    top: 28px;


  }
  .top-menu.fixed-top {
    top: 44px;

    /*top: 110px;*/
  }

  .top-menu.fixed-top .navbar {
    border-bottom: none;
  }


  main {
  /*  margin-top: 80px;*/
    margin-top: 40px;
  }

  .vetrina-catweb {
    font-size: .875rem;
  }

  .swiper-slide .vetrina-box img {

    max-height: 250px;
  }
  /*.swiper-slide .news-box img {

    max-height: 250px;
  }*/

  .footer-logo img {
    max-width: 250px;
  }

  .classifica .classifica-box-1 {
    padding: 0rem 6rem
  }

  .classifica-1 .classifica-posizione {
    left: 5rem;
  }

  .classifica-info .titolo {
    font-size: 1.2rem;
  }


}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

  .carosello,
  .slide-captions {
    height: 350px;
  }



  .top-bar {
    height: 44px;
  }

  .top-bar-logo {
    background-color: #263238;
  }


  .top-bar-logo-itl {
    position: absolute;
    margin: 0;
    z-index: 10;
    background-color: #fff;
    justify-content: center;
    padding: 15px 30px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
  }

  .top-bar-logo-itl img {
    height: 50px;
  }

  .top-bar-logo-itl.no-shadow {
    box-shadow: none;
  }

  .social,
  .link {
    flex-shrink: 0;
  }

  .top-ricerca {
    margin-top: 44px;
  }



  .top-ricerca-form.fixed-top {
  /*  top: 44px;*/

    top: 28px;


  }
  .top-menu.fixed-top {
 top: 44px;

    /*   top: 110px;*/
  }

  .footer-logo img {
    max-width: 300px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {


}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .top-bar a,
  .top-bar a:hover {
    color: #000;
    cursor: pointer;
  }

  .footer-logo {
    width: 100%;
    border-bottom: 1px solid #323f45 !important;
    padding-bottom: 2rem;
  }


}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {}

/* Extra large devices (large desktops)
   No media query since the extra-large breakpoint has no upper bound on its width */


/* print styles */
@media print {


}



/*VECCHIO MULTILEVEL MENU*/
/* .dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
} */
