.portfolio img {
  width: 100%;
  height: 200px;
  display: block;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
}

.portfolio {
  margin: 0;
  overflow: hidden;
  padding: 0;
}
.portfolio li {
  float: left;
  width: 100%;
  list-style: none;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
}
.portfolio li img {
  max-height: 241px;
}
.portfolio figure {
  margin: 0 20px 20px 0;
  position: relative;
  text-align: center;
  border: 3px solid white;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  overflow: hidden;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  box-shadow: 3px 3px 3px #000000;
}
.portfolio figure:hover {
  border: 3px solid #0070c0;
}
.portfolio figure:hover img {
  opacity: .3;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)      ";
  -moz-transform: scale(5);
  -ms-transform: scale(5);
  -webkit-transform: scale(5);
  transform: scale(2);
}
.portfolio figure:hover figcaption {
  top: 50%;
  margin-top: -20px;
}
.portfolio figure:hover h3 {
  bottom: 63%;
}
.portfolio figcaption {
  position: absolute;
  width: 100%;
  top: 100%;
  left: 0;
  -moz-transition: all 0.2s ease-in-out 0.2s;
  -o-transition: all 0.2s ease-in-out 0.2s;
  -webkit-transition: all 0.2s ease-in-out;
  -webkit-transition-delay: 0.2s;
  transition: all 0.2s ease-in-out 0.2s;
}

#fp {
  background-color: #EDC951;
  
  font-weight: bold;
  text-shadow: 0 -1px 1px #d8a600;
  text-decoration: none;
  color: #fff;
  width: 50px;
  height: 50px;
  line-height: 50px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  display: inline-block;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
#fp:hover {
  background-color: #ffffff;
}


.info {
  
  
  font-size: 15px;
}

.tabs {
  margin: 0 0 20px 0;
  padding: 0;
  overflow: hidden;
}
.tabs li {
  list-style: none;
  float: left;
  margin: 20px 20px 0 0;
}

#pf {
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  width: auto;
  height: auto;
  padding: 0 1em;
 
  position: relative;
  -moz-transition: none;
  -o-transition: none;
  -webkit-transition: none;
  transition: none;
  background-color: #0070c0;
  
 
  
  text-decoration: none;
  color: #FFF;
  line-height: 50px;
  display: inline-block;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
#pf:active {
  top: 3px;
  border-bottom: none;
}
#pf.active {
  background-color: #e8bb23;
}
#pf:hover {
  background-color: #e8bb23;
}

/* all of the Menu/Nav Stuff*/
.menu {
  margin: 0 auto;
  padding: 20px;
  display: none;
  width: 26%;
  top: -5px;
  text-align: center;
  background: #FFFFFF;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom: 3px solid #EDC951;
  font-family: 'Lato', Helvetica;
  font-weight: 300;
  position: relative;
  z-index: 3;
  min-width: 400px;
}

#navButton {
  cursor: pointer;
  position: relative;
  display: block;
  margin: 0 auto;
  margin-top: -21px;
  margin-bottom: 40px;
  width: 85px;
  height: 38px;
  color: #EEE;
  background: #CC333F;
  text-align: center;
  padding-top: 8px;
  padding-left: 3px;
  padding-right: 3px;
  font-family: 'Lato', Helvetica;
  font-weight: 500;
  z-index: 3;
  text-shadow: 0 -2px 3px #8a0f19;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

#navButton:before {
  margin: 0px;
  position: absolute;
  display: block;
  margin-left: -3px;
  top: 38px;
  content: "";
  width: 0;
  height: 0;
  border-top: 33px solid #CC333F;
  border-right: 46px solid transparent;
  border-bottom-left-radius: 6px;
}

#navButton:after {
  margin: 0px;
  position: absolute;
  display: block;
  top: 38px;
  content: "";
  width: 0;
  height: 0;
  margin-left: 36px;
  border-top: 33px solid #CC333F;
  border-left: 46px solid transparent;
  border-bottom-right-radius: 6px;
}

#bt {
  text-decoration: none;
  color: #222;
}

/*************************************
 * Basic lightbox styles. Notice the
 * default 'display' is 'none'.
 */
.lightbox {
  /** Hide the lightbox */
  display: none;
  /** Apply basic lightbox styling */
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  margin-bottom: 4%;
}

.lightbox img {
  /** Pad the lightbox image */
  max-width: 100%;
  max-height: 100%;
  margin-top: 5%;
}

.lightbox:target {
  /** Show lightbox when it is target */
  display: block;
  /** Remove default browser outline style */
  outline: none;
}

.lightbox .image {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.lightbox .image img {
  border-radius: 8px;
}

.lightbox .info {
  width: 60%;
  display: block;
  text-align: center;
  color: #FFF;
  
  float: right;
  margin-top: 5%;
  margin-left: auto;
  margin-right: auto;
  background: #00A0B0;
  line-height: 2em;
  border-radius: 8px;
  padding: 50px;
}

/*.lightbox .info:after {
  margin:0px;
  position:relative;
  display:block;
  top:37px;
  left:-50px;
  content:"";
  width: 0;
	height: 0;
  border-top: 33px solid transparent;
	border-right: 46px solid #A1DBB2;
  border-bottom-left-radius:6px;
}*/
.close {
  position: absolute;
  margin-top: 25px;
  background-color: #EDC951;
  
  font-weight: bold;
  text-shadow: 0 -1px 1px #d8a600;
  text-decoration: none;
  color: #fff;
  width: 50px;
  height: 50px;
  line-height: 50px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  display: inline-block;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  opacity: 100;
}
.close:hover {
  background-color: #e8bb23;
}

@media (min-width: 660px) {
  .portfolio li {
    width: 100%;
  }
}
@media (min-width: 60px) {
  .lightbox .info {
    width: 60%;
    margin-right: 20%;
  }

  #fat img {
    max-height: 60%;
  }

  #long img {
    max-height: 50%;
    max-width: 80%;
  }
}
@media (min-width: 1040px) {
  .portfolio li {
    width: 100%;
  }

  .lightbox .info {
    width: 33%;
    margin-left: 5%;
  }

  #fat img {
    max-height: 80%;
    max-width: 50%;
  }

  #long img {
    max-height: 80%;
    max-width: 50%;
  }
}
.cbwrap {
  float: right;
  padding-right: 4%;
  padding-top: 4%;
}




