@charset "UTF-8";
/*!
* Biblioteca digitale di Horti Hesperidum
*/

/* Scroll to top icon styles */
.scroll-to-top {
    position:fixed;
    right:1rem;
    bottom:1rem;
    display:none;
    width:2.75rem;
    height:2.75rem;
    text-align:center;
    color:#fff;
    background:rgba(90,92,105,.5);
    line-height:46px
}
.scroll-to-top:focus,
.scroll-to-top:hover {
    color:#fff
}
.scroll-to-top:hover {
    background:#5a5c69
}
.scroll-to-top i {
    font-weight:800
}

/* Form required fields */
label.required:after {
    content: ' *';
    color: red;
    font-size: smaller;
}

/* Dropdown submenus */
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}
.navbar-nav li.dropdown-submenu:hover > ul.dropdown-menu {
    display: block;
}

sup {
    vertical-align: super;
}

.bib-dark {
	color: #4d4848;
}

.bib-border-dark {
	border-color: #4d4848;
}

.bib-bg-dark {
	background-color: #3b3633;
}

.bib-bg-navbar-top {
	background-color: #8a8a8a;
	background: #6e6e6e;
	background: linear-gradient(to bottom, #6e6e6e 0%,#8a8a8a 100%);
}

.bib-bg-navbar{
	background-color: #8a8a8a;
	background: #4d4848;
	background: linear-gradient(to right, #4d4848 50%,#8a8a8a 100%);
}

.bib-bg-navbar-bottom {
	background-color: #696666;
	background: #4f4a4a;
	background: linear-gradient(to left, #4f4a4a 0%,#696666 100%);
}

.bib-bg-light-c {
    background-color: #e9eef0;
}

.bib-bg-light-w {
    background-color: #fdf9f3;
}

.bib-bg-light-w-gradient-b {
    background-color: #fdf9f3;
    background: linear-gradient(to bottom, #FFFFFF 0%,#fdf9f3 100%);
}

.bib-text {
    font-family: Ovo !important;
}

.bib-text-red {
    color: #923e0d !important;
}

.bib-text-dark-red {
    color: #4d2107 !important;
}

.bib-title {
    /*font-family: Ovo;*/
    color: #5a5656;
}

.bib-title-underline-w {
	border-bottom: 1px solid #555437;
    padding-bottom: 0.5rem;
}

.bib-title-underline-c {
	border-bottom: 3px solid #0e6d88;
}

.bib-title-underline-sm {
	border-bottom-width: 2px !important;
}

.bib-title-underline-xs {
	border-bottom-width: 1px !important;
}

.bib-text-note .tooltip-inner {
    color: inherit !important;
	background-color: white !important;
    padding: 1em !important;
    max-width: none !important;
    border: solid #555437 1px;
}

.bib-text-note .tooltip-arrow::before {
    border-color: transparent !important;
}

/* TinyMCE customizations */
.fas-tinymce {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
}

/* Highlighting */
mark, .highlight {
    padding: 0.2em;
    background-color: #ece8d7;
}

/* -------------------------- */
/*  Bootstrap customizations  */
/* -------------------------- */

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 1);
}

:root {
    --bs-primary: #555437;
    --bs-primary-rgb: 141, 109, 91;
    --bs-secondary: #79784f;
    --bs-secondary-rgb: 121, 120, 79;
    /*--bs-body-bg: #ddd9d3;*/
    --bs-body-color: #4d4848;
    --bs-body-color-rgb: 77, 72, 72;
}

a {
    color: #79784f;
    text-decoration: none;
}
a:hover {
    color: #667f54;
}

.btn-link {
    font-weight: 400;
    color: #79784f;
    text-decoration: none;
}
.btn-link:hover {
    color: #667f54;
}

.nav-link {
  color: #555437;
}
.nav-link:hover, .nav-link:focus {
  color: #41332c;
  outline: none;
  box-shadow: none;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  background-color: #e9eef0;
}

.page-link {
  color: #555437;
  background-color: #fff;
  border: 1px solid #41332c;
}
.page-link:hover {
  color: #fff;
  background-color: #555437;
  border-color: #41332c;
}
.page-link:focus {
  color: #fff;
  background-color: #41332c;
  box-shadow: 0 0 0 0.25rem rgba(6, 96, 124, 0.5);
}
.page-item.active .page-link {
  color: #fff;
  background-color: #555437;
  border-color: #41332c;
}

.dropdown-item.active, .dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #b9bdbf;
}

.list-group-item.active {
  background-color: #e9eef0;
  border-color: #e9eef0 ;
}

.btn-primary {
    color: #fff;
    background-color: #555437;
    border-color: #555437;
}
.btn-primary:hover {
    color: #fff;
    background-color: #3A392B;
    border-color: #41332c;
}
.btn-check:focus + .btn-primary, .btn-primary:focus {
    color: #fff;
    background-color: #3A392B;
    border-color: #41332c;
    box-shadow: 0 0 0 0.25rem rgba(8, 125, 161, 0.5);
}
.btn-check:checked + .btn-primary, .btn-check:active + .btn-primary, .btn-primary:active, .btn-primary.active, .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #41332c;
    border-color: #365023;
}
.btn-check:checked + .btn-primary:focus, .btn-check:active + .btn-primary:focus, .btn-primary:active:focus, .btn-primary.active:focus, .show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.25rem rgba(8, 125, 161, 0.5);
}
.btn-primary:disabled, .btn-primary.disabled {
    color: #fff;
    background-color: #555437;
    border-color: #555437;
}
.btn-outline-primary {
    color: #555437;
    border-color: #555437;
}
.btn-outline-primary:hover {
    color: #fff;
    background-color: #555437;
    border-color: #555437;
}
.btn-check:focus + .btn-outline-primary, .btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(141, 109, 91, 0.5);
}
.btn-check:checked + .btn-outline-primary, .btn-check:active + .btn-outline-primary, .btn-outline-primary:active, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show {
    color: #fff;
    background-color: #555437;
    border-color: #555437;
}
.btn-check:checked + .btn-outline-primary:focus, .btn-check:active + .btn-outline-primary:focus, .btn-outline-primary:active:focus, .btn-outline-primary.active:focus, .btn-outline-primary.dropdown-toggle.show:focus {
    box-shadow: 0 0 0 0.25rem rgba(141, 109, 91, 0.5);
}
.btn-outline-primary:disabled, .btn-outline-primary.disabled {
    color: #555437;
    background-color: transparent;
}
.link-primary {
    color: #555437;
}
.link-primary:hover, .link-primary:focus {
    color: #3A392B;
    outline: none;
    box-shadow: none;
}
.border-primary {
    border-color: #555437 !important;
}

.btn-secondary {
    color: #fff;
    background-color: #79784f;
    border-color: #79784f;
}
.btn-secondary:hover {
    color: #fff;
    background-color: #667f54;
    border-color: #303c27;
}
.btn-check:focus + .btn-secondary, .btn-secondary:focus {
    color: #fff;
    background-color: #667f54;
    border-color: #303c27;
    box-shadow: 0 0 0 0.25rem rgba(162, 77, 35, 0.5);
}
.btn-check:checked + .btn-secondary, .btn-check:active + .btn-secondary, .btn-secondary:active, .btn-secondary.active, .show > .btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: #303c27;
    border-color: #365023;
}
.btn-check:checked + .btn-secondary:focus, .btn-check:active + .btn-secondary:focus, .btn-secondary:active:focus, .btn-secondary.active:focus, .show > .btn-secondary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.25rem rgba(162, 77, 35, 0.5);
}
.btn-secondary:disabled, .btn-secondary.disabled {
    color: #fff;
    background-color: #79784f;
    border-color: #79784f;
}
.btn-outline-secondary {
    color: #79784f;
    border-color: #79784f;
}
.btn-outline-secondary:hover {
    color: #fff;
    background-color: #79784f;
    border-color: #79784f;
}
.btn-check:focus + .btn-outline-secondary, .btn-outline-secondary:focus {
    box-shadow: 0 0 0 0.25rem rgba(121, 120, 79, 0.5);
}
.btn-check:checked + .btn-outline-secondary, .btn-check:active + .btn-outline-secondary, .btn-outline-secondary:active, .btn-outline-secondary.active, .btn-outline-secondary.dropdown-toggle.show {
    color: #fff;
    background-color: #79784f;
    border-color: #79784f;
}
.btn-check:checked + .btn-outline-secondary:focus, .btn-check:active + .btn-outline-secondary:focus, .btn-outline-secondary:active:focus, .btn-outline-secondary.active:focus, .btn-outline-secondary.dropdown-toggle.show:focus {
    box-shadow: 0 0 0 0.25rem rgba(121, 120, 79, 0.5);
}
.btn-outline-secondary:disabled, .btn-outline-secondary.disabled {
    color: #79784f;
    background-color: transparent;
}
.link-secondary {
    color: #79784f;
}
.link-secondary:hover, .link-secondary:focus {
    color: #7a350d;
    outline: none;
    box-shadow: none;
}
.border-secondary {
    border-color: #79784f !important;
}

.scroll-to-top {
 position:fixed;
 right:1rem;
 bottom:1rem;
 display:none;
 width:2.75rem;
 height:2.75rem;
 text-align:center;
 color:#fff;
 background:rgba(90,92,105,.5);
 line-height:46px
}
.scroll-to-top:focus,
.scroll-to-top:hover {
 color:#fff
}
.scroll-to-top:hover {
 background:#5a5c69
}
.scroll-to-top i {
 font-weight:800
}

.btn-icon-split {
  padding: 0;
  overflow: hidden;
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
}
.btn-icon-split .icon {
  background: rgba(0, 0, 0, 0.15);
  display: inline-block;
  padding: 0.375rem 0.75rem;
}
.btn-icon-split .text {
  display: inline-block;
  padding: 0.375rem 0.75rem;
}
.btn-icon-split.btn-sm .icon, .btn-group-sm > .btn-icon-split.btn .icon {
  padding: 0.25rem 0.5rem;
}
.btn-icon-split.btn-sm .text, .btn-group-sm > .btn-icon-split.btn .text {
  padding: 0.25rem 0.5rem;
}
.btn-icon-split.btn-lg .icon, .btn-group-lg > .btn-icon-split.btn .icon {
  padding: 0.5rem 1rem;
}
.btn-icon-split.btn-lg .text, .btn-group-lg > .btn-icon-split.btn .text {
  padding: 0.5rem 1rem;
}

.btn-circle {
  border-radius: 100%;
  height: 2.5rem;
  width: 2.5rem;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-circle.btn-sm, .btn-group-sm > .btn-circle.btn {
  height: 1.8rem;
  width: 1.8rem;
  font-size: 0.75rem;
}
.btn-circle.btn-lg, .btn-group-lg > .btn-circle.btn {
  height: 3.5rem;
  width: 3.5rem;
  font-size: 1.35rem;
}

.btn.btn-no-focus {
  outline: none;
  box-shadow: none;
}

.accordion-button:focus {
  background-color: transparent;
  border: none;
  box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
}

.form-check-input:checked {
	background-color: #555437;
	border-color: #555437;
}

/* Form customizations */
.form-floating > label {
    opacity: 0.3 !important;
}
.form-floating .ui-widge-content {
	border-color: #d4d9de;
}
.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(4rem + 2px);
    line-height: 1.5 !important;
}
.form-floating .no-label {
    height: calc(3rem + 2px);
    line-height: 1.5 !important;
    padding-top: 0.625rem !important;
}
.form-text {
    color: #9e8217 !important;
}

/* Home carousel */
.carousel-caption-home {
    position: relative !important;
    left: auto !important;
    right: auto !important;
}

/* Font sizes */
.x-small {
    font-size: 0.675em;
}
.xx-small {
    font-size: 0.475em;
}

.table {
  --bs-table-striped-color: #4d4848;
  --bs-table-active-color: #4d4848;
  --bs-table-hover-color: #4d4848;
  color: #4d4848;
  /*border-color: #dee2e6;*/
}

/*     Height / Width depending on the device    */
/* --------------------------------------------- */
/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
    .w-sm-100 {
        width:100%!important;
    }
    .w-sm-75 {
        width:75%!important;
    }
    .w-sm-50 {
        width:50%!important;
    }
    .w-sm-25 {
        width:25%!important;
    }
    .h-sm-100 {
        height:100%!important;
    }
    .h-sm-75 {
        height:75%!important;
    }
    .h-sm-50 {
        height:50%!important;
    }
    .h-sm-25 {
        height:25%!important;
    }
}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    .w-md-100 {
        width:100%!important;
    }
    .w-md-75 {
        width:75%!important;
    }
    .w-md-50 {
        width:50%!important;
    }
    .w-md-25 {
        width:25%!important;
    }
    .h-md-100 {
        height:100%!important;
    }
    .h-md-75 {
        height:75%!important;
    }
    .h-md-50 {
        height:50%!important;
    }
    .h-md-25 {
        height:25%!important;
    }
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    .w-lg-100 {
        width:100%!important;
    }
    .w-lg-75 {
        width:75%!important;
    }
    .w-lg-50 {
        width:50%!important;
    }
    .w-lg-25 {
        width:25%!important;
    }
    .h-lg-100 {
        height:100%!important;
    }
    .h-lg-75 {
        height:75%!important;
    }
    .h-lg-50 {
        height:50%!important;
    }
    .h-lg-25 {
        height:25%!important;
    }
}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    .w-xl-100 {
        width:100%!important;
    }
    .w-xl-75 {
        width:75%!important;
    }
    .w-xl-50 {
        width:50%!important;
    }
    .w-xl-25 {
        width:25%!important;
    }
    .h-xl-100 {
        height:100%!important;
    }
    .h-xl-75 {
        height:75%!important;
    }
    .h-xl-50 {
        height:50%!important;
    }
    .h-xl-25 {
        height:25%!important;
    }
}
/* --------------------------------------------- */

/* Select2 customizations */
.select2-selection__rendered {
    line-height: calc(2px + 4rem) !important;
}
.select2-container .select2-selection--single {
    height: calc(2px + 4rem) !important;
}
.select2-selection__arrow {
    height: calc(2px + 4rem) !important;
}
.select2-search__field:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: inherit !important;
}
.select2-dropdown {
    margin-top: 0.3em;
    border: 2px solid #e0e4e7 !important;
}