/* template for all pages */

a {
    text-decoration: none;
}
body{
    margin: 0; /* margins set at zero to ensure page filled L to R */
    padding: 0;
    font-family: Arial, sans-serif;   
}
img {
    border: 1px solid black; /* all images given borders (excepting logo and tablelinks images which have border later removed) */
}
#header {
    height:150px;
    background-color: #990000; /* red */
}

#header .wrapper {
    position: relative;
    height: 150px;
    min-width: 1000px;
}
#header .logo { 
    margin: 35px 0px 0px 35px; 
    float: left; 
    width: 232px;
    height: 82px; 
    overflow: hidden; 
}
.logo img {
    border: 0px 
}

#header .info {
    position: absolute; 
    top: 40px; 
    left: 350px; 
    height: 43px; 
    overflow: hidden; 
    font-family: cursive;
    font-size: 1.5em;
    color: white;
    text-align: center;
    margin: 0 auto;
    top: 50;
    left: 0;
    bottom: 0;
    right: 0;
}
#header .address {
   position: absolute;
    right: 10px;
    margin: 15px 35px;
    width: 232px;
    color: white;
    text-align: right;
}
.address a {
    color: white;
}
#nav {
    position: relative;
    margin-top: 0px;
    height: auto;
    text-align: center;
    background-color: cccccc;
    padding: 1px;
    min-width: 1000px;
}
#nav ul {
    list-style-type: none;
}
#nav ul li {
    position: relative;
    display: inline;
    padding: 10px;
    left: -15px;
    margin-left: 5px;
    margin-right: 5px;
    border: 1px black solid;
    border-radius: 5px;
    background-color: 666666;
}
#nav ul a{
    color: white;
}
#nav ul li:hover {
    background-color: cccccc;
}
#nav ul a:visited {
    color: white;
}

#links {
    margin-top: 0px;
    height: 20px;
    text-align: center;
    background-color: 999999;
    padding: 1px;
    min-width: 1000px;
}
#links ul li a {
    color: white;
}
#links ul li a:hover {
    color: black;
}
#links ul li {
    position: relative;
    display: inline;
    padding-left: 10px;
    padding-right: 10px;
    top: -16px;
    font-size: 11px;
    color: white;
    left: -15px;
}

#footer {
    position: relative;
    margin-top: 0px;
    height: 80px;
    text-align: center;
    background-color: #990000;
    padding: 1px;
    min-width: 1000px;
    color: white;
    font-size: 12px;
    padding: 10px;
}

/* frontpage */

#main {
    position: relative;
    width: 960px;
    height: 450px;
    margin: 0 auto;
}
#fadeshow1 {
    font-size: 13px;
    color: white;
    text-align: center;
}

#tablelinks {
    position: relative;
    margin: 0 auto;
    top: 10px;
    height: 140px;
    min-width: 800px;
    text-align: center;
}
#tablelinks table {
    margin: 0 auto;
}
#tablelinks img {
    border: 0px;
}   
tr h1 {
    color: #990000;
    font-size: 14px;
    text-align: left;
}

#tablelinks table tr p {
    font-size: 13px;
    text-align: left;
}
tr img {
    width:100px;
    height: 100px;
    padding-left: 2px;
}
td:nth-child(2) {
    padding-right: 20px;
}
td:nth-child(4) {
    padding-right: 20px;
}
td a h1:hover {
    color: black;
}

/* subpages */

#submain {
    position: relative;
    width: 800px;
    min-height: 450px;
    height: auto;
    margin: 0 auto;
    font-size: 13px;
}

#submain h2 {
    color: #990000;
}

#submain img {
    clear: right;
    float:right;
    margin: 0px 0px 30px 5px;
}

#submain table {
    padding: 5px;
    font-size: 13px;
}
#submain table tr td {
    padding-right: 10px;
}
/* FAQs */
.box{
        padding: 0px 20px 0px 20px;
        display: none;
        margin-top: 5px;
    margin-bottom: 20px;
        border: 1px solid #000;
    }
.1{ background: #ffffff; }
.2{ background: #ffffff; }
.3{ background: #ffffff; }
.4{ background: #ffffff; }
.5{ background: #ffffff; }