

.f-charm {font-family: "Charm", serif;}
.f-bookBasic {font-family: "Gentium Book Basic", serif;}
.f-roboto {font-family: "Roboto Slap", serif;}


body {
    font-size: 20px;
    margin: 0px;
    padding: 0px;
    font-family: "Gentium Book Basic", serif;
    min-width: 400px;
}


#wrap {
    width: 100%;
    max-width: 1280px;
    display: block;
    position:relative;
    height: 100%;
    margin: 0px auto;
    min-width:400px;
    z-index: 500;

}

#header {
    width: 100%;
    height: auto;
    min-height: 100px;
    z-index: 800;
}
header img {
    width: 100%;
    height: auto;
}

#title {
    margin:0px auto;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

#title #x {
    display: inline-block;
}
#title #x #nee {
    float: right;
}
#title #x #dod {
    float: left;
}

#title h1,
#title p{
    margin: 0px;
}


#title h1 {
    font-size: 2.8em;
}

#title #info {
    font-size: .9em;
}

#title #inMemory {
    font-size: 2em;
}

@media (max-width: 1024px) and (min-width:501px){
    #title #inMemory {font-size: 1.1em;}
    #title h1 {font-size: 1.4em;}
    #title #info {font-size: .7em;}
}

@media (max-width: 500px){
    #title #inMemory {font-size: 1em;}
    #title h1 {font-size: 1.2em;}
    #title #info {font-size: .5em;}
}

#obitImages {
    position: relative;
    display: block;
    width: 90%;
    max-width: 424px;
    height: 550px;
    margin: 0px auto;
}

#merrilynAndSvanna,
.obitPic {
    margin: 0px auto;
    position: absolute;
    display:block;
    text-align: center;
    color: #555;
    font-style: italic;
    font-size: .9em;
    margin-bottom: 40px;
}
#merrilynAndSvanna img,
.obitPic img {
    border-radius: 50%;
    padding: 10px;
    border: 2px solid #777;
    background-color: #fff;
    background-image: radial-gradient(rgba(0,0,0,0) 65%, rgba(0,0,0,1) 100%);
    box-shadow: 4px 6px 10px 2px rgba(128,128,128, .8);
    width: 75%;
    max-width: 400px;
    height: auto;
    transition: 0.8s;
}

.obitPic.hide {
    opacity: 0;
    visibility: hidden;
    transition: 0.8s;
}
.obitPic.show {
    opacity: 1;
    visibility: visible;
    transition: 0.8s;
}
@media (max-width: 1024px) and (min-width: 801px){
    #obitImages {height: 475px;}
}
@media (max-width: 800px) and (min-width: 501px) {
    #obitImages {height: 450px;}
}
@media (max-width: 500px){
    #obitImages {height: 425px;}
}

#buttons {
    text-align: center;
    margin: 40px 0px;
}
#buttons a,
#buttons span {
    text-decoration: none;
    width: 40%;
    text-align: center;
    display:inline-block;
    border: 1px solid #000;
    padding: 20px;
    margin: 15px;
    background-color: rgb(101, 0, 121);
    color: #FFF;
    opacity: 0.7;
    transition: 0.3s;
}

#buttons a:hover,
#buttons span:hover {
    opacity: 1;
    cursor: pointer;
}

@media (max-width: 800px){
    #buttons a,
    #buttons span {
        width: 80%;
    }
}

#content {
    position: relative;
    display:block;
    width:90%;
    margin: 0px auto;
    z-index: 800;
}


#poem div {
    display: flex;
    flex-direction:row;
}


#poem pre {
    white-space: pre-wrap;
    text-align: center;
    width: 50%;
    font-size: 18px;
}

@media (max-width: 1024px) {
    #poem div {flex-direction: column;}
    #poem pre {width: 100%;}
}

#footerImages {
    text-align: center;
}

#footerImages img {
    margin: 10px;
    border-radius: 4px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    max-width: 90%;
}



footer {
    width: 100%;
    color: #fff;
    font-size: .9em;
    position: relative;
    background-color: rgb(43, 2, 37);
    padding: 10px 0px;
    margin-top: 100px;
    z-index: 800;
}

footer p {
    margin: 0px;
    padding: 2px;
}

footer hr {
    margin: 0px;
    border: 1px solid rgba(255,255,255,0.1)
}

.f-left {float: left;}
.f-right {float: right;}
.center {text-align: center;}

#overlay {
    width: 100%;
    height: 100%;
    z-index: 1000;
    position:fixed;
    display: block;
    top: 0;
    left: 0;
    background-color: transparent;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.overlay {
    opacity: 0;
    transition: 0.3s;
    visibility: hidden;
}

#overlay.active,
.overlay.active {
    visibility: visible;
    background-color: rgba(50,50,50,0.6);
    opacity: 1;
}

#overlay .close {
    color: #ccc;
    transition: 0.3s;
    font-size: 2em;
    position: fixed;
    display: inline-block;
    top: 0px;
    right: 10px;
}

#overlay .close:after {
    display: inline-block;
    font-size: 2em;
    content: "\00d7";
}
#overlay .close:hover{
    cursor: pointer;
    color: #ff0;
}

#seatRequest {
    background-color: #eee;
    border: 4px double #000;
    border-radius: 10px;
    position:fixed;
    width: 80%;
    padding-left: 5%;
    padding-right: 5%;
    top: 20%;
    z-index: 1001;
    text-align: center;
    left: 5%;
}

#seatRequest input,
#seatRequest select,
#seatRequest button {
    font-size: 2em;
    padding: 4px;
    border-radius: 4px;
    margin: 10px;
    width:80%;
}

#seatRequest button {
    width: 30%;
    margin: 5%;
    background-color: rgba(128,128,128,0.4);
}
@media(max-width:800px) {
    #seatRequest button {width: 80%; margin-bottom: 5px;}
}
#seatRequest button:hover {
    cursor: pointer;
    background-color: rgba(128,128,128,0.8)
}

.error {
    color: #f00;
}

@media (max-width: 500px){
    h2 {font-size: 1.2em;}
}