@font-face {
	font-family: 'NanumSquareNeo-Variable';
	src: url('/layouts/pigs/font/NanumSquareNeo-Variable.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

/* 기본 CSS */
*{
	font-family: 'NanumSquareNeo-Variable', sans-serif;
	margin: 0;
	padding: 0;
}	

input,textarea,select,button{
	font-family:'NanumSquareNeo-Variable', sans-serif;
}
body.layout {
background-image: linear-gradient(-20deg, #e9defa 0%, #fbfcdb 100%);
}

li {
list-style: none;
}

a {
text-decoration: none;
}

.menu {
	position: absolute;
	left: 50%;
	margin-left: -500px;
	top:214px;
	display: flex;
	width: 1000px;
    align-items: flex-start;
    justify-content: space-between;
	z-index:1;
	font-size: 14px;
}

.menu > li {
	width: 15%;
	float: left;
	text-align: center;
	line-height: 40px;
	border-radius: 10px;
	background-color: #513631;
	transition: background-color 0.2s;
}


.menu a {
	display: block;
	height: 100%;
	color: #fff;
	transition: color 0.2s;
}
	
.menu a:hover {
	color: #feffd5;
}

.submenu > li {
	line-height: 35px;
	border-bottom: 1px solid #c3b5ac;
	background-color: #c3acad;
}

.submenu > li:last-child {
	border-radius: 0 0 10px 10px;
	border-bottom: 0;
}

.submenu {
	height: 0;
	overflow: hidden;
	transition: height 0.2s;
}

.menu > li:hover {
	background-color: #e86584;
	font-weight: bold;
	border-radius: 10px;
}

.menu > li:hover .submenu {
	height: auto;
	font-weight: 100;
}

.menu > li:hover .submenu > li:hover {
	background-color: #b79393;
	font-weight: bold;
}

.menu > li > a:hover {
	color: #fff;
	font-weight: bold;
}


.main_content {
	background-color: #fff;
	width: 1000px;
	min-height: 800px;
	box-sizing: border-box;
	margin: auto;
	padding: 32px;
	margin-top: 75px;
	margin-bottom: 40px;
	border-radius: 15px;
	display: block;
	word-break:break-all;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    border: solid 1px rgba(0, 0, 0, 0.1);
}

/* 푸터 스타일 */
footer {
	background-color: #513631;
    color: #fff;
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: column;
}

/* 푸터 내용 스타일 */
footer p {
  margin-top: 20px;
}

/* 메뉴 스타일 */
footer nav ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  justify-content: center;
}

footer nav ul li {
  margin: 0 10px;
}

footer nav ul li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}

footer nav ul li a:hover {
  color: #FFFD21;
}

/* 검색창 */
.top_search {
    width: 400px;
    float:right;
    position: relative;
    top: -88px;
	z-index:0;

}

.search-form {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
}

.search-container {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(255, 255, 255, 0.8);
	border-radius: 10px;
	padding: 10px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.search-input {
	border: none;
	background-color: transparent;
	padding: 10px;
	width: 200px;
	font-size: 16px;
	outline: none;
	transition: all 0.4s ease-in-out;
}

.search-input::placeholder {
	color: #999;
}

.search-button {
	background-color: #513631;
	color: white;
	border: none;
	border-radius: 50px;
	padding: 10px 20px;
	margin-left: 10px;
	cursor: pointer;
	transition: all 0.05s ease-in-out;
}

.search-button:hover {
	background-color: #e86584;
	transform: scale(1.05);
	font-weight:bold;
}
.search-input:focus {
	width: 225px;
	background-color: #f7f4f4;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.0);
	transition: all 0.4s ease-in-out;
	border-radius: 5px;
	padding: 10px 20px 10px 20px;
}


.pigs_top_menu {
	width: 100%;
	height: 40px;
	margin: auto;
	background-color: #513631;
	display: flex;
	justify-content: center;
	align-items: center;
}

.pigs_top_menu ul {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
}

.pigs_top_menu li {
	margin: 0 10px;
	font-family: Arial, sans-serif;
	font-size: 12px;
	color: white;
	position: relative;
}

.pigs_top_menu li a {
	text-decoration: none;
	color: white;
}

.pigs_top_menu li a:hover {
	font-weight:bold;	
	transition: transform 0.3s ease;
}

.pigs_top_menu li::before {
	content: '';
	position: absolute;
	top: 17px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: white;
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.3s ease;
}

.pigs_top_menu li:hover::before {
	transform: scaleY(1);
}

.pigs_top_menu li:first-child {
	margin-left: 0;
}

.pigs_top_menu li:last-child {
	margin-right: 0;
}

/* 로그인 레이어 스타일 */
.login_layer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	display: none;
}

/* 로그인 레이어 애니메이션 */
@keyframes fadeIn {
	from {
	opacity: 0;
	transform: translateY(-50%);
	}
	to {
	opacity: 1;
	transform: translateY(0);
	}
}

.login_content {
	background-color: #f7f4f4;
	border-radius: 20px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
	border: solid 1px rgba(0, 0, 0, 0.1);
	padding: 40px;
	max-width: 600px;
	width: 100%;
	animation: fadeIn 0.3s ease;
}

.login_content .logo img {
	max-width: 150px;
}
	
.login_content .logo {
	font-weight: bold;
	font-size: 30px;
	text-align: center;
	margin-bottom: 20px;
	color: #513631;
}
	
.login_close {
	margin-bottom: -30px;
	width: 20px;
	left: 605px;
	top: -20px;
	color: #513631;
	font-size: 20px;
	font-weight:bold;
	position: relative;
}
		
.login_close:hover {
	color: #e86584;
	cursor: pointer;
}
	
.login_content form {
}
	
.input-container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin-bottom: 10px;
}
	
.login_content form input {
	box-shadow: 0 0 0 1px #dbdbdb inset;
	border: none;
	font-size: 16px;
	padding: 15px;
	background-color: #ffffff;
	border-radius: 10px;
	outline: none;
	width: 100%;
	transition: border-color 0.3s;
}
	
.login_content input:focus {
	box-shadow: 0 0 0 2px #513631 inset;
}
	
.login_style::placeholder {
	color: #c6c6c6;
}
	
.login_content button {
	background-color: #513631;
	color: white;
	border: none;
	border-radius: 10px;
	padding: 10px;
	width:100%;
	font-size: 16px;
	cursor: pointer;
	margin-top: 10px;
	transition: background-color 0.3s;
}
	
.login_content button:hover {
	background-color: #e86584;
}
	
.links {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}
	
.links a {
	color: #444444;
	text-decoration: none;
	margin: 0 5px;
}
	
.links span {
	color: #444444;
	font-weight: bold;
	margin: 0 5px;
}
	
@media (max-width: 500px) {
	.container {
	background-color: transparent;
	box-shadow: none;
	border: none;
	padding: 20px;
	}
}

/* input 숨겨준다 */
input#check_btn{
	display:none;
}

input#check_btn + label{
	cursor:pointer;
 }

input#check_btn + label > span{
	vertical-align: middle;
	padding-left: 5px;
 }

/* label:before에 체크하기 전 상태 CSS */
input#check_btn + label:before{
	content:"";
	display:inline-block;
	width:17px;
	height:17px;
	border:2px solid #513631;
	border-radius: 4px;
	vertical-align:middle;
}
	
/* label:before에 체크 된 상태 CSS */	
input#check_btn:checked + label:before{
	content: "";
	background-color: #513631;
	border-color: #513631;
	background-image: url(/modules/message/skins/pigs/images/check_btn.png);
	background-repeat: no-repeat;
	background-position: 50%;
}