h1 {
    text-align: center;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    color: #eeeeee;
    font-size: 24px;
}

body {
    font-size: 12px;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    background-image: url("images/train_pat.png");
}

/* Layout
---------------------------------------*/

#wrapper {
    border-radius:8px;
    position: relative;
    margin: 0 0 1em 0;
    border: solid 1px #eee;
    padding: 0.375em;
    background: #eeeeee;
}

header,
#container { 
    margin: 0 auto;
    width: 88%;
}

footer {
    font-size: 16px;
    width: 100%;
    padding: .5em 0em;
    text-align: center;
    background-color: #eeeeee;
    border-radius: 8px;
}

#navigation {
    border-radius:8px;
    position: relative;
    margin: 0 0 1em 0;
    border: solid 1px #eee;
    padding: 0.375em;
    background: #eeeeee;
}

/* Misc.
---------------------------------------*/

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;

}

/* Navigation
---------------------------------------*/

nav ul {
    padding: 0;
    margin: 0 auto;
    max-width: 960px;
}

nav ul li {
    list-style: none;
    background-color: #eeeeee;
    border-top: 1px solid #ffffff;
    padding-left: 2em;
}

nav ul li:hover {
    background: pink;
}

nav ul li a {
    text-decoration: none;
    padding: 1em 0;
    display: block;
}

/* Media Queries
---------------------------------------*/

@media screen and (min-width: 800px) {
    nav {

    }

    nav ul li {
        float: left;
        width: 19.8%;
        border-right: 1px solid #ffffff;
        text-align: center;
        padding: 0;
    }

    nav ul li:nth-child(1) {
        border-left: 1px solid #ffffff;
    }

    nav ul li ul {
        padding: 0;
        position: fixed;
        width: 19.8%;
        left: -999em;
        float: left;
    }

    nav ul li:hover ul {
        left: auto;
    }

    nav ul li ul li,
    nav ul li ul li:nth-child(1) {
        width: 99%;
        padding: 0;
        border-right: 0;
        border-left: 0;
    }
}

/* Slideshow
------------------------------------------*/

.rslides-container {
    
	border-radius:8px;
    position: relative;
    margin: 0 0 1em 0;
    border: solid 1px #eee;
    padding: 0.375em;
    background: #eeeeee;
}

.rslides {
    position: relative;
    list-style: none;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.rslides li {
        -webkit-backface-visibility: hidden;
        position: absolute;
        display: none;
        left: 0;
        top: 0;
        width: 100%;
    }

.rslides img {
        float: left;
        width:100%;
    }

/* Slideshow navigator arrows. */

a.rslides_nav {
    padding: 0.25em;
    line-height: 1;
}

a.rslides_nav.prev {
        float: left;
    }

a.rslides_nav.next {
        float: right;
    }

a.rslides_nav:hover {
        text-decoration: none;
    }

/* Slideshow position indicator tabs. */

.rslides_tabs {
    margin: 0;
    padding: 0;
    text-align: center;
    line-height: 1;
}

.rslides_tabs li {
        margin: 0.375em 0.25em 0;
        display: inline-block;
    }

.rslides_tabs a {
		text-indent: -9999px;
		font-size:12px;
		border-radius:50%;
        display: block;
        border: 1px solid;
        border-color: #ccc;
        background: #eee;
        width: 1em;  // 12px
        height: 1em; // 12px
    }

.rslides_tabs a:hover {
            border-color: #000;
        }

/* Highlight the position indicator tab of currently active slide. */

.rslides_here a {
    background: #e3e3e3;
} 