@font-face {
	font-family: 'Pretendard-Regular';
	font-style: normal;
	font-weight: normal;
	src:
		url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff'),
		url('/fonts/Pretendard-Medium.woff') format("woff"),
		url('/fonts/Pretendard-Medium.woff2') format("woff2"),
		url('/fonts/Pretendard-Medium.ttf') format("truetype");
}

html {
	font-size: 62.5%;
}

*, body, body .toastui-editor-contents {
	font-family: 'Pretendard-Regular', 'Apple SD Gothic Neo' , 'Noto Sans KR', sans-serif;
}

main {
	padding-top: 130px;
}

a {
	text-decoration: none;
	color: #000;
}

button {
	display: block;
	border: none;
	background: none;
	cursor: pointer;
}

.mainArea .mainCont {
	max-width: 1440px;
	/* background: lavender; */
	box-sizing: border-box;
	padding: 0 20px;
	margin: 0 auto;
}

::-moz-selection {
	background: #1AB6E4;
	color: #fff;
}

::selection {
	background: #1AB6E4;
	color: #fff;
}

/* 알피로 공통 및 회원가입 양식 */
.marketTop {
	padding: 120px 0 80px;
	text-align: center;
}

.marketTop .title {
	font-weight: 600;
	font-size: 48px;
	line-height: 29px;
	color: #222;
}

.marketTop p {
	font-weight: 400;
	font-size: 20px;
	line-height: 27px;
	color: #222;
	padding-top: 18px;
}

.marketTop p span {
	display: block;
}
.pagingArea.mobile {
	display: none;
}

/* 페이지네이션 */
.pagingArea.mobile .moreBtn {
	margin: 40px auto 0;
	width: 110px;
	background: #FFFFFF;
	border: 1px solid #939FA4;
	border-radius: 100px;
	padding: 12px 24px;
	/* display: none; */
}

.pagingArea.mobile .moreBtn.notice {
	margin: 40px auto;
}

.pagingArea.pc {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	margin: 80px auto 0;
}

.pagingArea.pc .btn {
	box-sizing: border-box;
	width: 59px;
	height: 59px;
	background: #FFFFFF;
	box-shadow: 0px 1px 24px rgba(0, 0, 0, 0.08);
	border-radius: 16px;
}

.pagingArea.pc .btn.next>img {
	transform: rotate(180deg);
}

.pagingArea.pc ul {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}


.pagingArea.pc ul li {
	width: 59px;
	height: 59px;
	box-sizing: border-box;
	background: #FFFFFF;
	box-shadow: 0px 1px 24px rgba(0, 0, 0, 0.08);
	border-radius: 16px;
}

.pagingArea.pc ul li button {
	width: 100%;
	height: 100%;
	border-radius: 16px;
	font-weight: 400;
	font-size: 14px;
	line-height: 21px;
	color: #333;
}

.pagingArea.pc button.active {
	background: #1AB6E4;
	color: #fff;
}

.pagingArea.pc ul li button:focus,
.pagingArea.pc ul li button:hover {
	background: #1AB6E4;
	color: #fff;
}

.toastPopup {
	width: fit-content;
	position: fixed;
	margin: 0 auto;
	left: 0;
	right: 0;
	z-index: 10;
	bottom: 80px;
	padding: 20px;
	background: #1AB6E4;
	color: #fff;
	border-radius: 100px;
	font-weight: 500;
	font-size: 18px;
	line-height: 16px;
	display: none;
}

.loadingDimm {
	position: fixed;
	left: 0;
	right: 0;
	top:0;
	bottom: 0;
	height: 100%;
	background: rgba(0, 0, 0, 0.09);
	z-index: 300;
	display: none;
}

.loadingDimm img{
	position: absolute;
	left: 50%;
	right:50%;
	top:50%;
	bottom: 50%;
	transform: translate(-50%, -50%);
	-webkit-user-drag: none;
}

/* 플로팅 배너 */
.floating-box.pc {
  display: none;
  width: 166px;
  height: 230px;
  position: absolute;
  top: 200px;
  left: 20px;
  /* right: 20px; */
  z-index: 100;
  border-radius: 16px;
  filter: drop-shadow(0px 1px 16px rgba(0, 0, 0, 0.16));
}
.floating-box.pc .floating-close-btn{
  position: absolute;
  right: -46px;
	top: -24px;
}

.floating-box.pc .floating-close-btn.today{
  position: absolute;
  left: 5px;
	top: -24px;
	color: #939FA4;
	width: fit-content;
	font-size: 12px;
	font-weight: 600;
	line-height: 0;
	/* flex */
	display: flex;
	align-items: center;
	gap: 5px;
}

.floating-box.pc .floating-close-btn.today .close-today-float-btn{
	width: 15px;
	height: 15px;
}
.floating-box.pc .floating-close-btn img{
  width: 18px;
  height: 18px;
}
.floating-box.pc .floating-img {
  width: 200px;
  height: 500px;
}
.floating-box.pc .floating-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.floating-dimmed {
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  padding: 0 20px;
  z-index: 250;
	display: none;
}

.floating-box.mobile {
  width: 320px;
  border-radius: 16px;
  filter: drop-shadow(0px 1px 16px rgba(0, 0, 0, 0.4));
  overflow: hidden;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.floating-box.mobile .floating-img {
  display: block;
  max-width: 320px;
	height: 320px;
  object-fit: cover;
  border-radius: 16px;
	position: relative;
}
.floating-box.mobile .floating-img .floating-close-btn{
	position: absolute;
	right: 10px;
	top: 10px;
	width: 18px;
	height: 18px;
	cursor: pointer;
	padding: 5px;
}

.floating-box.mobile .floating-img .floating-cont {
  width: 100%;
  height: 100%;
	object-fit: cover;
  border-radius: 16px;
}

/* 오늘 하룻동안 열지 않기 */
.floating-box.mobile .floating-close-today {
	z-index: 100;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 10px;
}
.floating-box.mobile .floating-close-today .floating-close-btn.mobile.today {
	line-height: 0;
	font-size: 14px;
	color: #fff;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 6px;
}
.floating-box.mobile .floating-close-today .close-today-float-btn {
	width: 15px;
	height: 15px;
}

input .errorbox {
	position: absolute;
	background: rgba(255, 39, 45, 0.8);
	right: 30px;
	top: 35px;
	border-radius: 6px;
	color: #fff;
	font-size: 12px;
	padding: 10px;
	z-index: 20;
	line-height: 150%;
}

@media screen and (max-width: 1400px) {
	main {
		padding-top: 80px;
	}
}

@media screen and (max-width: 998px) {

	header.noHeader,
	footer.noFooter {
		display: none;
	}

	.marketTop {
		padding: 30px 0 40px;
	}

	.marketTop .title {
		font-weight: 700;
		font-size: 36px;
		line-height: 43px;
	}

	.marketTop p {
		font-weight: 400;
		font-size: 16px;
		padding-top: 8px;
	}

	.pagingArea.mobile{
		display: block;
	}

	.pagingArea.pc {
		display: none;
	}
	/* 플로팅 */
	.floating-box.pc {
		display: none;
	}
	.floating-dimmed {
		display: none;
	}
}


