html {
    text-align: center;
   // background-color: #0C0C0C;
   background-color: #191919;
   
}
body {
    
    

    display: inline-block;
    width: 96%;
    max-width: 500px;
    border: 0px solid #404040;
    margin: 0 auto;
    

    margin-left: 0px;
	margin-right: 0px;
	border-style: solid;
	border-width: 0px 7px 0px 7px;
	-moz-border-image: url(/game_files/game_pictures/etc/middle.png) 0 7 0 7 repeat;
	-webkit-border-image: url(/game_files/game_pictures/etc/middle.png) 0 7 0 7 repeat;
	-o-border-image: url(/game_files/game_pictures/etc/middle.png) 0 7 0 7 repeat;
	border-image: url(/game_files/game_pictures/etc/middle.png) 0 7 0 7 repeat;

    font-family: Arial, "FreeSans", "Garuda", Helvetica, "Bitstream Vera Sans", sans-serif;
    font-size: 16px;
    
    padding: 0;
    
    color: gray;
    text-align: center;
  
    
    /*background-color: #192B35;*/
    /*background-color: #0C0C0C;*/
    /*color: whitesmoke;*/
    
    
    background: #050505;
    color: #bbbbbb;
    
}

.tpets{
    display: table;
    /*table-layout: fixed;*/
    border-collapse: collapse;
    padding: 0;
}

h2 {
width: 100%;
color: #b5e8ed;
font-size: 18px;
margin: 0;
padding: 0;
text-align: center;
}
h2:after {
display: inline-block;
margin: 5px 5px 5px 5px;
height: 2px;
content: " ";
text-shadow: none;
box-shadow: 0 0 50px #fff;
background-color: #48C6D4;
width: 10%;
}
h2:before {
display: inline-block;
margin: 5px 5px 5px 5px;
height: 2px;
content: " ";
text-shadow: none;
box-shadow: 0 0 50px #fff;
background-color: #48C6D4;
width: 10%;
}

.coin {
    font-family: 'Times New Roman', Times, serif;
    font-size: 250%;
    color: #ececec;
    word-wrap: break-word;
    padding: 10px;
    text-align: center;
}


.nav-bar{
    padding: 7px 0;
    font-size: 14px;
    text-align: center;
    background-color: #191919;
}
.nav{
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 40px; /*54*/
}

.nav2-bar{
    padding: 7px 0;
    font-size: 14px;
    text-align: center;
    background-color: #191919;
}
.nav2{
    display: table;
    table-layout: fixed;
   width: 100%;
    height: 40px; /*54*/
}


.nav3-bar{
    padding: 7px 0;
    font-size: 14px;
    text-align: center;
    background-color: #191919;
}
.nav3{
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 40px; /*54*/
}

.nav_cup{
    width: 33.34%;
    display: table-cell;
    text-align: center;
}
.nav a{
    display: table-cell;
    padding-bottom: 4px;
    vertical-align: middle;
 //   border-top: 1px solid #4E4E4E;
  //  border-bottom: 1px solid #000000;
    text-align: center;
    font-size: 13px;
   
    color: #8eb4ff;
    border-top: 1px solid #404040;
    border-bottom: 1px solid #404040;
    box-shadow: inset 0 0 15px #303030;
 //   background-color: #262626;
}

.nav2 a{
    display: table-cell;
    padding-bottom: 4px;
    vertical-align: middle;
 //   border-top: 1px solid #4E4E4E;
  //  border-bottom: 1px solid #000000;
    text-align: center;
    font-size: 13px;
    color: #8eb4ff;
    border-top: 1px solid #404040;
    border-bottom: 1px solid #404040;
    box-shadow: inset 0 0 15px #303030;
 //   background-color: #262626;
}

.nav3 a{
    display: table-cell;
    padding-bottom: 4px;
    vertical-align: middle;
 //   border-top: 1px solid #4E4E4E;
  //  border-bottom: 1px solid #000000;
    text-align: center;
    font-size: 13px;
    color: #8eb4ff;
    border-top: 1px solid #404040;
    border-bottom: 1px solid #404040;
 //   box-shadow: inset 0 0 15px #303030;
 //   background-color: #262626;
}

.nav_cup a{
    padding-bottom: 4px;
    vertical-align: middle;
    text-align: center;
    font-size: 13px;
   
    background-color: #262626;
}

.nav_cup a.cup1,
.nav_cup a.cup2,
.nav_cup a.cup3
 {
    background-position: 50% 5px;
    background-repeat: no-repeat;
}

.nav_cup a.cup1{background-image: url("http://mdrag.ru/style/img/tyrnir/cup_1.png")}
.nav_cup a.cup2{background-image: url("http://mdrag.ru/style/img/tyrnir/cup_2.png")}
.nav_cup a.cup3{background-image: url("http://mdrag.ru/style/img/tyrnir/cup_3.png")}

.nav a.home,
.nav a.char,
.nav a.clan {
    background-position: 50% 5px;
    background-repeat: no-repeat;
    
}

.nav3 a.home,
.nav3 a.char,
.nav3 a.clan {
    background-position: 50% 5px;
    background-repeat: no-repeat;
    
}

.nav2 a.home,
.nav2 a.char,
.nav2 a.clan {
    background-position: 50% 5px;
    background-repeat: no-repeat;
    
}



//.nav a.home{background-image: url("http://mdrag.ru/style/img/icon/nav_home.jpg")}
//.nav a.char{background-image: url("http://mdrag.ru/style/img/icon/nav_char.jpg")}
//.nav a.clan{background-image: url("http://mdrag.ru/style/img/icon/nav_clan.jpg")}

.ttablo{
 cellpadding: 0;
 cellspacing: 0;
 width: 100%;
 // style: margin-top: -20px;
   // vertical-align: text-bottom;
    
}

.trr1 {
  border: 1px solid #404040;
  box-shadow: inset 0 0 15px #303030;
  display: block;
  width: 33%;
  text-align: left;
}

.trr2 {
  border: 1px solid #404040;
  box-shadow: inset 0 0 15px #303030;
  display: block;
  width: 34%;
  text-align: center;
}

.trr3 {
  border: 1px solid #404040;
  box-shadow: inset 0 0 15px #303030;
  display: block;
  width: 33%;
  text-align: right;
}


.bodyy {
    
    

    display: inline-block;
    width: 100%;
    max-width: 500px;
    border: 0px solid #404040;
    margin: 0 auto;
    
    font-family: Arial, "FreeSans", "Garuda", Helvetica, "Bitstream Vera Sans", sans-serif;
    font-size: 16px;
    
    padding: 0;
    
    color: gray;
    text-align: center;
  
    margin-top: 1px;
    /*background-color: #192B35;*/
    /*background-color: #0C0C0C;*/
    /*color: whitesmoke;*/
    
    background: #050505;
    color: #bbbbbb;
    
}

body.char, body.item, .journal, .left-text {
    text-align: left;
}

.item._str i{background-image: url("/game_files/game_pictures/pets/pony1.jpg")}
.item._hp i{background-image: url("/style/img/icon/hp_big.png")}
.item._def i{background-image: url("/style/img/icon/def_big.png")}







input, textArea {
    outline: 0;
    /*color: goldenrod*/
}

.middle{
	margin-left:1px;
	margin-right:1px;
	border-style: solid;
	border-width: 0px 7px 0px 7px;
	-moz-border-image: url(/game_files/game_pictures/etc/middle.png) 0 7 0 7 repeat;
	-webkit-border-image: url(/game_files/game_pictures/etc/middle.png) 0 7 0 7 repeat;
	-o-border-image: url(/game_files/game_pictures/etc/middle.png) 0 7 0 7 repeat;
	border-image: url(/game_files/game_pictures/etc/middle.png) 0 7 0 7 repeat;
}
input[type="text"] {
   background-color: white;
   color: black;
}
input[type="password"] {
   background-color: white;
   color: black;
}
input[type="submit"] {
  color: black;
}


textarea {
   background-color: white;
   color: black;
}

input.center {
    text-align: center;
}
a {
    /*color: #D20000;*/
    color: #F4D06E;
    text-decoration: none;
}

.atk-ref {
    display: block;
    border: 1px solid gray;
    width: 100%;
    min-height: 25px;
    /*margin: 2px;*/
}
.st-info {
    color: white;
    /*margin: 2px;*/
}
.atk-panel {
    /*border: 1px solid gray;*/
    padding-bottom: 3px;
}

.button-to-ref {
    /*font-family: Arial, "FreeSans", "Garuda", Helvetica, "Bitstream Vera Sans", sans-serif;
    font-size: 16px;
    padding: 0;
    margin: 0;
    background-color: black;
    color: #0000FF;
    text-decoration: none;
    border: none;
    cursor: pointer;*/
}

.ref-button {
    font-family: Arial, "FreeSans", "Garuda", Helvetica, "Bitstream Vera Sans", sans-serif;
    font-size: 16px;
    padding: 0;
    margin: 0;
    background-color: #0C0C0C;
    color: #F4D06E;
    text-decoration: none;
    border: none;
    cursor: pointer;
}



/*Расы*/
.h, .asd, .hhh {
    color: #0069FF;
}
.o {
    color: #006914;
}
.e {
    /*color: #00D318;*/
    color: #11C41D;
}
.de {
    color: #257761;
}
.dw {
    color: #E0E0E0;
}
.u, .vmp, .uuu {
    color: #636363;
}
.nk {
    color: #383838;
}
.ab {
    color: #383838;
}
.abb {
    color: #383838;
}
.she {
    color: #FF00FF;
}
.und {
    color: #7800FF;
}
.udd {
    color: #7800FF;
}    
.d {
    color: darkred;
}
.n, .nn {
    color: #724622;
}
.kh, .hkh {
    color: #F68F00;
}
.rd {
    color: #513218;
}
.wi {
    color: #25778C;
}
.hh {
    color: #48017a;
}
.aw {
    color: #FFBE00;
}
.av {
    color: #FFBE00;
}
.ch {
    color: #F66A00;
}
.mch {
    color: #7A5B48;
}
.an {
    color: #9BC400;
}
.rm {
    color: #3C7C20;
}
.eg {
    color: red;
}

.ds {
    color: #8400A5;
    
}
.dss {
    color: #CCCCCC;
    
}
.okkk {
    color: #03FF0A;
}
.okkkk {
    color: #F2C234;
}

.dr {
    color: #FF3700;
}
.sph {
    color: #969696;
}
.sp {
    color: #969696;
}
.uw {
    color: #161616;
    font-weight: bold;
}
.sh {
    color: #62A5FF;
}
.sm {
    color: #34A700;
}
.al, .ah {
    color: #62A5FF;
}
/*Предметы*/
.item-no-item {
    font-style: italic;
    color: grey;
    font-size: 17px;
    font-family: New Times Roman;
}
/*normal*/
.item-n {
    color: #808080;
    font-weight: bold;
    font-size: 17px;
    font-family: New Times Roman;
}
/*magic*/
.item-m {
    color: #4032BB;
    font-weight: bold;
    font-size: 17px;
    font-family: New Times Roman;
}
/*powerful*/
.item-p {
    color: #F25B00;
    font-weight: bold;
    font-size: 17px;
    font-family: New Times Roman;
}
/*real*/
.item-r {
    color: black;
    font-weight: bold;
    font-size: 17px;
    font-family: New Times Roman;
}

.item-e {
    color: red;/*996835*/
    font-weight: bold;
    font-size: 17px;
    font-family: New Times Roman;
}
/*unique*/
.item-u {
    color: #8731C7;/*996835*/
    font-weight: bold;
    font-size: 17px;
    font-family: New Times Roman;
}
.item-s {
    color: #00FF00;
    font-weight: bold;
    font-size: 17px;
    font-family: New Times Roman;
}
.item-b {
    color: #262626;
    font-weight: bold;
    font-size: 17px;
    font-family: New Times Roman;
}
/*weapon ench +10*/
.item-e {
    color: #FF0000;
    font-weight: bold;
    font-size: 17px;
    font-family: New Times Roman;
}
.quest {
    color: #996835;
    font-weight: bold;
    font-size: 17px;
    font-family: New Times Roman;
}
.gem {
    color: #C600B3;
}

.equip {
    color: #7C4B2A;
    font-family: New Times Roman;
}
a.unequip {
    font-family: cursive;
}
/*////////////////////////////*/
p {
    padding: 0;
    margin: 0;
}
p.game-title {
    background: darkred;
    background: linear-gradient(to top, #730000, #C90000);
    color: black;
    font-weight: bold;
    font-family: New Times Roman;
}
p.menu-header {
    display: block;
    padding: 4px 0 4px 0;
    margin: 0;
  // background: #4E4E4E; 
  //background: #303030; 
   // background: linear-gradient(to top, #003E96, #004BB5);
   // color: whitesmoke;
   background-image: url("/gray-bg.jpg");
   color: #e3e3e3;
    text-align: center;
    font-family: New Times Roman;
    cursor: default;
}


p.menu-heade {
    display: block;
    padding: 4px 0 4px 0;
    margin: 0;
    color: #e3e3e3;
    text-align: center;
    font-family: New Times Roman;
    cursor: default;
}

p.menu-header-red {
    display: block;
    padding: 0;
    margin: 0;
    background: #001FBC; 
    background: linear-gradient(to top, #9B0000, #F70000);
    color: whitesmoke;
    text-align: center;
    font-family: New Times Roman;
    cursor: default;
}
div.menu>a {
    text-align: left;
    vertical-align: text-bottom;
    display: block;
    margin: 0;
    padding: 0;
    border-top: 1px solid #404040;
    border-bottom: 1px solid #404040;
    padding: 7px 0 7px 0;
    box-shadow: inset 0 0 15px #303030;
}

div.menu-center>a {
    text-align: center;
    vertical-align: text-bottom;
    display: block;
    margin: 0;
    padding: 0;
    border-top: 1px solid #404040;
    border-bottom: 1px solid #404040;
    padding: 7px 0 7px 0;
    box-shadow: inset 0 0 15px #303030;
}

div.menu>aa {
    text-align: left;
    vertical-align: text-bottom;
    display: block;
    background: #101010;
    padding: 2px;
    box-shadow: inset 0 0 15px #303030;
    border: 1px solid #000;
    color: #E0E0E0;
}

div.menuuu>a {
    text-align: left;
    vertical-align: text-bottom;
    display: block;
    margin: 0;
    padding: 0;
    border-top: 1px solid #404040;
    border-bottom: 1px solid #404040;
    padding: 7px 0 7px 0;
    box-shadow: inset 0 0 15px #303030;
}

.LeftLink { 
float: left
display: block;
}

.RightLink {
 float: right 
}

div.menu>a.menu-center {
    text-align: center;
}
div.menu>a.off {
    color: gray;
    cursor: default;
}
div.menu>a:hover {
/*    background-color: #243E4C;*/
    background-color: #212121;
}
div.menu>a.off:hover {
/*    background-color: #243E4C;*/
    background-color: #0C0C0C;
}
div.menu>span {
    text-align: center;
    vertical-align: text-bottom;
    display: block;
    margin: 0;
    padding: 0;
    color: whitesmoke;
    /*background-color: #192B35;*/
    background-color: #black;
    border-bottom: 1px dotted #404040;
    padding: 7px 0 7px 0;
    cursor: default;
}
div.menu>span.left {
    text-align: left;
}
div.menu {
    padding-bottom: 5px;
    
}

.button1 {
    height: 39px;
    width: 120px;
    border: none;
    background-color: black; 
    background-image: url(../game_files/game_pictures/css/button1.png);
    cursor: pointer;
    font-size: 18px;
    font-family: New Times Roman;
    color: #FFC200
}
.button2 {
    height: 33px;
    width: 100px;
    border: none;
    background-color: black; 
    background-image: url(../game_files/game_pictures/css/button2.png);
    cursor: pointer;
    font-size: 18px;
    font-family: New Times Roman;
    color: #FFC200
}
.reg-button {
    height: 33px;
    width: 100px;
    border: none;
    background-color: black; 
    background-image: url(../game_files/game_pictures/css/button_blue.png);
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    font-family: New Times Roman;
    color: #FFC200
}
.fight-button {
    height: 33px;
    width: 100px;
    border: none;
    background-color: black; 
    background-image: url(../game_files/game_pictures/css/button_red.png);
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    font-family: New Times Roman;
    color: #FFC200
}

.menu-button {
    padding: 2px;
}

p.current-info {
    padding: 0;
    margin: 0;
    background-color: black;
    color: whitesmoke;
}
.line {
    margin-top: 3px;
    margin-bottom: 3px;
    border-bottom: 1px solid #404040;
}
.hardline {
    margin-top: 3px;
    margin-bottom: 3px;
    border-bottom: 2px solid #404040;
}
.gold {
    color: gold;
}
div.footer, div.center {
    text-align: center;
}
.unequip-all {
}
img {
    border: 0;
}

.not-ready{
    color: gray;
}
.say {
    color: #FF6F02;
}
.lvlup {
    color: purple;
}
.black {
    color: black;
}
.red {
    color: red;
}
.whitesmoke {
    color: #D8D8D8;
}
.class-infoo {
    // text-indent: 0.6cm;
     text-align: justify;
    padding: 0 5px 0 5px;
}
.class-info {
    text-indent: 0.6cm;
    text-align: justify;
    padding: 0 5px 0 5px;
}
.creature-text {
   text-indent: 0.5cm;
  text-align: justify;
    width: auto;
   padding-left: 5px;
}
.loc-text {
    text-indent: 0.5cm;
    text-align: justify;
    width: 9cm;
    padding-left: 5px;
}
.start-work {
    cursor: pointer;
    padding: 0px;
}
.start-cook {
    cursor: pointer;
    padding: 0px;
}
.skill-info {
    color: #0000FF;
}
.skill-text {
    text-indent: 0.5cm;
    text-align: justify;
    width: 10cm;
    padding-left: 5px;
}
.combat-skill {
    color: #FF7C00;
}
.passive-skill {
    color: #774422;
}
.magic-skill {
    color: #0046FF;
}
.battle-magic {
    color: #0046FF;
}
.baff-skill {
    color: green;
}
.debaff-skill {
    color: #C80000;
}
.learn-skill {
    color: #774422;
}
.skill-lvl {
    color: #FFBC00;
}

.crit {
    color: darkred;
}

.fire-magic {
    color: #FF3700;
}
.water-magic {
    color: #00137F;
}
.air-magic {
    color: #646BEA;
}
.earth-magic {
    color: #542100;
}
.life-magic {
    color: #0065FF;
}
.death-magic {
    color: #007F3A;
}
.light-magic {
    color: #FFE270;
}
.dark-magic {
    color: #46007F;
}
.nature-magic {
    color: #42CE1C;
}
.rune-magic {
    color: #F9A22F;
}
.mind-magic {
    color: #D6D6D6;
}
.chaos-magic {
    color: #F66A00
}
/*.poison {
    color: #007F3A;
}
.ice {
    color: #00137F;
}*/

.name-npc {
    color: #5157FF;
}

.mess-text {
    text-indent: 0.5cm;
    text-align: justify;
    width: 9cm;
    padding-left: 5px;
}
.mess-new {
    color: #4EE218;
}
.map-spot {
    z-index: 10;
    position: absolute;
}

.show-map {
    text-align: center;
}

.trauma-severe {
    color: darkred;
}
.trauma-average {
    color: #FF5500;
}
.trauma-minor {
    color: #FFBE00;
}
.heroicclass {
    color: #F66A00;
}

/* Forum */
.forum-text {
    display: inline-block;
    text-align: left;
    width: 100%;
    cursor: default;
}
.forum-date {
    font-size: 80%;
}
.tax {
    color: #41D800;
    font-weight: bold;
}
.newbie-tip {
    color: #41D800;
    font-weight: bold;
}
.newbie-tip-light {
    color: #41D800;
}
.hp {color: #ED1B17}
.mp {color: #0046FF}

/*money*/
.ac {color: goldenrod}

details summary:focus {
outline: none;
}

/* --------------- */



hr {
border-top: 1px dashed #000;
border-bottom: 1px dashed #4f4f4f;
}

a {
color: #8eb4ff;
text-decoration: none;
}



select {
border: 1px solid #d5d5d5;
color: #555;
padding:4px;
margin: 1px 0;
-khtml-border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}

textarea{
border: 1px solid #d5d5d5;
color: #555;
padding:4px;
max-width: 100%;
width: 95%;
height: 4pc;
-khtml-border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}

input {
border: 1px solid #d5d5d5;
color: #555;
padding:4px;
margin: 1px 0;
-khtml-border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}

input[type="checkbox"]{
border: 1px solid #d5d5d5;
color: #fff;
margin: 2px 0 0 0;
}

input[type="submit"] {
border-radius: 4px; 
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
background-color:#131323;
background-image: -webkit-linear-gradient(bottom, #131323 0%, #17172b 100%);
color: #fff;
padding: 8px;
font-weight: bold;
font-size: 11px; 
border: 1px solid #535353;
box-shadow: 0px 0px 1px #6f6f6f;
text-shadow: 0 1px 0 #6f6f6f;
margin-top: 6px;
}


div.wrapper{
    display: block;
    line-height: 1.1;
    padding: 5px;
  //  border: 1px solid #222222;
   // border-top: 1px solid #4E4E4E;
   // border-bottom: 1px solid #000000;
  //  background-color: #262626;
    background-color: #000000;
}


.wrapper._pb-header{padding: 2px 5px;}
.wrapper._pb-towers{padding: 2px}
.wrapper._pb-fight{padding: 0; padding-bottom: 3px}
.wrapper._shop{
    color: #BEBEBE;
    line-height: 1.2;
}
.wrapper.from_chat{
    padding-top: 3px;
    border-bottom: none;
}
.wrapper._item{line-height: 1.2}

a.wrapper{color: 
#BEBEBE;
//#F4D06E;
}

.wrapper-btn{
    margin: 2px 0;
    text-align: center;
}
.wrapper-btn.padding-top{
    padding-top: 6px;
}
.wrapper._pagination .btn{
    padding: 0 10px;
    margin: 0 1px;
}

.wrapper._form > form > input[type="submit"]{margin-top: 7px;}


.wrapper._chat{
    position: relative;
    padding: 3px;
}

    .wr_wrapper{
    position: relative;
    padding: 4px 6px;
}

input[type="submit"]:hover {
background: #17172b;
background-image: -webkit-linear-gradient(top, #131323 0%, #17172b 100%);
border-radius: 4px; 
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
color: #fff;
padding: 8px;
font-weight: bold;
font-size: 11px; 
text-shadow: 0 1px 0 #6f6f6f;
margin-top: 6px;
}

input[type="submit"]:active {
  background-image: -webkit-linear-gradient(bottom, green 0%, lime 100%);
  background-image: -moz-linear-gradient(bottom, #457cc3 0%, #568ed6 100%);
  background-image: -o-linear-gradient(bottom, #457cc3 0%, #568ed6 100%);
  box-shadow: inset 0 1px 4px #495c9b;
  -moz-box-shadow: inset 0 1px 3px #495c9b;
  position: relative;
}

.btn{
    display: inline-block;
    margin: 2px 0;
    padding: 0 20px;
    min-height: 28px;
    line-height: 28px;
    vertical-align: middle;
    border: 0;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    background-color: transparent;
}
.operamini .btn:before {
    content: '';
    display: inline-block;
    height: 28px;
    vertical-align: middle;
}
a.btn{text-decoration: none;}
.btn._blue,
.btn._green,
.btn._red,
.btn._dark{
    background-position:
        100% 0,
        0 0,
        0 0;
    background-repeat:
        no-repeat,
        no-repeat,
        repeat-x;
}
.btn._blue{
    /*background-color: #16526F;*/
    background-image:
        url("/game_files/game_pictures/etc/bg_btn_blue_right.png"),
        url("/game_files/game_pictures/etc/bg_btn_blue_left.png"),
        url("/game_files/game_pictures/etc/bg_btn_blue.png");
}
.btn._green{
    /*background-color: #077F01;*/
    background-image:
        url("/game_files/game_pictures/etc/bg_btn_green_right.png"),
        url("/game_files/game_pictures/etc/bg_btn_green_left.png"),
        url("/game_files/game_pictures/etc/bg_btn_green.png");
}
.btn._red{
    /*background-color: #C61F1F;*/
    background-image:
        url("/game_files/game_pictures/etc/bg_btn_red_right.png"),
        url("/game_files/game_pictures/etc/bg_btn_red_left.png"),
        url("/game_files/game_pictures/etc/bg_btn_red.png");

}
.btn._dark{
    /*background-color: #565151;*/
    background-image:
        url("/game_files/game_pictures/etc/bg_btn_dark_right.png"),
        url("/game_files/game_pictures/etc/bg_btn_dark_left.png"),
        url("/game_files/game_pictures/etc/bg_btn_dark.png");

}
.wrapper-btn{
    margin: 2px 0;
    text-align: center;
}
.wrapper-btn.padding-top{
    padding-top: 6px;
}
.wrapper._pagination .btn{
    padding: 0 10px;
    margin: 0 1px;
}

//span.rarity._1{color: #ffffff;}
span.rarity._1{color: #808080;}
span.rarity._1._icon{background-image: url("/game_files/game_pictures/etc/icon_rarity_basic.png"); margin-bottom: 2px;}
span.rarity._2{color: #1eff00;}
span.rarity._2._icon{background-image: url("/game_files/game_pictures/etc/icon_rarity_common.png"); margin-bottom: 2px;}
span.rarity._3{color: #0070dd;}
span.rarity._3._icon{background-image: url("/game_files/game_pictures/etc/icon_rarity_uncommon.png"); margin-bottom: 2px; }
span.rarity._4{color: #a335ee;  }
span.rarity._4._icon{background-image: url("/game_files/game_pictures/etc/icon_rarity_epic.png"); margin-bottom: 2px; }
span.rarity._5{color: #ff8000;}
span.rarity._5._icon{background-image: url("/game_files/game_pictures/etc/icon_rarity_legendary.png"); margin-bottom: 2px; }
span.rarity._6{color: #05CCFF;}
span.rarity._6._icon{background-image: url("/game_files/game_pictures/etc/icon_rarity_artifact.png"); margin-bottom: 2px; }
span.rarity._7{color: #f5270d;}
span.rarity._7._icon{background-image: url("/game_files/game_pictures/etc/icon_rarity_mifical.png"); margin-bottom: 2px; }
span.rarity._8{color: #ecc862;}
span.rarity._icon{
    display: inline-block;
    margin-top: 2px;
    padding-left: 16px;
    background-position: 0 50%;
    background-repeat: no-repeat;
    font-size: 13px;
}
span.rarity._icon._normal{font-size: 15px;}

span.high{color: #ffffff}
span.ok{color: #03FF0A;}
span.dust{color: #DE52DE;}

.gift {
    background-image: url(/bg-ny-gift.png);
    background-repeat: no-repeat;
    background-position: 100% 100%;
}

.gift2 {
    background-image: url(/elkaa.png);
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: right bottom;
}

.gift3 {
    background-image: url(/snegg.png);
    background-size: 70px;
    background-repeat: no-repeat;
    background-position: right bottom;
}


.t{
    display: table;
    /*table-layout: fixed;*/
    border-collapse: collapse;
    padding: 0;
}
.fl{float: left}
.fr{float: right}
.w100{width: 100px}
.w140{width: 140px}
.w33p{width: 33.3%}
.w50p{width: 50%}
.w100p{width: 100%}
.w40p{min-width: 40%}
.no-padding{padding: 0;}
.unline{text-decoration: underline;}
.cell{	display: table;	
width: 100%;}
.ppp {
    float: none;
    display: table-cell;
    position: relative;
    padding-left: 10px;
    margin: 0;
    vertical-align: top;
}
//форум
a.wrapper{color: #BEBEBE;}
.wrapper{
    display: block;
    line-height: 1.1;
    padding: 5px;
    border: 1px solid #222222;
    border-top: 1px solid #4E4E4E;
    border-bottom: 1px solid #000000;
   // background-color: #262626;
    box-shadow: inset 0 0 15px #303030;
}

.wrapper._pb-header{padding: 2px 5px;}
.wrapper._pb-towers{padding: 2px}
.wrapper._pb-fight{padding: 0; padding-bottom: 3px}
.wrapper._shop{
    color: #BEBEBE;
    line-height: 1.2;
}
.wrapper._shop2{
    color: #8eb4ff;
    line-height: 1.2;
}
.wrapper.from_chat{
    padding-top: 3px;
    border-bottom: none;
}
span.name{
     color: #8eb4ff;
   // color: #ffffff;
    font-size: 16px;
}
.wrapper._pagination .btn{
    padding: 0 10px;
    margin: 0 1px;
    
}
.wraff{
    padding: 0 10px;
    margin: 0 1px;
    text-align: center;
    font: inherit;
    vertical-align: baseline
        display: block;
    line-height: 1.1;
    padding: 5px;
    background-color: #000000;
}

.fffff{
    min-width: 40%;
    max-width: 99%;
   
    height: 250;
}


.item._build{
    width: 50px;
    height: 50px;
    line-height: 50px;
    vertical-align: middle;
    text-align: center;
}    
.item._build i{
     width: 50px;
    height: 50px;
//	border: 1px solid #131313;
    background-size: contain;
    background-position: 50% 50%;
}






    .lh1{line-height: 1.2;}
.lh2{line-height: 1.4;}

.item._b1 i{background-image: url("https://mdrag.ru//style/img/build/1.jpg")}
.item._b2 i{background-image: url("https://mdrag.ru//style/img/build/2.jpg")}
.item._b3 i{background-image: url("https://mdrag.ru//style/img/build/3.jpg")}
.item._b4 i{background-image: url("https://mdrag.ru//style/img/build/4.jpg")}
.item._b5 i{background-image: url("https://mdrag.ru//style/img/build/5.jpg")}
.item._b6 i{background-image: url("https://mdrag.ru//style/img/build/6.jpg")}
.item._b7 i{background-image: url("https://mdrag.ru//style/img/build/7.jpg")}
.item._b8 i{background-image: url("https://mdrag.ru//style/img/build/8.jpg")}
.item._b9 i{background-image: url("https://mdrag.ru//style/img/build/9.jpg")}
//.item._b1 i{background-image: url("/game_files/game_pictures/etc/magii.png")}
//.item._b2 i{background-image: url("/game_files/game_pictures/etc/lee-yo-1.jpg")}
//.item._b3 i{background-image: url("/game_files/game_pictures/etc/house1.png")} 
    

  

