body {
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    margin: 0;
    color: #3a3a3a;
    font-weight: 300;
    font-style: normal; 
    /* Ensure top if body content is below the fixed navbar */
    padding-top: 56px;
}

h1 {
    font-size: 2.25rem!important;
}

.page-content a {
    text-decoration: none;
    color: rgb(34, 78, 212);
}
.page-content a:hover {
    text-decoration: underline;
}

.wrapper > .header {
    background-position: center center;
    background-size: cover;
}

.header-filter {
    position: relative;
}

.page-head .navbar {
    margin-bottom: 0px;
}

.header-filter .container {
    z-index: 2;
    position: relative;
}

.page-head .brand {
    height: 25vh;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.page-head .brand h1 {
    color: #fff;
    font-size: 4.8rem!important;
    font-weight: 600;
    margin-bottom: 2rem;
}

.page-head .brand h2 {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 400;
}

.page-head .brand h3 {
    color: #fff;
    font-size: 1.5rem;
    text-transform: uppercase;
    max-width: 400px;
    margin: 10px auto 0;
}

@media (max-width: 991px) {
    .page-head .brand {
        height: 22vh;
    }
    .page-head .brand h1 {
        font-size: 3.5rem!important;
    }
    .page-head .brand h2 {
        font-size: 2rem;
    }
}
@media (max-width: 768px) {
    .page-head .brand {
        height: 20vh;
    }
    .page-head .brand h1 {
        font-size: 3rem!important;
    }
    .page-head .brand h2 {
        font-size: 1.5rem;
    }
}

 .page-head .header-filter::after {
    background: rgba(14, 30, 82, 0.64);
    background: linear-gradient(45deg, rgba(14, 30, 82, 0.88) 0%, rgba(14, 30, 82, 0.45) 100%);
    background: -moz-linear-gradient(135deg, rgba(14, 30, 82, 0.88) 0%, rgba(14, 30, 82, 0.45) 100%);
    background: -webkit-linear-gradient(135deg, rgba(14, 30, 82, 0.88) 0%, rgba(14, 30, 82, 0.45) 100%);
} 

.header-filter::after {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    left: 0;
    top: 0;
    content: "";
}

.main {
    background: #fff;
    position: relative;
    padding-top: 20px;
}

.page-title {
    padding-bottom: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e2e2e2;
}

.navbar {
    font-weight: 400;
    background-color: rgb(54,64,94);
}
.navbar-inverse {
    background-color: rgb(54,64,94);
}
.navbar-transparent {
    background: rgba(0,0,0,.3);
}
@media (max-width: 991px) {
    .navbar-transparent {
        background-color: rgb(54,64,94);
    }
}

.nav-link {
    color: rgba(255,255,255,.65);
}
.nav-link:focus, .nav-link:hover {
    color: rgba(255,255,255,.85);
}
.navbar-nav .nav-link.active {
    color: rgb(255,255,255);
}

pre {
    white-space: pre-wrap;
    background-color: #171616;
    color: #ecf5fc;
}

.codehilitetable {
    width: 100%;
}

.codehilitetable pre {
    border: none;
    border-radius: 0px;
}

.linenodiv pre {
    background-color: #333333;
    text-align: right;
}

samp {
    background-color: #e6f2f8;
    padding: 2px 4px;
    font-size: 90%;
    color: #196dab;
    white-space: pre-wrap;
}

var {
    font-family: "Times New Roman";
    font-size: 150%;
}

.page-footer {
    background-color: #333333;
    padding: 25px 0 25px 0;
    margin-top: 25px;
}

.page-footer li {
    float: left;
}

.page-footer li a {
    color: #ffffff;
}

.page-footer li + li:before {
    content: "/";
    padding: 15px;
}

.img-raised {
    box-shadow: 0 5px 15px -8px rgba(0,0,0,.24),0 8px 10px -5px rgba(0,0,0,.2);
}

.img-rounded {
    border-radius: 6px;
}

.thumbnail {
    border-radius: 6px;
}

.carousel-control span {
    position: absolute;
    top: 50%;
}

.article-metadata {
    margin-bottom: 30px;
    color: #666;
}
.article-introduction {
    margin-bottom: 30px;
    font-size: 1.25rem;
}
.article-body {
    margin-bottom: 30px;
}
.article-footer {
    border-top: 1px solid #e2e2e2;
    padding-top: 15px;
    margin-bottom: 30px;
}

/* Rawlinson catalogue page styles */

.rawlinson-publication-info {
    margin-bottom: 40px;
}
.rawlinson-publication-info a {
    word-break: break-all;
}
.rawlinson-grid-container {
    display: grid;
    grid-template-columns: 1fr  1fr 1fr 1fr;
    grid-auto-rows: 1fr;
    row-gap: 25px;
    column-gap: 25px;
    margin-bottom: 40px;
}
@media (max-width: 991px) {
    .rawlinson-grid-container {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .rawlinson-grid-container {
        grid-template-columns: 1fr 1fr;
    }
}
.rawlinson-no-image {
    width: 100%;
    aspect-ratio: 7 / 5;
    background-color: rgba(234, 230, 223, 0.515);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-size: 16px;
    line-height: 1;
}

.rawlinson-catalogue-nav {
    background-color: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}
