﻿*
{
    margin: 0; /* zero out margin */
    padding: 0; /* zero out padding */
}
html
{
    height: 100%; /* gives layout 100% height */
    overflow: inherit; /* triggers 100% height in Opera 9.5 */
}
body
{
	font-family: Arial,Helvetica,sans-serif;
	font-size: 16px;
    height: 100%; /* gives layout 100% height */
    background: #CCC;
}
a
{
	color: #1F4A16;
	text-decoration: underline;
}
a:hover
{
	color: red;
	text-decoration: underline;
}
img
{
	border: none;
}
input.text
{
	width: 95%;
}
#wrapper
{
    min-height: 100%; /* gives layout 100% height */
    width: 1024px; /* centered div must be given a width */
    margin: 0 auto; /* centers #wrapper */
    background: white;
}
* html #wrapper
{
    height: 100%; /* IE6 treats height as min-height */
}
#header
{
    height: 22px;
    background: #CCC;
}
#menu
{
    height: 100px;
    background: white;
}
#baner
{
    position: absolute;
    left: 0px;
    height: 160px;
    width: 100%; /* centered div must be given a width */
    background: #CCC;
    overflow: hidden;
}
#underbaner
{
    height: 160px;
    width: 1014; /* centered div must be given a width */
    overflow: hidden;
    margin: 5px;
}
#content
{
    width: 1014px;
    margin: 5px;
}
#right
{
    float: right;
    width: 95px; /* centered div must be given a width */
    padding: 10px 5px 5px 5px;
}
.jqmWindow
{
	display: none;
    
    position: fixed;
    top: 17%;
    left: 50%;
    
    margin-left: -300px;
    width: 600px;
    
    background-color: #EEE;
    color: #333;
    border: 1px solid black;
    padding: 12px;

}

.jqmOverlay { background-color: #000;}

* html .jqmWindow {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

.invalid
{
	border: solid 1px red;
}


#gallery tr td img {
	border: 5px solid #CCC;
	border-width: 5px 5px 10px;
}
#gallery tr td a:hover img {
	border: 5px solid #fff;
	border-width: 5px 5px 10px;
	color: #fff;
}
#gallery tr td a:hover { color: #fff; }

#slideshow {
    position:relative;
    height:140px;
}

#slideshow IMG {
    position:absolute;
    top:0;
    left:0;
    z-index:8;
}

#slideshow IMG.active {
    z-index:10;
}

#slideshow IMG.last-active {
    z-index:9;
}


