body {
	overflow-y: scroll; /* prevent jump */
	overflow-x: hidden;
}

/* hidden class for the SVG */
.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
}

/* Global thumbnail navigation */
.thumb-nav {
	position: fixed;
	bottom: 90px;
	left: 50%;
	z-index: 1000;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-transition: -webkit-transform 0.6s, opacity 0.6s;
	transition: transform 0.6s, opacity 0.6s;
	-webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
	transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
	
	-webkit-transform:translateX(-50%);
	-moz-transform:translateX(-50%);
	-ms-transform:translateX(-50%);
	transform:translateX(-50%);
}

.thumb-nav--hide {
	opacity: 0;
	-webkit-transform: translate3d(0, -200px, 0);
	transform: translate3d(0, -200px, 0);
	visibility: hidden;
	pointer-events: none;
}

.thumb-nav__item {
	position: relative;
	display: block;
	margin-right: 20px;
	border: 1px solid #fff;
	border-radius: 50%;
	color: #fff;
}
.thumb-nav__item:hover,
.thumb-nav__item:focus{
	border-radius: 50%;
}

.thumb-nav__item img {
	display: block;
	border-radius: 50%;
	-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
	transition: opacity 0.3s, transform 0.3s;
	z-index:1;
	width:150px;
	height:150px;
}
.thumb-nav__item:after{
	content:'';
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;
	border-radius: 50%;
	pointer-events: none;
	background:rgba(0,0,0,0.5);
	z-index:2;
}

.thumb-nav__item--current img,
.thumb-nav__item:hover img {
	opacity: 0.95;
	border-radius: 50%;
	-webkit-transform: scale3d(0.85, 0.85, 1);
	transform: scale3d(0.85, 0.85, 1);
}
.thumb-nav__item--current:after{
	background:rgba(0,0,0,0.5);
	z-index:-1;
}

.thumb-nav__item span {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	text-align: center;
	font-size: 14px;
	line-height: 17px;
	margin-top: 10px;
}

@media only screen and (max-width: 1200px) {
	.thumb-nav__item img {
		width:120px;
		height:120px;
	}
}
@media only screen and (max-width: 1000px) {
	.thumb-nav__item img {
		width:100px;
		height:100px;
	}
	.thumb-nav__item span {
		font-size: 13px;
		line-height: 16px;
	}
}

/* Container styles */
.container,
.container::after {
	position: absolute; 
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	opacity: 0;
	pointer-events: none;
}

.container {
	z-index: 1;
	overflow: hidden;
	background: #2a2e39;
	-webkit-transform-origin: 50% 120%;
	transform-origin: 50% 120%;
}

.container::after {
	z-index: 1000;
	background: #000;
	content: '';
	-webkit-transition: opacity 0.9s;
	transition: opacity 0.9s;
	-webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
	transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.container--animOutRight::after,
.container--animOutLeft::after {
	opacity: 1;
}

.container--current {
	position: absolute;
	z-index: 100;
	height: auto;
	opacity: 1;
	pointer-events: auto;
}

.container--animInRight,
.container--animInLeft {
	z-index: 101;
	opacity: 1;
}

.container--animInRight,
.container--animInLeft,
.container--animOutRight,
.container--animOutLeft {
	-webkit-animation-timing-function: cubic-bezier(0.7,0,0.3,1);
	animation-timing-function: cubic-bezier(0.7,0,0.3,1);
	-webkit-animation-duration: 0.9s;
	animation-duration: 0.9s;
	-webkit-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
}

.container--animInRight {
	-webkit-animation-name: animInRight;
	animation-name: animInRight;
}

.container--animInLeft {
	-webkit-animation-name: animInLeft;
	animation-name: animInLeft;
}

.container--animOutRight {
	-webkit-animation-name: animOutRight;
	animation-name: animOutRight;
}

.container--animOutLeft {
	-webkit-animation-name: animOutLeft;
	animation-name: animOutLeft;
}

@-webkit-keyframes animOutLeft {
	from {} /* Fixes Chrome issue 35.0.1916.114 (easing breaks) */
	to {
		-webkit-transform: rotate3d(0,0,1,-20deg) translate3d(-100%,0,0);
		opacity: 0;
	}
}

@keyframes animOutLeft {
	from {} /* Fixes Chrome issue 35.0.1916.114 (easing breaks) */
	to {
		-webkit-transform: rotate3d(0,0,1,-20deg) translate3d(-100%,0,0);
		transform: rotate3d(0,0,1,-20deg) translate3d(-100%,0,0);
		opacity: 0;
	}
}

@-webkit-keyframes animInRight {
	from {
		-webkit-transform: rotate3d(0,0,1,20deg) translate3d(100%,0,0);
		opacity: 0;
	}
	to {
		-webkit-transform: rotate3d(0,0,1,0deg) translate3d(0,0,0);
	}
}

@keyframes animInRight {
	from {
		-webkit-transform: rotate3d(0,0,1,20deg) translate3d(100%,0,0);
		transform: rotate3d(0,0,1,20deg) translate3d(100%,0,0);
		opacity: 0;
	}
	to {
		-webkit-transform: rotate3d(0,0,1,0deg) translate3d(0,0,0);
		transform: rotate3d(0,0,1,0deg) translate3d(0,0,0);
	}
}

@-webkit-keyframes animOutRight {
	from {} /* Fixes Chrome issue 35.0.1916.114 (easing breaks) */
	to {
		-webkit-transform: rotate3d(0,0,1,20deg) translate3d(100%,0,0);
		opacity: 0;
	}
}

@keyframes animOutRight {
	from {} /* Fixes Chrome issue 35.0.1916.114 (easing breaks) */
	to {
		-webkit-transform: rotate3d(0,0,1,20deg) translate3d(100%,0,0);
		transform: rotate3d(0,0,1,20deg) translate3d(100%,0,0);
		opacity: 0;
	}
}

@-webkit-keyframes animInLeft {
	from {
		-webkit-transform: rotate3d(0,0,1,-20deg) translate3d(-100%,0,0);
		opacity: 0;
	}
	to {
		-webkit-transform: rotate3d(0,0,1,0deg) translate3d(0,0,0);
	}
}

@keyframes animInLeft {
	from {
		-webkit-transform: rotate3d(0,0,1,-20deg) translate3d(-100%,0,0);
		transform: rotate3d(0,0,1,-20deg) translate3d(-100%,0,0);
		opacity: 0;
	}
	to {
		-webkit-transform: rotate3d(0,0,1,0deg) translate3d(0,0,0);
		transform: rotate3d(0,0,1,0deg) translate3d(0,0,0);
	}
}

.intro {
	position: fixed;
	z-index: 10;
	overflow: hidden;
	width: 100%;
	height: 100vh;
	background: #2a2e39;
	-webkit-transition: -webkit-transform 0.6s;
	transition: transform 0.6s;
	-webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
	transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.container--animInRight .intro,
.container--animInLeft .intro,
.container--animOutRight .intro,
.container--animOutLeft .intro {
	position: absolute;
}

.container--open .intro {
	-webkit-transform: translate3d(0, -100%, 0) translate3d(0, 250px, 0);
	transform: translate3d(0, -100%, 0) translate3d(0, 250px, 0);
}

/* Fullscreen image */
.intro__image {
	position: absolute;
	bottom: 0;
	min-width: 100%;
	min-height: 120%;
	width: 100%;
	height: auto;
	opacity: 0.8;
	background-size:cover;
	background-repeat:no-repeat;
	background-position:20%;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-transition: -webkit-transform 0.6s, opacity 0.6s;
	transition: transform 0.6s, opacity 0.6s;
	-webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
	transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}
.intro__image.bg_servicos {
	background-position:65%;
}

.container--open .intro__image {
	opacity: 0;
	-webkit-transform: translate3d(0, 20%, 0);
	transform: translate3d(0, 20%, 0);
}

/* Intro content */
.intro__content {
	position: absolute;
	bottom: 0;
	padding: 1.8em;
	width: 100%;
	font-size: 1.15em;
}
.container--open .intro__content{
	bottom: 25px;
}

.intro__title {
	margin: 0 0 20px;
	font-family: 'badscript', sans-serif;
	font-weight: 300;
	font-size:40px;
	line-height: 50px;
	color: #fff;
	display:inline-block;
	vertical-align:top;
}

.intro__subtitle {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	display:inline-block;
	vertical-align:top;
	height: 40px;
}

.intro__description {
	margin: 0 auto 0 1em;
	line-height: 1.2;
}

.port_tit{
	font-family: 'badscript', sans-serif;
	font-weight: 300;
	font-size:45px;
	line-height: 45px;
	color: #fff;
	padding:0 20px;
	padding-bottom:20px;
}
.port_desc{
	line-height: 25px;
	font-size: 14px;
	color: #fff;
	max-width: 640px;
	margin: auto;
	margin-bottom: 50px;
	text-align: left;
	padding:0 20px;
}
.overlay-simplegenie.open .slick-arrow{
	display:none !important;
}
.port_arrow2{
	position:absolute;
	top:0;
	left:0;
	width:30%;
	height:100%;
	cursor: url("../../../imgs/elem/grab.png"), move;
}
.port_arrow2.next{
	left:auto;
	right:0;
	cursor: url("../../../imgs/elem/grabbing.png"), move;
}


/* Trigger button with SVG */
.trigger {
	background:url(../../../imgs/elem/press_btn.png) no-repeat center;
	background-size:cover;
	-webkit-flex: none;
	flex: none;
	overflow: hidden;
	margin: 0;
	padding: 0;
	width: 62px;
	height: 62px;
	outline: none;
	border: none;
	cursor:pointer;
	
	position: absolute;
	left: 50%;
	margin-left: -31px;
	
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
}
.trigger.trigger--active{
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	transform: rotate(180deg);
}
.trigger:hover{
	opacity:0.3;
}



/* Hide the text */
.trigger span {
	position: absolute;
	top: -20px;
	left: -10px;
	
	font-size: 14px;
	line-height: 20px;
	color: #fff;
	font-weight: 400;
}

.icon {
	-webkit-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
	-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
	transition: opacity 0.3s, transform 0.3s;

	stroke: #dbdbdb;
	fill: none;
	stroke-width: 2px;
}

/* Hide grid and show cross when opening */
.icon--cross,
.trigger--active .icon--grid {
	opacity: 0;
	-webkit-transform: scale3d(0.5, 0.5, 1);
	transform: scale3d(0.5, 0.5, 1);
}

.trigger--active .icon--cross {
	opacity: 1;
	-webkit-transform: scale3d(1, 1, 1);
	transform: scale3d(1, 1, 1);
}

/* Main content */
.items-wrap {
	position: relative;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	padding: 250px 0px 0;
}

.items-wrap::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #2a2e39;
	content: '';
	opacity: 1;
	-webkit-transition: opacity 0.6s;
	transition: opacity 0.6s;
	-webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
	transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
	pointer-events: none;
}

.container--open .items-wrap::after {
	opacity: 0;
}

.item {
	position: relative;
	-webkit-flex: 0 0 25%;
	flex: 0 0 25%;
	overflow: hidden;
	height: 22vw;
	outline: none;
	border: 5px solid #2a2e39;
	border-width: 0 5px 10px;
	background: #2a2e39;
}

.item__image {
	position: absolute;
	top: 50%;
	min-height: 100%;
	width: 100%;
	opacity: 0.7;
	-webkit-transform: translate3d(0, -50%, 0) scale3d(1.2, 1.2, 1);
	transform: translate3d(0, -50%, 0) scale3d(1.2, 1.2, 1);
	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
}

.item:hover .item__image {
	opacity: 1;
	-webkit-transform: translate3d(0, -50%, 0);
	transform: translate3d(0, -50%, 0);
}

.item__title {
	position: absolute;
	bottom: 0;
	margin: 0;
	padding: 1em;
	/*color: #dbdbdb;
	font-size: 1.85em;
	font-family: "Playfair Display", Georgia, serif;
	line-height: 1;
	
	text-transform: capitalize;*/
	font-weight: 400;
	font-size:30px;
	line-height: 30px;
	color: #fff;
	
	
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
}

.item:hover .item__title {
	opacity: 0;
	-webkit-transform: translate3d(0, 20px, 0);
	transform: translate3d(0, 20px, 0);
}

/* Color schemes */
.theme-1 a {
	color: #e28e51;
}

.theme-1,
.theme-1 .intro {
	background: #272727;
}

.theme-1 .item {
	border-color: #272727;
	background: #272727;
}

.theme-2 a {
	color: #90be23;
}

.theme-2,
.theme-2 .intro {
	background: #21241f;
}

.theme-2 .item {
	border-color: #21241f;
	background: #74834f;
}

/* Media Queries */
.port_slick_cont{
	display:block;
	height:600px;
}
@media screen and (max-width: 1440px) {
	.item {
		-webkit-flex: 0 0 33.333%;
		flex: 0 0 33.333%;
		height: 30vw;
	}
}

@media screen and (max-width: 1000px) {
	.item {
		-webkit-flex: 0 0 50%;
		flex: 0 0 50%;
		height: 45vw;
	}
	.item,
	.intro__content {
		font-size: 0.85em;
	}
	.port_tit{
		font-size:35px;
		line-height: 35px;
	}
}
@media only screen and (max-width: 1200px) {
	.intro__title {
		margin: 0 0 20px;
		font-size:40px;
		line-height: 40px;
	}
}
@media only screen and (max-width: 900px) {
	.thumb-nav {
		width:auto;
		bottom:100px;
	}
	.thumb-nav__item {
		margin-right:auto;
		margin:0 10px;
	}
	.trigger {
		width: 45px;
		height: 45px;
		margin-left: -22px;
	}
}
@media screen and (max-width: 590px) {
	.item {
		-webkit-flex: 1 0 100%;
		flex: 1 0 100%;
		height: 90vw;
	}
	.intro__title {
		font-size: 2em;
		padding-left:0;
	}
	.intro__subtitle {
		padding: 0px;
		margin-top: 7px;
		height: 40px;
	}
	.container--open .intro {
		-webkit-transform: translate3d(0, -100%, 0) translate3d(0, 150px, 0);
		transform: translate3d(0, -100%, 0) translate3d(0, 150px, 0);
	}
	.intro__content{
		padding:10px 0px;
	}
	.container--open .intro__content {
		bottom: 0px;
	}
	.items-wrap {
		padding: 150px 5px 0;
	}
	.item__title {
		font-size:25px;
		line-height: 25px;
	}

	.port_tit{
		font-size:30px;
		line-height: 30px;
	}
	.port_slick_cont{
		display:block;
		height:100%;
	}
}
@media screen and (max-width: 500px) {
	.trigger {
		/*position: absolute;
		left: auto;
		right:20px;
		margin-left: 0;*/
		margin-left:-16px;
		width: 32px;
		height: 32px;
	}
	.port_tit{
		font-size:25px;
		line-height: 30px;
	}
	.item__title {
		font-size:20px;
		line-height: 20px;
	}
}

