/*!
Theme Name: NJ Lawyers
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: nj-lawyers
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

NJ Lawyers is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
@font-face {
    font-family: 'Founders Grotesk';
    src: url('fonts/FoundersGrotesk-Light.woff2') format('woff2'),
        url('fonts/FoundersGrotesk-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Founders Grotesk';
    src: url('fonts/FoundersGrotesk-Semibold.woff2') format('woff2'),
        url('fonts/FoundersGrotesk-Semibold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Founders Grotesk';
    src: url('fonts/FoundersGrotesk-Medium.woff2') format('woff2'),
        url('fonts/FoundersGrotesk-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html {

	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: 'Founders Grotesk';
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn, cite, em, i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
	font-weight: 300;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #29292b;
	border: 0;
	border-radius: 0px;
	padding: 10px 20px;
	width: 100%;
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
	background-color: rgba(255,255,255,0.4);
	font-weight: 300;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: royalblue;
}

a:visited {
	color: purple;
}

a:hover, a:focus, a:active {
	
}


a:hover, a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 768px) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

.custom-logo-link img{
	width:50px;
	margin-bottom: -7px;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}


.site{
	position: relative;
}

.site-header{
	background-color: #000000;
	z-index: 10;
	padding: 15px 8%;
	position: fixed;
	top: 0;
	right: 0;
	margin-top: 0px;
	opacity: 0;
	visibility: hidden;
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
	z-index: 99999999;
	width: 100%;
}

.site-header.show{
	opacity: 1;
	visibility: visible;
}

.site-header .site-branding,
.site-header .main-navigation{
	margin:auto;
	display: inline-block !important;
	vertical-align: middle;
	width: 10%;
}

.site-header .main-navigation {

    clear: none;
    float: none;
    width: auto;
    margin: auto;
    width: 90%;
    margin-left: -5px;
    text-align: right;
}

.main-navigation li{
    float: none;
    display: inline-block;
    vertical-align: top;
    margin-right: 35px;
}

.main-navigation li:last-child{
	margin-right: 0;
}

.main-navigation a {
    display: block;
    text-decoration: none;
    font-size: 18px;
    font-weight: 300;

    color:#fff;
    line-height: 16px;
    padding: 8px 10px 2px;
    border:1px solid transparent;
    -webkit-transition: all 200ms ease-in-out;
	    -moz-transition: all 200ms ease-in-out;
	    -o-transition: all 200ms ease-in-out;
	    transition: all 200ms ease-in-out;
}

.main-navigation a:hover,
.main-navigation a.mPS2id-highlight-first{
	border:1px solid #ff0000;
}

.about-us{
}

.about-us img{
	float: left;
}

.about-us p{
	margin-top: 0;
}

.about-us h2{
	font-size: 28px;
	line-height:28px;
	font-weight:300;
	border-bottom:2px solid #f6303e;
	display:inline-block;
	margin: 50px 26% 0;
}

.about-us>div{
	color: #434343;
	font-size: 16px;
	font-weight: 300;
	padding: 30px 26% 20px;
}

.about-us>div:nth-child(3){
	padding: 140px 0% 140px;
    text-align: center;
    font-size: 46px;
	background-image:url('images/about_us_paralax.jpg');
	background-size:cover;
	background-position:center;
	background-attachment:fixed;
	font-weight:bold;
}

.about-us>div:nth-child(3) .textwidget{
	background-color: rgba(0,0,0,0.5);
	color: #fff;
	padding: 100px 6% 55px;
}


.team{
	padding: 50px 12% 5px;
	background-color:#f6f6f6;
	position: relative;
	overflow: hidden;
	padding-bottom: 455px !important;
	margin-bottom: -450px !important;
}

.team .team-title,
.testimonials-title{
	font-size: 28px;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 40px;
	line-height:28px;
	font-weight:300;
	border-bottom:2px solid #f6303e;
	display:inline-block;
}

.team  .team-members{
	display: flex;
	flex-wrap: wrap;
}

.team  .team-members>div{
	width: 24%;
	margin-bottom: 10px;
	cursor: pointer;
	min-height: 460px;
}
.single-team {
	padding: 50px 90px 50px 50px;
	background-color: #1b1b1b;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 88%;
	overflow: hidden;
	position: absolute;
	top: 286px;
	right: -88%;
	 -webkit-transition: all 200ms ease-in-out;
	    -moz-transition: all 200ms ease-in-out;
	    -o-transition: all 200ms ease-in-out;
	    transition: all 200ms ease-in-out;
	z-index: 10;
}

.single-team.open-popup{
	right: 0;
}

.single-team .single-thumbnail{
	width: 26%;
}
.single-team .single-content{
	width: 70%;
	color:#fff;
	font-size: 16px;

}

.single-team .single-content a{
	color:#f6303e;
	text-decoration:none;
		 -webkit-transition: all 200ms ease-in-out;
	    -moz-transition: all 200ms ease-in-out;
	    -o-transition: all 200ms ease-in-out;
	    transition: all 200ms ease-in-out;
}

.single-team .single-content a:hover{
	color:#9b000b;
}

.single-team .single-content .title{
	margin-top:0;
	font-size: 36px;
	margin-bottom:50px;
	line-height: 36px;
	padding-bottom: 50px;
	font-weight: 700; 
	background-image: url('images/line_single.png');
	background-repeat: no-repeat;
	background-position: left bottom;
	position: relative;
}

.single-team .single-content .title .close{
	position: absolute;
	right: 0;
	top: 0;
	font-size: 20px;
	color:#c7c7c7;
	background-image: url('images/arrow_close.png');
	background-repeat: no-repeat;
	background-position: right center;
	padding-right: 25px; 
	font-weight: normal;
	cursor: pointer;
	 -webkit-transition: all 200ms ease-in-out;
	    -moz-transition: all 200ms ease-in-out;
	    -o-transition: all 200ms ease-in-out;
	    transition: all 200ms ease-in-out;
}


.single-team .single-content .title .close:hover{
	color:#fff;
}


.team .team-members .thumbnail-excerpt{
	position: relative;
}

.team .team-members .thumbnail-excerpt img{
	 -webkit-filter: grayscale(100%);
       -moz-filter: grayscale(100%);
         -o-filter: grayscale(100%);
        -ms-filter: grayscale(100%);
            filter: grayscale(100%); 
            -webkit-transition: all 200ms ease-in-out;
	    -moz-transition: all 200ms ease-in-out;
	    -o-transition: all 200ms ease-in-out;
	    transition: all 200ms ease-in-out;
}

.team .team-members .content{
	text-align: center;
	background-color:rgba(255,255,255,0.7);
	width: 80%;
	margin: -89px auto 0;
	z-index: 9;
	position: relative;
	height: 60px;
	overflow: hidden;
	-webkit-transition: all 200ms ease-in-out;
	    -moz-transition: all 200ms ease-in-out;
	    -o-transition: all 200ms ease-in-out;
	    transition: all 200ms ease-in-out;
}

.team .team-members .content::before{
	content: '';
	background-color: #f6303e;
	height: 2px;
	width: 30px;
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;

bottom: 6px;
}

.team .team-members .content h3{
	padding-top: 16px;
	font-size:21px;
	line-height: 21px;
	font-weight: bold;
}



.team .team-members .each-post:hover .content,
.team .team-members .each-post.show-bio .content{
	height: 178px;
	background-color:rgba(255,255,255,1);
}


.team .team-members .each-post:hover .content::before{
	display: none;
}

.team .team-members .content h4{
	font-size:17px;
	line-height: 17px;
	padding-bottom: 20px;
	font-weight: 300;
	padding-top: 0px;
	visibility: visible;
	opacity: 1;
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
	margin-bottom:9px !important;
	margin-top:-2px !important;
}

.team .team-members .each-post:hover .content h4{
	visibility: visible;
	opacity: 1;
}

.team .team-members .each-post:hover .thumbnail-excerpt img{
	 -webkit-filter: grayscale(0%);
       -moz-filter: grayscale(0%);
         -o-filter: grayscale(0%);
        -ms-filter: grayscale(0%);
            filter: grayscale(0%); 
 }


.team .team-members .content h3,
.team .team-members .content h4{
	margin:0;
}

.team .team-members .content .excerpt{
	background-color: #f6303e;
	color: #fff;
	padding: 30px 20px 20px;
	background-position: relative;
	font-size: 12px;
	color:#fff;
	position: relative;
	height: 94px;
}

.team .team-members .content .excerpt p{
	margin: 0;
}

.team .team-members .content .excerpt .mail{
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	width: 35px;
	height: 35px;
	background-color: #fff;
	border-radius: 50%;
	background-image: url('images/mail.png');
	background-position: center;
	background-repeat: no-repeat;
	top:-17px;
	-webkit-transition: all 200ms ease-in-out;
	    -moz-transition: all 200ms ease-in-out;
	    -o-transition: all 200ms ease-in-out;
	    transition: all 200ms ease-in-out;
}

.team .team-members .content .excerpt .mail:hover{
	transform: scale(1.2);
}


.team .team-members .each-post:hover .thumbnail-excerpt .excerpt{
	visibility: visible;
	opacity: 1;
	cursor: pointer;
}

.team .team-members .each-post .title{
	color: #4e4e55;
}

#carousel ul.slides li{
	position: relative !important;
}

#carousel ul.slides li .title{
	font-size: 20px;
	font-weight: bold;
	align-content: center;
	position: absolute;
	left: 0;
	right: 0;
	top: 40%;
	text-align: center;
	margin: auto;
	width: 244px;
	
	z-index: 9;
	height: 2px;
	overflow: hidden;
	
	-webkit-transition: all 200ms ease-in-out;
	    -moz-transition: all 200ms ease-in-out;
	    -o-transition: all 200ms ease-in-out;
	    transition: all 200ms ease-in-out;
}

#carousel ul.slides li .title:before{
	content: '';
	background-color: #f6303e;
	height: 2px;
	width: 30px;
	margin: auto;
	display: block;
}

#carousel ul.slides li:hover .title,
#carousel ul.slides li.show-bio .title,
#carousel ul.slides li.flex-active-slide .title{
	height:45px;
	padding: 10px 20px 5px;
	background-color:rgba(255,255,255,1);
}

#carousel ul.slides li:hover .title:before,
#carousel ul.slides li.show-bio .title:before{
	display: none;
}

#carousel ul.slides li.flex-active-slide .title:before{
	display: none !important;
}

#carousel ul.slides li img{
	opacity: 0.5;
	-webkit-transition: all 200ms ease-in-out;
	    -moz-transition: all 200ms ease-in-out;
	    -o-transition: all 200ms ease-in-out;
	    transition: all 200ms ease-in-out;
}

#carousel ul.slides li:hover img,
#carousel ul.slides li.show-bio img{
	opacity:1;
}

#carousel ul.slides li.flex-active-slide img{
	opacity: 1;
}


/*
 *  Owl Carousel - Core
 */
.owl-carousel {
  display: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  /* position relative and z-index fix webkit rendering fonts issue */
  position: relative;
  z-index: 1; }
  .owl-carousel .owl-stage {
    position: relative;
    -ms-touch-action: pan-Y;
    -moz-backface-visibility: hidden;
    /* fix firefox animation glitch */ }
  .owl-carousel .owl-stage:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0; }
  .owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    /* fix for flashing background */
    -webkit-transform: translate3d(0px, 0px, 0px); }
  .owl-carousel .owl-wrapper,
  .owl-carousel .owl-item {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0); }
  .owl-carousel .owl-item {
    position: relative;
    min-height: 1px;
    float: left;
    -webkit-backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none; }
  .owl-carousel .owl-item img {
    display: block;
    width: 100%; }
  .owl-carousel .owl-nav.disabled,
  .owl-carousel .owl-dots.disabled {
    display: none; }
  .owl-carousel .owl-nav .owl-prev,
  .owl-carousel .owl-nav .owl-next,
  .owl-carousel .owl-dot {
    cursor: pointer;
    cursor: hand;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; }
  .owl-carousel.owl-loaded {
    display: block; }
  .owl-carousel.owl-loading {
    opacity: 0;
    display: block; }
  .owl-carousel.owl-hidden {
    opacity: 0; }
  .owl-carousel.owl-refresh .owl-item {
    visibility: hidden; }
  .owl-carousel.owl-drag .owl-item {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; }
  .owl-carousel.owl-grab {
    cursor: move;
    cursor: grab; }
  .owl-carousel.owl-rtl {
    direction: rtl; }
  .owl-carousel.owl-rtl .owl-item {
    float: right; }

/* No Js */
.no-js .owl-carousel {
  display: block; }

/*
 *  Owl Carousel - Animate Plugin
 */
.owl-carousel .animated {
  animation-duration: 1000ms;
  animation-fill-mode: both; }
.owl-carousel .owl-animated-in {
  z-index: 0; }
.owl-carousel .owl-animated-out {
  z-index: 1; }
.owl-carousel .fadeOut {
  animation-name: fadeOut; }

@keyframes fadeOut {
  0% {
    opacity: 1; }
  100% {
    opacity: 0; } }
/*
 * 	Owl Carousel - Auto Height Plugin
 */
.owl-height {
  transition: height 500ms ease-in-out; }

/*
 * 	Owl Carousel - Lazy Load Plugin
 */
.owl-carousel .owl-item .owl-lazy {
  opacity: 0;
  transition: opacity 400ms ease; }
.owl-carousel .owl-item img.owl-lazy {
  transform-style: preserve-3d; }
.owl-theme .owl-nav {
  margin-top: 10px;
  text-align: center;
  -webkit-tap-highlight-color: transparent; }
  .owl-theme .owl-nav [class*='owl-'] {
    color: #FFF;
    font-size: 14px;
    margin: 5px;
    padding: 4px 7px;
    background: #D6D6D6;
    display: inline-block;
    cursor: pointer;
    border-radius: 3px; }
    .owl-theme .owl-nav [class*='owl-']:hover {
      background: #869791;
      color: #FFF;
      text-decoration: none; }
  .owl-theme .owl-nav .disabled {
    opacity: 0.5;
    cursor: default; }
.owl-theme .owl-nav.disabled + .owl-dots {
  margin-top: 10px; }
.owl-theme .owl-dots {
  text-align: center;
  -webkit-tap-highlight-color: transparent; }
  .owl-theme .owl-dots .owl-dot {
    display: inline-block;
    zoom: 1;
    *display: inline; }
    .owl-theme .owl-dots .owl-dot span {
      width: 10px;
      height: 10px;
      margin: 5px 7px;
      background: #D6D6D6;
      display: block;
      -webkit-backface-visibility: visible;
      transition: opacity 200ms ease;
      border-radius: 30px; }
    .owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
      background: #869791; }


.testimonials-container{
	
	

	position: relative;
}

.testimonials-container .each-post{
	color: #fff;
	padding: 200px 27%;
	background-position: center;
	background-size: cover;

	background-repeat: no-repeat;

}

.testimonials-container .each-post .quote-background{
	min-height: 200px;
	position: relative;
	padding:0;
	position: relative;
}



.testimonials-container .each-post .quote-background .content::after{
	content: '';
	width: 65px;
	height: 3px;
	background-color: #be2121;
	display: block;
	position: absolute;
	left: 0;
	bottom: 0px;
}


.testimonials-container .each-post .content{
	font-size: 28px;
	font-weight: bold;
	margin-top: 0px;
	position: relative;
}

.testimonials-container .each-post .title{
	font-size: 20px;
	font-weight: 300;
	margin-top: -36px;

}

.testimonials-container .each-post .content span{
	font-weight:300;
}

.testimonials-container .each-post .content p{
}

.owl-nav{
	display: flex;
	align-items: center;
	position: absolute;
bottom: 145px;
right: 175px;
}

.owl-nav .owl-prev{
	margin-right: 30px;
	background-image: url('images/arrow-left.png');
}

.owl-nav>div{
	text-indent: -9999px;
	background-repeat: no-repeat;
	background-position: center;
	width: 20px;
    height: 30px;

}

.owl-nav .owl-next{
	background-image: url('images/arrow-right.png');
}

.what-we-do{
	padding: 80px 26% 20px;
	background-image: url('images/what_we_do.jpg');
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
	position: relative;
	color: #fff;
}

.what-we-do .team-title{
	font-size: 28px;
	margin-top: 0;
	line-height:28px;
	font-weight:300;
	border-bottom:2px solid #f6303e;
	display:inline-block;
}

.what-we-do .what-we-do-widget{
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 50px;
}

.what-we-do .what-we-do-widget p{
	margin: 0;
}

.what-we-do .what-we-do-loop{
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
}

.what-we-do .what-we-do-loop>div{
	margin-bottom: 60px;
	background-color: #8e8e8e;
	padding: 30px 30px 0;
	font-size: 16px;
	width: 50%;
	text-align: center;
	min-height: 400px;
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
	font-weight:300;
}

.what-we-do .what-we-do-loop>div:hover{
	background-color: #be2121;
}

.what-we-do .what-we-do-loop>div:nth-child(odd){
	border-right: 1px solid #7d7b7b;
}

.what-we-do .what-we-do-loop>div .title{
	font-size: 20px;
	font-weight: normal;

	margin-top: 20px;
	margin-bottom: 20px;
}

.what-we-do .what-we-do-loop>div p{
	margin-bottom: 0;
}

.clients{
	display: flex;
	align-items: stretch;
}

.clients>div{
	width: 50%;
	text-align: center;
}

.clients>div .owl-item a img{
		-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
}

.clients>div .owl-item a:hover img{
	transform: scale(1.2);
}

.clients .clients-title{
	background-image: url('images/clients_title.jpg');
	background-position: center;
	background-size: cover;
	position: relative;
	padding: 225px 3%;
}

.clients .clients-title h2{
	margin:0;
	font-size: 30px;
	line-height: 30px;
	color: #fff;
	display:inline-block;
	font-weight:300;
	border-bottom:2px solid #f6303e;
}

.clients .clients-slider{
	background-color: #000;
	padding: 50px 6%;
}

.clients .clients-slider .simple-image{
	padding:35px;
}

.clients-slider.owl-carousel .owl-nav.disabled{

    display: flex;

}

.clients-slider .owl-nav .owl-prev{
	margin-right: 30px;
	background-image: url('images/arrow-left-red.png');
}

.clients-slider .owl-nav .owl-next{
	background-image: url('images/arrow-right-red.png');
}

.clients-slider .owl-nav {

    bottom: 30px;
    right: 13%;
}

.contact{
	background-image: url('images/contact.jpg');
	background-position: bottom;
	background-size: cover;
	position: relative;
	padding: 50px 22% 20px;
	background-attachment: fixed;
}

.contact .section-title{
	margin-top: 0;
	font-size: 28px;
	color:#fff;
	margin-bottom: 20px;
	display:inline-block;
	font-weight:300;
	border-bottom:2px solid #f6303e;
	line-height:28px;
}

.contact .contact-map{
	display: flex;
	justify-content: space-between;
	align-items: top;
}

.contact .contact-map>div{
	width: 47%;
	color: #fff;
}

.contact .contact-map>div{
	margin-top: 0;
}

.contact .contact-map .wpcf7 textarea{
	height: 160px;
}

.contact .contact-map .wpcf7 .wpcf7-submit{
	border-radius: 0;
	border:0;
	background-color: #ce1400;
	padding: 15px;
	font-size: 18px;
	color:#fff;
	line-height: 18px;
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
	padding-bottom: 10px;
	font-weight: 300;
}

.contact .contact-map .wpcf7 .wpcf7-submit:hover{
	background-color: #720f04;
}

.slider{
	position: relative;
}

.logo-main{
	position: absolute;
	width: 600px;
	z-index: 99;
	left: 0;
	right: 0;
	margin: auto;
	height: 100vh;
	display: flex;
	align-items: center;
}

.logo-main img{
	width: 100%;
}

.slider-arrow{
	width: 43px;
	position: absolute;
	bottom: 60px;
	left: 0;
	right: 0;
	margin: auto;
	-webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
	cursor:pointer;
}

@-webkit-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0); }
  40% {
    -webkit-transform: translateY(-30px); }
  60% {
    -webkit-transform: translateY(-15px); } }
@-moz-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0); }
  40% {
    -moz-transform: translateY(-30px); }
  60% {
    -moz-transform: translateY(-15px); } }
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0); }
  40% {
    -webkit-transform: translateY(-30px);
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -o-transform: translateY(-30px);
    transform: translateY(-30px); }
  60% {
    -webkit-transform: translateY(-15px);
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -o-transform: translateY(-15px);
    transform: translateY(-15px); } }

.wpcf7-form{
	margin-top: -8px;
}

.contact .contact-info{
	display: flex;
	justify-content: space-between;
	align-items: top;
	padding-top: 35px;
}

.contact .contact-info>div{
	width: 24%;
	font-size: 16px;
	color:#fff;
	padding-left: 40px;
	background-position: left 0px;
	background-repeat: no-repeat;
	font-weight: 300;
}

.contact .contact-info>div h3{
	font-size: 24px;
	margin: 0;
	font-weight: 300;
}

.contact .contact-info>div a{
	color:#fff;
	text-transform:none;
		-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
}

.contact .contact-info>div a:hover{
	color:#ce1400;
}

.contact .contact-info>div:nth-child(1){
	background-image: url('images/place.png');
}

.contact .contact-info>div:nth-child(2){
	background-image: url('images/e_mail.png');
}

.contact .contact-info>div:nth-child(3){
	background-image: url('images/office.png');
}

.contact .contact-info>div:nth-child(4){
	background-image: url('images/fax.png');
}

.site-footer{
	background-color: #000000;
	padding: 10px 22% 5px;
	border-top: 1px solid #3b3b3b;

}

.instagram{
	padding: 50px 22% 20px;
	background-color: #000;
	display:flex;
	align-content:flex-start;
	justify-content:space-between;
}

.instagram>div{
	width:55%;
	color:#fff;
	font-weight:300;
}

.instagram>div:nth-child(1){
	width:40%;
}


.instagram>div h3{
	font-weight:300;
	font-size:22px;
	color:#ce1400;
	margin-top:0px;
	margin-bottom:25px;
	padding-left:6px;
}

.instagram>div:nth-child(1) h3{
	margin-bottom:50px;
	padding-left:0px;
}

.site-footer .site-info{
	display: flex;
	justify-content: space-between;
	align-items: center;
	color:#fff;
	text-align: center;
}



.site-footer .site-info h3{
	margin-top: 0;
	font-size: 24px;
	text-transform: uppercase;
	color:#ce1400;
	margin-bottom: 45px;
}

.ctf-tweet-text a{
	color:#fff;
	text-decoration: none;
}

.ctf-tweet-date{
	font-size: 12px;
	text-decoration: none;
	margin-bottom: 15px;
	color:#595959;
}

.ctf-twitterlink{
	text-transform: uppercase !important;
	color:#ce1400 !important;
	font-size: 20px !important;
	margin-top: 25px !important;
	text-decoration: none;
	position: relative;
}

.site-footer .site-info>div{
	width:100%;
}

.site-footer .site-info #menu-main-menu{
	padding: 0;
	
	list-style: none;
	margin: 0;
	display: flex;
	width: 100%;
}

.site-footer .site-info #menu-main-menu li{
	width: 100%;
	margin-bottom: 0px;
	display:block;
}

.site-footer .site-info #menu-main-menu li a{
	font-size: 16px;

	text-decoration: none;
	color: #fff;
	background-image: url('images/arrow_close.png');
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 15px;
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
	background-size: 9px;
	padding-top: 5px;
	font-weight: 300;

}

.site-footer .site-info #menu-main-menu li a:hover{
	color: #ce1400;
}

.bottom-credentials{
	background-color: #000;
	border-top:1px solid #3b3b3b;
	padding: 25px 60px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.bottom-credentials p{
	margin:0;
}

.bottom-credentials>div{
	width: 33.333%;
}

.bottom-credentials>div:nth-child(1){
	color:#fff;
	font-size: 15px;
	font-weight: 300;
}

.bottom-credentials>div:nth-child(1) a{
	color:#fff;
	text-decoration: none;
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
}

.bottom-credentials>div:nth-child(1) a:hover{
	color:#ce1400;

}

.bottom-credentials>div:nth-child(2){
	color:#fff;
	font-size: 14px;
	font-weight: 300;
	text-align: center;

}



.bottom-credentials>div:nth-child(3){
	text-align: right;
}

.bottom-credentials>div:nth-child(3) a{
	width: 47px;
	
	text-align: center;
	margin-right: 10px;
	color:#ce1400;
	border-radius: 50%;
	border:1px solid #ce1400;
	font-size: 20px;
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
	display: inline-block;
}

.bottom-credentials>div:nth-child(3) a i{
	line-height: 45px;
}

.bottom-credentials>div:nth-child(3) a:hover{
	color:#3b3b3b;
	border:1px solid #3b3b3b;

}

.quotes{
	padding:150px 22%;
	overflow:hidden;
	margin-bottom:-600px;
	padding-bottom:700px !important;
	position:relative;
	background-image: url('images/testimonials_paralax_opacity.jpg');
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
}

.testimonials-title{
	color: #fff;
}

.slider-content{
	background-color: #f6f6f6;
	position: relative;
	padding:30px;
	display: flex;
	align-items: center;
}

.slider-content img{
	float: left;
	max-width: 350px;
	margin-right: 3%;
}

.slider-content .content{
	width: 54%;

	font-size: 16px;
	font-weight:300;
}


.slider-content .content .view-more{
	border-radius: 0;
border: 0;
background-color: #ce1400;
padding: 10px;
font-size: 18px;
color: #fff;
line-height: 18px;
-webkit-transition: all 200ms ease-in-out;
-moz-transition: all 200ms ease-in-out;
-o-transition: all 200ms ease-in-out;
transition: all 200ms ease-in-out;
text-decoration: none;
padding-bottom: 5px;
}

.slider-content .content .view-more:hover{
	background-color: #720f04;
}

.clear{
	clear: both;
}

#slider .flex-direction-nav{
	display: none;
}

#slider {
	margin-bottom: -3px;
	border:0;
}

#carousel{
	position:relative;
	border:0;
	margin-top: 0px;
}

#carousel ul li{
	text-align: center;
}

#carousel ul li .title{
	font-size: 20px;
	font-weight: bold;
}

#carousel ul.slides li{
	opacity: 1;
	cursor: pointer;
}

#carousel ul.slides li.flex-active-slide{
	opacity: 1;
}

.flex-direction-nav{
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.flex-direction-nav>li a{
    text-indent: -9999px;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 30px;
    position: absolute;
    top: 46%;

}

.flex-direction-nav>li a:focus{
	outline: 0;
}

.flex-direction-nav>li.flex-nav-prev a{
	left: -24px;
	background-image: url('images/arrow-left-red.png');
}

.flex-direction-nav>li.flex-nav-next  a{
	background-image: url('images/arrow-right-red.png');
	right: -24px;
}

.flex-container a:hover,
.flex-slider a:hover {
  outline: none;
}
.slides {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  vertical-align: top;

}
.flex-pauseplay span {
  text-transform: capitalize;
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider {
  margin: 0;
  padding: 0;
}
.flexslider .slides > li {
  width: 33.333333%;
}
.flexslider .slides img {
  width: 100%;
  display: block;
}
.flexslider .slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
html[xmlns] .flexslider .slides {
  display: block;
}
* html .flexslider .slides {
  height: 1%;
}
.no-js .flexslider .slides > li:first-child {
  display: block;
}
/* ====================================================================================================================
 * DEFAULT THEME
 * ====================================================================================================================*/
.flexslider {
  margin: 0 0 60px;
  background: #fff;
  border: 4px solid #fff;
  position: relative;
  zoom: 1;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -o-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
}
.flexslider .slides {
  zoom: 1;
}
.flexslider .slides img {
  height: auto;
  -moz-user-select: none;
}
.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.loading .flex-viewport {
  max-height: 300px;
}
.carousel li {
  margin-right: 5px;
}
.flex-direction-nav {
  *height: 0;
}
.flex-direction-nav a {
  text-decoration: none;
  display: block;
  width: 40px;
  height: 40px;
  margin: -20px 0 0;
  position: absolute;
  top: 50%;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.flex-direction-nav a:before {
  font-family: "flexslider-icon";
  font-size: 40px;
  display: inline-block;
  content: '\f001';
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}
.flex-direction-nav a.flex-next:before {
  content: '\f002';
}
.flex-direction-nav .flex-prev {
  left: -50px;
}
.flex-direction-nav .flex-next {
  right: -50px;
  text-align: right;
}
.flexslider:hover .flex-direction-nav .flex-prev {
  opacity: 0.7;
  left: 10px;
}
.flexslider:hover .flex-direction-nav .flex-prev:hover {
  opacity: 1;
}
.flexslider:hover .flex-direction-nav .flex-next {
  opacity: 0.7;
  right: 10px;
}
.flexslider:hover .flex-direction-nav .flex-next:hover {
  opacity: 1;
}
.flex-direction-nav .flex-disabled {
  opacity: 0!important;
  filter: alpha(opacity=0);
  cursor: default;
  z-index: -1;
}
.flex-pauseplay a {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 5px;
  left: 10px;
  opacity: 0.8;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  color: #000;
}
.flex-pauseplay a:before {
  font-family: "flexslider-icon";
  font-size: 20px;
  display: inline-block;
  content: '\f004';
}
.flex-pauseplay a:hover {
  opacity: 1;
}
.flex-pauseplay a.flex-play:before {
  content: '\f003';
}
.flex-control-nav {
  width: 100%;
  position: absolute;
  bottom: -40px;
  text-align: center;
}
.flex-control-nav li {
  margin: 0 6px;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.flex-control-paging li a {
  width: 11px;
  height: 11px;
  display: block;
  background: #666;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  text-indent: -9999px;
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.flex-control-paging li a:hover {
  background: #333;
  background: rgba(0, 0, 0, 0.7);
}
.flex-control-paging li a.flex-active {
  background: #000;
  background: rgba(0, 0, 0, 0.9);
  cursor: default;
}
.flex-control-thumbs {
  margin: 5px 0 0;
  position: static;
  overflow: hidden;
}
.flex-control-thumbs li {
  width: 25%;
  float: left;
  margin: 0;
}
.flex-control-thumbs img {
  width: 100%;
  height: auto;
  display: block;
  opacity: .7;
  cursor: pointer;
  -moz-user-select: none;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.flex-control-thumbs img:hover {
  opacity: 1;
}
.flex-control-thumbs .flex-active {
  opacity: 1;
  cursor: default;
}

@media screen and (min-width: 1930px) {
	.team .team-members > div {

		min-height: 550px;
	}
}
/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 10px;
  }
  .flex-direction-nav .flex-next {
    opacity: 1;
    right: 10px;
  }
}

@media screen and (max-width: 1700px) {


	.about-us > div {

	    color: #434343;
	    font-size: 16px;

	}



	.team .team-members .each-post .title {
	    font-size: 22px;
	}

	.testimonials-container .each-post{
	    padding: 250px 22%;
	}

	.what-we-do {
	    padding: 80px 13% 20px;
	}

	.clients .clients-title h2 {
	    margin: 0;
	    font-size: 24px;
	    line-height: 24px;

	}

	.quotes {
	    padding: 60px 14% 30px;
	}

	.contact {
	    padding: 50px 14% 20px;

	}
	
	.instagram {

		padding: 50px 14% 20px;

	}
	.site-footer {
		padding: 10px 14% 5px;
	}
	.team .team-members > div {
	    width: 25%;

	}
	.team {
    padding: 50px 6% 5px;
    background-color: #f6f6f6;
    position: relative;
    overflow: hidden;
}

	.main-navigation li {

	    margin-right: 10px;
	}
}

@media screen and (max-width: 1450px) {
	.team .team-members > div {


		min-height: 415px;

	}
}

@media screen and (max-width: 1430px) {
		.single-team {

	    width: 95%;

	    right: -95%;

	}

	.about-us > div {
	    padding: 30px 5% 20px;
	}

.about-us h2{

	margin: 50px 5% 0;
}




	.team .team-members .each-post .title {
	    font-size: 19px;
	}

	.team {
	    padding: 50px 5% 5px;

	}



	.what-we-do {
	    padding: 80px 5% 20px;
	}

	.quotes {
	    padding: 60px 5% 30px;
	}

	.contact {
	    padding: 50px 5% 20px;
	}
	
	.instagram {

		padding: 50px 5% 20px;

	}
	.site-footer {
		padding: 10px 5% 5px;
	}

	.team .team-members > div {
	    width: 24%;
	    cursor: pointer;
	    min-height: 410px;
	}
}

@media screen and (max-width: 1270px) {
	.about-us {
	    flex-direction: row-reverse;
	    flex-wrap: wrap;
	}

	.about-us > div {
	    width: 100%;
	}


	.about-us > div img{
		width: 100%;
	}

	.clients > div {
	    width: 68%;
	}

	.clients .clients-title {
	    width: 32%;
	}

	.site-footer .site-info > div:nth-child(3) {
	    width: 55%;
	}

	.bottom-credentials {
	    padding: 25px 2%;
	}

	.bottom-credentials > div:nth-child(2) {
	    font-size: 16px;
	}

	.bottom-credentials > div:nth-child(1) {
	    
	    font-size: 14px;

	}

	.main-navigation li {
	    margin-right: 5px;
	}
	.site-header .site-branding, .site-header .main-navigation {
	    display: block !important;
	    width: 80px;
	    margin-bottom: 20px;
	}
		.site-header .main-navigation {
    width: auto;
    text-align: center;
    margin-bottom: 0px;
}

.testimonials-container .each-post {
    padding: 135px 5%;
}


.slider-content .content {
    font-size: 14px;
   
}

.owl-nav {
    bottom: 55px;
    right: 55px;
}
	.team .team-members > div {

    width: 33%;
    cursor: pointer;
    min-height: 410px;

}

}

@media screen and (max-width: 1023px) {
	.site-header .site-branding, .site-header .main-navigation {
	    display: block !important;
	    width: 80px;
	    margin-bottom: 20px;
	}

	.site-header .main-navigation {
    width: auto;
    text-align: center;
}

	.site-header .main-navigation {
	    width: auto;
	    text-align: center;
	}
	.flexslider .slides > li {
    width: 100%;
}

.slides, .slides > li, .flex-control-nav, .flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
    vertical-align: top;
}


	.team {
	    padding: 30px 5% 5px;
	}

	.team .team-title {

	    margin-bottom: 25px;
	}

	.team .team-members > div {
	    width: 46%;
	}

	.team .team-members > div:nth-child(odd) {
	    margin-right: 0%;
	}

	.team .team-members .each-post .title {
	    font-size: 18px;

	}

	.testimonials-container .each-post{
	    padding: 50px 5%;
	}

	.testimonials-container .each-post .content {
	    font-size: 26px;
	
	}

	.testimonials-container .each-post .title {
	    font-size: 18px;

	}

	.testimonials-container .each-post .title::after {
	    width: 58%;
	}

	.owl-nav {
	    bottom: 10px;
	}

	.what-we-do .what-we-do-widget {
	    font-size: 16px;
	    font-weight: bold;
	}

	.what-we-do .what-we-do-loop > div {
	    margin-bottom: 30px;
	    font-size: 16px;
	    width: 100%;
	}

	.clients > div {
	    width: 100% !important;
	}

	.clients {
	    display: block;

	}

	.clients .clients-title {
	    padding: 70px 3%;
	}

	.quotes {
	    padding: 35px 5% 0;
	}

	.slider-content img {
	    float: none;
	    max-width: 100%;
	    width: auto;
	   	display: block;
	   	margin: 0 auto
	}

	.slider-content .content {
	    float: none;
	    width: auto;
	    padding-top: 0;

	    background-image: none;
	    padding: 0 3%;
	    min-height: 200px;
	}

	.contact .contact-map > div {
	    width: 100%;
	    color: #fff;
	}

	.contact .contact-map {
	    display: block;
	}

	.contact {
	    padding: 35px 5% 10px;
	}

	.site-footer .site-info #menu-main-menu{
		margin-left:0;
	}

	.contact .section-title {

	    margin-bottom: 25px;
	}

	.contact .contact-info > div {
	    width: 48%;
	    font-size: 16px;

	}

	.contact .contact-info {
	    flex-wrap: wrap;
	}
	
	.instagram {
		display:block;	
	}
	
	.instagram > div {

		width: 100% !important;


	}

	.site-footer .site-info h3 {
	    margin-bottom: 5px;
	}

	.site-footer .site-info {
	    display: block;
	    text-align: center;
	}

	.site-footer .site-info > div:nth-child(1) {
	    margin-right: 0;
	    width: auto;
	}

	#ctf .ctf-tweet-actions a {
	    padding: 2px 10px 2px 5px;
	    float: none;
	}

	#ctf.ctf-narrow .ctf-tweet-actions {
	    float: none;
	    clear: both;
	    width: auto;
	}

	.site-footer .site-info > div:nth-child(3) {
	    width: auto;
	    padding-top: 20px;
	}

	.bottom-credentials {
	    background-color: #000;
	    border-top: 1px solid #3b3b3b;
	    padding: 25px 60px 5px;
	    display: block;
	    justify-content: space-between;
	    align-items: center;
	    text-align: center;
	}

	.bottom-credentials > div {
	    width: auto;
	    text-align: center !important;
	    margin-bottom: 20px;
	}

	.team .team-members > div {
	    min-height: 420px;
	}

	.single-team {
	    display: block;
	    text-align: center;
	    top: 106px;
	    padding: 50px ;
	}

	.single-team .single-thumbnail {
	    max-width: 360px;
	    margin: auto;
	    margin-bottom: 30px;
	    width: auto;
	}

	.single-team .single-content {
	    width: auto;

	}

	.single-team .single-content .title {
	    margin-bottom: 25px;
	    padding-bottom: 25px;
	    background-position: center bottom;
	    position: unset;
	}

	.single-team .single-content .title .close {
	    right: 50px;
	    top: 50px;
	}
	
	.team .team-members {

		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
		justify-content: space-between;

	}
	.about-us > div:nth-child(3) {
	    font-size: 34px;
	}

	.slider-content {
	    display: block;
	}

	.flexslider .slides .slider-content>img {
	    max-width: 280px;
	    display: block;
	}

}

@media screen and (max-width: 767px) {

	.logo-main {
	    width: 300px;
	}

	.testimonials-container .each-post .title::after {

	    width: 70%;
	}

	.testimonials-container .each-post .content {
	    font-size: 20px;
	}



.menu-toggle{
		width: 60px;
		height:27px;
		background-color: transparent;
		border: 0;
		background-image: url('images/menu_icons.png');
		background-position: center top;
	    background-repeat: no-repeat;
	    text-indent: -9999px;
	    background-size: 63%;
	    margin: 0 auto;
	    -webkit-transition: background 100ms ease-in-out;
		-moz-transition: background 100ms ease-in-out;
		-o-transition: background 100ms ease-in-out;
		transition: background 100ms ease-in-out;
		display: block;
	}

	.menu-toggle:focus,
	.menu-toggle:active{
		border:0 !important;
		outline:none;
	}

	.main-navigation.toggled .menu-toggle{
		background-position: center -138px;
	}

	.team .team-members > div:nth-child(2n+1) {
	    margin-right: auto;
	}

	.main-navigation ul.menu li {
	    margin-right: 0;
	    display: block;
	    border-bottom: 1px solid #fff;
		padding-bottom: 10px;
		position: relative;
		margin-bottom: 0;
		padding-top: 10px;
	}

	.main-navigation ul.menu li:last-child{
		border-bottom: 0;
	}

	.main-navigation ul.nav-menu > li > a::before {
	    content: "";
	    display: none;
	}

	.main-navigation ul.sub-menu li{
		padding-bottom: 0;
		padding-top: 0px;
	}

	.children-dropdown{
		display: block;
		background-color: transparent;
		right: 10px;
		top: 0;
		line-height: 1.5;
		margin: 0 auto;
		padding: 0;
		position: absolute;
		text-shadow: none;
		top: 0;
		height: 40px;
		background-image: url('images/arrows.png');
		width: 40px;
		background-position: 10px 16px;
		background-size: 20px auto;
		background-repeat: no-repeat;
		-webkit-transition: all 100ms ease-in-out;
		-moz-transition: all 100ms ease-in-out;
		-o-transition: all 100ms ease-in-out;
		transition: all 100ms ease-in-out;
		cursor: pointer;
	}

	.main-navigation ul ul {
	    float: none;
	    position: relative;
	    top: auto;
	    left: auto !important;
	    z-index: 99999;
	    min-width: auto;
	    -webkit-transition: all 200ms ease-in-out;
	    -moz-transition: all 200ms ease-in-out;
	    -o-transition: all 200ms ease-in-out;
	    transition: all 200ms ease-in-out;
	    opacity: 1;
	    visibility: visible;
	    margin-left: 20px;
	    display: none !important;
	}

	.main-navigation ul ul.toggled-on{
		display: block !important;
		min-width: auto;
	}

	.team .team-members {
	    display: block;
	    flex-wrap: wrap;
	}

	.children-dropdown.toggled-on {
	    -ms-transform: rotate(180deg);
	    -webkit-transform: rotate(180deg);
	    -moz-transform: rotate(180deg);
	    transform: rotate(180deg);
	}


	.main-navigation a:hover, .main-navigation .current_page_item a {
	    border: 0 !important;
	    color: #ff0000;
	}

	.main-navigation a {
	    padding: 7px 25px 0;
	    border: 0 !important;
	}

	.site-header {

	    padding: 30px 8% 5px;

	}

	.team .team-members > div {
	    max-width: 360px;
	    margin:auto;
	    margin-bottom: 25px;
	    min-height: 460px;
	    width: auto;
	}

	.team .team-members > div img{
		width: 100%;
	}

	.single-team .single-content .title .close {

	    right: 7px;
	    top: 5px;

	}

	.testimonials-container .each-post {
	    display: block;

	}

	.testimonials-container .each-post .title {
	    width: 100%;
	    margin-top: -27px;
	}

	.what-we-do .what-we-do-loop > div .title {
	    font-size: 22px;

	    margin-top: 15px;
	    margin-bottom: 15px;
	}

	.contact .contact-info > div {
	    width: 100%;
	}

	.bottom-credentials {
	    padding: 25px 20px 5px;
	}

	.single-team {
	    display: block;
	    text-align: center;
	    top: 106px;
	    padding: 50px 20px;
	}

	.single-team .single-content .title {
	    font-size: 24px;
	    line-height: 24px;
	}

	.owl-nav {
	    bottom: 30px;
	}

	.slider-content .content {


	    font-size: 16px;
	}

	.site-footer .instagram {
    padding-bottom: 0px;
}

.site-header .site-branding, .site-header .main-navigation {
    display: block !important;
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
}



.testimonials-container .each-post .quote-background {
    padding: 0;
}
	
	.site-footer .site-info #menu-main-menu {
		display: block;

	}

	.site-header .site-branding{
		float: left;
		width: auto;
	}

	.menu-main-menu-container{
		margin-top: 70px;
	}

	.menu-toggle{
		float: right;
		margin-top: -57px;
	}

	.about-us > div:nth-child(3),
	.what-we-do,
	.quotes,
	.contact{
		background-attachment: initial;
	}


}