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

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

}
 @font-face {
    font-family: 'crystal';
    src:url('cristal.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}*/  
html, body{
    height: 100%; 
}

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


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

#all{
    padding: 10px 0 60px;
    overflow: hidden;
}

@media screen and (max-width:780px) {
	div#left, div#border, #border li, li{display:none}
	#left, #border{display:none}
	
	#right {
    margin-left: 10px !important;
    padding: 20px 0 0 !important;
}

}

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

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

#back-top {
    position: fixed;
    top: 80%;
    z-index: 999;
    margin-left: 90%;
}
#back-top a {
    max-width: 60px;
    width:100%;
    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 {
    max-width: 130px;
    width: 100%;
    max-height: 130px;
    height: 100%;
    display: block;
    margin-bottom: 7px;
    background: /*#ddd*/ url(/img/web.gif) no-repeat center center;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}

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

#game_h{
    margin: 0 20px 20px;
    color: #00008B;
    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: #00008B;
    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: 100%;
    height: 100%;
    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: 100%;
    /*height: 300px;*/
    height: 300px;
    margin: 0 auto 20px;
    background: url(/img/biglogo1.jpg) no-repeat 50% 0;
    text-indent: -1000px;
    overflow: hidden;
}

#footer{
    overflow: hidden;
    position: relative;
    vertical-align: 7px;
    margin: 0 50px;
    line-height: 30px;
    text-align: right;
    color: white;
}




#adv{
    max-width: 742px;
    width: 100%;
    margin: 270px 0 0 0;
}


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

#adv div li a{
    color: #FF1493;
    font-size: 12px;
    text-decoration: none;
    vertical-align: top;
}

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

.ya-share2 li a{
    color: #FF1493;
    font-size: 12px;
    text-decoration: none;
    vertical-align: top;
}

.ya-share2 li a:hover{
    color: #2D1B7F;
}



#adv_bottom {
    max-width: 742px;
    width: 100%;
    margin: 10px 0 0 0;

}

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

#menu{
    max-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;
}

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

li img{
    margin-right: 8px;
}

li a{
    color: #FF1493;
    font-family: crystal;
    font-size: 1.9em;
    text-decoration: none;
    line-height: 35px;
    vertical-align: top;
    letter-spacing: 2px;
}

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


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: #00008B;
    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: 'crystal';
}
.i_head h2{
    margin: 0.5em 0 0.2em;
    font-family: 'crystal';
    color: deepPink;
    font-size: 2em;
    letter-spacing: 5px;
}
li {
    margin: 10px 0;
    list-style: none;
}
.items, #adv, #adv_bottom, #game, #menu, #border {
    background: lightgray url(/img/adv.png);
    border: 4px solid #FF7926;
    border-radius: 8px;
}

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

h2 a, #menu_head a {
    color: darkViolet;
    text-decoration: none;
    font: 30px crystal;
    letter-spacing: 3px;
}

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

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

#game .c_items{
    max-width: 170px;
    width:100%;
    margin: 10px 12px 0 0;
}
#game .c_items .items{
    height: 220px;
}
#game .c_items .i_head{
    height: 55px;
}

#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: #F00;}
#raiting_info img{vertical-align:middle; margin:0 5px; display:none}
#raiting_info h3 b{color: #FF0;}
#raiting_info h3 span{color: green;}
#raiting_star{
    margin-bottom: 10px;
    height: 16px;
}