/*
Theme Name: Living Sober
Theme URI: http://wordpress.org/themes/livingsober
Author: the WordPress team
Author URI: http://wordpress.org/
Description: In 2014, our default theme lets you create a responsive magazine website with a sleek, modern design. Feature your favorite homepage content in either a grid or a slider. Use the three widget areas to customize your website, and change your content's layout with a full-width page template and a contributor page to show off your authors. Creating a magazine website with WordPress has never been easier.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, green, white, light, dark, two-columns, three-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
Text Domain: livingsober

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/**
 * Table of Contents:
 *
 * 1.0 - Reset
 * 2.0 - Repeatable Patterns
 * 3.0 - Basic Structure
 * 4.0 - Header
 * 5.0 - Navigation
 * 6.0 - Content
 *   6.1 - Post Thumbnail
 *   6.2 - Entry Header
 *   6.3 - Entry Meta
 *   6.4 - Entry Content
 *   6.5 - Galleries
 *   6.6 - Post Formats
 *   6.7 - Post/Image/Paging Navigation
 *   6.8 - Attachments
 *   6.9 - Archives
 *   6.10 - Contributor Page
 *   6.11 - 404 Page
 *   6.12 - Full-width
 *   6.13 - Singular
 *   6.14 - Comments
 * 7.0 - Sidebar
 *   7.1 - Widgets
 *   7.2 - Content Sidebar Widgets
 * 8.0 - Footer
 * 9.0 - Featured Content
 * 10.0 - Multisite
 * 11.0 - Media Queries
 * 12.0 - Print
 * -----------------------------------------------------------------------------
 */


/**
 * 1.0 Reset
 *
 * Resetting and rebuilding styles have been helped along thanks to the fine
 * work of Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
 * along with Nicolas Gallagher and Jonathan Neal
 * http://necolas.github.com/normalize.css/ and Blueprint
 * http://www.blueprintcss.org/
 *
 * -----------------------------------------------------------------------------
 */

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, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}

audio,
canvas,
video {
	display: inline-block;
	max-width: 100%;
}

html {
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body,
button,
input,
select,
textarea {
	color: #444444;
	font-family: 'Karla', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42;
}

.home-page .entry-content p {
	font-size: 17px;
}

body {
	background: #f7f5f0 url('/wp-content/themes/livingsober/images/bkg.jpg') repeat;
}

a {
	color: #294195;
	text-decoration: none;
}

a:hover,
a:active,
a:focus {
	outline: 0;
}

a:active,
a:hover,
.creators a:hover {
	color: #ce4800;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: normal;
	margin: 36px 0 7px;
	font-family: 'Copse', serif;
}

h1 {
	font-size: 50px;
	line-height: 1;
	color: #294195;
	margin-bottom: 7px;
	margin-top: 72px;
}

.home h1 {
	line-height: 1.3;
	margin-top: 65px;
}

h2 {
	font-size: 28px;
	line-height: 1.3;
	color: #ce4800;
	margin-bottom: 46px;
}

h3 {
	font-size: 22px;
	line-height: 1.0909090909;
}

h4 {
	font-size: 20px;
	line-height: 1.2;
}

h5 {
	font-size: 18px;
	line-height: 1.3333333333;
}

h6 {
	font-size: 16px;
	line-height: 1.5;
}

address {
	font-style: italic;
	margin-bottom: 24px;
}

abbr[title] {
	border-bottom: 1px dotted #2b2b2b;
	cursor: help;
}

b,
strong {
	font-weight: 700;
}

cite,
dfn,
em,
i {
	font-style: italic;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

p {
	margin-bottom: 24px;
}

code,
kbd,
tt,
var,
samp,
pre {
	font-family: monospace, serif;
	font-size: 15px;
	-webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;
	line-height: 1.6;
}

pre {
	border: 1px solid rgba(0, 0, 0, 0.1);
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	margin-bottom: 24px;
	max-width: 100%;
	overflow: auto;
	padding: 12px;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

blockquote,
q {
	-webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
	content: none;
}

blockquote {
	color: #767676;
	font-size: 19px;
	font-style: italic;
	font-weight: 300;
	line-height: 1.2631578947;
	margin-bottom: 24px;
}

blockquote cite,
blockquote small {
	color: #2b2b2b;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

blockquote em,
blockquote i,
blockquote cite {
	font-style: normal;
}

blockquote strong,
blockquote b {
	font-weight: 400;
}

small {
	font-size: smaller;
}

big {
	font-size: 125%;
}

sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

dl {
	margin-bottom: 24px;
}

dt {
	font-weight: bold;
}

dd {
	margin-bottom: 24px;
}

ul,
ol {
	list-style: none;
	margin: 0 0 24px 20px;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin: 0 0 0 20px;
}

.entry-content ul li {
	list-style-image: url('/wp-content/themes/livingsober/images/li.png');
	list-style-position: outside;
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	vertical-align: middle;
}

figure {
	margin: 0;
}

fieldset {
	border: 1px solid rgba(0, 0, 0, 0.1);
	margin: 0 0 24px;
	padding: 11px 12px 0;
}

legend {
	white-space: normal;
}

button,
input,
select,
textarea {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	font-size: 100%;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
}

button,
input {
	line-height: normal;
}

input,
textarea {
	background-image: -webkit-linear-gradient(hsla(0,0%,100%,0), hsla(0,0%,100%,0)); /* Removing the inner shadow, rounded corners on iOS inputs */
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
input[disabled] {
	cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

table,
th,
td {
	border: 1px solid rgba(0, 0, 0, 0.1);
}

table {
	border-collapse: separate;
	border-spacing: 0;
	border-width: 1px 0 0 1px;
	margin-bottom: 24px;
	width: 100%;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

th {
	border-width: 0 1px 1px 0;
	font-weight: bold;
}

td {
	border-width: 0 1px 1px 0;
}

del {
	color: #767676;
}

hr {
	background-color: rgba(0, 0, 0, 0.1);
	border: 0;
	height: 1px;
	margin-bottom: 23px;
}

/* Support a widely-adopted but non-standard selector for text selection styles
 * to achieve a better experience. See http://core.trac.wordpress.org/ticket/25898.
 */
::selection {
	background: #f8da45;
	color: #294195;
	text-shadow: none;
}

::-moz-selection {
	background: #f8da45;
	color: #294195;
	text-shadow: none;
}


/**
 * 2.0 Repeatable Patterns
 * -----------------------------------------------------------------------------
 */

/* Input fields */

input,
textarea,
select,
#buddypress div.dir-search input[type="text"],
#buddypress .standard-form input[type="text"],
#buddypress .standard-form input[type="password"],
#buddypress div.activity-comments form textarea,
#buddypress .standard-form textarea {
	border: 1px solid #f8da45;
	border-radius: 4px;
	color: #444444;
	padding: 4px 10px 3px;
	background: #ffffff;
}

#buddypress .standard-form textarea, #buddypress #signup_form.standard-form textarea {
	width: 100%;
	background: #ffffff;
}

select#members-order-by {
	height: 28px;
}

label {
	line-height: 19px;
}

.rightSide input {
	border: 1px solid #ef7a22;
	margin-bottom: 15px;
	padding-left: 24px;
	background: url('/wp-content/themes/livingsober/images/calc-input.jpg') no-repeat 6px 4px #ffffff;
}

.rightSide input#daysSoberMoney {
	margin-bottom: 28px;
	background: url('/wp-content/themes/livingsober/images/money-input.jpg') no-repeat 6px 4px #ffffff;
}

p.halfCalc {
    margin-top: 10px;
    margin-bottom: 12px;
}

p.saved {
    margin-top: 10px;
    margin-bottom: 6px;
}

p.saved .savings {
    font-size: 16px;
    font-weight: bold;
}

#daysSoberPre p {
    margin-bottom: 16px;
}

textarea {
	width: 100%;
}

#buddypress form#whats-new-form textarea {
	min-height: 140px !important;
	font-size: 14px;
	resize: vertical;
}

textarea#comment {
	resize: vertical;
	min-height: 120px;
}

input:focus,
textarea:focus {
	border: 1px solid #ef7a22;
	outline: 0;
}

.rightSide input:focus {
	border: 1px solid #ce4800;
}

#buddypress div.activity-comments form textarea {
	height: 140px;
	resize: vertical;
}

#frm_buddypress-edit-activity textarea {
	height: 140px;
	resize: vertical;
}

/* Buttons */

/*button,
.button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background-color: #24890d;
	border: 0;
	border-radius: 2px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 10px 30px 11px;
	text-transform: uppercase;
	vertical-align: bottom;
}

button:hover,
button:focus,
.button:hover,
.button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	background-color: #294195;
	color: #fff;
}

button:active,
.button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background-color: #55d737;
}*/

/* Placeholder text color -- selectors need to be separate to work. */

::-webkit-input-placeholder {
	color: #939393;
}

:-moz-placeholder {
	color: #939393;
}

::-moz-placeholder {
	color: #939393;
	opacity: 1; /* Since FF19 lowers the opacity of the placeholder by default */
}

:-ms-input-placeholder {
	color: #939393;
}

/* Responsive images. Fluid images for posts, comments, and widgets */

.comment-content img,
.entry-content img,
.entry-summary img,
#site-header img,
.widget img,
.wp-caption {
	max-width: 100%;
}

/**
 * Make sure images with WordPress-added height and width attributes are
 * scaled correctly.
 */

.comment-content img[height],
.entry-content img,
.entry-summary img,
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"],
#site-header img {
	height: auto;
}

img.size-full,
img.size-large,
.wp-post-image,
.post-thumbnail img {
	height: auto;
	max-width: 100%;
}

/* Make sure embeds and iframes fit their containers */

embed,
iframe,
object,
video {
	margin-bottom: 24px;
	max-width: 100%;
}

p > embed,
p > iframe,
p > object,
span > embed,
span > iframe,
span > object {
	margin-bottom: 0;
}

.hide {
	display: none;
}

/* Clearing floats */

.hentry:before,
.hentry:after,
.gallery:before,
.gallery:after,
.slider-direction-nav:before,
.slider-direction-nav:after,
.contributor-info:before,
.contributor-info:after,
.search-box:before,
.search-box:after,
[class*="content"]:before,
[class*="content"]:after,
[class*="site"]:before,
[class*="site"]:after {
	content: "";
	display: table;
}

.hentry:after,
.gallery:after,
.slider-direction-nav:after,
.contributor-info:after,
.search-box:after,
[class*="content"]:after,
[class*="site"]:after {
	clear: both;
}

/* Genericons */

.bypostauthor > article .fn:before,
.comment-edit-link:before,
.comment-reply-link:before,
.comment-reply-login:before,
.comment-reply-title small a:before,
.contributor-posts-link:before,
.menu-toggle:before,
.search-toggle:before,
.slider-direction-nav a:before,
.widget_livingsober_ephemera .widget-title:before {
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font: normal 16px/1 Genericons;
	text-decoration: inherit;
	vertical-align: text-bottom;
}

/* Separators */

.site-content span + .entry-date:before,
.full-size-link:before,
.parent-post-link:before,
span + .byline:before,
span + .edit-link:before,
.widget_livingsober_ephemera .entry-title:after {
	content: "\0020\007c\0020";
}

.menu-main-nav-container {
	-webkit-font-smoothing: antialiased;
}

/**
 * 3.0 Basic Structure
 * -----------------------------------------------------------------------------
 */

.site {
	position: relative;
}

/*.main-content {
	width: 100%;
}*/

/*#main {
	max-width: 1260px;
	margin: 0 auto;
}*/


/**
 * 4.0 Header
 * -----------------------------------------------------------------------------
 */

/* Ensure that there is no gap between the header and
	 the admin bar for WordPress versions before 3.8. */
#wpadminbar {
	min-height: 32px;
}

#site-header {
	position: relative;
	z-index: 3;
}

.site-header {
	background: #f5ca52 url('/wp-content/themes/livingsober/images/yellow-bkg.jpg') repeat-x;
	position: relative;
	width: 100%;
	z-index: 4;
}

.header-main {
	min-height: 48px;
	margin: 0 auto;
}

.logo {
	padding-top: 24px;
	display: block;
	float: left;
	padding-bottom: 19px;
	position: relative;
	z-index: 999;
}

#banner {
	width: 100%;
	background: #edde9d url('/wp-content/themes/livingsober/images/quotes.jpg') no-repeat center top;
	height: 83px;
	display: block;
}

/**
 * 5.0 Navigation
 * -----------------------------------------------------------------------------
 */

.site-navigation ul {
	list-style: none;
	margin: 0;
}

.site-navigation li {
	margin-left: 13px;
}

.site-navigation li:first-child {
	margin-left: 0;
}

.site-navigation ul ul {
	margin-left: 20px;
}

.site-navigation a {
	color: #444;
	display: block;
	text-transform: uppercase;
	font-family: 'Karla', sans-serif;
	font-weight: bold;
	font-size: 15px;
}

.site-navigation a:focus {
	text-decoration: none;
}

.site-navigation a:hover, .single-post #menu-item-25 a:hover, .category #menu-item-25 a:hover, .archive #menu-item-25 a:hover, .single-post #menu-item-25:hover a, .category #menu-item-25:hover a, .archive #menu-item-25:hover a {
	color: #ce4800;
}

.site-navigation .current-page-item > a,
.site-navigation .current-page-ancestor > a,
.site-navigation .current-menu-item > a,
.site-navigation .current-menu-ancestor > a,
.single-post #menu-item-25 > a,
.category #menu-item-25 > a,
.archive #menu-item-25 > a {
	color: #294195;
}

/* Primary Navigation */

.primary-navigation {
	font-size: 14px;
	padding-top: 24px;
}

.primary-navigation.toggled-on {
	padding: 72px 0 20px;
}

.primary-navigation .nav-menu {
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	display: none;
}

.primary-navigation.toggled-on .nav-menu {
	display: block;
}

.primary-navigation a {
	padding: 7px 0;
}

.primary-navigation .menu-item.current-menu-item:after, .primary-navigation .menu-item:hover:after, .primary-navigation .menu-item.current-page-ancestor:after, .single-post #menu-item-25:after, .category #menu-item-25:after, .archive #menu-item-25:after {
	position: absolute;
	height: 3px;
	width: 82%;
	content: " ";
	background: #294195;
	left: 11px;
	bottom: 6px;
	transform:rotate(-2deg);
	-ms-transform:rotate(-2deg); /* IE 9 */
	-webkit-transform:rotate(-1deg); /* Opera, Chrome, and Safari */
}

.primary-navigation .menu-item.current-menu-item:after, .primary-navigation .menu-item.current-page-ancestor:after {
	background: #294195;
}

.primary-navigation .menu-item:hover:after, .single-post #menu-item-25:hover:after, .category #menu-item-25:hover:after, .archive #menu-item-25:hover:after {
	background: #ce4800;
}

.primary-navigation .menu-item a:hover {
	text-decoration: none;
}

.primary-navigation .menu-item .menu-item:hover:after, .primary-navigation .menu-item .menu-item.current-menu-item:after {
	display: none;
}



/* Secondary Navigation */

.secondary-navigation {
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 12px;
	margin: 48px 0;
}

.secondary-navigation a {
	padding: 9px 0;
}

.menu-toggle {
	background: #ef7a22;
	border-radius: 3px;
	cursor: pointer;
	font-size: 0;
	height: 30px;
	margin: 0;
	overflow: hidden;
	padding: 0;
	position: absolute;
	border: 0;
	top: 40px;
	right: 0;
	text-align: center;
	width: 56px;
}

.menu-toggle:before {
	color: #fff;
	content: "\f419";
	display: inline;
	margin-top: 16px;
}

.menu-toggle:active,
.menu-toggle:focus,
.menu-toggle:hover {
	background-color: #444;
}

.menu-toggle:focus {
	outline: 1px dotted;
}


/**
 * 6.0 Content
 * -----------------------------------------------------------------------------
 */

.content-area {
	padding-top: 48px;
}

.site-content .entry-header,
.site-content .entry-content,
.site-content .entry-summary,
.site-content .entry-meta,
.page-content {
	margin: 0 auto;
	max-width: 474px;
}

.page-content {
	margin-bottom: 48px;
}


/**
 * 6.1 Post Thumbnail
 * -----------------------------------------------------------------------------
 */

.post-thumbnail {
	display: block;
	position: relative;
	width: auto;
	max-width: 40%;
	z-index: 0;
	float: left;
	margin-top: 77px;
}

a.post-thumbnail:hover {
	background-color: #999;
}

.full-width .post-thumbnail img {
	display: block;
	margin: 0 auto;
}

.has-post-thumbnail .entry-header {
	width: auto;
	max-width: 57%;
	margin-left: 3%;
	float: left;
}

.has-post-thumbnail .entry-content {
	padding-top: 30px;
	clear: left;
}


/**
 * 6.2 Entry Header
 * -----------------------------------------------------------------------------
 */

.entry-header {
	position: relative;
	z-index: 1;
}

.site-content .entry-header {
	padding: 0 10px 12px;
}

.site-content .has-post-thumbnail .entry-header {
	padding-top: 24px;
}


/**
 * 6.3 Entry Meta
 * -----------------------------------------------------------------------------
 */

.entry-meta {
	clear: both;
	color: #767676;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3333333333;
	text-transform: uppercase;
}

.entry-meta a {
	color: #767676;
}

.entry-meta a:hover {
	color: #ce4800;
}

.sticky .entry-date {
	display: none;
}

.cat-links {
	font-weight: 900;
	text-transform: uppercase;
}

.cat-links a {
	color: #2b2b2b;
}

.cat-links a:hover {
	color: #ce4800;
}

.byline {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.site-content .entry-meta {
	background-color: #fff;
	margin-bottom: 8px;
}

.site-content footer.entry-meta {
	margin: 24px auto 0;
	padding: 0 10px;
}

/* Tag links style */

.entry-meta .tag-links a {
	background-color: #767676;
	border-radius: 0 2px 2px 0;
	color: #fff;
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2727272727;
	margin: 2px 4px 2px 10px;
	padding: 3px 7px;
	position: relative;
	text-transform: uppercase;
}

.entry-meta .tag-links a:hover {
	background-color: #ce4800;
	color: #fff;
}

.entry-meta .tag-links a:before {
	border-top: 10px solid transparent;
	border-right: 8px solid #767676;
	border-bottom: 10px solid transparent;
	content: "";
	height: 0;
	position: absolute;
	top: 0;
	left: -8px;
	width: 0;
}

.entry-meta .tag-links a:hover:before {
	border-right-color: #ce4800;
}

.entry-meta .tag-links a:after {
	background-color: #fff;
	border-radius: 50%;
	content: "";
	height: 4px;
	position: absolute;
	top: 8px;
	left: -2px;
	width: 4px;
}


/**
 * 6.4 Entry Content
 * -----------------------------------------------------------------------------
 */

.site-content .entry-content,
.site-content .entry-summary,
.page-content {
	padding: 12px 10px 0;
}

.page .entry-content {
	padding-top: 0;
}

.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child,
.entry-content h4:first-child,
.entry-content h5:first-child,
.entry-content h6:first-child,
.entry-summary h1:first-child,
.entry-summary h2:first-child,
.entry-summary h3:first-child,
.entry-summary h4:first-child,
.entry-summary h5:first-child,
.entry-summary h6:first-child,
.page-content h1:first-child,
.page-content h2:first-child,
.page-content h3:first-child,
.page-content h4:first-child,
.page-content h5:first-child,
.page-content h6:first-child {
	margin-top: 0;
}

.entry-content a,
.entry-summary a,
.page-content a,
.comment-content a {
	text-decoration: underline;
}

.entry-content a:hover,
.entry-summary a:hover,
.page-content a:hover,
.comment-content a:hover,
.entry-content a.button,
.entry-summary a.button,
.page-content a.button,
.comment-content a.button {
	text-decoration: none;
}

.entry-content table,
.comment-content table {
	font-size: 14px;
	line-height: 1.2857142857;
	margin-bottom: 24px;
}

.entry-content th,
.comment-content th {
	font-weight: 700;
	padding: 8px;
	text-transform: uppercase;
}

.entry-content td,
.comment-content td {
	padding: 8px;
}

.entry-content .edit-link {
	clear: both;
	display: block;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3333333333;
	text-transform: uppercase;
}

.entry-content .edit-link a {
	color: #767676;
	text-decoration: none;
}

.entry-content .edit-link a:hover {
	color: #ce4800;
}

/* Mediaelements */

.hentry .mejs-container {
	margin: 12px 0 18px;
}

.hentry .mejs-mediaelement,
.hentry .mejs-container .mejs-controls {
	background: #000;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-loaded,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	background: #fff;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-total,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
	background: rgba(255, 255, 255, .33);
}

.hentry .mejs-container .mejs-controls .mejs-time {
	padding-top: 9px;
}

.hentry .mejs-controls .mejs-time-rail span,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	border-radius: 0;
}

.hentry .mejs-overlay-loading {
	background: transparent;
}

/* Page links */

.page-links {
	clear: both;
	font-size: 12px;
	font-weight: 900;
	line-height: 2;
	margin: 24px 0;
	text-transform: uppercase;
}

.page-links a,
.page-links > span {
	background: #fff;
	border: 1px solid #fff;
	display: inline-block;
	height: 22px;
	margin: 0 1px 2px 0;
	text-align: center;
	width: 22px;
}

.page-links a {
	background: #000;
	border: 1px solid #000;
	color: #fff;
	text-decoration: none;
}

.page-links a:hover {
	background: #ce4800;
	border: 1px solid #ce4800;
	color: #fff;
}

.page-links > .page-links-title {
	height: auto;
	margin: 0;
	padding-right: 7px;
	width: auto;
}


/**
 * 6.6 Post Formats
 * -----------------------------------------------------------------------------
 */

.format-aside .entry-content,
.format-aside .entry-summary,
.format-quote .entry-content,
.format-quote .entry-summary,
.format-link .entry-content,
.format-link .entry-summary {
	padding-top: 0;
}

.site-content .format-link .entry-title,
.site-content .format-aside .entry-title,
.site-content .format-quote .entry-title {
	display: none;
}


/**
 * 6.7 Post/Image/Paging Navigation
 * -----------------------------------------------------------------------------
 */

.nav-links {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.post-navigation,
.image-navigation {
	margin: 24px auto 48px;
	max-width: 474px;
	padding: 0 10px;
}

.post-navigation a,
.image-navigation .previous-image,
.image-navigation .next-image {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding: 11px 0 12px;
	width: 100%;
}

.post-navigation .meta-nav {
	color: #767676;
	display: block;
	font-size: 12px;
	font-weight: 900;
	line-height: 2;
	text-transform: uppercase;
}

.post-navigation a,
.image-navigation a {
	color: #2b2b2b;
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.7142857142;
	text-transform: none;
}

.post-navigation a:hover,
.image-navigation a:hover {
	color: #ce4800;
}

/* Paging Navigation */

.paging-navigation {
}

.paging-navigation h1 {
	display: none;
}

.paging-navigation .loop-pagination {
	margin-top: -5px;
	text-align: center;
}

.paging-navigation .page-numbers {
	border-top: 5px solid transparent;
	display: inline-block;
	font-size: 14px;
	font-weight: 900;
	margin-right: 3px;
	padding: 7px 8px;
	text-transform: uppercase;
}

.paging-navigation a {
	color: #294195;
}

.paging-navigation .page-numbers.current, .ngg-navigation span.current {
	background: #f8da45;
	margin-bottom: 10px;
	display: inline-block;
	padding: 0 10px;
	border: 2px solid #e4ac2a;
	font-family: 'Karla', sans-serif;
	font-size: 13px;
	text-transform: uppercase;
	color: #294195;
	transform:rotate(-1deg);
	-ms-transform:rotate(-1deg); /* IE 9 */
	-webkit-transform:rotate(-1deg); /* Opera, Chrome, and Safari */
}

.paging-navigation a:hover, #primary .ngg-navigation a.page-numbers:hover, #primary .ngg-navigation a.next:hover, #primary .ngg-navigation a.prev:hover {
	color: #ce4800 !important;
	text-decoration: underline !important;
	background: none !important;
}

#primary .ngg-navigation a.page-numbers, #primary .ngg-navigation a.next, #primary .ngg-navigation a.prev {
	border: none;
	font-size: 14px;
	font-weight: bold;
}


/**
 * 6.8 Attachments
 * -----------------------------------------------------------------------------
 */

.attachment .content-sidebar,
.attachment .post-thumbnail {
	display: none;
}

.attachment .entry-content {
	padding-top: 0;
}

.attachment footer.entry-meta {
	text-transform: none;
}

.entry-attachment .attachment {
	margin-bottom: 24px;
}


/**
 * 6.9 Archives
 * -----------------------------------------------------------------------------
 */

.archive-header,
.page-header {
	margin: 24px auto;
	max-width: 474px;
}

.archive-title,
.page-title {
	font-size: 16px;
	font-weight: 900;
	line-height: 1.5;
	margin: 0;
}

.taxonomy-description,
.author-description {
	color: #767676;
	font-size: 14px;
	line-height: 1.2857142857;
	padding-top: 18px;
}

.taxonomy-description p,
.author-description p {
	margin-bottom: 18px;
}

.taxonomy-description p:last-child,
.author-description p:last-child {
	margin-bottom: 0;
}

.taxonomy-description a,
.author-description a {
	text-decoration: underline;
}

.taxonomy-description a:hover,
.author-description a:hover {
	text-decoration: none;
}


/**
 * 6.10 Contributor Page
 * -----------------------------------------------------------------------------
 */

.contributor {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing:      border-box;
	padding: 48px 10px;
}

.contributor:first-of-type {
	padding-top: 24px;
}

.contributor-info {
	margin: 0 auto;
	max-width: 474px;
}

.contributor-avatar {
	border: 1px solid rgba(0, 0, 0, 0.1);
	float: left;
	margin: 0 30px 20px 0;
	padding: 2px;
}

.contributor-name {
	font-size: 16px;
	font-weight: 900;
	line-height: 1.5;
	margin: 0;
}

.contributor-bio a {
	text-decoration: underline;
}

.contributor-bio a:hover {
	text-decoration: none;
}

.contributor-posts-link {
	display: inline-block;
	line-height: normal;
	padding: 10px 30px;
}

.contributor-posts-link:before {
	content: "\f443";
}


/**
 * 6.11 404 Page
 * -----------------------------------------------------------------------------
 */

.error404 .page-content {
	padding-top: 0;
}

.error404 .page-content .search-form {
	margin-bottom: 24px;
}


/**
 * 6.12 Full-width
 * -----------------------------------------------------------------------------
 */

.full-width .hentry {
	max-width: 100%;
}


/**
 * 6.13 Singular
 * -----------------------------------------------------------------------------
 */

.singular .site-content .hentry.has-post-thumbnail {
	margin-top: -48px;
}


/**
 * 6.14 Comments
 * -----------------------------------------------------------------------------
 */

/*.comments-area {
	margin: 48px auto;
	max-width: 474px;
	padding: 0 10px;
}*/

/*.comment-reply-title,
.comments-title {
	font: 900 16px/1.5 'Karla', sans-serif;
	margin: 0;
	text-transform: uppercase;
}*/

.comment-list {
	list-style: none;
	margin: 0 0 48px 0;
}

.comment-list .reply {
	line-height: 2;
}

.comment-author a {
	color: #ef7a22;
	font-style: italic;
	margin-top: 2px;
	display: inline-block;
}

.comment-list .trackback a,
.comment-list .pingback a,
.comment-metadata a {
	color: #767676;
}

.comment-author a:hover,
.comment-list .pingback a:hover,
.comment-list .trackback a:hover,
.comment-metadata a:hover {
	color: #ce4800;
}

.comment-list article,
.comment-list .pingback,
.comment-list .trackback {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	margin-bottom: 24px;
	padding-top: 24px;
}

.comment-list > li:first-child > article,
.comment-list > .pingback:first-child,
.comment-list > .trackback:first-child {
	border-top: 0;
}

.comment-author {
	position: relative;
}

.comment-author .avatar {
	border: 2px solid #ce4800;
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 3px;
}

.bypostauthor > article .fn:before {
	content: "\f408";
	margin: 0 2px 0 -2px;
	position: relative;
	top: -1px;
}

.says {
	display: none;
}

.comment-author,
.comment-awaiting-moderation,
.comment-content,
.comment-list .reply,
.comment-metadata {
	padding-left: 50px;
}

.comment-metadata {
	margin-bottom: 16px;
	
}

.comment-edit-link {
	margin-left: 10px;
}

.comment-edit-link:before {
	content: "\f411";
}

.comment-reply-link {
	text-decoration: underline;
	background: url("/wp-content/themes/livingsober/images/reply.png") no-repeat left 1px;
	padding-left: 30px;
	line-height: 24px;
	line-height: 24px;
	display: inline-block;
}


.comment-reply-login:before {
	content: "\f412";
	margin-right: 2px;
}

.comment-content ul,
.comment-content ol {
	margin: 0 0 24px 22px;
}

.comment-content li > ul,
.comment-content li > ol {
	margin-bottom: 0;
}

.comment-content > :last-child {
	margin-bottom: 0;
}

.comment-list .children {
	list-style: none;
	margin-left: 50px;
}

.comment-respond {
	margin-bottom: 24px;
	padding: 0;
}

.comment .comment-respond {
	margin-top: 24px;
}

.comment-respond h3 {
	margin-top: 0;
	margin-bottom: 24px;
}

.comment-notes,
.comment-awaiting-moderation,
.logged-in-as,
.no-comments,
.form-allowed-tags,
.form-allowed-tags code {
	color: #a3a3a3;
}

.comment-notes,
.comment-awaiting-moderation,
.logged-in-as {
	font-size: 14px;
	line-height: 1.7142857142;
}

.no-comments {
	font-size: 16px;
	font-weight: 900;
	line-height: 1.5;
	margin-top: 24px;
	text-transform: uppercase;
}

.comment-form label {
	display: block;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
	width: 100%;
}

.comment-form p {
	margin-bottom: 10px;
}

.comment-form p.form-submit {
	margin-bottom: 20px;
}

.form-allowed-tags,
.form-allowed-tags code {
	font-size: 12px;
	line-height: 1.5;
}

.form-allowed-tags {
	display: none;
}

.required {
	color: #c0392b;
}

.comment-reply-title small a {
	color: #2b2b2b;
	float: right;
	height: 24px;
	overflow: hidden;
	width: 24px;
}

.comment-reply-title small a:hover {
	color: #ce4800;
}

.comment-reply-title small a:before {
	content: "\f405";
	font-size: 32px;
}

.comment-navigation {
	font-size: 12px;
	line-height: 2;
	margin-bottom: 48px;
	text-transform: uppercase;
}

.comment-navigation .nav-next,
.comment-navigation .nav-previous {
	display: inline-block;
}

.comment-navigation .nav-previous a {
	margin-right: 10px;
}

#comment-nav-above {
	margin-top: 36px;
	margin-bottom: 0;
}

/* discuz */
.wc-vote-link.wc-down {
	display: none;
}
.wc-reply-link {
	margin-left: -7px;
}

/* Buddypress */
#buddypress div.activity-comments ul li > ul {
  margin-left: 0;
  padding-left: 0;
}

/**
 * 7.0 Sidebars
 * -----------------------------------------------------------------------------
 */

/* Secondary */

#secondary {
	background-color: #000;
	border-top: 1px solid #000;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	clear: both;
	color: rgba(255, 255, 255, 0.7);
	margin-top: -1px;
	padding: 0 10px;
	position: relative;
	z-index: 2;
}

.site-description {
	display: none;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
}

/* Primary Sidebar */

.primary-sidebar {
	padding-top: 48px;
}

.secondary-navigation + .primary-sidebar {
	padding-top: 0;
}

/* Content Sidebar */

.content-sidebar {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	color: #767676;
	padding: 48px 10px 0;
}


/**
 * 7.1 Widgets
 * -----------------------------------------------------------------------------
 */

/* Primary Sidebar, Footer Sidebar */

.widget {
	font-size: 14px;
	line-height: 1.2857142857;
	margin-bottom: 40px;
	width: 100%;

}

.widget a {
	color: #294195;
}

.widget a:hover, .widget li.current-menu-item a, .members .membersNav a, .my-account .profileNav a, .my-account .profileNav a, .my-activity .membersNav a, .page-id-97 .facesNav a, .page-id-99 .siteActivity a  {
	color: #cf4c27;
}

.widget li.current-menu-item a, .members .membersNav a,  .my-account .profileNav a, .my-account .profileNav a, .my-activity .membersNav a, .page-id-97 .facesNav a, .page-id-99 .siteActivity a  {
	font-weight: bold;
}

.members .membersNav,  .my-account .profileNav, .my-account .profileNav, .my-activity .membersNav, .page-id-97 .facesNav,  .page-id-99 .siteActivity {
	background: url("/wp-content/themes/livingsober/images/li-red.jpg") no-repeat left 13px;
} 

.my-activity.my-account .membersNav a {
	color: #294195;
	font-weight: normal;
}

.my-activity.my-account .membersNav {
	background: url("/wp-content/themes/livingsober/images/li.jpg") no-repeat left 13px;
}

.widget h1,
.widget h2,
.widget h3,
.widget h4,
.widget h5,
.widget h6 {
	margin: 24px 0 12px;
}

.widget h1 {
	font-size: 22px;
	line-height: 1.0909090909;
}

.widget h2 {
	font-size: 20px;
	line-height: 1.2;
}

.widget h3 {
	font-size: 18px;
	line-height: 1.3333333333;
}

.widget h4 {
	font-size: 16px;
	line-height: 1.5;
}

.widget h5 {
	font-size: 14px;
	line-height: 1.7142857142;
}

.widget h6 {
	font-size: 12px;
	line-height: 2;
}

.widget address {
	margin-bottom: 18px;
}

.widget abbr[title] {
	border-color: rgba(255, 255, 255, 0.7);
}

.widget mark,
.widget ins {
	color: #000;
}

.widget pre,
.widget fieldset {
	border-color: rgba(255, 255, 255, 0.2);
}

.widget code,
.widget kbd,
.widget tt,
.widget var,
.widget samp,
.widget pre {
	font-size: 12px;
	line-height: 1.5;
}

.widget blockquote {
	color: rgba(255, 255, 255, 0.7);
	font-size: 18px;
	line-height: 1.5;
	margin-bottom: 18px;
}

.widget blockquote cite {
	color: #fff;
	font-size: 14px;
	line-height: 1.2857142857;
}

.widget dl,
.widget dd {
	margin-bottom: 18px;
}

.widget ul,
.widget ol {
	list-style: none;
	margin: 0;
}

.widget li > ol,
.widget li > ul {
	margin-left: 10px;
}

.widget table,
.widget th,
.widget td {
	border-color: rgba(255, 255, 255, 0.2);
}

.widget table {
	margin-bottom: 18px;
}

.widget del {
	color: rgba(255, 255, 255, 0.4);
}

.widget hr {
	background-color: rgba(255, 255, 255, 0.2);
}

.widget p {
	margin-bottom: 18px;
}

.widget input,
.widget textarea {
	background-color: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.2);
	color: #fff;
	font-size: 16px;
	padding: 1px 2px 2px 4px;
}

.widget input:focus,
.widget textarea:focus {
	border-color: rgba(255, 255, 255, 0.3);
}

.widget button,
.widget .button,
.widget input[type="button"],
.widget input[type="reset"],
.widget input[type="submit"] {
	background-color: #24890d;
	border: 0;
	font-size: 12px;
	padding: 5px 15px 4px;
}

.widget input[type="button"]:hover,
.widget input[type="button"]:focus,
.widget input[type="reset"]:hover,
.widget input[type="reset"]:focus,
.widget input[type="submit"]:hover,
.widget input[type="submit"]:focus {
	background-color: #f8da45;
}

.widget input[type="button"]:active,
.widget input[type="reset"]:active,
.widget input[type="submit"]:active {
	background-color: #55d737;
}

.widget .wp-caption {
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 18px;
}

.blogMenu {
	margin-top: 77px;
}

.blogMenu .widget-title {
	font-size: 15px;
	font-weight: 700;
	line-height: 26px;
	margin: 0 0 10px 0;
	text-transform: uppercase;
	padding: 6px 15px 5px;
	border-bottom: 4px solid #dba827;
}

.blogMenu .widget-title,
.blogMenu .widget-title a {
	color: #fff;
	background: url("/wp-content/themes/livingsober/images/blog-menu-titles.jpg") repeat scroll 0 0 #f5ca52;
	font-family: 'Karla', sans-serif;
	font-weight: bold;
}

.blogMenu ul {
	padding: 0 15px 24px;
	border-bottom: 4px solid #dedad2;
	}

.blogMenu ul li {
	background: url("/wp-content/themes/livingsober/images/li.jpg") no-repeat left 13px;
	padding-left: 10px;
	line-height: 17px;
}

.blogMenu ul li:hover, .widget li.current-menu-item   {
	background: url("/wp-content/themes/livingsober/images/li-red.jpg") no-repeat left 13px;
}

.blogMenu #recent-comments-2 ul li {
	background: none;
	padding-left: 0;
}

.blogMenu #recent-comments-2 ul li .author {
	background: url("/wp-content/themes/livingsober/images/comment-yellow.jpg") no-repeat left 3px;
	display: inline-block;
	padding-left: 20px !important;
	font-weight: bold;
	font-style: italic;
	color: #444444;
}

/* Ephemera Widget*/

.widget_livingsober_ephemera > ol > li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	margin-bottom: 18px;
	padding: 0;
}

.widget_livingsober_ephemera .hentry {
	margin: 0;
	max-width: 100%;
}

.widget_livingsober_ephemera .entry-title,
.widget_livingsober_ephemera .entry-meta,
.widget_livingsober_ephemera .wp-caption-text,
.widget_livingsober_ephemera .post-format-archive-link,
.widget_livingsober_ephemera .entry-content table {
	font-size: 12px;
	line-height: 1.5;
}

.widget_livingsober_ephemera .entry-title {
	display: inline;
	font-weight: 400;
}

.widget_livingsober_ephemera .entry-meta {
	margin-bottom: 18px;
}

.widget_livingsober_ephemera .entry-meta a {
	color: rgba(255, 255, 255, 0.7);
}

.widget_livingsober_ephemera .entry-meta a:hover {
	color: #ce4800;
}

.widget_livingsober_ephemera .entry-content ul,
.widget_livingsober_ephemera .entry-content ol {
	margin: 0 0 18px 20px;
}

.widget_livingsober_ephemera .entry-content ul {
	list-style: disc;
}

.widget_livingsober_ephemera .entry-content ol {
	list-style: decimal;
}

.widget_livingsober_ephemera .entry-content li > ul,
.widget_livingsober_ephemera .entry-content li > ol {
	margin: 0 0 0 20px;
}

.widget_livingsober_ephemera .entry-content th,
.widget_livingsober_ephemera .entry-content td {
	padding: 6px;
}

.widget_livingsober_ephemera .post-format-archive-link {
	font-weight: 700;
	text-transform: uppercase;
}

/* List Style Widgets*/

.widget_archive li,
.widget_categories li,
.widget_links li,
.widget_meta li,
.widget_nav_menu li,
.widget_pages li,
.widget_recent_comments li,
.widget_recent_entries li {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	padding: 8px 0 9px;
}

.widget_archive li:first-child,
.widget_categories li:first-child,
.widget_links li:first-child,
.widget_meta li:first-child,
.widget_nav_menu li:first-child,
.widget_pages li:first-child,
.widget_recent_comments li:first-child,
.widget_recent_entries li:first-child {
	border-top: 0;
}

.widget_categories li ul,
.widget_nav_menu li ul,
.widget_pages li ul {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	margin-top: 9px;
}

.widget_categories li li:last-child,
.widget_nav_menu li li:last-child,
.widget_pages li li:last-child {
	padding-bottom: 0;
}

/* Recent Posts Widget */

.widget_recent_entries .post-date {
	display: block;
}

/* RSS Widget */

.rsswidget img {
	margin-top: -4px;
}

.rssSummary {
	margin: 9px 0;
}

.rss-date {
	display: block;
}

.widget_rss li {
	margin-bottom: 18px;
}

.widget_rss li:last-child {
	margin-bottom: 0;
}

/* Text Widget */

.widget_text > div > :last-child {
	margin-bottom: 0;
}


/**
 * 7.2 Content Sidebar Widgets
 * -----------------------------------------------------------------------------
 */

.content-sidebar .widget a {
	color: #24890d;
}

.content-sidebar .widget a:hover {
	color: #ce4800;
}

.content-sidebar .widget pre {
	border-color: rgba(0, 0, 0, 0.1);
}

.content-sidebar .widget mark,
.content-sidebar .widget ins {
	color: #2b2b2b;
}

.content-sidebar .widget abbr[title] {
	border-color: #2b2b2b;
}

.content-sidebar .widget fieldset {
	border-color: rgba(0, 0, 0, 0.1);
}

.content-sidebar .widget blockquote {
	color: #767676;
}

.content-sidebar .widget blockquote cite {
	color: #2b2b2b;
}

.content-sidebar .widget li > ol,
.content-sidebar .widget li > ul {
	margin-left: 18px;
}

.content-sidebar .widget table,
.content-sidebar .widget th,
.content-sidebar .widget td {
	border-color: rgba(0, 0, 0, 0.1);
}

.content-sidebar .widget del {
	color: #767676;
}

.content-sidebar .widget hr {
	background-color: rgba(0, 0, 0, 0.1);
}

.content-sidebar .widget input,
.content-sidebar .widget textarea {
	background-color: #fff;
	border-color: rgba(0, 0, 0, 0.1);
	color: #2b2b2b;
}

.content-sidebar .widget input:focus,
.content-sidebar .widget textarea:focus {
	border-color: rgba(0, 0, 0, 0.3);
}

.content-sidebar .widget input[type="button"],
.content-sidebar .widget input[type="reset"],
.content-sidebar .widget input[type="submit"] {
	background-color: #24890d;
	border: 0;
	color: #fff;
}

.content-sidebar .widget input[type="button"]:hover,
.content-sidebar .widget input[type="button"]:focus,
.content-sidebar .widget input[type="reset"]:hover,
.content-sidebar .widget input[type="reset"]:focus,
.content-sidebar .widget input[type="submit"]:hover,
.content-sidebar .widget input[type="submit"]:focus {
	background-color: #ce4800;
}

.content-sidebar .widget input[type="button"]:active,
.content-sidebar .widget input[type="reset"]:active,
.content-sidebar .widget input[type="submit"]:active {
	background-color: #55d737;
}

.content-sidebar .widget .wp-caption {
	color: #767676;
}

.content-sidebar .widget .widget-title {
	border-top: 5px solid #000;
	color: #2b2b2b;
	font-size: 14px;
	font-weight: 900;
	margin: 0 0 18px;
	padding-top: 7px;
	text-transform: uppercase;
}

.content-sidebar .widget .widget-title a {
	color: #2b2b2b;
}

.content-sidebar .widget .widget-title a:hover {
	color: #ce4800;
}

/* List Style Widgets*/

.content-sidebar .widget_archive li,
.content-sidebar .widget_categories li,
.content-sidebar .widget_links li,
.content-sidebar .widget_meta li,
.content-sidebar .widget_nav_menu li,
.content-sidebar .widget_pages li,
.content-sidebar .widget_recent_comments li,
.content-sidebar .widget_recent_entries li,
.content-sidebar .widget_categories li ul,
.content-sidebar .widget_nav_menu li ul,
.content-sidebar .widget_pages li ul {
	border-color: rgba(0, 0, 0, 0.1);
}

/* Calendar Widget */

.content-sidebar .widget_calendar caption {
	color: #2b2b2b;
	font-weight: 900;
}

.content-sidebar .widget_calendar thead th {
	background-color: rgba(0, 0, 0, 0.02);
}

.content-sidebar .widget_calendar tbody a,
.content-sidebar .widget_calendar tbody a:hover {
	color: #fff;
}

/* Ephemera widget*/

.content-sidebar .widget_livingsober_ephemera .widget-title {
	line-height: 1.2857142857;
	padding-top: 1px;
}

.content-sidebar .widget_livingsober_ephemera .widget-title:before {
	background-color: #000;
	color: #fff;
	margin: -1px 9px 0 0;
	padding: 6px 0 9px;
	text-align: center;
	vertical-align: middle;
	width: 36px;
}

.content-sidebar .widget_livingsober_ephemera .video.widget-title:before {
	content: "\f104";
}

.content-sidebar .widget_livingsober_ephemera .audio.widget-title:before {
	content: "\f109";
}

.content-sidebar .widget_livingsober_ephemera .image.widget-title:before {
	content: "\f473";
}

.content-sidebar .widget_livingsober_ephemera .gallery.widget-title:before {
	content: "\f103";
}

.content-sidebar .widget_livingsober_ephemera .aside.widget-title:before {
	content: "\f101";
}

.content-sidebar .widget_livingsober_ephemera .quote.widget-title:before {
	content: "\f106";
}

.content-sidebar .widget_livingsober_ephemera .link.widget-title:before {
	content: "\f107";
}

.content-sidebar .widget_livingsober_ephemera > ol > li {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.content-sidebar .widget_livingsober_ephemera .entry-meta {
	color: #ccc;
}

.content-sidebar .widget_livingsober_ephemera .entry-meta a {
	color: #767676;
}

.content-sidebar .widget_livingsober_ephemera .entry-meta a:hover {
	color: #ce4800;
}

.content-sidebar.widget_livingsober_ephemera blockquote cite {
	font-size: 13px;
	line-height: 1.3846153846;
}

.content-sidebar .widget_livingsober_ephemera .post-format-archive-link {
	font-weight: 900;
}


/**
 * 8.0 Footer
 * -----------------------------------------------------------------------------
 */

footer.site-footer {
	background: #f5ca52 url('/wp-content/themes/livingsober/images/yellow-bkg.jpg') repeat;
	position: relative;
	width: 100%;
	margin-top: 120px;
}

.footer-sidebar{
	display: block;
	height: auto;
}

#footer-sidebar .textwidget {
	font-size: 17px;
	line-height: 22px;
	padding-left: 91px;
	padding-top: 0;
	min-height: 83px;
	background: url('/wp-content/themes/livingsober/images/help-icon.png') no-repeat;
}

footer .bottles {
	background: url('/wp-content/themes/livingsober/images/bottles-footer.png') no-repeat right center;
	padding-top: 18px;
	max-width: 1312px;
	margin: 0 auto;
	height: 133px;
}

footer .col-sm-3 {
	padding: 0;
}

p.creators {
	color: #7e590e;
	font-size: 10px;
	margin-bottom: 0;
	margin-top: 25px;
	text-align: right;
}

.creators a {
	color: #7e590e;
	text-decoration: underline;
}

/**
 * 9.0 Featured Content
 * -----------------------------------------------------------------------------
 */

.home .tag-featured {
	border-bottom: 1px dashed #294195;
	border-top: 1px dashed #294195;
	margin-top: 42px;
	padding-bottom: 12px;
}

.communityFeatured {
	border-left: 1px solid #f8da45;
	margin-top: 80px;
}

.communityFeatured h3, h2.comments-title, #buddypress div.item-list-tabs ul li#members-all.selected a , #basic-details-section h4, #profile-details-section h4, .directory #buddypress div.item-list-tabs ul li#members-all a, .archive h1 span {
	font-size: 18px;
	padding: 4px 17px 5px;
	margin-bottom: 10px;
	margin-top: 16px;
	display: inline-block;
	background: #294195;
	color: #f8da45;
	font-weight: normal;
	transform:rotate(-1deg);
	-ms-transform:rotate(-1deg); /* IE 9 */
	-webkit-transform:rotate(-1deg); /* Opera, Chrome, and Safari */
	opacity: 1;
}

#buddypress div.item-list-tabs ul li.selected a span, .directory #buddypress div.item-list-tabs ul li#members-all a span {
	color: #294195;
	background: #f8da45;
	border: 2px solid #e4ac2a;
	display: inline-block;
	padding: 0 10px;
	transform:rotate(3deg);
	-ms-transform:rotate(3deg); /* IE 9 */
	-webkit-transform:rotate(3deg); /* Opera, Chrome, and Safari */
	border-radius: 0;
	margin-left: 4px;
	margin-top: -2px;
}

h2.comments-title {
    padding: 4px 37px 5px;
}

.communityFeatured h4 {
	margin-top: 32px;	
}

.communityFeatured h4 a {
	display: block;
	text-decoration: underline;
}

.communityFeatured h4 span {
	background: #f8da45;
	margin-bottom: 10px;
	display: inline-block;
	padding: 0 10px;
	border: 2px solid #e4ac2a;
	font-family: 'Karla', sans-serif;
	font-size: 13px;
	text-transform: uppercase;
	color: #294195;
	transform:rotate(-1deg);
	-ms-transform:rotate(-1deg); /* IE 9 */
	-webkit-transform:rotate(-1deg); /* Opera, Chrome, and Safari */
}

.details {
	color: #a3a3a3;
	font-size: 13px;
	margin-bottom: 20px;
	display: block;
}

.commentCount {
	background: url('/wp-content/themes/livingsober/images/comment-count-grey.png') no-repeat left 2px;
	padding-left: 20px;
	margin-left: 4px;
}

.commentCount a {
	color: #a3a3a3;
}

.blogListing .commentCount, .soberTools .commentCount {
	background: url('/wp-content/themes/livingsober/images/comment-orange.png') no-repeat left 2px;
}

.communityFeatured .featuredComment h4 {
	padding-top: 5px;
	margin-bottom: 0;
}

.featuredComment {
	background: url('/wp-content/themes/livingsober/images/featured-comment.png') no-repeat left top;
}

.featuredComment p {
	padding: 0 9px 24px 30px;
	color: #ffffff;
	line-height: 20px;
	background: url('/wp-content/themes/livingsober/images/quote-right.png') no-repeat bottom right;
	margin-right: 21px;
	height: 120px;
	margin-bottom: 40px;
}

.featuredComment .author .author {
	background: url('/wp-content/themes/livingsober/images/user.png') no-repeat top left;
	padding-left: 30px;
	color: #294195;
	font-style: italic;
	font-weight: bold;
	line-height: 24px;
	display: block;
}

.commentDetails {
	padding-left: 30px;
	color: #a3a3a3;
	font-size: 13px;
	display: block;
}

.commentDetails a {
	text-decoration: underline;
}

.featured-comments-widget.widget {
	margin-bottom: 24px;
}

/**
 * 10.0 Multisite
 * -----------------------------------------------------------------------------
 */

.site-main .widecolumn {
	padding-top: 72px;
	width: auto;
}
.site-main .mu_register,
.widecolumn > h2,
.widecolumn > form {
	margin: 0 auto 48px;
	max-width: 474px;
	padding: 0 30px;
}

.site-main .mu_register #blog_title,
.site-main .mu_register #user_email,
.site-main .mu_register #blogname,
.site-main .mu_register #user_name {
	font-size: inherit;
	width: 90%;
}

.site-main .mu_register input[type="submit"],
.widecolumn #submit {
	font-size: inherit;
	width: auto;
}




/**
 * 11.0 Media Queries
 * -----------------------------------------------------------------------------
 */

/* Does the same thing as <meta name="viewport" content="width=device-width">,
 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
 * the meta tag. See http://core.trac.wordpress.org/ticket/25888.
 */
@-ms-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}

@media screen and (max-width: 400px) {
	.list-view .site-content .post-thumbnail {
		background: none;
		width: auto;
		z-index: 2;
	}

	.list-view .site-content .post-thumbnail img {
		float: left;
		margin: 0 10px 3px 0;
		width: 84px;
	}

	.list-view .site-content .entry-header {
		background-color: transparent;
		padding: 0;
	}

	.list-view .content-area {
		padding: 0 10px;
	}

	.list-view .site-content .hentry {
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
		margin: 0;
		min-height: 60px;
		padding: 12px 0 9px;
	}

	.list-view .site-content .cat-links,
	.list-view .site-content .type-post .entry-content,
	.list-view .site-content .type-page .entry-content,
	.list-view .site-content .type-post .entry-summary,
	.list-view .site-content .type-page .entry-summary,
	.list-view .site-content footer.entry-meta {
		display: none;
	}

	.list-view .site-content .entry-title {
		clear: none;
		font-size: 15px;
		font-weight: 900;
		line-height: 1.2;
		margin-bottom: 6px;
		text-transform: none;
	}

	.list-view .site-content .format-aside .entry-title,
	.list-view .site-content .format-link .entry-title,
	.list-view .site-content .format-quote .entry-title {
		display: block;
	}

	.list-view .site-content .entry-meta {
		background-color: transparent;
		clear: none;
		margin: 0;
		text-transform: none;
	}

	.archive-header,
	.page-header {
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
		margin: 24px auto 0;
		padding-bottom: 24px;
	}

	.error404 .page-header {
		border-bottom: 0;
		margin: 0 auto 24px;
		padding: 0 10px;
	}
}

@media screen and (min-width: 401px) {
	a.post-thumbnail:hover img {
		opacity: 0.85;
	}

	.full-size-link:before,
	.parent-post-link:before,
	.site-content span + .byline:before,
	.site-content span + .comments-link:before,
	.site-content span + .edit-link:before,
	.site-content span + .entry-date:before {
		content: "";
	}

	.attachment span.entry-date:before,
	.entry-content .edit-link a:before,
	.entry-meta .edit-link a:before,
	.site-content .byline a:before,
	.site-content .comments-link a:before,
	.site-content .entry-date a:before,
	.site-content .featured-post:before,
	.site-content .full-size-link a:before,
	.site-content .parent-post-link a:before,
	.site-content .post-format a:before {
		-webkit-font-smoothing: antialiased;
		display: inline-block;
		font: normal 16px/1 Genericons;
		text-decoration: inherit;
		vertical-align: text-bottom;
	}

	.site-content .entry-meta > span {
		margin-right: 10px;
	}

	.site-content .format-video .post-format a:before {
		content: "\f104";
	}

	.site-content .format-audio .post-format a:before {
		content: "\f109";
	}

	.site-content .format-image .post-format a:before {
		content: "\f473";
	}

	.site-content .format-quote .post-format a:before {
		content: "\f106";
		margin-right: 2px;
	}

	.site-content .format-gallery .post-format a:before {
		content: "\f103";
		margin-right: 4px;
	}

	.site-content .format-aside .post-format a:before {
		content: "\f101";
		margin-right: 2px;
	}

	.site-content .format-link .post-format a:before {
		content: "\f107";
		position: relative;
		top: 1px;
	}

	.site-content .featured-post:before {
		content: "\f308";
		margin-right: 3px;
		position: relative;
		top: 1px;
	}

	.site-content .entry-date a:before,
	.attachment .site-content span.entry-date:before {
		content: "\f303";
		margin-right: 1px;
		position: relative;
		top: 1px;
	}

	.site-content .byline a:before {
		content: "\f304";
	}

	.site-content .comments-link a:before {
		content: "\f300";
		margin-right: 2px;
	}

	.entry-content .edit-link a:before,
	.entry-meta .edit-link a:before {
		content: "\f411";
	}

	.site-content .full-size-link a:before {
		content: "\f402";
		margin-right: 1px;
	}

	.site-content .parent-post-link a:before {
		content: "\f301";
	}

	.list-view .site-content .hentry {
		border-top: 1px solid rgba(0, 0, 0, 0.1);
		padding-top: 48px;
	}

	.list-view .site-content .hentry:first-of-type,
	.list-view .site-content .hentry.has-post-thumbnail {
		border-top: 0;
		padding-top: 0;
	}

	.archive-header,
	.page-header {
		margin: 0 auto 60px;
		padding: 0 10px;
	}

	.error404 .page-header {
		margin-bottom: 24px;
	}
}

@media screen and (min-width: 594px) {
	.site-content .entry-header {
		padding-right: 30px;
		padding-left: 30px;
	}

	.site-content .has-post-thumbnail .entry-header {
		margin-top: -48px;
	}
}

@media screen and (min-width: 673px) {

	.content-area {
		float: left;
		width: 100%;
	}

	.site-content {
		margin-right: 33.33333333%;
	}

	.site-content .has-post-thumbnail .entry-header {
		margin-top: 0;
	}

	
	.singular .site-content .hentry.has-post-thumbnail {
		margin-top: 0;
	}

	.full-width .site-content {
		margin-right: 0;
	}

	.full-width .site-content .has-post-thumbnail .entry-header,
	.full-width.singular .site-content .hentry.has-post-thumbnail,
	.full-width.home .site-content .hentry.has-post-thumbnail {
		margin-top: -48px;
	}


	.content-sidebar {
		border: 0;
		float: right;
		margin-left: -33.33333333%;
		padding: 48px 30px 24px;
		position: relative;
		width: 33.33333333%;
	}

	.grid .featured-content .hentry {
		float: left;
		width: 50%;
	}

	.grid .featured-content .hentry:nth-child( 2n+1 ) {
		clear: both;
	}

	.grid .featured-content .entry-header {
		border-color: #000;
		border-style: solid;
		border-width: 12px 10px;
		height: 96px;
		padding: 0;
	}

	.slider .featured-content .entry-title {
		font-size: 22px;
		line-height: 1.0909090909;
	}

	.slider .featured-content .entry-header {
		min-height: inherit;
		padding: 24px 30px 48px;
		position: absolute;
		left: 0;
		bottom: 0;
		width: 50%;
		z-index: 3;
	}

	.slider-control-paging {
		background: transparent;
		margin-top: -48px;
		padding-left: 20px;
		width: 50%;
	}

	.slider-direction-nav {
		clear: none;
		float: right;
		margin-top: -48px;
		width: 98px;
	}

	.slider-direction-nav li {
		border: 0;
		padding: 0 1px 0 0;
	}

	.slider-direction-nav li:last-child {
		padding: 0 0 0 1px;
	}

	.slider-direction-nav a {
		height: 48px;
	}

	.slider-direction-nav a:before {
		line-height: 48px;
	}

	.site-info {
		padding: 15px 30px;
	}
}

@media screen and (min-width: 1025px) {

	.admin-bar.masthead-fixed .site-header {
		top: 32px;
	}

	
	/* Primary Navigation */

	.primary-navigation {
		float: right;
		display: block;
		margin: 0;
		padding: 0;
	}

	.primary-navigation .menu-toggle {
		display: none;
		padding: 0;
	}

	.primary-navigation .nav-menu {
		border-bottom: 0;
		display: inline-block;
		margin-right: 17px;
	}
	
	.menu-main-nav-container {
		display: inline-block;
	}

	.primary-navigation.toggled-on {
		border-bottom: 0;
		margin: 0;
		padding: 0;
	}

	.primary-navigation li {
		border: 0;
		display: inline-block;
		height: 40px;
		line-height: 40px;
		position: relative;
	}
	

	.primary-navigation a {
		display: inline-block;
		padding: 0 11px;
		white-space: nowrap;
	}

	.primary-navigation ul ul {
		background: url("/wp-content/themes/livingsober/images/yellow-bkg.jpg") repeat #f5ca52;
		float: left;
		margin: 0;
		position: absolute;
		top: 40px;
		left: -999em;
		z-index: 99999;
		box-shadow: 5px 4px 8px rgba(76,44,20,.3);
	}

	.primary-navigation li li {
		border: 0;
		display: block;
		height: auto;
		line-height: 1.0909090909;
		margin-left: 0;
	}

	.primary-navigation ul ul a {
		padding: 9px 12px;
		white-space: normal;
		width: 176px;
	}
	
	.primary-navigation ul ul li:first-child a {
		padding-top: 14px;
	}
	
	.primary-navigation ul ul li:last-child a {
		padding-bottom: 14px;
	}


	.primary-navigation ul ul a:hover,
	.primary-navigation ul ul li.focus > a {
	}

	.primary-navigation ul li:hover > ul,
	.primary-navigation ul li.focus > ul {
		left: auto;
	}

	.primary-navigation ul ul li:hover > ul,
	.primary-navigation ul ul li.focus > ul {
		left: 100%;
	}

	.primary-navigation .menu-item-has-children > a,
	.primary-navigation .page_item_has_children > a {
		padding-right: 20px;
	}

	.primary-navigation .menu-item-has-children > a:after,
	.primary-navigation .page_item_has_children > a:after {
		-webkit-font-smoothing: antialiased;
		content: "\f502";
		display: inline-block;
		font: normal 8px/1 Genericons;
		position: absolute;
		right: 8px;
		top: 18px;
		vertical-align: text-bottom;
	}

	.primary-navigation li .menu-item-has-children > a,
	.primary-navigation li .page_item_has_children > a {
		padding-right: 20px;
		width: 168px;
	}

	.primary-navigation .menu-item-has-children li.menu-item-has-children > a:after,
	.primary-navigation .menu-item-has-children li.page_item_has_children > a:after,
	.primary-navigation .page_item_has_children li.menu-item-has-children > a:after,
	.primary-navigation .page_item_has_children li.page_item_has_children > a:after {
		content: "\f501";
		right: 8px;
		top: 20px;
	}
}


/**
 * 12.0 Print
 * -----------------------------------------------------------------------------
 */

@media print {
	body {
		background: none !important; /* Brute force since user agents all print differently. */
		color: #2b2b2b;
		font-size: 12pt;
	}

	.site,
	.site-header,
	.hentry,
	.site-content .entry-header,
	.site-content .entry-content,
	.site-content .entry-summary,
	.site-content .entry-meta,
	.page-content,
	.archive-header,
	.page-header,
	.contributor-info,
	.comments-area,
	.attachment .entry-attachment .attachment {
		max-width: 100%;
	}

	#site-header img,
	.search-toggle,
	.site-navigation,
	.site-content nav,
	.edit-link,
	.page-links,
	.widget-area,
	.more-link,
	.post-format-archive-link,
	.comment-respond,
	.comment-list .reply,
	.comment-reply-login,
	#secondary,
	.site-footer,
	.slider-control-paging,
	.slider-direction-nav {
		display: none;
	}

	.site-title a,
	.entry-meta,
	.entry-meta a,
	.featured-content .hentry,
	.featured-content a {
		color: #2b2b2b;
	}

	.entry-content a,
	.entry-summary a,
	.page-content a,
	.comment-content a {
		text-decoration: none;
	}

	.site-header,
	.post-thumbnail,
	a.post-thumbnail:hover,
	.site-content .entry-header,
	.site-footer,
	.featured-content,
	.featured-content .entry-header {
		background: transparent;
	}

	.header-main {
		padding: 48px 10px;
	}

	.site-title {
		float: none;
		font-size: 19pt;
	}

	.content-area {
		padding-top: 0;
	}

	.list-view .site-content .hentry {
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
		margin-bottom: 48px;
		padding-bottom: 24px;
	}

	.post-thumbnail img {
		margin: 0 10px 24px;
	}

	.site-content .has-post-thumbnail .entry-header {
		padding-top: 0;
	}

	.site-content footer.entry-meta {
		margin: 24px auto;
	}

	.entry-meta .tag-links a {
		color: #fff;
	}

	.singular .site-content .hentry.has-post-thumbnail {
		margin-top: 0;
	}

	.gallery-columns-1.gallery-size-medium,
	.gallery-columns-1.gallery-size-thumbnail,
	.gallery-columns-2.gallery-size-thumbnail,
	.gallery-columns-3.gallery-size-thumbnail {
		display: block;
	}

	.archive-title,
	.page-title {
		margin: 0 10px 48px;
	}

	.featured-content .hentry {
		margin-bottom: 48px;
	}

	.featured-content .post-thumbnail,
	.slider .featured-content .post-thumbnail {
		padding-top: 0;
	}

	.featured-content .post-thumbnail img {
		position: relative;
	}

	.featured-content .entry-header {
		padding: 0 10px 24px;
	}

	.featured-content .entry-meta {
		font-size: 9pt;
		margin-bottom: 11px;
	}

	.featured-content .cat-links {
		font-weight: 900;
	}

	.featured-content .entry-title {
		font-size: 25pt;
		line-height: 36px;
	}
}


/** Buttons **/
.btn, .form-submit #submit {
	padding: 0 12px;
}

.btn, .btn:focus, .btn:active {
	outline: none !important;
}

#buddypress input[type="submit"] {
	padding: 1px 12px;
}

.btn-primary, .site-navigation a.btn-primary, .form-submit #submit, #buddypress input[type="submit"], #uploadimage_btn, #buddypress input#signup_submit[type="submit"] {
	color: #294195;
	background: #f8da45;
	text-transform: none;
	font-size: 14px;
	line-height: 23px;
	position: relative;
	z-index: 20;
	margin-left: 4px;
	border: none;
	border-radius: 0;
	min-width: 74px;
	font-weight: normal;
	
}

.site-navigation a.btn-primary {
	margin-left: 9px;
}

.rightSide .btn-primary.btn-red, .rightSide .btn-primary.btn-orange, .blogMenu .btn-primary.btn-orange {
    width: 100%;	
}

.btn-primary.btn-red, .btn-primary.btn-red:before, .btn-primary.btn-red:hover:after,
#uploadimage_btn, #uploadimage_btn:before, #uploadimage_btn:hover:after,
.btn-primary.btn-orange:after, .btn-primary.btn-orange:hover:before,
.form-submit #submit, .form-submit #submit:before, .form-submit #submit:hover:after, #buddypress input[type="submit"]:hover {
	background: #cf4c27;
	color: #ffffff;
	border: none;
}

.btn-primary:after, .site-navigation a.btn-primary:after, .form-submit #submit:after {
	background-color: #e4ac2a;
	height: 24px;
	margin-top: -3px;
	margin-left: -4px;
	position: absolute;
	z-index: -10;
	width: 100%;
	content: " ";
	left: 0;
	box-shadow: 5px 4px 8px rgba(76,44,20,.3);
}

.btn-primary.btn-red:after, .btn-primary.btn-red:hover:before,
#uploadimage_btn:hover,
.btn-primary.btn-orange, .btn-primary.btn-orange:before, .btn-primary.btn-orange:hover:after,
.form-submit #submit:after, .form-submit #submit:hover:before, .form-submit #submit:hover, #buddypress input[type="submit"] {
	background-color: #ef7a22;
	color: #ffffff;
}

.btn-primary:before, .site-navigation a.btn-primary:before, .form-submit #submit:before {
	background: #f8da45;
	height: 24px;
	position: absolute;
	z-index: -8;
	width: 100%;
	content: " ";
	left: 0;
}

.btn-primary:hover, 
.site-navigation a.btn-primary:hover, 
.btn-primary:visited:hover, 
.form-submit #submit:hover, 
.members .site-navigation a.btn-primary.ourCommunity, 
.site-navigation .btn-primary.active, 
.my-account .site-navigation a.btn-primary.ourCommunity,
.my-profile .site-navigation a.btn-primary.ourCommunity, 
.page-id-99 .site-navigation a.btn-primary.ourCommunity, 
.page-id-97 .site-navigation a.btn-primary.ourCommunity, 
.my-activity .site-navigation a.btn-primary.ourCommunity,
#buddypress input#signup_submit[type="submit"]:hover {
	color: #ffffff;
}

.btn-primary:hover:after, 
.site-navigation a.btn-primary:hover:after, 
.form-submit #submit:hover:after,
.members .site-navigation a.btn-primary.ourCommunity:after, 
.site-navigation .btn-primary.active:after, 
.my-account .site-navigation a.btn-primary.ourCommunity:after,
.my-profile .site-navigation a.btn-primary.ourCommunity:after, 
.page-id-99 .site-navigation a.btn-primary.ourCommunity:after, 
.page-id-97 .site-navigation a.btn-primary.ourCommunity:after,
.my-activity .site-navigation a.btn-primary.ourCommunity:after {
	background-color: #8d8d8d;
}

.btn-primary:hover:before, 
.site-navigation a.btn-primary:hover:before, 
.form-submit #submit:hover:before,
.members .site-navigation a.btn-primary.ourCommunity:before, 
.site-navigation .btn-primary.active:before,
.my-account .site-navigation a.btn-primary.ourCommunity:before, 
.my-profile .site-navigation a.btn-primary.ourCommunity:before, 
.page-id-99 .site-navigation a.btn-primary.ourCommunity:before,
.page-id-97 .site-navigation a.btn-primary.ourCommunity:before, 
.my-activity .site-navigation a.btn-primary.ourCommunity:before,
#buddypress input#signup_submit[type="submit"]:hover {
	background: #294195;
}

#loginLink.active:after {
	box-shadow: none;
}


/** social icons **/
header .social {
	margin: 0;
	padding: 0;
	display: block;
	float: right;
	padding-left: 20%;
}

.social li {
	height: 24px;
	width: 24px;
	display: inline-block;
	margin-left: 5px;
}

.social li a.facebook, .social li a.twitter {
	height: 24px;
	width: 24px;
	display: block;
	font-size: 1px;
	font-size: 0px;
	text-indent: -999px;
}

.social li a.facebook {
	background: url('/wp-content/themes/livingsober/images/facebook.png') no-repeat left top;
}

.social li a.twitter {
	background: url('/wp-content/themes/livingsober/images/twitter.png') no-repeat left top;
}

.social li a.facebook:hover, .social li a.twitter:hover {
	background-position: left bottom;
}

footer .social {
	margin: 0;
	padding: 0;
	display: block;
	text-align: right;
}

footer .social li {
	margin-left: 10px;
}

footer .social li, footer .social li a.facebook, footer .social li a.twitter  {
	height: 32px;
	width: 32px;
	color: #f5ca52;
}

footer .social li a:hover {
	color: #f5ca52;
}

footer .social li a.facebook {
	background: url('/wp-content/themes/livingsober/images/facebook-ft.png') no-repeat left top;
}

footer .social li a.twitter {
	background: url('/wp-content/themes/livingsober/images/twitter-ft.png') no-repeat left top;
}

/** homepage elements **/
.welcome {
	width: 193px;
	height: 133px;
	background: url('/wp-content/themes/livingsober/images/welcome.png') no-repeat left top;
	display: block;
	margin-top: -30px;
	position: absolute;
	left: 240px;
}

.blue {
	color: #294195;
}

/** drop cap **/

.has-cap .first {
	font-family: 'Copse',serif;
    font-size: 50px;
    line-height: 25.5px;
    position: relative;
    top: 5px;
    color: #294195;
}

.blogListing .has-cap .first  {
	color: #ef7a22;
	font-size: 28px;
	line-height: 20px;
	top: 0;
	padding-right: 2px;
}

.contentPage .has-cap .first {
	font-size: 28px;
	line-height: 20px;
	top: 0;
	padding-right: 2px;
}

.blogListSection h2 .has-cap .first {
	color: #CE4800;
	font-size: 28px;
	line-height: 36.4px;
	top: 0;
	padding-right: 0;
}

.rightSide h3 {
	font-family: 'Copse',serif;
	font-size: 20px;
	color: #ef7a22;
	margin-top: 6px;
	height: 42px;
	line-height: 42px;
}

.rightSide h3.withIcon {
	background: url('/wp-content/themes/livingsober/images/days-sober.png') no-repeat right top;
}

.rightSide {
	border-left: 1px solid #eec739;
	margin-top: 80px;
	padding-bottom: 24px;
}

.rightSide .btn {
	margin-bottom: 3px;
}

.daysSober .result {
	background: url('/wp-content/themes/livingsober/images/calc-bkg.png') no-repeat center top;
	height: 148px;
	width: 100%;
	display: block;
	color: #ffffff;
	font-family: 'Copse',serif;
	font-size: 50px;
	line-height: 116px;
	padding: 18px 39px 14px 16px;
	text-align: center;
}

.daysSober .recalc {
	text-align: center;
	color: #ce4800;
	display: block;
	padding: 0 39px 0 16px;
	text-decoration: underline;
}

.daysSober .recalc:hover {
	color: #294195;
}

.toolBox {
	border-top: 1px dashed #cf4c27;	
	margin-top: 42px;
	padding-top: 32px;
}

.toolBox img {
	display: block;
	margin: 0 auto 18px;
}

.toolBox.quote img {
	width: 80px;
	margin-bottom: 0;
}

.toolBox.quote h3 {
	text-align: center;
}

.toolBox.drink, .toolBox.stories, .toolBox.quote, .toolBox.expert {
	padding-top: 13px;
}

.toolBox.drink img {
	float: left;
	width: 47px;
	margin-bottom: 0;
}

.toolBox.stories img {
	float: left;
	width: 85px;
	margin-bottom: 0;
}

.toolBox.expert img {
	float: left;
	width: 65px;
	margin-bottom: 0;
	margin-right: 10px;
}

.rightSide .drink h3, .rightSide .stories h3, .rightSide .expert h3 {
	display: block;
	vertical-align: top;
	margin-top: 16px;
	height: auto;
	line-height: 26px;
	clear: none;
	margin-left: 10px;
}

.rightSide .drink p, .rightSide .stories p, .rightSide .expert p {
	width: 100%;
	display: block;
	clear: both;
}

/** blog style pages **/
.widget p.mrsDLink {
	color: #444;
	padding-left: 15px;
	padding-top: 10px;
	padding-right: 15px;
	margin-bottom: 8px;
	font-size: 13px;
}

.widget .oldBlog {
	font-size: 12px;
	display: block;
	background: #dba827;
	transform: rotate(-1deg);
	margin: 0 10px;
	padding: 1px 8px 3px;
	line-height: 14px;
	color: #fff;
}

.widget .oldBlog:hover {
	background: #ce4800;
	color: #fff;
	text-decoration: none;
}

#text-3 {
	background: #f5ca52;
}

.textwidget {
	padding-bottom: 16px;
}

.blogMenu {
	padding-left: 0;
}

.blogMenu aside {
	background: #ffffff;
}

.blogMenu aside.widget_text, .blogMenu aside#archives-2 {
	background: none;
}

.blogListing .details a, .blogListing h3 a, .soberTools h3 a, .soberTools .details a {
	color: #ef7a22;
	text-decoration: underline;
}

.blogCatsList h3 a {
	color: #ef7a22;
}

.blogListing .details a:hover, .blogListing h3 a:hover, .soberTools h3 a:hover, .soberTools .details a:hover{
	color: #ce4800;
}

.blogListing {
	position: relative;
	border-bottom: 1px dashed #294195;
	padding-bottom: 40px;
}

#post-13 {
	border-bottom: 1px dashed #294195;
}

.firstPost.blogListing:nth-of-type(1) h3, .home .blogListing h3 {
	padding-top: 38px;
}

.blogListing h3 {
	margin-bottom: 10px;
}

.blogListing:last-of-type {
	margin-bottom: 40px;
}

.firstPost.blogListing:nth-of-type(1):before, .home .blogListing:nth-of-type(2):before {
	content: "Latest post";
	top: 38px;
	position: absolute;
	background: #f8da45;
	margin-bottom: 10px;
	display: inline-block;
	padding: 0 10px;
	border: 2px solid #e4ac2a;
	font-size: 13px;
	text-transform: uppercase;
	color: #294195;
	transform:rotate(-1deg);
	-ms-transform:rotate(-1deg); /* IE 9 */
	-webkit-transform:rotate(-1deg); /* Opera, Chrome, and Safari */
}

.home .blogListing:nth-of-type(2):before {
	content: "Mrs D's blog post";
}

.home .blogListing {
    border-top: 1px dashed #294195;
    border-bottom: none;
    margin-top: 20px;
    margin-bottom: 0;
    padding-bottom: 0;
}

.home .blogListing h3 a, .home .blogListing .has-cap .first, .home .blogListing .details a {
    color: #294195;
}

.home .blogListing .commentCount {
    background: rgba(0, 0, 0, 0) url("/wp-content/themes/livingsober/images/comment-count-grey.png") no-repeat scroll left 2px;
}

.home .blogListing p {
    font-size: 17px;
}

.archive.date .blogListing:nth-of-type(1) {
	border-top: none;
}

/*.archive .blogListing:nth-of-type(2) h3 {
	padding-top: 0;
}*/

.blogListSection, .contentPage {
	padding-right: 45px;
}

.facesPage .entry-header, .facesPage h2, .register h2, .members .entry-header, .page-id-99 h2, .page-id-99 h3 {
	padding-right: 30px;
}

.facesPage hr {
	margin-right: 45px;
}

.blogListSection .btn {
	min-width: 155px;
}

.blogListSection h2 {
	margin-top: 0;
}

.soberTools:nth-of-type(2), .blogCat:nth-of-type(2), .blogListing:nth-of-type(1) {
    border-top: 1px dashed #294195;
}

.soberTools, .blogCat {
	border-bottom: 1px dashed #294195;
	padding-bottom: 64px;
}

.blogCat img {
	margin-top: 36px;
}

.contentPage #comments {
	border-top: 1px dashed #294195;
}

.comment-list {
	border-bottom: 1px dashed #294195;
}

.contentPage.detail .entry-content {
	padding-bottom: 20px;
}

.contentPage.detail .details {
	margin-bottom: 26px;
}

.comments-area h3 {
	color: #ce4800;
	font-size: 28px;
	margin-bottom: 6px;
}

.comment-respond {
	margin-top: 24px;
}

.comments-area {
	padding-top: 30px;
}

.comments-link a {
	text-decoration: underline;
	margin-left: 6px;
	display: inline-block;
}

.parent-pageid-15 .comment-form-comment textarea#comment {
	height: 130px;	
}

.comment-content {
	background: url('/wp-content/themes/livingsober/images/quote-left.png') no-repeat 13px top;
	min-height: 24px;
}

.comment-content p:last-of-type {
	background: url('/wp-content/themes/livingsober/images/quote-right.png') no-repeat right bottom;
	min-height: 24px;
	padding-bottom: 24px;
	margin-bottom: 0;
}

#bp-login-widget-form {
	display: none;
}

#primary-navigation {
	position: relative;
}

#bp-login-widget-form {
	position: absolute;
	color: #ffffff;
	width: 416px;
	height: 206px;
	right: -20px;
	top: 26px;
	padding-left: 24px;
	padding-right: 20px;
	padding-top: 28px;
	z-index: 999;
}

.lwa form.lwa-remember {
    position: absolute;
    color: #ffffff;
    width: 416px;
    height: 206px;
    right: -20px;
    top: 26px;
    padding-left: 24px;
    padding-right: 20px;
    padding-top: 28px;
    z-index: 999;
}

.lwa form.lwa-remember strong {
    font-weight: normal;
}

.lwa-remember-email input {
    border: none;
}

.site-navigation a.lwa-links-remember-cancel {
    font-weight: normal;
    font-size: 13px;
    text-transform: none;
    color: #fff;
    text-decoration: underline;
}

#bp-login-widget-form:before, .lwa form.lwa-remember:before {
    background: url('/wp-content/themes/livingsober/images/login-box2.png') no-repeat left top;
    content: " ";
    width: 416px;
    height: 206px;
    position: absolute;
    z-index: -1;
    top: 2px;
    right: 0;
}


input.lwa-button-remember {
   padding: 0 25px;
   border: none;
   -webkit-appearance: button;
   cursor: pointer;
   color: #294195;
   background: #f8da45;
   text-transform: none;
   font-size: 14px;
   line-height: 23px;
   position: relative;
   z-index: 20;
   margin-left: 0;
   border-radius: 0;
   min-width: 74px;
   font-weight: normal;   
   margin-top: 6px;
}

tr.lwa-submit, .lwa td, .lwa tr, .lwa-submit-links {
    display: block;
}

#lwa_wp-submit {
    padding: 0 25px;
    border: none;
    -webkit-appearance: button;
    cursor: pointer;
    color: #294195;
    background: #f8da45;
    text-transform: none;
    font-size: 14px;
    line-height: 23px;
    position: relative;
    z-index: 20;
    margin-left: 4px;
    border-radius: 0;
    min-width: 74px;
    font-weight: normal;
}

.site-navigation a.lwa-links-remember {
    float: right;
    font-weight: normal;
    font-size: 12px;
    margin-top: -18px;
}

.site-navigation a.lwa-links-register {
   font-weight: normal;
   font-size: 12px; 
   float: left;
   margin-top: -65px;
   margin-left: 90px;
   text-decoration: underline;
   color: #f8da45;
}

.site-navigation a.lwa-links-register:hover {
    color: #ce4800;
}

.lwa-status {
    padding: 4px 10px;
    font-size: 13px;
}

.lwa-status-invalid {
    border-color: #ce4800;
    background: #f1cdba;
}

.site-navigation .lwa-status a {
    font-size: 13px;
    text-transform: none;
    font-weight: normal;
    text-decoration: underline;
    padding: 0;
}

.lwa tr.lwa-username, .lwa tr.lwa-password {
    width: 49%;
    display: inline-block;
    vertical-align: top;
}

.lwa-submit-links label {
    font-size: 12px;
}

.lwa-submit-links a {
    text-transform: none;
    color: #fff;
}

#bp-login-widget-form  input {
	border: none;
}

.formItem {
	width: 50%;
	display: block;
	float: left;
	overflow: hidden;
}

.forgetmenot {
	display: block;
	clear: both;
	padding-top: 5px;
	font-size: 12px;
	padding-bottom: 15px;
}

#bp-login-widget-form #bp-login-widget-submit {
	padding: 0 25px;
}

#bp-login-widget-form #bp-login-widget-submit:hover {
	background: #ef7a22;
}

.recentcomments {
	color: #a3a3a3;
}

.comment-content .feature-burry-comments {
	display: none;
}

.entry-content ul {
	margin-left: 18px;
}

.entry-content li {
	margin-bottom: 20px;
}

#buddypress {
	position: relative;
}

#buddypress div.dir-search {
	margin-top: 66px;
	position: absolute;
	top: 0;
	right: 240px;
}

.item-list-tabs {
	
}

#members-order-select {
	width: 230px;
}

#members-order-by {
	float: right;
}

#members-order-select label {
	line-height: 29px;
}

.page-id-99 .bp_activity h2, .error404 h2, .registration h2 {
	margin-top: 0;
	margin-bottom: 0;
}

.bp_members #item-body h4, .registration h5 {
	color: #ef7a22;
	font-family: 'Karla', sans-serif;
	font-size: 15px;
	text-transform: uppercase;
	line-height: 24px;
	margin-top: 24px;
	margin-bottom: 30px;
}

.page-id-99 .bp_activity h3 {
	color: #ef7a22;
	font-family: 'Karla', sans-serif;
	font-size: 15px;
	line-height: 24px;
	margin-top: 14px;
	margin-bottom: 10px;
}

#buddypress div.pagination .pag-count {
	margin-left: 0;
}

.page-id-99 .bp_activity h3:last-of-type {
	border-bottom: 1px dashed #294195;
	padding-bottom: 32px;
	margin-bottom: 30px;
}

#buddypress #members-directory-form #subnav {
	float: right;
	margin-top: 62px;
}

#buddypress #members-directory-form .item-list-tabs {
	float: left;
	clear: none;
}

.page-id-5 #buddypress ul.item-list {
	border-top: 1px dashed #294195;
	margin-top: 30px;
}

.page-id-99 #whats-new-form {
	border-bottom: 1px dashed #294195;
	margin-bottom: 30px;
	padding-bottom: 10px;
	
}

#buddypress #activity-stream {
	margin-top: 0px;
}

.page-id-99 #buddypress #activity-stream {
	margin-top: 30px;
}

#buddypress div#pag-top.pagination {
	margin-top: -43px;
	z-index: -1;
	margin-bottom: 30px;
}

.notifications #buddypress div#pag-top.pagination {
	margin-top: 0;
}

#members-list li {
	width: 50%;
	float: left;
}

#buddypress ul.item-list li div.item-title, #buddypress ul.item-list li h4, #buddypress span.activity {
	font-size: 100%;
}

#buddypress ul.item-list li div.item-title {
	font-weight: bold;
	font-style: italic;
}

#buddypress ul.item-list li {
	border-bottom: none;
}

#buddypress div#pag-bottom.pagination {
	margin-top: 30px;
}

.profile article h2, .profile article h3, .my-account article h2, .my-account article h3, .bp-user article h2, .bp-user article h3 {
	display: none;
}

#buddypress #public, .bp-widget.base, #settings-form p, #xprofile-settings-base, #profile-personal-li {
	display: none;
}

.bp-user .type-bp_members header {
	margin-left: 180px;
}

.type-bp_members #item-header-avatar {
	position: absolute;
	top: 12px;
	left: 0;
}

.bp-user h1.entry-title, .my-account h1.entry-title, .activity-permalink h1.entry-title {
	display: none;
}

.bp-user #item-header, .my-account #item-header {
	margin-top: 65px;
}

.bp-user .type-bp_members #buddypress  div#item-header #item-header-content,
.bp-user .type-bp_members #buddypress  div#item-nav,
.bp-user #buddypress div#message.bp-template-notice {
	margin-left: 180px;
}

#buddypress div#object-nav.item-list-tabs ul li a {
	
}

#buddypress div#object-nav.item-list-tabs ul li.current a, #buddypress .activity-type-tabs #activity-all.selected a, #buddypress .activity-type-tabs #activity-mentions.selected a {
	background: #294195;
	padding-left: 10px;
	color: #f8da45;
	opacity: 1;
}


#buddypress div#object-nav.item-list-tabs ul li {
	margin-right: 10px;
}

#item-body {
	border-top: 1px dashed #294195;
	margin-top: 30px;
	margin-right: 30px;
}

#profile-edit-form h4, #profile-edit-form .button-nav {
	display: none;
}

.entry-content #buddypress .has-cap .first {
	color: #444444;
	font-family: 'Karla',sans-serif;
	font-size: inherit;
	line-height: inherit;
	position: relative;
	top: 0;
}

#buddypress div.item-list-tabs ul li.selected#notifications-my-notifications-personal-li a,
#buddypress div.item-list-tabs ul li.selected#read-personal-li a,
#buddypress div.item-list-tabs ul li.selected#edit-personal-li a,
#buddypress div.item-list-tabs ul li.selected#change-avatar-personal-li a,
#buddypress div.item-list-tabs ul li.selected#general-personal-li a,
#buddypress div.item-list-tabs ul li.selected#just-me-personal-li a,
#buddypress div.item-list-tabs ul li.selected#activity-mentions-personal-li a,
#buddypress div.item-list-tabs ul li.selected#activity-favs-personal-li a,
#buddypress div.item-list-tabs ul li.selected#activity-journal-personal-li a {
	text-decoration: underline;
	background: none;
	color: #294195;
	opacity: 1;
}

#buddypress div.item-list-tabs#subnav ul li a {
	padding-left: 0;	
}

#avatar-upload #file {
	float: left;
	border:  none;
	padding-left: 0;
	background: none;
}

#buddypress #item-body form#whats-new-form{
	margin-bottom: 10px;
}

#buddypress div.item-list-tabs ul li#activity-filter-select {
	margin-right: 12px;
}

li.feed {
	display: none;
}

#members-list li:nth-child(2n+1) {
	clear: left;
}

#buddypress div.activity-comments form .ac-textarea {
	border: none;
	padding: 0;
	background: none;
}

.page-id-99 #buddypress div#subnav.item-list-tabs {
	margin-top: -30px;
	display: inline-block;
	float: right;
}

#member-dir-count-top, #member-dir-count-bottom {
	font-size: 12px;
}

.facesPage .ngg-gallery-thumbnail img {
	border: 4px solid #ef7a22;
	padding: 0;
	max-width: 100%;
}

.facesPage h2:nth-last-of-type(1) {
	margin-bottom: 10px;
}

.facesPage code {
	font-family: 'Karla', sans-serif;
	color: #ef7a22;
	font-size: 14px;
	line-height: 18px;
}

.facesPage #uploadimage code {
	font-size: 12px;
}

.facesPage code, .facesPage p, .facesPage #uploadimage, .facesPage .upload_error {
	max-width: 70%;
}

.facesPage .upload_error {
	margin-bottom: 24px;
	color: #ef7a22;
}

#uploadimage_form .uploader, #uploadimage_form .submit {
	display: inline-block;
	float: left;
}

#uploadimage_form .submit {
	margin-left: 20px;
}

#uploadimage_form .submit br {
	display: none;
}

#daysSoberResult {
    display: none;
}

body #ui-datepicker-div.ui-datepicker.ui-widget-content  {
	z-index: 30 !important;
}

.faceBubble {
	position: absolute;
	right: 30px;
	margin-top: 10px;
}

hr {
	background-color: transparent;
	background: none;
	border-top: 1px dashed #294195;
}

.ngg-galleryoverview {
	margin-bottom: 65px;
}

.facesPage .ngg-gallery-thumbnail-box {
	margin-right: 0;
	padding-right: 20px;
	margin-bottom: 15px;
}

.ngg-gallery-thumbnail {
	max-width: 100%;
}

/** all the rotating of the images **/
.facesPage .ngg-gallery-thumbnail-box:nth-of-type(6n+1) .ngg-gallery-thumbnail img {
	transform:rotate(1deg);
	-ms-transform:rotate(1deg); /* IE 9 */
	-webkit-transform:rotate(1deg); /* Opera, Chrome, and Safari */
}

.facesPage .ngg-gallery-thumbnail-box:nth-of-type(6n+2) .ngg-gallery-thumbnail img {
	transform:rotate(3deg);
	-ms-transform:rotate(3deg); /* IE 9 */
	-webkit-transform:rotate(3deg); /* Opera, Chrome, and Safari */
}

.facesPage .ngg-gallery-thumbnail-box:nth-of-type(6n+3) .ngg-gallery-thumbnail img {
	transform:rotate(-1deg);
	-ms-transform:rotate(-1deg); /* IE 9 */
	-webkit-transform:rotate(-1deg); /* Opera, Chrome, and Safari */
}

.facesPage .ngg-gallery-thumbnail-box:nth-of-type(6n+4) .ngg-gallery-thumbnail img {
	transform:rotate(-2deg);
	-ms-transform:rotate(-2deg); /* IE 9 */
	-webkit-transform:rotate(-2deg); /* Opera, Chrome, and Safari */
}

.facesPage .ngg-gallery-thumbnail-box:nth-of-type(6n+5) .ngg-gallery-thumbnail img {
	transform:rotate(1deg);
	-ms-transform:rotate(1deg); /* IE 9 */
	-webkit-transform:rotate(1deg); /* Opera, Chrome, and Safari */
}

.facesPage .ngg-gallery-thumbnail-box:nth-of-type(6n+6) .ngg-gallery-thumbnail img {
	transform:rotate(2deg);
	-ms-transform:rotate(2deg); /* IE 9 */
	-webkit-transform:rotate(2deg); /* Opera, Chrome, and Safari */
}

.register h2 {
	margin-top: 0;
}

#buddypress .standard-form #basic-details-section input[type="password"] {
	width: 90%;
}

#buddypress .standard-form label {
	font-weight: normal;
}

#buddypress .standard-form label span {
	color: #294195;
	font-size: 12px;
}

#buddypress .standard-form #basic-details-section, #buddypress .standard-form #blog-details-section, #buddypress .standard-form #profile-details-section {
	width: 100%;
}

#basic-details-section .formItem:nth-child(2n) {
	clear: left;
}

#basic-details-section h4 {
	float: left;
}

#basic-details-section small {
	color: #294195;
	display: block;
	width: 90%;
	margin-top: 4px;
}

#buddypress .field-visibility-settings-notoggle {
	color: #294195;
	font-size: 11px;
	margin-top: 4px;
}

.editfield {
	width: 50%;
}

#basic-details-section {
	margin-bottom: 40px;
	background: url('/wp-content/themes/livingsober/images/join-in.png') right top no-repeat;
	padding-right: 140px;
}

#profile-details-section {
	padding-right: 140px;
}

#buddypress #signup_form.standard-form div.submit {
	float: none;
}

#register-page {
	margin-bottom: 40px;
}

p.ethos {
	padding-right: 45px;
}

.page-template-page-templatesabout-php .contentPage h3, .register .type-bp_register h3 {
	color: #ef7a22;
	font-family: 'Karla', sans-serif;
	font-size: 15px;
	text-transform: uppercase;
	line-height: 24px;
	margin-top: 24px;
}

.page-template-page-templatesabout-php h1 {
	margin-bottom: 30px;
}

.page-template-page-templatesabout-php .contentPage h2 {
	margin-bottom: 10px;
}

#members-directory-form #message.info {
	display: block;
	clear: both;
}

.my-account .entry-content {
	position: relative;
	top: 0;
}

.my-account article.post-0 {
	position: relative;
}

label.postAnonymously {
	margin-left: 20px;
	margin-bottom: 20px;
}

input#postAnonymously {
	float: left;
	margin-top: 2px;
}

.primary-navigation ul ul a {
	text-transform: none;
	font-weight: normal;
	font-size: 13px;
}

.primary-navigation li:hover > a {
	color: #ce4800;
}

#buddypress #signup_form.standard-form div div.error {
	background: #f8da45;
	padding: 2px 6px;
	font-size: 11px;
	line-height: 14px;
}

#members_search{
	height: 28px;
}

#imagefiles {
	 -webkit-appearance: none;
	 outline: none;
}

.myStory {
	margin-right: 20px;
}

.storyTitle {
	color: #ef7a22;
    font-family: 'Karla',sans-serif;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 6px;
    margin-top: 24px;
    text-transform: uppercase;
    
}

li#activity-favorites {
	display: none;
}

.registration #profile-details-section .editfield:first-of-type,
#profile-edit-form .editfield.field_1 {
	display: none;
}


.need_login {
	border: 1px solid #f8da45;
	padding: 10px;
	display: inline-block;
	color: #ce4800;
}

#buddypress div.activity-comments div.acomment-content,
#buddypress div.activity-comments div.acomment-meta,
#buddypress a.bp-primary-action,
#buddypress a.bp-secondary-action {
	font-size: 100%;
}

.activity-comments li.hidden {
	display: block !important;
	visibility: visible !important;
}

.activity-comments li.show-all {
	display: none;
}

#footer-sidebar small {
	display: block;
	line-height: 15px;
	margin-top: 7px;
	font-size: 11px;
}

.activity-permalink #buddypress {
	margin-top: 78px;
}

#buddypress div.ac-reply-avatar img {
	height: 25px;
	width: 25px;
	border: none;
	left: 30px;
	position: relative;
}

.activity-meta a {
	display: inline-block;
}

#buddypress div.activity-comments > ul {
	padding-left: 0;
}

#buddypress form.ac-form.root div.ac-reply-avatar img {
	left: 0;
}

#buddypress div.activity-comments form.root div.ac-reply-content {
	margin-left: 20px;
}

#buddypress div.activity-comments form.ac-form.root {
	padding-left: 0;
}

.sober-toolbox-modal {
  background: #fff;
  border: 1px solid #ef7a22;
  display: none;
  padding: 16px;
  transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -webkit-transition: all .5s ease-in-out;
}

.bp-user .sober-toolbox-modal h2 {
  display: block;
  margin-bottom: 0;
}

.sober-toolbox-modal select {
  display: block;
  margin: 6px 0 12px;
}

#buddypress form#whats-new-form .sober-toolbox-modal textarea {
  margin-bottom: 12px;
  min-height: 80px !important;
  width: 100%;
}

.sober-toolbox-modal .btn {
  text-decoration: none;
}

.sober-toolbox-modal .close-sober-toolbox-modal {
  float: right;
  text-align: right;
}

/** medium **/
@media (max-width: 1199px) {
	#footer-sidebar .textwidget {
		font-size: 15px;
		line-height: 20px;
	}
	
	footer .bottles {
		height: 146px;
		background-position: right bottom;
	}
	
	#footer-sidebar small {
		margin-top: 4px;
		color: #555;
	}
	
	.primary-navigation li {
		margin-left: 0;
	}
	
	.site-navigation a {
		font-size: 14px;
	}
	
	.primary-navigation .nav-menu {
		margin-right: 0;
	}
	
	.primary-navigation a {
		padding: 0 6px;
	}
	
	.primary-navigation .menu-item-has-children > a, .primary-navigation .page_item_has_children > a {
		padding-right: 17px;
		right: 6px;
	}
	
	.featuredComment p {
		font-size: 12px;
		line-height: 17px;
	}
	
	.site-navigation a.btn-primary {
		min-width: 0;
	}
	
	#buddypress div#pag-top.pagination {
		margin-top: 0;
	}
	
	#buddypress div.dir-search {
		right: auto;
		left: 0;
	}
	
	#buddypress #message.info {
		margin-right: 0;
	}
	
	.blogListSection, .contentPage {
		padding-right: 20px;
	}
	
	.facesPage .entry-header, .facesPage h2, .register h2, .members .entry-header, .page-id-99 h2, .page-id-99 h3 {
		padding-right: 5px;
	}
	
	.faceBubble {
		width: 150px;
	}
	
	.page-id-13 h2 br {
		display: none;
	}
	
	#bp-login-widget-form {
		right: -20px;
		top: 25px;
	}
	
	.lwa form.lwa-remember {
	    right: -20px;    
	}

}

/* small screens */
@media (max-width: 991px) {
	#footer-sidebar .textwidget {
		font-size: 14px;
		line-height: 18px;
	}
	
	p.creators {
		margin-top: 3px;
	}
	
	#footer-sidebar small {
		font-size: 10px;
		line-height: 13px;
	}
	
	footer .bottles {
		background-position: right -100px bottom;
	}
	
	#supplementary {
		padding-right: 40px;
	}
	
	.primary-navigation .nav-menu {
		margin-right: 0;
	}
		
	.site-navigation a {
		font-size: 13px;
	}
	
	.site-navigation a.btn-primary.ourCommunity, .bp-login-widget-register-link {
		position:absolute;
		top: -23px;
		right: 68px;
	}
	
	.site-navigation a.btn-primary#loginLink {
		position:absolute;
		right: 230px;
		top: -23px;
	}
	
	.site-navigation a.btn-primary.logout {
		position:absolute;
		right: 195px;
		top: -23px;
	}
	
	.menu-main-nav-container {
		margin-top: 5px;
	}
	
	header .social {
		margin-top: 8px;
		z-index: 999;
		position: relative;
	}
	
	.featuredComment p {
		background-color: #294195;
		height: auto;
		padding: 20px 15px 24px;
		margin-right: 0;
		margin-top: -19px;
		margin-bottom: 10px;
	}
	
	.featuredComment {
		background: none;
	}
	
	/** text size **/
	h1 {
		font-size: 40px;
		margin-top: 78px;
	}
	
	h2 {
		font-size: 23px;
	}
	
	h3 {
		font-size: 18px;
	}
	
	.blogListSection, .contentPage {
		padding-right: 15px;
	}
	
	.facesPage .entry-header, .facesPage h2, .register h2, .members .entry-header, .page-id-99 h2, .page-id-99 h3 {
		padding-right: 0;
	}
	
	#bp-login-widget-form {
		right: 210px;
		top: -7px;
	}
	
	#buddypress #members-directory-form #subnav {
		float: left;
		margin-top: 44px;
		width: 100%;
	}
	
	#members-order-select {
		width: 240px;
	}
	
	.bp-user .type-bp_members #buddypress div#item-header #item-header-content, .bp-user .type-bp_members #buddypress div#item-nav, .bp-user #buddypress div#message.bp-template-notice {
		margin-left: 0;
	}
	
	.type-bp_members #item-header-avatar {
		position: relative;
	}
	
	#buddypress div.item-list-tabs ul li.last {
		float: left;
		display: block;
		width: 100%;
	}
	
	.faceBubble {
		display: none;
	}
	
	.facesPage code, .facesPage p, .facesPage #uploadimage, .facesPage .upload_error {
		max-width: none;
	}
	
	.facesPage .ngg-gallery-thumbnail-box {
		width: 50% !important;
	}
	
	.ngg-galleryoverview br {
		display: none;
	}
	
	#basic-details-section {
		background-size: 100px auto;
		padding-right: 0;
	}
	
	#profile-details-section {
		padding-right: 0;
	}
	
	.has-post-thumbnail .entry-header {
		float: none;
		max-width: 100%;
		margin-left: 0;
	}
	
	.post-thumbnail {
		max-width: 100%;
	}
	
	#uploadimage_form .uploader {
		width: 60%;
	}
	
	#buddypress div.activity-comments li form.ac-form {
		margin-right: 0;
	}
	
	#buddypress div.activity-comments form.ac-form {
		padding-right: 0;
	}
	
	
}

@media (max-width: 991px) and (min-width: 769px) {
	/** make the reply boxes go full width, as it's just too small **/
	
}


/** iPad just menu stuff **/
@media (max-width: 768px) {
	header .social {
		padding-left: 0;
	}
		
	#primary-navigation {
		padding-top: 0;
	}
	
	header .social {
		margin-top: -5px;
	}
	
	.site-navigation a.btn-primary.ourCommunity, .bp-login-widget-register-link,
	.site-navigation a.btn-primary.logout, .site-navigation a.btn-primary#loginLink {
		top: 44px;
	}
	
	.menu-main-nav-container {
		margin-top: 105px;
	}
	
	.logo {
		padding-bottom: 0;
		padding-top: 14px;
	}
	
	.primary-navigation .nav-menu {
		border-top: 1px solid #f8da45;
		border-bottom: none;
		padding-top: 10px;
	}
	
	.primary-navigation .menu-item.current-menu-item:after, .primary-navigation .menu-item:hover:after, .primary-navigation .menu-item.current-page-ancestor:after, .single-post #menu-item-25:after, .category #menu-item-25:after, .archive #menu-item-25:after  {
		display: none;
	}
	
	.primary-navigation .menu-item.current-menu-item a, .primary-navigation .menu-item:hover a, .primary-navigation .menu-item:hover .menu-item:hover a, .primary-navigation .menu-item.current-page-ancestor a {
		text-decoration: underline;
	}
	
	.primary-navigation .menu-item:hover .menu-item a, .primary-navigation .menu-item.current-menu-item .menu-item a, .primary-navigation .menu-item.current-page-ancestor .menu-item a {
		text-decoration: none;
	}
	
	.site-header {
		background-repeat: repeat;
	}
	
	/** make the reply boxes go full width, as it's just too small **/
	#buddypress form.ac-form.root div.ac-reply-avatar img {
		left: 0;
	}
	
	#buddypress div.activity-comments form.ac-form.root  div.ac-reply-content {
		margin-left: 20px;
	}
	
	#buddypress div.activity-comments form.ac-form.root {
		padding-left: 0;
	}
	
	#buddypress div.activity-comments > ul {
		padding-left: 0;
	}
}

/* iPads (landscape) ----------- */

@media only screen 
and (min-width : 768px) 
and (max-width : 1024px) 
 {
	header .social {
		padding-left: 0;
	}
		
	#primary-navigation {
		padding-top: 0;
	}
	
	header .social {
		margin-top: -5px;
	}
	
	.site-navigation a.btn-primary.ourCommunity, .bp-login-widget-register-link,
	.site-navigation a.btn-primary.logout, .site-navigation a.btn-primary#loginLink {
		top: 44px;
	}
	
	.menu-main-nav-container {
		margin-top: 105px;
	}
	
	.logo {
		padding-bottom: 0;
		padding-top: 14px;
	}
	
	.primary-navigation .nav-menu {
		border-top: 1px solid #f8da45;
		border-bottom: none;
		padding-top: 10px;
	}
	
	.primary-navigation .menu-item.current-menu-item:after, .primary-navigation .menu-item:hover:after, .primary-navigation .menu-item.current-page-ancestor:after, .single-post #menu-item-25:after, .category #menu-item-25:after, .archive #menu-item-25:after  {
		display: none;
	}
	
	.primary-navigation .menu-item.current-menu-item a, .primary-navigation .menu-item:hover a, .primary-navigation .menu-item:hover .menu-item:hover a, .primary-navigation .menu-item.current-page-ancestor a {
		text-decoration: underline;
	}
	
	.primary-navigation .menu-item:hover .menu-item a, .primary-navigation .menu-item.current-menu-item .menu-item a, .primary-navigation .menu-item.current-page-ancestor .menu-item a {
		text-decoration: none;
	}
	
	.site-header {
		background-repeat: repeat;
	}
	
	/** moved the login links to in the main menu **/
	.site-navigation a.btn-primary.ourCommunity, .bp-login-widget-register-link, .site-navigation a#loginLink.btn-primary, .site-navigation a.btn-primary.logout {
		display: none;
	}
	
	.primary-navigation.toggled-on.site-navigation a.btn-primary.ourCommunity, .primary-navigation.toggled-on .bp-login-widget-register-link, .primary-navigation.toggled-on.site-navigation a#loginLink.btn-primary, .primary-navigation.toggled-on.site-navigation a.btn-primary.logout {
		display: block;
	}
	
	.primary-navigation.toggled-on.site-navigation a.btn-primary.ourCommunity, .primary-navigation.toggled-on .bp-login-widget-register-link a, .primary-navigation.toggled-on.site-navigation a#loginLink.btn-primary, .primary-navigation.toggled-on.site-navigation a.btn-primary.logout {
		max-width: 300px;
	}
	
	.site-navigation a.btn-primary.ourCommunity, .bp-login-widget-register-link, .site-navigation a#loginLink.btn-primary, .site-navigation a.btn-primary.logout {
		right: auto;
		top: auto;
		position: relative;
		margin-top: 10px;
		margin-bottom: 14px;
	}
	
	.menu-main-nav-container {
		margin-top: 95px;
	}
	
}

/** iPad and below **/
@media (max-width: 767px) {
	.site-header {
		/*position: fixed;*/
		top: 0;
	}
	
	footer .bottles {
		height: auto;
		background: none;
	}
	
	footer .social {
		display: none;
	}
	
	p.creators {
		text-align:  left;
		margin-left: 106px;
		margin-bottom: 10px;
	}
	
	.welcome {
		left: auto;
		right: -0;
		margin-top: 26px;
		width: 150px;
		background-size: 100% auto;
	}
	
	#post-8 {
		border-bottom: 1px dashed #294195;
		padding-bottom: 30px;
	}
	
	.communityFeatured, .rightSide {
		margin-top: 40px;
	}
	
	
	/** moved the login links to in the main menu **/
	.site-navigation a.btn-primary.ourCommunity, .bp-login-widget-register-link, .site-navigation a#loginLink.btn-primary, .site-navigation a.btn-primary.logout {
		display: none;
	}
	
	.primary-navigation.toggled-on.site-navigation a.btn-primary.ourCommunity, .primary-navigation.toggled-on .bp-login-widget-register-link, .primary-navigation.toggled-on.site-navigation a#loginLink.btn-primary, .primary-navigation.toggled-on.site-navigation a.btn-primary.logout {
		display: block;
	}
	
	.primary-navigation.toggled-on.site-navigation a.btn-primary.ourCommunity, .primary-navigation.toggled-on .bp-login-widget-register-link a, .primary-navigation.toggled-on.site-navigation a#loginLink.btn-primary, .primary-navigation.toggled-on.site-navigation a.btn-primary.logout {
		max-width: 300px;
	}
	
	.site-navigation a.btn-primary.ourCommunity, .bp-login-widget-register-link, .site-navigation a#loginLink.btn-primary, .site-navigation a.btn-primary.logout {
		right: auto;
		top: auto;
		position: relative;
		margin-top: 10px;
		margin-bottom: 14px;
	}
	
	.menu-main-nav-container {
		margin-top: 95px;
	}
	
	footer.site-footer {
		margin-top: 40px;
	}
	
	.rightSide input {
		width: 100%;
	}
	
	.blogMenu {
		margin-top: 120px;
		padding-left: 15px;
		position: static;
	}
	
	#primary .container {
		position: relative;
	}
	
	.blogMenu aside.widget_text {
		bottom: 0;
		position: absolute;
		width: auto;
	}
	
	.page-template-page-templatesgetting-help-php .blogMenu, .page-template-page-templatessobertools-single-php .blogMenu, .buddypress .blogMenu {
		bottom: 0;
		position: absolute;
		width: 100%;
	}
	
	.page-template-page-templatesgetting-help-php .rightSide {
		margin-bottom: 280px;
	}
	
	.page-template-page-templatessobertools-single-php .rightSide {
		margin-bottom: 400px;
	}
	
	.buddypress .rightSide {
		margin-bottom: 260px;
	}
	
	.buddypress.registration .rightSide {
		margin-bottom: 190px;
	}
	
	.page-template-page-templatesmrsd-php #primary .rightSide,
	.single-post #primary .rightSide,
	.category #primary .rightSide,
	.archive #primary .rightSide {
		margin-bottom: 160px;
	}
	
	.mrsDLink {
		padding-right: 15px;
	}
	
	.rightSide .btn-primary.btn-red, .rightSide .btn-primary.btn-orange, .blogMenu .btn-primary.btn-orange {
		width: auto;
	}
	
	#masthead {
		z-index: 90;
	}
	
	.page-template-page-templatessobertools-php .blogMenu {
		display: none;
	}
	
	/*.home #primary, .page-template-page-templatessobertools-php #primary, .page-template-page-templatessobertools-single-php #primary, .page-template-page-templatesgetting-help-php #primary, .page-template-page-templatesabout-php #primary, .buddypress #primary {
		margin-top: 77px;
	}*/
	
	#banner, .page-template-page-templatesabout-php .blogMenu {
		display: none;
	}
	
	#buddypress div.dir-search input[type="text"] {
		width: 100%;
	}
	
	#bp-login-widget-form {
		right: auto;
		left: auto;
		top: 230px;
	}
	
	#uploadimage_form .uploader {
		width: auto;
	}
	
}


/** iPhone **/
@media (max-width: 480px) {

	.logo {
		width: 200px;
		padding-top: 20px;
	}
	
	.logo img {
		max-width: 100%;
	}
	
	.col-xs-11, .col-xs-10, .col-xs-9, .col-xs-8, .col-xs-7, .col-xs-6, .col-xs-5, .col-xs-4, .col-xs-3, .col-xs-2 {
		width: 100%;
	}
	
	.communityFeatured, .rightSide {
		margin-top: 20px;
	}
	
	#footer-sidebar .textwidget {
		padding-left: 90px;
		font-size: 13px;
		line-height: 18px;
	}
	
	p.creators {
		margin-left: 0;
	    padding-left: 105px;
	    padding-right: 15px;
	}
	
	#supplementary {
		padding-right: 0;
	}
	
	.welcome {
		display: none;
	}
	
	.widget_archive, .widget_recent_comments, .widget_recent_entries, .blogMenu #tag_cloud-2 {
		display: none;
	}
	
	.buddypress .widget_recent_entries {
		display: block;
	}
	
	.blogMenu {
		margin-top: 0;
	}
	
	.blogListing:last-of-type {
		margin-bottom: 25px;
	}
	
	.daysSober {
		border-top: 1px dashed #ce4800;
		padding-top: 10px;
	}
	
	.category .daysSober, .page-template-page-templatessobertools-php .daysSober, .archive .daysSober {
		border-top: none;
		padding-top: 0;
	}
	
	#text-3 {
		padding-top: 6px;
		margin-right: 15px;
	}
	
	#bp-login-widget-form {
		max-width: 100%;
	}
	
	#bp-login-widget-form .formItem {
		width: 100%;
		margin-bottom: 10px;
	}
	
	.forgetmenot {
		padding-bottom: 10px;
	}
	
	#bp-login-widget-form input.input {
		float: right;
	}
	
	#uploadimage_form .uploader {
		width: 100%;
	}
	
	#uploadimage_form .submit {
		margin-left: 0;
		margin-top: 10px;
	}
	
	.page-id-99 #buddypress div#subnav.item-list-tabs {
		margin-top: 10px;
		display: inline-block;
		float: none;
	}
	
	.rightSide {
		border-left: none;
	}
	
	/** buddypress comment replies **/
	#buddypress div.activity-comments form div.ac-reply-content {
		margin-left: 20px;
	}
	
	#buddypress div.ac-reply-avatar img {
		left: 0;
	}
	
	#buddypress div.activity-comments form.ac-form {
		padding-left: 0;
		padding-right: 0;
	}
	
	#buddypress div.activity-comments ul li > ul li > ul {
		margin-left: 0;
		padding-left: 0;
	}
	
	#buddypress div.activity-comments li form.ac-form {
		margin-right: 0;
	}
	
}

@media (max-width: 340px) {
	.featuredComment {
		background: url('/wp-content/themes/livingsober/images/featured-comment.png') no-repeat left top;
	}
	
	.featuredComment p {
		background: none;
		margin-bottom: 40px;
		width: 258px;
		padding: 0 9px 24px 30px;
		height: 120px;
		margin-top: 0;
	}
	
	#buddypress #members-list .item-avatar img.avatar {
		float: none;
		margin-bottom: 6px;
	}
	
	#buddypress #members-list li div.item {
		margin-left: 0;
	}
	
	.home .blogListing {
		border-top: 1px solid transparent;
	}
}

.parent-pageid-15 .entry-content h2 {
	margin-bottom: 0;
}

.parent-pageid-15 .comments-area {
	padding-top: 0;
}

.screen-reader-text {
	display: none;
}
/** Comment voting **/

a.vote-down {
    display: none;
}

.comment-weight-container {
    margin-left: 20px;
}

.comment-weight-container, .sobertools-sort {
    display: none;
}

.parent-pageid-15 .comment-weight-container {
    display: inline-block;
}

.children .comment-weight-container {
    margin-left: 0;
}

/*.comment-weight-container span + span:after {
    content: " votes";
    display: inline-block;
    position: relative;
    height: 20px;
    width: 100px;
    margin-left: 4px;
}*/

.comment-weight-container span + span + span:after {
    display: none;
}

.parent-pageid-15 .comment-body .reply {
    display: inline-block;
}

a.vote-up:after {
    content: "";
    font-size: 14px;
}

a.vote-up {
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-family: FontAwesome;
    font-feature-settings: normal;
    font-kerning: auto;
    font-language-override: normal;
    font-size-adjust: none;
    font-stretch: normal;
    font-style: normal;
    font-synthesis: weight style;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    text-rendering: auto;
    font-size: 1px;
}

a.vote-up:hover, a.vote-up:focus {
    text-decoration: none;
}

.growl-title {
    display: none;
}

.sobertools-sort {
    margin: 20px 0 0;
    padding: 0;
    float: right;
}

.parent-pageid-15  .sobertools-sort {
    display: block;
}

.sobertools-sort li {
    float: left;
    list-style: outside none none;
    margin: 0;
}

.sobertools-sort li a {
    display: block;
    padding: 5px 10px;
    text-decoration: none; 
}

.sobertools-sort li.selected a {
    background: #294195;
    color: #f8da45;
    padding-left: 10px;
}

.comment-navigation {
   text-align: right;
}

#comment-nav-above {
    display: none;
}

#comment-nav-below .nav-next a, #comment-nav-below .nav-previous a {
    background: #cf4c27;
    color: #ffffff;
    width: 170px;
    height: 23px;
    display: inline-block;
    text-align: center;
    position: relative;
    left: 4px;
    top: 3px;
}

#comment-nav-below .nav-next, #comment-nav-below .nav-previous {
    background-color: #ef7a22;  
}

#comment-nav-below .nav-next:hover,  #comment-nav-below .nav-previous:hover {
    background: #cf4c27;
}

#comment-nav-below .nav-next a:hover, #comment-nav-below .nav-previous a:hover {
    background-color: #ef7a22;
    text-decoration: none; 
}

#comment-nav-below .nav-previous {
    float: left;
}

#comment-nav-below .nav-previous a {
    margin-right: 0;
}

/** Tag cloud introduced in left nav **/
#tag_cloud-2 .tagcloud {
	padding: 0 15px 15px;
}

.tag-link-4, .tag-link-15, .entry-meta .tag-links a.home, .entry-meta .tag-links a.featured {
	display: none;
}

.entry-header .tag-links {
	padding-top: 10px;
	display: block;
}

.entry-header .tag-links a:hover {
	text-decoration: none;
}

.entry-meta .tag-links a {
	padding: 1px 5px;
	background-color: #A3A3A3;
}

.entry-meta .tag-links {
	padding-bottom: 20px;
	display: block;
}


.entry-meta .tag-links a::before {
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-right: 8px solid #A3A3A3;
}

.entry-meta .tag-links a::after {
	top: 6px;
}

.entry-meta .tag-links p {
	display: inline-block;
	margin-right: 6px;
}

/** view conversation button styling **/
#buddypress .activity-list .activity-content .activity-header {
	line-height: 120%;
}

.activity-header .view {
	font-size: 12px;
	font-style: italic;
	text-decoration: underline;
}

#buddypress .button.unfav:before  {
	content: " ";	
	font-family: FontAwesome;	
}

#buddypress .button.fav:before {
	content: " ";	
	font-family: FontAwesome;
	color: rgb(228, 172, 42);
}

#buddypress div.item-list-tabs ul li a#activity-favs {
	display: none;
}

.my-account #buddypress div.item-list-tabs ul li a#activity-favs {
	display: block;
}