

/* ■ 햄버거 메뉴 열린 상태 */
.ham-outside.ham-open{visibility:visible; -webkit-transform:translateX(0); transform:translateX(0); -webkit-transition:-webkit-transform 0.5s ease, visibility 0s; transition:transform 0.5s ease, visibility 0s;}


/* ■ 햄버거 메뉴 닫힌 상태 0.4s */
.ham-outside{position:fixed; top:0; right:0; width:100%; max-width:500px; height:100%; background:#fff; border:1px solid #f7f7f7; text-align:center; z-index:103; visibility:hidden; -webkit-transform:translateX(100%); transform:translateX(100%); -webkit-transition:-webkit-transform 0.5s ease, visibility 0s linear 0.5s; transition:transform 0.5s ease, visibility 0s linear 0.5s;}


.ham-inside{ position:relative; display:inline-block; width:97%; max-width:420px; margin:0 auto; 
padding:85px 10px 150px 10px;  text-align:center; line-height:2; 
overflow-Y:auto;  
height:calc(100%*1.3); overscroll-behavior: none;  /*◀ 스크롤 없으면 실행 안되므로 이렇게 스크롤 만들어주기 */
}

.ham-inside *{ color:#000; }

.ham-inside li{  list-style-type:none; }

/*햄 닫기 버튼*/
.ham-x-close{ position:absolute; top:35px; right:10px; display:inline-block; width:35px;height:35px; border:0; } 
.ham-x-close img{ width:26px; height:26px; transition: opacity 0.3s;  }
.ham-x-close:hover img{ opacity:0.6; }

/*----- 로그인 ------*/
.ham-login-ul {  display:inline-block; width:100%; margin-top:25px;  }

.ham-login-ul li{ display:inline-block; width:49%; font-size:18px; text-align:center; 
border:1px solid #000; line-height:45px; cursor:pointer; border-radius:2px; }

.ham-login-ul li:nth-child(1){float:left; }
.ham-login-ul li:nth-child(2){float:right }

.ham-login-ul li:hover{ background:#444; color:#fff; }


/*--- 닉네임 ----*/
.ham-nick-wrap{ display:inline-block; width:100%;  }

.ham-nick-wrap p{ display:inline-block; width:100%; font-size:16px; line-height:1.6;
padding:0px 12px; text-align:left; border-radius: 5px; }

.ham-hart{max-width:16px; vertical-align:middle; margin-left:-2px; margin-top:-1px; }
 
.ham-nick-wrap{ margin-top:20px; } 
.ham-category{ margin-top:10px; }

.ham-space {height:15px; }

/*------카테고리 -----*/
.ham-category{  display:inline-block;width:100%;margin-bottom:150px;  }

.ham-category li{
		display:inline-block; width:100%; text-align:left; 
		margin:0; padding:0px;  border-top:1px solid #e5e5e5;

		/* 폰에서 클릭시 파란색 제거 onclick으로 대체함 */
		/*
		-webkit-tap-highlight-color: rgba(0,0,0,0);
		-webkit-tap-highlight-color: transparent;
		*/
 } 

/*.ham-category li:first-of-type{border-top:0; } */

.ham-category li button, .ham-category li a, .ham-category li p{ display:inline-block; width:100%; height:100%;
font-size:16px; line-height:1.5; text-align:left; padding:15px 12px; }

.ham-category li button.ham-click-toast { background: #fff4ff; color:#ff0080;  }


.ham-category li button{border:1px solid rgba(0,0,0,0);}

.ham-category li.active {  background-color: #eee; }

.ham-f-small{font-size:14px; }
.ham-f-small span { font-size:12px; color:#555; /*font-family: 'Malgun Gothic','맑은고딕','맑은 고딕', sans-serif ;*/ }


/*햄 모달창 */
.ham-modal{
display:none;
position:fixed;  top:0; left:0; margin:0; 
padding:0;width:100%;  height:100%;  background:rgba(0,0,0,0.3); 
z-index:102; 
}

/*↓호버 피씨에서만 적용(폰에선 적용안되게)*/
@media (hover: hover) and (pointer: fine) {
	.ham-category li:hover{ background:#f5f5f5; }
}




@media screen and (max-width:600px) {

.ham-category li button, .ham-category li a, .ham-category li p{ font-weight:bold; color:#666 !important; }
.ham-f-small span {font-weight:normal; }
}


@media screen and (max-width:425px) {
.ham-x-close{ top:25px; right:13px; }

.ham-login-ul { margin-top:0px;  }
.ham-login-ul li{ font-size:20px; line-height:48px; }

.ham-hart{max-width:18px; margin-top:-2px; margin-left:-4px;}
.ham-nick-wrap p{ font-size:17px; line-height:1.6; padding:0px 12px; }

.ham-category{ margin-top:15px; margin-bottom:120px;  }
.ham-space {height:10px; }
.ham-category li{ border-top:1px solid #e1e1e1; }

.ham-f-small{font-size:16px; }
.ham-f-small span {font-size:14px; /*color:#666;*/ }

.ham-category li button, .ham-category li a, .ham-category li p{font-size:18px; line-height:1.4; padding:12px 7px 11px 7px; }

}/*425*/


@media screen and (max-width:340px) {

.ham-inside{ padding:72px 8px 140px 8px; }

.ham-x-close{ top:15px; right:10px; }
.ham-x-close img{ width:24px; height:24px; }

.ham-login-ul li{ font-size:17px; line-height:41px; }

.ham-hart{max-width:16px;  margin-top:-1px; }
.ham-nick-wrap p{ font-size:15px; line-height:1.5; padding:0px 10px; }

.ham-category{margin-top:16px; margin-bottom:100px;  }

.ham-space {height:5px; }
.ham-category li button, .ham-category li a, .ham-category li p{ font-size:15px; line-height:1.3; padding:11px 5px 10px 5px; }

.ham-f-small {font-size:13px; }
.ham-f-small span {font-size:12px;  }
}