/* BASIC css start */
.fa-navicon {
	background:url('/design/castco/soban/Folder/img/m_fold_btn.png') no-repeat;
	width:18px;
	height:11px;
	background-size:18px 11px;
}
.fa-times {
	background:url('/design/castco/soban/Folder/img/m_close_btn.png') no-repeat;
	width:18px;
	height:18px;
	background-size:18px 18px;
}
.fa-navicon:before, .fa-reorder:before, .fa-bars:before {
	display:none;
}
.fa-remove:before, .fa-close:before, .fa-times:before {
	display:none;
}
.fa.fa-times.fa-2x {
	position: absolute;
	right: 25px;
	top: 0px;
	z-index: 99999;
}
.header_menu {
}
.header_menu ul {
	border-bottom: 1px solid #ededed;
}
.header_menu ul:after {
	content: "";
	display: block;
	clear: both;
}
.header_menu ul li {
	width: 24.7%;
	float: left;
	text-align: center;
	height: 30px;
	line-height: 30px;
	text-transform: uppercase;
	border-right: 1px solid #ededed;
}
.header_menu ul li.on {
	background:#000;
}
.header_menu ul li.on a {
	color:#fff;
}
.header_menu ul li a {
	font-size: 0.7em;
	letter-spacing: -0.03em;
}
.menu_on {
	height:100%;
	overflow:hidden;
}
.menu_off {
	height:auto;
	overflow:initial;
}
#header {
	width:100%;
}
#header .top-pt-01 {
	position: fixed;
	/* top: 0; */
    /* left: 0; */
    right: 0;
	z-index: 9999999999;
	/* position: relative; */
    float: right !important;
	text-align: right !important;
}
#header .top-pt-02 {
	position:fixed;
	top:0;
	left:0;
	right:0;
	z-index:100;
}
#header .top-pt-03 {
	position:fixed;
	top:31px;
	left:0;
	right:0;
	z-index:100;
}
#header .headerTop {
	min-width: 275px;
	text-align: center;
	background-color: #fff;
	border-bottom: 1px solid #ededed;
}
#header .headerTop .bookmark {
	color:#000;
	position:relative;
	width:12%;
}
#header .headerTop .bookmark span {
	font-size:1.2em;
	position:absolute;
	right:23px;
}
#header .headerTop:after {
	content: "";
	display: block;
	clear: both;
}
#header .headerTop a {
	width: 22%;
	height: 30px;
	line-height: 30px;
	color: #9d9d9d;
	float: left;
	background: url('/design/castco/soban/Folder/img/m_top_bar.gif');
	background-repeat: no-repeat;
	background-position-x: right;
	background-position-y: 50%;
}
#header .headerTop a .fa {
	vertical-align:top;
	top:9px;
}
#header #menu {
	width:45px;
}
#header #menu img {
	height: 13px;
	vertical-align: middle;
}
#header #menu .fa {
	top:5px;
}
#header .headerBottom {
	padding: 0 20px;
	border-bottom: 1px solid #ededed;
	background:#fff;
}
#header .headerBottom:after {
	content: "";
	display: block;
	clear: both;
}
#header .headerBottom .headerBottomLeft {
	float: left;
	margin: 25px 0;
	width: 33%;
	text-align: left;
}
#header .headerBottom .headerBottomMiddle {
	float: left;
	margin: 20px 0;
	width: 33%;
	text-align: center;
}
#header .headerBottom .headerBottomRight {
	float: right;
	margin: 25px 0;
	width: 33%;
	text-align: right;
}
#header .headerBottom .headerBottomRight #search img {
	height:15px;
	vertical-align:middle;
}
#header .headerBottom .headerBottomRight a {
	margin-left:17px;
	color:#7d7d7d;
}
#header .headerBottom .headerBottomRight a .fa-bookmark-o {
	color:#f1494d;
}
#header .headerBottom .headerBottomRight .cart {
	position:relative;
}
#header .headerBottom .headerBottomRight .cart sup {
	width:12px;
	height:12px;
	background-color:#f1191f;
	color:#fff;
	border-radius:6px;
	position:absolute;
	top:-12px;
	right:-5px;
	text-align: center;
	line-height: 12px;
}
#header .search {
	height:42px;
	position:relative;
	left:0;
	right:0;
	background-color:#ddd;
	padding-right:45px;
	text-align:center;
	display:none;
	z-index:10;
}
#header .search .searchBox {
	width:100%;
}
#header .search .searchBox input {
	width:90%;
	height:30px;
	border:0px none;
	margin-top: 6px;
	padding: 0 5px;
}
#header .search .btn_search {
	width: 45px;
	height: 42px;
	line-height: 50px;
	background-color: #999;
	position: absolute;
	top: 0;
	right: 0;
	color: #fff;
	text-align: center;
}
/* 카테고리 */
aside {
	position:fixed;
	width:320px;
	height:100%;
	top:0px;
	left:0;
	bottom:0;
	background-color:#fff;
	overflow-y:auto;
	-webkit-overflow-scrolling: touch;
	z-index:1001;
	display:none;
}
aside .asideTop {
	text-align:center;
}
aside nav li {
	position:relative;
}
aside nav li a {
	display: block;
	height: 35px;
	line-height: 35px;
	padding: 0;
	margin-right: 40px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-transform: uppercase;
	font-size: 15px;
}
aside nav li .fa {
	position: absolute;
	top:0;
	right: 0;
	width: 40px;
	text-align: center;
	height: 35px;
	line-height:35px;
}
aside nav li > ul {
	background-color: #f4f4f4;
	display: none;
	border-top: 1px solid #ddd;
}
aside nav li > ul > li {
	border-bottom:0px none;
	border-top:1px solid #ccc;
}
aside nav li > ul > li:first-child {
	border-top:0px none;
}
aside nav li > ul > li a {
	padding:0 40px 0 30px;
	margin: 0;
}
aside nav li > ul > li > ul {
	border-top:0px none;
	border-top:1px solid #ccc;
}
aside nav li > ul > li > ul > li {
	border-bottom:0px none;
}
aside nav li > ul > li > ul > li a {
	padding:0 0 0 40px;
	margin: 0;
	background-color: #DDDDDD;
}
aside .asideBottom {
	padding:20px 22px;
}
aside .asideBottom p {
	color: #979797;
	text-align: center;
}
aside .asideBottom p.num {
	color: #000;
	font-size: 17px;
	margin: 10px 0;
}
aside .asideBottom .copyright {
	margin-top: 0px;
	color: #cfcfcf;
	font-size: 10px;
}
.asideBottom .bottom_box {
	margin-top:30px
}
.asideBottom .bottom_box ul {
	text-align:center;
}
.asideBottom .bottom_box ul li {
	display: inline-block;
	width: 43%;
	margin: 3% 0;
}
.asideBottom .bottom_box ul li a {
	padding: 0 10px;
	height: 8px;
	display: inline-block;
	line-height: 6px;
}
.asideBottom .bottom_box ul li:first-child {
	text-align:right;
}
.asideBottom .bottom_box ul li:first-child a {
	border-right:1px solid #ddd;
}
.asideBottom .bottom_box ul li:last-child {
	text-align:left;
}
.asideBottom .bottom_box ul li a {
	color:#979797;
}
aside .navCommunity {
	display:none;
}
aside .navMypage {
	display:none;
}
.asideTop {
	padding: 30px 20px 20px 20px;
}
.asideTop .logo {
	text-align:center;
	height:25px;
}
.asideTop .logo img {
	height:100%;
}
.asideTop .tab {
}
.asideTop .tab ul {
	margin:35px 0 0 0;
    font-size:0;
}
.asideTop .tab ul a{
    font-size:0;
}
.asideTop .tab ul li {
	display: inline-block;
	width: 50%;
	margin: 0;
    box-sizing:border-box;
    font-size:0.75rem;
}
.asideTop .tab ul li.black {
	background:#000;
	border:1px solid #000;
	color:#fff;
	text-align:center;
	height:40px;
	line-height:40px;
}
.asideTop .tab ul li.white {
	background:#fff;
	border:1px solid #dfdfdf;
	color:#000;
	text-align:center;
	height:40px;
	line-height:40px;
	position:relative;
}
.asideTop .tab ul li.white .join_point {
	position: absolute;
	top: -13px;
	height: 22px;
	right: 31%;
}
.asideTop .tab ul li.white .join_point img {
	height:100%;
}
.aside_mp_tab {
	padding:0 20px 20px 20px;
}
.aside_mp_tab ul {
	border-left:1px solid #ddd;
	border-top:1px solid #ddd;
}
.aside_mp_tab ul:after {
	content: "";
	display: block;
	clear: both;
}
.aside_mp_tab ul li {
	float:left;
	text-align:left;
	border-right:1px solid #ddd;
	border-bottom:1px solid #ddd;
	width:34.5%;
	padding:0 0 0 15%;
	height:40px;
	line-height:40px;
	position:relative;
}
.aside_mp_tab ul a:nth-of-type(1) li span {
position:absolute;
top:0px;
left:0px;
width:20px;
height:40px;
background-image:url('/design/castco/soban/Folder/img/m_aside_icon.png');
background-repeat:no-repeat;
background-position:3px 10px;
background-size:auto 20px;
margin:0 10px;
}
.aside_mp_tab ul a:nth-of-type(2) li span {
position:absolute;
top:0px;
left:0px;
width:22px;
height:40px;
background-image:url('/design/castco/soban/Folder/img/m_aside_icon.png');
background-repeat:no-repeat;
background-position:-45px 10px;
background-size:auto 20px;
margin:0 10px;
}
.aside_mp_tab ul a:nth-of-type(3) li span {
position:absolute;
top:0px;
left:0px;
width:20px;
height:40px;
background-image:url('/design/castco/soban/Folder/img/m_aside_icon.png');
background-repeat:no-repeat;
background-position:-19px 10px;
background-size:auto 20px;
margin:0 10px;
}
.aside_mp_tab ul a:nth-of-type(4) li span {
position:absolute;
top:0px;
left:0px;
width:20px;
height:40px;
background-image:url('/design/castco/soban/Folder/img/m_aside_icon.png');
background-repeat:no-repeat;
background-position:-97px 10px;
background-size:auto 20px;
margin:0 10px;
}
.aside_mp_tab ul a:nth-of-type(5) li span {
position:absolute;
top:0px;
left:0px;
width:20px;
height:40px;
background-image:url('/design/castco/soban/Folder/img/m_aside_icon.png');
background-repeat:no-repeat;
background-position:-72px 10px;
background-size:auto 20px;
margin:0 10px;
}
.aside_mp_tab ul a:nth-of-type(6) li span {
position:absolute;
top:0px;
left:0px;
width:20px;
height:40px;
background-image:url('/design/castco/soban/Folder/img/m_aside_icon.png');
background-repeat:no-repeat;
background-position:-120px 10px;
background-size:auto 20px;
margin:0 10px;
}
.navCategory {
	padding: 0 20px 20px 20px;
}
/* //카테고리 */

/* 최근 본 상품 */
#ly_lastView {
	width:100%;
	position:absolute;
	top:36px;
	left:0;
	background-color:#fff;
	z-index:101;
	padding-bottom:20px;
	box-shadow: 0 1px 10px #717171;
	display:none;
}
/* //최근 본 상품 */

@media screen and (min-width:768px) {
 #header #menu {
width:85px;
}
 #header .headerTop {
padding-right:85px;
}
 #header .search {
padding-right:85px;
}
 #header .search .searchBox input {
width:95%;
}
 #header .search .btn_search {
width:85px;
}
}


function mobile_homebutton(title) {
    var page_uri = "http://" + document.domain,
         main_uri = page_uri + "/m/main.html",
         icon_uri = '',
         user_agent = navigator.userAgent.toLowerCase();
    var title = (title.length > 0) ? title : shop_name,
         encode_title = encodeURI(title);

    (function($) {
        $(function() {
            $('link').each(function() {
                if ($(this).attr('rel') == "apple-touch-icon-precomposed") {
                    icon_uri = page_uri + $(this).attr('href');
                }
            });
        });
    })(jQuery);

    var call_uri= "intent://addshortcut?url="+main_uri +"&icon="+icon_uri +"&title="+encode_title+"&oq="+encode_title+"&serviceCode=nstore&version=7#Intent;scheme=naversearchapp;action=android.intent.action.VIEW;category=android.intent.category.BROWSABLE;package=com.nhn.android.search;end";
    if (user_agent.match(/ipad|iphone|ipod/g)) {
        alert('아이폰, 아이패드계열은 직접 홈버튼 추가를 사용하셔야 합니다.');
    } else {
        alert(title+'을(를) 홈화면에 추가합니다. 네이버앱이 없는 고객님께서는 네이버앱 설치페이지로 이동됩니다.');
        document.location.href = call_uri;
    }
}
/* BASIC css end */

