@charset "utf-8";
.horizontal_scroll {
	display: grid;
	grid-template-columns:  repeat(auto-fill, minmax(100px, 1fr));
	gap : 10px;
	padding-top: 25px;
}
#THUMBNAIL_WRAPPER #THUMBNAIL
.horizontal_scroll::-webkit-scrollbar {
	height : 10px;
}
.horizontal_scroll::-webkit-scrollbar-track {
	background : var(--color-palegray);
}
.horizontal_scroll::-webkit-scrollbar-thumb {
	background : var(--color-gray);
	border-radius : 10px;
}
.horizontal_scroll_tile{
    width: 100%;
    display: inline-block;
    white-space: normal;
    vertical-align: top;
    padding: 0px 10px;
    scroll-snap-align: start;
    text-align: center;
}
.horizontal_scroll_tile.max_width_320{
    max-width: 320px;
}
.horizontal_scroll_tile_comment{
	margin-top: 15px;
    font-size: 14px;
    line-height: 1.3em;
    text-align: left;
}
.horizontal_scroll_wrapper{
	display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
	align-items: center;
}
.horizontal_scroll_wrapper .horizontal_scroll{
	width: calc(100% - 80px);
    font-size: 0;
    scroll-snap-type: x mandatory;
}
.thumbnail_tile {
    width: 100px;
    height: 100px;
    min-width : 100px;
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
}
.thumbnail_tile img{
	object-fit: cover;
    width: 100%;
    height: 100%;
}
.thumbnail_image {
	max-width: none;
    height: 100%;
}
#MODAL_PREVIEW,
#PREVIEW {
	position: relative;
	white-space: nowrap;
	user-select: none;
    overflow: hidden;
    font-size : 0;
}
#PREVIEW .slider_preview, #PREVIEW
{
    /*height: 440px;
    display: grid !important;
    place-items: center;*/
	height: 440px;
}
#PREVIEW .slider_preview img
{
	display: block;
	margin: auto;
}

.slider_preview {
	display: inline-block !important;
	cursor : pointer;
}

.arrow {
    z-index: 1;
    position: absolute;
    top: 0;
    bottom: 0;
    box-sizing: border-box;
    background: url(/renew/img/arrow.png) rgba(255, 255, 255, 0.6) no-repeat;
    background-size: auto;
    width: 50px;
    height: 100px;
    margin: auto;
    vertical-align: middle;
    border-radius: 50px 0% 0% 50px;
    background-position: center right 10px;
    cursor: pointer;
    transition: 0.2s;
}
.arrow:hover {
    background-position: center right 7px;
    background-color: rgba(255, 255, 255, 0.8);
}
.arrow.left {
	left: 0;
	transform: scaleX(-1);
}

.arrow.right {
	right: 0;
}

.slide_animation {
	opacity: 1;
	animation: slide .5s ease-out;
	animation-fill-mode: forwards;
}
#THUMBNAIL_WRAPPER{
	margin-top: 10px;
	align-items: center;
}
#SHOP #THUMBNAIL_WRAPPER #THUMBNAIL{
	width: 100%;
}
.photo_btn_right,
.photo_btn_left{
	width : 35px;
	height : 35px;
	background-color : var(--color-deeporange);
	position : relative;
	cursor : pointer;
	background-repeat : no-repeat;
	background-size : 25px;
	border-radius: 100px;
	background-position : center;
	background-image : url(../img/icon_arrow_white.svg);
}
.photo_btn_right.disable,
.photo_btn_left.disable{
	background-color: var(--color-lightgray);
	pointer-events: none;
}
.photo_btn_left{
	transform: rotate(180deg);
}

.slide_animation_re {
	animation: slide_re .5s ease-out;
	animation-fill-mode: forwards;
	opacity: 1;
}
#PREVIEW_TEXT:not(:empty){
    position : absolute;
    bottom : 0;
    width : 100%;
    left: 0;
    padding : 10px;
    background: rgba(0,0,0,0.5);
    color: #ffffff;
    z-index: 1;
	white-space: normal;
	font-size: 1rem;
}

@keyframes slide {
	0% {
		transform: translateX(0%);
	}
	100% {
		transform: translateX(-100%);
	}
}

@keyframes slide_re {
	0% {
		transform: translateX(-100%);
	}
	100% {
		transform: translateX(0%);
	}
}

#NEXT.fadein_animation{
	position: absolute;
	top: 0;
	left: 0;
	animation: fadein 2s ease-out;
	animation-fill-mode: forwards;
}
#NEXT.fadein_animation_re {
	position: absolute;
	top: 0;
	left: 0;
	animation: fadein_re 2s ease-out;
	animation-fill-mode: forwards;
}
@keyframes fadein {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@keyframes fadein_re {
	0% {
		transform: translateX(-100%);
	}
	100% {
		transform: translateX(0%);
	}
}
@media screen and (max-width : 650px){
	.arrow{
        display: none;
    }
	#ESTATE_MAIN_IMAGE .horizontal_scroll
	{
		grid-template-columns: repeat(auto-fill, 60px);
	}
	.thumbnail_tile{
		width : 60px;
		height : 60px;
		min-width: 60px;
	}
}