/*
Theme Name: Tessa
Theme URI: http://tessa.niteo.cz
Author: Niteo
Author URI: http://niteo.cz
Description: Description
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tessa
Tags: responsive-layout, two-columns, featured-images, custom-colors
a
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.

tessa is based on Underscores http://underscores.me/, (C) 2012-2015 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 http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Links
# ScrollBar
# Main-Logo
# Preloading
# Navigation
	## mobile-menu-trigger-icon
# Header
# Sections
	## Section-portfolio
	## Section-members
	## Section-blog
	## Section-contact
	## Section-testimonial
	## Section-twitter
	## Section-instagram
	## Section-clients
	## Section-404
# Owl Carousel
# Shuffle grid
# Contact Form 7
# Footer
# Accessibility
# Alignments
# Clearings
# Widgets
	## Instagram Widget
# Content
	## Lightbox
	## Posts and pages
	## Portfolio Cats
	## Post Previews
	## Post Pagination
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Shortcodes
# WP-Defaults
# Media-queries
--------------------------------------------------------------*/
@font-face {
	font-family: 'helium';
	src:url('fonts/helium.eot?bgytse');
	src:url('fonts/helium.eot?#iefixbgytse') format('embedded-opentype'),
		url('fonts/helium.woff?bgytse') format('woff'),
		url('fonts/helium.ttf?bgytse') format('truetype'),
		url('fonts/helium.svg?bgytse#helium') format('svg');
	font-weight: normal;
	font-style: normal;
}

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
	-webkit-font-smoothing: antialiased;
}

body {
	margin: 0;
	overflow-x: hidden;
    -webkit-animation-fill-mode: none;
    animation-fill-mode: none;
}

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;
	outline: 0;
	transition: color .3s ease;
	text-decoration: none;
}

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

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	letter-spacing: 3px;
	padding: 0.67em 0;
	margin: 0;
	text-align: center;
}

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;
	vertical-align: top;
	display: block;
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
	width: 100%;
}

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

figure {
	margin: 0;
	width: auto!important;
}

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;
	outline: none;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	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;
	border-radius: 0;
	-webkit-border-radius:0px;
	-webkit-appearance: none;
}

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-appearance: textfield;
	box-sizing: content-box;
}

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 {
	padding-left: 10px;
	padding-top: 10px;
	width: 100%;
	overflow: auto;
	margin-bottom: 5px;
	border-radius: 0;
	-webkit-border-radius:0px;
	-webkit-appearance: none;
}


optgroup {
	font-weight: bold;
}

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



td,
th {
	padding: 0;
	min-width: 70px;
}

tr {
	height: 40px;
}

.float-left {
	float:left;
}

.float-right {
	float: right;
}

.float-none {
	float: none;
}

.ytp-fullscreen-button {
	display: none !important;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	font-size: 14px;
	line-height: 1.8;
	font-weight: normal;
	word-wrap: break-word;
}

input,
select {
	text-indent: 10px;
}

input[type="button"],
input[type="submit"] {
	text-indent: 0;
	text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	letter-spacing: 1px;
	transition: color .3s ease;
}


p {
	margin-top: 0;
	margin-bottom: 20px;
	letter-spacing: 0.2px;
}

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

blockquote {
	text-align: center;
	padding: 2em;
	margin: 0 auto;
	width: 100%;
	max-width: 700px;
}


blockquote p {
	margin-bottom: 0;
  	font-style: italic;
}

blockquote p::before {
	font-family: fontAwesome;
	content: '\f10d';
	font-size: 1.8em;
		line-height: 1em;
	padding-right: 10px;
}

address {
	margin: 0 0 20px;
}

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%;
}

.error {
	text-align: center;
}

.italic {
	font-style: italic;
}

.italic a {
	font-style: normal;
}



/*--------------------------------------------------------------
# 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 http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}


section {
	margin: 0;
	margin-bottom: 70px;
	outline: none;
}


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

ul,
ol {
	margin: 0 0 20px 3em;
	font-size: 0;
}

ul li,
ol li {
	font-size: 14px;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 20px;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 20px 20px;
}


table {
	margin: 0 0 20px;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 0;
	color: #fff;
}

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 {
	border: 1px solid #ccc;
}

select {
	border: 1px solid #ccc;
}

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 {
	color: #111;
}

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"] {
	padding: 3px;
}


/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/
a:focus,
a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
# ScrollBar
--------------------------------------------------------------*/
::-webkit-scrollbar {
	width:9px;
}
::-webkit-scrollbar-thumb {
	background:rgba(0,0,0,0.8);
	border:none;
	border-bottom-left-radius:0;
	border-bottom-right-radius:0;
	border-top-left-radius:0;
	border-top-right-radius:0;
}
::-webkit-scrollbar-track {
	background:rgba(170,170,170,0.8);
}

/*--------------------------------------------------------------
# Main-Logo
--------------------------------------------------------------*/

#picture-logo {
	width: 100%;
	transition: width 1s cubic-bezier(0.7,0,0.3,1);
	display: initial;
}

#theme-logo-text {
	margin-bottom: 20px;
}


#theme-logo-text h1 {
	font-size: 3em;
	margin: 1em;
}

.main-logo {
	text-align: center;
}

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


/*--------------------------------------------------------------
# Preloading
--------------------------------------------------------------*/
#main-logo-container {
	max-width: 960px;
	margin: 0 auto;
	padding-top: 20px;
	padding-bottom: 20px;
	top: 0;
	height: 100%;
	transform: translate3d(0,100%,0);
}

#theme-logo-picture {
	text-align: center;
}

.load-content {
	margin-top:0;
	opacity: 0;
}

.preload-loader {
	position: absolute;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	opacity: 0;
	right: 0;
	bottom: 30%;
	width: 100%;
	cursor: default;
	pointer-events: none;
}

.spinner {
	position: absolute;
	height: 50px;
	width: 50px;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
    border-bottom: 3px solid transparent!important;
    border-left: 4px solid;
    border-radius: 200px;
    border-right: 4px solid;
    border-top: 4px solid;
    transition-property: all;
    transition-duration: 0s;
    transition-timing-function: ease;
    text-align: center;
    
}

.loading .preload-loader {
	opacity: 1;
	-webkit-animation: animInitialHeader 1s cubic-bezier(0.7,0,0.3,1) both;
	animation: animInitialHeader 1s cubic-bezier(0.7,0,0.3,1) both;
	animation-delay: 200ms;
}

@keyframes animInitialHeader {
	from { 
		opacity: 0; 
		-webkit-transform: translate3d(0,200px,0); 
		transform: translate3d(0,200px,0); 
	}
}

.loaded .preload-loader {
	-webkit-animation: animLoadedLoader 0.5s cubic-bezier(0.7,0,0.3,1) forwards;
	animation: animLoadedLoader 0.5s cubic-bezier(0.7,0,0.3,1) forwards;
}

@keyframes animLoadedLoader {
	to { 
		opacity: 0; 
		-webkit-transform: translate3d(0,-100%,0) scale3d(0.3,0.3,1); 
		transform: translate3d(0,-100%,0) scale3d(0.3,0.3,1);
	}
}

.loaded #preload-container,
.loaded #main-logo-container {
	-webkit-animation: animLoadedHeader 1s cubic-bezier(0.7,0,0.3,1) forwards;
	animation: animLoadedHeader 1s cubic-bezier(0.7,0,0.3,1) forwards;
	-webkit-animation-delay: .2s;
	-o-animation-delay: .2s;
	animation-delay: .2s;
}


@keyframes animLoadedHeader {
	to { 
		-webkit-transform: translate3d(0,0,0);
		transform: translate3d(0,0,0);
	}
}

.loaded .load-content {
	opacity: 1;
	-webkit-animation: animLoadedContent 1s cubic-bezier(0.7,0,0.3,1) both;
	animation: animLoadedContent 1s cubic-bezier(0.7,0,0.3,1) both;
	-webkit-animation-delay: .5s;
	-o-animation-delay: .5s;
	animation-delay: .5s;
}


.loaded .load-content.fullscreen {
	animation-fill-mode: none;
	-webkit-animation-fill-mode: none;
}


@keyframes animLoadedContent {
	from { 
		opacity: 0; 
		-webkit-transform: translate3d(0,200px,0);
		transform: translate3d(0,200px,0);
	}
}

.loaded #picture-logo {
	width: 500px;
}

.loaded #desktop-navigation {
	opacity: 1;
	transition: opacity 1s;
	transition-delay: .5s;
}


/*--------------------------------------------------------------
# navigation
--------------------------------------------------------------*/
#mobile-navigation {
	display: none;
}


#desktop-navigation .menu-tessa-main-menu-container {
	position: relative;
	box-shadow: 0 1px 2px rgba(0,0,0,.06);
}

#mobile-navigation .menu-tessa-main-menu-container {
	position: relative;
	margin-bottom: 1em;

}

#desktop-navigation {
	position: static;
	display: block;
	top: -200px; 
	width: 100%;
	height: auto;
	opacity: 0;
	-webkit-transition: top 1s linear;
	transition: top 1s linear;
}

.loaded #desktop-navigation.before-sticky {
	position: fixed;
	left: 0;
	width: 100%;
	height: auto;
	background: #fff;
	z-index: 1000;
	-webkit-transition: top 1s linear;
	transition: top 1s linear;
	transition-delay: 0;
}

#desktop-navigation.is-sticky {
	top: 0;
	overflow: visible;
}

#desktop-navigation ul {
	position: relative;
	list-style: none;
	margin: 0;
	padding-left: 0;
	text-align: center;
}

#desktop-navigation li {
	display: inline-block;
	padding: 15px 20px;
	transition: background-color .3s ease;
}


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


.main-navigation ul ul {
	z-index: 99999;
}

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

.main-navigation ul ul a {
	width: auto;
}

#desktop-navigation ul ul li {
	margin: 0 5px;
}

#desktop-navigation ul li ul {
	text-align: center;
	position: absolute;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	top: 54px;
	background-color: rgba(0,0,0,.7);
	box-shadow: 0 1px 2px rgba(0,0,0,.3);
}

#desktop-navigation ul li ul li {
	font-size: 12px;
	display: inline-flex;
	padding: 0;
	vertical-align: middle;
	line-height: 55px;
	color: #fff;
}

#desktop-navigation ul li ul li a {
	color: #fff;
}

#desktop-navigation ul li ul li:first-of-type::before {
	visibility: hidden;
	content: '/';
	font-size: 1em;
    line-height: 55px;
}

#desktop-navigation ul li ul li:not(:first-of-type)::before {
	content: '/';
	margin-right: 10px;
	font-size: 1em;
    line-height: 55px;
}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

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

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

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}

/* Mobile menu */
#mobile-navigation .menu {
	list-style: none;
	padding: 0;
}


#mobile-navigation ul li {
	font-size: 20px;
	text-align: center;
	text-transform: uppercase;
}

#mobile-navigation a {
	text-decoration: none;
}

#mobile-navigation .sub-menu {
	list-style: none;
	margin-left: 0;
}

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


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

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

.post-navigation .nav-previous {
	text-align: right;
	padding-top: 3em;
}

.post-navigation .nav-next {
	text-align-last: left;
	padding-top: 3em;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	position: relative;
	float: right;
	width: 48%;
}

.post-navigation .nav-previous a::after {
    content: 'Previous';
    position: absolute;
    right: 0;
    top: -10px;
    font-size: 3em;
}

.post-navigation .nav-next a::before {
	content: 'Next';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3em;
}

.nav-next a::after {
	font-family: fontAwesome;
	content: '\f178';
	padding-left: 5px;
}

.nav-previous a::before {
	font-family: fontAwesome;
	content: '\f177';
	padding-right: 5px;
}

.post-navigation {
	margin-bottom: 60px;
}

.post-navigation a,
.navigation-back {
	text-decoration: none;
	text-transform: uppercase;
}


.navigation-back {
	float: right;
    text-align: center;
}

.navigation-back::after {
	font-family: fontAwesome;
	content: '\f148';
	padding-left: 5px;
}


/*--------------------------------------------------------------
## mobile-menu-trigger-icon
--------------------------------------------------------------*/
#menu-trigger-container {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 36px;
	height: 36px;
	z-index: 1001;
	cursor: pointer;
}

.menu-trigger {
	position: absolute;
	top: 9px;
	right: 7px;
	width: 22px;
	height: 18px;
	margin: auto;
	z-index: 101;
}

.menu-trigger .line {
	position: absolute;
	display: block;
	width: 100%;
	height: 2px;
	background-color: black;
	-webkit-transition: -webkit-transform 0.2s;
	-moz-transition: -moz-transform 0.2s;
	transition: transform 0.2s;
}

.menu-trigger .line:nth-child(1) {
	top: 0;
}

.menu-trigger .line:nth-child(2) {
	top: 50%;
	-ms-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}

.menu-trigger .line:nth-child(3) {
	bottom: 0;
}

.menu-trigger.open .line:nth-child(1) {
	-ms-transform: translateY(8px) rotate(45deg);
	-webkit-transform: translateY(8px) rotate(45deg);
	-moz-transform: translateY(8px) rotate(45deg);
	-o-transform: translateY(8px) rotate(45deg);
	transform: translateY(8px) rotate(45deg) translateZ(1px);
	-webkit-transition: -webkit-transform 0.2s;
	-moz-transition: -moz-transform 0.2s;
	transition: transform 0.2s;
}

.menu-trigger.open .line:nth-child(2) {
	display: none;
}

.menu-trigger.open .line:nth-child(3) {
	-ms-transform: translateY(-8px) rotate(-45deg);
	-webkit-transform: translateY(-8px) rotate(-45deg);
	-moz-transform: translateY(-8px) rotate(-45deg);
	-o-transform: translateY(-8px) rotate(-45deg);
	transform: translateY(-8px) rotate(-45deg) translateZ(1px);
	-webkit-transition: -webkit-transform 0.2s;
	-moz-transition: -moz-transform 0.2s;
	transition: transform 0.2s;
}

#menu-label {
	top: 7px;
	right: 40px;
	position: absolute;
}

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/
.site-header {
	height: 500px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	position: relative;
}


.site-branding {
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 4em;
    top: 0;
    height: 100%;
    background-color: rgba(0,0,0,.5);
}

.site-branding p {
    position: absolute;
    letter-spacing: 0.2px;
    left: 0;
    right: 0;
    top: 50%;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
	line-height: 1.3em;
}

.hero-slider .owl-controls {
	position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    z-index: 10000;
}

.hero-slider-item {
	height: 500px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
.section-heading {
    font-size: 1em;
    line-height: 2rem;
    text-align: center;
    margin: 0;
    margin-top: 20px;
    padding-bottom: 0;
    transition: font-size 0.5s;
}


.section-heading.in-viewport,
section.no-effect .section-heading {
	font-size: 2em;
}

.section-shape-container {
	position: relative;
	margin: 0 auto 30px auto;
	width: 300px;
	text-align: center;
}

.section-cube {
	font-family: 'helium';
	font-size: 0em;
	line-height: 20px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition: font-size 0.5s ease;
}


.section-cube.in-viewport,
section.no-effect .section-cube {
	font-size: 1.8em;
}

.section-cube::before {
	content: "\e63a";
	vertical-align: middle;
}

.section-line {
	position: absolute;
	top: 18px;
    right: 170px;
    left: 170px;
	height: 2px;
	transition: all 0.5s;
	opacity: .8;
}

.section-line.full {
	top: 10px;
}

.section-line.left.in-viewport,
section.no-effect .section-line.left {
	left: 80px;
}

.section-line.right.in-viewport,
section.no-effect .section-line.right {
	right: 80px;
}

.section-line.full.in-viewport,
section.no-effect .section-line.full {
	left:  80px;
	right: 80px;
}

.icon-logo {
    width: 30px;
    padding-top: 3px;
    margin-left: 135px;
}

.content-area {
	position: relative;
	max-width: 960px;
	margin: 0 auto;
}

.content-area .animate-on-scroll>p {
	padding: 0 20px;
	margin-bottom: 50px;
    text-align: center;
}

.animate-on-scroll {
	opacity: 0;
}

section.no-effect .animate-on-scroll {
	opacity: 1;
}

section:not(.no-effect) .animate-on-scroll.in-viewport {
	opacity: 1;
	-webkit-animation: animInitialHeader 1.5s cubic-bezier(0.7,0,0.3,1) both;
	animation: animInitialHeader 1.5s cubic-bezier(0.7,0,0.3,1) both;
}

.content-area>p:first-of-type:not(.footer-copyright) {
	font-style: italic;
	text-align: center;
}

.content-area.full-width {
	max-width: 100%;
}

.load-content.scrolled {
	margin-top: 54px;
}

/*--------------------------------------------------------------
## Section-services
--------------------------------------------------------------*/
.service,
.member,
.testimonial {
	padding: 0;
	margin: 0px auto;
	text-align: center;
	max-width: 400px;
}

.service {
	padding-bottom: 0;
}


.service-heading {
	transition: color.3s ease;
	padding-bottom: 1em;
}

.service p {
	text-align: left;
	margin-bottom: 0;
}

.service-icon-container {
	padding: 30px;
	transition: background-color.3s ease;
}

.fa.service-icon {
	font-size: 4em;
	transition: color.3s ease;
}

/*--------------------------------------------------------------
## Section-portfolio
--------------------------------------------------------------*/
.portfolio-item {
	margin: 0;
	overflow: hidden;
}

.portfolio-item img {
	display: block;
	height: auto;
	vertical-align: top;
}

.inner-wrapper {
	position: relative;
	height: 100%;
}

.portfolio-mozaic {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.portfolio-mozaic::before {
	content: "";
	display: block;
	padding-top: 75%; 	/* initial ratio of 3:4*/
}

.portfolio-mozaic-square {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.portfolio-mozaic-square::before {
	content: "";
	display: block;
	padding-top: 100%; 	/* initial ratio of 1:1*/
}

.no-thumb-img {
	height: 150px;
	background-color: grey;
}

.owl-carousel .portfolio-item {
	position: relative;

}


.owl-carousel .portfolio-item::before {
	content: "";
	display: block;
	padding-top: 75%; 	/* initial ratio of 3:4*/
}

.owl-carousel .no-thumb-img {
	height: auto;
}

.owl-carousel .inner-wrapper {
	position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.portfolio-hover {
	position: absolute;
	background-color: rgba(0, 0, 0, 0.8);
	width: 100%;
	height: 100%;
	top: -100%;
}

.portfolio-hover a {
	text-decoration: none;
	color: #fff;
}

.portfolio-hover h2,
.portfolio-hover span {
	margin: 0;
	color: #fff;
}

.portfolio-hover-container {
	text-align: center;
	position: absolute;
	width: 100%;
	top: 50%;
	-moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}


.hover-line {
	width: 0%;
	margin: 0 auto;
	margin-top: 5px;
	height: 1px;
	background-color: rgba(255, 255, 255, 0.6);
	transition: width .5s ease-in-out;
}

.portfolio-hover-details {
	position: absolute;
	bottom: 10px;
    width: 100%;
    text-align: center;
}

.portfolio-hover-details span {
	margin-right: 10px;
}


.portfolio-view::before {
    font-family: fontAwesome;
    content: "\f06e";
    padding-right: 5px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.portfolio-likes::before {
    font-family: fontAwesome;
    content: "\f08a";
    padding-right: 5px;
    transition: color .3s ease;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.portfolio-likes:hover::before {
	color: red;
}

.portfolio-likes.liked::before {
	font-family: fontAwesome;
	content: "\f004";
}

.portfolio-link::before {
    font-family: fontAwesome;
    content: "\f0b2";
    padding-right: 5px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

#hidden-copy {
	display: none;
}

.portfolio-cats-container {
	text-align: center;
	margin-bottom: 20px;
}

.portfolio-cat {
	display: inline-block;
	line-height: 2em;
	margin-right: 20px;
	margin-bottom: 10px;
	padding: 0 10px;
	cursor: pointer;
	transition: color .3s ease, background-color .3s ease;
}

.portfolio-cat span {
	text-transform: capitalize;
}

.portfolio-cat a {
	text-decoration: none;
}

.portfolio-masonry {
	margin-left: 5px;
	margin-right: 5px;
}

.portfolio-masonry .portfolio-item {
	width: calc(25% - 10px);
	margin-bottom: 10px;
	margin-left: 5px;
	margin-right: 5px;
}

/*--------------------------------------------------------------
## Section-members
--------------------------------------------------------------*/
.member-photo-wrapper {
	position: relative;
	width: 100%;
}

.member-photo-wrapper:before {
	content: "";
	display: block;
	padding-top: 125%; 	/* initial ratio of 3:4*/
}

.member-name {
	margin-bottom: 0;
}

.member-photo {
	position:  absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.members-social-container {
	position: absolute;
	left: 0;
	width: 100%;
	top: 50%;
    transform: translateY(-50%);
}

.members-social-container {
	font-size: 20px;
	padding: 0 15px;
}

.members-social-container a {
	display: inline-block;
	width: 39px;
	height: 39px;
	line-height: 40px;
	color: #fff;
	border: 1px solid transparent;
	-webkit-transition: background-color .3s ease;
	-o-transition: background-color .3s ease;
	transition: background-color .3s ease;
}

#members h {
	line-height: 1em;
}

.member-position {
    text-transform: uppercase;
    font-weight: 700;
    font-size: .9em;
}

#members-individual {
	padding: 0;
	list-style: none;
}


#members-individual li {
	display: inline-block;
	vertical-align: top;
}

#members-individual .member-photo-wrapper {
	width: 33.333%;
}

#members-individual .member-individual-descr {
	width: 66.666%;
	padding-left: 10%;
}

.member-individual-descr .members-social-container {
	position: relative;
	transform: none;
	left: auto;
}

.member-individual-descr p {
	margin: 2em 0;
}

.member-individual-descr .members-social-container a {
	text-align: center;
}


/* entire container, keeps perspective */
.flip-container {
	padding-top: 25px;
	-webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    -ms-perspective: 1000px;
    perspective: 1000px;
    -moz-transform: perspective(1000px);
    -ms-transform: perspective(1000px);
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;

}

/* flip the pane when hovered */
.flip-container.hover .flipper {
	transform: rotateY(180deg);
	-webkit-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
}

.back {
	position: relative;
	background-color: #15120d;
	overflow: hidden;
}

.flip-container, .front, .back {
	width: 100%;
	height: 100%;
}

.half-front p {
	margin-bottom: 0;
	padding-left: 1em;
	padding-right: 1em;
	padding-bottom: 1em;
}

/* flip speed goes here */
.flipper {
	-webkit-transition: 0.6s;
    -webkit-transform-style: preserve-3d;
    -ms-transition: 0.6s;
    -moz-transition: 0.6s;
    -moz-transform: perspective(1000px);
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
}

/* hide back of pane during swap */
.front, .back {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: 0.6s;
    -webkit-transform-style: preserve-3d;
    -webkit-transform: rotateY(0deg);
    -moz-transition: 0.6s;
    -moz-transform-style: preserve-3d;
    -moz-transform: rotateY(0deg);
    -o-transition: 0.6s;
    -o-transform-style: preserve-3d;
    -o-transform: rotateY(0deg);
    -ms-transition: 0.6s;
    -ms-transform-style: preserve-3d;
    -ms-transform: rotateY(0deg);
    transition: 0.6s;
    transform-style: preserve-3d;
}

/* front pane, placed above back */
.front {
	background-color: grey;
	z-index: 2;
	/* for firefox 31 */
	-ms-transform: rotateY(0deg) translate3d(0,0,0);
	transform: rotateY(0deg) translate3d(0,0,0);
	-webkit-transform: rotateY(0deg) translate3d(0,0,0);
}

/* back, initially hidden pane */
.back {
	transform: rotateY(180deg) translate3d(0,0,0);
	-ms-transform: rotateY(180deg) translate3d(0,0,0);
	-webkit-transform: rotateY(180deg) translate3d(0,0,0);
	position: absolute;
	top:0;
	bottom:0;
	left:0;
}

/*--------------------------------------------------------------
## Section-blog
--------------------------------------------------------------*/
.latest-posts {
	margin: 0;
	padding: 0;
}

.latest-posts li {
	display: inline-block;
	width: calc(33.333% - 30px);
	margin: 0 15px;
	vertical-align: top;
}

#blog h2 {
	text-align: center;
	margin-bottom: .5em;
}

.latest-posts a {
	text-decoration: none;
}

.latest-posts p {
	text-align: left;
}

#blog .post-title-container {
	display: block;
    min-height: 3em;
    clear: both;
    margin-top: 3em;
}

.blog-news-image {
	position: relative;
	width: 100%;
	margin-bottom: 5px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.post-date,
.post-comments-view,
.post-comments-count {
	font-size: 0.8em;
}

.blog-news-image::before {
	content: "";
    display: block;
    padding-top: 75%;
}

.post-date::before {
	font-family: fontAwesome;
	content: "\f073";
	padding-right: 3px;
}

.post-comments-count {
	margin-right: 15px;
}

.post-date {
	float: left;
}

.post-comments-count,
.post-comments-view {
	float: right;
}

.post-comments-count::before {
	font-family: fontAwesome;
	content: "\f0e6";
	padding-right: 3px;
}

.post-comments-view::before {
	font-family: fontAwesome;
	content: "\f06e";
	padding-right: 3px;
}

.blog-separator {
	display: none;
    height: 1px;
    width: 85%;
    margin: 0 auto;
    margin-top: 2em;
    background: #DADADA;
}

/*--------------------------------------------------------------
## Section-contact
--------------------------------------------------------------*/
#map-canvas {
	height: 620px;
	z-index: 1;
}

#contact-wrapper {
	position: relative;
}


#contact-container-wrapper {
	position: absolute;
	top:50px;
	left:50px;
	right:50px;
	width: calc(100% - 100px);
    max-width: 960px;
	margin-left: auto;
	margin-right: auto;
	z-index: 2;
}

#contact-container {
	height: auto;
	margin: 0px;
	padding: 60px;
	background-color: #fff;
	visibility: visible;
  	opacity: 1;
  	transition: visibility .5s, opacity 0.5s linear;
}

#contact-container.no-map {
    max-width: 1100px;
    padding: 0;
    margin: 0 auto;
}


#contact-container.not-active {
	visibility: hidden;
  	opacity: 0;
}

#show-map {
	display: block;
	position: absolute;
	top: 20px;
	right: 20px;
	line-height: 2em;
	padding: 5px 10px;
	z-index: 3;
	background-color: #fff;
	cursor: pointer;
	transition: color .3s ease;
}

#show-map i {
	padding-right: 3px;
	vertical-align: middle;
}

#show-map.map::before {
    font-family: helium;
    content: "\e65b";
    font-size: 2em;
    padding-right: 3px;
    vertical-align: middle;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.contact-subheading {
	display: block;
	text-align: center;
}

.contact-subheading h2 {
	padding: 0 0 20px 0;
	margin: 0;
}


.end-paragraph {
  padding-bottom: .7em;
}

#contact-container p {
	margin: 0;
}

#contact-name {
	font-weight: 500;
}

#contact-container a {
	text-decoration: none;
	display: block;
}


#contact-subscribe,
#contact-form,
#contact-details {
	position: relative;
	display: inline-block;
	margin: 0 10px;
	width: calc( 35% - 21px);
	height: auto;
	vertical-align: top;
	text-align: left;
}

#contact-subscribe {
	float: left;
    width: calc( 28% - 21px);
    margin-right: 65px;
}


#contact-details {
	width: calc( 30% - 21px);
	padding-right: 30px;
}

#contact-details.two-columns {
	width: calc( 35% - 21px)
}

#contact-form.two-columns {
	width: calc( 65% - 21px)
}

.subscription-container input[type="checkbox"]{
	visibility: hidden;
}

.subscription-container h3 {
	margin-top: 0;
}

#contact-name,
#contact-address1,
#contact-address2
#contact-phone1,
#contact-phone2,
#skype-chat {
	line-height: 1.3em;
}


#contact-subscribe p {
	padding-bottom: 1em;
}


#contact-details a::before {
	width: 16px;
	margin-right: 8px;
	text-align: center;
	font-family: FontAwesome;
	display: inline-block;
}

#contact-phone1::before {
	content: "\f10b";
}

#contact-phone2::before {
	content: "\f095";
}

#skype-call::before {
	content: "\f17e";;
}

#skype-chat::before {
	content: "\f27b";
}

#contact-email::before {
	content: "\f003";
}

/*--------------------------------------------------------------
## Section-testimonial
--------------------------------------------------------------*/
.client-photo-wrapper {
	padding: 20px;
	transition: background-color.3s ease;
}

.client-photo {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    margin: 0 auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial h2 {
	margin:0;
}

.testimonial a {
	text-decoration: none;
}

.testimonial-client {
	display: block;
	height: 1.8em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: .9em;
}

.testimonial-descr {
	padding-top: 1em;
	text-align: left;
	font-style: italic;
}

.testimonial-descr::before {
	font-family: helium;
	content: "\e612";
	font-size: 20px;
	padding-right: 5px;
	vertical-align: bottom;
	transition: color.3s ease;
}

/*--------------------------------------------------------------
## Section-twitter
--------------------------------------------------------------*/
#twitter {
	padding: 30px 0;
	background-color: #55acee;
}

#twitter p {
	font-size: 1.3em;
	text-align: center;
	padding-bottom: 1em;
}

#twitter a {
	text-decoration: none;
}

#twitter h1 {
    padding-top: 0;
    padding-bottom: 1em;
    margin-top: 0;
}

#twitter h1,
#twitter p,
#twitter a {
	color: #fff;
}

#twitter i {
	position: absolute;
	top: 0;
	left: -30px;
	font-size: 14em;
	color: #73BCF3;
}

.tweet p {
	padding: 0 30px;
	margin-bottom: 0;
}

/*--------------------------------------------------------------
## Section-instagram
--------------------------------------------------------------*/
.instagram-feed {
	margin: 0;
	padding: 0;
}
.instagram-item {
	position: relative;
	display: inline-block;
	width: 16.666%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.instagram-item::before {
	content: "";
	display: block;
	padding-top: 100%; 	/* initial ratio of 3:4*/
}

.instagram-item a {
	display: block;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0);
	text-align: center;
	transition: background-color .5s ease;
}

.instagram-icon {
	position: absolute;
	opacity: 0;
    top: 50%;
    left: 0;
    right: 0;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    color: #fff;
    transition: opacity 0.5s ease;
}

.instagram-icon::before {
    font-family: fontAwesome;
    content: "\f06e";
    font-size: 2em;
    opacity: .8;
    color: #FFFFFF;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/*--------------------------------------------------------------
## Section-clients
--------------------------------------------------------------*/
.clients-logos {
	padding: 0;
	text-align: center;
}

.clients-logos li {
	list-style: none;
    position: relative;
    display: inline-block;
    width: calc(16.666% - 40px);
    margin: 20px;
    opacity: .6;
    -webkit-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition: opacity .3s ease-in, -webkit-filter .3s ease-in;
    -o-transition: opacity .3s ease-in, -o-filter .3s ease-in;
    transition: opacity .3s ease-in, filter .3s ease-in;
}

.clients-logos li:hover {
	opacity: 1;
	-webkit-filter: grayscale(0);
	-o-filter: grayscale(0);
	filter: grayscale(0);
}




/*--------------------------------------------------------------
## Section-404
--------------------------------------------------------------*/
.error-404 header,
.no-results header {
	padding-top: 4em;
}

.error-404 form,
.no-results form {
	position: relative;
	margin: 5em 0px;
}

.error-404 input[type="text"],
.no-results input[type="text"] {
    width: 100%;
    height: 3em;
    font-size: 2em;
}

.error-404 input[type="submit"],
.no-results input[type="submit"] {
    position: absolute;
    right: 0;
    top: 0;
    width: 3em;
    height: 3em;
    font-size: 2em;
}


.error-404 i,
.no-results i {
	position: absolute;
	right: 21px;
    top: 20px;
    font-size: 3em;
    color: #fff;
}

.error-404 .widget,
.no-results .widget {
	max-width: 350px;
	margin: 2em auto;
}

.paragraph-404	{
	text-align: center;
}

/*--------------------------------------------------------------
# Shuffle grid
--------------------------------------------------------------*/
.masonry-grid {
	position: relative;
	overflow: hidden;
}

/* Animate in styles */
.masonry-grid.animatein {
	overflow: visible;
}

.masonry-grid.animatein .inner-wrapper {
	opacity: 0;
	transform: translate(0, 220px); 
}

.masonry-grid.animatein .inner-transition {
	transition: opacity 0.5s ease-in, transform 0.5s ease-in;
}

.masonry-grid.animatein .portfolio-item.in .inner-wrapper {
	opacity: 1;
	transform: translate(0, 0);
	height: 100%;
}

/*--------------------------------------------------------------
# Owl Carousel
--------------------------------------------------------------*/
.owl-prev,
.owl-next {
	display: inline-block;
	position: absolute;
	top:0;
	height: 100%;
	width: 50px;
	background-color: rgba(0, 0, 0, 0);
	transition: background-color .3s ease;
}

.owl-prev {
	left: -50px;
}

.owl-next {
	right: -50px;
}

.owl-prev:hover,
.owl-next:hover {
	background-color: rgba(255, 255, 255, 0.6);
}

.portfolio-carousel .owl-prev {
	left: 0;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.6);
}

.portfolio-carousel .owl-prev::before,
.portfolio-carousel .owl-next::before {
	color: #fff;
}

.portfolio-carousel .owl-next {
	right: 0;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.6);
}


.owl-next.disabled,
.owl-prev.disabled {
	display: none!important;
}


.owl-prev::before {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
	font-family: fontAwesome;
	content: "\f053";
	font-size: 3em;
}

.owl-next::before {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
	font-family: fontAwesome;
	content: "\f054";
	font-size: 3em;
	right: 5px;
}

#services-carousel .owl-prev::before,
#services-carousel .owl-next::before {
	top: 43%;
}

.owl-wrapper {
    margin: 0 auto;
}



.owl-pagination {
	text-align: center;
}

.owl-page {
	display: inline-block;
	margin: 0 3px;
	width: 10px;
    height: 10px;
    border: 1px solid #fff;
    border-radius: 50%;
}

.owl-page.active {
	background: #fff;
}

/*--------------------------------------------------------------
# Contact Form 7
--------------------------------------------------------------*/
.wpcf7-form-control-wrap.hidden {
	display: none;
}

.wpcf7-form input {
	width: 100%;
	height: 40px;
	margin-bottom: 10px;
}

.wpcf7-form input[type="submit"] {
	width: 100px;
}

.wpcf7 p {
	text-align: right;
}

div.wpcf7 img.ajax-loader {
	display: none;
}

#contact-wrapper .wpcf7-newsletters-wrap,
.wpcf7-validation-errors {
	display: none!important;
}

.wpcf7-response-output {
	margin:0!important;
	padding:0!important;
}

.wpcf7-mail-sent-ok {
	position: absolute!important;
    top: 228px!important;
    color: #398f14!important;
    border: none!important;
    font-size: .8em!important;
}

span.wpcf7-not-valid-tip {
	font-size: .7em!important;
    position: absolute!important;
    top: -21px!important;
    lefT: -48px!important;
    width: 200px!important;
    color: #f00!important;
    display: block!important;
}

.newsletter {
	display: none!important;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
	padding-top: 100px;
	clear: both;
	opacity: .5;
}

.footer-copyright {
	padding-top: .5em;
}

#footer-company {
	font-weight: 500;
}

#footer-text {
	font-style: italic;
}

.footer-copyright,
.footer-socials {
	text-align: center;
	font-style: normal;
}

.footer-socials {
	padding: 0;
}

.footer-socials li {
	display: inline-block;
	margin: 5px 15px;
}

.footer-socials i {
	font-size: 20px;
}



/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.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;
	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: 20px;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 20px;
}

.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
--------------------------------------------------------------*/
.content-area.float-left {max-width: 70%;}

#secondary {
	max-width: 25%;
	position: relative;
	margin-top: 195px;
	padding-bottom: 50px;

}


.widget_search {
    position: absolute;
    top: -120px;
    left: 0;
    right: 0;
}

.widget {
	margin: 0 0 3em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}


.widget h2 {
	font-size: 1em;
	text-align: center;
	text-transform: uppercase;
}

.widget ul {
	list-style: none;
	padding-left: 0;
}

.widget:not(.widget_niteo_instagram):not(.widget_categories):not(.widget_recent_comments) li a::before {
	font-family: fontAwesome;
	content: '\f105';
	vertical-align: baseline;
	padding-right: 10px;
}

.widget:not(.widget_niteo_instagram):not(.widget_categories):not(.widget_recent_comments) li.active a::after {
	position: absolute;
	font-family: fontAwesome;
	content: '\f105';
    left: 4px;
    top: 4px;
    line-height: 1em;
}

.widget:not(.widget_niteo_instagram) a {
	position: relative;
	text-decoration: none;
	font-size: .9em;
}

.widget .searchform {
	position: relative;
}

.widget .input-search {
	width: 100%;
	line-height: 2em;
	background-color: transparent;
	border: none;
}

.widget input::-webkit-input-placeholder {
	/* font-size: .8em; */
}

.widget input[type="submit"] {
    position: absolute;
	right: 0px;
    top: 0;
    width: 30px;
    height: 32px;
    padding: 0;
    background: transparent;
    z-index: 1;
}

.widget input[type="submit"]:hover {
	background: transparent;
}

.widget .button-search {
	position: absolute;
	z-index: 0;
    right: 7px;
    top: 10px;
}

.tagcloud a {
	font-size: .9em!important;
	line-height: 1.9em;
	display: inline-block;
	padding: 6px 16px;
    margin-bottom: 4px;
    transition: color .3s ease, background-color .3s ease;

}

.widget_categories li {
	line-height: 3em;
}

.widget.widget_categories li a {
	font-size: 1em;
	text-transform: uppercase;
}


/*--------------------------------------------------------------
## Instagram Widget
--------------------------------------------------------------*/
.widget_niteo_instagram .instagram-item {
	width: 33.333%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.full-content {
	width: 100vw;
    margin-left: calc((960px - 100vw)/2);
}

.entry-content>p,
.entry-content>ol,
.entry-content>ul {
	position: relative;
    margin: 0 auto;
    margin-bottom: 20px;
    width: 100%;
    text-align: justify;
}

.entry-content>ul.column-shortcode {
	margin-bottom: 0;
}

.entry-content>h1,
.entry-content>h2,
.entry-content>h3,
.entry-content>h4,
.entry-content>h5,
.entry-content>h6 {
	width: 100%;
	margin: 1em auto;
}

.entry-content.portfolio>p,
.entry-content.portfolio>ol,
.entry-content.portfolio>ul:not(.column-shortcode),
.entry-content.portfolio>h1,
.entry-content.portfolio>h2,
.entry-content.portfolio>h3,
.entry-content.portfolio>h4,
.entry-content.portfolio>h5,
.entry-content.portfolio>h6,
.entry-content.single-post>p,
.entry-content.single-post>ol,
.entry-content.single-post>ul:not(.column-shortcode),
.entry-content.single-post>h1,
.entry-content.single-post>h2,
.entry-content.single-post>h3,
.entry-content.single-post>h4,
.entry-content.single-post>h5,
.entry-content.single-post>h6 {
	max-width: 700px;
}

.entry-content>p.video {
	max-width: 960px;
}

.entry-content.portfolio>p>img,
.entry-content.portfolio>p>.lightbox,
.content-area:not(.float-left) .single-post>p>img,
.content-area:not(.float-left) .single-post>p>.lightbox {
	width: 100vw;
	max-width: 960px;
    margin-left: calc((700px - 960px)/2);
}


.entry-header {
	padding: 5em 0 0em 0;
	height: 13em;
	text-align: center;	
	box-shadow: inset -1px 30px 54px -12px rgba(236, 236, 236, .4);
}


.entry-title-container {
	display: inline-block;
}

.single-post.blog .float-left .entry-title-container,
.content-area.float-left .entry-title-container {
	position: absolute;
	text-align: center;
	left: 0;
	right: 0;
	top: 50px;
}

.entry-title {
	padding: 0 1em;
	margin-bottom: 0;
	position: relative;
	display: block;
	text-align: center;
}

.entry-line {
	height: 2px;
	margin: 0 auto;
	width: 0;
	-webkit-transition: width .3s ease;
	transition: width .3s ease;
    -webkit-transition-delay: 1s; /* Safari */
    transition-delay: 1s;
}

.loaded .entry-line {
	width: 90px;
}

.entry-details {
	margin: 0em;
	text-align: center;
}


.end-of-post {
	width: 100%;
	height: 1px;
	margin-top: 60px;
	background-color: rgb(240, 240, 240);
}

.share-container {
	text-align: left;
	margin: 10px 0 60px 0;
	height: 70px;
    line-height: 70px;
}

.share-container span {
	padding-right: 20px;
	padding-left: 20px;
}

.share-container a {
	padding-right: 20px;
	text-decoration: none;
}

.share-container i::before {
	padding-right: 3px;
}

.share-line {
	height: 1px;
	width: 100%;
	margin: 1em 0;
	opacity: .3;
}


/*--------------------------------------------------------------
## Lightbox
--------------------------------------------------------------*/

.lightbox {
  display: inline-block;
  overflow: hidden;
  max-width: 100%;
}

.lightbox img {
  -webkit-transition: -webkit-transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) , opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    -moz-transition: -moz-transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#imagelightbox-overlay {
  position: fixed;
  z-index: 3000;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: black;
  display: none;
}

#imagelightbox {
  position: fixed;
  z-index: 3001;
}

#lightbox-close {
  position: fixed;
  z-index: 3002;
  top: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  cursor: pointer;
  border-radius: 3px;
}

#lightbox-close .line {
  position: absolute;
  display: block;
  width: 30px;
  left: 5px;
  height: 2px;
  background: white;
}

#lightbox-close .line:nth-child(1) {
  top: 19px;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#lightbox-close .line:nth-child(2) {
  bottom: 19px;
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.imagelightbox-arrow {
  display: block;
  position: fixed;
  z-index: 3002;
  cursor: pointer;
  height: 40px;
  width: 40px;
  background-color: rgba(255,255,255,0.1);
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  border-radius: 3px;
}

.imagelightbox-arrow-left {
  left: 10px;
}

.imagelightbox-arrow-right {
  right: 10px;
}


.imagelightbox-arrow::before {
  position: relative;
  top: 11px;
  left: 15px;
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  border-right: 2px solid white;
  border-top: 2px solid white;
  transform: rotate(225deg);

}

.imagelightbox-arrow-right::before {
  transform: rotate(45deg);
  left: 8px;
}

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

.hentry {
	margin: 0 0 20px;
}

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

.single .byline,
.group-blog .byline {
	display: inline;
}

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

.page-links {
	clear: both;
	margin: 0 0 20px;
}



/*--------------------------------------------------------------
## Portfolio Cats
--------------------------------------------------------------*/
.portfolio-cat-img {
	position: relative;
	overflow: hidden;
}

.portfolio-cat-details-container {
    position: absolute;
    bottom: 50px;
    left: 50px;
    color: #fff;
    padding: 30px 70px;
    background-color: rgba(0,0,0,.7);
}

.portfolio-cat-details-container h2 {
    color: #fff;
    font-size: 3em;
    margin: 0;
}

.portfolio-cat-details-container span {
	font-size: 2em;
}

.portfolio-cat-img img {
	transform-origin: 20% 80%;
    transition: transform 40s linear;
}

.portfolio-cat-img:hover img {
	transform: scale(1.5);
}

.portfolio-category article {
	margin-bottom: 3em;
}

.portfolio-category article:not(:first-of-type) {
	display: inline-block;
	width: calc(50% - 20px - 3px);
}

.portfolio-category article:nth-child(odd):not(:first-of-type) {
	margin-right: 3em;
}

.portfolio-category article:not(:first-of-type) .portfolio-cat-details-container {
	bottom: 15px;
    left: 15px;
    padding: 10px 30px;
}

.portfolio-category article:not(:first-of-type) h2 {
	font-size: 20px;
}

.portfolio-category article:not(:first-of-type) span {
	font-size: 1em;
}

/*--------------------------------------------------------------
## Post Previews
--------------------------------------------------------------*/
.preview-content {
	text-align: center;
}

.preview-content h2 {
	margin-bottom: 0;
}

.content-preview-wrapper {
	max-width: 960px;
	margin: 0 auto;
}

.content-preview-wrapper.single-post {
	padding-top: 0;
}

.entry-title a {
	text-decoration: none;
}

.entry-preview-content {
	position: relative;
	text-align: right;
	margin-bottom: 50px;
}

.entry-preview-content>p {
	text-align: left;
	margin-top: 20px;
}

.entry-preview-content .button {
	text-align: center;
}

.post-preview-separator {
    position: absolute;
    width: calc(100% - 150px);
    height: 2px;
    background-color: #EFEFEF;
    bottom: 28px;
}

.entry-meta {
	margin-top: .5em;
	margin-bottom: 0.5em;
	text-align: center;
}

.entry-meta,
.entry-meta li a {
	font-size: 0.8em;
}

.entry-meta a {
	text-decoration: none;
	font-weight: 700;
}

.entry-meta a.comments-link {
	font-weight: normal;
}

.content-areaf {
	max-width: 70%;
}



/*--------------------------------------------------------------
## Post Pagination
--------------------------------------------------------------*/
.post-pagination,
.page-links {
  width: 100%;
  text-align: center;
  padding-bottom: 30px;
}


.post-pagination a {
  text-decoration: none;
}

.page-numbers,
.page-links a {
  display: inline-block;
  height: 25px;
  width: 25px;
  padding: 0 8px;
  line-height: 25px;
  border: 1px solid transparent;
  transition: border-color .25s ease-in-out;
  -moz-transition: border-color .25s ease-in-out;
  -webkit-transition: border-color .25s ease-in-out;
}


.page-numbers.current {
  font-size: 1em;
  color: #fff;
}


/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}


/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-respond {
	padding: 20px 0;
	margin-bottom: 20px;
}

.commentlist {
	padding: 0;
}

.commentlist,
.commentlist ul {
	list-style: none;
}

.commentlist article.comment {
	padding-bottom: 40px;
}


.comment-content a {
	word-wrap: break-word;
}

.comment-content p {
	display: inline;
}

.bypostauthor {
	display: block;
}

.comment-notes {
	font-size: .8em;
}

.comment-author img {
	max-width: 70px;
	border-radius: 50%;
	float: left;
	margin-right: 20px;
}

.comment-author a {
	text-decoration: none;
	font-weight: 700;
}

.comment-date {
	font-size: .8em;
}

.comment-reply-link {
	text-decoration: none;
}

.comment-reply-link::after {
	content: '\f101';
	font-family: fontAwesome;
    vertical-align: middle;
    padding-left: 2px;
}

.comment-form input {
	padding: 6px;
	width: calc(50% - 13px);
}

.comment-form input:first-of-type:not(.submit) {
	margin-right: 20px;
}

.comment-form textarea {
	margin-top: 20px;
}

.form-submit {
	text-align: right;
}

.form-submit .submit {
	max-width: 160px;
}

.form-allowed-tags {
	font-size: .7em;
}

.form-allowed-tags code {
	font-size: 1.1em;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.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%;*/
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 0;
	max-width: 100%;
	position: relative;
}

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

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
	max-width: 70%;
    position: absolute;
    bottom: 20px;
    color: #fff;
    background-color: rgba(0,0,0,.6);
    padding: 10px 20px;
}

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

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 10px;
}

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

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Shortcodes
--------------------------------------------------------------*/
/*NITEO SHORTCODES STYLES*/
.firstletter-paragraph {
  text-align: left;
}

.firstletter {
    display: block;
    font-size: 2em;
    font-weight: 700;
    width: 2em;
    height: 2em;
    text-align: center;
    line-height: 2em;
    float: left;
    margin-right: .6em;
    margin-top: 6px;
}

.button-shortcode-wrapper {
	display: inline;
}

.button,
.wpcf7-form input[type="submit"] {
  display: inline-block;
  position: relative;
  margin: 10px 0;
  /* margin-right: 10px; */
  text-decoration: none;
  width: auto;
  min-width: 120px;
  padding: 1em 20px!important;
  font-size: 1em;
  line-height: 1em;
  color: #fff;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .25s ease-in-out;
  -moz-transition: background-color .25s ease-in-out;
  -webkit-transition: background-color .25s ease-in-out;
}


.highlight-background,
mark, ins {
  display: inline-block;
  padding: 0 3px;

}

.underline {
  position: relative;
  width: 21%;
}

.underline::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  -ms-transform: scaleX(1);
  -o-transform: scaleX(1);
  transition-delay: 2s;
  -webkit-transition-delay: 2s;
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.underline.animate::before {
  width: 100%;
  transition-delay: 2s;
  -webkit-transition-delay: 2s;
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.main-content.portfolio .firstletter,
.main-content.portfolio .highlight-background {
  color: #ffffff;
}



.shuffle-item {
	margin-bottom: 11px;
	text-align: center;
}

.shuffle-item.x1 {
  width: 100%;
}

.shuffle-item.x2 {
  width: calc(50% - 7px);
}

.shuffle-item.x3 {
  width: calc(33.333% - 11px);
}

.shuffle-item.x4 {
  width: calc(25% - 12px);
}

.shuffle-item.x5 {
  width: calc(20% - 13px);
}

.shuffle-item.x6 {
  width: calc(16.666% - 14px);
}

.portfolio-detail-carousel,
.portfolio-detail-slider {
	margin-bottom: calc(20px - 5px);
}

.portfolio-detail-carousel .owl-item,
.portfolio-detail-slider .owl-item {
	line-height: 0;
}

.column-shortcode {
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-direction: row;
  flex-wrap: wrap;
  -cs-flex-direction: row;
  -ms-flex-direction: row;
  -cs-flex-wrap: wrap;
  -webkit-flex-direction: row;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  justify-content: space-between;
  padding: 0;
}

.column-shortcode>li {
  display: inline-block;
  vertical-align: top;
  margin-bottom: 15px;
  margin-right: 10px;
  text-align: justify;
}
.column-shortcode>li p {
  font-size: 1em;
  letter-spacing: 0px;
}

.column-shortcode:(:last-child) {
  margin-right: 0;
}

.x100,
.gallery-columns-1 .gallery-item {
  flex: 1 0 100%;
  -webkit-flex: 1 0 100%;
  -ms-flex: 1 0 100%;
  padding-right: 0;
}

.x90 {
  flex: 1 0 calc(90% - 20px);
  -webkit-flex: 1 0 calc(90% - 20px);
  -ms-flex: 1 0 89%;
}

.x80 {
  flex: 1 0 calc(80% - 20px);
  -webkit-flex: 1 0 calc(80% - 20px);
  -ms-flex: 1 0 79%;

}

.x70 {
  flex: 1 0 calc(70% - 20px);
  -webkit-flex: 1 0 calc(70% - 20px);
   -ms-flex: 1 0 69%;
}

.x60 {
  flex: 1 0 calc(60% - 20px);
  -webkit-flex: 1 0 calc(60% - 20px);
  -ms-flex: 1 0 59%;
}

.x50,
.gallery-columns-2 .gallery-item {
  flex: 1 0 calc(50% - 20px);
  -webkit-flex: 1 0 calc(50% - 20px);
  -ms-flex: 1 0 49%;
}

.x40 {
  flex: 1 0 calc(40% - 20px);
  -webkit-flex: 1 0 calc(40% - 20px);
  -ms-flex: 1 0 39%;
}

.x33,
.gallery-columns-3 .gallery-item {
  flex: 1 0 calc(33.3333% - 20px);
  -webkit-flex: 1 0 calc(33.3333% - 20px);
  -ms-flex: 1 0 32%;
}

.x30 {
  flex: 1 0 calc(30% - 20px);
  -webkit-flex: 1 0 calc(30% - 20px);
  -ms-flex: 1 0 29%;
}


.x25,
.gallery-columns-4 .gallery-item {
  flex: 1 0 calc(25% - 20px);
  -webkit-flex: 1 0 calc(25% -10px);
  -ms-flex: 1 0 24%;
}


.x20,
.gallery-columns-5 .gallery-item {
  flex: 1 0 calc(20% - 20px);
  -webkit-flex: 1 0 calc(20% - 20px);
  -ms-flex: 1 0 19%;
}


.x10 {
  flex: 1 0 calc(10% - 20px);
  -webkit-flex: 1 0 calc(10% - 20px);
  -ms-flex: 1 0 9%;
}

.gallery-columns-6 .gallery-item {
  flex: 1 0 calc(16.666% - 20px);
  -webkit-flex: 1 0 calc(16.666% - 20px);
  -ms-flex: 1 0 15%;
}
.gallery-columns-7 .gallery-item {
    flex: 1 0 calc(14.2800% - 20px);
  -webkit-flex: 1 0 calc(14.2800%- 20px);
  -ms-flex: 1 0 13.2800%;
}
.gallery-columns-8 .gallery-item {
    flex: 1 0 calc(12.5% - 20px);
  -webkit-flex: 1 0 calc(12.5% - 20px);
  -ms-flex: 1 0 12;
}
.gallery-columns-9 .gallery-item {
    flex: 1 0 calc(11.111% - 20px);
  -webkit-flex: 1 0 calc(11.111% - 20px);
  -ms-flex: 1 0 11%;
}

/*--------------------------------------------------------------
# WP-Defaults
--------------------------------------------------------------*/
.post-categories {
	display: inline-block;
	padding: 0;
	list-style: none;
}

.post-categories li {
	line-height: 1;
	display: inline-block;
}

[id^="gallery-"] {
  width: 100%;
  overflow: hidden!important;
    display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-direction: row;
    flex-wrap: wrap;
    -cs-flex-direction: row;
    -ms-flex-direction: row;
    -cs-flex-wrap: wrap;
    -webkit-flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    justify-content: space-between;
}

[id^="gallery-"] img {
  border: none!important;
}


/*--------------------------------------------------------------
# Media-queries
--------------------------------------------------------------*/

/*HOVER EFFECTS FOR DESKTOPS*/
@media only screen and (min-device-width : 1224px) {
	.instagram-item a:hover {
		background-color: rgba(0,0,0, 0.7);
	}

	.instagram-item a:hover .instagram-icon {
		opacity: 1;
	}

	#desktop-navigation>div>ul>li:hover {
		background-color: #F5F5F5;
	}

	/* flip the pane when hovered */
	.flip-container:hover .flipper {
		-webkit-transform: rotateY(180deg);
	    -moz-transform: rotateY(180deg);
	    -o-transform: rotateY(180deg);
	    transform: rotateY(180deg);
	}

}

@media only screen and (min-device-width : 680px) {
	.sub-menu {
		height: 0;
		transition: height .3s ease;
		overflow: hidden;
	}

	.menu-item-has-children:hover .sub-menu {
		height: 55px;
	}
}

@media only screen and (min-width : 960px) {
	#map-canvas {
		z-index: 1;
		filter: gray;
		filter: grayscale(100%) blur(3px);
		-webkit-filter: grayscale(100%) blur(3px);
		-webkit-backface-visibility: hidden;
		transition: .5s filter;
		transition: .5s -webkit-filter;
	}

	#map-canvas.active {
		-webkit-filter: grayscale(0%) blur(0px);
		filter: grayscale(0%) blur(0px);

	}
}

@media only screen and (min-width : 769px) {
	.half-flip-container {
		-webkit-perspective: 1000px;
	    -moz-perspective: 1000px;
	    -ms-perspective: 1000px;
	    perspective: 1000px;
	    -ms-transform: perspective(1000px);
	    -moz-transform: perspective(1000px);
	    -moz-transform-style: preserve-3d;
	    -ms-transform-style: preserve-3d;

	}
	/* flip the pane when hovered */
	.half-flip-container:hover .half-flipper, .half-flip-container.hover .half-flipper {
		transform: rotateY(7deg);
		-webkit-transform: rotateY(7deg);
		-ms-transform: rotateY(7deg);
		transform-origin: 170% 30%;
		-webkit-transform-origin: 170% 30%;
		-ms-transform-origin: 170% 30%;
		-webkit-backface-visibility: hidden;

	}
	/* flip speed goes here */
	.half-flipper {
		transition: .6s;
		transform-style: preserve-3d;
		-webkit-transform-style: preserve-3d;
		-ms-transform-style: preserve-3d;
		position: relative;
	}
}


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


}

@media only screen and (max-width : 1366px) {
	.portfolio-masonry .portfolio-item { width: calc(25% - 10px);}
}

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


}

@media only screen and (max-width : 1024px) {
	.owl-prev {left: 0;}
	.owl-next {right: 0;}
	.portfolio-detail-carousel .owl-prev,
	.portfolio-detail-carousel .owl-next,
	.portfolio-detail-slider .owl-prev,
	.portfolio-detail-slider .owl-next {background-color: rgba(0, 0, 0, 0.5);	}
	.portfolio-detail-carousel .owl-prev::before,
	.portfolio-detail-carousel .owl-next::before,
	.portfolio-detail-slider .owl-prev::before,
	.portfolio-detail-slider .owl-next::before {color: #fff!important;}
	#secondary {max-width: 27%;padding-right: 30px;padding-left: 30px;}
	#comments {padding-left: 20px;}
	#members-individual {padding: 0 20px;}
	.portfolio-category {padding: 0 20px;}

}

@media only screen and (max-width : 960px) {
	.site-header, .hero-slider-item {height: 400px;}
	.portfolio-masonry .portfolio-item { width: calc(33.33% - 10px);}
	#map-canvas {height: 860px;}
	#contact-container {padding: 60px 60px 0 60px;}
	#contact-subscribe {float: none; height: auto; width: 100%; margin: 20px 0;}
	#contact-details, #contact-form, #contact-details.two-columns, #contact-form.two-columns {width: 50%;}
	#contact-paragraph {padding: 2em 0;}
	#contact-subscribe, #contact-form, #contact-details {margin: 0; padding-bottom: 2em;}
	.half-front p {padding-left: 3em; padding-right: 3em;}
	.subscription-container {position: relative;}
	.full-content {margin-left: 0;}
	.owl-prev::before,
	.owl-next::before {color: #fff;}
	.entry-content.portfolio,
	article,
	.entry-footer {padding: 0 20px;}
	.entry-content.portfolio>p>img,
	.entry-content.portfolio>p>.lightbox,
	.content-area:not(.float-left) .single-post>p>img,
	.content-area:not(.float-left) .single-post>p>.lightbox {max-width: calc(100vw - 50px);margin-left: calc((750px - 100vw)/2);}
	.error-404, .no-results {padding: 0 20px;}
}


@media only screen and (max-width : 768px) {
	body,
	button,
	input,
	select,
	textarea {font-size: 12px;line-height: 1.6;}
	ul li {font-size: 12px;}
	#desktop-navigation ul li ul li {font-size: 11px;}
	.form-allowed-tags {font-size: .9em;}
	#desktop-navigation ul li ul {top: 49px;}
	.portfolio-carousel .owl-next,
	.portfolio-carousel .owl-prev {background-color: transparent;}
	#contact-container-wrapper {position: relative;top: 0;left: 0;right: 0;}
	#contact-container {padding: 20px;background-color: transparent;}
	#map-canvas {height: 300px;}
	#show-map {display: none;}
	.instagram-item {width: 33.333%;}
	.latest-posts li:first-of-type {width: calc(100% - 30px);margin-bottom: 3em;}
	#blog .latest-posts li:first-of-type .post-title-container {min-height: 0;}
	.latest-posts li {width: calc(50% - 30px);}
	.latest-posts li:last-of-type {margin-bottom: 0;}
	.blog-separator.nth1 {display: block;}
	.site-header,
	.hero-slider-item {height: 300px;}
	.site-header.scrolled {margin-top: 0;}
	.content-area.float-left, #secondary{max-width: 100%;float:none;}
	.single-post .widget_search {position:relative;top:0;}
	.single-post #secondary {margin-top:0;}
	#secondary section {max-width: 350px; margin: 0 auto;}
	#comments {padding-left: 20px;padding-right: 20px;}
	#services-carousel .owl-prev::before,
	#services-carousel .owl-next::before {top: 50%;font-size:2.5em;}
	.entry-content.portfolio>p>img,
	.entry-content.portfolio>p>.lightbox,
	.content-area:not(.float-left) .single-post>p>img,
	.content-area:not(.float-left) .single-post>p>.lightbox {max-width: 100%;margin-left: 0;}
	.shuffle-item.x4,
	.shuffle-item.x5,
	.shuffle-item.x6 {width: calc(33.333% - 11px);}
	.x10,.x20,.x25 {flex:1 calc(33.333% - 20px); -webkit-flex:1 calc(33.333% - 20px); -ms-flex:1 32%;}
	.gallery-columns-10 .gallery-item,.gallery-columns-9 .gallery-item,.gallery-columns-8 .gallery-item,
	.gallery-columns-7 .gallery-item,.gallery-columns-6 .gallery-item,.gallery-columns-5 .gallery-item,
	.gallery-columns-5 .gallery-item,.gallery-columns-4 .gallery-item {flex:1 calc(33.333% - 20px); -webkit-flex:1 calc(33.333% - 20px); -ms-flex:1 32%;}
	.clients-logos li {width: calc(33.333% - 40px);}
	.portfolio-cat-details-container {bottom: 15px;left: 15px;padding: 10px 30px;}
	.portfolio-cat-details-container h2 {font-size: 20px;}
	.portfolio-cat-details-container span {font-size: 1em;}
}

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

}

/*IPHONE 6 Landscape*/
@media only screen and (max-width : 680px) {
	#desktop-navigation {display: none;}
	#mobile-navigation {display: block;}
	.load-content.scrolled {margin-top: 0;}
	.main-navigation {height: auto; line-height: 20px;}
	.main-navigation ul {display: none;}
	.main-navigation li {display: block;margin:0;}
	ul.menu {margin: 0;}
	.sub-menu {	height: auto; transition: none;}
	.menu-item-has-children:hover .sub-menu {height: auto;}
	.content-preview-wrapper {padding-top:0;}
}

@media only screen and (max-width : 600px) {
	.service,.member {margin: 5px auto;}
	.portfolio-masonry .portfolio-item { width: calc(50% - 10px);}
	.latest-posts li {width: calc(100% - 30px);margin-bottom: 3em;}
	#blog .latest-posts li:first-of-type .post-title-container {min-height: 4em;}
	.blog-separator.nth2 {display: block;}
	#members-individual li {display: block;}
	#members-individual .member-photo-wrapper,
	#members-individual .member-individual-descr {width: 100%;padding-left: 0;text-align: center;}
	.shuffle-item.x3,
	.shuffle-item.x4,
	.shuffle-item.x5,
	.shuffle-item.x6 {width: calc(50% - 7px);}
  .x10, .x20, .x25, .x30, .x33, .x40 {flex:1 calc(50% - 20px); -webkit-flex:1 calc(50% - 20px); -ms-flex:1 48%;}
  .gallery-columns-10 .gallery-item,.gallery-columns-9 .gallery-item,.gallery-columns-8 .gallery-item,
  .gallery-columns-7 .gallery-item,.gallery-columns-6 .gallery-item,.gallery-columns-5 .gallery-item,
  .gallery-columns-5 .gallery-item,.gallery-columns-4 .gallery-item,.gallery-columns-3 .gallery-item {flex:1 calc(50% - 20px); -webkit-flex:1 calc(50% - 20px); -ms-flex:1 48%;}
}

@media only screen and (max-width : 560px) {
	#contact-details, #contact-form, #contact-details.two-columns, #contact-form.two-columns {width: 100%;}
	#contact-container-wrapper {width: 100%;}
	#menu-label {display: none;}
}

@media only screen and (max-width : 480px) {
	body,
	button,
	input,
	select,
	textarea {font-size: 11px;line-height: 1.5;}
	ul li {font-size: 11px;}
	.loaded #picture-logo {width: 60%;}
	#menu-trigger-container {position: absolute; top: 7px;height: 70px;}
	.portfolio-masonry .portfolio-item { width: calc(100% - 10px);}
	#map-canvas {height: 180px;}
	#secondary {max-width: auto;padding-right: 20px;padding-left: 20px;}
	.shuffle-item.x2,
	.shuffle-item.x3,
	.shuffle-item.x4,
	.shuffle-item.x5,
	.shuffle-item.x6 {width: 100%;}
  .x10, .x20, .x25, .x30, .x33, .x40, .x50, .x60, .x70, .x80, .x90 {flex:1 calc(100% - 20px); -webkit-flex:1 calc(100% - 20px); -ms-flex:1 100%;}
  .gallery-columns-10 .gallery-item,.gallery-columns-9 .gallery-item,.gallery-columns-8 .gallery-item,
  .gallery-columns-7 .gallery-item,.gallery-columns-6 .gallery-item,.gallery-columns-5 .gallery-item,
  .gallery-columns-5 .gallery-item,.gallery-columns-4 .gallery-item,.gallery-columns-3 .gallery-item,
  .gallery-columns-2 .gallery-item {flex:1 calc(100% - 20px); -webkit-flex:1 calc(100% - 20px); -ms-flex:1 100%;}
	.share-container {margin: 10px 0 30px 0;}
	.site-footer {padding-top: 50px;}
	.widget_recent_entries li,
	.widget_recent_comments li,
	.widget_archive li {line-height: 2.5em;}
	.portfolio-category article:not(:first-of-type) {width: 100%;}
	.portfolio-category article {margin-bottom: 20px;}


}

@media only screen and (max-width : 420px) {
	.site-header, .hero-slider-item {height: 200px;}
	.post-navigation .nav-previous a::after,
	.post-navigation .nav-next a::before {top: 0;font-size: 2em;}
	.site-main .comment-navigation,
	.site-main .posts-navigation,
	.site-main .post-navigation {margin-bottom: 4.0em;}
}

@media only screen and (max-width : 360px) {
  
}

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

}