.btnnew {
  margin-bottom:5px;
  border: none;
  outline: none;
  vertical-align: top;
  cursor: pointer;
  border-radius: 1px;
  padding: 4px 8px;
  margin-right: 0;
  font-size: 11px;
  line-height: normal;
  color: #504F4C;
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.2);
  background-image: linear-gradient( rgba(255, 255, 255, .5) 0%, rgba(155, 155, 155, 0.5) 100%), linear-gradient( #b8b8b8 0%, #e9e9e9 51%, #FFFFFF 100%);
  background-color: #C9C9C9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5),
              0 1px 1px rgba(0, 0, 0, .3)
}

.btnnew:hover {
  background-image: linear-gradient( rgba(255, 255, 255, .5) 0%, rgba(100, 100, 100, 0.5) 100%), linear-gradient( #b8b8b8 0%, #e9e9e9 51%, #FFFFFF 100%);
}

.btnnew:active {
  background-image: linear-gradient(   rgba(155, 155, 155, .6) 0%,
                        rgba(100, 100, 100, .6) 100%),
                    linear-gradient(#d5d5d5 0%,
                        #fff 51%, #717171 100%);
  background-color: #708e6a;
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, .6);
  border-radius: 3px;
}
.btnnew2 {
  border: none;
  padding-bottom:5px;
  outline: none;
  vertical-align: top;
  cursor: pointer;
  border-radius: 2px;
  padding: 4px 8px;
  margin-right: 0;
  font-size: 11px;
  line-height: normal;
  color: #DEDEDE;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
  background-image: linear-gradient( rgba(240, 240, 240, .5) 0%, rgba(50, 50, 50, 0.7) 80%), linear-gradient( #b8b8b8 0%, #e9e9e9 41%, #FFFFFF 50%);
  background-color: #C9C9C9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5),
              0 1px 1px rgba(0, 0, 0, .3);
}

.btnnew2:hover {
  background-image: linear-gradient( rgba(240, 240, 240, .5) 0%, rgba(0, 0, 0, 0.65) 80%), linear-gradient( #b8b8b8 0%, #e9e9e9 41%, #FFFFFF 50%);
}

.btnnew2:active {
  background-image: linear-gradient(   rgba(155, 155, 155, .6) 0%,
                        rgba(100, 100, 100, .6) 100%),
                    linear-gradient(#d5d5d5 0%,
                        #fff 51%, #717171 100%);
  background-color: #708e6a;
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, .6);
  border-radius: 3px;
}
.butt_hover img {
opacity: 1;
-webkit-transition: all 0.25s ease;
-moz-transition: all 0.25s ease;
-o-transition: all 0.25s ease;
transition: all 0.25s ease;
}
.butt_hover img:hover {
opacity: 0.5;
}
.butt_hover2 img {
opacity: 0.8;
-webkit-transition: all 0.25s ease;
-moz-transition: all 0.25s ease;
-o-transition: all 0.25s ease;
transition: all 0.25s ease;
}
.butt_hover2 img:hover {
opacity: 1;
}


.inf2s {
 position:relative;
 filter: alpha(opacity=7);
 -moz-opacity: 0.07;
 -khtml-opacity: 0.07;
 opacity: 0.07;
 } 
.inf2s:hover {
 background-color:#e2e0e0;
 filter: alpha(opacity=70);
 -moz-opacity: 0.70;
 -khtml-opacity: 0.70;
 opacity: 0.70;
 }


    .auto_refresh {
        text-align: center;
        margin-top: 8px;
    }

    #user-list-auto-refresh {
        display: inline-block;
        vertical-align: middle;
    }

    label[for=user-list-auto-refresh] {
        cursor: pointer;
        border-bottom: 1px dotted #000;
    }
    #user-list-show-all {
        display: inline-block;
        vertical-align: middle;
    }

    label[for=user-list-show-all] {
        cursor: pointer;
        border-bottom: 1px dotted #000;
    }	
	
	

.tabs{
    display:inline-block;
    width:100%;
}
.tabs > div{
    padding-top:10px;
    background:#C7C7C7;
}
.tabs ul{
    margin:0px;
    padding:0px;

}
.tabs ul:after{
    content:attr(data-content) "";
    display:block;
    clear:both;
    padding-top:3px;
    padding-bottom:3px;
    background:#A5A5A5;
    text-align:center;
    font-weight:bold;
}
.tabs ul li{
    margin:0px;
    padding:0px;
    cursor:pointer;
    display:block;
    float:left;
    background:#C7C7C7;
    color:#003388;
    font-weight:bold;
    width:20%;
    padding-top:3px;
    padding-bottom:3px;
    text-align:center;
}
.tabs ul li.active, .tabs ul li.active:hover{
    background:#A5A5A5;
    color:#003388;
    
}
.tabs ul li:hover{
    background:#d6d6d7;
    color:#0066ff;
}
/*Инвентарь / Комплекты*/
td.komplact{
	background:#C7C7C7;
}
td.komplpas{
	background:#A5A5A5;
}
tr.komplhover:hover{
	background:#A5A5A5;
}
/*Конец Инвентарь / Комплекты*/


/* Угадай где шарик */
div#thimbleContainer {
   height: 180px;
   width: 345px;
   position: relative;
 }
 div#thimbleContainer div,
 div#thimbleContainer img {
    position:absolute;
    z-index: 10001;
 }
 div#thimbleContainer div.thimble{
    background: url('/i/fountain/thimble.png') no-repeat 50% 50%;
    width: 40px;
    height:50px;
    cursor: pointer;
  }
 div#thimbleContainer img.coin{
    top: 130px;
    cursor: pointer;
    display:none;
  }
 div#thimbleContainer img.ball {
    position:absolute;
    z-index: 10000;
 }

 div#thimbleContainer div.blind {
    background-color: transparent;
    opacity: 0.1;
    height: 125px;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 10002;
 }
 /* конец Угадай где шарик */
 .fountain-wish-box{overflow: hidden;}
.fountain-wish-item{
    text-align: center;
    padding: 6px;
    display: block;
    border: 1px solid gray;
    margin: 0;
    margin-bottom: 2px;
    overflow: hidden;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: #e7e7e7;
}







div.dreamsfield-container {
  margin: 0px auto;
  overflow: hidden;
  position: relative;
}

div.dreamsfield-container img.cell{
  position: absolute;
}
div.dreamsfield-container img.blind{
  position: absolute;
  top: 0px;
  left: 0px;
}
div.dreamsfield-container map area{
  cursor:pointer;
}

#tooltip {
    -webkit-border-radius: 0px 4px 4px 4px;
    border-radius: 0px 4px 4px 4px;
    -webkit-box-shadow: 5px 5px 10px 0 #807E7E;
    background-color: #FFFFE1;
    border: 1px solid #000000;
    border-radius: 0 4px 4px 4px;
    box-shadow: 5px 5px 10px 0 #807E7E;
    color: #000000;
    font-size: 10px;
    opacity: 0.85;
    overflow: hidden;
    padding: 3px 5px;
    position: absolute;
    visibility: visible;
    z-index: 10000000;
}




.online-list-room {
	color:#8f0000;
	font-size:10pt;
	font-weight:bold;
}

/* Пре лоадер */
#pre-loader {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: block;
    opacity: 0.7;
    background-color: #E6E6E6;
    z-index: 99;
    text-align: center;
}

#pre-loader-image {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 100;
}

.ainflable{font-family:Arial,Helvetica,sans-serif;color:#8f0000;font-size:14px;text-align:center;text-decoration:none}
.ainfpas{background:url(/i/chat/chat_passive.jpg);background-repeat:no-repeat;text-align:center;}
.ainfpas{cursor:pointer;}
.ainfpas.ainflable:hover{font-family:Arial,Helvetica,sans-serif;color:#8f0000;font-size:14px;text-align:center;text-decoration:none;}
.ainflable:visited{font-family:Arial,Helvetica,sans-serif;color:#8f0000;font-size:14px;text-align:center;text-decoration:none}
.ainfpas:hover a{color:#000000;}
.ainfact{background:url(/i/chat/chat_aaactive.jpg);background-repeat:no-repeat;text-align:center;}
.ainfact:hover a{color:#8f0000;}
.ainfact a{color:#000000 !important;}
.ainfact:hover a{color:#000000;}
.ainfact:hover a{cursor:default;}


.mbox {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1000px;
    min-width: 320px;
}

.mbox__btn-c, .buttonContainer {
    position: relative;
    right: 0;
    top: 1px;
    text-align: center;
    overflow: hidden;
    padding: 2px;
    zoom: 1;
}

.mbox__btn-c input[type=button], .buttonContainer input[type=button], .mbox__btn-c button, .buttonContainer button, .mbox__btn-c input.button, .buttonContainer input.button {
    float: right;
    margin-right: 1em;
    margin-bottom: 0.25em;
}

.mbox__btn-c button.left, .buttonContainer button.left, .mbox__btn-c input.left, .buttonContainer input.left, .mbox__btn-c div.arrivalProgress, .buttonContainer div.arrivalProgress, .mbox__btn-c input.help, .buttonContainer input.help {
    float: left;
    margin-left: 15px;
    margin-right: 0;
    margin-top: 0;
}

.forest-map__comment {
    text-align: center;
    font-weight: bold;
}
.forest-map__img-c {
    position: relative;
    width: 609px;
    height: 338px;
    margin: 10px auto 0;
}
.forest-map__img-c img {
    position: absolute;
}
/*-------------------- forest --------------------*/
.forest__wr {
    max-width: 780px;
    margin: 0 auto;
    padding: 1em;
    position: relative;
}
.forest__landscape {
    width: 100%;
}
.forest__joystick-2,
.forest__joystick-4,
.forest__joystick-6,
.forest__joystick-8 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.forest__joystick-2 {
    margin-left: 80px;
}
.forest__joystick-4 {
    margin-top: 80px;
}
.forest__joystick-6 {
    margin-left: -80px;
}
.forest__joystick-8 {
    margin-top: -80px;
}
@media screen and (max-width: 500px) {
    .forest__joystick-2,
    .forest__joystick-4,
    .forest__joystick-6,
    .forest__joystick-8 {
        transform: translate(-50%, -50%) scale(0.7);
    }
    .forest__joystick-2 {
        margin-left: 60px;
    }
    .forest__joystick-4 {
        margin-top: 60px;
    }
    .forest__joystick-6 {
        margin-left: -60px;
    }
    .forest__joystick-8 {
        margin-top: -60px;
    }
}

/*------------------ marathon ------------------*/
.mrth {
    display: flex;
    flex-flow: row-reverse wrap;
    justify-content: center;
}
.mrth__intro--top {
    font-weight: bold;
    text-align: center;
}
.mrth__intro {
    font-style: italic;
}
.mrth__status__block {
    white-space: nowrap;
}
.mrth__main,
.mrth__rating,
.mrth__p-list {
    background: #e5e5e5;
    padding: 0.5em;
    border-radius: 3px;
    margin: 0.25em;
    border: 1px solid #808080;
    min-width: 320px;
    box-sizing: border-box;
    max-width: 50em;
}
.mrth__main {
    flex: 1 1 32em;
}
.mrth__rating {
    flex: 1 1 25em;
}
.mrth__p-list {
    flex: 10 1 30em;
    max-width: none;
}
.mrth__main__record {
    text-align: right;
    font-size: smaller;
    color: gray;
    font-style: italic;
}
.mrth__main__btn,
.mrth__main__status {
    font-weight: bold;
    font-family: Gabriela, Arial, sans-serif;
    font-size: 150%;
    text-align: center;
    margin: 0;
    color: #222;
    text-shadow: 1px 1px 2px #eeeeee, -1px 1px 2px #eeeeee, 1px -1px 2px #eeeeee, -1px -1px 2px #eeeeee;
}
.mrth__main__btn,
.mrth__main__btn:active,
.mrth__main__btn:visited {
    color: inherit;
}
.mrth__main__btn {
    font-size: 100%;
    margin: 1em 0;
    border: 1px solid #b0b0b0;
    padding: 0.1em 0.5em;
    background-color: #f0f0f0;
    box-sizing: border-box;
    display: inline-block;
    border-radius: 2px;
}
.mrth__main__status--fail {
    color: gray;
}
.mrth__c2 {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
}
.mrth-rating__item {
    display: flex;
    align-items: center;
    /*  background: lightblue;*/
}
.mrth-rating__c {
    flex: 1 0 auto;
}
.mrth-rating__item > .nick {
    font-size: 110%;
}
.mrth-rating__dt {
    display: block;
    font-size: 80%;
    color: #444;
    text-align: left;
}
.mrth-rating__stage {
    font-size: 200%;
    font-family: Gabriela, Arial, sans-serif;
    flex: 1 0 auto;
    text-align: center;
    color: #222 !important;
    text-shadow: 1px 1px 2px #eeeeee, -1px 1px 2px #eeeeee, 1px -1px 2px #eeeeee, -1px -1px 2px #eeeeee;
}
.mrth--2 .mrth__main h2,
.mrth--2 .mrth__p-list h2 {
    border-bottom: 1px solid #888;
    margin: 0;
}
.mrth--2 .mrth__main,
.mrth--2 .mrth__rating,
.mrth--2 .mrth__p-list {
    margin: 0;
    border: none;
    background-color: inherit;
}
.mrth--2 .mrth__c3,
.mrth--2 .mrth__main,
.mrth--2 .mrth__rating {
    flex: 1 0 25em;
}
.mrth--2 .mrth__intro--top {
    border-bottom: 1px solid #888;
    color: maroon;
    margin: 0;
}
.mrth--2 .mrth__rating {
    background: no-repeat url(/i/ratingbg2.png);
    width: 320px;
    height: 485px;
    flex: none;
    padding: 35px 30px 35px 40px;
}
.mrth--2 .mrth__rating h2 {
    color: #f6db47;
    text-shadow: 2px 2px 3px black, 1px 1px 1px goldenrod;
    font-size: 150%;
    font-family: Gabriela, Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5em;
}
.mrth--2 .mrth-rating__legend {
    color: #444;
    font-style: italic;
    font-family: Gabriela, Arial, sans-serif;
}
.sound-conf title {
    display: inline;
    margin-right: 0.5em;
}
.sound-conf__item {
    display: inline;
    margin-right: 0.5em;
    color: darkmagenta;
}
.sound-conf__item:after {
    content: ';';
}
.sound-conf__item:nth-child(2n) {
    color: magenta;
}
.sound-conf__item:nth-child(n+2) span:before {
    content: ';';
}
.sound-conf__item:nth-child(n+2) span:before {
    content: ', ';
}
.sound-conf__item:nth-child(n+2) span + span:after {
    content: '%';
}