/* 	Timothy Li	*/


@import url(http://fonts.googleapis.com/css?family=Raleway:100,300,400,700,900);
/*
@import url(http://fonts.googleapis.com/css?family=Roboto:100italic,300italic,400italic,700italic,100,400,300,700);
@import url(http://fonts.googleapis.com/css?family=Playfair+Display:900);*/
@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);


/********** BASICS **********/
*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

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

.row {
  overflow: hidden;
   /* border:  1px dashed black;*/

}

html{height:100%;}

body{
	background-color: #fff; 
	margin:0;
	height:100%;
	position:relative;
	font-size: 15pt;
	line-height: 20pt;	
}

a:link, a:visited{
	color: #e7e4e4;
	text-decoration: none;
}

.item_left a:link, .item_left a:visited{
	color: #951414;

}

a:hover{
	color: #fff;
	text-decoration: none;

}
.container {
  margin: 0 auto;
  max-width: 960px;
  width: 90%;
  /*border:  1px dashed black;*/
}


.container.small {
  margin: 0 auto;
  max-width: 700px;
  width: 90%;
}


.p10{
padding:10px;	
}

.p30{
padding:30px;
}

.center{
margin-left:5%;
margin-right:5%;
}



.inset{
	font-family: 'Lato', serif;
	font-size: 12pt;
	font-weight:500;
	padding:20px;
	margin:40px 100px;
	border: solid 1px black ;
}


.maps {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}
.maps iframe{
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
        border: none;
}

.title{
	font-family: 'Lato', serif;
	font-size: 12pt;
	font-weight:700;
	letter-spacing: 5px;
	text-align:center;
	padding-bottom:20px;
	color: #8E98B3;	
}

/** CIRCLE FRAME FOR PORTFOLIO**/

.circle{
	position: relative;
    display: table;
    height:100%;
    width:100%;
    margin-bottom: 15%;
}

.circle img{
    width: 100%;
    padding-bottom: 0%;
    -moz-border-radius: 50%; 
    -webkit-border-radius: 50%; 
    border-radius: 50%;
}

.circle img.overlay{
	position: absolute;
	left:0;
	top:0;
	opacity: 0;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	
}

.circle img.overlay:hover{
	position: absolute;
	left:0;
	top:0;
	background-color: #e46764;
	opacity:.8;
}



.column {
  float: left;
  margin-left: 5%;
  /*border:  1px dashed black;*/
}
 
.column:first-child {
  margin-left: 0;
}

.column.full {
  width: 100%;
}
  
.column.two-thirds {
  width: 65%;
}
  
.column.half {
  width: 47.5%;
}
 
.column.one-third {
  width: 30%;
}
 
.column.one-fourth {
  width: 21.25%;
}

.column.one-eight {
  width: 8.125%;
}

.column.six-eight {
  width: 73.75%;
}


hr{
	background-color: #8E98B3;
	height:1px;
	border:0px;
	margin: 30px 0;
	
}

hr.white{
	background-color: #fff;
	height:1px;
	border:0px;
	margin: 30px 0;
}


hr.light{
	background-color: rgba(142,152,179,0.00);
	height:1px;
	border:0px;
	margin: 30px 0;
}

.title{
	font-family: 'Lato', serif;
	font-size: 12pt;
	font-weight:700;
	letter-spacing: 5px;
	text-align:center;
	padding-bottom:20px;
}

h4.guide {	
	font-family: 'Lato', serif;
	font-size: 10pt;
	color:#575757;
	font-weight: 900;
}	



h4.guide.white {	
	font-family: 'Lato', serif;
	font-size: 10pt;
	color:#fff;
	font-weight: 900;
}	
p.guide{
	font-family: 'Lato', serif;
	font-weight: 500;
	font-size:12pt;		
		
}

.headline.small{
	font-family: 'Lato', serif;
	font-size:9pt;
	letter-spacing: 2px;
	font-weight: 700;
	margin-top:0;
	margin-bottom:0;

}


p.small{
	font-family: 'Lato', serif;
	font-size:9pt;			
}


img.border{
border: 1px #8b8b8b solid;
}


p.guide strong a:link,p.guide strong a:visited, p.guide a:link,p.guide a:visited{
	color:#006BB6;
	
}

img {
	
	width:100%;
}

.reg{
	display: block;
	margin-left:auto;
	margin-right:auto;
	width:38%;
	padding-top:-5vh;
}


.img_title{
	position: relative;
	margin-top: -150px;
	margin-bottom:117px;
	padding-bottom:0;
}


.red {background-color:#e46764;}
.lightgreen {background-color:#16A085;}/*#BFCCAE;} *//*#9eccb3;}*/
.darkgreen {background-color:#1ABC9C;}/*#46866f;}*/
.orange {background-color:#f47d44;}
.brown {background-color:#ceb48d;}
.darkblue {background-color:#006bb6;}
.greyblue {background-color:#141A26;}
.lightblue {background-color:#83b5dd;}
.purple {background-color:#7f7ea8;}
.grey {background-color:#aab1b0;}
.darkgrey {background-color:#4a4b4c;}
.black {background-color:#000;}
.trans{background-color:rgba(255,255,255,.10)}


.skyblue{color:#8E98B3;}
.white{color:#fff;}
a.blacktext{
	color:#000;
	font-weight: bold}



.links a{
	font-family:Lato, serif;
	font-weight:700;
	font-size:9pt;
	letter-spacing:3px;
	text-decoration:none;
	color:#a4cae5;
	margin-left: 5%;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

 
.links a:first-child {
  margin-left: 0;
}


.links a:visited {
	text-decoration:none;
	color:#a4cae5;
}


.links a:hover {
	text-decoration:none;
	color:#006bb6;
}


/* navigation */



.left{
margin-left;0;
text-align:right;
height:50px;
display: table;
}

.right{
margin-left:0;
text-align:left;
height:50px;
display: table;
}

.left a, .right a{
	display: table-cell;
	width: inherit;
	vertical-align: middle;
	
}

.anchor{
			display: block; 
			position: relative; 
			top: -70px; 
			visibility: hidden;}

.nav_correction{
	padding-top: 70px;}
.nav {
	position: fixed;
	width: 100%;
	min-width: 100%;
	z-index: 4;
	background-color: rgba(20, 26, 38, 1);
}




.name_container {
	margin:auto;
	background-color:#fff;
	padding:2px;
	width:intrinsic;
	opacity: 1;
}

#name {
	font-family:Raleway, sans-serif;
	font-weight:700;
	font-size:20px;
	color:#FFF;
	text-align:center;
	padding:10px;
	width:intrinsic;
	/*max-width: 300px;*/
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;}

#name:hover{
	background-color:#fff;
	color:#006bb6;

}

/* name container end */

/* first screen */

.first{
	background:#83b5dd url(../img/wallpaper2.png);
	padding-top:70px;
/*	-webkit-transition: background 0.03s linear;
	-moz-transition: background 0.03s linear;
	-o-transition: background 0.03s linear;
	transition: background 0.03s linear;*/
/*
	min-height: -moz-calc(100% - 70px);
	min-height: -webkit-calc(100% - 70px);
	min-height: -o-calc(100% - 70px);
	min-height: calc(100% - 70px);
	*/
	
}

.buffer{padding-top:30%}

.height100{
	height: 100%;
}

#about_text {
	font-family:Raleway, serif;
	font-size:14pt;
	font-weight:400;
	width:300px;
	height:300px;
	margin-left:auto;
	margin-right:auto;
	color:#fff;

}

#about_container {
	display:block;
	width:300px;
	margin-top:8vh;
	height:300px;
	margin-left:auto;
	margin-right:auto;
	
}



.vertspace {
		width:100%;
		display: block;
		padding-top:12%;

}

.vertspace_s {
		width:100%;
		display: block;
		padding-top:5%;

}

#about_t {
	float:left;
	background:#da4453 url(../img/about/t.png);
	background-size:100px;
	width:100px;
	height:100px;
	-webkit-transition: background 0.3s ease-out;
	-moz-transition: background 0.3s ease-out;
	-o-transition: background 0.3s ease-out;
	transition: background 0.3s ease-out;

}

#about_t:hover {
	background-image:url(../img/about/t_tool.jpg);
}

#about_i {
	float:left;
	background:#a0d468 url(../img/about/i.png);
	background-size:100px;
	width:100px;
	height:100px;
	-webkit-transition: background 0.3s ease-out;
	-moz-transition: background 0.3s ease-out;
	-o-transition: background 0.3s ease-out;
	transition: background 0.3s ease-out;

}

#about_i:hover {
	background-image:url(../img/about/i_tool.jpg);
}

#about_m {
	float:left;
	background:#e9573f url(../img/about/m.png);
	background-size:100px;
	width:100px;
	height:100px;
	-webkit-transition: background 0.3s ease-out;
	-moz-transition: background 0.3s ease-out;
	-o-transition: background 0.3s ease-out;
	transition: background 0.3s ease-out;


}

#about_m:hover {
	background-image:url(../img/about/m_tool.jpg);
}

#about_o {
	float:left;
	background:#37bc9b url(../img/about/o.png);
	background-size:100px;
	width:100px;
	height:100px;
	-webkit-transition: background 0.3s ease-out;
	-moz-transition: background 0.3s ease-out;
	-o-transition: background 0.3s ease-out;
	transition: background 0.3s ease-out;

}

#about_o:hover {
	background-image:url(../img/about/o_tool.jpg);
}

#about_t2 {
	float:left;
	background:#434a54 url(../img/about/t2.png);
	background-size:100px;
	width:100px;
	height:100px;
	-webkit-transition: background 0.3s ease-out;
	-moz-transition: background 0.3s ease-out;
	-o-transition: background 0.3s ease-out;
	transition: background 0.3s ease-out;

}

#about_t2:hover {
	background-image:url(../img/about/t_tool2.jpg);
}

#about_h {
	float:left;
	background:#4a89dc url(../img/about/h.png);
	background-size:100px;
	width:100px;
	height:100px;
	-webkit-transition: background 0.3s ease-out;
	-moz-transition: background 0.3s ease-out;
	-o-transition: background 0.3s ease-out;
	transition: background 0.3s ease-out;

}

#about_h:hover {
	background-image:url(../img/about/h_tool.jpg);
}

#about_y {
	float:left;
	background:#f6bb42 url(../img/about/y.png);
	background-size:100px;
	width:100px;
	height:100px;
	-webkit-transition: background 0.3s ease-out;
	-moz-transition: background 0.3s ease-out;
	-o-transition: background 0.3s ease-out;
	transition: background 0.3s ease-out;

}

#about_y:hover {
	background-image:url(../img/about/y_tool.jpg);
}

#about_l {
	float:left;
	background:#967adc url(../img/about/l.png);
	background-size:100px;
	width:100px;
	height:100px;
	-webkit-transition: background 0.3s ease-out;
	-moz-transition: background 0.3s ease-out;
	-o-transition: background 0.3s ease-out;
	transition: background 0.3s ease-out;

}

#about_l:hover {
	background-image:url(../img/about/l_tool.jpg);
}

#about_i2 {
	float:left;
	background:#910c0c url(../img/about/i.png);
	background-size:100px;
	width:100px;
	height:100px;
	-webkit-transition: background 0.3s ease-out;
	-moz-transition: background 0.3s ease-out;
	-o-transition: background 0.3s ease-out;
	transition: background 0.3s ease-out;
}

#about_i2:hover {
	background-image:url(../img/about/i_tool2.jpg);

}

/* fist screen end */


/********** RESUME **********/

.resume{
	padding-top:100px;
	padding-bottom:100px;
	background-color: #fff;	
}



.headline{	
	font-family: 'Lato', serif;
	font-size: 9pt;
	letter-spacing: 5px;
	margin-top:40px;
	margin-bottom:10px;
}	


.resume_image img{
	padding-top: 7px;
	display:block;
	margin: auto;
	width:100%;
	
}
.item_left{
	font-family: 'Lato', serif;
	font-weight: 700;
	font-size:12pt;		
		
}
.item_right{
	float:right; 
	margin-left:10px;
	font-family: 'Lato', serif;
	font-weight: 500;
	font-style: italic;
	font-size:11pt;		
}

.item_text{
	margin:30px 0;
	font-family: 'Lato', serif;
	font-weight: 500;
	font-style: normal;
	font-size:11pt;
	
}

.item_text ul {
	font-weight:700;
	line-height:20pt;

}

.item_text ul li{
	font-weight:500;
}

/* resume end */

/* portfolio */
.projbox:hover .projtitle {
        opacity:1;

               }

.projbox{
	height:100%; 
	margin-bottom: 10%;


}

.gallery{
	height:auto;
	padding-bottom: 5%;
}

.gallery:first-child {
	padding-top:5%;
}

.gallery img{
	max-height:100%;
	max-width:100%;
	padding:10px;
	background-color: #fff;
	position:relative;
	z-index: 1;
	
}



.projbox img{
	max-height:100%;
	max-width:100%;
	padding:10px;
	background-color: #fff;
	position:relative;
	z-index: 1;
}

.projtitle { 
	position: absolute;
	color:#fff; 
	font-family: 'Lato', sans-serif; 
	letter-spacing:3px; 
	font-size:30px; 
	padding-top:20px;
	padding-left:20px;
	opacity:1;
	z-index: 3;
	margin-left: auto;
	margin-right: auto;

}

.projtitle p { 
	font-family: 'Lato', sans-serif; 
	font-size:14px; 
	left:100px;
}
	
/* portfolio */

/* porfolio secionts */

.section {
	padding-top:100px;
	padding-bottom:100px;
	/*background-color: #b9b9b9;	*/
	font-family: 'Raleway', serif;
	font-weight: 900;
	color:#fff;
	font-size: 44pt;
	text-align: center;
}


.section p, .section ol {
	text-align: left;
	margin-top: 30px;
	margin-left: 100px;
	margin-right: 100px;
	font-family: 'Raleway', serif;
	font-size: 14pt;
	font-weight: 100;
}



/* portfolio sections */


/* small projects */


.small_proj{
	position: relative;
	font-family: 'Raleway', serif;
	background-color: white;
	/*padding:10px;*/
	/*min-height:100%;
	height: 500px;
	margin-bottom:50px;*/ /* removed for modal */
	}

.small_proj img{ 
	width:100%;

}

.small_proj h5{
	margin: 0;
	padding:0 10px 5px 10px;
	font-size: 14pt;
	font-weight: 700;
}

.small_proj p{
background: #fff;
	margin-top: 0px;
	/*margin-left:-10px;
	margin-right:-10px;*/
	padding:5px 20px 20px 20px;
	font-size: 10pt;
	font-weight: 400;
		
}

.small_proj a{
color:#000;
font-weight: 700;
}


/*footer and bottom links */


.bottom_links {
	text-align: center;
	margin-left: auto;
	margin-right:auto;
	padding: 10px;		/* thickness of the name box */
	margin-top:15px;

}

.bottom_links a, .bottom_links a:visited{
	font-family: 'Lato', serif;
	font-weight: 700;
	font-size: 9pt;
	letter-spacing: 3px;
	text-decoration: none;
	color:white;
	margin: 0 10px;
	padding: 10px;
	border:solid 1px rgba(255,255,255,0);	
	transition: all 0.5s ease;


}

.bottom_links a:hover {


	border:solid 1px #fff;	
	transition: all 0.5s ease;

}
	

.footer{
	font-family: 'Lato', serif;
	font-weight: 500;
	font-size: 9pt;
	letter-spacing: 2px;
	text-align: center;
	color: white;
	padding-top:20px;
	padding-bottom:20px;
	background-color: #4a4b4c; /*;	*/
}

/* small projects end */


/* video */


video { display: block; }

video#bgvid {
margin-left: auto;
margin-right: auto;
max-width: 100%; 
max-height: 100%;
width: auto; 
height: auto; 
background: url(projects/mech/acrobat_image.jpg) no-repeat;
background-size: cover;
}


/* end video */


@media screen and (max-width: 640px) {
  .column.full,
  .column.two-thirds,
  .column.half,
  .column.one-third,
  .column.one-fourth,
  .column.six-eight,
  .links {
    float: none;
    margin: 0;
    width: 100%;
  }
  
  .column.one-eight, .item_right{
	  width:0;
	  display:none;
	  
  }

.left, .right{
	height:auto;
	
}
.left a, .right a{
	display:inline;
	vertical-align: middle;
	
}
  
  .small_proj{

	padding:0px;
	height: auto;
	}
  
  .links {text-align: center;}
  #about_container,#about_text {width:80%;height:200px;/*auto;*/}
  #about_t,#about_i,#about_m,#about_o,#about_t2,#about_h,#about_y,#about_l,#about_i2 {
  	background-size:100%;
	width:33.3%;
	height:0;
	padding-bottom:33.3%	
	}
	
  .first{/*min-height:inherit;
	  	height:100%;*/
	  	padding-top:124px; 
  }
}

.contactme{
	padding:15px;
	width:200px;
	margin-left:auto;
	margin-right:auto;
	border:solid 1px white;
	background:rgba(255,255,255,0.15);
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	color:#fff;
	
}

.contactme:hover{
	background:rgba(255,255,255,.9);
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	color:#16A085;
}


