/*
Theme Name: Themify Ultra
Theme URI: http://themify.me/themes/ultra
Version: 1.9.9
Description: Created by <a href="http://www.themify.me">Themify</a>.
Author: Themify
Author URI: http://www.themify.me
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Copyright: (c) Themify.
Tags: themify, featured-images, translation-ready, custom-menu, sidebar
Text Domain: themify
Recommended Plugins: woocommerce, themify-portfolio-post, builder-countdown, builder-progress-bar, builder-counter, builder-contact, builder-woocommerce, builder-timeline, builder-image-pro, builder-typewriter, builder-maps-pro, builder-pricing-table, builder-slider-pro

---------

DO NOT EDIT THIS FILE.

If you need to override theme styling, please add custom CSS in Appearance > Customize > Custom CSS or a child theme (https://themify.me/docs/child-theme).
*/

/*----------------------------------------------------------------------------------
TABLE OF CONTENT

1.  Reset
2.  General Styling (default font, color, lists, headings, form elements, etc.)
3.  Structure (page width & layout containers)
4.  Grid (column width)
5.  Header (logo, tagline, social widget, search form, main menu)
6.  Page (page title, author page, pagination)
7.  Post (post layouts & styling, comments, post navigation)
    7.1 Portfolio Post Type
8.  Sidebar
    8.1 Widget Styles
9.  Footer
10. Builder Styling
11. WordPress Formatting
12. Gallery
13. Clear & Alignment
1
----*/

/************************************************************************************
1. RESET
*************************************************************************************/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset, figure {
	margin: 0;
	padding: 0;
}

img, fieldset,a {
	border: 0;
}
/* set img max-width */
img {
	max-width: 100%;
	height: auto;
}
/* ie 8 img max-width */
.ie8 img { width: auto;}

/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

/* audio */
audio {
	max-width: 100%;
}

/* iframes and objects max-width (for embed media) */
iframe, object, embed {
	max-width: 100%;
}

/************************************************************************************
2. GENERAL STYLING
*************************************************************************************/
@font-face {
	font-family: 'themify_theme_icon';
	src: url('data:application/octet-stream;base64,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') format('woff');
}
body {
	font: 1em/1.85em 'Open Sans', "Arial", sans-serif;
	word-wrap: break-word;
	color: #666;
	-webkit-font-smoothing: antialiased;
	-ms-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
/* iOS fix body fixed background */
.iphone:before {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	pointer-events: none;
}
a {
	text-decoration: none;
	outline: none;
	color: #ed1e24;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}
a:hover {
	text-decoration: underline;
}
p {
	padding: 0;
	margin: 0 0 1.4em;
}
small {
	font-size: 87%;
}
blockquote {
	font-size: 1.2em;
	line-height: 1.4em;
	padding: .8em 2em 1em;
	margin: 0 0 1.2em;
	position: relative;
}
blockquote:before {
	content: '\201C';
	font-size: 3.3em;
	position: absolute;
	margin-left: -.5em;
	margin-top: .2em;
}
ins {
	text-decoration: none;
}

/* LIST
================================================ */
ul, ol {
	margin: 0 0 1.4em 1.6em;
	padding: 0;
}
li {
	margin: 0 0 1em 0;
	padding: 0;
}

/* HEADINGS
================================================ */
h1, h2, h3, h4, h5, h6 {
	line-height: 1.4em;
	margin: 0 0 .4em;
	word-wrap: normal;
	font-weight: normal;
	color: #000;
}
h1 {
	font-size: 3.2em;
	letter-spacing: .1em;
	text-transform: uppercase;
	font-weight: 300;
}
h2 {
	font-size: 2.9em;
	letter-spacing: -.035em;
	margin: 0 0 .7em;
	font-weight: 300;	
}
h3 {
	font-size: 1.6em;
	margin: 0 0 .5em;
	line-height: 1.6em;
	letter-spacing: -.01em;
	font-weight: 300;
}
h4 {
	font-size: 1.2em;
	letter-spacing: .1em;
	line-height: 1.6em;
	margin: .7em 0 .7em;
	text-transform: uppercase;
	font-weight: 500;
}
h5 {
	font-size: 1.2em;
	line-height: 1.7em;
}
h6 {
	font-size: 1.1em;
}

/* FORM
================================================ */
/* form input */
input, textarea, select, input[type=search], button {
	font-size: 100%;
	font-family: inherit;
	max-width: 100%;
}
textarea, input[type=text], input[type=password], input[type=search], input[type=email], input[type=url], input[type=number], input[type=tel], input[type=date], input[type=datetime], input[type=datetime-local], input[type=month], input[type=time], input[type=week] {
	border: 1px solid #bdbdbd;
	padding: .7em .5em;
	margin: 0 1em .4em 0;
	max-width: 100%;
	-webkit-appearance: none;
	color: #5b6270;
}
input[type=text], input[type=password], input[type=search], input[type=email], input[type=url], input[type=tel] {
	max-width: 24.3em;
	width: 100%;
}
input[type=number] {
	width: 7em;
}
textarea {
	width: 100%;
	min-height: 13.5em;
	margin: 0;
}
select {
	padding: .7em;
}

/* form input:focus */
textarea:focus, input[type=text]:focus, input[type=password]:focus, input[type=search]:focus, input[type=email]:focus, input[type=url]:focus, input[type=number]:focus, input[type=tel]:focus, input[type=date]:focus, input[type=datetime]:focus, input[type=datetime-local]:focus, input[type=month]:focus, input[type=time]:focus, input[type=week]:focus {
	outline: none;
}

/* form button */
input[type=reset], input[type=submit], button {
	background-color: #ed1e24;
	color: #fff;
	border: none;
	padding: .7em 1.4em;
	cursor: pointer;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: .065em;
	-webkit-appearance: none;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

/* form input:hover */
input[type=reset]:hover,
input[type=submit]:hover,
button:hover {
	background-color: #000;
	color: #fff;
}

/************************************************************************************
3. STRUCTURE
*************************************************************************************/
/* set general layout containers box-sizing */
img, textarea, input, #pagewrap, .pagewidth, #headerwrap, #header, #main-nav, #main-nav ul a, .sidemenu, .header-bar, #body, #layout, #content, .post, .post-content, .author-box, .post-nav, .post-nav .prev, .post-nav .next, .pagenav, #sidebar, .widget, #footerwrap, #footer, .col4-1, .col4-2, .col4-3, .col3-1, .col3-2, .col2-1 {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.tf-hide {
	display: none;
}

/* main page width */
.pagewidth,
.full_width .themify_builder_row .row_inner {
	width: 1160px;
	max-width: 100%;
	margin: 0 auto;
}
.full_width .themify_builder_row.fullwidth .row_inner {
	width: 100%;
}

/* body (middle container) */
#body {
	max-width: 100%;
	clear: both;
}

/* content */
#content {
	width: 71%;
	padding: 5.75% 0;
}

.sidebar-none #content {
	width: 100%;
	float: none;
}

/* sidebar */
#sidebar,
#sidebar-alt {
	padding: 5.75% 0 10%;
	font-size: .9em;
	line-height: 1.8em;
}
#sidebar {
	width: 24%;
}
#sidebar .secondary {
	width: 47%;
}

/* sidebar2 */
body:not(.sidebar2):not(.sidebar-none):not(.sidebar-left):not(.full_width) #content {
	float: left;
}
.sidebar2 #layout {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-flow: row nowrap;
	flex-flow: row nowrap;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}
body:not(.sidebar2):not(.sidebar-left) #sidebar {
	float: right;
}
.sidebar2 #layout:after {
	display: none;
}
.sidebar2.content-right #layout {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	-ms-flex-direction: row-reverse;
	flex-direction: row-reverse;
}
.sidebar2:not(.content-left):not(.content-right) #sidebar-alt {
	-webkit-box-ordinal-group: 0;
	-ms-flex-order: -1;
	order: -1;
}
.sidebar2 #sidebar-alt {
	width: 15%;
}
.sidebar2 #sidebar {
	width: 24%;
}
.sidebar2 #content {
	width: 51%;
}

/* full_width content */
.full_width #layout {
	width: 100%;
	max-width: 100%;
}
.full_width #content {
	padding: 0;
	width: auto;
	max-width: 100%;
	float: none;
}
.full_width #sidebar {
	width: auto;
	float: none;
}

/* sidebar left */
.sidebar-left #content {
	float: right;
}
.sidebar-left #sidebar {
	float: left;
}

/************************************************************************************
4. GRID
*************************************************************************************/
.col4-1,
.col4-2,
.col4-3,
.col3-1,
.col3-2,
.col2-1 {
	margin-left: 3.2%;
	float: left;
}
.col4-1 {
	width: 22.6%;
}
.col4-2, .col2-1 {
	width: 48.4%;
}
.col4-3 {
	width: 74.2%;
}
.col3-1 {
	width: 31.2%;
}
.col3-2 {
	width: 65.6%;
}
.col.first,
.col4-1.first,
.col4-2.first,
.col4-3.first,
.col3-1.first,
.col3-2.first,
.col2-1.first {
	margin-left: 0;
	clear: left;
}

/************************************************************************************
5. HEADER
*************************************************************************************/
#headerwrap {
	color: #000;	
	background-color: #fafafa;
	border-bottom: 1px solid rgba(0,0,0,.1);
	position: relative;
	width: 100%;
	min-height: 55px;
	z-index: 999;
	top: 0;
	left: 0;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;	
}
/*Header slider image for object-fit*/
#headerwrap img.headerwrap-bg,
#headerwrap img.headerwrap-bg-deletable {
	position: absolute; 
	top: 0; 
	left: 0; 
	right: 0; 
	bottom: 0; 
	margin: auto; 
	width:100%;
	height:100%;
	opacity:0;
	object-fit:cover;
}
body.fixed-header.page-loaded #headerwrap {
	position: absolute;
}
body.no-fixed-header #pagewrap,
body:not(.page-loaded) #pagewrap {
	padding-top: 0 !important; /* prevent header jumps when sticky header JS fails */
}
#header {
	position: relative;
	text-align: center;
	padding: 2em 0;
	overflow: visible; /* required to prevent menu dropdown hidden */
	z-index: 1;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}
.iphone #headerwrap {
	background-attachment: scroll !important;
}

/* header widget */
.header-widget {
	clear: both;
	font-size: .9em;
	height: 100%;
}
.header-widget .widget {
	margin: 2.5em 0 2em;
}
.header-widget .widgettitle {
	margin: 0 0 .8em;
	font-size: 1.1em;
	color: inherit;
}

/* site logo */
#site-logo {
	margin: .5em auto .6em;
	padding: 0;
	line-height: 1.2em;
	font-weight: 300;
	font-size: 2.6em;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: .055em;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
#site-logo a {
	text-decoration: none;
	color: inherit;
}
#site-logo a:hover {
	text-decoration: none;
}
/* sticky header logo */
#headerwrap #sticky_header_logo, /* hide sticky header logo */
#headerwrap #fixedheaderheaderwrapsitelogoa,
#headerwrap.fixed-header #sticky_header_logo,
#headerwrap.fixed-header #sticky_header_logo + span,
#headerwrap.fixed-header #sticky_header_logo + img,
#headerwrap #fixedheaderheaderwrapsitelogoa + img,
#headerwrap #fixedheaderheaderwrapsitelogoa ~ #sticky_header_logo {
	display: none;
}
#headerwrap.fixed-header #sticky_header_logo,
#headerwrap.fixed-header #fixedheaderheaderwrapsitelogoa {
	display:block;
}
.no-shrinking-logo #headerwrap.fixed-header #site-logo img {
	max-height: none;
	height: auto;
}

/* site description */
#site-description {
	margin: 0 0 1.8em;
	padding: 0;
	font-size: .95em;
	line-height: 110%;
	opacity: .7;
}
#site-description p {
	padding: 0;
}

/* social widget */
#headerwrap .social-widget strong {
	display: none;
}
.social-widget {
	display: inline-block;
	margin: 0;
	vertical-align: middle;
}
.social-widget a {
	text-decoration: none;
	color: inherit;
}
.social-widget a:hover {
	text-decoration: none;
}
.social-links .icon-medium i {
	border-radius: 100%;
	padding: .25em;
	margin-right: 0;
	width: 1em;
	height: 1em;
	line-height: 1em;
}
.social-widget .widget {
	display: inline-block;
	margin: 0 0 1em;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
}
.social-widget .widget div {
	display: inline;
}
.social-widget .widgettitle {
	width: auto;
	font-weight: bold;
	font-size: 100%;
	font-family: inherit;
	text-transform: none;
	letter-spacing: 0;
	position: static;
	display: inline-block;
	vertical-align: middle;
	margin: 0 .5em 0 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
}
.social-widget ul {
	margin: 6px 0 0 !important;
	padding: 0;
	display: inline;
}
.social-widget .social-links.horizontal li {
	padding: 0 2px 5px 0;
	margin: 0 7px 2px 0;
	display: inline-block;
	border: none !important;
	clear: none;
	line-height: 100%;
}
.social-widget li img {
	vertical-align: middle;
	margin-top: -3px;
}
.social-links li i {
	border-radius: 100%;
	padding: .25em;
	margin-right: .25em;
	width: 1.1em;
	height: 1.1em;
	line-height: 1.1em;
}
/* rss */
.social-widget div.rss {
	margin-right: 3px;
	display: inline-block;
	vertical-align: middle;
}
.social-widget div.rss a {
	display: inline-block;
	font-size: 20px;
	color: inherit;
	border-radius: 100%;
	padding: .3em;
	line-height: 1.0em;
	height: 1.0em;
	width: 1.0em;
	text-align: center;
}
.social-widget div.rss a:before {
	content: "\f09e"; /* fa-rss */
	font-family: 'themify_theme_icon';
	font-style: normal;
	font-weight: normal;
	text-decoration: inherit;
}

/* search form */
#searchform-wrap {
	display: inline-block;
	vertical-align: middle;
	margin: 0 0 1em .2em;
}
#headerwrap #searchform {
	position: relative;
	margin: 0 0 0 3px;
	z-index: 1;
	width: 34px;
}
#headerwrap #searchform #s {
	background: transparent;
	border-radius: 5em;
	border: none;
	color: #fff;
	margin: 0;
	padding: 6px 15px 6px 35px;
	width: 1px;
	height: 34px;
	-webkit-transition: width .7s, background .7s;
	-moz-transition: width .7s, background .7s;
	transition: width .7s, background .7s;
}
#headerwrap #searchform #s:focus,
#headerwrap #searchform #s:hover,
#headerwrap #searchform .icon-search:hover + #s {
	width: 140px;
	background-color: #000;
}
#headerwrap #searchform .icon-search:before {
	content: "\e808"; /* fa-search */
	color: #fff;
	font-family: 'themify_theme_icon';
	font-size: 19px;
	font-style: normal;
	background-color: #000;
	border-radius: 100%;
	padding: .3em;
	position: absolute;
	z-index: 1;
	width: 1.1em;
	height: 1.1em;
	line-height: 1.2em;
	margin: 1px 0 0 0;
}

/* main navigation */
span#main-nav {
	display: inline-block;
	height: 48px;
}
#main-nav {
	margin: 0;
	padding: 0;
}
#main-nav ul {
	width: 210px;
}
#main-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
	display: inline-block;
}

#main-nav li.themify-widget-menu {
	min-width: 155px;
}

/* main level link */
#main-nav a {
	color: inherit;
	display: block;
	padding: .6em;
	margin: 0;
	text-decoration: none;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
/* main level link :hover */
#main-nav a:hover {
	color: #ed1e24;
}

/* current link */
#main-nav .current_page_item > a,
#main-nav .current-menu-item > a {
	color: #ed1e24;
}

/* sub-levels link */
#main-nav ul {
	font-size: .95em; /* make overall dropdown font size smaller */
	line-height: 1.45em;
}
#main-nav ul a {
	font-weight: normal;
	text-transform: none;
	text-align: left;
	padding: 0.4em 1.4em;
	margin: 0;
	display: block;
	background: none;
	border: none;
	text-shadow: none;
	border-radius: 0;
	box-shadow: none;
}

/* set both dropdown and mega container bg to have consistent bg */
#main-nav li:not(.themify-widget-menu) > ul,
#main-nav .has-mega-sub-menu .mega-sub-menu,
#main-nav .has-mega-column > .sub-menu {
	background-color: #fff;	
}

/* set both dropdown and mega links so they have consistent color */
#main-nav ul a,
#main-nav .mega-menu-posts a {
	color: #484848;
}
#main-nav ul a:hover,
#main-nav .mega-menu-posts a:hover {
	color: #ed1e24;
}

/* dropdown ul */
#main-nav li:not(.themify-widget-menu) > ul {
	margin: 0;
	padding: .6em 0;
	list-style: none;
	border: 1px solid rgba(138, 138, 138, 0.35);
	position: absolute;
	z-index: 100;
	display: none;
	display: block;
	opacity: 0;
	left: -.3em;
	top: 100%;
	-webkit-transform: scale(1,0);
	-moz-transform: scale(1,0);
	transform: scale(1,0);
	-webkit-transform-origin: top;
	-moz-transform-origin: top;
	transform-origin: top;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}
#main-nav ul li {
	background: none;
	padding: 0;
	margin: 0;
	float: none;
	display: block;
}
/* sub-levels dropdown */
#main-nav li:not(.themify-widget-menu) > ul ul {
	left: 100%;
	top: -.65em;
}
/* show dropdown ul */
.no-touch #main-nav li:hover > ul {
	display: block;
	opacity: 1;
	-webkit-transform: scale(1,1);
	-moz-transform: scale(1,1);
	transform: scale(1,1);
}
#main-nav .dropdown-open > .sub-menu {
	opacity: 1 !important;
	-webkit-transform: none !important;
	-moz-transform: none !important;
	transform: none !important;
}
#main-nav .has-mega-column > .sub-menu .sub-arrow {
	display: none;
}
#main-nav .sub-arrow {
    border-radius: 100%;
	padding: 0 7px;
	margin-left: 7px;
}
#main-nav .sub-arrow:hover {
    background: rgba(214,214,214,.4);
}

/* Edge Menu */
#main-nav li.edge > ul {
	left: auto;
    right: 0;
}
#main-nav ul li.edge > ul {
	left: auto;
    right: 100%;
}

/* mega menu */
#main-nav li:not(.has-mega-column).dropdown-columns-2 > .sub-menu {
	width: 400px; /* about 2x dropdown width */
}
#main-nav li:not(.has-mega-column).dropdown-columns-3 > .sub-menu {
	width: 540px; /* about 3x dropdown width */
}
#main-nav li:not(.has-mega-column).dropdown-columns-4 > .sub-menu {
	width: 680px; /* about 4x dropdown width */
}
#main-nav li:not(.has-mega-column).dropdown-columns-2 > .sub-menu > li,
#main-nav li:not(.has-mega-column).dropdown-columns-3 > .sub-menu > li,
#main-nav li:not(.has-mega-column).dropdown-columns-4 > .sub-menu > li {
	float: left;
	width: 50%;
	box-sizing: border-box;
}
#main-nav li:not(.has-mega-column).dropdown-columns-3 > .sub-menu > li {
	width: 33.32%;
}
#main-nav li:not(.has-mega-column).dropdown-columns-4 > .sub-menu > li {
	width: 25%;
}
#main-nav li:not(.has-mega-column).dropdown-columns-2 > .sub-menu > li:nth-child(2n+1),
#main-nav li:not(.has-mega-column).dropdown-columns-3 > .sub-menu > li:nth-child(3n+1),
#main-nav li:not(.has-mega-column).dropdown-columns-4 > .sub-menu > li:nth-child(4n+1) {
	clear: left;
}
#main-nav {
	position: relative;
}
#main-nav .has-mega-sub-menu,
#main-nav .has-mega-column,
#main-nav .has-mega-column ul,
#main-nav li.menu-item-object-tbuilder_layout_part {
	position: static;
}
#main-nav .has-mega-sub-menu .mega-sub-menu,
#main-nav .has-mega-column > .sub-menu,
#main-nav li.menu-item-object-tbuilder_layout_part > .sub-menu {
	color: #484848;
	border: 1px solid rgba(138, 138, 138, 0.35);
	display: none;
	margin: 0;
	list-style: none;
	padding: 5px;
	position: absolute;
	z-index: 100;
	width: 100%;
	left: 0;
	top: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: block;
	opacity: 0;
	-webkit-transform: scale(1,0);
	-moz-transform: scale(1,0);
	transform: scale(1,0);
	-webkit-transform-origin: top;
	-moz-transform-origin: top;
	transform-origin: top;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}
#main-nav .has-mega-sub-menu .mega-sub-menu {
	min-height: 210px;
	max-height: 70vh;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
#main-nav .has-mega-sub-menu .mega-sub-menu ul {
	width: 15.8%;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	position: static;
	float: left;
	background: none;
    box-shadow: none;
	border: none;
	padding: 0;
	padding-bottom: 2em;
	margin: 1em 0;
	opacity: 1;
	-webkit-transform: none;
	-moz-transform: none;
	transform: none;
}
#main-nav .has-mega-sub-menu .mega-sub-menu > ul li {
	display: block;
}
#main-nav .has-mega-sub-menu .mega-sub-menu > ul a {
	width: auto;
	display: block;
    padding: .75em 1.4em .25em;
	position: relative;
}
#main-nav .has-mega-sub-menu:hover .mega-sub-menu,
#main-nav .has-mega-sub-menu:hover .mega-sub-menu > ul {
	display: block;
	opacity: 1;
	-webkit-transform: scale(1,1);
	-moz-transform: scale(1,1);
	transform: scale(1,1);
}
#main-nav .mega-sub-menu li a:after {
	content: '';
	display: none;
	width: 10px;
	height: 10px;
	border: solid transparent;
	border-width: 1px;
	border-top-color: #000;
	border-right-color: #000;
	margin-top: -2px;
	position: absolute;
	top: 50%;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	transform: rotate(45deg);
	right: 22px;
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
	display: inline-block;
	opacity: 0;
}
#main-nav .mega-sub-menu li:hover a:after {
	opacity: 1;
	display: inline-block;
}
#main-nav li.mega-link.loading:before {
	content: "\f110"; /* fa-spinner */
	font-family: 'themify_theme_icon';
	-webkit-animation: fa-spin 2s infinite linear;
	animation: fa-spin 2s infinite linear;
	position: absolute;
	top: 10px;
	right: 40px;
	z-index: 99;
}

/* mega menu posts */
#main-nav .mega-menu-posts {
	width: 80.4%;
	padding: 0 0 0 2em;
	float: left;
	border-left: solid 1px rgba(191, 191, 191, 0.35);
	margin: 1em 0;
	box-sizing: border-box;
}
#main-nav .mega-menu-posts {
	width: 80.4%;
	padding: 0 0 0 2em;
	float: left;
	border-left: solid 1px rgba(191, 191, 191, 0.35);
	margin: 1em 0;
	box-sizing: border-box;
}
#main-nav .mega-menu-posts .post {
	width: 17.6%;
	float: left;
	margin: 0 0 3% 3%;
	clear: none;
}
#main-nav .mega-menu-posts .post:nth-of-type(5n+1) {
	margin-left: 0;
}
#main-nav .mega-menu-posts .post-image {
	 margin: 0 0 .6em;
}
#main-nav .mega-menu-posts .post-image img {
	height: auto;
	width: 100%;
}
#main-nav .mega-menu-posts .post-title {
	font-size: .9em;
	font-weight: normal;
	text-transform: none;
	line-height: 1.45em;
	margin: 0;
	padding: 0;
}
#main-nav .mega-menu-posts .post a {
	letter-spacing: -.0275em;
	text-transform: none;
	padding: 0;
}
#main-nav .mega-menu-posts .post del {
	opacity: .5;
	font-size: .85em; /* for woocommerce */
}

/* mega column */
#main-nav .has-mega-column > .sub-menu,
#main-nav li.menu-item-object-tbuilder_layout_part > .sub-menu {
	padding: 2% 3% 3%;
	max-height: 70vh;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	text-align: left;
}
#main-nav .has-mega-column > .sub-menu li {
	display: block;
}
#main-nav .has-mega-column > .sub-menu a {
	background: none;
	padding: .55em 0;
	width: 100%;
}
#main-nav .has-mega-column .widget {
	margin: 0 0 .5em;
	font-size: .95em;
}
#main-nav .has-mega-column .widget h1,
#main-nav .has-mega-column .widget h2,
#main-nav .has-mega-column .widget h3,
#main-nav .has-mega-column .widget h4,
#main-nav .has-mega-column .widget h5,
#main-nav .has-mega-column .widget h6 {
	color: inherit;
}
#main-nav .has-mega-column .widgettitle,
#main-nav .has-mega-column > .sub-menu > .columns-sub-item > a {
	font-size: 1.05em;
	font-weight: 600;
	line-height: 1.6em;
	margin: 0 0 .5em;
	padding: 0;
	text-decoration: none;
	letter-spacing: 0;
	text-transform: none;
}
#main-nav .has-mega-column .widgettitle:before { /* hide widget title bottom border */
	display: none;
	margin: 0;
	padding: 0;
}
#main-nav .has-mega-column > .sub-menu > li {
	float: left;
	margin-left: 0;
	line-height: 1.7em;
	padding-left: 2.5%;
	box-sizing: border-box;
}
body:not(.header-leftpane):not(.header-rightpane):not(.header-minbar):not(.header-overlay):not(.header-slide-out) #main-nav .has-mega-column > .sub-menu > li:first-child {
	padding-left: 0;
	margin-left: 0;
}
body:not(.header-leftpane):not(.header-rightpane):not(.header-minbar):not(.header-overlay):not(.header-slide-out) #main-nav .has-mega-column.layout-auto > .sub-menu > li:first-child:nth-last-child(2),
body:not(.header-leftpane):not(.header-rightpane):not(.header-minbar):not(.header-overlay):not(.header-slide-out) #main-nav .has-mega-column.layout-auto > .sub-menu > li:first-child:nth-last-child(2) ~ li {
	width: 50%;
}
body:not(.header-leftpane):not(.header-rightpane):not(.header-minbar):not(.header-overlay):not(.header-slide-out) #main-nav .has-mega-column.layout-auto > .sub-menu > li:first-child:nth-last-child(3),
body:not(.header-leftpane):not(.header-rightpane):not(.header-minbar):not(.header-overlay):not(.header-slide-out) #main-nav .has-mega-column.layout-auto > .sub-menu > li:first-child:nth-last-child(3) ~ li {
	width: 33.33%;
}
body:not(.header-leftpane):not(.header-rightpane):not(.header-minbar):not(.header-overlay):not(.header-slide-out) #main-nav .has-mega-column.layout-auto > .sub-menu > li:first-child:nth-last-child(4),
body:not(.header-leftpane):not(.header-rightpane):not(.header-minbar):not(.header-overlay):not(.header-slide-out) #main-nav .has-mega-column.layout-auto > .sub-menu > li:first-child:nth-last-child(4) ~ li {
	width: 25%;
}
body:not(.header-leftpane):not(.header-rightpane):not(.header-minbar):not(.header-overlay):not(.header-slide-out) #main-nav .has-mega-column.layout-auto > .sub-menu > li:first-child:nth-last-child(5),
body:not(.header-leftpane):not(.header-rightpane):not(.header-minbar):not(.header-overlay):not(.header-slide-out) #main-nav .has-mega-column.layout-auto > .sub-menu > li:first-child:nth-last-child(5) ~ li {
	width: 20%;
}
body:not(.header-leftpane):not(.header-rightpane):not(.header-minbar):not(.header-overlay):not(.header-slide-out) #main-nav .has-mega-column.layout-auto > .sub-menu > li:first-child:nth-last-child(6),
body:not(.header-leftpane):not(.header-rightpane):not(.header-minbar):not(.header-overlay):not(.header-slide-out) #main-nav .has-mega-column.layout-auto > .sub-menu > li:first-child:nth-last-child(6) ~ li {
	width: 16.66%;
}
body:not(.header-leftpane):not(.header-rightpane):not(.header-minbar):not(.header-overlay):not(.header-slide-out) #main-nav .has-mega-column.layout-auto > .sub-menu > li:first-child:nth-last-child(7),
body:not(.header-leftpane):not(.header-rightpane):not(.header-minbar):not(.header-overlay):not(.header-slide-out) #main-nav .has-mega-column.layout-auto > .sub-menu > li:first-child:nth-last-child(7) ~ li {
	width: 16.66%;
}
body:not(.header-leftpane):not(.header-rightpane):not(.header-minbar):not(.header-overlay):not(.header-slide-out) #main-nav .has-mega-column.layout-auto > .sub-menu > li:first-child:nth-last-child(8),
body:not(.header-leftpane):not(.header-rightpane):not(.header-minbar):not(.header-overlay):not(.header-slide-out) #main-nav .has-mega-column.layout-auto > .sub-menu > li:first-child:nth-last-child(8) ~ li {
	width: 25%;
}
body:not(.header-leftpane):not(.header-rightpane):not(.header-minbar):not(.header-overlay):not(.header-slide-out) #main-nav .has-mega-column.layout-auto > .sub-menu > li:first-child:nth-last-child(9),
body:not(.header-leftpane):not(.header-rightpane):not(.header-minbar):not(.header-overlay):not(.header-slide-out) #main-nav .has-mega-column.layout-auto > .sub-menu > li:first-child:nth-last-child(9) ~ li {
	width: 33.33%;
}
body:not(.header-leftpane):not(.header-rightpane):not(.header-minbar):not(.header-overlay):not(.header-slide-out) #main-nav .has-mega-column.layout-auto > .sub-menu > li:first-child:nth-last-child(10),
body:not(.header-leftpane):not(.header-rightpane):not(.header-minbar):not(.header-overlay):not(.header-slide-out) #main-nav .has-mega-column.layout-auto > .sub-menu > li:first-child:nth-last-child(10) ~ li {
	width: 20%;
}
body:not(.header-leftpane):not(.header-rightpane):not(.header-minbar):not(.header-overlay):not(.header-slide-out) #headerwrap.fixed-header #main-nav .has-mega-column .sub-menu li li,
body:not(.header-leftpane):not(.header-rightpane):not(.header-minbar):not(.header-overlay):not(.header-slide-out) #main-nav .has-mega-column .sub-menu li li {
	padding: 0;
}

#main-nav .has-mega-column.layout-4-8 > .sub-menu > li,
#main-nav .has-mega-column.layout-8-4 > .sub-menu > li:nth-child(2n) {
	width: 33.33%;
}
#main-nav .has-mega-column.layout-4-8 > .sub-menu > li:nth-child(2n),
#main-nav .has-mega-column.layout-8-4 > .sub-menu > li {
	width: 66.66%;
}
#main-nav .has-mega-column.layout-4-8 > .sub-menu > li:nth-child(2n+1),
#main-nav .has-mega-column.layout-8-4 > .sub-menu > li:nth-child(2n+1),
#main-nav .has-mega-column.layout-6-3-3 > .sub-menu > li:nth-child(3n+1),
#main-nav .has-mega-column.layout-3-3-6 > .sub-menu > li:nth-child(3n+1),
#main-nav .has-mega-column.layout-3-6-3 > .sub-menu > li:nth-child(3n+1),
#main-nav .has-mega-column.layout-3-9 > .sub-menu > li:nth-child(2n+1),
#main-nav .has-mega-column.layout-9-3 > .sub-menu > li:nth-child(2n+1) {
	padding-left: 0;
	clear: left;
}
#main-nav .has-mega-column.layout-6-3-3 > .sub-menu > li,
#main-nav .has-mega-column.layout-3-3-6 > .sub-menu > li,
#main-nav .has-mega-column.layout-3-6-3 > .sub-menu > li,
#main-nav .has-mega-column.layout-3-9 > .sub-menu > li,
#main-nav .has-mega-column.layout-9-3 > .sub-menu > li:nth-child(2n) {
	width: 25%;
}
#main-nav .has-mega-column.layout-6-3-3 > .sub-menu > li:nth-child(3n+1),
#main-nav .has-mega-column.layout-3-3-6 > .sub-menu > li:nth-child(3n),
#main-nav .has-mega-column.layout-3-6-3 > .sub-menu > li:nth-child(3n+2) {
	width: 50%;
}
#main-nav .has-mega-column.layout-3-9 > .sub-menu > li:nth-child(2n),
#main-nav .has-mega-column.layout-9-3 > .sub-menu > li {
	width: 75%;
}

#main-nav .has-mega-column > .sub-menu > li > ul,
#main-nav .has-mega-column > .sub-menu > li > ul ul {
	background: none;
	border: none;
	box-shadow: none;
	padding: 0;
	margin: 0;
	display: block;
	position: static;
	opacity: 1;
	-webkit-transform: none;
	-moz-transform: none;
	transform: none;
	width: auto !important;
}
#main-nav .has-mega-column > .sub-menu > li.dropdown-columns-2 > ul:after,
#main-nav .has-mega-column > .sub-menu > li.dropdown-columns-3 > ul:after,
#main-nav .has-mega-column > .sub-menu > li.dropdown-columns-4 > ul:after {
	content: "";
	display: block;
	clear: both;
}
#main-nav .has-mega-column > .sub-menu > li > ul ul {
	padding-left: 1em;
}
.no-touch #main-nav .has-mega-column:hover .mega-column-wrapper,
.no-touch #main-nav .has-mega-column:hover .mega-column-wrapper ul {
	display: block !important;
}

/* mobile menu icon */
.header-icons,
#menu-icon-close {
	display: none; /* will toggle on mobile */
}
.header-icons a,
.header-icons a:hover {
	color: inherit;
	text-decoration: none;
}
.transparent-header .header-icons a {
	color: #fff;
}
#headerwrap .header-icons > * {
	vertical-align: middle;
}
.slide-cart .header-icons {
	min-width: 75px;
	text-align: right;
}
#cart-icon {
	margin-left: 8px;
}
#menu-icon {
	display: inline-block;
	text-decoration: none;
	margin: 0;
	line-height: 1em;
}
.menu-icon-inner {
	border-bottom: 2px solid;
	box-sizing: border-box;
	display: inline-block;
	position: relative;
	width: 1.25em;
	height: 1em;
	overflow: hidden;
	vertical-align: middle;
}
.menu-icon-inner:before,
.menu-icon-inner:after {
	content: '';
	display: block;
	border-top: 2px solid;
	position: absolute;
	left: 0;
	width: 100%;
	transition: all .7s ease;
	transition-property: transform;
}
.menu-icon-inner:before {
	top: 0;
}
.menu-icon-inner:after {
	top: 50%;
}
#headerwrap #menu-icon-close {
	-webkit-transform: rotateZ(0deg);
	-moz-transform: rotateZ(0deg);
	transform: rotateZ(0deg);
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
#headerwrap #menu-icon-close:hover {
	-webkit-transform: rotateZ(90deg);
	-moz-transform: rotateZ(90deg);
	transform: rotateZ(90deg);
}
body.mobile-menu-visible {
    position: relative;
}
.body-overlay {
    display: none;
    background-color: rgba(255,255,255,.7);
    width: 100%;
    height: 100%;
    position: fixed;
    right: 300px;
    top: 0;
    z-index: 1000;
    box-shadow: inset -1px 0 13px rgba(0,0,0,.13)
}
.body-overlay.body-overlay-on {
    display: block; /* fix for Windows phone */
}

/* fixed-header */
#headerwrap.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: height .3s;
    background-color: rgba(250, 250, 250, .9);
}
.admin-bar #headerwrap.fixed-header {
	margin-top: 32px;
}
body.fixed-header.page-loaded #headerwrap.fixed-header {
    position: fixed; /* prevent snappy sticky header */
}
.iphone #headerwrap.fixed-header {
	transition: none;
}
#headerwrap.fixed-header .header-bar,
#headerwrap.fixed-header .social-widget,
#headerwrap.fixed-header #searchform-wrap,
#headerwrap.fixed-header .header-widget {
	display: none; /* hide unnecessary elements in fixed-header */
}
#headerwrap.fixed-header #header {
	padding-top: 5px;
	padding-bottom: 5px;
	-webkit-transition: none !important;
	transition: none !important;
}
#headerwrap.fixed-header #site-description {
	display: none;
}
#headerwrap.fixed-header #main-nav {
	margin: 0;
	padding: 0;
	position: static; /* prevent users to override with absolute position */
}
#headerwrap.fixed-header #main-nav li {
	padding-top: 0;
	padding-bottom: 0;
}

/* transparent-header */
.transparent-header #headerwrap {
	border: none;
	background: none; /* required for transparent-header */
	color: #fff;
	position: absolute; /* required */
	top: 0;
	left: 0;
}
.transparent-header #headerwrap .themify-widget-menu {
	color: #666;
}
.transparent-header #pagewrap {
	padding-top: 0 !important;
}
.transparent-header #content {
	padding: 0;
}

/* prevent transparent header overlap builder */
.transparent-header.themify_builder_active #pagewrap {
	padding-top: 0 !important;	
}
.transparent-header.themify_builder_active #headerwrap {
	position: static !important;	
	color: inherit;
}
.transparent-header.themify_builder_active #headerwrap a {
	color: inherit;
}
.transparent-header #headerwrap #searchform .icon-search:before {
	color: #fff;
}
.transparent-header #headerwrap.fixed-header {
	background-color: rgba(0, 0, 0, .7);
}
.transparent-header.header-block.themify_builder_active #pagewrap {
	padding-top: 430px !important; /* required for builder frontend */
}

/* header pull down */
.pull-down {
	display: inline-block;
	text-decoration: none;
	position: relative;
	width: 20px;
	height: 15px;
	border-bottom: 2px solid;
	overflow: hidden;
	margin-left: 15px;
	font-size: .9em;
	color: inherit;
}
.pull-down:before {
	top: 0;
}
.pull-down:after {
	top: 50%;
}
.pull-down:before,
.pull-down:after {
	content: '';
	display: block;
	border-top: 2px solid;
	position: absolute;
	left: 0;
	width: 100%;
	transition: all .7s ease;
	transition-property: transform;
}
.pull-down-close .pull-down {
	border: none;
	overflow: hidden;
}
.pull-down-close .pull-down:before {
	-webkit-transform: rotateZ(-45deg);
	-moz-transform: rotateZ(-45deg);
	transform: rotateZ(-45deg);
}
.pull-down-close .pull-down:after {
	-webkit-transform: rotateZ(45deg);
	-moz-transform: rotateZ(45deg);
	transform: rotateZ(45deg);
}
.pull-down-close .pull-down:before,
.pull-down-close .pull-down:after {
	top: 45%;
}

/* add spacing if pull-down and cart icon together */
.pull-down + .cart-icon {
	margin-left: 8px;
}

/* header cart icon */
.header-block.slide-cart #main-nav-wrap {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; /* Safari */
	display: flex;
	-webkit-align-items: center; /* Safari 7.0+ */
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	position: relative;
}
.header-block.fixed-header-on.slide-cart #main-nav-wrap,
.header-block.slide-cart #main-nav {
	position: static;
}

/*
HEADER VIDEO BACKGROUND
================================================ */
.big-video-wrap {
	overflow: hidden;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 0;
	position: absolute;
        -moz-user-select: none;
        -webkit-user-select: none;
        user-select: none;
        pointer-events: none;
}
video.tf-video{
    position: absolute;
    display: block;
}
.big-video-image {
	position: absolute;
	z-index: -2;
}
/* Hide semi-transparent border when video and image are enabled so image isn't visible behind the video */
#headerwrap[data-fullwidthvideo][data-bg] {
	border-bottom-width: 0;
	background-size: cover;
}

/*
HEADER FULLHEIGHT
================================================ */
.header-full-height #headerwrap {
	height: 100vh;
	display: table;
}
.header-full-height #header {
	vertical-align: middle;
	display: table-cell;
	width: 100%;
}
.header-full-height #headerwrap #header {
	padding-left: 2%;
	padding-right: 2%;
}
.header-full-height #headerwrap.fixed-header {
	height: auto;
}

/************************************************************************************
HEADER SLIDER
*************************************************************************************/
#headerwrap.header-gallery-ready {
	background: none;
	position: absolute !important;
}
body.header-leftpane #headerwrap.header-gallery-ready,
#headerwrap.fixed-header.header-gallery-ready {
	position: fixed !important;
}
/* gallery controller */
#gallery-controller {
	width: 100px;
	max-width: 100%;
	margin: 0 auto;
	height: 0;
	visibility: hidden;
	position: absolute;
	left: 0;
	width: 100%;
	top: 0;
	z-index: -1;
	height: 100% !important;
}
#gallery-controller .carousel-wrap {
	position: absolute !important;
	top: auto;
	bottom: 20px;
	left: 50%;
	min-width: 65px;
	margin-left: -32px;
	z-index: 2;
}
#gallery-controller .carousel-wrap .caroufredsel_wrapper {
	min-height: 18px;
}

/* slider general style */
#gallery-controller .slider {
	padding-bottom: 10px;
	display: inline-block;
	width: 100%;
	height: 100%;
}
#gallery-controller .slider .slides {
	margin: 0;
	padding: 0;
	line-height: 84%;
	text-align: center !important;
	padding-top: 5px;
}
#gallery-controller .slider .slides li {
	list-style: none;
	float: left;
	display: inline-block;
	margin: 0 6px;
}
#gallery-controller .slider-dot {
	width: 4px;
	height: 4px;
	display: block;
	margin: 0 auto;
	border-radius: 20px;
	border: solid 2px #fff;
	background-color: transparent;
	transition: all 0.3s ease-in-out;
}
#gallery-controller li:hover .slider-dot,
#gallery-controller .current-slide .slider-dot {
	background-color: #fff;
	box-shadow: 0 0 0 2px rgba(255,255,255,1);
}

/* carousel nav */
#gallery-controller .slider .carousel-nav-wrap {
	text-align: center;
	margin: 10px 0 5px;
}
#gallery-controller .slider .carousel-arrow {
	display: inline-block;
	z-index: 100;
}
#gallery-controller .carousel-nav-wrap a {
	text-indent: -999em;
	line-height: 1em;
	margin: -21px 0 0;
	width: 72px;
	height: 72px;
	text-decoration: none;
	position: absolute;
	top: 50%;
	left: 0;
}
#gallery-controller a.carousel-next {
	right: 0;
	left: auto;
}
#gallery-controller .carousel-nav-wrap a:before {
	font: normal 32px/1em 'themify_theme_icon';
	color: #fff;
	text-indent: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 1em;
	height: 1em;
	margin: -.5em 0 0 -.5em;
	-webkit-transition: all .2s linear;
	transition: all .2s linear;
}
#gallery-controller a.carousel-prev:before {
	content: "\e803"; /* ti-angle-left */
}
#gallery-controller a.carousel-next:before {
	content: "\e802"; /* ti-angle-right */
}
#gallery-controller .carousel-nav-wrap a:hover:before {
	font-size: 52px;
}

/* carousel pager */
#gallery-controller .carousel-pager {
	clear: both;
	text-align: center;
	margin: 10px 0;
}
#gallery-controller .carousel-pager a {
	text-indent: -900em;
	width: 12px;
	height: 12px;
	margin: 0 5px;
	background-color: #fff;
	border-radius: 10em;
	cursor: pointer;
	display: inline-block;
	box-shadow: 0 0 0 2px rgba(255,255,255,0);
}
#gallery-controller .carousel-pager a.selected {
	background: none;
	box-shadow: 0 0 0 2px rgba(255,255,255,1);
}
.header-horizontal #gallery-controller .slider .carousel-nav-wrap,
.header-leftpane #gallery-controller .slider .carousel-nav-wrap,
.header-minbar #gallery-controller .slider .carousel-nav-wrap,
.header-horizontal #gallery-controller .slider-dot,
.header-leftpane #gallery-controller .slider-dot,
.header-minbar #gallery-controller .slider-dot {
	display: none;
}
.fixed-header-on #gallery-controller .slider .carousel-nav-wrap,
.fixed-header-on #gallery-controller .slider-dot {
	display: none;
}

.fixed-header-on #headerwrap .backstretch {
	height: 61px !important; /* required to fix header slider on fixed-header */
}

.header-gallery.header-gallery-ready #header {
	padding-left: 72px;
	padding-right: 72px;
}

/*
HEADER BACKGROUND MODE
================================================ */
/* best fit */
#headerwrap > .backstretch img.best-fit {
	max-width:100% !important;
	max-height:100% !important;
	top:0 !important;
	right:0 !important;
	bottom:0 !important;
	left:0 !important;
	margin:auto !important;
	width:auto !important;
	height:auto !important;
}
#headerwrap > .backstretch img.best-fit-vertical {
	height:100% !important;
}
#headerwrap > .backstretch img.best-fit-horizontal {
	width:100% !important;
}

/* fullcover */
#headerwrap > .backstretch img.fullcover-left-top {
	top:0 !important;
	bottom:auto !important;
	left:0 !important;
	right:auto !important;
}
#headerwrap > .backstretch img.fullcover-left-center {
	left:0 !important;
	right:auto !important;
}
#headerwrap > .backstretch img.fullcover-left-bottom {
	top:auto !important;
	bottom:0 !important;
	left:0 !important;
	right:auto !important;
}
#headerwrap > .backstretch img.fullcover-right-top {
	top:0 !important;
	bottom:auto !important;
	left:auto !important;
	right:0 !important;
}
#headerwrap > .backstretch img.fullcover-right-center {
	left:auto !important;
	right:0 !important;
}
#headerwrap > .backstretch img.fullcover-right-bottom {
	top:auto !important;
	bottom:0 !important;
	left:auto !important;
	right:0 !important;
}
#headerwrap > .backstretch img.fullcover-center-top {
	top:0 !important;
	bottom:auto !important;
}
#headerwrap > .backstretch img.fullcover-center-center {}
#headerwrap > .backstretch img.fullcover-center-bottom {
	top:auto !important;
	bottom:0 !important;
}

/************************************************************************************
6. PAGE
*************************************************************************************/
/* page title */
.page-title {
	margin: 0 0 0.938em;
	padding: 0;
	font-size: 2.8em;
	line-height: 110%;
}

/*
AUTHOR PAGE
================================================ */
.author-bio {
	margin: 0 0 2em;
	overflow: hidden;
}
.author-bio .author-avatar {
	float: left;
	margin: 0 15px 0 0;
}
.author-bio .author-avatar img {
	background-color: #fff;
	padding: 5px;
	border: solid 1px #ccc;
}
.author-bio .author-name {
	margin: 0 0 .5em;
	padding: 0;
	font-size: 1.6em;
}
.author-posts-by {
	margin: 0 0 1.5em;
	padding: 1em 0 0;
	font-size: 1.4em;
	text-transform: uppercase;
	border-top: solid 4px #ccc;
	border-color: rgba(118,118,118,.3);
}

/*
PAGINATION
================================================ */
.pagenav {
	clear: both;
	padding-bottom: 20px;
	text-align: right;
}
.pagenav a {
	text-decoration: none;
}
.pagenav a,
.pagenav span {
   font-size: 1.1em;
   font-weight: bold;
	display: inline-block;
	line-height: 100%;
	margin: 0 1px 0 0;
	min-height: 18px;
	min-width: 24px;
	padding: 6px 0 0;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
}
.pagenav a:hover {
	text-decoration: underline;
}
.pagenav .current {
	border-radius: 100%;
	border: solid 1px rgba(60,60,60,.4);
	padding: 5px 0 0;
	min-width: 30px;
	min-height: 25px;
	margin-top: 10px;
}
.sidebar-none .pagenav {
	text-align: center;
}

/************************************************************************************
7. POST
*************************************************************************************/
/*
GENERIC POST
================================================ */
.post {
	margin-bottom: 5em;
	position: relative;
}

/* post content */
.post-content {
	min-width: 120px;
}

/* post title */
.post-title {
	font-size: 3.6em;
	line-height: 1.4em;
	margin: 0 0 .45em;
	padding: 0;
	text-transform: none;
	letter-spacing: -.025em;
}
.post-title a {
	text-decoration: none;
	color: #000;
}
.post-title a:hover {
	color: #ed1e24;
}

/* post image */
.post .post-image {
	text-align: center;
}

.post-image {
	margin: 0 0 1.5em;
}
.post-image img {
	max-width: 100%;
	width: auto;
	vertical-align: bottom;
}
.post-image.left {
	float: left;
	margin-right: 1em;
}
.post-image.right {
	float: right;
	margin-left: 1em;
}

/* post meta */
.post-meta {
	font-size: .9em;
	line-height: 1.6em;
	margin: 0 0 .8em;
	padding: 0;
	color: #ccc;
	font-weight: 300;
}
.post-meta a {
	text-decoration: none;
	color: #5b6270;
}
.post-meta .post-author:after,
.post-meta .post-category:after,
.post-meta .post-tag:after {
	display: inline-block;
	content: '';
	width: 3px;
	height: 1.5em;
	margin: 0 .35em 0 .5em;
	white-space: nowrap;
	vertical-align: middle;
	border: 1px solid;
	border-top: none;
	border-bottom: none;
	transform: skewX(-15deg);
	opacity: .6;
}

.post-meta .post-comment:after {
	content: '\e804'; /* fa-comment */
	display: inline-block;
	margin: 0 8px;
	font: normal 15px/1 'themify_theme_icon';
	vertical-align: text-top;
	font-size: .8em;
	opacity: .7;
}

/* more link */
.more-link {
	text-decoration: none;
}
.more-link:hover {
	text-decoration: none;
}
.more-link:after {
	content: '\e802'; /* ti-align-right */
	font-family: 'themify_theme_icon';
	padding-left: .5em;
	text-decoration: none;
	font-size: 1.2em;
	vertical-align: bottom;
}

/* post date */
.post-date {
	margin: 0 0 .4em;
	display: block;
	font-size: .8em;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.loops-wrapper.list-post .post-date-wrap:not(.post-date-inline),
.single .post-content .post-date-wrap:not(.post-date-inline) {
	width: 135px;
	height: 135px;
	border-radius: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1em;
}
.loops-wrapper.list-post .has-post-thumbnail .post-date-wrap,
.single .has-post-thumbnail .post-date-wrap {
	position: relative;
	margin-top: -95px;
}
.loops-wrapper.list-post .post-date span,
.single .post-date span {
	display: block;
}
.loops-wrapper.list-post .post-date,
.single .post-content .post-date {
	color: #fff;
	display: block;
	width: 135px;
	height: 135px;
	margin: 0;
	border-radius: 100%;
	background-color: rgba(251,9,48,.8);
	text-align: center;
}
.loops-wrapper.list-post .post-date-wrap:not(.post-date-inline) .post-date,
.single .post-content .post-date-wrap:not(.post-date-inline) .post-date {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; /* Safari */
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-align-items: center; /* Safari 7.0+ */
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
}

.loops-wrapper.list-post .post-date .day,
.single .post-date .day {
	font-size: 42px;
	margin: 0;
	letter-spacing: -.05em;
	line-height: 100%;
}
.loops-wrapper.list-post .post-date .month,
.single .post-date .month {
	font-size: 20px;
	text-transform: uppercase;
	line-height: 100%;
	margin: 0;
}
.loops-wrapper.list-post .post-date .year,
.single .post-date .year {
	font-size: 17px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 500;
	margin: 0;
	line-height: 100%;
}

/* Display post date circle as inline text */
.loops-wrapper.list-post .post-date-inline,
.single-post .post .post-date-inline {
	width: auto;
	height: auto;
	border-radius: 0;
	margin: 0 auto 1em;
}
.loops-wrapper.list-post .has-post-thumbnail .post-date-inline,
.single-post .has-post-thumbnail .post-date-inline {
	position: static;
	margin-top: 0;
	margin-bottom: 0;
}
.loops-wrapper.list-post .post-date-inline .post-date,
.single-post .post-content .post-date-inline .post-date {
	color: inherit;
	width: auto;
	height: auto;
	margin: 0 0 .6em;
	border-radius: 0;
	background: none;
	text-align: inherit;
}
.loops-wrapper.list-post .post-date-inline .post-date span,
.single-post .post-date-inline .post-date span {
	display: inline;
}
.loops-wrapper.list-post .post-date-inline .post-date .year,
.single-post .post-date-inline .post-date .year,
.loops-wrapper.list-post .post-date-inline .post-date .month,
.single-post .post-date-inline .post-date .month,
.loops-wrapper.list-post .post-date-inline .post-date .day,
.single-post .post-date-inline .post-date .day {
	font-size: inherit;
	font-family: inherit;
	text-transform: inherit;
	line-height: inherit;
	display: inline;
}

/* post meta */
.loops-wrapper.list-post .post-meta,
.single .post-meta {
	margin: 0 0 1em;
}
.loops-wrapper.list-post .post-author,
.single .post-author {
	font-size: .9em;
	text-transform: uppercase;
	letter-spacing: .05em;
	font-weight: 400;
}

.single .post-meta,
.single .post-title {
	text-align: center;
}
.single .post-meta:empty,
.single .post-author:empty {
	display: none;
}

/* SINGLE FULLWIDTH IMAGE LAYOUT
================================================ */
.single.single-fullwidth-layout .featured-area {
	margin: 0 0 2.4em;
}
.single.single-fullwidth-layout .featured-area .post-content {
	text-align: center;
}
.single.single-fullwidth-layout .featured-area .post-image + .post-content .post-date-wrap {
	margin-top: -94px;
	position: relative;
}
.single.single-fullwidth-layout #content,
.single.single-fullwidth-layout #sidebar,
.single.single-fullwidth-layout #sidebar-alt {
	padding-top: 8px;
}
.single.single-fullwidth-layout .featured-area .post-image + .post-content .post-date-wrap.post-date-inline {
	margin-top: auto;
	width: auto;
	height: auto;
}
.single.single-fullwidth-layout .featured-area .post-image + .post-content .post-date-wrap.post-date-inline .post-date {
	color: inherit;
	width: auto;
	height: auto;
	margin: 0 0 .6em;
	border-radius: 0;
	background: none;
	text-align: inherit;
}

/* SINGLE GALLERY LAYOUT
================================================ */
.single.single-gallery-layout .featured-area .gallery-wrapper + .post-content .post-date-wrap:not(.post-date-inline) {
	margin-top: -70px;
	position: relative;
	z-index: 1;
}
.single.single-gallery-layout #content,
.single.single-gallery-layout #sidebar {
	padding-top: 8px;
}

/* GALLERY COLUMN */
/* gallery column 1 (display all in one line) */
.gallery-wrapper.gallery-columns-1 .item {
	width: auto;
}
.gallery-wrapper.gallery-columns-1 br {
	display: none !important;
}

/* gallery column 2 */
.gallery-wrapper.gallery-columns-2 .item {
	width: 50%;
}

/* gallery column 3 */
.gallery-wrapper.gallery-columns-3 .item {
	width: 33.3%;
}
/* gallery column 4 */
.gallery-wrapper.gallery-columns-4 .item {
	width: 25%;
}

/* gallery column 5 */
.gallery-wrapper.gallery-columns-5 .item {
	width: 20%;
}

/* gallery column 6 */
.gallery-wrapper.gallery-columns-6 .item {
	width: 16.666%;
}

/* gallery column 7 */
.gallery-wrapper.gallery-columns-7 .item {
	width: 14.285%;
}

/* gallery column 8 */
.gallery-wrapper.gallery-columns-8 .item {
	width: 12.5%;
}

/* gallery column 9 */
.gallery-wrapper.gallery-columns-9 .item {
	width: 11.111%;
}

/* set gallery item margin-right */
.gallery-wrapper.gallery-columns-1 .item,
.gallery-wrapper.gallery-columns-2 .item,
.gallery-wrapper.gallery-columns-3 .item,
.gallery-wrapper.gallery-columns-4 .item,
.gallery-wrapper.gallery-columns-5 .item,
.gallery-wrapper.gallery-columns-6 .item,
.gallery-wrapper.gallery-columns-7 .item,
.gallery-wrapper.gallery-columns-8 .item,
.gallery-wrapper.gallery-columns-9 .item {
	margin: 0;
}

/* clear gallery item margin-right */
.gallery-wrapper.gallery-columns-9 .item:nth-of-type(9n),
.gallery-wrapper.gallery-columns-8 .item:nth-of-type(8n),
.gallery-wrapper.gallery-columns-7 .item:nth-of-type(7n),
.gallery-wrapper.gallery-columns-6 .item:nth-of-type(6n),
.gallery-wrapper.gallery-columns-5 .item:nth-of-type(5n),
.gallery-wrapper.gallery-columns-4 .item:nth-of-type(4n),
.gallery-wrapper.gallery-columns-3 .item:nth-of-type(3n),
.gallery-wrapper.gallery-columns-2 .item:nth-of-type(2n) {
	margin-right: 0;
}

/* Masonry Gallery */
.gallery-wrapper.masonry .item .gallery-caption .post-title {
	font-size: 1em;
}
.gallery-wrapper.masonry .item .gallery-item-wrapper {
	overflow: hidden;
}
.gallery-wrapper.masonry .item .gallery-item-wrapper .gallery-caption {
	background-color: #000;
	background: rgba(38,31,61,.8);
	margin: 0;
	height: 100%;
	text-align: center;	
}
.gallery-wrapper.masonry .item .gallery-caption .post-category a, 
.gallery-wrapper.masonry .item .gallery-caption .post-title a {
	color: #FFF;
}

/* gallery item */
.gallery-wrapper .item {
	background-color: inherit;
	display: block;
	float: left;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
.gallery-wrapper .item .gallery-item-wrapper {
	display: block;
	position: relative;
	height: 100%;
	margin: 0;
	padding: 0;
}
.gallery-wrapper .item img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	-webkit-backface-visibility: hidden;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
}
.gallery-wrapper .item .gallery-item-wrapper .gallery-caption {
	display: block;
	visibility: hidden;
	position: absolute;
	top: 20%;
	padding: 15% 6%;
	width: 100%;
	text-align: center;
	color: inherit;
	font-size: 0.9em;
	line-height: 120%;
	margin: .25em 0 0;
	opacity: 0;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.gallery-wrapper .item:hover .gallery-caption {
	color: #fff;
	display: block;
	visibility: visible;
	top: 0;
	opacity: 1;
}

/* gallery caption content */
.gallery-wrapper .item .gallery-caption .post-title {
	font-size: 1.65em;
	margin-top: .5em;
	color: inherit;
}
.gallery-wrapper .item .gallery-caption .post-category {
	font-size: .85em;
	font-weight: 500;
	margin-top: .25em;
	text-decoration: none;
	color: inherit;
}
.gallery-wrapper .item .gallery-caption .post-category:after {
	display: none;
	visibility: hidden;
}
.gallery-wrapper .item .gallery-caption .post-category a,
.gallery-wrapper .item .gallery-caption .post-title a {
	text-decoration: none;
	color: inherit;
}
.gallery-wrapper .item:hover img {
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	transform: scale(1.1);
}

/* SINGLE SLIDER LAYOUT
================================================ */
.single.single-slider-layout .featured-area .single-slider + .post-content .post-date-wrap:not(.post-date-inline) {
    margin-top: -94px;
    position: relative;
	z-index: 999;
}
.single.single-slider-layout .featured-area .caroufredsel_wrapper {
	margin: 0 !important; /* required to override inline js css */
}
.single.single-slider-layout .featured-area .slides > li {
	margin: 0;
	position: relative;
}
.single.single-slider-layout .featured-area .slider.single-slider .carousel-next,
.single.single-slider-layout .featured-area .slider.single-slider .carousel-prev {
	position: absolute;
	top: 50%;
	left: 0;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	overflow: hidden;
    max-width: 32px;
    max-height: 64px;
	font-size: 18px;
	height: 100%;
	width: 100%;
	padding: 0;
}
.single.single-slider-layout .featured-area .slider.single-slider .carousel-next {
	left: auto;
	right: 0;
}
.single.single-slider-layout .featured-area .slider.single-slider .carousel-next:before,
.single.single-slider-layout .featured-area .slider.single-slider .carousel-prev:before {
	background: #fff;
	padding: 22px 8px 22px 4px;
	font: normal 1.3em/1em 'themify_theme_icon';
	content: "\e803"; /* ti-angle-left */
	display: inline-block;
	border: none;
	-webkit-transform: none;
	-moz-transform: none;
	transform: none;
	width: auto;
	height: auto;
}
.single.single-slider-layout .featured-area .slider.single-slider .carousel-next:before {
	content: "\e802"; /* ti-align-right */
}
.single.single-slider-layout .featured-area .carousel-pager {
	position: absolute;
	bottom: 90px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}
.single.single-slider-layout .featured-area .carousel-pager a {
	color: #fff;
}
.single.single-slider-layout .featured-area .carousel-pager a:before {
	opacity: 1;
}
.single.single-slider-layout .featured-area .slide-caption {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	text-align: center;
	width: 100%;
	left: 0px;
	box-sizing: border-box;
	font-size: 1.6em;
	color: rgb(255, 255, 255);
	letter-spacing: -0.01em;
	padding: 0px 50px;
}

/* SINGLE SPLIT LAYOUT
================================================ */
.single.single-split-layout .featured-area {
	width: 50%;
	float: left;
	position: fixed;
	height: 100%;
	box-sizing: border-box;
	top: 0;
	color: #fff;
	background-color: #f7f7f7;
}
.single.single-split-layout .featured-area a {
	color: #fff;
}
.single.single-split-layout #footerwrap,
.single.single-split-layout #layout {
	width: 50%;
	float: right;
	max-width: none;
	display: block !important;
	box-sizing: border-box;
}
.single.single-split-layout #content {
	padding: 2.6em;
}
.single.single-split-layout #footerwrap {
	padding-left: 4%;
	padding-right: 4%;
}
.single.single-split-layout .featured-area .post-image img {
	min-height: 100%;
	height: 100vh;
	object-fit: cover;
}
.single.single-split-layout .featured-area .post-image {
	overflow: hidden;
	height: 100%;
}
.single.single-split-layout .related-posts .post-image img {
	height: auto;
	min-height: initial;
}
.single.single-split-layout .featured-area .post-content {
	color: #fff;
	padding: 2%;
	position: absolute;
	bottom: 0;
	left: 0;
	overflow: hidden;
	width: 100%;
}
.single.single-split-layout .featured-area:before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.3);
	position: absolute;
	bottom: 0;
	left: 0;
}
.single.single-split-layout .featured-area .post-content .post-date-wrap {
	margin-top: auto;
	position: relative;
}
.single.single-split-layout .featured-area .post-content .post-meta,
.single.single-split-layout .featured-area .post-content .post-meta a,
.single.single-split-layout .featured-area .post-content .post-title a {
	color: #fff;
}

/*
LIST POST
================================================ */
.loops-wrapper.list-post .post-title {
	margin-bottom: .5em;
}

/*
GRID4 POST
================================================ */
.loops-wrapper.grid4 .post {
	width: 22.6%;
	margin-left: 3.2%;
	float: left;
	margin-bottom: 2.5em;
	font-size: .9em;
	line-height: 1.7;
}
.loops-wrapper.grid4 .post-title {
	margin: 0 0 .5em;
	padding: 0;
	font-size: 1.3em;
	letter-spacing: normal;
}
.loops-wrapper.grid4 .post-meta {
	font-size: .8em;
}

/*
GRID3 POST
================================================ */
.loops-wrapper.grid3 .post {
	float: left;
	margin-left: 3.2%;
	margin-bottom: 2em;
	width: 31.2%;
}
.loops-wrapper.grid3 .post-title {
	margin: 0 0 .5em;
	padding: 0;
	font-size: 1.5em;
	letter-spacing: normal;
}

/*
GRID2 POST
================================================ */
.loops-wrapper.grid2 .post {
	float: left;
	margin-left: 3.2%;
	margin-bottom: 3em;
	width: 48.4%;
}
.loops-wrapper.grid2 .post-title {
	margin: 0 0 .5em;
	padding: 0;
	font-size: 2em;
	letter-spacing: normal;
}

/*
GRID2-THUMB POST
================================================ */
.loops-wrapper.grid2-thumb .post {
	width: 48.4%;
	margin-left: 3.2%;
	float: left;
	text-align: inherit;
}
.loops-wrapper.grid2-thumb .post-title {
	font-size: 1.9em;
	margin: 0 0 .5em;	
}
.loops-wrapper.grid2-thumb .post-image {
	width: 25%;
	float: left;
	margin: 0 1.6em 1.3em 0;
}
.loops-wrapper.grid2-thumb .post-content {
	overflow: hidden;
	min-width: 120px;
}

/*
CLEAR GRID FLOAT
================================================ */
.loops-wrapper.grid4 .post:nth-of-type(4n+1),
.loops-wrapper.grid3 .post:nth-of-type(3n+1),
.loops-wrapper.grid2 .post:nth-of-type(2n+1),
.loops-wrapper.grid2-thumb .post:nth-of-type(2n+1) {
	margin-left: 0;
	clear: left;
}

.post-filter + .loops-wrapper.masonry-done .post {
	margin-left: 0;
}

/*
LIST-THUMB-IMAGE POST
================================================ */
.loops-wrapper.list-thumb-image .post {
	clear: both; /* require for FF */
	text-align: inherit;
}
.loops-wrapper.list-thumb-image .post-image {
	width: 20%;
	float: left;
	margin: 0 1.4em 1em 0;
}
.loops-wrapper.list-thumb-image .post-image img {
	width: 100%;
}
.loops-wrapper.list-thumb-image .post-content {
	overflow: hidden;
}

/*
LIST-LARGE-IMAGE POST
================================================ */
.loops-wrapper.list-large-image .post {
	text-align: inherit;
}
.loops-wrapper.list-large-image .post-image {
	max-width: 70%;
	float: left;
	margin: 0 2em 1.3em 0;
}

/*
SLIDER POST
================================================ */
.loops-wrapper.slider {
	position: relative;
	margin: 0 0 50px;
}
.loops-wrapper.slideshow-wrap {
	height: 0; /* will be toggled with js */
	visibility: hidden; /* will be toggled with js */
}
.loops-wrapper.slider .post {
	float: left;
	margin: 0 .12% .5em;
	position: relative;
	min-height: 40px;
}
.loops-wrapper.slider .post-image {
	width: auto;
	float: none;
	margin: 0 0 0.5em;
}
.loops-wrapper.slider .post-image img {
	width: 100%;
	vertical-align: bottom;
}
.loops-wrapper.slider .post-image .themify_lightbox .zoom {
	display: none;
}
.loops-wrapper.slider .post-title {
	font-size: 1.25em;
	margin: 0 0 0.313em;
}
.loops-wrapper.slider .post-date {
	margin: 0;
}
.loops-wrapper.slider .post-content {
	width: 100%;
	min-height: 40px;
	padding: 15px 5%;
	margin: 0 auto;
	font-size: .9em;
	line-height: 1.5em;
	text-align: center;
}
.loops-wrapper.slider.overlay  .post-image + .post-content {
	top: 100%;
	bottom: 0;
	left: 0;
	right: 0;
	position: absolute;
	overflow: hidden;
	height: 100%;
	padding: 5%;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}
.loops-wrapper.slider.overlay .post-image + .post-content a {
	color: #fff;
}
.loops-wrapper.slider.overlay .post:hover .post-content {
	top: 0;
	background-color: #000;
	background-color: rgba(0,0,0,.7);
	color: #ddd;
}
.loops-wrapper.slider.no-gutter .post {
	margin-left: 0;
	margin-right: 0;
}

/*
OVERLAY POST
================================================ */
.loops-wrapper.overlay .post-image + .post-content,
.loops-wrapper.polaroid .post-image + .post-content {
	background-color: #000;
	background-color: rgba(0,0,0,.7);
	color: #fff;
	top:100%;
	bottom: 0;
	left: 0;
	right: 0;
	position: absolute;
	overflow: hidden;
	height: 100%;
	padding: 5%;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}
.loops-wrapper.overlay .post-image + .post-content a,
.loops-wrapper.polaroid .post-image + .post-content a {
	color: #fff;
}

.loops-wrapper.overlay .post:hover .post-content,
.loops-wrapper.polaroid .post:hover .post-content {
	top: 0 !important;
}
.loops-wrapper.overlay .post:hover .post-image,
.loops-wrapper.polaroid .post:hover .post-image {
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	transform: scale(1.1);
}
.loops-wrapper.overlay .post-image,
.loops-wrapper.polaroid .post-image,
.loops-wrapper.polaroid .post-meta {
	margin-bottom: 0;
}

.loops-wrapper.overlay .post-image img,
.loops-wrapper.polaroid .post-image img {
	width: 100%;
}
.loops-wrapper.overlay  .post-image + .post-content .post-content-inner {
	width: 100%;
	top: 50%;
	left: 0;
	position: absolute;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	transform: translateY(-50%);
}

/*
POLAROID POST
================================================ */
.loops-wrapper.polaroid .post-image + .post-content {
	top: 75%;
}
.loops-wrapper.slider.polaroid .post-image + .post-content {
	top: 60%;
}
.loops-wrapper.polaroid .disp-cell.valignmid {
	vertical-align: top;
}
#pagewrap .module-post .polaroid .post,
#pagewrap .module-post .overlay .post,
.loops-wrapper.polaroid .post, 
.loops-wrapper.overlay .post {
	overflow: hidden;
	position: relative;
}
.loops-wrapper.polaroid .post:hover .disp-cell.valignmid {
	vertical-align: middle;
}

/* clickable overlays */
.js .loops-wrapper.grid4.polaroid .post-image + .post-content,
.js .loops-wrapper.grid3.polaroid .post-image + .post-content,
.js .loops-wrapper.grid2.polaroid .post-image + .post-content,
.js .loops-wrapper.grid4.overlay .post-image + .post-content,
.js .loops-wrapper.grid3.overlay .post-image + .post-content,
.js .loops-wrapper.grid2.overlay .post-image + .post-content {
	cursor: pointer;
}

/* BOXED POST LAYOUT
================================================ */
.loops-wrapper.boxed .post {
	background-color: #ffffff;
	box-shadow: 0 2px 8px 0px rgba(0,0,0,.1);
	padding-top: 1em;
}
.loops-wrapper.boxed.grid4 .post {
	margin-bottom: 2em;
}
.loops-wrapper.boxed.grid2 .post {
	margin-bottom: 2em;
}
.loops-wrapper.boxed .has-post-thumbnail {
	padding-top: 0;
}
.loops-wrapper.boxed .post-image img {
	width: 100%;
}
.loops-wrapper.boxed .post-content {
	padding: 0 7%;
	box-sizing: border-box;
}

/* FLIP POST LAYOUT
================================================ */
.loops-wrapper.flip .post {
	overflow: visible;
}
.loops-wrapper.flip .post-image {
	margin-bottom: 0;
}
.loops-wrapper.flip .has-post-thumbnail .post-content-inner {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: center;
	justify-content: center;
	height: 100%;
}
.loops-wrapper.flip .post-image + .post-content {
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	position: absolute;
	overflow: hidden;
	width: 100%;
	height: 100%;
	padding: 5%;
	overflow: hidden;
	background-color: #fff;
}
.loops-wrapper.flip .post.has-post-thumbnail {
	perspective: 1000px;
	-webkit-perspective: 1000px;
	-moz-perspective: 1000px;
	-o-perspective: 1000px;
	-ms-perspective: 1000px;
	transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	backface-visibility: visible;
	-webkit-backface-visibility: visible;
	-moz-backface-visibility: visible;
	-o-backface-visibility: visible;
	-ms-backface-visibility: visible;
}
.loops-wrapper.flip .has-post-thumbnail .post-image,
.loops-wrapper.flip .has-post-thumbnail .post-content {
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	-ms-backface-visibility: visible;
	transition: all 1s;
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	-o-transition: all 1s;
	-ms-transition: all 1s;
	transition-property: visibility, transform, opacity;
	-webkit-transition-property: visibility, transform, opacity;
	-moz-transition-property: visibility, transform, opacity;
	-o-transition-property: visibility, transform, opacity;
	-ms-transition-property: visibility, transform, opacity;
}
.loops-wrapper.flip .has-post-thumbnail.post:hover .post-content,
.loops-wrapper.flip .has-post-thumbnail .post-image {
	transform: rotateY(0deg);
	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	-o-transform: rotateY(0deg);
	-ms-transform: rotateY(0deg);
}
.loops-wrapper.flip .has-post-thumbnail .post-content {
	transform: rotateY(-180deg);
	-webkit-transform: rotateY(-180deg);
	-moz-transform: rotateY(-180deg);
	-o-transform: rotateY(-180deg);
	-ms-transform: rotateY(-180deg);
}
.loops-wrapper.flip .has-post-thumbnail.post:hover .post-image {
	transform: rotateY(180deg);
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
}
.loops-wrapper.flip .has-post-thumbnail .post-image,
.loops-wrapper.flip .has-post-thumbnail.post:hover .post-content {
	visibility: visible;
	opacity: 1;
}
.loops-wrapper.flip .has-post-thumbnail .post-content,
.loops-wrapper.flip .has-post-thumbnail.post:hover .post-image {
	visibility: hidden;
	opacity: 0;
}

/*
NO-GUTTER POST
================================================ */
.loops-wrapper.no-gutter.grid4 {
	margin: 0 0 3em;
}
.loops-wrapper.no-gutter.grid4 .post {
	margin: 0;
	width: 25%;
}
.loops-wrapper.no-gutter.grid3 .post {
	margin: 0;
	width: 33.33%;
}
.loops-wrapper.no-gutter.grid2 .post {
	width: 50%;
	margin: 0;
}
.loops-wrapper.no-gutter.list-post .post {
	padding: 0;
	margin: 0;
	width: 100%;
}

/*
GENERAL POST STYLING
================================================ */
.loops-wrapper .post {
	text-align: center; /* make archive post view text center */
}
.loops-wrapper .post-image {
	margin-bottom: 1em;
	position: relative;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

/* required for making post content vertical alignment */
.disp-table {
	display: table;
	width:100%;
	height:100%;
}
.disp-row {
	display: table-row;
}
.disp-cell {
	width: 100%;
	display: table-cell;
	text-align: center;
}
.disp-cell.valignmid {
	vertical-align: middle;
}

/************************************************************************************
AUTHOR BOX
*************************************************************************************/
.author-box {
	margin: 5.5em 0;
	border: none;
}
.author-box .author-avatar {
	float: left;
	margin: 0 2em .3em 0;
}
.author-box .author-name {
	margin: 0 0 .3em;
}

/************************************************************************************
POST PAGINATION (the <nextpage> tag)
*************************************************************************************/
.post-pagination {
	text-align: right;
	margin: .5em 0 2em;
}
.post-pagination strong {
	margin-right: 3px;
}
.post-pagination a {
	margin-left: 3px;
	margin-right: 3px;
}

/************************************************************************************
POST NAVIGATION
*************************************************************************************/
.post-nav {
	margin: 0 0 3.5em;
	padding: 0;
	clear: both;
}
.post-nav .prev,
.post-nav .next {
	width: 47%;
	position: relative;
}
.post-nav .prev {
	float: left;
	padding-left: 2.5em;
}
.post-nav .next {
	float: right;
	text-align: right;
	padding-right: 2.5em;
}
.full_width .post-nav {
	max-width: 1160px;
	margin-left: auto;
	margin-right: auto;
}

/* post nav link */
.post-nav a {
	color: #000;
	display: block;
	font-size: 1.3em;
	font-weight: 200;
	letter-spacing: -.005em;
	text-decoration: none;
}
.post-nav a:hover {
	text-decoration: none;
}

/* post nav arrow */
.post-nav .arrow {
	display: block;
	width: auto;
	float: left;
	height: 1em;
	text-align: center;
	text-decoration: none;
	color: #ed1e24;
}
.post-nav .next .arrow {
	float: right;
}
.post-nav .next .arrow:before,
.post-nav .prev .arrow:before {
	font-family: 'themify_theme_icon';
	font-size: 1.7em;
	color: inherit;
	top: 0;
	position: absolute;
	font-style: normal;
	font-weight: normal;
	text-decoration: none;
}
.post-nav .next .arrow:before {
	content: "\e806"; /* ti-angle-double-right */
}
.post-nav .prev .arrow:before {
	content: "\e805"; /* ti-angle-double-left */
}
.post-nav .prev .arrow:before {
	left: 0;
}
.post-nav .next .arrow:before {
	right: 0;
}
.post-nav a:hover span {
	color: #ed1e24;
}
.post-nav .prev a:hover span:before {
	-webkit-animation: arrow-prev 1s infinite;/* Chrome, Safari, Opera */
	-webkit-animation-timing-function: linear;/* Chrome, Safari, Opera */
	animation: arrow-prev 1s infinite;
	animation-timing-function: linear;
}
.post-nav .next a:hover span:before {
	-webkit-animation: arrow-next 1s infinite; /* Chrome, Safari, Opera */
	-webkit-animation-timing-function: linear; /* Chrome, Safari, Opera */
	animation: arrow-next 1s infinite;
	animation-timing-function: linear;
}

/* post nav animation */
@-webkit-keyframes arrow-prev {
	0% {left: 0;}
	50% {left: -10px;}
	100% {left: 0;}
}
@keyframes arrow-prev {
	0% {left: 0;}
	50% {left: -10px;}
	100% {left: 0;}
}

@-webkit-keyframes arrow-next {
	0% {right: 0;}
	50% {right: -10px;}
	100% {right: 0;}
}
@keyframes arrow-next {
	0% {right: 0;}
	50% {right: -10px;}
	100% {right: 0;}
}

/************************************************************************************
COMMENTS
*************************************************************************************/
.commentwrap {
	margin: 2em 0 1.25em;
	position: relative;
	clear: both;
}

/* comment title */
.comment-title,
.comment-reply-title {
	font-size: 1.5em;
	margin: 0 0 .8em;
	padding: 0;
	font-weight: 300;
	letter-spacing: .015em;
	text-transform: none;
}

/* comment pagenav */
.commentwrap .pagenav {
	margin: 10px 0;
	border: none;
	box-shadow: none;
}
.commentwrap .pagenav.top {
	margin: 0;
	position: absolute;
	top: 0;
	right: 0;
}

/* commentlist */
.commentlist {
	margin: 2em 0 .5em;
}
.commentlist li {
	margin: 0;
	padding: 0 0 .5em;
	list-style: none;
	position: relative;
}
.commentlist .comment-author {
	margin: .2em 0 1em;
	padding: 0;
}
.commentlist .avatar {
	margin: 0 15px 0 0;
	display: inline-block;
	vertical-align: middle;
	border-radius: 100%;
}
.commentlist cite {
	font-style: normal;
	font-size: 1.2em;
	vertical-align: middle;
}
.commentlist cite a {
	text-decoration: none;
}
.commentlist cite:after {
	display: inline-block;
	content: '';
	width: 3px;
	height: 1.5em;
	margin: 0 .35em 0 .5em;
	white-space: nowrap;
	vertical-align: middle;
	border: 1px solid;
	border-top: none;
	border-bottom: none;
	transform: skewX(-15deg);
	opacity: .2;
}
.commentlist .bypostauthor > .comment-author cite:before {
	content: '\e812'; /* fa-bookmark */
	font-family: 'themify_theme_icon';
	font-style: normal;
	font-weight: normal;
	text-decoration: none;
	margin-right: 12px;
}
.commentlist br {
	display: none;
}
.commentlist .comment-time {
	font-size: .8em;
	vertical-align: middle;
}
.commentlist .commententry {
	position: relative;
	min-height: 3em;
	overflow: hidden;
	padding-bottom: .7em;
	word-wrap: break-word;
}
.commentlist ul,
.commentlist ol {
	margin: 0 0 0 6%;
	padding: 0;
}

/* reply link */
.commentlist .reply {
	position: absolute;
	right: 0;
	top: 1.2em;
}
.commentlist .comment-reply-link {
	font-size: .8em;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid;
	padding: .15em 0.9em .2em;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.commentlist .comment-reply-link:hover {
	background-color: #ed1e24;
	color: #fff;
	border-color: #ed1e24;
}

/*
COMMENT FORM
================================================ */
#respond {
	margin: 0;
	padding: 0 0 .5em;
	position: relative;
	clear: both;
}
#respond #cancel-comment-reply-link {
	position: absolute;
	top: .6em;
	right: 0;
	font-size: .8em;
	font-weight: 400;
	line-height: 100%;
	text-decoration: none;
	display: block;
}
#respond #cancel-comment-reply-link:before,
#respond #cancel-comment-reply-link:after {
	content: '';
	display: block;
	border-top: 1px solid;
	width: 20px;
	height: 20px;
	position: absolute;
	left: -34px;
	top: 20%;
	position: absolute;
}
#respond #cancel-comment-reply-link:before {
	-webkit-transform: rotateZ(-45deg);
	-moz-transform: rotateZ(-45deg);
	transform: rotateZ(-45deg);
	left: -20px;
}
#respond #cancel-comment-reply-link:after {
	-webkit-transform: rotateZ(45deg);
	-moz-transform: rotateZ(45deg);
	transform: rotateZ(45deg);
}
#commentform {
	margin: 1.7em 0 0;
}
.full_width .commentwrap {
	max-width: 1160px;
	margin-left: auto;
	margin-right: auto;
}

/************************************************************************************
RELATED POSTS
*************************************************************************************/
.related-posts {
	border-top: 1px solid rgba(0,0,0,.1);
	margin: 0 0 1.6em;
}
.list-post .related-posts .post {
	width: 32%;
	float: left;
	margin: 0 0 3% 2%;
	clear: none;
}
.list-post .related-posts .post:nth-of-type(3n+1) {
	margin-left: 0;
	clear: left;
}
.related-posts .related-title {
	margin: 0 0 1.5em;
	padding: 1em 0 0;
	font-size: 1.1em;
	text-transform: uppercase;
	letter-spacing: .05em;
	font-weight: 600;
}
.related-posts .post-image {
	margin: 0 0 .8em 0;
	min-width: 0;
}

.related-posts .post-meta {
	margin: 0 0 .5em;
	font-size: .73em;
	text-align: left;
	text-transform: uppercase;
	font-weight: normal;
	letter-spacing: .05em;
}
.related-posts .post-meta .post-category:after {
	display: none;
}
.related-posts .post-content {
	overflow: hidden;
}
.related-posts .post-title {
	font-size: 1.45em;
	margin: 0 0 1em;
	line-height: normal;
	font-weight: normal;
	text-align: left;
	font-weight: 300;
}
.full_width .related-posts {
	max-width: 1160px;
	margin: 0 auto 4em;
}

/************************************************************************************
INFINITE SCROLL
*************************************************************************************/
/* disable CSS transitions for containers with infinite scrolling*/
.isotope.infinite-scrolling {
	-webkit-transition: none;
	-moz-transition: none;
	-ms-transition: none;
	-o-transition: none;
	transition: none;
}
#load-more {
	clear: both;
	padding: 50px 0;
	right: 44%;
	text-align: center;
}
.load-more-button {
	padding: 14px 28px;
	text-decoration: none;
	display: inline-block;
}
#infscr-loading {
	position: fixed;
	text-align: center;
	bottom: 50px;
	left: 0;
	width: 100%;
	z-index: 100;
	overflow: hidden;
}
#infscr-loading img {
	padding: 8px;
	border-radius: 9em;
}

/************************************************************************************
MASONRY LAYOUT
*************************************************************************************/
.masonry-done.loops-wrapper.grid4 .post,
.masonry-done.loops-wrapper.grid3 .post,
.masonry-done.loops-wrapper.grid2-thumb .post,
.masonry-done.loops-wrapper.grid2 .post {
	margin-right: 0;
	margin-left: 0;
	-webkit-animation-fill-mode: backwards;
	animation-fill-mode: backwards;
}
.masonry-done.list-thumb-image .grid-sizer,
.masonry-done.list-post .grid-sizer,
.masonry-done.ptb_list-post .grid-sizer {
	width: 100%;
}
.masonry-done.grid4 .grid-sizer,
.masonry-done.ptb_grid4 .grid-sizer {
	width: 22.6%;
}
.masonry-done.grid3 .grid-sizer,
.masonry-done.ptb_grid3 .grid-sizer {
	width: 31.2%;
}
.masonry-done.grid2-thumb .grid-sizer,
.masonry-done.grid2 .grid-sizer,
.masonry-done.ptb_grid2 .grid-sizer {
	width: 48.4%;
}
.masonry-done .gutter-sizer{
	width: 3.19%;
}
.masonry-done.grid4.no-gutter .grid-sizer {
	width: 25%;
}
.masonry-done.grid3.no-gutter .grid-sizer {
	width: 33.3%;
}
.gecko.masonry-done.grid3.no-gutter .grid-sizer {
	width: 33.3332%; /* fix grid3 in Firefox */
}
.masonry-done.grid2-thumb.no-gutter .grid-sizer,
.masonry-done.grid2.no-gutter .grid-sizer {
	width: 50%;
}
.masonry-done.list-post .gutter-sizer,
.masonry-done.no-gutter .gutter-sizer{
	width: 0%;
}

/************************************************************************************
POST VIDEO (css for fluid video)
*************************************************************************************/
.post-video,
.embed-youtube {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	margin-bottom: 15px;
}
.post-video iframe,
.post-video object,
.post-video embed,
.embed-youtube iframe,
.embed-youtube object,
.embed-youtube embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/************************************************************************************
7.1 PORTFOLIO POST TYPE
*************************************************************************************/
.single-portfolio #content {
	padding-top: 0;
}
.project-meta {
	line-height: 1.4em;
}
.project-date,
.project-client,
.project-services,
.project-view {
	border-left: 1px solid rgba(0,0,0,.1);
	color: #ed1e24;
	display: inline-block;
	font-size: 1.2em;
	padding: 0 1em;
	margin: 0 .5em;
	font-weight: 300;
}
.project-date strong,
.project-client strong,
.project-services strong,
.project-view strong {
	color: #000;
	display: block;
	font-size: .6em;
	font-weight: 600;
	letter-spacing: .1em;
	margin-bottom: .4em;
	text-transform: uppercase;
}
.project-client {
	border-left: none;
	padding: 0;
	margin: 0;
}
.single-split-layout .project-date,
.single-split-layout .project-client,
.single-split-layout .project-services,
.single-split-layout .project-view {
	border: none;
	display: block;
	padding: 0;
	margin: 0 0 1em;
}
.single-portfolio .project-meta {
	margin-bottom: 3em;
}
.single-portfolio .post-meta {
	margin: 0 0 .5em;
}
.single-portfolio .post-image {
	margin-bottom: 3em;
}
.single-portfolio .gallery-wrapper {
	margin-bottom: 3em;
}
.single-portfolio .post-meta .post-category:after {
	display: none;
}

/* top feautred area (fullwidth image) */
.featured-area {
	text-align: center;
}
.featured-area img {
	width: 100%;
}

/* Post Filter */
.post-filter {
	text-align: center;
	margin-bottom: 2em;
}
.post-filter li {
	display: inline-block;
	margin: 0 10px;
}
.post-filter li a {
	text-decoration: none;
	text-transform: uppercase;
	position: relative;
	font-weight: bold;
	letter-spacing: 1px;
	font-size: .9em;
	opacity: .8;
}
.post-filter li a:after {
	font-family: 'themify_theme_icon';
	content: "\e800"; /* ti-close */
	font-weight: bold;
	left: 50%;
	position: absolute;
	top: 17px;
	font-size: .6625em; /* 9/16 */
	margin-left: -.5em;
	opacity: 0;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
}
.post-filter li:hover > a {
	opacity: 1;
}
.post-filter li.active a {
	position: relative;
	opacity: 1;
}
.post-filter li.active a:after {
	opacity: 1;
	-webkit-transform:	rotate(360deg);
	-moz-transform:		rotate(360deg);
	transform:			rotate(360deg);
}

/************************************************************************************
8. SIDEBAR
*************************************************************************************/
.widget {
	margin: 0 0 3em;
}
.widgettitle {
	margin: 0 0 1em;
	padding: 0;
	font-size: 1.15em;
	font-weight: 600;
	text-transform: uppercase;
	line-height: 1.3em;
	letter-spacing: .09em;
}
.widget ul {
	margin: 0;
	padding: 0;
}
.widget li {
	margin: 0;
	padding: .4em 0;
	list-style: none;
	clear: both;
}
.widget ul ul {
	margin: .6em 0 -.6em 0;
	padding: 0;
}
.widget ul ul li {
	margin: 0;
	padding-left: 1em;
}

/************************************************************************************
8.1 WIDGET STYLES
*************************************************************************************/
/* calendar widget */
.widget #wp-calendar caption {
	font-weight: bold;
	padding-bottom: 10px;
}
.widget #wp-calendar td {
	width: 31px;
	padding: 4px 2px;
	text-align: center;
}

/* feature posts widget */
.widget .feature-posts-list li {
	padding: 0;
	margin: 0 0 1.5em;
	text-align: left; /* required for footer widget */
}
.widget .feature-posts-list br {
	display: none;
}
.widget .feature-posts-list .post-img {
	margin: 0 1.2em 1em 0;
	float: left;
}
.widget .feature-posts-list small {
	font-style: italic;
	font-size: .85em;
	display: block;
	margin: 0 0 .3em;
}
.widget .feature-posts-list .feature-posts-title {
	margin: 0 0 .4em;
	display: inherit;
	font-size: 1.1em;
	line-height: 1.3em;
	text-decoration: none;
	letter-spacing: .02em;
}
.widget .feature-posts-list .post-excerpt {
	display: block;
	overflow: hidden;
}

/* twitter widget */
.widget .twitter-list li {
	padding: 0;
	margin: 0 0 1.5em;
}
.widget .twitter-list .twitter-timestamp {
	display: block;
	padding-top: .1em;

}
.widget .follow-user {
	margin: 0;
	padding: .5em 0;
}

/* links widget */
.widget .links-list img, .widget_links img {
	vertical-align: middle;
}

/* recent comments widget */
.recent-comments-list .avatar {
	margin-right: 1.2em;
	float: left;
}

/* flickr widget */
.widget .flickr_badge_image {
	display: inline-block;
}
.widget .flickr_badge_image img {
	width: 90px;
	height: 90px;
	display: inline-block;
}

/* search widget */
#sidebar #searchform {
	position: static;
}
#sidebar #searchform #s {
	width: 93%;
}

/* add white bg to facebook badge iframe */
iframe[src*="facebook"] {
	background-color: #fff;
}

/* reset twitter embed max-width to 100% */
#content .twitter-tweet-rendered {
	max-width: 100% !important;
}
#content .twt-border {
	max-width: 100% !important;
	min-width: 180px !important;
}

/* Text widget */
.widget .textwidget ul {
	margin: 0 0 1.4em 1.6em;
}
.widget .textwidget ul li {
	list-style: disc;
}
.widget .textwidget ol li {
	list-style: decimal;
}

/************************************************************************************
9. FOOTER
*************************************************************************************/
#footerwrap {
	clear: both;
	border-top: 1px solid rgba(0,0,0,.1);
	text-align: center;
	padding: 54px 0 2em;
	background-color: #fafafa;
	color: #000;	
}
#footer {
	font-size: .9em;
	line-height: 1.8em;
}

/* back to arrow */
.back-top {
	margin: 0 auto;
	margin-bottom: .6em;
	text-align: center;
	width: 200px;
}
#footer .back-top.back-top-float{
	background-color: rgba(251,9,48,.8);
	border-radius: 100%;
	color: #fff;
	cursor:pointer;
	position: fixed;
	right: 20px;
	bottom: 20px;
	left:auto;
	top:auto;
	width: 44px;
	height: 44px;
	overflow: hidden;
	text-decoration: none;
	text-align: center;
	font-size: 16px;
	opacity: 1;
	visibility: visible;
	-webkit-transition: opacity 200ms ease-in-out 200ms,visibility 0 ease-in-out 1s;
	-moz-transition: opacity 200ms ease-in-out 200ms,visibility 0 ease-in-out 1s;
	-ms-transition: opacity 200ms ease-in-out 200ms,visibility 0 ease-in-out 1s;
	-o-transition: opacity 200ms ease-in-out 200ms,visibility 0 ease-in-out 1s;
	transition: opacity 200ms ease-in-out 200ms,visibility 0 ease-in-out 1s;
}
#footer .back-top.back-top-float.back-top-hide{
	opacity: 0;
	visibility: hidden;
}
#footer .back-top.back-top-float .arrow-up a {
	background: none;
	color: inherit;
}
.back-top:not(.back-top-float) .arrow-up a {
	text-decoration: none;
	display: inline-block;
	position: relative;
	bottom: 0;
	padding: .4em;
	line-height: 1;
	z-index: 10;
	color: inherit;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	transition: all .5s;
}
.back-top:not(.back-top-float):hover .arrow-up a {
	text-decoration: none;
	bottom: 25px;
}
.back-top a:before {
	font-size: 3rem;
	font-family: 'themify_theme_icon';
	content: "\e807"; /* ti-angle-up */
	font-style: normal;
	font-weight: normal;
}
#footer .back-top.back-top-float .arrow-up{
	position:absolute;
	top:5px;
	left:50%;
}
#footer .back-top.back-top-float:hover .arrow-up{
	-webkit-animation: back-top-arrow-up 250ms linear 200ms infinite alternate;
	animation: back-top-arrow-up 250ms linear 200ms infinite alternate;
}
@-webkit-keyframes back-top-arrow-up {
	0% {
		top: 0
	}

	100% {
		top: 5px
	}
}
#footer .back-top.back-top-float a:before{
	content: '';
	display: inline-block;
	width: 14px;
	height: 14px;
	border: solid transparent;
	border-width: 1px;
	border-top-color: inherit;
	border-left-color: inherit;
	font-size:inherit;
	-webkit-transition: all 500ms;
	-moz-transition: all 500ms;
	transition: all 500ms;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	transform: rotate(45deg);
	vertical-align: middle;
	visibility: visible;
	position: absolute;
	top: 14px;
	left: 50%;
	margin-left: -7px;
}
.themify_builder_active #footer .back-top.back-top-float {
	bottom: 50px;
}

/* footer logo */
#footer-logo {
	font-size: 2em;
	text-transform: uppercase;
	padding: 0;
	margin: 0 0 .8em;
	letter-spacing: .05em;
	font-weight: 300;
}
#footer-logo a {
	color: inherit;
	text-decoration: none;
}

/* footer social-widget */
#footer .social-widget {
	padding-bottom: 1.6em;
	margin: 0;
}
#footer .social-widget .widget {
	margin: 0;
}
#footer .social-links li {
	margin: 0 1px 0 5px;
}
#footer .social-links li.large i {
	font-size: 19px;
	padding: 6px;
	width: 20px;
	height: 20px;
	margin: 0;
}

/* footer nav */
.footer-nav {
	margin: .5em 0 1em;
	padding: 0;
}
.footer-nav li {
	display: inline-block;
	padding: 0;
	margin: 0;
	list-style: none;
	position: relative;
}
.footer-nav a {
	text-decoration: none;
	margin: 0 1em .8em 0;
}
.footer-horizontal-left .footer-nav a,
.footer-horizontal-right .footer-nav a,
.footer-left-col .footer-nav a,
.footer-right-col .footer-nav a {
	margin: 0 .8em 1em 0;
	padding: 0;
}

.footer-nav li ul {
	background-color: #fff;
	border: 1px solid rgba(0,0,0,.1);
	margin: 0;
	padding: .6em 0;
	position: absolute;
	z-index: 11;
	bottom: 100%;
	list-style: none;
	text-align: left;
	margin-bottom: 1em;
	opacity: 0;
	visibility: hidden;
	display: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}
#footerwrap .footer-nav ul a {
	display: block;
	width: 238px;
	padding: 0.5em 1.25em .5em 1.6em;
	margin: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.footer-nav li li ul {
	left: 100%;
	bottom: -0.65em;
}
.footer-nav li:hover > ul {
	margin-bottom: 0;
	opacity: 1;
	visibility: visible;
	display: block;
}
.footer-nav li:hover > a {
    color: #ed1e24;
}

/* Footer Edge Menu */
.footer-nav li.edge ul {
	left: auto;
	right: 0;
}
.footer-nav ul li.edge ul {
	right: 100%;
}
.footer-right-col #footerwrap .footer-nav ul li.edge ul {
	left: auto;
	right: 100%;
}

/* footer text */
.footer-text {
	clear: both;
	padding: 0 0 1.5em;
	line-height: 1.8em;
	font-size: .85em;
}

/* footer widget */
.footer-widgets .widget {
	margin: 2.5em 0 1.5em;
}
.footer-widgets .widgettitle {
	color: inherit;
	margin: 0 0 1em;
}


/* FOOTER HORIZONTAL LEFT
================================================ */
.footer-horizontal-left #footer,
.footer-horizontal-right #footer,
.footer-left-col #footer,
.footer-right-col #footer {
	position: relative;
}
.footer-horizontal-left #footer,
.footer-horizontal-right #footer {
	text-align: left;
}
.footer-horizontal-left .back-top,
.footer-horizontal-right .back-top,
.footer-left-col .back-top,
.footer-right-col .back-top {
	position: absolute;
	left: 0;
	top: -89px;
	width: 60px;
	margin: 0;
}
.footer-horizontal-left .back-top .arrow-up a,
.footer-horizontal-right .back-top .arrow-up a,
.footer-left-col .back-top .arrow-up a,
.footer-right-col .back-top .arrow-up a {
	background-color: rgba(171, 171, 171, 0.78);
	color: #fff;
	width: 60px;
	height: 25px;
	line-height: 100%;
	padding: 10px 0 0;
}
.footer-horizontal-left .back-top a:before,
.footer-horizontal-right .back-top a:before,
.footer-left-col .back-top a:before,
.footer-right-col .back-top a:before {
	font-size: 1.7rem;
}
.footer-horizontal-left .back-top:hover .arrow-up a,
.footer-horizontal-right .back-top:hover .arrow-up a,
.footer-left-col .back-top:hover .arrow-up a,
.footer-right-col .back-top:hover .arrow-up a {
	bottom: 0;
}
.footer-horizontal-left .back-top .arrow-up:hover a,
.footer-horizontal-right .back-top .arrow-up:hover a,
.footer-left-col .back-top .arrow-up:hover a,
.footer-right-col .back-top .arrow-up:hover a {
	background-color: #000;
}

.footer-horizontal-left .footer-left-wrap,
.footer-horizontal-left .footer-right-wrap {
	margin-left: 3.2%;
	float: left;
}
.footer-horizontal-left .footer-left-wrap.first,
.footer-horizontal-left .footer-right-wrap.first {
	margin-left: 0;
	clear: left;
}
.footer-horizontal-left .footer-left-wrap,
.footer-horizontal-right .footer-left-wrap {
	width: 22.6%;
}
.footer-horizontal-left .footer-right-wrap,
.footer-horizontal-right .footer-right-wrap {
	width: 74.2%;
}

.footer-horizontal-left #footer .footer-nav,
.footer-horizontal-right #footer .footer-nav {
	float: left;
	margin-top: 0;
}

/* FOOTER HORIZONTAL RIGHT
================================================ */
.footer-horizontal-right .footer-left-wrap,
.footer-horizontal-right .footer-right-wrap {
	margin-right: 3.2%;
	float: right;
}
.footer-horizontal-right .footer-left-wrap.first,
.footer-horizontal-right .footer-right-wrap.first {
	margin-right: 0;
	clear: right;
}

/* FOOTER LEFT COL
================================================ */
.footer-left-col #footer {
	text-align: left;
}
.main-col,
.section-col {
	box-sizing: border-box;
}
.footer-left-col .main-col,
.footer-left-col .section-col {
	margin-left: 3.2%;
	float: left;
}
.footer-left-col .main-col.first {
	margin-left: 0;
	clear: left;
}
.footer-left-col .main-col,
.footer-right-col .main-col {
	width: 22.6%;
}
.footer-left-col .section-col,
.footer-right-col .section-col {
	width: 74.2%;
}
.footer-left-col #footer .widget,
.footer-right-col #footer .widget {
	margin: 0 0 4em;
}
.footer-left-col #footer .social-widget .widget,
.footer-right-col #footer .social-widget .widget {
	margin: 0;
}
.footer-horizontal-left #footer-logo,
.footer-horizontal-right #footer-logo,
.footer-left-col #footer-logo,
.footer-right-col #footer-logo {
	font-size: 2em;
}
.footer-left-col .footer-text,
.footer-right-col .footer-text {
	padding-top: .9em;
}

/* FOOTER RIGHT COL
================================================ */
.footer-right-col #footerwrap {
	text-align: inherit;
}
.footer-right-col .main-col,
.footer-right-col .section-col {
	margin-right: 3.2%;
	float: right;
}
.footer-right-col .main-col.first {
	margin-right: 0;
	clear: right;
}

/************************************************************************************
NICESCROLL
*************************************************************************************/
.nicescroll-rails > div {
	width: 2px !important;
	background-color: rgba(120,120,120,.2) !important;
	border-color: rgba(120,120,120,.4) !important;
	right: 2px;
}

/************************************************************************************
10. BUILDER STYLING
*************************************************************************************/
/* builder row */
.full_width .themify_builder_row.fullwidth .row_inner {
	width: 100%;
	max-width: 100%;
	padding: 0;
}

/* post module */
.col4-3 .loops-wrapper .post,
.col4-2 .loops-wrapper .post,
.col4-1 .loops-wrapper .post,
.col3-2 .loops-wrapper .post,
.col3-2 .loops-wrapper .post,
.col2-1 .loops-wrapper .post {
	text-align: inherit; /* reset text center */
	margin-bottom: 1em;
}
.col4-3 .loops-wrapper.list-post .post-title,
.col4-2 .loops-wrapper.list-post .post-title,
.col4-1 .loops-wrapper.list-post .post-title,
.col3-2 .loops-wrapper.list-post .post-title,
.col3-2 .loops-wrapper.list-post .post-title,
.col2-1 .loops-wrapper.list-post .post-title {
	font-size: 1.6em; /* reset text center */
	margin: 0 0 .5em;
}
/* map module */
.module-map {
	margin-bottom: 0;
}

/* themify-icon shortcode */
.shortcode.themify-icon .themify-icon-icon {
	font-size: 1.3em;
}

/* shorcode button */
a.shortcode.button {
	border-radius: 2px;
	padding: .65em 1em;
}

/************************************************************************************
11. WORDPRESS POST FORMATTING
*************************************************************************************/
img.alignleft, img.aligncenter, img.alignright, img.alignnone {
	margin-bottom: 1em;
}
.alignleft {
	float: left;
	margin-right: 2em;
}
.alignright {
	float: right;
	margin-left: 2em;
}
.aligncenter {
	text-align: center;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption {
	text-align: center;
	margin-bottom: 1em;
	max-width: 100%;
}
.wp-caption-text {
	margin: .5em 0;
}

/* attachment page */
body.attachment {
	width: auto;
	float: none;
	position: static;
}
.single .attachment.post {
	width: auto;
	float: none;
}

/************************************************************************************
12. WP GALLERY
*************************************************************************************/
.gallery {
	margin: 0 0 20px 0;
}

/* gallery item */
.gallery .gallery-item {
	margin: 0 8px 8px 0;
	vertical-align: top;
	width: auto;
	float: left;
	text-align: center;
}

/* gallery image */
.gallery img {
	border: none;
	vertical-align: middle;
}

/* gallery caption */
.gallery .gallery-caption {
	line-height: 120%;
	font-size: 90%;
	text-align: center;
	margin: 5px 0 0;
}

/* GALLERY COLUMN
================================================ */
/* gallery column 1 (display all in one line) */
.gallery-columns-1 .gallery-item {
	width: auto;
}
.gallery-columns-1 br {
	display: none !important;
}

/* gallery column 2 */
.gallery-columns-2 .gallery-item {
	width: 49.2%;
}

/* gallery column 3 */
.gallery-columns-3 .gallery-item {
	width: 32.3%;
}
/* gallery column 4 */
.gallery-columns-4 .gallery-item {
	width: 23.8%;
}

/* gallery column 5 */
.gallery-columns-5 .gallery-item {
	width: 18.8%;
}

/* gallery column 6 */
.gallery-columns-6 .gallery-item {
	width: 15.4%;
}

/* gallery column 7 */
.gallery-columns-7 .gallery-item {
	width: 13%;
}

/* gallery column 8 */
.gallery-columns-8 .gallery-item {
	width: 11.18%;
}

/* gallery column 9 */
.gallery-columns-9 .gallery-item {
	width: 9.77%;
}

/* set gallery item margin-right */
.gallery-columns-1 .gallery-item,
.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item,
.gallery-columns-4 .gallery-item,
.gallery-columns-5 .gallery-item,
.gallery-columns-6 .gallery-item,
.gallery-columns-7 .gallery-item,
.gallery-columns-8 .gallery-item,
.gallery-columns-9 .gallery-item {
	margin: 0 1.5% 1.5% 0;
}

/* clear gallery item margin-right */
.gallery-columns-9 .gallery-item:nth-of-type(9n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-2 .gallery-item:nth-of-type(2n) {
	margin-right: 0;
}

/* clear left gallery item different sizes */
.gallery-columns-9 .gallery-item:nth-of-type(9n + 1),
.gallery-columns-8 .gallery-item:nth-of-type(8n + 1),
.gallery-columns-7 .gallery-item:nth-of-type(7n + 1),
.gallery-columns-6 .gallery-item:nth-of-type(6n + 1),
.gallery-columns-5 .gallery-item:nth-of-type(5n + 1),
.gallery-columns-4 .gallery-item:nth-of-type(4n + 1),
.gallery-columns-3 .gallery-item:nth-of-type(3n + 1),
.gallery-columns-2 .gallery-item:nth-of-type(2n + 1) {
	clear: left;
}

/************************************************************************************
13. CLEAR & ALIGNMENT
*************************************************************************************/
.clear {
	clear: both;
}
.left {
	float: left;
}
.right {
	float: right;
}
.textleft {
	text-align: left;
}
.textright {
	text-align: right;
}
.textcenter {
	text-align: center;
}

/* clearfix */
.clearfix:after, .widget li:after, #body:after, #footer:after, footer:after, .pagenav:after, #main-nav:after, .menu:after, .gallery:after, #content:after {
	content: "";
	display: table;
	clear: both;
}

/************************************************************************************
IMAGE FILTER
*************************************************************************************/
.post-image,
.post-img,
.module-feature-image,
.slide-image {
	-webkit-transition: all .5s ease-out;
	transition: all .5s ease-out;
}

body .filter-grayscale img,
body .filter-hover-grayscale img:hover,
.filter-featured-only.filter-grayscale .post-image,
.filter-featured-only.filter-grayscale .post-img,
.filter-featured-only.filter-grayscale .module-feature-image,
.filter-featured-only.filter-grayscale .slide-image,
.filter-featured-only.filter-grayscale .featured-area img,
.filter-featured-only.filter-grayscale .ptb_post_image img,
.filter-featured-only.filter-hover-grayscale .post-image:hover,
.filter-featured-only.filter-hover-grayscale .post-img:hover,
.filter-featured-only.filter-hover-grayscale .ptb_post_image:hover,
.filter-featured-only.filter-hover-grayscale .module-feature-image:hover,
.filter-featured-only.filter-hover-grayscale .slide-image:hover,
.filter-featured-only.filter-hover-grayscale .featured-area img:hover,
.filter-featured-only.filter-hover-grayscale .loops-wrapper article:hover .post-image {
	-webkit-filter: grayscale(1);
	filter: gray;
	filter: grayscale(1);
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

body .filter-sepia img,
body .filter-hover-sepia img:hover,
.filter-featured-only.filter-sepia .post-image,
.filter-featured-only.filter-sepia .post-img,
.filter-featured-only.filter-sepia .module-feature-image,
.filter-featured-only.filter-sepia .slide-image,
.filter-featured-only.filter-sepia .featured-area img,
.filter-featured-only.filter-sepia .ptb_post_image img,
.filter-featured-only.filter-hover-sepia .post-image:hover,
.filter-featured-only.filter-hover-sepia .post-img:hover,
.filter-featured-only.filter-hover-sepia .ptb_post_image:hover,
.filter-featured-only.filter-hover-sepia .module-feature-image:hover,
.filter-featured-only.filter-hover-sepia .slide-image:hover,
.filter-featured-only.filter-hover-sepia .featured-area img:hover,
.filter-featured-only.filter-hover-sepia .loops-wrapper article:hover .post-image {
	-webkit-filter: sepia(1);
	-ms-filter: sepia(100%);
	filter: sepia(100%);
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	-webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
}

body .filter-blur img,
body .filter-hover-blur img:hover,
.filter-featured-only.filter-blur .post-image,
.filter-featured-only.filter-blur .post-img,
.filter-featured-only.filter-blur .ptb_post_image,
.filter-featured-only.filter-blur .module-feature-image,
.filter-featured-only.filter-blur .slide-image,
.filter-featured-only.filter-blur .featured-area img,
.filter-featured-only.filter-hover-blur .post-image:hover,
.filter-featured-only.filter-hover-blur .post-img:hover,
.filter-featured-only.filter-hover-blur .ptb_post_image:hover,
.filter-featured-only.filter-hover-blur .module-feature-image:hover,
.filter-featured-only.filter-hover-blur .slide-image:hover,
.filter-featured-only.filter-hover-blur .featured-area img:hover,
.filter-featured-only.filter-hover-blur .loops-wrapper article:hover .post-image {
	-webkit-filter: blur(5px);
	filter: blur(5px);
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	-webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
}

.filter-all.filter-grayscale img,
.filter-all.filter-hover-grayscale img:hover,
.filter-all.filter-hover-grayscale .loops-wrapper article:hover .post-image {
	-webkit-filter: grayscale(1);
	filter: gray;
	filter: grayscale(1);
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	-webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
}

.filter-all.filter-sepia img,
.filter-all.filter-hover-sepia img:hover,
.filter-all.filter-hover-sepia .loops-wrapper article:hover .post-image {
	-webkit-filter: sepia(1);
	-ms-filter: sepia(100%);
	filter: sepia(100%);
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	-webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
}

.filter-all.filter-blur img,
.filter-all.filter-hover-blur img:hover,
.filter-all.filter-hover-blur .loops-wrapper article:hover img {
	-webkit-filter: blur(5px);
	filter: blur(5px);
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	-webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
}

body .filter-hover-none img:hover,
.filter-featured-only.filter-hover-none .post-image img:hover,
.filter-featured-only.filter-hover-none .post-img img:hover,
.filter-featured-only.filter-hover-none .ptb_post_image img:hover,
.filter-featured-only.filter-hover-none .module-feature-image img:hover,
.filter-featured-only.filter-hover-none .slide-image img:hover,
.filter-all.filter-hover-none img:hover,
.filter-all.filter-hover-none .loops-wrapper article:hover img,
body.filter-all #pagewrap .format-video .post-image img:hover,
body.filter-featured-only #pagewrap .format-video .post-image img:hover {
	-webkit-filter: none;
	filter: none;
}

/************************************************************************************
ANNOUNCEMENT BAR PLUGIN
*************************************************************************************/
.fixed-header-on.announcement-bar-showing .themify_announcement.absolute + #pagewrap #headerwrap {
	margin-top: 0 !important;
}
.header-minbar.announcement-bar-showing .themify_announcement.top {
	top: 0;
}
.fixed-header-on.announcement-top.announcement-bar-collapsed #headerwrap {
	top: 0;
}
.boxed-layout.announcement-top.announcement-bar-showing #headerwrap,
.boxed-compact.announcement-top.announcement-bar-showing #headerwrap {
	top: 0;
}
.boxed-layout.announcement-top.announcement-bar-showing,
.boxed-compact.announcement-top.announcement-bar-showing {
	margin-top: 0;
}
.announcement-top.announcement-bar-showing.header-minbar.sidemenu-left #mobile-menu.sidemenu-on {
	padding-top: 90px;
}
.announcement-top.announcement-bar-showing.header-minbar #headerwrap #menu-icon {
	top: 90px;
}

/*
TILES LAYOUT
================================================ */
.tile_enable .auto_tiles {
    width: 100%;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none; 
    user-select: none;
    top: 0;
    left: 0;
    z-index: 100;
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    -ms-transition-property: height, width;
    -o-transition-property: height, width;
    transition-property: height, width;
    height:62px;
    overflow:hidden;
}
.tile_enable.woocommerce .products.auto_tiles:before,
.tile_enable .auto_tiles:before{
    content: "\f110"; /* fa-spinner */
	font-family: 'themify_theme_icon';
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
    position: absolute;
    top: 20%;
    right: 50%;
    z-index: 110;
}
.tile_enable .auto_tiles.loading-finish{
    z-index: 1;
}
.tile_enable.woocommerce .products.auto_tiles.loading-finish:before,
.tile_enable .auto_tiles.loading-finish:before{
    display:none;
}
.tile_enable .auto_tiles:not(.tiles_resing) .post{
    top: 0;
    left: 0;
    opacity:0;
    -webkit-transition-property: top, left, opacity;
    -moz-transition-property: top, left, opacity;
    -ms-transition-property: top, left, opacity;
    -o-transition-property: top, left, opacity;
    transition-property: top, left, opacity;
    height:100%;
}
.tile_enable .auto_tiles .post{
    width:auto;
    background-color: #eee;
    position: absolute;
    overflow: hidden;
    margin-bottom: 10px;
}
.is_phone .auto_tiles .post{
	width:100%;
}
.tile_enable .auto_tiles.loading-finish .post{
	opacity:1;
}
.tile_enable .auto_tiles,
.tile_enable .auto_tiles:not(.tiles_resing) .post {
  -webkit-transition-duration: 0.7s;
     -moz-transition-duration: 0.7s;
      -ms-transition-duration: 0.7s;
       -o-transition-duration: 0.7s;
          transition-duration: 0.7s;
}

.tile_enable .auto_tiles .gutter-sizer { 
    width: 0.4%;
    margin:0;
}
.tile_enable .no-gutter .gutter-sizer{
    width:0;
}

.auto_tiles .embed-youtube {
    padding: 0;
    margin: 0;
    height: 100%;
}

.tile_enable .auto_tiles .post-image {
    margin: 0;
    height: 100%;
    position: absolute !important;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    margin-bottom: 0;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    padding:0;
}
.tile_enable .woocommerce .wc-products.auto_tiles .product .post-image{
    padding:0;
}
.tile_enable .auto_tiles .post-image img,
.tile_enable .woocommerce .wc-products.auto_tiles .product .post-image {
	vertical-align: bottom;
}
.is_phone .auto_tiles .post-image + .post-content {
    position: absolute;
    width: 100%;
    left: 0;
}
.auto_tiles .post-content {
    padding: 2em 1em 1em;
}
.auto_tiles .post-image + .post-content {
    background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,0.65) 40%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.65) 40%,rgba(255,255,255,1) 100%);
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.65) 40%,rgba(255,255,255,1) 100%);
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
    overflow: hidden;
    width: 100%;
    padding-bottom: 0;
    padding-top: 3em;
    z-index: 1;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.auto_tiles .post-title {
    font-size: 1.3em;
}
.auto_tiles .post-meta {
    font-size: .65em;
}
.auto_tiles .post-cat-tag-wrap {
    font-size: .7em;
}
.auto_tiles .post-image a {
    width: 100%;
    height: 100%;
    display: block;
}
.auto_tiles .tiled-portrait .post-image,
.woocommerce ul.auto_tiles li.product.auto_tiles .product-image {
	margin: 0;
}
.auto_tiles .tiled-portrait .post-image img {
    height: 100%;
    width: auto;
    object-fit: cover;
}
.is_phone .auto_tiles .post-meta,
.auto_tiles .post:hover .post-image + .post-content:before {
    opacity: 1;
}
.auto_tiles .post:hover .post-meta,
.auto_tiles .post:hover .entry-content {
    display: block;
}
.auto_tiles .post.tiled-square-small .post-title,
.auto_tiles .post.tiled-portrait .post-title {
	font-size: 1.15em;
	letter-spacing: -0.015em;
}
.auto_tiles .post.tiled-landscape .post-title {
	font-size: 1.6em;
	letter-spacing: -0.015em;
}
.auto_tiles .post-image + .post-content {
	bottom: -100%;
}
.auto_tiles .post:hover .post-content {
	bottom: 0;
}
.auto_tiles .post .entry-content {
	font-size: .9em;
	line-height: 1.6;
	max-height: 40%;
	overflow: hidden;
}
.auto_tiles .post:hover .post-image {
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	transform: scale(1.1);
}