html, body {
    overflow-y: overlay;
}

body {
	margin:0;
	padding:0;
	background: #ddd9cd;
}


img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimizeQuality;
    user-drag: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
}



/* SH - site header */
.sh_container{
	width: auto;
	height: 95px;
	display: inline-block;
	margin: 0 auto;
	padding: 0 30px;
	position: relative;
	text-align: center;
	white-space: nowrap;
	vertical-align: top;	
	z-index: 100;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;

	/*box-shadow: 0 0 0 1px red;*/
}

.sh_container div{
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* MAIN MENU*/
.sh_MenuPanel{
	z-index: 1;
    max-width: 934px;
    min-width: 854px;
    width: 80vw;
	height: 64px;
	display: inline-block;
	white-space: nowrap;
	background: url(../i/new_top_ny/mm_bg_mid.png) repeat-x;
	background-size: contain;
	position: absolute;
	top: 32px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);

	font-size: 0;

	/*box-shadow: 0 0 0 1px yellow;*/
}

.mm_l{
	position: absolute;
	top: 0;
	left: 3px;
	width: 128px;
	height: 64px;	
	-webkit-transform: translateX(-100%);
	transform: translateX(-100%);
	background: url(../i/new_top_ny/mm_bg_side.png) no-repeat top left;
	background-size: 256px 64px;

	/*box-shadow: 0 0 0 1px aqua;*/
}

.mm_r{
	position: absolute;
	top: 0;
	right: 3px;
	width: 128px;
	height: 64px;	
	-webkit-transform: translateX(100%);
	transform: translateX(100%);
	background: url(../i/new_top_ny/mm_bg_side.png) no-repeat top right;
	background-size: 256px 64px;

	/*box-shadow: 0 0 0 1px aqua;*/
}

.mm_item{
	z-index: 3;
	width: 100px;
	height: 44px;
	margin: 10px 2px 0 2px;
	cursor: pointer;
	position: relative;
	display: inline-block;
    -webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	transition-duration: .1s;
    -webkit-transition-duration: .1s;
    -moz-transition-duration: .1s;
    -o-transition-duration: .1s;
    -ms-transition-duration:  .1s;
	box-shadow:
		inset 0 0 0 1px #e2b77d,
		inset 0 0 4px rgba(0,0,0,.5),
		inset 0 -25px 10px rgba(0,0,0,.5),
		0 1px 7px rgba(0,0,0,.7);

  	/*box-shadow: inset 0 0 0 1px blue;*/
}

.mm_item_with_text{
	width: 135px;
}

.mm_item_blue{
	background-color: #4f76a7;	
}

.mm_item_red{
	background-color: #9d2e2e;
}

.mm_item_orange{
	background-color: #ff9c00;
}

.mm_item:hover{
	cursor: pointer;
	-webkit-filter: brightness(1.3) drop-shadow(0 1px 3px #ffcf7e);
	filter: brightness(130%) drop-shadow(0 1px 3px #ffcf7e);	
}

.mm_item_icon{
	width: 50px;
	height: 50px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.NotificationIcon{
	width: 16px!important;
	height: 16px!important;
	padding: 2px;
	border-radius: 16px;
	-webkit-border-radius: 16px;
	-moz-border-radius: 16px;
	background-color: #40362b;
	border: 1px solid #aa8b56;
}

.position_tr{
	position: absolute;
	top: -1px;
	right: -3px;
}

.position_tl{
	position: absolute;
	top: -1px;
	left: -2px;
}

.position_br{
	position: absolute;
	bottom: -3px;
	right: -3px;
}

.position_bl{
	position: absolute;
	bottom: -3px;
	left: -2px;
}
/* END */

/* RESOURCES */
.sh_ResourcesPanel_container{
	display: inline-block;
	height: 32px;
	padding: 0 8px;	
	position: relative;
	background-color: #242424;
	background: url(../i/new_top_ny/rp_bg_mid.png) repeat-x;
	background-size: contain;

	/*box-shadow: inset 0 0 0 1px cyan;*/
}

.sh_ResourcesPanel{
/*	min-width: 560px;*/
	min-width: 600px;

/*	display: inline-block;*/

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;

	height: 32px;
	position: relative;
	vertical-align: top;

	/*box-shadow: inset 0 0 0 1px yellow;*/
}

.sh_AuthPanel{
	color: #ccb89f;
	font-weight: normal;
	line-height: 32px;

	/*box-shadow: inset 0 0 0 1px red;*/
}

.mm_decor1{
	width: 64px;
	height: 16px;
	position: absolute;
	bottom: 0;
	left: 50%;

	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}

.sh_ResourcesItem{
	padding-left: 30px;
	height: 20px;
	position: relative;
	top: 1px; /**/
/*	margin: 8px .3em 0 .3em;*/
	color: #aecef6;
	font-weight: normal;
	background-repeat: no-repeat;
	background-size: 24px;
	background-position: left center;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	/*box-shadow: inset 0 0 0 1px yellow;*/
}

.sh_ResourcesItem_icon{
	width: 24px;
	height: auto;
	position: absolute;
	top: -3px;
	left: 0;

	/*box-shadow: inset 0 0 0 1px yellow;*/
}

.mm_rp_separator{
	padding: 0;
	margin: 0;
	vertical-align: middle;
	width: 5px;
	height: 100%;
	display: inline-block;
	background: url(../i/new_top_ny/mm_rp_separator.png) no-repeat center center;
	background-size: contain;
	margin-right: 0.35em;
	margin-left: 0.35em;

	/*box-shadow: inset 0 0 0 1px red;*/
}

.health{background-image: url(../i/new_top_ny/health.png);background-size: contain;}
.mana{background-image: url(../i/new_top_ny/mana.png);background-size: contain;}
.mana_empty{background-image: url(../i/new_top_ny/mana_empty.png);background-size: contain;}
/* END */


/* DROPDOWN MENU */
.sh_dd_container{
	z-index: 1000000;
	background: #ddd9cd;
	display: inline-block;
	padding: .5em .5em 1em .5em;
	position: absolute;
	top: 0;
	left: 0;
	background: 
		url(../i/new_top_ny/mm_dd_decorS.png) no-repeat,
		url(../i/new_top_ny/mm_dd_decorS.png) no-repeat,
		url(../i/new_top_ny/mm_dd_tile.jpg) top left,
		#314657;
	background-position: 
		-32px 100%,
		calc(100% + 32px) 100%,
		top left;
	background-size: 
		64px 16px,
		64px 16px,
		auto;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	box-shadow: 
		inset 0 0 4px rgba(0,0,0,.5),
		inset 0 0 0 1px #e2b77d,
		0 1px 7px rgba(0,0,0,.7);
}

.mm_decor2{
	width: 8px;
	height: 8px;
	position: absolute;
	bottom: 1px;
	left: 50%;
	-webkit-transform: translate(-50%, 50%);
	transform: translate(-50%, 50%);
}

.mm_decor3{
	width: 20px;
	height: 20px;
	position: absolute;
	top: -1px;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.sh_dd_container div{
	min-width: 145px;
	color: #fad49f;
	cursor: pointer;
	padding: .5em;
	margin: 5px 8px;
	text-align: center;
	background-color: #866c4f;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	transition-duration: .1s;
    -webkit-transition-duration: .1s;
    -moz-transition-duration: .1s;
    -o-transition-duration: .1s;
    -ms-transition-duration:  .1s;
	box-shadow:
		inset 0 0 0 1px #e2b77d,
		inset 0 0 4px rgba(0,0,0,.5),
		inset 0 -13px 5px rgba(0,0,0,.4),
		0 1px 7px rgba(0,0,0,.7);
	text-shadow: 0 0 5px rgba(0,0,0,1),0 0 3px rgba(0,0,0,1);

	/*box-shadow: inset 0 0 0 1px orange;*/
}

.sh_dd_container_orange
{
  background-color: #ff9c00!important;
}

.sh_dd_container_red
{
  background-color: #ba4c4c!important;
}

.sh_dd_container div:hover{
	-webkit-filter: brightness(1.3);
	filter: brightness(130%);
	box-shadow: 
		0 0 10px #fad49f,
		inset 0 0 0 1px #fad49f,
		inset 0 0 4px rgba(0,0,0,.5),
		inset 0 -5px 10px rgba(0,0,0,.4),
		0 1px 7px rgba(0,0,0,.7);
}
/* END */

.hint_container{
	pointer-events:none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;

	background: #ddd9cd;
	display: inline-block;
	padding: .25em 1em;
	color: #592c08;
	font-style: italic;
	white-space: nowrap;
	position: absolute;
	top: 0;
	left: 0;
	background-color: #d4d2c9;
	-webkit-border-radius: 2em;
	-moz-border-radius: 2em;
	border-radius: 2em;
	box-shadow:
		inset 0 0 0 1px #ebe9e1,
		inset 0 0 0 2px rgba(89,44,8,.5),
		0 1px 5px rgba(0,0,0,.7);
}

.sh_HMRes{
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;

	/*box-shadow: inset 0 0 0 1px purple;*/
}

.sh_HMResLeft{
	position: absolute;
	top: 0;
	left: -48px;
	background-image: url(../i/new_top_ny/mm_rp_health.png);
	background-size: contain;
}

.sh_HMResRight{
	position: absolute;
	top: 0;
	right: -48px;
	background-image: url(../i/new_top_ny/mm_rp_mana.png);
	background-size: contain;
}

.sh_HMResIconBlock{
	position: absolute;
	width: 75%;
	height: 75%;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);

	/*box-shadow: inset 0 0 0 1px red;*/
}

.sh_HMResAmount{
	font-size: 12px;
	position: absolute;
	color: #fff;
	text-shadow: 0 0 5px rgba(0,0,0,1),0 0 3px rgba(0,0,0,1);
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);

	/*box-shadow: inset 0 0 0 1px cyan;*/
}

.health_animation{
	position: absolute;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	-webkit-animation: health_animation 2.5s ease-in-out infinite both;
	animation: health_animation 2.5s ease-in-out infinite both;

	/*box-shadow: inset 0 0 0 1px red;*/
}

@-webkit-keyframes health_animation {
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: center center;
            transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
            transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
            transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
            transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}
@keyframes health_animation {
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: center center;
            transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
            transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
            transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
            transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}

.mana_animation {
	position: absolute;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	background: url(../i/new_top_ny/mana_effect.png) no-repeat center center;
	background-size: contain;
	-webkit-animation: mana_animation 5s linear infinite both;
    animation: mana_animation 5s linear infinite both;

    /*box-shadow: inset 0 0 0 1px red;*/
}

@-webkit-keyframes mana_animation {
  0% {
    -webkit-transform: scale(1) rotateZ(0);
            transform: scale(1) rotateZ(0);
  }
  50% {
    -webkit-transform: scale(.5) rotateZ(180deg);
            transform: scale(.5) rotateZ(180deg);
  }
  100% {
    -webkit-transform: scale(1) rotateZ(360deg);
            transform: scale(1) rotateZ(360deg);
  }
}
@keyframes mana_animation {
  0% {
    -webkit-transform: scale(1) rotateZ(0);
            transform: scale(1) rotateZ(0);
  }
  50% {
    -webkit-transform: scale(.5) rotateZ(180deg);
            transform: scale(.5) rotateZ(180deg);
  }
  100% {
    -webkit-transform: scale(1) rotateZ(360deg);
            transform: scale(1) rotateZ(360deg);
  }
}

.sh_logo_out{
	position: absolute;
	width: 9vw;
	height: 4.5vw;
	min-height: 48px;
	min-width: 96px; 
	max-width: 128px;
	max-height: 64px;
	z-index: 2;
	pointer-events:none;
}
.sh_logo{
	position: relative;
	width: 100%;
	height: 100%;
	top: -27px;
	left: -65%;
	image-rendering: -webkit-optimize-contrast;
    image-rendering: optimizeQuality;
	pointer-events: none;
}

.sh_logo_hint{
	position: absolute;
	width: 80%;
	height: 66%;
	top: -27px;
	left: -55%;
	image-rendering: -webkit-optimize-contrast;
    image-rendering: optimizeQuality;
	pointer-events: auto;
}


.sh_logo img{
	max-width: 100%;
	max-height: 100%;
	/*box-shadow: inset 0 0 0 1px black;*/
}

.sh_extra{
	min-width: 175px;
	height: 32px;
	display: inline-block;
	background: url(../i/new_top_ny/extra_bg_mid.png) repeat-x top left;
	background-size: contain;
	color: #719da8;

	/*box-shadow: 0 0 0 1px red;*/
}

.sh_extra_left{
	position: absolute;
	top: 0;
	left: -50px;
	-webkit-transform: translateX(-100%);
	transform: translateX(-100%);
}

.sh_extra_right{
	position: absolute;
	top: 0;
	left: calc(100% - 1px);
	-webkit-transform: translateX(50px);
	transform: translateX(50px);
}

.sh_extra div{
	height: 32px;
	display: inline-block;
	white-space: nowrap;
	vertical-align: top;
	line-height: 32px;

	/*box-shadow: inset 0 0 0 1px aqua;*/
}

.mm_extra_separator{
	width: 10px;
	height: 32px;	
	background: url(../i/new_top_ny/mm_extra_separator.png) no-repeat center center;
	background-size: contain;
}

.mm_extra_radio{
	width: 16px;
	height: 32px;	
	background: url(../i/new_top_ny/mm_radio.png) no-repeat center center;
	background-size: contain;
}

.mm_extra_l{
	width: 100px!important;
	height: 32px!important;
	position: absolute;
	top: 0;
	left: 2px;
	-webkit-transform: translateX(-100%);
	transform: translateX(-100%);
	background: url(../i/new_top_ny/extra_bg_side2.png) no-repeat top left;
	background-size: 256px 32px;

	/*box-shadow: inset 0 0 0 1px green;*/
}

.mm_extra_r{
	width: 100px;
	height: 32px;	
	position: absolute;
	top: 0;
	right: 2px;
	-webkit-transform: translateX(100%);
	transform: translateX(100%);
	background: url(../i/new_top_ny/extra_bg_side1.png) no-repeat top right;
	background-size: 256px 32px;

	/*box-shadow: inset 0 0 0 1px green;*/
}

.ll{
	background: url(../i/new_top_ny/extra_bg_side1.png) no-repeat top left;
	background-size: 256px 32px;
}

.rr{
	background: url(../i/new_top_ny/extra_bg_side2.png) no-repeat top right;
	background-size: 256px 32px;
}

.short{
	width: 52px!important;
}





.DEBUG_CONTAINER{
	border: solid 1px black;
	position: absolute;
	top: 50%;
	right: 0;
	text-align: center;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);	
	background: #ddd9cd;
}


.DEBUG{
	border: dotted 1px black;
	background:white;
	color: black;
	padding: 1em;
	margin: 1em;
	cursor: pointer;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.bg1{
	position: absolute;
	width: 100%;
	height: 100%;
	background: url(new_top/tmp_bg2.jpg) no-repeat top center #ddd9cd;
}

.bg2{
	position: absolute;
	width: 100%;
	height: 100%;
	background: url(new_top/tmp_bg1.jpg) no-repeat top center #414c34;
}

.bg3{
	position: absolute;
	width: 100%;
	height: 100%;
	background: url(new_top/tmp_bg3.jpg) no-repeat top center #ddd9cd;
}

.bg4{
	position: absolute;
	width: 100%;
	height: 100%;
	background: url(new_top/tmp_bg4.jpg) no-repeat top center #ddd9cd;
}

.bg5{
	position: absolute;
	width: 100%;
	height: 100%;
	background: url(new_top/tmp_bg5.jpg) no-repeat top center #ddd9cd;
}

.select_auto_enabled
{
	-moz-user-select: text;
	-webkit-user-select: text;
	-ms-user-select: text;
	user-select: text;
}

.not_auth_text_on_buttons
{
	-webkit-text-size-adjust: none!important;
	font-family: verdana,geneva,arial cyr;
	image-rendering: -webkit-optimize-contrast;
    image-rendering: optimizeQuality;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	position: absolute;
	font-size: 14px;
	transform: translate(-50%, -50%);
	top: 50%;
	left: 50%;
	color: #FFF8Df;
	font-weight: bold;
	text-shadow: 0px 0px 3px #000000, 0px 0px 3px #000000, 0px 0px 3px #000000, 0px 0px 3px #000000;
	-webkit-font-smoothing: antialiased;
}

@keyframes deskArrowTutorial {
    0% { background-position: 0 0; }
    50% { background-position: 0 75%; }
    100% { background-position: 0 0; }
}
@-moz-keyframes deskArrowTutorial {
    0% { background-position: 0 0; }
    50% { background-position: 0 75%; }
    100% { background-position: 0 0; }
}
@-webkit-keyframes deskArrowTutorial {
    0% { background-position: 0 0; }
    50% { background-position: 0 75%; }
    100% { background-position: 0 0; }
}
@-ms-keyframes deskArrowTutorial {
    0% { background-position: 0 0; }
    50% { background-position: 0 75%; }
    100% { background-position: 0 0; }
}
@-o-keyframes deskArrowTutorial {
    0% { background-position: 0 0; }
    50% { background-position: 0 75%; }
    100% { background-position: 0 0; }
}

.deskArrowTutorial{
	width: 100%;
	max-width: 45px;
	z-index: 900;
	background: url('../i/mobile_view/ArrowTutorial.png') no-repeat top center;
	background-size: contain;
	position: absolute;
	animation: deskArrowTutorial 1s infinite;
	-webkit-animation: deskArrowTutorial 1s infinite;
	-moz-animation: deskArrowTutorial 1s infinite;
	-o-animation: deskArrowTutorial 1s infinite;
	animation: deskArrowTutorial 1s infinite;
}

.deskArrowTutorial:before{
	content: "";
	padding-top: 120%;
	float: left; 
}

.deskArrowTutorialToDown2
{
    top: -30%;
	left: 50%;

	-moz-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.mm_item_inside
{
	width: 100px;
	height: 44px;
	display: inline-block;
	cursor: pointer;
	position: relative;
}