/*
	Theme Name: CoffeeBean
  Description: WordPress Premium Portfolio Theme, Gallery and Blog. Thank you for using the theme. If you have any questions please feel free to email me. For support please contact - support@themeworm.com
  Version: 1.23
	Requires at least: 4.7
	Requires PHP: 7.0
	Tested up to: 6.6.3
  Author: mallini
	Theme URI: https://themeforest.net/item/coffeebean-easy-simple-portfolio-for-freelancers-studios-and-photographers/16724826
	Author URI: https://themeforest.net/user/mallini
	License: GNU General Public License v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Tags: translation-ready,theme-options,custom-menu
	Text Domain: coffeebean
*/

/* ------------------------------------------------ */
/* Main CSS */
/* ------------------------------------------------ */

/*
01. Common

02. Presets

03. Header & Contacts Styles

04. Gallery & Portfolio

05. Posts

06. Widgets

07. Footer

08. Responsive
*/

/* ------------------------------------------------ */
/* Common */
/* ------------------------------------------------ */

html {
	overflow-y: scroll;
}

body {
	font-family: Arial, sans-serif;
	color: #333;
	background:#fff;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}

.portfolio-wrapper:after,
#portfolio-wrapper:after,
#site-navigation:after,
.portfolio-text:after,
#page-title:after,
.container-content:after,
.related-posts:after,
.dummy-content:after {
	content: "";
	display: table;
	clear: both;
}

/* ------------------------------------------------ */
/* Selection */
/* ------------------------------------------------ */

::-moz-selection {
	background-color: #947b61;
	color: #fff;
}

::selection {
	background-color: #947b61;
	color: #fff;
}

/* ------------------------------------------------ */
/* Main */
/* ------------------------------------------------ */

#wrapper {
	padding: 0;
	overflow:hidden;
}

#footer {
	overflow: hidden;
	clear: both;
	background: rgba(0,0,0,0.1);
}

iframe {
	max-width: 100%;
}

#head {
	padding-top:0px;
	margin-bottom:0px;
	overflow: hidden;
	clear: both;
}

/* ------------------------------------------------ */
/* Presets */
/* ------------------------------------------------ */

.page_head {
	padding:35px 0 3px 0;
}

.comments a, h1.logo a,
.comments-container a,
.comment-author a,
a.post-entry,
.columns a, .column a,
.testimonials-author,
#contact-details a:hover,
.contact_links a:hover,
.feature-box.color i,
.widget #twitter-blog li a,
#twitter a:hover,
.latest-post-blog p a:hover,
.widget ul li a:hover,
.blog-item .post-date .date-number a:hover,
.blog-item .post-date .post-category a:hover,
.read-more a, a, .column .footer-widget .widget-themeworm_social a  {
	color:#947b61;
}

.type-post a, .column a, .columns a, a {
	-webkit-transition: color 0.3s;
	transition: color 0.3s;
}

.column a:hover, .columns a:hover,
a:hover {
	color: #999;
}

h1.logo {
	font-family:"Dosis";
}

#navigation a, .widget_nav_menu a,
.comment-author cite {
	font-family:"Lato", Arial, sans-serif;
}

body,
.date, .post-meta, .readmore,
.widget, .comment-text,
.widget_rss .rss-date,
.widget_rss cite,
.tagcloud a,
.load-more a, #next-posts a,
input[type="submit"],
.search-results,
.post-content p,
.container p {
	font-family: "Inconsolata", Arial, sans-serif;
}

.post-description h1,
.post-description h2,
.post-description h3,
.post-description h4,
.post-description h5,
.post-description h6 {
	padding:15px 0 5px 0;
}

.type-page h1,
.type-page h2,
.type-page h3,
.type-page h4,
.type-page h5,
.type-page h6,
.type-post h1,
.type-post h2,
.type-post h3,
.type-post h4,
.type-post h5,
.type-post h6 {
	margin-top:35px;
}

h1, h2, h3, h4, h5 {
	margin-bottom:25px;
}

h1, h2, h3, h4, h5, h6,
.blog-item .post-description p,
.page-title div.subline,
#page-title div.subline,
.blog-item blockquote,
.blog-item .post-link-text,
.container .portfolio-text .portfolio-excerpt p {
	font-family: "Josefin Sans", Helvetica, Arial, sans-serif;
}

/* ------------------------------------------------ */
/* Loader */
/* ------------------------------------------------ */

#loader {
  z-index: 9999;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #fff;
}

#loader .loader-img {
	display: block;
	position: fixed;
	opacity: 0;
	width: 150px;
	height: 150px;
	top: 50%;
	left: 50%;
	overflow: hidden;
	margin: -75px 0 0 -75px;
	border-radius: 50%;
	border: 1px solid transparent;
}

#spinner {
  position: fixed;
	opacity: 0;
  top: 50%;
  left: 50%;
  width: 160px;
  height: 160px;
  margin: -80px 0 0 -80px;
  border-top: 2px solid #947b61;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  border-radius: 50%;
  -webkit-animation: spinner 1.1s infinite linear;
  animation: spinner 1.1s infinite linear;
}

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spinner {
  0% {
    transform: rotate(0deg)
  }
  100% {
    transform: rotate(360deg)
  }
}

#ajax-loader {
	position: absolute;
	width: 100%;
	height: 100%;
	background: #fff;
	display: none;
	-webkit-transition: .5s;
	transition: .5s;
	z-index:111;
	pointer-events: none;
}

#ajax-spinner {
  position: absolute;
  top: 100px;
  left: 50%;
  width: 86px;
  height: 86px;
  margin: -43px 0 0 -43px;
  border-top: 3px solid #d2d2d2;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  border-left: 3px solid #fff;
  border-radius: 50%;
  -webkit-animation: spinner 1.1s infinite linear;
  animation: spinner 1.1s infinite linear;
}

/* ------------------------------------------------ */
/* Infinite scroll */
/* ------------------------------------------------ */

#infscr-loading {
  position: absolute;
  bottom: -83px;
  background: #947b61;
  opacity: 1;
	border:2px solid #947b61;
}

.loadmore-img {
	display: none;
	position: absolute;
	width: 50px;
	top: 50px;
	left: calc(50% - 25px);
}

.load-more, #next-posts {
  display: block;
	text-align: center;
	position: relative;
	z-index: 1;
	visibility: visible;
	height: auto;
	margin-top: 35px;
	-webkit-transition: height 0.6s ease-in;
  transition: height 0.6s ease-in;
}

.load-more a, #next-posts a {
  display: inline-block;
	text-align: center;
  margin: 0 auto;
  text-transform: uppercase;
  line-height: 14px;
  width: 200px;
  overflow: hidden;
  padding: 15px 20px;
  font-size: 15px;
  color: #947b61;
  border:2px solid transparent;
  -webkit-transition: border-color 0.35s, color 0.1s;
  transition: border-color 0.35s, color 0.1s;
}

.load-more a:hover, #next-posts a:hover {
  border-color: #947b61;
}

.load-more .loading_img {
	display:inline-block;
  width: 50px;
	margin:0 auto;
	visibility: hidden;
}

.load-more.hide {
	visibility: hidden;
}

/* ------------------------------------------------ */
/* Standart Elements */
/* ------------------------------------------------ */

blockquote, q {
  color: #858585;
  line-height: 20px;
  margin: 35px 30px 35px 60px;
  padding: 0px 0 0 20px;
  position: relative;
  font-weight: 300;
  border-left: 4px solid rgba(0, 0, 0, 0.1);
}

.container dl {
	font-size:16px;
	font-weight:300;
	line-height:30px;
	text-align:left;
	margin: 0 20px;
}

.container dt {
	font-weight:bold;
}

.container dd {
	margin: 0 0 20px;
}

ins {
  background: #fff9c0;
  text-decoration: none;
}

code, kbd, pre, samp {
  font-family: monospace, serif;
  font-size: 14px;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

address {
  font-style: italic;
  margin: 0 0 24px;
	line-height: 1.5em;
}

abbr[title] {
  border-bottom: 1px dotted;
}

i, .status-publish cite, em, var, address, dfn {
  font-style: italic;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

.type-post table,
.type-page table {
	font-size:16px;
	font-weight:300;
	line-height:30px;
}

.type-post table caption,
.type-page table caption {
	font-weight:bold;
}

.type-post table th,
.type-page table th {
	font-weight:normal;
	padding:0 10px;
}

.type-post table td,
.type-page table td {
	border-top: 1px solid #ededed;
  padding: 6px 10px 6px 0;
}

.status-publish ul, .status-publish ol,
.builder_p ul, .builder_p ol {
  margin: 0;
  padding: 10px 0 25px 60px;
  font-size: 16px;
}

.status-publish li,
.builder_p li {
	padding: 8px 0;
	opacity: .9;
}

.status-publish ul,
.builder_p ul {
	list-style: disc;
}

.status-publish ul, .status-publish ol {
	padding-bottom: 45px;
}

.screen-reader-text,
.sticky, .bypostauthor {}

/* ------------------------------------------------ */
/* Image Aligning */
/* ------------------------------------------------ */

.wp-caption.alignright, img.alignright {
  margin: 0 0 20px 20px;
}

.wp-caption.alignleft, img.alignleft {
  margin: 0 20px 20px 0;
}

.alignright {
  display: inline;
  float: right;
	position: relative;
}

.alignleft {
  display: inline;
  float: left;
	position: relative;
}

.alignnone {
	margin-top:40px;
	margin-bottom:40px;
	max-width: 100%;
  position: relative;
}

.alignnone img {
	width: 100%;
}

.aligncenter {
	display:block;
	margin:0 auto;
	padding:10px
}

/* ------------------------------------------------ */
/* Blog Elements */
/* ------------------------------------------------ */

.blog-item blockquote,
.blog-item .post-link-text {
	position: relative;
	font-size: 1.2em;
  line-height: 1.5em;
	margin: 0;
	padding: 30px 25px;
	border: 0;
	background: rgba(255, 255, 255, 0.9);
}

.blog-item .post-link-text {}

.format-quote .post-content:before,
.format-link .post-content:before {
	display: none;
}

.blog-item.format-quote .post-description,
.blog-item.format-link .post-description {
	padding-bottom: 25px;
	padding-top: 25px;
	text-align: center;
}

.quote-author {
	margin: 20px auto 0 auto;
	position: relative;
	padding: 20px 15px 20px 45px;
	display: inline-block;
	text-align: center;
	background: rgba(255, 255, 255, 0.9);
}

.blog-item.format-link .quote-author:after,
.blog-item.format-quote .quote-author:after {
	font-family: FontAwesome;
	content: '\f0c1';
	font-size: 18px;
	color: rgba(0, 0, 0, 0.2);
	position: absolute;
	top: 20px;
	left: 15px;
}

.blog-item.format-quote .quote-author:after {
	content: '\f10e';
}

/* ------------------------------------------------ */
/* Header Overlay */
/* ------------------------------------------------ */

#social-wrapper {
	position: fixed;
  height: 0;
	left: 0;
	right: 0;
  background-color: rgba(58,58,58, 1);
  overflow: hidden;
  color: rgba(255,255,255,0.8);
	z-index: 9990;
	-webkit-transition: height 0.3s, -webkit-transform 0.3s;
	transition: height 0.3s, transform 0.3s;
	-webkit-transition-timing-function: cubic-bezier(0.34, 1.61, 0.7, 1);
	transition-timing-function: cubic-bezier(0.34, 1.61, 0.7, 1);
}

.show-menu #social-wrapper {}

.social-height {
	overflow:hidden;
}

#social-trigger {
  position: fixed;
	right: 0;
  z-index: 9992;
  cursor: pointer;
	width: 36px;
	height: 36px;
	border-style: solid;
  border-width: 36px 0 0 36px;
  border-color: rgba(45,45,45, 1) transparent transparent transparent;
}

#social-trigger:before {
	position: absolute;
	content: '\f129';
	font-size: 14px;
	font-family: FontAwesome;
	top: -31px;
	right: 6px;
	/*width: 8px;*/
	/*height: 8px;*/
	/*background: rgba(255,255,255,0.6);*/
	color: rgba(255,255,255,0.6);
	z-index: 9992;
	transition: all .3s ease-in-out;
}

#social-trigger:hover::before {
	color: rgba(255,255,255,0.9);
}

.header-contacts {
	padding: 50px 0 40px 0;
	font-size: 14px;
}

.header-contacts .widget {
	padding: 15px 0 20px 0;
}

.header-contacts .widget-title {
	color: #fff;
	margin-bottom: 15px;
}

.header-contacts p {
	margin-bottom: 10px;
}

/* ------------------------------------------------ */
/* Top Bar */
/* ------------------------------------------------ */

#site-navigation {
	position: relative;
	display: table;
	height: 105px;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background: rgba(255, 255, 255, 0);
	-webkit-transition: background 0.6s;
	transition: background 0.6s;
}

#site-navigation.full-navigation {
	padding: 0 10px;
	position: relative;
}

#site-navigation.full-navigation .container,
#site-navigation.full-navigation .container .sixteen.columns  {
	width: 100%;
	float: none;
}

/* ------------------------------------------------ */
/* Header Logo */
/* ------------------------------------------------ */

.logo-container {
	display: inline-block;
	height: 105px;
}

#logo {
	text-align:left;
	position: relative;
	top:50%;
	padding:0;
	margin: 0;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

#logo span {
	opacity: 0.7;
}

#logo a.pine {
	opacity:1;
	margin:0;
}

#logo .svg-sizer {
	display: inline-block;
	position: relative;
	height:30px;
	width:30px;
}

#logo a {
	-webkit-transition: -webkit-transform 0.1s;
	transition: transform 0.1s;
	-webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	transition-timing-function: cubic-bezier(0.7,0,0.3,1);
}

#logo a.pine:hover {
  -webkit-transform: rotate(6deg);
  transform: rotate(6deg);
}

.logo-link:hover path {
  fill: #947b61;
}

#logo img {
	position: relative;
	/*max-height: 100px;
	-webkit-transition: max-height 0.3s;
	transition: max-height 0.3s;*/
	vertical-align: middle;
}

.scaled #logo img {
	max-height: 60px;
}

#logo h1 {
	display: inline-block;
	padding: 0;
	margin: 0;
	font-size: 28px;
	line-height: normal;
	font-weight: 500;
	color: #947b61;
}

h1.logo a {
	color:#947b61;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

#logo h1:hover {
	opacity:0.8;
}

/* ------------------------------------------------ */
/* Navigation Menu */
/* ------------------------------------------------ */

.top-navigation {
	position: relative;
	display: inline-block;
	float: right;
	padding:0;
	text-align: right;
	height: 105px;
}

.nav-menu {
	position: relative;
	vertical-align: middle;
	text-align: right;
	top: 45px;
}

.top-navigation ul,
.top-navigation ul ul,
.top-navigation li,
.top-navigation li li {
	margin: 0;
	padding: 0;
}

.top-navigation li {
	list-style: none;
	position: relative;
	display:inline-block;
	margin:0 5px;
	padding: 0;
}

.top-navigation li:last-child {
	margin-right: 0;
}

.top-navigation li a {
	padding:12px 10px;
	margin: 0;
	font-size:13px;
	color:#333;
	font-weight:500;
	text-transform: uppercase;
	border: 2px solid transparent;
	-webkit-transition: border-color 0.25s, color 0.25s;
	transition: border-color 0.25s, color 0.25s;
}

li.current-menu-item a {
	color:#947b61;
}

.top-navigation li a:hover,
#site-navigation.scaled .top-navigation li a:hover {
	color:#947b61;
	border: 2px solid transparent;
}

.top-navigation ul ul {
	z-index: 999;
	position: absolute;
	top: 32px;
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	visibility: hidden;
	width: 190px;
	padding: 15px;
	text-align:center;
	/*background:#947b61;*/
	background:rgba(90,90,90, 1);
	transition: opacity 0.3s;
}

@keyframes balloon-enter {
	0% {
    -webkit-transform: scaleY(0) translateX(-50%);
    transform: scaleY(0) translateX(-50%);
	}
	100% {
    -webkit-transform: scaleY(1) translateX(-50%);
    transform: scaleY(1) translateX(-50%);
	}
}

.top-navigation ul li:hover > ul {
	opacity: 1;
	visibility: visible;
	left: 50%;
}

.top-navigation ul li ul li {
	padding: 8px 0;
}

.top-navigation ul ul li a {
	color: #fff;
	font-size:13px;
	font-weight: 300;
	text-transform: none;
	padding:0;
	margin:0;
	border: none;
}

.top-navigation ul ul a:hover,
#site-navigation.scaled .top-navigation ul ul li a:hover {
	color: rgba(255, 255, 255, 0.6);
	border: none;
}

.top-navigation ul ul:before {
	position: absolute;
	top: -3px;
	left: 0;
	width: 100%;
	height: 15px;
	content: "";
}

.top-navigation li li:last-child {
	margin-bottom: 0;
}

.top-navigation li li:before {
	display: none;
}

.top-navigation ul ul ul {
	top: -10px;
	left: 100%;
	transform: translateX(0);
	background: #222;
}

.top-navigation ul ul li:hover > ul {
	top: -15px;
	left: 100%;
	transform: translateX(0);
}

.top-navigation ul ul ul:before {
	position: absolute;
	top: 0;
	left: -20px;
	width: 20px;
	height: 100%;
	content: "";
}

.top-navigation ul ul li {
	width: 100%;
}

.top-navigation ul .menu-item-has-children > a:before {
	position:absolute;
	content: '';
	width:24px;
	height: 2px;
	bottom:-5px;
	left:calc(50% - 12px);
	background: #947b61;
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
	-webkit-transform: scale(1);
	transform: scale(1);
}

.top-navigation ul .menu-item-has-children:hover > a:before {
	-webkit-transform: scale(0,1);
	transform: scale(0,1);
}

.top-navigation ul ul .menu-item-has-children > a:before {
	display: none;
}

.top-navigation ul ul .menu-item-has-children > a:after {
	padding-left: 10px;
	font-family: "FontAwesome";
	font-size: 14px;
	content: "\f105";
}

.menu-dropdown {
	display: none;
	cursor: pointer;
	position: absolute;
	top: 50%;
	right: 0;
	width: 20px;
	height: 20px;
	z-index:1000;
	-webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.menu-dropdown span {
	position: absolute;
	top: 10px;
	left: 0;
	width: 20px;
	height: 2px;
	margin-top: -1px;
	background-color: rgba(45,45,45, 1);
	border-radius:2px;
}

.menu-dropdown span:before,
.menu-dropdown span:after {
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(45,45,45, 1);
	content: "";
	-webkit-transition-duration: .1s;
	transition-duration: .1s;
}

.menu-dropdown span:before {
	-webkit-transform: translateY(-350%);
	transform: translateY(-350%);
}

.menu-dropdown span:after {
	-webkit-transform: translateY(350%);
	transform: translateY(350%);
}

.menu-dropdown.toggled-on span {
	background-color: transparent;
}

.menu-dropdown.toggled-on span:before {
	-webkit-transform: translateY(0) rotate(45deg);
	transform: translateY(0) rotate(45deg);
	background-color: rgba(128,128,128, 1);
}

.menu-dropdown.toggled-on span:after {
	-webkit-transform: translateY(0) rotate(-45deg);
	transform: translateY(0) rotate(-45deg);
	background-color: rgba(128,128,128, 1);
}

.navigation_fixed {
	position:fixed;
	z-index:5999;
	width:100%;
	margin:0 auto;
	top:0;
}

.top-navigation li a.menu-overflowed {
	font-size: 1em;
	line-height: 1em;
}

.top-navigation ul .menu-item-has-children > a.menu-overflowed:before,
.menu-item-split-wrapper ul ul,
.menu-item-split-wrapper .menu-item-has-children > a:after {
	display: none;
}

/* ------------------------------------------------ */
/* Portfolio */
/* ------------------------------------------------ */

#portfolio-wrapper {
  transition-property: height;
  transition-duration: 0.3s;
}

#portfolio-gallery-wrapper {
}

.portfolio-item {
	position: relative;
	margin-bottom: 20px;
	overflow: hidden;
}

.portfolio-item:before {
	position: absolute;
	content: '';
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	background: rgba(255, 255, 255, 0.86);
	opacity: 0;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
	z-index: 11;
}

.portfolio-item:hover::before {
	opacity: 1;
}

.portfolio-item > a:not(.video-info) {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 16;
}

.portfolio-item .video-info {
	position: absolute;
	width: 80px;
  height: 80px;
  font-size: 48px;
  line-height: 80px;
  text-align: center;
  color: rgba(0,0,0,0.2);
  text-shadow: 0 0px 1px rgba(255, 255, 255, 0.4);
  z-index: 17;
  bottom: 0;
  right: 0;
  opacity: 0;
	-webkit-transform:translateY(50%);
  transform:translateY(50%);
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.portfolio-item:hover .video-info {
	opacity: 1;
	-webkit-transform:translateY(0);
  transform:translateY(0);
}

.portfolio-item .thumb, .third-masonry .thumb,
.full-width .thumb {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50%;
}

.grid-thumb {
	position: absolute;
	top: 2px;
	right: 2px;
	bottom: 2px;
	left: 2px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50%;
}

.mfp-caption {
	position: absolute;
	bottom: 0;
	left: 20%;
	right: 20%;
	text-align: center;
	color: #fff;
	font-size: 16px;
}

.portfolio-link.video-popup:after {
	content: '\f04b';
	position: absolute;
	width: 80px;
	height: 80px;
	font-size: 50px;
	line-height: 80px;
	text-align: center;
	color: #fff;
	text-shadow: 0 0px 1px rgba(0, 0, 0, 0.4);
	z-index: 1;
	top: 50%;
	left: 50%;
	opacity: .85;
	font-family: 'FontAwesome';
	-webkit-transform: translateX(-50%) translateY(-50%) rotateZ(0);
  transform: translateX(-50%) translateY(-50%) rotateZ(0);
	-webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.portfolio-link:hover.video-popup::after {
	-webkit-transform: translateX(-65%) translateY(45%) rotateZ(120deg);
  transform: translateX(-65%) translateY(45%) rotateZ(120deg);
	color: inherit;
	opacity: .5;
}

/* .portfolio-item:after,
.portfolio-header:after,
.post_thumb:not(.hentry):after {
	content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  margin-left: -25px;
  border-radius: 50%;
  border: 2px solid;
  border-left-color: rgba(0, 0, 0, 0.5);
  border-top-color: rgba(0, 0, 0, 0.5);
  border-right-color: rgba(0, 0, 0, 0.2);
  border-bottom-color: rgba(0, 0, 0, 0.2);
  opacity: 0.8;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
  -webkit-animation: spinner 0.9s infinite linear;
  animation: spinner 0.9s infinite linear;
} */

.portfolio-item.loaded:after,
.portfolio-header.loaded:after,
.post_thumb.loaded:after {
  opacity: 0;
}

.portfolio-item .thumb,
.post_thumb .thumb,
.portfolio-header .portfolio-header-image {
  opacity: 0;
  -webkit-transition: opacity 0.2s ease-in;
  transition: opacity 0.2s ease-in;
}

.portfolio-item.loaded .thumb,
.post_thumb.loaded .thumb,
.portfolio-header.loaded .portfolio-header-image {
  opacity: 1;
}
/*
.portfolio-item:hover .thumb::before,
.portfolio-item:hover .thumb::after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}*/

.portfolio-item:hover .thumb::after {
	/*-webkit-transition-delay: 0.15s;
	transition-delay: 0.15s;*/
}

.item-description {
	position: absolute;
	text-align: center;
	font-size: 14px;
	top: 50%;
	width: 100%;
	padding: 0 10px;
	margin: 0;
	z-index: 14;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

.item-description h6 {
	font-weight: 500;
	font-size: 26px;
	line-height: 1em;
	padding: 0px 20px 5px 20px;
	vertical-align: middle;
	opacity: 0;
	-webkit-transform: translateY(-10px);
  -ms-transform: translateY(-10px);
  transform: translateY(-10px);
	-webkit-transition: .3s cubic-bezier(.215, .61, .355, 1) 0s;
	transition: .3s cubic-bezier(.215, .61, .355, 1) 0s;
}

.item-description .loader {
	position: relative;
	width: 100px;
	height: 1px;
	margin: 5px auto;
	-webkit-transition-delay: 0.3s;
	transition-delay: 0.3s;
	-webkit-transition: -webkit-transform 0.2s, opacity 0.2s;
	transition: transform 0.2s, opacity 0.2s;
	-webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
	transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.item-description .loader:before {
	content: '';
	position: absolute;
	z-index: 15;
	width: 100%;
	height: 2px;
	background: #947b61;
	left: 0;
	top: -1px;
	margin: 0 auto;
	-webkit-transform: scale3d(0, 1, 1);
	transform: scale3d(0, 1, 1);
	-webkit-transform-origin: 0% 50%;
	transform-origin: 0% 50%;
}

.portfolio-item:hover .loader:before {
	-webkit-transition: -webkit-transform 1s;
	transition: transform 1s;
	-webkit-transition-timing-function: cubic-bezier(0.165,0.84,0.44,1);
	transition-timing-function: cubic-bezier(0.165,0.84,0.44,1);
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

.item-description .filter-words {
  opacity: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 0 0 0;
  -webkit-transform: translateY(20px);
  -ms-transform: translateY(20px);
  transform: translateY(20px);
  -webkit-transition: .3s cubic-bezier(.215, .61, .355, 1) 0s;
  transition: .3s cubic-bezier(.215, .61, .355, 1) 0s;
}

.item-description .filter-words span {
	display: inline-block;
	padding: 0 7px;
	position: relative;
}

.item-description .filter-words span::before {
    content: "&";
    display: block;
    position: absolute;
		left: -3px;
}

.item-description .filter-words span:first-of-type::before {
	display: none;
}

.portfolio-item:hover h6,
.portfolio-item:hover .filter-words {
	opacity: 1;
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
}

.portfolio-item:hover h6 {
	-webkit-transition-delay: 0.2s;
	transition-delay: 0.2s;
}

.portfolio-item:hover .filter-words {
	-webkit-transition-delay: 0.3s;
	transition-delay: 0.3s;
}

/* ------------------------------------------------ */
/* Portfolio Size 3 columns */
/* ------------------------------------------------ */

.one-third.column.portfolio-item {
	height: 360px;
}

.one-third.column.masonry-portfolio.portfolio-item {
	height: auto;
}

.container .one-third.column.portfolio-item.size-1x1 {
	width: 380px;
	height: 360px;
}

.container .one-third.column.portfolio-item.size-1x2 {
	width: 380px;
	height: 740px;
}

.container .one-third.column.portfolio-item.size-2x1 {
	width: 780px;
	height: 360px;
}

.container .one-third.column.portfolio-item.size-2x2 {
	width: 780px;
	height: 740px;
}

.container .one-third.column.portfolio-item.size-3x1 {
	width: 1180px;
	height: 360px;
}

.container .one-third.column.portfolio-item.size-3x3 {
	width: 1180px;
	height: 1120px;
}

/* ------------------------------------------------ */
/* Portfolio Size 4 columns */
/* ------------------------------------------------ */

.four.columns.portfolio-item {
	height: 260px;
}

.four.columns.masonry-portfolio.portfolio-item {
	height: auto;
}

.container .four.columns.portfolio-item.size-1x2 {
	width: 280px;
	height: 540px;
}

.container .four.columns.portfolio-item.size-2x1 {
	width: 580px;
	height: 260px;
}

.container .four.columns.portfolio-item.size-2x2 {
	width: 580px;
	height: 540px;
}

.container .four.columns.portfolio-item.size-3x1 {
	width: 880px;
	height: 260px;
}

.container .four.columns.portfolio-item.size-3x3 {
	width: 880px;
	height: 820px;
}

/* ------------------------------------------------ */
/* Portfolio Size Full Width */
/* ------------------------------------------------ */

.portfolio_sizer {
	width:380px;
}

.recent-portfolio .portfolio_sizer {
	width:300px;
}

.page-template-template-portfoliofull .portfolio_sizer {
	width:25%;
}

.shortcode-gallery-inner .portfolio_sizer {
	width:33.333%;
}

.full-width.portfolio-item {
	height: 300px;
}

.full-width.portfolio-item.size-1x1 {
	width: calc(25% - 20px);
}

.full-width.portfolio-item.size-1x2 {
	width: calc(25% - 20px);
	height: 620px;
}

.full-width.portfolio-item.size-2x1 {
	width: calc(50% - 20px);
	height: 300px;
}

.full-width.portfolio-item.size-2x2 {
	width: calc(50% - 20px);
	height: 620px;
}

.full-width.portfolio-item.size-3x1 {
	width: calc(75% - 20px);
	height: 300px;
}

.full-width.portfolio-item.size-3x3 {
	width: calc(75% - 20px);
	height: 940px;
}

/* ------------------------------------------------ */
/* Portfolio Full Width Video */
/* ------------------------------------------------ */

.page-template-template-portfoliofull-video .portfolio_sizer {
	width:33.3333%;
}

.page-template-template-portfoliofull-video .full-width-container {
  padding: 0;
}

.full-width-video.portfolio-item {
	height: 300px;
	width: 33.3333%;
	margin: 0;
}

/* ------------------------------------------------ */
/* Portfolio Full Width No Gaps */
/* ------------------------------------------------ */

.page-template-template-portfoliofull-nogap .portfolio_sizer {
	width:25%;
}

.page-template-template-portfoliofull-nogap .full-width-container {
  padding: 0;
}

.full-width-nogap.portfolio-item {
	height: 250px;
	width: 25%;
	margin: 0;
}

/* ------------------------------------------------ */
/* Filters */
/* ------------------------------------------------ */

.filter-container {
	/*height:65px;*/
	text-align:center;
}

#filter {
	position: absolute;
	top: -85px;
	right: 10px;
	margin: 0 auto;
	z-index: 18;
}

div.cs-select {
	display: inline-block;
	vertical-align: middle;
	position: relative;
	text-align: center;
	background: #fff;
	z-index: 100;
	width: 150px;
	max-width: 500px;
	border: 2px solid #947b61;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-ms-user-select: none;
	user-select: none;
	webkit-transition: width 0.3s;
  transition: width 0.3s;
}

div.cs-select.cs-active {
	width: 200px;
}

select.cs-select {display:none;}

div.cs-select:focus {
	outline: none;
}

.cs-select select {
	display: none;
}

.cs-select span {
	display: block;
	position: relative;
	cursor: pointer;
	padding: 1em;
	white-space: nowrap;
	overflow:hidden;
	color:#947b61;
	text-overflow: ellipsis;
	-webkit-transition: color 0.3s ease-in-out;
	-moz-transition: color 0.3s ease-in-out;
	-o-transition: color 0.3s ease-in-out;
	-ms-transition: color 0.3s ease-in-out;
	transition: color 0.3s ease-in-out;
}

.cs-select span:hover {
	color:#222;
}

.cs-select > span {
	padding-right: 3em;
}

.cs-select > span::after,
.cs-select .cs-selected span::after {
	speak: none;
	position: absolute;
	top: 50%;
	font-family:FontAwesome;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.cs-select.cs-active > span::after {
	-webkit-transform: translateY(-50%) rotate(180deg);
	transform: translateY(-50%) rotate(180deg);
}

div.cs-active {
	z-index: 200;
}

.cs-select .cs-options {
	position: absolute;
	overflow: hidden;
	margin-top: 3px;
	width: 100%;
	background: #fff;
	visibility: hidden;
}

.cs-select.cs-active .cs-options {
	visibility: visible;
}

.cs-select ul {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.cs-select ul span {
	padding: 1em;
}

.cs-select ul li.cs-focus span {
	background-color: #947b61;
}

.cs-select li.cs-optgroup ul {
	padding-left: 1em;
}

.cs-select li.cs-optgroup > span {
	cursor: default;
}

div.cs-skin-underline {
	background: transparent;
	font-size: 15px;
	max-width: 280px;
	font-weight: 300;
}

.cs-skin-underline > span {
	padding:15px 10px;
}

.cs-skin-underline.cs-active > span::after {
	-webkit-transform: translate3d(0,-50%,0) rotate3d(0,0,1,270deg);
	transform: translate3d(0,-50%,0) rotate3d(0,0,1,270deg);
}

.cs-skin-underline .cs-options {
	background: transparent;
	opacity: 0;
	-webkit-transition: opacity 0.3s 0.4s, visibility 0s 0.3s;
	transition: opacity 0.3s 0.4s, visibility 0s 0.3s;
}

.cs-skin-underline .cs-options li {
	background: #fff;
	margin-bottom:2px;
}

.cs-skin-underline.cs-active .cs-options {
	opacity: 1;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.cs-skin-underline ul span {
	position: relative;
	font-size: 15px;
	font-weight: 300;
	color:#333;
	letter-spacing: 1px;
	padding: 1.2em 0.8em;
	opacity: 0;
	-webkit-transform: translate3d(100%,0,0);
	transform: translate3d(100%,0,0);
	-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
	transition: opacity 0.3s, transform 0.3s;
}

.cs-select ul span::after {
	content: '';
	opacity: 0;
}

.cs-select li.cs-selected {
	background:#947b61;
}

.cs-skin-underline ul li span::before {
	content: '';
	position: absolute;
	bottom: 0px;
	left: 0;
	height: 3px;
	width: 100%;
	background: transparent;
	-webkit-transform: translate3d(200%,0,0);
	transform: translate3d(200%,0,0);
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
}

.cs-skin-underline ul li:last-child span::before {
	height: 0;
}

.cs-skin-underline.cs-active ul span,
.cs-skin-underline.cs-active ul span::before {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.cs-skin-underline li:nth-child(5),
.cs-skin-underline li:nth-child(5) span,
.cs-skin-underline li:nth-child(5) span::before,
.cs-skin-underline.cs-active li:first-child span,
.cs-skin-underline.cs-active li:first-child span::before {
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

.cs-skin-underline li:nth-child(4),
.cs-skin-underline li:nth-child(4) span,
.cs-skin-underline li:nth-child(4) span::before,
.cs-skin-underline.cs-active li:nth-child(2) span,
.cs-skin-underline.cs-active li:nth-child(2) span::before {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
}

.cs-skin-underline li:nth-child(3),
.cs-skin-underline li:nth-child(3) span,
.cs-skin-underline li:nth-child(3) span::before {
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

.cs-skin-underline li:nth-child(2),
.cs-skin-underline li:nth-child(2) span,
.cs-skin-underline li:nth-child(2) span::before,
.cs-skin-underline.cs-active li:nth-child(4) span,
.cs-skin-underline.cs-active li:nth-child(4) span::before {
	-webkit-transition-delay: 0.15s;
	transition-delay: 0.15s;
}

.cs-skin-underline li:first-child,
.cs-skin-underline li:first-child span,
.cs-skin-underline li:first-child span::before,
.cs-skin-underline.cs-active li:nth-child(5) span,
.cs-skin-underline.cs-active li:nth-child(5) span::before {
	-webkit-transition-delay: 0.2s;
	transition-delay: 0.2s;
}

.cs-skin-underline .cs-options li span:hover,
.cs-skin-underline .cs-options li.cs-focus span {
	color: #fff;
	background: #947b61;
}

.cs-skin-underline li.cs-selected span {
	color: #fff;
}

/* ------------------------------------------------ */
/* Infinite scroll */
/* ------------------------------------------------ */

#infscr-loading {
  text-align: center;
  z-index: 999;
  position: fixed;
  left: calc(50% - 100px);
  bottom: 30%;
  width: 200px;
  padding: 15px 20px;
  line-height: 14px;
  background:rgba(0, 0, 0, 0.5);
  opacity: 1;
  color: #fff;
	font-size:13px;
}

#infscr-loading img {
	display:inline-block;
  width: 50px;
	margin:0 auto;
}

/* ------------------------------------------------ */
/* Portfolio Single Page */
/* ------------------------------------------------ */

.portfolio-header {
	position: relative;
	overflow: hidden;
	margin: 0 auto;
	margin-top: -105px;
	min-height: 50vh;
	width: 100%;
	height: 100vh;
	/*z-index: 1;*/
}

.height-auto .portfolio-header {
	height: calc(66vh + 80px);
}

.height-minimal .portfolio-header {
	min-height: calc(35vh + 80px);
	height: auto;
}

.height-optimal .portfolio-header {
	height: auto;
	top: 60px;
}

.height-half .portfolio-header {
	height: calc(50vh + 80px);
	/*margin-top: 0px;*/
	margin-bottom: 5px;
}

.portfolio-header-image {
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	background-repeat: no-repeat;
	background-position: center;
	-webkit-background-size: cover;
	background-size: cover;
}

.page-title {
	z-index: 10;
	margin: 0 auto;
	padding: 0 1em;
	width: 100%;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	pointer-events: none;
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.page-title .subline {
	pointer-events: auto;
}

.under .page-title {
	position: relative;
	left: 0;
	margin-bottom: 70px;
	-webkit-transform: translateX(0) translateY(0);
  transform: translateX(0) translateY(0);
}

.height-half .page-title,
.height-auto .page-title {
	margin-top: 35px;
}

.page-title h1,
#page-title h1 {
	padding: 20px;
	color: #fff;
	display: inline-block;
	font-weight: 500;
	font-size: 3.75em;
	margin: 0 auto;
	/*margin-left: -20px;*/
	background: rgba(148, 123, 97, 0.96);
	-webkit-margin-before: 0;
}

.page .no-effects .page-title h1,
.archive .no-effects .page-title h1,
.page .no-effects #page-title h1,
.archive .no-effects #page-title h1,
.error404 .no-effects #page-title h1 {
	padding: 20px 0;
}

.archive #page-title h1 span {
	font-weight: 700;
	font-style: normal;
}

.hide-h1 .page-title h1 {
	opacity: 0;
	background: transparent;
}

/*.no-effects .page-title h1,*/
.under .page-title h1 {
	color: #333;
	background: transparent;
}

.page-template #page-title h1,
.page-template-default #page-title h1,
.archive #page-title h1,
.blog #page-title h1,
.error404 #page-title h1,
.search #page-title h1 {
	color: inherit;
	background: transparent;
}

.search #page-title h1 span {
	opacity: 0.6;
}

.hide-h1 .page-title {
	visibility: hidden;
}

.hide-h1.modify .page-title {
	visibility: visible;
}

.page-title div.subline,
#page-title div.subline {
	/*color: #fff;*/
	padding: 0 0px 0.6em 0px;
	font-weight: 300;
	font-size: 0.85em;
	margin: 0 auto;
}

.no-effects .page-title div.subline {
	/*color: #fff;*/
	padding: 10px 0;
}

.no-effects.no-featured .page-title div.subline {
	color: #333;
}

.no-effects .page-title h1 {
	margin-left: 0;
}

.no-effects .under .page-title div.subline {
	color: inherit;
}

.page-title h1,
.page-title div.subline {
	line-height: 1;
}

.page-title div.subline,
#page-title div.subline {
	font-size: 1.75em;
	opacity: 0.76;
}

div.subline.posted {
	font-size: 16px;
}

.content {
	margin: 0 auto;
	padding: 0;
}

.no-effects .content {
	/*padding: 105px 0 0 0;*/
	padding: 55px 0 0 0;
}

.no-effects.no-featured .content {
	padding: 0;
}

.no-effects .content.under {
	padding: 65px 0 0 0;
}

/* ------------------------------------------------ */
/* Gutenberg */
/* ------------------------------------------------ */

@media only screen and (min-width: 959px) {

  .alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: auto;
    max-width: 1000%;
  }

  .alignwide {
    margin-left: calc(25% - 25vw);
    margin-right: calc(25% - 25vw);
    width: auto;
    max-width: 1000%;
  }

  .alignwide img,
  .alignfull img {
    display: block;
    margin: 0 auto;
  }
}

p.has-large-font-size {
	font-size: 36px;
}

p.has-small-font-size {
	font-size: 13px;
}

/* -------------------------- */
/* Single pagination */
/* -------------------------- */

.single-pagination {
	text-align: center;
	font-size: 1.25em;
}

/* -------------------------- */
/* Faded gradient */
/* -------------------------- */

.intro-effect-fadeout:not(.notrans) .portfolio-header-image {
	-webkit-transition-property: -webkit-transform;
	transition-property: transform;
}

.intro-effect-fadeout:not(.notrans) .portfolio-header-image::after {
	-webkit-transition-property: opacity;
	transition-property: opacity;
}

.intro-effect-fadeout:not(.notrans) .portfolio-header h1 {
	-webkit-transition-property: color, background, opacity;
	transition-property: color, background, opacity;
}

.intro-effect-fadeout:not(.notrans) .portfolio-header div.subline,
.intro-effect-fadeout:not(.notrans) .content > div {
	-webkit-transition-property: -webkit-transform, opacity;
	transition-property: transform, opacity;
}

.intro-effect-fadeout:not(.notrans) .portfolio-header-image,
.intro-effect-fadeout:not(.notrans) .portfolio-header h1,
.intro-effect-fadeout:not(.notrans) .portfolio-header div.subline,
.intro-effect-fadeout:not(.notrans) .content > div {
	-webkit-transition-duration: 0.5s;
	transition-duration: 0.5s;
}

.intro-effect-fadeout:not(.notrans) .portfolio-header-image::after {
	-webkit-transition-duration: 0.1s;
	transition-duration: 0.1s;
}

.intro-effect-fadeout .portfolio_container,
.intro-effect-fadeout .container-content {
	-webkit-transition: opacity 0.5s, transform 0.5s;
	transition: opacity 0.5s, transform 0.5s;
}

.intro-effect-fadeout .portfolio-header {
	overflow: hidden;
}

.intro-effect-fadeout.modify .portfolio-header-image {
	/*-webkit-transform: translateY(-25%);
	transform: translateY(-25%);*/
}

.intro-effect-fadeout .portfolio-header-image::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 101%;
	top: 0;
	left: 0;
	opacity: 0;
	pointer-events: none;
	background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
}

.intro-effect-fadeout.modify .portfolio-header-image::after {
	opacity: 1;
}

.intro-effect-fadeout .page-title {
	text-align: left;
	max-width: 910px;
}

.page-template-template-portfolio4col-header-php .intro-effect-fadeout .page-title {
	max-width: 1200px;
	margin: 0 10px;
}

.intro-effect-fadeout.centered .page-title {
	text-align: center;
	padding: 0;
}

.intro-effect-fadeout.righthand .page-title {
	text-align: right;
	padding: 0;
}

.intro-effect-fadeout.lefthand .page-title {
	padding: 0;
}

.intro-effect-fadeout.righthand .page-title h1 {
	margin-right: -22px;
}

.intro-effect-fadeout.lefthand .page-title h1 {
	margin-left: -24px;
}

.intro-effect-fadeout.modify .portfolio-header h1,
.intro-effect-fadeout .portfolio-header div.subline {
	color: #333;
}

.intro-effect-fadeout.modify .portfolio-header h1,
.page-template-template-portfolio3col-custom-php .portfolio-header h1,
.page-template-template-portfolio4col-header-php .intro-effect-fadeout .portfolio-header h1,
.page-template-template-portfolio3col-header-php .intro-effect-fadeout .portfolio-header h1,
.page-template-template-portfolio3-masonry-header-php .intro-effect-fadeout .portfolio-header h1,
.page-template-template-portfolio4-masonry-header-php .intro-effect-fadeout .portfolio-header h1 {
	background: transparent;
	color: #333;
	opacity: 1;
}

.page-template-template-portfolio3col-custom-php .portfolio-header {
	    margin-bottom: 20px;
}

.intro-effect-fadeout .under .portfolio-title h1 {
  background: transparent;
  color: inherit;
  opacity: 1;
}

.intro-effect-fadeout .portfolio-header div.subline {
	opacity: 0;
}

.intro-effect-fadeout .portfolio-header div.subline:nth-child(2) {
	-webkit-transform: translateX(150px);
	transform: translateX(150px);
}

.intro-effect-fadeout .portfolio-header div.subline:nth-child(3) {
	-webkit-transform: translateX(-150px);
	transform: translateX(-150px);
}

.intro-effect-fadeout.modify .portfolio-header div.subline:nth-child(2),
.intro-effect-fadeout.modify .portfolio-header div.subline:nth-child(3) {
	opacity: 1;
	-webkit-transform: translateX(0);
	transform: translateX(0);
}

.intro-effect-fadeout .content {
	z-index: 10;
	position: relative;
}

.intro-effect-fadeout .content > div {
	opacity: 0;
	-webkit-transform: translateY(350px);
	transform: translateY(350px);
}

.intro-effect-fadeout .portfolio_container,
.intro-effect-fadeout .container-content {
	opacity: 0;
	-webkit-transform: translateY(650px);
	transform: translateY(650px);
}

.intro-effect-fadeout.modify .content > div,
.intro-effect-fadeout.modify .portfolio_container,
.intro-effect-fadeout.modify .container-content {
	opacity: 1;
	-webkit-transform: translateY(0);
	transform: translateY(0);
}

/* -------------------------- */
/* Side Effect */
/* -------------------------- */

.intro-effect-side:not(.notrans) .portfolio-header-image::before,
.intro-effect-side:not(.notrans) .page-title {
	-webkit-transition-property: -webkit-transform;
	transition-property: transform;
}

.intro-effect-side:not(.notrans) .portfolio-header-image::after {
	-webkit-transition-property: top, left, bottom, right, background-color;
	transition-property: top, left, bottom, right, background-color;
}

.intro-effect-side:not(.notrans) .portfolio-header div.subline {
	-webkit-transition-property: -webkit-transform, opacity;
	transition-property: transform, opacity;
}

.intro-effect-side:not(.notrans) .content > div,
.intro-effect-side:not(.notrans) .portfolio-header h1 {
	-webkit-transition-property: opacity;
	transition-property: opacity;
}

.intro-effect-side:not(.notrans) .portfolio-header-image::before,
.intro-effect-side:not(.notrans) .portfolio-header-image::after,
.intro-effect-side:not(.notrans) .page-title,
.intro-effect-side:not(.notrans) .portfolio-header div.subline,
.intro-effect-side:not(.notrans) .content > div {
	-webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	-webkit-transition-duration: 0.5s;
	transition-duration: 0.5s;
}

.intro-effect-side .portfolio-header-image::before,
.intro-effect-side .portfolio-header-image::after {
	content: '';
	position: absolute;
	z-index: 9;
}

.intro-effect-side .portfolio-header-image::before {
	background: #fff;
	top: 0;
	left: 0;
	width: 60%;
	height: 100%;
	-webkit-transform: translateX(-100%);
	transform: translateX(-100%);
}

.intro-effect-side.titleleft .portfolio-header-image::before {
	left: auto;
	right: 0;
	-webkit-transform: translateX(100%);
	transform: translateX(100%);
}

.intro-effect-side.modify .portfolio-header-image::before {
	-webkit-transform: translateX(0);
	transform: translateX(0);
}

.intro-effect-side .portfolio-header-image::after {
	border: 80px solid #fff;
	top: -80px;
	right: -80px;
	bottom: -80px;
	left: -80px;
	background-color: rgba(255,255,255,0.6);
}

.intro-effect-side.modify .portfolio-header-image::after {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(255,255,255,0);
}

.intro-effect-side .page-title {
	text-align: right;
	left: 0;
	padding: 0 3em 0 2em;
	width: 60%;
	-webkit-transform: translateX(66.66%) translateY(-50%);
	transform: translateX(66.66%) translateY(-50%);
}

.intro-effect-side.titleleft .page-title {
	text-align: left;
	padding: 0 2em 0 3em;
	right: 0;
	-webkit-transform: translateX(-33%) translateY(-50%);
	transform: translateX(-33%) translateY(-50%);
}

.intro-effect-side.modify .page-title {
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.intro-effect-side.modify.titleleft .page-title {
	-webkit-transform: translateX(33.3%) translateY(-50%);
	transform: translateX(33.3%) translateY(-50%);
}

.intro-effect-side.modify .under .page-title {
	-webkit-transform: translateX(0) translateY(0);
	transform: translateX(0) translateY(0);
	max-width: 910px;
	width: auto;
	margin-bottom: 70px;
	padding: 0;
}

.intro-effect-side.titleleft .page-title h1 {
	margin-left: 0;
}

.intro-effect-side .portfolio-header h1,
.intro-effect-side .under .page-title h1 {
	background: transparent;
	color:#333;
	font-weight: 600;
	padding-right: 0;
	padding-left: 0;
}

.intro-effect-side.modify .portfolio-header h1 {
	opacity: 1;
	visibility: visible;
}

.intro-effect-side .portfolio-header div.subline {
	opacity: 0;
	color: #333;
	-webkit-transform: translateY(100px);
	transform: translateY(100px);
}

.intro-effect-side.modify .portfolio-header div.subline {
	opacity: 1;
	-webkit-transform: translateX(0);
	transform: translateX(0);
}

.intro-effect-side .content > div {
	margin-top: 0px;
	opacity: 0;
}

.intro-effect-side.modify .content > div {
	opacity: 1;
}

.intro-effect-side button.trigger span::before,
.intro-effect-side button.trigger::before {
	color: #947b61;
}

.intro-effect-side:not(.notrans) .page-title,
.intro-effect-side:not(.notrans) .portfolio-header-image::before,
.intro-effect-side:not(.notrans) .portfolio-header-image::after {
	-webkit-transition-delay: 0.3s;
	transition-delay: 0.3s;
}

.intro-effect-side.modify:not(.notrans) .page-title,
.intro-effect-side.modify:not(.notrans) .portfolio-header-image::before,
.intro-effect-side.modify:not(.notrans) .portfolio-header-image::after {
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

.intro-effect-side.modify:not(.notrans) .portfolio-header p:nth-last-child(2) {
	-webkit-transition-delay: 0.15s;
	transition-delay: 0.15s;
}

.intro-effect-side.modify:not(.notrans) .portfolio-header p:last-child {
	-webkit-transition-delay: 0.2s;
	transition-delay: 0.2s;
}

.intro-effect-side.modify:not(.notrans) .content > div {
	-webkit-transition-delay: 0.3s;
	transition-delay: 0.3s;
}

/* ------------------------------------------------ */
/* Owl carousel */
/* ------------------------------------------------ */

.owl-carousel .owl-wrapper:after {
	content: "";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.owl-carousel {
	display: none;
	position: relative;
	width: 100%;
	-ms-touch-action: pan-y;
	/*z-index:8;*/
}

.portfolio-header .owl-carousel {
	height: 100%;
}

.portfolio-text .owl-carousel {
	margin-bottom:35px;
}

.owl-carousel .owl-wrapper{
	display: none;
	position: relative;
	-webkit-transform: translate3d(0px, 0px, 0px);
}

.owl-carousel .owl-wrapper-outer{
	overflow: hidden;
	position: relative;
	width: 100%;
}

.owl-carousel .owl-wrapper-outer.autoHeight{
	-webkit-transition: height 500ms ease-in-out;
	transition: height 500ms ease-in-out;
}

.owl-carousel .owl-item{
	float: left;
}

.owl-controls .owl-page,
.owl-controls .owl-buttons div{
	cursor: pointer;
}

.owl-controls {
	-webkit-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
	-webkit-backface-visibility: hidden;
	-webkit-transform: translate3d(0,0,0);
}

.owl-theme .owl-controls {
	text-align: center;
	width:100%;
}

.owl-theme .owl-pagination {
	position:absolute;
	text-align: center;
	bottom:10px;
	left:30%;
	right:30%;
	z-index:98;
}

.modify .owl-theme .owl-pagination {
	z-index:-1;
}

.owl-theme .owl-controls .owl-buttons div {
	color: rgba(0, 0, 0, 0.2);
	position:absolute;
	display: inline-block;
	top:50%;
	margin-top:-30px;
	zoom: 1;
	content:"";
	opacity: 0.6;
	width:60px;
	height:60px;
	line-height:60px;
	text-align:center;
	z-index:99;
}

.owl-buttons .owl-prev:after,
.owl-buttons .owl-next:after {
	font-family:FontAwesome;
	font-size:80px;
	text-align:center;
}

.owl-buttons .owl-prev:after {
	content:"\f104";
}

.owl-buttons .owl-next:after {
	content:"\f105";
}

.owl-buttons .owl-prev {
	left:0px;
}

.owl-buttons .owl-next {
	right:0px;
}

.owl-theme .owl-controls.clickable .owl-buttons div:hover{
	opacity: 1;
	text-decoration: none;
}

.owl-theme .owl-controls .owl-page{
	display: inline-block;
	zoom: 1;
}
.owl-theme .owl-controls .owl-page span{
	display: block;
	width: 14px;
	height: 14px;
	margin: 5px 7px;
	opacity: 0.5;
	background: rgba(0, 0, 0, 0.2);
}

.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span{
	opacity: 1;
}

.owl-theme .owl-controls .owl-page span.owl-numbers{
	height: auto;
	width: auto;
	color: #FFF;
	padding: 2px 10px;
	font-size: 12px;
}

.owl-item.loading{
	min-height: 150px;
}

.owl-item {
	overflow: hidden;
}

.owl-item img {
	width:100%;
	max-width: inherit;
}

.images-container {
	position: relative;
  overflow: hidden;
  z-index: 9;
}

.portfolio-text .images-container {
	margin-bottom:45px;
}

.justified-gallery-container {
	margin: -4px;
	/*background-color: #fff;*/
}

.justified-gallery {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.shortcode-gallery .shortcode-gallery-inner,
.self-container-inner {
	position: relative;
	width: 1030px;
	margin: 0 auto;
	overflow: hidden;
}

.shortcode-gallery-full .shortcode-gallery-inner {
	position: relative;
	width: 100vw;
	margin: 0 auto;
	overflow: hidden;
}

.shortcode-gallery-inner .owl-carousel {
	margin-bottom:0;
}

.shortcode-gallery-full {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: auto;
	max-width: 1000%;
}

.shortcode-gallery {
	margin-left: calc(25% - 25vw);
	margin-right: calc(25% - 25vw);
	width: auto;
	max-width: 1000%;
}

.third-masonry {
	width:calc(33.3% - 4px);
	margin:0 2px;
	padding:0;
	margin-bottom: 4px;
}

.four-masonry, .four-masonry.grid-item {
	width:calc(25% - 4px);
	margin:0 2px;
	padding:0;
	margin-bottom: 4px;
}

.grid-item {
	padding: 0;
	margin: 0;
}

/* ------------------------------------------------ */
/* Gallery */
/* ------------------------------------------------ */

.gallery {
	width: calc(100% - -20px);
}

.gallery .gallery-item {
	position: relative;
	display: inline-block;
	width: 100%;
	margin: 0;
	padding: 0 20px 28px 0;
	text-align: center;
}

.gallery .gallery-caption,
.wp-caption .wp-caption-text {
	color:#454e53;
	opacity: 0;
	position: absolute;
	bottom:30px;
	left:10px;
	right:10px;
	margin:0 10%;
	padding: 8px 12px;
	background-color: rgba(255, 255, 255, 0.9);
	border:1px solid rgba(0,0,0,0.6);
	line-height: 16px;
	text-align: center;
	-webkit-transform: translateY(10px);
	transform: translateY(10px);
	-webkit-transition-duration: .2s;
	transition-duration: .2s;
}

.wp-caption {
	position: relative;
}

.wp-caption .wp-caption-text {
	bottom:15px;
}

.gallery-item:hover .gallery-caption,
.wp-caption:hover .wp-caption-text {
	opacity: 0.8;
	-webkit-transform: translateY(0px);
	transform: translateY(0px);
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.gallery-columns-0 .gallery-item {
	width: 100%;
}

.gallery-columns-1 .gallery-item {
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	width: 50%;
}

.gallery-columns-3 .gallery-item {
	width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	width: 25%;
}

.gallery-columns-5 .gallery-item {
	width: 20%;
}

.gallery-columns-6 .gallery-item {
	width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	width: 11.11%;
}

/* ------------------------------------------------ */
/* Video Content */
/* ------------------------------------------------ */

.self_container {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.content-self-container {
  position: relative;
  overflow: hidden;
}

.content-self-container-full .self-container-inner,
.content-self-container-full .content-video {
	width: 100%
}

.blog-self_container {
	position: relative;
	overflow: hidden;
}

.selfhosted-video,
.blog-selfhosted-video {
  width: 100%;
  top: 0px;
  object-fit: contain;
  position: relative;
  -webkit-backface-visibility: hidden;
}

.related-posts .video-cont,
.related-posts .fluid-width-video-wrapper,
.blog-item .video-cont,
.blog-item .fluid-width-video-wrapper,
.portfolio-text .video-cont,
.portfolio-text .fluid-width-video-wrapper {
	height: 100%;
}

.video-cont {
	min-height: 230px;
	background: #000;
}

.eight.columns .video-cont {
	min-height: 340px;
}

.full-width .video-cont {
	min-height: 210px;
}

.self-video {
	/* width: 1200px; */
	height: 706px;
}

.fancybox-video {
	height: 100%
}

@media only screen and (min-width: 1200px) and (max-width: 1600px) {

	.self-video {
		width: 1024px;
		height: 600px;
	}

}

@media only screen and (min-width: 960px) and (max-width: 1199px) {

	.self-video {
		width: 840px;
		height: 560px;
	}

}

@media only screen and (max-width: 959px) {

	.self-video {
		width: 640px;
		height: 400px;
	}

}

/* ------------------------------------------------ */
/* Portfolio Text */
/* ------------------------------------------------ */

.container .columns.blog-nosidebar {
  margin: 0 auto;
  float: none;
	display: block;
}

.portfolio-text {
	padding: 0px 60px;
	/*padding-bottom: 65px;*/
}

.builder-withheader {
	margin-bottom: 260px;
}

.builder-noheader {
	margin-bottom: 80px;
}

.intro-effect-fadeout .container .columns.blog-nosidebar.portfolio-text {
	margin-top: -260px;
}

.intro-effect-fadeout .under .container .columns.blog-nosidebar.portfolio-text {
	margin-top: 0px;
}

.intro-effect-fadeout .content.under {
	margin-top: -260px;
}

.intro-effect-fadeout .homepage {
	margin-top: -180px;
}

.intro-effect-side .container .columns.blog-nosidebar.portfolio-text {
	margin-top: 0;
}

.container .portfolio-text p,
.portfolio-text,
.builder_p {
	font-weight: 300;
	font-size: 15px;
	color: #777;
}

.builder_p {
	line-height: 28px;
	padding: 0px 60px;
}

.container .shortcode-gallery p {
	margin: 0;
	margin-bottom: 30px;
	padding: 0px 60px;
}

.double-column {
	-webkit-column-count:2;
	column-count:2;
	column-gap: 50px;
}

.container .shortcode-gallery p:last-of-type {
	margin: 0;
}

.container .portfolio-text .portfolio-excerpt p {
	font-weight: 500;
	font-size: 18px;
	color: #444;
	line-height: 32px;
	margin: 0 0 50px 0;
	padding: 30px 45px;
	-webkit-column-count: 2;
	-webkit-column-width: 200px;
	-webkit-column-gap: 2em;
	column-count: 2;
	column-width: 200px;
	column-gap: 2em;
	background: rgba(200, 200, 200, 0.65);
}

.portfolio-excerpt {
	/*position: relative;*/
	/*margin-top: -260px;*/
}

.under .portfolio-excerpt {
	margin-top: 0;
}

.container .portfolio-text .portfolio-excerpt.right-side2 p {
	margin-left: 25%;
	margin-right: 0;
}

.container .portfolio-text .portfolio-excerpt.center-side2 p {
	margin-left: 10%;
	margin-right: 10%;
}

.container .portfolio-text .portfolio-excerpt.left-side2 p {
	margin-right: 25%;
	margin-left: 0;
}

.container .portfolio-text .portfolio-excerpt.right-side1 p,
.container .portfolio-text .portfolio-excerpt.center-side1 p,
.container .portfolio-text .portfolio-excerpt.left-side1 p {
	margin-left: 35%;
	margin-right: 0;
	-webkit-column-count: 1;
	-webkit-column-width: 200px;
	-webkit-column-gap: 2em;
	column-count: 1;
	column-width: 200px;
	column-gap: 2em;
}

.container .portfolio-text .portfolio-excerpt.left-side1 p {
	margin-right: 35%;
	margin-left: 0;
}

.container .portfolio-text .portfolio-excerpt.center-side1 p {
	margin-left: 10%;
	margin-right: 10%;
}

/* ------------------------------------------------ */
/* Page */
/* ------------------------------------------------ */

#page-title {
	display: block;
	padding: 25px 0;
	/*text-align: center;*/
}

#page-title.title-left, .title-left,
.intro-effect-fadeout .page-title.title-left {
	text-align: left;
}

#page-title.title-center, .title-center,
.blog #page-title,
.intro-effect-fadeout .page-title.title-center {
	text-align: center;
}

#page-title.title-right, .title-right,
.intro-effect-fadeout .page-title.title-right {
	text-align: right;
}

#page-title.title-left h1,
#page-title.title-right h1 {
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}

.hight-top {
	margin-top: 105px;
}

.title-center {
	text-align: center;
}

.recent-title h3,
.recent-title section {
	display: inline-block;
}

#page-title.recent-title {
	padding-top: 80px;
	text-align: center;
}

.recent-title h3 {
	position: relative;
	margin-bottom: 0;
}

.page-template-template-portfolio4col-header-php .recent-title {
	margin-top: -160px;
}

/* ------------------------------------------------ */
/* Page Title Animation */
/* ------------------------------------------------ */

.cd-words-wrapper {
  display: inline-block;
  position: relative;
  text-align: left;
}
.cd-words-wrapper b {
  display: inline-block;
  position: absolute;
  white-space: nowrap;
  left: 0;
  top: 0;
}
.cd-words-wrapper b.is-visible {
  position: relative;
}
.no-js .cd-words-wrapper b {
  opacity: 0;
}
.no-js .cd-words-wrapper b.is-visible {
  opacity: 1;
}

/* ------------------------------------------------ */
/* Project Navigation */
/* ------------------------------------------------ */

.project-navigation {
	position:fixed;
	width:41px;
	top: 50%;
	left: 10px;
	visibility: hidden;
	opacity: 0;
	z-index:11;
	-webkit-transition: opacity .8s 0s, visibility 0s .8s;
	transition: opacity .8s 0s, visibility 0s .8s;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.project-navigation a {
	background: transparent;
	position:relative;
	width: 41px;
	height: 41px;
	margin: 5px 0;
	display: inline-block;
	opacity: 1;
	border: 2px solid transparent;
	-webkit-transition: opacity .3s 0s, border-color .5s;
	transition: opacity .3s 0s, border-color .5s;
}

.project-navigation a:hover {
	border: 2px solid #947b61;
}

.project-navigation a.next:before, .project-navigation a.next:after,
.project-navigation a.prev:before, .project-navigation a.prev:after {
	content: '';
	position: absolute;
	top: 12px;
	right: 17px;
	width: 12px;
	height: 2px;
	background-color: #947b61;
	-webkit-transform-style: flat;
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
}

.project-navigation a.next {
	transform: rotate(90deg);
}

.project-navigation a.prev {
	transform: rotate(-90deg);
}

.project-navigation a.next span,
.project-navigation a.prev span {
	display: inline-block;
	position: absolute;
	white-space: nowrap;
	text-align: left;
	right: 45px;
	top:12px;
	color: #222;
	opacity: 0;
	visibility: hidden;
	font-size: 13px;
	font-weight: 500;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}

.project-navigation a.next:hover span,
.project-navigation a.prev:hover span {
	opacity: 1;
	visibility: visible;
	-webkit-transform: translateX(-10px);
	transform: translateX(-10px);
}

.project-navigation a.next span {
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
}

.project-navigation a.next:hover span {
	-webkit-transform: translateX(-10px) rotate(180deg);
	transform: translateX(-10px) rotate(180deg);
}

.project-navigation a:before {
	-webkit-transform: translate3d(1px, 4px, 0px) rotate(-45deg);
	transform: translate3d(1px, 4px, 0px) rotate(-45deg);
}

.project-navigation a:after {
	-webkit-transform: translate3d(8px, 4px, 0px) rotate(45deg);
	transform: translate3d(8px, 4px, 0px) rotate(45deg);
}

.project-navigation a:hover::before {
	-webkit-transform: translate3d(0px, 4px, 0px) rotate(-25deg);
	transform: translate3d(0px, 4px, 0px) rotate(-25deg);
	background-color: #947b61;
}

.project-navigation a:hover::after {
	-webkit-transform: translate3d(9px, 4px, 0px) rotate(25deg);
	transform: translate3d(9px, 4px, 0px) rotate(25deg);
	background-color: #947b61;
}

.project-navigation.is-visible, .to-top.cd-is-visible, .to-top.cd-fade-out, .no-touch .to-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}

.show-down {
	display: block;
	position: absolute;
	bottom: 20px;
	left: calc( 50% - 20px );
	width: 35px;
	height: 35px;
	cursor: pointer;
	z-index: 11;
}

.show-down:before,
.show-down:after {
	content: '';
	position: absolute;
	top: 12px;
	right: 10px;
	width: 22px;
	height: 2px;
	background-color: #947b61;
	-webkit-transform-style: flat;
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
}

.show-down:before {
	-webkit-transform: translate3d(-4px, 4px, 0px) rotate(45deg);
	transform: translate3d(-4px, 4px, 0px) rotate(45deg);
}

.show-down:after {
	-webkit-transform: translate3d(11px, 4px, 0px) rotate(-45deg);
	transform: translate3d(11px, 4px, 0px) rotate(-45deg);
}

.show-down:hover::before {
	-webkit-transform: translate3d(-4px, 8px, 0px) rotate(45deg);
	transform: translate3d(-4px, 8px, 0px) rotate(45deg);
	background-color: #947b61;
}

.show-down:hover::after {
	-webkit-transform: translate3d(11px, 8px, 0px) rotate(-45deg);
	transform: translate3d(11px, 8px, 0px) rotate(-45deg);
	background-color: #947b61;
}

.project-navigation.is-visible {
  visibility: visible;
  opacity: 1;
}

.project-navigation.fade-out {
  opacity: 1;
}

.no-touch .project-navigation a:hover {
  background-color: #222;
  opacity: 1;
}

.project-navigation a.back-to-blog:before {
	content: "\f00a";
	font-family: FontAwesome;
	font-size: 19px;
	width: 38px;
	height: 40px;
	line-height: 40px;
  position: absolute;
	text-align:center;
	color: #947b61;
	background: transparent;
	-webkit-transform: translateX(0) rotate(0deg);
	transform: translateX(0) rotate(0deg);
}

.project-navigation a.back-to-blog:hover::before {
	color: #947b61;
	background: transparent;
}

/* ---------------------------------------- */
/* Blog items */
/* ---------------------------------------- */

.page-template-template-blog-grid3col-php #wrapper,
.page-template-template-blog-grid2col-php #wrapper,
.page-template-template-blog-grid-full-php #wrapper {
	/*padding-top: 100px;*/
}

.page-template-template-portfolio3col-php #wrapper,
.page-template-template-portfolio4col-php #wrapper,
.page-template-template-portfoliofull-php #wrapper {
	/*padding-top: 80px;*/
}

.page-template-template-blog-grid3col-php #page-title,
.page-template-template-blog-grid2col-php #page-title,
.page-template-template-blog-grid-full-php #page-title,
.page-template-template-portfolio3col-php #page-title,
.page-template-template-portfolio4col-php #page-title,
.page-template-template-portfoliofull-php #page-title,
.page-template-default #page-title,
.page-template-template-contact #page-title,
.archive #page-title,
.blog #page-title,
.error404 #page-title,
.search #page-title {
	margin: 0 10px 20px 10px;
}

.page-template-template-portfolio3col-php #page-title,
.page-template-template-portfolio4col-php #page-title,
.page-template-template-portfoliofull-php #page-title {
	padding-bottom: 5px;
}

.page-template-default .container-content,
.page-template-template-contact .container-content,
.archive .container-content,
.blog .container-content,
.error404 .container-content,
.search .container-content {
	/*padding-top: 100px;*/
}

.full-width {
	width: calc(25% - 20px);
	margin: 10px;
}

.full-width-container {
	width: 100%;
	padding: 0 10px;
}

.full-width-container .portfolio_container {
	width: 100%;
}

.container-content.off {
	padding-top: 120px;
}

.page-template-template-portfoliofull-nogap .container-content.off {
	padding-top: 0;
}

.blog-item {
	margin-bottom: 20px;
	/*overflow: hidden;*/
	background-color: transparent;
	display: inline-block;
	-webkit-transition: background-color 0.3s;
	transition: background-color 0.3s;
}

.blog-item:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

.post-stroke {
	padding-bottom: 5px;
}

.type-post h2,
.type-portfolio h2 {
	margin: 25px 0 20px 0;
	position: relative;
	z-index: 2;
}

.blog-item h2 {
	font-weight: 500;
}

.blog-item .post_thumb a {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 15;
}

.blog-item .post_thumb,
.post-date,
.post-stroke,
.post-content {
	overflow: hidden;
	position: relative;
}

.blog-item .thumb,
.quote-background {
	position: relative;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50%;
}

.quote-background {
	background-color: rgba(150, 150, 150, 0.1);
}

.blog-item .post-description {
	padding: 15px 25px;
}

.blog-item .post-description p {
	margin: 0;
	font-size: 1.2em;
	line-height: 1.55em;
}

.blog-item .post-content {
	margin-bottom: 0;
}

.blog-item .post-title {
	padding: 0 25px;
	text-align: center;
	word-wrap: break-word;
}

.blog-item .post-date {
	text-align: center;
	padding: 0 10px;
}

.blog-item .post-date .date-number,
.blog-item .post-date .post-category {
	display: inline-block;
	margin: 0 5px;
	position: relative;
	color: #999;
	font-size: 13px;
	min-height: 13px;
}

.blog-item .post-date .date-number a,
.blog-item .post-date .post-category a {
	color: #999;
	position: relative;
	z-index: 2;
}

.blog-item .post-date .post-category:before {
	content: "";
	position: absolute;
	left: -10px;
	top: -5px;
	height: 25px;
	width: 2px;
	background: rgba(0, 0, 0, 0.2);
}

.blog-item .readmore {
	display: block;
	margin: 0 auto;
	padding: 15px 10px;
	text-align: center;
	position: relative;
	z-index: 2;
	-webkit-transition: background-color 0.3s;
	transition: background-color 0.3s;
}

.blog-item .post-content:before {
	content: '';
	position: absolute;
	bottom: 0;
	left: calc(50% - 50px);
	width:100px;
	height: 2px;
	background-color: #947b61;
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
	-webkit-transform: scale(1);
	transform: scale(1);
}

.blog-item:hover .post-content::before {
	-webkit-transform: scale(0,1);
	transform: scale(0,1);
}

.blog-item .readmore:hover {
	background-color: rgba(0, 0, 0, 0.1);
}

.blog-item:before,
.latest-post-blog:before,
.latest-post-portfolio:before {
	position: absolute;
	content: '';
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	border-top: 2px solid #947b61;
	border-bottom: 2px solid #947b61;
	background: transparent;
	-webkit-transform: scale(0,1);
	transform: scale(0,1);
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
	z-index: 1;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	pointer-events: none;
}

.blog-item:after,
.latest-post-blog:after,
.latest-post-portfolio:after {
	position: absolute;
	content: '';
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	border-right: 2px solid #947b61;
	border-left: 2px solid #947b61;
	background: transparent;
	-webkit-transform: scale(1,0);
	transform: scale(1,0);
	-webkit-transform-origin: 100% 0;
	transform-origin: 100% 0;
	z-index: 1;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	pointer-events: none;
}

.blog-item:hover::before,
.blog-item:hover::after,
.latest-post-blog:hover::before,
.latest-post-blog:hover::after,
.latest-post-portfolio:hover::before,
.latest-post-portfolio:hover::after,
.blog-item.sticky::before, .blog-item.sticky::after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-item.sticky::before, .blog-item.sticky::after {
	border-color: rgba(0, 0, 0, 0.1);
}

.blog-item:hover::after,
.latest-post-blog:hover::after,
.latest-post-portfolio:hover::after { }

.blog-item:hover::before,
.latest-post-blog:hover::before,
.latest-post-portfolio:hover::before { }

/* ------------------------------------------------ */
/* Blog Page */
/* ------------------------------------------------ */

.single-tags {
	display: block;
	padding: 20px 0 0 0;
}

/* ------------------------------------------------ */
/* Buttons */
/* ------------------------------------------------ */

input[type="submit"] {
	padding: 20px 30px;
	display: block;
	border: 0;
	background:#8c8c8c;
	cursor: pointer;
	width: auto;
	font-size:14px;
	text-transform:uppercase;
	overflow: hidden;
	outline: none;
	position: relative;
	color:#fff;
	letter-spacing: 1px;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}

input[type="submit"] {
	float: right;
}

.post-password-form {
	overflow: hidden;
}

.post-password-form input[type="submit"] {
	float: left;
	margin: 15px 0;
}

input[type="submit"]:hover {
	background:#222;
	color:#fff;
}

/* ------------------------------------------------ */
/* Contact & Comment Form */
/* ------------------------------------------------ */

.contact-form,
.comment-form {
	padding:25px 0 35px 0;
}

.search-form {
	padding:25px 0 0 0;
}

.input {
	position: relative;
	float:left;
	margin: 0 0 30px 0;
	vertical-align: top;
	padding: 10px 20px 0 0;
	width: 33.33%;
}

.widget_search .input {
	margin-right: 0;
	padding-right: 0;
}

.search-form input {
	width: 100%;
}

.search-form input.search-submit {
	display:none;
}

.input__field,
.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
	position: relative;
	display: block;
	border: none;
	border-radius: 0;
	-webkit-appearance: none;
	width:100%;
	padding: 15px 10px;
	background: transparent;
	border: 1px solid #ccc !important;
	-webkit-transition: border-color 0.25s;
	transition: border-color 0.25s;
}

p.comment-form-author,
p.comment-form-email,
p.comment-form-url,
p.comment-form-comment,
p.form-submit {
	padding-left:0;
	padding-right:0;
	display:block;
	line-height: 28px;
}

p.comment-form-author,
p.comment-form-email,
p.comment-form-url {
	width:33.333%;
	float:left;
	padding:0 25px 0 0;
	line-height: 28px;
}

p.comment-form-url  {
	padding:0;
}

.comment-form-comment label {
	font-size: 16px;
	line-height: 24px;
	margin: 0;
	padding: 5px 0;
}

.container .comment-notes {
	font-size:14px;
	line-height: 22px;
}

.content-texatrea {
	width: 100%;
	clear:both;
}

.input__field:focus {
	outline: none;
}

.input__label {
	display: inline-block;
	color: #454e53;
	font-weight: bold;
	-webkit-font-smoothing: antialiased;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
	width: 100%;
	position: absolute;
	top: -25px;
	line-height:normal;
	height:25px;
	text-align: left;
	overflow: hidden;
	padding: 0;
	pointer-events: none;
	-webkit-transform: translate3d(0, 3em, 0);
	transform: translate3d(0, 3em, 0);
}

.input__label-content {
	position: relative;
	display: block;
	width: 100%;
	padding: 0 10px;
	color: #454e53;
}

.input__label-content::after {
	content: attr(data-content);
	position: absolute;
	top: -18px;
	left: 0;
	color: #454e53;
	font-weight: bold;
}

.input__field:focus,
.input--filled .input__field,
.comment-form-comment textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
	border:1px solid #333 !important;
	background:#fff;
}

.input__field:focus + .input__label,
.input--filled .input__label {
	-webkit-animation: anim-chisato-1 0.25s forwards;
	animation: anim-chisato-1 0.25s forwards;
}

.input__field:focus + .input__label .input__label-content,
.input--filled .input__label-content {
	-webkit-animation: anim-chisato-2 0.25s forwards ease-in;
	animation: anim-chisato-2 0.25s forwards ease-in;
}

label.error,
.contact-form-error {
	color:#da6484;
	padding:5px 0;
}

.contact-form-success {
	color:green;
}

.contact-form-error {
	color:red;
}

/* ------------------------------------------------ */
/* Related */
/* ------------------------------------------------ */

.related-posts h3 {
	margin: 0 10px;
	text-align: center;
	font-weight: bold;
}

.related-posts {
	padding-top: 95px;
}

/* ------------------------------------------------ */
/* Comments */
/* ------------------------------------------------ */

#comments-title {
	margin-bottom: 35px;
	font-size: 32px;
  font-weight: bold;
  color: #333;
	text-align: center;
}

.comments-inner {
	padding:95px 10% 55px 10%;
}

#comments-title em {
	color:#888;
	font-style: normal;
	font-weight:500;
}

.comments-container,
.comment {
	overflow: hidden;
}

.comment-respond {
	clear:both;
}

.comment-respond a {
	/*color:#333;*/
}

.container .logged-in-as {
	padding-bottom:10px;
	font-size:14px;
	line-height: 22px;
}

.logged-in-as a {
	/*color:#8c8c8c;*/
}

ol.commentlist {
	float:left;
	width:100%;
	margin: 0;
}

ol.commentlist li {
	float:left;
	padding: 35px 0 0 0;
	width:100%;
}

ol.commentlist li:first-child {
	border:none;
	padding: 15px 0 0px 0;
}

ol.commentlist li {
	list-style: none;
}

ol li ul.children{
	margin:0px;
	margin-left:55px;
	position:relative;
}

ol li ul.children:after {
	position:absolute;
	left:28px;
	height:40px;
	width:3px;
	top: 0px;
  /*background-color: #f7f7f7;*/
	background-color:rgba(200, 200, 200, 0.2);
  content: "";
}

ol.commentlist li ul.children li:first-child {
	padding: 25px 0 0 0;
	font-size: 12px;
}

ol.commentlist li ul.children li {
	margin:15px 0 15px 0;
	font-size: 12px;
}

.comments {
	float:left;
	width:100%;
}

.comments-amount {
	color: #888;
}

ol li ol.childlist .comment-text {	}

.avatar {
	float:left;
	width:44px;
	overflow: hidden;
}

.comment-text {
	margin-left:0;
}

.comment-text p {
	padding-right:15px;
}

.container .comment-text p {
	font-size: 15px;
  font-weight: 300;
  line-height: 22px;
}

.depth-2 .comment-text {}

.depth-3 .comment-text {}

.comment-text strong {
	float:left;
	padding-right:5px;
	font-size:12px;
}

.comment-text span {
	float:left;
	color:#888;
}

.comment-author {
	width:100%;
	padding:0;
	color: #222;
	font-size:18px;
	font-weight: 700;
}

.comment-author img {
	width:60px;
	height:60px;
	overflow:hidden;
	position:relative;
	border-radius:50%;
}

.children .comment-author img {
	/*border:3px solid rgba(0,0,0,0.1);*/
}

.comment-author cite {
	display:inline-block;
	padding:0 0 0 20px;
	margin-top:10px;
}

.comment-author .says {
	display:none;
}

.comment-meta {
	padding:5px 0 25px 80px;
	font-size:13px;
}

.comment-meta a:hover {
	color:#222;
}

.comment-content p {
	line-height:22px;
	margin: 15px 0;
}

.comment-content {
	padding:15px 35px 45px 35px;
	background-color:rgba(200, 200, 200, 0.2);
	position:relative;
	font-size: 15px;
	color: #777;
	font-weight: 300;
}

.comment-content:after {
	content: '';
  position: absolute;
  top: -10px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid rgba(200, 200, 200, 0.2);
}

.comment-body {
	position:relative;
}

.comment-body .reply {
	position:absolute;
	bottom:22px;
	left:35px;
}

span.reply {
	display:inline-block;
}

span.date {
	padding:0 40px 0 20px;
	font-style:italic;
	font-size: 13px;
  color: #aaa;
	display:inline-block;
	position:relative;
}

span.date:after {
	position:absolute;
	right:10px;
	height:3px;
	width:20px;
	top: 44%;
  background-color: rgba(0,0,0,0.1);
  content: "";
}

span.date a {
	color: #aaa;
}

span.date a:hover {
	color: #8abeb2;
}

.comment-content-text {
	clear:both;
	padding:15px 0 0 0;
}

.comments-container a.comment-reply-link {
	position:relative;
	font-size:13px;
}

a.comment-reply-link:hover,
.comment-respond a:hover {
  color: #222;
}

a.comment-reply-link:hover::before {
	content: "";
  position: absolute;
  top: 36%;
  left: -10px;
	width:4px;
	height:4px;
	background:#222;
	border-radius:50%;
}

a.comment-reply-link:hover::before,
#cancel-comment-reply-link:hover,
#cancel-comment-reply-link:hover::before {
	color: #222;
}

.comment-reply-title {
	margin-bottom:0;
	padding-top:45px;
	font-size: 20px;
  text-transform: uppercase;
  font-weight: 800;
  color: #333;
}

.comment-form {
	padding: 0 0 25px 0;
	overflow:hidden;
}

#cancel-comment-reply-link {
	text-transform:none;
	margin-left:15px;
	padding-left:20px;
	position:relative;
	color:#8c8c8c;
}

/* ---------------------------------------- */
/* Back to Top */
/* ---------------------------------------- */

.to-top {
	display: inline-block;
	height: 55px;
	width: 55px;
	position: fixed;
	z-index:998;
	bottom: 20px;
	right: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	background: rgba(34, 34, 34, 0.8);
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity .3s 0s, visibility 0s .3s;
	transition: opacity .3s 0s, visibility 0s .3s;
}

.to-top:after,
.to-top:before {
    content: '';
    position: absolute;
    top: 22px;
    right: 26px;
    width: 12px;
    height: 2px;
    background-color: #fff;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    -webkit-transform-style: flat;
    -moz-transform-style: flat;
    -ms-transform-style: flat;
    -o-transform-style: flat;
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
}

.to-top:before {
	-webkit-transform: translate3d(1px, 4px, 0px) rotate(-45deg);
	transform: translate3d(1px, 4px, 0px) rotate(-45deg);
}

.to-top:after {
	-webkit-transform: translate3d(8px, 4px, 0px) rotate(45deg);
	transform: translate3d(8px, 4px, 0px) rotate(45deg);
}

.to-top:hover::before {
	-webkit-transform: translate3d(0px, 4px, 0px) rotate(-25deg);
	transform: translate3d(0px, 4px, 0px) rotate(-25deg);
	background-color: #fff;
}

.to-top:hover::after {
	-webkit-transform: translate3d(9px, 4px, 0px) rotate(25deg);
	transform: translate3d(9px, 4px, 0px) rotate(25deg);
	background-color: #fff;
}

.to-top.cd-is-visible {
  visibility: visible;
  opacity: 1;
}

.to-top.cd-fade-out {
  opacity: .5;
}

.to-top:hover {
  opacity: 1;
}

/* ------------------------------------------------ */
/* 404 */
/* ------------------------------------------------ */

.dummy-column {
	width: calc(33.33% - 20px);
	margin: 15px 10px 10px 10px;
	padding: 0 0 6em;
	float: left;
	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
}

.dummy-content {
	margin-left: -10px;
	margin-right: -10px;
}

.dummy-column ul,
.dummy-column ul li {
	padding:0;
	margin:0;
	list-style:none;
}

.dummy-column h2 {
	font-size: 1.4em;
	text-transform: uppercase;
	font-weight: 800;
	color: #c2c2c2;
	padding: 0.5em 0;
	text-align:center;
	margin-bottom:15px;
}

.dummy-media-object,
.dummy-column .cat-item a {
	padding: 0.5em 0.75em;
	display: block;
	margin: 0.3em 0;
	cursor: pointer;
	background: rgba(118,117,128,0.07);
	-webkit-transition: background-color 0.25s;
	transition: background-color 0.25s;
}

.dummy-column .cat-item a {
	-webkit-transition: color 0.25s;
	transition: color 0.25s;
	padding-left:28px;
	position:relative;
}

.dummy-column .cat-item a:before {
	content: '';
	position: absolute;
	width: 5px;
	height:5px;
	left:15px;
	top:45%;
	border-radius:50%;
	background: rgba(145,145,145,0.7);
}

.dummy-media-object:hover,
.dummy-media-object:focus,
.dummy-column .cat-item a:hover {
	background: rgba(118,117,128,0.1);
}

.dummy-media-object img,
.no-archive-thumb {
	display: inline-block;
	width: 50px;
	height:50px;
	border-radius: 50%;
	border:2px solid transparent;
	overflow:hidden;
	margin: 0 10px 0 0;
	vertical-align: middle;
	opacity:0.65;
	-webkit-transition: opacity 0.25s, border-color 0.25s;
	transition: opacity 0.25s, border-color 0.25s;
}

.no-archive-thumb {
	background:rgba(118,117,128,0.1);
}

.dummy-media-object:hover img,
.dummy-media-object:focus img {
	opacity:1;
	border:2px solid #947b61;
}

.dummy-media-object h3 {
	vertical-align: middle;
	font-size: 0.85em;
	line-height:20px;
	display: inline-block;
	font-weight: 700;
	margin: 0 0 0 0;
	width: calc(100% - 70px);
	/*color: rgba(145,145,145,0.7);*/
	-webkit-transition: color 0.25s;
	transition: color 0.25s;
}

.post-description .morphsearch-404 .dummy-media-object h3 {
	padding:0;
}

.dummy-column ul li a {
	color: rgba(0,0,0,0.7);
	font-weight: 700;
	font-size: 0.85em;
	line-height:20px;
	-webkit-transition: color 0.25s;
	transition: color 0.25s;
}

.search-month a {
	color:rgba(145,145,145,0.7);
	font-size:12px;
	-webkit-transition: color 0.25s;
	transition: color 0.25s;
}

.search-comment {
	font-size: 13px;
	line-height:18px;
	font-weight: 500;
	margin-left:60px;
	color: rgba(0,0,0,0.65);
}

.search-comment span {
	display:inline-block;
	margin-right:5px;
	font-size: 15px;
	-webkit-transition: color 0.25s;
	transition: color 0.25s;
}

.dummy-media-object:hover h3,
.dummy-media-object:hover .search-comment span,
.search-month a:hover,
.dummy-column .cat-item a:hover {
	color: #333;
}


/* ------------------------------------------------ */
/* Footer */
/* ------------------------------------------------ */

#footer {
	padding: 50px 0;
	margin-top: 55px;
	color:#999;
}

.footer-widget {
	min-height: 10px;
	font-size: 14px;
	line-height: 18px;
}

.footer_copyright {
	text-align: center;
	font-size: 90%;
}

.footer_copyright select,
.footer_copyright img {
	text-align: center;
	margin: 0 auto;
}

.footer-widget .widget,
.footer_copyright .widget {
	padding: 15px 0;
}

.footer-widget .widget-title,
.footer_copyright .widget-title {
	margin-bottom: 20px;
}

/* ------------------------------------------------ */
/* Footer Menu */
/* ------------------------------------------------ */

.widget_nav_menu ul li, .widget_nav_menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget_nav_menu ul {
	text-align: center;
}

.widget_nav_menu ul li {
  display: inline;
  margin: 5px 10px;
  line-height: 28px;
}

.widget_nav_menu ul li a {
  font-size: 13px;
  text-transform: uppercase;
}

.widget_nav_menu ul li ul {
  display: none;
}

/* ------------------------------------------------ */
/* Sidebar Widgets */
/* ------------------------------------------------ */

.blog-sidebar .widget-title {
	font-size: 1.15em;
	text-transform: uppercase;
	font-weight: 800;
	color: #999;
	margin: 0 0 20px 0;
	text-align: left;
}

.blog-sidebar .widget {
	padding: 0 0 40px 0;
}

.blog-sidebar .widget li {
	padding: 3px 0;
	color: #999;
	font-size: 0.9em;
}

.columns .widget li a:hover,
.column .widget li a:hover {
	color: #999;
}

/* ------------------------------------------------ */
/* Contacts Map */
/* ------------------------------------------------ */

.map-sidebar {
	/*height: 100vh;*/
	margin-bottom: 25px;
}

.google-map {
	/*margin-top: 105px;*/
  width: 100%;
  height: 100vh;
}

.google-map.map_height100 {
	height: calc(100vh - 105px);
}

.google-map.map_height50 {
	height: 50vh;
}

.google-map.map_height30 {
	height: 30vh;
}

.google-map.map_height300 {
	height:300px;
}

.blog-sidebar .google-map {
	margin-top: 0;
}

/* ------------------------------------------------ */
/* CF 7 */
/* ------------------------------------------------ */

.wpcf7-text,
.wpcf7-textarea {
	width:100%;
}

.container .wpcf7-form p {
	font-size:14px;
}

.wpcf7-form p {
	margin: 0 0 24px 0;
}

.header-contacts input[type="text"],
.header-contacts input[type="password"],
.header-contacts input[type="email"],
.header-contacts textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="password"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
	font-size:16px;
	padding: 15px 10px;
	background:rgba(255,255,255,0.76);
	border: 1px solid #ccc !important;
	-webkit-transition: background 0.2s ease-in-out, border-color 0.25s;
	transition: background 0.2s ease-in-out, border-color 0.25s;
}

.header-contacts input[type="text"]:focus,
.header-contacts input[type="password"]:focus,
.header-contacts input[type="email"]:focus,
.header-contacts textarea:focus,
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="password"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
	border:1px solid #333 !important;
	background:#fff;
}

.type-page .wpcf7-form {
	padding:35px 60px 80px 60px;
}

.wpcf7-not-valid-tip,
.wpcf7-validation-errors {
	position:absolute;
	font-size:14px;
	font-weight:300;
}

.wpcf7-not-valid-tip {
	top:0;
	width:400px;
	display: none !important;
}

.wpcf7 input[type="text"].wpcf7-not-valid, .wpcf7 input[type="email"].wpcf7-not-valid {
	background: #947b61;
	color: #fff;
}

div.wpcf7-validation-errors {
	border-color: #947b61;
}

div.wpcf7-response-output {
  margin: 0;
}

/* ------------------------------------------------ */
/* Author Bio */
/* ------------------------------------------------ */

.author-info {
	margin:55px 0 0 0;
	padding:35px 35px 0 35px;
	border: 2px solid rgba(0, 0, 0, 0.1);
	position: relative;
}

.author-avatar {
	float:left;
	width:96px;
	height:96px;
	border:2px solid transparent;
	overflow:hidden;
	border-radius: 50%;
	-webkit-transition: border-color 0.35s;
	transition: border-color 0.35s;
}

.widget .author-avatar {
	margin-right:25px;
}

.author-avatar:hover {
	border-color:#947b61;
}

.author-avatar img {
	height: auto;
  width: 100%;
}

.author-description {
	margin-left:130px;
}

.blog-sidebar .author-description {
	margin-left:0;
}

.author-description h3,
.description h3 {
	margin:0 0 15px 0;
	font-size: 1.75em;
  line-height: 26px;
	text-align: left;
}

.description h3 {
	font-size: 19px;
}

.container p.author-bio {
	font-size: 15px;
	line-height:24px;
}

.container .widget p.author-bio {
	margin:0;
}

a.author-link {
	display:block;
	padding-top:15px;
	position:relative;
	font-size: 14px;
}

a.author-link:hover {
	/*color:#222;*/
}

a.author-link:hover::before {
	content: "";
  position: absolute;
  bottom: 26%;
  left: -10px;
	width:4px;
	height:4px;
	background:#222;
	border-radius:50%;
}

.author-social {
	padding:0 0 15px 0;
}

.post-share a,
.author-social a {
	border-radius:50%;
	width:40px;
	height:40px;
	font-size:18px;
	text-align:center;
	line-height:40px;
	margin-left:5px;
	-webkit-transition: background-color 0.35s, color 0.35s;
	transition: background-color 0.35s, color 0.35s;
}

.author-social a {
	width:30px;
	height:30px;
	line-height:30px;
	font-size:14px;
	margin-left:0px;
	background-color:#f0f0f0;
}

.post-share a:hover,
.widget .author-social a:hover {
	background-color:#947b61;
	color:#fff;
}

/* ------------------------------------------------ */
/* Post Meta */
/* ------------------------------------------------ */

.post-footer {
	width:100%;
	border-top:2px solid rgba(0,0,0,0.1);
	padding:10px 0 45px 0;
	margin-top:15px;
	position:relative;
	overflow:hidden;
}

.post-footer {
	font-weight:600;
}

.post-footer a {
	font-weight:300;
}

.post-share {
	float:right;
}

.post-footer .cats,
.post-footer .single-tags {
	display:inline-block;
}

.post-footer .cats strong,
.post-footer .single-tags strong {
	font-weight: 300;
}

.post-footer .cats {
	padding:15px 0 0 0;
	position:relative;
}

.single-tags {
	padding:15px 0 0 20px;
	position:relative;
}

/* ------------------------------------------------ */
/* Social Widget */
/* ------------------------------------------------ */

.widget-themeworm_social,
.widget-themeworm_social_menu,
.social_menu_widget {
	text-align: center;
}

.social_menu_widget {
	display: inline-flex;
	overflow: hidden;
	margin: 0 auto;
}

.social_menu_widget span {
	display: none;
	visibility: hidden;
}

.social_menu_widget a {
	position: relative;
	float: left;
}

.widget-themeworm_social a,
.social_menu_widget a {
	display: inline-block;
	width: 40px;
	height: 40px;
	margin: 0 8px 8px 0;
	background-color: rgba(0,0,0,0.1);
	border-radius: 50%;
	line-height: 40px;
	font-size: 18px;
	text-align: center;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.footer-widget .widget-themeworm_social a,
.header-contacts .widget-themeworm_social a,
.footer-widget .social_menu_widget a,
.header-contacts .social_menu_widget a {
	background-color: rgba(255,255,255,1);
}

.header-contacts .widget-themeworm_social a,
.header-contacts .social_menu_widget a {
	color:rgba(0,0,0,0.6);
}

.widget-themeworm_social a:hover,
.column .footer-widget .widget-themeworm_social a:hover,
.social_menu_widget a:hover,
.column .footer-widget .social_menu_widget a:hover {
	background-color: #947b61;
	color: #fff;
}

.header-contacts .widget-themeworm_social,
.header-contacts .social_menu_widget {
  text-align: left;
}

.social_menu_widget a img,
.social_menu_widget a svg {
	position: absolute;
	left: 0;
}

.social_menu_widget a::before {
	font-family: "FontAwesome";
	content: '';
	position: absolute;
	left:0;
	width: 40px;
	height: 40px;
	line-height: 40px;
	overflow: hidden;
}

.social_menu_widget a[href*="facebook.com"]::before {
	content: '\f09a';
}

.social_menu_widget a[href*="twitter.com"]::before {
	content: '\f099';
}

.social_menu_widget a[href*="skype.com"]::before {
	content: '\f17e';
}

.social_menu_widget a[href*="instagram"]::before {
	content: '\f16d';
}

.social_menu_widget a[href*="wa.me"]::before {
	content: '\f232';
}

.social_menu_widget a[href*="youtube"]::before {
	content: '\f16a';
}

.social_menu_widget a[href*="vimeo"]::before {
	content: '\f27d';
}

.social_menu_widget a[href*="dribbble"]::before {
	content: '\f17d';
}

.social_menu_widget a[href*="behance"]::before {
	content: '\f1b4';
}

.social_menu_widget a[href*="flickr"]::before {
	content: '\f16e';
}

.social_menu_widget a[href*="dropbox"]::before {
	content: '\f16b';
}

.social_menu_widget a[href*="google"]::before {
	content: '\f0d5';
}

.social_menu_widget a[href*="pinterest"]::before {
	content: '\f231';
}

.social_menu_widget a[href*="soundcloud"]::before {
	content: '\f1be';
}

.social_menu_widget a[href*="github"]::before {
	content: '\f1d3';
}

.social_menu_widget a[href*="linkedin"]::before {
	content: '\f0e1';
}

.social_menu_widget a[href*="xing"]::before {
	content: '\f168';
	overflow: visible;
}

/* ------------------------------------------------ */
/* Search Widget */
/* ------------------------------------------------ */

.widget_search {
	overflow: hidden;
}

.widget_search .search-form,
.widget_search .input {
	padding: 0;
}

/* ------------------------------------------------ */
/* Latest Blog posts */
/* ------------------------------------------------ */

.latest-post-blog {
	position: relative;
	overflow: hidden;
	margin: 0 0 20px 0;
}

.latest-post-blog h6 {
	position: absolute;
	top: 50%;
	left: 10px;
	right: 10px;
	text-align: center;
	line-height: normal;
	opacity: 1;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.blog-sidebar .widget li.latest-post-blog {
	padding: 0;
}

.latest-post-blog img {
	opacity: 0.2;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.latest-post-blog:hover img {
	opacity: 1;
}

.latest-post-blog:hover h6 {
	opacity: 0.3;
}

/* ------------------------------------------------ */
/* Latest Portfolio */
/* ------------------------------------------------ */

.latest-post-portfolio {
	position: relative;
	overflow: hidden;
	margin: 0 0 20px 0;
}

.blog-sidebar .widget li.latest-post-portfolio {
	padding: 0;
}

.latest-post-portfolio h6 {
	position: absolute;
	top: 50%;
	left: 10px;
	right: 10px;
	text-align: center;
	line-height: normal;
	color: #333;
	font-weight: 500;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.latest-post-portfolio img {
	opacity: 1;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.latest-post-portfolio:hover img {
	opacity: 0.2;
}

.latest-post-portfolio h6 a {
	opacity: 0;
	color: #333;
	-webkit-transform: translateY(-10px);
  transform: translateY(-10px);
	-webkit-transition: .3s cubic-bezier(.215, .61, .355, 1) 0s;
	transition: .3s cubic-bezier(.215, .61, .355, 1) 0s;
}

.latest-post-portfolio:hover h6 a {
	opacity: 1;
	-webkit-transform: translateY(0);
	transform: translateY(0);
	-webkit-transition-delay: 0.2s;
	transition-delay: 0.2s;
}

/* ---------------------------------------- */
/* Contacts Widget */
/* ---------------------------------------- */

.contacts_text {
	padding:25px;
	margin-bottom: 20px;
	color:#5e696f;
	line-height:20px;
	font-size:14px;
	font-weight:300;
	background: rgba(200, 200, 200, 0.2);
}

.footer-widget .contacts_text {
	color:#fff;
}

.contacts_address,
.contacts_email,
.contacts_phone {
	padding: 0px 0 25px 45px;
	position:relative;
	color:#5e696f;
	font-size:16px;
	font-weight:200;
}

.footer-widget .contacts_address,
.footer-widget .contacts_email,
.footer-widget .contacts_phone,
.footer-widget .contacts_email a,
.footer-widget .contacts_address,
.footer-widget .contacts_email,
.footer-widget .contacts_phone,
.footer-widget .contacts_email a {
	color:#fff;
}

.contacts_email a {
	color:#5e696f;
}

#footer .contacts_email a:hover,
.contacts_address:hover::before,
.contacts_email:hover::before,
.contacts_phone:hover::before,
.copyright a:hover {
	opacity:1;
}

.contacts_address:before,
.contacts_email:before,
.contacts_phone:before {
	position:absolute;
	top:0px;
	left:10px;
	width:20px;
	height:20px;
	font-family: "FontAwesome";
	font-size:18px;
	text-align:center;
	opacity:0.6;
}

.contacts_address:before {
	content:"\f041";
}

.contacts_email:before {
	content:"\f0e0";
}

.contacts_phone:before {
	content:"\f095";
}

.footer-widget .textwidget strong,
.footer-widget .textwidget a,
.header-contacts .textwidget strong,
.header-contacts .textwidget a {
	color:#fff;
}

/* ---------------------------------------- */
/* Calendar widget */
/* ---------------------------------------- */

.widget_calendar {
}

#wp-calendar {
	width: 100%;
}

#wp-calendar caption {
	text-align: center;
	font-size: 12px;
	margin-top: 10px;
	margin-bottom: 15px;
}

#wp-calendar thead {
	font-size: 10px;
}

#wp-calendar thead th {
	padding-bottom: 10px;
}

#wp-calendar tbody {}

#wp-calendar tbody td {
	text-align: center; padding:6px;
}

#wp-calendar tbody td:hover { }

#wp-calendar tbody .pad {
	background: none;
}

#wp-calendar tfoot #next {
	font-size: 10px;
	text-transform: uppercase;
	text-align: right;
}

#wp-calendar tfoot #prev {
	font-size: 10px;
	text-transform: uppercase;
	padding-top: 10px;
}

/* ---------------------------------------- */
/* RSS widget */
/* ---------------------------------------- */

.widget_rss .rsswidget img {
	margin-top: -0.3em;
}

.widget_rss .rss-date,
.widget_rss cite {
	color: #686868;
	display: block;
	font-size: 13px;
	font-size: 0.8rem;
	font-style: normal;
	line-height: 1.6;
	margin-bottom: 0.53em;
}

.widget_rss .rssSummary:last-child {
	margin-bottom: 2.1em;
}

.widget_rss li:last-child :last-child {
	margin-bottom: 0;
}

/* ---------------------------------------- */
/* Tag widget */
/* ---------------------------------------- */

.tagcloud a {
	border: 1px solid #d1d1d1;
	display: inline-block;
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	line-height: 1;
	margin: 0 0.1875em 0.4375em 0;
	padding: 0.5625em 0.4375em 0.5em;
}

.tagcloud a:hover,
.tagcloud a:focus {
	border-color: #999;
	color: #999;
	outline: 0;
}

/* ---------------------------------------- */
/* Global clearing */
/* ---------------------------------------- */

.nopadding,
.page-template-template-contact .container-content.nopadding {
	padding: 0;
}

/* ------------------------------------------------ */
/* Higher than 1600 (desktop devices) */
/* ------------------------------------------------ */

@media only screen and (min-width: 1900px) {

	.full-width.portfolio-item {
		height: 440px;
	}

	.full-width.portfolio-item.size-1x2 {
		height: 900px;
	}

	.full-width.portfolio-item.size-2x1 {
		height: 440px;
	}

	.full-width.portfolio-item.size-2x2 {
		height: 900px;
	}

	.full-width.portfolio-item.size-3x1 {
		height: 440px;
	}

	.full-width.portfolio-item.size-3x3 {
		height: 1360px;
	}

}

/* ------------------------------------------------ */
/* Higher than 1600 (desktop devices) */
/* ------------------------------------------------ */

@media only screen and (min-width: 1600px) {

	.full-width.portfolio-item {
		height: 380px;
	}

	.full-width.portfolio-item.size-1x2 {
		height: 780px;
	}

	.full-width.portfolio-item.size-2x1 {
		height: 380px;
	}

	.full-width.portfolio-item.size-2x2 {
		height: 780px;
	}

	.full-width.portfolio-item.size-3x1 {
		height: 380px;
	}

	.full-width.portfolio-item.size-3x3 {
		height: 1180px;
	}

}

/* ------------------------------------------------ */
/* Higher than 960 (desktop devices) */
/* ------------------------------------------------ */
@media only screen and (min-width: 960px) and (max-width: 1199px) {

	.shortcode-gallery .shortcode-gallery-inner,
	.self-container-inner {
		width:820px;
	}

	.full-width {
		width:calc(33.33% - 20px)
	}

	.full-item {
		width:25%;
	}

	.video-cont, .fluid-width-video-wrapper {
		height: 100vh;
	}

	ol li ul.children {
		margin-left: 30px;
	}

	.author-social {
		clear: both;
		padding: 15px 0;
	}

	/* Full Width */

	.full-width.portfolio-item {
		height: 240px;
	}

	.full-width.portfolio-item.size-1x2 {
		height: 500px;
	}

	.full-width.portfolio-item.size-2x1 {
		height: 240px;
	}

	.full-width.portfolio-item.size-2x2 {
		height: 500px;
	}

	.full-width.portfolio-item.size-3x1 {
		height: 240px;
	}

	.full-width.portfolio-item.size-3x3 {
		height: 760px;
	}

	/* 4 columns */

	.four.columns.portfolio-item {
		height: 220px;
	}

	.container .four.columns.portfolio-item.size-1x2 {
		width: 220px;
		height: 460px;
	}

	.container .four.columns.portfolio-item.size-2x1 {
		width: 460px;
		height: 220px;
	}

	.container .four.columns.portfolio-item.size-2x2 {
		width: 460px;
		height: 460px;
	}

	.container .four.columns.portfolio-item.size-3x1 {
		width: 700px;
		height: 220px;
	}

	.container .four.columns.portfolio-item.size-3x3 {
		width: 700px;
		height: 700px;
	}

	/* 3 columns */

	.one-third.column.portfolio-item {
		height: 300px;
	}

	.container .one-third.column.portfolio-item.size-1x1 {
		width: 300px;
		height: 300px;
	}

	.container .one-third.column.portfolio-item.size-1x2 {
		width: 300px;
		height: 620px;
	}

	.container .one-third.column.portfolio-item.size-2x1 {
		width: 620px;
		height: 300px;
	}

	.container .one-third.column.portfolio-item.size-2x2 {
		width: 620px;
		height: 620px;
	}

	.container .one-third.column.portfolio-item.size-3x1 {
		width: 940px;
		height: 300px;
	}

	.container .one-third.column.portfolio-item.size-3x3 {
		width: 940px;
		height: 900px;
	}

}

/* ------------------------------------------------ */
/* Menu (devices and browsers) */
/* ------------------------------------------------ */
@media only screen and (max-width: 959px) {

	.mfp-caption p {
    font-size: 12px;
		line-height: normal;
	}

	#site-navigation {
		/*position: absolute;*/
	}

	.full-width-video.portfolio-item,
	.full-width-nogap.portfolio-item {
		width: 100%;
	}

	#social-trigger {
		position: absolute;
	}

	.portfolio-text, .container .twelve.columns.offset-by-right,
	.blog-sidebar, .type-page .wpcf7-form {
		padding: 0 20px;
	}

	.blog-sidebar {
		padding-top: 65px;
	}

	.portfolio_sizer {
		width: 33.33%;
	}

	.load-more, #next-posts {
		margin: 10px 0 20px 0;
	}

	.portfolio-text {
		padding-bottom: 0;
	}

	.menu-dropdown {
		display: block;
	}

	.top-navigation {
		/*height: auto;*/
	}

	#site-navigation .sixteen.columns {
		padding: 0 20px;
	}

	#site-navigation.full-navigation .sixteen.columns {
		padding: 0 10px;
	}

	#site-navigation:hover {
		background: transparent;
	}

	#navigation .nav-menu {
		display: none;
		z-index: 999;
		position: absolute;
		top: 30px;
		right:-10px;
		width: 300px;
		padding: 15px 0 5px 0;
		background:rgba(45,45,45, 1);
		text-align:center;
	}

	.accordeon_dropdown #navigation .nav-menu ul.sub-menu {
		display: none;
	}

	li.menu-item-has-children {
	  background: rgba(55,55,55, 1);
	}

	ul ul li.menu-item-has-children {
	  background: rgba(75,75,75, 1);
	}

	.accordeon_dropdown .menu-item-has-children > a:after {
		content: '\f067';
		font-family: 'FontAwesome';
		position: absolute;
		font-size: 11px;
		left: 20px;
	}

	#navigation .nav-menu.toggled-on,
	.accordeon_dropdown #navigation .nav-menu ul.sub-menu.toggled-on {
		display: block;
	}

	#navigation ul li a, #navigation ul li ul li a, #navigation ul li ul li ul li a {
		display: block;
		padding: 12px 0;
		margin:0;
		color:rgba(255, 255, 255, 0.85);
		/*font-weight: 500;*/
		font-size:16px;
		border: none;
	}

	#navigation ul li ul li a, #navigation ul li ul li ul li a {
		padding: 9px 0;
		color:rgba(255, 255, 255, 0.55);
		font-size:14px;
	}

	#navigation ul li a:hover,
	.top-navigation li a:hover,
	#site-navigation.scaled .top-navigation li a:hover {
		color:#947b61;
		border: none;
	}

	#navigation ul li,
	.top-navigation li {
		float: none;
		margin: 0;
		display: block;
		position: relative;
	}

	#navigation ul li ul {
		position: static;
		display:block;
		left: 0;
		text-align:center;
		padding: 0;
		background:transparent;
		width:100% !important;
		transform: translateX(0);
		opacity: 1;
		visibility: visible;
	}

	#navigation ul.sub-menu {
		background: rgba(255, 255, 255, 0.06);
	}

	#navigation ul li:before,
	#navigation ul li a:before,
	#navigation ul li ul:before,
	#navigation ul li ul li ul:before,
	#navigation ul li ul a:before,
	#navigation ul li ul li:before,
	#navigation ul li ul li ul:before,
	#navigation ul li ul li a::before,
	#navigation ul li ul li.menu-item-has-children > a:after {
		display: none;
	}

	#navigation ul li ul li {
		margin: 0;
		padding: 0;
		float:none;
	}

	#navigation ul li ul li ul {
		top:0;
		background:none;
		position:relative;
	}

	#navigation ul li ul li:hover > ul {
		left: 0;
	}

	#social-wrapper {
		position: relative;
	}

	.header-contacts {
		padding: 25px 20px;
	}

	.recent-title {
		margin: 0 10px;
	}

	.intro-effect-fadeout .page-title {
		max-width: 100%;
		padding: 0 20px;
	}

	.container .twelve.columns.offset-by-right {
		padding: 0 10px;
	}

	.container .portfolio-text .portfolio-excerpt.right-side2 p {
		margin-left: 10%;
	}

	#footer {
		margin-top: 0;
	}

}

/* ------------------------------------------------ */
/* Tablet Portrait (devices and browsers) */
/* ------------------------------------------------ */
@media only screen and (min-width: 768px) and (max-width: 959px) {

	.portfolio-title {
		padding: 0px 30px;
	}

	.shortcode-gallery .shortcode-gallery-inner,
	.self-container-inner {
		/*width:768px;*/
		/* width:100vw; */
		width:auto;
	}

	.container .column.blog-item,
	.container .columns.blog-item {
		margin: 10px 0;
	}

	.portfolio-text, .container .twelve.columns.offset-by-right,
	.blog-sidebar, .type-page .wpcf7-form, .container .offset-by-one,
	.container .columns.blog-nosidebar {
		padding: 0 20px;
	}

	.blog-sidebar {
		padding-top: 65px;
	}

	.related-posts {
		padding: 40px 0;
	}

	ol li ul.children {
		margin-left: 25px;
	}

	.intro-effect-fadeout .container .columns.blog-nosidebar.portfolio-text {
    margin-top: -200px;
	}

	.page-title h1, #page-title h1,
	.page .no-effects .page-title h1, .archive .no-effects .page-title h1, .page .no-effects #page-title h1, .archive .no-effects #page-title h1, .error404 .no-effects #page-title h1 {
		padding-left: 20px;
		padding-right: 20px;
	}

	.page-template-template-blog-grid3col-php #page-title, .page-template-template-blog-grid2col-php #page-title, .page-template-template-blog-grid-full-php #page-title, .page-template-template-portfolio3col-php #page-title, .page-template-template-portfolio4col-php #page-title, .page-template-template-portfoliofull-php #page-title, .page-template-default #page-title, .archive #page-title, .blog #page-title, .error404 #page-title, .search #page-title, .intro-effect-fadeout.modify .portfolio-header div.subline:nth-child(2), .intro-effect-fadeout.modify .portfolio-header div.subline:nth-child(3), .page-title div.subline, #page-title div.subline {
		margin: 0 20px;
	}

	.container .portfolio-text .portfolio-excerpt.right-side1 p, .container .portfolio-text .portfolio-excerpt.center-side1 p, .container .portfolio-text .portfolio-excerpt.left-side1 p,
	.container .portfolio-text .portfolio-excerpt.right-side2 p, .author-description,
	.intro-effect-fadeout.lefthand .page-title h1 {
    margin-left: 0;
	}

	.intro-effect-fadeout.righthand .page-title h1, .container .portfolio-text .portfolio-excerpt.left-side2 p,
	.container .portfolio-text .portfolio-excerpt.left-side1 p,
	.intro-effect-fadeout.righthand .page-title h1 {
		margin-right: 0;
	}

	.page-template-default #page-title {
		margin: 0;
	}

	.video-cont, .fluid-width-video-wrapper {
		height: 100vh;
	}

	/* Full Widths */

	.portfolio_sizer {
		width: 25%;
	}

	.full-width {
		width:calc(50% - 20px)
	}

	.full-item {
		width:33.3333%;
	}

	.full-width.portfolio-item {
		height: 180px;
	}

	.full-width.portfolio-item.size-1x2 {
		height: 380px;
	}

	.full-width.portfolio-item.size-2x1 {
		height: 180px;
	}

	.full-width.portfolio-item.size-2x2 {
		height: 380px;
	}

	.full-width.portfolio-item.size-3x1 {
		height: 180px;
	}

	.full-width.portfolio-item.size-3x3 {
		height: 580px;
	}

	/* 4 columns */

	.container .four.columns.portfolio-item {
		height: 220px;
		margin-left: 10px;
		margin-right: 10px;
		margin-bottom: 20px;
		display: block;
	}

	.container .four.columns.portfolio-item.size-1x1 {
		width: calc(25% - 20px);
		height: 180px;
	}

	.container .four.columns.portfolio-item.size-1x2 {
		width: calc(25% - 20px);;
		height: 380px;
	}

	.container .four.columns.portfolio-item.size-2x1 {
		width: calc(50% - 20px);;
		height: 180px;
	}

	.container .four.columns.portfolio-item.size-2x2 {
		width: calc(50% - 20px);;
		height: 380px;
	}

	.container .four.columns.portfolio-item.size-3x1 {
		width: calc(75% - 20px);;
		height: 180px;
	}

	.container .four.columns.portfolio-item.size-3x3 {
		width: calc(75% - 20px);;
		height: 580px;
	}

	/* 3 columns */

	.one-third.column.portfolio-item {
		height: 230px;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 20px;
		width: 100%
		display: block;
	}

	.container .one-third.column.portfolio-item.size-1x1 {
		width: 236px;
		height: 230px;
	}

	.container .one-third.column.portfolio-item.size-1x2 {
		width: 236px;
		height: 480px;
	}

	.container .one-third.column.portfolio-item.size-2x1 {
		width: 492px;
		height: 230px;
	}

	.container .one-third.column.portfolio-item.size-2x2 {
		width: 492px;
		height: 480px;
	}

	.container .one-third.column.portfolio-item.size-3x1 {
		width: 748px;
		height: 230px;
	}

	.container .one-third.column.portfolio-item.size-3x3 {
		width: 748px;
		height: 740px;
	}

}

/* ------------------------------------------------ */
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
/* ------------------------------------------------ */
@media only screen and (min-width: 480px) and (max-width: 767px) {

	.shortcode-gallery .shortcode-gallery-inner,
	.self-container-inner {
		/* width:100vw; */
		width:auto;
	}

	.builder-withheader {
		margin-bottom: 160px;
	}

	.height-half .portfolio-header {
		height: 90vh;
	}

	.author-avatar {
    margin-right: 20px;
	}

	.container .portfolio-text p, .portfolio-text, .builder_p {
		line-height: 1.65em;
	}

	.double-column {
		column-gap: 30px;
	}

	.comments-inner {
    padding: 35px 60px 55px 60px;
	}

	ol li ul.children {
		margin-left: 20px;
	}

	.project-navigation.fade-out {
		opacity: .5;
	}

	.project-navigation.fade-out:hover {
		opacity: 1;
	}

	.intro-effect-fadeout.righthand .page-title h1 {
		margin-right: 0;
	}

	.intro-effect-fadeout.lefthand .page-title h1 {
		margin-left: 0;
	}

	.intro-effect-fadeout .container .columns.blog-nosidebar.portfolio-text,
	.intro-effect-fadeout .content.under, .intro-effect-fadeout .homepage {
		margin-top: -80px;
	}

	.page-template-template-blog-grid3col-php #page-title, .page-template-template-blog-grid2col-php #page-title, .page-template-template-blog-grid-full-php #page-title, .page-template-template-portfolio3col-php #page-title, .page-template-template-portfolio4col-php #page-title, .page-template-template-portfoliofull-php #page-title, .page-template-default #page-title, .archive #page-title, .blog #page-title, .error404 #page-title, .search #page-title, #page-title.title-left, .title-left, .intro-effect-fadeout .page-title.title-left,
	.intro-effect-fadeout.modify .portfolio-header div.subline:nth-child(2), .intro-effect-fadeout.modify .portfolio-header div.subline:nth-child(3), .page-title div.subline, #page-title div.subline {
		margin: 0 20px;
	}

	.page-template-default #page-title div.subline {
    margin: 0;
	}

	.container .portfolio-text .portfolio-excerpt.right-side1 p, .container .portfolio-text .portfolio-excerpt.center-side1 p, .container .portfolio-text .portfolio-excerpt.left-side1 p,
	.container .portfolio-text .portfolio-excerpt.right-side2 p, .author-description,
	.intro-effect-fadeout.lefthand .page-title h1 {
    margin-left: 0;
	}

	.intro-effect-fadeout.righthand .page-title h1, .container .portfolio-text .portfolio-excerpt.left-side2 p,
	.container .portfolio-text .portfolio-excerpt.left-side1 p {
		margin-right: 0;
	}

	.container .twelve.columns.offset-by-right,
	.blog-sidebar, .container .offset-by-one,
	.container .columns.blog-nosidebar,
	.builder_p {
		padding: 0 20px;
	}

	.page-title h1, #page-title h1 {
		font-size: 2.5em;
	}

	.page-title div.subline {
		font-size: 1.25em;
	}

	.page-title div.subline.posted {
		font-size: 1em;
	}

	.portfolio-title {
		padding: 0px 60px;
	}

	.related-posts,
	.dummy-content {
		padding: 0 60px;
	}

	.container .column.blog-item,
	.container .columns.blog-item {
		margin: 10px 0;
	}

	.full-width,
	.dummy-column {
		width:calc(100% - 20px)
	}

	.dummy-column {
		padding: 0;
		margin: 35px 10px;
	}

	.portfolio_sizer {
		width: 25%;
	}

	.video-cont, .fluid-width-video-wrapper {
		height: 100vh;
	}

	/* Full columns */

	.full-item,
	.full-item-recent {
		width:100%;
		margin:0;
	}

	.third-masonry, .four-masonry {
		width:100%;
		padding: 0;
	}

	.full-width.portfolio-item {
		height: 280px;
	}

	.full-width.portfolio-item.size-1x1 {
		width: calc(50% - 20px);
	}

	.full-width.portfolio-item.size-1x2 {
		width: calc(50% - 20px);
		height: 580px;
	}

	.full-width.portfolio-item.size-2x1,
	.full-width.portfolio-item.size-3x1 {
		width: calc(100% - 20px);
		height: 280px;
	}

	.full-width.portfolio-item.size-2x2,
	.full-width.portfolio-item.size-3x3 {
		width: calc(100% - 20px);
		height: 580px;
	}

	/* 4 & 3 columns */

	.container .four.columns.portfolio-item,
	.container .one-third.column.portfolio-item {
		height: 220px;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 20px;
	}

	.container .four.columns.portfolio-item.size-1x1,
	.container .one-third.column.portfolio-item.size-1x1 {
		width: calc(50% - 20px);
		height: 220px;
	}

	.container .four.columns.portfolio-item.size-1x2,
	.container .one-third.column.portfolio-item.size-1x2 {
		width: calc(50% - 20px);
		height: 460px;
	}

	.container .four.columns.portfolio-item.size-2x1,
	.container .four.columns.portfolio-item.size-3x1,
	.container .one-third.column.portfolio-item.size-2x1,
	.container .one-third.column.portfolio-item.size-3x1 {
		width: calc(100% - 20px);
		height: 220px;
	}

	.container .four.columns.portfolio-item.size-2x2,
	.container .four.columns.portfolio-item.size-3x3,
	.container .one-third.column.portfolio-item.size-2x2,
	.container .one-third.column.portfolio-item.size-3x3 {
		width: calc(100% - 20px);
		height: 460px;
	}

}

/* ------------------------------------------------ */
/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
/* ------------------------------------------------ */
@media only screen and (max-width: 479px) {

	.shortcode-gallery .shortcode-gallery-inner,
	.self-container-inner {
		/*width:100vw;*/
		width: auto;
	}

	.builder-withheader {
		margin-bottom: 180px;
	}

	.builder-noheader {
		margin-bottom: 20px;
	}

	.height-half .portfolio-header {
		height: 60vh;
	}

	.container .portfolio-text p, .portfolio-text, .builder_p {
		line-height: 1.65em;
	}

	.comments-inner {
		padding: 35px 25px 55px 25px;
	}

	ol li ul.children {
		margin-left: 10px;
	}

	.comments-inner h2 {
		margin-top: 25px;
	}

	.author-avatar {
		margin-right: 20px;
	}

	.page-title h1, #page-title h1 {
		font-size: 2em;
	}

	.page-title div.subline {
		font-size: 1.25em;
	}

	.page-title div.subline.posted {
		font-size: 1em;
	}

	#filter {
		/*position: relative;
		top: 0;*/
		right: 0;
		width: 100%;
		text-align: center;
		margin-bottom: 20px;
	}

	.portfolio-wrapper {
		margin-top: 60px;
	}

	p.comment-form-author, p.comment-form-email, p.comment-form-url {
		width: 100%;
		padding: 0;
	}

	.intro-effect-fadeout.righthand .page-title {
		/*text-align: center;*/
		right: 0;
	}

	.double-column {
		-webkit-column-count:1;
		column-count:1;
	}

	.builder_p, .container .offset-by-one,
	.container .columns.blog-nosidebar {
		padding: 0 20px;
	}

	.alignleft,
	.alignright,
	img.alignleft,
	img.alignright,
	.post-share,
	.single-tags,
	.post-footer .cats {
		float: none;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.single-tags,
	.post-footer .cats {
		display: block;
		padding: 10px 0;
	}

	.portfolio-text, .container .twelve.columns.offset-by-right,
	.blog-sidebar, .type-page .wpcf7-form {
		padding: 0 20px;
	}

	.blog-sidebar {
		padding-top: 45px;
	}

	.related-posts {
		padding: 40px 0;
	}

	.page-template-template-blog-grid3col-php #page-title, .page-template-template-blog-grid2col-php #page-title, .page-template-template-blog-grid-full-php #page-title, .page-template-template-portfolio3col-php #page-title, .page-template-template-portfolio4col-php #page-title, .page-template-template-portfoliofull-php #page-title, .page-template-default #page-title, .archive #page-title, .blog #page-title, .error404 #page-title, .search #page-title, .intro-effect-fadeout.modify .portfolio-header div.subline:nth-child(2), .intro-effect-fadeout.modify .portfolio-header div.subline:nth-child(3), #page-title.title-left, .title-left,
	.intro-effect-fadeout.modify .portfolio-header div.subline:nth-child(2), .intro-effect-fadeout.modify .portfolio-header div.subline:nth-child(3), .page-title div.subline {
		margin: 0 20px;
	}

	.project-navigation.is-visible,
	.to-top.cd-is-visible {
		visibility: hidden;
	}

	.container .portfolio-text .portfolio-excerpt.right-side1 p, .container .portfolio-text .portfolio-excerpt.center-side1 p, .container .portfolio-text .portfolio-excerpt.left-side1 p,
	.container .portfolio-text .portfolio-excerpt.right-side2 p, .author-description,
	.intro-effect-fadeout.lefthand .page-title h1, .container .portfolio-text .portfolio-excerpt.center-side2 p {
    margin-left: 0;
	}

	.intro-effect-fadeout.righthand .page-title h1, .container .portfolio-text .portfolio-excerpt.left-side2 p,
	.container .portfolio-text .portfolio-excerpt.left-side1 p, .container .portfolio-text .portfolio-excerpt.center-side2 p {
		margin-right: 0;
	}

	.intro-effect-fadeout .container .columns.blog-nosidebar.portfolio-text {
		margin-top: -160px;
	}

	.intro-effect-fadeout .content.under, .intro-effect-fadeout .homepage {
		margin-top: -100px;
	}

	.dummy-content {
		padding: 0 10px;
	}

	blockquote {
		margin-left: 15px;
	}

	.container .column.blog-item,
	.container .columns.blog-item,
	.load-more, #next-posts {
		margin: 10px 0;
	}

	.video-cont, .fluid-width-video-wrapper {
		height: 100vh;
	}

	/* Full width */

	.full-width,
	.dummy-column {
		width:100%;
		margin-left: 0;
		margin-right: 0;
	}

	.third-masonry, .four-masonry {
		width:100%;
		padding: 0;
	}

	.dummy-column {
		padding: 0 0 20px 0;
		margin:0;
	}

	.full-width-container {
		padding: 0
	}

	.full-item,
	.full-item-recent	{
		width:100%;
		margin:0;
	}

	.full-width.portfolio-item {
		height: 340px;
	}

	.full-width.portfolio-item.size-1x1,
	.full-width.portfolio-item.size-1x2,
	.full-width.portfolio-item.size-2x1,
	.full-width.portfolio-item.size-3x1,
	.full-width.portfolio-item.size-2x2,
	.full-width.portfolio-item.size-3x3 {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.full-width.portfolio-item.size-1x2 {
		height: 640px;
	}

	.full-width.portfolio-item.size-2x1,
	.full-width.portfolio-item.size-3x1 {
		height: 340px;
	}

	.full-width.portfolio-item.size-2x2,
	.full-width.portfolio-item.size-3x3 {
		height: 640px;
	}

	/* 4 & 3 columns */

	.container .four.columns.portfolio-item,
	.container .one-third.column.portfolio-item {
		width: 100%;
		height: 380px;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 20px;
	}

	.container .four.columns.portfolio-item.size-1x1,
	.container .four.columns.portfolio-item.size-1x2,
	.container .four.columns.portfolio-item.size-2x1,
	.container .four.columns.portfolio-item.size-3x1,
	.container .four.columns.portfolio-item.size-2x2,
	.container .four.columns.portfolio-item.size-3x3,
	.container .one-third.column.portfolio-item.size-1x1,
	.container .one-third.column.portfolio-item.size-1x2,
	.container .one-third.column.portfolio-item.size-2x1,
	.container .one-third.column.portfolio-item.size-3x1,
	.container .one-third.column.portfolio-item.size-2x2,
	.container .one-third.column.portfolio-item.size-3x3 {
		width: 100%;
	}

	.container .four.columns.portfolio-item.size-2x1,
	.container .four.columns.portfolio-item.size-3x1,
	.container .one-third.column.portfolio-item.size-2x1,
	.container .one-third.column.portfolio-item.size-3x1 {
		height: 380px;
	}

	.container .four.columns.portfolio-item.size-1x2,
	.container .four.columns.portfolio-item.size-2x2,
	.container .four.columns.portfolio-item.size-3x3,
	.container .one-third.column.portfolio-item.size-1x2,
	.container .one-third.column.portfolio-item.size-2x2,
	.container .one-third.column.portfolio-item.size-3x3 {
		height: 660px;
	}

}
