@charset "utf-8";

#template-photo .pastexhibition-contents {
  padding-top:120px;
  margin-bottom:170px;
}

#template-photo .top-visual {
  width:100%;
  height:250px;
  background:url(/images/menu4_top.png) no-repeat 0% 0%;
}

#template-photo .contents-wrap {
	max-width:1220px;
	width:100%;
  margin:0 auto;
}

.pastexhibition-contents .sub-nav1{
  padding:0px;
  margin-bottom:60px;
  width:100%;
  height:70px;
}

.pastexhibition-contents .sub-nav1 li{
  float:left;
  list-style-type:none;
  width:19%;
  height:100%;
  line-height:70px;
  border:1px solid #d8d8d8;
  background-color:#f0f0f0;
  margin:0px 0.5% 0px 0.5%;
  font-family: 'NanumSquare', gulim;
  font-weight:500;
  font-size:25px;
  color:#71747a;
  text-align:center;
  letter-spacing:-1px;
}

.pastexhibition-contents .sub-nav1 li:first-child{
  margin-left:0px;
}

.pastexhibition-contents .sub-nav1 li > a {
  display:block;
  width:100%;
  height:100%;
}

.pastexhibition-contents .sub-nav1 li > a:hover {
  color:#71747a;
  text-decoration:none;
}

.pastexhibition-contents .sub-nav1 .on {
  border:1px solid #5c5e64;
  background-color:#fff;
  color:#2e2e2e;
  text-decoration:none;
}

.pastexhibition-contents .sub-nav1 li:hover {
  border:1px solid #5c5e64;
  background-color:#fff;
  color:#2e2e2e;
}

#template-photo .introduce-div {
  clear:both;
}

#template-photo > section > .photo > .contents-wrap  .gallery-list {
  padding:0px;
  margin-bottom: 20px;
  zoom: 1;
  width:100%;
}

.gallery-list {
  list-style-type:none;	
}
	
.gallery-list li {
    float: left;
    width: 33.33%;
}

.gallery-list li a {
    position: relative;
    display: block;
    margin: 1px;
    width:100%;
    height: 0;
    overflow: hidden;
    padding-bottom: 66.66%;    
}

#template-photo > section > .photo > .contents-wrap  .gallery-list > li {position:relative; display:inline; z-index:1; vertical-align:middle;}
#template-photo > section > .photo > .contents-wrap  .gallery-list > li a {display:inline-block; color:#000; border:1px solid #ddd; background-color:#f5f5f5; vertical-align:middle;}
#template-photo > section > .photo > .contents-wrap  .gallery-list > li a .caret {display:none; position:absolute; bottom:-20px; *bottom:-6px; left:50%; width:0; height:0; margin-left:-3px; *margin-left:-6px; border-right:6px solid transparent; border-left:6px solid transparent; vertical-align:top;}
#template-photo > section > .photo > .contents-wrap  .gallery-list > li.active a,
#template-photo > section > .photo > .contents-wrap  .gallery-list > li a:hover {text-decoration:none; color:#fff; border-color:#415cb9; background-color:#415cb9;}
#template-photo > section > .photo > .contents-wrap  .gallery-list > li.active a .caret,
#template-photo > section > .photo > .contents-wrap  .gallery-list > li a:hover .caret {display:block;}
#template-photo > section > .photo > .contents-wrap  .gallery-list > li a {font-size:15px;text-align: center;}
#template-photo > section > .photo > .contents-wrap  .gallery-list > li a .caret { border-top:7px solid #415cb9;}
#template-photo > section > .photo > .contents-wrap  .gallery-list > li img {width:100%;}

.gallery-list .caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40px;
    line-height: 40px;
    padding: 0 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    background: #000;
    background: rgba(0,0,0,.7);
}

.statistic-div .statistic-ul {
	width:100%;
	padding:0px;
}

.statistic-div .statistic-ul > li {
	list-style-type:none;
	margin-bottom:50px;
}

.statistic-div .statistic-tbl {
	float:left;
	width:40%;
	margin-right:5%;	
}

.statistic-div .statistic-tbl tfoot {
	font-weight:500;	
}

.statistic-div .statistic-graph {
	float:left;
	width:55%;
}
	
.statistic-div .statistic-graph > img {
	width:100%;
	height:auto;
	object-fit: contain;
	margin:15px 0px;
}	

.pastexhibition-search-tbl {
  min-width:1220px;		
}

/* 포토갤러리 */
#template-photo .big-img-overlay {
	display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  height: 100%;
  text-align: center;
  padding-top: 100px;
  background-color: #000;
  opacity: 0.85; 	 
}	

#template-photo .big-img {
  display: none;
  position: fixed;
  top: 150px;
  width: 100%;
  z-index: 99999;
  margin: 0 auto;
	text-align: center;
	opacity: 1;   
}

#template-photo .big-img .wrap {
	position: relative;
  display: inline-block;
  width: 1000px;
  max-width: 90%;
  background-color: #fff;
  display: inline-block;
  border: 5px solid #ddd;
  margin: 0 auto;
  text-align: center;
}

#template-photo .big-img .wrap img {
	width: 100%;
}

#template-photo .big-img .wrap .big-img-close {
	display: inline-block;
	position: absolute;
	bottom: -40px;
	right: 0px;
	width: 30px;
	height: 30px;
	background: url(/images/icon/icon_close1.png) no-repeat 100% 50%;
	opacity: 0.7;
}

/* 동영상 */
#template-photo #video ul {
  padding: 0px;	
}

#template-photo #video ul li {
	float: left;
	width: 33.33%;
	list-style-type: none;
	margin-top: 50px;
	padding: 0px 30px;
}

#template-photo #video ul li a {
	position: relative;
	display: block;
	width: 100%;
}

#template-photo #video ul li a img {
	width: 100%;
	height: auto;	
}

#template-photo #video ul li a .play {
  position: absolute;
  display: inline-block;
  left: calc(50% - 28px);
  top: calc(50% - 20px);
  width: 56px;
  height: 40px;
  background: url(/images/youtube_btn1.png) no-repeat 50% 50%;
}

#template-photo #video ul li a:hover .play {
	background: url(/images/youtube_btn.png) no-repeat 50% 50%;
}

#template-photo #video ul li .caption {
  font-size: 18px;
  font-weight: 500;
  color: #000;
  letter-spacing: 0px;
  line-height: 22px;
  margin-top: 10px;
}

#template-photo .youtube-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  height: 100%;
  text-align: center;
  padding-top: 100px;
  background-color: #000;
  opacity: 0.85;   
} 

#template-photo .youtube {
  display: none;
  position: fixed;
  top: 150px;
  width: 100%;
  z-index: 99999;
  margin: 0 auto;
  text-align: center;
  opacity: 1;   
}

#template-photo .youtube .wrap {
  position: relative;
  display: inline-block;
  width: 1200px;
  max-width: 90%;
  background-color: #fff;
  display: inline-block;
  border: 5px solid #ddd;
  margin: 0 auto;
  text-align: center;
}

#template-photo .youtube .wrap iframe {
	max-height: 45.75vw;
}
	
#template-photo .youtube .wrap .youtube-close {
  display: inline-block;
  position: absolute;
  bottom: -40px;
  right: 0px;
  width: 30px;
  height: 30px;
  background: url(/images/icon/icon_close1.png) no-repeat 100% 50%;
  opacity: 0.7;
}	


@media screen and (max-width:1280px) {

	#template-photo .contents-wrap {
		padding:0px 10px;	
	}
	
}

@media screen and (max-width:767px) {

	#template-photo .pastexhibition-contents {
    padding-top: 15vw !important;
    margin-bottom: 15vw !important;
	}	
	
	.pastexhibition-contents .sub-nav1{
	  height: auto;
    margin-bottom:70px;
}
	.pastexhibition-contents .sub-nav1::after {
  content: "";
  display: block;
  clear: both;
}

	.pastexhibition-contents .sub-nav1 li{
  	width:49%;
  	margin:0.5%;
    font-size:18px; 	
  }
  
	.pastexhibition-contents .sub-nav1 li:first-child{
	  margin-left:0.5%;
	}  
	
  .gallery-list li {
    width: 50%;
  }	
	
	#template-photo > section > .photo > .contents-wrap > .gallery-list > li a {font-size:12px;}
	
	.gallery-list .caption {
	    height: 20px;
	    line-height: 20px;
	}
  
 	.pastexhibition-contents .link-img {
 		width:12px;
 		height:12px;
 	}
 	
 	.pastexhibition-contents .btn-small1 {
 		padding:1px !important;
 	}  
 	
	.statistic-div .statistic-tbl {
		width:100%;
		margin-right:0px;	
	}
		
	.statistic-div .statistic-graph {
		width:100%;
	} 	
	
	#template-photo #video ul li {
	  width: 50%;
	  margin-top: 6.5vw; /*50px;*/
	  padding: 0px 4vw; /* 0px 30px*/
	}	
	
  #template-photo #video ul li .caption {
    font-size: 13px;	
  } 

}	