@font-face {
    font-family: 'arlekino';
    src: url('arlekino.eot');
    src: url('arlekino.eot?#iefix') format('embedded-opentype'),
         url('arlekino.woff') format('woff'),
         url('arlekino.ttf') format('truetype'),
         url('arlekino.svg#arlekino') format('svg');
    font-weight: normal;
    font-style: normal;

}
html, body{
    height: 100%; 
}

html{
    background: #9A7652;
    
    background: url(/img/back.png);
    color:#808080;
    font: 11px tahoma, verdana, geneva, sans-serif;
}
body{
    margin: 0;
}
#container{
    position: relative;
/*   background: url(/img/back.png);*/
    /*height:100%;*/
    width:1080px;
    margin: 0 auto;
    /*background: url(/img/back.png);
    background-position: 0 296px;*/
}


#main{
    min-height: 100%;
    margin: 0 10px -30px;
}

#all{
    padding: 10px 0 60px;
    overflow: hidden;
}
#left{
    float: left;
    width: 280px;
    padding: 290px 0 0;
    margin-left: 10px;
}
#out {
    float: right;
    width: 100%;
    margin-left: -290px;
}
#right {
    margin-left: 300px;
    padding: 20px 0 0;
}
#pic {
    height: 190px;
    overflow: hidden;
    margin: -20px 0 -28px 130px;
}
.border {
    padding: 20px 0 10px 10px;
}

.border li a{
    font-family: arlekino;
    font-size: 1.9em;
    text-decoration: none;
    line-height: 35px;
    vertical-align: top;
    color: yellow;
}


.border li {
    margin: 10px 0;
    list-style: none;
}

.border li img{
    margin-right: 8px;
}

.border li a:hover{
    color: #2D1B7F;
}


a img {
    border: none;
}
/*Back to top button*/ 

#back-top {
    position: fixed;
    top: 80%;
    z-index: 999;
    margin-left: 90%;
}
#back-top a {
    width: 60px;
    display: block;
    text-align: center;
    font: 11px/100% Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #bbb;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}
#back-top a:hover {
    color: #000;
}
/* arrow icon (span tag) */
#back-top span {
    width: 130px;
    height: 130px;
    display: block;
    margin-bottom: 7px;
    background: /*#ddd*/ url(/img/web.png) no-repeat center center;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}

#game{
    width: 722px;
    border: 2px solid #01437D;
    border-radius: 5px;
    padding: 10px;
    overflow: hidden;
    margin: 10px  0 0;
}

#game_h{
    margin: 0 20px 20px;
    color: #fff;
    font-size: 1.2em;
}
#h_img{
    border: none;
}
.mouse_left {
    float: left;
    width: 22px;
    height: 30px;
    background: url(/img/mouse_left.png) no-repeat top;
    text-align: center;
    margin: 5px;
    color: black;
    line-height: 25px;
}

.game_control {
    line-height: 40px;
    padding: 0 0 0 40px;
    color: #fff;
    font-size: 1.2em;
}

#game_control{
    margin: 20px 20px;
}

.cell{
    height: 247px;
}



#header{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 00px;
}
#logo{
    position: absolute;
/*    top: 10px;*/
    left: 0;
    width: 225px;
    height: 220px;
    text-align: center;
    font-size: 18px;
    font-family: myriad, arial, helvetica, sans-serif;
}
#logo span{
    font-size: 36px;
    color: #00afdd;
}

#logo a{
    display: block;
    width: 1080px;
    height: 300px;
    margin: 0 auto 20px;
    background: url(/img/head.png) no-repeat;
    text-indent: -1000px;
    overflow: hidden;
}

#footer{
    overflow: hidden;
    position: relative;
    margin: 0 50px;
    text-align: right;
    color: white;
    font: 15px arlekino;
}


#adv_plus{
    width: 742px;
    margin: 10px 0 0 0;
}

#adv_plus div{
   padding: 10px; 
   color: white; 
   text-align: justify;
   font-size: 1.2em;
}

#adv{
    width: 742px;
    margin: 270px 0 0 0;
}

#adv div{
   padding: 10px; 
   color: white; 
   text-align: justify;
   font-size: 1.2em;
}

#menu{
    width: 210px;
    float: left;
    margin: 0px 10px 0 0;
    padding: 15px;
    border: 2px solid #01437D;
    border-radius: 5px;
}

.items{
    /*background-size: 100%; */
    height: 245px;
    border: 2px solid #01437D;
    border-radius: 5px;
    padding: 0 10px 5px 10px;
}

.items_random_block{
    /*background-size: 100%; */
    background: #9A7652 url(/img/380.gif);
    border: 2px solid black;
    height: 245px;
    border-radius: 5px;
    padding: 0 8px 5px 8px;
}

#content{
    float: left;
    width: 770px;
    margin: -290px 0 20px 0;
}
#contents{
    padding: 0 0 0 20px;
}

/*add demon */
/*

li a{
    font-family: arlekino;
    font-size: 1.9em;
    text-decoration: none;
    line-height: 35px;
    vertical-align: top;
    color: yellow;
}


li img{
    margin-right: 8px;
}

li a:hover{
    color: #2D1B7F;
}

*/


/*
#footer{
    margin: 19px 21px 10px 0;
    color: darkred;
    text-align: right;
    font-size: 1em;
    padding-top: 5px;
    clear: both;
}
 */
h2 a{
    color: #fff;
    text-decoration: none;
}
h2 a:hover, #menu_head a:hover{
    color: #01437D;
}
#menu_head img{
    margin: 0 10px;
}
#menu_head{
    margin: 0 0 5px 0;
}

#menu_head a{
    font-size: 2em;
    color: white;
    text-decoration: none;
}

.item{
    overflow: hidden;
}

.item a{
    display: block;
    float: left;
    text-align: left;
    text-decoration: none;
}

.intro{
    color: ivory;
    float: right;
    width: 55%;
    height: 160px;
    font-size: 13px;
    text-align: justify;
    line-height: 15px;
}
#header a{
    text-decoration: none;
}

#vk_comments{
    color: red;
}
#s_logo{
    height: 30px;
    width: 32px;
    margin: 0 10px;
    float: left;
}
.i_head{
    text-align: center;
    color: #FFFAF0;
    text-decoration: none;
   /* font-family: 'arlekino';*/
}
.i_head h2{
    margin: 0.3em 0;
/*    font-family: 'arlekino';*/
    color: yellow;
    font-size: 2em;
    letter-spacing: 5px;
}


/*
.items {
    border: 4px solid black;
    border-radius: 8px;
    background: #724E32;
}
*/

.items, #adv, #adv_plus, #game, #menu, #border, .border {
    background: #9A7652 url(/img/380.gif);
    border: 4px solid black;
    border-radius: 8px;
}

/*#top_menu{
    background: url(/img/top_menu.png) no-repeat bottom;
    width: 240px;
    height: 290px;
} */

h2 a, #menu_head a {
    color: yellow;
    text-decoration: none;
    font: 30px arlekino;
    letter-spacing: 1px;
}

h2 a:hover, #menu_head a:hover, li a:hover {
color: #fff;
}

.c_items, .d_items{
    float: left;
    overflow: hidden;
}
.c_items{
    width: 370px;
    margin: 10px 10px 0 0; 
}

#game .c_items{
    width: 168px;
    margin: 10px 12px 0 0;
}

#game .c_items .items{
    height: 220px;
}
#game .c_items .i_head{
    height: 75px;
}

#raiting {position:relative; height:16px; cursor:pointer; width:83px; float:left} 
#raiting_blank, #raiting_votes, #raiting_hover {height:16px; position:absolute}
#raiting_blank { background:url(/img/raitings.png); width:83px; } 
#raiting_votes {background:url(/img/raitings.png) 0 -16px} 
#raiting_hover {background:url(/img/raitings.png) 0 -32px; display:none}  
#raiting_info {margin-left:100px; color: #000;}
#raiting_info img{vertical-align:middle; margin:0 5px; display:none}
#raiting_info h3 {margin-top: 0;}
#raiting_info h3 b{color: deepskyblue;}
#raiting_info h3 span{color: yellow;}
#raiting_star{
    margin-bottom: 10px;
    height: 16px;
}