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

}  
@font-face {
    font-family: 'Aladin';
    src: url('../ttf/aladin-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
   

}
/*                
@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-display: swap;
   

}
*/
div h1 {font-size:  30px; margin-bottom: 8px}
div h2 {font-size:  22px; margin-bottom: 8px}
/*div h1 {font-size: font-size: 2.0068965517rem; line-height: .8438;}
div h2 {font-size: font-size: 2.0068965517rem; line-height: .8438; }*/

@media screen and (max-width: 1053px) {
#left, #border, #logo, #adv_2 {display: none;}
#out {
    float: left !important;
    margin-left: auto !important;
    width: 100%;
}
#right {
    margin-left: auto !important;
    padding: 20px 0 0;
}
#footer {width: 100% !important; text-align: left !important}

.best_c, .goodgame, .featclassimg, .featcontbg, .adv_box, .adv_box_recl {display: none;}
/*body {max-width: 880px !important} 
.head, .contenttank {max-width: 880px !important} */
.tank_cont {max-width: 980px !important; padding-right: 0 !important; margin-right: 0 !important;}
.left, .gboxbg, .box, .descrbg {max-width: 980px !important; padding-right: 0 !important; margin-right: 0 !important;}
iframe {max-width: 880px !important}
embed {max-width: 880px !important}
object {max-width: 880px !important}
p,div,span,font,a,h1,h2,h3 {font-size: 18px !important}
#bot_menu {width: 800px !important; display: block !important}
.b_items {display: block !important}
}

@media screen and (max-width: 777px) {
#left, #border, #logo,#adv_2 {display: none;}
#out {
    float: left !important;
    margin-left: auto !important;
    width: 100%;
}
#right {
    margin-left: auto !important;
    padding: 20px 0 0;
}
#footer {width: 100% !important; text-align: left !important}

.best_c, .goodgame, .featclassimg, .featcontbg, .adv_box, .adv_box_recl {display: none;}
/*.body {max-width: 760px !important} 
.head, .contenttank {max-width: 760px !important} */
.tank_cont {max-width: 750px !important; padding-right: 0 !important; margin-right: 0 !important;}
.left, .gboxbg, .box, .descrbg {max-width: 750px !important}
iframe {max-width: 660px !important}
embed {max-width: 660px !important}
object {max-width: 660px !important}
p,div,span,font,a,h1,h2,h3 {font-size: 18px !important}
#bot_menu {width: 750px !important; display: block !important}
.b_items {display: block !important}
}


@media screen and (max-width: 700px) {
#left, #border, #logo,  #adv_2 {display: none;}
#out {
    float: left !important;
    margin-left: auto !important;
    width: 100%;
}
#right {
    margin-left: auto !important;
    padding: 20px 0 0;
}
#footer {width: 100% !important; text-align: left !important}

.best_c, .goodgame, .featclassimg, .featcontbg, .adv_box, .adv_box_recl {display: none;}
/*.body {width: 730px !important} 
.head, .contenttank {width: 710px !important} */
.tank_cont {max-width: 600px !important; padding-right: 0 !important; margin-right: 0 !important;}
.left, .gboxbg, .box, .descrbg, #bot_menu {max-width: 600px !important}
iframe {max-width: 600px !important}
embed {max-width: 600px !important}
object {max-width: 600px !important}
p,div,span,font,a,h1,h2,h3 {font-size: 18px !important}
#bot_menu {width: 580px !important; display: block !important}
.b_items {display: block !important}
}


@media screen and (max-width: 640px) {
#adv_descr div{min-height: 460px !important}
#left, #border, #logo,  #adv_2 {display: none;}
#out {
    float: left !important;
    margin-left: auto !important;
    width: 100%;
}
#right {
    margin-left: auto !important;
    padding: 20px 0 0;
}
#footer {width: 100% !important; text-align: left !important}

.best_c, .goodgame, .featclassimg, .featcontbg, .adv_box, .adv_box_recl {display: none;}
/*.body {width: 730px !important} 
.head, .contenttank {width: 710px !important} */
.tank_cont {max-width: 600px !important; padding-right: 0 !important; margin-right: 0 !important;}
.left, .gboxbg, .box, .descrbg, #bot_menu {max-width: 600px !important}
iframe {max-width: 600px !important}
embed {max-width: 600px !important}
object {max-width: 600px !important}
p,div,span,font,a,h1,h2,h3 {font-size: 18px !important}
#bot_menu {width: 580px !important; display: block !important}
.b_items {display: block !important}
}


html, body{
    height: 100%; 
}

html{
    background: #79868E;
    
    background: url(../jpg/back.jpg);
    color:#808080;
    font: 16px Aladin;
      letter-spacing: 0.5px;
    font-weight: normal;
}
body{
    margin: 0;
}

h2 {
    font: 18px Aladin;
    font-weight: bold;
    color: #800000;
}


#container{
    position: relative;
    /*height:100%;*/
    max-width:1100px;
    margin: 0 auto;
}


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

#all{
    padding: 10px 0 60px;
    overflow: hidden;
}
#left{
    float: left;
    width: 250px;
    padding: 230px 0 0;
    margin-left: 20px;
}
#out {
    float: right;
    width: 100%;
    margin-left: -285px;
}
#right {
    margin-left: 285px;
    padding: 20px 0 0;
}
#pic {
    height: 190px;
    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: 85%;
    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: 70px;
    height: 80px;
    display: block;
    margin-bottom: 7px;
    background: /*#ddd*/ url(../png/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{
    max-width: 730px;
    border: 2px solid #01437D;
    border-radius: 5px;
    padding: 10px;
    overflow: hidden;
    margin: 10px  0 0;
}

#game_h{
    margin: 0 10px 10px;
    color: #00008B;
    text-align: justify;
    font-size: 1.2em;
}
#h_img{
    border: none;
}
.mouse_left {
    float: left;
    width: 22px;
    height: 30px;
    background: url(../png/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: 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: 293px;
    height: 250px;
    margin: 0 auto 20px;
    background: url(../png/top_menu.png) no-repeat 50% 0;
    text-indent: -1000px;
    overflow: hidden;
}

#footer{
    overflow: hidden;
    position: relative;
    /*height:30px;*/
    margin: 0 50px;
    line-height: 30px;
    text-align: right;
    color: white;
    font-size:  16px !important; 
}


#adv_descr{
    max-width: 746px;
    margin-bottom: 10px;
}

#adv_descr div{
   padding: 5px 10px 0px 10px; 
   color: maroon; 
   text-align: justify;
   font-size: 19px;
   min-height: 336px;
}


#adv{
    max-width: 746px;
}

#adv div{
   padding: 5px 10px 0px 10px; 
   color: maroon; 
   text-align: justify;
   font-size: 18px;
   
}

#adv_2 {
   padding: 0px !important; 
   margin: 5px !important;
   color: maroon; 
   text-align: center !important;
   font-size: 18px;
   height: 282px;
}

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

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

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

li img{
    margin-right: 8px;
}

li a{
    color: #8B008B;
    font-size: 1.5em;
    text-decoration: none;
    line-height: 35px;
    vertical-align: top;
}

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;
	letter-spacing: normal;
}
h2 a:hover, #menu_head a:hover{
    color: #01437D;
	letter-spacing: normal;
}
#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: 17px;
    text-align: justify;
    /*line-height: 18px;*/
}
#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: viking77;
}
.i_head h2{
    margin: 0.5em 0;
}
li {
    margin: 10px 0;
    list-style: none;
}
.items, #adv, #adv_descr, #game, #menu, #border {
    background: lightgray url(../png/adv.png);
/*    border: 4px solid #0FFF37;*/
    border: 4px solid #FFA70F;
    border-radius: 8px;
}

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

h2 a, #menu_head a {
    color: #FFFAF0;
    text-decoration: none;
    font: 25px viking77;
}

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

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

#game .c_items{
    width: 170px;
    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(../png/raitings.png); width:83px; } /* "Чистые" звездочки */
#raiting_votes {background:url(../png/raitings.png) 0 -16px} /*  Закрашенные звездочки */ 
#raiting_hover {background:url(../png/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;
}