/*
 * Theme Name: Pixel Perfect Portfolio
 * Author: Pixel Perfect
 * Author URI/Mail: pixelperfectmk@gmail.com
 * Version: 1.0
 */


/* CUSTOM RESETS
================================================== */
a, button {
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  outline: 0 none;
}

a:hover, a:focus {
  outline: 0 none;
  text-decoration: none;
}

/* LAYOUT
================================================== */
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
}

/* 
 * Background colors 
 */
.blue-bg {
  background-color: #84BD00;
}

/* 
 * Button
 */
.btn {
  font-family: "Varela", sans-serif;
/*  background-color: #ffffff;*/
  padding: 0 15px;
  color: #ffffff;
  height: 44px;
  line-height: 42px;
  border-radius: 0;
  border: 1px solid #84BD00;
  text-transform: uppercase;
}

.btn-inverted {
  color: #ffffff;
  background-color: transparent;
  border-color: #ffffff;
}

.btn:hover,
.btn:focus {
  color: #2c2d2e;
  background-color: #def7d0;
  border-color: #ffffff;
}

.btn-inverted:hover,
.btn-inverted:focus {
  color: #ffffff;
  background-color: #84BD00;
  border-color: #84BD00;
}

/* 
 * Rectangle 
 */
.rectangle,
.big-rectangle {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 1px solid #dddddd;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-box-shadow: 4px 4px 0px 0px #dddddd;
  -o-box-shadow: 4px 4px 0px 0px #dddddd;
  -moz-box-shadow: 4px 4px 0px 0px #dddddd;
  box-shadow: 4px 4px 0px 0px #dddddd;
}

.rectangle i,
.big-rectangle img,
.rectangle span,
.rectangle img {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 22px;
  transform: translate(-50%, -50%) rotate(-45deg);
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  -moz-transform: translate(-50%, -50%) rotate(-45deg);
  -o-transform: translate(-50%, -50%) rotate(-45deg);
  -ms-transform: translate(-50%, -50%) rotate(-45deg);
}

.medium-rectangle {
  width: 75px;
  height: 75px;
}

/*
 * Slick Slider
 */
.slick-slider {
  position: relative;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-slider.slick-track, .slick-slider.slick-list {
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
}

.slick-list {
  position: relative;
  overflow: hidden;
}

.slick-list:focus, .slick-list:hover {
  outline: none;
}

.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}

.slick-track:before, .slick-track:after {
  display: table;
  content: '';
}

.slick-track:after {
  clear: both;
}

.slick-loading .slick-track {
  visibility: hidden;
}

.slick-slide {
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
}

[dir='rtl'] .slick-slide {
  float: right;
}

.slick-slide.slick-loading img {
  display: none;
}

.slick-slide.dragging img {
  pointer-events: none;
}

.slick-initialized .slick-slide {
  display: block;
}

.slick-loading .slick-slide {
  visibility: hidden;
}

.carousel-control.left i,
.review-carousel .slick.rectangle.slick-prev i {
  padding-right: 3px;
}

.carousel-control.right i,
.review-carousel .slick.rectangle.slick-next i {
  padding-left: 3px;
}

/*
 * Social Network
 */
.social-icons.small {
  margin: 50px auto 0;
}

.social-icons.small .rectangle {
  margin: 0 4px;
  width: 30px;
  height: 30px;
  color: #fff;
}

.social-icons.small .rectangle i {
  font-size: 14px;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.social-icons.small .rectangle:hover {
  background-color: #fff;
}

.social-icons.small .rectangle:hover i {
  color: #196fc0;
}

.social-icons .rectangle {
  box-shadow: none;
  display: inline-block;
}

/* Image responsive */
.img-res {
  display: block;
  width: 100vw;
  height: 100vh;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}



/* SITEMAIN
================================================== */
.site-main {
  background-color: #ffffff;
  z-index: 1;
}

/* Section: Counters */
.site-section.section-counters {
  padding-bottom: 0;
}

.site-section.section-counters .rectangle {
  margin: 15px auto 10px;
}

.site-section.section-counters .rectangle i,
.site-section.section-counters .rectangle span {
  font-size: 18px;
}

.site-section.section-counters .rectangle i {
  padding-bottom: 20px;
}

.site-section.section-counters .rectangle i + span {
  padding-top: 20px;
}

.site-section.section-counters .row p {
  margin: 30px 0 0;
  text-transform: uppercase;
}

@media only screen and (max-width: 767px) {
  /* Section: Counters */
  .section-counters .col-sm-2:nth-child(n+3) {
    margin-top: 20px;
  }
  .section-counters .row p {
    margin-top: 15px;
  }
}

@media only screen and (max-width: 479px) {
  /* Section: Counters */
  .section-counters .col-sm-2 {
    width: 100%;
  }
  .section-counters .col-sm-2:nth-child(n+2) {
    margin-top: 20px;
  }
}

/* Section: Services */
.section-services.site-section {
  padding: 0;
  background-color: #f6f6f6;
}

.section-services .container-fluid {
  padding: 100px 15px 70px;
  background-color: #ffffff;
}

.section-services .container-fluid + .container {
  margin-top: 80px;
}

.section-services .col-sm-fifth {
  width: 20%;
  display: table;
}

.section-services .nav-tabs {
  position: relative;
  min-height: 160px;
  width: 100%;
  margin: 70px 0 0;
  bottom: 0;
  left: 0;
  border-bottom: 0;
}

.section-services .nav-tabs .col-sm-fifth {
  height: 160px;
  background: #ffffff;
  border-bottom: 3px solid #84BD00;
}

.section-services .carousel-inner {
  margin-top: 75px;
}

.section-services .carousel-inner img {
  border-radius: 10px 10px 0 0;
  -webkit-box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.2);
}

.section-services .item-controls {
  height: 45px;
}

.section-services .item-controls .carousel-control {
  margin: 7px 5px 0;
  position: relative;
  border: 1px solid #dddddd;
  background: #ffffff;
  width: 30px;
  height: 30px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  opacity: 1;
}

.section-services .item-controls .carousel-control i {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #000;
  font-size: 18px;
  transform: translate(-50%, -50%) rotate(-45deg);
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  -moz-transform: translate(-50%, -50%) rotate(-45deg);
  -o-transform: translate(-50%, -50%) rotate(-45deg);
  -ms-transform: translate(-50%, -50%) rotate(-45deg);
  text-shadow: none;
}

.section-services .item-controls .carousel-control:hover, .section-services .item-controls .carousel-control:focus {
  background-color: #84BD00;
  border-color: #84BD00;
}

.section-services .item-controls .carousel-control:hover i, .section-services .item-controls .carousel-control:focus i {
  color: #ffffff;
}

.section-services .item-controls.left i {
  padding-right: 3px;
}

.section-services .item-controls.right i {
  padding-left: 3px;
}

.service {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  color: #2c2d2e;
}

.service .rectangle {
  margin: 0 auto 20px;
  box-shadow: none;
}

.service p {
  position: absolute;
  left: 0;
  right: 0;
  margin-bottom: 0;
  text-transform: uppercase;
  font-size: 12px;
}

.section-services .col-sm-7 {
  position: absolute;
  right: 0;
  bottom: 0;
}

.section-services .col-sm-5 {
  min-height: 390px;
}

.service-info h3 {
  font-size: 28px;
  margin: 20px 0 0;
}

.service-info p {
  margin: 30px 0 0;
}

.nav-tabs .col-sm-fifth,
.item-controls .carousel-control i,
.service .rectangle,
.service p,
.carousel-indicators .service .rectangle i {
  -webkit-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}

.carousel-indicators .active .col-sm-fifth,
.carousel-indicators a:hover .col-sm-fifth {
  background-color: #84BD00;
}

.carousel-indicators .active .service p,
.carousel-indicators a:hover .service p {
  opacity: 0;
  visibility: hidden;
}

.carousel-indicators .active .service .rectangle,
.carousel-indicators a:hover .service .rectangle {
  background-color: #ffffff;
  height: 80px;
  width: 80px;
  margin-bottom: 0;
}

.carousel-indicators .active .service .rectangle i,
.carousel-indicators a:hover .service .rectangle i {
  font-size: 32px;
}

.carousel-indicators .active .service .rectangle {
  color: #84BD00;
}

.carousel-indicators .active .service:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  margin: 0 auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 15px 0 15px;
  border-color: #84BD00 transparent transparent transparent;
  z-index: 99;
}

@media only screen and (max-width: 991px) {
  /* Section: Services */
  .section-services .container-fluid {
    padding: 80px 15px 50px;
  }
  .section-services .container-fluid + .container {
    margin-top: 60px;
  }
  .section-services .nav-tabs {
    margin-top: 50px;
  }
  .section-services .carousel-inner {
    margin-top: 55px;
  }
  .section-services .service-info h3 {
    margin-top: 0;
  }
  .section-services img {
    margin: 30px auto 0;
  }
}

@media only screen and (max-width: 767px) {
  /* Section: Services */
  .section-services .container-fluid {
    padding: 60px 15px 30px;
  }
  .section-services .container-fluid + .container {
    margin-top: 40px;
  }
  .section-services .nav-tabs {
    margin-top: 30px;
    min-height: 70px;
  }
  .section-services .nav-tabs .col-sm-fifth {
    height: 70px;
  }
  .section-services .carousel-inner {
    margin-top: 35px;
  }
  .section-services .carousel-indicators .active .service .rectangle,
  .section-services .carousel-indicators a:hover .service .rectangle,
  .section-services .carousel-indicators .service .rectangle {
    margin-bottom: 0;
    height: 28px;
    width: 28px;
  }
  .section-services .carousel-indicators .active .service .rectangle i,
  .section-services .carousel-indicators a:hover .service .rectangle i,
  .section-services .carousel-indicators .service .rectangle i {
    font-size: 14px;
  }
  .section-services .col-sm-5 {
    min-height: 100%;
  }
  .section-services .col-sm-7 {
    position: relative;
  }
  .section-services .service-info h3 {
    font-size: 22px;
  }
  .section-services .service-info p {
    margin: 15px 0 0;
  }
}

/* Section: Reviews */
.site-section.section-reviews {
  padding-bottom: 0;
}

.site-section.section-reviews .blue-bg {
  margin-top: 50px;
  padding: 70px 0px;
}

.review-carousel {
  padding: 0 50px;
}

.review-carousel .slick.rectangle {
  position: absolute;
  top: 50%;
  width: 30px;
  height: 30px;
  box-shadow: none;
  z-index: 99;
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.review-carousel .slick.rectangle:hover {
  background-color: #ffffff;
  color: #84BD00;
}

.review-carousel .slick.rectangle.slick-next {
  right: 0;
}

.review-carousel .slick.rectangle.slick-prev {
  left: 0;
}

.review .rectangle {
  width: 80px;
  height: 80px;
  border: 0;
  margin: 20px auto 0;
  overflow: hidden;
  box-shadow: none;
}

.review .img-res {
  max-width: 150%;
  max-height: 150%;
}

.review p {
  margin: 45px auto 0;
  color: #ffffff;
  max-width: 1000px;
  overflow-x: hidden;
}

.review .review-author {
  position: relative;
  margin-top: 70px;
}

.review .review-author:before {
  content: '';
  position: absolute;
  top: -35px;
  left: 0;
  right: 0;
  display: block;
  height: 1px;
  width: 50px;
  background-color: #ffffff;
  margin: 0 auto;
}

.review .review-author h3 {
  margin: 0;
  font-size: 14px;
  color: #ffffff;
}

.review .review-author p {
  margin-top: 5px;
}

@media only screen and (max-width: 767px) {
  /* Section: Reviews */
  .section-reviews.site-section .blue-bg {
    margin-top: 30px;
    padding: 40px 0;
  }
  .section-reviews.site-section .review-carousel {
    padding: 0 15px;
  }
  .section-reviews.site-section .review-carousel .slick.rectangle {
    top: 45px;
  }
  .section-reviews.site-section .review-author {
    margin-top: 50px;
  }
  .section-reviews.site-section .review-author:before {
    top: -25px;
  }
}


/* Section: History */
.section-history {
  padding: 70px 0;
  background-color: #f6f6f6;
}

.section-history .section-diff-title h2 {
  color: #84BD00;
}

.section-history .section-diff-title p {
  text-transform: uppercase;
}

.timeline {
  margin: 50px 0 0;
  padding-left: 0;
  list-style: none;
  position: relative;
}

.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 1px;
  background-color: #dddddd;
  left: 50%;
  margin-left: -0.5px;
}

.timeline > li {
  position: relative;
}

.timeline > li + li {
  margin-top: 50px;
}

.timeline > li:before, .timeline > li:after {
  content: " ";
  display: table;
}

.timeline > li:after {
  clear: both;
}

.timeline > li.timeline-start .rectangle, .timeline > li.timeline-end .rectangle {
  display: block;
  position: relative;
  left: 0.5px;
  margin: 0 auto;
  background-color: #ffffff;
  box-shadow: none;
}

.timeline > li.timeline-start .rectangle span, .timeline > li.timeline-end .rectangle span {
  font-size: 12px;
  text-transform: uppercase;
}

.timeline > li > .timeline-panel {
  width: 50%;
  float: left;
  border-bottom: 1px solid #d4d4d4;
  border-radius: 2px;
  position: relative;
  padding-right: 10px;
}

.timeline > li > .timeline-panel:before {
  content: " ";
  position: absolute;
  top: 15px;
  right: 0px;
  background-color: #f6f6f6;
  width: 20px;
  height: 20px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  z-index: 2;
}

.timeline > li > .timeline-panel .timeline-heading {
  background-color: #666;
  line-height: 50px;
  height: 50px;
}

.timeline > li > .timeline-panel .timeline-heading p {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0;
  color: #ffffff;
}

.timeline > li > .timeline-panel .timeline-heading .timeline-date,
.timeline > li > .timeline-panel .timeline-heading .timeline-position {
  display: inline-block;
}

.timeline > li > .timeline-panel .timeline-heading .timeline-date {
  padding: 0 10px;
  background-color: #84BD00;
}

.timeline > li > .timeline-panel .timeline-heading .timeline-position {
  padding-left: 5px;
}

.timeline > li > .timeline-panel .timeline-body {
  position: relative;
  padding: 20px 0;
  min-height: 140px;
}

.timeline > li > .timeline-panel .timeline-body .timeline-body-thumb {
  width: 100px;
  height: 100px;
  position: absolute;
  top: 20px;
}

.timeline > li > .timeline-panel .timeline-body p {
  padding-left: 120px;
  margin-bottom: 0;
}

.timeline > li .timeline-rectangle {
  position: absolute;
  margin: 0 auto;
  top: 15px;
  left: 0.5px;
  right: 0;
  background-color: #666;
  width: 20px;
  height: 20px;
  border: 0;
  box-shadow: none;
  z-index: 99;
}

.timeline > li.timeline-inverted .timeline-heading {
  text-align: right;
}

.timeline > li.timeline-inverted .timeline-panel {
  float: right;
  padding: 0 0 0 10px;
}

.timeline > li.timeline-inverted .timeline-panel .timeline-position {
  padding: 0 5px 0 0;
}

.timeline > li.timeline-inverted .timeline-panel:before {
  left: 0px;
  right: auto;
}

@media only screen and (max-width: 767px) {
  /* Section: History */
  .section-history {
    padding: 50px 0;
  }
  .section-history h2 {
    font-size: 22px;
  }
  .section-diff-title p {
    margin-top: 40px;
  }
  .section-diff-title p:before {
    top: -20px;
  }
  .timeline {
    margin: 30px 0 0;
  }
  .timeline:before {
    left: 88%;
  }
  .timeline > li + li {
    margin-top: 30px;
  }
  .timeline > li.timeline-start .rectangle, .timeline > li.timeline-end .rectangle {
    left: 38%;
  }
  .timeline > li > .timeline-panel {
    width: 88%;
  }
  .timeline > li > .timeline-panel .timeline-heading p {
    font-size: 12px;
  }
  .timeline > li > .timeline-panel .timeline-heading .timeline-date,
  .timeline > li > .timeline-panel .timeline-heading .timeline-position {
    padding: 0 8px;
  }
  .timeline > li > .timeline-panel .timeline-heading .timeline-date {
    float: left;
  }
  .timeline > li .timeline-rectangle {
    left: 76%;
  }
  .timeline > li.timeline-inverted .timeline-heading {
    text-align: left;
  }
  .timeline > li.timeline-inverted .timeline-date {
    float: left;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    float: left;
    padding: 0 10px 0 0;
  }
  .timeline > li.timeline-inverted > .timeline-panel:before {
    left: auto;
    right: 0;
  }
}

@media only screen and (max-width: 479px) {
  .timeline {
    margin: 30px 0 0;
  }
  .timeline:before {
    left: 50%;
  }
  .timeline > li.timeline-start .rectangle, .timeline > li.timeline-end .rectangle {
    left: auto;
  }
  .timeline > li > .timeline-panel {
    background-color: #f6f6f6;
    width: 100%;
    padding-right: 0;
  }
  .timeline > li .timeline-panel:before {
    content: none;
  }
  .timeline > li .timeline-rectangle {
    disply: none;
  }
}

/* Section: Portfolio */
.portfolio {
  margin-top: 50px;
}

.portfolio-sorting {
  margin: 0;
  border-top: 1px solid #f6f6f6;
  border-right: 1px solid #f6f6f6;
  border-bottom: 2px solid #84BD00;
  height: 47px;
}

.portfolio-sorting li {
  padding: 0;
  float: left;
}

.portfolio-sorting li a {
  position: relative;
  display: inline-block;
  padding: 0 30px;
  line-height: 44px;
  height: 44px;
  border-left: 1px solid #f6f6f6;
  border-right: 1px solid #f6f6f6;
  text-transform: uppercase;
}

.portfolio-sorting li a:hover, .portfolio-sorting li a.active {
  background-color: #84BD00;
  color: #ffffff;
  border-color: #84BD00;
}

.portfolio-sorting li a:hover:after, .portfolio-sorting li a.active:after {
  border-color: #84BD00;
}

.portfolio-sorting li a:after, .portfolio-sorting li a.acitve:after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  display: block;
  border-top: 1px solid #dddddd;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.portfolio-sorting li a.active:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  margin: 0 auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 10px;
  border-color: #84BD00 transparent transparent transparent;
  z-index: 99;
}

.portfolio-sorting li + li a {
  border-left: 0;
}

.portfolio-sorting li + li a:after, .portfolio-sorting li + li a.active:after {
  left: 0px;
}

#grid {
  margin-top: 40px;
}

#grid .col-md-3 {
  padding: 0;
}

.portfolio-item {
  overflow: hidden;
}

.portfolio-item .portfolio-item-thumb {
  position: relative;
  height: 250px;
}

.portfolio-item .portfolio-item-thumb-1 {
  position: relative;
  height: 350px;
}

.portfolio-item .portfolio-item-thumb:after {
  content: '';
  background-color: #84BD00;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.portfolio-item .portfolio-item-thumb .rectangle {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 62px;
  margin: 0 auto;
  background-color: #ffffff;
  opacity: 0;
  visibility: hidden;
  -webkit-box-shadow: 4px 4px 0px 0px rgba(238, 238, 238, 0.5);
  -o-box-shadow: 4px 4px 0px 0px rgba(238, 238, 238, 0.5);
  -moz-box-shadow: 4px 4px 0px 0px rgba(238, 238, 238, 0.5);
  box-shadow: 4px 4px 0px 0px rgba(238, 238, 238, 0.5);
  z-index: 99;
}

.portfolio-item .portfolio-item-thumb,
.portfolio-item .portfolio-info {
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.portfolio-item .portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 75px;
  padding: 0 10px;
  text-align: center;
  transform: translateY(75px);
  -webkit-transform: translateY(75px);
  -moz-transform: translateY(75px);
  -o-transform: translateY(75px);
  -ms-transform: translateY(75px);
  opacity: 0;
  visibility: hidden;
}

.portfolio-item .portfolio-info h3 {
  margin: 20px 0 0;
  font-size: 16px;
  font-weight: 600;
}

.portfolio-item .portfolio-info h3 + p {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 300;
  color: #bbbbbb;
}

.portfolio-item:hover .portfolio-item-thumb {
  transform: translateY(-75px);
  -webkit-transform: translateY(-75px);
  -moz-transform: translateY(-75px);
  -o-transform: translateY(-75px);
  -ms-transform: translateY(-75px);
}

.portfolio-item:hover .portfolio-item-thumb:after {
  opacity: 0.8;
}

.portfolio-item:hover .portfolio-item-thumb .rectangle {
  opacity: 1;
  visibility: visible;
}

.portfolio-item:hover .portfolio-item-thumb .rectangle:hover {
  background-color: #84BD00;
  border-color: #84BD00;
  color: #ffffff;
}

.portfolio-item:hover .portfolio-info {
  transform: translateY(0);
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -o-transform: translateY(0);
  -ms-transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

@media only screen and (max-width: 991px) {
  /* Section: Portfolio */
  .portfolio-sorting li a {
    padding: 0 15px;
  }
}

@media only screen and (max-width: 767px) {
  /* Section: Portfolio */
  .portfolio {
    margin-top: 30px;
  }
  .portfolio-sorting {
    height: 100%;
    border-right: 1px solid #f6f6f6;
    border-left: 1px solid #f6f6f6;
  }
  .portfolio-sorting li {
    float: none;
    width: 50%;
  }
  .portfolio-sorting li:nth-child(even) {
    margin-left: -4px;
  }
  .portfolio-sorting li a {
    border: 0;
    width: 100%;
    padding: 0;
    text-align: center;
    font-size: 10px;
  }
  .portfolio-sorting li a.active:before, .portfolio-sorting li a:after, .portfolio-sorting li a:hover:after, .portfolio-sorting li a.active::after {
    content: none;
  }
}

@media only screen and (max-width: 479px) {
  /* Section: Portfolio */
  .section-works .col-xs-6 {
    width: 100%;
  }
}

/*
 * Sections: Background;
 */
.section-background {
  position: relative;
  background-size: cover;
  padding: 150px 0;
  width: 100%;
  text-align: center;
}

.section-background p {
  position: relative;
  margin: 10px 0 0;
  color: #ffffff;
}

.section-background .btn {
  position: relative;
  margin-top: 50px;
}

/* Sections background: Quote */
.section-quote {
  background: url(../img/quote.jpg) center no-repeat fixed;
}

.section-quote p {
  margin-top: 0;
  font-size: 36px;
}

.section-quote p span {
  color: #84BD00;
}

/* Sections background: Me */
.section-me {
  background: url(../img/portfolio-7.jpg) center no-repeat fixed;
}

.section-me h2 {
  margin: 0;
  color: #ffffff;
  position: relative;
}

/* Sections background: Twitter */
.section-twitter {
  background: url(../img/portfolio-8.jpg) center no-repeat fixed;
}

.section-twitter .container {
  max-width: 770px;
}

.section-twitter .rectangle {
  margin: 0 auto;
  box-shadow: none;
  display: inline-block;
}

.section-twitter .rectangle i {
  color: #ffffff;
}

.section-twitter .rectangle + p {
  margin-top: 60px;
}

.section-twitter .rectangle + p:before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: block;
  width: 50px;
  height: 1px;
  background-color: #ffffff;
}

@media only screen and (max-width: 767px) {
  /*
     * Sections: Background;
     */
  .section-background {
    padding: 100px 0;
  }
  .section-background .btn {
    margin-top: 30px;
  }
  .section-quote p {
    font-size: 28px;
  }
  .section-twitter .rectangle + p {
    margin-top: 40px;
  }
  .section-twitter .rectangle + p:before {
    top: -20px;
  }
}

/* Section: Clients */
.section-clients {
  padding: 80px 0;
}

.client {
  height: 85px;
  line-height: 85px;
  text-align: center;
  margin: 0 15px;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}

.client:hover {
  filter: grayscale(0%);
  -webkit-filter: grayscale(0%);
}

.client img {
  display: inline-block;
  height: 80px;
}

@media only screen and (max-width: 767px) {
  /* Section: Clients */
  .section-clients {
    padding: 40px 0;
  }
}
