/* ==========================================================================
   Basic Structure
   ========================================================================== */
body { 
  background: url('../img/bg-body.jpg');
  font-size: 0.9em;
  color: #6b5f1d;
  letter-spacing: 1px;
}
html {
  overflow-y: scroll;
}
#topNav, #container, #mainFooter {
  width: 960px;
  margin: 0 auto;
  overflow: hidden;
  border-left: 1px solid #000;
}
#container {
  background: rgba(255, 255, 255, 0.5);
  margin-top: 26px;
}
#mainFooter {
  clear: both;
  border-left: none;
  font: 0.75em 'Cabin', sans-serif;
  margin-bottom: 2em;
  border-top: 1px solid #000;
  margin-top: -1px;
}
a, a:visited {
  text-decoration: none;
  color: #959595;
}
a:hover {
  color: #333;
}
a:focus {
  outline: none;
}
.border { 
  height: 100%; 
  width: 1px; 
  background: #000; 
  position: absolute; 
  top: 0; 
  right: 0; 
  z-index: 998;
}
#toTop { 
  display: none; 
}
/* ==========================================================================
   Top Navigation Bar
   ========================================================================== */
#topNavContainer {
  position: fixed;
  top: 0;	
  left: 0;
  width: 100%;
  font: 0.75em 'Oswald', sans-serif;
  z-index: 999;
  height: 26px;
  overflow: hidden;
  line-height: 26px;
  text-transform: uppercase;
}
#topNav {
  background: #000;
  -webkit-transition-duration: 0.2s;
     -moz-transition-duration: 0.2s;
      -ms-transition-duration: 0.2s;
       -o-transition-duration: 0.2s;
          transition-duration: 0.2s;
}
#topNav a {
  color: #959595;
}
#topNav a:hover, #topNav a.selected {
  color: #fff;
}
#topNavAbout {
  font-size: 1em;
  float: left;
  margin: 0 1em;
  padding: 0;
  font-weight: normal;
  color: #fff;
}
#topNav #hideInfo {
  color: #d62b33;
}
/* Portfolio Filters */
#filters {
  list-style: none;
  float: right;
  margin-right: 1em;
}
#filters li {
  display: inline;
  margin-left: 1em;
}
/* ==========================================================================
   About
   ========================================================================== */
#about {
  background: #fff;
  font-family: 'Cabin', sans-serif;
}
.onTop {
  height: auto !important;
  z-index: 99 !important;
  min-height: 319px;
}   
#siteTitle {
  font-family: 'Sorts Mill Goudy', serif;
  padding: 30px;
  display: block;
  height: 259px;
}
.onTop #siteTitle {
  height: auto;
}
#siteTitle h1, #siteTitle h2 {
  font-weight: normal;
  font-size: 4.3em;
  line-height: 1.1em;
  margin: 0;
  padding: 0;
  color: #000;
}
#siteTitle h2 {
  color: #959595;
  font-size: 2em;
  margin-top: 20px;
}
#siteTitle:hover {
  background: #000 url('../img/bg-overlay-white.png');
  cursor: pointer;
}
.onTop #siteTitle:hover {
  background: #fff;
  cursor: default;
}
#siteTitle:hover h1 {
  color: #fff;
}
.onTop #siteTitle:hover h1 {
  color: #000;
}
#siteTitle:hover .boxOpen {
  background: rgba(255, 255, 255, 0.5);
  text-indent: 0;
  width: auto;
  color: #fff;
  line-height: 30px;
  padding: 0 10px;
  white-space:nowrap;
}
#aboutContent {
  padding-top: 2em;
  margin: 30px;
  font-size: 0.9em;
}
#aboutContent h2 {
  font: normal 1.8em 'Sorts Mill Goudy', serif;
  clear: both;
  margin: 0 0 0.5em;
}
#profilePic {
  float: left;
  margin: 0 2em 1em 0;
  padding: 0.5em;
  border: 1px solid #ccc;
}
#resume {
  width: 579px;
  float: left;
  margin-right: 30px;
  padding-right: 30px;
  border-right: 1px dotted #333;
}
.resumeSection {
  padding-bottom: 40px;
}
.resumeItem {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px dotted #959595;
  position: relative;
}
.resumeItemTitle {
  margin: 0;
  font-size: 1.35em;
}
.resumeItemTitle span {
  display: block;
}
.resumeItemTitle .date {
  color: #959595;
  font-size: 0.65em;
  padding: 0.5em 0;
  font-weight: normal;
}
.resumeItemTitle .itemSubtitle {
  margin: 0 0 0.25em;
  font-weight: normal;
  font-size: 0.8em;
}
.resumeCol {
  width: 50%;
  float: left;
  padding-bottom: 40px;
  background: none;
}
.skills {
  list-style: none;
  margin: 0.5em 0 0;
  padding: 0;
  width: 90%;
}
.skills li {
  padding: 0.5em 0.25em 0.5em 0;
  overflow: hidden;
}
.skill {
  display: block;
  float: left;
  width: 35%;
  line-height: 1em;
}
.skillBar {
  width: 60%;
  display: block;
  float: left;
  border: 1px solid #000;
  height: 1em;
  overflow: hidden;
  position: relative;
}
.skillNum {
  display: block;
  text-indent: -9999px;  
  background: #fcd604;
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 1em;
}
.more {
  background: #000 url('../img/sprite-controls.png') no-repeat -3px -2px;
  text-indent: -9999px;
  display: block;
  width: 24px;
  height: 24px;
  position: absolute;
  bottom: 0;
  right: 0;
}
.more:hover {
  background-color: #959595;
}
.more.close {
  background-position: -3px -32px;
}
.details {
  display: none;
}
.details ul {  
  padding: 0 0 0 1em;
}
/* Contact Info Column */
#contact {
  width: 255px;
  float: left;
}
#contact aside {
  overflow: hidden;
  padding-bottom: 40px;
}
.icon {
  background: url('../img/icons.png') 0 0;
  text-indent: -9999px;
  width: 30px;
  height: 30px;
  display: block;
}
#contactInfo ul, #socialMedia ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#contactInfo li {
  clear: left;
}
#contactInfo .icon {
  float: left;
  margin: 0;
}
.address { background-position: -35px -5px; }
.phone { background-position: -65px -5px; }
.email { background-position: -95px -5px; }
#socialMedia li {
  float: left;
}
#socialMedia .icon {
  -webkit-transition-duration: 0.2s;
     -moz-transition-duration: 0.2s;
      -ms-transition-duration: 0.2s;
       -o-transition-duration: 0.2s;
          transition-duration: 0.2s;
}
#socialMedia .icon:hover {
  opacity: 0.5;
}
#facebook { background-position: -5px -35px; }
#twitter { background-position: -35px -35px; }
#linkedin { background-position: -65px -35px; }
#googleplus { background-position: -95px -35px; }
#dribbble { background-position: -125px -35px; }
#forrst { background-position: -155px -35px; }
#pinterest { background-position: -185px -35px; }
#youtube { background-position: -215px -35px; }
#vimeo { background-position: -245px -35px; }
#delicious { background-position: -275px -35px; }            
#flickr { background-position: -305px -35px; }
#lastfm { background-position: -335px -35px; }

#twitterFeed h2 { 
  position: relative; 
}
#twitterFeed h2 .icon { 
  background-position: -125px 5px; 
  display: inline-block; 
  margin-left: 8px;
}
.tweet_list {
  list-style: none;
  margin: 0 0 0.4em;
  padding: 0;
}
.follow .icon {
  float: left;
  background-color: #333;
  margin-right: 10px;
  width: 1em;
  height: 1em;
  background-position: -8px -10px;
  margin-top: 9px;
}
.follow {
  line-height: 30px;
  color: #333;
}
.follow:hover {
  opacity: 0.5;
}
/* ==========================================================================
   Contact Form
   ========================================================================== */
.sendError {
  border: 1px solid #ee1c24;
  color: #ee1c24;   
}
.sendSuccess {
  border: 1px solid #8dc73f;
  color: #8dc73f; 
}
#response.sendError, #response.sendSuccess {
  background: #ebebeb;
  padding: 0.5em;
  border: none;
}
#contactForm input, #contactForm textarea {
  width: 93%;
  padding: 6px 8px 5px;
  margin: 0 0 1em;
  background: #fff;
  border: 1px solid #333;
  color: #959595;
}
#contactForm #submit {
  width: auto;
  text-transform: uppercase;
  background: #333;
  color: #fff;
}
#contactForm #submit:hover {
  background: #ccc;
  color: #333;
}
#contactForm input:focus, #contactForm textarea:focus {
  color: #333;
}

/* ==========================================================================
   Portfolio
   ========================================================================== */

/* Thumbnails */
.box { 
  width: 319px;
  height: 319px;
  float: left;
  position: relative;
  overflow: hidden;  
  border-right: 1px solid #000; border-right: 1px solid rgba(0,0,0,0.75);
  border-bottom: 1px solid #000; border-bottom: 1px solid rgba(0,0,0,0.75);
}
.overlay {
  background: url('../img/bg-overlay.png');
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
}
.portfolioTitle, .slideshow-title {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  margin: 0;
  padding: 30px 20px;
  color: #fff;
  color: rgba(255,255,255,0.97);
  font-family: 'Oswald', sans-serif;
  font-weight: normal;
  text-shadow: 1px 1px 0px rgba(0,0,0,0.6);
  line-height: 1.25em;
}
.gallery { 
  display: block; 
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
}
.gallery img {
  display: block; 
  width: 100%;
  opacity: 0.1;
  -webkit-transition: all 300ms linear ;
  -moz-transition: all 300ms linear;
  -ms-transition: all 300ms linear;
  -o-transition: all 300ms linear;
  transition: all  300ms linear;
}
.boxControl {
  position: absolute;
  right: 0;
  bottom: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 30px;
  width: 30px;
}
.boxOpen, .boxClose {
  display: block;
  height: 30px;
  width: 30px;
  text-indent: -9999px;
  background: #000 url('../img/sprite-controls.png') no-repeat 0 0;
  position: absolute;
  right: 0;
  bottom: 0;
  -webkit-transition: all 0.1s ;
  -moz-transition: all 0.1s ;
  -ms-transition: all 0.1s ;
  -o-transition: all 0.1s ;
  transition: all 0.1s ;
}
.boxClose {
  background-position: 0px -30px;
  background-color: #d62b33;
}
.boxOpen:hover, .boxClose:hover, .gallery:hover .boxOpen {
  background-color: rgba(0, 0, 0, 0.5);
}
.gallery:hover .overlay {
  display: none;
}
.gallery:hover img {
  opacity: 1;
}
/*
    ColorBox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:999; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box;}
#cboxOverlay{background:#000;}
#colorbox{}
    #cboxContent{overflow:visible;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{background:#000; padding:1px;}
        #cboxLoadingGraphic{background:url('../img/loading.gif') no-repeat center center;}
        #cboxLoadingOverlay{background:#000;}
        #cboxTitle{position:absolute; bottom: 0; left: 0; margin: 1em; padding: 0.5em; color:#fff; background: #000; background: rgba(0,0,0,0.8); max-width: 40%; font: 0.9em 'Cabin', sans-serif;}
        #cboxCurrent{ display: none; }
        #cboxSlideshow, #cboxPrevious, #cboxNext, #cboxClose{text-indent:-9999px; position:absolute; background: url('../img/sprite-controls.png') no-repeat 0 0;}
        #cboxPrevious{background-position:0px -60px; left:5px; top: 50%; width: 50px; height: 140px; margin-top: -70px; }
        #cboxPrevious:hover{background-position:1px -59px; opacity: 0.5; }
        #cboxNext{background-position:0px -200px; right:5px; top: 50%; width: 50px; height: 140px; margin-top: -70px;}
        #cboxNext:hover{background-position:1px -199px; opacity: 0.5; }
        #cboxClose{ background-color: #d62b33; background-position: 0px -30px; right:0; bottom: 0; width:30px; height:30px; }
        #cboxClose:hover{ background-color: #959595; }

/**** Isotope filtering ****/

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.2s;
     -moz-transition-duration: 0.2s;
      -ms-transition-duration: 0.2s;
       -o-transition-duration: 0.2s;
          transition-duration: 0.2s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:         top, left, opacity;
          transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}
/* ==========================================================================
   Color Switch
   ========================================================================== */
.none .gallery img { opacity: 1; }
.eight .box:nth-child(8n) { background: #fcd604; }
.eight .box:nth-child(8n+1) { background: #00bff3; }
.eight .box:nth-child(8n+2) { background: #00a99d; }
.eight .box:nth-child(8n+3) { background: #ee1c24; }
.eight .box:nth-child(8n+4) { background: #8dc73f; }
.eight .box:nth-child(8n+5) { background: #ff60a9; }
.eight .box:nth-child(8n+6) { background: #f8941d; }
.eight .box:nth-child(8n+7) { background: #662d91; }
.yellow .box { background: #fcd604; }
.brown .box { background: #a0410d; }
.red .box { background: #c6202c; }
.pink .box { background: #f06eaa; }
.blue .box { background: #00bff3; }
.green .box { background: #8dc63f; }
.pastelgreen .box { background: #a3d39c; }

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (min-width:641px) and (max-width: 960px) {
  #topNav, #container, #mainFooter {
    width: 640px;
  }
  #resume, #contact {
    float: none;
    width: 579px; 
    border-right: none;
  }
  #contactForm input, #contactForm textarea {
    width: 96%;
  }
}
@media only screen and (max-width: 640px) {
  #topNav, #container, #mainFooter {
    width: 320px;
  }
  #filters, #topNavAbout {
    float: none;
  }
  #filters {
    border-top: 1px solid #333;
    margin-right: 0;
  }
  #toTop {
    display: block;
  }
  #topNavContainer {
    height: auto;
  }
  #resume, #contact {
    float: none;
    width: 259px; 
    border-right: none;
  }
  #profilePic {
    float: none;
    margin: 0 0 1em 0;
    padding: 2%;
    width: 96%;
  }
  .resumeCol {
    width: 100%;
    margin: 0;
  }
  .skills {
    width: 100%;
  }
  #topNavAbout {
    display: none !important;
  }
}
@media only screen and (max-width: 320px) {
  #topNav, #container, #mainFooter {
    width: 100%;
  }
  #switch {
    display: none;
  }
}   
/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }