

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
	font-family: 'Open Sans', 'Helvetica', Arial, sans-serif;
	color: #333;
    padding-bottom: 30px;
}

a {
	color: #999;
}
a:hover {
	text-decoration: none;
	color: #333;
}
.btn {
  border-radius: 0;
}
.btn-default {
  border-color: #999;
}
.btn-primary {
  background: none;
  border-color: #000;
  color: #000;
}
.btn-primary:hover {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #000;
}
.form-control {
  border-radius: 0;
}
.alert {
  border-radius: 0;
}
header {
}
header .top-menu {
	text-align: right;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 700;
	margin-top: 20px;
}
header .logo {
	text-align: center;
	padding: 40px 0 30px;
  position: relative;
  z-index: 99;
}
  header .logo a {
    display: block;
  }
header .headline {
	text-align: center;
	padding-bottom: 10px;
	font-size: 14px;
	color: #999;
}

.filter-btns .pager {
	margin-bottom: 10px;
}
.sidebar nav ul, .top-menu .menu ul {
	list-style: none;
	text-transform: uppercase;
	font-weight: 700;
	margin-left: 0;
	padding-left: 0;
}
.b-nav ul {
	list-style: none;
	text-transform: uppercase;
	font-weight: 700;
	margin-left: 0;
	padding-left: 30px;
}
.b-nav ul li {
  margin-left: 0;
}
	.sidebar nav ul li a, .b-nav li a, .top-menu .menu ul li a {
		display: block;
		color: #333;
		padding: 5px 0;
	}
	.sidebar nav ul li.active a, .b-nav li.active a, .top-menu .menu ul li.active a {
		color: #999;
	}

.social a, .b-nav .social a {
	display: inline-block;
	width: 16px;
	height: 16px;
	text-align: center;
  color: #999 !important;
}
.social a:hover {
	color: #333;
}
	.social a img, .b-nav .social a img {
		height: 100%;
		width: auto;
		max-width: 100%;
    }
    .b-nav li + .nav-projects {
      margin-top: -10px;
    }
    .b-nav li.nav-projects + .nav-projects {
      margin-top: 0px;
    }
    .b-nav .nav-projects {
      padding-top: 5px;
    }
    .b-nav .nav-projects a {
      padding-left: 20px;
      padding-top: 0;
      padding-bottom: 0;
    }

body.open .main {
  /*display: none;*/
}
/* home */
.template-home .main a {
	text-decoration: none;
}
/*
.template-home .main h3 {
	color: #999;
	text-transform: uppercase;
	text-align: center;
	font-weight: 700;
	font-family: 'Righteous', cursive;
}
*/
/* projects */
.thumbnail {
	border: 0;
	padding: 0;
	text-align: center;
	color: #999;
}
/*
	.thumbnail h3 {
		text-transform: uppercase;
		font-size: 18px;
		font-family: 'Righteous', cursive;
	}
*/
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 10px 0;
	/*width: 100%;*/
	height: auto;
	background: #3085a3;
	text-align: center;
	cursor: pointer;
    height: 260px;
    overflow: hidden;
}

.grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
    height: auto;
    width: 100%;
}

.grid figure figcaption {
	padding: 20px;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h3 {
	word-spacing: -0.15em;
	font-weight: 300;
	font-weight: 700;
	font-family: 'Righteous', cursive;
}

.grid figure h3 span {
	font-weight: 800;
}

.grid figure h3,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}
figure.effect-julia {
	background: #2f3238;
}

figure.effect-julia img {
	max-width: none;
	-webkit-transition: opacity 1s, -webkit-transform 1s;
	transition: opacity 1s, transform 1s;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

figure.effect-julia figcaption {
	text-align: left;
}

figure.effect-julia h3 {
	position: relative;
	padding: 0 0 0.5em;
}

figure.effect-julia p {
	display: inline-block;
	margin: 0 0 0.25em;
	padding: 0.4em 1em;
	background: rgba(255,255,255,0.9);
	color: #2f3238;
	text-transform: none;
	font-weight: 500;
	font-size: 75%;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-360px,0,0);
	transform: translate3d(-360px,0,0);
	text-transform: uppercase;
}

figure.effect-julia p:first-child {
	-webkit-transition-delay: 0.15s;
	transition-delay: 0.15s;
}

figure.effect-julia p:nth-of-type(2) {
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

figure.effect-julia p:nth-of-type(3) {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
}

figure.effect-julia:hover p:first-child {
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

figure.effect-julia:hover p:nth-of-type(2) {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
}

figure.effect-julia:hover p:nth-of-type(3) {
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

figure.effect-julia:hover img {
	opacity: 0.4;
	-webkit-transform: scale3d(1.1,1.1,1);
	transform: scale3d(1.1,1.1,1);
}

figure.effect-julia:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

/* project */
.main-image img {
  width: 100%;
}
.template-project .text {
	color: #999;
}
.template-project .text h2 {
	font-size: 18px;
	text-transform: uppercase;
	font-weight: 700;
}
.template-default .content figure {
  padding: 20px 0;
  text-align: center;
}
.template-default .content figure img {
  margin: auto;
  width: 100%;
}
.template-default .content figure.left {
	float: left;
	padding: 0;
	margin: 0 20px 20px 0;
}
.template-default .content p {
	margin: 0 0 15px;
}

.masonry-grid {
	width: 100%;
	margin-top: 15px;
}
.masonry-item {
	display: block;
}
.masonry-item img {
	width: 100%;
}
.masonry-sizer,
.masonry-size-1 {
	width: 31%;
}
/* 2 columns */
.masonry-size-2 { width: 62%; }

/* Text blocks */
.text img {
	max-width: 100%;
}

.pager {
	border-bottom: 1px solid #ccc;
	margin-top: 15px;
	padding: 10px 0;
}
.pager li>a, .pager li>span {
	border: 0;
	padding-left: 0;
	padding-right: 0;
	margin: 0;
}
.pager li.next {
	text-align: right;
	float: right;
}
.pager li.prev {
	text-align: left;
	float: left;
}
.pager >li.active a, .pager >li.active a:active, .pager >li.active a:hover, .pager >li.active a:focus, .pager >li a:hover, .pager >li a:focus, .pager >li a:active   {
	background: none;
	font-weight: bold;
	color: #999;
}
.pager.top {
	border-bottom: 1px solid #ccc;
	border-top: 0;
}
.filter-btns .pager li>a, .filter-btns .pager li>span {
	padding: 5px 14px;
}
.pager.bottom {
	border-top: 1px solid #ccc;
	border-bottom: 0;
}


.template-project .pager > li {
	width: 45%;
	display: inline-block;
}
.template-project .pager > li.back {
	width: 5%;
}

.fancybox-skin {
	border-radius: 0;
	box-shadow: none;
	background: #999;
	padding: 10px !important;
}

.fancybox-close {
	top: 15px;
	right: 15px;
}
.fancybox-next span {
	right: 5px;
}
.fancybox-prev span {
	left: 5px;
}


/* Burger Menu */
@-webkit-keyframes slideInLeft {
  0% {
    -webkit-transform: translate3d(-250px, 0, 0);
            transform: translate3d(-250px, 0, 0);
    visibility: visible;
  }
  100% {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
}
@keyframes slideInLeft {
  0% {
    -webkit-transform: translate3d(-250px, 0, 0);
            transform: translate3d(-250px, 0, 0);
    visibility: visible;
  }
  100% {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
}
@-webkit-keyframes slideOutLeft {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(-250px, 0, 0);
            transform: translate3d(-250px, 0, 0);
    visibility: hidden;
  }
}
@keyframes slideOutLeft {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(-250px, 0, 0);
            transform: translate3d(-250px, 0, 0);
    visibility: hidden;
  }
}
* {
  box-sizing: border-box;
}
/*
body:after {
  background: white;
  content: '';
  height: 100%;
  left: 0;
  opacity: 0;
  overflow: auto;
  padding: 0;
  position: absolute;
  top: 0;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  width: 100%;
}
body.open {
  overflow: hidden;
}
body.open:after {
  opacity: 1;
  visibility: visible;
}
*/
.b-nav {
  position: relative;
	height: 0;
	opacity:0;
	-webkit-transition: height 0.4s, opacity 0.4s;
	-moz-transition: height 0.4s, opacity 0.4s;
	transition: height 0.4s, opacity 0.4s;
	/*z-index: 11;*/
}
.b-nav:not(.open) {
  /*visibility: hidden;*/
}
.b-nav li {
  color: #444444;
  list-style-type: none;
  padding: 10px;
  text-align: left;
  -webkit-transform: translateX(-250px);
          transform: translateX(-250px);
  text-align: left;
}
.b-nav li:not(.open) {
  -webkit-animation-duration: 0.4s;
          animation-duration: 0.4s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation-name: slideOutLeft;
          animation-name: slideOutLeft;
}
.b-nav li:first-child {
  padding-top: 120px;
}
.b-nav.open {
  visibility: visible;
	opacity:1;
  background: #fff;
  width: 100%;
  height: 100%;
  position: relative;
}
.b-nav.open li {
  -webkit-animation-duration: 0.4s;
          animation-duration: 0.4s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation-name: slideInLeft;
          animation-name: slideInLeft;
}

.b-link {
  background: transparent;
  border-left: rgba(68, 68, 68, 0) solid 2px;
  color: #444444;
  font-family: Helvetica-Neue, Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 300;
  margin-left: 30px;
  text-decoration: none;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  width: auto;
}
.b-link:hover, .b-link--active {
  border-left: #444444 solid 2px;
  padding-left: 30px;
}

.b-menu {
  background: white;
  border: white solid 2px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-block;
  height: 60px;
  padding-left: 15.5px;
  padding-top: 17.5px;
  position: relative;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  width: 60px;
  z-index: 12;
  border: #444444 solid 2px;
}

.b-bun {
  background: #444444;
  position: relative;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.b-bun--top {
  height: 2px;
  top: 0;
  width: 25px;
}
.b-bun--mid {
  height: 2px;
  top: 8px;
  width: 25px;
}
.b-bun--bottom {
  height: 2px;
  top: 16px;
  width: 25px;
}

.b-brand {
  color: white;
  font-size: 14px;
  position: relative;
  text-decoration: none;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  z-index: 13;
  text-transform: uppercase;
  display: block;
  text-align: center;
  color: #000;
}

.b-container {
  height: 60px;
  left: 30px;
  position: absolute;
  top: 10px;
  z-index: 99999;
}
.b-container:hover:not(.open) .bun-top,
.b-container:hover:not(.open) .bun-mid,
.b-container:hover:not(.open) .bun-bottom {
  background: white;
}
.b-container.open .b-main {
  border: #444444 solid 2px;
}
.b-container.open .b-bun--top {
  background: #444444;
  top: 9px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.b-container.open .b-bun--mid {
  opacity: 0;
}
.b-container.open .b-bun--bottom {
  background: #444444;
  top: 5px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.b-container.open .b-brand {
  color: #444444;
}

/* Media Queries */
/* Small devices (mobiles, 768px and up) */
@media (max-width: 767px) {
  header .logo img {
    max-height: 50px;
    margin: auto;
  }
  header .logo {
    padding: 20px 0 10px;
  }
  .b-nav ul {
    padding-left: 15px;
  }
  .b-nav ul li {
    padding-left: 0;
  }
  .b-nav li:first-child {
    padding-top: 0;
  }
	.b-nav li {
		text-align: center;
	}
  .b-container {
    left: 15px;
    top: 15px;
  }
  .b-menu {
    height: 35px;
    width: 35px;
    padding-left: 7.5px;
    padding-top: 6.5px;
  }
  .b-bun--top, .b-bun--mid, .b-bun--bottom {
    width: 15px;
  }
  .b-bun--top {
    top: 2px;
  }
  .b-bun--mid {
    top: 6px;
  }
  .b-bun--bottom {
    top: 10px;
  }
  .b-brand {
    font-size: 10px;
  }
	.pager li {
    display: block;
		width: auto;
  }
	.pager li a {
		font-size: 12px;
	}
	.template-default .content figure.left {
		display: none;
	}
	.element-item {
		position: static !important;
		margin-bottom: 15px;
	}
	.element-item figure.effect-julia {
		max-width: 320px;
		margin: 0 auto;
		float: none;
	}
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    }

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}
