/*
Theme Name: Aina
Theme URI: http://themes.uxbarn.com/wp/aina/
Description: Aina 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: aina
*/


/* 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: 'Crimson Text', serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
}

a,
a:visited {
	color: #050505;
	font-weight: 700;
	text-decoration: none;
	transition: .2s all;
}

a:hover {
	color: #050505;
}

h1, h2, h3, h4, h5, h6 {
	color: #050505;
	font-family: 'Crimson Text', serif;
	font-weight: 600;
	letter-spacing: 0.25px;
	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 #ddd;
}

blockquote {
	color: #050505;
	font-size: 1.2em;
	font-weight: 400;
	margin: 1em 0 2.4em;
	text-align: left;
}

blockquote::before {
	color: #ddd;
	content: '\f347';
	font-family: 'Ionicons';
	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;
}

.no-bg {
	background: none !important;
}



/*** 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 */
	font-style: italic;
	letter-spacing: 0.1px;
	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
================================================== */
.content-width {
	margin: auto;
	width: 1200px;
}

#header-container {
	margin-bottom: 4.5%; /* 60/1200 */
	margin-top: 9%; /* 115/1200 */
	position: relative;
}

.logo-tagline-wrapper {
	float: left;
}

.site-title-heading,
.site-title {
	display: block;
	font-size: 36px;
	font-weight: 400;
	letter-spacing: 0.25px;
	line-height: 1;
	margin-bottom: 0;
}

.tagline {
	color: #888;
	display: block;
	font-size: 16px;
	font-style: italic;
	letter-spacing: .25px;
	text-align: right;
}



/*** Menu ***/
.site-menu {
	position: absolute;
	bottom: 0;
	right: 0;
}

.menu-style {
	font-style: italic;
	letter-spacing: 0.25px;
	list-style: none;
	margin: 0;
}

.menu-style li {
	display: inline;
	margin: 0 0.8em 0 0;
	padding-bottom: 0.8em;
	position: relative;
}

.menu-style li:last-child {
	margin-right: 0;
}

.menu-style > li > a {
	color: #888;
	font-weight: 400;
}

.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;
	font-weight: 600;
}



.sub-menu,
.menu-list .children {
	background: #fff;
	box-sizing: border-box;
	box-shadow: 0 10px 40px #ddd;
	display: none; 
	font-size: 14px;
	font-style: normal;
	letter-spacing: 1px;
	list-style: none;
	margin: 0;
	padding: 2.27em 0;
	position: absolute;
	top: 2.2em;
	left: -40px;
	text-transform: none;
	text-align: left;
	width: 16em;
	z-index: 99;
}

.sub-menu li,
.menu-list .children li {
	left: 0;
	display: block;
	margin: 0 0 0.6em;
	padding: 0 4em 0 3em;
	position: relative;
}

.menu-list .sub-menu a,
.menu-list .children a {
	display: block !important;
	color: #888;
	font-weight: 400;
}

.sub-menu > li:hover > a,
.menu-list .children > li:hover > a {
	color: #050505;
}

.sub-menu .sub-menu,
.menu-list > li > .children .children {
	background: #f8f8f8;
	left: 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: 14px;
	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: -6px;
	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-icon-button {
	display: none;
	font-size: 0.9em;
}

#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: 5em;
	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-style: italic;
	font-weight: 300;
	padding: 0;
	text-align: center;
	width: 80%;
}



/*** Content Area ***/
#main-container {
	background: #f6f6f6;
	margin: auto;
	padding: 5% 0;
	width: 93.3%; /* 1120/1200 */
}

main {
	font-size: 18px; /* base font size for content area */
	margin: 0 -3.6%;
}

.blog-list {
	font-size: 0; /* hack solution for fixing unwanted space between inline-block elements */
	margin-left: -1.6%;
	margin-right: -1.6%;
	text-align: center;
}

.blog-list .post-item {
	box-sizing: border-box;
	display: inline-block;
	font-size: 18px; /* hack solution for fixing unwanted space between inline-block elements */
	margin: 0 1.5% 5%;
	max-width: 580px;
	width: 46.9%; /* 580/1200 */
	vertical-align: top;
}

.hover-style,
.portfolio-category img,
.portfolio-item:hover img {
	transition: .2s all;
}

.hover-style:hover,
.portfolio-category:hover img,
.portfolio-item:hover img {
	box-shadow: 0 10px 40px #ccc;
}

.blog-list .post-content-container {
	background: #fafafa;
	padding-top: 9%;
	width: 99.9%;
}

.post-content-container {
	box-sizing: border-box;
	padding: 5% 9% 10%;
	text-align: justify;
}

.page .has-featured-image .post-content-container,
.single-post .has-featured-image .post-content-container {
	padding-top: 8%;
}

.no-results-section .post-content-container,
.search-result-list .post-content-container {
	padding-bottom: 5%;
	text-align: center;
}

.no-results-section .search-field,
.search-result-list .search-field {
	display: block;
	margin: 0 auto 3%;
}

.single .post-content-container,
.page .post-content-container,
.content-section-wrapper {
	margin: auto;
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 6%;
	width: 57%; /* 685/1200 */
}

.content-section-wrapper {
	margin-bottom: 6%;
	padding: 0;
}

.content-section-wrapper:last-child {
	margin-bottom: 0;
}

.post-image {
	background: #efefef;
	max-width: 1200px;
}

.post-image img {
	display: block;
	margin: auto;
	opacity: 0; /* will be set to visible in the JS code */
	vertical-align: top;
}

.post-title,
.section-title {
	font-size: 1.44em; /* 26/18 */
	font-weight: 600;
	letter-spacing: 0.25px;
	margin-bottom: 1.59em; /* ~35/22 */
	text-align: center;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}

.post-title a,
.section-title a {
	font-weight: 600;
}

.blog-list .post-title {
	font-size: 1.22em; /* 22/18 */
}

.section-title {
	font-size: 1.22em;
	margin-bottom: 0.8em;
}

.section-content {
	text-align: justify;
}

.post-intro {
	color: #666;
	font-size: 1.16em;
	font-style: italic;
	letter-spacing: 0.1px;
	line-height: 1.33em;
	margin: 0 auto 2em;
	text-align: center;
	width: 75%;
}

.post-title.has-intro {
	margin-bottom: 1.2em;
}

.post-title::after,
.post-intro::after {	
	border-bottom: 1px solid #050505;
	content: '';
	display: block;
	margin: auto;
	padding-bottom: 0.81em; /* ~18/22 */
	width: 80%;
	max-width: 115px;
}

.post-intro::after {
	padding-bottom: 1.4em;
}

.post-content-wrapper {
	margin-bottom: 6.8%; /* 40/580 */
}

.post-meta-wrapper,
.meta-others {
	clear: both;
	font-size: 0.66em; /* 12/18 */
	letter-spacing: 1px;
	padding: 0.66em 0; /* 12/18 */
	overflow: hidden;
	text-align: center;
	text-transform: uppercase;
}

.post-meta-wrapper a {
	font-weight: 400;
}

.post-meta {
	list-style: none;
	margin: 0;
}

.post-meta li {
	display: inline-block;
	margin: 0;
}

.post-meta li::after {
	content: '/';
	margin: 0 8px;
}

.post-meta li:last-child::after {
	display: none;
}

.post-categories-tags-wrapper {
	clear: both;
	margin-top: 10%;
	text-align: center;
}

.meta-others {
	left: 0;
	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;
}

.author-social {
	font-size: 1.07em;
	list-style: none;
	margin: 0;
	overflow: hidden;
	text-align: center;
}

.author-social li {
	display: inline-block;
	line-height: 1;
	margin: 0 6px;
}

.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: 6%;
}

.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%;
}

.pingback .comment-content-wrapper {
	width: 100%;
}

.comment-meta a {
	border: 0;
	font-weight: 400;
	padding-bottom: 0;
}

.comment-author,
.comment-author a {
	font-weight: 600;
	margin-bottom: 3px;
}

.comment-date {
	font-size: 0.66em;
	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 #ddd !important;
	font-size: 0.8em;
	font-weight: 400 !important;
	letter-spacing: 0.5px;
	padding: 0.4em 0.9em;
}

#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 #ddd;
	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 #ddd;
	border-top: 1px solid #ddd;
	font-size: 14px;
	letter-spacing: 1px;
	margin-bottom: -1px;
	overflow: hidden;
	padding: 1.625em 0;
	text-transform: uppercase;
}

.comment-navigation a {
	border: 1px solid #ddd;
	font-weight: 400;
	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';
}

.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: 2%;
}

.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: 700;
}

.numbers-pagination .current {
	color: #ccc;
}

.numbers-pagination .next,
.numbers-pagination .prev {
	font-size: 1.2em;
	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 {
	clear: both;
	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: #fafafa;
	box-sizing: border-box;
	font-size: 1.14em;
	margin: 2% auto;
	overflow: hidden;
	padding: 4% 7%;
	position: relative;

	transition: .2s all;
}

.nav-previous {
	float: left;
	margin-right: 0.6em;
}

.nav-next {
	float: right;
	margin-left: 0.6em;
}

.nav-title-icon-wrapper {
	font-size: 1.25em;
	vertical-align: middle;
}

.nav-previous .nav-title-icon-wrapper {
	margin-right: 0.6em;
}

.nav-next .nav-title-icon-wrapper {
	margin-left: 0.6em;
}

.nav-title {
	font-weight: 600;
	letter-spacing: 0.25px;
}

.nav-subtitle {
	display: block;
	font-size: 0.6em;
	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;
}



/*** 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: 175px;
	overflow: hidden;
	position: relative;
	width: 30%;
}

.search-result-list article .post-content-container {
	background: #fafafa;
	box-sizing: border-box;
	float: left;
	padding: 5% 8%;
	text-align: justify;
	width: 70%;
}

.search-result-list article .post-title {
	font-size: 1.22em;
	margin-bottom: 0.4em;
	text-align: left;
}

.search-result-list .post-title::after {
	display: none;
}

.search-result-list article .post-content-container.no-featured-image {
	width: 100%;
}

.search-result-list article .post-content-wrapper {
	margin-bottom: 0;
}

/*** Archive ***/
.archive-list .top-section {
	display: block;
	margin-left: 0;
	margin-right: 0;
	width: 100%;
}

.archive-list .top-section:hover {
	box-shadow: none;
}

.archive-list .top-section .post-content-container {
	background: none;
	padding: 2% 9% 0%;
}

.archive-list .top-section .post-title,
.portfolio-item-list .top-section .post-title {
	font-size: 1em;
	font-weight: 700;
	letter-spacing: 2px;
	margin-bottom: 0.8em;
	text-transform: uppercase;
}

.archive-list .top-section .post-title {
	margin-bottom: 0;
}

.archive-list .top-section .post-title::after {
	display: none;
}



/*** Portfolio ***/
.portfolio-loading-wrapper {
	margin-top: 10%;
	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.9em;
	font-style: italic;
	font-weight: 600;
	letter-spacing: 2px;
	margin-bottom: 0.6em;
	text-align: center;
	text-transform: lowercase;
}

.loading-bar {
	background: #ccc;
	height: 1px;
	position: relative;
}

.progress-bar {
	background: #050505;
	position: absolute;
	height: 1px;
	width: 0;
	transition: all 500ms cubic-bezier(0.230, 1.000, 0.320, 1.000); /* easeOutQuint */
}

.portfolio-list-styles {
	text-align: center;
}



/*** Portfolio Categories & Items ***/
.page-template-template-portfolio #main-container,
.tax-uxbarn_portfolio_tax #main-container {
	height: 30vh;
}

.inner-portfolio-list {
	font-size: 0; /* hack solution for fixing unwanted space between inline-block elements */
}

.portfolio-category,
.portfolio-item {
	display: inline-block;
	font-size: 18px; /* hack solution for fixing unwanted space between inline-block elements */
	vertical-align: top;
}

.portfolio-category,
.portfolio-item,
.portfolio-item-list .top-section {
	opacity: 0;
	visibility: hidden;
}

.portfolio-category,
.col3 .portfolio-item {
	margin: 0 3.3% 2% 0; /* 40, 25/1200 */
	width: 31.1%; /* 373/1200 */
}

.portfolio-item,
.col2 .portfolio-category {
	margin: 0 3% 2% 0;
	width: 48.4%; /* 580/1200 */
}

.full-width .portfolio-item {
	width: 100%;
}

.col3 .portfolio-category:nth-child(3n+3),
.col2 .portfolio-category:nth-child(2n+2),
.col3 .portfolio-item:nth-child(3n+3),
.col2 .portfolio-item:nth-child(2n+2),
.portfolio-category:last-child,
.portfolio-item:last-child {
	margin-right: 0;
}

.portfolio-category-title,
.portfolio-item-title {
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.portfolio-category-title,
.col3 .portfolio-item-title {
	font-size: 0.66em; /* 12/18 */
}

.portfolio-item-title,
.col2 .portfolio-category-title {
	font-size: 0.77em;
}

.portfolio-category a,
.portfolio-category img,
.portfolio-item a,
.portfolio-item img {
	display: block;
}

.portfolio-category img,
.col3 .portfolio-item img {
	margin: 0 auto 12px;
}

.portfolio-item img,
.col2 .portfolio-category img {
	margin: 0 auto 25px;
}



.portfolio-item-list .post-content-container {
	padding-top: 2%;
	padding-bottom: 4%;
}



.portfolio-category-selector {
	font-size: 0.78em;
	list-style: none;
	margin: auto;
	text-align: center;
	width: 300px;
}

.portfolio-category-selector li {
	margin: 0;
	position: relative;
}

.portfolio-category-selector > li > a {
	color: #050505;
	font-weight: 400;
	letter-spacing: 1px;
	padding-bottom: 1.5em;
}

.portfolio-category-selector > li > a::after {
	content: '\f35f';
	font-family: 'Ionicons';
	font-size: 1em;
	margin-left: 0.6em;
	position: relative;
	top: 2px;
}


.portfolio-categories {
	background: #fff;
	box-sizing: border-box;
	box-shadow: 0 10px 40px #ccc;
	display: none;
	font-size: 1em;
	letter-spacing: 1px;
	line-height: 1.6;
	list-style: none;
	padding: 2.27em 0;

	/* absolute centering */
	position: absolute;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;

	top: 120%;
	text-align: center;
	text-transform: none;
	width: 16em;
	z-index: 999;
}

.portfolio-categories li {
	left: 0;
	display: block;
	margin: 0 0 0.6em;
	padding: 0 3.63em;
	position: relative;
}

.portfolio-categories a {
	display: block !important;
	color: #888;
	font-weight: 400;
}

.portfolio-categories > li:hover > a {
	color: #050505;
}

.portfolio-categories .portfolio-categories {
	background: #333;
	left: 80%;
	top: -2.27em;
}



/*** Portfolio Single ***/
.port-format-item {
	margin-bottom: 10%;
	text-align: center;
}

.video-wrapper {
	max-width: 100%;
}

.post-content .video-wrapper {
	margin-bottom: 1.6em;
}

.image-wrapper,
.port-format-item.video-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 a,
.image-wrapper img {
	display: inline-block;
	vertical-align: top;
}

.image-caption,
.fancybox-title {
	box-sizing: border-box;
	font-family: inherit;
	font-size: 0.92em;
	font-style: italic;
	margin: 1.15em auto 0;
	text-align: center;
	width: 48%;
}

.post-password-form {
	margin-bottom: 1.6em;
	text-align: center;
}



/*** Copyright & Social Icons ***/
.copyright-social-wrapper {
	font-size: 12px;
	letter-spacing: 1px;
	text-align: center;
	text-transform: uppercase;
}

.copyright-social-wrapper a {
	font-weight: 700;
}

.inner-copyright-social-wrapper {
	box-sizing: border-box;
	background: #f6f6f6;
	margin: auto;
	padding: 5%;
	width: 93.3%; /* 1120/1200 */
}



.social-icon-wrapper {
	margin-top: 1em;
}

.social-icons {
	font-size: 16px;
	list-style: none;
	margin: 0;
	overflow: hidden;
}

.social-icons a {
	border: 0;
	padding: 0;
}

.social-icons li {
	margin-left: 12px;
	display: inline;
}

.social-icons li:first-child {
	margin-left: 0;
}



/* #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.56em 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-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;
}

.fancybox-next:hover,
.fancybox-prev:hover {
	opacity: 1;
}

.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-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;
	background: #fff;
	color: #888;
	font-size: 16px;
	font-style: italic;
	letter-spacing: 0.25px;
	margin: auto;
}

.inner-theme-widget-area {
	box-sizing: border-box;
	padding: 7% 0 3%;
	width: 100%;
	max-width: 1200px;
}

.theme-widget-area a {
	border: 0;
	color: #050505;
	font-weight: 700;
}

.widget-title {
	color: #050505;
	font-size: 1.125em;
	font-style: normal;
	font-weight: 600;
	margin-bottom: 2.4em;
	padding: 0 15%;
	position: relative;
}

.widget-title::after {
	border-top: 1px solid;
	content: '';
	position: absolute;
	left: 0;
	bottom: -1em;
	width: 100%;
}

.widget-title > a {
	border: 0;
	padding: 0;
}

.widget-column {
	float: left;
	margin-bottom: 0;
	width: 100%;
}

.widget-column:last-child {
	margin-right: 0;
}

.widget-item li:last-child,
.widget-item table:last-child {
	margin-bottom: 0;
}

.widget-item-content {
	padding: 0 15%;
}

.widget-column:first-child .widget-title,
.widget-column:first-child .widget-item-content {
	padding-left: 30%;
	padding-right: 0;
}

.widget-column:last-child .widget-title,
.widget-column:last-child .widget-item-content {
	padding-left: 0;
	padding-right: 30%;
}

/* 1 column */
.widget-item {
	overflow: hidden;
	padding-bottom: 6%;
	max-width: 100%;
}

.w12.widget-column .widget-title,
.w12.widget-column .widget-item-content {
	padding-left: 20%;
	padding-right: 20%;
}

/* 2 columns */
.w6.widget-column {
	width: 50%; 
}

.w6 .widget-item {
	padding-bottom: 10%;
}

.w6.widget-column:first-child .widget-title,
.w6.widget-column:first-child .widget-item-content {
	padding-left: 20%;
	padding-right: 10%;
}

.w6.widget-column:last-child .widget-title,
.w6.widget-column:last-child .widget-item-content {
	padding-left: 10%;
	padding-right: 20%;
}

/* 3 columns */
.w4.widget-column {
	width: 33%;
}

.w4 .widget-item {
	padding-bottom: 15%;
}

/* 4 columns */
.w3.widget-column {
	width: 25%;
}

.w3 .widget-item {
	padding-bottom: 20%;
}


/*** WP Widgets ***/
.widget_categories > .widget-item-content > ul,
.widget_archive > .widget-item-content > ul,
.widget_recent_entries > .widget-item-content > ul,
.widget_pages > .widget-item-content > ul,
.widget_meta > .widget-item-content > ul,
.widget_recent_comments > .widget-item-content > ul,
.widget_rss > .widget-item-content > ul,
.widget_nav_menu .menu {
	list-style: none;
	margin: 0;
}

.widget_recent_entries .post-date {
	display: block;
	font-size: 11px;
	font-style: normal;
	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: 1300px) {

	.content-width {
		width: 1000px;
	}

	.blog-list .post-content-container {
		padding: 12%;
	}

}

@media only screen and (max-width: 1100px) {

	.content-width {
		width: 900px;
	}

	.blog-list .post-content-container {
		padding: 12% 15%;
	}

	.single .post-content-container, 
	.page .post-content-container, 
	.content-section-wrapper {
		width: 65%;
	}

}

@media only screen and (max-width: 950px) {

	.content-width {
		width: 800px;
	}

	.blog-list .post-item {
		display: block;
		margin: 0 auto 6.4%;
		width: 580px;
	}

	.blog-list .post-content-container {
		padding: 9% 9% 10%;
	}

}

@media only screen and (max-width: 850px) {

	/* 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 */
	}



	.menu-style {
		display: none;
	}

	#mobile-menu {
		display: inline-block;
	}



	.content-width {
		width: 95%;
	}

	#header-container {
		margin-top: 5%;
	}

	.logo-tagline-wrapper {
		float: none;
		margin-bottom: 3%;
		text-align: center;
	}

	.tagline {
		text-align: center;
	}

	.site-menu {
		position: static;
		text-align: center;
	}

	.next-prev-post-navigation {
		font-size: 1em;
	}

	.single .post-content-container, 
	.page .post-content-container, 
	.content-section-wrapper {
		width: 70%;
	}

	.copyright-social-wrapper {
		width: 100%;
	}

	.search-icon-button {
		margin-left: 15px;
		vertical-align: middle;
	}



	#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%;
	}

	.widget-column .widget-title, 
	.widget-column .widget-item-content {
		padding: 0 !important;
	}

	.post-title, 
	.section-title {
		font-size: 1.3em;
	}

}

@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: 4%;
	}

	.nav-next {
		margin-top: 4%;
	}
	
}

@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 */
	}


	#search-panel-wrapper {
		font-size: 3em;
	}
	
	#search-panel-wrapper .search-field {
		font-size: 0.7em;
	}



	.portfolio-category, 
	.portfolio-item,
	.blog-list .post-item {
		display: block;
		margin: 0 auto 8%;
		width: 100%;
	}

	.blog-list {
		margin-left: 0;
		margin-right: 0;
	}

	.single .post-content-container, 
	.page .post-content-container, 
	.content-section-wrapper {
		width: 80%;
	}

	.image-caption, .fancybox-title {
		width: 70%;
	}

}

@media only screen and (max-width: 400px) {

	#search-panel-wrapper .search-field {
		font-size: 0.6em;
	}
	
	.comment-author-avatar {
		display: none;
	}

	.comment-content-wrapper {
		width: 100%;
	}

	blockquote {
		font-style: italic;
		margin-left: 0;
	}
	
	blockquote::before {
		display: none;
	}
	
	blockquote p {
		margin-left: 0;
	}
	
	blockquote p:first-child {
		margin-top: 0;
	}
	


	.single .post-content-container, 
	.page .post-content-container, 
	.content-section-wrapper {
		width: 85%;
	}

	.post-intro {
		width: 85%;
	}

}