@charset "utf-8";
@import url(normalize.css);
@import url(font.css);
@import url(all.min.css);

body {}

@keyframes a-ani {
	0% {
		transform: translateX(0px)
	}

	100% {
		transform: translateX(5px)
	}
}

@keyframes a-ani2 {
	0% {
		transform: translateX(0px)
	}

	100% {
		transform: translateX(-5px)
	}
}

@keyframes cube {
	0% {
		transform: rotateY(0deg) rotatex(0deg);
	}

	100% {
		transform: rotateY(360deg) rotatex(360deg);
	}
}

@keyframes arrow {
	0% {
		right: 0;
		opacity: 1;
	}

	100% {
		right: 190px;
		opacity: 0;
	}
}

h2:hover {
	color: #fff;
}

.wrap {
	width: 960px;
	margin: auto;
}

header {
	height: 150px;
}

header .logo {
	width: 201px;
	margin: 20px auto;
}

header .logo a {
	display: block;
}

header .logo img {
	width: 100%;
}

nav {
	position: relative;
	height: 50px;
	background: #c4d929;
	overflow: hidden;
}

nav input[type='radio'] {
	display: none;
}

nav .btn-bars {
	position: absolute;
	width: 50px;
	height: 50px;
	left: 50%;
	transform: translateX(-50%);
	top: 0;
	z-index: 1;
}

nav label[for*="tab"] {
	display: block;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

nav .btn-bars:hover ~ .cube {
	/*		animation-play-state: paused;*/
	/*	animation-duration: 30s;*/
	animation: none;
}

nav .one-nb {
	display: none;
}

nav .two-nb {
	display: none;
}

nav input[id="tab01"]:checked ~ .one-nb {
	display: block;
}

nav input[id="tab02"]:checked ~ .two-nb {
	display: block;
}

.one-nb {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 50px;
	background: #fff;
	font-family: sans-serif;
}

.cube {
	position: relative;
	left: 455px;
	width: 50px;
	height: 50px;
	transform-style: preserve-3d;
	animation: cube 5s infinite alternate linear;
}

.cube div {
	position: absolute;
	left: 10px;
	top: 10px;
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
}

.cube div:nth-child(1) {
	transform: translateZ(15px);
	background: rgba(197, 217, 42, 0.8);
}

.cube div:nth-child(2) {
	transform: rotateX(180deg) translateZ(15px);
	background: rgba(197, 217, 42, 0.8);
}

.cube div:nth-child(3) {
	transform: rotateY(-90deg) translateZ(15px);
	background: rgba(217, 50, 34, 0.8);
}

.cube div:nth-child(4) {
	transform: rotateY(90deg) translateZ(15px);
	background: rgba(217, 50, 34, 0.8);
}

.cube div:nth-child(5) {
	transform: rotateX(90deg) translateZ(15px);
	background: rgba(190, 213, 245, 0.8);
}

.cube div:nth-child(6) {
	transform: rotateX(-90deg) translateZ(15px);
	background: rgba(190, 213, 245, 0.8);
}

.two-nb {
	position: absolute;
	top: 17px;
	left: 0;
	font-weight: bold;
	width: 100%;
	line-height: 15px;
}

.two-nb .gnb {
	font-size: 15px;
	float: right;
}

.two-nb .gnb a {
	float: left;
	padding: 0 10px;
}

.two-nb .gnb a:hover {
	color: #bea212;
}

/*
.two-nb .gnb a:nth-child(6) {
	padding-right: 30px;
	background: url(../img/ico_search.png) no-repeat 65px 0;
}
*/

.two-nb .snb {
	font-size: 12px;
	color: #fff;
	text-shadow: 1px 1px 3px #000;
}

.two-nb .snb a {
	float: left;
	padding: 0 10px;
	height: 14px;
}

.two-nb .snb a:hover {
	background: #bfa211
}

.two-nb .snb a:not(:first-child) {
	border-left: solid 1px;
}

.two-nb .snb span i {
	animation: arrow 1.5s linear infinite;
}

.two-nb .snb span i:nth-child(1) {
	animation-delay: 0s;
}

.two-nb .snb span i:nth-child(2) {
	animation-delay: 0.5s;
}

.two-nb .snb span i:nth-child(3) {
	animation-delay: 1s;
}

.two-nb .snb span {
	display: none;
}

.gnb-search {
	position: absolute;
	width: 50%;
	height: 50px;
	border-top-left-radius: 25px;
	border-bottom-left-radius: 25px;
	top: -17px;
	left: 100%;
	background: #000;
	transition: all 0.3s;
}

.search-box {
	position: absolute;
	top: 16px;
	right: 30px;
	width: 225px;
}

.search-box > input {
	position: absolute;
	left: 0;
}

.search-box .search-btn {
	position: absolute;
	top: 1px;
	right: 25px;
	color: #fff;
}

.search-box .close-btn {
	position: absolute;
	top: 1px;
	right: 0;
	color: #fff;
}

.search-box input::placeholder {
	color: #000;
}

.search-box .search-txt {
	background: #fff;
}
#search {
	transform: translateY(-2px);
}
#search.on + .gnb-search {
	left: 50%;
}

/*비쥬얼 - 동영상*/
.visual {
	position: relative;
	height: 540px;
}

.visual .text-box {
	position: absolute;
	bottom: 50px;
	left: 20px;
	width: 500px;
	text-align: center;
	color: #fff;
	text-shadow: 2px 2px 5px #000;
	font-size: 1.4em;
}

.visual .text-box h3 {
	margin: 30px;
}

.visual .text-box p {
	font-size: 0.8em;
}

.visual .text-box p:hover i {
	animation: a-ani 0.4s infinite alternate linear;
}

.vid {
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	z-index: -2;
}

.vid video {
	width: 100%;
}

.visual .p-fill {
	position: absolute;
	width: 100%;
	height: 540px;
	background: url(../img/banner-line-2-.gif);
}

/*main 시작*/

.h-title {
	width: 100%;
	margin: 50px auto;
	text-align: center;
	font-size: 2em;
}

.f-box {
	display: flex;
	align-items: center;
	justify-content: space-around;
	flex-wrap: wrap;
}

/*섹션1 - st1 기획, 특집기사*/
main {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	background: #f2f2f2;
}

main .st1 {
	width: 920px;
	padding: 50px 0;
}

main .st1 article {
	padding: 50px 0;
}

main .st1 .a-img {
	display: block;
	width: 450px;
	height: 200px;
	overflow: hidden;
}

main .st1 img {
	width: 100%;
	transition: all 0.3s;
}

main .st1 .a-txt {
	display: block;
	width: 450px;
	text-align: center;
}

main .st1 article.on img {
	transform: scale(1.05);
}

main .st1 article.on .a-txt i {
	animation: a-ani 0.4s infinite alternate linear;
}

main .st1 article.on .a-txt h2 {
	background-position: -100% 0;
}

main .st1 h2 {
	font-size: 16px;
	background: linear-gradient(90deg, #d93222 50%, #c5d92a 50%);
	background-size: 900px 16px;
	line-height: 20px;
	text-align: center;
	color: #fff;
	transition: all 0.3s;
}

main .st1 h3 {
	line-height: 60px;
	text-align: center;
}

main .st1 .a-txt p:nth-child(3) {
	height: 80px;
	text-align: justify;
	overflow: hidden;
}

main .st1 .a-txt p:last-child {
	display: inline-block;
	padding-top: 10px;
	border-top: 1px solid;
	margin-top: 10px;
	font-weight: bold;
}

main .st1 article:nth-child(2) a:first-child {
	float: left;
}

main .st1 article:nth-child(2) a:last-child {
	float: right;
}

main .st1 article:last-child a:first-child {
	float: right;
}

main .st1 article:last-child a:last-child {
	float: left;
}

/*섹션2 - st2 코로나19*/
main .st2 {
	width: 100%;
	height: 550px;
	background: radial-gradient(rgba(197, 217, 42, 0.9), rgba(197, 217, 42, 0.9)), url(../img/202007_09_02_1200.jpg) no-repeat center / cover;
	overflow: hidden;
}

main .st2 .a-box {}

main .st2 .a-box a {
	display: block;
	float: left;
	width: 200px;
	height: 300px;
	margin: 0 20px;
	background-color: #fff;
	box-shadow: 2px 2px 2px #000;
	transition: all 0.3s;
}

main .st2 .a-box .a-pic {
	height: 200px;
}

main .st2 .a-box a:nth-child(1) .a-pic {
	background: url(../img/202007_09_01_1200.jpg) no-repeat center / cover;
}

main .st2 .a-box a:nth-child(2) .a-pic {
	background: url(../img/202007_09_02_1200.jpg) no-repeat center / cover;
}

main .st2 .a-box a:nth-child(3) .a-pic {
	background: url(../img/202007_09_03_1200.jpg) no-repeat center / cover;
}

main .st2 .a-box a:nth-child(4) .a-pic {
	background: url(../img/202007_09_04_1200.jpg) no-repeat center / cover;
}

main .st2 .a-box:hover a {
	filter: grayscale();
}

main .st2 .a-box a:hover {
	filter: none;
	transform: scale(1.05);
}

main .st2 .a-box h3 {
	text-align: center;
	line-height: 30px;
	font-size: 15px;
}

main .st2 .a-box p {
	height: 70px;
	padding: 0 5px;
	font-size: 12px;
	/*	text-align: justify;*/
	overflow: hidden;
}


/*섹션3 - st3 서울사랑기사 */
main .st3 {
	width: 100%;
	height: 550px;
	background: #f2f2f2;
}

main .st3 .s-box {
	position: relative;
	width: 100%;
	height: 330px;
	overflow: hidden;
}

main .st3 .slides {
	position: absolute;
	top: 10px;
	left: 0;
	width: 2600px;
	transition: all 0.5s ease-out;
}

main .st3 .slides a {
	display: block;
	float: left;
	width: 200px;
	height: 300px;
	margin: 0 20px;
	background-color: #fff;
	box-shadow: 2px 2px 2px #000;
	transition: all 0.3s;
}

main .st3 > p {
	margin-top: 30px;
	text-align: center;
	font-weight: bold;
}

main .st3 > p span.prev {
	display: inline-block;
	margin-right: 50px;
	cursor: pointer;
}

main .st3 > p span.next {
	display: inline-block;
	margin-left: 50px;
	cursor: pointer;
}

main .st3 > p span.prev:hover i {
	animation: a-ani2 0.4s infinite linear alternate;
}

main .st3 > p span.next:hover i {
	animation: a-ani 0.4s infinite linear alternate;
}

main .st3 .slides .a-pic {
	height: 200px;
}

main .st3 .slides a:nth-child(1) .a-pic {
	background: url(../img/c1.jpg) no-repeat center / cover;
}

main .st3 .slides a:nth-child(2) .a-pic {
	background: url(../img/c2.jpg) no-repeat center / cover;
}

main .st3 .slides a:nth-child(3) .a-pic {
	background: url(../img/c3.jpg) no-repeat center / cover;
}

main .st3 .slides a:nth-child(4) .a-pic {
	background: url(../img/c4.jpg) no-repeat center / cover;
}

main .st3 .slides a:nth-child(5) .a-pic {
	background: url(../img/c5.jpg) no-repeat center / cover;
}

main .st3 .slides a:nth-child(6) .a-pic {
	background: url(../img/c6.jpg) no-repeat center / cover;
}

main .st3 .slides a:nth-child(7) .a-pic {
	background: url(../img/c7.jpg) no-repeat center / cover;
}

main .st3 .slides a:nth-child(8) .a-pic {
	background: url(../img/c8.jpg) no-repeat center / cover;
}

main .st3 .slides:hover a {
	filter: grayscale();
}

main .st3 .slides a:hover {
	filter: none;
	transform: scale(1.05);
}

main .st3 .slides h3 {
	text-align: center;
	line-height: 30px;
	font-size: 15px;
}

main .st3 .slides p {
	height: 70px;
	padding: 0 5px;
	font-size: 12px;
	overflow: hidden;
}


/*섹션4 - st4 지난호보기*/
main .st4 {
	width: 100%;
	height: 550px;
	background: radial-gradient(rgba(174, 204, 242, 0.9), rgba(174, 204, 242, 0.9)), url(../img/d_back.jpg) no-repeat center;
}

main .st4 .s-box {
	position: relative;
	width: 100%;
	height: 330px;
	overflow: hidden;
}

main .st4 .slides2 {
	position: absolute;
	top: 10px;
	left: 0;
	width: 2600px;
	transition: all 0.5s ease-out;
}

main .st4 .slides2 a {
	display: block;
	float: left;
	width: 200px;
	height: 300px;
	margin: 0 20px;
	background-color: #fff;
	box-shadow: 2px 2px 2px #000;
	transition: all 0.3s;
}

main .st4 > p {
	margin-top: 30px;
	text-align: center;
	font-weight: bold;
}

main .st4 > p span.prev2 {
	display: inline-block;
	margin-right: 50px;
	cursor: pointer;
}

main .st4 > p span.next2 {
	display: inline-block;
	margin-left: 50px;
	cursor: pointer;
}

main .st4 > p span.prev2:hover i {
	animation: a-ani2 0.4s infinite linear alternate;
}

main .st4 > p span.next2:hover i {
	animation: a-ani 0.4s infinite linear alternate;
}

main .st4 .slides2 .a-pic {
	height: 300px;
}

main .st4 .slides2 a:nth-child(1) .a-pic {
	background: url(../img/merge.jpg) no-repeat 0 0;
}

main .st4 .slides2 a:nth-child(2) .a-pic {
	background: url(../img/merge.jpg) no-repeat 0 -300px;
}

main .st4 .slides2 a:nth-child(3) .a-pic {
	background: url(../img/merge.jpg) no-repeat 0 -600px;
}

main .st4 .slides2 a:nth-child(4) .a-pic {
	background: url(../img/merge.jpg) no-repeat 0 -900px;
}

main .st4 .slides2 a:nth-child(5) .a-pic {
	background: url(../img/merge.jpg) no-repeat 0 -1200px;
}

main .st4 .slides2 a:nth-child(6) .a-pic {
	background: url(../img/merge.jpg) no-repeat 0 -1500px;
}

main .st4 .slides2 a:nth-child(7) .a-pic {
	background: url(../img/merge.jpg) no-repeat 0 -1800px;
}

main .st4 .slides2 a:nth-child(8) .a-pic {
	background: url(../img/merge.jpg) no-repeat 0 -2100px;
}

main .st4 .slides2:hover a {
	filter: grayscale();
}

main .st4 .slides2 a:hover {
	filter: none;
	transform: scale(1.05);
}

/*섹션5 - st5 공지사항, 이벤트*/
main .st5 {
	width: 100%;
	height: 550px;
	background: #f2f2f2;
}

main .st5 .notice-wrap,
main .st5 .event-wrap {
	width: 80%;
	margin: auto;
}

main .st5 ul {
	width: 100%;
	height: 100px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

main .st5 li {
	width: 90%;
}

main .st5 li .list-t {
	display: inline-block;
	width: 70%;
}

main .st5 li .date {
	display: inline-block;
	width: 30%;
	text-align: right;
}

/*섹션6 - st6 문화행사, 문화달력, 서울소식*/
main .st6 {
	width: 100%;
	height: 350px;
	background: radial-gradient(rgba(190, 162, 18, 0.9), rgba(190, 162, 18, 0.9)), url(../img/f_back.jpg) no-repeat center / cover;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: flex-start;
}

main .st6 .con-box1,
main .st6 .con-box2,
main .st6 .con-box3 {
	width: 280px;
	margin: 0 15px;
}

main .st6 ul {
	width: 100%;
	height: 150px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

main .st6 ul li {
	width: 90%;
}

/*푸터*/
footer {}

footer .banner1 {
	/*	height: 200px;*/
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
}

footer .banner1 a {
	padding: 20px 0;
}

footer .fbox1 {
	border-top: 1px solid;
	padding-top: 20px;
}

footer .hseoul {
	width: 720px;
	margin-left: 20px;
	float: left;
}

footer .hseoul ul {
	float: left;
	width: 100px;
	margin-right: 20px;
}

footer .hseoul ul:first-child {
	text-decoration: underline;
}

footer .hseoul ul li {
	margin-bottom: 10px;
}

footer .hseoul ul li:first-child {
	font-weight: bolder;
	margin-bottom: 20px;
}

footer .hseoul ul:last-child li {
	font-weight: bolder;
	margin-bottom: 20px;
}

footer .banner2 {
	width: 200px;
	float: left;
	font-size: 15px;
	margin-bottom: 20px;
}

footer .rollbanner {
	background: #ccc;
	text-align: center;
	line-height: 100px;
	margin-top: 20px;
}

footer .rollbanner a {
	display: block;
	width: 100%;
	height: 100%;
}

footer .fbox2 {
	height: 80px;
	background: #000;
}

footer .fbox2 > a {
	display: inline-block;
	width: 200px;
	margin-top: 20px;
	margin-left: 20px;
}

footer .fbox2 img {
	width: 100%;
}

footer .fsidebox {
	display: inline-block;
	color: #fff;
	margin-top: 20px;
	margin-left: 20px;
}

footer .fnb a {
	float: left;
}
footer .fnb a:hover {
	color: #ccc;
}
footer .fnb a:not(:last-child) {
	padding-right: 10px;
	margin-right: 10px;
	border-right: 1px solid #fff;
}

address {
	font-size: 14px;
	margin-top: 10px;
	font-style: normal;
}

/*미디어 쿼리 설정 - mediaquery*/
/*Tablet(w:641~1024)*/
@media screen and (min-width: 641px) and (max-width: 970px) {}

/*Mobile(~640)*/
@media screen and (max-width: 640px) {

	.wrap {
		width: 620px;
		margin: auto;
	}

	nav .cube {
		left: 285px;
	}

	nav .snb {
		position: absolute;
		top: 0px;
		left: -450px;
		width: 490px;
		;
		transition: all 0.3s;
		z-index: 1;
	}

	nav .two-nb .snb span {
		display: inline-block;
		opacity: 1;
	}

	nav .two-nb .snb:hover {
		left: 0;
	}

	nav .two-nb .snb:hover span {
		opacity: 0;
	}

	nav .two-nb .snb:hover + .snb-b {
		position: absolute;
		top: -17px;
		width: 100%;
		height: 50px;
		background: #aeccf2;
	}

	.visual {
		height: 349px;
	}

	.visual .p-fill {
		height: 349px;
	}

	.visual .text-box {
		position: absolute;
		bottom: 20px;
		left: 0px;
		width: 100%;
		font-size: 1.0em;
	}

	main .st1 {
		padding: 50px 0;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}

	main .st1 article:nth-child(2) a:first-child {
		float: none;
	}

	main .st1 article:nth-child(2) a:last-child {
		float: none;
	}

	main .st1 article:last-child a:first-child {
		float: none;
	}

	main .st1 article:last-child a:last-child {
		float: none;
	}

	main .st2 .a-box a {
		float: none;
		width: 460px;
		height: 100px;
		margin: 0 80px 20px 80px;
	}

	main .st2 .a-box .a-pic {
		width: 100px;
		height: 100px;
		float: left;
	}

	main .st2 {
		height: 650px;
	}

	main .st3 .slides a {
		margin: 0 55px;
	}

	main .st4 .slides2 a {
		margin: 0 55px;
	}

	main .st6 {
		height: 920px;
	}

	main .st6 .con-box1,
	main .st6 .con-box2,
	main .st6 .con-box3 {
		width: 80%;
	}

	footer .hseoul {
		width: 204px;
		margin-left: 130px;
	}

	footer .hseoul ul:not(:first-child) {
		display: none;
	}

	footer .fbox2 {
		height: 150px;
	}

}
