
html ,body{
  font-family: Microsoft JhengHei;sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  height:100%;
}

* {
  box-sizing:border-box;
  font-size:16px;
}

.container{
	padding-left:10%;
	padding-right:10%;
	height:100%;
}

section{
	margin-top:20px;
}

/*for mobile*/
[class*="col-"]{
	float:left;
	padding:5px;
	width:100%;
}


.first_part{
	/*
	height:700px;
	background-color:#282c37;
	color:white;
	*/
	display: table;
    position: relative;
    width: 100%;
    height: 90%;
    //background: url(../img/IMG_5008.jpg) no-repeat center center scroll;
	background: url(../img/bg_bird.JPG) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.sub_first_part{
	  display: table;
      position: relative;
      width: 100%;
      height: 30%;
	  background-color:RGB(47,47,56);
	  color:white;
    }

#center_title{
   margin-top:18%;
   text-align:center	
}

@media (min-width: 768px) {
  #center_title{
	margin-top:5%;	
  }  
}

.focused_topnav_a{
	background-color:RGB(47,47,56);
}

.focused_topnav_a:hover{
	background-color: RGB(250,245,235);
    color: black;
	text-decoration: none;
}

.nav_item{
	background-color:RGB(210,83,60);
	text-align:center;
	line-height:50px;
	position:fixed;
	width:100%;
	z-index:999;
	height:50px;
	color:white;
}

.nav_item span a{
  /*float:right;*/
  text-decoration:none;
  color:white;
  padding-left:10px;
}

.nav_span{
	text-align:center;
}

.search{
	margin:0 auto;
	text-align:center;
	padding-top:10px;
}

.lg-photo{
	max-height:90%;
}

/*skill bar*/
.skillset{
 
 top:0;
}

.skill_bar{
 width:80%;
 background-color:RGB(166,166,166);
}

.skills{
 text-align:right;
 color:white;
 background-color:rgb(13,122,121);
}

.gis{
 width:90%;
}

.netlogo{
 width:85%;
}

.wire{
 width:95%;
}

.Presentation{
 width:85%;
}

.html{
 width:70%;
}

/*skill bar*/


/*-------data-cates-------*/
.data-cates{
	border:1px solid #ccc;
	box-shadow:0 2px 10px 0 rgba(0,0,0,0.12);
	margin-right:5px;
	margin-bottom:10px;
	position:relative;
	/*background-color:RGB(47,47,56);*/
	/*background-color:rgb(13,122,121);*/
}

.data-cates:hover{
	box-shadow:0 8px 10px 0 rgb(150,150,150);
	z-index:1px;
}

.data-cates img{
	display:block;
	margin:auto;
}

.middle{
  opacity:0;
  position:absolute;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
}

.data-cates:hover .img-responsive{
  opacity:0.5;
}

.data-cates:hover .middle{
  opacity:1;
}

#data-cates-more{
  background-color:RGB(210,83,60);
  color:white;
  font-size:16px;
  padding:16px 32px;	  
}

.data-cates-title{
  color:black;
  box-border-bottom:solid 1px;
}
/*-------data-cates-------*/



/*--------responsive top nav bar*/
.topnav {
    background-color:RGB(210,83,60);
    overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 0px 16px;
    text-decoration: none;
    font-size: 16px;
}

/* Change the color of links on hover */
.topnav a:hover {
    /*background-color: RGB(229,206,173);*/
	background-color: RGB(250,245,235);
    color: black;
	text-decoration: none;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
	text-decoration: none;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
	text-decoration: none;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
	text-decoration: none;
  }
}
/*--------responsive top nav bar*/

/*------------contact------------*/
#contact{
	/*color:white;*/
    height:90%;
	/*background-color:RGB(47,47,56);*/
	background-color:#ddd;
}
#contact .fa{
	color:RGB(210,83,60);
	margin-left:10px;
}
#contact .fa:hover{
	color:RGB(212,176,121);
}
/*--------------------------------*/

/*----------centered items--------*/
.center_text{
    text-align:center;
  }
  .center_img{
    margin:0 auto;
  }
  .justify_text{
    text-align:justify;
  }
/*--------------------------------*/


/*------------flex items----------*/
.flex_container{
  display:flex;
  display:-webkit-flex;
  display:-moz-flex;
  display:-ms-flex;
  width:100%;
}
.flex_item{
  -webkit-flex:1;
  -moz-flex:1;
  -ms-flex:1;
}
@media(max-width:768px){
  .flex_container{
    -webkit-flex-direction:column;
	-moz-flex-direction:column;
	-ms-flex-direction:column;
	flex-direction:column;
  }
}
/*--------------------------------*/
