/*

	Theme Name: Folly
	Theme URI: http://www.nicethemes.com
	Description: A professional portfolio theme. Designed by <a href="http://www.nicethemes.com">NiceThemes</a>
	Version: 1.0.6
	Author: NiceThemes
	Author URI: http://nicethemes.com

	Copyright: (c) 2013 NiceThemes.
	License: GNU/GPL Version 2 or later. http://www.gnu.org/licenses/gpl.html
	License URI: license.txt
	Tags: light, brown, one-column, fixed-width, custom-menu, featured-images, full-width-template, theme-options, translation-ready

	*************************************************************************

	0.	CSS Reset
	1.	Document Setup
	2.	Header Styles
	3.	Navigation & Menus
	4.	Main Content Styles
	5.	Comments
	6.	Portfolio Content Styles
	7.	Post Content Styles
	8.	Slider
	9.	Pagination
	10.	Footer Styles
	11.	Page & Page Templates
	12.	Social
	13.	Contact form
*/

/*-------------------------------------------------------------------------------------------*/
/* 0. RESET - http://meyerweb.com/eric/tools/css/reset/ | v1.0 | 20080212 */
/*-------------------------------------------------------------------------------------------*/

body,html{height:100%;}
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body{line-height:1;}
ol,ul{list-style:none;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content: '';content: none;}
:focus{outline:0;}
ins { text-decoration: none; }
del{text-decoration:line-through;}
table{border-collapse:collapse;border-spacing:0;}

/* Floating & Alignment  */
.fl, .alignleft {float:left;}
.fr, .alignright{float:right;}
.ac{text-align:center;}
.aligncenter {margin-left: auto;margin-right: auto;display: block;clear: both;}
.ar{text-align:right;}

/* Clear Floats  */
.col-full:after{content:".";display:block;height:0;clear:both;visibility:hidden;}
.fix{clear:both;height:1px;overflow:hidden;margin:-1px 0 0;}
html body * span.clear,html body * div.clear,html body * li.clear,html body * dd.clear{background:none;border:0;clear:both;display:block;float:none;font-size:0;list-style:none;overflow:hidden;visibility:hidden;width:0;height:0;margin:0;padding:0;}
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .clearfix { display: inline-block; } /* Hide from IE Mac \*/ .clearfix { display: block; } /* End hide from IE Mac */ .none { display: none; } /* End Clearfix */

/*-----------------------------------------------------------------------------------*/
/*	1.	Document Setup
/*-----------------------------------------------------------------------------------*/

body {
	background-color: #f0efe9;
	background-image: url(images/waves.png);
	color: #9b9181;
	font: 15px/20px 'Rokkitt', serif;

}

input,
textarea {
	background: #dfdad0;
	border: none;
	color: #908b82;
	font: 14px/20px 'Rokkitt', 'Georgia','Times New Roman', serif;
}

.hidden {
	display: none;
}

.clear {
	clear: both;
	display: block;
	font-size: 0;
	height: 0;
	line-height: 0;
	width: 100%;
}

hr {
	background-color: #e3e3e3;
	border: 0 none;
	height: 1px;
	margin-bottom: 20px;
}

ol, ul {
	list-style: none outside none;
}

*::-moz-selection {
	background: #d18949;
	color: #fff;
}

*::selection {
	background: #d18949;
	color: #fff;
}

*::-webkit-selection {
	background: #d18949;
	color: #fff;
}

/* hyperlinks */
a {
	color: #3B3636;
	text-decoration: none;
	-moz-transition:	all 0.2s linear;
	-o-transition:		all 0.2s linear;
	-ms-transition:		all 0.2s linear;
	transition:			all 0.2s linear;
	-webkit-transition: all 0.2s linear;
}

a:hover {
	color:#FB6022;
}

a img {
	border: none;
}

p,
pre,
ul,
ol,
dl,
dd,
blockquote,
address,
table,
fieldset,
form,
.gallery-row,
.post-thumb,
.author-bio {
	margin-bottom: 20px;
}

.hentry,
.navigation-links,
.hfeed,
.pinglist {
	margin-bottom: 40px;
}

.widget
.children,
.entry-content ol ol,
.entry-content ol ul,
.entry-content ul ul,
.comment-body ol ol,
.comment-body ol ul,
.comment-body ul ul,
.widget ul ul {
	margin-bottom: 0;
}

#container {
	margin: 0 auto;
	padding: 30px 0 40px;
}

.col-full {
	margin: 0 auto;
	width: 600px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #635C5C;
	font-weight: normal;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	width: 620px;
}

h1 {
	font-size: 28px;
	letter-spacing: -1px;
	line-height: 24px;
	padding: 30px 0;
}

h2 {
	font-size: 20px;
	line-height: 22px;
}

h3 {
	font-size: 18px;
	line-height: 20px;
}

h4 {
	font-size: 16px;
	font-style: italic;
	line-height: 18px;
	margin-bottom: 15px;
}

h5 {
	font-size: 14px;
	line-height: 18px;
}

h6 {
	font-size: 12px;
	line-height: 16px;
}

/*-----------------------------------------------------------------------------------*/
/*	2.	Header Styles	*/
/*-----------------------------------------------------------------------------------*/

#header #top {
	text-align:center;
}

#header .logo {
	padding-top:50px;
}

#header h1 {
	text-align:center;
	padding:0;
}

h1.intro {
	font-size: 32px;
	line-height: 32px;
}

/*-----------------------------------------------------------------------------------*/
/*	3.	Navigation & Menus
/*-----------------------------------------------------------------------------------*/
#menu-switcher {
	background-image: url(images/waves.png);
	background-color: #C2C0B1;
	cursor: pointer;
	float: right;
	padding: 15px 12px;
	position: absolute;
	right: 10px;
	z-index: 10;
}

.arrow-up {
	background-image: url(images/arrows-menu.png);
	background-repeat: no-repeat;
	height: 15px;
	width: 22px;
}

.arrow-down {
	background-image: url(images/arrows-menu.png);
	background-position: 0 -24px;
	background-repeat: no-repeat;
	height: 15px;
	width: 22px;
}

.menu-nav-container {
	float: none;
	margin: 0 auto;
	position: relative;
	width: 700px;
}

#navigation {
	background-color: #e0ddce;
	background-image: url(images/waves.png);
	font-size: 14px;
	margin: 0 auto;
	position: relative;
	text-align: center;
	width: 100%;
}

#navigation ul {
	float: left;
	margin: 0 auto;
	width: 670px;
}

.nav {
	list-style: none;
	line-height: 1;
	margin: 0 auto;
	padding: 0;
	width: 100%;
	z-index: 99;
}

#navigation .nav li a {
	color: #3b3636;
	display: block;
	padding: 6px 10px;
	line-height: 18px;
	margin-right: 10px;
	position: relative;
	text-decoration: none;
	text-transform: uppercase;
	z-index: 100;
}

#navigation .nav li:hover a,
#navigation .nav li.current_page_item a,
#navigation .nav li.current_page_parent a,
#navigation .nav li.current-menu-ancestor a,
#navigation .nav li.current-menu-item a,
#navigation .nav li.sfHover {
	color: #333;
}

#navigation .nav li {
	background: url(images/menu-dot.png) no-repeat scroll right center transparent;
	display: inline-block;
	position: relative;
	width: auto;
}

#navigation .nav li a.sf-with-ul {
	padding-right: 20px;
}

#navigation .nav li:last-child {
	background: none;
}

#navigation .nav li ul {
	float: none;
	width: 200px;
	margin: 0;
}

.nav li ul {
	background-color: #E0DDCE;
	background-image: url(images/waves.png);
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius:	5px;
	-moz-border-radius-bottomright:		5px;
	-moz-border-radius-bottomleft:		5px;
	border-bottom-right-radius:			5px;
	border-bottom-left-radius:			5px;
	left: -999em;
	margin: 0;
	margin-top: -2px;
	position: absolute;
	text-align: left;
	width: 200px;
	z-index: 999;
}

#navigation .nav li ul li {
	background-image: none;
	border: none;
	-moz-box-shadow:	0 0 0;
	-webkit-box-shadow: 0 0 0;
	box-shadow:			0 0 0;
	display: block;
	padding: 0 10px;
}

#navigation .nav li ul li a,
#navigation .nav li ul li ul li a {
	border-bottom: 1px solid #CDCBBE;
	margin: 0;
}

#navigation .nav li ul li:hover a {
	background-image: none;
	-moz-box-shadow:	0 0 0;
	-webkit-box-shadow: 0 0 0;
	box-shadow:			0 0 0;
}

#navigation .nav li ul li:last-child {
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius:	5px;
	-moz-border-radius-bottomright:		5px;
	-moz-border-radius-bottomleft:		5px;
	border-bottom-right-radius:			5px;
	border-bottom-left-radius:			5px;
}

#navigation ul li ul li:last-child a,
#navigation ul li ul li ul li:last-child a {
	border-bottom: none;
}

#top #navigation .nav li ul li a {
	background: none;
	border-radius: 0;
	border-bottom: 1px solid #888;
	text-shadow:none !important;
	-moz-box-shadow:	0 0 0;
	-webkit-box-shadow: 0 0 0;
	box-shadow:			0 0 0;
	color: #444;
	font-size: 12px;
	padding: 8px 10px;
	width: 160px;
}

#top #navigation .nav li ul li:last-child a {
	border: none;
}

#navigation .nav li ul li a.sf-with-ul {
	padding: 5px 10px;
}

#top #navigation .nav li ul li a:hover,
#navigation .nav li ul li.current_page_item a,
#navigation .nav li ul li.current-menu-item a {
	color: #fff;
}

#navigation .nav li ul ul {
	margin: -30px 0 0 180px;
}

#navigation .nav li ul ul li a {
}
#navigation .nav li ul li ul li a {
}

#navigation .nav li:hover,.nav li.hover {
	position: static;
}

#navigation .nav li:hover ul ul, .nav li.sfhover ul ul,
#navigation .nav li:hover ul ul ul, .nav li.sfhover ul ul ul,
#navigation .nav li:hover ul ul ul ul, .nav li.sfhover ul ul ul ul {
	left: -999em;
}

#navigation .nav li:hover ul,
.nav li.sfhover ul,
#navigation .nav li li:hover ul,
.nav li li.sfhover ul,
#navigation .nav li li li:hover ul,
.nav li li li.sfhover ul,
#navigation .nav li li li li:hover ul,
.nav li li li li.sfhover ul {
	left: auto;
}

#navigation .nav .sf-sub-indicator {
	background: url(images/arrow-superfish.png) no-repeat;
	display: block;
	height: 10px;
	overflow: hidden;
	position: absolute;
	right: 0.4em;
	text-indent: -999em;
	top: 0.9em;
	width: 10px;
}

#navigation .nav li ul .sf-sub-indicator {
	background :url(images/arrow-superfish-right.png) no-repeat;
}

/*-----------------------------------------------------------------------------------*/
/*	4.	Main Content Styles
/*-----------------------------------------------------------------------------------*/

address {
	font-style: italic;
}

abbr[title],
acronym[title],
dfn[title] {
	cursor: help;
	border-bottom: 1px dotted #666;
}

blockquote {
	background: #fff;
	min-height: 40px;
	font-family: Georgia, Times, serif;
	font-style: italic;
	padding: 20px;
}

strong {
	font-weight: bold;
}

em,
dfn,
cite {
	font-style: italic;
}

dfn {
	font-weight: bold;
}

sup {
	font-size: 11px;
	vertical-align: top;
}

sub {
	font-size: 11px;
	vertical-align: bottom;
}

small {
	font-size: 11px;
}

del {
	text-decoration: line-through;
}

ins {
	text-decoration: underline;
}

code,
pre {
	line-height: 18px;
}

var,
kbd,
samp,
code,
pre {
	font: 12px/18px Consolas, "Andale Mono", Courier, "Courier New", monospace;
}

kbd {
	font-weight: bold;
}

samp,
var {
	font-style: italic;
}

pre {
	white-space: pre;
	overflow: auto;
	padding: 0;
	border: 1px solid #e8e8e8;
	clear: both;
	line-height: 19px;
	background: url(images/pre_bg.gif);
}

code {
	padding: 3px;
	background: #f5f5f5;
}

ul,
ol,
dl {
	margin-left: 30px;
}

table {
	border: 1px solid #ccc;
	border-width: 1px;
	line-height: 18px;
	margin: 0 0 22px 0;
	text-align: left;
	padding: 0 5px;
}

table .even {
	background: #F4F4F4;
}

caption {
	text-align: left;
}

tr {
	border-bottom: 1px solid #ccc;
}

th,
td {
	padding: 5px;
	vertical-align: middle;
	text-align: center;
}

img.alignleft {
	float: left;
	margin: 10px 25px 20px 0;
}

img.alignright {
	display: block;
	margin: 10px 0 25px 20px;
}

img.size-large {
	margin: 10px 0 20px -180px;
}

img.aligncenter {
	margin-left: auto;
	margin-right: auto;
	display: block;
	clear: both;
	margin-top: 5px;
}

.wp-smiley {
	max-height: 13px;
	margin: 0 !important;
}

input,
textarea,
button {
	background-color: #C2C0B1;
	background-image: url(images/waves.png);
}

input,
textarea {
	padding: 5px;
}

input {
	height: 20px;
}

input[type=submit] {
	height: auto;
}

button {
	padding: 2px 10px;
	cursor: pointer;
}

input:focus,
textarea:focus,
button:hover {
	background: #fff;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
}

input:focus,
textarea:focus {
	color: #444;
}

.last {
	clear: right;
	margin-right: 0 !important;
}

/*-------------------------------------------------------------------------------------------*/
/* 5. Comments */
/*-------------------------------------------------------------------------------------------*/

#comments,
#respond-container {
	border-top: 1px solid #e6e6e6;
	border-bottom: 1px solid #e6e6e6;
	margin: 0;
	padding: 0;
	position: relative;
}

#comments {
	margin: 10px 0 20px;
}

#comments h3 {
	color: #3b3b3b;
	font-size: 22px;
	margin: 20px 0;
}

#comments ol {
	margin: 0;
}

#comments .comment.thread-even {
}

.bypostauthor {
}

#comments .comment.bypostauthor .comment-entry {
}

#comments .comment {
	list-style-type: none;
	width: 100%;
}

#comments .comment .comment-container {
	border-bottom: 1px solid #e2e2e2;
	padding: 10px 0 10px 0;
	position: relative;
}

#comments .comment:last-child .comment-container {
	border-bottom: none;
}

#comments .comment:first-child .comment-container {
	border-top: none;
}

#comments .comment-head {
	margin: 0 0 15px 0;
}

#comments .avatar {
	float: left;
	margin: 0 10px 10px 0;
}

#comments .avatar img {
	background: #fff;
	box-shadow: 1px 0 1px #e9e9e9;
	margin: 0;
	padding: 5px;
	vertical-align: middle;
}

#comments .comment-head .name {
	color: #4f4e4b;
	display: block;
	font-size: 16px;
	float: left;
	margin: 0;
	padding-right: 10px;
}

#comments .comment-head .date,
#comments .comment-head .edit,
#comments .comment-head .perma {
	font-size: 13px;
}

#comments .comment-entry {
	margin-left: 80px;
	padding:0;
}

#comments .comment-entry p {
	margin: 0 0 10px 0;
}

#comments .reply {
	background: url(images/ico-reply.png) no-repeat left;
	float: right;
	margin-left: 10px;
	padding-right: 10px;
}

#wrapper #comments .reply a {
	background: url(images/right-arrow.png) left no-repeat;
	color: #777;
	font-size: 10px;
	padding: 3px 3px 3px 12px;
	text-transform: uppercase;
}

#comments h5.nocomments {
	color: #444444;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: normal;
	padding: 20px;
}

#comments ul.children {
	border-bottom: 1px solid #e2e2e2;
	margin: 0 0 0 25px;
	padding: 0;
}

#comments ul.children li {
	/*border-top: 1px solid #e6e6e6;
	border-bottom: 1px solid #e6e6e6;*/
}
#comments .cancel-comment-reply {
	margin: 10px 0;
}

#comments .navigation {
}

#comments .navigation a {
	display: block;
	margin: 15px 0 0 0;
	text-decoration: none;
}

#comments .navigation a:hover {
}

#comments h3#pings {
	margin-top: 25px;
}

#comments .pingbacks li.pingback {
	margin: 10px 0;
}

#comments .pingbacks li.pingback .reply {
	display: none;
}

#comments .nocomments {
	font-size: 14px;
	padding-top: 20px;
}

/* 5.2 Comments Form */
#respond {
}

#respond h3 {
	color: #333;
	font-weight: normal;
	margin-bottom: 20px;
}

#respond .left {
	float: left;
	margin-right: 15px;
	width: 200px;
}

#respond .right {
	float: left;
	width: 380px;
}

#respond label {
	color: #777;
}

#commentform p {
	margin: 0;
}

#commentform label {
	clear: both;
	float: left;
	margin-bottom: 10px;
	width: 150px;
}

#commentform input.txt, #commentform textarea {
}

#commentform textarea, #commentform input {
	float: left;
	font-size: 18px;
	color: #fff;
	margin-bottom: 10px;
	padding: 10px;
	width: 580px;
}

#commentform input:focus,
#commentform textarea:focus,
#commentform input:active,
#commentform textarea:active {
	color: #3B3636;
}


/* Buttons */
a.button,
#commentform #submit,
#contact-page .submit {
	clear: both;
	cursor: pointer;
	float: right;
	background-color: #3B3636;
	height: auto;
	margin-top: 10px;
	text-align: center;
	width: 150px;
}

a.button.large {
	padding: 6px 16px;
}

a.button.small,
a.comment-reply-link {
	padding: 0 10px;
}

a.button:hover,
a.button.hover,
a.button.active,
a.comment-reply-link:hover,
#commentform #submit:hover,
#contact-page .submit:hover {
	text-decoration: none !important;
}

a.button:active,
a.button.active,
#commentform #submit:active,
#contact-page .submit:active {
	color: #fb6022;
}

/*-------------------------------------------------------------------------------------------*/
/* 6.  Portfolio Content Styles */
/*-------------------------------------------------------------------------------------------*/

.portfolio-home {
	background-color: #E0DDCE;
	background-image: url(images/waves.png);
	padding: 40px 0;
}

body.single-portfolio .post {
	padding-bottom: 0;
}

#content ul#portfolio-grid {
	list-style: none;
	padding-left: 0;
	margin: 0 auto;
	width: 920px;
}

#content ul#portfolio-grid li {
	padding-left: 0;
	margin-left: 0;
}

#content ul#portfolio-grid li {
	float: left;
	margin-top: 20px;
	margin-right: 20px;
	text-align: center;
	width: 215px;
}

#content ul#portfolio-grid > li:first-child,
#content ul#portfolio-grid > li:first-child + li,
#content ul#portfolio-grid > li:first-child + li + li,
#content ul#portfolio-grid > li:first-child + li + li + li {
	margin-top: 0;
} /* Clears the top margin for the first four list items */

#content ul#portfolio-grid li:nth-child(4n) {
	margin-right: 0;
} /* Removes the right margin from every fourth list item */

#content ul#portfolio-grid li:nth-child(4n+1) {
	clear: left;
} /* Clears the first list item after every fourth */

#content ul#portfolio-grid img {
	background: #fff;
	height: 140px;
	overflow: hidden;
	padding: 5px;
	-webkit-transition: opacity .3s ease-in-out;
	-moz-transition:	opacity .3s ease-in-out;
	-o-transition:		opacity .3s ease-in-out;
	-ms-transition:		opacity .3s ease-in-out;
	transition:			opacity .3s ease-in-out;
	width: 205px;
}

#content ul#portfolio-grid a > img:hover {
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.1);
	-moz-box-shadow:	0 1px 2px rgba(0,0,0,.1);
	box-shadow:			0 1px 2px rgba(0,0,0,.1);
	opacity: .6;
}

.portfolio-categories, .portfolio-categories a {
	color: #9B9181;
	font-family: Georgia;
}

/*-----------------------------------------------------------------------------------*/
/*	7.  Post Content Styles
/*-----------------------------------------------------------------------------------*/
.post {
	border-bottom: 1px solid #DAD8CD;
	margin: 0 auto;
	padding: 20px 0;
	width: 600px;
}
.post h2 a {
	color: #2b2b2b;
}

.post h2 a:hover {
	color: #fb6022;
}

.post h2 {
	font-size: 24px;
	text-align: left;
}

.sticky {
}

.post p.post-meta {
	color: #3b3636;
	font-size: 14px;
}

.post p.post-meta a {
	color: #fb6022;
}

.post .wp-post-image {
	box-shadow: 1px 0 1px #E9E9E9;
	margin-top: 0;
	padding: 5px;
}

.post .featured-image {
	margin-bottom: 15px;
	min-width: 600px;
}

.post img {
	background: #fff;
	border: none;
	margin-bottom: 15px;
	padding: 5px;
}

.post blockquote cite {
	display: block;
	font-size: 85%;
	padding-top: 20px;
	text-align: right;
}

.post .post-entries {
	background-color: #E0DDCE;
	background-image: url(images/waves.png);
	border-top: 1px solid #DAD8CD;
	margin-top: 10px;
	padding: 20px 10px;
	text-transform: uppercase;
}

.post .post-entries a,
.post blockquote cite a {
	color: #3B3636;
}

.entry {
	border-top: 1px solid #DAD8CD;
	padding-top: 20px;
}

.entry-content img {
	max-width: 680px;
}

.entry ul {
	margin-bottom: 1.5em;
	padding: 0;
}

.entry ul ul {
	margin: 0;
}

.entry ul li {
	list-style-type: disc;
}

.entry ul ul li {
	list-style-type: circle;
}

.entry ol {
	margin-bottom: 1.5em;
	padding: 0;
}

.entry ol ol {
	margin: 0;
}

.entry  ol li {
	list-style-type: decimal;
}

.entry  ol li ol li {
	list-style-type: lower-latin;
}

.entry .video {
	margin-bottom: 20px;
}

span.rss {
	background: url(images/rss.png) no-repeat center center;
	height: 20px;
	text-indent: -999em;
	width: 20px;
}

span.archive_header {
	color: #3B3636;
}

.wp-caption.alignleft {
	background:#fff;
	margin: 10px 20px 20px 0;
	text-align: left;
}

.wp-caption.alignleft .wp-caption-text {
	text-align: center;
}

.wp-caption-text {
	padding-bottom: 5px;
}

.wp-caption {
	background: #fff;
	color: #999;
	font-style: italic;
	font-size: 11px;
	max-width: 500px;
	margin: 10px 0 20px 20px;
	text-align: center;
}

.wp-caption img.size-large {
	margin: 10px 0 0 -180px;
}

.wp-caption img,
.wp-caption img a {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption-text {
	font-family: Georgia, Times, serif;
	margin: 0;
	text-align: right;
}


.wp-caption p.wp-caption-text {
	background: #fff;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 11px;
	font-weight: normal;
	margin: 0;
	padding: 0 5px 5px;
}

.wp-caption {
	text-align: center;
}

.wp-caption img {
	padding: 5px 5px 0;
	margin-bottom: 0;
}

.gallery {
	margin: auto;
}

.gallery-image {
	background: #fff;
	border: none;
	margin-left: 0;
	padding: 5px;
}

.gallery img {
	border: none !important;
	box-shadow: 1px 0 1px #E9E9E9;
}

.gallery-caption {
	margin-left: 0;
}

.gallery-item {
	float: left;
	margin-left: 0;
	text-align: center;
}

.gallery-columns-2 dl { width: 50%; }
.gallery-columns-3 dl { width: 33%; }
.gallery-columns-4 dl { width: 25%; }
.gallery-columns-5 dl { width: 20%; }
.gallery-columns-6 dl { width: 16%; }
.gallery-columns-7 dl { width: 14%; }
.gallery-columns-8 dl { width: 12%; }
.gallery-columns-9 dl { width: 11%; }

/* 3.4 Single Post Author */
#post-author {
	background-color: #e0ddce;
	background-image: url(images/waves.png);
	clear: both;
	padding: 15px;
}

#post-author h4 {
	margin-bottom: 5px;
}

#post-author .profile-image {
	float: left;
	margin: 0 15px 5px 0;
}

#post-author .profile-image img {
	margin: 0;
}

#post-author .profile-link {
}

/*-----------------------------------------------------------------------------------*/
/*	8.  Slider
/*-----------------------------------------------------------------------------------*/
.featured-image {
	background-color: #E0DDCE;
	background-image: url(images/waves.png);
	display: block;
	margin:0 auto;
	padding: 30px 0;
	position: relative;
	text-align: center;
	width: 100%;
}

.featured-image img {
	background: #fff;
	padding: 5px;
}

#slides {
	display: block;
	float: left;
	margin: 0 auto;
	width: 630px;
}

.slides_container a {
	display: block;
}

.slides_container {
	display: none;
	height: 275px;
	overflow: hidden;
	position: relative;
	width: 630px;
}

.slides_container div {
	display: block;
	width: 630px;
}

#slides .next,
#slides .prev {
	background: url(images/arrows.png) no-repeat;
	display: block;
	height: 30px;
	left: -39px;
	position: absolute;
	text-indent: -999em;
	-moz-transition:	none;
	-webkit-transition: none;
	-o-transition: color 0 ease-in;
	transition:		none;
	top: 125px;
	width: 24px;
	z-index: 101;
}

#slides .prev {
	background-position: 0 0;
}

#slides .prev:hover {
	background-position: 0 -30px;
}

#slides .next {
	background-position:-20px 0;
	left:640px;
}

#slides .next:hover {
	background-position: -20px -30px;
}

.pagination {
	margin: 26px auto 0;
	width: 100px;
}

.pagination li {
	float: left;
	list-style: none;
	margin: 0 1px;
}

.pagination li a {
	background-image: url(images/pagination.png);
	background-position: 0 0;
	display: block;
	float: left;
	height: 0;
	overflow: hidden;
	padding-top: 12px;
	-moz-transition:	none;
	-webkit-transition: none;
	-o-transition:		color 0 ease-in;
	transition:			none;
	width: 12px;
}

.pagination li.current a {
	background-position: -20px 0px;
}

.slides_container:first-child .slide {
	display: none;
}

/*-----------------------------------------------------------------------------------*/
/* 9. Pagination */
/*-----------------------------------------------------------------------------------*/
.wp-pagenavi {
	clear: both;
}

.wp-pagenavi span.pages {
	background: none;
	border: none;
}

.wp-pagenavi a, .wp-pagenavi span {
	border:none !important;
	-webkit-border-radius:	3px;
	-moz-border-radius:		3px;
	border-radius:			3px;
	background: #E8E6DA; /*Fallback*/
	margin: 2px;
	padding: 5px 8px !important;
	text-decoration: none;
}

.wp-pagenavi a:hover,
.wp-pagenavi span.current {
	background: #DAD8CD;
	border: none !important;
}

.wp-pagenavi span.current {
	font-weight: normal !important;
}

.nav-entries,
.wp-pagenavi {
	margin: 0 auto;
	padding: 15px;
	text-transform: uppercase;
	width: 600px;
}

.nav-entries a {
	color: #777;
	display: block;
	text-decoration: none;
}

.nav-entries a:hover {
	text-decoration: underline;
}

/*-----------------------------------------------------------------------------------*/
/*	10.  Footer Styles
/*-----------------------------------------------------------------------------------*/

#footer {
	clear: both;
	background-color: #E0DDCE;
	background-image: url(images/waves.png);
	margin: 0 auto;
	padding: 25px 0 20px 0;
	text-align: center;
}

#footer-container {
	background: #f5f5f5;
	margin: 80px 0 0 0;
}

.single #footer-container {
	margin: 0;
}

#footer a {
	color: #3b3636;
	-webkit-transition: all 0.2s linear;
	-moz-transition:	all 0.2s linear;
	-o-transition:		all 0.2s linear;
	-ms-transition:		all 0.2s linear;
	transition:			all 0.2s linear;

}

#footer a:hover {
	color: #333;
}

/*-------------------------------------------------------------------------------------------*/
/* 5.  Page Templates */
/*-------------------------------------------------------------------------------------------*/

body.single #content h1,
body.single #content h2,
body.single #content h3,
body.single #content h4,
body.single #content h5,
body.single #content h6 {
	text-align: left;
}

body.single #content h1 {
	padding-bottom: 5px;
}

body.single .post {
	padding-bottom: 0;
}

body.error404 .content404 {
	text-align: center;
}

body.error404 h1.huge {
	font-size: 150px;
}

.one_half { width: 48%; }
.one_third { width: 30.66%; }
.two_third { width: 65.33%; }
.one_fourth { width: 22%; }
.three_fourth { width: 74%; }
.one_fifth { width: 16.8%; }
.two_fifth { width: 37.6%; }
.three_fifth { width: 58.4%; }
.four_fifth { width: 67.2%; }
.one_sixth { width: 13.33%; }
.five_sixth { width: 82.67%; }

.one_half,
.one_third,
.two_third,
.three_fourth,
.one_fourth,
.one_fifth,
.two_fifth,
.three_fifth,
.four_fifth,
.one_sixth,
.five_sixth {
	float: left;
	margin-right: 4%;
	margin-bottom: 20px;
	position: relative;
}

.column-last {
	clear: right;
	margin-right: 0 !important;
}

/*-----------------------------------------------------------------------------------*/
/*	12.  Social
/*-----------------------------------------------------------------------------------*/

.social-links {
	list-style: none;
	margin: 0 auto;
	text-align: center;
	width: 875px;
}

#social {
	list-style: none;
	margin: 0;
}

#social > li {
	display: inline-block;
	position: relative;
}

#social > li a {
	background-image: url(images/social.png);
	background-repeat: no-repeat;
	display: block;
	height: 70px;
	-moz-transition: none;
	-webkit-transition: none;
	-o-transition: color 0 ease-in;
	transition: none;
	text-indent: -999em;
	width: 70px;
}

#social #rss a				{ background-position: 0px 0px; 		}
#social #rss:hover a		{ background-position: -70px 0; 		}

#social #facebook a			{ background-position: 0px -70px; 		}
#social #facebook:hover a	{ background-position: -70px -70px; 	}

#social #twitter a			{ background-position: 0px -140px; 		}
#social #twitter:hover a	{ background-position: -70px -140px; 	}

#social #dribbble a			{ background-position: 0px -210px; 		}
#social #dribbble:hover a	{ background-position: -70px -210px; 	}

#social #vimeo a			{ background-position: 0px -280px; 		}
#social #vimeo:hover a		{ background-position: -70px -280px; 	}

#social #forrst a			{ background-position: 0px -350px; 		}
#social #forrst:hover a		{ background-position: -70px -350px; 	}

#social #lastfm a			{ background-position: 0px -420px; 		}
#social #lastfm:hover a		{ background-position: -70px -420px; 	}

#social #tumblr a			{ background-position: 0px -490px; 		}
#social #tumblr:hover a		{ background-position: -70px -490px; 	}

#social #digg a				{ background-position: 0px -560px; 		}
#social #digg:hover a		{ background-position: -70px -560px; 	}

#social #flickr a			{ background-position: 0px -630px; 		}
#social #flickr:hover a		{ background-position: -70px -630px; 	}

#social #ember a			{ background-position: 0px -700px; 		}
#social #ember:hover a		{ background-position: -70px -700px; 	}

#social #google a			{ background-position: 0px -770px; 		}
#social #google:hover a		{ background-position: -70px -770px; 	}

#social #sharethis a		{ background-position: 0px -840px; 		}
#social #sharethis:hover a	{ background-position: -70px -840px; 	}

#social #skype a			{ background-position: 0px -910px; 		}
#social #skype:hover a		{ background-position: -70px -910px; 	}

#social #youtube a			{ background-position: 0px -980px; 		}
#social #youtube:hover a	{ background-position: -70px -980px; 	}

#social #github a			{ background-position: 0px -1050px; 	}
#social #github:hover a		{ background-position: -70px -1050px; 	}

#social #yahoo a			{ background-position: 0px -1120px; 	}
#social #yahoo:hover a		{ background-position: -70px -1120px; 	}

#social #aim a				{ background-position: 0px -1190px; 	}
#social #aim:hover a		{ background-position: -70px -1190px; 	}

#social #behance a			{ background-position: 0px -1260px; 	}
#social #behance:hover a	{ background-position: -70px -1260px; 	}

#social #blogger a			{ background-position: 0px -1330px; 	}
#social #blogger:hover a	{ background-position: -70px -1330px; 	}

#social #paypal a			{ background-position: 0px -1400px; 	}
#social #paypal:hover a		{ background-position: -70px -1400px; 	}

#social #quora a			{ background-position: 0px -1470px; 	}
#social #quora:hover a		{ background-position: -70px -1470px; 	}

#social #evernote a			{ background-position: 0px -1540px; 	}
#social #evernote:hover a	{ background-position: -70px -1540px; 	}

#social #linkedin a			{ background-position: 0px -1610px; 	}
#social #linkedin:hover a	{ background-position: -70px -1610px; 	}


/*-----------------------------------------------------------------------------------*/
/*	13.  Contact Form
/*-----------------------------------------------------------------------------------*/

.nice-contact-form {
	margin: 0 auto;
	width: 440px;
}

.nice-contact-form label {
	clear: both;
	float: left;
	margin-bottom: 10px;
	width: 150px;
}

.nice-contact-form input,
.nice-contact-form textarea {
	color: #fff;
	font-size: 18px;
	float: left;
	margin-bottom: 10px;
	padding: 10px;
	width: 420px;
}

.nice-contact-form input:focus,
.nice-contact-form textarea:focus,
.nice-contact-form input:active,
.nice-contact-form textarea:active {
	color: #3B3636;
}

.nice-contact-form textarea {
	height: 150px;
}

.nice-contact-form #node {
	color: #fb6022;;
	display: none;
	float: left;
	margin-bottom: 10px;
	text-transform: uppercase;
	width: 100%;
}

.nice-contact-form #success {
	color: #48B855;
	display: none;
	float: left;
	margin-bottom: 10px;
	text-transform: uppercase;
	width: 100%;
}

.nice-contact-form input[type=submit] {
	background-color: #3B3636;
	clear: both;
	cursor: pointer;
	float: right;
	height: auto;
	margin-top: 10px;
	text-align: center;
	text-transform: uppercase;
	width: 150px;
}

.nice-contact-form input[type=submit]:active,
.nice-contact-form input[type=submit]:focus {
	color: #fb6022;
}

.nice-contact-form label.error {
	color: #fb6022;
	background: url(images/bg-error.png) no-repeat left top;
	margin-left: -25px;
	margin-top: -20px;
	padding-left: 25px;
	padding-top: 15px;
	width: 350px;
}

.nice-contact-form input.valid {
	background-image: url(images/tick.png);
	background-repeat: no-repeat;
	background-position: right center;
}