#slideshow {
	padding:0;
	height:400px;
	width:100%;
}

#sub-header {
	position: relative;
}

#tmk-animation-next,
#tmk-animation-prev {
	z-index:3;
}

#tmk-animation-holder {
	position: relative;
	
	height:400px;
	
	background: #96BDCE;
	
	-webkit-transform: translateZ(0);
	
	-webkit-transition: background-color 1.2s ease-in;
	-moz-transition: background-color 1.2s ease-in;
	-o-transition: background-color 1.2s ease-in;
	-ms-transition: background-color 1.2s ease-in;
	transition: background-color 1.2s ease-in;
}


#stage {
	width:100%;
	position:relative;
	height:100%;
}

#tmk-animation-holder.scene1 {
	background: #39618f;
}

#tmk-animation-holder.scene2 {
	background: #263948;
}

#tmk-animation-holder.scene3 {
	background: #8b8b8b;
}

#scene1-cnt,
#scene2-cnt,
#scene3-cnt{
	z-index:1;
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
}

.scene1 #scene1-cnt,
.scene2 #scene2-cnt,
.scene3 #scene3-cnt {
	z-index:2;
}


.building-button {
	cursor: pointer;
	text-decoration:none;
	border: 1px solid #fff;
	padding: 10px 10px 10px 10px;
	color: #000;
	font-size:14px;
	font-family:'Droid Sans', arial;
	text-shadow: 0px 0px 5px #fff;
	font-size: 14px;
	
	border-radius:5px;
	box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
	white-space: nowrap;
	
	background: rgb(255, 204, 0);
	
	background-image: -webkit-linear-gradient(-90deg, rgb(255, 204, 0), rgb(225, 175, 68));
	background-image: -moz-linear-gradient(-90deg, rgb(255, 204, 0), rgb(225, 175, 68));
	background-image: -o-linear-gradient(-90deg, rgb(255, 204, 0), rgb(225, 175, 68));
	background-image: -ms-linear-gradient(-90deg, rgb(255, 204, 0), rgb(225, 175, 68));
	background-image:linear-gradient(-90deg, rgb(255, 204, 0), rgb(225, 175, 68));
	
}
.building-button:hover {
	box-shadow: 0 0 4px rgba(255, 255, 255, 1);
	
	background: rgb(225, 175, 68);
	background-image: -webkit-linear-gradient(-90deg, rgb(255, 204, 0), rgb(207, 155, 62));
	background-image: -moz-linear-gradient(-90deg, rgb(255, 204, 0), rgb(207, 155, 62));
	background-image: -o-linear-gradient(-90deg, rgb(255, 204, 0), rgb(207, 155, 62));
	background-image: -ms-linear-gradient(-90deg, rgb(255, 204, 0), rgb(207, 155, 62));
	background-image:linear-gradient(-90deg, rgb(255, 204, 0), rgb(207, 155, 62));
}

.building-button:active {
	box-shadow:0px 0px 4px rgba(255, 255, 255, 1);
	background-image: -webkit-linear-gradient(-90deg, rgb(255, 204, 0), rgb(225, 175, 68));
	background-image: -moz-linear-gradient(-90deg, rgb(255, 204, 0), rgb(225, 175, 68));
	background-image: -o-linear-gradient(-90deg, rgb(255, 204, 0), rgb(225, 175, 68));
	background-image: -ms-linear-gradient(-90deg, rgb(255, 204, 0), rgb(225, 175, 68));
	background-image:linear-gradient(-90deg, rgb(255, 204, 0), rgb(225, 175, 68));
}

.headline1,
.headline2 {
	color: #fff;
	text-shadow: 0 0 5px rgba(0, 0, 0, 0.75);
	font-size: 72px;
	font-weight: 600;
	
	position:absolute;
}

.tagline {
	color: #fff;
	text-shadow: 0 0 3px rgba(0, 0, 0, 0.75);
	font-size: 14px;
	font-weight: 400;
	position:absolute;
	
	width: 400px;
}



/* Scene 1 */
#scene1-cnt {
	background: url(../img/buildings-animation/building-fill-1.png) no-repeat center center;
	opacity: 0;
	
	-webkit-transition: opacity 0.5s ease 0.3s;
	-moz-transition: opacity 0.5s ease 0.3s;
	-o-transition: opacity 0.5s ease 0.3s;
	-ms-transition: opacity 0.5s ease 0.3s;
	transition: opacity 0.5s ease 0.3s;

	-webkit-transform: translateZ(0);
}

.scene1 #scene1-cnt {
	opacity: 1;
	
	-webkit-transition: opacity 0.5s ease 0.85s;
	-moz-transition: opacity 0.5s ease 0.85s;
	-o-transition: opacity 0.5s ease 0.85s;
	-ms-transition: opacity 0.5s ease 0.85s;
	transition: opacity 0.5s ease 0.85s;
}

#building1 {
	position:absolute;
	top:0;
	left: 50%;
	margin: 0 0 0 -480px;
	width:0;
	height:100%;
	
	background: rgba(0, 0, 0, 0.4);	
	overflow: hidden;
	
	-webkit-transition: width 0.4s ease;
	-moz-transition: width 0.4s ease;
	-o-transition: width 0.4s ease;
	-ms-transition: width 0.4s ease;
	transition: width 0.4s ease;

	-webkit-transform: translateZ(0);
}

.scene1 #building1 {
	width: 480px;
	-webkit-transition: width 0.4s ease 0.85s;
	-moz-transition: width 0.4s ease 0.85s;
	-o-transition: width 0.4s ease 0.85s;
	-ms-transition: width 0.4s ease 0.85s;
	transition: width 0.4s ease 0.85s;

	-webkit-transform: translateZ(0);
}

#building1 .headline1 {
	top: 75px;
}

#building1 .headline2 {
	top: 145px;
}

#building1 .tagline {
	top: 235px;
}

#building1 .building-button {
	top: 295px;
	position: absolute;
}

#building1 .headline1,
#building1 .headline2,
#building1 .tagline,
#building1 .building-button {
	left: 400px;
	
	-webkit-transition: left 0.5s ease-in;
	-moz-transition: left 0.5s ease-in;
	-o-transition: left 0.5s ease-in;
	-ms-transition: left 0.5s ease-in;
	transition: left 0.5s ease-in;
}

.scene1 #building1 .headline1,
.scene1 #building1 .headline2,
.scene1 #building1 .tagline,
.scene1 #building1 .building-button {
	left: 40px;
	
	-webkit-transition: left 0.5s ease-out 0.85s;
	-moz-transition: left 0.5s ease-out 0.85s;
	-o-transition: left 0.5s ease-out 0.85s;
	-ms-transition: left 0.5s ease-out 0.85s;
	transition: left 0.5s ease-out 0.85s;
}


/* Scene 2 */
#scene2-cnt {

	background: url(../img/buildings-animation/building-fill-2.png) no-repeat center center;

	opacity: 0;
	-webkit-transition: opacity 0.5s ease;
	-moz-transition: opacity 0.5s ease;
	-o-transition: opacity 0.5s ease;
	-ms-transition: opacity 0.5s ease;
	transition: opacity 0.5s ease;

	-webkit-transform: translateZ(0);
}

.scene2 #scene2-cnt {
	opacity: 1;
	
	-webkit-transition: opacity 0.5s ease 0.85s;
	-moz-transition: opacity 0.5s ease 0.85s;
	-o-transition: opacity 0.5s ease 0.85s;
	-ms-transition: opacity 0.5s ease 0.85s;
	transition: opacity 0.5s ease 0.85s;
}


#building2 {
	position:absolute;
	top:0;
	right: 50%;
	margin: 0 -480px 0 0;
	width:0;
	height:100%;
	
	background: rgba(0, 0, 0, 0.4);
	overflow: hidden;
	
	-webkit-transition: width 0.3s ease;
	-moz-transition: width 0.3s ease;
	-o-transition: width 0.3s ease;
	-ms-transition: width 0.3s ease;
	transition: width 0.3s ease;

}

.scene2 #building2 {
	width: 480px;
	-webkit-transition: width 0.3s ease 0.85s;
	-moz-transition: width 0.3s ease 0.85s;
	-o-transition: width 0.3s ease 0.85s;
	-ms-transition: width 0.3s ease 0.85s;
	transition: width 0.3s ease 0.85s;
}

#building2 .headline1 {
	top: 75px;
}

#building2 .headline2 {
	top: 145px;
}

#building2 .tagline {
	top: 235px;
	text-align:right;
}

#building2 .building-button {
	top: 295px;
	position: absolute;
}



#building2 .headline1,
#building2 .headline2,
#building2 .tagline,
#building2 .building-button {
	right: 400px;
	
	-webkit-transition: right 0.5s ease-in;
	-moz-transition: right 0.5s ease-in;
	-o-transition: right 0.5s ease-in;
	-ms-transition: right 0.5s ease-in;
	transition: right 0.5s ease-in;
}

.scene2 #building2 .headline1,
.scene2 #building2 .headline2,
.scene2 #building2 .tagline,
.scene2 #building2 .building-button {
	right: 40px;
	
	-webkit-transition: right 0.5s ease-out 0.85s;
	-moz-transition: right 0.5s ease-out 0.85s;
	-o-transition: right 0.5s ease-out 0.85s;
	-ms-transition: right 0.5s ease-out 0.85s;
	transition: right 0.5s ease-out 0.85s;

}



/* Scene 3 */
#scene3-cnt {
	background: url(../img/buildings-animation/building-fill-3.png) no-repeat center center;
	opacity: 0;
	
	-webkit-transition: opacity 0.5s ease 0.3s;
	-moz-transition: opacity 0.5s ease 0.3s;
	-o-transition: opacity 0.5s ease 0.3s;
	-ms-transition: opacity 0.5s ease 0.3s;
	transition: opacity 0.5s ease 0.3s;

	-webkit-transform: translateZ(0);
}

.scene3 #scene3-cnt {
	opacity: 1;
	
	-webkit-transition: opacity 0.5s ease 0.85s;
	-moz-transition: opacity 0.5s ease 0.85s;
	-o-transition: opacity 0.5s ease 0.85s;
	-ms-transition: opacity 0.5s ease 0.85s;
	transition: opacity 0.5s ease 0.85s;
}
#building3 {
	position:absolute;
	top:75px;
	left: 50%;
	margin: 0 0 0 -400px;
	width: 800px;
	height: 0;
	
	background: rgba(0, 0, 0, 0.4);	
	overflow: hidden;
	
	-webkit-transition: height 0.4s ease 0.1s;
	-moz-transition: height 0.4s ease 0.1s;
	-o-transition: height 0.4s ease 0.1s;
	-ms-transition: height 0.4s ease 0.1s;
	transition: height 0.4s ease 0.1s;
}

.scene3 #building3 {
	height: 250px;
	
	-webkit-transition: height 0.4s ease 0.85s;
	-moz-transition: height 0.4s ease 0.85s;
	-o-transition: height 0.4s ease 0.85s;
	-ms-transition: height 0.4s ease 0.85s;
	transition: height 0.4s ease 0.85s;
}

#building3 .headline1 {
	top: 40px;
	white-space: nowrap;
}

#building3 .headline2 {
	top: 145px;
}

#building3 .tagline {
	top: 130px;
	width: 720px;
}

#building3 .building-button {
	top: 190px;
	position: absolute;
}

#building3 .headline1,
#building3 .headline2,
#building3 .tagline,
#building3 .building-button {
	left: 800px;
	
	-webkit-transition: left 0.5s ease-in;
	-moz-transition: left 0.5s ease-in;
	-o-transition: left 0.5s ease-in;
	-ms-transition: left 0.5s ease-in;
	transition: left 0.5s ease-in;
}

.scene3 #building3 .headline1,
.scene3 #building3 .headline2,
.scene3 #building3 .tagline,
.scene3 #building3 .building-button {
	left: 40px;
	
	-webkit-transition: left 0.5s ease-out 0.85s;
	-moz-transition: left 0.5s ease-out 0.85s;
	-o-transition: left 0.5s ease-out 0.85s;
	-ms-transition: left 0.5s ease-out 0.85s;
	transition: left 0.5s ease-out 0.85s;

}

/* Photo Credit */
.photo-credit {
        position: absolute;
        padding: 15px 5px 5px;
        background: rgba(0, 0, 0, 0.35);
        color: #000;
        top: -50px;
        left: 0;

        -webkit-transition: top 0.3s ease-in-out;
        -webkit-transition: top 0.5s cubic-bezier(0.81, -0.57, 0.175, 1.65);
        -moz-transition: top 0.5s cubic-bezier(0.81, -0.57, 0.175, 1.65);
        -o-transition: top 0.5s cubic-bezier(0.81, -0.57, 0.175, 1.65);
        -ms-transition: top 0.5s cubic-bezier(0.81, -0.57, 0.175, 1.65);
        transition: top 0.5s cubic-bezier(0.81, -0.57, 0.175, 1.65);
}

.photo-credit.credit-1 {
	left:auto;
	right:0;
}

.photo-credit a { color: #F58220; }

.scene1 .photo-credit.credit-1,
.scene2 .photo-credit.credit-2,
.scene3 .photo-credit.credit-3 {
        top: -10px;

        -webkit-transition: top 0.3s ease-in-out 1.1s;
        -webkit-transition: top 0.5s cubic-bezier(0.81, -0.57, 0.175, 1.65) 1.1s;
        -moz-transition: top 0.5s cubic-bezier(0.81, -0.57, 0.175, 1.65) 1.1s;
        -o-transition: top 0.5s cubic-bezier(0.81, -0.57, 0.175, 1.65) 1.1s;
        -ms-transition: top 0.5s cubic-bezier(0.81, -0.57, 0.175, 1.65) 1.1s;
        transition: top 0.5s cubic-bezier(0.81, -0.57, 0.175, 1.65) 1.1s;
}


/*
@media all and (min-width: 768px) and (max-width: 959px) {
*/
@media all and (max-width: 959px) {
	#slideshow, #tmk-animation-holder { height: 300px; }
	
	.headline1, .headline2 { font-size: 54px; }
	.tagline { width: 300px; }
	
	#building1 .headline1 { top: 56px; }
	#building1 .headline2 { top: 108px; }
	#building1 .tagline { top: 176px; }
	#building1 .building-button { top: 221px; }

	#building1 { margin: 0 0 0 -364px; }
	.scene1 #building1 { width: 360px; }


	#building2 .headline1 { top: 56px; }
	#building2 .headline2 { top: 108px; }
	#building2 .tagline { top: 176px; }
	#building2 .building-button { top: 221px;}
	#building2 {  margin: 0 -364px 0 0; }
	.scene2 #building2 { width: 360px; }

	#building3 { width: 600px; margin: 0 0 0 -300px; top: 56px;}
	#building3 .headline1 { top: 10px; }
	#building3 .tagline { top: 87px; width: 540px;}
	#building3 .building-button { top: 132px; }
	.scene3 #building3 { height: 187px; }
}

@media all and (max-width: 767px) {
	.headline1, .headline2 	{ font-size: 54px; margin: 0; padding:0;}
		
	#building1,
	#building2,
	#building3 {
		width:100%;
		height:100%;
		top:0;
		left:0;
		margin:0;
		
	}
	
	.scene1 #building1,
	.scene2 #building2, 
	.scene3 #building3 { width: 100%; height: 100%;}
	.photo-credit.credit-3 { left:auto; right:0;}
	
	#building3 .headline1	{ width: 300px; white-space: normal; }
	#building3 .tagline		{ top: 137px; width: 300px; }
	#building3 .building-button { top: 222px;}
}