*, *:before, *:after {
	box-sizing: border-box;
}

body {
	min-width: 320px;
	overflow-x: hidden;
	font-size: 14px;
	color: #fff;
	font-family: 'Comfortaa',cursive;
} 

a {
	color: #fff;
}

img {
	width: 100%;
	height: auto;
}

.wrapper {
	height: 100%;
	min-height: 100vh;
	position: relative;
	display: flex;
	flex-direction: column;
}

.wrapper_bg {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-repeat: no-repeat;
	background-size: cover;
	z-index: -1;
}

.overlay {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, .5);
}

.container {
	width: 100%;
	max-width: 1000px;
	padding: 0 15px;
	margin: 0 auto;
}

.container_sm {
	max-width: 830px;
}

main {
	 flex: 1 0 auto;
	 display: flex;
	 padding: 50px 0;
}

/* header */
.header_container {
	display: flex;
	align-items: center;
	padding: 30px 0;
}

.header_brand {
	margin-right: 40px;
	z-index: 999;
}

.site_title {
	font-size: 24px;
	margin: 0;
}

.site_title a {
	text-decoration: none;
	position: relative;
}

.site_title a:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	border-radius: 1px;
	background-color: #fff;
	transition: .3s;
}

.site_title a:hover::after {
	transition: .3s;
	width: 100%;
}

.header_nav {
	flex-grow: 1;
}

.header_nav .menu {
	display: flex;
	justify-content: space-between;
	margin: 0;
	padding: 0;
	list-style: none;
}

.header_nav .menu-menu-1-container {
	position: relative;
	width: 100%;
	height: 100%;
}

.header_nav .menu li {
	font-size: 16px;
}

.header_nav .menu a {
	text-decoration: none;
}

/* burger button */
.nav_button {
	display: none;
	z-index: 999;
}

.nav_icon {
	width: 24px;
	height: 20px;
	position: relative;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
	cursor: pointer;
}

.nav_icon span {
	display: block;
	position: absolute;
	height: 3px;
	width: 100%;
	background: #fff;
	border-radius: 5px;
	opacity: 1;
	left: 0;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	-o-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
}

.nav_icon span:nth-child(1) {
	top: 0px;
}

.nav_icon span:nth-child(2) {
	top: 8px;
}

.nav_icon span:nth-child(3) {
	top: 16px;
}

.nav_icon.open span:nth-child(1) {
	top: 8px;
	-webkit-transform: rotate(135deg);
	-moz-transform: rotate(135deg);
	-o-transform: rotate(135deg);
	transform: rotate(135deg);
}

.nav_icon.open span:nth-child(2) {
	opacity: 0;
	left: -60px;
}

.nav_icon.open span:nth-child(3) {
	top: 8px;
	-webkit-transform: rotate(-135deg);
	-moz-transform: rotate(-135deg);
	-o-transform: rotate(-135deg);
	transform: rotate(-135deg);
}

/* content */
.content {
	flex: 1 1 100%;
}

.content .container {
	height: 100%;
	text-align: center;
}

.content_container {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.content h2 {
	font-size: 40px;
	margin: 10px 0 20px;
}

.content ul {
	text-align: left;
	margin-left: 40px;
}

.content ul li {
	margin: 7px 0;
}

#content .blocks-gallery-grid img {
	width: 100%;
	height: auto;
	object-fit: contain;
	max-width: 150px;
}

#content .blocks-gallery-grid figure {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* portfolio */
.pcv_button {
	display: inline-block;
	padding: 5px 13px;
	margin: 10px 5px;
	border-radius: 25px;
	background: #7abcff;
	color: #eee;
	text-align: center;
	text-decoration: none !important;
	vertical-align: middle;
}

.pcv_button:hover {
	background: #469cf2
}


.portfolio_gallery {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin: 0 -15px;
}

.portfolio-item {
	width: calc((100% / 3) - 30px);
	position: relative;
	line-height: 0;
	margin: 15px;
	height: 300px;
}

.portfolio-item img {
	object-fit: cover;
	border-radius: 5px;
	height: 100%;
}

.portfolio-item .caption {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px;
	color: #fff;
	font-size: 14px;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	border-radius: 5px;
	line-height: 1.3;
	text-align: center;
	z-index: 2;
}

.portfolio-item .caption_bg {
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	width: 0;
	height: 0;
	transition: .3s;
	filter: opacity(0);
}

.portfolio-item:hover .caption_bg {
	filter: opacity(80%);
	transition: .3s;
	width: 100%;
	height: 100%;
}



.portfolio-item .caption h3 {
	font-weight: 700;
	font-size: 16px;
	text-transform: uppercase;
	padding-bottom: 5px;
	margin-bottom: 10px;
	border-bottom: 1px solid #aaa;
	text-shadow: 1px 1px 1px #303857;
}


/* single */
.single_container {
	display: flex;
	flex-direction: column;
}

.single_content img {
	float: left;
	max-width: 300px;
	margin: 0 15px 15px 0;
}

.nav-links {
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
}

/* clients/partners */
.content_row {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.content_item {
	width: calc((100% / 3) - 45px);
	margin: 15px;
	padding: 15px;
	cursor: pointer;
	transition: 1s;
	transform: rotateX(-360deg);
	display: flex;
	flex-direction: column;
	justify-content: center;
	background-color: rgba(255, 255, 255, .8);
}

.content_item a {
	text-decoration: none;
}

.content_img {
	height: 100px;
	display: flex;
	align-items: center;
}

.content_img img {
	height: 100%;
	object-fit: contain;
}

.content_item:hover img {
	transform: rotateX(360deg);
	transition: 1s;
}

.content_title h4 {
	color: #D2191D;
}

.content_map {
	width: 100%;
}

.content_map iframe {
	width: 100%;
	height: 300px;
}

/* footer */
.footer_container {
	padding: 30px 0;
	display: flex;
	justify-content: center;
}

@media (max-width: 768px) {
	.portfolio-item {
		width: calc(50% - 30px);
	}

	.header_container {
		justify-content: space-between;
	}

	.header_nav {
		position: fixed;
		left: 0;
		top: 0;
		width: 100%;
		height: 0;
		overflow: hidden;
		background-color: rgba(0, 0, 0, .8);
		transition: .3s;
		display: flex;
		z-index: 99;
	}
	.header_nav.show {	
		height: 100vh;
		transition: .3s;
	}

	.nav_button {
		display: block;
	}

	.header_nav .menu-menu-1-container {
		position: relative;
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.header_nav .menu {
		flex-direction: column;
	}

	.header_nav .menu li {
		padding: 15px 0;
		text-align: center;
	}

	.content_item {
		width: calc(50% - 30px);
		margin: 15px;
		padding: 15px;
		background-color: rgba(255, 255, 255, .2);
		border-radius: 10px;
		cursor: pointer;
		transition: 1s;
		transform: rotateX(-360deg);
	}
}

@media(max-width: 576px) {
	.portfolio-item {
		width: 50%;
	}
}

@media(max-width: 480px) {
	.portfolio-item {
		width: 100%;
	}

		.content_item {
			width: 100%;
			min-width: 300px;
		
		}
}