/*
Theme Name: ArtistICO 1.0
Theme URI: http://artistico.niteo.cz/
Author: Niteo
Author URI: http://niteo.cz/
Description: Minimal One-page Portfolio
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: niteo
Tags:

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.

niteo Portfolio 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
# ScrollBar
# Custom classes
# Header
	## Main-Logo
	## Menu-Navigation
# Portfolio section
# Blog section
# Instagram section
# Contact section
# Social-media
# Blog page
	## Blog single post
# Single Portfolio
# 404 page
# Footer
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Owl Carousel
# Shortcodes
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

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

body {
	margin: 0;
	overflow-x: hidden;
}

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

article {
    margin: 1.5em 0;
}

.blog article {
	margin-bottom: 100px;
}

article:last-of-type {
	margin-bottom: 0;
}

section:not(.widget) {
	text-align: center;
	padding-bottom: 100px;
	outline: 0;
}

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;
	text-decoration: none;
	-webkit-transition: color .3s ease-in-out;
	-o-transition: color .3s ease-in-out;
	transition: color .3s ease-in-out;

}

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

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

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1,
h2 {
	font-size: 2.5em;
	padding: 0.67em 0;
	font-weight: 300;
	margin: 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: 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;
}

code {
	background-color: #BEFFE9;
}

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;
	text-indent: 0;
}

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

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

input {
	line-height: normal;
	text-indent: 5px;
}

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 {
	overflow: auto;
	padding: 5px;
}

optgroup {
	font-weight: bold;
}

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

td,
th {
	padding: 0;
}


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

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: 300;
}

h3 {
	font-weight: 700;
	font-size: 1.4em;
}

p {
	font-weight: 400;
	margin-bottom: 1.5em;
    letter-spacing: .25px;
    line-height: 1.7em;
}


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 http://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. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

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

ul,
ol {
  list-style: none;
  font-size: 0;
  display: inline-block;
  padding: 0;
}

ol li, ul li {
  font-size: 1rem;
}

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. */
}

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

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/


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

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

textarea {
	padding-left: 3px;
	width: 100%;
}

/*--------------------------------------------------------------
# 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);
}

/*--------------------------------------------------------------
# Custom classes
--------------------------------------------------------------*/
.bold {
	font-weight: 700;
}

.full-width {
	width: 100%;
}

.button,
.contact-form input[type="submit"] {
    display: inline-block;
    height: 3em;
    line-height: 3em;
    width: 150px;
    border-radius: 50px;
    -webkit-transition: background-color .3s ease;
    -o-transition: background-color .3s ease;
    transition: background-color .3s ease;
    text-align: center;
    text-decoration: none;
}

.contact-form input[type="submit"],
.form-submit .submit {
	line-height: 2em;
}

.button:hover,
.contact-form input[type="submit"]:hover {
	color: #fff;
}

.error {
	text-align: center;
	font-style: italic;
}

/* body.home section>h2::after {
	content: '';
	display: block;
	width: 100px;
	margin: 0 auto;
	height: 1px;
	opacity: 0.4;
} */

.section-header {
	font-weight: 700;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#preloader {
    background-color: black;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    text-align: center;
    z-index: 20000;
    opacity: 1;
    visibility: display;
	-webkit-transition: opacity 0.5s ease, visibility 0.5s;
	-o-transition: opacity 0.5s ease, visibility 0.5s;
	transition: opacity 0.5s ease, visibility 0.5s;
}

#preloader.loaded {
	opacity: 0;
	visibility: hidden;
}

.loader:before{
	content: "";
	position: absolute;
	top: 0px;
	left: -25px;
	height: 12px;
	width: 12px;
	border-radius: 12px;
	-webkit-animation: loader10g 3s ease-in-out infinite;
			animation: loader10g 3s ease-in-out infinite;
}

.loader{
	position: absolute;
	display: inline-block;
	width: 12px;
	height: 12px;
	top: 46%;
	left: 50%;
	border-radius: 12px;
	-webkit-animation: loader10m 3s ease-in-out infinite;
			animation: loader10m 3s ease-in-out infinite;
}


.loader:after{
	content: "";
	position: absolute;
	top: 0px;
	left: 25px;
	height: 10px;
	width: 10px;
	border-radius: 10px;
	-webkit-animation: loader10d 3s ease-in-out infinite;
			animation: loader10d 3s ease-in-out infinite;
}

@-webkit-keyframes loader10g{
	0%{background-color: rgba(255, 255, 255, .2);}
	25%{background-color: rgba(255, 255, 255, 1);}
	50%{background-color: rgba(255, 255, 255, .2);}
	75%{background-color: rgba(255, 255, 255, .2);}
	100%{background-color: rgba(255, 255, 255, .2);}
}
@keyframes loader10g{
	0%{background-color: rgba(255, 255, 255, .2);}
	25%{background-color: rgba(255, 255, 255, 1);}
	50%{background-color: rgba(255, 255, 255, .2);}
	75%{background-color: rgba(255, 255, 255, .2);}
	100%{background-color: rgba(255, 255, 255, .2);}
}

@-webkit-keyframes loader10m{
	0%{background-color: rgba(255, 255, 255, .2);}
	25%{background-color: rgba(255, 255, 255, .2);}
	50%{background-color: rgba(255, 255, 255, 1);}
	75%{background-color: rgba(255, 255, 255, .2);}
	100%{background-color: rgba(255, 255, 255, .2);}
}
@keyframes loader10m{
	0%{background-color: rgba(255, 255, 255, .2);}
	25%{background-color: rgba(255, 255, 255, .2);}
	50%{background-color: rgba(255, 255, 255, 1);}
	75%{background-color: rgba(255, 255, 255, .2);}
	100%{background-color: rgba(255, 255, 255, .2);}
}

@-webkit-keyframes loader10d{
	0%{background-color: rgba(255, 255, 255, .2);}
	25%{background-color: rgba(255, 255, 255, .2);}
	50%{background-color: rgba(255, 255, 255, .2);}
	75%{background-color: rgba(255, 255, 255, 1);}
	100%{background-color: rgba(255, 255, 255, .2);}
}
@keyframes loader10d{
	0%{background-color: rgba(255, 255, 255, .2);}
	25%{background-color: rgba(255, 255, 255, .2);}
	50%{background-color: rgba(255, 255, 255, .2);}
	75%{background-color: rgba(255, 255, 255, 1);}
	100%{background-color: rgba(255, 255, 255, .2);}
}

.site-header {
    /* min-height: 100vh; */
    /* overflow: hidden; */
	z-index: 0;
}


#header-about,
#header-graphic {
	display: inline-block;
	position: relative;
	min-height: 100vh;
}

header>ul {
	display: block;
    z-index: 1;
/*     position: absolute;
    right: 0;
    left: 0; */
}


#header-about {
	width: 65%;
	vertical-align: top;
	padding: 0 30px;
	z-index: 2;
}

#header-graphic {
	width: 35%;
}


#header-background {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	background-color: grey;
}

#ytp-container {
    position: absolute;
    top: 0;
    left: 50%;
    right: -50%;
    bottom: 0;
    z-index: 1;
}

.site-branding {
	max-width: 650px;
	text-align: left;
    margin: 0 auto;
    margin-top: 120px;
    position: relative;
}

.site-description {
	font-size: 1.3em;
	line-height: 1.8em;
	margin-top: 0;
	padding: 0;
	font-weight: 700;
}

#mbYTP_feat-video {
	margin-left: 0!important;
}

.scroll-down-container {
    position: absolute;
    text-align: center;
    width: auto;
    bottom: -160px;
    left: 0;
    right: 0;
}

.scroll-down {
    display: block;
    margin: 0 auto;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    opacity: .8;
}


.scroll-down p {
	margin-bottom: 0;
}

.scroll-down-container i {
	display: block;
	opacity: .8;
	-webkit-animation: ca3_fade_move_down 2s ease-in-out infinite;
	-moz-animation:    ca3_fade_move_down 2s ease-in-out infinite;
	animation:         ca3_fade_move_down 2s ease-in-out infinite;
}

/*animated scroll arrow animation*/
@-webkit-keyframes ca3_fade_move_down {
  0%   { -webkit-transform:translate(0,10px); opacity: 0;  }
  50%  { opacity: 1;  }
  100% { -webkit-transform:translate(0,40px); opacity: 0; }
}
@-moz-keyframes ca3_fade_move_down {
  0%   { -moz-transform:translate(0,10px); opacity: 0;  }
  50%  { opacity: 1;  }
  100% { -moz-transform:translate(0,40px); opacity: 0; }
}
@keyframes ca3_fade_move_down {
  0%   { transform:translate(0,10px); opacity: 0;  }
  50%  { opacity: 1;  }
  100% { transform:translate(0,40px); opacity: 0; }
}



/*--------------------------------------------------------------
## Main-Logo
--------------------------------------------------------------*/
#main-logo-container {
	display: inline-block;
}

#main-logo-container img {
	max-width: 400px;
}

#theme-logo-text {
}

#theme-logo-text a {
	font-size: 2em;
}


#theme-logo-text h1 {
	margin: 0;
	line-height: 1;
	letter-spacing: 10px;
	padding-bottom: 0;
}


.main-logo a {
	display: block;
}


/*--------------------------------------------------------------
## Menu-navigation
--------------------------------------------------------------*/

#desktop-navigation {
	max-width: 650px; 
    width: 100%;
    margin: 0 auto;
    position: relative;
}

header.portfolio #desktop-navigation {
	width: 0;
}

header.portfolio #desktop-navigation.open {
	width: 100%;
}


#desktop-navigation ul {
	padding-left: 60px;
    border-radius: 27px;
    height: 60px;
    line-height: 60px;
    width: 0%;
    overflow: hidden;
    -webkit-transition: width .2s ease-in-out, background-color .2s ease-in-out;
    -o-transition: width .2s ease-in-out, background-color .2s ease-in-out;
    transition: width .2s ease-in-out, background-color .2s ease-in-out;
}



#desktop-navigation.open ul {
	background-color: #696969;
	width: 100%;
}

#desktop-navigation div:nth-child(2) {
	position: absolute;
    top: 39px;
    left: -10px;
    z-index: 10000;
}


#desktop-navigation ul li {
	display: inline-block;
	margin-right: 15px;
	font-size: 1.1rem;
}

#desktop-navigation ul li:last-of-type {
	padding-right: 45px;
}

#desktop-navigation ul a {
	text-decoration: none;
	color: #F1F1F1;
}

#desktop-navigation ul a:hover {
	color: #ffffff;
	text-shadow: 1px 1px 0 #696969, -1px 1px 0 #696969, 2px 0 0 #696969, -2px 0 0 #696969;
    box-shadow: inset 0 -4px 0 0 #696969, inset 0 -5px 0 0;
}


#menu-trigger-container {
	display: block;
	position: absolute;
    top: 50px;
    left: 0;
	width: 36px;
	height: 36px;
	border-radius: 3px;
	z-index: 10001;
	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: 4px;
	-webkit-transition: -webkit-transform 0.2s, background-color .2s ease-in-out;
	-moz-transition: -moz-transform 0.2s, background-color .2s ease-in-out;
	transition: transform 0.2s, background-color .2s ease-in-out;
}

.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 {
	background-color: #fff;
}

.menu-trigger.open .line:nth-child(1) {
	-ms-transform: translateY(7px) rotate(45deg);
	-webkit-transform: translateY(7px) rotate(45deg);
	-moz-transform: translateY(7px) rotate(45deg);
	-o-transform: translateY(7px) rotate(45deg);
	transform: translateY(7px) 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(-7px) rotate(-45deg);
	-webkit-transform: translateY(-7px) rotate(-45deg);
	-moz-transform: translateY(-7px) rotate(-45deg);
	-o-transform: translateY(-7px) rotate(-45deg);
	transform: translateY(-7px) rotate(-45deg) translateZ(1px);
	-webkit-transition: -webkit-transform 0.2s;
	-moz-transition: -moz-transform 0.2s;
	transition: transform 0.2s;
}

.menu-text {
	margin-left: 45px;
    font-size: 25px;
}

/*--------------------------------------------------------------
# Portfolio section
--------------------------------------------------------------*/

#portfolio-header {
	text-align: center;
}

.portfolio-descr-container {
    max-width: 970px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.no-filters {
	margin-bottom: 2em;
}

.portfolio-filters {
	display: block;
	text-align: center;
	margin-bottom: 70px;
}

.gal-header-center-right-links {
    display: inline-block;
    padding: 6px 15px;
    margin: 10px 14px;
    cursor: pointer;
    border-radius: 13px;
    font-weight: 700;
	-webkit-transition: background-color .3s ease;
    -o-transition: background-color .3s ease;
    transition: background-color .3s ease;
}

.gal-header-center-right-links.current {
	color: white;
}

.gal-header-center-right-links:hover {
	color: white;
}

#gallery {
	overflow: hidden;
}

.gal-item {
	position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.gal-item img {
	vertical-align: top;
}

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


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

.gal-item a {
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

}

.gal-item:hover figcaption {
	opacity: 1;
}

.portfolio-description {
  display: none;
}

.hover-descr-container {
	position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

figure.hover-effect {
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    margin: 0;
    text-align: center;
    cursor: pointer;
}

figure.hover-effect figcaption {
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    color: #fff;
    background-color: rgba(0,0,0,.5);
    text-transform: uppercase;
    font-size: 0.9em;
    -webkit-transition: opacity 0.35s;
    -o-transition: opacity 0.35s;
    transition: opacity 0.35s;
}

figure.hover-effect i {
    border: 1px solid;
    border-radius: 50%;
    padding: 10px;
    font-size: 1.5em;
}

figure.hover-effect h2 {
	margin: 0;
	font-size: 1.8em;
}

#load-more {
    margin-top: 50px;
}

#load-more i {
	line-height: 48px;
}

/*--------------------------------------------------------------
# Blog section
--------------------------------------------------------------*/
.latest-posts {
	width: 100%;
    max-width: 910px;
    padding: 0 30px;
}

.latest-post {
	text-align: left;
	margin-bottom: 80px;
}

.latest-post:last-of-type {
	margin-bottom: 0;
}

.latest-post a {
	text-decoration: none;
	text-transform: uppercase;
}

.latest-post-info {
	font-size: .8em;
}

.latest-post-info a {
	letter-spacing: .5px;
}

.latest-post h2 {
	font-weight: 700;
	margin-bottom: 0;
	font-size: 1.5em;
}

.blog-thumbnail-container {
	display: block;
	overflow: hidden;
}

.blog-thumbnail {
	position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-transition: transform 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
}

.blog-thumbnail::before {
	content: "";
	display: block;
	padding-top: 50%; 	/* initial ratio of 2:1*/
}

.blog-thumbnail:hover {
	-webkit-transform: scale(1.05);
	-ms-transform: scale(1.05);
	-o-transform: scale(1.05);
	transform: scale(1.05);
}

.read-more-container {
	text-align: right;
}

.read-more-container i {
	padding-left: 5px;
}

/*--------------------------------------------------------------
# Instagram section
--------------------------------------------------------------*/
#instagram-header {
	text-align: center;
}

#instagram-wrapper {
	position: relative;
}

#instagram-wrapper ul {
	display: block;
}

#instagram-wrapper li {
	position: relative;
	display: inline-block;
    width: calc(16.666%);
	height: 100%;
	background-size: cover;
	background-position: center;
}

#instagram-wrapper li:last-of-type {
	margin-right: 0;
}

.instagram-photo {
	display: block;
	text-align: center;
}

.instagram-photo::before {
	content: "";
    display: block;
    padding-top: 100%;
}


.instagram-hover-container {
	display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    background-color: #000000;
    -webkit-transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    transition: opacity .3s ease;
}

.instagram-photo:hover .instagram-hover-container {
	opacity: .3;
}

.instagram-photo:hover i {
	opacity: 1;
}

.instagram-photo i {
    position: absolute;
    font-size: 3em;
    color: #fff;
    opacity: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    transform: translateY(-50%);
    top: 50%;
    -webkit-transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    transition: opacity .3s ease;
}

.follow {
	position: absolute;
    transform: translateY(-50%);
    top: 50%;
    margin: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
}

/*--------------------------------------------------------------
# Contact section
--------------------------------------------------------------*/
 
.contact-details {
	width: 100%;
	max-width: 630px;
}

.contact-details li {
	text-align: left;
	display: inline-block;
	width: 50%;
	vertical-align: top;
}

.contact-details a {
	text-decoration: none;
}

.contact-details a#contact-phone {
	display: block;
}

.contact-details p {
	margin: 0;
}

.contact-details i,
.contact-details-container {
	float:left;
}

.contact-details-container {
	margin-left: 20px;
}

.contact-details h3 {
	font-weight: 700;
	margin-top: 0;
	margin-bottom: .5em;
}

li.contact-form {
    display: block;
    width: 100%;
    margin-top: 100px;
}

.contact-form h3 {
	margin-bottom: 2em;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
    outline: none;
    line-height: 3em;
    background: #F3F3F3;
    border: 1px solid #D6D6D6;
}

.contact-form textarea {
	line-height: 1.5em;
}


.contact-form p {
	font-size: .8em;
	margin-bottom: 1em;
}

.contact-form p:nth-child(2),
.contact-form p:nth-child(3) {
	width: calc(50% - 3px);
	display: inline-block;
}

.contact-form p:last-of-type {
	text-align: right;
}

.contact-form img {
	display: none;
}

.contact-form input[type="submit"] {
	margin: 0;
}

.wpcf7-validation-errors {
	display: none!important;
}

#contact .error {
	text-align: left!important;
	display: block!important;
	width: 100%!important;
	font-size: 1em;
}


/*--------------------------------------------------------------
# Social-media
--------------------------------------------------------------*/
.about-social {
	margin: 1rem 0;
	margin-bottom: 1rem;
	position: relative;
}

.about-social li {
	position: relative;
	display: inline-block;
    padding: 0 1em;
    padding-bottom: 1em;
    text-align: center;
}

header .about-social li::before {
	content: '';
	display: block;
	position: absolute;
	bottom: 4px;
	left: 1em;
	height: 2px;
	width: 0;
	-webkit-transition: width .3s ease-in-out;
	-o-transition: width .3s ease-in-out;
	transition: width .3s ease-in-out;
}

header .about-social li:hover::before {
	width: calc(100% - 2em);
}

.about-social i {
    -webkit-transition: color .3s ease, transform .3s ease-in-out;
    -o-transition: color .3s ease, transform .3s ease-in-out;
    transition: color .3s ease, transform .3s ease-in-out;  
}

.about-social i::before {
	padding-right: 1px;
	padding-left: 1px;
}

header .about-social li:hover i {
	-webkit-transform: translateY(-6px);
	-ms-transform: translateY(-6px);
	-o-transform: translateY(-6px);
	transform: translateY(-6px);
}

.about-social a {
	display: block;
}

/*--------------------------------------------------------------
# Blog page
--------------------------------------------------------------*/
header.blog-page {
	position: relative;
	padding: 30px 0;
	height: 300px;
	background: #EAEAEA;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.blog-header-overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #fff;
	opacity: .6;

}

.header-blog-container {
    max-width: 1024px;
    margin: 0 auto;
    z-index: 1000;
    position: absolute;
    left: 0;
    right: 0;
}

header.blog-page #desktop-navigation {
	position: relative;
	width: 100%;
	margin: 0;
	height: 60px;
}

header.blog-page #desktop-navigation #theme-logo-text h1 {
	font-size: 1em;
}

header.blog-page #menu-trigger-container {
	left: 0;
	top: 11px;
}

header.blog-page #desktop-navigation div:nth-child(2) {
	top: 0;
	width: 0;
}

header.blog-page #desktop-navigation.open div:nth-child(2) {
	width: auto;
	max-width: 100%;
}

header.blog-page .site-branding {
	margin: 0;

}

#page {
	margin-bottom: 200px;
}

#page #primary {
	max-width: 1024px;
	margin: 0 auto;
}

#primary.blog {
	padding-bottom: 100px;
}

#main.full-width {
	width: 100%;
}

#main.with-sidebar,
#secondary {
	display: inline-block;
	width: 70%;
	vertical-align: top;
}

#main.with-sidebar {
	padding-right: 5%;
}

#secondary {
	width: 29%;
	margin-top: 106px;
}


#page article header h2 {
	font-size: 2em;
}


#page article h2 {
	font-weight: 700;
	margin-bottom: 0;
	font-size: 1.5em;
	padding-bottom: 0;
}

.post-pagination {
	text-align: center;
	font-size: 1.2em;
}

.post-pagination .page-numbers.next,
.post-pagination .page-numbers.prev {
	font-size: 1rem;
	padding: 0 1em;
	width: auto;
}

.post-pagination .page-numbers {
	display: inline-block;
    width: 2em;
    height: 2em;
    line-height: 2em;
    -webkit-transition: background .3s ease;
    -o-transition: background .3s ease;
    transition: background .3s ease;
}

.post-pagination .current {
	background: #EAEAEA;
	font-weight: 700;
}

/*--------------------------------------------------------------
## Blog single post
--------------------------------------------------------------*/
.single-post-cat-container,
.single-post-cat-container li {
	font-size: 1.2rem;
}

.single-post-cat-container {
	height: 82px;
}

.single-post-cat-container a {
	font-size: 2em;
}

.single-post-cat-name {
	font-weight: 700;
	line-height: 3em;
    vertical-align: text-top;
}

.single-post-cat-name::before {
	content: '/';
	font-weight: 300;
	font-size: 2em;
}

.single-post-cat-name .post-categories li {
	display: inline-block;
	padding-right: 10px;
}

.single-post-cat-name .post-categories a {
    vertical-align: -webkit-baseline-middle;
    font-size: 1.2em;
}

.single-post-cat-name .post-categories li:not(:last-of-type) a::after {
	content:  ',';
}



.single-post-feat-img {
	position: relative;
	margin-bottom: 5em;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.single-post-feat-img::before {
	content: "";
	display: block;
	padding-top: 50%; 	/* initial ratio of 1:2*/
}

.single-post-feat-info {
	position: absolute;
	max-width: 60%;
	bottom: 0;
	left: 0;
	right: 0;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	background-color: #fff;
}

.share-container {
    line-height: 3em;
    padding: 1em;
    margin: 50px 0;
    border-top: 1px solid rgb(249, 246, 246);
}

.share-to {
	display: inline-block;
	margin-left: 30px;
}

.share-to i {
	padding-right: 5px;
}

.share-to i.fa-google-plus {
	vertical-align: middle;
}

.share-to span {
	padding-right: 10px;
}

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

.add-like:not(.liked):hover::before {
	color: red;
}

.add-like.liked::before {
	font-family: fontAwesome;
	content: "\f004";
}

.add-like.liked {
	cursor: default;
}

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

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

.related-articles {
	margin-bottom: 50px;
}

.related-articles ul {
	width: 100%;
}

.related-articles li {
	display: inline-block;
	width: 50%;
	text-align: center;
	padding: 5px;
	vertical-align: top;
}

.related-articles li.x3 {
	width:  33.333%;
}

.related-feat-cont {
	overflow: hidden;
}

.related-feat {
	width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-transition: transform 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
}

.related-feat:hover {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}
.related-feat::before {
	content: "";
	display: block;
	padding-top: 50%;
}

.related-articles h4 {
	font-size: 1.3em;
	font-weight: 700;
	margin: 0;
	padding: 0;
	padding-top: .5em;
}




/*--------------------------------------------------------------
# Single Portfolio
--------------------------------------------------------------*/

header.blog-page.portfolio {
	background-color: #fff;
	height: 120px;
	margin-bottom: 30px;
	border-bottom: 1px solid rgb(249, 246, 246);
}

#desktop-navigation.portfolio {
	max-width: 100%;
}

#desktop-navigation.portfolio #main-logo-container {
    position: absolute;
    right: 0;
    z-index: 1000;
}

#desktop-navigation.portfolio #main-logo-container img {
	max-width: 150px;
}

.entry-content.single-portfolio {
    margin-top: 4em;
}

article.portfolio {
	text-align: center;
}

article.portfolio h2 {
	font-size: 2.5em!important;
	padding-top: 0;
}

.portfolio-meta {
	width:  100%;
	padding: 50px 0;
}

.portfolio-meta p {
	margin-top: 0;
}

.portfolio-meta .default p {
	margin: 0;
}

.label {
	font-weight: 700;
	display: inline-block;
    min-width: 100px;
}

.portfolio-meta li {
	position: relative;
	display: inline-block;
	padding: 2em 10px;
	vertical-align: top;
	text-align: left;
	width:  50%;
}

.share-container.portfolio {line-height: 1em;}

.portfolio-meta li::after,
.share-container.portfolio::after {
	content:"";
	position: absolute; 
	top: 0; 
	left: 0; 
	height: 2px; 
	width: 50px;
}

.share-container.portfolio::after {
	top:  auto;
	bottom: 0;
}

.share-container.portfolio::after {
	left: -10px;
}


.portfolio-meta li.full-width {
	width:  100%;
}


.portfolio-meta li.full-width .share-container.portfolio {
    margin-top: 0;
    padding-top: 0;
}


.share-container.portfolio {
    position: relative;
    padding: 1em 0;
    margin: 1em 0;
    border: none;
    margin-bottom: 0;
    padding-bottom: 2em;
}

.share-container.portfolio a {
	display: inline-block;
	margin-right: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    color: #fff;
    -webkit-transition: background-color .3s ease;
    -o-transition: background-color .3s ease;
    transition: background-color .3s ease;
}

.share-container.portfolio .share-to i {
	padding: 0;
}

.share-container.portfolio .share-to {
	margin: 0;
}

.navigation-back.portfolio {
	padding-bottom: 50px;
}


/*--------------------------------------------------------------
# 404 page
--------------------------------------------------------------*/
.page-title404 {
	font-size: 12em;
	font-weight: 700;
	padding: 0;
}

.page-title404::before {
	content: '403';
	font-size: .6em;
	color: #efefef;
	padding-right: 15px;
}

.page-title404::after {
	content: '405';
	font-size: .6em;
	color: #efefef;
	padding-left: 15px;
}

section:not(.widget ) .searchform input {
	margin: 0;
    padding: 0;
    height: 80px;
    width: 60%;
    font-size: 1.5em;
    border: 1px solid;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    text-indent: 20px;
}

section:not(.widget ) .searchform input[type="submit"] {
    margin: 0;
    display: inline-block;
    height: 80px;
    width: 5em;
    vertical-align: top;
    margin-left: -5px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    text-indent: 0;
}

section:not(.widget ) .searchform i {
	font-size: 3em;
}

.fa-input {
  font-family: FontAwesome;
}

.back-home i {
	padding-right: 5px;
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer.site-footer {
	position: fixed;
	background-color: #5F5F5F;
    color: rgb(214, 214, 214);
	bottom: 0;
	left: 0;
	right: 0;
	height: 200px;
	z-index: -10;
}

footer a {
	color: rgb(214, 214, 214)!important;
}

footer a,
footer span {
	letter-spacing: .25px;
}

#copyright {
	height: 200px;
	text-align: center;
}


#back-to-top {
    position: absolute;
    right: 20px;
    bottom: 38px;
}

#back-to-top i {
	font-size: 2em;
    vertical-align: middle;
    padding-left: 5px;
}


footer .about-social {
    display: block;
    margin: 0;
    line-height: 2rem;
}

footer .about-social li::before {
  background: #fff!important;
}


footer .about-social i {
	vertical-align: middle;
	font-size: 1em;
}

#blogname {
	font-weight: 700;
    font-size: 2em;
    margin: .5em;
    margin-top: 1em;
    letter-spacing: 5px;
}

/*--------------------------------------------------------------
# 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: #696969;
	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;
}

#content {
	margin-bottom: 150px;
}

/*--------------------------------------------------------------
# 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 {
	position: relative;
	margin: 0 0 1.5em;
	text-align: left;
}

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

.widget ul,
.tagcloud {
	display: block;
	padding: 20px 35px;
	background-color: rgb(249, 246, 246);
}

.widget li {
	line-height: 2.4rem;
    font-size: .9rem;
}

.widget li.recentcomments {
	line-height: 1.7rem;
}

.widget h2 {
	padding: 0;
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 0.5em;
}

.widget_tag_cloud a {
	font-size: 1.2em!important;
	padding: 3px 10px;
	-webkit-transition: background .3s ease, color .3s ease;
	-o-transition: background .3s ease, color .3s ease;
	transition: background .3s ease, color .3s ease;
}

.widget .current-cat {
	font-weight: 700;
}

.widget .current-cat a::before {
    font-family: fontAwesome;
    content: "\f178";
    font-size: 0.5em;
    vertical-align: middle;
    padding: 0 10px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.widget ul.instagram-feed {
	padding: 0;
	padding-left: 10px;
    padding-top: 10px;
}

.widget .instagram-item {
	position: relative;
	display: inline-block;
    width: calc(50% - 10px);
    margin-right: 10px;
    margin-bottom: 10px;
}

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

.widget .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;
}

.widget .instagram-item a:hover {
	background-color: rgba(0, 0, 0, .3);
}

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

.widget .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;
}

.widget .instagram-icon::before {
    font-family: fontAwesome;
    content: "\f16d";
    font-size: 1.5em;
    opacity: 1;
    color: #FFFFFF;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.widget-about-img-cont {
	position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}

.widget-about-img-cont::before {
	content: "";
	display: block;
	padding-top: 150%; 	/* initial ratio of 3:4*/
}

.widget-about-text {
    position: absolute;
    font-style: italic;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    left: 0;
    right: 0;
    margin: 0;
    padding: 1em;
    color: #fff;
}

.widget_search form {
	padding: 30px;
	background-color: rgb(249, 246, 246);
}

.widget_search div {
	position: relative;
}

.widget_search .input-search {
    border: none;
    text-align: left;
    background-color: rgb(249, 246, 246);
}

.widget_search #searchsubmit {
    position: absolute;
    right: -10px;
    top: 0;
    width: 30px;
    height: 32px;
    padding: 0;
    background: transparent;
    z-index: 1;
    border: none;
}

.widget_search .button-search {
    position: absolute;
    z-index: 0;
    right: -10px;
    top: 3px;
    font-size: 1.5em;
}



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


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

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

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

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

/*--------------------------------------------------------------
## 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;
	width: 100%;
}

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

.commentlist .children {
	padding-left: 90px;
}


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

.comment-content {
	margin-left: 90px;
}

.comment-reply {
	float: right;
}

.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;
	font-size: .8em;
}

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

.comment-form {
	position: relative;
}

.comment-form input:not(.button) {
	padding: 6px;
	max-width: 100%;
	width:  100%;
	margin-bottom: 30px;
}

.full-width .comment-form input:not(.button) {
	display: block;
	width: 45%;
}

.full-width .comment-form textarea {
    position: absolute;
    right: 0;
    top: 40px;
    width: 52%;
    height: 180px;
}

.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: 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: calc(50% - 3px);
}

.gallery-columns-3 .gallery-item {
	max-width: calc( 33.33% - 4px);
}

.gallery-columns-4 .gallery-item {
	max-width: calc(25% - 4px);
}

.gallery-columns-5 .gallery-item {
	max-width: calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
	max-width: calc(16.66% - 4px);
}

.gallery-columns-7 .gallery-item {
	max-width: calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
	max-width: calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
	max-width: calc(11.11% - 4px);
}

.gallery-caption {
	display: block;
}

}

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

@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* 
 * 	Owl Carousel - Auto Height Plugin
 */

.hero-slider-item {
	height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.owl-height {
  -webkit-transition: height 500ms ease-in-out;
  -moz-transition: height 500ms ease-in-out;
  -ms-transition: height 500ms ease-in-out;
  -o-transition: height 500ms ease-in-out;
  transition: height 500ms ease-in-out;
}

/* 
 *  Core Owl Carousel CSS File
 */
.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;
}
.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-controls {
	position: absolute;
    bottom: 20px;
    right: 50px;
}
.owl-carousel .owl-controls .owl-nav .owl-prev,
.owl-carousel .owl-controls .owl-nav .owl-next,
.owl-carousel .owl-controls .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;
  display: inline-block;
}
.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 {
  display: none;
}
.owl-carousel .owl-item {
	position: relative;
	min-height: 1px;
	float: left;
	-webkit-backface-visibility: hidden;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.owl-carousel .owl-item img {
	display: block;
	width: 100%;
	-webkit-transform-style: preserve-3d;
}
.owl-carousel.owl-text-select-on .owl-item {
	-webkit-user-select: auto;
	-moz-user-select: auto;
	-ms-user-select: auto;
	user-select: auto;
}
.owl-carousel .owl-grab {
	cursor: move;
	cursor: -webkit-grab;
	cursor: -o-grab;
	cursor: -ms-grab;
	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 - Lazy Load Plugin
 */
.owl-carousel .owl-item .owl-lazy {
	opacity: 0;
	-webkit-transition: opacity 400ms ease;
	-moz-transition: opacity 400ms ease;
	-ms-transition: opacity 400ms ease;
	-o-transition: opacity 400ms ease;
	transition: opacity 400ms ease;
}
.owl-carousel .owl-item img {
	transform-style: preserve-3d;
}

.owl-carousel .owl-dot span {
	width: 10px;
    height: 10px;
    margin: 3px;
    display: block;
    -webkit-backface-visibility: visible;
    -webkit-transition: opacity 200ms ease;
    -moz-transition: opacity 200ms ease;
    -ms-transition: opacity 200ms ease;
    -o-transition: opacity 200ms ease;
    transition: opacity 200ms ease;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    border: 1px solid #fff;
}
.owl-carousel .owl-dot.active span {
	background-color: #fff;
}



/*--------------------------------------------------------------
# Shortcodes
--------------------------------------------------------------*/


 .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: .5em;
    margin-top: 6px;
}

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



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

}

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

.column-shortcode>li {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 20px;
    text-align: justify;
    padding: 0 20px;
}
.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%;
}

@media only screen and (max-width : 768px) {
	.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%;}

}


@media only screen and (max-width : 600px) {
.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 : 480px) {
	.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%;}

}

/************* MEDIA QUERIES **************/
/******************************************/
/*HOVER EFFECTS FOR DESKTOPS*/
@media only screen and (min-device-width : 1224px) {


}

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

	#main-logo-container img {
	    max-width: 300px;
	}

}


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

}



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


}

@media only screen and (max-width : 1080px) {
	#header-graphic {display: none;}
	#header-about {width: 100%;}
	#main.with-sidebar, #secondary { width: 100%; padding: 0;}
	#page #primary {max-width: 650px;}
	.widget {max-width: 300px; margin: 0 auto; margin-bottom: 50px;}
	header.blog-page {padding: 30px;}
	.header-blog-container {padding:  0 30px;}
}

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

}


@media only screen and (max-width : 768px) {
	#back-to-top {position: relative;display: block;padding-top:20px;right: 0;bottom: 15px;}
	.scroll-down-container {position: relative;bottom: 0;margin-top: 4em;}

}

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

}

/*IPHONE 6 Landscape*/
@media only screen and (max-width : 680px) {
	#instagram li {width: 33.333%;}
	#instagram li:nth-of-type(3) {margin-right: 0;}
	#page #primary {padding: 50px 30px;}
	#content {padding: 0 30px;}
	.latest-posts {padding: 0;	}
	.contact-details i, .contact-details-container {float: none;}
	.contact-details li {width: 100%;margin: 20px 0;text-align: center;}
	#desktop-navigation div:nth-child(2) {right: -10px;}
	#desktop-navigation ul {
	    height: 0;
	    padding-left: 0;
	    padding-top: 100px;
	    width: 100%;
	    overflow: hidden;
	    -webkit-transition: height .2s ease-in-out, background-color .2s ease-in-out;
	    -o-transition: height .2s ease-in-out, background-color .2s ease-in-out;
	    transition: height .2s ease-in-out, background-color .2s ease-in-out;
	}
	#desktop-navigation.open ul {min-height: calc(100vh - 80px);height:100%;}
	#desktop-navigation ul li {display: block; text-align: center;}
	#desktop-navigation ul li:last-of-type {padding: 0;}
	.portfolio-meta li {width: 100%;}
	.share-container.portfolio::after {display: none;}
	.portfolio-meta li {padding-bottom: 0;}
	.full-width .comment-form input:not(.button) {width: 100%;}

.full-width .comment-form textarea { position: relative; width: 100%;top:0;}

}

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

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

	html {font-size: 13px;}
	#header-about {min-height: auto;margin-bottom: 50px;}
	#main-logo-container img {max-width: 250px;}
	.site-description {font-size: 1.2em;}
	.gal-header-center-right-links {margin: 10px 10px 20px;}
	section:not(.widget) {padding-bottom: 50px;}
	.contact-form input[type="submit"], .form-submit .submit {line-height: 3em;}
	.share-container {margin: 20px 0;}
	#back-to-top {bottom: 0;}
}

@media only screen and (max-width : 480px) {
	.related-articles li,
	.related-articles li.x3 {width: 100%;}
	#content,#page #primary {padding: 0 10px;}
	#page #primary {padding-top: 0;}
	#desktop-navigation.portfolio #main-logo-container img {max-width: 100px;}
	#desktop-navigation.portfolio #main-logo-container { padding-top: 0.5em;}
	#main.with-sidebar, #main.full-width {padding-top: 0;}

}

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

}

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

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