/*
Theme Name: Kathy
Theme URI: http://themes.uxbarn.com/wp/kathy/
Description: Kathy is a portfolio & photography theme for showcasing your beautiful work. <a href="https://uxbarn.com">View more products on our website</a>.
Author: UXBARN
Author URI: https://uxbarn.com
Version: 1.0.1
License: GPL, ThemeForest Licenses
License URI: http://codex.wordpress.org/GPL, http://themeforest.net/licenses
Tags: one-column, custom-background, custom-colors, custom-menu, editor-style, featured-images, sticky-post, theme-options, threaded-comments, translation-ready
Text Domain: kathy
*/


/* Table of Content
 ==================================================
 #Reset
 #General Styles
 #Site Structures
 #Forms
 #Elements
 #Plugins and Widgets
 #Responsive
*/



/* #Reset
================================================== */
/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;/*font-size:100%;font:inherit;*/vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}



/* #General Styles
================================================== */
*:focus {
	outline: none;
}

html {
	-webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

body {
	background: #fff;
	color: #050505;
	font-family: 'Karla', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
}

body.page-template-template-all-works,
body.tax-uxbarn_portfolio_tax {
	overflow: hidden; /* will be reset in the JS code */
}

a,
a:visited {
	color: #050505;
	text-decoration: none;
	transition: .2s all;
}

a:hover {
	color: #050505;
}

h1, h2, h3, h4, h5, h6 {
	color: #050505;
	font-family: 'Karla', sans-serif;
	font-weight: 700;
	margin-bottom: 0.8em;
}

h4, h5, h6 {
	letter-spacing: 0.5px;
}

h1 {
	font-size: 1.8em;
}

h2 {
	font-size: 1.5em;
}

h3 {
	font-size: 1.375em;
}

h4 {
	font-size: 1.25em;
}

h5 {
	font-size: 1.125em;
	text-transform: uppercase;
}

h6 {
	font-size: 1em;
	text-transform: uppercase;
}

address {
	font-style: italic;
}

p,
address,
dl,
pre,
table {
	margin-bottom: 1.6em;
}

p:last-child {
	margin-bottom: 0;
}

ul, ol {
	margin: 0 0 1.6em 1.6em;
}

ul ul,
ul ol,
ol ul,
ol ol {
	margin-top: 0.8em;
	margin-bottom: 0.8em;
}

ul {
	list-style: square;
}

ol {
	list-style: decimal;
}

.children {
	margin-top: 0.8em;
}

li {
	margin-bottom: 0.8em;
}

img {
	height: auto;
	max-width: 100%;
}

img.border {
	border: 1px solid #eee;
}

b,
strong {
	font-weight: 700;
}

i,
em {
	font-style: italic;
}

form {
	margin-bottom: 0;
}

code, 
kbd,
tt,
pre {
	background: #f1f1f1;
	box-sizing: border-box;
	color: #050505;
	display: inline-block;
	font-family: Courier, serif;
	font-size: 1em;
	padding: 0 6px;
}

pre {
	box-sizing: border-box;
	overflow: auto;
	padding: 12px;
	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;
	width: 100%;
}

sub {
	font-size: x-small;
	vertical-align: sub;
}

sup {
	font-size: x-small;
	vertical-align: super;
}

q,
var {
	font-style: italic;
}

table {
	border: 1px solid #eaeaea;
	border-spacing: 0;
	border-collapse: collapse;
	width: 100%;
}

table th {
	background: #f1f1f1;
	font-size: 1em;
	font-weight: bold;
}

table th,
table td {
	border: 1px solid #eaeaea;
	box-sizing: border-box;
	padding: 1.2em;
	text-align: left;
	vertical-align: middle;
}

table tr:hover {
	background: #f8f8f8;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.6em 1.6em;
}

abbr,
acronym {
	text-transform: uppercase;
}

hr {
	border: 0;
	border-top: 1px solid #eee;
}

blockquote {
	color: #050505;
	font-size: 1.2em;
	font-weight: 400;
	margin: 1em 0 2.4em;
}

blockquote::before {
	color: #ddd;
	content: '\f10d';
	font-family: 'FontAwesome';
	font-size: 2.4em;
	font-style: normal;
}

blockquote p:first-child {
	margin-top: -3.4em;
}

blockquote p {
	margin-bottom: 1em;
	margin-left: 4em;
}

blockquote cite {
	display: block;
	font-size: 0.8em;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 1px;
	margin-top: 1em;
	text-transform: uppercase;
}

blockquote cite::before {
	content: '―';
	padding-right: 6px;
}

mark {
	background: inherit;
	color: inherit;
}

.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

.visually-hidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.hidden {
	display: none !important;
}

.no-opacity {
	opacity: 0 !important;
}

.content-margin-top {
	margin-top: 4.7%; /* 90/1900 */
}

.no-padding,
.no-padding .section-content {
	padding: 0 !important;
}

.no-top-padding {
	padding-top: 0 !important;
}

.grayscale {
	-webkit-filter: grayscale(100%) opacity(.4);
	filter: grayscale(100%) opacity(.4);
}

.blur {
	-webkit-filter: blur(3px) opacity(.4);
	filter: blur(3px) opacity(.4);
}

.blur-grayscale {
	-webkit-filter: blur(3px) grayscale(100%) opacity(.4);
	filter: blur(3px) grayscale(100%) opacity(.4);
}

.display-opacity {
	opacity: 1 !important;
}

.less-opacity {
	opacity: 0.4;
}

.no-border {
	border: 0 !important;
}

.no-margin-bottom {
	margin-bottom: 0 !important;
}

.full-screen-bg {
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: fixed;
	background-size: cover;
}



/*** WP Required CSS ***/
.alignleft {
	float: left;
	margin: 0 1.6em 0.8em 0;
}

.alignright {
	float: right;
	margin: 0 0 0.8em 1.6em;
}

.aligncenter {
	float: none;
	margin: auto;
	text-align: center;
}

img.aligncenter {
	display: block;
}

.bypostauthor {
	width: auto;
}

/* This class is used with WP 'figure' tags */
.wp-caption {
	margin-bottom: 1.6em;
	max-width: 100%;
}

.wp-caption-text,
.gallery-item .gallery-caption {
	font-size: 0.916em; /* 11/12 */
	margin-top: 0.2em;
	text-align: center;
}

.wp-caption-text {
	font-size: 0.917em; /* 11/12 */
	margin-top: 0.2em;
}

.says, /* .says class is used in the post comments */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	/* many screen reader and browser combinations announce broken words as they would appear visually */
	word-wrap: normal !important;
}

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

.sticky .post-title::before {
	content: '\f2a6';
	font-family: 'Ionicons';
	margin-right: 0.8em;
}



/* #Site Structures
================================================== */
#root-container {
	margin: auto;
	padding: 2.1% 0 0;
	width: 1200px;
}

#side-container {
	float: right;
	opacity: 0;
	position: fixed;
	z-index: 5;
}

#main-container {
	margin-right: 11.5%; /* 140/1200 */
	width: 69.2%; /* 830/1200 */
}

.logo-tagline-wrapper {
	border-bottom: 1px solid #b5b5b5;
	padding-bottom: 15%; /* ~40/230 */
}

.site-title-heading,
.with-tagline .logo-wrapper {
	display: block;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.5px;
	margin-bottom: 0;
	text-transform: uppercase;
}

.with-tagline .logo-wrapper {
	margin-bottom: 0.4em
}

.tagline {
	font-size: 13px;
}

.copyright-social-wrapper {
	color: #888;
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.copyright-social-wrapper a {
	color: #050505;
	font-weight: 700;
}

.social-links {
	color: #050505;
	margin: 0;
	list-style: none;
	overflow: hidden;
}

.social-links li {
	float: left;
}

.social-links li::after {
	content: '/';
	margin: 0 5px;
}

.social-links li:last-child::after {
	content: '';
}

.social-icons {
	font-size: 1.3em;
	list-style: none;
	margin: 0;
	overflow: hidden;
}

.social-icons li {
	float: left;
	margin-bottom: 0;
	margin-right: 0.7em;
}

/*** Menu ***/
.site-menu {
	border-bottom: 1px solid #b5b5b5;
	margin-bottom: 15%;
	padding: 15% 0;
}

.menu-style {
	font-size: 14px;
	font-weight: 700;
	list-style: none;
	margin-left: 0;
	margin-bottom: 0;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.menu-style li {
	letter-spacing: 0.5px;
	line-height: 1.6;
	margin: 0 0 0 -25px;
	padding-left: 25px;
	position: relative;
}

.menu-style > li > a {
	color: #aaa;
}

.menu-style > li:hover > a,
.menu-style > li > a:hover {
	color: #050505;
}

.menu-style > .current_page_item > a,
.menu-style > .current-menu-item > a,
.menu-style > .current-menu-parent > a,
.menu-style > .current-menu-ancestor > a,
.menu-style > li.active > a {
	color: #050505;
}


.sub-menu,
.menu-list .children {
	background: #efefef;
	box-sizing: border-box;
	display: none; 
	font-size: 13px;
	list-style: none;
	margin: 0;
	padding: 2.27em 0; /* 25/11 */
	position: absolute;
	top: -2.2em;
	right: 100%;
	text-transform: none;
	text-align: right;
	width: 18.18em; /* 200/11 */
	z-index: 99;
}

.sub-menu li,
.menu-list .children li {
	left: 0;
	display: block;
	margin: 0 0 0.6em;
	padding: 0 3.63em 0 5.45em;
	position: relative;
}

.menu-list .sub-menu a,
.menu-list .children a {
	display: block !important;
	color: #050505;
	font-weight: 400;
}

.sub-menu > li:hover > a,
.menu-list .children > li:hover > a {
}

.sub-menu .sub-menu,
.menu-list > li > .children .children {
	background: #e1e1e1;
	right: 75%;
	top: -2.27em;
}



/*** Mobile Menu ***/
#mobile-menu {
	display: none;
	line-height: 0;
}


/*** Mobile menu toggle ***/
#mobile-menu-toggle {
	color: #050505;
	display: inline-block;
	font-size: 13px;
	font-weight: 700 !important;
	letter-spacing: 1px;
	text-decoration: none;
	text-transform: uppercase;
}

#mobile-menu-toggle i {
	display: inline-block;
	font-size: 1.7em;
	margin-left: 4px;
	margin-top: -2px;
	vertical-align: middle;
}

/*** Mobile menu panel ***/
#mobile-menu-entity {
	background: #fff;
	color: #050505;
	font-weight: 400;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

#mobile-menu-entity li {
	font-size: 12px;
}



/*** Search Button and Panel ***/
.search-button-wrapper {
	font-size: 11px;
	margin-bottom: 15%;
}

.search-icon-button {
	font-weight: 700;
}

.search-icon-button i {
	vertical-align: middle;
}

.search-button-text {
	letter-spacing: 1px;
	margin-left: 8px;
	text-transform: uppercase;
}

#search-panel-wrapper .search-submit {
	display: none;
	float: none;
}

#search-panel-wrapper {
	background: rgb(255,255,255);
	background: rgba(255,255,255,1);
	display: none;
	font-size: 8em;
	opacity: 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
}

#inner-search-panel {
	height: 100%;
	position: relative;
	width: 100%;
}

#search-close-button {
	color: #050505;
	font-size: 1em;
	line-height: 0;
	position: absolute;
	right: 10%;
	top: 10%;
}

#search-panel-wrapper .search-form {
	text-align: center;
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	width: 100%;
}

#search-panel-wrapper .search-field {
	background: none;
	border: 0;
	border-bottom: 1px solid;
	font-size: 1em;
	font-weight: 300;
	padding: 0;
	text-align: center;
	width: 80%;
}


/*** Content Area ***/
main {
	display: block;
	font-size: 14px; /* base font size for content area */
	margin-bottom: 10.24%; /* 85/830 */
}

main a {
	font-weight: 700;
}

.post-item {
	margin-bottom: 9.6%; /* 80/830 */
}

.post-item:last-child,
.top-section {
	margin-bottom: 6%; /* 50/830 */
}

.post-content-container,
.content-section-wrapper {
	background: #f8f8f8;
	padding: 8.43% 10.24%; /* 70, 85/830 */
}

.post-content hr {
	border-color: #ccc;
}

.post-image {
	background: #efefef;
}

.post-image img {
	display: block;
	margin: auto;
	opacity: 0; /* will be set to visible in the JS code */
	vertical-align: top;
}

.post-title {
	font-size: 1.42em; /* 20/14 */
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}

.post-meta-wrapper {
	background: #efefef;
	color: #666;
	font-size: 0.78em; /* 11/14 */
	letter-spacing: 1px;
	padding: 1.09em 0; /* 12/11 */
	overflow: hidden;
	text-align: center;
	text-transform: uppercase;
}

.post-meta-wrapper a {
	color: #666;
	font-weight: 400;
}

/* Hack for centering float elements */
.inner-post-meta-wrapper {
	float: right;
	position: relative;
	left: -50%; /* or right 50% */
	text-align: left;
}

.post-meta {
	list-style: none;
	margin: 0;
	
	/* Hack for centering float elements */
	position: relative;
	left: 50%;
}

.post-meta li {
	float: left;
	margin: 0;
}

.post-meta li::after {
	content: '\2219';
	font-size: 1.6em;
	margin: 0 8px;
	vertical-align: middle;
}

.post-meta li:last-child::after {
	opacity: 0;
}

.post-categories-tags-wrapper {
	margin-top: 3%;
}

.meta-others {
	font-style: italic;
	left: 0;
	line-height: 2em;
	overflow: hidden;
}

.meta-title {
	font-weight: 700;
}

.meta-others .meta-title::after {
	content: ':';
	font-size: inherit;
	margin: 0 8px 0 0;
	vertical-align: baseline;
}

.meta-others li::after {
	content: ',';
	font-size: inherit;
	margin: 0 5px 0 0;
	vertical-align: baseline;
}

.meta-others a {
	font-weight: 400;
}

.section-title {
	font-size: 1.14em; /* 16/14 */
}

.author-social {
	font-size: 1.07em;
	list-style: none;
	margin: 0;
	overflow: hidden;
}

.author-social li {
	float: left;
	line-height: 1;
	margin-bottom: 0;
	margin-right: 12px;
}

.author-social li:last-child {
	margin-right: 0;
}

.author-social a {
	border: 0;
	padding-bottom: 0;
}


/*** Comments ***/
#comments {
	margin-top: 6%;
}

.comment-reply-title {
	font-size: 1.14em; /* 16/14 */
	font-weight: 700;
	margin-top: -4px;
}

#cancel-comment-reply-link {
	color: #050505;
	float: right;
	font-size: 0.8em; /* 11/16 */
	font-weight: 400;
	letter-spacing: inherit;
	margin-top: 0.45em; /* 5/11 */
}

.comment-list {
	list-style: none;
	margin-left: 0;
	margin-bottom: 10.1%;
}

.comment-list .comment {
	margin-bottom: 0;
}

.comment-list .children {
	list-style: none;
}

.comment-body {
	box-sizing: border-box;
	padding: 2em 0;
}

.comment-list > li:first-child > .comment-body {
	border-top: 0;
	padding-top: 0;
}

.comment-author-avatar {
	float: left;
	margin-right: 3.6%;
	width: 16%;
}

.comment-content-wrapper {
	float: left;
	width: 80.4%;
}

.comment-meta a {
	border: 0;
	font-weight: 400;
	padding-bottom: 0;
}

.comment-author,
.comment-author a {
	font-weight: 700;
	margin-bottom: 3px;
}

.comment-date {
	font-size: 0.75em;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.comment-date a {
	font-weight: 400 !important;
}

.comment-content {
	margin: 1em 0;
}

.comment-awaiting-moderation {
	font-style: italic;
}

.comment-edit-link {
	float: right;
	font-style: normal;
	font-weight: 700;
	line-height: 1;
}

.comment-content:last-child p {
	margin-bottom: 0;
}

.reply a {
	border: 1px solid #ccc !important;
	font-size: 0.916em;
	font-weight: 400 !important;
	letter-spacing: inherit;
	padding: 0.54em 0.9em;
}

.comment-respond,
p.no-comments {
}

#comments.no-comments .comment-respond {
	margin-top: 0;
}

p.no-comments {
	font-style: italic;
	margin-bottom: 0;
}

.comment-respond {
	box-sizing: border-box;
	border-top: 1px solid #eaeaea;
	margin-top: 0;
	padding: 2em 0;
}

.no-comments .comment-respond {
	border: 0;
}

.comment-form label {
	display: block;
}

.comment-form textarea {
	width: 100%;
}

.form-submit {
	margin-bottom: 0;
}

.comment-navigation {
	box-sizing: border-box;
	border-bottom: 1px solid #eaeaea;
	border-top: 1px solid #eaeaea;
	margin-bottom: -1px;
	overflow: hidden;
	padding: 1.625em 0;
}

.comment-navigation a {
	border: 1px solid #ddd;
	padding: 0.6em 0.8em;
}

.comment-navigation .nav-previous,
.comment-navigation .nav-next {
	display: inline-block;
}

.comment-navigation .nav-next {
	float: right;
}

.comment-navigation .nav-previous a::before,
.comment-navigation .nav-next a::after {
	font-family: 'Ionicons';
	vertical-align: middle;
}

.comment-navigation .nav-previous a::before {
	content: '\f3d5';
	margin-right: 6px;
}

.comment-navigation .nav-next a::after {
	content: '\f3d6';
	margin-left: 6px;
}

.comment-list .pingback {
	font-style: italic;
}


/*** Pagination ***/
.numbers-pagination {
	margin-top: 6%;
}

.numbers-pagination,
.additional-link-button-wrapper {
	box-sizing: border-box;
	font-size: 1em;
	letter-spacing: 1px;
	margin-bottom: 1px;
	padding: 0 1.83%;
	text-align: center;
	text-transform: uppercase;
	width: 100%;
}

.numbers-pagination .current,
.numbers-pagination a,
.woocommerce-pagination .page-numbers .current,
.woocommerce-pagination .page-numbers a {
	margin-left: -0.33em;
	padding: 0.66em 0.66em;
}

.numbers-pagination .current::after,
.numbers-pagination a::after {
	font-weight: 400;
}

.numbers-pagination .current:last-child::after,
.numbers-pagination a:last-child::after {
	content: '';
}

.numbers-pagination,
.numbers-pagination a {
	font-weight: 400;
}

.numbers-pagination a:hover {
}

.numbers-pagination .current {
	color: #ccc;
}

.numbers-pagination .next,
.numbers-pagination .prev {
	font-size: 1.42em;
	vertical-align: middle;
}

.numbers-pagination a:first-child,
.numbers-pagination .current:first-child {
	margin-left: -15px;
}

.blog-list .numbers-pagination .current:first-child {
	margin-left: -4px;
}

/*** Post Pagination ***/
.page-links {
	font-weight: 400;
	margin-top: 50px;
	margin-bottom: 50px;
}

.page-links > span {
	margin: 0 8px;
}

.page-links > span:first-child {
	margin: 0;
}

.page-links a {
	margin: 0 6px;
}



/*** Post Navigation ***/
.next-prev-post-navigation {
	background: #fcfcfc;
	box-sizing: border-box;
	font-size: 1.14em; /* 16/14 */
	margin: 6% 0;
	overflow: hidden;
	padding: 4.8% 7%;
	position: relative;
}

.single-uxbarn_portfolio .next-prev-post-navigation.with-comments {
	
}

.single-uxbarn_portfolio .next-prev-post-navigation.no-comments {
	
}

.nav-previous {
	float: left;
	margin-right: 0.6em; /* 12/20 */
}

.nav-next {
	float: right;
	margin-left: 0.6em; /* 12/20 */
}

.nav-title-icon-wrapper {
	font-size: 1.25em; /* 20/16 */
	vertical-align: middle;
}

.nav-previous .nav-title-icon-wrapper {
	margin-right: 0.6em; /* 12/20 */
}

.nav-next .nav-title-icon-wrapper {
	margin-left: 0.6em; /* 12/20 */
}

.nav-title {
}

.next-prev-post-navigation .nav-title {
}

.nav-subtitle {
	display: block;
	font-size: 0.68em; /* 11/16 */
	font-weight: 400;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.nav-previous .nav-subtitle {
	margin-left: 2.4em;
}

.nav-next .nav-subtitle {
	margin-right: 2.4em;
	text-align: right;
}

/*** 404 ***/
.no-results-section .post-content-container {
	
}

.search-result-list .search-field,
.no-results-section .search-field {
	display: block;
	margin: 0 0 1.6em;
}

/*** Search ***/
.search-result-list article.post-item {
	margin-bottom: 6%;
	overflow: hidden;
}

.search-result-list article .post-image {
	background-size: cover !important;
	float: left;
	min-height: 0;
	height: 275px;
	overflow: hidden;
	position: relative;
	width: 25%;
}

.search-result-list article .post-image img {
}

.search-result-list article .post-content-container {
	box-sizing: border-box;
	float: left;
	width: 75%;
}

.search-result-list article .post-content-container.no-post-thumbnail {
	width: 100%;
}

/*** Archive ***/
.archive-list .top-section .post-title {
	margin-bottom: 0;
	text-align: center;
}


/*** Portfolio ***/
.portfolio-category-wrapper {
	float: left;
	opacity: 0;
	position: fixed;
}

.portfolio-categories {
	font-size: 1.28em;
	font-weight: 700;
	letter-spacing: 0.25px;
	list-style: none;
	margin: 0 0 59%;
	text-transform: lowercase;
	text-align: right;
}

.active-portfolio-category-title {
	font-size: inherit;
	font-weight: 700;
	letter-spacing: inherit;
	margin: inherit;
}

.portfolio-categories li {
	line-height: 1.24em;
	margin: 0;
}

.portfolio-categories a {
	color: #aaa;
}

.portfolio-categories a:hover {
	color: #050505;
}


/* Portfolio List */
.portfolio-container {
	min-height: 90vh;
}

.portfolio-listing,
.portfolio-container .numbers-pagination {
	margin-left: 27.7%; /* 230/830 */
	width: 72.4%; /* ~600/830 */
}

.no-category-menu .portfolio-listing,
.no-category-menu .portfolio-container .numbers-pagination {
	margin-left: 0;
	width: 100%;
}

.portfolio-loading-wrapper {
	background: #f8f8f8;
	height: 90vh;
	position: relative;
	width: 100%;
}

.portfolio-loading {
	margin: auto;
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translateY(-50%);
	transform: translateX(-50%);
	width: 150px;
}

.single-uxbarn_portfolio .portfolio-loading-wrapper {
	background: none;
	margin-top: 18%;
}

.single-uxbarn_portfolio .portfolio-loading-wrapper,
.single-uxbarn_portfolio .portfolio-loading {
	position: static;
	transform: none;
	text-align: center;
}

.loading-text {
	display: block;
	font-size: 0.75em; /* 9/12 */
	font-weight: 400;
	letter-spacing: 2px;
	margin-bottom: 1em;
	text-align: center;
	text-transform: uppercase;
}

.loading-bar {
	background: #888;
	height: 1px;
	position: relative;
}

.progress-bar {
	background: #050505;
	position: absolute;
	height: 2px;
	width: 0;
	top: -3px;
	transition: all 500ms cubic-bezier(0.230, 1.000, 0.320, 1.000); /* easeOutQuint */
}

.portfolio-item {
	margin-bottom: 6.66%; /* ~40/600 */
	opacity: 0;
	position: relative;
	visibility: hidden;
}

.grid-layout .portfolio-item {
	margin-bottom: 25px;
}

.justified-images {
	margin: 0 -12.5px;
	overflow: hidden;
}

.justified-images .portfolio-item {
	box-sizing: content-box;
	float: left;
	margin-left: 12.5px;
	margin-right: 12.5px;
	position: relative;
}

.portfolio-title-wrapper {
	max-width: 80%;
	opacity: 0;
	position: absolute;
	bottom: 12px;
	left: 15px;
	transition: opacity .2s;
}

.portfolio-title {
	background: #050505;
	color: #fff;
	display: inline-block;
	font-size: 0.8em;
	letter-spacing: 0.5px;
	margin: 0;
	padding: 0.3em 1em;
}

.portfolio-item:hover .portfolio-title-wrapper {
	opacity: 1;
}

.portfolio-thumbnail {
	height: 100%;
	overflow: hidden;
}

.grid-layout .portfolio-thumbnail {
	/* for fixing blurry downscaled images on Chrome */
	image-rendering: -webkit-optimize-contrast;
}

/* disable the fix on retina devices as it can cause pixelated image */
@media (-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi) { 
	.grid-layout .portfolio-thumbnail {
		image-rendering: auto;
	}
}


.portfolio-thumbnail img {
	display: block;
	vertical-align: top;
}

.justified-images .portfolio-thumbnail img {
	height: 100%;
	width: auto;
}

/*** Portfolio Single ***/
.portfolio-content-wrapper {
	margin-bottom: 6%;
}

.port-format-item {
	margin-bottom: 9.1%; /* 120/1316 */
	text-align: center;
	overflow: hidden;
}

.video-wrapper {
	max-width: 100%;
}

.post-content .video-wrapper {
	margin-bottom: 1.6em;
}

.image-wrapper {
	opacity: 0;
	visibility: hidden;
}

.quality-tweak.image-wrapper.portrait {
	margin-left: auto;
	margin-right: auto;
	width: 600px;
}

.quality-tweak {
	/* for fixing blurry downscaled images on Chrome */
	image-rendering: -webkit-optimize-contrast;
}

/* disable the fix on retina devices as it can cause pixelated image */
@media (-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi) { 
	.quality-tweak {
		image-rendering: auto;
	}
}

.image-wrapper img {
	display: inline-block;
	vertical-align: top;
}

.image-caption,
.fancybox-title {
	box-sizing: border-box;
	font-family: inherit;
	font-size: 0.92em;
	margin-top: 1.15em;
	padding: 0 3%;
	text-align: center;
}

.post-password-form {
	margin-bottom: 1.6em;
}



/* #Forms
================================================== */
input,
textarea,
button,
select {
	box-sizing: border-box;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	padding: 0.5em;
	max-width: 100%;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
input[type="number"],
input[type="url"],
input[type="tel"],
textarea,
select {
	border: 1px solid #ccc;
	transition: border-color .2s;
}

input:focus,
textarea:focus {
	border-color: #050505;
}

.theme-widget-area input:focus,
.theme-widget-area textarea:focus {
	border-color: #fff;
}

/* Ignore default styles when viewing on Safari */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
input[type="number"],
input[type="url"],
input[type="tel"],
textarea,
input[type="button"],
input[type="submit"],
.post-item .button {
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	border-radius: 0;
	font-weight: inherit;
}

select {
	min-width: 100px;
}

input[type="button"],
input[type="submit"],
button,
a.button,
.post-item .button {
	background: #050505;
	border: 0;
	color: #fff;
	cursor: pointer;
	letter-spacing: 0.5px;
	padding: 0.58em 2em;
	transition: background .2s;
}

input[type="button"]:hover,
input[type="submit"]:hover,
button:hover,
a.button:hover {
	
}

.theme-widget-area input[type="button"],
.theme-widget-area input[type="submit"],
.theme-widget-area button,
.theme-widget-area a.button {
	border: 1px solid #fff;
}

.dummy-sub-form input,
.widget_search input[type="search"] {
	margin-bottom: 1.625em;
}

.search-field {
	width: 60%;
}

.widget-item .search-field {
	display: block;
	margin: 0 0 1.6em;
	width: 90%;
}

.search-results .search-form {
	margin-top: 12px;
}


/* #Elements
================================================== */
/*** Fancybox ***/
.fancybox-opened .fancybox-skin {
	box-shadow: none;
}

.fancybox-opened {
}

.fancybox-image {
}

.fancybox-title {
	
}

.fancybox-title-outside-wrap {
	color: #050505;
	margin-top: 12px;
	text-align: center;
}

#fancybox-buttons ul {
	background: rgb(5,5,5);
	background: rgba(5,5,5,0.8);
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

#fancybox-buttons a.btnNext,
#fancybox-buttons a.btnToggle,
#fancybox-buttons a.btnClose {
	
}

#fancybox-thumbs.bottom {
	bottom: 15px;
}

#fancybox-thumbs ul li {
	opacity: 0.3;
	transition: opacity .2s;
}

#fancybox-thumbs ul li a {
	border: 0;
}

#fancybox-thumbs ul li.active {
	border-color: transparent;
	opacity: 1;
}

.fancybox-close, 
.fancybox-prev span, 
.fancybox-next span {
	background: none;
}

.fancybox-next,
.fancybox-prev {
	display: block;
	opacity: 0;
	transition: opacity .2s;
}

/* Note: Using "right" or "margin-right" directly causes mousewheel feature stops working somehow */
.fancybox-next {
}

.fancybox-prev {
}

.fancybox-next:hover,
.fancybox-prev:hover {
	opacity: 1;
}

.fancybox-nav span {
}

.fancybox-next span,
.fancybox-prev span {
	background: #050505;
	color: #fff;
	font-size: 22px;
	font-weight: 400;
	height: 40px;
	line-height: 40px;
	text-align: center;
	width: 40px;
}

.fancybox-prev span {
}

.fancybox-next span::after,
.fancybox-prev span::after,
.fancybox-close::after {
	font-family: 'Ionicons';
}

.fancybox-next span::after {
	content: '\f3d1';
}

.fancybox-prev span::after {
	content: '\f3cf';
}

.fancybox-close {
	margin-top: -1.8em;
	margin-right: -6px;
}

.fancybox-close::after {
	content: '\f404';
	font-size: 30px;
}


#fancybox-buttons a {
	background: none;
	color: #fff;
	font-size: 18px;
	font-weight: 400;
	text-indent: 0;
	text-align: center;
	transition: opacity .2s;
}

#fancybox-buttons a::after {
	display: inline-block;
	font-family: 'Ionicons';
	margin-left: 0;
	margin-top: 1px;
}

#fancybox-buttons a.btnClose::after {
	content: '\f2d7';
	margin-left: 4px;
	margin-top: 1px;
}

#fancybox-buttons a.btnToggle::after {
	content: '\f386';
}

#fancybox-buttons a.btnNext::after {
	content: '\f125';
	font-size: 13px;
}

#fancybox-buttons a.btnPrev::after {
	content: '\f124';
	font-size: 13px;
}

#fancybox-buttons a.btnPlay::after {
	content: '\f488';
}

#fancybox-buttons a.btnPlayOn::after {
	content: '\f478';
}



/*** WP Gallery ***/
.gallery {
	margin-bottom: 1.625em;
}

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

.gallery-item a {
	border: 0;
}

.gallery-icon {
	line-height: 0;
}

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

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

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

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

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

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

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

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



/* #Plugins and Widgets
================================================== */
/*** Footer ***/
.theme-widget-area {
	box-sizing: border-box;
	color: #050505;
	font-size: 13px;
	margin: 0 0 1.31% 1.31%; /* 25/1900 */
	overflow: hidden;
	opacity: 0; /* will be set to visible in the JS code */
}

.inner-theme-widget-area {
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #b5b5b5;
	float: right;
	overflow: hidden;
	padding: 6% 9.58% 3%; /* 85/1268, 115/1200 */
	width: 100%;
	max-width: 1200px;
}

.theme-widget-area a {
	border: 0;
	color: #050505;
	font-weight: 700;
}

.widget-title {
	color: #050505;
	font-size: 1em;
	font-weight: 700;
	letter-spacing: 1px;
	margin-bottom: 4em;
	position: relative;
	text-transform: uppercase;
}

.widget-title::after {
	border-top: 1px solid;
	content: '';
	opacity: 0.1;
	position: absolute;
	left: 0;
	bottom: -1.8em;
	width: 100%;
}

.widget-title > a {
	border: 0;
	padding: 0;
}

.widget-column {
	float: left;
	margin-bottom: 0;
	margin-right: 4.8%;
	width: 100%;
}

.widget-column:last-child {
	margin-right: 0;
}

.widget-item li:last-child,
.widget-item table:last-child {
	margin-bottom: 0;
}

/* 1 column */
.widget-item {
	overflow: hidden;
	padding-bottom: 6%;
	max-width: 100%;
}

.widget-item:last-child {
	
}

/* 2 columns */
.w6.widget-column {
	width: 47.4%; 
}

.w6 .widget-item {
	padding-bottom: 12%;
}

/* 3 columns */
.w4.widget-column {
	width: 30%;
}

.w4 .widget-item {
	padding-bottom: 18%;
}

/* 4 columns */
.w3.widget-column {
	width: 21.3%; 
}

.w3 .widget-item {
	padding-bottom: 25%;
}


/*** WP Widgets ***/
.widget_archive {
}

.widget_categories > ul,
.widget_archive > ul,
.widget_recent_entries > ul,
.widget_pages > ul,
.widget_meta > ul,
.widget_recent_comments > ul,
.widget_rss > ul,
.widget_nav_menu .menu {
	list-style: none;
	margin: 0;
}

.widget_recent_entries .post-date {
	display: block;
	font-size: 10px;
	letter-spacing: 1px;
	margin-top: 4px;
	text-transform: uppercase;
}

.w3 .widget_search .search-field {
	width: 100%;
}

#wp-calendar th,
#wp-calendar td {
	padding: 0;
	text-align: center;
}



/*** Contact Form 7 ***/
.wpcf7 .wpcf7-text,
.wpcf7 .wpcf7-textarea {
	display: block;
}

.wpcf7 .wpcf7-textarea {
	width: 100%;
}

.wpcf7-form-control-wrap {
	display: block;
}

#content-container .wpcf7-not-valid {
	border-color: red;
}

span.wpcf7-not-valid-tip,
div.wpcf7-response-output {
	border: 0;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

span.wpcf7-not-valid-tip {
	color: red;
	margin-top: 6px;
	width: 100%;
}

div.wpcf7-response-output {
	font-size: 10px;
	margin: 0;
	padding: 0;
}

div.wpcf7-validation-errors {
	color: red;
}

div.wpcf7-mail-sent-ok {
	color: green;
}

/*** mmenu ***/
.mm-menu.mm-opened a {
	color: #050505;
}

a.mm-close.mm-btn {
	color: #050505;
	left: auto !important;
	right: 0;
}

.mm-close:after,
.mm-close:before {
	border: 0;
	content: '';
	transform: none;
}

.mm-close::after {
	border: 0;
	content: '\f404';
	font-family: 'Ionicons';
	font-size: 24px;
	margin-top: 11px;
}



/* #Responsive
================================================== */
@media only screen and (max-width: 1400px) {
	
	#root-container {
		width: 1000px;
	}
	
}

@media only screen and (max-width: 1150px) {
	
	/* Fix the position of the admin bar when using with mmenu */
	.admin-bar .mm-slideout {
		top: -32px;
	}
	
	.mm-opened .admin-bar .mm-slideout {
		top: 0;
	}
	
	.mm-opened body.admin-bar {
		margin-top: -32px;
	}
	
	.admin-bar .mm-slideout,
	.mm-opened .admin-bar .mm-slideout {
		padding-top: 32px; /* WP admin bar height */
	}
	
	
	
	#root-container {
		box-sizing: border-box;
		padding: 3% 2.1%;
		width: 100%;
	}

	#side-container {
		border-bottom: 1px solid #b5b5b5;
		float: none;
		margin: 0 auto 4%;
		opacity: 1;
		overflow: hidden;
		padding-bottom: 3%;
		position: relative;
		width: 100%;
	}

	#main-container {
		margin: auto;
	}

	.logo-tagline-wrapper {
		border: 0;
		float: left;
		padding: 0;
	}
	
	.site-menu {
		border: 0;
		margin: 0;
		padding: inherit;
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
	}

	.menu-style {
		display: none;
	}

	#mobile-menu {
		display: inline-block;
	}

	.search-button-wrapper {
		display: none;
		font-size: 14px;
		margin-right: 15px;
		margin-bottom: 0;
	}

	.search-button-text {
		display: none;
	}
	
	.theme-widget-area,
	.inner-theme-widget-area {
		max-width: none !important;
	}

	.theme-widget-area {
		margin: auto;
		box-sizing: border-box;
		padding: 2.1%;
	}
	
	.inner-theme-widget-area {
		float: none;
	}
	
	.copyright-social-wrapper {
		opacity: 0;
		margin: 3% auto;
		text-align: center;
		width: 100%;
	}

	.social-icon-wrapper {
		margin-bottom: 10px;
	}
	
	.social-links li,
	.social-icons li {
		float: none;
		display: inline-block;
	}
	
	#main-container {
		max-width: 830px;
		width: 90%;
	}
	
	.portfolio-listing,
	.portfolio-container .numbers-pagination {
		width: 600px;
	}
	
	
	.portfolio-category-wrapper {
		position: static;
	}
	
	.grid-layout .portfolio-thumbnail {
		image-rendering: auto;
	}
	
	main {
		margin-bottom: 3%;
	}
	
	
	
	#search-panel-wrapper {
		font-size: 6em;
	}
	
}

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

	.portfolio-category-wrapper {
		float: none;
	}
	
	.portfolio-categories {
		margin-bottom: 9%;
		text-align: center;
	}
	
	.portfolio-categories li,
	.active-portfolio-category-title {
		display: inline-block;
	}

	.portfolio-categories li::after {
		color: #aaa;
		content: '/';
		margin: 0 10px;
	}

	.portfolio-categories li:last-child::after {
		display: none;
	}

	.portfolio-listing,
	.portfolio-container .numbers-pagination {
		margin: auto;
	}

	#main-container {
		width: 100%;
	}
	
	
	
	#search-panel-wrapper .search-form {
		top: 30%;
	}
	
	#search-panel-wrapper {
		font-size: 4em;
	}
	
}

@media only screen and (max-width: 767px) {
		
	.theme-widget-area .widget-column {
		float: none;
		width: 100%;
	}

	.theme-widget-area .widget-item {
		padding-bottom: 12% !important;
	}
	
	.search-result-list article .post-image {
		display: none;
	}

	.search-result-list article .post-content-container {
		float: none;
		width: 100%;
	}

}

@media only screen and (max-width: 700px) {
	
	.nav-links,
	.nav-next .nav-subtitle {
		margin: 0;
		text-align: center;
	}

	.nav-previous,
	.nav-next {
		float: none;
	}

	.nav-previous {
		margin-bottom: 8%;
	}
	
}

@media only screen and (max-width: 600px) {
	
	/* Fix the position of the admin bar when using with mmenu */
	.admin-bar .mm-slideout {
		top: -46px;
	}
	
	.mm-opened .admin-bar .mm-slideout {
		top: 0;
	}
	
	.mm-opened body.admin-bar {
		margin-top: -46px;
	}
	
	.admin-bar .mm-slideout,
	.mm-opened .admin-bar .mm-slideout {
		padding-top: 46px; /* WP admin bar height */
	}
	
	
	
	#root-container {
		padding: 3% 4%;
	}

	.portfolio-listing, 
	.portfolio-container .numbers-pagination {
		width: 100%;
	}
	
	.portfolio-loading-wrapper {
		background: none;
		margin-top: 18%;
	}

	.portfolio-loading-wrapper,
	.portfolio-loading {
		position: static;
		transform: none;
		text-align: center;
	}
	
	.justified-images {
		margin: 0;
	}
	
	.justified-images .portfolio-item {
		box-sizing: border-box;
		border: 0;
		float: none;
		margin-left: 0;
		margin-right: 0;
		height: auto !important;
		width: 100% !important;
		text-align: center;
	}
	
	.justified-images .portfolio-thumbnail img {
    	height: auto;
		margin: auto;
	}
	
	.portfolio-title-wrapper {
		left: 0;
		max-width: 100%;
		text-align: center;
		width: 100%;
	}
	
	
	
	#search-panel-wrapper {
		font-size: 3em;
	}
	
	#search-panel-wrapper .search-field {
		font-size: 0.7em;
	}
	
}

@media only screen and (max-width: 400px) {
	
	#side-container {
		text-align: center;
	}
	
	.logo-tagline-wrapper {
		float: none;
		margin: 0;
		text-align: center;
		width: 100%;
	}

	.site-menu {
		display: inline-block;
		margin: 15px auto 0 !important;
		position: static;
		transform: none;
	}
	
	.post-content-container, .content-section-wrapper {
		padding-left: 6%;
		padding-right: 6%;
	}
	
	.inner-post-meta-wrapper,
	.post-meta {
		float: none;
		position: static;
		text-align: center;
	}

	.post-meta li {
		float: none;
		display: inline-block;
	}


	
	#search-panel-wrapper .search-field {
		font-size: 0.6em;
	}
	
	.comment-author-avatar {
		display: none;
	}

	.comment-content-wrapper {
		width: 100%;
	}
	
}