﻿@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow:wght@400;700&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@keyframes fadein {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes crest_anim {
    from {
        opacity: 0;
        right: -120px;
    }
    to {
        opacity: 1;
        right: 25
    }
}

body {
    margin: 0;
    font-family: 'PT Sans', serif;
    background: url("parchment-background.png");
}

h1,
h2,
h3,
h4,
h5 {
    text-align: center;
    font-family: 'PT Sans', 'PT Serif', sans-serif;
    font-weight: bold;
    max-width: 1000px;
    margin: 1em auto 1em auto;
}

h1 {
    color: rgba(75, 171, 46, 1);
    font-size: 46px;
    margin-top: 180px;
    margin-bottom: 15px;
}

h2 {
    font-size: 42px;
    font-weight: bold;
}

h3 {
    color: black;
    font-size: 34px;
}

p {
    margin: 0 auto 20px auto;
    font-family: 'PT Serif', 'Times New Roman', serif;
    font-size: 20px;
    position: relative;
    text-align: left;
    line-height: 30px;
    max-width: 850px;
}

img {
    text-align: center;
    margin: 0 auto 20px auto;
    display: block;
}

a {
    color: rgba(75, 171, 46, 1);
    text-decoration: none;
}

button,
button::after,
button::before {
    box-sizing: border-box;
}

button {
    cursor: pointer;
    font-family: "PT Sans", sans-serif;
    text-transform: uppercase;
    position: relative;
    border: none;
    font-size: 18px;
    transition: color 0.5s, transform 0.2s, background-color 0.2s;
    outline: none;
    padding: 15px 25px;
    margin: 15px 0;
    border: 2px solid transparent;
    background-color: transparent;
    color: #4bab2e;
    border: none;
    overflow: hidden;
    box-shadow: none;
}

button:active {
    transform: translateY(3px);
}

button:hover {
    color: #fff;
}

button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #4bab2e;
    transition: opacity 0.3s, border 0.3s;
}

button:hover::before {
    opacity: 0;
}

button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-color: #4bab2e;
    border-color: transparent;
    border-radius: 50%;
    transform: translate(-30px, -70px) scale(0.1);
    opacity: 0;
    z-index: -1;
    transition: transform 0.3s, opacity 0.3s, background-color 0.3s;
}

button:hover::after {
    opacity: 1;
    transform-origin: 100px 100px;
    transform: scale(1) translate(-10px, -70px);
}

pre {
    margin: 0 auto 0 auto;
}

#rart_img {
    width: 100%;
    padding: 0;
}

.mobile_br {
    display: none;
}

#dna_link {
    background-color: rgba(75, 171, 46, 1);
    color: white;
    font-size: 15;
    padding: 4 6;
    border-radius: 5;
    text-decoration: none;
    box-shadow: 0 0 7 rgba(0, 0, 0, .8);
    line-height: 2;
}

#dna_link:hover {
    background-color: rgba(55, 151, 26, 1);
}


/*Main Navigation Bar Style*/

.main-nav {
    list-style-type: none;
    position: absolute;
    table-layout: fixed;
    top: 0;
    width: 100%;
    display: inline-block;
    background-color: rgba(255, 255, 255, .8);
    margin: 0 0 0 0;
    font-weight: bold;
    z-index: 7;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, .15);
}

#menu_icon {
    display: none;
}

#Webname {
    left: 50%;
    -ms-transform: translate(-50%);
    transform: translate(-50%);
    width: auto;
    color: rgba(75, 171, 46, 1);
    padding: 14px 12px;
    margin: 0;
    display: block;
    top: 25;
    position: absolute;
    z-index: 7;
    height: 50;
}

#nav-hr {
    position: absolute;
    left: 50%;
    -ms-transform: translate(-50%);
    transform: translate(-50%);
    width: 300px;
    top: 105px;
}

#Webname:hover {
    background-color: rgba(0, 0, 0, 0);
}

#Webname_mobile {
    display: none;
}

#homelink {
    margin-left: calc(50% - 488.27px);
}

li a {
    margin-top: 120px;
    padding: 12px 12px 8px 12px;
    font-family: 'PT Sans Narrow', FB Agency, 'Times New Roman';
    font-size: 15pt;
    font-weight: normal;
    text-align: center;
    text-decoration: none;
    display: block;
    float: left;
    border-bottom: 5px solid rgba(255, 255, 255, 0);
}

li a:hover:not(.active) {
    border-bottom: 5px solid rgba(75, 171, 46, 1);
}

li a:visited,
li a:link {
    color: rgba(75, 171, 46, 1);
}

li a:focus {
    color: rgba(55, 151, 26, 1);
}

.closebtn {
    display: none;
}

.selectedNav {
    border-bottom: 5px solid rgba(75, 171, 46, 1);
}


/*End of Main Navigation Style*/

div.quote {
    border-left: 5px solid rgba(75, 171, 46, 1);
    background: rgba(75, 171, 46, .07);
    padding: 10px 20px 20px 20px;
    max-width: 750px;
    margin: 0 auto 20px auto;
}

div.quote p {
    margin: 0;
    padding-top: 10px;
    font-size: 18px;
}

.caption {
    font-style: italic;
    text-align: center;
}

#archive_contents {
    background-color: rgba(255, 255, 255, .7);
    line-height: 30px;
    margin: 0 auto 60px auto;
    max-width: 1000px;
    text-align: center;
    padding: 10px;
    border: 1px solid rgba(75, 171, 46, 1);
}

#archive_contents a {
    text-align: center;
    padding: 2vw;
    color: rgba(75, 171, 46, 1);
}

#sitemap_button {
    display: none;
}

div.coatofarms {
    position: absolute;
    right: -120px;
    top: 190px;
    animation: crest_anim 1s .5s forwards;
    cursor: pointer;
}

#bigarms {
    visibility: hidden;
    position: fixed;
    right: 200px;
    top: -20px;
    z-index: 201;
    width: 85vh;
    top: 50px;
    left: 33%;
    opacity: 0;
}

#crestlink {
    position: absolute;
    text-decoration: none;
    right: 5px;
    color: black;
    top: 305px;
    opacity: 0;
    animation: fadein 1s 1s forwards;
}

#crestlink:hover {
    text-shadow: 1px 1px 5px grey;
    cursor: pointer;
}

#crestlink:visited {
    color: black;
}

.modal {
    background: rgba(0, 0, 0, 0.95);
    z-index: 5000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    position: fixed;
    padding-top: 50px;
    display: none;
    opacity: 0;
    transition: .3s;
}

#caption {
    display: block;
    width: 80%;
    max-width: 800px;
    text-align: justify;
    color: #ccc;
    padding: 10 50px;
    height: 150px;
    font-size: 18;
    float: right;
}

#crest_button {
    background: white;
    color: rgb(50, 50, 50);
    border-radius: 5px;
    border: none;
    padding: 10 20;
    cursor: pointer;
    box-shadow: 3 3 5 rgba(0, 0, 0, .5)
}

#crest_button:hover {
    box-shadow: 3px 3px 5px black;
}

#img01 {
    float: left;
    padding: 0;
    box-shadow: 3px 10px 15px black;
    margin-left: 15px;
    transition: .2s;
    width: 500;
}

#img01:hover {
    filter: brightness(50%);
}

.close {
    position: absolute;
    top: 0px;
    right: 30px;
    color: #f1f1f1;
    font-size: 50px;
    transition: .2s;
    cursor: pointer;
    font-weight: bold;
    line-height: 30;
}

.close:hover,
.close:focus {
    color: #bbb;
}

#myImg {
    width: 100;
}

#myImg:hover {
    filter: brightness(120%);
    transition: .3s;
}

div.coatofarms:hover {
    opacity: 0.2
}

#years {
    position: sticky;
    top: 0;
}


/*Search Bar Style*/

#Search {
    animation: fadein 1s .5s forwards;
    opacity: 0;
    position: absolute;
    top: 200px;
    left: 10px;
}

#help_icon {
    position: absolute;
    left: 23px;
    width: 22px;
    top: 12px;
    opacity: 0;
    animation: fadein 1s .1s forwards;
}

#help_div {
    position: absolute;
    left: 15px;
    top: 87px;
    width: 200px;
    z-index: 2;
    visibility: hidden;
    opacity: 0;
    font-size: 11pt;
}

#help_bg {
    position: absolute;
    width: 230px;
    z-index: 1;
    left: -5px;
    top: 39px;
    opacity: 0;
    visibility: hidden;
}

#search_bar {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
    height: 40px;
    width: 200px;
    padding: 5px;
    margin-left: 60px;
    border: 3px solid rgba(75, 171, 46, 1);
    border-radius: 3;
    font-size: 14;
}

#search_button {
    height: 23px;
    background-color: rgba(75, 171, 46, 1);
    color: white;
    padding: 8 9;
    margin: 0 4;
    border: none;
    border-radius: 5;
    box-shadow: 4 6 20 0 rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
    top: 14;
}

#search_button:hover {
    background-color: rgba(55, 151, 26, 1);
}

#H1 {
    z-index: 5;
}

#bg_pic1 {
    position: absolute;
    width: 100%;
}

.welcome {
    text-align: justify;
    font-family: 'PT Serif', serif;
    background-color: rgba(255, 255, 255, .5);
    margin: 0 auto 80px auto;
    padding: 30px 50px;
    font-size: 20;
    max-width: 1000px;
}

.in-text-link {
    text-decoration: none;
}

#content {
    height: 50px;
}

#search_bar:hover #help_div {
    opacity: 1;
    transition: .3s;
    visibility: visible;
}

#search_bar:hover #help_bg {
    opacity: 1;
    transition: .3s;
    visibility: visible;
}

div.help:hover #help_div {
    opacity: 1;
    transition: .3s;
    visibility: visible;
}

div.help:hover #help_bg {
    opacity: 1;
    transition: .3s;
    visibility: visible;
}

#plainfieldpic {
    position: absolute;
    z-index: -1;
    width: 100%;
    top: 0;
}

footer {
    text-align: center;
    background-color: #222;
    padding: 25 0 0 0;
    color: #888;
}

.copyright {
    background-color: #333;
    padding: 15 0;
    color: #888;
    font-size: 14px;
}

hr {
    background-color: rgba(75, 171, 46, 1);
    border: none;
    width: 40%;
    height: 1px;
    margin-bottom: 30px;
    max-width: 850px;
}

.centered {
    text-align: center;
}

.bold {
    font-weight: bold;
}

@media screen and (max-width: 1000px) {
    li a[href="landmarks"] {
        display: none;
    }
}

@media screen and (max-width: 835px) {
    li a[href="dna"] {
        display: none;
    }
}

@media screen and (max-width: 800px) {
    @keyframes crest_anim {
        from {
            opacity: 0;
            right: -120px;
        }
        to {
            opacity: 1;
            right: 50%;
            margin-right: -75
        }
    }
    p {
        margin: 0 6vw 20px 6vw;
        font-size: 18px;
    }
    h3 {
        color: rgba(75, 171, 46, 1);
        font-size: 22;
    }
    .mobile_br {
        display: inline;
    }
    #ronny_dna {
        display: none;
    }
    #dna_link:hover {
        background-color: rgba(55, 151, 26, 1);
    }
    p.landing {
        margin: 0 0 0 0;
    }
    /*Main Mobile Navigation*/
    .main-nav {
        top: 0;
        right: 0;
        height: 100%;
        width: 0;
        box-shadow: 0 -10 5px rgba(0, 0, 0, 0.4);
        background-color: rgba(255, 255, 255, 1);
        box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, .2);
        z-index: 300;
        transition: .7s;
        padding-top: 60px;
        position: fixed;
    }
    .main-nav .closebtn {
        position: absolute;
        top: -15;
        right: 0;
        font-size: 36px;
        text-decoration: none;
        font-size: 50;
        font-weight: 200;
        display: unset;
    }
    .main-nav .closebtn:link {
        color: rgba(75, 171, 46, 1);
    }
    .main-nav-scrolled {
        position: fixed;
        width: 100%;
        top: 0;
    }
    #background {
        width: 100%;
        height: 100%;
        z-index: 10;
        position: fixed;
        background: rgba(0, 0, 0, .5);
        visibility: hidden;
        opacity: 0;
        transition: .5s;
    }
    li a {
        padding: 14px 22px;
        margin-top: 0;
        font-family: Agency FB;
        font-size: 20;
        text-decoration: none;
        display: block;
        font-size: 22;
        float: none;
    }
    li a:hover:not(.active) {
        background-color: rgba(255, 255, 255, 0);
        border-bottom: 5 solid rgba(255, 255, 255, 0);
    }
    li a:visited,
    li a:link {
        color: rgba(75, 171, 46, 1);
    }
    #Webname {
        display: none;
    }
    #Webname_mobile {
        height: 5.5vh;
        max-height: calc(100vw/13.5);
        min-height: 18px;
        position: fixed;
        top: .5vh;
        z-index: 6;
        max-width: 95%;
        display: inline-block;
    }
    #Webname_bg_mobile {
        top: 0;
        position: fixed;
        height: 10vh;
        min-height: 35px;
        width: 100%;
        background: rgba(75, 171, 46, 1);
        z-index: 5;
        box-shadow: 0 4 10 -1 rgba(0, 0, 0, .5);
    }
    #menu_icon {
        top: 1.05vh;
        right: 0.5vw;
        position: fixed;
        z-index: 110;
        width: 5vh;
        min-width: 15px;
        display: unset;
        cursor: pointer;
    }
    /* End of Main Mobile Navigation*/
    /* Coat of Arms Style */
    div.coatofarms {
        font-family: Bodoni MT Condensed;
        font-size: 24;
        margin: -30px 0 0 83%;
        position: absolute;
        right: -120;
        top: 245px;
    }
    #bigarms {
        visibility: hidden;
        width: 95%;
        top: 50;
    }
    #crestlink {
        position: absolute;
        text-decoration: none;
        top: 230px;
        right: 50%;
        margin-right: -100;
        color: black;
    }
    #crestlink:hover {
        text-decoration: underline;
    }
    #crestlink:visited {
        color: black;
    }
    /* End of Coat of Arms Style */
    #H1 {
        z-index: 5;
    }
    .welcome {
        margin: 0 80px 40px 80px;
        font-size: 20;
        float: none;
        margin-left: 20px;
        display: none;
    }
    #years {
        font-family: 'PT Sans', sans-serif;
        font-size: 22;
        color: rgba(75, 171, 46, 1);
    }
    #Search {
        left: calc(50vw - 180px);
    }
    #help_div,
    #help_icon,
    #help_bg {
        display: none;
    }
    #tbl_icon {
        position: absolute;
        top: 430;
        right: 5;
        width: 65;
        z-index: 1;
    }
    #tbl_bg {
        float: none;
        display: block;
        background-color: rgba(75, 171, 46, 1);
        width: 100vw;
        height: 200;
        position: absolute;
        top: 450;
        left: 0;
        margin-left: 0;
        transform: skew(0deg, -12deg);
    }
    #tbl_bg2 {
        float: none;
        display: block;
        background-color: rgba(75, 171, 46, 1);
        width: 100vw;
        height: 350;
        position: absolute;
        top: 525;
        left: 0;
    }
    #content {
        height: 50px;
    }
    #plainfieldpic {
        position: absolute;
        z-index: -1;
        width: 100%;
        top: 0;
    }
    #bodineschoolimg {
        padding: 10px 10px;
    }
}