/* --- MOBILE STUFF --------------------------- */


@media screen and (max-width:800px) {

	#phoneoverlay {
		display: block;
		border: 1px solid orange;
		background: white;
		position: fixed;
		top: 700px;
		left: calc(50% - 185px);

		width: 370px;
		height: 500px;

		z-index: 100;
		opacity: 0.85;

		display: none;
	}	

	#mmarker {
		width: 370px;
		height: 1000px;
		position: fixed;
		left: calc(50% - 188px);
		border: 1px dashed red;

		display: none;
	}

	div.container {
		max-width: 364px;
		/*border*/: 1px dashed #eee;
	}


	hr.divider {
		margin: 20px 0 15px 0;
	}


	div div.imgComment {
		padding: 15px;
		font-size: 16px;
		line-height: 1.4em;
	}


	#topbar {
		font-size: 12px;
	}


	.resume {
		width: 100%;
	}
	.resume h4 {
		font-size: 16px;
		line-height: 1.4em;
	}
	.resume h5 {
		font-size: 14px;
		line-height: 1.4em;
	}
	.resume h6 {
		font-size: 13px;
		line-height: 1.4em;
	}




	div#masthead {
		padding: 0;
	}

	div#masthead h1 {
		transform:  scale(0.8);
		margin: 30px 0 -20px 0 ;
		text-align: left;
		position: relative;
		left: -44px;
	}

	div#masthead h1 span.restyle {
		top:  -13px;
	}

	div#masthead h1 .mobilebreak {
		display: block;
	}

	div#masthead h1 span.mobile {
		position: relative;
		left: 145px;
		top: -28px;
	}

	div#masthead h1 span span:nth-of-type(1) {
		padding: 4px 0 1px 4px;
		top: -11px;
	}
	div#masthead h1 span span:nth-of-type(2) {
		top: -7px;
		left: -1px;
		word-spacing: -4px;
	}





	#start {
		padding: 0;
		height: 700px;

		background: transparent url('../images/start.jpg') no-repeat -20px 170px;
		background-size: 140%;

		overflow: visible;
	}

	#start .imgComment {
		left: 0;
		float: right;
		clear: both;
		margin-top: 300px;
	}
	#start h2 {
		font-size: 44px;
		padding-bottom: 5px;
		text-align: center;
	}
	#start h3 {
		font-size: 39px;
		text-align: center;
	}
	#start p {
		display: block;
		clear: both;
		float: none;
		position: relative;
		padding: 0;
		margin: 0;
		top: -10px;
	}
	#start .imgQuote {
		width: 100%;
		top: 170px;
		left: 0;
	}





	#prologue {
		background: transparent url('../images/education.jpg') no-repeat -50px 110px;
		background-size: 140%;
	}
	#prologue .imgQuote {
		top:  100px;
		/*width: 100%;*/
	}
	#prologue h2 {
		transform: scale(0.9);
		margin: -2px 0 -35px 0;
	}




	#kssu {
		height: 785px;
	
		background: transparent url('../images/kssu.jpg') no-repeat -40px 280px;
		background-size: 130%;
	}

	#kssu h2 {
		position: relative;
		transform: scale(0.9);
		margin: 0 0 10px 0;
		left:  -10px;
	}
	
	#kssu .imgQuote {
		left: 0;
		text-align: center;
		width: 100%;
		top: 230px;
	}

	#kssu .resume.pR {
		width: 100%;
	}
	#kssu br.mobilebreak {
		display: block;
	}




	#ICGLink {
		background: transparent url('../images/icglink.jpg') no-repeat -40px 155px;
		background-size: 125%;
	}

	#ICGLink h2 {
		transform: scale(0.8);
	}

	#ICGLink .imgQuote {
		width: 200px;
		left: 170px;
		top: 180px;
	}

	#ICGLink > p {
		padding-top: 20px;
	}



	#RNDG {
		height: 770px;

		background: transparent url('../images/rndg.jpg') no-repeat -55px 225px;
		background-size: 135%;

	}

	#RNDG h2 {
		/*transform: scale(0.6);*/
		margin: 0 0 40px 0;
		white-space: nowrap;
	}
	#RNDG h2 > span {
		padding: 5px 15px 1px 15px;
		border-left: 14px solid #333;
		border-right: 14px solid #333;
	}

	#RNDG h2 span span {
		padding: 0;
		font: 45px/35px 'Oswald';
	}

	#RNDG .imgQuote {
		top: 230px;
		left: 0;
	}

	#RNDG > p {
		float: none;
		left: 0;
		width: 100%;
	}
	#RNDG .resume {
		width: 100%;
		bottom: 0;
	}



	#ICGLinkSQL {
		height: 1100px;
	}

	#ICGLinkSQL h2 {
		transform: scale(0.8);
	}

	#ICGLinkSQL > div > p {
		left: 0;
		width: 100%;
		float: none;
	}

	#ICGLinkSQL .imgComment,
	#ICGLinkSQL .imgComment.imgL,
	#ICGLinkSQL .imgComment.imgR {
		right: 0;
		left: 0;
		width: 100%;
		float: none;
		position: absolute;
		top: 0;
	}


	#ICGLinkSQL .imgComment.imgR {
		top: 30px;
	}

	#ICGLinkSQL .imgHolder {
		position: relative;
		height: 500px;
	}

	#ICGLinkSQL .imgComment.imgL {
		top: 410px;
	}

	#ICGLinkSQL .imgQuote1 {
		/*width: 225px;*/
		top: 300px;
		left: 0;
	}

	#ICGLinkSQL .imgHolder1 {
		height: 500px;
		background: transparent url('../images/icglink_sql1.jpg') no-repeat -15px 160px;
		background-size: 110%;

	}


	#ICGLinkSQL .imgHolder2 {
		margin-top: 10px;
	} 
	#ICGLinkSQL .imgHolder2 .imgComment span.mdash {
		display: none;
	}



	#ICGLinkSQL .imgQuote2 {
		width: 100%;
		top: 1030px;
		left: 0;
		text-align: left;
		font-size: 20px;
	}

	#ICGLinkSQL .imgQuote2 br {
		display: none;
	}

	#ICGLinkSQL .imgQuote2 .mdash {
		position: relative;
		float: right;
		right: 10px;
	}

	#ICGLinkSQL .imgHolder2 {
		margin-top: ;
		height: 530px;
		background: transparent url('../images/icglink_sql2.jpg') no-repeat -20px 110px ;
		background-size: 120%;

	}




	#teaching {
		height: 1030px;

		background: transparent url('../images/teaching.jpg') no-repeat center 250px;
		background-size: 120%;
	}

	#teaching .imgQuote {
		top: 210px;
		font-size: 16px;
		text-align: right;
		width: 100%;
	}



	#ICGLinkEnd {
		position: relative;

		height: 900px;

		background: transparent url('../images/icglink_end.jpg') no-repeat center 170px;
		background-size: 140%;
	}

	#ICGLinkEnd h2 {
		font: 14px/1em 'Open Sans';
		overflow: visible;
	}
	#ICGLinkEnd h2 span:nth-of-type(1) {
		position: relative;
		left: -78px;
	}

	#ICGLinkEnd h2 span:nth-of-type(2) {
		position: relative;
		left: -60px;
	}

	#ICGLinkEnd h2 span:nth-of-type(3) {
		font-size: 65px;
		top: -15px;
		left: -10px;
	}
	#ICGLinkEnd h2 span em {
		letter-spacing: -5px;
		position: relative;
		left: 4px;
	}
	#ICGLinkEnd .resume {
		width: 100%;
	}




	#PW h2 {
		font-size: 36px;
		margin-bottom: 30px;
	}
	#PW h2 span {
		font-size: 20px;
		padding-left: 15px;
	}
	#PW h2 span:nth-of-type(2) {
		font-size: 16px;
		padding-left: 30px;
	}

	#PW #pic1,
	#PW #pic2, 
	#PW #pic3 {
		float: none;
		top: 0;
		left: 0;
		width: 100%;
		margin: 0;
		padding: 0;
		height: 400px;
	}


	#PW #pic1 {
		position: relative;
		/*border: 1px solid red;*/
		height: 320px;

		background: transparent url('../images/pw1.jpg') no-repeat 0px 30px;
		background-size: 110%;
	}


	#PW #pic1 .imgBorder,
	#PW #pic2 .imgBorder, 
	#PW #pic3 .imgBorder {
		display: none;
	}

	#PW #pic2 {
		padding-bottom: 240px;

		background: transparent url('../images/pw2.png') no-repeat -15px 115px;
		background-size: 115%;
	}
	#PW #pic2 .imgQuote {
		left: 120px;
		top: 130px;
	}


	#PW #pic3 {
		height: 750px;

		/*border: 1px dotted green;*/

		background: transparent url('../images/pw3.jpg') no-repeat 0 230px;
		background-size: 105%;
	}
	#PW #pic3 .imgQuote {
		width: 280px;
		left: 0;
		top: 190px;
	}
	
	#PW #pic3 > .imgQuote .mdash {
		position: absolute;
		right:  20px;
		bottom: 0;
	}

	#PW #pic1 p,
	#PW #pic2 p, 
	#PW #pic3 p {
		padding: 0;
		width: 100%;
		max-width: 100%;
		float: none;
	}

	
	#PW #pic3 .pic4 {
		/*border: 1px solid red;*/
		height: 250px;
		margin-top: 350px;
		padding: 0;
	}

	#PW #pic3 .pic4 {
		height: 500px;
		width: 100%;
		background: transparent url('../images/pw4.jpg') no-repeat -20px 100px;
		background-size: 120%;
	}

	#PW #pic3 .pic4 .imgQuote {
		top: 560px;	
	}


	#PW .resume {
		position: relative;
		top: 150px;
	}






	#thenow {
		top: 400px;
	}

	#thenow h2 {
		font-size: 44px;
		margin: 20px 0 -5px 0;
	}
	#thenow h2 span:nth-of-type(1) {
		font-size: 17px;
		letter-spacing: 3px;
		left: 127px;
		top: -6px;
		color: #888;
	}
	#thenow h2 span:nth-of-type(2) {
		font-size: 16px;
		letter-spacing: 10px;
		top: -23px;
		left: 5px;
		color: #888;
	}
	#thenow p:nth-of-type(1) {
		padding:0;
		margin: 0;
	}


	#thenow #picN1 {
		height: 400px;

		background: transparent url('../images/end.jpg') no-repeat center 45px;
		background-size: 125%;
	}

/*	#thenow #picN1 .imgQuote {
		width: 220px;
		top: 30px;
		left: 50px;
	}
*/


	#thenow #picN2 {
		margin-top: 40px;

	}

	#thenow #picN1 .imgQuote {
		left: 0;
	}

	#thenow #picN2 .imgComment {
		top: 270px;
	}

	#thenow #picN2 .king {
		top: -10px;
	}

	#thenow #picN2 .img {
		height: 280px;
		width: 350px;
		border: 8px solid #fff;
		box-shadow: 0 0 8px #999;
		top: 30px;
	}


	#thenow #spaceship {
		background: transparent url('../images/spaceship.jpg') no-repeat center 200px;
		background-size: 50%;
	}


}