body {
    margin:0;
    padding:0;
}

body a{
    text-decoration:none;
    font-weight:bold;
}

#header {
    margin-left:5%;
}

.d_grey{
    color:#5f5f5f;
}
.l_grey{
    color:#9a9a9a;
}

#menu {
    margin:0 auto;
    margin-top:10px;
    text-align:right;
    margin-right:5%;
    margin-bottom:2%;
    clear:both;
}

#splash{
    border:1px solid #B1B2AF;
}

#content{
    margin-top:5%;
    margin-left:auto;
    margin-right:auto;
    width:800px;
    min-height:380px;
    vertical-align:middle;
}

table {
    width:100%;
}

td {
    padding-top:5px;
    padding-left:5px;
    padding-right:5px;
    width:110px;
    background:#e9e9e9;
    text-align:center;
}

td img{
    border:1px solid #606060;
}

.rus{
    margin-right:3%;
}

.bottom {
    position:absolute;
    color:#000;
    bottom:5%;
    text-align:center;
    margin-left:20%;
    margin-right:20%;
}

.errors{
    color:#cf4346;
}

#logged_in{
    height:50px;
    width:70px;
    text-align:right;
    margin-right:25px;
    margin-top:20px;
    float:right;
    position:relative;
}

#login_form{
    width:220px;
    height:150px;
    position:relative;
    top:80px;
    left:40%;
    text-align:left;
}

#edit{
    text-align:right;
    margin-top:20px;
}


#form-edit{
    float:right;
    display:inline-block;
    padding-right:10px;
    margin-bottom:30px;
}

.button{
    padding:2px;
    border:1px solid #606060;
    color:#5f5f5f;
    cursor:pointer;
    font-weight:bold;
}

.button a{
    color:#5f5f5f;
}

.selected{
    background:#cec9e9;
}

#go_left{
    position:relative;
    top:-170px;
    right:30px;
    float:left;
    color:#949494;
    cursor:pointer;
    font-size:xx-large;
}

#go_right{
    position:relative;
    top:-170px;
    right:-30px;
    float:right;
    color:#949494;
    cursor:pointer;
    font-size:xx-large;
}

#gallery-table{
    min-height:270px;
    padding-bottom:15px;
}

#form-upload{
    position:relative;
    float:left;
}

#ajax_notice{
    padding-bottom: 7px;
    color:gray;
    font-weight:bold;
}

#text {
    min-height:300px;
}

#loadstat{
    margin-left:auto;
    margin-right:auto;
    width:120px;
    height:20px;
    text-align:center;
    color:gray;
    background: #fff;
}
#text h1,h2,h3,h4{
    color:#9a9a9a;
}
#text {
    color:#5f5f5f;
}

#text a {
    text-decoration:underline;
    color:#535353;
}
