﻿@font-face {
    font-family: mrseaves;
    src: url('/fonts/MrsEavesSmallCaps.woff');
}

@font-face {
    font-family: bayside;
    src: url('/fonts/BaysideTavernPlain-Regular.woff');
}

@font-face {
    font-family: hussarbold;
    src: url('/fonts/HussarBold.woff');
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: Arial, Helvetica, sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: hussarbold !important;
}

table {
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    margin-bottom: 1em;
}

tr:first-child {
    border-bottom: 1px solid black;
}

th, td {
    padding: 0.25em;
}

th {
    text-align: center;
    font-weight: bold;
    font-family: mrseaves !important;
}

td {
    text-align: center;
    font-weight: normal;
    font-family: bayside !important;
}

a {
    color: inherit;
    text-decoration: inherit;
}

    a:hover {
        color: inherit;
        cursor: pointer;
    }

.border-dark {
    border-color: #6c757d !important;
}

.menu-item {
    color: rgba(153, 122, 79, 0.33);
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
}

.menu-item:last-child {
    border-right: none;
}

    .menu-item:hover {
        cursor: pointer;
        color: rgba(153, 122, 79, 0.66);
        background-color: rgba(212, 168, 109, 0.1);
        -webkit-transition: background 0.25s; /* For Safari */
        transition: background 0.25s; /* For modern browsers */
    }

    .menu-item.selected {
        color: rgba(153, 122, 79, 1);
        background-color: rgba(245, 196, 130, 0.1);
    }

.btn-primary {
    background: rgba(153, 122, 79, 0.7);
    border-color: rgba(153, 122, 79, 0.9);
}

    .btn-primary:hover {
        background: rgba(153, 122, 79, 0.8);
        border-color: rgba(153, 122, 79, 1);
    }

.btn-secondary {
    background: rgba(212, 168, 109, 0.7);
    border-color: rgba(212, 168, 109, 0.9);
}

    .btn-secondary:hover {
        background: rgba(212, 168, 109, 0.8);
        border-color: rgba(212, 168, 109, 1);
    }

.btn-tertiary {
    background: rgba(245, 196, 130, 0.7);
    border-color: rgba(245, 196, 130, 0.9);
}

    .btn-tertiary:hover {
        background: rgba(245, 196, 130, 0.8);
        border-color: rgba(245, 196, 130, 1);
    }

.text-primary {
    color: rgba(153, 122, 79, 1) !important;
}

.text-secondary {
    color: rgba(212, 168, 109, 1) !important;
}

.text-tertiary {
    color: rgba(245, 196, 130, 1) !important;
}

.author-photo {
    border-radius: 50%;
    border: 1px solid black;
}

.loader {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

    .loader img {
        position: fixed;
        top: 50%;
        left: 50%;
        margin-top: -150px;
        margin-left: -150px;
        width: 300px;
        height: 300px;
    }

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

.filter-item, .search-item {
    color: rgba(153, 122, 79, 0.66);
}

    .filter-item:last-child, .search-item:last-child {
        border-right: none;
    }

    .filter-item.selected, .search-item.selected {
        color: rgba(153, 122, 79, 1);
        background-color: rgba(245, 196, 130, 0.1);
    }

    .filter-item ul {
        list-style-type: none;
    }

    .filter-item li input {
        margin-right: 0.5em;
    }

    .search-item input {
        border: 1px solid rgba(153, 122, 79, 1);
        color: rgba(153, 122, 79, 1);
    }

        .search-item input::placeholder {
            color: rgba(153, 122, 79, 0.5)
        }

.apply-filter {
    color: rgba(153, 122, 79, 0.5) !important;
    background-color: rgba(245, 196, 130, 0.5) !important;
    font-size: 12px;
    padding: 0.5em 1em 0.5em 1em;
    height: 20px;
    border-radius: 10px;
}

.apply-filter:hover {
    cursor: pointer;
}

.search-box {
    font-size: 18px;
    padding: 1em;
    height: 30px;
    border-radius: calc(15px + 0.5em) 0 0 calc(15px + 0.5em);
    display: block;
}

.search-item {
    position: relative;
}

.search-item button {
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-block;
    position: absolute;
    z-index: 2;
    font-size: 18px;
    padding: 1em;
    height: 30px;
    top: -12px;
    right: 0;
}

    .search-item input:focus + button .fa-search {
        color: red;
    }

.clear-search {
    border: none;
    background: none;
    text-align: right;
    width: 100%;
}

.clear-filters {
    border: none;
    background: none;
    text-align: left;
    width: 100%;
}

.book-button img {
    height: 38px;
    border-radius: 0.25rem;
}