* {
    margin: 0px;
    padding: 0px;
    color: #000;
    font: 20px Candara;
}

body {
    background-color: #fff;
    margin: 0px;
    padding: 0px;
    width: 100vw;
    overflow-x: hidden;
    margin-bottom: 100px;
}

h1.titleText {
    margin-top: 16px;
    text-align: center;
    font-size: 40px;
}

ul.nav {
    list-style-type: none;
    margin: 0;
    margin-top: 16px;
    padding: 0;
    overflow: hidden;
    background-color: #ddd;
    position: -webkit-sticky;
    /* Safari */
    position: sticky;
    top: 0;
}

ul.nav li {
    float: left;
    width: 33vw;
}

ul.nav li a {
    display: block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 125%;
    font-weight: 900;
}

ul.nav li a:hover {
    background-color: #ccc;
}

.active {
    background-color: #AAF;
}

table.heroImage {
    background-image: url("media/boxBook.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;
    height: 42vh;
    animation-name: slideshow;
    animation-duration: 12s;
    animation-iteration-count: infinite;
}

td {
    text-align: center;
}

.heroText {
    font-size: 160%;
    color: #DDF;
    text-shadow: 0px 0px 5px #111;
}

input.search {
    width: 40vw;
    min-width: 400px;
    height: 32px;
    padding: 8px;
    border: 2px solid #bbb;
    border-radius: 3px;
    text-align: center;
}

input.search:hover {
    border: 2px solid #AAF;
}

form input {
    width: 60vw;
}

div.videoPoster {
    width: 32vw;
    min-width: 160px;
    height: 18vw;
    min-height: 90px;
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

table.gallery {
    width: 100vw;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 16px;
}

table.gallery tr {
    width: 100vw;
    height: auto;
}

table.gallery tr td {
    margin-top: 16px;
    margin-left: .5vw;
    margin-right: .5vw;
    width: 32vw;
    min-width: 320px;
    max-width: 640px;
    height: 18vw;
    min-height: 180px;
    max-height: 360px;
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    vertical-align: center;
    font-size: 140%;
    color: #FFF;
    text-shadow: 0px 0px 5px #111;
    cursor: pointer;
}

table.gallery tr td:hover {
    opacity: .8;
}

@keyframes slideshow {
    0% {
        background-image: url("media/boxBook.jpg");
    }

    33% {
        background-image: url("media/handBook.jpg");
    }

    66% {
        background-image: url("media/stackBook.jpg");
    }

    100% {
        background-image: url("media/boxBook.jpg");
    }
}

form {
    width: 90vw;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
ul.textList{
padding-top:16px;
padding-left:150px;
}
p {
    width: 90vw;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
