/* Gallery Style */

html { height: 100%; }

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; margin: 0; }

.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* Wall Color */
body { background: #5d3831; font-weight: 400; font-size: 15px; color: #333333; overflow: hidden; height: 100%; }

a { color: #000000; text-decoration: none; }
.container { width: 100%; height: 100%;	position: relative; }

.no-js body { overflow: auto; }

.js .gr-gallery { position: absolute; width: 100%; height: 100%; overflow: hidden; }

.gr-room { position: absolute; top: 0; width: 100%; height: 85%; text-align: center; -webkit-perspective: 1200px; -moz-perspective: 1200px; perspective: 1200px; }

.gr-wall-main, .gr-wall-other { position: absolute; top: 0; height: 100%; width: 100%; -webkit-transform-style: preserve-3d; -moz-transform-style: preserve-3d; transform-style: preserve-3d; background: url(images/wall.png) repeat 0px 0px; }

.gr-wall-main { left: 0; }

.gr-floor { position: absolute; top: 100%; left: 0; height: 30%; width: 100%; background: url(images/floor.png) repeat 0px 0px; }

.gr-gallery figure { position: absolute; -webkit-transform-style: preserve-3d; }

.no-js .gr-gallery figure { display: inline-block; position: relative; margin: 20px; }

.gr-gallery figure:before { content: ''; position: absolute; width: 180%; height: 150%; top: -45%; left: -40%; pointer-events: none; opacity: 0.5; }

.gr-gallery figure div, .gr-gallery figure img, .gr-gallery figcaption { -webkit-box-sizing: content-box; -moz-box-sizing: content-box;	box-sizing: content-box; }

.gr-gallery figure div { position: relative; }

/* Frame & Matting */
.gr-gallery figure img { display: block; margin: 0 auto; border: 10px solid #000000; padding: 20px; background-color: #ffffff; box-shadow: 0 10px 7px -5px rgba(0,0,0,0.3); }

.gr-gallery figcaption { image-rendering: -webkit-optimize-contrast; width: 120px; display: block; font-family: Verdana; font-size: 5.5pt; font-weight: normal; background: #ffffff; color: #6a6a6a; padding-top: 5px; padding-left: 5px; padding-right: 5px; padding-bottom: 20px; margin-top: 28px; position: relative; text-align: left; cursor: pointer; box-shadow: 0 2px 4px rgba(0,0,0,0.5); background-image: url('images/view_details_new.png'); background-repeat:no-repeat; background-position:left bottom; background-size: 89px; z-index: 9999999999;}

.gr-gallery figcaption:hover { cursor: pointer; }

.gr-gallery figcaption h2 span { display: inline-block; margin: 0 2px; font-size: 9pt; font-weight: normal; }

.gr-gallery figcaption div { display: none; }

.gr-gallery nav {
	position: absolute;
	width: 300px;
	height: 38px;
	bottom: 5%;
	left: 50%;
	margin-left: -150px;
	z-index: 0;
	cursor: pointer;
}

.gr-gallery nav span {
	width: 90px;
	height: 100%;
	background: url(images/steps.png);
	float: left;
	text-indent: -100%;
	overflow: hidden;
	opacity: 0.6;
}

.gr-gallery nav span:hover { opacity: 1; }

.gr-gallery nav span.gr-next { background-position: top right; float: right; }

.gr-caption {
	position: absolute;
	width: 80%;
	height: 480;
        margin-left: 10%;
        margin-right: 10%;
        z-index: 99999999;
	bottom: 0;
	background: #ffffff;
	box-shadow: 0 -1px 3px rgba(0,0,0,0.3);
	-webkit-transform: translateY(480px);
	-webkit-transition: -webkit-transform .5s ease;
	-moz-transform: translateY(480px);
	-moz-transition: -moz-transform .5s ease;
	-o-transform: translateY(480px);
	-o-transition: -o-transform .5s ease;
	-ms-transform: translateY(480px);
	-ms-transition: -ms-transform .5s ease;
	transform: translateY(480px);
	transition: transform .5s ease;
}

.gr-caption-close { position: absolute; top: 10px; right: 26px; background: #ffffff; font-family: Arial, Baskerville, monospace; color: #686868; width: 34px; height: 20px; text-align: center; cursor: pointer; line-height: 18px; font-size: 20pt; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }

.gr-caption-close:hover { color: #000000; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }

.gr-caption h2 { border-bottom: 1px solid rgba(0,0,0,0.3); color: #6a6a6a; font-weight: normal; margin-bottom: 10px; }

.gr-caption > div { overflow: hidden;  overflow-y: scroll; max-height: 260px; font-family: 'Perpetua', sans-serif; font-size: 14pt; color: #6a6a6a; line-height: 18pt; padding: 40px; }
.gr-caption > div a { font-weight: 700; color: #6a6a6a; text-decoration: none; }
.gr-caption > div a:hover { text-decoration: underline; }