:root {
    --prime: #363C33;
    --prime-light-1: #3D443A;
    /* ~+3% lightness */
    --prime-light-2: #424A3F;
    /* ~+5% lightness */
    --prime-light-3: #474F43;
    /* ~+7% lightness */
    --prime-light-4: #4F584A;
    /* ~+10% lightness */
    --alt_new: #74806D;
    --lime: #9ecc8b;
    --lime_light: #d0f0c1;

    --black_aa: #101010;
    --black_alt: #1a1a1a;
    --black_text: #121212;

    --white: #ffffff;
    --grey_light: #e5e5e5;

    --vertical_rythm: 7px;
    --container: 1728px;
    --container_padding: 20px;

    --header_font: 'TT Commons Pro', sans-serif;
    --body_font: 'TT Commons Pro', sans-serif;

    --h1_font_size: 35px;
    --h1_line_height: 42px;

    --h2_font_size: 42px;
    --h2_line_height: 49px;

    --h3_font_size: 24px;
    --h3_line_height: 28px;

    --h4_font_size: 20px;
    --h4_line_height: 28px;

    --h5_font_size: 18px;
    --h5_line_height: 21px;

    --h6_font_size: 16px;
    --h6_line_height: 21px;

    --p_font_size: 18px;
    --p_line_height: 28px;

    --button_font_size: 18px;
    --button_line_height: 18px;

    --button_sm_font_size: 12px;
    --button_sm_line_height: 22px;

    --psmall_font_size: 16px;
    --psmall_line_height: 21px;

    --ptiny_font_size: 14px;
    --ptiny_line_height: 21px;

    --border_color: #222222;
    --otslr_alt_dark: #003330;
}

.otslr-glossary-search  {
        background-color: var(--otslr_top_bar);
            height: 126px;
            align-items: center;
}

.otslr-glossary-search > div {
        background-color: var(--otslr_top_bar);
        height: 126px;
        align-items: center;
        display: flex;
        width: var(--container);
        padding: 0 var(--container_padding);
        margin: auto;
}

 .otslr-main-search__inner {
     position: relative;
 }

 .otslr-glossary-search .otslr-main-search__inner input[type=search] {
    height: 56px;
    display: flex;
    align-items: center;
    border: none;
    outline: none;
    width: 428px;
    padding-left: 20px;
    background: white;
    color: var(--alt_new);
    border: 1px solid var(--alt_new);
    border-radius: 7px;
 }

.otslr-glossary-search .otslr-main-search__inner input[type=search],
.otslr-glossary-search .otslr-main-search__inner input[type=search]:placeholder {
     font-size: 21px;
     line-height: 21px;
     color: var(--grey_light);
 }

.otslr-glossary-search .otslr-main-search__inner button.otslr-button--search {
     position: absolute;
     height: 56px;
     align-items: center;
     top: 0;
     right: 0;
     outline: none;
     background: var(--white);
     width: 70px;
     background: rgba(255, 255, 255, .13);
 }

h2.entry-header {
    margin-bottom: var(--p_line_height);
}

/* Fixed Header */
header.letters.otslr-fixed {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    transition: .3s all ease;
    padding-left: calc(var(--container_padding) + 10px);
    padding-right: calc(var(--container_padding) + 10px);
}

@media (min-width: 768px) {
    body.admin-bar header.letters.otslr-fixed {
        margin-top: var(--p_line_height);
    }
}

/* Vertical rhythm helpers */
.vr-1 {
    padding-top: var(--vertical_rythm);
    padding-bottom: var(--vertical_rythm);
}

/* Typography overrides */
.h4-alt {
    font-size: var(--p_font_size);
    line-height: var(--p_line_height);
    color: var(--alt_new);
    margin-bottom: var(--vertical_rythm);
    text-transform: uppercase;
    letter-spacing: .05px;
}

/* Header background */
.otslr-bg-brand-grey {
    background-color: var(--prime);
    box-shadow: rgba(0, 0, 0, .1) 0 0 32px;
}

/* Header structure */
header.letters {
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid var(--grey_light);
    margin-bottom: calc(var(--vertical_rythm) * 8);
    height: 80px;
}

header.letters .otslr-container {
    display: flex;
    justify-content: space-between;
}

/* Alphabet nav */
header.letters ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 600px;
}

header.letters ul li {
    margin: 0;
    padding: 0;
    list-style: none;
}

header.letters ul li a {
    text-decoration: none;
    color: var(--alt_new) !important;
    font-size: var(--h3_font_size);
    line-height: var(--h3_line_height);
    display: block;
    padding: 10px;
    font-weight: bold;
    font-family: 'Aeonik';
    cursor: cursor;
}

.header.letters ul li a.top {
    color: var(--alt_new) !important;;
}

header.letters ul li a.otslr-has-terms {
    color: var(--lime) !important;
    cursor: pointer;
}

header.letters ul li a:hover {
    color: #ccc;
}
header.letters ul li a.otslr-has-terms:hover {
    color: var(--lime_light) !important;;
}

/* Alphabet responsive */
@media (max-width: 1310px) {
    header.letters ul {
        max-width: none;
    }

    header.letters ul li a {
        font-size: var(--psmall_font_size);
        padding: 5px;
    }
}

@media (max-width: 767px) {
    header.letters ul li a {
        font-size: var(--psmall_font_size);
        padding: 10px;
    }
}

@media (max-width: 1100px) {
    header.letters ul {
        justify-content: space-between;
        overflow-x: scroll;
        padding: 10px;
        overflow-y: auto;
        height: 100%;
    }

    header.letters ul::-webkit-scrollbar {
        width: 8px;
    }

    header.letters ul::-webkit-scrollbar-track {
        background-color: transparent;
    }

    header.letters ul::-webkit-scrollbar-thumb {
        background-color: var(--prime);
        border-radius: 4px;
        border: 2px solid transparent;
        background-clip: padding-box;
    }

    header.letters ul {
        scrollbar-width: thin;
        scrollbar-color: var(--prime) transparent;
    }
}

/* Hamburger Menu */
header.letters nav {
    position: relative;
    width: 120px;
    display: flex;
    justify-content: center;
}

.hamburger-wrapper {
    position: absolute;
    height: 120px;
    width: 120px;
    background: var(--prime);
    display: flex;
    align-items: center;
    justify-content: center;
    top: -40px;
}

.ham-mobile {
    display: none;
}

.alphabet {
    font-family: 'Aeonik';
    font-weight: bold;
}

.otslr-term-title {
    font-family: 'Aeonik';
    font-weight: bold;
    font-size: var(--h3_font_size);
    line-height: var(--h3_line_height);
}

.otslr-term-group {
    margin-bottom: var(--psmall_line_height);
}

.otslr-term-content {
    font-family: var(--body_font);
    font-size: var(--p_font_size);
    line-height: var(--p_line_height);
    font-weight: 400;
}

.destkop-alphabet,
.mobile-alphabet {
    overflow-y: hidden !important;
    display: flex !important;
    height: 40px;
    align-items: center;
}

.destkop-alphabet.first {
    padding-right: 15px;
}

.destkop-alphabet.last {
    padding-left: 15px;
}

.mobile-alphabet {
    display: none !important;
    max-width: 100% !important;
}

/* Mobile breakpoint */
@media (max-width: 767px) {
    .hamburger-wrapper {
        width: 80px;
    }

    .destkop-alphabet {
        display: none !important;
    }

    .mobile-alphabet {
        display: flex !important;
    }

    .ham-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .ham-desktop {
        display: none !important;
    }

    .hamburger-wrapper {
        position: fixed;
        bottom: 0;
        top: auto;
        z-index: 999;
    }

    .hamburger {
        width: 50px !important;
    }
}

/* Hamburger styling */
.hamburger-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--prime);
    z-index: 9;
}

.hamburger-bg {
    background: var(--prime);
    z-index: 9;
    position: absolute;
    height: 30px;
    width: 100%;
    bottom: 0;
}

.indexes-wrapper {
    position: absolute;
    background: var(--prime-light-4);
    top: calc(100% - var(--psmall_line_height));
    width: 600px;
    left: -240px;
    padding-top: 30px;
    padding-bottom: 30px;
    opacity: 0;
    transition: .3s all ease;
}

.indexes-wrapper.active {
    opacity: 1;
}

header.letters .indexes-wrapper ul {
    max-width: 500px !important;
    margin: auto !important;
    display: flex;
    flex-wrap: wrap;
}

header.letters .indexes-wrapper ul li {
    width: 100%;
}

header.letters .indexes-wrapper ul li:not(:last-child) {
    margin-bottom: 28px;
}

header.letters .indexes-wrapper ul li a {
        color: white !important;
        background-color: var(--alt_new);
        text-transform: uppercase;
        font-size: 35px;
        line-height: 35px;
        font-weight: 400;
        border-radius: 7px;
        position: relative;
        height: 105px;
            display: flex;
            align-items: center;
            justify-content: center;
}

header.letters .indexes-wrapper ul li a img {
       position:absolute;
       right: 20px;
}

/* Indexes bottom panel */
.indexes-wrapper-bottom {
    position: fixed;
    background: var(--prime-light-4);
    top: -100%;
    width: 100%;
    padding: 30px 0;
    opacity: 0;
    transition: .3s all ease;
    height: 100%;
    z-index: 9;
}

.indexes-wrapper-bottom.active {
    top: 0;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}



.indexes-wrapper-bottom h3,
.indexes-wrapper h3 {
    text-align: center;
    text-transform: uppercase;
    font-size: var(--h6_font_size);
    margin: 10px 0 0;
}

/* Hamburger lines */
.hamburger {
    cursor: pointer;
    --width: 3vw;
    --color: var(--white);
    width: var(--width);
}

.hamburger:after,
.hamburger:before,
.hamburger div {
    background-color: var(--color);
    border-radius: 3px;
    content: "";
    display: block;
    height: 0.2rem;
    margin: 7px 0;
    transition: all 0.2s ease-in-out;
}

.hamburger.active:before {
    transform: translateY(11px) rotate(135deg);
}

.hamburger.active:after {
    transform: translateY(-10px) rotate(-135deg);
}

.hamburger.active div {
    transform: scale(0);
}

/* Studies */
.single-otslr_study {
    margin-bottom: var(--vertical_rythm);
}

.single-otslr_study--breadcrumbs {
    margin-bottom: 20px;
    font-size: var(--ptiny_font_size);
}

.single-otslr_study--breadcrumbs .fa.fa-caret-right {
    color: var(--grey_light);
}

.study {
    box-shadow: rgba(0, 0, 0, .1) 0 0 5px;
    margin: 20px 0;
    padding: 20px;
}

.study h4 {
    text-transform: capitalize;
}

.single-otslr-study--page-title {
    padding: 60px 20px 20px;
}

.single-otslr-study--article {
    padding-bottom: calc(var(--vertical_rythm) * 8);
}

/* Containers */
.otslr-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container_padding);
    width: 100%;
}

.single-study-container {
    max-width: 1200px;
    margin: auto;
    width: 100%;
}

/* Glossary hero */
.glossary-hero {
    padding: 40px;
    background-color: var(--otslr_top_bar);
    align-items: center;
    display: flex;
    justify-content: center;
}

.glossary-tag {
    background: var(--grey_light);
    padding: var(--vertical_rythm);
    border-radius: 4px;
    font-size: var(--ptiny_font_size);
    line-height: var(--ptiny_line_height);
}

/* Glossary Content */
.glossary-hero-content {
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}

.glossary-hero-intro {
    padding-right: 20px;
    width: 70%;
}

.glossary-hero-sidebar {
    width: 30%;
}

.glossary-hero-sidebar ul {
    padding-left: 20px;
    border-left: 1px solid var(--grey_light);
}

.glossary-hero-sidebar ul li {
    list-style: none;
    margin-bottom: calc(var(--vertical_rythm) * 1.5);
    font-size: var(--p_font_size);
    line-height: var(--psmall_line_height);
}

/* Glossary list */
section.letter-section>div {
    padding: 40px;
}

.letter-section .letter-list li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.letter-title {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: var(--vertical_rythm);
}

.letter-title span a {
    font-size: var(--psmall_font_size);
    line-height: var(--psmall_line_height);
    margin-left: 10px;
    color: var(--alt_new);
}

.letter-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--h4_line_height);
}

@media (max-width: 768px) {
    .letter-list {
        grid-template-columns: 1fr;
    }
}

/* Page header */
.single-otslr-study--page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background-color: var(--prime);
    color: var(--white);
}

.single-otslr-study--page-header h1 {
    margin-bottom: 0;
    color: var(--white);
}

.single-otslr-study--article {
    padding: 20px;
    background-color: var(--white);
    max-width: 1200px;
    width: 100%;
}

/* Gate overlay & CTA */
.gate-overlay {
    position: absolute;
    top: 92px;
    height: 100%;
    width: 100%;
    pointer-events: none;
    background: linear-gradient(transparent, var(--black_aa));
}

.gate--cta {
    position: fixed;
    bottom: 0;
    height: 50%;
    display: flex;
    justify-content: center;
    width: 100%;
    background: var(--white);
    border-top: 4px solid var(--prime);
    padding: 49px 0;
    text-align: center;
    transition: .3s all ease;
    z-index: 99;
}

.otslr--gate-cta {
    display: block;
    background-color: var(--prime);
    padding: var(--h4_line_height) 10px;
    z-index: 999;
}

a.button-primary,
button.button-primary {
    width: 150px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--prime);
    color: var(--white);
    text-decoration: none;
    border-radius: 7px;
}