.grid {
	padding: 20px 20px 100px 20px;
	max-width: 1300px;
	margin: 0 auto;
	list-style: none;
	text-align: center;
}

.grid li {
	display: inline-block;
	/* width: 145px; */
	margin: 0;
	/* padding: 20px; */
	text-align: left;
	position: relative;
	/* margin: 5px; */
	cursor: pointer;

	/* -webkit-box-shadow: rgba(0, 0, 0, 0.2) 2px 2px 16px; */
    -moz-box-shadow: rgba(0, 0, 0, 0.2) 2px 2px 16px;

	/* box-shadow: rgba(0, 0, 0, 0.2) 2px 2px 16px; */
}

.grid li img
{
	width: 155px;
	height: 103px;}

.grid figure {
	margin: 0;
	position: relative;
}

.grid figure img {
	max-width: 100%;
	display: block;
	position: relative;
}

.grid figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 10px;
	color: #ed4e6e;
	text-align: center;
	/* text-transform: uppercase; */
}

.grid figcaption {
	background: #d00b2b;
}

.grid figcaption h3 {
	margin: 0;
	padding: 0;
	color: #F4F4F4;
	text-transform: uppercase !important;
	font-weight: normal;
}

.grid figcaption span:before {
	content: 'by ';
}

/* Individual Caption Styles */

/* Caption Style 1 */
.cs-style-1 figcaption {
	height: 100%;
	width: 100%;
	opacity: 0;
	text-align: center;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	-moz-transition: -moz-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
}

.no-touch .cs-style-1 figure:hover figcaption,
.cs-style-1 figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: translate(15px, 15px);
	-moz-transform: translate(15px, 15px);
	-ms-transform: translate(15px, 15px);
	transform: translate(15px, 15px);
}

.cs-style-1 figcaption h3 {
	margin-top: 70px;
}

.cs-style-1 figcaption span {
	display: block;
}

.cs-style-1 figcaption a {
	margin-top: 30px;
}

/* Caption Style 2 */
.cs-style-2 figure img {
	z-index: 10;
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .cs-style-2 figure:hover img,
.cs-style-2 figure.cs-hover img {
	-webkit-transform: translateY(-90px);
	-moz-transform: translateY(-90px);
	-ms-transform: translateY(-90px);
	transform: translateY(-90px);
}

.cs-style-2 figcaption {
	height: 90px;
	width: 100%;
	top: auto;
	bottom: 0;
}

.cs-style-2 figcaption a {
	position: absolute;
	right: 20px;
	top: 30px;
}

/* Caption Style 3 */
.cs-style-3 figure {
	overflow: hidden;
	cursor: pointer;
}

.cs-style-3 figure img {
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}


.no-touch .cs-style-3 figure:hover img,
.cs-style-3 figure.cs-hover img {
	-webkit-transform: translateY(-50px);
	-moz-transform: translateY(-50px);
	-ms-transform: translateY(-50px);
	transform: translateY(-50px);
}



.cs-style-3 figcaption {
	height: 103px;
	width: 100%;
	top: auto;
	bottom: 0;
	opacity: 0;
	-webkit-transform: translateY(100%);
	-moz-transform: translateY(100%);
	-ms-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
	transition: transform 0.4s, opacity 0.1s 0.3s;
}

.no-touch .cs-style-3 figure:hover figcaption,
.cs-style-3 figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
}

.cs-style-3 figcaption a {
	position: absolute;
	/* bottom: 20px; */
	/* right: 33px; */
}


/* Caption Style 4 */
.cs-style-4 li {
	-webkit-perspective: 1700px;
	-moz-perspective: 1700px;
	perspective: 1700px;
	-webkit-perspective-origin: 0 50%;
	-moz-perspective-origin: 0 50%;
	perspective-origin: 0 50%;
}

.cs-style-4 figure {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.cs-style-4 figure > div {
	overflow: hidden;
}

.cs-style-4 figure img {
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .cs-style-4 figure:hover img,
.cs-style-4 figure.cs-hover img {
	-webkit-transform: translateX(25%);
	-moz-transform: translateX(25%);
	-ms-transform: translateX(25%);
	transform: translateX(25%);
}

.cs-style-4 figcaption {
	height: 100%;
	width: 50%;
	opacity: 0;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform-origin: 0 0;
	-moz-transform-origin: 0 0;
	transform-origin: 0 0;
	-webkit-transform: rotateY(-90deg);
	-moz-transform: rotateY(-90deg);
	transform: rotateY(-90deg);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
	transition: transform 0.4s, opacity 0.1s 0.3s;
}

.no-touch .cs-style-4 figure:hover figcaption,
.cs-style-4 figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	transform: rotateY(0deg);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
}

.cs-style-4 figcaption a {
	position: absolute;
	bottom: 20px;
	right: 20px;
}

/* Caption Style 5 */
.cs-style-5 figure img {
	z-index: 10;
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .cs-style-5 figure:hover img,
.cs-style-5 figure.cs-hover img {
	-webkit-transform: scale(0.4);
	-moz-transform: scale(0.4);
	-ms-transform: scale(0.4);
	transform: scale(0.4);
}

.cs-style-5 figcaption {
	height: 100%;
	width: 100%;
	opacity: 0;
	-webkit-transform: scale(0.7);
	-moz-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7);
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
	-moz-transition: -moz-transform 0.4s, opacity 0.4s;
	transition: transform 0.4s, opacity 0.4s;
}

.no-touch .cs-style-5 figure:hover figcaption,
.cs-style-5 figure.cs-hover figcaption {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}

.cs-style-5 figure a {
	position: absolute;
	bottom: 20px;
	right: 20px;
}

/* Caption Style 6 */
.cs-style-6 figure img {
	z-index: 10;
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .cs-style-6 figure:hover img,
.cs-style-6 figure.cs-hover img {
	-webkit-transform: translateY(-50px) scale(0.5);
	-moz-transform: translateY(-50px) scale(0.5);
	-ms-transform: translateY(-50px) scale(0.5);
	transform: translateY(-50px) scale(0.5);
}

.cs-style-6 figcaption {
	height: 100%;
	width: 100%;
}

.cs-style-6 figcaption h3 {
	margin-top: 60%;
}

.cs-style-6 figcaption a {
	position: absolute;
	bottom: 20px;
	right: 20px;
}

/* Caption Style 7 */
.cs-style-7 li:first-child { z-index: 6; }
.cs-style-7 li:nth-child(2) { z-index: 5; }
.cs-style-7 li:nth-child(3) { z-index: 4; }
.cs-style-7 li:nth-child(4) { z-index: 3; }
.cs-style-7 li:nth-child(5) { z-index: 2; }
.cs-style-7 li:nth-child(6) { z-index: 1; }

.cs-style-7 figure img {
	z-index: 10;
}

.cs-style-7 figcaption {
	height: 100%;
	width: 100%;
	opacity: 0;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: opacity 0.3s, height 0.3s, box-shadow 0.3s;
	-moz-transition: opacity 0.3s, height 0.3s, box-shadow 0.3s;
	transition: opacity 0.3s, height 0.3s, box-shadow 0.3s;
	box-shadow: 0 0 0 0px #2c3f52;
}

.no-touch .cs-style-7 figure:hover figcaption,
.cs-style-7 figure.cs-hover figcaption {
	opacity: 1;
	height: 130%;
	box-shadow: 0 0 0 10px #2c3f52;
}

.cs-style-7 figcaption h3 {
	margin-top: 86%;
}

.cs-style-7 figcaption h3,
.cs-style-7 figcaption span,
.cs-style-7 figcaption a {
	opacity: 0;
	-webkit-transition: opacity 0s;
	-moz-transition: opacity 0s;
	transition: opacity 0s;
}

.cs-style-7 figcaption a {
	position: absolute;
	bottom: 20px;
	right: 20px;
}

.no-touch .cs-style-7 figure:hover figcaption h3,
.no-touch .cs-style-7 figure:hover figcaption span,
.no-touch .cs-style-7 figure:hover figcaption a,
.cs-style-7 figure.cs-hover figcaption h3,
.cs-style-7 figure.cs-hover figcaption span,
.cs-style-7 figure.cs-hover figcaption a {
	-webkit-transition: opacity 0.3s 0.2s;
	-moz-transition: opacity 0.3s 0.2s;
	transition: opacity 0.3s 0.2s;
	opacity: 1;
}

@media screen and (max-width: 31.5em) {
	.grid {
		padding: 10px 10px 100px 10px;
	}
	.grid li {
		width: 100%;
		min-width: 300px;
	}
}

div.designer {
	  position: absolute;
	  bottom: 5px;
	  color: #fff;
	  left: 5px;
}



#homeGallery .grid figcaption {
	/* background: rgba(208, 11, 43, 0.8); */
	background: rgba(0,0,0,0.6);
	border-top: 1px solid #696969;
}


#homeGallery .grid figcaption a.btn {
	text-align: center;
	padding: 20px;
	border-radius: 0px;
	display: inline-block;
	background: #d00b2b;
	color: #fff;
	border: none;
	position: relative;
	margin-top: 35px;
	/* font-size: 16px; */
	cursor: pointer;
}

#homeGallery .cs-style-3 figure:hover img,
#homeGallery .cs-style-3 figure.cs-hover img {
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(11px);
	/* transform: rotateZ(5deg); */
}

#homeGallery .cs-style-3 figcaption {
	height: 146px;
	width: 100%;
	/* margin-bottom: 9px; */
	cursor: pointer;
}


#homeGallery {
	z-index: 1000000;
}


#homeGallery .grid {
	padding: 0px 10px 0px 10px;
	max-width: 1300px;
	margin: 0 auto;
	list-style: none;
	text-align: center;
}

#homeGallery .grid li {
	display: inline-block;
	cursor: pointer;

	-webkit-box-shadow: none;

	-moz-box-shadow: none;

	box-shadow: none;
	margin-bottom: 20px;
	cursor: pointer;
	padding-left: 0;
}

#homeGallery .grid li img
{
	width: 100%;
	height: 156px;
	/* border: 1px solid #ccc; */
	margin-top: 20px;
}

#homeGallery .homeVignTitle {
  position: absolute;
  top: 0px;
  background-color: rgba(255, 255, 255, 1);
  background: #fff;
  color: #333;
  left: 0px;
  width: 100%;
  height: 30px;
  text-align: center;
  padding: 5px;
  font-weight: normal;
  line-height: 20px;
  border-bottom: none;
  font-size: 15px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 3px 16px;
}
#homeGallery .homeVignTitle a {
	color: #333;
}

#homeGallery .grid li img
{
	-webkit-box-shadow: inset 0px 0px 85px rgba(0,0,0,0.4);
	-moz-box-shadow:    inset 0px 0px 85px rgba(0,0,0,0.4);
	box-shadow:         inset 0px 0px 85px rgba(0,0,0,0.4);
}

#homeGallery .grid li figcaption h3 {
	font-weight: 200;
	font-size: 14px;
	display: none;
}


/*
#homeGallery {overflow: auto;}*/



#projectGallery .grid figcaption {
	/* background: rgba(208, 11, 43, 0.8); */
	background: rgba(0,0,0,0.8);
	border-top: 1px solid #696969;
}


#projectGallery .grid figcaption a {
	text-align: center;
	padding: 5px 10px;
	border-radius: 0px;
	display: inline-block;
	background: #d00b2b;
	color: #fff;
	border: none;
}

#projectGallery .cs-style-3 figure:hover img,
#projectGallery .cs-style-3 figure.cs-hover img {
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(11px);
	/* transform: rotateZ(5deg); */
}

#projectGallery .cs-style-3 figcaption {
	height: 100%;
	width: 100%;
	margin-bottom: 0;
	cursor: pointer;
	padding: 15px;
}


#projectGallery .cs-style-3 figcaption a {
	position: relative;
	width: 150px;
	margin: 0 auto;
	margin-top: 20px;
	/* bottom: 50%; */
	/* left: 50%; */
	/* margin-left: -33%; */
	cursor: pointer;
}

#projectGallery .grid {
	padding: 0px 10px 0px 10px;
	max-width: 1300px;
	margin: 0 auto;
	list-style: none;
	text-align: center;
}

#projectGallery .grid li {
	display: inline-block;
	cursor: pointer;

	-webkit-box-shadow: none;

	-moz-box-shadow: none;

	box-shadow: none;
	margin-bottom: 20px;
	cursor: pointer;
}

#projectGallery .grid li img
{
	width: 100%;
	height: 195px;
	/* border: 1px solid #ccc; */
	margin-top: 50px;
	/* max-height: 222px; */
}

#projectGallery .homeVignTitle {
	position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  min-height: 68px;
  background: rgb(243, 243, 243);
  color: #333;
  font-size: 15px;
  text-align: center;
  padding: 10px 5px 0px 5px;
  font-weight: normal;
  line-height: 24px;
  /*border-bottom: none;*/
  box-shadow: rgba(0, 0, 0, 0.5) 0px 3px 16px;
}


#projectGallery .homeVignTitle i {
	position: absolute;
	top: 28px;
	/* margin: 0; */
	right: 20px;
	/* padding: 0; */
	display: block;
}

@media(min-width: 380px)
{
	#projectGallery .homeVignTitle i {
		display: none;
	}
}

#projectGallery .grid li img
{
	-webkit-box-shadow: inset 0px 0px 85px rgba(0,0,0,0.4);
	-moz-box-shadow:    inset 0px 0px 85px rgba(0,0,0,0.4);
	box-shadow:         inset 0px 0px 85px rgba(0,0,0,0.4);
}

#projectGallery .grid li figcaption h3 {
	font-weight: 200;
	font-size: 14px;
	display: none;
}

#projectGallery .description {
	position: relative;
	color: #E6E6E6;
	font-size: 13px;
	text-align: center;
	margin-top: 7px;
	line-height: 20px;
  height: 100%;
}
#projectGallery .description p {
	text-align: left;
	font-size: 14px;
	line-height: 20px;
	overflow: hidden;
	text-overflow: ellipsis;
}
#projectGallery .description .see-project-btn {
	position: absolute;
	bottom: 10px;
	left: 50%;
	margin-left: -75px;
	font-size: 16px;
	padding: 8px 0;
}




/* DOCUMENTATIONS */
#category-documentation .grid figcaption {
	/* background: rgba(208, 11, 43, 0.8); */
	background: rgba(0,0,0,0.8);
	border-top: 1px solid #696969;
}

#category-documentation .grid figcaption a{
	color: #fff;
	border: none;
}

#category-documentation .grid figcaption a.see-project-btn {
	text-align: center;
	padding: 5px 10px;
	border-radius: 0px;
	display: inline-block;
	background: #d00b2b;
	color: #fff;
	border: none;
}
#category-documentation .grid figcaption .read-project-btn:before {
	content: '';
}
#category-documentation .grid figcaption .read-project-btn {
	width: 100%;
	font-size: 15px;
	text-align: center;
	padding: 10px 4px;
	margin: 5px 0 0 0;
	border-radius: 0px;
	display: inline-block;
	background: #d00b2b;
	color: #fff;
	border: none;
}

#category-documentation .cs-style-3 figure:hover img,
#category-documentation .cs-style-3 figure.cs-hover img {
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(11px);
	/* transform: rotateZ(5deg); */
}

#category-documentation .cs-style-3 figcaption {
	height: 100%;
	width: 100%;
	/* margin-bottom: 9px; */
	cursor: pointer;
	padding: 15px;
}


#category-documentation .cs-style-3 figcaption a {
	position: relative;
	width: 150px;
	margin: 0 auto;
	margin-top: 20px;
	/* bottom: 50%; */
	/* left: 50%; */
	/* margin-left: -33%; */
	cursor: pointer;
}

#category-documentation .grid {
	padding: 0px 10px 0px 10px;
	max-width: 1300px;
	margin: 0 auto;
	list-style: none;
	text-align: center;
}

#category-documentation .grid li {
	display: inline-block;
	cursor: pointer;

	-webkit-box-shadow: none;

	-moz-box-shadow: none;

	box-shadow: none;
	margin-bottom: 20px;
	cursor: pointer;
}

#category-documentation .grid li img
{
	width: 100%;
	height: 300px;
	/* border: 1px solid #ccc; */
	margin-top: 68px;
	/* max-height: 222px; */
}

#category-documentation .homeVignTitle {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	min-height: 68px;
	background: rgb(243, 243, 243);
	color: #333;
	font-size: 15px;
	text-align: center;
	padding: 10px 5px 0px 5px;
	font-weight: normal;
	line-height: 24px;
	/*border-bottom: none;*/
	/* box-shadow: rgba(0, 0, 0, 0.5) 0px 3px 16px; */
}


#category-documentation .homeVignTitle i {
	position: absolute;
	top: 28px;
	/* margin: 0; */
	right: 20px;
	/* padding: 0; */
	display: block;
}

@media(min-width: 380px)
{
	#category-documentation .homeVignTitle i {
		display: none;
	}
}

#category-documentation .grid li img
{
	/* -webkit-box-shadow: inset 0px 0px 85px rgba(0,0,0,0.4); */
	-moz-box-shadow:    inset 0px 0px 85px rgba(0,0,0,0.4);
	/* box-shadow:         inset 0px 0px 85px rgba(0,0,0,0.4); */
	border: 1px solid #f5f5f5;
}

#category-documentation .grid li figcaption h3 {
	font-weight: 200;
	font-size: 14px;
	display: none;
}

#category-documentation .description {
	position: relative;
	color: #E6E6E6;
	font-size: 13px;
	text-align: center;
	margin-top: 7px;
	line-height: 20px;
	height: 100%;
	overflow: hidden;
}

#category-documentation .description-mobile {
	position: relative;
	color: #E6E6E6;
	font-size: 13px;
	text-align: center;
	margin-top: 7px;
	line-height: 20px;
	height: 100%;
	overflow: hidden;
	margin-top: 0;
	background: #f7f7f7;
	padding: 20px;
}

#category-documentation .description-mobile .see-project-mobile-btn {
	font-size: 18px;
	float: left;
	width: 50%;
}

#category-documentation .description p {
	text-align: left;
	font-size: 14px;
	line-height: 20px;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: 500;
}

#category-documentation .description .see-project-btn {
	font-size: 16px;
	padding: 8px 0;
	float: left;
	width: 40%;
	margin: 10px;
}
