*{
	padding: 0;
	margin: 0;
	border: 0;
}

@font-face{
	font-family: 'GameFont'; 
	src: url("../font/game_font.ttf") format("truetype"); 
}

@font-face{
	font-family: 'NanumGothicBold'; 
	src: url("../font/game_font.ttf") format("truetype"); 
}

@font-face{
	font-family: 'MuJeogHaeByeongBold'; 
	src: url("../font/game_font.ttf") format("truetype"); 
}

@font-face{
	font-family: 'UTM Cafeta'; 
	src: url("../font/game_font.ttf") format("truetype"); 
}

/**
 * AMO, ATV, GLO 플랫폼에서 사용함. 다른 플랫폼에서는 사용 불가함
 */
/* @font-face{
	font-family: 'MuJeogHaeByeongBold'; 
	src: url("../font/MuJeogHaeByeongBold.ttf") format("truetype"); 
} */


/* Layout */

html, body
{
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	background: black;
	overflow: hidden;
	touch-action: pan-x pan-y;
	-webkit-touch-callout: none;
	-webkit-text-size-adjust: 100%;
	overscroll-behavior: none;
	font-family: 'GameFont', 'NanumGothicBold', 'MuJeogHaeByeongBold', 'UTM Cafeta', sans-serif;
	image-rendering: auto;
	image-rendering: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
input, button, select, textarea {
	font-family: inherit;
}


#div_body
{
	position: absolute;
	width: 1280px;
	height: 720px;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) scale(calc(min(100vw / 1280, 100vh / 720)));
	transform-origin: center center;
	will-change: transform;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}



#mycanvas, #e_c_div, canvas
{
	image-rendering: auto;
	image-rendering: smooth;
}
/* 수직 스크롤바 스타일링 */

::-webkit-scrollbar
{
	width: 10px; /* 스크롤바의 너비 조정 */
	background-color: #555;
	border-radius: 10px;
}

::-webkit-scrollbar-thumb
{
	background-color: #f4eee4; /* 스크롤바의 색상 조정 */
	border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover
{
	background-color: #5bb79d; /* 스크롤바에 호버 효과를 줄 경우 색상 변경 */
}

/* 수평 스크롤바 스타일링 */
::-webkit-scrollbar:horizontal
{
	height: 10px; /* 수평 스크롤바의 높이 조정 */
	border-radius: 10px;
}

::-webkit-scrollbar-thumb:horizontal
{
	background-color: #5bb79d; /* 수평 스크롤바의 색상 조정 */
}


#iframe_ga
{
	left: 1279px;
	top: 719px;
	width: 1px;
	height: 1px;
	position:absolute;	
}

#LOGLOG
{
	left: 760px;
	top: 50px;
	width: 500px;
	height: 650px;
	background: gray;
	opacity: 0.6;
	display: none;
	position:absolute;	
}

#UserG_bg_map /*  User Guide 배경화면*/
{

}

/*
div { overflow: hidden;}
*/
.button {
/*	border-radius: 15px;*/
}


.effect{
	left: 100px;
	top: 100px;
	width: 20px;
	height: 10px;
	background-color: orange;
	margin: 5px;
	position:absolute;
}

/* 업그레이드, 충전하기 등 상위 메뉴의 제목 설정 */
.title{
	left: 481px;
	top: 70px;
	width : 318px;
	height: 39px;
	/*background: 'yellow';	*/
	/*opacity:'0.5';		*/
	line-height: 39px;
	font-size  : 28px;
	text-align : center;
	text-shadow: 1px 1px 1px black; 
	font-weight: bold;
	color :white;
	position: absolute;
}

/* 각 화면 아래의 back button에 관한 것 */
.back{
	left: 418px;
	top: 629px;
	width : 216px;
	height: 71px;
	color: white;
	background:url(../image/ui/0_common/co_leftbt.png) no-repeat 0 0;
	background-position:0px 0px;
	line-height: 70px;
	font-size  : 26px;
	text-align : center;
	text-shadow: 1px 1px 1px black; 
	position: absolute 
}
.back_icon{
	left:	445px;
	top:	641px;
	width:	46px;
	height:	51px;
	background:url(../image/ui/2_selectmap/sm_returnIcon.png) no-repeat 0 0;
	background-position:0px 0px;
	position: absolute;
}
.back_text{
	left: 483px;
	top: 629px;
	width : 151px;
	height: 71px;
	color: white;
	line-height: 70px;
	font-size  : 26px;
	text-align : center;
	text-shadow: 1px 1px 1px black; 
	position: absolute; 
}

.back_focus{
	left:	418px;
	top:	629px;
	width:	216px;
	height: 71px;
	background:url(../image/ui/0_common/co_leftbt_focus.png) no-repeat 0 0;
	background-position:0px 0px;
	position: absolute;
}
.start_focus{
	left:	0px; /*646px;*/
	top:	0px; /*629px;*/
	width:	216px;
	height: 71px;
	background:url(../image/ui/0_common/co_rightbt_focus.png) no-repeat 0 0;
	background-position:0px 0px;
	position: absolute;
}
.start{
	left:	646px;
	top:	629px;
	width :	216px;
	height:	71px;
	color: white;
	background:url(../image/ui/0_common/co_rightbt.png) no-repeat 0 0;
	background-position:0px 0px;
	line-height: 70px;
	font-size  : 26px;
	text-align : center;
	text-shadow: 1px 1px 1px black; 
	position: absolute;
}
.start_text{
	left:	0px;
	top:	0px;
	width :	151px;
	height:	71px;
	color: white;
	line-height: 71px;
	font-size  : 26px;
	text-align : center;
	text-shadow: 1px 1px 1px black; 
	position: absolute;
}

.ranking_start_text{
	left:	0px;
	top:	0px;
	width :	151px;
	height:	71px;
	color: white;
	line-height: 71px;
	font-size  : 20px;
	text-align : center;
	text-shadow: 1px 1px 1px black; 
	position: absolute;
}

.start_icon{
	left:	143px;
	top:	12px;
	width :	46px;
	height:	51px;
	color: white;
	background:url(../image/ui/1_mainmenu/mm_startIcon.png) no-repeat 0 0;
	background-position:0px 0px;
	position: absolute;
}

/* 레벨업 완료,캐릭터뽑기완료,업그레이드완료 화면 아래에 사용 하는 확인 버턴*/
.complete_ok {
	left:	532px;
	top:	629px;
	width :	216px;
	height:	71px;
	color: white;
	background:url(../image/ui/1_mainmenu/mm_mainbt.png) no-repeat 0 0;
	background-position:0px 0px;
	line-height: 70px;
	font-size  : 26px;
	text-align : center;
	text-shadow: 1px 1px 1px black; 
	position: absolute;
}



.tg  {
    border-collapse:collapse;
    border-spacing:0;
}
.tg th{
    font-size:25px;
    font-weight:normal;
    height: 38px;
    /*padding: 1px 10px;*/
    /*border-style:solid;*/
    /*border-width:1px;*/
    overflow:hidden;
    word-break:normal;
    color: #fee4aa;
    text-shadow: 1px 1px 1px black;
}
.tg td{
    font-size:20px;
    height: 42px;
    /*padding: 10px 0px;*/
    /*border-style:solid;*/
    /*border-width:1px;*/
    overflow:hidden;
    word-break:normal;
    color: #fee4aa;
}

.tg .tg-bhth{text-align:center;vertical-align:center}
.tg .tg-bhtd{text-align:center;vertical-align:center}

/* Sparkling을 위해 */
/*
.sparkle {
	position:absolute;
}
.small-sparkle1 {
	-webkit-transform:scale(0.7);
	transform:scale(0.7);
}
.small-sparkle2 {
	-webkit-transform:scale(0.6);
	transform:scale(0.6);
}
*/

.loader2 {
  /*margin: 25% auto;  */
  margin: 23% auto;  
  top : 1%;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(255, 255, 255, 0.2);
  border-right: 1.1em solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
  border-left: 1.1em solid #ffffff;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
.loader2,
.loader2:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}




/* loading bar animation을 위해 */
.loader1 {
  margin: 100px auto;
  font-size: 25px;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: relative;
  text-indent: -9999em;
  -webkit-animation: load5 1.1s infinite ease;
  animation: load5 1.1s infinite ease;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
@-webkit-keyframes load5 {
  0%,
  100% {
    box-shadow: 0em -2.6em 0em 0em #ffffff, 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.5), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7);
  }
  12.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.7), 1.8em -1.8em 0 0em #ffffff, 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5);
  }
  25% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.5), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7), 2.5em 0em 0 0em #ffffff, 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  37.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5), 2.5em 0em 0 0em rgba(255, 255, 255, 0.7), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.5), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.7), 0em 2.5em 0 0em #ffffff, -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  62.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.5), 0em 2.5em 0 0em rgba(255, 255, 255, 0.7), -1.8em 1.8em 0 0em #ffffff, -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  75% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.5), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.7), -2.6em 0em 0 0em #ffffff, -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  87.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.5), -2.6em 0em 0 0em rgba(255, 255, 255, 0.7), -1.8em -1.8em 0 0em #ffffff;
  }
}
@keyframes load5 {
  0%,
  100% {
    box-shadow: 0em -2.6em 0em 0em #ffffff, 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.5), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7);
  }
  12.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.7), 1.8em -1.8em 0 0em #ffffff, 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5);
  }
  25% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.5), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7), 2.5em 0em 0 0em #ffffff, 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  37.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5), 2.5em 0em 0 0em rgba(255, 255, 255, 0.7), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.5), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.7), 0em 2.5em 0 0em #ffffff, -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  62.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.5), 0em 2.5em 0 0em rgba(255, 255, 255, 0.7), -1.8em 1.8em 0 0em #ffffff, -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  75% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.5), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.7), -2.6em 0em 0 0em #ffffff, -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  87.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.5), -2.6em 0em 0 0em rgba(255, 255, 255, 0.7), -1.8em -1.8em 0 0em #ffffff;
  }
}


#S_LOGO_div					{display : none}
#S_SYNOPSIS_div				{display : none}
#S_GONGJI_div				{display : none}
#S_ATTENDANCE_div			{display : none}
#S_MAINMENU_div				{display : none}
#S_USERGUIDE_div				{display : none}
#S_SELECTMAP_div			{display : none}
#S_SELECTSTAGE_div			{display : none}
#S_RANKING_div				{display : none}
#S_MEDALPOWER_div			{display : none}
#S_MAKETEAM_div				{display : none}
#S_CLEVELUP_div				{display : none}
#S_CLEVELUP_COMPLETE_div	{display : none}
#S_EVOLUTION_COMPLETE_div	{display : none}
#S_UPGRADE_div				{display : none}
#S_UPGRADE_COMPLETE_div		{display : none}
#S_GACHA_div				{display : none}
#S_GACHA_COMPLETE_div		{display : none}
#S_MARKETSTORE_div			{display : none}
#S_GACHARESULT_div			{display : none}
#S_GAME_div					{display : none}
#S_STAGECLEAR_div			{display : none}
#S_STAGEFAIL_div			{display : none}
#S_POPUPQUIT_div			{display : none}
#S_SETTING_div				{display : none}
#S_PAYMENT_CNM_div			{display : none}
#S_INPUT_NICKNAME_div		 {display : none}

/* 20170704_yhlee  도감 추가로 인하여 추가합니다.  */;
/* 20191122_chkim -> 도감추가 */
#S_CHARBOOK_ALLY_div          {display : none}
#S_CHARBOOK_ALLY_POPUP_div          {display : none}
#S_CHARBOOK_ENEMY_div          {display : none}

/* 게이지 바, 기본은 안보이게 */
#Img_GA_our_team			{display : none}
#Img_GA_your_team			{display : none}

/* ========================================================
   FIX MAP NORMAL/HARD BUTTON OVERLAP & LOBBY LEAK
   ======================================================== */
#Img_SM_mode_div {
	display: none !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

#Img_SM_background {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 1280px;
	height: 720px;
	background: url('../image/ui/2_selectmap/sm_bg.jpg') no-repeat 0 0;
	background-size: 1280px 720px;
}

#S_SELECTMAP_div,
#S_SELECTMAP_HARD_div {
	background: url('../image/ui/2_selectmap/sm_bg.jpg') no-repeat 0 0;
	background-size: 1280px 720px;
}

body.scene-S_SELECTMAP #Img_SM_background,
body.scene-S_SELECTMAP_HARD #Img_SM_background,
body.scene-S_SELECTMAP #S_SELECTMAP_div,
body.scene-S_SELECTMAP_HARD #S_SELECTMAP_HARD_div {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
}

body.scene-S_SELECTMAP:not(.scene-S_GAME):not(.scene-S_SELECTSTAGE):not(.scene-S_MAINMENU) #Img_SM_mode_div,
body.scene-S_SELECTMAP_HARD:not(.scene-S_GAME):not(.scene-S_SELECTSTAGE_HARD):not(.scene-S_MAINMENU) #Img_SM_mode_div {
	display: block !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	top: 110px !important;
	left: 69px !important;
	z-index: 10 !important;
}

/* TUYỆT ĐỐI ẨN TRONG TRẬN ĐẤU (S_GAME) VÀ CÁC SCENE KHÁC */
body.scene-S_GAME #Img_SM_mode_div,
body.scene-S_SELECTSTAGE #Img_SM_mode_div,
body.scene-S_SELECTSTAGE_HARD #Img_SM_mode_div,
#S_GAME_div:not([style*="display: none"]) ~ #Img_SM_mode_div {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* ========================================================
   ĐÓNG HOÀN TOÀN TÍNH NĂNG THÔNG BÁO ĐỎ VÀ ĐÓNG TÍNH NĂNG SHOP TRONG GAME
   ======================================================== */
#MM_menu4_new,
#Img_MM_menu4_new,
img[id="MM_menu4_new"] {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

#MM_menu4,
#Img_MM_menu4 {
	opacity: 0.65 !important;
	filter: grayscale(50%) !important;
	cursor: not-allowed !important;
}

/* ========================================================
   ẨN HOÀN TOÀN ICON / KHUNG CHAT KHI ĐANG MỞ HỘP THƯ
   ======================================================== */
#S_MAILBOX_div:not([style*="display: none"]) ~ #chat_box,
#S_MAILBOX_div[style*="display: block"] ~ #chat_box,
#div_body:has(#S_MAILBOX_div:not([style*="display: none"])) #chat_box,
#div_body:has(#S_MAILBOX_div[style*="display: block"]) #chat_box {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}
