/*
Theme Name: Themify Agency
Theme URI: http://themify.me/themes/agency
Version: 1.7.8
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) 2016 Themify.
Tags: featured-images, translation-ready, custom-menu
Text Domain: themify

---------

DO NOT EDIT THIS FILE.

If you need to overwrite the CSS styling, create a new custom_style.css 
in the theme folder and it will automatically load in the <head>.

*/

/************************************************************************************
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 {
	border: 0;
}

/* set img max-width */
img {
	max-width: 100%;
	height: auto;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
/* ie 8 img max-width */
@media \0screen {
	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 */
iframe, object {
	max-width: 100%;
}

/************************************************************************************
GENERAL STYLING
*************************************************************************************/
html {
	-webkit-font-smoothing: antialiased;
}
body {
	font: .85em/150% Georgia, "Times New Roman", Times, serif;
	word-wrap: break-word;
	background-color: #fff;
	color: #999;
}
a {
	text-decoration: none;
	outline: none;
	color: #997551;
}
a:hover {
	text-decoration: underline;
}
p {
	margin: 0 0 1.2em;
	padding: 0;
}
small {
	font-size: 87%;
}
blockquote {
	font: italic 110%/130% "Times New Roman", Times, serif;
	padding: 8px 30px 15px;
}
ins {
	text-decoration: none;
}

/* LIST
================================================ */
ul, ol {
	margin: 1em 0 1.4em 24px;
	padding: 0;
	line-height: 140%;
}
li {
	margin: 0 0 .5em 0;
	padding: 0;
}

/* HEADINGS
================================================ */
h1, h2, h3, h4, h5, h6 {
	line-height: 1.4em;
	margin: 20px 0 .4em;
	font-family: 'Old Standard TT';
	font-weight: normal;
	color: #000;
	font-style: italic;
	word-wrap: normal;
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.8em;
}
#content h2 {
	text-align: center;
	font-size: 26px;
	font-style: normal;
	font-variant: small-caps;
	border-bottom: double 4px #eee;
	padding: 0 0 10px;
	margin: 40px 0 25px;
	letter-spacing: 1px;
	clear: both;
}
#content h2 em,
#content h2 i {
	font-style: italic;
	font-variant: normal;
	font-size: 80%;
	color: #aaa;
	letter-spacing: 0;
}
h3 {
	font-size: 1.6em;
}
h4 {
	font-size: 1.4em;
}
h5 {
	font-size: 1.2em;
}
h6 {
	font-size: 1em;
}

/* FORM
================================================ */
/* form input */
input, textarea, select, input[type=search], button {
	font-size: 100%;
	font-family: inherit;
}
textarea, input[type=text], input[type=password], input[type=search], input[type=email], input[type=url] {
	background-color: #eee;
	border: solid 1px #ddd;
	padding: 6px 10px;
	border-radius: 5px;
	-webkit-appearance: none;
}
input[type=text], input[type=search], input[type=email], input[type=url] {
	width: 240px;
	max-width: 90%;
}

/* text area */
textarea {
	line-height: 150%;
	width: 94%;
}

/* 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 {
	outline: none;
	background-color: #fff;
}

/* form button */
input[type=reset], input[type=submit], button {
	background-color: #997551;
	color: #fff;
	border: none;
	padding: 7px 20px;
	cursor: pointer;
	border-radius: 5px;
	-webkit-appearance: none;
}

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

/************************************************************************************
STRUCTURE
*************************************************************************************/
#pagewrap, .pagewidth, #headerwrap, #header, #main-nav, #body, #layout, #content, .post, .author-box, .post-nav, .pagenav, #sidebar, .widget, #footerwrap, #footer {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* main page width */
.pagewidth {
	width: 978px;
	margin: 0 auto;
}

/* body (middle container) */
#body {
	margin: 0 auto;
	max-width: 100%;
	padding: 0 0 20px;
}

/* content */
#content {
	width: 676px;
	float: left;
	padding: 40px 0 60px;
}
.sidebar-none #content {
	width: 100%;
	float: none;
}

/* sidebar */
#sidebar {
	width: 252px;
	float: right;
	padding: 40px 0 60px;
}

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

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

/************************************************************************************
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;
}

/************************************************************************************
HEADER
*************************************************************************************/
#headerwrap {
	border-bottom: solid 1px #bbb;
	width: 100%;
	background-color: #fff;
}
#header {
	height: 165px;
	position: relative;
	padding-bottom: 5px;
}
#header hgroup {
	position: absolute;
	bottom: 25px;
	width: 100%;
}

/* 
SITE LOGO
================================================ */
#site-logo {
	font: normal small-caps 52px/100% 'Old Standard TT';
	margin: 0;
	padding: 0;
}
#site-logo a {
	text-decoration: none;
	color: #000;
}
#site-logo a:hover {
	text-decoration: none;
}
#site-logo img {
	vertical-align: bottom;
}

/* 
SITE DESCRIPTION
================================================ */
#site-description {
	font: italic 13px/110% 'Old Standard TT';
	color: #999;
	margin: 10px 0 0;
	padding: 0;
	display: inline-block;
	zoom:1;
	*display:inline;
	vertical-align: middle;
}

/* 
FIXED HEADER
================================================ */
.fixed-header {
	position: fixed;
	z-index: 1001;
	top: 0;
	left: 0;
}
.admin-bar .fixed-header {
	top: 32px;
}
.header-on-scroll{
	height: 55px !important;
}
.fixed-header #header hgroup {
	bottom: 14px;
}
.fixed-header #site-logo {
	font-size: 26px;
	margin: 0 10px 0 0;
	padding: 0;
	display: inline-block;
	zoom:1;
	*display:inline;
	vertical-align: text-bottom;
}
.fixed-header #site-logo img {
	max-height: 50px;
	width: auto;
	margin-bottom: -14px;
}
.fixed-header #site-description {
	padding: 0 0 8px;
	margin: 0;
}
.fixed-header #main-nav-wrap {
	bottom: 16px;
}

/* hide other header elements on fixed */
.fixed-header #social-wrap,
.fixed-header #searchform-wrap {
	display: none;
}

/* 
SOCIAL WIDGET
================================================ */
.social-widget {
	position: absolute;
	top: 45px;
	right: 0;
}
.social-widget a {
	text-decoration: none;
}
.social-widget a:hover {
	text-decoration: none;
}
.social-widget .widget {
	display: inline-block;
	zoom:1;
	*display:inline;
	margin: 0 2px 0 0;
	padding: 0;
	background: none;
	border: none;
	
	border-radius: none;
	
	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;
	border: none;
	letter-spacing: 0;
	position: static;
	display: inline-block;
	zoom:1;
	*display:inline;
	margin: 5px 8px 2px 0;
	padding: 0;
	background: transparent;

	box-shadow: none;
}
.social-widget ul {
	margin: 6px 0 0 !important;
	padding: 0;
	display: inline;
}
.social-widget ul li {
	padding: 0 2px 5px 0;
	margin: 0;
	display: inline-block;
	zoom:1;
	*display:inline;
	border: none !important;
	clear: none;
	line-height: 100%;
}
.social-widget li img {
	vertical-align: middle;
	margin-top: -3px;
}

/* rss */
.social-widget div.rss {
	display: inline;
}
.social-widget div.rss a {
	background: url(images/rss.png) no-repeat left center;
	padding: 3px 0 2px 30px;
	display: inline-block;
	zoom:1;
	*display:inline;
}

/* 
SEARCH FORM
================================================ */
#header #searchform {
	position: absolute;
	right: 0;
	top: 5px;
	width: 160px;
	z-index: 100;
}
#header #searchform #s {
	width: 60px;
	border: solid 1px #ddd;
	background: #fff url(images/search.png) no-repeat 8px center;
	padding: 4px 4px 4px 28px;
	float: right;

	border-radius: 12px;

	-webkit-transition: width .7s;
	-moz-transition: width .7s;
	transition: width .7s;
}
#header #searchform #s:focus {
	width: 140px;
}

/* 
MAIN NAVIGATION
================================================ */
#main-nav-wrap {
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: 25px;
	right: 0;
	max-width: 80%;
}
#main-nav {
	margin: 0;
	padding: 0;
}
#main-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	position: relative;
}

/* main level link */
#main-nav a {
	color: #999;
	display: block;
	padding: 6px 12px;
	margin: 0;
	text-decoration: none;
	font: bold 95%/100% Arial, Helvetica, sans-serif;
	text-transform: uppercase;
}
/* main level link :hover */
#main-nav a:hover {
	color: #000;
}

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

/* sub-levels link */
#main-nav ul a, #main-nav .current_page_item ul a, #main-nav ul .current_page_item a, #main-nav .current-menu-item ul a, #main-nav ul .current-menu-item a {
	color: #666;
	font-size: 95%;
	line-height: 140%;
	font-weight: normal;
	text-transform: none;
	padding: 6px 6px 6px 15px;
	margin: 0;
	display: block;
	width: 170px;
	background: none;
	border: none;
	text-shadow: none;

	border-radius: 0;

	box-shadow: none;
}
/* sub-levels link :hover */
#main-nav ul a:hover, #main-nav .current_page_item ul a:hover, #main-nav ul .current_page_item a:hover, #main-nav .current-menu-item ul a:hover, #main-nav ul .current-menu-item a:hover {
	background-color: #F3F3F3;
	color: #000;
	color: black;
}
/* dropdown ul */
#main-nav ul {
	margin: 0;
	padding: 5px 0;
	list-style: none;
	position: absolute;
	background-color: #fff;
	border: solid 1px #ccc;
	z-index: 100;
	display: none;
	
	box-shadow: 0 1px 2px rgba(0,0,0,.3);
	
	border-radius: 5px;
}
#main-nav ul li {
	background: none;
	padding: 0;
	margin: 0;
	float: none;
}
/* sub-levels dropdown */
#main-nav ul ul {
	left: 180px;
	top: -2px;
}
/* show dropdown ul */
.no-touch #main-nav li:hover > ul {
	display: block;
}

/************************************************************************************
SLIDER
*************************************************************************************/
#sliderwrap {
	background: #eee url(images/fibre-bg.png);
	border-bottom: solid 1px #ccc;
	padding: 4% 0 2%;
	position: relative;
}
#slider {
	overflow: hidden;
	font-size: 115%;
}
#slider p {
	margin: 0 0 20px;
}
#slider h1, 
#slider h2, 
#slider h3, 
#slider h4, 
#slider h5, 
#slider h6 {
	padding: 0;
	margin: 0 0 5px;
	border: none;
	font-variant: inherit;
}
.slide-post-title {
	margin: 0 0 5px;
	font-size: 200%;
	line-height: 110%;
	font-style: italic;
}
.slide-image img {
	vertical-align: bottom;
}

/* slider [gallery] */
#slider .gallery img,
#slider .gallery .gallery-item {
	width: 50px !important;
	max-width: 50px !important;
	border-radius: 5px;
}
#slider .gallery .gallery-item {
	margin-right: 1.5% !important;
}

/* slides */
#slider .slides {
	margin: 0 0 5px;
	padding: 0;
	overflow: hidden;
	height: 0; /* hide slider and then expand by js */
}
#slider .slides > li {
	position: relative;
	margin: 0;
	padding: 0;
	width: 100%;
	list-style: none;
	float: left;
	overflow: hidden;
}
body.rtl .flex-viewport {
	direction: ltr;
}

/* default slide */
.slider-default .slide-image {
	float: left;
	margin: 0 30px 10px 0;
}
.slider-default .slide-content {
	overflow: hidden;
	min-width: 120px;
	padding: 30px 0 0 0;
}

/* video in slider */
.slides .post-video,
.slides .embed-youtube {
	margin-bottom: 0;
}
.slider-default .post-video,
.slider-default .embed-youtube {
	width: 600px;
}

/* image caption slide */
.slider-image-caption .slide-content {
	position: relative;
	font-size: 85%;
	line-height: 140%;

	position: absolute;
	bottom: 0;
	left: 0;
	padding: 15px 20px 10px;
	z-index: 5;
	background-color: #000;
	background-color: rgba(0,0,0,.7);
	color: #ccc;
}
.slider-image-caption .slide-post-title {
	color: #fff;
	margin: 0 0 5px;
	padding: 0;
	font-size: 130%;
}
.slider-image-caption .slide-image {
	float: none;
}
#slider .slider-image-caption p {
	margin: 0;
}
.slider-image-caption a {
	text-decoration: none;
	color: #fff;
}
.slider-image-caption a:hover {
	text-decoration: underline;
}


/* Slider plugin style
================================================ */
/* FlexSlider Necessary Styles */ 
#slider .slides > li {
	display: none;
} 

/* slider pager */
.flex-control-nav {
	text-align: center;
	margin: 0;
	padding: 10px 0;
	clear: both;
	position: relative;
	display: inline-block;
	zoom:1;
	*display:inline;
	width: 100%;
}
.flex-control-nav li {
	margin: 0;
	padding: 0;
	display: inline-block;
	zoom:1;
	*display:inline;
	position: relative;
}
/* pager button */
.flex-control-nav a {
	text-indent: -900em;
	width: 11px;
	height: 11px;
	display: block;
	margin: 0 4px;
	cursor: pointer;
	background-color: #e1e1e1;
	display: inline-block;
	vertical-align: middle;
	
	border-radius: 10em;
	
	box-shadow: inset 0 1px 2px rgba(0,0,0,.3);
}
/* pager active */
.flex-control-nav .flex-active {
	background-color: #afafaf;
}

/* Next previous slide button
================================================ */
.flex-direction-nav {
	margin: 0;
	padding: 0;
}
.flex-direction-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.flex-direction-nav a {
	position: absolute;
	top: 50%;
	width: 37px;
	height: 38px;
	background-color: #fff;
	color: #333;
	text-decoration: none;
	text-align: center;
	font: 24px/100% "Times New Roman", Times, serif;
	padding-top: 9px; /* for center align text */
	
	box-shadow: 0 1px 1px rgba(0,0,0,.4);
}
.flex-direction-nav .flex-prev {
	left: 0;

	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}
.flex-direction-nav .flex-next {
	right: 0;

	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}


/************************************************************************************
WELCOME MESSAGE
*************************************************************************************/
.welcome-message {
	text-align: center;
	font-size: 120%;
	margin: 40px 0 60px;
}
.welcome-message h1,
.welcome-message h2,
.welcome-message h3,
.welcome-message h4,
.welcome-message h5,
.welcome-message h6 {
	margin: 0 0 .2em;
}
a.shortcode.button {
	font: bold 12px/100% Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 1px;
	white-space: nowrap;
	color: #fff;
	background-color: #997551;
	padding: 10px 20px;
	margin-left: 5px;
	margin-right: 5px;
	border-color: transparent;
	
	text-shadow: none;
	
	box-shadow: none;
}
a.shortcode.button:hover {
	background-color: #000;
}

/************************************************************************************
PAGE
*************************************************************************************/
/* page title */
.page-title {
	margin: 0 0 15px;
	padding: 0;
	font-size: 300%;
	line-height: 110%;
}

/*
AUTHOR PAGE
================================================ */
.author-bio {
	margin: 0 0 30px;
}
.author-bio .author-avatar {
	float: left;
	margin: 0 15px 0 0;
}
.author-bio .author-avatar img {
	background-color: #fff;
	padding: 4px;
	border: solid 1px #ccc;
}
.author-bio .author-name {
	margin: 0 0 5px;
	padding: 0;
	font-size: 160%;
}
.author-posts-by {
	margin: 0 0 20px;
	padding: 10px 0 0;
	font-size: 140%;
	text-transform: uppercase;
	border-top: double 4px #ccc;
	border-color: rgba(118,118,118,.3);
}

/*
CATEGORY SECTIONS
================================================ */
.category-section {
	clear: both;
	margin-bottom: 30px;
}
.category-section-title {
	font-size: 120%;
	text-transform: uppercase;
	margin: 0 0 20px;
	padding: 10px 0 0;
	border-top: double 4px #ccc;
}

/************************************************************************************
PAGE NAVIGATION
*************************************************************************************/
.pagenav {
	clear: both;
	padding-bottom: 20px;
	text-align: right;
}
.pagenav a, .pagenav span {
	line-height: 100%;
	padding: 4px 0 3px;
	margin: 0 2px;
	vertical-align: middle;
	display: inline-block;
	zoom:1;
	*display:inline;
	min-width: 24px;
	min-height: 18px;
	text-align: center;
	
	border-radius: 5px;
}
.pagenav a {
	background-color: #997551;
	color: #fff;
	text-decoration: none;
}
.pagenav a:hover {
	background-color: #000;
}
.pagenav .current {
	text-decoration: none;
}

/************************************************************************************
POST
*************************************************************************************/
.post {
	margin-bottom: 40px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

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

/* post title */
.post-title {
	margin: 0 0 5px;
	padding: 0;
	font-size: 190%;
}
.post-title a {
	color: #000;
}

/* post image */
.post-image {
	max-width: 100%;
	margin: 0 0 5px;
}
.post-image img {
	border-radius: 5px;
}
.post-image.left {
	float: left;
	margin-right: 15px;
}
.post-image.right {
	float: right;
	margin-left: 15px;
}

/* post meta */
.post-meta {
	margin: 0 0 10px;
	font: normal 85%/120% Arial, Helvetica, sans-serif;
	text-transform: uppercase;
}
.post-meta a {
	font-weight: bold;
}
.post-meta .separator {
	color: #ddd;
	margin: 0 5px;
}

/* post date */
.post-date {
	margin: 10px 0 5px;
	font: italic 100%/120% 'Old Standard TT';
	display: block;
}

/* more button */
.more-link {
	font: bold 12px/100% Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 1px;
	white-space: nowrap;
}

/* grid4 post */
.loops-wrapper.grid4 .post {
	width: 22.6%;
	float: left;
	margin-left: 3.2%;
}
.loops-wrapper.grid4 .post-title {
	font-size: 130%;
	margin: 0 0 3px;
	padding: 0;
}

/* grid3 post */
.loops-wrapper.grid3 .post {
	width: 31.2%;
	float: left;
	margin-left: 3.2%;
}
.loops-wrapper.grid3 .post-title {
	font-size: 150%;
	margin: 0 0 3px;
	padding: 0;
}

/* grid2 post */
.loops-wrapper.grid2 .post {
	width: 48.4%;
	float: left;
	margin-left: 3.1%;
}
.loops-wrapper.grid2 .post-title {
	font-size: 160%;
	margin: 0 0 3px;
	padding: 0;
}

/* grid2-thumb post */
.loops-wrapper.grid2-thumb .post {
	width: 48.4%;
	float: left;
	margin-left: 3.1%;
}
.loops-wrapper.grid2-thumb .post-title {
	margin: 0 0 5px;
	font-size: 160%;
}
.loops-wrapper.grid2-thumb .post-image {
	float: left;
	margin: 5px 14px 10px 0;
}
.loops-wrapper.grid2-thumb .post-content {
	overflow: hidden;
}

/* list thumb post */
.loops-wrapper.list-thumb-image .post-image {
	float: left;
	margin: 7px 16px 10px 0;
}
.loops-wrapper.list-thumb-image .post-content {
	overflow: hidden;
}

/* list large image */
.loops-wrapper.list-large-image .post-image {
	float: left;
	margin: 7px 22px 10px 0;
}
.loops-wrapper.list-large-image .post-title {
	font-size: 200%;
	margin: 0 0 5px;
	padding: 0;
}
.loops-wrapper.list-large-image .post-content {
	overflow: hidden;
}

/*
Clear grid layout posts
================================================ */
.loops-wrapper.grid4,
.loops-wrapper.grid3,
.loops-wrapper.grid2,
.loops-wrapper.grid2-thumb {
	clear: both;
	overflow: hidden;
}

.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 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%;
}

/************************************************************************************
AUTHOR BOX
*************************************************************************************/
.author-box {
	margin: 15px 0;
}
.author-box .author-avatar {
	float: left;
	margin: 0 15px 5px 0;
}
.author-box .author-name {
	margin: 0 0 5px;
}

/************************************************************************************
POST NAVIGATION (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 {
	clear: both;
	border-top: double 4px #eee;
	padding: 30px 0 0;
	margin: 30px 0 40px;
	overflow: hidden;
}
.post-nav .prev,
.post-nav .next {
	width: 47%;
	position: relative;
}
.post-nav a {
	text-decoration: none;
	display: block;
	color: #000;
	font: italic 120%/140% 'Old Standard TT';
}
.post-nav a:hover {
	text-decoration: none;
}
.post-nav .prev {
	float: left;
}
.post-nav .next {
	float: right;
	text-align: right;
}

/* post nav arrow */
.post-nav .arrow {
	color: #fff;
	background-color: #997551;
	font: normal 20px/100% "Times New Roman", Times, serif;
	display: block;
	width: auto;
	float: left;
	width: 32px;
	height: 28px;
	padding: 6px 0 0;
	text-align: center;
	margin: -8px 10px 17px 0;
	
	border-radius: 5px;
}
.post-nav .next .arrow {
	float: right;
	margin-left: 10px;
	margin-right: 0;
}
.post-nav a:hover span {
	background-color: #000;
}

/************************************************************************************
CUSTOM POST TYPE SHORTCODE STYLES
*************************************************************************************/
/*
TESTIMONIAL POST TYPE
================================================ */
.shortcode.testimonial {
	margin-top: 20px;
	margin-bottom: 30px; 
	overflow: hidden;
	clear: both;
}

/*
TEAM POST TYPE
================================================ */
.shortcode.team {
	margin-top: 20px;
	margin-bottom: 30px; 
	overflow: hidden;
	clear: both;
}

/*
HIGHLIGHT POST TYPE
================================================ */
.shortcode.highlight {
	margin-top: 20px;
	margin-bottom: 30px; 
	overflow: hidden;
	clear: both;
}
.shortcode.highlight .post {
	margin-bottom: 30px; 
}
.shortcode.highlight .post-image {
	float: left;
	margin: 0 20px 5px 0; 
}
.shortcode.highlight .post-image img {
	border-radius: 5px;
}
.shortcode.highlight .post-content {
	overflow: hidden;
}

/*
PORTFOLIO POST TYPE
================================================ */
.portfolio {
	text-align: center;
}
.shortcode.portfolio {
	margin-bottom: 30px; 
	overflow: hidden;
	clear: both;
}
.shortcode.portfolio .post {
	margin-bottom: 30px;
	text-align: center;
}
.shortcode.portfolio .post-image {
	margin: 0 0 5px 0; 
}
.shortcode.portfolio .post-image img {
	border-radius: 5px;
}

/* more link wrap */
.more-link-wrap {
	text-align: right;
	clear: both;
	margin: 10px 0 20px;
}

/* portfolio post meta */
.portfolio .post-meta {
	margin: 0;
	text-align: inherit;
}
.portfolio .post-date {
	margin: 0 0 15px;
	text-align: inherit;
	font-size: 90%;
}
.shortcode.portfolio .post-meta .post-category {
	background: none;
	padding: inherit;
}

/* portfolio single */
.single .portfolio {
	text-align: left;
}
.single .portfolio .post-image {
	width: 640px;
	max-width: 100%;
	float: left;
	margin: 0 30px 20px 0;
	padding: 0;
	position: relative;
}

/* portfolio slideshow */
.portfolio .carousel-wrap {
	margin-bottom: 0 !important;
}
.slideshow-wrap {
	visibility: hidden;
	height: 0; /* will be toggled with js */
	overflow: hidden;
	float: none !important; /* prevent float inherited from .post-image */
}
.portfolio .slideshow {
	margin: 0;
	padding: 0;
}
.portfolio .slideshow li {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	width: 100%;
	text-align: center;
}
.portfolio .slideshow img {
	margin-bottom: 5px;
}

/* portfolio slideshow nav */
.portfolio .carousel-nav-wrap {
	margin: 0;
}
.portfolio .carousel-pager {
	text-align: center;
	margin: 0;
	padding: 0;
	clear: both;
	position: relative;
	display: inline-block;
	zoom:1;
	*display:inline;
	width: 100%;
}
.portfolio .carousel-pager a {
	text-indent: -900em;
	width: 11px;
	height: 11px;
	border: none;
	display: block;
	margin: 0 2px;
	cursor: pointer;
	background-color: #e1e1e1;
	display: inline-block;
	vertical-align: middle;
	
	border-radius: 10em;
	
	box-shadow: inset 0 1px 2px rgba(0,0,0,.3);
}
.portfolio .carousel-pager a.selected {
	background-color: #afafaf;
}

/* single portfolio slideshow nav */
.single-portfolio .carousel-pager {
	text-align: left;
	position: absolute;
	top: 10px;
	left: 10px;
}
.single-portfolio .carousel-pager a {
	text-indent: 0;
	text-align: center;
	width: 26px;
	height: 24px;
	padding-top: 2px;
	background-color: #fff;
	color: #999;
	font-size: 12px;
	border: none;
	border-radius: 5px;

	box-shadow: none;
}
.single-portfolio .carousel-pager a.selected {
	background-color: #997551;
	color: #fff;
}

/* portfolio details */
.single .portfolio .post-content {
	overflow: hidden;
}


/************************************************************************************
FILTER NAVIGATION
*************************************************************************************/	
.sorting-nav {
	padding: 0;
	margin: 5px 0 20px;
}
.sorting-nav li {
	margin: 0 5px 5px 0;
	padding: 0;
	list-style: none;
	text-align: right;
	display: inline-block;
	zoom:1;
	*display:inline;
}
.sorting-nav a {
	padding: 4px 10px;
	color: #000;
	background-color: #fff;
	font-size: 95%;
	text-decoration: none;
	line-height: 100%;
	vertical-align: middle;
	text-transform: uppercase;
	
	border-radius: 5px;
}
.sorting-nav a:hover {
	text-decoration: underline;
}
.sorting-nav .active a, .sorting-nav .current-cat a {
	background-color: #997551;
	color: #fff;
}


/*
TESTIMONIAL POST TYPE
================================================ */
.shortcode.testimonial {
	margin-bottom: 30px; 
	overflow: hidden;
	clear: both;
}
.shortcode.testimonial .post {
	margin-bottom: 30px; 
}
.shortcode.testimonial .post-image {
	float: left;
	margin: 0 20px 5px 0; 
}
.shortcode.testimonial .post-image img {
	border-radius: 20em;
}
.shortcode.testimonial .post-content {
	overflow: hidden;
	font: italic 125%/140% 'Old Standard TT';
}
.shortcode.testimonial .testimonial-author {
	clear: both;
	text-align: right;
}
.shortcode.testimonial .testimonial-author .dash {
	width: 20px;
	border-bottom: solid 1px #ddd;
	margin: -15px 6px 0 0;
	height: 10px;
	display: inline-block;
	vertical-align: middle;
	zoom:1;
	*display:inline;
}
.shortcode.testimonial .testimonial-author .testimonial-name {
	margin: 0 0 5px;
	font: bold 85%/100% Arial, Helvetica, sans-serif;
	color: #666;
	text-transform: uppercase;
	display: inline-block;
	vertical-align: middle;
	zoom:1;
	*display:inline;
}
.shortcode.testimonial .testimonial-author .testimonial-title {
	display: block;
	font: italic 80%/120% 'Old Standard TT';
}

/*
TEAM POST TYPE
================================================ */
.shortcode.team {
	margin-bottom: 30px; 
	overflow: hidden;
	clear: both;
}
.shortcode.team .post {
	margin-bottom: 30px; 
}
.shortcode.team .post-image {
	float: left;
	margin: 0 20px 5px 0; 
}
.shortcode.team .post-image img {
	border-radius: 20em;
}
.shortcode.team .post-content {
	overflow: hidden;
	margin-top: 20px;
}
.shortcode.team .team-info {
	margin: 0 0 5px;
}
.shortcode.team .team-info .team-name {
	margin: 0 0 5px;
	font: bold 100%/120% Arial, Helvetica, sans-serif;
	color: #666;
	text-transform: uppercase;
	display: block;
}
.shortcode.team .team-info .team-title {
	display: block;
	font: italic 100%/120% 'Old Standard TT';
}

/************************************************************************************
COMMENTS
*************************************************************************************/
.commentwrap {
	margin: 10px 0 20px;
	position: relative;
	clear: both;
}

/* comment title */
.comment-title, #reply-title {
	font-size: 140%;
	margin: 0 0 10px;
	padding: 0;
}

/* 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: 0 0 30px;
	padding: 5px 0 0;
	border-top: solid 1px #ddd;
}
.commentlist li {
	margin: 0;
	padding: 15px 0 0;
	list-style: none;
	position: relative;
}
.commentlist .comment-author {
	margin: 2px 0 10px;
	padding: 0;
}
.commentlist .avatar {
	float: left;
	margin: 0 15px 0 0;
	
	border-radius: 20em;
}
.commentlist cite {
	font-style: italic;
	font-size: 130%;
}
.commentlist cite a {
	text-decoration: none;
}
.commentlist .bypostauthor > .comment-author cite {
	background: url(images/icon-author-comment.png) no-repeat 0 2px;
	padding-left: 18px;
}
.commentlist .comment-time {
	font-size: 75%;
	text-transform: uppercase;
}
.commentlist .commententry {
	border-bottom: solid 1px #ddd;
	position: relative;
	min-height: 40px;
	overflow: hidden;
	padding-bottom: 5px;
	word-wrap: break-word;
}
.commentlist ul, .commentlist ol {
	margin: 0 0 0 7%;
	padding: 0;
}

/* reply link */
.commentlist .reply {
	position: absolute;
	right: 0;
	top: 8px;
}
.commentlist .comment-reply-link {
	font-size: 11px;
	text-transform: uppercase;
	text-decoration: none;
}
.commentlist .comment-reply-link:hover {
	text-decoration: none;
}

/* 
COMMENT FORM
================================================ */
#respond {
	margin: 0;
	padding: 10px 0 0;
	position: relative;
	clear: both;
}
#respond #cancel-comment-reply-link {
	position: absolute;
	top: 20px;
	right: 0;
	font-size: 85%;
	line-height: 100%;
	text-decoration: none;
	padding: 5px 10px;
	display: block;
	color: #fff;
	border: solid 1px #9e0b0f;

	text-shadow: 0 -1px 0 rgba(0,0,0,.4);
	
	background-color: #e41d24;
	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjM1Ii8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iI2FhYWFhYSIgc3RvcC1vcGFjaXR5PSIwLjE1Ii8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC4wNSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background-image: -moz-linear-gradient(top, rgba(255,255,255,0.35) 0%, rgba(170,170,170,0.15) 66%, rgba(0,0,0,0.05) 100%);
	background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.35) 0%,rgba(170,170,170,0.15) 66%,rgba(0,0,0,0.05) 100%);
	background-image: linear-gradient(to bottom, rgba(255,255,255,0.35) 0%,rgba(170,170,170,0.15) 66%,rgba(0,0,0,0.05) 100%);

	box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.2);
	border-radius: 5px;
}
#respond #cancel-comment-reply-link:hover {
	background-color: #fb4e55;
}
#commentform {
	margin: 15px 0 0;
}
#commentform input[type=text] {
	width: 206px;
	margin-right: 5px;
}
#commentform label {
	font-weight: bold;
}
#commentform label small {
	font-weight: normal;
}
#commentform textarea {
	height: 140px;
}
#commentform input#submit {
	padding: 7px 20px;
}

/************************************************************************************
SIDEBAR
*************************************************************************************/
.widget {
	margin: 0 0 30px;
	word-wrap: break-word;
}
.widgettitle {
	margin: 0 0 10px;
	padding: 0;	
	font: normal 120%/110% 'Old Standard TT';
	text-transform: uppercase;
}
.widget ul {
	margin: 0;
	padding: 0;
}
.widget li {
	margin: 0;
	padding: 6px 0;
	list-style: none;
	clear: both;
	border-top: solid 1px #ddd;
}
.widget ul ul {
	margin: 6px 0 -6px 0px;
	padding: 0;
	border-top: none;
}
.widget ul ul li {
	margin: 0;
	padding-left: 10px;
}

/************************************************************************************
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 br {
	display: none;
}
.widget .feature-posts-list .post-img {
	margin: 4px 12px 10px 0;
	float: left;
}
.widget .feature-posts-list small {
	font-style: italic;
	font-size: 90%;
	display: block;
	margin: 0 0 3px;
}
.widget .feature-posts-list .feature-posts-title {
	margin: 4px 0 3px;
}
.widget .feature-posts-list .post-excerpt {
	display: block;
}

/* twitter widget */
.widget .twitter-list .twitter-timestamp a {
	font-style: italic;
	font-size: 90%;
}
.widget .follow-user {
	margin: 0;
	padding: 5px 0;
}

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

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

/* flickr widget */
.widget .flickr_badge_image {
	margin-top: 10px;
}
.widget .flickr_badge_image img {
	width: 50px;
	height: 50px;
	margin-right: 12px;
	margin-bottom: 12px;
	float: left;
}

/* flickr shortcode */
.shortcode .flickr_badge_image {
	width: 23.8%;
	margin: 0 1.5% 1.5% 0;
	float: left;
}
.shortcode .flickr_badge_image:nth-of-type(4n) {
	margin-right: 0;
}
.shortcode .flickr_badge_image img {
	margin: 0;
}

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

/* 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;
}

/* widget shortcode post title */
#sidebar .shortcode .post-title {
	font-size: 120%;
}

/* Social Links Widget */
.widget .social-links {
	margin: 0 0 20px;
	padding: 0;
	line-height: 100%;
}
.widget .social-links li {
	margin: 0 5px 5px 0;
	padding: 0;
	list-style: none;
	border: none;
	display: inline-block;
	zoom:1;
	*display:inline;
}
.widget .social-links img {
	vertical-align: middle;
}

/************************************************************************************
FOOTER
*************************************************************************************/
#footerwrap {
	background: #eee url(images/fibre-bg.png);
	border-top: solid 1px #ccc;
	padding: 30px 0;
	position: relative;
}
#footer {
	clear: both;
}

/* footer nav */
.footer-nav {
	margin: 5px 0 10px;
	padding: 0;
	text-align: center;
}
.footer-nav li {
	padding: 0;
	margin: 0 8px;
	display: inline;
	list-style: none;
}
.footer-nav a {
	text-decoration: none;
	line-height: 100%;
	vertical-align: middle;
	text-transform: uppercase;
}

/* back to top */
.back-top {
	clear: both;
	margin: 30px 0 5px;
}
.back-top a {
	background: #997551 url(images/arrow-up.png) no-repeat center center;
	display: block;
	width: 34px;
	height: 34px;
	margin: 15px auto 10px;
	text-indent: -900em;
	
	border-radius: 10em;	
}
.back-top a:hover {
	background-color: #000;
}

/* footer text */
.footer-text {
	clear: left;
	font-size: 85%;
	text-align: center;
}

/************************************************************************************
WORDPRESS POST FORMATTING
*************************************************************************************/
.sticky {}
img.alignleft, img.aligncenter, img.alignright, img.alignnone {
	margin-bottom: 15px;
}
.alignleft {
	float: left;
	margin-right: 30px;
}
.alignright {
	float: right;
	margin-left: 30px;
}
.aligncenter {
	text-align: center;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption {
	text-align: center;
	margin-bottom: 15px;
	max-width: 100%;
}
.wp-caption-text {
	font-size: 95%;
	line-height: 120%;
	margin: 6px 0;
}

/************************************************************************************
ATTACHMENT SINGLE VIEW
*************************************************************************************/
.attachment.single-attachment,
.single-attachment .attachment {
	float: none;
	margin: 0;
	text-align: left;
}

/************************************************************************************
GALLERY
*************************************************************************************/
#body .gallery {
	margin: 0 0 20px 0;
}

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

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

/* gallery caption */
#body .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) */
#body .gallery-columns-1 .gallery-item {
	width: auto;
}
#body .gallery-columns-1 br {
	display: none !important;
}

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

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

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

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

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

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

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

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

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

/************************************************************************************
BUILDER
*************************************************************************************/
/* builder row */
.full_width .themify_builder_row .row_inner {
	width: 978px; /* same width as .pagewidth */
	max-width: 100%;
	margin: auto;
}
.full_width .themify_builder_row.fullwidth .row_inner {
	width: auto;
	padding: 0;
}

.module-testimonial .testimonial-post .post-content {
	font: italic 125%/140% 'Old Standard TT';
}

/************************************************************************************
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
{ visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix, .widget li, #body, #footer, footer, .pagenav, #main-nav, .menu, .gallery, #content
{ display: inline-block; }
/* clearfix for ie7 */
.clearfix, .widget li, #body, #footer, footer, .pagenav, #main-nav, .menu, .gallery, #content
{ display: block; zoom: 1; }