/* 가로사이즈 최대값을 주어 무제한으로 늘어지지 않게 한다. */
.shop_info, .top_menu ul.top_menu_ul, .top_menu ul.top_login_ul, #main_banner, .photo_area, .bar, .category_area {
	max-width: 100%;
	margin: 0 auto;
}

.top_shop_images {
	background-position: center;
	left: 0;
	right: 0;
	top: 0;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	
	/* background-image: url(${shopInfo.cover_img}); */
	/*이미지가 하나면 여기 주석을 푼다. 여러개를 슬라이드로 보여주기 위해 slider 스크립트 사용한다.
	background-image:
		url(http://www.beautymate4u.com:11222/smartcoupon/main/default_cover.jpg);*/
		
	height: 290px;
}

.top_shop_images a {
	display: block;
	width: 100%;
	height: 100%;
}

.top_shop_images .click {
	position: absolute;
	
	right: 0;
	text-align: right;
	padding: 0px 10px;
	line-height: 28px;
	color: #fff;
	font-size: .8em;
	font-family: AppleSDGothicNeo-Regular;
	text-shadow: rgba(0, 0, 0, .2) 0 2px 3px;
	background: rgba(0, 0, 0, .2);
	
	top: 131px; /*=(290-28)/2*/
}





.shop_info {
	z-index: 10;
	
	display: block;
	position: absolute;
	
	width: 100%;
	height: 70px;
	background: rgba(0, 0, 0, 0); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0.8) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0
		, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.8))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0.8) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0.8) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0.8) 100%); /* IE10+ */
	background: linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8)
		100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgba(0,0,0,0)',
		endColorstr='rgba(0,0,0,0.8)', GradientType=0); /* IE6-9 */
	

	top: 220px; /*290px-70px*/
}

.shop_info .info {
	display: block;
	padding: 0;
	margin: /*7px 71px 7px 7px;*/ 7px;
}

.shop_info .info .title1 {
	word-break: break-all;
	text-align: left;
	color: #fff;
	font-family: AppleSDGothicNeo-SemiBold;
	font-size: 1.1em;
}

.shop_info .info .title2 {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-align: left;
	color: #fff;
	font-family: Helvetica;
	font-size: .79em;
}

.shop_info .info .title3 {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-align: left;
	color: #fff;
	font-family: Helvetica;
	font-size: .9em;
}







.thumb1_area {
	display: none;
}

.thumb1 {
	display: inline-block;
	overflow: hidden;
	min-width: 25px;
	height: 25px;
	background: rgba(0, 0, 0, .2); /*rgba(0,0,0,.08);*/
	border: 1px solid rgba(255, 255, 255, .6);
	border-radius: 15px;
	padding: 0px 10px;
	line-height: 28px;
	text-align: center;
	color: #fff;
	font-size: .8em;
	font-family: AppleSDGothicNeo-Regular;
	text-shadow: rgba(0, 0, 0, .2) 0 2px 3px;
	margin-top: 5px;
	margin-left: 2px;
}

.thumb1:last-child {
	margin-right: 5px;
}

a.thumb1:active {
	background: rgba(255, 255, 255, .3);
}






ul.top_login_ul {
	display: block;
	height: 35%;
	text-align: right;
}

ul.top_login_ul > li {
	margin-top: 5px;
	padding: 0 10px;
	position: relative;
	display: inline-block;
	text-align: center;
	background: url(/images/portal/bar15_darker.png) 100% 50% no-repeat;
	/* float: left; */					
}


ul.top_login_ul > li:last-child {
	background: none;
}
	
/* Web */
@media all and (min-width: 1024px) {
	ul.top_login_ul > li:last-child {
		padding-right: 0;
	}
}


ul.top_login_ul > li > a {
	display: inline-block;
	color: #a9a9a9;
}


/* Web */
@media all and (min-width: 1024px) {	
		
	.shop_info .info, .tile_content, .top_menu ul.top_menu_ul, .top_menu ul.top_login_ul, #main_banner, .photo_area, .bar, .category_area {
		max-width: 70%;	
	}
	
		
	#page1 {
		background-color: #323232 /*#eef1f2*/;	
	}
	
	.shop_info {
		display: none;	
		
		/*top: 510px; /*580px-70px*/
		/*top: 440px; /*580px-70px-70*/		
	}
		
	.shop_info .info {
		margin: 7px auto;	
	}


	
	.top_shop_images {
		height: /*220px;*/ 580px;
	}
	
	

	.top_shop_images .click {
		top: 276px; /*=(580-28)/2*/
	}
}




/*********************** 메뉴 시작 ***********************/
.top_menu {
	position: /*relative*/fixed;
	top: 0;
	width: 100%;
	z-index: 20;
	height: 60px;
	font-size: 87.5%;
	background-color: /*rgba(97, 97, 97, 0.7);*/rgba(0, 0, 0, 0.7); 
	

	/* http://benfrain.com/easy-css-fix-fixed-positioning-android-2-2-2-3/ */
	/* backface-visibility 속성은 2D 나 3D 변형을 사용하여 해당 요소가 입체적으로 되었을 때 뒷면을 보여지게 하느냐 숨겨지게 하느냐의 값을 지정한다. */
	backface-visibility : hidden;
	-webkit-backface-visibility : hidden; /* For Safari and Chrome */
}

.top_menu ul.top_menu_ul {
	height: 100%;
}

.top_menu ul.top_menu_ul li {
	float: left;
	/* height: 60px; */
	text-align: center;
	/*background: url('/images/smartcoupon/20150729/line.png') 100% 0 no-repeat;*/
	

	/* 수직 중앙 정렬 (수평 중앙 정렬은 left: 50%; transform: translate(-50%, 0);)*/
	position: relative;	
	top: 50%;
	-ms-transform: translate(0, -50%);
	transform: translate(0, -50%);	
}

.top_menu ul.top_menu_ul li.divide1 {
	width: 100%;
}

.top_menu ul.top_menu_ul li.divide2 {
	width: 50%;
}

.top_menu ul.top_menu_ul li.divide3 {
	width: 33.33%;
}

.top_menu ul.top_menu_ul li.divide4 {
	width: 25%;
}

.top_menu ul.top_menu_ul li.divide5 {
	width: 20%;
}

.top_menu ul.top_menu_ul li.divide6 {
	width: 16.66%;
}

.top_menu ul.top_menu_ul li.divide7 {
	width: 14.28%;
}

.top_menu ul.top_menu_ul li.divide8 {
	width: 12.5%;
}

.top_menu ul.top_menu_ul li.divide9 {
	width: 11.11%;
}

.top_menu ul.top_menu_ul li.divide10 {
	width: 10%;
}

.top_menu ul.top_menu_ul li.last {
	display: none;
}

.top_menu ul.top_menu_ul li.last img {
	vertical-align: middle;
}

.top_menu ul.top_menu_ul li:last-child {
	background: none;
}

.top_menu ul.top_menu_ul li a {
	display: block;
	width: 100%;
	color: #fff;
	font-size: .79em;
	
	padding-top: 38px;
	padding-bottom: 10px;
}

.top_menu ul.top_menu_ul li a:hover {
	font-weight: bold;
}



.top_menu ul.top_menu_ul li a.bb {
	background: url('/images/smartcoupon/menu_B_20170404/BB.png') no-repeat center 10px;
	background-size: 20px 20px;
}

.top_menu ul.top_menu_ul li a.bc {
	background: url('/images/smartcoupon/menu_B_20170404/BC.png') no-repeat center 10px;
	background-size: 20px 20px;
}

.top_menu ul.top_menu_ul li a.cl {
	background: url('/images/smartcoupon/menu_B_20170404/CL.png') no-repeat center 10px;
	background-size: 20px 20px;
}

.top_menu ul.top_menu_ul li a.ct {
	background: url('/images/smartcoupon/menu_B_20170404/CT.png') no-repeat center 10px;
	background-size: 20px 20px;
}

.top_menu ul.top_menu_ul li a.iq {
	background: url('/images/smartcoupon/menu_B_20170404/IQ.png') no-repeat center 10px;
	background-size: 20px 20px;
}

.top_menu ul.top_menu_ul li a.mp {
	background: url('/images/smartcoupon/menu_B_20170404/MP.png') no-repeat center 10px;
	background-size: 20px 20px;
}

.top_menu ul.top_menu_ul li a.pg {
	background: url('/images/smartcoupon/menu_B_20170404/PG.png') no-repeat center 10px;
	background-size: 20px 20px;
}

.top_menu ul.top_menu_ul li a.qb {
	background: url('/images/smartcoupon/menu_B_20170404/QB.png') no-repeat center 10px;
	background-size: 20px 20px;
}

.top_menu ul.top_menu_ul li a.rb {
	background: url('/images/smartcoupon/menu_B_20170404/RB.png') no-repeat center 10px;
	background-size: 20px 20px;
}

.top_menu ul.top_menu_ul li a.sh {
	background: url('/images/smartcoupon/menu_B_20170404/SH.png') no-repeat center 10px;
	background-size: 20px 20px;
}

.top_menu ul.top_menu_ul li a.hm {
	background: url('/images/smartcoupon/menu_B_20170404/HM.png') no-repeat center 10px;
	background-size: 20px 20px;
}

.top_menu ul.top_menu_ul li a.ch {
	background: url('/images/smartcoupon/menu_B_20170404/CH.png') no-repeat center 10px;
	background-size: 20px 20px;
}

.top_menu ul.top_menu_ul li a.kt {
	background: url('/images/smartcoupon/menu_B_20170404/KT.png') no-repeat center 10px;
	background-size: 20px 20px;
}

.top_menu ul.top_menu_ul li a.e1 {
	background: url('/images/smartcoupon/menu_B_20170404/E1.png') no-repeat center 10px;
	background-size: 20px 20px;
}

.top_menu ul.top_menu_ul li a.qr {
	background: url('/images/smartcoupon/menu_B_20170404/QR.png') no-repeat center 10px;
	background-size: 20px 20px;
}

/* Web */
@media all and (min-width: 1024px) {	

	.top_menu ul.top_menu_ul li.divide1 {
		width: auto;
	}
	
	.top_menu ul.top_menu_ul li.divide2 {
		width: auto;
	}
	
	.top_menu ul.top_menu_ul li.divide3 {
		width: auto;
	}
	
	.top_menu ul.top_menu_ul li.divide4 {
		width: auto;
	}
	
	.top_menu ul.top_menu_ul li.divide5 {
		width: auto;
	}
	
	.top_menu ul.top_menu_ul li.divide6 {
		width: auto;
	}
	
	.top_menu ul.top_menu_ul li.divide7 {
		width: auto;
	}
	
	.top_menu ul.top_menu_ul li.divide8 {
		width: auto;
	}
	
	.top_menu ul.top_menu_ul li.divide9 {
		width: auto;
	}
	
	.top_menu ul.top_menu_ul li.divide10 {
		width: auto;
	}

	.top_menu ul.top_menu_ul li.last {
		display: block;
		float: right;
		
		padding-top: 0;
		font-size: 16px;
		color: #fff;
	}

	.top_menu ul.top_menu_ul li a {
		padding-top: 0;
		padding-bottom: 0;
		padding-right: 37px;
		
		font-size: 16px;
		color: #fff;
		text-align: left;
	}	
	
	.top_menu ul.top_menu_ul li a.bb {
		background: none;
	}
	
	.top_menu ul.top_menu_ul li a.bc {
		background: none;
	}
	
	.top_menu ul.top_menu_ul li a.cl {
		background: none;
	}
	
	.top_menu ul.top_menu_ul li a.ct {
		background: none;
	}
	
	.top_menu ul.top_menu_ul li a.iq {
		background: none;
	}
	
	.top_menu ul.top_menu_ul li a.mp {
		background: none;
	}
	
	.top_menu ul.top_menu_ul li a.pg {
		background: none;
	}
	
	.top_menu ul.top_menu_ul li a.qb {
		background: none;
	}
	
	.top_menu ul.top_menu_ul li a.rb {
		background: none;
	}
	
	.top_menu ul.top_menu_ul li a.sh {
		background: none;
	}
	
	.top_menu ul.top_menu_ul li a.hm {
		background: none;
	}
	
	.top_menu ul.top_menu_ul li a.ch {
		background: none;
	}
	
	.top_menu ul.top_menu_ul li a.kt {
		background: none;
	}
	
	.top_menu ul.top_menu_ul li a.e1 {
		background: none;
	}

	.top_menu ul.top_menu_ul li a.qr {
		background: none;
	}
}
/*********************** 메뉴 끝 ***********************/

	
.tile_content {
	overflow: hidden;
	background-color: #eee;
	
	margin-top: 0;
	margin: 0 auto;

	padding: 0 0 30px 0;	
}


.tile_content .tile_element {
	width: 49.99%; /* 2개씩 보기 */
	background-color: #eee; /* .tile_content와 같은 색상이어야 함 */
}
	
/* 게시판 상품 */
.tile_content .tile_element.prd_type_B {
	width: 100%;
}
	
	
@media all and (min-width: 768px) {	

	.tile_content .tile_element,
	.tile_content .tile_element.prd_type_B {
		width: 33.3%; /* 3개씩 보기 */
	}	
}	

.tile_content .tile_element .tile_card {
	display: block;
	
	background-color: #fff;
	border: solid 5px #fff;
	
	margin: 5px;
	cursor: pointer;
	
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
	-o-box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);	
}



.tile_info div.web_title {
	display: none;
}

.tile_info div.title {
	display: block;
	font-size: 13px;
	margin: 15px 5px 10px 5px;
	text-align: left;
}

.tile_info div.web_title:after {
	/*
	display: block;
	content: "";
	position: absolute;
	left: 0;
	top: 93%;
	height: 2px;
	background-color: #303030;
	
	width: 15px;
	*/
}

.tile_info .description {
	color: #777;
	font-size: 14px;
	/*height: 60px;*/
	margin-bottom: 10px;
	overflow: hidden;
	text-overflow: ellipsis; 
	line-height: 140%;
	margin-top: 15px;
	
	display: none;

	/*
	text-overflow: ellipsis;
	overflow: hidden;
	word-wrap: break-word;
	display: -webkit-box;
	-webkit-line-clamp: 3; /* 라인수 
	-webkit-box-orient: vertical;*/
}

.tile_info .price {
	margin-top: 10px;
	margin-bottom: 5px;
	margin-left: 5px;
	margin-right: 5px;
}

.tile_info .price .left {
	display: inline-block;
}

.tile_info .price .left .org_price {
	font-size: 11px;
	text-decoration: line-through;
	color: #8c909b;
}

.tile_info .price .left .dc_price {
	font-size: 13px;
	color: #20232c;
	font-weight: bold;
}

.tile_info .price .right {
	display: inline-block;
	text-align: right;
	float: right;
	/*margin-top: 5px;*/
	font-size: 20px;
	color: #ee3137;
	
	font-family: helvetica;
}

.line {
	display: none;
}



.photo_area {
	padding-bottom: 30px;
	background-color: #eee;
}

#map_location,
#photo_gallery,
#sb_instagram {
	padding: 5px;
}

#more {
	clear: both;
	
	margin-left: 5px;
	margin-right: 5px;	
		
	padding: 5px 0;
	
	/* border: 1px solid #919191; */
	text-align: center;
}

#more, #more a {
	color: #919191;
}



.tail {
	clear: both;
	background-color: #eee;	
	text-align: center;
	color: #000;
	font-size: .6em;
	padding: 20px 0 10px 0;
}
	
.tail a {
	color: #000;
}

.tail div {
	color: #5e5e5e;
	margin-top: 5px;
}

.tail span, .tail span a {
	color: #9e9e9e;
}




#main_banner {
	background-color: #eee;	
}

#main_banner a {
	display: block;
	text-align: center;
	margin: 0;
	background-image: url(http://www.cusmore.com/images/smartcoupon/banner_share.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 150% auto;
	padding-top: 23.4375%; /* 150*100/640 */
}

/* Web */
@media all and (min-width: 1024px) {	
	#tile_content1 {
		margin-top: -70px;
	}
	
	.tile_content {
		border: 1px solid #c0c0c0;
		background-color: #fff; /* .tile_content .tile_element와 같은 색상이어야 함 */
	}
	
	.tile_content .tile_element,
	.tile_content .tile_element.prd_type_B {
		background-color: #fff; /* .tile_content와 같은 색상이어야 함 */

		/*width: 24.9%; /* 4개씩 보기.. 24.99%로 하면 4개가 보여야 하는데 3개가 보이는 경우가 있다. */
		width: 33.2%; /* 3개씩 보기. 대표님 노트북 전체화면에서 2개씩 보인다고 하셔서서 33.3%에서 33.2%로 변경 20201222 */
		/*
		border-top: 1px solid #c0c0c0;
		background: url("/images/smartcoupon/20150105/dot_gray.png") repeat-y 100% 0; /*오른쪽 세로*/			
	}



	.tile_content .tile_element .tile_card {
		margin: 0 25px;
		
		box-shadow: none;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		-o-box-shadow: none;		
	}		
	
	
	.tile_info {
		margin-top: 30px;
	}

	.tile_info div.web_title {
		display: block;
		position: relative;
		padding: 0 0 5px 0;
		margin: 0 0 10px 0;
		line-height: 30px;
		color: #303030;
		font-weight: normal;
		
		margin-top: 0;
		margin-bottom: 0;
		
		font-size: 13px;
		height: 25px;	
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;	
		
		margin-top: 15px;
		margin-bottom: 15px;
		font-size: 20px;	
	}

	.tile_info div.title {
		display: none;
	}
	
	
	.tile_info div.web_title:after {
		display: block;
		content: "";
		position: absolute;
		left: 0;
		top: 93%;
		height: 2px;
		background-color: #303030;
	
		width: 21px;
	}	
	
	
	.tile_info .description {
		display: block;
	}
	

	.tile_info .price {
		margin-top: 20px;
		margin-bottom: 0;
		margin-left: 5px;
		margin-right: 5px;
	}	
	
	

	.photo_area {
		background-color: #fff;
	}	

	#map_location,
	#photo_gallery,
	#sb_instagram {
		padding: 30px;
	}

	#more {
		margin-left: 30px;
		margin-right: 30px;
			
		padding: 20px 0;	
	}	

	
	.bar {
		/* margin: 0 -1px; */
		padding: 0;
		border-left: 1px solid #c0c0c0; 
		border-right: 1px solid #c0c0c0; 
	}
	
	.bar p {
		padding: 10px;
	}


	#tile_content3 {
		border: 1px solid #eee; /* 바탕색과 같게 해서 눈에 안띄게 */
		padding: 0;
	}


	.line {
		display: block;
		width: 100%; 
		height: 30px; 
		margin: 0 auto;
		background: url('/images/smartcoupon/top_line.gif') repeat-x 0 100%; 
	}	
	

	.tail {
		color: #9e9e9e;
		background-color: #323232;	
		font-size: 12px;
	}
	
	.tail a {
		color: #9e9e9e;
	}
	
	.tail span, .tail span a {
		color: #000;
	}
		
	
	#main_banner {
		background-color: #323232;	
	}		
	#main_banner a {
		margin: 10px 0 0 0;
		background-size: 100% auto;
		padding-top: 11.71875%; /* 150*100/1280 */
	}	
		
}





/*********************** 포토갤러리 시작 ***********************/
.photo_area {
	background-color: #f6f6f6;
}
/*********************** 포토갤러리 끝 ***********************/



/*********************** is_orderby_category 카테고리 별 상품 보여주기 시작 ***********************/
.main {
	padding-top: 30px;
	background-color: #eee;
}


.category_area:nth-child(even),
.category_area:nth-child(even) .tile_content,
.category_area:nth-child(even) .tile_content .tile_element {
	background-color: #dcdddf;
}

.category_area:nth-child(odd),
.category_area:nth-child(odd) .tile_content,
.category_area:nth-child(odd) .tile_content .tile_element {
	background-color: #eee;
}

.category_area > .category_bar {
	padding: 30px 10px 20px 10px;
	text-align: left;
	
	/* background-color: #fff; */
	color: #323232;
	border-left: none;
	border-right: none;
	
	
	/* border-top: 5px solid #fff; */
}

.category_area:first-child > .category_bar {
	border-top: none;
}
	
.category_area > .category_bar > span {
	border-bottom: 2px solid #000;
	padding: 0 0 5px 0;
}



/* Web */
@media all and (min-width: 1024px) {	
	.main {
		padding-top: 0;
		background-color: transparent;
	}
	
	.category_area .tile_content {
		max-width: 100%;
	}
	
	.category_area:nth-child(even),
	.category_area:nth-child(even) .tile_content,
	.category_area:nth-child(even) .tile_content .tile_element {
		background-color: #fff;
	}
	
	.category_area:nth-child(odd),
	.category_area:nth-child(odd) .tile_content,
	.category_area:nth-child(odd) .tile_content .tile_element {
		background-color: #fff;
	}

	.category_area > .category_bar {
		padding: 10px 0;
		background-color: #eee;
		
		border-left: 1px solid #c0c0c0;
		border-right: 1px solid #c0c0c0;		
	}	

	.category_area:first-child > .category_bar {
		border-top: 1px solid #c0c0c0;
	}
	
	.category_area > .category_bar > span {
		border-bottom: none;
		padding: 0 10px;
	}

	
	/*
	.category_area > .category_bar {
		border: 1px solid #eaeaea;
		border-top: none;
		border-bottom: none;
		
		background-color: #fff;	
		background-image: url(/images/portal/bg1.gif);
	}

	.category_area:first-child > .category_bar {
		border-top: 1px solid #c0c0c0;
	}
	*/
	
}

/*********************** is_orderby_category 카테고리 별 상품 보여주기 끝 ***********************/