body {
    background-image: url(../img/tiles/backgroundTexture.gif);
    background-repeat: repeat;
    font-family: 'Victoria Serif';
    font-size: 14pt;
}

body h2 {
    font-family: 'Old Newspaper Types';
}

.parchment {
    background-image:url(../img/tiles/parchment.gif);
    border: 20px solid transparent;
    border-image: url(../img/tiles/parchmentBorderImage.gif) 50 50 50 50 repeat;
    border-image-outset:20px;
    position:relative;
    top:-95px;
}

.header {
    width: 100%;
    height:300px;
    background: url(../img/headers/siteHeader.png) no-repeat;
    background-size: contain;
    background-position: center;
    display:block;
}

.nail {
    width: 30px;
}

.navbar-mail {
    position: relative;
    top: -75px;
    z-index: 1;
}

.mail {
    padding-left: 30px;
    padding-right: 30px;
}

.mail-profile {
    width: 15%;
    height:160px;
    background: url(../img/elements/envelopeProfile.png) no-repeat;
    background-size: contain;
    display:inline-block;
}

.mail-relationships {
    width: 15%;
    height:160px;
    background: url(../img/elements/envelopeRelationships.gif) no-repeat;
    background-size: contain;
    display:inline-block;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.mail-gallery {
    width: 15%;
    height:160px;
    background: url(../img/elements/envelopeGallery.png) no-repeat;
    background-size: contain;
    display:inline-block;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.mail-ooc {
    width: 15%;
    height:160px;
    background: url(../img/elements/envelopeOOC.png) no-repeat;
    background-size: contain;
    display:inline-block;
}

.mail-profile:hover {
    background:url(../img/elements/onHoverYayoProfile.png) no-repeat;
    background-size: contain;
    width: 15%;
    height:160px;
}

.mail-relationships:hover {
    background:url(../img/elements/onHoverQuillRelationships.gif) no-repeat;
    background-size: contain;
    width: 15%;
    height:160px;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.mail-gallery:hover {
    background:url(../img/elements/onHoverQuillGallery.png) no-repeat;
    background-size: contain;
    width: 15%;
    height:160px;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.mail-ooc:hover {
    background:url(../img/elements/onHoverYayoOOC.png) no-repeat;
    background-size: contain;
    width: 15%;
    height:160px;
}

.logo {
    z-index: -1;
    transform: rotate(90deg);
    opacity:0.4;
    position:absolute;
    right: -200px;
    top:450px;
}

.article {
    width:100%;
}

.article h2 {
    font-family: 'Old Newspaper Types';
    display:inline;
}

.article h4 {
    font-family: 'Old Newspaper Types';
    padding-top:25px;
}

.artcle dt {
    font-family: 'Old Newspaper Types';
}

.desc-table {
    border: none;
}

.desc-table th {
    font-family: 'Old Newspaper Types';
    text-align: right;
}

.desc-table td {
    padding-left: 10px;
}

.footer p {
    color:white;
    font-size: 11pt;
}

.footer a {
    color:white;
    text-decoration: underline;
}

.highlighted {
    background-color:white;
}

.centered {
    text-align:center;
}

.rel-img {
    width: 25%;
    display: inline-block;
}

.rel-img img {
    width: 100%;
}

.rel-info {
    padding-top: 5px;
    vertical-align: top;
    display: inline-block;
    width: 74%;
}

.rel-info .person {
    font-size: 20pt;
    font-weight: bold;
    font-family: "Old Newspaper Types";
    margin-bottom: 0px;
}

.thumbnail {
    border: 4px solid black;
    padding: 8px;
    height: 250px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 4px;
    margin-bottom: 4px;
}

.thumbnail:hover {
    opacity: 0.7;
}

.thumbnailCollection {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.modal-content {
    margin: auto;
    display: block;
    position: relative;
    top: -75px;
    width: auto;
    max-width: 550px;
}

.caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover, .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.navArrow {
    color:white;
    font-size:30pt;
    padding:20px;
    background-color: transparent;
}

.navArrow:hover {
    cursor: pointer;
}