﻿body, html {
    padding: 0px;
    margin: 0px;
    height: 100%;
    width: 100%;
}

body {
    font-family: Arial;
    font-size: 14px;
    position:relative;
}

#Body {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
}

#Header {
    top: 0px;
}

#Footer {
    bottom: 0px;
}
#Header, #Footer {
    position: absolute;
    left: 0px;
    right: 0px;
    height: 30px;
    text-align: center;
}

#Header{
    background-color: #dd2b1c;
    color: white; 
}
#Footer {
    background-color: #3c2b99;
    color: white;
}

    #Header div, #Footer div {
        padding-top: 6px;
        letter-spacing:2px;
    }

    #Header div a, #Footer div a{
        color:white;
    }

#Conetnt {
    background-color: whitesmoke;
    position: absolute;
    left: 0px;
    top: 31px;
    right: 0px;
    bottom: 31px;
}

    #LBox {
        position: absolute;
        left: 0px;
        top: 30px;
        width: 280px;
        bottom: 0px;
        overflow: hidden;
        background-color:silver;
        background-image:url(bg.png);
    }

#Counter {
    position:absolute;
    bottom:20px;
    left:0px;
    width:270px;
    height:50px;
    text-align:center;
}

    #RBox {
        position: absolute;
        left: 280px;
        top: 30px;
        right: 0px;
        bottom: 30px;
        overflow: auto;

        background: url(bg.jpg) no-repeat center center fixed; 
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

#Menu {
    padding:100px 10px 0 10px;
}

#Menu a{
    font-size:17px;
    display:block;
    padding:15px;
    background-color:whitesmoke;
    margin-bottom:5px;
    color:#515151;
    border-top:solid 1px transparent;
    border-bottom:solid 1px transparent;
}

#Menu a:hover {
    border-top:solid 1px #515151;
    border-bottom:solid 1px #515151;
}

#Detail {
    margin:100px 20px 20px 20px;
}

#Detail .Box{
    background-color:whitesmoke;
    padding:20px;
    margin-bottom:20px;
}

#Detail .Box p{
    text-align:justify;
}

.Gallery{
    max-width:150px;
    max-height:110px;
    padding:3px;
    border:solid 1px gray;
    margin:5px;
}

.Gallery span{
    display:block;
    max-width:150px;
    max-height:120px;
    margin:1px;
}

.Gallery:hover{
    background-color:#fff7cb;
    border:solid 1px orange;
}


#Logo {
    padding:3px;
    background-color:white;
    border:solid 1px gray;
}

.CGallery a {
    display:block;
    font-size:20px;
    padding:15px;
    margin-bottom:5px;
    color:#515151;
    border-top:solid 1px transparent;
    border-bottom:solid 1px transparent;
    vertical-align:middle;
}

.CGallery a img{

}

.CGallery tr:hover td{
    border-top:solid 1px #515151;
    border-bottom:solid 1px #515151;
    background-color:silver;
    background-image:url(bg.png);
}

CGallery tr td{
    border-top:solid 1px transparent;
    border-bottom:solid 1px transparent;
    
}