
.view-image {
	position: relative;
	display: block;
	background-position-y: 2%;
	width: 100%;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}
.header {
    background: rgb(0, 0, 0);
    margin-top: 0px!important;
	height: auto;
}

#container{
	background: rgb(0, 0, 0);
	height: auto;
}

.project-box{
	border-top: 1px solid #fff;
}

.header .collapsed ul, .header  .collapsed-sc ul{
}

.header .collapsed{
    display: block!important;
}

/* project-tilte */
.project-box .project-tilte{background: #222222;color: #fff;font-family: "UTM Avo";padding: 13px 3% 5px;}
.project-box .project-tilte h2{font-size: 21px;}
.project-box .project-tilte p{font-size: 12.5px;}
/* project-detail */
.project-box ul.project-detail{border-top: 2px solid #222222;background: #222;}
.project-box ul.project-detail:after{clear: both;content: ""; display:block;}
.project-box ul.project-detail .first-view{float: left;width: 33%;margin-left: 0.2%;position: relative;padding-top: 37.5%;} /*old: 37.6*/
.project-box ul.project-detail .first-view a img{width: 100%;position: absolute;top: 0px;left: 0px;}
.project-box ul.project-detail li{float: left;width: 32%;margin-left: 1%;margin-bottom: 1%;position: relative;padding-top: 18.7%;}
.project-box ul.project-detail li a img{display: block;width: 100%;height: 100%;position: absolute;top: 0px;left: 0px;}
.project-box ul.project-detail li iframe{width: 100%;height: 100%;position: absolute;top: 0px;left: 0px;}
.project-panorama a img{border: 1px solid #fff;}

.project-box ul.project-detail li a img {
    border: 2px solid #fff;
}

.project-box .project-tilte {
    position: relative;
    display: block;
    height: 55px;
}

.project-box .project-tilte:after{
	content:"";
	display: block;
	clear:both;
}

.project-tilte .close{
	display: none;
}

@media only screen and (min-width: 30px) and (max-width: 768px){
	.project-box ul.project-detail li {
	    width: 98%;
	    padding-top: 56.7%;
	    margin-bottom: 2%;
	}
}

@media only screen and (min-width: 30px) and (max-width: 768px) and (orientation: landscape){
	.project-box ul.project-detail li {
	    width: 47.5%;
	    padding-top: 26.7%;
	    margin-left: 1.5%;
	    margin-bottom: 1.5%;
	}
}

.wrap-light-box{display: block; width: 100%; height: calc(100% - 72px); position: absolute; clear:both; display: none;height: 100% }
.wrap-light-box.active-box{display: block;}
.project-box-view {
	position: fixed;
	display: block;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.90);
	z-index: 3;
	background-position: top;
}

.view-image {
	position: relative;
	display: block;
	background-position-y: 2%;
	width: 100%;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.cont-image {
	position: absolute;
	width: 100%;
	height: 100%;
	align: center;
}

.view-image .cont-image .imgdiv {
	position: absolute;
	margin: auto;
	height: auto;
	width: auto;
	max-width: 100%;
	max-height: 100%;
	top: 0; left: 0; bottom: 0; right: 0;
	opacity: 1.0;
	background-size: contain;
    background-repeat: no-repeat;
	background-position: center;
}

/*image details - text*/

.image-info {
	z-index: 100;
	position: fixed;;
	width: 100%;
	left:0;
	padding: 0px 0px 0px 0px;/*7%*/
	color: #fff;
	background-color: rgba(0, 0, 0, 0.5);
	bottom: 0%;
}
.image-info p{
	font-size: 13px;
	padding: 2px 6px;
}
.image-info p.building-name {
	font-family: UTM Avo;
	font-size: 17px;
}

.image-info .building-name {
	font-family: UTM Avo;
}
/*
.cont-image:hover .image-info {
	display: block;
}
*/
/*prev - next - close buttons*/

.btn-prev {
	position: absolute;
	display: block;
	left: 0%;
	padding-top: 0%;
	width: 7%;
	height: 100%;
	color: #fff;
	padding-right: 10%;
	z-index: 1000;
}

.btn-next {
	position: absolute;
	display: block;
	right: 0%;
	top: 0%;
	width: 7%;
	height: 100%;
	color: #fff;
	padding-left: 10%;
	z-index: 1000;
}

.btn-icon {
	display: block;
	position: absolute;
}

.prev {

	left: 20%;
	top: 50%;

}

.next {
	right: 20%;
	top: 50%;

}


.project-box-view .close-box {
	position: absolute;
	z-index: 2000;
	top: 3%;
	right: 3%;
	font-size: 20px;
	font-weight: bold;
	color: #fff;
}
.close-box{

}

.close-box:link {
	text-decoration: none;
}

@media all and (min-width: 1025px){
	.close-box {
		opacity: 0.5;
	}
	.close-box:hover {
		opacity: 1.0;
	}
	.btn-prev {
		opacity: 0.5;
	}
	.btn-prev:hover {
		opacity: 1.0;
	}
	.btn-next {
		opacity: 0.5;
	}
	.btn-next:hover {
		opacity: 1.0;
	}
}

/* old code
@media all and (max-width: 1024px){
	.view-image {width: 100%;}

	**** remove
	.btn-prev {width: 45%; z-index: 200; margin: 0px;}
	.btn-next {width: 45%; z-index: 200; margin: 0px;}

	Tom's alternative below:
	*****end remove

	.wrap-light-box{height: calc(100% - 50px);}
	.btn-prev {width: 0%; display: none;}
	.btn-next {width: 0%; display: none;}
	.btn-icon {display: none;}
	.prev {padding-left: 0px;}
	.next {padding-left: 0px;}
	.image-info {position: absolute; display: block; bottom: 0px; background-color: rgba(0, 0, 0, 0.7); padding: 10px 0px;}
	.close-box {top: 2px;}
	#_1{
		display: none;
	}
}
new code: show*/
@media all and (max-width: 1024px){
	.image-info {position: absolute; display: block; bottom: 0px; background-color: rgba(0, 0, 0, 0.7); padding: 10px 0px;}
	.close-box {top: 2px; z-index:0;}
}

@media only screen and (min-width: 400px) and (max-width: 480px) and (orientation: landscape){
	.contact-box {
		height: 100%!important;
		top: 0.7%!important;
	}
	.info-box h2 {
		color: #000;
		margin-top: 42px;
	}
	.info-box p {
		color: #000;
	}
	.map-box{
		float: left;
		position: static;
		width: 45%;
		margin-left: 18px;
		margin-right: 10px;
	}
	.info-box{
		float: left;
		position: static;
		width: 35%;
		width: 40%;
		margin: -30px 0% 30px 4%;
	}
	.info-box a:link {
		color: #000;
	}
}

@media only screen and (min-width: 481px) and (max-width: 568px) and (orientation: landscape){
	.contact-box {
		height: 100%!important;
		top: 0.7%!important;
	}
	.info-box h2 {
		color: #000;
		margin-top: 42px;
	}
	.info-box p {
		color: #000;
	}
	.map-box{
		float: left;
		position: static;
		width: 45%;
		margin-left: 18px;
		margin-right: 10px;
	}
	.info-box{
		float: left;
		position: static;
		width: 35%;
		width: 40%;
		margin: -30px 0% 30px 4%;
	}
	.info-box a:link {
		color: #000;
	}
}

@media only screen and (min-width: 569px) and (max-width: 667px) and (orientation: landscape){
	.contact-box {
		top: 63.7%;
		background: #fff;
	}
	.map-box {
		margin: 12px 20px;
	}

	.info-box {
		margin: 24px 20px;
	}
	.info-box a:link {
		color: #000;
	}
	.contact-box {
		top: 57.7%;
		height: 310px;
	}
}

@media only screen and (min-width: 668px) and (max-width: 736px) and (orientation: landscape){
	.contact-box {
		top: 51.7%;
		background: #fff;
	}
	.map-box {
		margin: 8px 20px;
	}
	.info-box a:link {
		color: #000;
	}
}

@media only screen and (min-width: 1023px) and (max-width: 1024px) and (orientation: landscape){
	.map-box {
		width: 54%;
	}
	.info-box a:link {
		color: #000;
	}
}


@media only screen and (min-width: 767px) and (max-width: 768px) and (orientation: portrait){
	.info-box {
		position: absolute;
		top: 30px;
		width: 90%;
		margin: -30px 5% 30px 5%;
	}
	.contact-box {
		height: 88%!important;
		top: 62px;
		margin-top: 0px;
		background-color: #272727;
	}
	.map-box {
		position: absolute;
		top: 235px!important;
		width: 80%;
		margin: 30px 10%;
		background: #fff;
	}
	.info-box h2 {
		color: #fff;
	}
	.info-box p {
		color: #fff;
	}
	.info-box a:link {
		color: #fff;
	}
	.contact-box {
	    height: 100%!important;
	    top: 10px;
	    margin-top: 0px;
	    background-color: #222222;
	}
}
@media only screen and (min-width: 320px) and (max-width: 767px) and (orientation: portrait){
	.contact-box {
		height: 100%!important;
		top: 10px;
		margin-top: 0px;
		background-color: #222222;
	}
}