@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700,300');
@import url('./bootstrap.css');
@import url('./icons.css');
@import url('./revolutionslider.css');

/* ---------------------------------- */
/* Header
------------------------------------- */

/* Top Border */
body {
  border-top: 5px solid #666;
}

/* Logo */
#logo {
  margin-top: 4px;
}

.header {
  margin: 30px 0 28px 0;
}

/* Header Widget */
.header-widget {
  margin-top: 8px;
  float: right;
  padding-left: 0;
}

.header-widget li {
  list-style: none;
  display: inline-block;
  vertical-align: middle;
  margin-right: 20px;
  padding-right: 35px;
  line-height: 24px;
  position: relative;
}

.header-widget li:after {
  position: absolute;
  height: 48px;
  content: '';
  display: inline-block;
  width: 1px;
  background-color: #e0e0e0;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  top: 50%;
  right: 0;
}

.header-widget li i {
  float: left;
  display: inline-block;
  color: #666;
  font-size: 34px;
  width: 35px;
  position: relative;
  margin-top: 8px;
  margin-right: 18px;
  text-align: center;
}

.header-widget li .widget-content {
  float: left;
  max-width: 150px;
}
.header-widget .sl-icon-location {
  font-size: 36px;
  margin: 5px 10px 0 8px;
}

.header-widget li span.title {
  display: block;
  color: #333;
}

.header-widget li span.data {
  color: #808080;
}
.header-widget a.button {
  margin-left: 13px;
}

.header-widget li:last-child {
  margin-right: 0;
  padding-right: 0;
}

/* ---------------------------------- */
/* Featured Services
------------------------------------- */
.featured-service {
  background-color: #f5f5f5;
  height: 176px;
  padding: 37px 40px;
  display: block;
  width: 100%;
  flex-shrink: 1;
}

.featured-service h4 {
  font-size: 16px;
}
.featured-service p {
  color: #666;
}

.featured-service i {
  font-size: 72px;
  color: #666;
  float: left;
  display: inline-block;
  margin-right: 29px;
  line-height: 95px;
  height: 176px;
}

/* ---------------------------------- */
/* Projects Grid
------------------------------------- */
.full-width.projects-container {
  background-color: #f8f8f8;
  display: inline-block;
  width: 100%;
  text-align: center;
  margin-top: 30px;
  float: left;
}

.full-width.all-projects.projects-container {
  text-align: left;
  margin-top: -10px;
}

.full-width.all-projects.projects-container #filters .option-set {
  width: 100%;
  border-top: 1px solid #e0e0e0;
  margin: 0 0 40px 0;
  padding-top: 35px;
}

.projects {
  text-align: center;
}
.projects a.button:after {
  display: none;
}
.projects a.button i {
  margin-right: 3px;
}
.projects.latest a.button i {
  margin: 0px 0 0 3px;
}
.projects a.button {
  margin-top: 10px;
}

.full-width.projects-container .headline {
  margin: 55px 0 32px 0;
}
.full-width.projects-container a.button.border.medium {
  margin: 44px 0;
}

.projects a img,
.projects a:after,
.projects a.unclickable:before,
.option-set li a {
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.projects a {
  margin-bottom: 30px;
}

.full-width.projects a {
  width: 25%;
  display: inline-block;
  box-sizing: border-box;
  float: left;
  margin-bottom: 0;
  backface-visibility: hidden;
}

/* Filtering Styles*/
.option-set {
  margin: 0px 0 44px 0;
  padding: 0;
}

.option-set li {
  display: inline-block;
}

.option-set li a {
  color: #333;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 8px 12px;
}

.option-set li a:hover,
.option-set li a.selected {
  color: #fff;
  background-color: #666;
}

/* Projects Grid */
.projects h3 {
  margin-bottom: 20px;
}

.projects a {
  position: relative;
  overflow: hidden;
  display: block;
}

.projects a .plus-icon,
.projects a .overlay {
  visibility: hidden;
  opacity: 0;
  z-index: 20;
  position: absolute;
}

.projects a img,
.projects a .overlay,
.projects a .plus-icon,
.projects a:hover .overlay,
.projects a:hover .plus-icon,
.projects a .overlay-content {
  -webkit-transition: all 0.32s;
  transition: all 0.32s;
}

/* Overlay background */
.projects a .overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.projects a:after,
.projects a .overlay:after {
  position: absolute;
  content: '';
  display: inline-block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.projects a .overlay:after {
  background-color: #666;
  opacity: 0.8;
}

.projects a:hover .overlay {
  visibility: visible;
  opacity: 1;
}

.projects a img {
  -webkit-backface-visibility: hidden; /* Chrome, Safari, Opera */
  backface-visibility: hidden;
}

.projects a.unclickable:hover img {
  transform: scale(1.05);
}

.projects a:hover img {
  transform: scale(1.05);
}

.projects a:hover:before {
  opacity: 1;
}
.projects a:after {
  background-color: #222;
  opacity: 0.1;
}

.projects a.unclickable {
  cursor: default;
}

.projects a:before {
  content: '';
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
  background-color: #f8f8f8;
  z-index: 20;
  opacity: 0;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.projects a:hover:before {
  opacity: 0;
}

.projects a.unclickable:before,
.projects a.unclickable:hover:before {
  opacity: 0.7;
}

.projects a img {
  opacity: 0.98;
  -webkit-opacity: 1;
  z-index: 10;
  position: relative;
  width: 100%;
  zoom: 1;
}

.projects a.unclickable:hover .plus-icon,
.projects a.unclickable:hover .overlay {
  visibility: hidden;
  opacity: 0;
}

.projects a.unclickable img {
  -webkit-filter: grayscale(50%);
  filter: grayscale(50%);
}

/* Plus Icon */
.projects a .plus-icon {
  bottom: 0;
  left: 0;
  z-index: 99;
  background-color: #282828;
  color: #fff;
  width: 45px;
  height: 45px;
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  text-align: center;
}

.projects a:hover .plus-icon {
  visibility: visible;
  opacity: 1;
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.projects a .plus-icon:before {
  content: '\f067';
  font-family: 'FontAwesome';
  color: #fff;
  font-size: 16px;
  line-height: 45px;
}

/* Overlay content */
.projects a .overlay-content {
  text-align: center;
  top: 50%;
  position: relative;
  left: 0;
  right: 0;
  color: #fff;
  -ms-transform: translateY(-25%);
  -webkit-transform: translateY(-25%);
  transform: translateY(-25%);
  opacity: 0;
  z-index: 99;
  padding: 0 30px;
}

.projects a:hover .overlay-content {
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  opacity: 1;
}

.projects a .overlay-content h4 {
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 26px;
  margin: 0;
}

.projects a .overlay-content span {
  opacity: 0.85;
}

/* ---------------------------------- */
/* Testimonials
------------------------------------- */
#testimonials {
  position: relative;
  margin-top: 0;
  background: url('../images/testimonials-bg.jpg') no-repeat 50%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 100%;
  margin-top: 85px;
}

#testimonials:after {
  content: '\e04a';
  font-family: 'simple-line-icons';
  position: absolute;
  height: 87px;
  font-size: 40px;
  color: #fff;
  width: 87px;
  border-radius: 50%;
  background-color: #666;
  top: -42px;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
  line-height: 87px;
}

#testimonials:before {
  content: '';
  width: 100%;
  height: 100%;
  display: inline-block;
  background-color: rgba(34, 34, 34, 0.9);
  position: absolute;
}

.testimonials-slider {
  text-align: center;
}

.testimonials-slider li p {
  font-size: 24px;
  font-weight: 300;
  color: #fff;
  line-height: 36px;
  padding: 110px 60px;
}

.testimonials-slider li p span {
  display: block;
  font-weight: 600;
  font-size: 18px;
  margin-top: 20px;
}

/* ---------------------------------- */
/* Back to top
------------------------------------- */
#backtotop {
  position: fixed;
  right: 0;
  display: none;
  bottom: 20px;
  margin: 0 20px 0 0;
  z-index: 9999;
}

#backtotop a {
  text-decoration: none;
  border: 0 none;
  display: block;
  width: 46px;
  height: 46px;
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

#backtotop a:after {
  content: '';
  font-family: 'FontAwesome';
  position: relative;
  display: block;
  top: 9px;
  left: 15px;
}

#backtotop a:hover {
  background-color: #666;
}

/* Sidebar textbox */
.sidebar-textbox {
  background-color: #f7f7f7;
  display: inline-block;
  width: 100%;
  margin: 20px 0 30px 0;
  color: #888;
  padding: 32px 35px;
}

.sidebar-textbox.color {
  background-color: #666;
  color: #fff;
}

.sidebar-textbox.color h4 {
  color: #fff;
}
.sidebar-textbox h4 {
  font-size: 16px;
  margin: 0;
  padding: 0;
  margin-bottom: 16px;
}

.sidebar-textbox span {
  color: #666;
  display: inline-block;
}
.sidebar-textbox.color span {
  color: #fff;
}

/* ---------------------------------- */
/* Footer
------------------------------------- */
#footer {
  background-color: #202020;
  padding: 50px 0 0 0;
  color: #999;
}

#footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
}

/* Social Btn */
.button.social-btn i {
  font-size: 21px;
  position: absolute;
  left: 19px;
  top: 13px;
}

.button.social-btn {
  padding-left: 50px;
  position: relative;
  background-color: #3b5998;
  top: 4px;
}

#footer a.button {
  margin-top: 12px;
}
#footer a.button:hover {
  background-color: #fff;
  color: #333;
}

.text-widget span {
  color: #ddd;
}
.text-widget span.address {
  display: block;
  margin-bottom: 10px;
}

/*  Links  */
ul.footer-links {
  margin: 0 0 15px 0;
  padding: 0;
  width: 50%;
  box-sizing: border-box;
  display: inline-block;
  float: left;
}

.footer-links li {
  position: relative;
  list-style: none;
}

.footer-links li a {
  padding: 0 0 7px 13px;
  display: inline-block;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  color: #aaa;
  line-height: 21px;
}

.footer-links li a:hover {
  padding-left: 16px;
  color: #fff !important;
}

.footer-links li:before {
  font-family: 'FontAwesome';
  font-size: 12px;
  content: '';
  color: #fff;
  position: absolute;
  left: 0;
  top: 0px;
  padding: 0 7px 0 0;
  color: #ddd;
}

/* Footer Bottom */
.copyrights {
  color: #777;
  border-top: 1px solid #333;
  margin-top: 35px;
  text-align: center;
  padding: 30px 0;
  display: inline-block;
  width: 100%;
}

.social-icons.fixed h4 {
  font-size: 18px !important;
}
.copyrights a {
  color: #ddd;
}

/* ---------------------------------- */
/* Single Project Page
------------------------------------- */

/* Images Hover */
.img-hover {
  position: relative;
  display: inline-block;
  overflow: hidden;
  margin-bottom: 30px;
  width: 100%;
}

.img-hover img {
  width: 100%;
}

.img-hover:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(34, 34, 34, 0.15);
  opacity: 0;
  top: 0;
  left: 0;
  transition: all 0.25s;
  -webkit-transition: all 0.25s;
}

.img-hover:hover:before {
  opacity: 1;
}

.img-hover[title]:after {
  content: attr(title);
  position: absolute;
  bottom: 0;
  left: 0;
  display: inline-block;
  background-color: rgba(34, 34, 34, 0.5);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  line-height: 23px;
  padding: 8px 16px;
}

/* ---------------------------------- */
/* Contact Form
------------------------------------- */
#contact textarea {
  min-height: 200px;
  margin: 15px 0 25px 0;
}

.loader {
  margin-left: 15px;
}
.submit.disabled:hover,
.submit.disabled {
  background-color: #e8e8e8;
  color: #333;
}

.contact-sent {
  background-color: #ebf6e0;
  color: #5f9025;
  margin-bottom: 28px;
  padding: 20px 26px;
}

/* ---------------------------------- */
/* Flexslider
------------------------------------- */

.flex-container a:hover,
.flex-slider a:hover,
.flex-container a:focus,
.flex-slider a:focus {
  outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
.flex-pauseplay span {
  text-transform: capitalize;
}

.flexslider {
  margin: 0;
  padding: 0;
}

.flexslider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}

.flexslider .slides img {
  width: 100%;
  display: block;
}

.flexslider .slides:after {
  content: '\0020';
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

html[xmlns] .flexslider .slides {
  display: block;
}

* html .flexslider .slides {
  height: 1%;
}

.no-js .flexslider .slides > li:first-child {
  display: block;
}

.flex-control-nav {
  width: 100%;
  position: absolute;
  bottom: 60px;
  text-align: center;
  z-index: 999;
  left: 0;
}

.flex-control-nav li {
  margin: 0 3px;
  display: inline-block;
  zoom: 1;
}

.flex-control-paging li a {
  width: 15px;
  height: 15px;
  display: block;
  background: transparent;
  border: 2px solid #fff;
  cursor: pointer;
  text-indent: -9999px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

.flex-control-paging li a:hover {
  background: #fff;
}

.flex-control-paging li a.flex-active {
  background: #fff;
  cursor: default;
}

.simple-slider {
  position: relative;
  overflow: hidden;
}

.flex-next {
  -webkit-transform: translate(100%, -50%);
  transform: translate(100%, -50%);
}

.simple-slider:hover .flex-next {
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

.flex-prev {
  -webkit-transform: translate(-100%, -50%);
  transform: translate(-100%, -50%);
}

.simple-slider:hover .flex-prev {
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

.flex-prev,
.flex-next {
  transition: all 0.25s 0.2s;
  -webkit-transition: all 0.25s 0.2s;
  opacity: 0;
}

.simple-slider:hover .flex-prev,
.simple-slider:hover .flex-next {
  transition: all 0.25s 0s;
  -webkit-transition: all 0.25s 0s;
  opacity: 1;
}

.flex-prev,
.flex-next {
  position: absolute;
  top: 50%;
  right: 0;
}

.flex-prev {
  left: 0;
}

.flex-prev,
.flex-next {
  cursor: pointer;
  width: 55px;
  height: 80px;
  position: absolute;
  display: block;
  z-index: 100;
  overflow: hidden;
  background: rgba(34, 34, 34, 0.4);
}

.flex-prev:hover,
.flex-next:hover {
  background: #0181db;
}

.flex-prev:before,
.flex-next:before {
  font-family: 'fontawesome';
  font-size: 36px;
  color: #fff;
  display: block;
  line-height: 80px;
  text-align: center;
  z-index: 2;
  position: relative;
  transition: all 0.25s 0s;
  -webkit-transition: all 0.25s 0s;
}

.flex-prev:before {
  content: '\f104';
  left: -1px;
}

.flex-next:before {
  content: '\f105';
  right: -1px;
}
.flex-prev:hover:before,
.flex-next:hover:before {
  color: #fff;
}

.zeus .tp-title-wrap {
  background: #666;
  width: 120%;
  height: 120%;
  top: 0;
  position: absolute;
  opacity: 0;
}

.zeus .tp-title-wrap,
.tparrows:before {
  -webkit-transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
  -moz-transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
  -o-transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
  -ms-transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
  transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.tparrows:hover:before {
  color: #fff;
}

.zeus.tp-rightarrow.tparrows .tp-title-wrap {
  right: -110%;
}
.zeus.tp-leftarrow.tparrows .tp-title-wrap {
  left: -110%;
}

.zeus.tp-rightarrow.tparrows:hover .tp-title-wrap {
  right: 0;
  opacity: 1;
}
.zeus.tp-leftarrow.tparrows:hover .tp-title-wrap {
  left: 0;
  opacity: 1;
}

/* ---------------------------------- */
/* Magnific Popup
------------------------------------- */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  overflow: hidden;
  position: fixed;
  background: #000;
  opacity: 0.8;
}

.mfp-wrap {
  top: -10px;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1001;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
}

.mfp-container {
  height: 100%;
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 18px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
  display: none;
}

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 505;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}

.mfp-ajax-cur {
  cursor: progress;
}

.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
  cursor: auto;
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.mfp-loading.mfp-figure {
  display: none;
}

.mfp-hide {
  display: none !important;
}

.mfp-preloader {
  color: #aaa;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 504;
}

.mfp-preloader a {
  color: #cccccc;
}

.mfp-preloader a:hover {
  color: #fff;
}

.mfp-s-ready .mfp-preloader {
  display: none;
}

.mfp-s-error .mfp-content {
  display: none;
}

.mfp-s-loading .mfp-arrow {
  display: none;
}

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  border: 0;
  -webkit-appearance: none;
  display: block;
  padding: 0;
  z-index: 506;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  right: 0px;
  top: 40px;
}

/* Close Button */
.mfp-close {
  position: absolute;
  width: 44px;
  height: 44px;
  top: 0;
  right: 0;
  cursor: pointer !important;
  z-index: 9999;
  background: rgba(34, 34, 34, 0.5);
  color: #fff;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.mfp-close:before {
  content: '\f00d';
  font-family: 'FontAwesome';
  font-size: 16px;
  top: 0;
  left: 0;
  position: relative;
}

#small-dialog .mfp-close,
.mfp-close:hover {
  background-color: #666;
  color: #fff;
}

#small-dialog .mfp-close:hover {
  background-color: #262626;
  color: #fff;
}

.small-dialog-content input[type='submit'] {
  width: 100%;
  margin-top: 26px;
  margin-bottom: 10px;
}

.small-dialog-content .divider {
  display: inline-block;
  width: 100%;
  margin-top: 15px;
  padding-bottom: 0;
}

.small-dialog-headline h2,
.small-dialog-headline h3,
.small-dialog-headline h4 {
  font-size: 22px;
  border-bottom: 1px solid #e0e0e0;
  width: 100%;
  display: inline-block;
  margin: 10px 0 35px 0;
  padding-bottom: 30px;
}

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #aaa;
  font-size: 13px;
  line-height: 18px;
}

.mfp-arrow {
  opacity: 0;
  margin: 0;
  top: 50%;
  margin-top: -38px;
  padding: 0;
  position: absolute;
  width: 44px;
  height: 76px;
  cursor: pointer;
  z-index: 9999;
  background: rgba(34, 34, 34, 0.5);
  color: #fff;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.mfp-arrow:hover {
  background: #666;
  color: #fff;
}

.mfp-arrow.mfp-arrow-left,
.mfp-arrow.mfp-arrow-right {
  font-family: 'FontAwesome';
  font-size: 16px;
}

.mfp-arrow.mfp-arrow-right {
  right: 0;
}

.mfp-arrow.mfp-arrow-left:before {
  content: '\f053';
  top: 2px;
  left: -1px;
  position: relative;
}
.mfp-arrow.mfp-arrow-right:before {
  content: '\f054';
  top: 2px;
  left: 1px;
  position: relative;
}

.mfp-content:hover .mfp-arrow {
  opacity: 1;
}

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px;
}

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}

.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: black;
}

.mfp-iframe-holder .mfp-close {
  top: 0px;
}

/* Popup */
#small-dialog {
  background: #fff;
  padding: 30px 45px 35px 45px;
  text-align: left;
  max-width: 610px;
  margin: 40px auto;
  position: relative;
  box-sizing: border-box;
}

#small-dialog span.line {
  padding-top: 7px;
}

.my-mfp-zoom-in .zoom-anim-dialog {
  opacity: 0;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
}

/* animate in */
.my-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
  opacity: 1;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

/* animate out */
.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
  opacity: 0;
}

/* Dark overlay, start state */
.my-mfp-zoom-in.mfp-bg {
  opacity: 0.001; /* Chrome opacity transition bug */
  -webkit-transition: opacity 0.3s ease-out;
  -moz-transition: opacity 0.3s ease-out;
  -o-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
}
/* animate in */
.my-mfp-zoom-in.mfp-ready.mfp-bg {
  opacity: 0.8;
}
/* animate out */
.my-mfp-zoom-in.mfp-removing.mfp-bg {
  opacity: 0;
}

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto;
}

/* The shadow behind the image */
.mfp-figure:after {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.mfp-figure {
  line-height: 0;
}

.mfp-bottom-bar {
  margin-top: -30px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #f3f3f3;
  word-break: break-word;
  padding-right: 36px;
}

.mfp-figure small {
  color: #bdbdbd;
  display: block;
  font-size: 12px;
  line-height: 14px;
}

.mfp-image-holder .mfp-content {
  max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer;
}

/* Media Queries for Magnific Popup */
@media screen and (max-width: 800px) and (orientation: landscape),
  screen and (max-height: 300px) {
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0;
  }

  .mfp-img-mobile img.mfp-img {
    padding: 0;
  }

  /* The shadow behind the image */
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0;
  }

  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0;
  }

  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px;
  }

  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0;
  }

  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }
}

@media all and (max-width: 800px) {
  .mfp-arrow {
    width: 70px;
  }
}

.mfp-ie7 .mfp-img {
  padding: 0;
}

.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px;
}

.mfp-ie7 .mfp-container {
  padding: 0;
}

.mfp-ie7 .mfp-content {
  padding-top: 44px;
}

.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0;
}

.mfp-fade.mfp-bg {
  opacity: 0;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.85;
}

.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}

/* Headline */
h3.headline {
  margin: 58px 0 45px 0;
}

h3.headline.small {
  font-size: 20px;
  margin: 0 0 32px 0;
}

h3.headline.with-border {
  padding-bottom: 35px;
}

.headline span.color {
  color: #666;
}

.headline.centered {
  text-align: center;
}
.headline.with-border {
  border-bottom: 1px solid #e0e0e0;
  width: 100%;
  padding-bottom: 25px;
}

.divider {
  display: inline-block;
  border-bottom: 1px solid #e0e0e0;
  width: 100%;
  padding-bottom: 25px;
}

.headline span.headline-detail {
  font-size: 12px;
  float: right;
  display: block;
  line-height: 21px;
  margin: 0;
  font-weight: 500;
  color: #888;
  top: 0;
}

/* ---------------------------------- */
/* Buttons
------------------------------------- */
input[type='button'],
input[type='submit'],
a.button.border,
a.button {
  background-color: #666;
  top: 0;
  padding: 10px 18px;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

a.button.medium {
  font-size: 14px;
  padding: 12px 22px;
}
a.button.gray:hover,
a.button.dark,
a.button:hover,
input[type='button']:hover,
input[type='submit']:hover {
  background-color: #333;
  color: #fff;
}

a.button.gray {
  background-color: #e8e8e8;
  color: #333;
}
a.button.dark:hover {
  background-color: #666;
}

/* Button with border and effect */
a.button.border {
  background-color: transparent;
  border: 2px solid #666;
  color: #666;
}

.button.border {
  display: block;
  border: none;
  background: none;
  color: inherit;
  vertical-align: middle;
  position: relative;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

a.button.border {
  -webkit-transition: border-color 0.4s, color 0.4s;
  transition: border-color 0.4s, color 0.4s;
}

a.button.border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #666;
  z-index: -1;
  opacity: 0;
  -webkit-transform: scale3d(0.7, 1, 1);
  transform: scale3d(0.7, 1, 1);
  -webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
  transition: transform 0.4s, opacity 0.4s;
  -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

a.button.border,
a.button.border::before {
  -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

a.button.border:hover::before {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

a.button.border:hover {
  color: #fff;
  border-color: #666;
}

/* ---------------------------------- */
/* List Styles
------------------------------------- */

.list-4,
.list-3,
.list-2,
.list-1 {
  padding: 3px 0 0 0;
}

.list-4 li,
.list-3 li,
.list-2 li,
.list-1 li {
  list-style: none;
  margin: 14px 0;
  line-height: 27px;
  margin-left: 22px;
  position: relative;
}

.list-1.alt li {
  margin: 12px 0;
  margin-left: 22px;
}

.list-4 li:first-child,
.list-3 li:first-child,
.list-2 li:first-child,
.list-1 li:first-child {
  margin-top: 0;
}

.list-4 li:before,
.list-3 li:before,
.list-2 li:before,
.list-1 li:before {
  font-family: 'FontAwesome';
  margin: 0;
  position: relative;
  color: #666;
  float: left;
  margin-left: -22px;
  display: block;
}

.list-1.gray li:before {
  color: #777;
}

.list-4 li:before {
  content: '\f192';
  font-size: 14px;
  top: 1px;
}
.list-3 li:before {
  content: '\f058';
  font-size: 15px;
  top: 1px;
}
.list-2 li:before {
  content: '\f00c';
  font-size: 14px;
}
.list-1 li:before {
  content: '\f0c8';
  font-size: 8px;
}

.list-4 li {
  margin-left: 27px;
}
.list-4 li:before {
  margin-left: -27px;
}

/* ---------------------------------- */
/* Table
------------------------------------- */
table.basic-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: none;
  margin-bottom: 15px;
}

table.basic-table th {
  background-color: #666;
  text-align: left;
  color: #fff;
  vertical-align: top;
  font-size: 14px;
  font-weight: 600;
}

table.basic-table th,
table.basic-table td {
  padding: 15px 28px;
}

table.basic-table tr:nth-child(odd) {
  background-color: #f6f6f6;
}

table.basic-table {
  margin-bottom: 0;
}

/* ---------------------------------- */
/* Notification Boxes
------------------------------------- */
#result .success,
.notification {
  line-height: 24px;
  margin-bottom: 15px;
  position: relative;
  padding: 20px 26px;
}

.notification p {
  margin: 0;
}
.notification span {
  font-weight: 600;
}

#result .success,
.notification.success,
.notification.success a,
.notification.success strong {
  background-color: #ebf6e0;
  color: #5f9025;
}

.notification.error,
.notification.error a,
.notification.error strong {
  background-color: #ffe9e9;
  color: #de5959;
}

.notification.warning,
.notification.warning a,
.notification.warning strong {
  background-color: #fbfadd;
  color: #8f872e;
}

.notification.notice,
.notification.notice a,
.notification.notice strong {
  background-color: #e9f7fe;
  color: #4587a9;
}

.notification strong {
  border: none !important;
}

.notification.success .close,
.notification.error .close,
.notification.warning .close,
.notification.notice .close {
  padding: 0px 9px;
  position: absolute;
  right: 0;
  top: 22px;
  display: block;
  height: 8px;
  width: 8px;
  cursor: pointer;
}

.notification.success .close {
  background: url(../images/alert_boxes_close_ico.png) 0 -8px no-repeat;
}
.notification.error .close {
  background: url(../images/alert_boxes_close_ico.png) 0 0 no-repeat;
}
.notification.warning .close {
  background: url(../images/alert_boxes_close_ico.png) 0 -16px no-repeat;
}
.notification.notice .close {
  background: url(../images/alert_boxes_close_ico.png) 0 -24px no-repeat;
}

.notification.notice p span i {
  font-weight: 500;
}
.notification a.button {
  float: right;
  color: #fff;
  margin-top: 3px;
}

.notification.notice a.button {
  background-color: #388fc5;
}
.notification.warning a.button {
  background-color: #dfbe51;
}
.notification.error a.button {
  background-color: #d34c4c;
}
.notification.success a.button {
  background-color: #79ba38;
}

/* Boxed & Full Width Layout */
body.boxed {
  margin: 0 auto;
  background-color: #eee;
}

#wrapper {
  background-color: #fff;
}
#logo img {
  background-color: transparent !important;
}

/* Drop points, do not edit */
@media (min-width: 1300px) {
  body.boxed {
    width: 1340px;
  }
}
@media (min-width: 1289px) and (max-width: 1360px) {
  body.boxed {
    width: 100%;
  }
}
@media (max-width: 1080px) {
  body.boxed {
    width: 100%;
  }
}
@media (min-width: 960px) and (max-width: 1239px) {
  body.boxed {
    width: 1060px;
  }
}
@media (max-width: 1098px) {
  body.boxed {
    width: 100%;
  }
}

/* Main Font */
body,
input[type='text'],
input[type='password'],
input[type='email'],
textarea,
#tiptip_holder,
.tp-caption .caption-text,
select {
  font-family: 'Lato', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial,
    sans-serif;
  text-transform: none;
}

/* Secondary Font */
h1,
h2,
h3,
h4,
h5,
h6,
.button,
input[type='button'],
input[type='submit'],
button,
.tp-caption,
.menu > li > a,
.option-set li a,
.stage span,
#breadcrumbs,
.project-category span,
.details,
.img-hover::after,
.pagination,
.pagination-next-prev,
.services-list,
.sidebar-btn,
.tabs-nav li a,
table.basic-table th,
.comment-by a.reply,
.parallax-title,
.the-team-content i,
.counter-box i,
.counter,
.info-banner-fw a,
.menu-responsive i.menu-trigger:after {
  font-family: 'Montserrat', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial,
    sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

mark.color {
  color: #fff;
  background-color: #666;
}

/* ---------------------------------- */
/* Spacers
	------------------------------------- */

/* Margin Top */
.margin-top-0 {
  margin-top: 0 !important;
}
.margin-top-5 {
  margin-top: 5px !important;
}
.margin-top-10 {
  margin-top: 10px !important;
}
.margin-top-15 {
  margin-top: 15px !important;
}
.margin-top-20 {
  margin-top: 20px !important;
}
.margin-top-25 {
  margin-top: 25px !important;
}
.margin-top-30 {
  margin-top: 30px !important;
}
.margin-top-35 {
  margin-top: 35px !important;
}
.margin-top-40 {
  margin-top: 40px !important;
}
.margin-top-45 {
  margin-top: 45px !important;
}
.margin-top-50 {
  margin-top: 50px !important;
}
.margin-top-55 {
  margin-top: 55px !important;
}
.margin-top-60 {
  margin-top: 60px !important;
}
.margin-top-65 {
  margin-top: 65px !important;
}
.margin-top-70 {
  margin-top: 70px !important;
}

/* Margin Bottom */
.margin-bottom-0 {
  margin-bottom: 0 !important;
}
.margin-bottom-5 {
  margin-bottom: 5px !important;
}
.margin-bottom-10 {
  margin-bottom: 10px !important;
}
.margin-bottom-15 {
  margin-bottom: 15px !important;
}
.margin-bottom-20 {
  margin-bottom: 20px !important;
}
.margin-bottom-25 {
  margin-bottom: 25px !important;
}
.margin-bottom-30 {
  margin-bottom: 30px !important;
}
.margin-bottom-35 {
  margin-bottom: 35px !important;
}
.margin-bottom-40 {
  margin-bottom: 40px !important;
}
.margin-bottom-45 {
  margin-bottom: 45px !important;
}
.margin-bottom-50 {
  margin-bottom: 50px !important;
}
.margin-bottom-55 {
  margin-bottom: 55px !important;
}
.margin-bottom-55 {
  margin-bottom: 55px !important;
}
.margin-bottom-55 {
  margin-bottom: 55px !important;
}
.margin-bottom-55 {
  margin-bottom: 55px !important;
}
.margin-bottom-60 {
  margin-bottom: 60px !important;
}
.margin-bottom-65 {
  margin-bottom: 65px !important;
}
.margin-bottom-70 {
  margin-bottom: 70px !important;
}

.extra-gutter-left {
  padding-left: 25px;
}
.extra-gutter-right {
  padding-right: 25px;
}
.isotope-wrapper.extra-gutter-right {
  margin-right: -6px;
  padding-right: 0;
}

/* Smaller than standard 1180 (devices and browsers) */
@media (max-width: 1239px) {
  .featured-service {
    height: auto;
    padding: 32px 35px;
  }

  .featured-service i {
    margin-right: 23px;
    font-size: 64px;
    height: auto;
  }

  .full-width.projects a {
    width: 33.33333%;
  }
  #testimonials {
    margin-top: 80px;
  }

  .testimonials-slider li p {
    padding: 75px 40px 75px 40px;
  }
  .flex-control-nav {
    bottom: 40px;
  }
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media (max-width: 991px) {
  h3.headline {
    margin: 45px 0 35px 0;
  }

  .testimonials-slider li p {
    padding: 70px 40px 40px 40px;
  }

  .header-widget {
    float: none;
    margin: 0;
    width: 100%;
    display: inline-block;
    text-align: center;
  }

  .header-widget li {
    text-align: left;
    margin-top: 35px;
    margin-bottom: 7px;
  }

  #logo {
    margin-top: 5px;
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 35px;
    text-align: center;
  }

  h3.headline.with-border {
    line-height: 32px;
  }

  #testimonials {
    margin-top: 50px;
  }
  .copyrights {
    text-align: left;
  }

  .headline span.headline-detail {
    float: none;
    margin: 10px 0 5px 0;
  }
}

/* All Mobile Sizes (devices and browser) */
@media (max-width: 767px) {
  h3.headline {
    margin: 48px 0 35px 0;
  }

  .header-widget {
    margin-top: 10px;
  }
  .header-widget li:after {
    display: none;
  }

  .header-widget li {
    margin: 20px 15px 5px 0px;
    padding: 0;
  }

  .header-widget li.with-btn {
    width: 100%;
    text-align: center;
  }

  .header-widget li a.button {
    margin-left: 0;
  }

  .featured-service {
    padding: 25px 27px;
  }

  .featured-service {
    padding: 25px 27px;
  }

  .featured-service h4 {
    margin-top: 20px;
  }

  .extra-gutter-left,
  .extra-gutter-right {
    padding: 0 15px;
  }
}
