/*COLOR PALETTE*/
/*
White			-	#ffffff
Black			-	#000000
Grey Cream		-	#e3d3b9
Cream			-	#ffff99
Light Cream		-	#ffffbd
Maroon			-	#660000
Light Maroon	-	#9c5959
*/

/*RESET*/
* {
margin: 0;
padding: 0;
border: 0;
box-sizing: border-box;
}

header, nav, main, footer {
display: block;
}

/*PAGE*/
html {
width: 100%;
height: 100%; /* needed for body min-height */
background: #e3d3b9 url('/images/paper.jpg') repeat;
letter-spacing: 0.04em;
font-family: 'times new roman', serif;
}

body {
display: flex;
flex-direction: column;
min-width: 1000px;
width: 100%;
/*position: relative; needed for footer positioning
min-width: 1000px;
min-height: 100%;*/
background-position: 0px -45px;
background-repeat: repeat-x;
cursor: default;
}

.wrap {
position: relative;
width: 1000px;
margin: 0 auto;
}

/*HEADER*/
header {
position: relative;
top: 60px;
z-index: 15;
width: 100%;
padding: 0.3em 0;
border-top: 0.1em solid #000000;
border-bottom: 0.1em solid #000000;
background: #660000 url('/images/ribbon-maroon.gif') repeat;
box-shadow: 0 -5px 10px -5px #000000;
color: #ffff99;
text-shadow: 0 0 5px #000000, 0 0 5px #000000;
}

header img {
position: absolute;
top: -65px;
left: -15px;
}

header h1 {
margin: 0 0 0 220px;
text-align: center;
font-size: 1.3em;
font-weight: normal;
}

/*NAVIGATION*/
nav {
position: relative;
top: 60px;
z-index: 5;
width: 100%;
margin: 0 0 30px;
padding: 0.2em 0;
border-bottom: 0.1em solid #000000;
background: #ffff99 url('/images/ribbon-cream.gif') repeat;
box-shadow: 0 5px 10px -5px #000000;
color: #660000;
text-shadow: 0 0 3px #666666;
}

#menu {
margin: 0 0 0 220px;
text-align: center;
}

nav a {
display: inline-block;
margin: 0 0.5em;
text-decoration: none;
color: #660000;
}

nav a:hover {
color: #ffffff;
text-shadow: 0 0 3px #000000, 0 0 3px #000000;
}

/*CONTENT*/
main {
flex-grow: 1;
width: 100%;
}

#content {
width: 100%;
padding: 5em 2em 4em;
}

h2 {
margin: 0 0 1em;
padding: 0 0 45px;
background: url('/images/title-ornamentation-maroon.png') no-repeat bottom center;
text-align: center;
letter-spacing: 0.1em;
color: #660000;
}

h3 {
margin: 1.5em 0;
text-align: center;
color: #660000;
}

h4 {
text-align: left;
color: #660000;
}

h5 {
margin: 0.5em 0 1em;
padding: 0 0 45px;
background: url('/images/title-ornamentation-cream.png') no-repeat bottom center;
text-align: center;
font-size: 1em;
letter-spacing: 0.1em;
}

p {
margin: 1em 0;
line-height: 1.3em; 
}

table {
width: 75%;
margin: 2em auto;
border-collapse: collapse;
border-radius: 0.5em;
}

table, th, td {
border: 2px solid #000000;
} 

thead {
background: #660000;
font-size: 1.2em;
color: #ffff99;
}

tbody tr:nth-child(even) {
background: #9c5959;
color: #ffff99;
}

tbody tr:nth-child(odd) {
background: #ffffbd;
color: #660000;
}

th, td {
padding: 0.5em;
text-align: center;
}

thead th:nth-child(1), tbody td:nth-child(1) {
text-align: left;
}

/*FOOTER*/
footer {
/*position: absolute;
bottom: 0;*/
width: 100%;
padding-top: 60px;
background-position: 0px 5px;
background-repeat: repeat-x;
text-align: center;
color: #ffff99;
text-shadow: 0 0 5px #000000, 0 0 5px #000000;
}

footer .wrap {
width: 100%;
padding: 0.5em 0;
border-top: 0.1em solid #000000;
background: #660000 url('/images/ribbon-maroon.gif') repeat;
box-shadow: 0 -5px 10px -5px #000000;
}

footer a {
text-decoration: none;
color: #ffff99;
}

footer a:hover {
text-decoration: underline;
}

#love {
font-weight: bold;
}

#love span {
position: relative;
top: 0.1em;
}

.section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
}

.section .text {
    margin: 0;
}

.illustration.align-left {
    margin-right: 40px;
}

.illustration.align-right {
    order: 2;
    margin-left: 40px;
}

.illustration .image {
    padding: 3px;
    border: 3px solid #660000;
}

.illustration.horizontal .image {
    width: 400px;
    height: 300px;
}

.illustration.vertical .image {
    width: 300px;
    height: 400px;
}

.illustration .caption {
    padding: 0 30px;
    text-align: center;
    font-size: 12px;
}

.banner {
    position: relative;
    top: 40px;
    padding-left: 220px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 10px;
}

/* Holiday Work Hours Dialog*/
.dialog-work-hours {
    display: none;
}

.christmas-deer {
    position: absolute;
    top: -65px;
    width: 150px;
    height: 150px;
    background-size: 150px;
    background-repeat: no-repeat;
}

#christmas-deer-left {
    left: 25px;
    background-image: url('/images/christmas-deer-left.png');
}

#christmas-deer-right {
    right: 25px;
    background-image: url('/images/christmas-deer-right.png');
}

.ui-widget-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0.7;
}

.ui-dialog {
    position: fixed;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    z-index: 30;
    padding-bottom: 70px;
    border: 20px solid #660000;
    border-radius: 5px;
    background-color: #660000;
    background-image: url('/images/title-ornamentation-cream.png');
    background-position: center bottom;
    background-repeat: no-repeat;
    box-shadow: 0 5px 15px #333333;
    text-align: center;
    font-size: 18px;
    letter-spacing: 1px;
    color: #ffffff;
}

.ui-dialog-title {
    display: none;
}

.ui-dialog h5 {
    position: relative;
    top: -20px;
    padding-bottom: 50px;
    line-height: 28px;
    font-size: 22px;
    font-weight: normal;
}

.ui-dialog-titlebar-close {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 24px;
    height: 24px;
    border: 3px solid #ffffbd;
    border-radius: 50%;
    background: #ffffbd;
    font-size: 0;
    color: #660000;
    cursor: pointer;
    transform: rotate(45deg);
}

.ui-dialog-titlebar-close:after {
    content: "+";
    /*
    position: absolute;
    bottom: 3px;
    left: 2px;
    */
    line-height: 20px;
    font-size: 30px;
}

.ui-dialog-titlebar-close:hover {
    background: #660000;
    color: #ffffbd;
}

.ui-dialog:focus,
.ui-dialog-titlebar-close:focus {
    outline: 0;
}

/* Winter Holidays */
body.winter-holidays {
    background-image: url('/images/christmas-wreath.png');
}

.winter-holidays header,
.winter-holidays nav {
    top: 75px;
}

.winter-holidays footer {
    background-image: url('/images/christmas-wreath.png');
}

.winter-holidays .banner {
    top: 55px;
}
