@import url("http://fonts.googleapis.com/css?family=Lato:300,400,700");
@import url("normalize.css");
.group:after {
  content: "";
  display: table;
  clear: both;
}

* {
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

html, body, .wrap { min-height: 100%; }

body {
  color: #f7f7f7;
  font-size: 14px;
  font-family: "Lato", sans-serif;
  line-height: 1.4;
  background: #11171c;
}

.sidebar {
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 760px) {
  .sidebar {
    float: left;
    width: 20%;
  }
}

.sidebar .my-info {
  text-align: center;
  padding: 30px 0;
  border-bottom: 1px solid #5e5e5e;
}

.sidebar .my-info .portfolio-image {
  border-radius: 50%;
}

.sidebar .my-info .portfolio-image:hover ~ .btn-pill {
  visibility: visible;
  opacity: 1;
  transition: opacity 2s linear;
}
.sidebar .my-info h1, .sidebar .my-info h2 { font-weight: normal; }
.sidebar .my-info h1 { font-size: 120%; }
.sidebar .my-info h2 { font-size: 100%; }

.sidebar .my-info .social {
  width: 175px;
  margin: 0 auto;
}

.sidebar .my-info .social a {
  float: left;
  width: 25px;
  height: 25px;
  margin: 0 2px;
  background: url(../images/social-sprite.png) no-repeat;
  text-indent: -9999px;
}

@media screen and (-webkit-min-device-pixel-ratio: 2),
screen and (min-device-pixel-ratio: 2) {
  .sidebar .my-info .social a {
    background: url(../images/social-sprite@2x.png) no-repeat;
    background-size: 150px 51px;
  }
}

.sidebar .my-info .social a.email { background-position: 0px 0px; }
.sidebar .my-info .social a.email:hover { background-position: 0px -26px; }
.sidebar .my-info .social a.elance { background-position: -25px 0px; }
.sidebar .my-info .social a.elance:hover { background-position: -25px -25px; }
.sidebar .my-info .social a.github { background-position: -126px 0px; }
.sidebar .my-info .social a.github:hover { background-position: -126px -26px; }
.sidebar .my-info .social a.linkedin { background-position: -100px 0px; }
.sidebar .my-info .social a.linkedin:hover { background-position: -100px -25px; }
.sidebar .my-info .social a.googleplus { background-position: -50px 0px; }
.sidebar .my-info .social a.googleplus:hover { background-position: -50px -25px; }
.sidebar .my-info .social a.facebook { background-position: -75px 0px; }
.sidebar .my-info .social a.facebook:hover { background-position: -75px -25px; }
.sidebar .menus { text-align: center; }

@media screen and (min-width: 760px) {
  .sidebar .menus { padding: 20px 30px; }
}

.sidebar .menus h3 {
  text-transform: uppercase;
  font-size: 120%;
  font-weight: normal;
  padding-left: 25px;
  cursor: default;
  width: 20%;
  margin: 20px 110px 10px;
}

@media screen and (min-width: 360px) {
  .sidebar .menus h3 { margin: 20px auto 20px; }
}

@media screen and (min-width: 760px) {
  .sidebar .menus h3 { margin: 20px 0 10px 0; }
}

@media screen and (max-width: 760px) {
  .sidebar .menus h3 { cursor: pointer; }
}

.sidebar .menus h3:before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  height: 18px;
  display: block;
  background: url(../images/nav-sprite.png) no-repeat;
}

@media screen and (-webkit-min-device-pixel-ratio: 2),
screen and (min-device-pixel-ratio: 2) {
  .sidebar .menus h3:before {
    background: url(../images/nav-sprite@2x.png) no-repeat;
    background-size: 49px 18px;
  }
}

.sidebar .menus h3.work { color: #d35136; }
.sidebar .menus h3.work:before {
  width: 15px;
  background-position: 0px 0px;
}
.sidebar .menus h3.about { color: #27b599; }
.sidebar .menus h3.about:before {
  width: 17px;
  background-position: -15px 0px;
}
.sidebar .menus h3.contact { color: #088ecc; }
.sidebar .menus h3.contact:before {
  width: 17px;
  background-position: -32px 0px;
}
.sidebar .menus ul {
  list-style: none;
  padding: 0;
  display: none;
  margin: 0 135px 10px;
  text-align: left;
}

@media screen and (min-width: 760px) {
  .sidebar .menus ul {
    margin: 0 0 0 25px;
    display: block;
    width: auto;
  }
}

.sidebar .menus ul.open {
  display: inline-block;
  margin: 0 auto 10px 60px;
}

@media screen and (min-width: 760px) {
  .sidebar .menus ul.open {
    margin: 0 0 0 25px;
    display: block;
    width: auto;
  }
}

.sidebar .menus ul li a {
  color: #5e5e5e;
  text-decoration: none;
  -webkit-transition: color 0.4s ease;
  -moz-transition: color 0.4s ease;
  -o-transition: color 0.4s ease;
  -ms-transition: color 0.4s ease;
  transition: color 0.4s ease;
}

.sidebar .menus ul li a:hover, .sidebar .menus ul li a.current-menu-item {
  color: white;
  -webkit-transition: color 0.4s ease;
  -moz-transition: color 0.4s ease;
  -o-transition: color 0.4s ease;
  -ms-transition: color 0.4s ease;
  transition: color 0.4s ease;
}

.content {
  width: 100%;
  min-height: 100%;
  background: white;
}

@media screen and (min-width: 760px) {
  .content {
    float: left;
    width: 80%;
  }
}

.content .portfolio-item { background: #f7f7f7; }
.content .portfolio-item:before {
  content: "";
  position: absolute;
  width: 3px;
  background: #eaeaea;
  top: 0px;
  left: 17px;
  bottom: 0px;
}

.content .portfolio-item.first:before { top: 30px; }
.content .portfolio-item .portfolio-info {
  min-height: 100%;
  color: #5e5e5e;
  padding: 20px 20px 20px 40px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

@media screen and (min-width: 760px) {
  .content .portfolio-item .portfolio-info {
    float: left;
    width: 30%;
  }
}

.content .portfolio-item .portfolio-info .date {
  font-size: 110%;
  color: black;
  margin-bottom: 10px;
}

.content .portfolio-item .portfolio-info .date:before {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #f7f7f7;
  background: #d35136;
  left: -29px;
  top: 3px;
}

.content .portfolio-item .portfolio-info .meta {
  color: black;
  margin-top: 10px;
}

.content .portfolio-item .portfolio-info .meta p { margin: 0; }
.content .portfolio-item .portfolio-image {
  padding: 20px;
  background: white;
  border-left: 1px solid #dedede;
  text-align: center;
}

@media screen and (min-width: 760px) {
  .content .portfolio-item .portfolio-image {
    float: left;
    width: 70%;
  }
}

.content .portfolio-item .portfolio-image img {
  width: 100%;
  max-width: 610px;
  height: auto;
}

.content .portfolio-item .portfolio-image div.loading img {
  width: auto;
  height: auto;
}

.content div.loading {
  color: #c4c4c4;
  position: absolute;
  width: 100px;
  bottom: 15px;
  left: 50%;
  margin-left: -50px;
}

.content div.loading img { vertical-align: middle; }
.content div.loading img.rotate {
  -webkit-animation-name: rotate;
  -ms-animation-name: rotate;
  animation-name: rotate;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-iteration-count: infinite;
  -ms-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  -ms-animation-timing-function: linear;
  animation-timing-function: linear;
}

@-webkit-keyframes rotate {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    -webkit-transform-origin: center center;
    transform-origin: center center;
  }
}

@keyframes rotate {
  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    transform-origin: center center;
  }
}

.icon {
  display: inline-block;
  vertical-align: middle;
}

.icon-arrow-bottom-left {
  height: 0px;
  bottom: 0px;
  border-bottom: 0px none;
  border-right: 10px solid #00ABC9;
  border-top: 10px solid transparent;
  background: none repeat scroll 0% 0% transparent;
  width: 0px;
}

.btn-pill, [role="contentinfo"] .btn-pill {
  visibility:hidden;
  position: absolute;
  margin-top: 60px;
  margin-left: -60px;
  padding: 4px 6px 6px;
  font-size: 11px;
  font-weight: bold;
  font-family: "Helvetica Neue",Helvetica,Sans-Serif;
  letter-spacing: 0px;
  color: #FFF;
  background: none repeat scroll 0% 0% #00ABC9;
  border-radius: 5px;
  opacity: 0;
  transition: visibility 0s 2s, opacity 2s linear;
}

.btn-pill > .icon-arrow-bottom-left {
  bottom: 0px;
  left: -6px;
  position: absolute;
}
