BODY {
    background-color: #DDD;
    font-family: sans-serif;
    text-align: center;
    }

#container {
    border: 2px #CCC solid;
    margin: 1% auto;
    background-color: white;
    /* Fixed layout styles */
    width: 980px;
    text-align: left;
    position: relative;
}

#logo { 
    margin-top: 23px;
    margin-left: 10px;
}

#banner {
    position: relative;
    height: 100px;
    background-image: url(../img/back.png);
    background-repeat: repeat-x;
    border-bottom: 2px #AAA solid;
    margin-bottom: 3px;
    }

#banner P#slogan {
    position: absolute;
    bottom: 5px;
    left: 50px;
    font-size: 12px; 
    margin: 0 0 0 15px;
    padding: 0;
    font-style: italic;
    color: rgb(64,107,158);
    font-weight: bolder;
}

#menubar {
    position: relative;
    background-image: url(../img/menuback.png);
    background-repeat: repeat-x;
    height: 24px;
    margin: 0 3px;
    text-align: center;
}

#menubar A {
    padding: 0 1.2em;
    line-height: 24px;
    height: 24px;
    font-weight: bolder;
    color: white;
    text-decoration: none;
    font-size: 75%;
    }

#menubar A:hover { color: #BBB; }

#menuleft, #menuright { position: absolute; top: 0;}
#menuleft  { left: 0;  }
#menuright { right: 0; }

#container2 {
    background-color: white;
    position: relative;
    padding: 10px;
}

#left {
    position: absolute;
    width: 200px;
    left: 10px;
}

#main {
    font-size: smaller;
    margin-left: 220px; 
}

H1 { font-size: 1em; }

.titlebar {
    background-color: #5B99E2;
    position: relative;
    color: white;
    }

.cornertopleft, .cornertopright { position: absolute; }
.cornertopright { right: 0; }

#searchcontents, DIV#settingsmenu { 
    font-size: smaller;
    background-color: white; 
    border-left: 1px #DDD solid;
    border-right: 1px #DDD solid;
    border-bottom: 1px #DDD solid;
    padding: 9px 9px 0 9px;
    }

#searchcontents P {
    font-size: smaller;
    color: #555;
    font-style: italic;
    margin: 0.5em 0;
}

#maincontents {
    background-color: white; 
    border-left: 1px #DDD solid;
    border-right: 1px #DDD solid;
    border-bottom: 1px #DDD solid;
    padding: 9px;
    position: relative;
    /* min-height: 800px;  */
    }

.titlebar H1 {
    margin: 0 10px 0 10px;
    padding: 0;
    font-size: 18px;
}

.blank { clear: right; }

INPUT.button, INPUT.editbutton {
    background-color: #EC983B;
    border-top: 2px solid #F7BB78;
    border-left: 2px solid #F7BB78;
    border-bottom: 2px solid #C96C07;
    border-right: 2px solid #C96C07;
    color: white;
    font-weight: bolder;
    padding: 2px 5px;
    margin-top: 5px;
}

INPUT.editbutton {
    background-color: #2C92EC;
    border-top: 2px solid #5B99E2;
    border-left: 2px solid #5B99E2;
    border-bottom: 2px solid #1E63BF;
    border-right: 2px solid #1E63BF;
    }


INPUT.box, SELECT.box {
    width: 100%;
    margin: 3px 0;
}

#advancedoptions { display: none; }

#linktext { line-height: 2em; }

H1 A.maplink { 
    font-weight: normal; 
    text-decoration: underline;
    margin-left: 2em;
    color: black;
    font-size: 90%;
}

#locationlist, #postcodelist {
    position: absolute;
    border: 1px black solid;
    background-color: white;
    padding: 5px;
    width: 200px;
    left: 250px;
    top: 130px;
    z-index: 10;
    display: none;
    font-size: smaller;
}


#locationlist A IMG, #postcodelist A IMG { border: none; float: right; }
#locationlist P, #postcodelist P { padding: 1.5em 1.5em 0 1.5em; }

#locationlist UL, #postcodelist UL {
    margin: 1em 0 2em 0;
    padding: 0 1.5em;
    list-style-type: none;
}

#footer {
    text-align: center;
    font-size: 8pt;
    color: #666;
    margin-top: 1.5em;
    padding: 1em 0;
    background-color: #EEE;
    border-top: 2px #AAA solid;
    border-bottom: 2px #AAA solid;
}

#footer SPAN.contact {
    font-weight: bolder;
    }

#footer P {
    margin: 0; 
    }

#footer A { 
    text-decoration: none; 
    color: #666; 
    }

#footer A SPAN.link {
    text-decoration: underline;
    }
    

#postcodelist H4 {
    padding: 0 1.5em 0 1.5em;
    font-size: 1em;
    margin: 1em 0 0.5em 0;
}


#postcodelist TABLE { 
    font-size: smaller; 
    margin: 0 1.5em 0 1.5em; 
}

#postcodelist { width: 550px; }
#postcodelist UL { margin-top: 0; }
#postcodelist TABLE TH { text-align: left; }
#postcodelist TABLE TD { vertical-align: top; }
#postcodelist UL { list-style-type: disc; }

#banner #contact {
    margin-top: 10px;
    float: right;
    color: #5B99E2;
    font-size: 11pt;
    margin-right: 1em;
    text-align: right;
    }

#banner #contact P.phoneno {
    color: black;
    font-size: 12pt;
    font-weight: bolder;
    margin-bottom: 0.5em;
    }
    
#banner #contact P {
    margin: 0;
    }

DIV#settingsmenu INPUT.button { 
    margin: 1em 0;
    }

DIV#settingsmenu H4 { 
    margin: 1em 0 0 0;
    }


