/*
modal
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; /*overflow:hidden;*/}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}

#cboxOverlay{background:rgba(0,0,0,0.5);}
#colorbox{outline:0;}
.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxLoadedContent{margin-bottom:0px;}
#cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
#cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
#cboxLoadingOverlay{background:none;}
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}

#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }

#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

#cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
#cboxPrevious,
.lineup-modal-prev {
	position: absolute;
	top: 44%;
	left: -20px;
	background: #4E3B30;
	width: 70px;
	height: 70px;
	text-indent: -9999px;
	border-radius: 999px;
	transition: all 0.3s ease;
	cursor: pointer;
}
#cboxPrevious::after,
.lineup-modal-prev::after {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	background: url(../img/icon_arrow_modal.svg) no-repeat left top;
	background-size: 24px 13px;
	width: 24px;
	height: 13px;
	transform: translate(-50%,-50%);
	z-index: 1;
}

#cboxPrevious:hover,
.lineup-modal-prev:hover {
	background: #675144;
}

#cboxNext,
.lineup-modal-next {
	position: absolute;
	top: 44%;
	right: -20px;
	background: #4E3B30;
	width: 70px;
	height: 70px;
	text-indent: -9999px;
	border-radius: 999px;
	transition: all 0.3s ease;
	cursor: pointer;
}

#cboxNext::after,
.lineup-modal-next::after {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	background: url(../img/icon_arrow_modal.svg) no-repeat left top;
	width: 24px;
	height: 13px;
	text-indent: -9999px;
	background-size: 24px 13px;
	transform: translate(-50%,-50%) rotate(180deg);
	z-index: 1;
}

#cboxNext:hover,
.lineup-modal-next:hover {background: #675144;}
#cboxClose{position:absolute; top:87px; right:68px; background:url(images/close.png) no-repeat left top; width:40px; height:40px; text-indent:-9999px;background-size:40px;display: none;}

#cboxCurrent{display: none !important;}

@media screen and (min-width: 769px) and (max-width: 915px){
	#cboxClose {
		top: 65px;
		right: 56px;
	}
}

@media screen and (max-width: 768px){
	#cboxPrevious,
	.lineup-modal-prev {
		left: -5px;
		width: 44px;
		height: 44px;
	}

	#cboxPrevious::after,
	.lineup-modal-prev::after {
		background-size: 18px;
		width: 18px;
		height: 10px;
	}

	#cboxNext,
	.lineup-modal-next {
		right: -5px;
		width: 44px;
		height: 44px;
	}

	#cboxNext::after,
	.lineup-modal-next::after {
		width: 18px;
		height: 10px;
		background-size: 18px;
	}

	#cboxClose {
		top: 42px;
		right: 30px;
		width: 25px;
		height: 25px;
		-webkit-background-size: 25px;
		background-size: 25px;
	}
}

@media screen and (max-width: 376px){
	#cboxNext, .lineup-modal-next{
		right: 13px;
	}
	#cboxPrevious, .lineup-modal-prev{
		left: 13px;
	}
}


