/*--------------------------------------------------------------
# Masonry
--------------------------------------------------------------*/

.grid {
	margin-top: 60px;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

.grid-sizer,
.grid-item {
	width: 100%;
	margin-bottom: 20px;
	/*line-height: 0;*/
	float:left;
	/*opacity: 0;*/
	/*transition: opacity 0.5s ease-in-out;*/
}

.grid-item-inner {
	position: absolute;
  height: 100%;
  width: 100%;
}

@media (min-width: 768px) and (max-width: 970px) {
	.grid-sizer, .grid-item {
		width: 42px;
	}
}

@media screen and (min-width: 970px) {
	.grid-sizer, .grid-item {
		width: 60px;
	}
}

@media screen and (min-width: 1200px) {
	.grid-sizer, .grid-item {
		width: 70px;
		margin-bottom: 30px;
	}
}

/*@media screen and (min-width: 768px) {
	.grid-item {
		width: calc((33.333333% - 30px) + (30px / 3)) ;
	}
}*/

.no-gutter-sizer { width: 0px; }

.gutter-sizer { width: 20px; }

@media screen and (min-width: 1200px) {
	.gutter-sizer { width: 30px; }
}

.masonry-unset-height {
	height: unset !important;
}
.masonry-unset-height .grid-image-container {
	padding-top: 0;
}
.masonry-unset-height .grid-image-container img {
	height: unset !important;
	position: relative !important;
}

.grid-image-container {
	padding-top: 100%;
}

.grid-image-container img {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
	z-index: 2;
	transition: all 0.3s;
}

.grid-overlay {
	background-color: #000000;
	/*background-color: #e94e1b;*/
	opacity: 0;
	position: absolute;
	height: 100%;
	width: 100%;
	z-index: 3;
	transition: all 0.3s;
	display: table;
}

.grid-overlay:hover {
	opacity: 0.8;
}

.grid-item:hover > .grid-image-container img {
	transform: scale(1.1);
}

.grid-title-container {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	padding: 0 1em;
}

.grid-title {
	font-weight: bold;
	color: #ffffff;
	line-height: normal;
	margin-bottom: 0;
	font-size: 2em;
	text-transform: uppercase;
}

.grid-subtitle {
	font-size: 0.8em;
	color: #ffffff;
}

.grid-item {
	overflow: hidden;
}


.masonry-col-1,
.masonry-col-2,
.masonry-col-3,
.masonry-col-4,
.masonry-col-5,
.masonry-col-6,
.masonry-col-7,
.masonry-col-8,
.masonry-col-9,
.masonry-col-10,
.masonry-col-11,
.masonry-col-12 {
    float: left;
		width: 100%;
}

@media (min-width: 768px) and (max-width: 970px) {
	.masonry-col-1 {
		width: 8.33333333%;
	}
	.gutter-masonry-col-1 {
		width: 42px;
	}
	.gutter-masonry-row-1 {
		height: 42px;
	}

	.masonry-col-2 {
		width: 16.66666667%;
	}
	.gutter-masonry-col-2 {
		width: 104px;
	}
	.gutter-masonry-row-2 {
		height: 104px;
	}

	.masonry-col-3 {
		width: 25%;
	}
	.gutter-masonry-col-3 {
		width: 166px;
	}
	.gutter-masonry-row-3 {
		height: 166px;
	}

	.masonry-col-4 {
		width: 33.33333333%;
	}
	.gutter-masonry-col-4 {
		width: 228px;
	}
	.gutter-masonry-row-4 {
		height: 228px;
	}

	.masonry-col-5 {
		width: 41.66666667%;
	}
	.gutter-masonry-col-5 {
		width: 290px;
	}
	.gutter-masonry-row-5 {
		height: 290px;
	}

	.masonry-col-6 {
		width: 50%;
	}
	.gutter-masonry-col-6 {
		width: 352px;
	}
	.gutter-masonry-row-6 {
		height: 352px;
	}

	.masonry-col-7 {
		width: 58.33333333%;
	}
	.gutter-masonry-col-7 {
		width: 414px;
	}
	.gutter-masonry-row-7 {
		height: 414px;
	}

	.masonry-col-8 {
		width: 66.66666667%;
	}
	.gutter-masonry-col-8 {
		width: 476px;
	}
	.gutter-masonry-row-8 {
		height: 476px;
	}

	.masonry-col-9 {
		width: 75%;
	}
	.gutter-masonry-col-9 {
		width: 538px;
	}
	.gutter-masonry-row-9 {
		height: 538px;
	}

	.masonry-col-10 {
		width: 83.33333333%;
	}
	.gutter-masonry-col-10 {
		width: 600px;
	}
	.gutter-masonry-row-10 {
		height: 600px;
	}

	.masonry-col-11 {
		width: 91.66666667%;
	}
	.gutter-masonry-col-11 {
		width: 662px;
	}
	.gutter-masonry-row-11 {
		height: 662px;
	}

	.masonry-col-12 {
		width: 100%;
	}
	.gutter-masonry-col-12 {
		width: 724px;
	}
	.gutter-masonry-row-12 {
		height: 724px;
	}


}

@media screen and (min-width: 970px) and (max-width: 1200px) {
	.gutter-masonry-col-1 {
		width: 60px;
	}
	.gutter-masonry-row-1 {
		height: 60px;
	}

	.gutter-masonry-col-2 {
		width: 140px;
	}
	.gutter-masonry-row-2 {
		height: 140px;
	}

	.gutter-masonry-col-3 {
		width: 220px;
	}
	.gutter-masonry-row-3 {
		height: 220px;
	}

	.gutter-masonry-col-4 {
		width: 300px;
	}
	.gutter-masonry-row-4 {
		height: 300px;
	}

	.gutter-masonry-col-5 {
		width: 380px;
	}
	.gutter-masonry-row-5 {
		height: 380px;
	}

	.gutter-masonry-col-6 {
		width: 460px;
	}
	.gutter-masonry-row-6 {
		height: 460px;
	}

	.gutter-masonry-col-7 {
		width: 540px;
	}
	.gutter-masonry-row-7 {
		height: 540px;
	}

	.gutter-masonry-col-8 {
		width: 620px;
	}
	.gutter-masonry-row-8 {
		height: 620px;
	}

	.gutter-masonry-col-9 {
		width: 700px;
	}
	.gutter-masonry-row-9 {
		height: 700px;
	}

	.gutter-masonry-col-10 {
		width: 780px;
	}
	.gutter-masonry-row-10 {
		height: 780px;
	}

	.gutter-masonry-col-11 {
		width: 860px;
	}
	.gutter-masonry-row-11 {
		height: 860px;
	}

	.gutter-masonry-col-12 {
		width: 940px;
	}
	.gutter-masonry-row-12 {
		height: 940px;
	}
}

@media screen and (min-width: 1200px) {
	.gutter-masonry-col-1 {
		width: 70px;
	}
	.gutter-masonry-row-1 {
		height: 70px;
	}

	.gutter-masonry-col-2 {
		width: 170px;
	}
	.gutter-masonry-row-2 {
		height: 170px;
	}

	.gutter-masonry-col-3 {
		width: 270px;
	}
	.gutter-masonry-row-3 {
		height: 270px;
	}

	.gutter-masonry-col-4 {
		width: 370px;
	}
	.gutter-masonry-row-4 {
		height: 370px;
	}

	.gutter-masonry-col-5 {
		width: 470px;
	}
	.gutter-masonry-row-5 {
		height: 470px;
	}

	.gutter-masonry-col-6 {
		width: 570px;
	}
	.gutter-masonry-row-6 {
		height: 570px;
	}

	.gutter-masonry-col-7 {
		width: 670px;
	}
	.gutter-masonry-row-7 {
		height: 670px;
	}

	.gutter-masonry-col-8 {
		width: 770px;
	}
	.gutter-masonry-row-8 {
		height: 770px;
	}

	.gutter-masonry-col-9 {
		width: 870px;
	}
	.gutter-masonry-row-9 {
		height: 870px;
	}

	.gutter-masonry-col-10 {
		width: 970px;
	}
	.gutter-masonry-row-10 {
		height: 970px;
	}

	.gutter-masonry-col-11 {
		width: 1070px;
	}
	.gutter-masonry-row-11 {
		height: 1070px;
	}

	.gutter-masonry-col-12 {
		width: 1170px;
	}
	.gutter-masonry-row-12 {
		height: 1170px;
	}
}

.portfolio-full-width {
	/*height: 500px;*/
  /*overflow: hidden;*/
  position: relative;
}

.portfolio-full-width img {
	/*position: absolute;*/
	position: relative;
	/*left: -9999px;*/
	/*right: -9999px;*/
	/*top: -9999px;*/
	/*bottom: -9999px;*/
	margin: auto;
	min-width: 100%;
}

.portfolio-container {
	margin-top: 60px;
}

.portfolio-single-title {
  text-transform: uppercase;
	font-size: 2em;
}
@media screen and (min-width: 768px) {
	.portfolio-single-title {
		font-size: 2.5em;
	}
}

.portfolio-single-subtitle {
	font-size: 0.8em;
}

.portfolio-section {
	max-width: 960px;
  width: 90%;
  margin: 60px auto;
  padding-bottom: 40px;
  position: relative;
}

.portfolio-section hr {
	background-color: #eeeeee;
	border: 0;
	height: 1px;
	margin: 5.5em 0em;
	clear: both;
	width: 100vw;
	left: calc(-50vw + 50%);
	position: relative;
}

.portfolio-categories {
	text-align: center;
}

.portfolio-categories ul {
	list-style: none;
  margin: 0;
  padding-left: 0;
	display: inline-block;
}

.portfolio-categories li {
	float: left;
	position: relative;
	margin-left: 40px;
}

.portfolio-categories li:first-child {
	margin-left: 0px;
}

.portfolio-categories li:hover {
	cursor: pointer;
	color: #000000;
}

.project-details {
	font-size: 0.8em;
}

@media screen and (min-width: 768px) {
	.project-details {
		float: left;
		margin-right: 10em;
	}
}

.project-details:after,
.project-details:before {
	content: "";
	display: table;
}

.project-details:after {
	clear: both;
}

.project-detail {
	display: block;
	margin-bottom: 1em;
	margin-right: 40px;
	float:left;
}

.project-detail:last-child {
	margin-right: 0px;
}

@media screen and (min-width: 768px) {
	.project-detail {
		float: none;
	}
}

.project-title {
	margin-bottom: 0px;
	text-transform: uppercase;
}

.project-subtitle {
	font-size: 0.8em;
	margin-top: 0px;
}
