/*
Theme Name: Trefriw
Theme URI: http://www.tommusrhodus.com
Version: 1.0.1
Description: Trefriw - A Beautiful Blogging Theme
Author: Tom Rhodes
Author URI: http://www.tommusrhodus.com
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: white, custom-background, threaded-comments, translation-ready, custom-menu
*/


/* 

WARNING! DO NOT EDIT THIS FILE!

To make it easy to update your theme, you should not edit the styles in this file. Instead use 
a child theme to add your styles. You can copy a style from this file and paste it in 
your child style.css and it will override the style in this file. 

You have been warned! :)

*/

/*-----------------------------------------------------------------------------------*/
/*	GENERIC STYLES
/*-----------------------------------------------------------------------------------*/
html, body {
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body,
small,
.social-menu ul li span {
	font-family: 'Work Sans', sans-serif;
	color: #6c6c6c;
}
body {
	background: #fff;
	font-weight: 300;
	font-style: normal;
	font-size: 14px;
	letter-spacing: 1px;
	line-height: 26px;
}
h1, 
h2, 
h3, 
h4, 
h5, 
h6,
#main-nav ul a,
.btn,
.bottom a[rel*="category"],
.caption-overlay a[rel*="category"],
table th,
dt,
.tags a,
input[type="submit"],
.social-menu ul,
.more-link,
.related-post a[rel*="category"],
.instafeed > a,
span[data-scribe],
.fn,
.mobile-trigger,
#btt,
.woocommerce #respond input#submit, 
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button,
.pagination a,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price, 
.woocommerce div.product span.price,
.woocommerce span.onsale,
.modal-inner span {
	font-family: 'Work Sans', sans-serif;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: #1c1c1c;
	margin-top: 0;
}
h1 {
	font-weight: 700;
	font-size: 42px;
	line-height: 64px;
	margin-bottom: 29px;
}
h2 {
	font-weight: 700;
	font-size: 36px;
	line-height: 58px;
	margin-bottom: 29px;
}
h3 {
	font-weight: 700;
	font-size: 18px;
	line-height: 29px;
	margin-bottom: 29px;
	letter-spacing: 6px;
}
h4 {
	font-weight: 400;
	font-size: 16px;
	line-height: 29px;
	margin-bottom: 29px;
}
h5 {
	font-weight: 400;
	font-size: 14px;
	line-height: 29px;
	margin-bottom: 29px;
}
p, ul, ol, pre, table, blockquote {
	margin-top: 0px;
	margin-bottom: 29px;
}
ul ul, ol ol, ul ol, ol ul {
	margin-top: 0;
	margin-bottom: 0;
}
hr {
	clear: both;
	border: none;
	height: 2px;
	margin: 80px 0;
}
b, strong, em, small, code {
	line-height: 1;
}
sup {
	line-height: 0;
	position: relative;
	vertical-align: baseline;
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
img {
	max-width: 100%;
	height: auto;
}
a {
	color: #1c1c1c;
}
a:hover,
.star-rating {
	color: #663399;
	text-decoration: none;
}
#main-nav ul li a,
#main-nav ul ul,
a,
.grid figure img,
.grid figure a:after,
#main-nav,
#sub-header,
input[type="submit"],
.widget-title,
.instafeed li:before,
.owl-nav,
.social li a i,
.twitter-feed .owl-dots .owl-dot,
.instafeed > a,
.owl-carousel:before,
.tiles figure:after,
.tiles figure a
#main-nav,
.modal,
.modal-inner img,
form {
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-ms-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
}
.btn,
.bottom a[rel*="category"],
.caption-overlay a[rel*="category"],
.tags a,
input[type="submit"],
.more-link,
.related-post a[rel*="category"],
.woocommerce #respond input#submit, 
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button,
.pagination a {
	margin: 0;
	padding: 0px 20px;
	border: 2px solid #663399;
	color: #663399;
	font-size: 10px;
	letter-spacing: 5px;
	display: inline-block;
	-webkit-backface-visibility: hidden;
	font-weight: 700;
}
.btn,
.tags a,
input[type="submit"],
.more-link,
.woocommerce #respond input#submit, 
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button,
.pagination a {
	padding: 6px 20px;
}
.btn:hover,
.bottom a[rel*="category"],
.caption-overlay a[rel*="category"],
.tags a:hover,
input[type="submit"]:hover,
aside input[type="submit"],
.more-link:hover,
.related-post a[rel*="category"],
.woocommerce #respond input#submit:hover, 
.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt, 
.woocommerce a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt:hover, 
.woocommerce a.button.alt:hover, 
.woocommerce button.button.alt:hover, 
.woocommerce input.button.alt:hover,
.pagination a:hover {
	background: #663399;
	color: #fff;
}
blockquote,
pre {
	background: #f8f8f8;
	padding: 20px;
	margin: 0 0 29px;
	font-style: italic;
	border-left: 5px solid #ECF1F2;
	color: #1c1c1c;
}
blockquote p:last-child {
	margin-bottom: 0;
}
strong, 
b,
dt {
	font-weight: 700;
	color: #1c1c1c;
}
dt {
    font-size: 12px;
    line-height: 22px;
}
dd {
	margin-bottom: 15px;
}
dl {
	margin-bottom: 25px;
}
pre,
code {
	font-style: normal;
}
blockquote {
	font-size: 18px;
	line-height: 30px;
}
blockquote em,
blockquote cite {
	font-size: 14px;
	font-style: normal;
	color: #6c6c6c;
	padding-top: 15px;
	display: block;
}
blockquote em:before {
	content: '\2014';
	margin-right: 5px;
}
small {
	display: block;
	text-transform: none;
	font-style: italic;
}
hr.small {
	margin: 45px 0;
}
.clearfix + hr.small {
	margin-top: 15px;
}
label {
	display: block;
}
::selection {
    background: #aee3ef; /* Safari */
    color: #2f2f2f;
}
::-moz-selection {
    background: #aee3ef; /* Firefox */
    color: #2f2f2f;
}
p:empty {
	display: none;
}
code {
	color: #1c1c1c;
}
.post-content h1 {
	font-size: 32px;
}
.post-content h2 {
	font-size: 26px;
}
p code {
	padding: 5px;
	background: #f8f8f8;
}
cite {
	text-decoration: underline;
}
.smoothie {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}


/*-----------------------------------------------------------------------------------*/
/*	USEFUL CLASS STYLES
/*-----------------------------------------------------------------------------------*/
.lead {
	font-size: 20px;
	line-height: 36px;
}
.intro .lead {
	font-size: 26px;
	font-style: italic;
}
.text-center {
	text-align: center;
}
.text-left {
	text-align: left;
}
.text-right {
	text-align: right;
}
.meta {
	font-size: 12px;
}
.post-content .meta a {
	border-bottom: none;
}
.meta-item {
	margin-right: 10px;
	display: inline-block;
}

/*-----------------------------------------------------------------------------------*/
/*	NAV STYLES
/*-----------------------------------------------------------------------------------*/
#main-nav {
	background: transparent;
	padding: 0;
	margin: 0;
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
}
.admin-bar #main-nav,
.admin-bar .lg-toolbar {
	top: 0px;
}

.admin-bar #main-header {
	top: 32px;
}

#main-nav ul,
.social-menu ul {
	list-style: none;
	margin: 0 auto;
	padding: 1px 0 0 0;
	display: inline-block;
}
#main-nav ul li {
	margin-top: -1px;
}
#main-nav ul li,
.social-menu ul li {
	display: inline-block;
	position: relative;
}
#main-nav > ul > li + li {
	margin-left: -5px;
}
#main-nav ul li a {
	font-weight: 400;
	font-size: 13px;
	padding: 19px 18px 18px;
	display: block;
	margin: 0;
}
#main-nav ul li a:hover,
#main-nav ul li.current-menu-item > a {
	color: #222;
	text-decoration: none;
	border-color: transparent;
	background: transparent;
}

#main-nav ul ul a:hover {
	background-color: #fff;
}
#main-nav ul ul,
.social-menu ul ul {
	opacity: 0;
	pointer-events: none;
	position: absolute;
	left: 0;
	-moz-transform: translateY(10px);
	-webkit-transform: translateY(10px);
	-o-transform: translateY(10px);
	-ms-transform: translateY(10px);
	transform: translateY(10px);
	min-width: 260px;
	z-index: 999;
	padding-top: 18px;
}
.scrolled #main-nav ul ul,
.scrolled .social-menu ul ul {
	padding-top: 15px;
}
#main-nav ul li:hover > ul,
.social-menu ul li:hover ul {
	opacity: 1;
	pointer-events: auto;
	-moz-transform: translateY(0px);
	-webkit-transform: translateY(0px);
	-o-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
}
#main-nav ul ul li,
.social-menu ul ul li {
	display: block;
}
#main-nav ul ul li a {
	background: #fff;
	display: block;
	text-align: left;
	font-size: 10px;
	letter-spacing: 2px;
	padding: 5px 20px;
	border-top: 1px solid #ECF1F2;
	border-right: 1px solid #ECF1F2;
}
#main-nav ul i {
	font-size: 12px;
	margin-left: 5px;
	line-height: 0;
}
#main-nav ul ul ul {
	top: 1px;
	left: calc(100% - 1px);
	padding-top: 0;
}
#main-nav .header-search ul ul {
	right: 0;
	left: auto;
	border-top: 1px solid #ECF1F2;
}
.social-menu ul {
	font-size: 12px;
	font-weight: 400;
}
.social-menu ul li + li {
	margin-left: 15px;
}
.social-menu ul li span {
	text-transform: none;
	font-size: 12px;
	font-style: italic;
}

.social-menu ul a {
	color: #fff;
}

/*-----------------------------------------------------------------------------------*/
/*	HEADER STYLES
/*-----------------------------------------------------------------------------------*/
#sub-header {
	padding: 10px 0;
	background: #fff;
	border-bottom: 1px solid #ECF1F2;
	-moz-transform: translateY(-100%);
	-webkit-transform: translateY(-100%);
	-o-transform: translateY(-100%);
	-ms-transform: translateY(-100%);
	transform: translateY(-100%);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1039;
}
.admin-bar #sub-header {
	top: 32px;
}
#sub-header img {
	max-height: 25px;
	width: auto;
}
#main-header {
    padding: 20px 15px 18px;
	background-color: rgba(255,255,255,0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}
.scrolled #main-header {
	background: rgba(255,255,255,0.95);
    padding: 10px 15px;
}

#main-header img {
    max-height: 34px;
    margin-top: 14px;
}

.scrolled #main-header img {
    max-height: 28px;
    margin-top: 15px;
}
#main-header span {
	display: block;
	padding-top: 20px;
	font-style: italic;
	letter-spacing: 1px;
}
.scrolled #sub-header {
	-moz-transform: translateY(0);
	-webkit-transform: translateY(0);
	-o-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
}
.header-search {
	float: right;
	right: 0;
	top: 0;
}
.header-search i {
	position: relative;
	top: 2px;
}
.header-search + .header-search {
	right: 52px;
}
.header-search input {
	margin-bottom: 0;
	box-shadow: none;
}
#main-nav ul li a.search-trigger {
	padding-left: 15px;
	padding-right: 15px;
}
#main-nav .header-social {
    position: relative;
    left: 0;
    top: 0;
    padding: 2px 0px;
    box-shadow: none;
    float: right;
}
#main-nav .header-social li a {
	border: none !important;
	padding: 19px 5px 18px;
	background: none !important;
	color: #1c1c1c !important;
}
#main-nav .header-social li + li {
	margin-left: 2px;
}
#main-nav .header-search ul li i {
	font-size: 16px;
}
#main-nav .header-social li a i {
	font-size: 14px;
}
.mobile-trigger {
	text-align: center;
	display: none;
}
.mobile-trigger i {
	font-size: 24px;
	position: relative;
	top: 3px;
}
.header-search .goodshare i {
	margin-right: 10px;
}

/*-----------------------------------------------------------------------------------*/
/*	INDEX STYLES
/*-----------------------------------------------------------------------------------*/
.image-link {
	height: 300px;
	display: block;
	margin: 0px 0 60px;
	position: relative;
}
.image-link .inner {
    background: transparent;
	position: absolute;
 	bottom: 0%;
	text-align: left;
	padding: 15px;
	margin: 0px;
    height: auto;
    width: 100%;
}

.image-links .image-link .inner .btn {
	border: none;
	background: #fff !important;
}
.image-links .image-link .inner .btn:hover {
	color: #222 !important;
}
.image-link.related-post .inner {
	height: auto;
	margin: 0;
}
.image-link .btn {
	margin-top: 2px;
}
.image-link h3 {
	margin: 0 0 15px;
	font-size: 16px;
}
.image-link p {
	margin-bottom: 15px;
}
.owl-carousel .image-link .inner {
	-webkit-box-shadow: 0 2px 0 0 rgba(0,0,0,0.2);
	box-shadow: 0 2px 0 0 rgba(0,0,0,0.2);
}
.owl-carousel:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #f8f8f8;
	z-index: 99;
	pointer-events: none;
}
.owl-carousel.owl-loaded {
	max-height: none;
}
.owl-carousel.owl-loaded:before {
	opacity: 0;
}
.search .no-results {
	padding-left: 15px;
	padding-right: 15px;
}
.post-carousel {
	margin-left: -1px;
	width: calc(100% + 1px);
}

/*-----------------------------------------------------------------------------------*/
/*	POST GRID STYLES
/*-----------------------------------------------------------------------------------*/
.grid {
	margin-bottom: 30px;
}
.grid .inner {
	padding: 30px 0;
	line-height: 26px;
}
.grid .inner h3 {
    margin: 0 0 20px;
    font-size: 20px;
    letter-spacing: 5px;
    font-weight: 300;
    line-height: 34px;
}
.inner {
	background: #fff;
}
figure img {
	width: 100%;
	max-width: none;
	-moz-transform: scale(1.0);
	-webkit-transform: scale(1.0);
	-o-transform: scale(1.0);
	-ms-transform: scale(1.0);
	transform: scale(1.0);
}
.grid figure a {
	display: block;
	position: relative;
}

.grid figure a.category {
	position: absolute;
	top: 15px;
	margin-left: 15px;
	color: #fff;
	padding: 0px 9px;
	text-transform: uppercase;
	letter-spacing: 4px;
	font-size: 12px;
	font-weight: 300;
}

.grid figure a:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.0);
	opacity: 0;
}
.grid figure {
	overflow: hidden;
}
.grid:hover figure img {
	-moz-transform: scale(1.1);
	-webkit-transform: scale(1.1);
	-o-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
}
.grid:hover figure a:after {
	opacity: 1;
}
.grid .inner.text-left {
	text-align: left;
	padding: 35px;
}
.inner .bottom {
	padding-top: 0px;
	margin-top: 20px;
}
.inner .bottom .tags {
	margin: 0;
	padding: 0;
	border: none;
	float: left;
}
.bottom a[rel*="category"] {
	color: #fff;
	float: right;
}
.grid .bottom a[rel*="category"] + a {
	display: none;
}

/*-----------------------------------------------------------------------------------*/
/*	POST LIST STYLES
/*-----------------------------------------------------------------------------------*/
.post-list {
	position: relative;
}
.post-list .inner {
	padding: 30px 30px 30px 400px;
	background: #fff;
	margin-bottom: 30px;
}
.post-list .background-image {
	position: absolute;
	top: 0;
	left: 15px;
	bottom: 0px;
	width: 370px;
}
.col-md-8 .post-list .inner {
	padding: 30px 30px 30px 330px;
}
.col-md-8 .post-list .background-image {
	width: 300px;
}
.background-image {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
.btn + .bottom {
	margin-top: 40px;
}
.post-list .post-title {
	margin-bottom: 10px;
}
.post-list.post-classic .inner {
	padding: 35px 0;
}
.post-list.post-classic .post-title {
	margin-bottom: 40px;
}

/*-----------------------------------------------------------------------------------*/
/*	SINGLE POST STYLES
/*-----------------------------------------------------------------------------------*/
.single .inner,
.page .inner,
.error404 .inner {
	padding: 35px 0;
}
.post-title,
.product_title {
	font-size: 24px;
	line-height: 28px;
	margin: 6px 0 10px;
	letter-spacing: 6px;
	position: relative;
	z-index: 1;
}
.post-content em.meta {
	margin-bottom: 60px;
	display: block;
}
.post-title span {
    background: #fff;
    position: relative;
    z-index: 2;
    padding-right: 20px;
    font-weight: 300;
    font-size: 48px;
    line-height: 62px;
}
.post-title.no-border:after {
	display: none;
}
.post-content h1.post-title {
	font-size: 24px;
}
.post-content p a {
	border-bottom: 1px dotted #663399;
}
.post-content p a:hover {
	border-color: #663399;
}
.post-content img.alignnone.size-full,
.fit-vids,
.basic-slider,
.basic-slider,
.tiles {
	width: calc(100%);
	max-width: none;
}
.fit-vids iframe {
	max-width: 100%;
	width: 100%;
}
.post-content .btn,
.post-content .more-link {
    border-bottom-style: solid !important;
    border-bottom-width: 2px;
}
.tags {
	padding-top: 35px;
	margin-top: 50px;
}
.tags a {
	border-bottom-style: solid;
	padding: 0 12px;
	font-size: 10px;
	letter-spacing: 3px;
}
.tags a + a {
	margin-left: 5px;
}
.tags span {
	font-size: 12px;
	font-style: italic;
	margin-right: 6px;
}
.tags .pull-left span {
	position: relative;
	top: -8px;
}
em + h1 {
	margin-top: -15px;
}
.inner + .inner {
	margin-top: 30px;
}
.post-nav h4 {
	margin-bottom: 0;
}
.post-nav {
	position: relative;
}
h5.post-title {
	margin-top: -5px;
}
h5.post-title span {
	font-size: 14px;
}
.related-post {
	margin-bottom: 0;
}
.author-image {
	float: left;
	margin-right: 25px;
}
.author-content {
	overflow: hidden;
}
.author-content p {
	margin-bottom: 12px;
}
.tiles figure a {
	display: block;
	height: 240px;
	border: none;
	-moz-transform: scale(1);
	-webkit-transform: scale(1);
	-o-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
}
.col-md-10 .tiles figure a {
	height: 340px;
}
.tiles .item {
	padding: 0 !important;
}
.tiles {
	margin-bottom: 29px;
}
.tiles figure {
	position: relative;
	overflow: hidden;
}
.tiles figure:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.25);
	pointer-events: none;
	opacity: 0;
}
.tiles figure:hover a {
	-moz-transform: scale(1.1);
	-webkit-transform: scale(1.1);
	-o-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
}
.tiles figure:hover:after {
	opacity: 1;
}
article.col-sm-12 {
	float: none;
}
.post-content hr {
	margin: 40px 0;
}

/*-----------------------------------------------------------------------------------*/
/*	COMMENTS STYLES
/*-----------------------------------------------------------------------------------*/
.commentlist {
	margin: 0;
	padding: 0;
	list-style: none;
}
.commentlist h2 {
	font-size: 14px;
	line-height: 1;
	margin-bottom: 0;
}
.commentlist .user {
	float: left;
	margin-right: 30px;
}
.commentlist .comment-inner {
	overflow: hidden;
}
.comment-form label {
	display: none;
}
.comment-form input {
	width: 70%;
}
.comment-form textarea {
	width: 100%;
}
.comment-form p {
	margin-bottom: 0;
}
.commentlist ul {
	list-style: none;
}
#reply-title {
	font-size: 14px;
}
#reply-title small {
	letter-spacing: 2px;
	display: inline;
}

/*-----------------------------------------------------------------------------------*/
/*	PAGINATION STYLES
/*-----------------------------------------------------------------------------------*/
.pagination {
	padding-top: 30px;
}

/*-----------------------------------------------------------------------------------*/
/*	POST SLIDER STYLES
/*-----------------------------------------------------------------------------------*/
.caption-overlay {
	height: 680px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
.post-slider {
	margin-bottom: 30px;
}
.post-slider:after {
	content: '';
	position: absolute;
	top: 0;
	left: -1px;
	bottom: 0;
}
.post-slider.slider-fullwidth:after {
	display: none;
}
.intro {
	padding: 0px 100px 60px;
}
.caption-overlay .grid {
	margin: 0 auto;
	position: absolute;
	bottom: 0;
	height: auto;
}
.caption-overlay .grid .inner {
	background: transparent;
	padding: 15px;
}

.slider-fullwidth .caption-overlay .grid .inner {
	background: #fff;
	padding: 15px 25px 25px;
}
.slider-fullwidth .caption-overlay .grid {
	right: 90px;
}

.caption-overlay .grid .inner .bottom a[rel*="category"] {
	top: 0;
}
.caption-overlay .btn {
	margin-top: 1px;
}
.post-slider.post-carousel .caption-overlay .grid {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    right: 0;
    height: auto;
}
.owl-controls {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	pointer-events: none;
}
.owl-dots {
	position: absolute;
	z-index: 99;
	bottom: 15px;
	left: 0;
	right: 0;
	text-align: center;
	display: none !important;
}
.owl-nav {
	opacity: 0;
	-moz-transform: translateY(10px);
	-webkit-transform: translateY(10px);
	-o-transform: translateY(10px);
	-ms-transform: translateY(10px);
	transform: translateY(10px);
}
.owl-dot {
	width: 12px;
	height: 12px;
	display: inline-block;
	border: 2px solid #fff;
	border-radius: 99px;
	margin: 0 4px;
	-webkit-box-shadow: 0 2px 0 0 rgba(0,0,0,0.2);
	box-shadow: 0 2px 0 0 rgba(0,0,0,0.2);
	pointer-events: auto;
}
.owl-dot.active {
	background: rgba(255,255,255,0.4);
}
.owl-nav {
	position: absolute;
	top: 50%;
	left: 20px;
	right: 20px;
	margin-top: -23px;
	opacity: 0;
	-moz-transform: translateY(10px);
	-webkit-transform: translateY(10px);
	-o-transform: translateY(10px);
	-ms-transform: translateY(10px);
	transform: translateY(10px);
}
.owl-prev,
.owl-next {
	color: #fff;
	font-size: 46px;
	pointer-events: auto;
}
.owl-prev {
	float: left;
}
.owl-next {
	float: right;
}
.owl-carousel:hover .owl-nav {
	opacity: 1;
	-moz-transform: translateY(0px);
	-webkit-transform: translateY(0px);
	-o-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
}

/*-----------------------------------------------------------------------------------*/
/*	ARCHIVE STYLES
/*-----------------------------------------------------------------------------------*/
.archive-title {
	background: #fff;
	padding: 30px;
	margin-bottom: 30px;
	-webkit-box-shadow: 0 2px 0 0 #ECF1F2;
	box-shadow: 0 2px 0 0 #ECF1F2;
	text-align: center;
}
.archive-title.text-left {
	text-align: left;
}
.archive-title .inner {
	-webkit-box-shadow: none;
	box-shadow: none;
}

/*-----------------------------------------------------------------------------------*/
/*	FOOTER STYLES
/*-----------------------------------------------------------------------------------*/
#main-footer {
	padding: 90px 0 30px;
	margin-top: 0px;
	background: rgba(0,0,0,0.80);
	color: #9c9c9c;
}
.instafeed + #main-footer {
	margin-top: 0;
}
#main-footer .social-menu ul {
	padding-top: 0;
}
#main-footer .social-menu a {
	color: #fff;
}
#main-footer small,
#main-footer .social-menu ul li span {
	color: #9c9c9c;
}
#main-footer hr {
	opacity: 0.2;
}
#main-footer hr.small {
	margin: 30px 0 80px;
}
#main-footer .social-menu ul li + li {
	margin-left: 25px;
	font-size: 12px;
}
#main-footer .social-menu a:hover {
	color: #663399;
}
#main-footer a,
.lg-sub-html,
.lg-sub-html h3 {
	color: #fff;
}
.lg-sub-html h3 {
	margin-bottom: 5px;
	font-size: 16px;
}
#sub-footer {
	padding: 20px 0;
	background: #111;
}
#sub-footer p {
	color: #fff;
}
#btt {
	color: #fff;
	font-size: 10px;
}

/*-----------------------------------------------------------------------------------*/
/*	WORDPRESS STYLES
/*-----------------------------------------------------------------------------------*/
.sticky {
}
.bypostauthor img.avatar {
}
.screen-reader-text {
}
select {
	max-width: 100%;
}
.alignleft,
.aligncenter,
.alignright,
.alignnone {
	margin-bottom: 25px;
}
.alignnone {
	display: block;
}
.alignleft { 
	float: left; 
	margin: 0 30px 30px 0 !important;
}
.alignright { 
	float: right; 
	margin: 0 0 30px 30px !important;
}
.aligncenter { 
	display: block; 
	margin-right: auto; 
	margin-left: auto; 
	text-align: center; 
}
figure.aligncenter a {
	display: inline-block;
	overflow: hidden;
	position: relative;
}
.wp-caption { 
	max-width: 100%; 
	text-align: center; 
}
.wp-caption img {
	margin-bottom: 10px;
}
.gallery-caption { 
	margin: 20px 0; 
	max-width: 100%; 
	text-align: center; 
	z-index: 999; 
}
.wp-caption-text, 
.gallery-caption-text { 
	margin: 6px 0; 
	font-style: italic; 
	font-size: 95%; 
	line-height: 120%; 
}
.aligncenter { 
	text-align: center;
}
table#wp-calendar {
	border: 1px solid #663399
}
table#wp-calendar>tbody>tr>td>a {
	text-decoration: underline
}
table#wp-calendar thead>tr>th { 
	width: 35px;
	height: 20px;
	text-align: center;
	border: 1px solid #663399;
}
table#wp-calendar tbody>tr>td {
	width: 35px;
	height: 20px;
	text-align: center;
	border: 1px solid #663399;
}
table#wp-calendar tfoot>tr>td>a, 
tfoot>tr>td>a:link, 
tfoot>tr>td>a:visited, 
tfoot>tr>td>a:hover, 
tfoot>tr>td>a:active {
	text-decoration: underline;
	height: 23px;
	margin-left: 10px;
	padding-bottom: 3px;
}
table#wp-calendar tfoot>tr>td#prev {
	width: 58px;
	height: 20px;
	text-align: left;
}
table#wp-calendar tfoot>tr>td#next {
	width: 58px;
	height: 20px;
	text-align: right;
}
table{
	margin-bottom: 25px;
}
table tr,
table td,
#wp-calendar table tr,
#wp-calendar table td {
	padding: 10px 15px;
	border: 1px solid #ECF1F2;
}
.widget_rss li {
	margin-bottom: 20px; 
	padding-bottom: 20px;
}
.widget_rss li .rsswidget, .widget_rss li cite {
	font-weight: bold; 
	display: block;
}
.widget_rss li .rss-date {
	display: block; 
	margin-bottom: 10px;
}
.widget_rss li cite {
	margin-top: 10px;
}
span.pull-right,
span.pull-left {
	float: right;
	display: inline-block;
	width: 300px;
	margin: 0 0 20px 20px;
	font-size: 18px;
	line-height: 32px;
	font-style: italic;
}
span.pull-right {
	float: right;
	margin: 0 0 20px 20px;
	text-align: right;
}
span.pull-left {
	float: left;
	margin: 0 20px 20px 0;
}
table {
	text-align: left;
	width: 100%;
	max-width: 100%;
}
table td,
table th {
	padding: 15px;
}
table tr:nth-child(even),
table thead tr {
	background: #f8f8f8;
}
table th {
	font-size: 14px;
}
aside table td,
aside table th,
footer table td,
footer table th {
	padding: 5px;
}
aside table tr:nth-child(even),
aside table thead tr {
	background: #fff;
}
footer table tr:nth-child(even),
footer table thead tr {
	background: #000;
}

/*-----------------------------------------------------------------------------------*/
/*	WIDGET STYLES
/*-----------------------------------------------------------------------------------*/
.widget {
	margin-bottom: 50px;
}
.widget-title {
    margin-bottom: 20px;
    font-size: 16px;
    background: #fff;
    padding: 7px 0px;
    position: relative;
    -webkit-box-shadow: 0 2px 0 0 #fff;
    box-shadow: 0 2px 0 0 #fff;
    font-weight: 300;
    letter-spacing: 4px;
}
.widget:hover .widget-title {
	-webkit-box-shadow: 0 2px 0 0 #663399;
	box-shadow: 0 2px 0 0 #663399;
}
.widget > ul {
	padding-left: 0;
	list-style-position: inside;
}
footer .widget-title {
	color: #fff;
	padding: 0 0 5px;
	background: none;
	-webkit-box-shadow: 0 2px 0 0 rgba(255,255,255,0.2);
	box-shadow: 0 2px 0 0 rgba(255,255,255,0.2);
	font-size: 12px;
	margin-bottom: 35px;
}
.link-list.recent-posts {
	margin: 0;
	padding: 0;
	list-style: none;
}
.link-list.recent-posts img {
	float: left;
	margin-right: 15px;
	max-width: 70px;
}
.link-list.recent-posts .content {
	overflow: hidden;
}
.link-list.recent-posts li {
	clear: both;
	margin-bottom: 20px;
}
.link-list.recent-posts h5 {
	margin-bottom: 0;
	font-size: 12px;
}
.footer-logo {
	max-height: 80px;
	width: auto;
	margin-top: 9px;
}
aside.col-md-4 {
	min-width: 330px;
	max-width: 330px;
	float: right;
	padding-top: 30px;
}

/*-----------------------------------------------------------------------------------*/
/*	INSTAGRAM STYLES
/*-----------------------------------------------------------------------------------*/
.instafeed {
	margin: 80px 0;
}
.instafeed ul,
.instafeed li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.instafeed li {
	display: inline-block;
}
aside .instafeed li,
footer .instafeed li {
	width: calc(100% / 3);
	position: relative;
}
section + .instafeed {
	margin-top: 80px;
	-webkit-box-shadow: 0 -2px 0 0 #ECF1F2;
	box-shadow: 0 -2px 0 0 #ECF1F2;
}
.instafeed li {
	width: calc(100% / 6);
	position: relative;
}
.instafeed li:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255,255,255,0.3);
	pointer-events: none;
}
footer .instafeed li:before {
	background: rgba(0,0,0,0.3);
}
.instafeed li:hover:before {
	opacity: 0;
}
.instafeed {
	position: relative;
}
.instafeed > a {
	position: absolute;
	bottom: -1px;
	left: 0;
	right: 0;
	background: rgba(0,0,0,0.5);
	z-index: 99;
	text-align: center;
	color: #fff;
	font-size: 10px;
	line-height: 1;
	padding: 8px 0 7px;
}
.instafeed > a:hover {
	background: rgba(0,0,0,0.8);
}

/*-----------------------------------------------------------------------------------*/
/*	TWITTER STYLES
/*-----------------------------------------------------------------------------------*/
.twitter-feed .interact{ 
	display: none; 
}
.widget .twitter-feed .timePosted{ 
	display: none; 
}
.widget .tweet{ 
	margin-bottom: 0; 
}
.widget .twitter-feed .slides li{ 
	margin-bottom: 24px; 
}
.widget .twitter-feed .slides li:last-child{ 
	margin-bottom: 0; 
}
.widget .twitter-feed .slides li:nth-of-type(n+3){ 
	display: none; 
}
.widget .twitter-feed p {
	position: relative; 
	word-wrap: break-word; 
}
.twitter-feed .owl-dots {
	bottom: -30px;
	text-align: left;
}
.twitter-feed {
	padding-bottom: 30px;
}
.twitter-feed .owl-dots .owl-dot {
	border: none;
	background: rgba(0,0,0,0.2);
	box-shadow: none;
	width: 8px;
	height: 8px;
}
.twitter-feed .owl-dots .owl-dot.active, .twitter-feed .owl-dots .owl-dot:hover {
	background: rgba(0,0,0,0.4);
}
footer .twitter-feed .owl-dots .owl-dot {
	background: rgba(255,255,255,0.2);
}
footer .twitter-feed .owl-dots .owl-dot.active, footer .twitter-feed .owl-dots .owl-dot:hover {
	background: rgba(255,255,255,0.4);
}
span[data-scribe] {
	font-size: 10px;
}
footer span[data-scribe] {
	color: #fff;
}

/*-----------------------------------------------------------------------------------*/
/*	SOCIAL ICON STYLES
/*-----------------------------------------------------------------------------------*/
.social {
    padding: 0;
    margin: 0;
    font-size: 0;
    height: 28px;
    display: inline-block;
}
.social li {
    display: inline-block;
    font-family: 'fontello-social';
    margin-right: 5px;
    padding: 0;
}
.social li a {
    display: table;
    border: none;
    padding: 0;
}
.social li a i {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    color: #aaa;
    background: none;
    border: 2px solid #aaa;
    width: 50px;
    height: 30px !important;
    line-height: 1;
    font-size: 13px;
    text-indent: 1px;
}
.social .icon-s-pinterest {
    border-color: #d8545d;
    background-color: #d8545d;
    color: #fff;
}
.social .icon-s-rss {
    border-color: #faaa5e;
    color: #faaa5e;
}
.social .icon-s-facebook {
    border-color: #677fb5;
    background-color: #677fb5;
    color: #fff;
}
.social .icon-s-twitter {
    border-color: #70c2e9;
    background-color: #70c2e9;
    color: #fff;
}
.social .icon-s-flickr {
    border-color: #ff3ba4;
    color: #ff3ba4;
}
.social .icon-s-dribbble {
    border-color: #e299c2;
    color: #e299c2;
}
.social .icon-s-behance {
    border-color: #42a9fb;
    color: #42a9fb;
}
.social .icon-s-linkedin {
    border-color: #3daccf;
    color: #3daccf;
}
.social .icon-s-vimeo {
    border-color: #42b5d4;
    color: #42b5d4;
}
.social .icon-s-youtube {
    border-color: #d5615c;
    color: #d5615c;
}
.social .icon-s-skype {
    border-color: #5ecbf3;
    color: #5ecbf3;
}
.social .icon-s-tumblr {
    border-color: #829fb9;
    color: #829fb9;
}
.social .icon-s-delicious {
    border-color: #6194dc;
    color: #6194dc;
}
.social .icon-s-500px {
    border-color: #3bbbe6;
    color: #3bbbe6;
}
.social .icon-s-grooveshark {
    border-color: #f88e3b;
    color: #f88e3b;
}
.social .icon-s-forrst {
    border-color: #5f9864;
    color: #5f9864;
}
.social .icon-s-digg {
    border-color: #507faa;
    color: #507faa;
}
.social .icon-s-blogger {
    border-color: #fd893f;
    color: #fd893f;
}
.social .icon-s-klout {
    border-color: #e16747;
    color: #e16747;
}
.social .icon-s-dropbox {
    border-color: #6ba3c5;
    color: #6ba3c5;
}
.social .icon-s-github {
    border-color: #6c93bb;
    color: #6c93bb;
}
.social .icon-s-songkick {
    border-color: #ff3b60;
    color: #ff3b60;
}
.social .icon-s-posterous {
    border-color: #efd57c;
    color: #efd57c;
}
.social .icon-s-appnet {
    border-color: #3daad5;
    color: #3daad5;
}
.social .icon-s-gplus {
    border-color: #bc7067;
    color: #bc7067;
}
.social .icon-s-stumbleupon {
    border-color: #f07356;
    color: #f07356;
}
.social .icon-s-lastfm {
    border-color: #cd443d;
    color: #cd443d;
}
.social .icon-s-spotify {
    border-color: #9acf48;
    color: #9acf48;
}
.social .icon-s-instagram {
    border-color: #b99682;
    color: #b99682;
}
.social .icon-s-evernote {
    border-color: #9fdc82;
    color: #9fdc82;
}
.social .icon-s-paypal {
    border-color: #5b85a8;
    color: #5b85a8;
}
.social .icon-s-picasa {
    border-color: #b088c1;
    color: #b088c1;
}
.social .icon-s-soundcloud {
    border-color: #ff8b45;
    color: #ff8b45;
}
.social a:hover .icon-s-pinterest {
    background-color: #d8545d
}
.social a:hover .icon-s-rss {
    background-color: #faaa5e
}
.social a:hover .icon-s-facebook {
    background-color: #677fb5
}
.social a:hover .icon-s-twitter {
    background-color: #70c2e9
}
.social a:hover .icon-s-flickr {
    background-color: #ff3ba4
}
.social a:hover .icon-s-dribbble {
    background-color: #e299c2
}
.social a:hover .icon-s-behance {
    background-color: #42a9fb
}
.social a:hover .icon-s-linkedin {
    background-color: #3daccf
}
.social a:hover .icon-s-vimeo {
    background-color: #42b5d4
}
.social a:hover .icon-s-youtube {
    background-color: #d5615c
}
.social a:hover .icon-s-skype {
    background-color: #5ecbf3
}
.social a:hover .icon-s-tumblr {
    background-color: #829fb9
}
.social a:hover .icon-s-delicious {
    background-color: #6194dc
}
.social a:hover .icon-s-500px {
    background-color: #3bbbe6
}
.social a:hover .icon-s-grooveshark {
    background-color: #f88e3b
}
.social a:hover .icon-s-forrst {
    background-color: #5f9864
}
.social a:hover .icon-s-digg {
    background-color: #507faa
}
.social a:hover .icon-s-blogger {
    background-color: #fd893f
}
.social a:hover .icon-s-klout {
    background-color: #e16747
}
.social a:hover .icon-s-dropbox {
    background-color: #6ba3c5
}
.social a:hover .icon-s-github {
    background-color: #6c93bb
}
.social a:hover .icon-s-songkick {
    background-color: #ff3b60
}
.social a:hover .icon-s-posterous {
    background-color: #efd57c
}
.social a:hover .icon-s-appnet {
    background-color: #3daad5
}
.social a:hover .icon-s-gplus {
    background-color: #bc7067
}
.social a:hover .icon-s-stumbleupon {
    background-color: #f07356
}
.social a:hover .icon-s-lastfm {
    background-color: #cd443d
}
.social a:hover .icon-s-spotify {
    background-color: #9acf48
}
.social a:hover .icon-s-instagram {
    background-color: #b99682
}
.social a:hover .icon-s-evernote {
    background-color: #9fdc82
}
.social a:hover .icon-s-paypal {
    background-color: #5b85a8
}
.social a:hover .icon-s-picasa {
    background-color: #b088c1
}
.social a:hover .icon-s-soundcloud {
    background-color: #ff8b45
}
.social a:hover a:hover i {
    background-color: #FFF
}
.social a:hover i {
    color: #FFF
}

/*-----------------------------------------------------------------------------------*/
/*	FORM STYLES
/*-----------------------------------------------------------------------------------*/
input,
textarea {
	background: #fff;
	padding: 10px 15px;
	-webkit-box-shadow: 0 2px 0 0 #ECF1F2;
	box-shadow: 0 2px 0 0 #ECF1F2;
	border: none;
	margin-bottom: 15px;
}
input:focus,
textarea:focus {
	outline: none;
	-webkit-box-shadow: 0 2px 0 0 #663399;
	box-shadow: 0 2px 0 0 #663399;
}
.searchform input {
	width: 100%;
}
.wpcf7 input {
	width: 70%;
}
.widget .wpcf7 input {
	width: 100%;
}
.wpcf7 textarea {
	width: 100%;
}
input[type="submit"],
.wpcf7 input[type="submit"] {
	width: auto;
	-webkit-box-shadow: none;
	box-shadow: none;
}

/*-----------------------------------------------------------------------------------*/
/*	CONTACT FORM 7
/*-----------------------------------------------------------------------------------*/
div.wpcf7 .wpcf7-not-valid { 
	-webkit-box-shadow: 0 2px 0 0 #b54d4d;
	box-shadow: 0 2px 0 0 #b54d4d;
}
span.wpcf7-not-valid-tip { 
	display: none !important 
}
div.wpcf7-validation-errors,
.highlight {
	margin: 0;
	padding: 10px;
	color: #c09853;
	border: none;
	-webkit-box-shadow: 0 2px 0 0 #faebcc;
	box-shadow: 0 2px 0 0 #faebcc;
}
.highlight strong,
.highlight b {
	color: #c09853;
}
div.wpcf7-validation-errors {
	margin-top: 20px;
}
div.wpcf7-mail-sent-ok {
	margin: 0;
	padding: 10px;
	border: none;
	-webkit-box-shadow: 0 2px 0 0 #d6e9c6;
	box-shadow: 0 2px 0 0 #d6e9c6;
	color: #468847;
}
div.wpcf7 textarea {
	height: 220px;
}
.widget form.wpcf7-form {
	padding: 30px;
	text-align: center;
}
.widget form.wpcf7-form p {
	margin-bottom: 0;
}
.widget form.wpcf7-form img {
	display: none;
}
.widget form.wpcf7-form input[type="submit"] {
	width: 100%;
}

/*-----------------------------------------------------------------------------------*/
/*	WOOCOMMERCE STYLES
/*-----------------------------------------------------------------------------------*/
.woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb,
.woocommerce-pagination,
.woocommerce .woocommerce-pagination {
	padding: 30px;
	margin-bottom: 30px;
}
.woocommerce div.product p.price del, .woocommerce div.product span.price del {
	display: inline-block;
}
.woocommerce ul.products li.product .price del {
	display: inline;
}
ul.products li.product {
	text-align: center;
}
.woocommerce .products .star-rating {
	margin: 0 auto;
}
.woocommerce #respond input#submit, 
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button {
	border-radius: 0;
	background: none;
	padding: 13px 18px;
	font-weight: 400;
}
.woocommerce ul.products li.product, 
.woocommerce-page ul.products li.product {
	background: #fff;
	padding-bottom: 30px;
	-webkit-box-shadow: 0 2px 0 0 #ECF1F2;
	box-shadow: 0 2px 0 0 #ECF1F2;
}
.woocommerce div.product .woocommerce-tabs .panel {
	background: #fff;
	-webkit-box-shadow: 0 2px 0 0 #ECF1F2;
	box-shadow: 0 2px 0 0 #ECF1F2;
	padding: 20px 30px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
	margin-bottom: 0;
}
.woocommerce h2 {
	font-size: 16px;
}
.woocommerce table.shop_table,
.woocommerce-cart .cart-collaterals .cart_totals table {
	border-collapse: collapse;
}
.woocommerce ul.products li.product .price {
	font-size: 16px;
	padding-top: 15px;
}
.woocommerce div.product p.price, .woocommerce div.product span.price {
	font-size: 18px;
}
.product_title {
	margin-bottom: 15px;
}
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
	color: #fff;
	border-radius: 0;
	background: #663399;
	margin: 10px;
	padding: 2px 12px;
}
.woocommerce .quantity .qty {
	max-height: 37px;
	margin-right: 20px;
}

/*-----------------------------------------------------------------------------------*/
/*  TREFRIW
/*-----------------------------------------------------------------------------------*/
body {
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

@media (min-width: 1200px) {
	.container {
	    width: 1370px;
	}
}

.grid .inner {
	position: relative;
}


.author-content .social li, .author-content .social:hover li:first-of-type {
	opacity: 1;
}

.post-nav-item {
	padding: 30px 15px;
}

.caption-overlay .btn, .related-post .btn {
	border: 2px solid #fff !important;
}

.single-post .inner .grid-blog {
	clear: both;
}

.slider-fullwidth .caption-overlay .grid {
    left: 0;
    right: 0;
    -webkit-transform: translate3d(0,0,0)
}

.slider-fullwidth .caption-overlay .grid .inner {
	 background: transparent;
}

.slider-fullwidth .caption-overlay .grid .inner * {
	color: #222 !important;
    text-shadow: none;
}

.image-links {
	padding-top: 60px;
}

.caption-overlay .btn, .related-post .btn {
	visibility: hidden;
}

.slider-fullwidth .caption-overlay .grid .inner h3 a, .caption-overlay  .grid .inner h3 a {
	background-color: #fff;
	padding: 15px;
	-webkit-transform: translate3d(0,0,0)
}

.slider-fullwidth .caption-overlay .grid .inner p, .caption-overlay  .grid .inner p {
    margin-top: 25px;
    background-color: #fff;
    padding: 15px;
    max-width: 440px;
    margin-bottom: 10px;
    -webkit-transform: translate3d(0,0,0)
}

.slider-fullwidth .caption-overlay .grid .inner .btn, .caption-overlay .grid .inner .btn {
	visibility: visible;
	background: #fff;
}

.grid figure h3 {
	background: #fff;
	padding: 10px;
	position: absolute;
	left: 15px;
	bottom: 15px;
	margin: 0;
	max-width: 395px;
}

.grid h3 {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 6px;
}

.image-link .inner h3 span {
    background: #fff;
    padding: 10px;
    font-weight: 300;
    font-size: 20px;
}

.image-link .inner h3 span:empty, .image-links .image-link .inner .btn:empty {
	display: none;
}

.header-banner {
	min-height: 370px;
	background-size: cover;
	background-position: center;
	background-color: #222;
}

main {
	padding-top: 110px;
}

.home main {
	padding-top: 0;
}

.has-thumb h4, .has-thumb a *{
	color: #fff;
}

.page-content {
	padding-top: 40px;
}

.mobile-trigger {
	color: 	#222 !important
}

/*-----------------------------------------------------------------------------------*/
/*  13 - SEARCH
/*-----------------------------------------------------------------------------------*/

#search-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.97);
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-transform: translate(0px, -100%) scale(1, 0);
    -moz-transform: translate(0px, -100%) scale(1, 0);
    -o-transform: translate(0px, -100%) scale(1, 0);
    -ms-transform: translate(0px, -100%) scale(1, 0);
    transform: translate(0px, -100%) scale(1, 0);
    opacity: 0;
    z-index: 9999999
}

#search-wrapper.open {
    -webkit-transform: translate(0px, 0px) scale(1, 1);
    -moz-transform: translate(0px, 0px) scale(1, 1);
    -o-transform: translate(0px, 0px) scale(1, 1);
    -ms-transform: translate(0px, 0px) scale(1, 1);
    transform: translate(0px, 0px) scale(1, 1);
    opacity: 1
}

#search-wrapper .searchform {
    position: absolute;
    top: 50%;
    width: 100%;
    color: #333;
    background: rgba(0, 0, 0, 0);
    font-size: 36px;
    font-weight: 300;
    text-align: center;
    border: 0;
    margin: 0 auto;
    margin-top: -51px;
    padding-left: 30px;
    padding-right: 30px;
    outline: none
}

#search-wrapper .searchform input {
    background-color: #fff;
    width: 100%;
    max-width: 460px;
    font-size: 30px;
    font-weight: 100;
    padding: 15px 0;
    line-height: 35px;
}

#search-wrapper .btn {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: 61px;
    margin-left: -45px
}

#search-wrapper .close {
    position: fixed;
    top: 15px;
    right: 15px;
    color: #fff;
    background-color: transparent;
    color: #333;
    border: none;
    opacity: 1;
    padding: 10px 17px;
    font-size: 27px
}

/*-----------------------------------------------------------------------------------*/
/*  14 - SPLASH
/*-----------------------------------------------------------------------------------*/
.preloader {
    background-color: #fefefe;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    top: 0;
    left: 0;
}

.preloader span {
    text-transform: none;
    font-size: 34px
}

.preloader .preloader-img {
    width: 110px;
    height: 110px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -55px;
    margin-top: -55px;
    background-image: url('style/img/loading.gif');
    background-position: center;
}

.footer-inner {
	background-size: cover;
	background-position: center;
}

.fullheight {
	height: 100vh;
}

/*-----------------------------------------------------------------------------------*/
/*	RESPONSIVE STYLES
/*-----------------------------------------------------------------------------------*/
@media (min-width: 1401px) {
	.slider-fullwidth .caption-overlay .grid {
	    min-width: 1370px;
	}
}
@media (min-width: 1201px) {
	.slider-fullwidth .caption-overlay .grid {
	    min-width: 1170px;
	}
}
@media (max-width: 1200px) {
	.slider-fullwidth .caption-overlay .grid {
	    max-width: 90%;
	}
    aside.col-md-4 {
    	min-width: 1px;
    }
    .col-md-8 .post-list .inner {
    	padding: 30px 30px 30px 250px;
    }
    .col-md-8 .post-list .background-image {
    	width: 220px;
    }
    .post-list .post-title:after {
    	display: none;
    }
    #main-nav ul li a {
	    padding: 19px 9px 18px;
	}
    .header-search, .header-social {
    	display: none !important;
    }

    .grid figure h3 {
		font-size: 12px;
		line-height: 22px;
		letter-spacing: 2px;
		max-width: 263px !important;
    }
}
@media all and (max-width: 768px) {
    .mobile-trigger {
        color: #fff !important;
    }
    #main-header {
        position: relative;
    }
}
@media all and (max-width: 992px){
	
	section + .instafeed li {
		width: calc(100% / 4);	
	}
	section + .instafeed li:nth-of-type(5),
	section + .instafeed li:nth-of-type(6) {
		display: none;
	}
	.post-list .inner {
		padding: 30px 30px 30px 300px;
		margin-bottom: 30px;
	}
	.post-list .background-image {
		position: absolute;
		top: 0;
		left: 15px;
		bottom: 0px;
		width: 270px;
	}
	.col-md-8 .post-list .inner {
		padding: 30px 30px 30px 250px;
	}
	.col-md-8 .post-list .background-image {
		width: 220px;
	}
	#main-nav {
		height: 0;
		overflow: hidden;
		padding-top: 70px;
	}
	#main-nav.nav-open {
	    height: auto;
	    max-height: 380px;
	    overflow-y: scroll;
	}
	#main-nav ul li a {
		background-color: #fefefe;
		padding: 10px 15px;
	}
	#main-nav ul ul, .social-menu ul ul, .scrolled #main-nav ul ul, .scrolled .social-menu ul ul {
		padding-top: 0;
	}

	#main-nav ul,
	#main-nav ul ul,
	#main-nav ul ul ul,
	#main-nav li,
	#main-nav ul li a,
	#main-nav .header-social,
	#main-nav .header-search {
		display: block;
		opacity: 1;
		pointer-events: auto;
		position: static;
		-moz-transform: translateY(0px);
		-webkit-transform: translateY(0px);
		-o-transform: translateY(0px);
		-ms-transform: translateY(0px);
		transform: translateY(0px);
		text-align: left;
		width: 100%;
	}
	#main-nav {
		position: static;
	}
	#sub-header,
	#main-nav .search-trigger {
		display: none;
	}
	#main-nav .header-social li {
		display: inline-block;
		width: auto;
	}
	#main-nav ul ul {
		text-indent: 20px;
	}
	#main-nav ul ul ul {
		text-indent: 40px;
	}
	aside.col-md-4 {
		clear: both;
		float: none;
		margin: 50px auto 0;
	}
	footer .widget {
		max-width: 300px;
		margin: 0 auto 50px;
	}
	.intro {
		padding: 0px 50px 60px;
	}
	
}

@media all and (min-width: 768px) and (max-width: 991px) {
	.mobile-trigger {
		display: block;
		padding-top: 10px;
		margin-bottom: -60px;
		text-align: right;
	}
}

@media all and (max-width: 767px){
	.mobile-trigger {
		display: block;
		padding-top: 30px;
		margin-bottom: -60px;
	}
	.post-list .inner {
		padding: 30px;
	}
	.post-list .background-image {
		position: static;
		height: 350px;
		width: auto;
	}
	.col-md-8 .post-list .inner {
		padding: 30px;
	}
	.col-md-8 .post-list .background-image {
		width: auto;
	}
	#sub-footer .pull-left,
	#sub-footer .pull-right {
		float: none !important;
		text-align: center;
		margin-bottom: 10px;
	}
	.intro {
		padding: 0px 40px 60px;
	}
	#main-header {
		text-align: center;
	}
	.slider-fullwidth .caption-overlay .grid .inner {
		max-width: 520px;
	}
	.grid {
	    margin-bottom: 50px;
	}
	.social-menu {
		text-align: center !important;
	}
	.grid .inner h3 {
	    margin: 0 0 20px;
	    font-size: 20px;
	    letter-spacing: 5px;
	    font-weight: 300;
	    line-height: 34px;
	    background-color: #fff;
	    padding: 10px;
	}
	.slider-fullwidth .caption-overlay .grid .inner h3 a, .caption-overlay .grid .inner h3 a {
	    background-color: transparent;
	    padding: 0;
	}
	.post-title span {
	    font-size: 28px;
	    line-height: 40px;
	}
	.post-nav-item {
		margin-bottom: 30px;
	}
}

#master-wrapper {
	background-color: #fff;
	overflow: hidden;
	padding-bottom: 80px;
}

@media all and (min-width: 991px) {
	.custom-background #master-wrapper {
		margin: 30px 80px 0;
	}		
	.custom-background  #footer-wrapper {
		margin: 0 80px 30px;
	}	
	.custom-background #main-footer {
		background-color: rgba(0,0,0,0.8);
	}	
	.custom-background #main-footer {
		background: rgba(0,0,0,0.85);
	}
	.custom-background.scrolled #main-nav-wrapper {
		padding: 0 80px;
	}
}

@media all and (max-width: 480px){
	.mobile-trigger {
		display: block;
		padding-top: 30px;
		margin-bottom: -60px;
	}
	.post-list .inner {
		padding: 30px;
	}
	.post-list .background-image {
		position: static;
		height: 350px;
		width: auto;
	}
	.col-md-8 .post-list .inner {
		padding: 30px;
	}
	.col-md-8 .post-list .background-image {
		width: auto;
	}
	#sub-footer .pull-left,
	#sub-footer .pull-right {
		float: none !important;
		text-align: center;
		margin-bottom: 10px;
	}
	.intro {
		padding: 0px 40px 60px;
	}
	#main-header {
		text-align: center;
	}
	.slider-fullwidth .caption-overlay .grid .inner {
		max-width: 320px;
	}
}