/*
	Theme Name: Maritime Bus
	Theme URL: http://technomediapei.com
	Description: A responsive child theme for Genesis.
	Author: TechnomediaPEI
	Author URI: http://technomediapei.com
	Version: 1.0
	Template: genesis

	License: GNU General Public License v2.0 (or later)
	License URI: http://www.opensource.org/licenses/gpl-license.php
*/

/* Table of Contents

* Import Fonts
* Defaults
* Hyperlinks
* Body
* Wrap
* Header
* Image Header - Partial Width
* Image Header - Full Width
* Header / Primary / Secondary Navigation
* Primary Navigation Extras
* Inner
* Breadcrumb
* Taxonomy Description
* Content-Sidebar Wrap
* Content
* Column Classes
* Featured Post Grid
* Headlines
* Ordered / Unordered Lists
* Post Info
* Post Meta
* Author Box
* Sticky Posts
* Archive Page
* Home Page
* Post Icons
* Images
* Post Navigation
* Primary / Secondary Sidebars
* Dropdowns
* Featured Page / Post
* User Profile
* Buttons
* Search Form
* eNews & Updates Widget
* Calendar Widget
* Twitter Widget
* Flickr Widget
* Social List Widget
* Footer Widgets
* Footer
* Comments
* Gravity Forms
* Portfolio Template
* Responsive Design
* Self-clearing floats

*/


/* Defaults
------------------------------------------------------------ */

body,
h1,
h2,
h2 a,
h2 a:visited,
h3,
h4,
h5,
h6,
p,
select,
textarea {
	color: #333;
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: normal;
	line-height: 1.5625;
	margin: 0;
	padding: 0;
	text-decoration: none;
}

blockquote,
input,
select,
textarea,
.author-box,
.breadcrumb,
.sticky,
.taxonomy-description,
.wp-caption {
	background-color: #fff;
	border: 1px solid #ddd;
}

.author-box,
.breadcrumb,
.sticky,
.taxonomy-description,
.wp-caption {
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
	box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.1);
}

input,
select,
textarea {
	color: #333;
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 300;
	-webkit-box-shadow: 0 1px 1px hsla(0, 0%, 0%, .1);
	-moz-box-shadow: 0 1px 1px hsla(0, 0%, 0%, .1);
	box-shadow: 1px 1px 1px hsla(0, 0%, 0%, .1);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

li,
ol,
ul {
	margin: 0;
	padding: 0;
}

ol li {
	list-style-type: decimal;
}


/* Hyperlinks
------------------------------------------------------------ */

a {
	color: #4877b0;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a img {
	border: none;
}


/* Body
------------------------------------------------------------ */

::-moz-selection {
	background-color: #4877b0;
	color: #fff;
}

::selection {
	background-color: #4877b0;
	color: #fff;
}


/* Wrap
------------------------------------------------------------ */

#wrap {
	padding: 0;
}

.wrap {
	width: 940px;
	margin: 0 auto;
}


/* Header
------------------------------------------------------------ */

#header {
	margin: 0 auto;
	min-height: 100px;
	width: 100%;
	border-top: #ddd 10px solid;
}

#header .wrap {
	padding-top: 50px;
	padding-bottom: 50px;
	background: url(images/bg-line.png) repeat-x bottom;
}


#title-area {
	float: left;
	overflow: hidden;
}

#title {
	font-size: 30px;
	line-height: 1.25;
	margin: 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style:	 italic;
}

#title a,
#title a:hover {
	color: #333;
	text-decoration: none;
}

#description {
	font-size: 14px;
	margin-bottom: 0;
	line-height: 20px;
}

#header .widget-area {
	float: right;
	width: 200px;
	text-align: right;
}


/* Image Header - Partial Width
------------------------------------------------------------ */

.header-image #title-area,
.header-image #title,
.header-image #title a {
	display: block;
	float: left;
	overflow: hidden;
	padding: 0;
}

.header-image #description {
	display: block;
	overflow: hidden;
}


/* Image Header - Full Width
------------------------------------------------------------ */

.header-full-width #title-area,
.header-full-width #title,
.header-full-width #title a {
	width: 100%;
}


/* Header / Primary / Secondary Navigation
------------------------------------------------------------ */

#navigation {
	background: url(images/bg-header.png) repeat bottom;
}

#navigation .wrap {
	padding-top: 20px;
	padding-bottom: 20px;
}

#navigation #nav {
	float: left;
	height: auto;
	width: 70%;
}

#navigation #nav .wrap {
	width: auto;
	margin: 0;
	padding: 0;
}

#search_area {
	float: right;
	width: 20%;
}

#search_area #s {
	border: none;
	font-size: 11px;
	width: 140px;
	float: right;
	background: #fff url(images/icon-search.png) 100% 50% no-repeat;
	padding: 5px 30px 5px 10px;
	margin-top:3px;
	color: #888;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

#mobile-menu {
	display: none;
	margin-top: 20px;
}

.menu-primary {
	clear: both;
	color: #333;
	font-size: 11px;
	margin: 0 auto;
	overflow: hidden;
	width: 100%;
	text-transform: uppercase;
	text-shadow: 1px 1px #000;
}

.menu-primary ul {
	float: left;
	width: 100%;
}

.menu-primary li {
	float: left;
	list-style-type: none;
}

.menu-primary a {
	color: #fff;
	display: block;
	padding: 6px 16px;
	position: relative;
	text-decoration: none;
	margin-right: 15px;
	margin-bottom: 1px;
}

.menu-primary li a:active,
.menu-primary li a:hover,
.menu-primary .current_page_item a,
.menu-primary .current-cat a,
.menu-primary .current-menu-item a {
	background: url(images/bg-activenav.png) repeat-x top;
	color: #fff;
	border: 1px solid #272728;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 5px 15px;
	-webkit-box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
	-moz-box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
	box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
}

.menu-primary li li a,
.menu-primary li li a:link,
.menu-primary li li a:visited {
	background: none;
	border: none;
	color: #333;
	font-size: 11px;
	padding: 9px 10px 8px;
	position: relative;
	text-transform: none;
	width: 138px;
	text-shadow: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	margin-bottom: 0;
}

.menu-primary li li a:active,
.menu-primary li li a:hover {
	background-color: #f5f5f5;
	color: #333;
}

.menu-primary li ul {
	height: auto;
	left: -9999px;
	margin: 0 0 0 -1px;
	position: absolute;
	width: 160px;
	z-index: 9999;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px; 
	background: #fff;
	border: 1px solid #ddd;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
}

.menu-primary li ul a {
	width: 140px;
}

.menu-primary li ul ul {
	margin: -36px 0 0 159px;
}

.menu li:hover ul ul,
.menu li.sfHover ul ul {
	left: -9999px;
}

.menu li:hover,
.menu li.sfHover {
	position: static;
}

ul.menu li:hover>ul,
ul.menu li.sfHover ul {
	left: auto;
}

.menu li a .sf-sub-indicator {
	display: none;
}

.menu li li a .sf-sub-indicator,
.menu li li li a .sf-sub-indicator {
	background: url(images/icon-plus.png) no-repeat;
	height: 16px;
	position: absolute;
	right: 8px;
	text-indent: -9999px;
	top: 10px;
	width: 16px;
	display: block;
}

#wpadminbar li:hover ul ul {
	left: 0;
}


/* Primary Navigation Extras
------------------------------------------------------------ */

.menu li.right {
	float: right;
	padding: 7px 15px 6px;
}

.menu li.right a {
	background: none;
	border: none;
	color: #333;
	display: inline;
	text-decoration: none;
}

.menu li.right a:hover {
	color: #0d72c7;
	text-decoration: none;
}

.menu li.search {
	padding: 0 10px;
}

.menu li.rss a {
	background: url(images/rss.png) no-repeat center left;
	margin: 0 0 0 10px;
	padding: 0 0 0 16px;
}

.menu li.twitter a {
	background: url(images/twitter-nav.png) no-repeat center left;
	padding: 0 0 0 20px;
}


/* Inner
------------------------------------------------------------ */

#inner {
	margin: 0 auto 30px auto;
	overflow: hidden;
	width: 940px;
	padding: 30px 0;
}


/* Breadcrumb
------------------------------------------------------------ */

.breadcrumb {
	font-size: 14px;
	margin: -10px 0 30px;
	padding: 5px 10px;
}


/* Taxonomy Description
------------------------------------------------------------ */

.taxonomy-description {
	background-color: #fff;
	margin: -10px 0 30px;
	padding: 0 0 15px;
}

.taxonomy-description p {
	font-size: 14px;
	padding: 15px 15px 0;
}


/* Content-Sidebar Wrap
------------------------------------------------------------ */

#content-sidebar-wrap {
	float: left;
	width: 750px;
}

.content-sidebar #content-sidebar-wrap,
.full-width-content #content-sidebar-wrap,
.sidebar-content #content-sidebar-wrap {
	width: 100%;
}

.sidebar-content-sidebar #content-sidebar-wrap,
.sidebar-sidebar-content #content-sidebar-wrap {
	float: right;
}


/* Content
------------------------------------------------------------ */

#content {
	float: left;
	padding: 0 20px 10px 0;
	width: 410px;
}

.content-sidebar #content,
.sidebar-content #content {
	width: 640px;
}

.sidebar-content #content {
	padding-right: 0;
	padding-left: 20px;
}

.sidebar-content #content,
.sidebar-sidebar-content #content {
	float: right;
}

.full-width-content #content {
	width: 940px;
	padding: 0;
}

.post {
	margin: 0 0 40px;
}

.entry-content {
	overflow: hidden;
}

.entry-content p {
	margin: 0 0 25px;
}

blockquote {
	background: url(images/blockquote.png) no-repeat;
	border: none;
	margin: 5px 5px 20px;
	padding: 25px 30px 5px 70px;
}

blockquote p {
	color: #999;
	font-style: italic;
}

p.subscribe-to-comments {
	padding: 20px 0 10px;
}

.clear {
	clear: both;
}

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

html[xmlns] .clearfix {
	display: block;
}

* html .clearfix {
	height: 1%;
}

.clear-line {
	border-bottom: 1px solid #ddd;
	clear: both;
	margin: 0 0 25px;
}

.box-lined {
	background: url(images/bg-lined.png) repeat top left;
	border: 1px solid #ddd;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	color: #545E68;
	line-height: 25px;
    padding: 25px 10px 10px 50px;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
	box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.1);
}

.box-lined p {
	color: #545E68;
	margin-bottom: 25px;
	line-height: 25px;
	font-weight: normal;
}


/* Column Classes
------------------------------------------------------------ */

.five-sixths,
.four-fifths,
.four-sixths,
.one-fifth,
.one-fourth,
.one-half,
.one-sixth,
.one-third,
.three-fifths,
.three-fourths,
.three-sixths,
.two-fifths,
.two-fourths,
.two-sixths,
.two-thirds {
	float: left;
	margin: 0 0 20px;
	padding-left: 3%;
}

.one-half,
.three-sixths,
.two-fourths {
	width: 48%;
}

.one-third,
.two-sixths {
	width: 31%;
}

.four-sixths,
.two-thirds {
	width: 65%;
}

.one-fourth {
	width: 22.7%;
}

.three-fourths {
	width: 73.5%;
}

.one-fifth {
	width: 17.4%;
}

.two-fifths {
	width: 37.8%;
}

.three-fifths {
	width: 58.2%;
}

.four-fifths {
	width: 78.6%;
}

.one-sixth {
	width: 14%;
}

.five-sixths {
	width: 82%;
}

.first {
	clear: both;
	padding-left: 0;
}


/* Featured Post Grid
------------------------------------------------------------ */

.genesis-grid-even,
.genesis-grid-odd {
	margin: 0 0 20px;
	padding: 0 0 15px;
	width: 48%;
}

.genesis-grid-even {
	float: right;
}

.genesis-grid-odd {
	clear: both;
	float: left;
}


/* Headlines
------------------------------------------------------------ */

h1,
h2,
h2 a,
h2 a:visited,
h3,
h4,
h5,
h6 {

	line-height: 1.25;
	margin: 0 0 10px;
}

h1 {
	font-size: 26px;
}

h1.entry-title{
	padding-bottom: 40px;
	background: url(images/bg-line.png) repeat-x bottom;
	font-weight: bold;
	font-size: 24px;
	margin-bottom: 15px;
}

h2.entry-title a {
	font-weight: bold;
	font-size: 20px;
}

.taxonomy-description h1 {
	margin: 0;
}

h2,
h2 a,
h2 a:visited {
	font-size: 24px;
}

h2 a,
h2 a:visited {
	color: #333;

}

h2 a:hover {
	color: #0d72c7;
	text-decoration: none;
}

.widget-area h2,
.widget-area h2 a {
	font-size: 14px;
	margin: 0 0 5px;
}

h3 {
	font-size: 22px;
}

h4 {
	font-size: 18px;
}

.widget-area h4 {
	border-bottom: 1px solid #ddd;
	padding-bottom: 10px;
	color: #444;
	font-size: 12px;
    font-weight: bold;
	text-transform: uppercase;
}

.taxonomy-description h1 {
	background-color: #f5f5f5;
	border-bottom: 1px solid #ddd;
	font-size: 14px;
	padding: 9px 10px 8px;
}

.widget-area h4 a {
	color: #333;
	text-decoration: none;
}

#footer-widgets h4 {
	background: none;
	border: none;
	padding: 0;
	color: #fff;
	background: url(images/bg-line_footer.png) repeat-x top;
	padding-top: 15px;
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 11px;
	font-weight: bold;
}

h5 {
	font-size: 14px;
}


/* Ordered / Unordered Lists
------------------------------------------------------------ */

.entry-content ol,
.entry-content ul {
	margin: 0;
	padding: 0 0 25px;
}

.archive-page ul li,
.entry-content ul li {
	list-style-type: square;
	margin: 0 0 0 30px;
	padding: 0;
}

.entry-content ol li {
	margin: 0 0 0 35px;
}

.archive-page ul ul,
.entry-content ol ol,
.entry-content ul ul {
	padding: 0;
}


/* Post Info
------------------------------------------------------------ */

.post-info {
	font-size: 10px;
	margin: 5px 0 15px;
	text-transform: uppercase;
	padding-bottom: 15px;
	background: url(images/bg-line_sm.png) repeat-x bottom;
}


/* Post Meta
------------------------------------------------------------ */

.post-meta {
	border-top: 1px solid #ddd;
	clear: both;
	font-size: 10px;
	text-transform: uppercase;
	padding: 5px 0 0;
}


/* Author Box
------------------------------------------------------------ */

.author-box {
	background-color: #fff;
	margin: 0 0 40px;
	overflow: hidden;
	padding: 10px;
}

.author-box p {
	font-size: 14px;
}


/* Sticky Posts
------------------------------------------------------------ */

.sticky {
	background-color: #f5f5f5;
	margin: -10px 0 40px;
	padding: 20px;
}


/* Archive Page
------------------------------------------------------------ */

.archive-page {
	float: left;
	padding: 20px 0 0;
	width: 45%;
}


/* Home Page
------------------------------------------------------------ */

.featured_widget .textwidget,
.featured_widget .textwidget p {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 22px;
	letter-spacing: 1px;
	text-align: center;
	color: #555;
	font-style: italic;
}

.featured_widget {
	clear: both;
	margin-bottom: 40px;
}

.home-row {
	margin-bottom: 40px;
	clear: both;
}

.home-row .thumb img {
	padding: 10px;
	background: #fefefe;
	border: 1px solid #ddd;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
	box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.1);
}

.home-row .thumb:hover {
	opacity: .6;
	-webkit-transition: opacity 0.25s linear;
	-moz-transition: opacity 0.25s linear;
	-o-transition: opacity 0.25s linear;
	transition: opacity 0.25s linear;
}

.home-row h4 {
	background: url(images/bg-line_sm.png) repeat-x top;
	padding-top: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 12px;
	margin-bottom: 30px;
	color: #444;
	font-weight: bold;

}

.home-row .entry-title {
	font-size: 12px;
	font-weight: bold;
	margin: 20px 0;
}

.home-row .entry-title a {
	color: #000;
	text-decoration: none;
}

.home-row .entry-title a:hover {
	color: #4877b0;
}

.home-row .excerpt p {
	font-size: 13px;
}

/* Post Icons
------------------------------------------------------------ */

.post-comments,
.tags {
	background: url(images/icon-dot.png) no-repeat left;
	margin: 0 0 0 3px;
	padding: 0 0 0 10px;
}


/* Images
------------------------------------------------------------ */

img {
	height: auto;
	max-width: 100%;
}

.avatar,
.featuredpage img,
.featuredpost img,
.post-image {
	padding: 5px;
	background: #fefefe;
	border: 1px solid #ddd;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
	box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.1);
}

.author-box .avatar {
	background-color: #fff;
	float: left;
	margin: 0 10px 0 0;
}

.post-image {
	margin: 0 10px 10px 0;
}

.comment-list li .avatar {
	background-color: #fff;
	float: left;
	margin: 5px 10px 0 0;
}

img.centered,
.aligncenter {
	display: block;
	margin: 0 auto 10px;
}

img.alignnone {
	display: inline;
	margin: 0 0 10px;
}

img.alignleft {
	display: inline;
	margin: 0 15px 10px 0;
}

img.alignright {
	display: inline;
	margin: 0 0 10px 15px;
}

.alignleft {
	float: left;
	margin: 0 15px 10px 0;
}

.alignright {
	float: right;
	margin: 0 0 10px 15px;
}

.wp-caption {
	padding: 5px;
	text-align: center;
}

p.wp-caption-text {
	font-size: 14px;
	margin: 5px 0;
}

.wp-smiley,
.wp-wink {
	border: none;
	float: none;
}

.gallery-caption {
}


/* Post Navigation
------------------------------------------------------------ */

.navigation {
	font-size: 11px;
	overflow: hidden;
	padding: 20px 0;
	width: 100%;
}

.navigation li {
	display: inline;
}

.navigation li a {
	background: #eee;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	color: #222;
	text-transform: uppercase;
}

.navigation li a,
.navigation li.disabled,
.navigation li a:hover,
.navigation li.active a {
	border: 1px solid #ddd;
	padding: 5px 8px;
	text-decoration: none;
}

.navigation li a:hover,
.navigation li.active a {
	background-color: #fff;
}


/* Primary / Secondary Sidebars
------------------------------------------------------------ */

.sidebar {
	display: inline;
	float: right;
	font-size: 12px;
	width: 280px;
}

#sidebar-alt {
	float: left;
	width: 150px;
}

.sidebar-content #sidebar,
.sidebar-sidebar-content #sidebar {
	float: left;
}

.content-sidebar-sidebar #sidebar-alt {
	float: right;
}

.sidebar p {
	font-size: inherit;
}

.sidebar .widget {
	padding-bottom: 25px;
	margin: 0 0 20px;
	background: url(images/bg-line_sm.png) repeat-x bottom;
}

.sidebar.widget-area ul li {
	border-bottom: 1px solid #ddd;
	list-style-type: none;
	margin: 0 0 7px;
	padding: 0 0 5px;
	word-wrap: break-word;
}

.sidebar.widget-area ul ul li {
	border: none;
	margin: 0;
}


/* Dropdowns
------------------------------------------------------------ */

.widget_archive select,
#cat {
	display: inline;
	margin: 5px 15px 0;
	padding: 3px;
	width: 85%;
}


/* Featured Page / Post
------------------------------------------------------------ */

.featuredpage,
.featuredpost {
	clear: both;
	margin: 0 0 15px;
	overflow: hidden;
}

.featuredpage .page,
.featuredpost .post {
	border-bottom: 1px solid #ddd;
	margin: 0 0 5px;
	overflow: hidden;
	padding: 0 15px 10px;
}

#footer-widgets .featuredpage .page,
#footer-widgets .featuredpost .post {
	margin: 0 0 10px;
	padding: 0;
}

.more-from-category {
	padding: 5px 15px 0;
}


/* User Profile
------------------------------------------------------------ */

.user-profile {
	overflow: hidden;
}

.user-profile p {
	padding: 5px 15px 0;
}

.user-profile .posts_link {
	padding: 0 15px;
}


/* Buttons
------------------------------------------------------------ */

input[type="button"],
input[type="submit"],
a.button,
a.comment-reply-link {
	font-family: sans-serif;
	display: inline-block;
	line-height: 20px;
	padding: 5px 12px;
	margin:0 10px 20px 0;
	border: 1px solid #222;
	border-bottom-color: #000;
	color: #fff !important;
	text-align: center;
	text-shadow: 0 -1px 0 hsla(0,0%,0%,.3);
	text-decoration: none !important;
	font-size: 12px;
	cursor: pointer;
	font-weight: normal;

	/*Border radius*/
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;

	/*Background*/
	background-color: #444;
	background: -webkit-gradient(linear,left top,left bottom,color-stop(.2, #444),color-stop(1, #000));
	background: -moz-linear-gradient(center top,#444 20%,#000 100%);

	/*Box shadow*/
	-webkit-box-shadow:
						inset 0 0 2px hsla(0,100%,100%,.3) /*Shine*/,
						0 1px 1px hsla(0, 0%, 0%, .29) /*Shadow*/;
	-moz-box-shadow:
					inset 0 0 2px hsla(0,100%,100%,.3) /*Shine*/,
					0 1px 1px hsla(0, 0%, 0%, .29) /*Shadow*/;
	box-shadow:
				inset 0 0 2px hsla(0,100%,100%,.3) /*Shine*/,
				1px 1px 1px hsla(0, 0%, 0%, .29) /*Shadow*/;
}

input:hover[type="button"],
input:hover[type="submit"],
a.button:hover,
a.comment-reply-link:hover {
	background: #000;
	background: -webkit-gradient(linear,left top,left bottom,color-stop(.2, #555),color-stop(1, #111));
	background: -moz-linear-gradient(center top,#555 20%,#111 100%);
}

input:active[type="button"],
input:active[type="submit"],
a.button:active,
a.comment-reply-link:active {
	position: relative;
    top: 1px;
}


/* Search Form
------------------------------------------------------------ */

#header .searchform {
	float: right;
	padding: 12px 0 0;
}

.sidebar .searchform {
	padding: 5px 0 0 15px;
}

.s {
	margin: 10px -7px 0 0;
	padding: 6px 5px;
	width: 180px;
}

#nav .s {
	background-color: #fff;
	margin: 2px -7px 0 0;
}


/* eNews and Update Widget
------------------------------------------------------------ */

.enews p {
	padding: 0 15px 5px;
}

.enews #subscribe {
	padding: 0 0 0 15px;
}

.enews #subbox {
	margin: 5px -7px 0 0;
	padding: 6px 5px;
	width: 75%;
}


/* Calendar Widget
------------------------------------------------------------ */

#wp-calendar {
	width: 100%;
}

#wp-calendar caption {
	font-size: 12px;
	font-style: italic;
	padding: 2px 5px 0 0;
	text-align: right;
}

#wp-calendar thead {
	background-color: #f5f5f5;
	font-weight: bold;
	margin: 10px 0 0;
}

#wp-calendar td {
	background-color: #f5f5f5;
	padding: 2px;
	text-align: center;
}

/* Twitter Widget
------------------------------------------------------------ */

.latest-tweets ul {
	margin: 0;
}

.sidebar.widget-area .latest-tweets ul li {
	list-style: none;
	padding-left: 40px;
	background: url(images/icon-smallquotes.png) 0 5px no-repeat;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: none;
	font-size: 12px;
	font-style: italic;
}

.sidebar.widget-area .latest-tweets ul li.last {
	background: none;
	padding: 0;
	border: none;
	margin: 0;
	font-weight: bold;
}

.latest-tweets h4.widgettitle {
	margin-bottom: 15px;
}


/* Flickr Widget
------------------------------------------------------------ */

.flickr_badge_image {
	float: left;
	margin: 0 10px 10px 0;
	overflow: hidden;
	width: 50px;
	height: 50px;
	padding: 3px;
	background: #222;
	border: 1px solid #141414;
	-webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.flickr_badge_image:hover {
	border-color: #222;
	background: #444;
	-webkit-transition: background 0.15s linear;
	-moz-transition: background 0.15s linear;
	-o-transition: background 0.15s linear;
	transition: background 0.15s linear;
}


/* Social List Widget
------------------------------------------------------------ */

.social_list {
	margin-top: 5px;
}

.social_list img {
	text-align: right;
	margin-left: 2px;
}

.social_list a:hover {
	opacity: .8;
}

.tooltipsy {
	padding: 4px 8px;
	max-width: 200px;
	color: #fff;
	background: #4877b0;
	text-transform: uppercase;
	font-size: 10px;
	font-weight: bold;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
	box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
}

.tooltipsy:before {
	background: url(images/bg-tip_arrow.png) no-repeat center bottom;
	content: "";
	height: 5px;
	width: 100%;
	bottom: -5px;
	position: absolute;
	right: 0;
}


/* Footer Widgets
------------------------------------------------------------ */

#footer-widgets {
	background: url(images/bg-footerwidgets.jpg) bottom repeat;
	border-top: 10px solid #ddd;
	border-bottom: 1px solid #444;
	clear: both;
	font-size: 12px;
	margin: 0 auto;
	overflow: hidden;
	width: 100%;
	color: #ddd;
	text-shadow: 1px 1px rgba(0,0,0,.5);
	line-height: 22px;
}

#footer-widgets .wrap {
	overflow: hidden;
	padding: 60px 30px 40px;
}

#footer-widgets .widget {
	background: none;
	border: none;
	margin: 0 0 15px;
	padding: 0;
}

#footer-widgets .textwidget {
	padding: 0;
}

#footer-widgets .widget_tag_cloud div div {
	padding: 0;
}

#footer-widgets p {
	font-size: inherit;
	margin: 0 0 10px;
	color: #ddd;
	line-height: 22px;
}

#footer-widgets ul {
	margin: 0;
}

#footer-widgets ul li {
	margin: 0 0 0 20px;
}

#footer-widgets #wp-calendar thead,
#footer-widgets #wp-calendar td {
	background: none;
}

.footer-widgets-1 {
	float: left;
	margin: 0 50px 0 0;
	width: 280px;
}

.footer-widgets-2 {
	float: left;
	width: 280px;
}

.footer-widgets-3 {
	float: right;
	width: 280px;
}


/* Footer
------------------------------------------------------------ */

#footer {
	background: url(images/bg-footer.png) top repeat;
	clear: both;
	font-size: 10px;
	margin: 0 auto;
	overflow: hidden;
	width: 100%;
	text-transform: uppercase;
	text-shadow: 1px 1px #000;
}

#footer .wrap {
	overflow: hidden;
	padding: 20px 0;
}

#footer p {
	font-size: 10px;
	color: #aaa;
}

#footer a,
#footer a:visited {
	color: #fff;
}

#footer a:hover {
	text-decoration: underline;
}

#footer .gototop {
	float: left;
	width: 200px;
}

#footer .creds {
	float: right;
	text-align: right;
	width: 650px;
}


/* Comments
------------------------------------------------------------ */

#comments,
#respond {
	margin: 0 0 15px;
	overflow: hidden;
}

#respond #reply-title, #comments h3 {
	background: url(images/bg-line_sm.png) repeat-x top;
	padding-top: 10px;
	margin-bottom: 30px;
	font-size: 12px;
	font-weight: bold;
	line-height: 20px;
	color: #444;
	letter-spacing: 1px;
	line-height: 20px;
	font-weight: bold;
	text-transform: uppercase;
}

#author,
#comment,
#email,
#url {
	font-size: 12px;
	margin: 10px 10px 0 0;
	padding: 5px;
	width: 250px;
}

#comment {
	height: 150px;
	margin: 10px 0;
	width: 98%;
}

.ping-list {
	margin: 0 0 40px;
}

.comment-list ol,
.ping-list ol {
	padding: 10px;
}

ol.comment-list li.comment {
	list-style: none !important;
}

.comment-list li,
.ping-list li {
	font-weight: bold;
	margin: 15px 0 5px;
	padding: 10px 0;
}

.comment-list li {
	padding: 0 0 10px 20px;
	border-left: 1px solid #ddd;
}

.comment-list li ul li {
	list-style-type: none;
	margin-left: 10px;
	margin-right: -6px;
}

.comment-list p,
.ping-list p {
	margin: 10px 5px 10px 0;
}

.comment-list cite,
.ping-list cite {
	font-style: normal;
}

.commentmetadata {
	font-size: 11px;
}

.nocomments {
	text-align: center;
}

#comments .navigation {
	display: block;
}

#cancel-comment-reply-link {
	margin-left: 15px;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 14px;
}



/* Gravity Forms
------------------------------------------------------------ */

div.gform_wrapper input,
div.gform_wrapper select,
div.gform_wrapper textarea {
	box-sizing: border-box;
	font-size: 14px !important;
	padding: 4px 5px !important;
}

div.gform_footer input.button {
	color: #333;
}

div.gform_wrapper .ginput_complex label {
	font-size: 14px;
}

div.gform_wrapper li,
div.gform_wrapper form li {
	margin: 0 0 10px;
}

div.gform_wrapper .gform_footer {
	border: none;
	margin: 0;
	padding: 0;
}


/* Portfolio Template
------------------------------------------------------------ */

#content .portfolio-teaser img {
	margin: 0;
	background: #fefefe;
    border: 1px solid #ddd;
    border-radius: 2px 2px 2px 2px;
    box-shadow: 0 0 5px 0 rgba(50, 50, 50, 0.1);
    padding: 4px;
}

#content .portfolio-teaser a:hover {
	opacity: .6;
	-webkit-transition: opacity 0.25s linear;
	-moz-transition: opacity 0.25s linear;
	-o-transition: opacity 0.25s linear;
	transition: opacity 0.25s linear;
}

.portfolio-teaser .entry-content {
	overflow: visible;
}

#content .portfolio-teaser h2 {
	margin: 15px 0;
	font-size: 18px;
	font-weight: bold;
}

#content .portfolio-teaser .excerpt p {
	font-size: 12px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	color: #616161;
	line-height: 24px;
}


/* Responsive Design
------------------------------------------------------------ */

@media only screen and (max-width: 600px) {

	#title-area,
	#title,
	#title a {
		text-align: center;
		width: 100% !important;
	}

	.header-image #title a {
		background-position: center !important;
	}

	#navigation .mobile-menu-enabled #nav {
		display: none;
	}

	#navigation {
		text-align: center;
	}

	.mobile-menu-enabled #mobile-menu {
		display: inline-block;
		width: 80%;
		padding: 1%;
    	-webkit-border-radius: 2px;
		-moz-border-radius: 2px;
		border-radius: 2px;
	}

	#search_area {
		float: none;
		width: 100%;
		text-align: center;
	}

	#search_area #s {
		float: none;
		width: 70%;
		margin-top:20px;
	}

	#header .widget-area {
		width: 100%;
		text-align: center;
		margin-top: 20px;
	}

	.slide .flex-caption {
		position: static;
	}

	.latestposts,
	.recentwork {
		text-align: center;
	}

	.twocol-one,
	.threecol-one,
	.threecol-two,
	.fourcol-one,
	.fourcol-two,
	.fourcol-three,
	.fivecol-one,
	.fivecol-two,
	.fivecol-three,
	.fivecol-four,
	.sixcol-one,
	.sixcol-two,
	.sixcol-three,
	.sixcol-four,
	.sixcol-five {
		padding: 0;
		width: 100% !important;
	}

	.five-sixths,
	.four-fifths,
	.four-sixths,
	.one-fifth,
	.one-fourth,
	.one-half,
	.one-sixth,
	.one-third,
	.three-fifths,
	.three-fourths,
	.three-sixths,
	.two-fifths,
	.two-fourths,
	.two-sixths,
	.two-thirds,
	.portfolio-teaser {
		padding: 0;
		width: 100%;
	}

	.portfolio-teaser {
		text-align: center;
		padding: 0;
		margin: 0;
	}

	#navigation .wrap {
		margin: 0;
		padding-top: 0;
	}

	#navigation #nav,
	.menu-primary li,
	.menu-primary li ul,
	.menu-primary li ul a {
		width: 100% !important;
	}

	.menu-primary li a {
		margin: 0;
		padding: 7px 0;
	}

	.menu-primary li a:active,
	.menu-primary li a:hover,
	.menu-primary .current_page_item a,
	.menu-primary .current-cat a,
	.menu-primary .current-menu-item a {
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
		padding: 6px 0;

	}

	.menu li li a .sf-sub-indicator,
	.menu li li li a .sf-sub-indicator {
		background: url(images/icon-plus-white.png) right no-repeat;
	}

	.menu-primary li li a,
	.menu-primary li li a:link,
	.menu-primary li li a:visited {
		background: none;
		color: #fff;
		padding: 8px 0;
	}

	.menu-primary li ul {
		border: none;
		background: #333;
		clear: both;
		margin: 0;
		padding: 0;
		position: inherit;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}

	.menu-primary li ul ul {
		background: #666;
	}

	.menu-primary li ul ul ul {
		background: #999;
	}

	.menu-primary li ul ul {
		margin: 0;
	}


}

@media only screen and (max-width: 940px) {

	body {
		width: 100%;
		margin: 0 auto;
	}

	.archive-page,
	.content-sidebar #content,
	.content-sidebar-sidebar #content,
	.footer-widgets-1,
	.footer-widgets-2,
	.footer-widgets-3,
	.full-width-content #content,
	.sidebar,
	.sidebar-content #content,
	.sidebar-content-sidebar #content,
	.sidebar-sidebar-content #content,
	#content-sidebar-wrap,
	#footer .creds,
	#footer .gototop,
	#footer-widgets .wrap,
	#sidebar-alt,
	#wrap,
	#inner,
	#header,
	#navigation {
		width: 100%;
	}

	#wrap {
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
		margin: 0;
	}

	.wrap {
		width: auto;
		margin-left: 20px;
		margin-right: 20px;
	}

	#footer .creds,
	#footer .gototop {
		float: none;
		text-align: center;
	}

	.home-row img {
		max-width: 90%;
	}

	.page-template-page_portfolio-php #content {
		margin: 0 20px;
		width: auto;
	}

	#description,
	#title a,
	#title a:hover {
		padding: 0;
	}

	#header .searchform {
		float: none;
		padding: 0;
		text-align: center;
	}

	#header .s {
		margin: 0 -7px 0 0;
	}

	.menu li.right {
		display: none;
	}

	.breadcrumb,
	.navigation,
	.sidebar .widget,
	.taxonomy-description {
		margin: 0 20px 20px;
	}

	#content {
		padding: 0;
	}

	.page .page,
	.post,
	#comments,
	#respond {
		padding: 0 20px;
	}

	.author-box {
		margin: 0 20px 40px;
	}

	#footer-widgets .widget {
		padding: 20px 20px 0;
	}

	#footer-widgets .wrap {
		padding: 0;
		margin: 0;
	}

	.footer-widgets-1,
	.footer-widgets-2,
	.footer-widgets-3 {
		margin: 0;
	}

}


/* Self-clearing floats from Dan Cederholm
------------------------------------------------------------ */
#navigation .wrap:after,
#header .wrap:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}