/* Created by Xiangting Su, 2017.
All files for the SU3D link to this sytle sheet. */

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body
{
  padding: 0;
  margin: 0;
  font-family: 'Open Sans Condensed', sans-serif;
 /* font-family: Arial, sans-serif; */
}


.fancybox-title {
    font-family: 'Open Sans Condensed', sans-serif;
	font-weight:bold;
}


.icons {
	display:inline-block;
}

/* hide horizontal scrollbars, since we use the vertical ones to scroll to the right */
body
{
  	overflow-x: hidden;
  	overflow: -moz-scrollbars-vertical;
	overflow-y:scroll;

}

::-webkit-scrollbar {
	display: none;
}

a { 
	color: #FF8585;
	font-weight:bold; 
}

h4, h6 {
	position:absolute;
	margin-top:-50px;
	text-align: left;
	padding-left:50px;	
	font-size: 1.2em;	
	font-weight: bold;
	width: 500px;
/*	background-color:grey;
	color: white; */
}

h6 {
	margin-top:-25px;
	font-size: 1em;	
	font-weight: normal;
}

h2, h3, h5 {
	font-size: 0.78em;
	font-weight: normal;	
	font-family: 'Droid Sans Mono', monospace;
	/*color: #F9F7F8;*/
	text-align:center;
	
}

h2 {
	font-size:1.2em;
	font-weight: bold;	
}


h5 {
	color: #FF8585;
	margin-top:-12px;	
}
/**
  * important: keep position fixed, you can however use top:0 instead of bottom:0
  * if you want to make it stick to the top of the browser
  */
  
  
.scrollDown {
	position:absolute;
	right: 30px;
	z-index:1001;
	
}

.scrollUp {
	position:absolute;
	right: 30px;
	z-index:1001;
	display:none;
	
}


.scroll
{
  position: fixed;
  /*bottom: 0; */
  left: 0;
}

/**
  * z-index ordering of the different layers, do this for your layers,
  * also assign absolute width (to prevent issues if the script gets executed before the images get loaded)
  */
.horizon
{
	overflow: hidden;
 	z-index: 1;
 	width: 7000px;
 	height: 600px;
}

.middle
{
  z-index: 500;
  width: 5000px;
}

.front
{
  z-index: 999;
  width: 4000px;
}


.portfolio {
	overflow: hidden;
 	z-index: 1000;
 	width: 13950px;
 	height: 650px;
}


.container, .containerLogo, .containerAbout {
  display: inline-block;
  width:455px;
  height: 600px;
  z-index: 10; 
}

.container {
	margin-top: 50px;	
}

.containerLogo {
		width: 1300px;
}

.containerAbout {
	width: 480px;	
}


.containerLogo #imgLogo {
    width: 100%;
	height: 100%;
    display: block;
 /*   background-size: contain; */
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
.containerLogo #imgLogo .inner {
    padding-top: 50%; /* height/width of image */
    display: block;
}

/* default screen, non-retina */
.containerLogo #imgLogo { 
	background-image: url("../images/logo_large.jpg"); 
	/*border:dashed; */
}




.logoImg {
	overflow: hidden;
	position:relative;
	display:block;
	width: 1300px;
	height: 650px;
	background-repeat:no-repeat;
	border-style:double;
	margin:auto;
	
	
}

.about {
	overflow: hidden;
	width:435px;
	height:600px;
	padding:10px 50px;
	padding-right: 30px;
	padding-top:0px;
	display: inline-block;
	

}

.portfolioImg {
  /*border: 1px solid #333;*/
  overflow: hidden;
  width: 455px;
  height: 600px;
  z-index:1;
}

.portfolioImg img {
  max-width: 103%;
  -moz-transition: all 0.2s;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  z-index:1;
}

.portfolioImg:hover img {
  -moz-transform: scale(1.03);
  -webkit-transform: scale(1.03);
  transform: scale(1.03);
}


.wrapper {
	overflow: hidden;
    width:13950px;
	height: 600px;
}


.iconContainer {
	height: 235px;
	top:50%;
	margin-top: 200px;
	margin-left:-10px;
	padding-right:50px;
	right:20px;
	display: inline-block;
	width:35px;
	float: right;
}

.iconShelf img {
	-moz-transition: all 0.1s;
	-webkit-transition: all 0.1s;
  	transition: all 0.1s;
	width: 30px;
	height: 25px;	
	display: block;
	margin-bottom: 10px;
	
}

.iconShelf:hover img {
	-moz-transform: scale(1.1);
  	-webkit-transform: scale(1.1);
  	transform: scale(1.1);
  	cursor: pointer;	
}



/* ---------------------------------------- Change Highlight Test Starts Here ---------------------------------------------- */

/*** Works on common browsers ***/
::selection {
    background-color: #FF8585;
    color: #fff;
}

/*** Mozilla based browsers ***/
::-moz-selection {
    background-color: #FF8585;
    color: #fff;
}

/***For Other Browsers ***/
::-o-selection {
    background-color: #FF8585;
    color: #fff;
}

::-ms-selection {
    background-color: #FF8585;
    color: #fff;
}

/*** For Webkit ***/
::-webkit-selection {
    background-color: #FF8585;
    color: #fff;
}

/* ----------------------------------------- Change Highlight Test Ends Here ----------------------------------------------- */

/*------------------------------------------- Responsive Design starts here ------------------------------------------------ */


@media screen and (max-width: 1500px) {
	.portfolio {
		overflow: hidden;
		width: 9300px;	
		height: 650px;
	}
}

@media screen and (max-height: 1000px) {
	
	.containerLogo #imgLogo { 
		background-image: url("../images/logo.jpg"); 
	}

}


@media screen and (max-height: 680px) {
	
	.logoImg {
		position:relative;
		width:600px;
		height:500px;
		margin:0;
		padding:0;
		background-repeat:no-repeat;
	}


	.containerLogo #imgLogo { 
		background-image: url("../images/logo_medium.jpg"); 
	}
	
	.scrollDown {
		display: none;	
	}
	
	.scrollUp {
		display: block;	
		right: 10px;
	}
	
	.logoImg {
		position:relative;
		width:550px;
		height:550px;
		margin:0;
		padding:0;
		background-repeat:no-repeat;
	}


	.container, .containerLogo {
		height: 550px;	
		width: 450px;
		margin-top:-10px;
		
		
	}
	
	.containerLogo {
		width:600px;
	}
	
	
	.portfolioImg {
		height:550px;
}


	h4, h6 {
		font-size: 1em;
		margin-top: -5px;
		padding-left: 10px;		
		width: 300px;
		font-weight: bold;
	}
	
	h6 {
		font-size: 0.9em;
		margin-top: 15px;
		font-weight: normal;
	}
	
	h3 {
		font-size: 0.7em;	
	}

	h2 {
		font-size:0.7em;	
	}
	
	h5 {
		font-size: 1em;	
	}

	
	.scrollDown {
		display: none;	
	}
	
	.scrollUp {
		display: block;	
		right: 10px;
	}

	
	.horizon {
		height: 550px;
		width: auto;
		
	}
	
	.portfolio {
  		z-index: 1000;
  		width: 8750px;
	}
	
	.about {	
		overflow: hidden;
		width:450px;
		height:600px;
		padding-top: -80px;
	}
	
	
	.wrapper {
		height: 550px;
	}
	
	.iconContainer {
		bottom: 10%;
		padding-right:0;
	
	}
}

@media screen and (max-height: 600px) {
	.logoImg {
		position:relative;
		width:600px;
		height:500px;
		margin:0;
		padding:0;
		background-repeat:no-repeat;
	}


	.containerLogo #imgLogo { 
		background-image: url("../images/logo_medium.jpg"); 
	}
	
	.container, .containerLogo {
		height: 500px;	
		width:250px;
		margin-top: 20px;
		
	}
	
	.containerLogo {
		width:600px;
	}
	
	
	
	.portfolioImg {
		height:500px;
		width: 227px;
	}
	
	.portfolio {
  		z-index: 1000;
  		width: 5950px;
	}

	.about {	
		overfl ow: hidden;
		width:450px;
		height:600px;
		padding-top: 0px;
		/*margin-top:100px;*/
	}
	
	h4, h6 {
		font-size: 0.8em;
		margin-top: -25px;
		padding-left: 10px;		
		width: 300px;
		font-weight: bold;
	}
	
	h6 {
		font-size: 0.7em;
		margin-top: -10px;
		font-weight: normal;
	}
	
	h3 {
		font-size: 0.6em;	
	}

	h2 {
		font-size:0.7em;	
	}
	
	h5 {
		font-size: 0.8em;	
	}
	

}

@media screen and (max-height: 580px) {
	.logoImg {

		height:320px;
	}

.containerLogo #imgLogo { 
		background-image: url("../images/logo_medium.jpg"); 
	}
	
	.container, .containerLogo {
		height: 320px;	
		margin-top: 20px;
		
	}
	
	
	
	.containerLogo {
		width:600px;
	}
	
	
	
	.portfolioImg {
		height:320px;
	
	}
	
	
	.horizon {
		height: 320px;
		width: auto;
		
	}
	
	.about {
		overflow: hidden;
		width: 450px;
		height: 320px;
		padding-left:15px;
		padding-right:15px;
		padding-top:-120px;
		margin-top:-60px;
	}
	
	.portfolio {
  		z-index: 1000;
  		width: 5310px; /* +300px iPhone 6, Nexus 6P*/ 
	}
	
	
	.iconContainer {
		top: 10%;
		padding-right:0;
		margin-top:-20px;
	
	}

}

@media screen and (max-height: 440px) {
	
	h4 {
		margin-top: 10px;
	}
	
	h6 {
		margin-top: 30px;
	}
	
	
	
	.logoImg {
		height:300px;
	}
	.container, .containerLogo, .containerAbout {
		height: 300px;	
		width:250px;
		margin-top: 0px;
		padding:0px;
		margin:0px;
	}
	
	
	.portfolioImg {
		height: 300px;	
		
	}
	.containerLogo #imgLogo { 
		background-image: url("../images/logo_small.jpg"); 
	}
	
	.horizon {
		height: 280px;
		width: auto;
	}
	
	.containerAbout {
		height:300px;
		width: 500px;
		
	}
	
	.about {
		height: 300px;
				margin-top: 0px;
		
	}
	
	.containerLogo #imgLogo .inner {
		height: 300px;	
	}
	
	.iconContainer {
		padding-top: 50px;
		padding-right:0;
	
	}
	
}






