@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&display=swap');

@font-face {
    font-family: Averta;
    src: url('/static/fonts/Averta Standard Regular.woff2') format("woff2");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: Averta;
    src: url('/static/fonts/Averta Standard Semibold.woff2') format("woff2");
    font-weight: 500;
    font-style: normal
}

@font-face {
    font-family: Averta;
    src: url('/static/fonts/Averta Standard Bold.woff2') format("woff2");
    font-weight: 600;
    font-style: normal
}

@font-face {
    font-family: Averta;
    src: url('/static/fonts/Averta Standard Extra Bold.woff2') format("woff2");
    font-weight: 700;
    font-style: normal
}


*,:after,:before {
    box-sizing: border-box;
    border: 0 solid;
    line-height: inherit
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

body {
    font-family: 'Averta', Helvetica, sans-serif;
    margin: 0;
    background-color: #fff;
    color: #000;
}
  
a {
    font-family: 'Averta', Helvetica, sans-serif;
    text-decoration: none;
}

p {
    font-family: 'Averta', Helvetica, sans-serif;
    margin: 0;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Averta', Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

button, select, input {
    font-family: 'Averta', Helvetica, sans-serif;
}

.mg-top-15 {
    margin-top: 15px;
}

:root {
    --indexlexgreen: #BEEEC4;
    --white: #ffffff;
    --black: #000;
}

.flex {
    display: flex;
}

.fw-400 {
    font-weight: 400;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 800;
}

.fw-800 {
    font-weight: 800;
}

.flex-column {
    flex-direction: column;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.flex-space-btw {
    justify-content: space-between;
}

.flex-align-center {
    align-items: center;
}

.flex-justify-center {
    justify-content: center;
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Display Utilities */
.hidden {
    display: none;
}

.block {
    display: block;
}

.inline {
    display: inline;
}

.inline-block {
    display: inline-block;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.margin-0 {
    margin: 0;
}

.margin-top-10 {
    margin-top: 10px;
}

.padding-0 {
    padding: 0;
}

.pd-tb-10 {
    padding: 10px 0px;
}

.pd-tb-17 {
    padding: 17px 0px;
}

/* Border Utilities */
.border {
    border: 1px solid #000;
}

/* Background Utilities */
.bg-gray {
    background-color: #ccc;
}

.bg-white {
    background-color: #fff;
}

.bg-black {
    background-color: #000;
}

.color-white {
    color: #fff;
}

.color-black {
    color: #000;
}

/* Font Weight Utilities */
.font-bold {
    font-weight: bold;
}

.font-normal {
    font-weight: normal;
}

/* Text Decoration Utilities */
.no-decoration {
    text-decoration: none;
}

.mg-0-auto {
    margin: 0 auto;
}

.section {
    width: 100%;
    max-width: 980px;
    padding: 0px 20px;

}

.section-bg {
    width: 100%;
    max-width: 1180px;
    padding: 0px 20px;

}

.logo-header {
    width: 164px;
    height: auto;
}

.gap-24 {
    gap: 24px;
}

.gap-8 {
    gap: 8px;
}

.gap-10 {
    gap: 10px;
}

.gap-12 {
    gap: 12px;
}

.gap-14 {
    gap: 14px;
}

.button {
    background-color: #BEEEC4;
    border: transparent;
    border-radius: 6px;
    box-shadow: 0 2px 5px 0 rgba(0,18,71,.2);
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    line-height: 1.4;
    outline: 0;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: all .2s;
    vertical-align: middle;
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 16px;
    color: #000;
}

.nav-but-text {
    color: #fff;
}

.burger-menu {
    width: 21px;
    height: auto;
    display: none;
}

.burger-menu-close {
    width: 32px;
    height: auto;
}

.font-size-29 {
    font-size: 29px;
}

.font-size-16 {
    font-size: 16px;
}

.font-size-17 {
    font-size: 17px;
}

.font-size-18 {
    font-size: 18px;
}

.font-size-15 {
    font-size: 15px;
}

.font-size-14 {
    font-size: 14px;
}

.font-size-13 {
    font-size: 13px;
}
.font-size-12 {
    font-size: 12px;
}

.main-search {
    margin: 0;
    box-sizing: inherit;
    width: 100%;
    border-radius: 9px;
    padding: 14px 12px;
    padding-inline-start: 48px;
    font-size: 18px;
    outline: 2px solid transparent;
    outline-offset: 2px;
    color: #fff;
    background: rgba(69, 59, 69, 0.6) url("/static/img/search-icon.webp") no-repeat left;
    background-size: 20px;
    background-position-x: 17px;
    
}

.main-search::placeholder {
    color: rgb(255, 255, 255);
    opacity: 1; 
}

#main-search-input::placeholder {
    color: rgb(255, 255, 255);
    opacity: 1; 
}

.grid {
    display: grid;
}

.grid-2-bg {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pg-title {
    padding-top: 60px;
    font-size: 30px;
    letter-spacing: -0.86px;
}

.main-search-inner {
    display: flex;
}

.popular-searches {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding-bottom: 80px;
}

.flex-wrap {
    flex-wrap: wrap;
}

.popular-search-title {
    font-size: 14px;
    color: #B7B7B7;
    font-weight: 500;
    width: max-content;
}

.pop-search-tag {
    border: 1px solid #BEEEC4;
    color: #B5B5B5;
    border-radius: 20px;
    background-color: rgb(190, 238, 196, 0.18);;
    padding: 6px 13px;
    font-size: 14px;
    width: max-content;
    cursor: pointer;
}

.dividing-line-g {
    width: 100%;
    height: 7px;
    background-color: #404D42;
}

.break-at-middle {
    overflow-wrap: break-word;
    word-wrap: break-word; /* For older browsers */
}

#categoriesView {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
}

.open-section-wrapper.browse-full {
    height: 82px;
}

.open-section-wrapper.browse-full > div{
    height: inherit;
}

@media only screen and (max-width: 850px) {

    #categoriesView {
        grid-template-columns: 1fr;
    }

    .open-section-wrapper.browse-full > div{
        height: auto;
    }
    
}

#categoriesView.hidden {
   display: none;
}


.group-section-tag {
    background-color: rgb(215, 239, 220, 0.8);
    /*background-color: rgb(246, 246, 246);*/
    border: 1px solid rgb(27, 177, 87, 0.33);
    border-radius: 6px;
    display: grid;
    grid-template-columns: 60px 1fr 25px;
    padding: 16px;
    cursor: pointer;
}

.group-section-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 31px;
}

.group-section-icon {
    width: auto;
    height: 23px;
}

.group-section-subtitle {
    color: #718C74;
}

.gap-4 {
    gap: 4px;
}

.pg-group-section-title {
    font-size: 23px;
    font-weight: 600;
       margin-bottom: 11px;
}

.group-section {
    margin-top: 30px;
    letter-spacing: -0.67px;
}

.group-section-tags {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.freshly-updated-tag {
    color: #5E30E3;
    border: 1px solid #5E30E3;
    width: fit-content;
    background-color: #F2EEFD;
    padding: 2px 5px;
    border-radius: 5px;
}


.search-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 15px;
}

.filter-img {
    width: 21px;
}

.open-search-filters-button {
    display: none;
    margin-top: 10px;
    border-radius: 6px;
}

.not-filter-info {
    margin-bottom: 150px !important;
}

.show-results-button-wrapper {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 8px;
    z-index: 5000;
    position: fixed;
    bottom: 8px;
    left: 0;
    border: 0px solid !important;
}

.results-num-found {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 10px 0px;
    gap: 5px;
    align-items: center;
}

.show-results-button {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 13px;
    font-weight: 500;
    font-size: 16px;
    background-color: #0a4ac2;
    border-radius: 6px;
    color: #fff;
}

.open-search-filters-button > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 5px;
}

.open-search-filters-button > span > span {
    font-size: 17px;
    font-weight: 600;
}

@media only screen and (max-width: 730px) {
    .one-two {
        grid-template-columns: 1fr !important;
    }

}

@media only screen and (max-width: 660px) {
    .double-citation {
        grid-template-columns: minmax(0, 1fr) !important;
    }

}

@media only screen and (max-width: 800px) {
    .citation-modal {
        position: absolute;
        top: 0;
    }

    .modal-bg.active {
        overflow-y: scroll;
    }
}

@media only screen and (max-width: 650px) {
    .results-num-found {
        flex-direction: column;
        align-items: flex-start;
        margin: 0px;
    }

    .taxinomisi-selection {
        width: 100% !important;
    }

}

.footer {
    padding-bottom: 30px;
}

@media only screen and (max-width: 550px) {

    .pg-title {
        padding-top: 40px;
        font-size: 28px;
    }
}

.footer-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.footer-menu > a {
    font-size: 15px;
    font-weight: 500;
    color: #e5e5e5;
}

@media only screen and (min-width: 851px) {
    .show-results-button-wrapper {
        display: none;
    }
}

.suggestion-category {
    font-weight: bold;
    padding: 8px 4px;
    color: #fbfbfb;
    font-size: 12px;
    text-transform: uppercase;
    border-bottom: 1px solid #e0e0e0;
    cursor: default;
    margin-bottom: 5px;
}

@media only screen and (max-width: 850px) {
    .search-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .open-search-filters-button {
        display: block;
        margin-top: 10px;
        border-radius: 6px;
    }

    .search-filters-wrapper {
        position: fixed;
        top: 0;
        background-color: #fff;
        z-index: 3000;
        left: 0;
        padding: 17px;
        overflow: scroll;
        height: 100vh;
        display: none;
    }

    #search-type-select {
        width: 100% !important;
        margin-bottom: 6px;
    }

    .search-type-toggle {
        width: 100%;
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        text-align: center;
        margin: 10px 0px;
    }

    .main-search {
        flex-direction: column;
        background: rgba(69, 59, 69, 0.6) !important;
        padding: 14px 12px !important;
    }

    #main-search-input {
        background: url(/static/img/search-icon.webp) no-repeat left !important;
        background-size: 20px !important;
        background-position-x: 6px !important;
        border-bottom: 1px solid #afafaf;
        background-position-y: 9px !important;
        padding-inline-start: 39px;
        padding-top: 7px;
        padding-bottom: 20px;
    }

    .suggestions-container {
        margin-top: -127px !important;
    }

}



.filter-choices-full {
    border-radius: 6px;
    margin-top: 6px;
    margin-bottom: 10px;
    padding: 8px 8px 8px 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 250px;
    overflow-y: scroll;
    background-color: #fff;
}

.filter-show-more-button {
    padding: 6px 5px;
    border-radius: 5px;
    text-align: left;
    background-color: transparent;
    display: flex;
}

.filter-show-more-button > img {
    width: 21px;
}

.filters-not-found {
    font-size: 15px;
    text-align: center;
}

.indexlex-result {

    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--gray-200,#eaecf0);
    background: var(--base-white,#fff);
    box-shadow: 0 1px 2px 0 rgba(16,24,40,.06), 0 1px 3px 0 rgba(16,24,40,.1);

}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-results-title {
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 17px;
}

.filter-header-title, .filters-section-title {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -.008em;
    font-weight: 600;
}

.filters-section-title {
    padding: 8px 12px;
    color: #999;
}

.filter-header {
    display: grid;
    padding: 8px 12px;
    align-items: center;
    grid-column-gap: 8px;
    column-gap: 8px;
    grid-template-columns: auto 1fr auto auto;
    cursor: pointer;
    border-radius: 6px;
}

.filter-header-num {
    color: #999;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -.008em;
    font-weight: 500;
}

.indexlex-filter-icon {
    transition: transform .2s ease-in-out;
}

.indexlex-filter-icon.opened {
    transform: rotate(180deg);
}

.filter-header-title {
    flex-grow: 1;
}


.selection-checkbox {
    width: 20px;
    height: 20px;
    border: 1px solid #999;
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media only screen and (max-width: 1020px) {
    .grid-2-bg-2 {
      grid-template-columns: 1fr !important;
    }
}

@media only screen and (max-width: 600px) {
    .grid-2-bg {
      grid-template-columns: 1fr;
    }
    
    .nav-items {
        gap: 12px;
    }

    .nav-log-in {
        display: none;
    }

    .burger-menu {
        display: block;
    }
}

.selection-checkbox.selected>.selection-checkbox-inner {
    background-color: #000;
    border-radius: 10px;
    height: 10px;
    width: 10px;
}

.filter-choice-wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-gap: 8px;
    gap: 8px;
    cursor: pointer;
}

.opened-filters {
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    margin-top: 6px;
    padding: 8px 12px;
    height: 200px;
    overflow: scroll;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-choices {
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    margin-top: 6px;
    padding: 8px 12px;
    height: 200px;
    overflow: scroll;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-filters-title {
    margin-top: 10px;
    margin-bottom: 10px;
}

.filter-header.opened {
    background-color: #f0f0f0;
}

.opened-filters {
    display: none;
} 

.opened-filters.opened {
    display: flex !important;
} 

.main-page-content.one-two {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 14px;
    margin-top: 30px;
}

.detail-sidebar-title {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #222934;
}

.detail-sidebar-subtitle {
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #475467;
}

label {
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    color: #344054;
    margin-bottom: 3px;
    display: block;
}

form > div > div > input[type="text"], select, input[type="password"] {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 14px;
    gap: 8px;
    width: 100%;
    height: 44px;
    font-size: 15px;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
    box-sizing: border-box;
}

.form-flex {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.submit-button {
    box-sizing: border-box;
    align-items: center;
    padding: 10px 18px;
    gap: 8px;
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    background: #328b3d;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
    color: #fff;
    margin-top: 13px;
    font-weight: 600;
    font-size: 15px;
}

.open-section-wrapper, .open-section-wrapper-2 {
    cursor: pointer;
}

.open-section-header-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: 10px;
    gap: 10px;
    align-items: center;
    padding: 13px 12px;
    border-radius: 9px;
    border: 1px solid var(--gray-200, #eaecf0);
    background: rgb(247 247 247);
    /*box-shadow: 0 1px 2px 0 rgba(16,24,40,.06), 0 1px 3px 0 rgba(16,24,40,.1);*/
}

.open-section-header-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.collaps-section-title {
    font-weight: 500;
    color: #000;
    font-size: 16px;
}

.open-section-go-to-img {
    width: 29px;
    transform: rotate(-90deg);
}

.follow-button {
    width: 19px;
}

.law-tags-follow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

@media only screen and (max-width: 900px) {
    .law-tags-follow {
        grid-template-columns: 1fr;
    }
}

.bibliography-item-title {
    font-size: 17px;
    font-weight: 600;
    color: #000;
}

.save-icon {
    width: 40px;
    height: auto;
    cursor: pointer;
}

.save-icon-collection {
    width: 40px;
    height: auto;
}

.access-icon {
    width: 26px;
    height: auto;
    padding-top: 4px;
}

#toast-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
  
.toast {
    display: none;
    padding: 15px 20px;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    animation: fade-in-out 4s forwards;
    opacity: 0;
}
  
  .toast.success {
    background-color: #28a745;
  }
  
  .toast.error {
    background-color: #dc3545;
  }
  
  @keyframes fade-in-out {
    0% {
      opacity: 0;
      transform: translateY(-20px);
    }
    10% {
      opacity: 1;
      transform: translateY(0);
    }
    90% {
      opacity: 1;
      transform: translateY(0);
    }
    100% {
      opacity: 0;
      transform: translateY(-20px);
    }
  }

.acc-xc {
    display: flex;
    gap: 5px;
    align-items: center;
}

.citation-icon {
    width: 26px;
    height: auto;
    margin-left: 7px;
    cursor: pointer;
}

.share-icon {
    width: 26px;
    height: auto;
    margin-left: 7px;
    margin-top: 4px;
    cursor: pointer;
}

.clr-000 {
    color: #000;
}

.skeleton-rect.title {
    width: 50%;
}
.skeleton-rect.subtitle {
    width: 70%;
}

.skeleton-rect {
    height: 14px;
    border-radius: 3px;
    width: 80%;
    margin-bottom: 6px;
    background: linear-gradient(90deg,transparent 0,#ddd 50%,transparent);
    background-size: 200% 100%;
    animation: shine-movement 2.5s linear infinite;
}

@keyframes shine-movement {
    0% {
        background-position: 200% 0
    }

    to {
        background-position: -200% 0
    }
}
.overlay {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    background-color: #ffffff;
    transition: transform .25s ease,-webkit-transform .25s ease;
    right: 0;
    left: auto;
    -webkit-transform: translate3d(100%,0,0);
    transform: translate3d(100%,0,0);
    padding: 20px 15px;
    box-sizing: border-box;
}

.overlay-opened {
    -webkit-transform: none;
    transform: none;
}

.menu-overlay {
    background-color: #000;
    z-index: 3000
}

.save-overlay {
    z-index: 140;
    max-width: 450px;
    width: 100%;
}

.modal-background-semi-black {
    background-color: rgb(0 0 0 / 50%);
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.page-title-wrapper-6 {
    display: flex;
    justify-content: start;
    gap: 12px;
    align-items: center;
}

.go-back-icon {
    align-items: center;
    display: flex;
    cursor: pointer;
}

#backButton {
    cursor: pointer;
}

.page-title-diat {
    font-weight: 700;
    font-size: 25px;
    line-height: 38px;
    color: #101828;
}

.page-subtitle-diat {
    font-weight: 400;
    font-size: 14px;
    color: #3e5266;
}

.go-back-icon > img {
    height: 40px;
    width: 40px;
}

.page-title-bottom-border {
    border-bottom: 1px solid#c1c1c1c1;
    padding-bottom: 15px;
}

.indexlex-result-save-overlay {
    margin-top: 14px;
}

.alert-success {
    width: 100%;
    background: #ECFDF3;
    border: 1px solid #ECFDF3;
    border-radius: 8px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #027A48;
    margin: 0px 0px 11px 0px;
    padding: 12px 17px;
}

.alert-error {
    width: 100%;
    background: #fdd3d3;
    border: 1px solid #fdd3d3;
    border-radius: 8px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #c10809;
    margin: 0px 0px 11px 0px;
    padding: 12px 17px;
}

.sub-item-img {
    width: 22px;
}

.citation-modal {
    background-color: #fff;
    padding: 18px 15px;
    width: 100%;
    max-width: 950px;
    border-radius: 10px;
    box-sizing: border-box; 
    max-height: 90vh;
    overflow-y: auto; 
}

.double-citation-title {
    font-size: 16px;
    margin: 9px 0px;
    font-weight: 500;
    text-align: center;
}

.double-citation {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;   
}

.citation-note {
    font-size: 15px;
}

.citation-wrapper > textarea {
    height: 100px;
}

.citation-wrapper > p {
    text-align: center;
    margin-bottom: 4px;
    font-size: 14px;
}

.citation-wrapper > button {
    width: 100%;
    padding: 10px 6px;
    font-weight: 500;
    margin-top: 4px;
    border-radius: 8px;
}

div[contenteditable="true"] {
    padding: 10px 14px;
    gap: 8px;
    width: 100%;
    height: auto;
    font-size: 15px;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
    font-family: Arial, sans-serif;
}

.redirect-to-author-page span {
    display: none; 
    position: absolute; 
    color: #fff; 
    width: 200px;
    background: #000;
    padding: 5px;
    border-radius: 6px;
    text-align: center;
    margin-top: -31px;
    
}
.redirect-to-author-page {
    position: relative;
    color: #42087c;
}

.redirect-to-author-page:hover {
    text-decoration: underline;
}

.indexlex-result-tags-wrapper > a {
    color: #42087c;
}

.indexlex-result-tags-wrapper > a:hover {
    text-decoration: underline;
}

.redirect-to-author-page:hover span {
    display: block; 
    text-align: center;
}

input[type="number"] {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 14px;
    gap: 8px;
    width: 100%;
    height: 44px;
    font-size: 15px;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
    box-sizing: border-box;
}

.year-filter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

div.gen-form > input[type="text"], select {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 14px;
    gap: 8px;
    width: 100%;
    height: 44px;
    font-size: 15px;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
    box-sizing: border-box;
}

.save-bib-notes {
    text-align: center;
}

.create-new-collection {
    background: #c7c7c7;
    text-align: center;
    border-radius: 5px;
    padding: 6px 7px;
    font-size: 15px;
}

.my-collections-title {
    margin-top: 20px;
}

.saved-modal-content-overlay {
    padding: 10px;
}

button {
    cursor: pointer;
}

input[type="button"] {
    cursor: pointer;
}

.collection-item {
    margin-top: 10px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--gray-200, #eaecf0);
    background: var(--base-white, #fff);
    box-shadow: 0 1px 2px 0 rgba(16,24,40,.06), 0 1px 3px 0 rgba(16,24,40,.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.collection-item > p {
    font-weight: 600;
    font-size: 17px;
}

.create-new-collection-form {
    border: 1px solid #c1c1c1;
    padding: 10px;
    margin-top: 10px;
    border-radius: 10px;
}

textarea {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 14px;
    gap: 8px;
    width: 100%;
    height: 120px;
    font-size: 15px;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
    box-sizing: border-box;
    font-family: Averta;
}

.action-button {
    border-radius: 8px;
    font-family: Averta;
    padding: 10px 14px;
    width: max-content;
    cursor: pointer;
    font-weight: 500;
}

.action-button.white {
    color: #000;
    background-color: #f6f6f6;
}

.action-button.red {
    color: #ffffff;
    background-color: #e60404;
}

.hidden {
    display: none;
}


.search-container {
    position: relative;
    padding: 30px 0px;
  }
  
  .suggestions-container {
    margin-top: -20px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #292429;
    border-radius: 9px;
    padding: 10px;
    display: none;
    color: #ffffff;
    z-index: 1;
  }
  
  .suggestion {
    padding: 5px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 17px;
  }
  
  .suggestion:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }

  .no-facet-values-found {
    font-size: 14px;
    text-align: center;
    width: 100%;
  }

  .search-filters-wrapper > div > div {
    border-bottom: 1px solid #c1c1c1;
    margin-bottom: 12px;
  }

  .year-filter {
    padding-bottom: 10px;
    display: none;
  }

  .type-icon {
    width: 40px;
  }

  .divide-container {
    position: relative;
    justify-content: space-between;
    align-items: center;
    height: 24px;
    display: grid;
    grid-template-columns: 1fr 50px 1fr;
  }

  .left-divider, .right-divider {
    flex: 1;
    height: 1px;
    background-color: #9e9e9e;
  }

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

  /* Pagination Container */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    /*padding: 20px;*/
    list-style: none;
}

.pagination button.page-btn, 
.pagination span.current-page {
    margin: 0 5px;
    padding: 5px 10px;
    border: 1px solid #007bff;
    color: #007bff;
    background-color: #fff;
    text-decoration: none;
    cursor: pointer;
}

/* Current Page Indicator */
.pagination span.current-page {
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    cursor: default;
    border-radius: 5px;
}

.pagination button.page-btn {
    transition: background-color 0.3s, color 0.3s;
    border-radius: 5px;
}

.pagination button.page-btn:hover {
    background-color: #007bff;
    color: #fff;
}

/* Button Disabled State - for 'Previous' or 'Next' when not applicable */
.pagination button.page-btn:disabled {
    color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
    background-color: #fff;
}

#main-search-input {
    width: 100%;
    font-size: 18px;
    color: #fff;
    background: transparent;
}

#main-search-input:focus {
    outline: none;
}

.search-button {
    background-color: #ffffff;
    border: transparent;
    border-radius: 6px;
    box-shadow: 0 2px 5px 0 rgba(0,18,71,.2);
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    line-height: 1.4;
    outline: 0;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: all .2s;
    vertical-align: middle;
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 16px;
    color: #000;
}

.suggestion.highlighted {
    background-color: #e0e0e0; /* Light grey, change as needed */
    cursor: pointer;
    color: #000;
}

.subitem {
    border-left: 2px solid #c1c1c1;
    border-bottom: 2px solid #c1c1c1;
    border-radius: 0px 0px 0px 5px;
    height: 12px;
    padding: 4px;
    margin-left: 8px;
}

.no-results-found {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    text-align: center;
    align-items: center;
    margin: 0 auto;
    padding-top: 18px;
}

.no-results-img {
    width: 120px;
}

.no-results-title {
    padding-top: 23px;
    font-size: 30px;
    letter-spacing: -0.86px;
    color: #0d1016;
}

.no-results-subtitle {
    color: #0d1016;
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 17px;
}

.suggest-feature-open {
    cursor: pointer;
    position: fixed;
    background-color: #0a4ac2;
    padding: 5px 15px;
    color: #ffffff;
    display: flex;
    text-decoration: none;
    align-items: center;
    max-height: 30px;
    z-index: 2632;
    bottom: 0;
    right: 0;
    border-top-left-radius: 3px;
}

.suggest-feature-modal {
    background-color: #fff;
    padding: 18px 15px;
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
}

.modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    width: 400px;
    height: auto;
    background: #FFFFFF;
    box-shadow: 0px 20px 24px -4px rgba(16, 24, 40, 0.08), 0px 8px 8px -4px rgba(16, 24, 40, 0.03);
    border-radius: 12px;
  }

.modal-bg {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 600;
    opacity: 0;
    visibility: hidden;
    background-color: rgba(0,0,0,.7);
    transition: opacity .25s ease,visibility 0s ease .25s;
  }
  
  .modal-bg.active {
    opacity: 1;
    visibility: visible;
    transition: opacity .25s ease,visibility 0s ease;
  }

.modal-title {
    font-size: 23px;
    font-weight: 700;
    margin-top: 0px;
    letter-spacing: -0.46px;
}

.modal-subtitle {
    font-size: 16px;
    font-weight: 500;
    margin-top: 5px;
    color: #515760;
    letter-spacing: -0.46px;
    margin-bottom: 14px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.modal-header > .close {
    width: 12px;
    height: 12px;
    margin-top: -2px;
    margin-bottom: -2px;
    cursor: pointer;
}

.modal > .container {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .modal-buttons {
    display: grid;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    grid-template-columns: 1fr 1fr;
    margin-top: 26px;
  }
  
  .modal-buttons-2 {
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 26px;
  }
  
  .modal-buttons-2 > div, .modal-buttons-2 > a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 40px;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
  }
  
  .modal-buttons-2 > div.blue, .modal-buttons-2 > a.blue {
    background-color: #2A44FF;
    color: #fff;
  }
  
  .modal-buttons-2 > div.black, .modal-buttons-2 > a.black {
    background-color: #000000;
    color: #fff;
  }
  
  .modal-buttons > div, .modal-buttons > a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 44px;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
  }
  
  .modal-buttons > .cancel {
    background: #FFFFFF;
    border: 1px solid #D0D5DD;  
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #344054;
  }
  
  .modal-buttons > .confirm {
    background: #7F56D9;
    border: 1px solid #7F56D9;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
  }
  
  .modal-buttons > .delete {
    background: #D92D20;
    border: 1px solid #D92D20;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
  }

.submit-features-suggestions {
    padding: 10px;
    background-color: #ccc;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: 500;
    font-size: 14px;
    width: 100%;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-left: 5px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.indexlex-result > div > h4 {
    font-size: 17px;
    font-weight: 600;
}

#active-filters {
    margin: 4px 0px 10px 0px;
    display: flex;
    gap: 7px;
    align-items: center;
    flex-wrap: wrap;
}

#active-filters > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 10px;
    gap: 8px;
    height: 39px;
    font-size: 15px;
    background: #f3fef7;
    border: 1px solid #D0D5DD;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.remove-active-filter {
    height: 14px;
    width: 14px;
}

.selection-checkbox.square {
    border-radius: 5px !important;
}

.selection-checkbox.selected.square>.selection-checkbox-inner {
    border-radius: 3px !important;
}

.search-input-filter {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 7px 9px;
    gap: 8px;
    width: 100%;
    height: 40px;
    font-size: 15px !important;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
    box-sizing: border-box;
    color: #000 !important;
    margin-bottom: 8px;
}

.info-box {
    padding: 10px 10px;
    background-color: #e0e0e0;
    border-radius: 0px;
}

#search-type-select {
    font-weight: 500;
    font-size: 16px;
    color: #e0e0e0;
    width: max-content;
    border: 0px;
    background-color: #292429;
    margin-right: 9px;
    padding: 10px 29px 10px 7px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: url(/static/img/down-1.png) no-repeat right #292429;
    background-size: 25px; /* Set the background image width */
}

.search-type-selected-img {
    width: 25px;
}

.author-card {
    display: grid;
    grid-template-columns: 60px 1fr 20px;
    grid-gap: 10px;
    gap: 10px;
    align-items: center;
    padding: 13px 12px;
    border-radius: 9px;
    border: 1px solid var(--gray-200, #eaecf0);
    background: var(--base-white, #fff);
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, .06), 0 1px 3px 0 rgba(16, 24, 40, .1);
}

.author-img-card {
    width: 60px;
}

.author-cards {
    margin-top: 10px;
    display: flex;
    gap: 5px;
    flex-direction: column;
}

.pagination-wrapper {
    width: 100%;
    padding: 10px 17px;
    box-sizing: border-box;
}

.step-links {
    display: grid;
    grid-template-columns: auto 1fr auto;
    width: 100%;
}

.all-pages {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.generic-button-2 {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 9px 10px 16px;
    gap: 8px;
    width: fit-content;
    height: 40px;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
}

.generic-button-3 {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 9px 10px 16px;
    gap: 8px;
    width: fit-content;
    height: 40px;
    background: #FFFFFF;
    border: 1px solid #D0D5DD;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
}

.generic-button-2 > img {
    width: 16px;
}
.generic-button-3 > img {
    width: 16px;
}

.section-title {
    font-size: 30px;
    margin: 0;
}

#features-sec-1 {
    margin-top: 70px;
}

.feature-title {
    color: #2E4534;
    font-size: 18px;
    font-weight: 600;
}

.feature-subtitle {
    color: #5E5E5F;
    font-size: 15px;
}


.feature-learn-more {
    color: #009D16;
    font-size: 15px;
    font-weight: 500;
    margin-top: 4px;
}

.feature-type-one {
    display: grid;
    padding: 13px 10px;
    grid-template-columns: 50px 1fr;
    gap: 10px;
    border-left: 5px solid #DFDFDF;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;

}

.feature-type-one.active {
    background-color: #F4F9F3;
    border-left: 5px solid #009C1F;
}

.feature-icon {
    width: 50px;
}

.features-section-type-one {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 8px;
}

.ftr-desc {
    gap: 0px;
}

.feature-img {
    width: 400px;
    transition: width 0.3s ease, height 0.3s ease;
    max-width: 100%;
}

@media only screen and (max-width: 900px) {
    .features-section-type-one {
        grid-template-columns: 1fr !important;
    }

    .ftr-img {
        margin-top: 40px;
    }
}

#db-sec {
    margin-top: 100px;
}

.db-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 8px;
}

@media only screen and (max-width: 600px) {
    .db-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.db-grid-item {
    background-color: #F4F9F3;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 10px 32px 10px;
    border-radius: 6px;
}

.db-grid-item-title {
    font-size: 37px;
    font-family: 'Dela Gothic One';
    font-weight: 400;
}

.db-grid-item-subtitle {
    text-align: center;
}

.db-type-icon-wr {
    border-radius: 50%;
    display: flex;
    margin-bottom: 12px;
    align-items: center;
    justify-content: center;
    display: none;
}

.db-type-icon {
    width: 55px;
}

.beta-symbol {
    background-color: rgba(190, 238, 196, .18);
    color: #BEEEC4;
    padding: 3px 4px;
    font-size: 10px;
    height: max-content;
    border-radius: 4px;
    margin-left: 7px;
}

.faq-landing {
    display: grid;
    grid-template-columns: 300px 1fr;
    margin-top: 120px;
    gap: 10px;
}

.faq-landing-desc {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.accordion-wrapper {
    border-radius: 5px;
    overflow: hidden;
    background-color: #f7f7f7;
}

.accordion-header-wrapper {
    padding: 12px 16px;
    border-radius: 0px;
    gap: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.accordion-right-button {
    width: 30px;
    height: 30px;
    transition: all .2s ease-in-out;
    max-width: 100%;
    height: auto;
}

.accordion-open .accordion-right-button {
    transform: rotate(180deg);
}

.accordion-content {
    display: block;
    height: 0px;
    padding: 0px 10px;
    overflow: hidden;
    transition: all .2s ease-in-out;
    width: 100%;
}

.accordion-open > .accordion-content {
    height: auto;
    transition: all .2s ease-in-out;
}

.faq-landing-qa {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.accordion-header-title > p {
    font-size: 17px;
    color: #2E4534;
    font-weight: 600;
}

.qa-divider {
    width: 100%;
    box-sizing: border-box;
    height: 1px;
    background-color: #c1c1c1;
}

.accordion-content > p {
    margin: 12px 8px 20px 8px;
    color: #434343;
    font-size: 16px;
}

@media only screen and (max-width: 820px) {
    .faq-contact {
        display: none;
    }

    .faq-landing {
        grid-template-columns: 1fr;
        margin-top: 60px;
    }
}

.child-cat-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    margin: 13px 0px;
}

.child-cat-line {
    width: 100%;
    background-color: #F4F9F3;
    height: 1px;
}

.chart-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
.custom-bar-chart {
    display: flex;
    align-items: flex-end;
    height: 130px;
    border-bottom: 1px solid #F4F9F3;
    position: relative;
}
.custom-bar {
    flex: 1;
    margin: 0 0.3px;
    position: relative;
}

.custom-bar.selected {
    background-color: #009C1F;
}
.custom-bar.unselected {
    background-color: #d0e8cc;
}

.tooltip {
    position: relative;
    display: inline-block;
  }
  
  .tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -170px;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
  }

.range-selector {
    position: relative;
    width: 100%;
    height: 50px;
    margin: -25px 0px 0px 0px;
}
.range-bar {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #ccc;
    transform: translateY(-50%);
}
.range-handle {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 1px solid #009C1F;
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(-50%);
    margin-left: -10px;
}
.chart-controls {
    display: grid;
    margin-bottom: 20px;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.search-type-toggle {
    display: flex;
    align-items: center;
    margin-right: 8px;
    font-size: 16px;
    color: #fff;
    background: rgba(69, 59, 69, 0.6);
    border-radius: 5px;
}

.search-type-label {
    margin: 0;
    padding: 10px 13px;
    border-radius: 5px;
    cursor: pointer;
    background: transparent;
    transition: background 0.3s;
    color: #fff;
}

.search-type-label.selected {
    background: rgba(255, 255, 255, 0.2);
}

.delete-bib-from-saved {
    color: #ffffff;
    background-color: #e21010;
    margin-bottom: 10px;
}

.dialog-modal {
    background-color: #fff;
    padding: 18px 15px;
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
}

.modal-header > .icon {
    width: 56px;
}

.modal-info {
    margin-top: 10px;
}

.modal-buttons {
    margin-top: 13px;
}

.two-modal-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 12px;
}

.two-modal-buttons > .cancel {
    background: #eaeaea;
    color: #000;
}

.two-modal-buttons > .dialog-modal-proceed {
    background: #000000;
    color: #ffffff;
}

.modal-info > .subtitle {
    margin-top: 5px;
}

.my-saved-bib-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dp-f-head {
    display:flex; 
    align-items:center;
    justify-content: space-between;
    cursor: pointer;
    padding: 0px 0px 8px 0px;
}

.dp-filter > .filter-choices-full {
    display: none;
}

.dp-filter > .chart-container {
    display: none;
}

.dp-filter.opened > .filter-choices-full {
    display: flex;
}

.dp-filter.opened > .chart-container {
    display: block;
}

.dp-f-img {
    width: 30px;
}
