@charset "UTF-8";

.form-control {
	border: 1px solid #e9ecef !important
}

#bg {
   	width: 100%;
    background-color: #000;
    height: 100vh;
    top:0;
    position: fixed;
    z-index: 1030;
    opacity: 0.5;
    display:none;
}

/* bullet line */
.b-line {
	display:inline-block;
	padding: 0 .5rem;
	position: relative;
}

.b-line:after {
	content: '';
    position: absolute;    
    top: calc(50% - 7px);
    right: -.1rem;
    width:1px;
    height:14px;
    background: #6c757d;    
}

.b-line:last-child:after {
	display:none;
}

.b-line:first-child{
	padding-left:0;
}


/* Exhibition Detail View */

.d-View .modal-dialog {
	max-width: 1000px;
	max-height: 100vh;
	top: 50%;
	transform: translateY(-50%);	
}

.d-View .modal-content {
	border: 0;
    border-radius: 0;	
}
.d-View .modal-title {
	width:90%;
	word-wrap:break-word;
	word-break: keep-all;
}

.d-View .modal-body {
	width:100%;
	height:60vh;
	background:#212529;
	overflow: hidden;
	padding: 0;
}

.d-View .modal-body-text {
	padding:2.3rem;

}
.d-View button.close {
	position: absolute;
	z-index: 100;
	right: 1rem;
	top: 1rem;
	opacity: 1;
	font-size: 3rem;
}

.d-View .modal-body-text #artInfo {
	height: 74px;
	overflow-y: auto;
}

.d-view-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
	margin:auto;
	display: block;
}

/* 댓글 */
.d-View .form-inline input:nth-of-type(1){
	width:23%
}
.d-View .form-inline input:nth-of-type(2){
	width:17%
}
.d-View .form-inline input:nth-of-type(3){
	width:calc(59% - 69px);
}

.modal-header{
	padding: 1rem !important;
}
.d-View button.close {	    
	top: 0.3rem !important;
}

.comment {height:140px}

/*영상 높이*/
.embed-responsive{height: 100%;}


.carousel.pointer-event {
	touch-action: pan-y pinch-zoom !important;
}

.openseadragon-outBox2{
	width: 100%;  
	height: 100%;
	background-color: #333;
}

.d-view-img {
    width: 100%;
    height: 100%;
    position: relative;
   	background:#212529;
   	overflow: hidden;
	padding: 0;
} 

/***************************/
/* 멀티뷰 */
/***************************/
#multiViewicon{   
	z-index: 9999;
	width: 40px;
	display: flex;
	position: absolute;
	bottom: 30px;
	left: 69%;
}
#multiViewicon img{
	cursor: pointer !important;
}

.flipbook-viewport{
 	overflow:hidden;
	width:100%; 
	height:100%;
}

.flipbook-viewport .conTainer{
	position:absolute;
	top:50%;
	left:50%;
	width:100%;
	margin:auto;
}

.flipbook-viewport .flipbook{
	width:90%;
	height:100%;
	left:-45%;
	top: -27vh;
}

.flipbook-viewport .page{
	width:50%;
    height: 90%;
    background-color: white;
    background-repeat: no-repeat;
    background-size: 80% auto;
    background-position: center;	
/* 	height:90%;
	background-color:white;
	background-repeat:no-repeat;
	background-size:100% 100%; */
}

.flipbook .page{
	-webkit-box-shadow:0 0 20px rgba(0,0,0,0.2);
	-moz-box-shadow:0 0 20px rgba(0,0,0,0.2);
	-ms-box-shadow:0 0 20px rgba(0,0,0,0.2);
	-o-box-shadow:0 0 20px rgba(0,0,0,0.2);
	box-shadow:0 0 20px rgba(0,0,0,0.2);
}

.flipbook-viewport .page img{
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	margin:0;
}

.flipbook-viewport .shadow{
	-webkit-transition: -webkit-box-shadow 0.5s;
	-moz-transition: -moz-box-shadow 0.5s;
	-o-transition: -webkit-box-shadow 0.5s;
	-ms-transition: -ms-box-shadow 0.5s;

	-webkit-box-shadow:0 0 20px #ccc;
	-moz-box-shadow:0 0 20px #ccc;
	-o-box-shadow:0 0 20px #ccc;
	-ms-box-shadow:0 0 20px #ccc;
	box-shadow:0 0 20px #ccc;
}

.animated{
	-webkit-transition:margin-left 0.2s ease-in-out;
	-moz-transition:margin-left 0.2s ease-in-out;
	-o-transition:margin-left 0.2s ease-in-out;
	-ms-transition:margin-left 0.2s ease-in-out;
	transition:margin-left 0.2s ease-in-out;
}

#carouselMultiview {display:none}
#carouselMultiviewControls{
    display: none;
}

/* 모달 닫기버튼 */
button.close {
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto;
    background-color: transparent;
    border: 0;
    float: right;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
}

@media (max-width: 1024px) {
	/* singleView - Defult*/	
	.d-View .modal-dialog {
		max-width:92vw;
		max-height: 92vh;
		margin: 0 auto;
	}

	.d-View .modal-body-text {
		padding:2rem	
	}

	.d-View .modal-body-text #artInfo {
		height: 98px;	
	}	
	
	.flipbook-viewport {
		height:500px;
	}

	
}

@media (max-width: 768px) {

/* 	.d-View .modal-body-text  span:nth-child(1){
		display: block !important;		
	}
	
	.d-View .modal-body-text  span:nth-child(1):after {
		display:none	
	}

	.d-View .modal-body-text  span:nth-child(2){
		padding-left:0 !important;
	}
 */

 
	/* Multiview */
	#multiViewicon {   
		left: 64%;
	}
   	
	.flipbook-viewport .flipbook {
		left:-310px;	
	}

	.flipbook-viewport .page{
		width:310px;
		height:430px;
	}	

	
	/* 댓글 */
	.d-View .form-inline input:nth-of-type(1){
		width:49%
	}
	.d-View .form-inline input:nth-of-type(2){
		width:49%
	}	
	.d-View .form-inline input:nth-of-type(3){
		width:calc(100% - 62px)
	}
	
	.d-View .modal-body-text .comment span:nth-child(1) {
		display: inline-block !important;
	}
   
}

@media (max-width: 767.98px) {
	.d-View .modal-body-text #artInfo {
		height: 92px;	
	}
}


@media (max-width: 576px) {
	
	/* singleView - Defult*/
	
	.d-View .modal-body {
		width:100%;
		height:50vh;
	}
	
	/* Multiview */
	.flipbook-viewport, #multiViewicon {
	    display: none !important;
	}

	#carouselMultiviewControls{
		display: block;
		height: 100%;
	}
	.carousel,.carousel-item,.active, .carousel-inner {
		height:100%;
	}	
	#carouselMultiviewControls .carousel-inner .carousel-item img{
		object-fit: contain;
	}

}

/* 모바일 가로버전  */
@media (orientation: landscape) {
	
	#multiViewicon {   
		display:none !important;
	}	

	.d-View.dm-View .modal-dialog{
		top: 50%;
		transform: translateY(-50%);
		margin: auto;
		max-width: 80vw;
		max-height: 80vh;
	}
	.d-View.dm-View .mMh{
		padding:0.7rem !important;
	}
	.d-View.dm-View  .mMh button.close{
		top: 0rem !important;
		right: 0.2rem;
	}
	.d-View.dm-View .mCon{
		display: flex;
		flex-direction: row;
		height: 60vh;
	}
	.d-View.dm-View .mCon .modal-body-text {
		padding: 1rem;
		width: calc(100vw - 45vw - 2rem);
	}
	.d-View.dm-View .mCon .modal-body {
		width: 45vw;
		height: 100%;
	}
	.d-View.dm-View .mCon .modal-body-text #artInfo {
		height: 60%;
		padding: 0.5rem 0;
	}
	.d-View.dm-View .flipbook-viewport{
		display: none;
	}
	.d-View.dm-View #carouselMultiviewControls{
		display: block;
		height: 100%;
	}
	.carousel,.carousel-item,.active, .carousel-inner{
		height:100%;
	}	
}

