/*
	Colorbox Core Style:
	The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper { position: absolute; top: 0; left: 0; z-index: 99998; -webkit-transform: translate3d(0,0,0); }
#cboxWrapper { max-width: none; }
#cboxOverlay { position: fixed; width: 100%; height: 100%;}
#cboxMiddleLeft, #cboxBottomLeft { clear: left; }
#cboxContent { position: relative; background: none; }
#cboxLoadedContent { overflow: auto; -webkit-overflow-scrolling: touch; }
#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; }
#colorbox { outline: 0; }
#cboxCurrent { position: absolute; top: 0; right: 0; color: #FFFFFF; }
#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; top: 0; right: 0; color: #FFFFFF; }
#cboxClose, #cboxPrevious, #cboxNext { display:none !important; }

#cboxLoadingGraphic {
	display: inline-block;
	position: fixed;
	top: 50%;
	left: 50%;
	border: 1px solid #9A9183;
	border-top-color: transparent;
	border-radius: 50%;
	width: 26px;
	height: 26px;
	margin: -13px 0 0 -13px;
	z-index: 9999;
	-webkit-animation: spin 0.4s infinite linear;
	-ms-animation: spin 0.4s infinite linear;
	animation: spin 0.4s infinite linear;
	opacity: 0.8;
}

@-webkit-keyframes spin { 0%{ -webkit-transform: rotate(0deg); } 100%{ -webkit-transform: rotate(360deg); }}
@-ms-keyframes spin { 0%{ -ms-transform: rotate(0deg); } 100%{ -ms-transform: rotate(360deg); }}
@keyframes spin { 0%{ transform: rotate(0deg); } 100%{ transform: rotate(360deg); }}

#cboxOverlay {
	background-color: #081822;
	opacity: 1;
	filter: alpha(opacity = 100);
}

#cboxOverlay.modalMovie {
	background-color: #000000;
}

.modalMovie #cboxLoadedContent {
	padding: 20px 140px !important;
	box-sizing: border-box !important;
}

.cboxIframe {
	background-color: #000000;
}

#cboxContent #modal-left, #cboxContent #modal-right {
	display: none;
	content: '';
	position: absolute;
	top: 100px;
	width: 50%;
	height: calc(100% - 200px);
	z-index: 999;
	cursor: pointer;
}

#cboxContent #modal-left { left: 0; }
#cboxContent #modal-right { right: 0; }

.modalMovie #cboxContent #modal-left,
.modalMovie #cboxContent #modal-right {
	display: none !important;
}

.modal-close {
	display: none;
	top: 35px;
	right: 35px;
	background: url(https://www.gran-turismo.com/common/front/img/global/icon-close-l.svg) no-repeat center center;
	background-size: 50px 50px;
	width: 50px;
	height: 50px;
	opacity: 0;
	transition: none;
}

.modal-prev, .modal-next {
	top: 50%;
	margin-top: -60px;
	background: url(https://www.gran-turismo.com/common/front/img/global/btn-slide.svg) no-repeat center center;
	background-size: 60px 60px;
	width: 120px;
	height: 120px;
	transition: none;
}

.modal-close:hover, .modal-prev:hover, .modal-next:hover {
	transition: .15s linear;
	opacity: 0.5 !important;
}

.modal-prev { left: -120px; -webkit-transform: scaleX(-1); -ms-transform: scaleX(-1); transform: scaleX(-1);}
.modal-next { right: -120px; }

.modal-close, .modal-prev, .modal-next {
	position: fixed;
	text-indent: -9999px;
	cursor: pointer;
	z-index: 99999;
}

#colorbox.modalImg #cboxLoadedContent {
	padding-top: 120px !important;
	padding-bottom: 120px !important;
}

#cboxTitle {
	display: block;
	position: absolute;
	top: calc(100% - 120px + 20px);
	left: 0;
	color: #FFFFFF;
	font-size: 13px;
	line-height: 1.5;
	letter-spacing: 0.04em;
}

#cboxTitle span {
	display: block;
	margin-top: 8px;
	font-size: 11px;
	opacity: 0.75;
}

/* lang:ja
------------------------------------*/
body:lang(ja) #cboxTitle { font-size: 12px; line-height: 1.7; letter-spacing: 0.12em; }
body:lang(ja) #cboxTitle span { margin-top: 6px; letter-spacing: 0.04em; }

/* lang:ar
------------------------------------*/
body:lang(ar) #cboxContent #modal-left { left: inherit; right: 0; }
body:lang(ar) #cboxContent #modal-right { left: 0; right: inherit; }
body:lang(ar) .modal-prev { left: inherit; right: -120px; -webkit-transform: scaleX(1); -ms-transform: scaleX(1); transform: scaleX(1); }
body:lang(ar) .modal-next { left: -120px; right: inherit; -webkit-transform: scaleX(-1); -ms-transform: scaleX(-1); transform: scaleX(-1); }
body:lang(ar) #cboxTitle { direction: rtl; width: 100%; }