body {
    font-family: 'Verdana';
    margin: 0 0 20px 0;
    text-align: center;
    background-image:url('graphics/background.gif');
}
#box {
    margin-left: auto;
    margin-right: auto;
    width: 760px;
    text-align: left;
    background-color:white;
}
#header {
    position:relative;
    display:block;
    margin:0px;
    width:760px;
    height:200px;
}
/*
*   This is main menu on the top of the page
*/
#topMenu {
    position:relative;
    top:0px;
    left:0px;
    margin:0px;
    border:0px;
    width:760px;
    height:34px;
    font-size:12pt;
    font-weight:bold;
    background-image:url('graphics/topMenuBack.gif');
    background-repeat:repeat-x;

}
#topMenu a {
    display:block;
    height:22px;
    padding:5px;
    float:left;
    color:#275CAA;
    text-decoration:none;
    border-bottom:2px solid white;
}
#topMenu a.selected {
    display:block;
    height:22px;
    padding:5px;
    float:left;
    background-image:url('graphics/topMenuBackHover.gif');
    background-repeat:repeat-x;
    border-bottom:2px solid #275CAA;
}
#topMenu a:hover {
    background-image:url('graphics/topMenuBackHover.gif');
    background-repeat:repeat-x;
}
/*
    The munu on the side of photo and atricles
*/
#menu {
    width:200px;
    float:left;
    padding:10px;
    font-size:10pt;
}
html>body #menu {
    width:179px;
}
#content {
    width:560px;
    float:right;
    padding:10px;
    font-size:10pt;
}
html>body #content {
    width:539px;
}
#footer {
    border-top:1px solid #95C0FF;
    color:#FFD48A;
    padding:10px;
    text-align:left;
    font-size:10px;
    width:760px;
    clear:both;
}
html>body #footer {
    width:740px;
}
/*
    Footer table
*/
#footer td {
    width:33%;
    color:gray;
    font-size:10pt;

}
/*
    Index layout
*/
#overview {    
    width:380px;
    float:left;
    padding:7px;
    font-size:10pt;
}
html>body #overview {
    width:365px;
}
#gallery {
    width:184px;
    float:left;
    padding:8px;
    font-size:10pt;
}
html>body #gallery {
    width:167px;
}
#more {
    width:195px;
    float:left;
    padding:8px;
    font-size:10pt;
}
html>body #more {
    width:178px;
}
#gallery, #more, #content {
    border-left:1px solid #B2CAFF;
}
#slideshow #slidesContainer {
    margin:0 auto;
    width:348px;
    height:200px;
    overflow:auto; /* allow scrollbar */
    position:relative;
}
#slideshow #slidesContainer .slide {
    margin:0 auto;
    width:348px; /* reduce by 20 pixels to avoid horizontal scroll */
    height:200px;
    float:left;
}
/**
 * Slideshow controls style rules for slideshow
*/
.control {
    width:20px;
    height:16px;
    margin-top:-5px;
    position:relative;
    cursor: pointer;
    display:block;
}
#leftControl {
    margin-left:40px;
    float:left;
    background:transparent url(graphics/arrow_left.png) no-repeat 0 0;
}
#rightControl {
    margin-right:40px;
    float:right;
    background:transparent url(graphics/arrow_right.png) no-repeat 0 0;
}
/*
    Gallery layout
*/
div.img
{
    margin: 2px;
    height: auto;
    width: auto;
    float: left;
    text-align: center;
}
div.img img
{
    display: inline;
    margin: 4px;
}
div.img:hover{background-color:#B1D0FF;}
div.desc
{
    color:gray;
    text-align:left;
    font-size:9pt;
    width: 166px;
    margin: 2px;
}
/*
    Comment form style
*/
#comment label {
    display:block;
    width:80px;
    vertical-align:top;
    text-align:right;
}

#comment input {
    border:1px solid #275CAA;
}
#comment textarea {
    border:1px solid #275CAA;
}
#comment label, #comment input, #comment textarea {
    float:left;
    margin:2px;
}
/*
    Admin add news layout
*/
.firstColumn {
    width:100px;
    color:gray;
}
.secondColumn {
    width:460px;
}
/*
    Buttons
*/
.buttons a, .buttons button{
    display:block;
    float:left;
    margin:0 7px 0 0;
    background-color:#f5f5f5;
    border:1px solid #dedede;
    border-top:1px solid #eee;
    border-left:1px solid #eee;

    font-size:12px;
    line-height:130%;
    text-decoration:none;
    font-weight:bold;
    color:#565656;
    cursor:pointer;
    padding:5px 10px 6px 7px; /* Links */
}
.buttons button{
    width:auto;
    overflow:visible;
    padding:4px 10px 3px 7px; /* IE6 */
}
.buttons button[type]{
    padding:5px 10px 5px 7px; /* Firefox */
    line-height:17px; /* Safari */
}
*:first-child+html button[type]{
    padding:4px 10px 3px 7px; /* IE7 */
}
.buttons button img, .buttons a img{
    margin:0 3px -3px 0 !important;
    padding:0;
    border:none;
    width:16px;
    height:16px;
}

/* STANDARD */

button:hover, .buttons a:hover{
    background-color:#dff4ff;
    border:1px solid #c2e1ef;
    color:#336699;
}
.buttons a:active{
    background-color:#6299c5;
    border:1px solid #6299c5;
    color:#fff;
}

/* POSITIVE */

button.positive, .buttons a.positive{
    color:#529214;
}
.buttons a.positive:hover, button.positive:hover{
    background-color:#E6EFC2;
    border:1px solid #C6D880;
    color:#529214;
}
.buttons a.positive:active{
    background-color:#529214;
    border:1px solid #529214;
    color:#fff;
}

/* NEGATIVE */

.buttons a.negative, button.negative{
    color:#d12f19;
}
.buttons a.negative:hover, button.negative:hover{
    background:#fbe3e4;
    border:1px solid #fbc2c4;
    color:#d12f19;
}
.buttons a.negative:active{
    background-color:#d12f19;
    border:1px solid #d12f19;
    color:#fff;
}

/* REGULAR */

button.regular, .buttons a.regular{
    color:#336699;
}
.buttons a.regular:hover, button.regular:hover{
    background-color:#dff4ff;
    border:1px solid #c2e1ef;
    color:#336699;
}
.buttons a.regular:active{
    background-color:#6299c5;
    border:1px solid #6299c5;
    color:#fff;
}
/*
    Base layout
*/
a {
    text-decoration:none;
}
a:hover {
    text-decoration:underline;
}
h1 {
    font-size:12pt;
}
h2 {
    font-size:11pt;
}
img {
    border:0;
}
.errorMsg, .infoMsg {
    display:block;
    width:100%;
    margin-bottom:10px;
    padding:10px;
    border:1px solid;
}
html>body .errorMsg, html>body .infoMsg {
    width:96%;
}
.errorMsg {
    background-color:#F39E77;
    border-color:red;
}
.errorMsg:before {
    content:url(graphics/cross.png);
}
.infoMsg {
    background-color:#D4E7B2;
    border-color:green;
}
.infoMsg:before {
    content:url(graphics/accept.png);
}
td {
    font-size:10pt;
}
ul {
    margin:0px;
    padding-left:15px;
}
table p {
    font-size:10pt;
}
.clearer {
    clear:both;
}
.controlMessage {
    position:relative;
    display:block;
    margin:0px;
    padding:2%;
    background-color:#ABDEA3;
    color:red;
    text-align:center;
    width:100%;
}
html>body .controlMessage {
    width:96%;
}
.head {
    display:block;
    width:100%;
    color:#275CAA;
    text-align:center;
    background-color:#E6FCFD;
    border-top:1px solid #B2CAFF;
    padding-top:10px;
    padding-bottom:10px;
}
.hide {
    display:none;
}