@font-face {
  font-family: 'clabmedium';
  src: url('../fonts/Clab-Medium.eot?#iefix') format('embedded-opentype'),  url('../fonts/Clab-Medium.otf')  format('opentype'),
         url('../fonts/Clab-Medium.woff') format('woff'), url('../fonts/Clab-Medium.ttf')  format('truetype'), url('../fonts/Clab-Medium.svg#Clab-Medium') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
    font-family: 'clabregular';
    src: url('../fonts/Clab-Regular.eot?#iefix') format('embedded-opentype'),  url('../fonts/Clab-Regular.otf')  format('opentype'),
         url('../fonts/Clab-Regular.woff') format('woff'), url('../fonts/Clab-Regular.ttf')  format('truetype'), url('../fonts/Clab-Regular.svg#Clab-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

.navigation {
    background-color: #4b3481;
}
.navigation__link {
    color: #ffc747;
    font-size: 1em;
    font-weight: 400;
    margin-top: 0.25em;
    margin-right: 1.5em;
}
.navigation__separator {
    background-color: rgba(255,255,255,0.25);
}
.search {
    background-color: #FFFFFF;
}
.search__label-text {
    color: #4b3481;
}
.search__input input {
    border-radius: 0.25em;
    border-color: #4b3481;
}
.search__input input:focus {
    border-color: #ffc747 !important;
    box-shadow: 0 3px 6px rgba(255,199,71,0.2)
}
.navigation__social {
    margin-left: 1em;
    margin-top: 0.125em;
}
.search__label-checkbox:not(:checked)~.search__label-inner svg path {
    fill: #4b3481;
}
.no-results {
    background-color: #ffc747;
    color: #4b3481;
}
.no-results__no {
    font-size: 0.75em;
    opacity: 0.75;
}
.no-results__add {
    margin-bottom: 0.25em;
}
.no-results__add-link {
    font-size: 0.875em;
    text-decoration: underline
}
.no-results__sad {
    width: 160px;
    margin-bottom: 1em
}
.markdown-preview h1 {
    font-size: 1.5em;
}
.markdown-preview {
    text-align: center;
    font-size: 1.5em;
    line-height: 1.75;
    color: #4b3481;
}
.markdown-preview a {
    color: #4b3481;
}
.book-popup {
    position: fixed;
    right: 2em;
    top: calc(50% + 3em);
    transform: translateY(-50%);
    max-width: 24rem;
    z-index: 200;
}
.book-popup--closed {
    display: none
}
.book-popup img {
    vertical-align: bottom;
    box-shadow: 0 3px 6px rgba(0,0,0,0.4);
    max-height: 70vh;
}
.book-popup a {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.book-popup__close {
    position: absolute;
    top: 1em;
    right: 1em;
    background-color: #4b3481;
    transition: opacity 200ms;
    display: inline-block;
    width: 2.5em;
    height: 2.5em;
    border-radius: 1.25em;
    text-align: center;
    padding: 0.75em 0.5em;
    z-index: 2
}
.no-touch .book-popup__close:hover {
    opacity: 0.7
}
@media screen and (max-width: 64em) {
    .navigation__links-outer {
        background-color: #3E2774;
    }
    .book-popup {
        top: auto;
        bottom: 1.5em;
        right: 1.5em;
        max-width: 20em;
        transform: none
    }
    .book-popup__close {
        top: -1.25em;
        right: -1.25em;
    }
}
@media screen and (max-width: 30em) {
    .book-popup {
        max-width: 12em;
    }
}
.tri {
    text-align: center
}
.tri img {
    width: 4em
}
.joint__address {
    font-size: 0.875em
}