/*
	Theme Name: Humanist Society theme
	Theme URI: http://www.humanist.org.sg
	Description: The theme for the revamped Humanist Society (Singapore) website. Runs on the Genesis framework.
	Author: jooja!
	Author URI: http://www.jooja.com/
	Version: 1.0
	Tags: black, red, white, one-column, two-columns, three-columns, fixed-width, custom-menu, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
	Template: genesis
	License: GPL-2.0+
	License URI: http://www.opensource.org/licenses/gpl-license.php 
*/


/* WARNING - Please read the notice below:

	Do not edit any files in the Genesis theme folder! Only make changes to the files in the child theme folder.
*/
 

/* Table of Contents

	01 Import Fonts
	02 Defaults
	03 Typography
		- Font Color
		- Font Family
		- Font Size
		- Font Miscellaneous
	04 Layout
		- Structure
		- 1152px CSS Grid
		- Header
		- Main Content
		- Post Info & Meta
		- Column Classes
		- Miscellaneous
	05 Menus
		- Primary Navigation Extras
	06 Headings
	07 Lists
	08 Post Navigation
	09 Comments
	10 Sidebars
	11 Footer
		- Footer Widgets
	12 Forms & Buttons
		- Gravity Forms
	13 Images & Captions
	14 Media Queries
		- max-width: 1024px
		- max-width: 768px
		- max-width: 480px

*/


/*
01 Import Fonts
---------------------------------------------------------------------------------------------------- */

@import url(http://fonts.googleapis.com/css?family=Lato:400,700);
@import url(http://fonts.googleapis.com/css?family=Josefin+Sans:400,400italic,600,600italic);

/*
02 Defaults
---------------------------------------------------------------------------------------------------- */

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
input, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	font-size: 100%; /* 16px browser default */
}

body {
	background-color: #fff;
	line-height: 1;
}

body,
input,
select,
textarea,
.footer-widgets-1,
.footer-widgets-2,
.footer-widgets-3 {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

a,
a:visited,
button,
input[type="button"],
input[type="submit"],
.btn {
	-moz-transition: all 0.1s ease-in-out;
	-webkit-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}

::-moz-selection {
	background-color: #1e1e1e;
	color: #fff;
}

::selection {
	background-color: #1e1e1e;
	color: #fff;
}

a img {
	border: none;
}


/*
03 Typography
-------------------------------------------------------------------------------------------------------

	This section covers font colors, families, size, styles and weight.

	This style sheet uses rem values with a pixel fallback.
	The rem values are calculated per the examples below:

	12 / 16 =		0.75rem
	14 / 16 =		0.875rem
	16 / 16 =		1rem	
	18 / 16 =		1.125rem
	20 / 16 =		1.25rem
	24 / 16 =		1.5rem
	30 / 16 =		1.875rem
	36 / 16 =		2.25rem
	42 / 16 =		2.625rem
	48 / 16 =		3rem
	
	Further reading on the use and compatibility of rems:
	
	http://caniuse.com/rem
	http://snook.ca/archives/html_and_css/font-size-with-rem
	
*/

/* 03a - Font Color ----------- */

a:hover,
body,
h2 a,
h2 a:visited,
h4.widgettitle a,
input,
.author,
.date,
.genesis-nav-menu a,
.post-comments,
#title a,
#title a:hover {
	color: #1e1e1e;
}

a,
h2 a:hover,
.genesis-nav-menu li a:hover,
.genesis-nav-menu li:hover a,
.genesis-nav-menu .current-menu-item a {
	color: #C40E28;
}

.post-info,
.post-meta,
#description {
	color: #636363;
}

blockquote::before,
blockquote p,
input,
select,
textarea {
	color: #999;
}

button,
input[type="button"],
input[type="submit"],
.btn,
.genesis-nav-menu .highlight-menu-item a,
.genesis-nav-menu .highlight-menu-item a:hover,
.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
	color: #fff;
}

#footer {
color: white;
}

.entry-title,
.entry-title a:link,
.entry-title a:visited{
color: #C40E28;
}

.entry-title a:hover,
.entry-title a:active{
color: #7E7E7E;
}

/* 03b - Font Family ----------- */

body,
input,
textarea,
.author-box h1 {
	font-family: 'Lato', Helvetica, Arial, sans-serif;
	font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title a,
#title {
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 400;
}

/* 03c - Font Size ----------- */

#title {
	font-size: 42px;
	font-size: 2.625rem;
}

h1,
.entry-title,
.entry-title a {
	font-size: 36px;
	font-size: 2.25rem;
}

blockquote::before {
	font-size: 32px;
	font-size: 2rem;
}

h2 {
	font-size: 30px;
	font-size: 1.875rem;
}

h3 {
	font-size: 24px;
	font-size: 1.5rem;
}

h4,
.archive-title,
.taxonomy-description h1,
.widgettitle {
	font-size: 20px;
	font-size: 1.25rem;
}

h5 {
	font-size: 18px;
	font-size: 1.125rem;
}

h6,
.author-box h1,
.sidebar h2 a {
	font-size: 16px;
	font-size: 1rem;
}

input,
select,
textarea,
.genesis-nav-menu,
.post-info,
.post-meta,
.wp-caption,
#footer p {
	font-size: 14px;
	font-size: 0.875rem;
}

.genesis-nav-menu a {
font-size: 14px;
}

#home-top .widgettitle,
#home-top .widgettitle a {
font-size: 36px;
text-transform: uppercase;
}

/* 03d - Font Miscellaneous ----------- */

blockquote p {
	font-style: italic;
}

cite {
	font-style: normal;
}

button,
input[type="button"],
input[type="submit"],
h1,
h2,
h3,
h4,
h5,
h6,
.btn,
.post-comments,
.post-info .author,
.post-info .date,
.wp-caption,
#footer p,
#title {
	font-weight: 400;
}

#home-top h2,
#home-top .widgettitle, 
#home-top .widgettitle a,
.widgettitle,
.entry-title,
.entry-title a,
.subpagelinks h1{
	font-weight: 600;
}

.home-left .featuredpost h2, 
.home-left .featuredpost h2 a, 
.home-left .featuredpost h2 a:visited {
font-weight: 400;
}

.wp-caption {
	text-align: center;
}

h2 a,
h2 a:visited,
.genesis-nav-menu a,
.navigation li a,
.widgettitle a,
#title a {
	text-decoration: none;
}


#footer .genesis-nav-menu,
#header .genesis-nav-menu,
.entry-title,
.entry-title a {
text-transform: uppercase;
}

#footer .creds a {
text-decoration: none;
color: white;
}

a.more-link{
color: black;
}

a.more-link:hover,
a.more-link:active {
color: #C40E28;
}

.more-link {
display: table;
text-decoration: none;
font-size: 12px;
background: url(images/morelink.png) no-repeat center left;
margin-top: 10px;
padding-left: 10px;
}

.entry-content a{
text-decoration: none;
}

.entry-content h3{
color: #C20E28;
text-transform: uppercase;
}

/*
04 Layout
---------------------------------------------------------------------------------------------------- */

/* 04a - Structure ----------- */

#header .genesis-nav-menu li ul{
z-index: 999;
}

#wrap,
#header .wrap,
#footer .wrap,
#footer-widgets .wrap {
	margin: 0 auto;
	padding: 0 5%;
	max-width: 1152px;
}

#inner {
	clear: both;
	overflow: hidden;
}

/* 04b - 1152px CSS Grid ----------- */

#sidebar-alt {
	width: 15.277777777%; /* 176px / 1152px */
}

.sidebar{
width: 34.72%;
}
#header .widget-area {
max-width: 440px;
	width: 50%;
}

.content-sidebar-sidebar .sidebar,
.sidebar-content-sidebar .sidebar,
.sidebar-sidebar-content .sidebar {
	width: 37.931034482%; /* 352px / 928px */
}

.content-sidebar-sidebar #content,
.sidebar-content-sidebar #content,
.sidebar-sidebar-content #content {
	width: 56.896551724%; /* 528px / 928px */
}

.content-sidebar #content,
.sidebar-content #content{
	width: 60.277777777%; /* 752px / 1152px */
}

.content-sidebar-sidebar #content-sidebar-wrap,
.sidebar-content-sidebar #content-sidebar-wrap,
.sidebar-sidebar-content #content-sidebar-wrap {
	width: 80.555555555%; /* 928px / 1152px */
}

.content-sidebar #content-sidebar-wrap,
.full-width-content #content,
.full-width-content #content-sidebar-wrap,
.sidebar-content #content-sidebar-wrap {
	width: 100%; /* 1152px / 1152px */
}

.footer-widgets-1,
.footer-widgets-2,
.sidebar-content #sidebar,
.sidebar-sidebar-content #sidebar,
#content,
#content-sidebar-wrap,
#footer .gototop,
#sidebar-alt,
#title-area {
	float: left;
}

.content-sidebar-sidebar #sidebar-alt,
.footer-widgets-3,
.sidebar,
.sidebar-content #content,
.sidebar-content-sidebar #content-sidebar-wrap,
.sidebar-sidebar-content #content,
.sidebar-sidebar-content #content-sidebar-wrap,
#header .widget-area {
	float: right;
}

#footer .creds {
float: left;
}

.entry-content .printfriendly {
margin: 4px;
}

.entry-content .mr_social_sharing_wrapper {
float: left;
width: auto;
clear:right;
}

.entry-content div.mr_social_sharing, 
.entry-content span.mr_social_sharing, 
.entry-content div.mr_social_sharing_top, 
.entry-content span.mr_social_sharing_top {
vertical-align: top;
}

/* 04c - Header ----------- */

#header {
	padding-top: 20px;
	padding-bottom: 10px;
	border-top: 5px solid #C40E28;
	border-bottom: 1px solid #878787;
	min-height: 70px;
	overflow: hidden;
}


#header #nav {
float: right;
clear:none;
}

#nav .wrap {
padding: 0;
}

#title {
	line-height: 1;
	margin: 40px 0 8px;
	margin: 2.5rem 0 0.5rem;
}

.header-image #title {
	height: 82px;
	background: url('images/logo.png') no-repeat left center;
z-index: 900;
margin:0;
}

#description {
	line-height: 1.25;
}

.header-full-width #title,
.header-full-width #title a,
.header-full-width #title-area {
	width: 100%;
}

.header-image #title,
.header-image #title a,
.header-image #title-area {
	display: block;
	float: left;
	min-height: 82px;
	overflow: hidden;
	text-indent: -9999px;
	width: 250px;
}

.header-image #description {
	display: block;
	overflow: hidden;
}

.home-left {
float: left;
width: 40%;
overflow: hidden;
}

.home-right {
float: right;
width: 57%;
padding-left:3%;
overflow: hidden;
}

/* 04d - Main Content ----------- */

#content {
	padding-top: 40px;
	padding-bottom: 40px;
padding-right: 5%;
}

.entry,
.page .post.entry {
	margin-bottom: 80px;
	margin-bottom: 5rem;
}

.single .entry {
	margin-bottom: 48px;
	margin-bottom: 3rem;
}

.page .entry {
	margin: 0;
}

.entry-content {
	overflow: hidden;
}

.entry-content,
.entry-content p {
	line-height: 1.625;
}

.entry-content p {
	margin-bottom: 26px;
	margin-bottom: 1.625rem;
}

blockquote {
	padding: 24px 64px;
	padding: 1.5rem 4rem;
}

blockquote::before {
	content: "“";
	display: block;
	height: 0;
	left: -20px;
	position: relative;
	top: -10px;
}

/* 04e - Post Info & Meta ----------- */

.post-info,
.post-meta {
	clear: both;
	line-height: 1.5;
}

.post-info {
	margin-bottom: 24px;
	margin-bottom: 1.5rem;
}

.post-comments {
	background: url(images/post-comments.png) no-repeat center left;
	margin-left: 16px;
	margin-left: 1rem;
	padding-left: 20px;
	padding-left: 1.25rem;
}

.post-meta {
	border-top: 1px solid #ccc;
	padding-top: 24px;
	padding-top: 1.5rem;
}

.categories,
.tags {
	display: block;
}

/* 04f - Column Classes ----------- */

.five-sixths,
.four-fifths,
.four-sixths,
.one-fifth,
.one-fourth,
.one-half,
.one-sixth,
.one-third,
.three-fifths,
.three-fourths,
.three-sixths,
.two-fifths,
.two-fourths,
.two-sixths,
.two-thirds {
	float: left;
	margin-left: 4.166666666%; /* 48px / 1152px */
}

.one-half,
.three-sixths,
.two-fourths {
	width: 47.9166666666%; /* 552px / 1152px */
}

.one-third,
.two-sixths {
	width: 30.555555555%; /* 352px / 1152px */
}

.four-sixths,
.two-thirds {
	width: 65.277777777%; /* 752px / 1152px */
}

.one-fourth {
	width: 21.875%; /* 252px / 1152px */
}

.three-fourths {
	width: 73.958333333%; /* 852px / 1152px */
}

.one-fifth {
	width: 16.666666666%; /* 192px / 1152px */
}

.two-fifths {
	width: 37.5%; /* 432px / 1152px */
}

.three-fifths {
	width: 58.333333333%; /* 672px / 1152px */
}

.four-fifths {
	width: 79.166666666%; /* 912px / 1152px */
}

.one-sixth {
	width: 13.194444444%; /* 152px / 1152px */
}

.five-sixths {
	width: 82.638888888%; /* 952px / 1152px */
}

.first {
	margin-left: 0;
}

/* 04g - Miscellaneous ----------- */

p.subscribe-to-comments {
	padding: 24px 0 16px;
	padding: 1.5rem 0 1rem;
}

p.pages,
.clear,
.clear-line,
.first {
	clear: both;
}

.clear-line {
	border-bottom: 1px solid #ccc;
	margin-bottom: 26px;
	margin-bottom: 1.625rem;
}

.alignleft,
.archive-page {
	float: left;
}

.alignright {
	float: right;
}

.archive-page {
	width: 50%;
}

.author-box,
.sticky {
	margin-bottom: 80px;
	margin-bottom: 5rem;
}

.author-box,
.author-box h1,
.taxonomy-description {
	line-height: 1.5;
}

.author-box,
.breadcrumb,
.sticky,
.taxonomy-description {
	background-color: #f5f5f5;
	margin-bottom: 48px;
	margin-bottom: 3rem;
	overflow: hidden;
	padding: 32px;
	padding: 2rem;
}


/*
05 Menus
---------------------------------------------------------------------------------------------------- */

.genesis-nav-menu {
	clear: both;
	overflow: hidden;
}

#header .genesis-nav-menu {
	display: block;
	float: right;
	margin-top: 20px;
	width: auto;
}

.genesis-nav-menu.menu-secondary {
	border-bottom: 1px solid #ccc;
}

.genesis-nav-menu ul {
	float: right;
	width: 100%;
}

.genesis-nav-menu li {
	display: inline-block;
	float: left;
	list-style-type: none;
	text-align: left;
}

.genesis-nav-menu a {
	display: block;
	padding: 24px 20px 5px 10px;
	position: relative;
}

.genesis-nav-menu li.highlight-menu-item {
	margin-left: 20px;
	margin-left: 1.25rem;
}

.genesis-nav-menu .highlight-menu-item a {
	background-color: #1e1e1e;
}

.genesis-nav-menu .highlight-menu-item a:hover {
	background-color: #ff2a00;
}

.genesis-nav-menu li li a,
.genesis-nav-menu li li a:link,
.genesis-nav-menu li li a:visited {
	color: white;
	background-color: #C40E28;
	border-top: none;
	padding: 10px;
	position: relative;
	width: 150px;
}

.genesis-nav-menu li li a:hover {
color: black;
}

.genesis-nav-menu li ul {
	left: -9999px;
	position: absolute;
	width: 212px;
	z-index: 99;
}

.genesis-nav-menu li ul ul {
	margin: -55px 0 0 211px;
}

.genesis-nav-menu li:hover ul ul,
.genesis-nav-menu li.sfHover ul ul {
	left: -9999px;
}

.genesis-nav-menu li:hover,
.genesis-nav-menu li.sfHover {
	position: static;
}

ul.genesis-nav-menu li:hover>ul,
ul.genesis-nav-menu li.sfHover ul,
#header .genesis-nav-menu li:hover>ul,
#header .genesis-nav-menu li.sfHover ul {
	left: auto;
}

.genesis-nav-menu li a .sf-sub-indicator,
.genesis-nav-menu li li a .sf-sub-indicator,
.genesis-nav-menu li li li a .sf-sub-indicator {
	position: absolute;
	text-indent: -9999px;
}

#wpadminbar li:hover ul ul {
	left: 0;
}

/* 05a - Primary Navigation Extras ----------- */

.genesis-nav-menu li.right {
	float: right;
	padding: 24px 20px;
	padding: 1.5rem 1.25rem;
}

.genesis-nav-menu li.right a {
	display: inline;
	padding: 0;
}

.genesis-nav-menu li.search {
	padding: 6px 0 0;
	padding: 0.375rem 0 0;
}

.genesis-nav-menu li.rss a {
	background: url(images/rss.png) no-repeat center left;
	margin-left: 20px;
	margin-left: 1.25rem;
	padding-left: 20px;
	padding-left: 1.25rem;
}

.genesis-nav-menu li.twitter a {
	background: url(images/twitter-nav.png) no-repeat center left;
	padding-left: 24px;
	padding-left: 1.5rem;
}


/*
06 Headings
---------------------------------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title a {
	line-height: 1.2;
	margin-bottom: 16px;
	margin-bottom: 1rem;
}

.author-box h1 {
	margin: 0
}

.taxonomy-description h1 {
	margin-bottom: 4px;
	margin-bottom: 0.25rem;
}

.archive-title {
	margin-bottom: 24px;
	margin-bottom: 1.5rem;
}


/*
07 Lists
---------------------------------------------------------------------------------------------------- */
.news-archive{
    counter-reset:li; /* Initiate a counter */
    margin-left:0; /* Remove the default left margin */
    padding-left:0; /* Remove the default left padding */
}


.news-archive > li {
    position:relative; /* Create a positioning context */
    margin:0 0 6px 2em; /* Give each list item a left margin to make room for the numbers */
    padding:4px 8px; /* Add some spacing around the content */
    list-style:none; /* Disable the normal item numbering */
}
.news-archive > li:before {
    content:counter(li); /* Use the counter as content */
    counter-increment:li; /* Increment the counter by 1 */
    /* Position and style the number */
    position:absolute;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    width:40px;
height: 40px;
left: -34px;
top:6px;
border-radius: 20px;
    /* Some space between the number and the content in browsers that support
       generated content but not positioning it (Camino 2 is one example) */
    margin-right:10px;
    padding:4px;
    color:#fff;
    background:#C20E28;
    font-family:'Josefin Sans', sans-serif;
    text-align:center;
font-size: 24px;
}

/*-------------------------------*/
.entry-content ol,
.entry-content ul {
	margin-bottom: 26px;
	margin-bottom: 1.625rem;
}

.entry-content ol li,
.entry-content ul li {
	line-height: 1.625;
}

.entry-content ol li {
margin-bottom: 20px;
}

.entry-content ol li,
.entry-content ul li {
	margin-left: 40px;
	margin-left: 2.5rem;
}

.entry-content ol li {
	list-style-type: decimal;
}

.entry-content ul li {
	list-style-type: disc;
}

.entry-content ol ol,
.entry-content ul ul {
	margin-bottom: 0;
}


/*
08 Post Navigation
---------------------------------------------------------------------------------------------------- */

.navigation li {
	display: inline;
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
	background-color: #1e1e1e;
	border-radius: 3px;
	cursor: pointer;
	padding: 12px;
	padding: 0.75rem;
}

.navigation li a:hover,
.navigation li.active a {
	background-color: #ff2a00;
}


/*
09 Comments
---------------------------------------------------------------------------------------------------- */

#comments,
#respond {
	line-height: 1.5;
	overflow: hidden;
}

.ping-list,
#comments {
	margin-bottom: 48px;
	margin-bottom: 3rem;
}

#author,
#email,
#url {
	width: 50%;
}

.commentmetadata,
#author,
#email,
#url {
	margin-bottom: 12px;
	margin-bottom: 0.75rem;
}

#comment {
	margin: 12px 0;
	margin: 0.75rem 0;
}

label {
	margin-left: 12px;
	margin-left: 0.75rem;
}

.comment-list li,
.ping-list li {
	list-style-type: none;
	margin-top: 24px;
	margin-top: 1.5rem;
	padding: 32px;
	padding: 2rem;
}

.comment-list li ul li {
	margin-right: -32px;
	margin-right: -2rem;
}

.comment-header {
	overflow: hidden;
}

.comment {
	background-color: #f5f5f5;
	border: 2px solid #fff;
	border-right: none;
}

.comment-content p {
	margin-bottom: 24px;
	margin-bottom: 1.5rem;
}

.bypostauthor {
}

#comments .navigation {
	margin-top: 32px;
	margin-top: 2rem;
}


/*
10 Sidebars
---------------------------------------------------------------------------------------------------- */

.sidebar {
	display: inline;
	line-height: 1.5;
}

.sidebar p {
	margin-bottom: 16px;
	margin-bottom: 1rem;
}

.sidebar a {
color: #fff;
}

.sidebar a:hover {
color: #474747;
}

.sidebar .widget_wp-category-archive a:link {
color: #474747;
text-decoration: none;
}

.sidebar .widget_wp-category-archive a:hover{
text-decoration: underline;
}

.sidebar .widget {
	overflow: hidden;
}

.sidebar.widget-area ul li {
	list-style-type: none;
	margin-bottom: 6px;
	margin-bottom: 0.375rem;
	word-wrap: break-word;
}

/* sidebars for pages and posts */
.sidebar .widget_text,
.sidebar .featuredpage {
background: #C40E28;
color: #fff;
padding: 10px;
}

.sidebar .featuredpage {
padding: 0;
}


.sidebar .featuredpage .news-archive {
margin-left: 20px;
}

.sidebar .featuredpage .news-archive > li:before {
    content:counter(li); /* Use the counter as content */
    counter-increment:li; /* Increment the counter by 1 */
    /* Position and style the number */
    position:absolute;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    width:40px;
height: 40px;
left: -40px;
top:10px;
border-radius: 20px;
    /* Some space between the number and the content in browsers that support
       generated content but not positioning it (Camino 2 is one example) */
    margin-right:20px;
    padding:4px;
    background:#fff;
    color:#C20E28;
    font-family:'Josefin Sans', sans-serif;
    text-align:center;
font-size: 24px;
}

.sidebar .featuredpage h3{
margin: 10px;
}

.sidebar .featuredpage ol {
margin: 20px 20px 20px 60px;
}


.sidebar .widget_text .widgettitle,
.sidebar .featuredpage .widgettitle {
text-transform: uppercase;
font-size: 36px;
}

.sidebar .featuredpage .widgettitle {
padding: 10px 20px;
background: #474747;
color: #fff;
}

.sidebar .featuredpage ul li {
border-bottom: 1px solid #C16778;
margin: 0 10px;
padding: 10px;
}

.sidebar .featuredpage ul li p{
margin: 0;
}

.sidebar .featuredpage p{
margin: 10px 20px;
}

.sidebar .featuredpage h3,
.sidebar .featuredpage h3 a{
color: #fff;
text-transform: uppercase;
font-size: 24px;
text-decoration: none;
margin-bottom: 5px;
}

.sidebar .featuredpage h3 a:hover {
color: #474747;
}

.sidebar .mr_social_sharing_wrapper,
.sidebar .printfriendly {
display: none;
}

.sidebar .widget_text .redirect, 
.sidebar .widget_text a .redirect {
background: url(images/widget_button.png) no-repeat left center;
padding-left:10px;
font-size: 12px;
text-decoration: none;
margin: 15px 0;
display: block;
}

.sidebar .widget_text .redirect a:hover{
text-decoration: underline;
}

.sidebar .widget_sp_image {
background: black;
}

.sidebar .widget_sp_image img{
display: block;
margin: 0 auto;
}

.sidebar .widget_search {
margin: 10px 0;
}


/*  Front page widgets  */

#header .widget-area {
margin-right: 20px;
}

#header .widget-area .widgettitle{
font-size: 14px;
text-transform: uppercase;
}


#header .widget-area .MR_Social_Sharing_Toolkit_Follow_Widget {
overflow: hidden;
float: right;
}


#header .widget-area .MR_Social_Sharing_Toolkit_Follow_Widget .mr_social_sharing_top{
margin: 5px;
float: right;
}

#header .widget-area .widget_wysija{
width: 70%;
float: right;
}

#header .widget-area .textwidget{
width: auto;
float: right;
margin: 4px 0;
}

#header .widget-area .textwidget img {
margin: 5px;
float: right;
}

#header .widget-area .widget_wysija .widgettitle {
font-family: 'Lato', Helvetica, Arial, sans-serif;
margin-bottom: 5px;
}

#footer-widgets{
font-size: 14px;
}


#footer-widgets .widget_wysija form,
#header .widget-area .widget_wysija form{
width: 100%;
background: none;
display:block;
overflow:hidden;
}


#footer-widgets .widget_wysija input[type="text"],
#header .widget-area .widget_wysija input[type="text"] {
background: #C20E28;
    border:none;
    border-radius: 0;
    box-shadow: none;
    padding: 7px 30px 5px 5px;
    width: 100%;
color: #fff;
overflow: hidden;
min-height: 33px;
}

#header .widget-area .widget_wysija input[type="submit"] {
background: url(images/mailing_list_button.png) no-repeat;
width: 27px;
height: 27px;
float: right;
position: relative;
overflow: hidden;
text-indent: 9999px;
z-index: 999;
margin: 2px 3px 3px 0;
padding: 0;
top: -27px;
}

#footer-widgets .widget_wysija input[type="submit"] {
background: url(images/mailing_list_button.png) no-repeat;
width: 27px;
height: 27px;
float: right;
position: relative;
overflow: hidden;
text-indent: 9999px;
z-index: 999;
margin: 2px 3px 3px 0;
padding: 0;
top: -48px;
}

#home-top {
line-height: 1.5;
}

.home-right .featuredpost {
border:none;
background: none;
padding:20px 0 0 0;
}

.home-right .featuredpost h2,
.home-right .featuredpost h2 a{
color: #C40E28;
}

.home-right .printfriendly{
margin:0;
display:none;
}

.home-right #featured-post-5 {
padding-top: 0;
}

.home-right #featured-post-5 h2,
.home-right #featured-post-5 h2 a {
font-size: 36px;
text-transform: uppercase;
color: #C40E28;
}

.home-right #featured-post-5 .entry {
border-bottom: none;
margin-bottom: 0;
}

.home-right .widget_text {
border-bottom: 4px solid #C40E28;
padding-bottom: 20px;
margin-bottom: 40px;
}

.featuredpost .entry {
padding-bottom: 20px;
border-bottom: 1px solid #A0A0A0;
margin-bottom: 10px;
}

.featuredpost .entry:last-child{
border-bottom: none;
}

.home-left .widget {
margin-bottom: 20px;
}


.home-left .featuredpost {
background: #D6D7D7;
padding: 20px 20px 0 20px;
}

.home-left .featuredpost h2,
.home-left .featuredpost h2 a,
.home-left .featuredpost h2 a:visited {
font-family: 'Lato', Helvetica, Arial, sans-serif;
font-size: 18px;
color: #1E1E1E;
}

.home-left .featuredpost h2 a:hover {
color: #C40E28;
}

.home-left .featuredpost .post{
overflow: hidden;
color: #636363;
}

.home-left .featuredpost .post-info {
float: left;
overflow: hidden;
display: block;
background: #C40E28;
-moz-border-radius: 35px;
border-radius: 35px;
width: 30px;
height: 30px;
padding: 10px 10px 10px 10px;
margin: 0 10px 0 0;
}

.home-left .featuredpost .post-info,
.home-left .featuredpost .post-info .date{
font-family: 'Josefin Sans', sans-serif;
color:#fff;
font-size: 18px;
text-transform: uppercase;
line-height: 0.9;
}


.home-left #genesis-responsive-slider {
border: none;
margin-bottom: 40px;
padding: 0;
}

.home-left #genesis-responsive-slider h2 {
text-transform: uppercase;
font-size: 16px;
margin: 0;
}

.home-left #genesis-responsive-slider p{
font-size: 14px;
}

.home-left #genesis-responsive-slider .flexslider {
background: black;
}

.home-left #genesis-responsive-slider .flex-control-nav {
    float: left;
    margin:-20px;
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 100;
}

.home-left #genesis-responsive-slider .flexslider img{
margin: 0 auto;
}

.home-left #genesis-responsive-slider .slide-excerpt {
margin: 0;
}

.home-left #genesis-responsive-slider .slide-excerpt-border {
border: none;
padding: 5px 5px 15px 5px;
}


.home-right {
float:right;
}

.home-right .entry {
margin-bottom: 20px;
}


/* The list of societies and meetups */
.hss-groups {
margin:0;
}

.hss-groups li {
list-style-type: none !important;
padding: 20px;
margin: 0 !important;
}

.hss-groups li:nth-child(odd) {
background: #474747;
color: #D6D7D7;
}

.hss-groups li h3 {
text-transform: uppercase;
}

.hss-groups li:nth-child(odd) h3,
.hss-groups li:nth-child(odd) h3 a {
color: #D6D7D7;
}

.hss-groups li:nth-child(even) h3,
.hss-groups li:nth-child(even) h3 a {
color: #474747;
}

.hss-groups li:nth-child(odd) h3 a:hover,
.hss-groups li:nth-child(even) h3 a:hover{
color: #C40E28;
}

.hss-groups li:nth-child(even) {
background: #D6D7D7;
color: #474747;
}

.hss-groups li img {
float: left;
max-width: 100px;
margin: 0 20px 20px 0;
}

.subpagelinks{
padding-top: 26px;
display: block;
clear: both;
}
.subpagelinks ul{
margin-top: 26px;
display: block;
clear: both;
}

.subpagelinks .children {
margin-top:0;
}

.subpagelinks h1{
text-transform: uppercase;
}

.subpagelinks li {
margin: 0 !important;
text-indent: 0;
list-style-type: none !important;
padding-left: 10px;
background: url(images/morelink.png) no-repeat left 7px;
}


.clearfloats {
clear:both;
}

/*
11 Footer
---------------------------------------------------------------------------------------------------- */

#footer {
	background: black;
	clear: both;
}

#footer .wrap {
	overflow: hidden;
}

#footer .creds {
	text-align: right;
}

#footer .creds,
#footer .gototop {
	margin: 8px 0;
	margin: 0.5rem 0;
}

/* 11a - Footer Widgets ----------- */


#footer-widgets {
color: #fff;
background-color: black;
}


#footer-widgets a{
text-decoration: none;
}

#footer-widgets a:link,
#footer-widgets a:visited {
color: #fff;
}

#footer-widgets a:hover {
color: #C40E28;
}
#footer-widgets .widgettitle {
text-transform: uppercase;
font-size: 14px;
}

.footer-widgets-1 {
width: 33%;
padding-right: 1%;
}

.footer-widgets-1 img {
margin: 0 5px 5px 0;
}

.footer-widgets-2 {
width: 33%;
padding: 0 1% 0 1%;
/*border-right: 1px solid #7C7C7C;*/
}

.footer-widgets-1{
/*border-right: 1px solid #7C7C7C;*/
}

.footer-widgets-3 {
width: 33%;
padding-left: 1%;
}

.footer-widgets-3 .menu-header-navigation-container {
display: table;
}

.footer-widgets-3 ul li{
float: left;
padding: 5px;
text-transform: uppercase;
font-size: 14px;
}

.footer-widgets-3 ul li a {
display: block;
}

.footer-widgets-3 ul li ul {
float: left;
clear: left;
}

.footer-widgets-3 ul li ul li,
.footer-widgets-3 ul li ul li a{
float: none;
text-transform: lowercase;
font-size: 14px;
padding-left: 0;
}

.footer-widgets-3 ul li ul li a{
padding: 0;
}

.footer-widgets {
	border-top: 2px solid #1e1e1e;
	clear: both;
	line-height: 1.5;
	overflow: hidden;
	padding: 32px 0 16px;
	padding: 2rem 0 1rem;
}

.footer-widgets p {
	margin-bottom: 16px;
	margin-bottom: 1rem;
}

.footer-widgets .widget {
	margin-bottom: 10px;
}

.footer-widgets .widget-area ul li {
	list-style-type: none;
	margin-bottom: 6px;
margin-right: 10px;
	word-wrap: break-word;
}


/*
12 Forms & Buttons
---------------------------------------------------------------------------------------------------- */

input,
select,
textarea {
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 3px;
	box-shadow: 0 0 5px #ddd inset;
	padding: 16px;
	padding: 1rem;
	width: 100%;
}

#header .search-form {
	float: right;
	margin-top: 56px;
	margin-top: 3.5rem;
	width: 100%;
}

button,
input[type="button"],
input[type="submit"],
.btn {
	background-color: #1e1e1e;
	border: none;
	box-shadow: none;
	cursor: pointer;
	padding: 16px 24px;
	padding: 1rem 1.5rem;
	width: auto;
}

button:hover,
input:hover[type="button"],
input:hover[type="submit"],
.btn:hover {
	background-color: #C20E28;
}

/* Searchform styling */
 
.searchform {
background: #D6D7D7;
border: 1px solid #A0A0A0;
height: 40px;
width: 100%;
display:table;
overflow:hidden;
clear:both;
}


.searchform input {
background: none;
border:none;
border-radius: none;
box-shadow: none;
width:100%;
padding:10px 3px;
color: #474747;
}

.searchform input[type="submit"] {
background: url(images/searchbutton.png) no-repeat;
float: right;
height:40px;
width:40px;
padding:0;
margin-left: -40px;
position: relative;
z-index: 9999;
}

/* Events list styling */

.events-table {
margin: 10px 0;
}

.events-table th {
text-align: left;
}


/* Events searchform styling */

.em-events-search-form{
background: #D6D7D7;
border: 1px solid #A0A0A0;
height: 40px;
overflow:hidden;
clear:both;
width: 99%;
margin: 10px 0;
position: relative;
}

.em-events-search-form input[type="text"] {
z-index: 10;
color: #474747;
background: none;
    border: none;
    border-radius: none;
    box-shadow: none;
    width: 100%;
padding: 10px 3px;
position: relative;
}

.em-events-search-form input[type="submit"] {
background: url(images/searchbutton.png) no-repeat;
float: right;
height:40px;
width:40px;
padding:0;
position: relative;
z-index: 9999;
display:block;
top:-37px;
}

/* 12a - Gravity Forms ----------- */

#content div.gform_wrapper input,
#content div.gform_wrapper select,
#content div.gform_wrapper textarea,
#content div.gform_wrapper .ginput_complex label {
	font-size: 16px;
	font-size: 1rem;
	padding: 16px;
	padding: 1rem;
}

#content div.gform_wrapper input[type="submit"] {
	padding: 16px 24px;
	padding: 1rem 1.5rem;
}

#content div.gform_wrapper .ginput_complex label {
	padding: 0;
}

div.gform_wrapper li,
div.gform_wrapper form li {
	margin: 16px 0 0;
	margin: 1rem 0 0;
}


/*
13 Images & Captions
---------------------------------------------------------------------------------------------------- */

embed,
img,
object,
video {
	max-width: 100%;
}

img {
	height: auto;
}

.alignleft .avatar {
	margin-right: 24px;
	margin-right: 1.5rem;
}

.alignright .avatar {
	margin-left: 24px;
	margin-left: 1.5rem;
}

.author-box .avatar {
	float: left;
	margin-right: 24px;
	margin-right: 1.5rem
}

.comment-list li .avatar {
	float: left;
	margin: 0 16px 24px 0;
	margin: 0 1rem 1.5rem 0;
}

img.centered,
.aligncenter {
	display: block;
	margin: 0 auto 24px;
	margin: 0 auto 1.5rem
}

img.alignnone {
	display: inline;
	margin-bottom: 12px;
	margin-bottom: 0.75rem;
}

img.alignleft,
.post-image,
.wp-caption.alignleft {
	display: inline;
	margin: 0 24px 24px 0;
	margin: 0 1.5rem 1.5rem 0;
}

img.alignright,
.wp-caption.alignright {
	display: inline;
	margin: 0 0 24px 24px;
	margin: 0 0 1.5rem 1.5rem;
}

p.wp-caption-text {
	line-height: 1.2;
	margin-top: 12px;
	margin-top: 0.75rem;
}

.gallery-caption {
}


/*For genesis responsive slider */

#genesis-responsive-slider .flex-control-nav li a {
background: url(images/bg_control_nav_humanist.png) no-repeat;
}

#genesis-responsive-slider .flex-control-nav li a:hover {
	background-position: 0 -13px;
}

#genesis-responsive-slider .flex-control-nav li a.active {
	background-position: 0 -26px; 
	cursor: default;
}

/*
14 Media Queries
---------------------------------------------------------------------------------------------------- */

/* Desktops, laptops and iPads (landscape) ----------- */

@media only screen and (max-width: 1024px) {

	#wrap {
		max-width: 960px;
	}	

}

/* iPads (portrait) ----------- */

@media only screen and (max-width: 768px) {

	#wrap{
		padding: 0 5%;
	}
#header .wrap {
padding: 0 5%;
width: auto;
}

#header #description {
display:none;
}
	.footer-widgets-1,
	.footer-widgets-2,
	.footer-widgets-3,
	.wrap,
	#footer .creds,
	#footer .gototop,
	#header .widget-area,
	#inner,
	#title-area,
	#wrap .sidebar,
	#wrap #content,
	#wrap #content-sidebar-wrap,
	#wrap #sidebar-alt {
		width: 100%;
	}

#footer-widgets .wrap {
width:auto;
}

	.genesis-nav-menu li,
	#footer .creds,
	#footer .gototop,
	#header ul.genesis-nav-menu,
	#header .search-form {
		float: none;
	}

	.genesis-nav-menu,
	#description,
	#footer .creds,
	#footer .gototop,
	#header .search-form,
	#title,
	#title-area {
		text-align: center;
	}

	.genesis-nav-menu a {
		padding: 10px 16px;
	}

	#title {
		margin: 16px 0;
		margin: 1rem 0;
	}

	#header .search-form {
		margin: 32px auto 0;
		margin: 2rem auto 0;
		width: 50%;
	}

	.genesis-nav-menu li.right {
		display: none;
	}

	/*#footer .wrap {
		padding: 24px 0;
		padding: 1.5rem 0;
	}*/

	.footer-widgets-1,
	#header .genesis-nav-menu,
	#header #nav {
		margin: 0;
		width: 100%;
	}

.footer-widgets-1,
.footer-widgets-2,
.footer-widgets-3 {
padding: 0;
border: none;
float: none;
}

.header-image #title, 
.header-image #title a, 
.header-image #title-area,
#header #nav {
float: none;
text-align: center;
margin: 0 auto;
}


.home-left,
.home-right {
margin:0;
width: 100%;
float: none;
}

.home-right {
padding-left:0;

}

#header .widget-area {
margin: 10px auto;
text-align: center;
}

#header .widget-area img{
display: inline;
float: none;
}


#header .widget-area .MR_Social_Sharing_Toolkit_Follow_Widget,
#header .widget-area .widget_wysija {
width: 100%;
float: none;
margin-bottom: 10px;
}

#header .widget-area .MR_Social_Sharing_Toolkit_Follow_Widget {
padding-top: 0;
}


#header .widget-area .MR_Social_Sharing_Toolkit_Follow_Widget .mr_social_sharing_top{
float: none;
text-align: center;
}

#header #nav .wrap{
padding: 0;
}


#header .widget-area .textwidget{
width: auto;
float: none;
margin: 4px auto;
}


#header .widget-area .textwidget img{
float: none;
}

.header-image #title {
	background: url('images/logo.png') no-repeat center center;
}

}
/* iPhones (portrait and landscape) ----------- */

@media only screen and (max-width: 480px) {

	html {
		font-size: 87.5%; /* 14px base */
	}

	#header .search-form {
		width: 100%;
	}

	.archive-page,
	.five-sixths,
	.four-fifths,
	.four-sixths,
	.one-fifth,
	.one-fourth,
	.one-half,
	.one-sixth,
	.one-third,
	.three-fifths,
	.three-fourths,
	.three-sixths,
	.two-fifths,
	.two-fourths,
	.two-sixths,
	.two-thirds {
		margin: 0;
		width: 100%;
	}


.hss-groups li img {
float: none;
}


#footer-widgets .widget_wysija input[type="submit"] {
top: -43px;
}

}



/*  To enable responsive video embeds  */
.video-container {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}