/*
|n|n|          |n|n|    |n|n|n|n|n|n|      
|n|n|          |n|n|    |n|n|n|n|n|n|      
|n|n| |n|      |n|n|        |n|n|         
|n|n|    |n|   |n|n|        |n|n|     
|n|n|       |n||n|n|        |n|n|   
|n|n|          |n|n|        |n|n|     
|n|n|          |n|n|        |n|n|

+88___WDD_HTML5_CSS___+880
+880_Capstone Project_++80
++88__Truong_Nguyen__+880
++88________________++88
_+880______________++88
_+888____________++880
_++880__________++880
_++888________+++880
_++8888_____+++8880++88
__+++8888++++8880+++8888
___++888+++8888+++8888+80
___+++88++8888++888888++88
___++++++888888fx888888888
____++++++8888888888888888
____++++++++00088888888888
_____+++++++00008f8888888
______+++++++00088888888
_______+++++++0888f8888
*/

body{
  font-family:'Open Sans', serif;
  font-size:16px;
  width:100%;
  background-color:#333;
  line-height:1.2em;
  margin:0 auto;
  display:block;
}

#homepage,
#project_page,
#images_page,
#demoreel_page,
#blog_page,
#info_page,
#blender_page{
  color:#ccc;
  position:relative;
  
}

.font-1{
  font-size: 1.2em;
}
.text-center{
  text-align:center;
}

main{
  display:block;
}

main #wrapper{
  min-height:600px;
  width:1200px;
  margin:0 auto;
  margin-top:85px;
}

header{
  font-family:'Lato', sans-serif;
  -webkit-background:linear-gradient(#fff,#999 55%);
  -moz-background:linear-gradient(#fff,#999 55%);
  -o-background:linear-gradient(#fff,#999 55%);
  background:linear-gradient(#fff,#999 55%);
  background-color:#fff;
  width:100%;
  height:70px;
  top:0;
  left:0;
  position:fixed;
  z-index:10000;
  border-bottom:2px solid #666;
  margin:0 auto;
  display:block;
}

header #header_container{
  width:1200px;
  margin:0 auto;
  position:relative;
  z-index:10010;
  height:70px;
}

h1{
margin:0 auto;
font-size:1.6em;
}

h2{
margin:0 auto;
color:#333;
font-size:1.3em;
}


#logo{
  position:absolute;
  margin:0 auto;
  top:15px;
  left:0px;
  font-size:1.4em;
  font-weight:700;
  text-shadow:1px 1px 5px rgba(204,204,204,0.4);
  color:#000;
}

#logo .title{
  position:absolute;
  margin:0 auto;
  top:35px;
  left:0px;
  font-family:'Cormorant Upright', serif;
  font-size:1.2em;
  font-weight:700;
  text-align:center;
  padding-top:0;
  color:#999;
  text-shadow:2px 2px 7px rgba(0,0,0,0.9);
  text-shadow:0px -1px 7px rgba(0,0,0,0.9);
}

#media{
  position:absolute;
  margin:0 auto;
  top:6px;
  left:243px;
  width:112px;
  margin:0 auto;
  padding:6px 10px;
}

#media .media_cover{
  position:relative;
}

#media div.media_cover a{
  padding:5px;
}

#media .media_cover .fb{
  position:absolute;
  display:inline-block;
  top:0;
  left:0px;
  width:30px;
}

#media .media_cover .linkedin{
  position:absolute;
  display:inline-block;
  top:0;
  left:45px;
  width:30px;
}

#media .media_cover .youtube{
  position:absolute;
  display:inline-block;
  top:0;
  left:85px;
  width:30px;
}

#media .media_cover .call{
  position:absolute;
  display:inline-block;
  top:0;
  left:125px;
  cursor:auto;
  width:30px;
}

a{
  text-decoration:none;
  color:#000;
}

/*---------------------Navigation---------------------*/
nav .mobible_nav,
nav #close_overlay,
nav .close_nav{
  display:none;
}
nav{
  z-index:1000;
  position:absolute;
  right:0;
  font-size:1.3em;
  top:-5px;
  border-radius:5px;
  text-shadow:1px 1px 4px rgba(204,204,204,0.4);
  font-family:'Lato', sans-serif;
  font-weight:400;
}
nav ul{
  margin:0;
  padding:0;
}
ul li {
  list-style:none;
  display:inline-block;
}
nav ul li a{
  display:block;
  padding:16px 38px;
  color:#000;
  -webkit-transform:scale(1,1);
  -moz-transform:scale(1,1);
  transform:scale(1,1);
  
  -webkit-transition: all ease-in-out 0.4s;
  -moz-transition: all ease-in-out 0.4s;
  -o-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}
nav ul li:last-child a{
  padding-right:0;
}
nav ul li a:hover{
  color:#066;
  -webkit-transform:scale(1.35,1.35);
  -moz-transform:scale(1.35,1.35);
  transform:scale(1.35,1.35);
}
nav ul li.has_submenu{
  position:relative;
}
.submenutom{
  font-size: medium;
  position:absolute;
  right: 43px;
  top: 45px;
}



nav li .submenu{
  width:117px;
  position:absolute;
  background-color:rgba(204,204,204,0.9);
  left:0px;
  -webkit-transform:perspective(100px);
  -moz-transform:perspective(100px);
  transform:perspective(100px);
  
  -webkit-transform:rotateX(90deg);
  -moz-transform:rotateX(90deg);
  transform:rotateX(90deg);
  
  -webkit-transform-origin:top;
  -moz-transform-origin:top;
  transform-origin:top;
  
  -webkit-transition:ease-in-out 0.3s;
  -moz-transition:ease-in-out 0.3s;
  -o-transition:ease-in-out 0.3s;
  transition:ease-in-out 0.3s;
  
  -webkit-transition-property:opacity, transform;
  -moz-transition-property:opacity, transform;
  -o-transition-property:opacity, transform;
  transition-property:opacity, transform;
}
nav ul li.has_submenu:hover ul.submenu{
  -webkit-transform:rotateX(0deg);
  -moz-transform:rotateX(0deg);
  transform:rotateX(0deg);
}
nav li .submenu li{
  text-align:left;
  width:107px;
  margin-left:5px;
}
nav ul li .submenu li a{
padding:0 5px 20px 5px;
margin:0;
}
nav ul li .submenu li a:hover{
  background-color:rgba(51,51,51,0.7);
  color:#066;
  transform:none;
}
/*---------------------Home page Main---------------------*/
  /*-------Hero Img-------*/
#homepage main .hero{
  position:relative;
  width:1200px;
  height:480px;
}
#homepage main .hero img{
  box-shadow:0px 3px 5px rgba(0,0,0,.5), 0px -3px 5px rgba(0,0,0,.5);
  margin:0 auto;
  padding:0;
  width:1200px;
}
#homepage main .discription{
  position:absolute;
  top:630px;
  right:21%;
  font-family:'Cormorant Upright', serif;
  font-size:2em;
  line-height:1.1em;
  text-shadow:1px 1px 6px rgba(51,51,51,0.9);
  text-align:right;
  color:#996;
}
  /*-------Call to Action-------*/
#homepage main .cta{
  position:absolute;
  top:600px;
  margin:0 auto;
  width:1200px;
  text-align:center;
}
#homepage main .cta a{
  display:block;
  text-transform:uppercase;
  font-size:1.7em;
  text-shadow:0.5px -0.5px #ccc;
  text-shadow:1px -1px #ccc;
  text-shadow:1.5px -1.5px #ccc;
  box-shadow:inset 0 0 10px #999;
  width:250px;
  height:25px;
  border-radius:5px;
  transition:all ease-in-out .4s;
  margin:10px auto;
  padding-top:5px;
}

#homepage main .cta a:hover{
  color:#ccc;
  text-shadow:none;
  box-shadow:inset 0 0 10px #fff;
  background-color:#066;
}
/*-------Options Part-------*/
  /*---Buttons---*/
#homepage main .content a{
  margin:0 auto;
  width:95px;
  height:25px;
  border-radius:5px;
  display:block;
  font-size:1.1em;
  box-shadow:inset 0 0 10px #999;
  background-color:rgba(255,255,255,0.8);
  text-align:center;
  padding-top:5px;
  transition:all ease-in-out 0.4s;
}
#homepage main .content a:hover{
  color:#fff;
  background-color:rgba(0,102,102,0.8);
}
  /*---Img---*/
#homepage main .cover{
  position:relative;
  width:100%;
  height:250px;
  padding:0;
  margin-top:-35px;
}
#homepage main div.opt{
  transform-style:preserve-3d;
  perspective:800px;
  /*border:2px solid #099;*/
  width:30%;
  height:185px;
  position:absolute;
  z-index:5;
  top:50px;
}

#homepage main div.projects{
  left:420px;
}

#homepage main div.blog{
  right:0px;
}

#homepage main .opt img{
  box-shadow:0px 5px 6px rgba(0,0,0,0.3);
  -webkit-transform:rotateX(0);
  -moz-transform:rotateX(0);
  transform:rotateX(0); 
  -webkit-transition:all ease-in-out .7s;
  -moz-transition:all ease-in-out .7s;
  transition:all ease-in-out .7s;
  padding:0px;
  width:100%;
}

#homepage main .opt:hover img{
  -webkit-transform:rotateX(90deg);
  -moz-transform:rotateX(90deg);
  transform:rotateX(90deg);
  -webkit-transform-origin:bottom center;
  -moz-transform-origin:bottom center;
  transform-origin:bottom center;
}

  /*---content---*/
#homepage main .opt .content{
  position:absolute;
  opacity: 0;
  width:95%;
  height:113.2%;
  text-shadow:1px 1px 5px rgba(0,0,0,0.4);
  padding:6px;
  padding-bottom:0;
  border:2px solid #066;
  top:0;
  left:0;
}

#homepage main .content h2{
  padding-top:8px;
  margin:0 auto;
  text-align:center;
  color:#ccc;
}

#homepage main .content h2 + p{
  min-height:100px;
  margin:5px 10px;
  text-align:left;
  font-family:'Cormorant Upright', serif;
  font-size:1.2em;
}

#homepage main .opt:hover .content{
  opacity:1;
}

/*---------------------Projects page Main---------------------*/
#project_page main table{
  font-family:'Open Sans', serif;
  margin:0 auto;
  margin-left:0.5px;
}
#project_page main table tr.header{
  background-color:rgba(255,255,255,.4);
}
#project_page main table th,
#project_page main table caption{
  font-weight:700;
  font-size:1.2em;
}
#project_page main table caption{
  font-family:'Lato', sans-serif;
  height:50px;
  margin-top:3px;
  line-height:2.3em;
  border-radius:3px;
  box-shadow:inset 3px 3px 10px #999, inset -3px -3px 10px #999;
  text-transform:uppercase;
}
#project_page main table td,
#project_page main table th{
  border:2px solid #666;
}
#project_page main table th.names{
  width:200px;
}
#project_page main table tr,
#project_page main table caption{
  padding:5px;
  margin:2px;
}
#project_page main table td{
  padding:5px;
  text-align:left;
}

/*---------------------Image page Main---------------------*/
#images_page main .mobile,
#blender_page main .mobile{
  display:none;
}

#images_page main #wrapper h2,
#blender_page main #wrapper h2{
  color:#ccc;
  font-size:1.5em;
  margin:0 auto;
  width:100%;
  text-align:center;
  height:1.5em;
  text-shadow:0 1px 3px rgba(0,0,0,.6);
  text-transform:uppercase;
}


.container {
  max-width: 1500px;
  position: relative;
  margin: auto;
}
    /* Hide the images by default */
    .Show {
			margin-top: 10px;
			margin-bottom: 50px;
      display: none;
    }
	
	.Show img{
		box-shadow:0px 3px 5px rgba(0,0,0,.5), 0px -3px 5px rgba(0,0,0,.5);
	}

    /* Add a pointer when hovering over the thumbnail images */
    .cursor {
      cursor: pointer;
    }


    /* Next & previous buttons */
    .prev,
    .next {
      cursor: pointer;
      /* position: absolute; */
      /* top: 10%; */
      /* width: auto; */
      /* padding-block: 20px; */
      /* padding: 30px; */
      /* margin-top: -50px; */
      color: #c1c1c1;
      /*font-weight: bold;*/
      font-size: 20px;
      opacity: 0.5;
      /* border-radius: 0 3px 3px 0; */
      

      user-select: none;
      -webkit-user-select: none;
    }

    /* Position the "next button" to the right */
    /* .next {
      right: 18.5%;
      border-radius: 3px 0 0 3px;
    } */

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover,
    .next:hover {
      /*background-color: rgba(0, 0, 0, 0.8);*/
        color: white;
        opacity: 1;
    }
    
    /* Container for image text */
    .captionContainer {
      /* position:relative; */
      /* text-align: right; */
      /* margin-top: -48px; */
      /* margin-bottom: -6px;
      margin-right: 5px; */
			
			font-size: 1.1em;
      color: rgb(128, 128, 128);
    }

    .row:after {
      content: "";
      display: table;
      clear: both;
    }

    /* Six columns side by side */
    .column {
      float: right;
      width: 12%;
      margin-right: 10px;
	  	margin-top: -3px;
      margin-bottom: -5px;
    }

    .columnWelding {
      float: right;
      width: 12%;
      /*margin-right: 10px;*/
	  	margin-top: -3px;
      margin-bottom: -5px;
    }


    /* Add a transparency effect for thumnbail images */
    .thumbTrans {
      opacity: 0.15;
    }

    img.active, .thumbTrans:hover {
      opacity: 1;
    }

img.thumbnails, .thumbTrans {
    border: 1px solid #000;
    border-radius: 4px;
    padding: 2px;
    width: 400px;
    cursor: pointer;
}

img.thumbnails :hover {
    box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}


/* Projects */
.myImg {
    border: 1px solid #c1c1c1;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    opacity: 1;
}

.myImg:hover {opacity: 0.7;}

#images_page main div.caption,
#blender_page main div.caption{
  font-family:'Open Sans', serif;
  font-size:35px;
  position:relative;
  margin-top: 30px;
  /* height:35px;
  line-height:1.0em;
	margin-top: 30px; */
	/*text-align: center;*/
	color:gray;
}

#images_page main div.caption p,
#blender_page main div.caption p{
  /* position:absolute; */
	
  text-align:center;
  
	color:rgba(245, 245, 245, 0.822);
  /*margin:0 auto;*/
	
  /*top:-0.5em;*/
  /*right:4px;*/
	/*left:1px;*/
}

#images_page main div.caption p.date,
#blender_page main div.caption p.date{
  position:absolute;
  top:2em;
  right:15%;
  margin-bottom:20px;
}
    
/*---------------------Animation page Main---------------------*/
#form .note{
  margin:0 auto;
  margin-left:10px;
  color:#ccc;
}

#form .note em {
  font-size:0.9em;
}

 #form .star {
  font-size:1.2em;
  color:#936;
}
/*----------Video----------*/
#demoreel h2.demo_header{
  font-family:'Lato', sans-serif;
  padding:10px;
  font-size:1.8em;
  color:#ccc;
  text-align:center;
  margin:0 auto;
  line-height:1.5em;
  text-shadow:0 1px 4px rgba(0,0,0,.5);
  text-transform:uppercase;
}

div.demo{
  width:660px;
  height:440px;
  margin:0 auto;
	margin-top: 35px;
}
iframe{
  width:660px;
  height:440px;
  
}
.info_request{
  font-size:1.1em;
  font-weight:700;
  margin:0px auto;
  margin-top:5px;
  text-align:center;
}
/*----------Form----------*/
div#form{
  margin:0 auto;
  font-family:'Open Sans', serif;
  height:100%;
  margin-bottom:60px;
  
}
#form h2{
  margin:0 auto;
  width:100%;
  text-align:center;
  margin-top:10px;
}
fieldset {
  margin:15px auto;
  margin-bottom:0;
  /*border:1.5px solid #fff;*/
  background-color:rgba(0,0,0,0.4);
  border:none;
  border-radius:5px;
}
legend {
  margin-bottom:10px;
  font-weight:700;
  font-size:1.1em;
}
/*----Labels----*/
label {
  display:inline-block;
  width:120px;
  font-weight:400;
  height:30px;
}
input + label {
  display:inline;
  width: auto;
}
label.req::before {
  content:'*';
  font-size:1.2em;
  color:#936;
}
label[for="comments"] {
  display:block;
  margin:0 auto;
  float:left;
  clear:both;
}
/*----inputs----*/
input {
  margin-bottom:10px;
  height:17px
}
label + input {
  width:200px;
  margin-left:10px;
}
label + input,
textarea {
font-size:14px;
padding:2px;
background-color:#333;
border:none;
max-width:100%;
color:#000;
font-family:'Open Sans', serif;

}
input#subject {
  width:363px;
}/*Subject of a requirement is long sometimes.*/
textarea {
  margin-left:12px;
}
label + input:hover,
textarea:hover {
  background-color:#999;
  cursor:text;
}
input[type=number]::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin:0;
}
input[type=number] {
  -moz-appearance:textfield;
}
/*----Gender----*/
.male,
.female{
  margin-right:10px;
}
.male {
  margin-left:5px;
}
.gender {
  margin-bottom:0px;
}
/*----dropdown list----*/
#working_field{
  font-size:14px;
  width:342px;
  height:25px;
  margin:10px 1px 20px 0px;
  border:1px solid #333;
  background-color:#ccc;
  font-family:'Open Sans', serif;
}
#working_field:hover{
  cursor:pointer;
}
/*----Subscribe----*/
#subscribe {
  margin-left:7px;
}
/*----buttons----*/
#submit, #reset {
  font-family:'Lato', sans-serif;
  font-size:16px;
  display:block;
  width:100px;
  height:30px;
  margin:20px 5px 5px 15px;
  float:left;
  background-color:#fff;
  color:#000;
  border-radius:4px;
  border:1px solid #000;
  cursor:pointer;
  box-shadow:inset 0 0 10px rgba(0,0,0,.7);
}
#submit:hover, #reset:hover {
  color:#066;
}
#submit {
  margin-right:2px;
}
#submit::after,
#reset::after{
  content:'';
  clear:both;
}

/*---------------------Blog page Main---------------------*/
#blog_page main .blog_img{
  /*box-shadow:3px 3px 6px rgba(102,102,102,.5), -3px -3px 6px rgba(102,102,102,.7);*/
  position:relative;
  text-align: center;
}

#blog_page main .blog_img::before{
  content:'';
  z-index:-1;
  width:50%;
  height:50%;
  display:block;
  position:absolute;
  left:160px;
  bottom:32px;
  box-shadow:0 28px 17px rgba(0,0,0,.85);
  transform:rotate(-4deg) skew(-3deg);
}
      
#blog_page main .blog_img::after{
  content:'';
  z-index:-1;
  width:50%;
  height:50%;
  display:block;
  position:absolute;
  right:160px;
  bottom:32px;
  box-shadow:0 28px 17px rgba(0,0,0,.8);
  transform:rotate(4deg) skew(6deg);
}

#blog_page main .date{
  position:relative;
  font-size:1.1em;
  width:4em;
  height:4em;
  background-color:rgba(0,204,204,.5);
  border-radius:100%;
  padding:5px;
  line-height:1.5em;
  text-align:center;
  margin:-40px auto 10px auto;
  color:#000;
  text-shadow:1px 1px 8px rgba(204,204,204,0.4);
}

#blog_page main .caption,
#blog_page main .quest{
  margin:10px auto;
  letter-spacing:.05em;
  text-align:center;
}

#blog_page main .caption{
  font-size:1.2em;
  font-weight:700;
}

#blog_page main .quest{
  font-size:.9em;
  font-weight:400;
  margin-top:0;
  margin-bottom:3em;
}

/*---------------------Info page Main---------------------*/
#info_page main h2{
  font-family:'Lato', sans-serif;
  color:#ccc;
  margin:0 auto;
  text-align:center;
  font-size:1.5em;
  padding:15px 0;
  letter-spacing:0.05em;
}

#wrapper .go_to_top{
  width:100%;
  margin:0 auto;
  height:20px;
  margin-top: 20px;
  margin-left: 0.8%;
  text-align:center;
}
#wrapper .go_to_top a{
  font-family:'Open Sans', serif;
  color:#ccc;
  display:block;
  width:100px;
  height:25px;
  border-radius:5px;
  box-shadow:inset 0 0 5px rgba(204,204,204,.7);
  margin:10px auto;
  margin-left:45%;
  transition:all ease-in-out 0.4s;
}

#wrapper .go_to_top a:hover{
  color:#fff;
  background-color:rgba(0,102,102,0.8);
}

/*---------------------Blender page---------------------*/
#blender_page h3{
  font-size: 1.4em;
  text-align: center;
  font-weight: 400;
  margin-top: 0;
}

#blender_page div.cta{
  margin: 0 auto;
  text-align: center;
}

#blender_page a.button{
  display: inline-block;
  width: 100px;
  height: 35px;
  border-radius: 5px;
  background-color:#066;
  color: #fff;
  padding: 5px;
  line-height: 2em;
  box-shadow: inset 0 0 7px #fff;
  transition: all ease-in-out 0.6s;
}

#blender_page a.button:hover{
  box-shadow: 3px 3px 6px rgba(255, 255, 255, 0.4);
}

#blender_page a.button.blender_regist{
  margin-right: 10px;
}


/*---------------------Interactive page---------------------*/

#interactive_page{
  color:#ccc;
}

#interactive_page h2{
  font-size: 1.5em;
  z-index: 10000;
  color: #ccc;
  text-align: center;
}

#interactive_page div.objects{
  position: relative;
  margin-top: 30px;
}

#interactive_page div.objects a img{
  width: 50%;
}

#interactive_page div.objects .des{
  position: absolute;
  left: 52%;
  top: 20%;
}

/*---------------------Welding page---------------------*/

#images_page main #wrapper .caption h2{
  font-size: 1.2em;
  line-height: 1.1em;
  height: auto;
}
.ShowWelding {
  margin-top: 10px;
  margin-bottom: 10px;
  display: block;
  text-align: center;
}

.myProjects{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content:flex-start;
}

.myList{
  margin: 10px auto 1.6em auto;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  align-content:center;
  column-gap: 30px;
}

/*footer*/
footer{
  font-family:'Lato', sans-serif;
  font-size:16px;
  margin:0 auto;
  margin-top:10px;
  border-radius:5px 5px 0 0;
  border-top:2px solid #666;
  text-align:center;
  height:50px;
  width:1200px;
  display:block;
  position:relative;
}

footer .address{
position:absolute;
left:0;
top:5px;
width:200px;
height:75px;
line-height:1.6em;
}

footer .media_footer{
  position:relative;
  width:100%;
  height:50px;
}


footer .media_footer a img.fb_footer,
footer .media_footer a img.linkedin_footer,
footer .media_footer a img.youtube_footer{
  display: inline-block;
  width:50px;
}


/*--For devices has screen size smaller than 1200px--*/

@media screen and (min-width:769px) and (max-width:1200px){
  header #header_container{
    width:100%;
  }
  
  main #wrapper{
    width:100%;
    min-height:700px;;
  }

  nav{
    right:5px;
  }
  
  nav ul li a{
    padding:10px 0 20px 10px;
  }
}
