
/* CSS per impostazioni globali
* {
  font-family: Montserrat;
  font-size: 14px;
 }
 */


/* CSS per impostazioni hero page */
body.hero {
  /*background-image: url('');*/
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  /*font-family: Montserrat;*/
  }

.div-hero {
  color: #fff;
  padding: 18px;
  font-size: 35px;
  text-align: center;
  position: absolute;
  left: 0;
  top: 30%;
  width: 100%;
  text-align: center;
}
/* end */


/* CSS per ridimensionare la navbar in small breakpoint */
.title-custom {
  font-size: 2rem; /* Dimensione per schermi più grandi */
}
.img-navbar {
      max-height: 44px; /* Dimensione per schermi più grandi */
      width: auto;
  }

@media (max-width: 576px) {
.title-navbar {
      font-size: 1.15rem; /* Dimensione per schermi sm */
  }
.img-navbar {
      max-height: 25px;
      width: auto;
  }
}

/* Navbar: Separate rows for top (brand + search) and bottom (nav items) */
@media (min-width: 1200px) {
  /* Keep the search box centered in the top row */
  .search-box {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20%; /* Adjust width as needed */
  }
}
/* end */


/* CSS per il colore delle icone bx */
.bx {
  vertical-align: middle;
}

.bx-actions {
  color: #0d6efd;
}

/* CSS per impostazioni font su bl-menu class */
.bl-menu {
    font-size: 14px;
 }

 .book-title {
    font-weight: bold;
  }
/* end */


/* CSS per copertine libri*/
.book-cover {
    object-fit: scale-down;
    max-width: 200px;
    height: 250px;
 }

 @media (max-width: 576px) {
 .book-cover {
    object-fit: fill;
    max-width: 400px;
    height: 320px;
  }
}

 .book-title {
    font-weight: bold;
  }
/* end */


/* CSS per nascondere o vedere recensioni in base all'approvazione */
.element-hide {
    display: none;
}


/* CSS per rating su recensioni libro*/
.accordion-button:focus {
    outline: none;
    box-shadow: none;
}

.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: left
}

.rating>input {
    display: none;
}

.rating>label {
    /*
    width: 1em;
    font-weight: 300;*/
    position: relative;
    font-size: 26px;
    color: #edbc07;
    cursor: pointer
}


.rating>label::before {
    content: "\2605";
    position: absolute;
    opacity: 0
}


.rating>label:hover:before,
.rating>label:hover~label:before {
    opacity: 1 !important
}

.rating>input:checked~label:before {
    opacity: 1
}

.rating:hover>input:checked~label:before {
    opacity: 0.4
}
/* end */



/* CUSTOM LOGIN SCREEN */
/*
body.login .button-primary {
    background-color: #F95738;
    border-color: #f83e1a;
    text-shadow: 0 -1px 1px #f8320c, 1px 0 1px #f8320c, 0 1px 1px #f8320c, -1px 0 1px #f8320c;
    box-shadow: 0 1px 0 #ed2c07;
  }
  
  body.login .button-primary:active,
  body.login .button-primary:focus,
  body.login .button-primary:hover {
    background-color: #f8411d;
    border-color: #F95738;
    text-shadow: 0 -1px 1px #ed2c07, 1px 0 1px #ed2c07, 0 1px 1px #ed2c07, -1px 0 1px #ed2c07;
    box-shadow: 0 1px 0 #de2907;
  }
  
  body.login {
    background-color: #FAF0CA;
  }
  */
  .login h1 a {
    color: #0D3B66;
    font-size: 30px;
    font-weight: 300;
    width: auto;
    height: auto;
    text-indent: 0;
    background-image: none;
  }
  /* END */
