

/* Example Media Queries */

.grid {
	padding: 154px 40px 80px 40px;
	max-width: 1300px;
	margin: 0 auto;
	list-style: none;
	text-align: center;
}
/* 박스 사이즈 간격 */
.grid li {
	display: inline-block;
	width: 316px;
	margin: 10;
	padding: 10px;
	text-align: Center;
	position: relative;
}

.grid figure {
	margin: 0;
	position: relative;
}

.grid figure img {
	max-width: 100%;
	display: block;
	position: relative;
}
/* 컨텐츠 상단마진 */
.grid figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 36px;
	background: #e23d54;
	color: #ffa5b8;
}

.grid figcaption h3 {
	font-size:22px;
	font-family:Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
	color: #fff;
}
/*
.grid figcaption span:before {
	content: 'by ';
}
*/
.grid figcaption a {
	text-align: center;
	padding: 5px 10px;
	border-radius: 0px;
	display: inline-block;
	outline: Solid;
    color:#ffffff;	
}

/* Individual Caption Styles */

/* Caption Style 1 */
/* 컨텐츠 마우스오버 인터렉션 */
.cs-style-1 figcaption {
	height: 100%;
	width: 100%;
	opacity: 0;
	text-align: center;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	-moz-transition: -moz-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
}
/* 컨텐츠 마우스오버 위치 */
.no-touch .cs-style-1 figure:hover figcaption,
.cs-style-1 figure.cs-hover figcaption {
	opacity: 0.9;
	-webkit-transform: translate(0px, 0px);
	-moz-transform: translate(0px, 0px);
	-ms-transform: translate(0px, 0px);
	transform: translate(0px, 0px);
}
/* 컨텐츠 마우스오버 텍스트 상단 마진 */
.cs-style-1 figcaption h3 {
	margin-top: 20px;
}

.cs-style-1 figcaption span {
	display: block;
}
/* 컨텐츠 마우스오버 버튼 마진 */
.cs-style-1 figcaption a {
	margin-top: 36px;
	outline-color:#FFF;

	
}
.cbp-af-header {
	position:fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #353639;
	z-index: 1;
	height: 150px;
	overflow: hidden;
	-webkit-transition: height 0.3s;
	-moz-transition: height 0.3s;
	transition: height 0.3s;
}


/* Transitions and class for reduced height */
.cbp-af-header h1,
.cbp-af-header nav a {
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.cbp-af-header.cbp-af-header-shrink {
	height: 50px;
}

.cbp-af-header.cbp-af-header-shrink h1,
.cbp-af-header.cbp-af-header-shrink nav a {
	line-height: 50px;
}


@media screen and (max-width: 31.5em) {
	.grid {
		padding: 10px 10px 100px 10px;
	}
	.grid li {
		width: 100%;
		min-width: 300px;
	}
}
