/* CSS Document */

html, body {
	font-size:14px;
	margin:0;
	padding:0;	
}

body{
	background-color: #f5f5f5 !important;
}

.top-ban{
	display: none;	
}

.bg-white{
	background-color: #fff;
}

.bg-grey{
	background-color: #e2e2e2;
}

.bg-light{
	background-color: #fafafa;
}


/* Wrapper */

.div-wrapper{
	max-width : 610px;	
	position:relative;
	margin:0 auto;
	overflow-x: hidden;	
}

.div-wrapper #content{
	position:relative;
	min-width:320px;
}


/* inline box */
.inline-box{
	display:inline-block; vertical-align:top;
}


/* 서브홈 마다 있는 카테고리 메뉴 */
#topbar-panel{
	position: absolute;
	top : 9px; left : 5px;
	width: 45px; height: 35px;
	padding: 7px;	
	box-sizing:border-box;
	cursor:pointer;	
	z-index: 2;
}

#topbar-panel i.btn-hlz-wrap {	
	display:block;
    vertical-align: middle;
    text-align: center;
	box-sizing:border-box;	
}

#topbar-panel i.btn-hlz {
	display:block;
    margin: 4px auto;
	width:20px;
    height: 2px;
	padding:0;
    background-color: #FFF;    	
}


/* menu icon */
i.btn-hlz-wrap {	
	display:block;
    vertical-align: middle;
    text-align: center;
	box-sizing:border-box;	
}
i.btn-hlz {
	display:block;
    margin: 4px auto;
	width:20px;
    height: 2px;
	padding:0;
    background-color: #444;    
}

/* footer */

footer {
	margin-top: 2rem;
}

footer .companyInfo{
	font-size: 9pt;
	color:#777;
	text-shadow:none;
	text-align:center;
	font-weight:700;	
	padding: 2px 10px 1px;
	margin:0;
	cursor: pointer;
}

footer .companyInfo-readonly{
	font-size: 9pt;
	color:#777;
	text-shadow:none;
	text-align:center;
	font-weight:700;	
	padding: 2px 3px 1px 3px;
	margin:0;	
	user-select: none;
}

/* 새로운 풋터 Footer Info 2 */
.bottom-info-box{
	font-size: 14px;	
	padding-bottom: constant(safe-area-inset-top);
	padding-bottom: env(safe-area-inset-top);
}
.bottom-info-box a {
	text-decoration: none;
	color: #000;
}
.bottom-info-box > table{
	width: 100%;
	text-align: center;
	border-spacing: 0px;
	border-collapse: separate;	
	border-collapse: collapse;
}
.bottom-info-box table.col-3 td{
	width: 33.33333%;
	border: 1px solid #ddd;
	border-bottom: 0;
}
.bottom-info-box table.col-2 td{
	width: 50%;
	border: 1px solid #ddd;
}
.bottom-info-box table td{
	text-align: center;
	background-color: #eee;
	padding-top: 2rem;
	padding-bottom: 2rem;
}
.bottom-info-box table td h1{	
	font-size: 18px;
	margin: 0;
}
.bottom-info-box table td p{	
	font-size: 13px;
	font-weight: 400;
	color: #666;
	margin: 0;
	margin-top: 0.6em;
	word-break: keep-all;
	white-space: normal;
	letter-spacing: -1px;
}
.bottom-info-box .info-icons{ /* footer icons */
	display: inline-block;
	margin: 0 auto;
	background-image: url("../a5_main/images/footer-images.png");
	background-size: 180px 120px;
	width: 60px; height: 60px;
	margin-bottom: 1rem;
}
.bottom-info-box #invite-icon{
	background-position: 0 0;	
}
.bottom-info-box #story-icon{
	background-position: -60px 0;
}
.bottom-info-box #rule-icon{
	background-position: -120px 0;
}

/* panel sns icon */
.bottom-info-box .sns-icons{ /* sns icons */
	display: inline-block;
	margin: 0 auto;
	background-image: url("https://mopenmarket.speedgabia.com/mimo/icons/sns-images.png");
	background-size: 180px 90px;
	width: 45px; height: 45px;
	margin-bottom: 1rem;
}
.bottom-info-box #daum-icon{
	background-position: 0 0;	
}
.bottom-info-box #facebook-icon{
	background-position: -45px 0;
}
.bottom-info-box #instagram-icon{
	background-position: -90px 0;
}

/* renew 가로형 */
.sns_ul{
	list-style: none;
	padding: 0;
	margin: 0;
	background-color: #eee;				
}
.sns_ul li{
	padding: 0; 
	border-bottom: 1px solid #ddd;
	background-color: #fafafa;
}
.sns_div{
	display: inline-block;
	vertical-align: top;
	margin-left: 10px;
	margin-right: 10px;	
}
.sns_div.text
{
	width: calc(100% - 110px); box-sizing: border-box;
}
.sns_div h1{
	padding: 0; margin: 0;
	margin-top: 15px; color: #444; font-size: 17px;
}
.sns_div p{
	padding: 0; margin-top: 1px; color: #444;
	font-weight: 400;
}
.sns_div .sns-icons{ /* sns icons */
	display: inline-block;
	margin: 0 auto; 
	margin-top: 17px;
	margin-bottom: 1rem;
	margin-left: 1rem;
	background-image: url("https://mopenmarket.speedgabia.com/mimo/icons/sns-images.png");
	background-size: 180px 90px;
	width: 45px; height: 45px;	
}
.sns_div #daum-icon{
	background-position: 0 0;	
}
.sns_div #facebook-icon{
	background-position: -45px 0;
}
.sns_div #instagram-icon{
	background-position: -90px 0;
}
.sns_div #naverblog-icon{
	background-position: -135px 0;
}


.fnButton{	
	display: inline-block;
	width: 80px;
	height: 28px;
	line-height: 28px;	
	color:#fafafa;	
	font-size: 12px;
	text-align:center;
	text-shadow:none;
	border:1px solid #555;
	margin-bottom:1.5rem;
	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 버튼 표준 */
.btn {
	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	cursor: pointer;	
}

.btn.center{
	margin: 0 auto;
}

.m1,
.btn.m1{
	margin: 0.5rem;
}

.m2,
.btn.m2{
	margin: 0.7rem;
}

.m3,
.btn.m3{
	margin: 1rem;
}

.mimo-btn-sm{	
	width: 80px;
	height: 28px;
	line-height: 30px;	
	color:#444;	
	font-size: 12px;
	text-align:center;	
	border:1px solid #d8dcde;
	background-color: #e4e8ea;
}

.mimo-btn-md{
	width: 100px;
	height: 32px;
	line-height: 34px;	
	color:#444;	
	font-size: 14px;
	text-align:center;	
	border:1px solid #d8dcde;
	background-color: #e4e8ea;
}

.mimo-btn-lg{
	width: 160px;
	height: 38px;
	line-height: 40px;	
	color:#444;	
	font-size: 15px;
	text-align:center;	
	border:1px solid #d8dcde;
	background-color: #e4e8ea;
}

.btn.primary{
	background-color:#27A6F3;
	border:1px solid #27A6F3;
	color:#FFF;
}


/* fadeIn Effect */

.fadeIn{
	opacity: 0;
    -webkit-animation: fadein 1s forwards; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 1s forwards; /* Firefox < 16 */
        -ms-animation: fadein 1s forwards; /* Internet Explorer */
         -o-animation: fadein 1s forwards; /* Opera < 12.1 */
            animation: fadein 1s forwards;
			
	-webkit-animation-delay: 0.5s;			
	-moz-animation-delay: 0.5s;			
	-ms-animation-delay: 0.5s;	
	-o-animation-delay: 0.5s;			
	animation-delay: 0.5s;	
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media only screen and (max-width: 609px) {
	
	/* mobile */
		
	.top-ban img{
		width: 100%;
	}
		
	.page-wrapper{
		/* 중요! */
		position: fixed;
		top:0; bottom: 45px;
		width:100%;
		max-width: 610px;	
		-webkit-overflow-scrolling: touch;
		overflow-scrolling: touch;	
		overflow-y: auto;	
		overflow-x: hidden;		
		border-left : 1px solid #ddd;
		border-right : 1px solid #ddd;
		border-bottom : 1px solid #ddd;
		box-sizing:border-box;
	}
		
	footer{
		margin-top:0;
	}
	
	/* 풋터 */
	.bottom-info-box{
		font-size: 14px;			
	}
	.bottom-info-box table td h1{	
		font-size: 15px;
	}	
	.bottom-info-box table td p{
		font-family: gulim, 굴림;
		font-size: 11px;
	}
	.bottom-info-box .info-icons
	{
		display: inline-block;
		margin: 0 auto;
		background-image: url("../a5_main/images/footer-images.png");
		background-size: 150px 100px;
		width: 50px; height: 50px;
		margin-bottom: 1rem;
	}
	.bottom-info-box #invite-icon{
		background-position: 0 0;	
	}
	.bottom-info-box #story-icon{
		background-position: -50px 0;
	}
	.bottom-info-box #rule-icon{
		background-position: -100px 0;
	}	
}

@media only screen and (min-width: 610px){
	
	/* pc */
	
	.top-ban img{
		/* 다운로드 배너 위치(고정) */
		height: 100px;
	}

	.page-wrapper{	
		top:0; bottom: auto;
		width:100%;
		max-width: 610px;	
		-webkit-overflow-scrolling: touch;
		overflow-scrolling: touch;	
		overflow-y: auto;	
		overflow-x: hidden;		
		border-left : 1px solid #ddd;
		border-right : 1px solid #ddd;
		border-bottom : 1px solid #ddd;
		box-sizing:border-box;
		background-color:#fafafa;
	}

	main #content{
		width:100%;
		max-width : 610px;
		margin: 0 auto;
		box-sizing:border-box;			
	}

	/* category menu icon */
	#panel i.btn-hlz-wrap {	
		padding-top:11px;
	}
	
	footer{
		margin-top:0;
	}
}