/*
Theme Name: NTech Media 2021
Description: NTech Media 2021
Author: NTech Media
Author URI: http://ntechmedia.com


	Base Theme Name: HTML5 Blank
	Base Theme URI: http://html5blank.com
	Base Description: HTML5 Blank WordPress Theme
	Base Version: 1.4.2
	Base Author: Todd Motto (@toddmotto)
	Base Author URI: http://toddmotto.com
	Base Tags: Blank, HTML5, CSS3
	
	Base License: MIT
	Base License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
/* Disabling due to issues, and because HTML5 Boilerplate made the same change */
/* for similar reasons 4 years ago and still hasn't added it back in yet */
/* https://github.com/h5bp/html5-boilerplate/commit/0d7f8d775ab4ab171c6372f992d506088ca5d3ed */
/* http://aestheticallyloyal.com/public/optimize-legibility/ */
/*	text-rendering:optimizeLegibility; */
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font: 400 16px/1.8 'Open Sans', Helvetica, Arial, sans-serif;
	color: #585d5e;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color: #444;
	text-decoration: underline;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	display: flex;
	flex-direction: column;
	margin: 0 auto;
	position: relative;
	max-width: 100%;
	padding: 0px;
}

/* header */
.header_wrapper {
	background: none;
	position: absolute;
	z-index: 10;
	width:100%;
	
}

.header_shadow {
	width: 100%;
	box-shadow: 0px 0px 50px 100px rgba(0,0,0,0.5);
	z-index: 5;
	position: relative;
}

.header {
	display: flex;
	margin: 0px auto;
	max-width: 1280px;
	justify-content: space-between;
	padding: 20px 40px;
	z-index: 10;
	position: relative;
}
/* logo */
.logo {
	margin-right: 30px;	
	display: flex;
	align-items: center;
}
.logo-img {
	display: block;
	width: 200px;
}
/* nav */

.nav {
	flex: 1;
}

.nav ul {
	display: flex;
	list-style: none;
	padding: 0px;
	margin: 0px;
	justify-content: flex-end;
}

.nav ul li {
	/*flex: 1;*/
}

.nav ul li a {
	height: 66px;
	line-height: 100px;
	display: block;
	text-align: center;
	color: #eeeeee;
	font-size: 16px;
	position: relative;
	text-decoration: none;
	padding: 0px 20px;
	text-transform:uppercase;
	font-weight: 600;
	letter-spacing:0.15em;
}

.nav ul li:hover a::after,
.nav ul li.current_page_item a::after {
	content: '';
	display:block;
	position:absolute;
	height: 5px;
	width: calc(100% - 40px);
	background-color: white;
	bottom: -10px;
}

/*
.nav ul li:hover a::after {
	background: rgba(235,33,40,0.15); 
	background: rgba(255,255,255,0.35);
	line-height: 80px;
	content: ' ';
	position: absolute;
	bottom: 0px;
	height: 1px;
	background: #eeeeee;
}
*/
.mobile_nav_bar {
	display: none;
	cursor: pointer;
	position: relative;
}

.mobile_nav_bar .nav_touch {
	flex: 1;
}

#mobile_nav_icon {
	width: 30px;
	height: 30px;
	position: relative;
	margin: 20px 20px 10px;
	-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;
}

#mobile_nav_icon span {
	display: block;
	position: absolute;
	height: 3px;
	width: 100%;
	background: #FFFFFF;
	border-radius: 3px;
	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;
}

.mobile_nav_bar:hover #mobile_nav_icon span {
	background: #eb2128;
}


#mobile_nav_icon span:nth-child(1) {
	top: 3px;
}

#mobile_nav_icon span:nth-child(2),#mobile_nav_icon span:nth-child(3) {
	top: 12px;
}

#mobile_nav_icon span:nth-child(4) {
	top: 21px;
}

#mobile_nav_icon.open span:nth-child(1) {
	top: 12px;
	width: 0%;
	left: 50%;
}

#mobile_nav_icon.open span:nth-child(2) {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}

#mobile_nav_icon.open span:nth-child(3) {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

#mobile_nav_icon.open span:nth-child(4) {
	top: 12px;
	width: 0%;
	left: 50%;
}

.mobilenav {
/*
	display:none;
	position: fixed;
	top: 90px;
	background: rgba(255,255,255,0.95);
	width: 100%;
	padding-top: 0px;
	z-index: 2;
*/	
	position: fixed;
	top: 0px;
	left: 0px;
	background: rgba(255,255,255,0.95);
	width: 100%;
	height: 100vh;
	padding-top: 0px;
	z-index: 2;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.mobilenav.nav_open {
	display: flex;
}

#mobile_nav_icon.open {
	z-index: 100;
	position: fixed;
	top: 20px;
}

#mobile_nav_icon.open span {
	background: #333333;
}


.mobilenav ul {
	margin: 0px auto;
	padding: 0px 0px 0px 0px;
}

.mobilenav ul li {
	position: relative;
}

.mobilenav ul li a {
	display: block;
	padding: 0px 0px 0px 20px;
	color: #333333;
	text-transform: uppercase;
	white-space: nowrap;
	font-size: 16px;
	position: relative;
	text-decoration: none;
	padding: 0px 20px;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.15em;
}


.mobilenav ul li:hover a {
	text-decoration: none;
	color: #eb2128;
}

.mobilenav ul.sub-menu {
	display: none;
}

.mobilenav .logo-img {
  max-width: 160px;
  margin-bottom: 30px;
}

.nav_touch {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

@media screen and (max-width:960px){
	.mobile_nav_bar {
		align-self: center;
		flex-grow: 1;
		display: flex;
		justify-content: flex-end;
	}
	
	.header {
		display: flex;
	}
	
	.nav {
		display: none;
	}
}

/* main content */
section[role=main] {
	display: block;
	width: 100%;
		padding: 40px 40px;
	margin: 0px auto;
	min-height: calc(100vh - 550px)
}

.home section[role=main] {
	min-height: 0px;
	padding: 40px 0px 0px;
}

.page-template-template-portfolio section[role=main] {
/*	display: none;*/
}

/* sidebar */
.sidebar {
	display: block;
}

.sidebar-widget {
/*	min-width: 350px;*/
}
/* footer */

.footer_wrapper {
	background: #111111;
}

.footer {
	display: block;
	margin: 0px auto;
	padding: 0px 40px;
	max-width: 1280px;
	color: #FFFFFF;
}

.copyright {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer_contact a {
	display: inline-block;
	padding: 10px 20px;
	color: #FFFFFF;
	text-decoration: underline;
}

.footer_support table td {
	padding: 0px 20px 20px 0px;
}

h1 {
	color: #111111;
	font-weight: 300;
}

h3 {
	font-size: 16px;
	color: #111111;
}

h2 {
	font-weight: 300;
	font-size: 36px;
	color: #111111;
}

h4 {
	font-weight: 300;
	font-size: 16px;
}


.banner_content h2 {
	color: #FFFFFF;
}

.post-edit-link, .post-edit-link:hover {
    position: absolute;
    background: #231f1f;
    color: #FFFFFF;
    padding: 5px;
}
/*------------------------------------*\
    PAGES
\*------------------------------------*/
.page_banner {
	background-size: cover;
	background-position: center;
}

.page_banner_wrapper {
	padding: 120px 20px 20px;
	background: rgba(0,0,0,0.33);
}
.title_wrapper {
	max-width: 1280px;
    margin: 0px auto;
    padding: 0px 40px;
}

.page_banner_wrapper h1 {
	color: #FFFFFF;
	font-size: 36px;
	margin:0;
}

.featured_projects {
	text-align: center;
	color: #585d5e;
	background: #f6f6f6;
	padding: 50px 0px;
}

.featured_projects h2 {
	color: #111111;
	margin-top: 0px;
}

.projects {
	display: flex;
	justify-content: center;
	max-width: 1280px;
	margin: 30px auto 40px;
	flex-wrap: wrap;
}

.project_image {
	width: 375px;
	height: 219px;
	display: block;
	background-position: top;
	background-size: cover;
	margin: 20px 20px;
}

.home .testimonials {
	text-align: center;
	color: #FFFFFF;
	background: url(/wp-content/uploads/slider1.jpg) center no-repeat;
	background-size: cover;
	font-weight: 300;
	display: flex;
	
}

.testimonials_wrapper {
	padding: 50px 0px;
	background: rgba(0,0,0,0.45);
	max-width:50%;
	margin-right:auto;
}

.home .testimonials h2 {
	margin-top: 0px;
	color: #FFFFFF;
}

.home .testimonials h4 {
	font-weight: 400;
	text-transform: uppercase;
}

.testimonial_text p {
	max-width: 680px;
	padding: 0px 40px;
	margin: 0px auto;
	text-align: left;
}

.slick-dots {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0px 0px 20px 0px;
    list-style: none;
    text-align: center;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.slick-dots li button::before {
    font-family: 'slick';
    font-size: 40px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '•';
    text-align: center;
    opacity: .25;
    color: #FFFFFF;
}

.slick-dots li.slick-active button::before {
    opacity: .75;
    color: #FFFFFF;
}

.sidebar {
	max-width: 1280px;
	padding: 40px 40px;
	width: 100%;
	margin: 0px auto;
	min-height: 300px;
}

.sidebar .sidebar-widget {
	display: flex;
}

.sidebar .widget-last {
	border-left: 1px solid #dcdcdc;
	margin-left: 70px;
	padding-left: 40px;
}

.wp-block-columns .wp-block-column {
	padding: 0px 40px;
	/*border-left: 1px solid rgba(88,93,94,0.33);*/
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.wp-block-columns.column_nosplit .wp-block-column {
	border: none;
	padding: 0px;
}

.home .wp-block-columns .wp-block-column div:last-child {
	margin-top: auto;
}


.wp-block-columns .wp-block-column:first-child {
	padding-left: 0px;
	border: none;
}

.wp-block-columns .wp-block-column:last-child {
	padding-right: 0px;
}

.wp-block-columns.home_features .wp-block-column {
	padding: 0;
	border:none;
	margin: 0;
}
.wp-block-button .wp-block-button__link,
.gform_wrapper .gform_footer input.button {
	font-weight: 600;
	font-size: 14px;
	border-radius: 20px;
	min-width: 175px;
	height: 38px;
	line-height: 34px;
	text-align: center;
	padding: 0px 25px;
	letter-spacing: 0.09em;
}

.home_features {
	margin: 0px;
}

.home_features .wp-block-cover .wp-block-cover__inner-container {
	padding: 50px 50px 50px 100px;
	background: rgb(0,0,0);
	background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 70%);
}

.home_features .wp-block-cover {
	padding: 0px;
}
.home_features h2 {
	margin: 0;
	line-height:40px;
}


.wp-block-button.is-style-default_button .wp-block-button__link,
.gform_wrapper .gform_footer input.button {
	background: #eb2128;
	color: #FFFFFF;
	border: 2px solid #eb2128;
}

.wp-block-button.is-style-alt_button .wp-block-button__link,
.wp-block-button.is-style-default_button .wp-block-button__link:hover,
.gform_wrapper .gform_footer input.button:hover {
	background: #FFFFFF;
	color: #eb2128;
	border: 2px solid #eb2128;
}

.wp-block-button.is-style-transparent_button .wp-block-button__link {
	background: none;
	color: #FFFFFF;
	border: 2px solid #FFFFFF;
}

.wp-block-button.is-style-transparent_button .wp-block-button__link:hover {
	background: #FFFFFF;
	color: #111111;
}

.wp-block-button.is-style-black_button .wp-block-button__link {
	background: none;
	color: #111111;
	border: 2px solid #111111;
}

.wp-block-button.is-style-black_button .wp-block-button__link:hover {
	background: #111111;
	color: #FFFFFF;
}

.contact-us .wp-block-column table {
	margin-bottom: 20px;
}

.contact-us .wp-block-column table td {
	padding: 0px 20px 15px 0px;
}

.posts_testimonials,
.posts_services {
	padding: 0px;
	display: flex;
	flex-wrap: wrap;
}

.posts_testimonials li {
	width: 48%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	margin-bottom: 80px;
}

.posts_testimonials li:nth-child(even) {
	margin-left: 2%;
}

.posts_testimonials li:nth-child(odd) {
	margin-right: 2%;
	position: relative;
}

.posts_testimonials li:nth-child(odd)::after {
	content: ' ';
	display: block;
	width: 1px;
	height: 100px;
	background: rgba(0,0,0,0.15);
	position: absolute;
	right: -20px;
	top: 60px;
}

.posts_testimonials li a {
	order: 1;
}

.posts_testimonials li .wp-block-latest-posts__post-full-content {
	order: 2;
	margin-bottom: 20px;
}

.posts_testimonials li .wp-block-latest-posts__featured-image {
	order: 3;
	margin-top: auto;
	margin-bottom: auto;
	text-align: center;
}

.posts_services li a,
.posts_testimonials li a {
	text-decoration: none;
	font-size: 20px;
	pointer-events: none;
	cursor: default;
	margin-bottom: 10px;
	display: block;
}

@media only screen and (max-width:768px) {
	.posts_testimonials li {
		width: 100%;
	}
	
	.posts_testimonials li:nth-child(2n+1),
	.posts_testimonials li:nth-child(2n) {
		margin: 0px 0px 60px 0px;
	}
	
	.posts_testimonials li:nth-child(2n+1)::after {
		display: none;
	}
	
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:only-child) {
		flex-basis: 100% !important;
	}
	
	.wp-block-columns .wp-block-column:last-child,
	.wp-block-columns .wp-block-column:first-child {
		padding: 0px;
	}
}

.posts_services li {
	margin-bottom: 80px;
}

.wp-block-group.is-style-group_centered {
	max-width: 1280px;
	margin: 0px auto;
	padding: 0px 40px;
	
}


.large_icons {
	font-size: 14px;
}

.large_icons i {
	font-size: 100px;
	color: #eb2128;
	display: block;
	text-align: center;
}

.red_icons i { color: #eb2128; }
.black_icons i { color: #231f1f; }
.grey_icons i { color: #666666; }
.white_icons i { color: #FFFFFF; }

.header_icon i {
	font-size: 100px;
	color: #eb2128;
	display: block;
}

/*------------------------------------*\
    BANNER
\*------------------------------------*/

.home_banner {
	min-height: 100vh;
}

.banner_content_wrapper {
	padding: 0px 20px;
	min-height: 790px;
	display: flex;
	align-items: center;
	max-width: 1280px;
	margin: 0px auto;
}

.banner_slide {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.banner_content {
	max-width: 768px;
	padding: 20px 40px;
	color: #FFFFFF;
	position:relative;
}
.banner_content::before {
	width: 100%;
	height: 50%;
	background: rgba(0,0,0,0.59);
	content: '';
	display: block;
	box-shadow: 0px 0px 50px 50px rgba(0,0,0,0.6);
	position: absolute;
	top: 25%;
}

.banner_content * {
	position:relative;
	z-index: 10;
}
.banner_content h3 {
	color: #fed077;
	font-size: 28px;
	font-style: italic;
	font-weight: 400;
	margin: 0px;
	letter-spacing: 0.2em;
}

.banner_content h1 {
	color: #FFFFFF;
	font-size: 60px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	margin: 15px 0px;
	letter-spacing: 0.05em;
}

.banner_video {
	object-fit: cover;
	width: 100%;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
}

.slick-prev,
.slick-next {
	position: absolute;
	z-index: 1;
	background: none;
	border: none;
	top: 50%;
	transform: translate(0, -50%);
	font-size: 0px;
	line-height: 0px;
	padding: 0px;
}

.slick-prev {
	left: -60px;
}

.slick-next {
	right: -60px;
}

.home_banner .slick-prev {
	left: 40px;
}

.home_banner .slick-next {
	right: 40px;
}

.slick-prev::before {
	content: ' ';
	background: url(img/slider_left.png) no-repeat center;
	display: block;
	height: 71px;
	width: 40px;
}

.slick-next::after {
	content: ' ';
	background: url(img/slider_right.png) no-repeat center;
	display: block;
	height: 71px;
	width: 40px;
}

.home_banner .slick-prev::before {
	content: ' ';
	background: url(img/banner_left.png) no-repeat center;
	display: block;
	height: 71px;
	width: 40px;
}

.home_banner .slick-next::after {
	content: ' ';
	background: url(img/banner_right.png) no-repeat center;
	display: block;
	height: 71px;
	width: 40px;
}

.banner {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.home .banner {
	display: none;
}

.banner_inner {
	min-height: 255px;
	background: rgba(0,0,0,0.33);
	display: flex;
	justify-content: center;
	align-items: center;
}

.banner_inner h1 {
	margin: 0px;
	color: #FFFFFF;
	font-size: 60px;
	letter-spacing: 0.05em;
	text-align: center;
	padding: 0px 60px;
}

/*------------------------------------*\
    PORTFOLIO
\*------------------------------------*/

.portfolio_post {
	display: flex;
}

.portfolio_post:nth-child(2n) {
	flex-direction: row-reverse;
}

.portfolio_image {
	width: 50%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top;
}

.portfolio_inner {
	max-width: 50%;
}

.portfolio_content {
	max-width: 600px;
	padding: 45px;
	height: 100%;
	font-size: 14px;
}

.portfolio_content h2 em::before {
	content: ' ';
	display: block;
}

.portfolio_content h2::after {
	content: ' ';
	display: block;
	width: 110px;
	height: 2px;
	background: rgba(30,26,27,0.33);
	margin: 20px 0px 20px;
}

.portfolio_post:nth-child(2n) .portfolio_content h2 {
	text-align: right;
}

.portfolio_post:nth-child(2n) .portfolio_content h2::after {
	margin-left: auto;
}

.portfolio_post {
	background: rgba(0,0,0,0.03);
}

/*
.portfolio_post:nth-child(even) .portfolio_content {
	box-shadow: inset -5px 4px 5px -5px;
}

.portfolio_post:nth-child(odd) .portfolio_content {
	box-shadow: inset 5px 4px 5px -5px;
}
*/

/*
.portfolio_post:nth-child(2n) .portfolio_inner {
	border-right: 1px solid rgba(30,26,27,0.33);
}

.portfolio_post:nth-child(2n+1) .portfolio_image {
	border-right: 1px solid rgba(30,26,27,0.33);
}
*/

@media only screen and (max-width:920px) {
	.wp-block-columns.home_columns,
	.sidebar .sidebar-widget,
	.copyright {
		flex-direction: column;
	}
	
	.wp-block-columns.home_columns .wp-block-column {
		padding: 0px;
		margin: 0px 0px 40px 0px;
		border: 0px;
	}
	
	.sidebar .widget-last {
		margin: 40px auto;
		padding: 0px;
		border: none;
	}
}


.portfolio .portfolio_list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 20px;
	row-gap: 20px;
/*	margin: 20px;*/
}

@media only screen and (max-width:768px) {
	.slick-arrow {
		display: none !important;
	}
	
	.banner_content h2 {
		font-size: 24px;
	}
	
	.portfolio .portfolio_list {
		grid-template-columns: 1fr;
	}
}


.portfolio .portfolio_post {
	position: relative;
}

.portfolio .portfolio_inner {
	display: none;
	position: absolute;
	left: 0px;
	top: 0px;
	right: 0px;
/*	bottom: 0px;*/
	min-height: 100%;
	z-index: 10;
	background: rgba(255, 255, 255, 0.95);
	max-width: 100%;
}

.portfolio .portfolio_post:hover .portfolio_inner {
	display: block;
}

.portfolio .portfolio_image {
	width: 100%;
}

.portfolio .portfolio_content h2::after,
.portfolio .portfolio_post:nth-child(2n) .portfolio_content h2::after {
	margin: 10px 0px 10px;
}

.portfolio .portfolio_inner h2 {
	margin: 0px;
}

.portfolio .portfolio_post:nth-child(2n) .portfolio_content h2 {
	text-align: left;
}

@media only screen and (max-width:480px) {
	.portfolio .portfolio_inner h2 {
		font-size: 26px;
		margin-bottom: 25px;
	}
	
	.portfolio_content p {
		display: none;
	}
	
	.portfolio_content h2::after {
		display: none;
	}
	
	.portfolio_content .wp-block-button a.wp-block-button__link {
		font-size: 0px;
	}
	
	.portfolio_content a::after {
		content: 'Visit';
		font-size: 14px;
	}

}


.services_grid .grids-area:nth-child(4n+3),
.services_grid .grids-area:nth-child(4n+1) {
	padding: 40px 100px !important;	
	max-width: 640px;
}

.services_grid .grids-area:nth-child(4n+3) {
	margin-right: auto;
}

.services_grid .grids-area:nth-child(4n+1) {
	margin-left: auto;
}

.wp-block-columns,
.maxwidth {
	max-width: 1200px;
	margin: 0px auto;
}


.services_grid .wp-block-cover {
	height: 100%;
	position: relative;
}

.services_grid h3 {
	font-size: 20px;
	font-weight: 400;
}

.services_grid i.services_icon {
	background: #333333; /*#eb2128;*/
	color: #FFFFFF;
	width: 120px;
	height: 120px;
	border-radius: 10px;
	position: absolute;
	font-size: 60px;
	line-height: 120px;
	text-align: center;
	top: calc(50% - 60px);
}

.services_grid .grids-area:nth-child(4n+2) i.services_icon {
	left: -60px;
	right: auto;
}

.services_grid .grids-area:nth-child(4n+4) i.services_icon {
	left: auto;
	right: -60px;
}

@media only screen and (max-width:768px) {
	.services_grid .grids-area:nth-child(4n+2) i.services_icon {
		left: calc(50% - 60px);
		right: auto;
	/*	top: -60px;*/
	}
	
	.services_grid .grids-area:nth-child(4n+4) i.services_icon {
		left: auto;
		right: calc(50% - 60px);
	/*	top: -60px;*/
	}
	
	.services_grid .grids-area:nth-child(4n+3),
	.services_grid .grids-area:nth-child(4n+1) {
		padding: 10px 0px 25px 0px !important;	
/*		padding: 0px 0px 75px 0px !important;	*/
	}

}

.grids-section.large_icons a {
	text-decoration: none;
}

.grids-section.large_icons a:hover i {
	color: #333333;
}

.grids-section.large_icons .grids-area {
	position: relative;
	padding-top: 100px;
}

.grids-section.large_icons .grids-area > a {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	height: 100%;
}

.grids-section.large_icons .grids-area:hover h4 a,
.grids-section.large_icons .grids-area:hover a {
	color: #666666;
}
/*
.grids-section.large_icons .grids-area > h4:hover a {
	color: #666666;
}

.grids-section.large_icons .grids-area > a+h4:hover {
	color: #666666;
}
*/

/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

div.shiftnav-wrap {
	line-height: 1.4; /* Fixes ShiftNav setting an em based line height when we want a unitless multiplier. */
}

.shiftnav-inner {
	background: url() center top no-repeat; /* Specify the site logo you want to appear in the mobile menu. */
	padding-top: 0px; /* Set to however tall the site logo is. */
}

.shiftnav ul.shiftnav-menu ul.sub-menu li.menu-item > .shiftnav-target,
.shiftnav ul.shiftnav-menu ul.sub-menu li.shiftnav-retract > .shiftnav-target {
	line-height: 100%;
	padding: 15px 25px 15px 35px;
}

div.mobilenav {
	display:none;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:1140px) {
	
}

@media only screen and (max-width:1024px) {

}

@media only screen and (max-width:768px) {

}

@media only screen and (max-width:480px) {

}

@media only screen and (max-width:320px) {
	
/*------------------------------------*\
    MOBILE NAV
\*------------------------------------*/

/*
.wrapper {
    display: table;
    margin: 70px auto 0 auto;
    position: relative;
    width: 95%;
    max-width: 1280px;
}

.nav {
	display:none;
}

div.mobilenav {
	display:block;
	width:100%;
	height: 50px;
	background:#000;
	background-position:left;
	position:fixed;
	top:0;
	left:0;
	z-index:999;
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

div.mobilenav ul {
	padding:0;
	position: relative;
	width: 100%;
	display:none;
	-webkit-transition: top 1s;
	-moz-transition: top 1s;
	-o-transition: top 1s;
	transition: top 1s;
	top:50px;
	z-index:5;
	margin:0;
	background:rgba(60, 132, 54, 0.97);
}

div.mobilenav ul li {
	text-decoration:none;
	list-style:none;
	padding: 8px 0 8px 15px;
}

div.mobilenav ul li a {
	font-size:15px;
	color:#fff;
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	font-weight:light;
}


div.mobilenav ul li {
	border-top: 1px solid #307f29;
	border-bottom: 1px solid #63935f;
}

div.mobilenav ul li:first-child {
	border-top: none;
}

div.mobilenav ul li:last-child {
	border-bottom: none;
}

*/

/*mobile icon is set in funvtions.php*/

/*------------------------------------*\
    	END MOBILE NAV
\*------------------------------------*/


}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
   
/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/
   
.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {
	
}
.bypostauthor {
	
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
