/** ----- GENERAL ----- */
body {
    color: #273142;
    background-color: rgb(242, 246, 250);
    margin: auto;
    font-family: Raleway, sans-serif;
    height: 100vh;
    overflow: hidden;
}

/** ----- COLOR ----- */
:root {
    --primary-color: #2ecc71;
}
.bg-light {
    background-color: #fbfbfb;
    color: #273142;
    --background-color: #fbfbfb;
    --color: #273142;
}
.gradient-light {
    background: linear-gradient(to right top, rgb(237,241,245), #fafafa)
}

/** ----- NAVBAR ----- */
.navbar-container {
    border-bottom: 1px solid #e3e3e3;
    position: fixed;
    width: 100vw;
    z-index: 1000;
}
.navbar {
    font-family: "Open Sans", sans-serif;
}
.navbar a:hover, .navbar a.active {
    border-bottom: 2px solid var(--primary-color);
    opacity: 1;
}

.mobile-navbar {
    font-size: 1.25em;
    font-weight: 600;
    list-style: none;
    margin-bottom: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 150ms ease-out;
    width: 100vh;
    z-index: 1000;
}
.mobile-navbar.visible {
    max-height: 100vh;
    transition: max-height 300ms ease-out;
}
.mobile-navbar li {
    width: 100%;
    height: 40px;
    line-height: 40px;
    margin-bottom: 0;
}
.mobile-navbar li {

}
.mobile-navbar li a.active, .mobile-navbar li a:hover {
    color: var(--primary-color-text);
    background-color: var(--primary-color);
}
.mobile-navbar li a {
    color: var(--color-navy);
    display: inline-block;
    padding: 0 30px;
    text-decoration: none;
    font-family: "Open Sans", sans-serif;
    text-transform: uppercase;
    width: 100%;
    height: 100%;
}

/** ----- NAVHEADER ----- */
.navheader {
    background-color: white;
    border-radius: 3px;
    padding: var(--padding);
    position: relative;
    --header-color: var(--primary-color);
    --padding: 10px;

}
.navheader h1 {
    border-bottom: 2px solid var(--header-color);
    font-family: Oswald, sans-serif;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    font-size: 2.25em;
    margin: 0;
}
.navheader a.back {
    color: var(--primary-color);
    font-size: 1.25em;
    height: calc(100% - 2 * var(--padding));
    left: var(--padding);
    line-height: 2;
    position: absolute;
    text-decoration: none;
    top: var(--padding);
    transition: opacity 300ms;
}
.navheader a.back:hover {
    opacity: 0.8;
    transition: opacity 300ms;
}
.navheader .tools {
    display: inline-block;
    height: calc(100% - 2 * var(--padding));
    line-height: 2;
    position: absolute;
    right: var(--padding);
    text-align: right;
    top: var(--padding);
}
.navheader .tools > a {
    color: var(--primary-color);
    font-size: 1.25em;
    text-decoration: none;
    transition: opacity 300ms;
}
.navheader .tools > a:hover {
    opacity: 0.8;
    transition: opacity 300ms;
}
/* Phones */
@media (max-width: 544px) {
    .navheader h1 {
        font-size: 1.75em;
    }
    .navheader a.back, .navheader .tools {
        line-height: 30px;
    }
    .navheader a.back span, .navheader .tools span {
        display: none;
    }
}
/* Small Phones */
@media (max-width: 350px) {
    .navheader h1 {
        font-size: 1.5em;
    }
    .navheader a.back {
        line-height: 28px;
    }
}

/** ----- CONTENT ----- */
.content-wrapper {
    height: calc(100vh - 50px);
    overflow-y: scroll;
    position: fixed;
    top: 50px;
    width: 100vw;
}
.content {
    margin: auto;
    max-width: 1000px;
    padding: 10px;
}
.content nav, .content section {
    margin-bottom: 0.75em;
}
.content section {
    background-color: var(--color-white);
    color: var(--color-white-text);
    padding: 10px;
}

/** ----- FORM ----- */
input,
textarea,
select {
    font-family: "Open Sans", sans-serif;
}
label > b {
    color: var(--color-red);
}

/** ----- GRID ITEM ----- */
.grid.items > a.item {
    text-decoration: none;
    border-radius: 5px;
}
.grid.items > a.item * {
    font-family: Oswald, "sans-serif";
    text-transform: uppercase;
}

/** ----- HEADER ----- */
.header {
    font-family: Oswald, "sans-serif";
}


/** ----- LETTER GLOSSARY ----- */
.letter-glossary {
    text-align: center;
}
.letter-glossary a {
    color: initial;
    display: inline-block;
    font-weight: bold;
    margin: 0 3px;
    text-decoration: none;
}
.letter-glossary a:hover {
    text-decoration: underline;
}

/** ----- MARKDOWN ----- */
.markdown > p {
    margin: 5px auto;
}

/** ----- FIX PLYR_CONTROLS ----- */
.plyr__controls__item.plyr__control {
    margin-bottom: 0;
}

/** ----- ITEMS ----- */
ul.items {
    list-style: none;
}
ul.items > li {
    border-radius: 7px;
    text-align: center;
}
ul.items > li h1,
ul.items > li h2,
ul.items > li h3,
ul.items > li h4,
ul.items > li h5,
ul.items > li h6 {
    font-family: Oswald, "sans-serif";
    text-transform: uppercase;
}

ul.items > li *:first-child {
    margin-top: 0;
}
ul.items > li *:last-child {
    margin-bottom: 0;
}

/** ----- TABLE ----- */
table.classic-table a {
    text-decoration: none;
    display: inline-block;
    height: 100%;
    width: 100%;
}
table.classic-table a:hover {
    text-decoration: underline;
}
table.classic-table tr.header-row, table.classic-table tr.header-row:hover {
    background-color: #ebebeb;
}
/** ----- BUTTON GROUP ----- */
.buttons-group {
    display: flex;
    flex-wrap: wrap;
    padding: 5px 5px;
}
.buttons-group > .button {
    flex: auto;
    margin: 2.5px !important;
}

/** ----- ID ----- */
table#chant-details h1 {
    font-family: Raleway, sans-serif;
    font-size: 2.5em;
    margin-bottom: 5px;
    text-align: center;
    text-transform: uppercase;
}
table#chant-details h2 {
    font-family: Raleway, sans-serif;
    font-size: 1.3em;
    text-align: center;
    text-transform: uppercase;
}