/*
Theme Name: Superhero
Theme URI: https://wordpress.com/themes/superhero/
Description: Give your blog a clean look with bright pops of color. Superhero features full-bleed featured posts and featured images, a fixed header, and subtle CSS3 transitions.
Version: 1.4
Author: Automattic
Author URI: https://wordpress.com/themes/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: responsive-layout, gray, two-columns, custom-background, custom-header, custom-menu, featured-images, flexible-header, full-width-template, post-formats, sticky-post, translation-ready, rtl-language-support

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.

Superhero is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.

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/

*/

/* =Reset
-------------------------------------------------------------- */

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;
}
html,
body {
	width: 100%;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body {
	background: #f2f2f2;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
	outline: 0;
}
a img {
	border: 0;
}


/* =Global
----------------------------------------------- */

body,
button,
input,
select,
textarea {
	color: #262626;
	font-family: 'Carrois Gothic', sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 1.5;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	clear: both;
	font-weight: 400;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Text elements */
p {
	margin-bottom: 1.5em;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
.format-quote blockquote{
	margin: 0;
}
address,
.post-format-content {
	margin: 0 0 1.5em;
}
pre {
	background: #ededed;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	padding: 1.6em;
	overflow: auto;
	max-width: 100%;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button,
input {
	line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
	*overflow: visible;  /* Corrects inner spacing displayed oddly in IE6/7 */
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #ccc;
	border-color: #ccc #ccc #bbb #ccc;
	background: #e6e6e6;
	color: #262626;
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: 1.4rem;
	line-height: 1;
	padding: 5px 2%;
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa #bbb;
}
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb #bbb;
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type=text],
input[type=email],
textarea {
	color: #ccc;
	border: 1px solid #eee;
}
input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
	color: #111;
}
input[type=text],
input[type=email] {
	padding: 3px;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/* Links */
a {
	color: #ea5449;
	text-decoration: none;
}
a:visited {
	color: #ea5449;
}
a:hover,
a:focus,
a:active {
	color: #1e4a66;
}
.site a {
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* Clearing */
.clear:before,
.clear:after,
[class*="content"]:before,
[class*="content"]:after,
[class*="site"]:before,
[class*="site"]:after {
	content: '';
	display: table;
}

.clear:after,
[class*="content"]:after,
[class*="site"]:after {
	clear: both;
}

.clearfix {
	clear: both;
}

/* Text meant only for screen readers */
.assistive-text {
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}


/* =Layout
----------------------------------------------- */

#page {
	padding-top: 100px;
}
#masthead-wrap {
	background-color: #262626;
	-webkit-box-shadow: 0 2px 3px rgba(100, 100, 100, 0.25);
	box-shadow: 0 2px 3px rgba(100, 100, 100, 0.25);
	position: fixed;
		top: 0;
		z-index: 1000;
	width: 100%;
}
.logged-in #masthead-wrap {
	top: 32px;
}
.wp-admin .logged-in #masthead-wrap {
	top: 0;
}
#masthead {
	color: #fff;
	margin: 25px auto;
	width: 960px;
	min-height: 50px;
}
#masthead hgroup {
	float: left;
	width: 50%;
}
.header-image,
.site-logo {
	width: auto;
	max-height: 150px;
}
.site-title {
	color: #fff;
	font-size: 1.9em;
	font-weight: 400;
	line-height: 1.2em;
	margin: 0;
	padding: 0;
}
.site-title a {
	color: #fff;
	text-decoration: none;
}
.site-title a:hover {
	color: #ea5449;
}
.site-description {
	color: #818181;
	font-size: .9em;
}

#main {
	font-size: .8em;
	line-height: 24px;
	margin: 25px auto;
	width: 960px;
}
#primary {
	float: left;
	margin-right: 25px;
	width: 695px;
}
#primary.full-width-page {
	float: none;
	margin-right: 0;
	width: 100%;
}
#secondary {
	float: right;
	width: 240px;
}
#colophon-wrap {
	background-color: #262626;
	clear: both;
	margin-top: 25px;
	padding: 25px 0;
	width: 100%;
}

#colophon {
	color: #818181;
	font-size: .8em;
	margin: 0 auto;
	width: 960px;
}
#colophon a:hover {
	color: #fff;
}


/* =Menu
----------------------------------------------- */

.main-navigation {
	display: block;
	float: right;
	width: 50%;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	text-align: right;
}
.main-navigation li {
	display: inline-block;
	position: relative;
}
.main-navigation a {
	color: #818181;
	display: block;
	font-size: .8em;
	padding: 3px 20px;
	text-decoration: none;
}
.main-navigation ul ul {
	background-color: #141414;
	-webkit-box-shadow: 0 2px 3px rgba(0,0,0,0.2);
	box-shadow: 0 2px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
		top: 1.5em;
		left: 0;
		z-index: 99999;
	text-align: left;
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.main-navigation ul ul a {
	width: 175px;
}
.main-navigation ul ul li {
}
.main-navigation li:hover > a {
	background-color: #ea5449;
	color: #fff;
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	display: block;
}
.main-navigation li.current_page_item a,
.main-navigation li.current-menu-item a {
}

/* Small menu */
.menu-toggle {
	cursor: pointer;
}
.main-small-navigation .menu {
	display: none;
}


/* =Featured Content
----------------------------------------------- */

#featured-content.flexslider {
	border: none 0;
	margin-bottom: 25px;
	overflow: hidden;
}
#featured-content.flexslider .slides img {
	height: auto;
	margin: 0 auto
}
#featured-content.flexslider .slides .featured-hentry-wrap {
	margin: 0 auto;
	position: relative;
	width: 960px;
}
#featured-content.flexslider .slides .hentry .entry-header {
	background: rgba(255,255,255,.95);
	border-bottom: 5px solid #1e4a66;
	margin-bottom: 25px;
	padding: 1% 25px;
	position: absolute;
		bottom: 25px;
		right: 0;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
	max-width: 500px;
}
#featured-content.flexslider .slides .hentry {
	background: transparent;
	border: 0 none;
	margin: 0;
	padding: 0;
}
#featured-content.flexslider .slides .hentry .entry-header:hover {
	background: rgba(255,255,255,1);
}
#featured-content .flex-direction-nav li a {
	background-color: #fff;
	color: #1e4a66;
	font-size: 1.9em;
	line-height: 1em;
	opacity: 0;
	padding: .5% 1%;
	top: 48%;
	text-align: center;
	text-indent: 0;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
	width: auto;
	height: auto;
}
#featured-content:hover .flex-direction-nav li a {
	opacity: .5;
}
#featured-content.flexslider:hover .flex-direction-nav li a {
	background-color: #fff;
	opacity: .5;
}
#featured-content.flexslider .flex-direction-nav li a:hover {
	background-color: #fff;
	opacity: .95;
}
#featured-content .flex-direction-nav li .next {
	right: 0;
}
#featured-content .flex-direction-nav li .prev {
	left: 0;
}
#featured-content .flex-control-nav {
	bottom: 1%;
	right: 0;
	width: 100%;
}
#featured-content .flex-control-nav li {
	background-color: rgba(30,74,102,0);
	border-radius: 10px;
	padding: 3px;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
#featured-content:hover .flex-control-nav li {
	background-color: rgba(30,74,102,.5);
}
#featured-content .flex-control-nav li:hover {
	background-color: rgba(30,74,102,.95);
}
#featured-content .flex-control-nav li a {
	background-color: rgba(255,255,255,0);
	border-radius: 7px;
	-webkit-box-shadow: none;
	box-shadow: none;
	width: 14px;
	height: 14px;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
#featured-content:hover .flex-control-nav li a {
	background-color: rgba(255,255,255,0.5);
}
#featured-content .flex-control-nav li a:hover, #slider-wrapper .flex-control-nav li a.active {
	background-color: rgba(255,255,255,.95);
}



/* =Content
----------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
	color: #1e4a66;
	margin: .15em 0;
	padding: .15em 0;
}
h1 {
	font-size: 2.25em;
}
h2 {
	font-size: 2em;
}
h3 {
	font-size: 1.75em;
}
h4 {
	font-size: 1.5em;
}
h5 {
	font-size: 1.25em;
}
.page-title {
	background-color: #fff;
	border-bottom: 5px solid #1e4a66;
	-webkit-box-shadow: 0 0 3px rgba(100, 100, 100, 0.25);
	box-shadow: 0 0 3px rgba(100, 100, 100, 0.25);
	color: #1e4a66;
	font-size: 1.9em;
	font-weight: 400;
	line-height: 1.5em;
	margin: 0 0 25px;
	padding: 25px;
}
.hentry {
	background-color: #fff;
	border-bottom: 5px solid #1e4a66;
	-webkit-box-shadow: 0 0 3px rgba(100, 100, 100, 0.25);
	box-shadow: 0 0 3px rgba(100, 100, 100, 0.25);
	margin: 0 0 25px 0;
	padding: 0 0 25px 0;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
.hentry:hover {
	border-bottom-color: #ea5449;
	-webkit-box-shadow: 0 0 5px rgba(100, 100, 100, 0.5);
	box-shadow: 0 0 5px rgba(100, 100, 100, 0.5);
}
.attachment-feat-img {
	display: block;
	margin: 0 auto;
	padding: 0;
	max-width: 100%;
	height: auto;
}
h1.entry-title,
h2.entry-title {
	color: #1e4a66;
	font-size: 1.9em;
	font-weight: 400;
	line-height: 1.5em;
	margin: 0;
	padding: 0;
}
.hentry:hover .entry-title {
	color: #ea5449;
}
.entry-title a {
	color: #1e4a66;
}
.hentry:hover .entry-title a {
	color: #ea5449;
}
.entry-title a:hover {
	color: #ea5449;
}
.hentry:hover .entry-title a:hover {
	color: #1e4a66;
}
.entry-header {
	padding: 1.5em 25px 0 25px;
}
.entry-meta {
	clear: both;
	color: #737373;
	font-size: .9em;
}
footer.entry-meta {
	padding: 0 25px;
}
.byline {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.entry-content,
.entry-summary {
	margin: 0;
	padding: 1.5em 25px 0 25px;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
blockquote,
.quote-caption {
	color: #1e4a66;
	font-size: 1.6em;
	font-style: italic;
	line-height: 1.6em;
}
.quote-caption {
	margin: 0 1.5em 1.5em;
}
.format-link .entry-content p {
	margin: 0 1.5em 1.5em 1.5em;
}
.format-link .entry-content a {
	font-size: 1.6em;
	font-style: italic;
	line-height: 1.6em;
}

.sticky {
	background-color: #f6f6f6;
	border-bottom-color: #ea5449;
}
.sticky .entry-title {
	color: #ea5449;
	font-size: 1.9em;
	font-weight: 400;
	line-height: 1.5em;
}
.sticky .entry-title a {
	color: #ea5449;
}
.sticky .entry-title a:hover {
	color: #1e4a66;
}


/* =Asides
----------------------------------------------- */

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}


/* =Media
----------------------------------------------- */

.site-header img,
.entry-content img,
.comment-content img,
img.size-full,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
.site-header img,
.entry-content img,
img[class*="align"],
img[class*="wp-image-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	padding: 1%;
	max-width: 97.7%;
}
.wp-caption img {
	display: block;
	margin: 1.2% auto 0;
	max-width: 100%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption-text img {
	display: inline;
	margin: 0;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.site-content .gallery,
.site-content .tiled-gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-content .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.site-content .gallery dd {
	margin: 0;
}
.site-content .gallery-columns-4 .gallery-item {
}
.site-content .gallery-columns-4 .gallery-item img {
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}
.jetpack-video-wrapper {
	margin-bottom: 1.5em;
}


/* =Navigation
----------------------------------------------- */

.site-content .site-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}
.site-content .nav-previous {
	float: left;
	width: 50%;
}
.site-content .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}


/* =Comments
----------------------------------------------- */

#comments {
	background-color: #f2f2f2;
	padding: 25px;
}
.bypostauthor > article {
	background-color: #fafafa;
	padding: 10px;
}
.comments-title {
	font-size: 1.7em;
	line-height: 1.3em;
}
.commentlist .published, .commentlist .edit, .commentlist .reply {
	font-size: 1em;
	font-style: italic;
	line-height: 1.2em;
}
.comment-navigation {
	margin-bottom: 1.6em;
}
.commentlist, .commentlist li {
	list-style: none;
	margin: 0 0 25px 0;
}
.commentlist .comment-content li {
	margin-left: 2.8em;
	list-style-type: decimal;
}
.commentlist {
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: 30px;
}
.commentlist li {
	margin-top: 1.6em;
	padding: 1.6em 0 0 0;
	border-top: 1px solid #e5e5e5;
}
.commentlist .children {
	margin-left: 0;
}
.commentlist li li {
	padding-left: 10%;
}
.commentlist .avatar {
	float: left;
	margin: 0 13px 10px 0;
}
.comment-meta {
	margin: 0 0 2px 0;
	font-size: 0.8em;
	color: #bbb;
	line-height: 1.7em;
}
.comment-meta .comment-author cite {
	font-style: normal;
	font-weight: 400;
	color: #333;
	font-size: 1em;
}
.comment-author { margin-right: 10px; }
.comment-meta a {
	font-style: normal;
	color: #777;
	border-bottom: 1px solid #e5e5e5;
}
.comment-author a { color: #333; }
.comment-meta a:hover{
	color: #000;
	border-bottom: none;
}
.comments-closed {
	padding: 10px 25px;
	font-size: 1em;
	color: #888;
	background: #f5f5f5;
}
.comment-content {
	font-size: 0.85em;
	line-height: 1.9em;
	clear: left;
}
.comment-content p { margin-bottom: 1em; }
.commentlist .comment-content li {
	border-top: none 0;
	margin: 0;
	padding: 0;
}
.commentlist .comment-content ul, .commentlist .comment-content ol {
	margin-bottom: 1.692307em;
}
.commentlist .comment-content li ul, .commentlist .comment-content li ol {
	margin-bottom: 0.3em;
}
.commentlist blockquote, .commentlist blockquote blockquote blockquote {
	font-size: 1em;
}

/* =Widgets
----------------------------------------------- */

.widget {
	background-color: #fff;
	border-bottom: 5px solid #f6c628;
	-webkit-box-shadow: 0 0 3px rgba(100, 100, 100, 0.25);
	box-shadow: 0 0 3px rgba(100, 100, 100, 0.25);
	margin: 0 0 25px;
	padding: 25px;
	overflow: hidden;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
.widget:hover {
	border-bottom-color: #1E4A66;
	-webkit-box-shadow: 0 0 5px rgba(100, 100, 100, 0.5);
	box-shadow: 0 0 5px rgba(100, 100, 100, 0.5);
}
.widget h1,
.widget h2,
.widget h3,
.widget h4,
.widget h5,
.widget h6 {
	color: #f6c628;
}
.widget-title {
	font-size: 1.6em;
	font-weight: 400;
	line-height: 1.2em;
	margin-bottom: 10px;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
.widget:hover .widget-title {
	color: #1E4A66;
}

.widget ul {
	list-style-type: none;
	margin: 0;
}
.widget ul li {
	margin-bottom: 3px;
}
.widget ul ul {
	margin-left: 10px;
}
.widget img {
	height: auto;
}

/* Make sure gravatar profile thumbnail fits in widgets */
.widget img.grofile-thumbnail {
	max-width: 100% !important;
	height: auto !important;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget #s {
	padding: 5% 2%;
	width: 57%;
}
.widget #searchsubmit {
	background: #f6c628;
	border: none 0;
	padding: 5% 2%;
	text-align: center;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
	width: 35%;
}
.widget:hover #searchsubmit {
	background: #1e4a66;
	color: #fff;
}
.widget:hover #searchsubmit:hover {
	background: #f6c628;
	color: #262626;
}
.widget #searchsubmit:hover {
	background: #1e4a66;
	color: #fff;
}

/* Recent comment widget */
.widget_recent_comments table td {
	line-height: 1.5;
	padding-bottom: 12px;
	vertical-align: top;
}

#not-found-secondary {
	overflow: hidden;
	width: 100%;
}
#not-found-secondary .widget {
	float: left;
	margin-right: 5%;
	padding: 2%;
	width: 26%;
}
#not-found-secondary .widget.widget_archive {
	margin-right: 0;
}


/* =Plugins
----------------------------------------------- */

img#wpstats {
	background-color: #818181;
	border-radius: 4px;
	display: block;
	margin: -20px auto 0;
	padding: 2px;
	-webkit-transition: background 0.2s ease;
	-moz-transition: background 0.2s ease;
	-o-transition: background 0.2s ease;
	transition: background 0.2s ease;
}
img#wpstats:hover {
	background-color: #ea5449;
}
.eventbrite-event .wp-post-image {
	display: block;
	margin: 0 auto;
}


/* =Infinity Styles
-------------------------------------------------------------- */

.infinite-scroll #wrapper:after {
	clear: both;
	content: '';
	display: block;
}
.infinite-scroll #content {
	margin-bottom: 1.5em;
}
.infinite-scroll.neverending #content {
	margin-bottom: 1.5em;
}
#infinite-footer .container {
	float: none;
}
.infinite-loader {
	clear: both;
	color: #fff;
	padding: 0 0 1.5em 0;
}
#infinite-handle {
	margin: 0 0 3em 0;
}
#infinite-handle span {
	border: 0 none;
	clear: both;
}
.infinite-scroll .infinite-wrap {
	border: 0 none;
	padding: 0;
}

/* Elements to hide: (footer widgets, post navigation, regular footer) */
.infinite-scroll #nav-below,
.infinite-scroll.neverending .footer {
	display: none;
}

/* Hooks to infinity-end body class to restore footer */
.infinity-end.neverending .footer {
	display: block;
}


/* Media queries for responsive design
--------------------------------------------- */

/* --- iPad Portrait --- */
@media screen and (min-width: 768px) and (max-width: 959px) {
	#masthead,
	#colophon,
	#featured-content.flexslider .slides .featured-hentry-wrap {
		width: 100%;
	}
	#main {
		width: 96%;
	}
	#primary {
		margin-right: 3%;
		width: 72%;
	}
	#secondary {
		width: 25%;
	}
	.widget #s {
		width: 93%;
	}
	.widget #searchsubmit {
		margin-top: 2%;
		width: 98%;
	}
}

/* --- Smartphones and small Tablet PCs --- */
@media screen and (max-width: 767px) {
	#masthead,
	#main,
	#primary,
	#secondary,
	#colophon,
	#featured-content.flexslider .slides .featured-hentry-wrap {
		width: 100%;
	}
	.logged-in #masthead-wrap {
		top: 46px;
	}
	#featured-content.flexslider .slides .hentry {
		bottom: 2%;
		max-width: 50%;
	}
	#primary {
		margin-right: 0;
	}
	.widget #s {
		padding: 2%;
		width: 93%;
	}
	.widget #searchsubmit {
		margin-top: 2%;
		padding: 2%;
		width: 98%;
	}
}

/* --- Smartphones (portrait and landscape) --- */
@media screen and (max-width : 600px) {
	#masthead-wrap {
		position: absolute;
	}
	#masthead {
		padding: 1% 3%;
		width: 94%;
		max-height: none;
	}
	#masthead hgroup {
		float: none;
		padding-bottom: 2%;
		width: 100%;
	}
	.site-navigation h1.menu-toggle {
		background-color: #ea5449;
		color: #fff;
		font-size: 1.5em;
		margin: 0;
		padding: 1% 3%;
	}
	.main-small-navigation .menu {
		list-style-type: none;
		margin: 3% 3% 0 3%;
	}
	.main-small-navigation ul,
	.main-small-navigation ul ul {
		list-style-type: none;
	}
	#featured-content.flexslider .slides .featured-hentry-wrap {
		display: none;
	}
}