/*

	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.3
	Author: NiceThemes
	Author URI: http://nicethemes.com

	Copyright: (c) 20011 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 {
	font: 15px/20px 'Rokkitt', serif;
	background-color: #f0efe9;
	background-image:url(images/waves.png);
	color: #9b9181;
}

input,
textarea {
	font: 14px/20px 'Rokkitt', 'Georgia','Times New Roman', serif;
	background:#dfdad0;
	border:none;
	color:#908b82;
}

.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:#8cc63f;
	color:#fff;
}

*::selection {
	background:#fc753f;
	color:#fff;
}

*::-webkit-selection {
	background:#fc753f;
	color:#fff;
}

/* hyperlinks */
a { text-decoration: none;
	color:#3B3636;
	-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 {
	font-weight: normal;
	padding: 0;
	color:#635C5C;
	text-align:center;
	width:620px;
	margin:0 auto;
}

h1 {
	font-size: 32px;
	line-height: 24px;
	padding:30px 0;
	letter-spacing:-1px;
}

h2{
	font-size: 24px;
	line-height: 22px;
}

h3 {
	font-size: 20px;
	line-height: 20px;
}

h4 {
	font-size: 18px;
	line-height: 18px;
	margin-bottom: 15px;
	font-style: italic;
}

h5 {
	font-size: 16px;
	line-height: 18px;
}

h6 {
	font-size: 14px;
	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{ width:700px; font-size:20px;line-height: 20px;}

/*-----------------------------------------------------------------------------------*/
/*	3.	Navigation & Menus
/*-----------------------------------------------------------------------------------*/
#menu-switcher{
	padding: 15px 12px;
	background-color:#C2C0B1;
	float:right;
	position:absolute;
	right:10px;
	z-index:10;
	cursor:pointer;
	background-image: url(images/waves.png);
}

.arrow-up{
	width:22px;
	height:15px;
	background-image:url(images/arrows-menu.png);
	background-repeat:no-repeat;
}

.arrow-down{
	width:22px;
	height:15px;
	background-image:url(images/arrows-menu.png);
	background-position:0 -24px;
	background-repeat:no-repeat;
}

.menu-nav-container{
	margin:0 auto;
	width:700px;
	float:none;
	position:relative;
}

#navigation{
	font-size:14px; text-align:center; width:100%;
	margin:0 auto;
	background-color: #e0ddce;
    background-image: url(images/waves.png);
	position:relative;
}

#navigation ul { margin:0 auto;float:left; width:670px;}

.nav { z-index:99; margin:0 auto; padding:0; list-style:none; line-height:1; width: 100%; }
#navigation .nav li a  {
position:relative; color:#3b3636; display:block; z-index:100; padding:6px 10px; line-height:18px; text-decoration:none; margin-right:10px; text-transform: uppercase;  }
#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  { display:inline-block; position: relative; width: auto; background:url(images/menu-dot.png) no-repeat scroll right center transparent; }
#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);
	position: absolute; left: -999em; width: 200px; z-index:999; margin:0;
	margin-top:-2px;
	-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;
	text-align:left;
}

#navigation .nav li ul li  {
	border:none; padding:0 10px; display:block;
	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 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:0px;
	padding:8px 10px;
	width:160px;
	color:#444;
	font-size:12px;
	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;
}
#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;position:absolute;display:block;right:0.4em;top:0.9em;width:10px;height:10px;text-indent:-999em;overflow:hidden;}
#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 {position:relative;margin:0;padding:0; border-top:1px solid #e6e6e6; border-bottom:1px solid #e6e6e6; }
#comments { margin:10px 0 20px;}
#comments h3  { margin: 20px 0; font-size:22px; color:#3b3b3b; }
#comments ol {margin:0px;}
#comments .comment.thread-even {}
#comments .comment.bypostauthor .comment-entry {   }
#comments .comment{width:100%;list-style-type:none;}

#comments .comment .comment-container  { position:relative; padding: 10px 0 10px 0; border-bottom: 1px solid #e2e2e2; }
#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{margin: 0;vertical-align: middle;padding:5px; background:#fff; box-shadow: 1px 0 1px #e9e9e9; }
#comments .comment-head .name  { margin: 0; font-size: 16px; display: block; float:left; padding-right:10px; color:#4f4e4b; }
#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 { color:#777; font-size:10px; background: url(images/right-arrow.png) left no-repeat; padding:3px; padding-left:12px; text-transform:uppercase;}

#comments h5.nocomments { padding: 20px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #444444; font-weight: normal; }

#comments ul.children{margin:0px 0 0 25px;padding:0; border-bottom:1px solid #e2e2e2; }
#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; width:200px; margin-right:15px; }
#respond .right { float:left; width:380px; }
#respond label { color:#777; }

#commentform p { margin:0;}
#commentform label  {
	float: left;
	width: 150px;
	margin-bottom: 10px;
	clear: both;
}
#commentform input.txt, #commentform textarea { }
#commentform textarea, #commentform input  {
	float: left;
	width: 580px;
	padding: 10px;
	margin-bottom: 10px;
	color:#fff;
	font-size:18px;
}

#commentform input:focus, #commentform textarea:focus, #commentform input:active, #commentform textarea:active {
	color:#3B3636;
}


/* Buttons */
a.button,
#commentform #submit,
#contact-page .submit {
	float: right;
	width: 150px;
	background-color: #3B3636;
	text-align: center;
	margin-top: 10px;
	cursor: pointer;
	clear: both;
	height:auto;
}

a.button.large { padding:6px 16px;}
a.button.small, a.comment-reply-link { padding:0px 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 0px;
}

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 {
	width: 215px;
	float: left;
	margin-top: 20px;
	margin-right: 20px;
	text-align:center;
}

#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: 0px; } /* 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{
	padding:5px;
	overflow:hidden;
	background:#fff;
	width:205px;
	height:140px;
    -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;
}

#content ul#portfolio-grid a > img:hover { opacity: .6;-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);
}

.portfolio-categories, .portfolio-categories a {
	color: #9B9181;
    font-family: Georgia;
}

/*-----------------------------------------------------------------------------------*/
/*	7.  Post Content Styles
/*-----------------------------------------------------------------------------------*/
.post{
	margin:0 auto;
	width:600px;
	border-bottom: 1px solid #DAD8CD;
	padding:20px 0;
  font-size:20px;
}
.post h2 a{
	color:#2b2b2b;
}

.post h2 a:hover {
	color:#fb6022;
}

.post h2{
	font-size:28px;
	text-align:left;
}

.post p.post-meta{
	color:#3b3636;
	font-size:18px;
}

.post p.post-meta a{
	color:#fb6022;
}

.post .wp-post-image {
	padding:5px;
	margin-top:0px;
	box-shadow: 1px 0 1px #E9E9E9;
}

.post .featured-image {
	min-width:600px;
	margin-bottom: 15px;
}

.post img {
	padding:5px;
	background:#fff;
	margin-bottom: 15px;
	border:none;
}

.post blockquote cite{
	display:block;
	font-size:85%;
	padding-top:20px;
	text-align:right;
}

.post .post-entries{
	border-top: 1px solid #DAD8CD;
	padding:20px 10px;
	text-transform:uppercase;
	margin-top: 10px;
	background-color: #E0DDCE;
    background-image: url(images/waves.png);
}

.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{ width:20px; height:20px; background:url(images/rss.png) no-repeat center center; text-indent:-999em;}
span.archive_header{ color:#3B3636;}

.wp-caption.alignleft {
	text-align: left;
	margin: 10px 20px 20px 0;
	background:#fff;
}

.wp-caption.alignleft .wp-caption-text { text-align: center; }

.wp-caption-text { padding-bottom: 5px; }

.wp-caption {
	text-align: center;
	font-style: italic;
	color: #999;
	font-size: 11px;
	max-width: 500px;
	margin: 10px 0 20px 20px;
	background:#fff;
}

.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 {
	margin: 0;
	text-align: right;
	font-family: Georgia, Times, serif;
}


.wp-caption p.wp-caption-text {
	font-family:Georgia, "Times New Roman", Times, serif;
    font-size: 11px;
    font-weight: normal;
    margin: 0;
    padding: 0 5px 5px;
	background:#fff;
}

.wp-caption {
    text-align: center;
}

.wp-caption img{
	padding:5px 5px 0;
	margin-bottom:0;
}

.gallery { margin: auto; }

.gallery-image {
	border:none;
	padding:5px;
	background:#fff;
	margin-left: 0;
}

.gallery img{
	border:none !important;
	box-shadow: 1px 0 1px #E9E9E9;
}

.gallery-caption { margin-left: 0; }

.gallery-item {
	float: left;
	text-align: center;
	margin-left: 0;
}

.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 {
	padding:15px;
	clear:both;
	background-color: #e0ddce;
    background-image: url(images/waves.png);
}
#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-image:url(images/waves.png); display: block; width:100%; background-color:#E0DDCE; text-align:center; margin:0 auto; padding:30px 0; position:relative;}

.featured-image img { background:#fff; padding:5px;}

#slides { width:630px; margin:0 auto; display:block; float:left;}

.slides_container a { display:block; }
.slides_container {
    width:630px;
    height:275px;
	overflow:hidden;
	position:relative;
	display:none;
}

.slides_container div {
    width:630px;
    display:block;
  }

#slides .next, #slides .prev {
	position:absolute;
	background:url(images/arrows.png) no-repeat;
	top:125px;
	left:-39px;
	width:24px;
	height:30px;
	display:block;
	z-index:101;
	text-indent:-999em;
	-moz-transition: none;
    -webkit-transition: none;
    -o-transition: color 0 ease-in;
    transition: none;
}

#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;
	margin:0 1px;
	list-style:none;
}

.pagination li a {
	display:block;
	width:12px;
	height:0;
	-moz-transition: none;
    -webkit-transition: none;
    -o-transition: color 0 ease-in;
    transition: none;
	padding-top:12px;
	background-image:url(images/pagination.png);
	background-position:0 0;
	float:left;
	overflow:hidden;
}

.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 {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background: #E8E6DA; /*Fallback*/
    margin: 2px;
    padding: 5px 8px !important;
    text-decoration: none;
	border:none !important;
}
.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{ padding:15px; text-transform:uppercase;width: 600px; margin:0 auto; }
.nav-entries a { display: block; color:#777; text-decoration:none;}
.nav-entries a:hover { text-decoration:underline; }

/*-----------------------------------------------------------------------------------*/
/*	10.  Footer Styles
/*-----------------------------------------------------------------------------------*/

#footer {
	padding: 25px 0 20px 0;
	background-color: #E0DDCE;
	background-image:url(images/waves.png);
	margin: 0 auto;
	clear: both;
	text-align:center;

}

#footer-container {
	background:#f5f5f5;
	margin: 80px 0 0 0;
}

.single #footer-container {	margin: 0; }

#footer a{
	color:#3b3636;
	-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;
}

#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 {
	position: relative;
	margin-right: 4%;
	margin-bottom: 20px;
	float: left;
}

.column-last {
	margin-right: 0!important;
	clear: right;
}

/*-----------------------------------------------------------------------------------*/
/*	12.  Social
/*-----------------------------------------------------------------------------------*/

.social-links{
	margin:0 auto;
	width:875px;
	text-align:center;
	list-style:none;
}

#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;
	height: 70px;
	width:70px;
	display: block;
	-moz-transition: none;
    -webkit-transition: none;
    -o-transition: color 0 ease-in;
    transition: none;
	text-indent:-999em;
}

#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 {
	float: left;
	width: 150px;
	margin-bottom: 10px;
	clear: both;
}
.nice-contact-form input, .nice-contact-form textarea {
	float: left;
	width: 420px;
	padding: 10px;
	margin-bottom: 10px;
	color:#fff;
	font-size:18px;
}

.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 {
	float: left;
	width: 100%;
	display: none;
	color: #fb6022;;
	margin-bottom: 10px;
	text-transform:uppercase;
}
.nice-contact-form #success {
	float: left;
	width: 100%;
	color: #48B855;
	display: none;
	margin-bottom: 10px;
	text-transform:uppercase;
}
.nice-contact-form input[type=submit] {
	float: right;
	width: 150px;
	background-color: #3B3636;
	text-align: center;
	margin-top: 10px;
	cursor: pointer;
	clear: both;
	height:auto;
	text-transform:uppercase;
}

.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;
}