.flickity-enabled {
	position: relative;
}
.flickity-enabled:focus {
	outline: none;
}
.flickity-viewport {
	overflow: hidden;
	position: relative;
	height: 100%;
}
.flickity-inner {
	position: absolute;
	width: 100%;
	height: 100%;
}
.view {
	position: relative;
	float: left;
	background-color: #fff;
	height: 100%;
	border-bottom: 1px solid rgba(153, 114, 171, 1);
	padding: 50px 0 80px 0;
	z-index: 111;
}
.view h1 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	text-transform: uppercase;
	color: #fff;
	letter-spacing: 2px;
}
/* Project grid */

.grid {
	position: relative;
	overflow: hidden;
	max-width: 1500px;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
	-khtml-user-select: none;
}
/* Common style */
.grid__item figure {
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
	display: inline-block;
	overflow: hidden;
	margin: 10px;
	max-width: 100%;
	text-align: center;
	cursor: pointer;
	border: 11px solid rgba(105, 205, 181, 0);
}
.grid__item figure img {
	position: relative;
	display: block;
	width: 100%;
}
.grid__item figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.grid__item figure figcaption::before, .grid__item figure figcaption::after {
	pointer-events: none;
}
.grid__item figure figcaption, .grid__item figure a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.grid__item figure a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
	background: #4e4e4e;
}
.grid__item figure h1 {
	word-spacing: -0.15em;
	font-weight: 300;
}
.grid__item figure h1 span {
	font-weight: 800;
}
.grid__item figure h1, .grid__item figure p {
	margin: 0;
}
.grid__item figure p {
	letter-spacing: 1px;
	font-size: 78.5%;
	font-weight: 800;
}
/* ----hover---- */

figure.effect {
	background: rgba(106, 208, 183, 0.9);
}
figure.effect img {
	/* -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; */
	/* transition: opacity 0.35s, transform 0.35s; */
	transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: scale(1);
	transform: scale(1);
}
figure.effect:hover img {
	opacity: 0.2;
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
}
figure.effect h1 {
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 1em 1.2em;
}
figure.effect p {
	padding: 0 10px 0 0;
	width: 50%;
	border-right: 1px solid #fff;
	text-align: right;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-40px, 0, 0);
	transform: translate3d(-40px, 0, 0);
}
figure.effect:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}
/* Loader */
.grid__loader {
	display: none;
	margin: 3em auto 0;
}
.grid--loading .grid__loader {
	display: block;
}
/* Clearfix */

.grid:after {
	content: '';
	display: block;
	clear: both;
}
/* Grid items */

.grid--loading .grid__item {
	visibility: hidden;
}
.grid__sizer, .grid__item {
	position: relative;
	float: left;
	width: 45.9%;
	padding: 0 25px;
}
.grid__item img {
	border: 1px solid #d5d5d5;
}
.grid__item a:focus-visible {
	 outline: 4px solid #ff60a5;
 outline-offset: -2px;
}
.size-a {
	width: 40.9%;
	float: right;
	margin: 2em 4% 0 0;
}
.size-b {
	width: 53.2%;
	margin: 0 0 0 .5em;
	max-width: 614px;
}
.size-c {
	width: 36%;
	margin: 1.75em 0 1.75em 12.5em;
}
.size-c h1 {
	margin-top: 70px;
}
.size-d {
	width: 42%;
	float: right;
	text-align: right;
	margin: -150px 1em 20px 0;
	max-width: 495px;
}
.size-e {
	width: 29%;
	padding: 3.5em .95em 2em .5em;
	max-width: 400px;
}
.size-f {
	width: 32%;
	float: right;
	padding: 3.5em 1em 1.75em 1.35em;
	max-width: 429px;
}
.size-g {
	width: 30.5%;
	padding: 0;
	margin: 10px 0 0 33.33%;
}
.size-g h1 {
	margin-top: 0;
}
.size-h {
	width: 32%;
	padding: 1.75em .75em 1.75em .75em;
	max-width: 409px;
}
.size-i {
	width: 46.3%;
	margin: -25px 0 0 -3px;
	padding: 0;
}
.size-j {
	width: 48%;
	float: right;
	text-align: right;
	max-width: 578px;
	margin: 2em 1em 0 0;
}
.size-k {
	width: 38%;
	float: right;
	margin: 3.5em 1em 5em 0;
	max-width: 467px;
}
.size-l {
	width: 49%;
	float: right;
	margin: -5em 0 0 0;
	padding: 0 0 2.5em;
}
.size-l h1 {
	margin-top: 96px;
}
.size-m {
	width: 41%;
	margin: 3em 0 0 .75em;
	max-width: 496px;
}
.size-n {
	margin: 0 .3em 3.5em 3em;
	width: 43%;
	float: left;
	text-align: left;
}
.size-o {
	max-width: 300px;
	width: 21%;
	padding: 0.75em .15em 0 .5em;
}
.size-p {
	width: 53.2%;
	max-width: 614px;
	padding: 0 0 0 .5em;
}
.size-q {
	width: 38.5%;
	float: right;
	margin: 3.5em 1em 20px 0;
	max-width: 441px;
}
.size-r {
	width: 45.4%;
	float: right;
	text-align: right;
	max-width: 471px;
}
.size-s {
	width: 46%;
	max-width: 471px;
	margin: 3.5em 0 1.75em .5em;
}
.textBox_inner-1, .textBox_inner-2, .textBox_inner-3, .textBox_inner-4, .textBox_inner-5 {
	position: relative;
	overflow: visible;
	z-index: 1;
	padding: 15px;
}
/* Gallery */

.inner__item {
	width: 100%;
}
.inner__item img {
	width: 100%;
	vertical-align: bottom;
}
/* fadeIn */
.imageBox {
	position: relative;
	overflow: visible;
	z-index: 1;
}
.figure {
	position: absolute;
	top: 0;
	left: 0;
}
/* transition fadeIn */

.imageBox .tr-opacity {
	height: 100%;
	width: 100%;
	z-index: 999;
	text-align: center;
	background: rgba(255, 255, 255, 0.75);
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	-webkit-transition: opacity 0.4s ease-in-out;
	-moz-transition: opacity 0.4s ease-in-out;
	-ms-transition: opacity 0.4s ease-in-out;
	-o-transition: opacity 0.4s ease-in-out;
	transition: opacity 0.4s ease-in-out;
	border: 1px solid #ddd;
}
.imageBox .tr-opacity p {
	text-align: center;
	position: relative;
	margin: 0 auto;
	width: 70%;
	font-weight: 600;
	font-size: 17px;
	color: #505050;
	text-transform: uppercase;
	letter-spacing: 1px;
	border: 3px solid #676767;
	padding: 7px 16px;
	outline: none;
}
.imageBox:hover .tr-opacity {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	filter: alpha(opacity=80);
	opacity:1;
}
.imageBox .tr-opacity h1 {
	width: 100%;
	position: absolute;
	top: 48%;
	left: 0;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	font-size: 20px;
	text-decoration: none;
	font-weight: 400;
	padding: 0 9px 0 5px;
	text-transform: uppercase;
	text-align: center;
	vertical-align: middle;
	color: #454545;
}
 @media screen and (max-width: 480px) {
.view {
	margin: 0 0 5px 0;
	padding: 0 5px 70px 0;
}
.size-b, .size-d, .size-e, .size-f, .size-h, .size-j, .size-k, .size-m, .size-n, .size-o, .size-p, .size-q, .size-r, .size-s {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	text-align: center;
	padding: .5em .5em 1.5em .8em;
	float: left;
}
.size-a, .size-c, .size-g, .size-i, .size-l {
	width: 80%;
	max-width: 80%;
	margin: 0.5em 17% 0 17%;
	text-align: left;
	padding: 0 0 0.5em 0;
	float: right;
}
}
@media screen and (min-width: 480px) and (max-width: 660px) {
.view {
	text-align: center;
	float: none;
	margin: -40px 0 5px -5px;
}
.grid {
	max-width: 90%;
}
.grid__loader {
	margin: 0 auto;
}
.size-b, .size-d, .size-e, .size-f, .size-h, .size-j, .size-k, .size-m, .size-n, .size-o, .size-p, .size-q, .size-r, .size-s {
	width: 80%;
	margin: 1em auto;
	text-align: center;
	padding: .5em;
	float: none;
}
.size-a, .size-c, .size-g, .size-i, .size-l {
	width: 70%;
	max-width: 70%;
	margin: .5em 19%;
	padding: 0 .5em .5em 0;
	float: right;
}
.size-o {
	max-width: 320px;
}
}
@media screen and (min-width: 660px) and (max-width: 767px) {
.view {
	margin: 0 10px 5px 10px;
	padding: 30px 0 70px 0;
}
.size-c {
	margin: 1.75em 0 1.75em 8.5em;
}
.size-d {
	margin: -50px 0 0 0;
	width: 41%;
}
.size-f {
	width: 31%;
	padding: 1.75em 1em 1.75em 0;
}
.size-i {
	width: 44.3%;
	padding: 0 0 0 13px;
	margin-top: 10px;
}
.size-j {
	margin: 1.5em 0 -0.5em 0;
}
.size-l {
	margin: 1em 0 0 0;
}
.size-m {
	width: 44%;
	margin: 1.5em 0 0 .75em;
	padding: 0;
}
.size-o {
	max-width: 300px;
	width: 20%;
	padding: .25em .6em 0 0;
}
.size-q {
	margin: 1.75em .25em 1.75em 0;
}
.size-r {
	width: 47.4%;
	padding: 0 1em 3.8em 0;
}
}
 @media screen and (max-width: 767px) {
.grid__item .textBox {
	padding: 0;
	margin: 0 0 0 -15px;
	text-align: left;
}
.view h1 {
	margin: 5px 0 0 0;
	font-size: 36px;
}
}
@media screen and (min-width: 767px) and (max-width: 1024px) {
.view {
	margin: 0;
	padding: 40px 3px 80px 3px;
}
.size-a {
	margin: 0 4% 0 0;
}
.size-c {
	margin: 1.75em 0 1.75em 8.5em;
}
.size-d {
	margin: -100px .5em 0 0;
}
.size-e {
	padding: 2.75em .15em 1.5em .7em;
}
.size-f {
	padding: 1.75em .5em 1.75em 0;
}
.size-j {
	width: 45.4%;
	padding: 0 .5em 1.75em 0;
	margin: 2em 1em 0 0;
}
.size-k {
	padding: .75em .5em 0 0;
}
.size-m {
	margin: 1.5em 0 0 0.75em;
	width: 45%;
	padding: 0;
}
.size-o {
	width: 19%;
	padding: 1.75em 0 0 1.56em;
}
.size-r {
	padding: 0 .5em 1.4em 0;
}
}
@media screen and (min-width: 1024px) and (max-width: 1140px) {
.size-d {
	margin: -310px .75em 20px 0;
}
.size-f {
	padding: 1.75em .75em 1.75em 0;
}
.size-g {
	width: 29.4%;
}
.size-j {
	width: 44.4%;
	padding: 0 0 .75em 0;
}
.size-k {
	width: 39.7%;
	padding: .75em 0 0 0;
}
.size-l {
	margin: -2em .75em 0 1em;
}
.size-m {
	margin: 3em 0 .75em .75em;
	width: 48%;
	padding: 0 25px 0 0;
}
.size-o {
	width: 18%;
	padding: .75em .15em 0 0em;
}
.size-p {
	margin: 0 .75em 0 2em;
}
.size-q {
	margin: 1.75em .75em 1.75em 0;
}
.size-r {
	padding: 0 .5em 2.1em 0;
}
}
