/* Webfont: Overpass-Reg */
@font-face {
    font-family: 'Overpass';
    src: url('fonts/Overpass-Regular.eot'); /* IE9 Compat Modes */
    src: url('fonts/Overpass-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/Overpass-Regular.woff') format('woff'), /* Modern Browsers */
         url('fonts/Overpass-Regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/Overpass-Regular.svg#Overpass-Regular') format('svg'); /* Legacy iOS */
    font-style: normal;
    font-weight: 600;
    text-rendering: optimizeLegibility;
}
*{
	  -webkit-box-sizing: border-box;
	  -moz-box-sizing: border-box;
  	box-sizing: border-box;
  	margin: 0;
  	padding: 0;
}

body{
  font-family: 'Overpass',Helvetica,Arial,sans-serif;
  font-size: 20px;
  color: white;
  background: #0859a8;
  overflow-y: scroll;
}

/* header */
header{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid #ccc;
}

.header-nobanner{
  width: 100%;
  background-size: cover cover;
  position: static;
}
.header-container{
  width: 1170px;
  margin: 0 auto;
  padding: 0;
  position: relative;
}
.logo-container{
  width: 320px;
  height: 80px;
  padding-top: 20px;
  background-image: url('../images/logo.png');
  background-repeat: no-repeat;
  background-position-x: 0px;
  background-position-y: 7px;
}

.logo{
  position: absolute;
  left: 20px;
  top: 20px;
}
.logo-title{
  position: absolute;
  left: 0px;
  top: 32px;
  display: inline-block;
  font-size: 26px;
  margin-left: 20px;
  color: white;
}
.nav{
  position: absolute;
  right: 0;
  top: 40px;
  font-size: 17px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

.nav ul li{
  list-style: none;
  display: inline-block;
  margin-right: 25px;
}
.nav ul li:last-child{
  margin-right: 0;
}
.nav a:link,
.nav a:visited{
  color: white;
}

.nav ul li:hover{
  border-bottom: dotted 2px white;
}

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

a:hover{
  color:#0859a8;
}

.tags a:hover {
  color: white;
}

/* Project List */
.project-container{
  width: 100%;
  background:#c2c5ba url('../images/c1.jpg') center top no-repeat;
  background-size: cover cover;
  height: auto;
  min-height: 580px;
  padding: 30px 0;
}

.project-content{
  width: 1170px;
  margin: 0px auto;
}
.project-title{
  font-size: 22px;
  color: #c00;
  font-weight: 800;
  text-transform: uppercase;
}
.projectlist{
  margin: 1.2rem auto;
}
.project{
  background: rgba(255,255,255,0.9);
  width: 174px;
  height: 116px;
  padding: 10px;
  float: left;
  margin: 10px 15px 10px 0;
  border-radius: 8px;
  box-shadow: 4px 4px #666;
  opacity: 0.85;
}

a:hover .project{
  border: solid 1px #fff;
  padding: 7px;
}
a:hover .intro{
  color: #646464;
}

.project .intro{
  font-size: 14px;
  color: #888;
  margin-top: 10px;
}

.project .title {
    color: #0859a8;
}

.bgimage-c2{
  background: #fff;
}

.bgimage-c2 .project{
  background: #eee;
}

.bgimage-c3{
  background: url('../images/c1.jpg') center bottom;
}



/* carousel banner */
.item{
  height: 300px;
}
.item img{
  width: 100%;
}

/* footer */
footer{
  width: 100%;
  height: 100px;
  background: black;
  position: absolute;
}

.footer{
  width: 1170px;
  padding-top: 20px;
  margin: 0 auto;
}

.footer a:hover{
  color: white;
}

.footer-logo{
  width: 40%;
  float: left;
}
.footer-logo img{
  width: 100px;
  margin-top: 10px;
}
.footer-text{
  text-align: right;
  font-size: 13px;
  color: #777;
  padding-top: 10px;
  width: 60%;
  display: inline-block;
}
.copyright{
  position: absolute;
  left: 45%;
  bottom: 10px;
  font-size: 10px;
  color: gray;
}

/* about */
.about-container{
  width: 100%;
  height: 100%;
  opacity: 0.7;
  position: absolute;
  left: 0;
  top: 0;
  background: black;
  z-index: 1000;

}
.about{
  width: 600px;
  min-height: 300px;
  padding: 35px 20px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -250px;
  margin-top: -150px;
  color: black;
  background: white;
  font-size: 15px;
  z-index: 1111;
}
.about p{
  margin: 15px;
}
.about hr{
  border: solid 1px #ccc;
}
.about a:link, .about a.visited{
  color: #c00;
}
.closed{
  width: 30px;
  height: 30px;
  border-radius: 15px;
  position: absolute;
  right: -10px;
  top: -10px;
  background:white url(../images/cross.png) no-repeat center center;
  cursor: pointer;
}
.clearfix{
  clear: both;
}

/* filter */
.filter{
  margin: 10px 0px 25px;
}
.filter li{
  margin: 5px 0;
}
input{
  width: 1119px;
  height: 45px;
  padding: 5px;
  font-size: 16px;
  background-color: #eee;
}
.tags{
  font-size: 22px;
  margin-top: 10px;
}
.tags span,
.tags ul,
.tags ul li{
  display: inline-block;
}
.tags ul li{
  margin: 0px 0px;
  padding: 0 10px 0 10px;
}

.tags a:hover {
  color: #ccc;
}

.tags .active {
  color: #fff;
  background-color: #0859a8;
  border-radius: 8px;
}
.tags .active a {
  color: #fff;
}
.tags ul{
  width: 975px
}
.tags span{ 
  vertical-align: top;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) { 
  .header-container,
  .project-content,
  .footer{
    width: 738px;
  }
  input{
    width: 633px;
  }
  .tags ul{
    width: 490px;
  }

}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .header-container,
  .project-content,
  .footer{
    width: 962px;
  }

  input{
    width: 795px;
  }
  .tags ul{
    width: 650px;
  }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
  .header-container,
  .project-content,
  .footer{
    width: 1170px;
  }

  input{
    width: 1170px;
  }
  .tags ul{
    width: 975px;
  }
}

.filter { position: relative; }
.filter input { text-indent: 32px;}

#filtersubmit {
  position: relative;;
  top: 40px;
  left: 7px;
  font-size: 24px;
  z-index: 999;
  color: #aaa;
}
