body{
    font-family: arial, verdana;
    font-size: 12px;
    margin: 0;
    padding: 0;
    text-align: center;
}

h2{
    padding: 0;
    font-size: 25px;
    margin-top: 20px;
    margin-bottom: 0px;
}

h3{
    margin-bottom: -6px;
    margin-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 16px;
}

p{
    padding-left: 10px;
    padding-right: 10px;
}

a{
    color: black;
}

a:hover{
    font-weight: bold;
}

a:active{
    outline: none;
}

a:visited{
    outline: none;
}

a:link{
    outline: none;
}

#container{
    position: relative;
    text-align: center;
    background: white;
    border: 1px solid black;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -moz-box-shadow: 2px 3px 3px silver;
    box-shadow: 2px 3px 3px silver;
    padding: 8px;
    margin: auto;
    margin-top: 10px;
    max-width: 562px;
    _width: 562px;
}

#header{
    padding: 0;
    margin: 20px;
    margin-bottom: 0px;
    background: white;
    margin:auto;
    border-width: 1px;
    border-style: solid none;
    border-color: black;
    text-align: left;
    padding: 0;
}

a.menu{
    display: inline-block;
    height: 20px;
    width: 100px;
    margin: 5px;
    _margin: 4px;
    border: 1px solid black;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    color: black;
}

a:hover.menu{
    font-weight: bold;
    -moz-box-shadow: 1px 2px 2px silver;
    box-shadow: 1px 2px 2px silver;
}

#title{
    text-align: center;
    margin: 10px;
    padding: 0px;
    font-size: 30px;
}

#main{
    padding: 5px 0;
    background: white;
    border-width: 1px;
    border-style: solid none;
    border-color: black;
    margin:auto;
    margin-top: 5px;
    text-align: left;
}

#gImagesBg{
    display: none;
    background: black;
    position:absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
}

#gImages{
    border: 1px solid #444;
    border-color: rgba(50, 50, 50, 0.7);
    _border-color: #444;
    -moz-border-radius: 10px;
    border-radius: 10px;
    display:none;
    background-color: rgba(0, 0, 0, 0.7);
    _background: black;
    position:absolute;
    top: 50%;
    left: 50%;
    width:0;
    height:0;
    margin-top: 0;
    margin-left: 0;
}

#gInner{
    position:absolute;
    top: 10px;
    left: 10px;
    background: white;
    overflow: auto;
}

.navbutton{
    border: 1px solid #444;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    _background: black;
    color: #444;
    height: 30px;
    width: 30px;
    -moz-box-shadow: 2px 4px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 2px 4px 3px rgba(0, 0, 0, 0.3);
}

.navbutton:hover{
    background: #333;
    border: 1px solid white;
    color: white;
}

.navbutton:focus{
    border: 1px solid white;
    color: white;
}

#gButtonLeft{
    position:absolute;
    bottom: 10px;
    left: 10px;
}

#gButtonRight{
    position:absolute;
    bottom: 10px;
    right: 10px;
}

#gControls{
    position: absolute;
    bottom: 15px;
    width: 100%;
    left: 0;
    text-align: center;
    text-shadow: 0px 0px 4px black;
}

#gControls a{
    color: #666;
    font-family: arial, verdana;
    font-size: 12px;
}

#gControls a:hover{
    color: white;
}

.galery{
    display: none;
    border: 1px solid #444;
}

.thumbnail{
    margin: 5px;
    cursor: pointer;
    border: 1px solid white;
}

a img.thumbnail{
    margin: 3px;
    _margin: 1px;
    cursor: pointer;
    border: 3px solid #484848;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -moz-box-shadow: 1px 3px 4px gray;
    box-shadow: 1px 3px 4px gray;
}

a:hover img.thumbnail{
    -moz-box-shadow: 3px 5px 7px gray;
    box-shadow: 3px 5px 7px gray;
    border-color: black;
}

img#random{
    float: right;
    margin: 5px;
    border: 3px solid #484848;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -moz-box-shadow: 1px 3px 4px gray;
    box-shadow: 1px 3px 4px gray;
}