 /* 
--------------------------------------------------------------
Theme Name: Robert Mahar Theme
Author: Aeolidia
Author URI: http://aeolidia.com
Description: A custom theme for Robert Mahar.
Version: 1.1-wpcom
License: GNU General Public License
License URI: license.txt

This custom theme is based on Underscores by Automattic.
--------------------------------------------------------------
*/

/* =General
-------------------------------------------------------------- */

@font-face {
    font-family: 'Mono Social Icons Font';
    src: url('../fonts/MonoSocialIconsFont-1.10.eot');
    src: url('../fonts/MonoSocialIconsFont-1.10.eot?#iefix') format('embedded-opentype'),
         url('../fonts/MonoSocialIconsFont-1.10.woff') format('woff'),
         url('../fonts/MonoSocialIconsFont-1.10.ttf') format('truetype'),
         url('../fonts/MonoSocialIconsFont-1.10.svg#MonoSocialIconsFont') format('svg');
    src: url('../fonts/MonoSocialIconsFont-1.10.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html { font-size: 62.5%; /* Sets base font size to 1rem/10px for simpler rem values: adjust to 100% and recalculate if desired */ }

body, button, input, select, textarea {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.7;
	color: #747474;	
}

body  { background: #fff url(../images/body_bg.png) 0 0 repeat-x; }

strong, b {	font-weight: 700; }

em { 
	font-family: 'Fanwood Text', serif;
	font-weight: 400;
	font-style: italic;	
}

/* Text styles */

h1 {
	font-weight: 300;
	font-size: 24px;
	font-size: 2.4rem;
}
	
h2, h3, h4, h5, h6, h1.widget-title, header .entry-meta, .explore-videos.home-section h1, .explore-videos.home-section .menu, #commentform label, .edit-link, .widget ul, .reply, .commentmetadata {
	font-family: 'Montserrat', sans-serif;	
	text-transform: uppercase;
	font-weight: 700;
	font-size: 10px;
	font-size: 1.0rem;
	letter-spacing: .2em;	
}

.site-navigation, button, html input[type="button"], input[type="reset"], input[type="submit"] {
	font-family: 'Montserrat', sans-serif;	
	text-transform: uppercase;
	font-weight: 400;
	font-size: 13px;
	font-size: 1.3rem;
	letter-spacing: .09em;
}

.footerbar-2 .widget {
	font-weight: 700;
	font-size: 10px;
	font-size: 1.0rem;
}

.secondary .widget_text, .about.home-section p, body.about .col:nth-child(2n){
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.9;
}

.home .col h1.entry-title, #searchform input[type="submit"] {
	font-size: 16px;
	font-size: 1.6rem;
}

#searchform input, .read-more, footer.entry-meta, .widget #mc_embed_signup p, .comments-link {
	font-family: 'Fanwood Text', serif;
	font-size: 16px;
	font-size: 1.6rem;	
	font-weight: 400;
	font-style: italic;	
	text-transform: lowercase;
}

.footerbar .widget_text a {
	font-family: 'Fanwood Text', serif;
	font-size: 16px;
	font-size: 1.6rem;	
	font-weight: 400;
	font-style: italic;	
}

/* Link colors */

a, a:visited {
	color: #000;
	text-decoration: none;
}

a:hover, a:focus, a:active { color: #747474; /* Grey hover */ }

.site-navigation a:link, .site-navigation a:visited, .entry-header .entry-meta a:link, .entry-header .entry-meta a:visited, .widget ul li a:link, .widget ul li a:visited { color: #747474; /* Grey link */ }

.site-navigation a:hover, .site-navigation a:focus, .site-navigation a:active, .entry-header .entry-meta a:hover, .entry-header .entry-meta a:focus, .entry-header .entry-meta a:active, .widget ul li a:hover, .widget ul li a:focus, .widget ul li a:active { color: #000; /* Black hover */ }

.social-navigation li a:link, .social-navigation li a:visited { color: #e0e0e0; /* Grey link */ }

.social-navigation li a:hover, .social-navigation li a:focus, .social-navigation li a:active { color: #3cb8b5; /* Blue hover */ }

.video-categories a:link, .video-categories a:visited, .widget .video-categories li a:link, .widget .video-categories li a:visited  { color: #000; /* Black link */ }

.video-categories a:hover, .video-categories a:focus, .video-categories a:active, .widget .video-categories li a:hover, .widget .video-categories li a:focus, .widget .video-categories li a:active { color: #3cb8b5; /* Blue hover */ }

h1.entry-title a:link, h1.entry-title a:visited { color: #747474 /* Grey link */ }

h1.entry-title a:hover, h1.entry-title a:focus, h1.entry-title a:active { color: #3cb8b5; /* Blue hover */ }

/* Text colors */

.secondary h1.widget-title, .home article.home-section .widget-title,  .about-section .widget-title  { color: #fff; }

.sep { color: #e0e0e0; }

footer.entry-meta { color: #000; }
	
/* Form elements */

button, html input[type="button"], input[type="reset"], input[type="submit"] {
	border: none;
	background: #e0e0e0;
	color: #000;
	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 */
	line-height: 1;
	padding: 1.12em 1.5em 1em;
}

button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
	color: #fff;
	background: #3cb8b5;
}
	
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 { }
	
input[type=text], input[type=email], input[type=search], input[type=password], textarea {
	background: #fff;
	border: 1px solid #e0e0e0;
	padding: 8px;
}

input[type=text]:focus, input[type=email]:focus, input[type=search]:focus, input[type=password]:focus, textarea:focus { background: #fff; }

textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/* Gravity Forms overrides */

.gform_wrapper input[type=text],
.gform_wrapper input[type=url],
.gform_wrapper input[type=email],
.gform_wrapper input[type=tel],
.gform_wrapper input[type=number],
.gform_wrapper input[type=password], 
.gform_wrapper textarea {
	font-size: 16px !important; 
	font-size: 1.6rem;
	padding: 8px !important;
}

.gform_wrapper input[type="submit"], label.gfield_label {
	font-family: 'Montserrat', sans-serif !important;	
	text-transform: uppercase !important;
	font-weight: 400 !important;
	font-size: 13px !important;
	font-size: 1.3rem !important;
	letter-spacing: .09em !important;
}

/* =Structure
Overall layout is in layout.css.
-------------------------------------------------------------- */

.site {  /* The the outer-most container, wraps the entire site */		
	max-width: 930px;
	width: 100%;
	margin: 38px auto;
}
	
.site-header { 
	position: relative;
	padding-top: 30px;
	margin-bottom: 40px;
	text-align: center;
}

.site-footer { padding-top: 3em; }

#main:after, .main-navigation:after, .site-footer nav:after, .explore-videos.home-section:after, #searchform:after, .about .about-section:after, footer.entry-meta:after, .entry-header:after { /* Clears floats after containers */
	clear: both;
	content: "";
	display: block;
}

/* = Navigation menu: base style
-------------------------------------------------------------- */

.main-navigation { text-align: center; }

.main-navigation ul { 
	list-style: none;
	margin: 0;
	padding-left: 0;
	display: inline-block; /* Center the floated li elements */
}
	
.main-navigation li { /* Makes the menu "list" items horizontal */
	float: left;
	margin: 0 1em 0 0;
	position: relative;
}
	
.main-navigation a { 
	display: block;
	text-decoration: none;
}
	
.main-navigation ul ul { /* Submenu drop-down "box" */
	display: none;
	float: left;
	position: absolute;
	top: 1.2em;
	left: 0;
	z-index: 99999;
}
	
.main-navigation ul ul ul { /* 3rd+ level drop-down "box" */
	left: 100%;
	top: 0;
}
	
.main-navigation ul ul li { /* List items inside the drop-down box */ }
	
.main-navigation ul ul a { /* Menu links inside the drop-down "box" */
	padding: 0 1.5em;
	width: 100%;
}

 .main-navigation li.current-menu-item ul a { }
	
.main-navigation li:hover > a, .main-navigation li.current_page_item a, .main-navigation li.current-menu-item a, .main-navigation ul ul a:hover { /* Hover styles for menu items */ }
	
.main-navigation ul ul :hover > a {	}

.main-navigation ul li:hover > ul { display: block; }

/* =Social menu
-------------------------------------------------------------- */

.social-navigation li {
	margin: 0 .25em;
	padding: 0;
	line-height: 30px;
}

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

.social-navigation li:last-child { margin-right: 0; }

.social-navigation li a, .social-navigation a:before {
-ms-font-feature-settings: "kern" 1, "liga" 1, "case";
    font-family: 'Mono Social Icons Font';
    -webkit-text-rendering: optimizeLegibility;
    -moz-text-rendering: optimizeLegibility;
    -ms-text-rendering: optimizeLegibility;
    -o-text-rendering: optimizeLegibility;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -ms-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    font-smoothing: antialiased;
    font-size: 210%;
	text-align: center;
}

/* =3-column grids
-------------------------------------------------------------- */

.footerbar .widget  {
	float: left;
	width: 31.3%;
	margin: 0px 2% 2% 0px;
	text-align: center;
}

/*.footerbar .widget:nth-of-type(3n+3) { margin-right: 0; }

.footerbar .widget:nth-of-type(3n+1)   { clear: both; }
*/

.footerbar .widget:nth-of-type(3)	{ margin-right: 0; }
.footerbar .widget:nth-of-type(4) { clear: both; }
.footerbar .widget:nth-of-type(7)	{ margin-right: 0; }



/* =Header
-------------------------------------------------------------- */

.social-navigation {	
	position: absolute;
	right: 0;
}

.header-navigation {
	margin-top: 0;
	display: inline-block; /* Center the floated elements */
}

.site-navigation li {
	margin: 0;
	padding: 0 2em;
	line-height: 12px;
	border-right: 2px solid #e8e8e8;
}

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

.site-navigation li:last-child { 
	padding-right: 0; 
	border-right: 0;
}

.site-header .site-navigation { float: left; }

.site-navigation:first-child { margin-right: 1em; }

.site-navigation:last-child { margin-left: -.5em; }

.site-header .site-navigation li { margin-top: 30px; }

.site-title { clear: none; margin: 0 auto; text-align:center; }

.site-title a {
	background-image: url(../images/robert-mahar-logo.svg);	
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: center;
    width: 187px;
    height: 96px;
   	
	display: inline-block;
	/* Replace text with image */
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;		
}

/* =Content Sections
For posts and pages.
-------------------------------------------------------------- */

.hentry { /* The wrapper for individual posts */
	margin: 0 0 1.5em 0;
	padding-bottom: 1.5em;
}

.site-title, .entry-title, .page-title, .widget-title, .comments-title, #reply-title {	margin-top: 0; }

.post .entry-header {
	background: #f8f7f7;
	padding: .5em 1em;
	position: relative;	
}

.post .entry-title {
	width: 75%;
	line-height: 1.3;
	margin-bottom: .45em;
}

.comments-link {  /* Link to leave a comment */	
	border-bottom: 3px solid #fff;
	border-left: 3px solid #fff;	
	padding: .1em .75em;
	position: absolute;
	top: 0;
	right: 0;
}
	
.entry-meta { clear: both; }
	
.byline {  /* By default, bylines are hidden */
	display: none;
}
	
.single .byline, .group-blog .byline { /* Bylines are displayed on single posts and/or when there are multiple authors */
	display: inline;
}

.edit-link { 
	margin-top: 1em;
	text-align: right; 
	clear: both;
	font-style: normal;
}

footer.entry-meta {
	border-top: 1px solid #d7d6d5;
	border-bottom: 1px solid #d7d6d5;
	padding: .75em 0;
	margin-top: 1em;
}

.entry-summary .read-more {
	text-align: right;
}

footer.entry-meta .read-more, footer.entry-meta .print-link { float: right; }

footer.entry-meta p { margin: 0; }

.entry-content:first-child { margin-top: 0; }

.entry-summary p:first-of-type { margin-top: .75em; }

/* Aside Post Format */

.format-aside .entry-content {
	border-left: 4px solid rgba( 0, 0, 0, 0.1 );
	padding-left: 1em;
}

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

#content.site-content.site-content-full {
	width: 100%;
	margin:0;
}
	
.site-content .nav-previous {
	float: left;
	width: 50%;
}
	
.site-content .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

#content .site-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}
	
#content .nav-previous {
	float: left;
	width: 50%;
}
	
#content .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
	
/* =Comments
-------------------------------------------------------------- */
	
#comments { clear: both; }
	
.comments-title, #reply-title {
	text-transform: uppercase;
	margin-bottom: 1em;
}

.commentlist { padding: 0; }

.commentlist li {
	list-style: none;
	border-top: 1px solid #ccc;
	padding-top: .75em;
}

.commentlist, .children {
	list-style: none;
	margin: 0;
}

.children { /* Nested comments */
	margin: 0 0 0 6%;
}

.commentlist li.comment {  /* Individual top-level comments */ }

.commentlist li.pingback {  /* Individual top-level pingbacks */ }

.commentlist li:last-of-type { /* Do you want to style the last comment differently, such as remove borders? */ }

.commentlist .children li { /* Contains individual nested comments */ }

.children article.comment, .children li.pingback { /* Nested comments and pingbacks */ }

.comment-author { /* Comment author's name */
	text-transform: uppercase;
}

.comment-author img { 
	vertical-align: middle;
	margin-right: .5em;
}

.comment-meta { /* Comment date, time, etc */
	text-align: right;
}

.comment-content { /* Actual comment text */ }

.comment .reply { /* The "Reply" link under each comment */
	text-align: right;
}

/* Comment Form */

.comment-notes, #commentform .form-allowed-tags, p.nocomments, p.logged-in-as, #commentform label { }

.required { /* The little asterisk next to a required comment field */
	color: #880000;
}

#commentform label { /* The text next to each comment form field */
	padding: 1em 0;
	width: 12%;
	display: inline-block;
}

#commentform input[type="text"] { }

#commentform #comment { /* The comment form textarea */ }

#commentform .form-allowed-tags, #commentform .form-allowed-tags code { }

p.nocomments { /* Message displayed when there are no comments */ }

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

.widget-area { /* All of the sidebar container divs get this common class */ }

.widget { margin: 0 0 1.75em; }

.widget-title { }

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

.widget ul li { }

.secondary .widget input, #searchform input { border: none; }

/* Grey background widgets */

.secondary .widget { 
	background: #f8f7f7;
	margin: 0 0 1.75em; 
	padding: 3em 1.5em 1.5em 1.5em;
	position: relative;	
}

.secondary .widget .widget-title, .home-section .widget-title, .about-section .widget-title {
	position: absolute;
	top: 0;
	left: 0;
	padding: .65em 1.85em;
  	background: rgb(60, 184, 181); /* Fall-back for browsers that don't support rgba */
    background: rgba(60, 184, 181, .8);
	clear: none;
	display: block;
	z-index: 1;
}

.secondary .widget_categories ul li { line-height: 2; }

.secondary .widget_categories ul li:before { content:"- "; }

/* Jetpack Twitter widget */

.twitter-timeline time { display: none !important; }

/* Newsletter */

.secondary .aeolidia_mailchimp_widget {
	background: #fff;
	padding: 0;
}

.secondary .aeolidia_mailchimp_widget h1.widget-title {
	color: #747474;
	position: relative;
	background: #fff;
	padding: 0 0 0 .75em;
	background: url(../images/rss.png) 0 center no-repeat;
	width: 100px;
	margin: 0 auto;
}


#mc_embed_signup {
	border-top: 1px solid #d7d6d5;
	border-bottom: 1px solid #d7d6d5;
	padding: 1.5em 0;
	text-align: center;
}

#mc_embed_signup p { margin-bottom: .5em; }

#mc_embed_signup input { 
	background: #f8f7f7;
	border: 0;
	height: 30px;
	vertical-align: middle;
}

#mc_embed_signup input[type="submit"] { 
	background: url(../images/arrow.png) no-repeat;
}

/* Blog categories menu */

.widget_categories { }

/* Video taxonomy and video search */


.video-categories ul { 
	list-style: none;
	margin: 0;
	padding-left: 0;
	line-height: 35px;
	background: #fff;
	text-align: left;
}
	
.video-categories ul.menu li:first-child { background: url(../images/menu_arrow.png) right center no-repeat; }

.video-categories ul.sub-menu li:first-child { background: none; }

.video-categories li {
	padding: 0 35px 0 15px;
	position: relative;
}
	
.video-categories a { 
	display: block;
	text-decoration: none;
}
	
.video-categories ul ul { /* Submenu drop-down "box" */
	display: none;
	float: left;
	position: absolute;
	top: 34px;
	left: 0;
	z-index: 99999;
	width: 100%; 
}

.video-categories ul ul li { /* List items inside the drop-down box */
	border-top: 1px solid #f8f7f7;
	background: #fff;
	margin: 0;
	padding: .75em 0;
}
	
.video-categories ul ul a { /* Menu links inside the drop-down "box" */
	padding: 0 1em;
	width: 100%;
	line-height: 1.5;
}

.video-categories li.current-menu-item ul a { }
	
.video-categories li:hover > a, .video-categories li.current_page_item a, .video-categories li.current-menu-item a, .video-categories ul ul a:hover { /* Hover styles for menu items */ }
	
.video-categories ul ul :hover > a { }

.video-categories ul li:hover > ul { display: block; }

.video-categories ul li:hover > ul a { /*z-index: 99999;*/ }

/*
.secondary .aeolidia_customsearch_widget input[type=search] {
	width: 79%;
}
*/
/* Search widget */

#searchform input { 
	margin: 0;
	float: left;
	height: 35px;
	padding: 0 0 0 8px;
}

input#searchsubmit { 
	width: 38px;
	height: 35px;
	margin-left: 2px;
	background: #fff url(../images/search.png) center center no-repeat;	
}

/* Sub-Items in Menu & Categories Widgets. */

.widget-area .sub-menu, .widget-area .children { }

.widget-area .sub-menu li, .widget-area .children li { }

/* Text Widgets */

.widget p, .textwidget { }

.widget p a, .textwidget a { }

/* =AddThis sharing buttons
-------------------------------------------------------------- */

.addthis_toolbox { 
	clear: none !important; 
	float: left;
	width: 40%;
	line-height: 1 !important;
}

.addthis_toolbox label {
	margin-right: .5em;
}

.addthis_toolbox a {
	-ms-font-feature-settings: "kern" 1, "liga" 1, "case";
    font-family: 'Mono Social Icons Font';
    -webkit-text-rendering: optimizeLegibility;
    -moz-text-rendering: optimizeLegibility;
    -ms-text-rendering: optimizeLegibility;
    -o-text-rendering: optimizeLegibility;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -ms-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    font-smoothing: antialiased;
    font-size: 140%;
	text-align: center;
	color: #747474;
	font-style: normal;
}

/* =Site Footer
-------------------------------------------------------------- */

.site-footer .widget_text, .footerbar-2 .widget p {
	border-top: 1px solid #d7d6d5;
	padding-top: 1.5em;
}

.site-footer #custom_html-2 {
	border-top: none;
	padding-top: 0;
}

.footerbar-2 .widget { text-align: center; }

p.site-info { 
	width: 40%;
	margin: auto;
	text-align: center;
}

.site-info { }

.site-info span.aeolidia {
	padding: 0 25px 0 20px;
	background: url(../images/stars.png) 0 -5px no-repeat;
}

/* =Home and About page columns
-------------------------------------------------------------- */

.home .home-content, body.about .about-content {
	float: left;
	margin: 0 -31% 0 0;
	width: 100%;
}

.home .col:first-child, body.about .col:first-child {
	margin: 0 31% 0 0;
	padding-right: 2em;	
}

.home .col:nth-child(2n), body.about .col:nth-child(2n) { 
	float: right;
	overflow: hidden;
	width: 31%;
}

.home .col .home-section {
	margin-bottom: 1.75em;
	position: relative;	
}

.home-section .entry-header {
	padding: 4px 0 0 0;
	background: transparent;
}

.featured-video.home-section, .about.home-section, .explore-videos.home-section { background: #f8f7f7; }

.explore-videos.home-section { padding: .8em; }

.home .explore-section  {
	float: left;
	text-align: center;
	line-height: 35px;
}

.home .explore-section:first-child  { 
	width: 130px;
	margin-right: 5px;
}

.home .explore-section:nth-child(2)  { 
	width: 220px;
	margin-right: 5px;
}

.home .explore-section:nth-child(3)  { width: 220px; }

.home .explore-section h1 { margin: 0; }

.featured-video.home-section iframe { /* Remove bottom margin */
	vertical-align: bottom;
}

.featured-video.home-section .entry-header { padding: .5em; }

.featured-video.home-section .entry-title, .featured-video.home-section .read-more {
	margin: 0;
	clear: none;
	float: left;
}

.featured-video.home-section .entry-title {
	width: 80%;
	padding-right: 1em;
}

.featured-video.home-section .read-more {
	width: 20%;
	text-align: right;
}

.about.home-section p {
	padding: .2em 1.5em;
	margin: 0;
}

.about.home-section .read-more { 
	margin-left: .25em; 
	line-height: 0;
}

.recent-videos.home-section article {
	width: 48%;
	float: left;
}

.recent-videos.home-section article:first-child { margin-right: 2%; }

/* =About page
-------------------------------------------------------------- */

.about .about-section  {
	position: relative;	
	background: #f8f7f7;
	margin-bottom: 1.75em;
	padding: 3em 1.5em 2.5em;
}

body.about .about-section:first-child {
	padding: 0;	
	background: url(../images/about_featured_bg.png) top right repeat-y;
}

body.about .about-section:first-child .col:nth-child(2n) p { padding: 0 1.5em; }

body.about .about-section:first-child h1.widget-title {
	position: relative;
	display: inline-block;
	margin-bottom: 1em;
}

/* =Selectize overrides
-------------------------------------------------------------- */

.selectize-dropdown,
.selectize-input,
.selectize-input input {
	color: #000 !important;
	font-family: 'Montserrat', sans-serif !important;
	text-transform: uppercase !important;
	font-weight: 700 !important;
	font-size: 10px !important;
	font-size: 1.0rem !important;
	letter-spacing: .2em !important;
}

.selectize-input {
	border: none !important;
	-webkit-border-radius: none !important;
	-moz-border-radius: none !important;
	border-radius: none !important;
}

.selectize-dropdown-content .option {
	border-top: 1px solid #f8f7f7 !important;
	background: #fff;
	margin: 0;
	line-height: 3;
}

.selectize-dropdown .active {
	background-color: #fff !important;
	color: #747474 !important;
}

.selectize-dropdown {
	border: none !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
	-webkit-border-radius: none !important;
	-moz-border-radius: none !important;
	border-radius: none !important;
}

.selectize-control.single .selectize-input {
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
	background-color: #fff !important;
	background-image: none !important;
}

.selectize-control.single .selectize-input:after {
	background: url(../images/menu_arrow.png) no-repeat;
	width: 39px !important;
	height: 100% !important;
	top: 0 !important;
	right: 0 !important;
	margin-top: 0 !important;
	border: none !important;
}

/* =IE Styling
----------------------------------------------- */

/* If you have any IE-specific adjustments to make, add them here. 

For example: 

#ie8 body {
	color #333;
}

Will make the sbody text #333 on IE8 only. In order for this to work, you need to set up conditionals to add an ID-selector to the HTML element when IE is detected. For instructions on how to set up the conditionals, see: http://themeshaper.com/2012/10/31/the-wordpress-theme-header-template/
*/

#ie8 .site-header img, #ie8 .entry-content img, #ie8 img.size-full, #ie8 .entry-thumbnail img, #ie8 .widget img, #ie8 .wp-caption img {
	width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}

/* =Print
----------------------------------------------- */

	@media print {

	.site-header, .secondary, .site-footer, iframe, .entry-meta, .edit-link, .post-navigation, #comments, .comments-link { display: none; }

	* {
		color: #000;
		text-rendering: optimizeLegibility;
		-webkit-font-smoothing: antialiased;
		text-shadow: 0px 0px 0px rgba(0,0,0,0);
	}

	header:before { 
		display: block;
		text-align: center;
		content: url(../images/logo_sm.png); }

	body { 
		background: #fff; 
		margin: 0;
	}

	p a { word-wrap: break-word; }

	#content, .site {
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.entry-content a:after { content: " [" attr(href) "] "; }

	.entry-content:after {
		display: block;
		border-top: 1px solid #ccc;
		padding: 1em 0;
		font-size: 12px;
		font-size: 1.2rem;
		content: "Source: http://www.robert-mahar.com";
	}
}


/* Responsive Styling
----------------------------------------------- */

.site-main {
	padding-left:15px;
	padding-right:15px;
}

.recent-videos.home-section article .entry-title  {
	margin-top:10px;
}

.aeolidia_mailchimp_widget form {
	display: inline-block;
}

.aeolidia_mailchimp_widget form,
#content .post #mc_embed_signup .mc-sub-box {
  position: relative;
  max-width: 200px;
  margin: 0 auto;
}

.aeolidia_mailchimp_widget form #mce-EMAIL,
#content .post #mc_embed_signup .mc-sub-box #mce-EMAIL {
	width: calc(100% - 41px);
	float: left;
}

.aeolidia_mailchimp_widget form input[type="submit"],
#content .post #mc_embed_signup .mc-sub-box #mc-embedded-subscribe {
  position: absolute;
  right: 0;
  text-indent: -93000px;
  overflow: hidden;
  top: 0;
  width: 39px;
}

.burger {
	display:none;
}

.video-categories a {
	overflow: hidden;
	width: 111%;
}

/* Video search panel */
.widget_search form,
.home .explore-section:nth-child(3)  {
	padding-right:40px;
	position:relative;
}
.widget_search input:nth-child(2),
.home .explore-section #searchform input:first-child {
	float: none;
  width: 100%;
  box-sizing: border-box;
}
.widget_search input:nth-child(3),
.home .explore-section #searchform input:last-child {
	float: none;
	position: absolute;
	right: 0;
	top: 0;
}

.aeolidia_customsearch_widget {

}



/* Video search panel */
.home .explore-section:first-child {
	width:130px;
}

.home .explore-section:nth-child(2) ,
.home .explore-section:nth-child(3)  {
	width: calc(50% - 70px);
}



#searchform input {
	vertical-align:top;
}


.aeolidia_customsearch_widget form,
.widget_search form,
.home .explore-section:nth-child(3)  {
	padding-right:40px;
	position:relative;
}
.aeolidia_customsearch_widget input[type=search],
.widget_search input[type=search],
.home .explore-section #searchform input[type=search] {
	float: none;
  width: 100%;
  box-sizing: border-box;
}
.aeolidia_customsearch_widget input[type=submit],
.widget_search input[type=submit],
.home .explore-section #searchform input[type=submit] {
	float: none;
	position: absolute;
	right: 0;
	top: 0;
}


.secondary-video-mobile,
.about-mobile,
.secondary-mobile {
	display:none;
}

.recent-videos.home-section article {
	width:50%;
	padding:0 0 0 14px;
	margin:0;
}

.recent-videos.home-section article:first-child {
	width:50%;
	padding:0 14px 0 0;
	margin:0;
}

.videoWrapper {
   position: relative;
   padding-bottom: 55.8%;
   height: 0;
}
 .videoWrapper iframe {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   border:none;
}

input {
	-webkit-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.featured-video .videoWrapper  {
   padding-bottom: 59.6%;
}



#sb_instagram {
	margin-top:-5px;
}



@media screen and (min-width: 601px) and (max-width: 855px) {


	.home .explore-section:first-child {
		width:100%;
		text-align:center;
	}
	.home .explore-section:nth-child(2) ,
	.home .explore-section:nth-child(3)  {
		width: 48%;
		float:left;
	}

}

.mobile-widget {
	display:none;
}

@media screen and (max-width: 600px) {


.recent-videos.home-section article,
.recent-videos.home-section article:first-child {
	width:100%;
	padding:0;
	margin:0;
}

	.about-mobile {
		display:block;
	}

	.about-desktop {
		display:none;
	}

	.secondary-video-mobile,
	.secondary.secondary-mobile {
		display:block;
	}

	.secondary.secondary-mobile aside,
	.secondary.secondary-video-mobile aside {
		display:none;
	}	

	.secondary.secondary-video-mobile aside:first-child,
	.secondary.secondary-mobile aside:first-child {
		display:block;
	} 

	.secondary.secondary-video aside, 
	.secondary aside {
		display:block;
	}	

	.secondary.secondary-video aside:first-child, 
	.secondary aside:first-child {
		display:none;
	} 


	.site-header img, 
	.entry-content img, 
	.entry-summary img, 
	.widget img, 
	img.size-full,
	img {
		width:100%;
	}
	#primary,
	.secondary,
	#content,
	.col {
		width:100%!important;
		float:none!important;
		margin:0!important;
		padding:0!important;
	}

	#page {
		padding-top: 75px!important;
		margin-top:0;
	}

	h1 {
		line-height: 1.2em;
		font-size: 20px;
	}
	.page-title {
		text-align:center;
	}

	.site-footer {
		padding-top:0;
		margin-top: -1em;
	}


	/* Video search panel */
	.home .explore-section:first-child, 
	.home .explore-section:nth-child(2),
	.home .explore-section:nth-child(3) {
		width: 100%;
		float:none;
		margin:0 0 10px;
	}


	/* Featued home videos */
	.recent-videos.home-section article {
		width:100%;
		float:none;
	}

	/* Navigation */
	.site {
		position:relative;
	}

	.site-header{
		position:fixed;
		top:0;
		left:0;
		padding:0;
		width:100%;
		background:#fff;
		height:60px;
		margin-bottom:0;
		z-index: 100;
		text-align:left;
		border-bottom:1px solid #f8f7f7;

	}
	.header-navigation {
		margin-top:0;
		display:block;
	}

	.site-title {
		padding:10px 15px;
		margin:0;
		position:relative;
		z-index:15;
		text-align:left;
		max-width: 150px;
	}

	.site-title a {
		height: 40px;
		width:100px;
	}

	.site-navigation.main-navigation {
		float:none;
		width:100%;
    position: absolute;
    top: 0;
    z-index: 10;
    right: 0;
    overflow-y: visible;
    height:60px;
	}

	.active.site-navigation.main-navigation {
    height: 100vh;
	}

	.active.site-navigation.main-navigation:before {
		position:absolute;
		background:rgba(0,0,0,0.5);
		top:60px;
		left:0;
		right:0;
		bottom:0;
		content:"";
	}

	.main-navigation ul,
	.site-header .site-navigation li,
	.main-navigation a {
		margin:0;
		padding:0;
		display:block;
		width:100%;
		float:none;
		background:#fff;
		border:none;
	}
	.main-navigation a {
		padding:15px 15px;
		border-top:1px solid #f8f7f7;
	}

	.main-navigation li:first-child a {
		border:none;
	}

	.menu-header-menu-1-container {
		position: absolute;
		top: 60px;
		right: 0;
		width: 220px;
		text-align: left;
    height: calc(100vh - 60px);
    background:#fff;
    right: -230px;
    transition:right 300ms;
	}

	.active .menu-header-menu-1-container {
    right: 0px;
	}

	.burger {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index:100;
	  height: 30px;
	  width: 30px;
	  border: 2px solid #000;
	  transition: 300ms linear all;
	  padding:0;
	  overflow:hidden;
	  background:#fff!important;
	  display:block;
	}
	.burger:before, 
	.burger:after {
	  position: absolute;
	  content: "";
	  border-top: 2px solid #000;
	  left: 50%;
	  width: 50%;
	  margin-left: -25%;
	}
	.active .burger:before, 
	.active .burger:after {
	  border-color: #000;
	  bottom: auto;
	  top: 50%;
	  margin: -1px 0 0 -25%;
	}
	.burger:before {
	  top: 25%;
	  box-shadow: 0 5px 0 #000;
	  transition: 300ms linear border, 200ms linear box-shadow;
	}
	.burger:after {
	  bottom: 25%;
	  transition: 300ms linear border;
	}
	.active .burger{
	  border-radius: 20px;
	  -webkit-transform: rotate(180deg);
	          transform: rotate(180deg);
	  border-color: #000;
	}
	.active .burger:before {
	  -webkit-transform: rotate(45deg);
	          transform: rotate(45deg);
	  box-shadow: none;
	  transition: 300ms linear border, 1ms linear box-shadow;
	}
	.active .burger:after {
	  -webkit-transform: rotate(-45deg);
	          transform: rotate(-45deg);
	}

	/* about*/
	body.about .about-section:first-child {
		background:#f8f7f7;
	}
	p.site-info,
	.home .col .home-section,
	.post .entry-title,
	.featured-video.home-section .entry-title,
	.featured-video.home-section .read-more {
		width:100%;
		text-align:center;
	}
	.hentry {
		margin-bottom:0;
	}
	 /* Posts */
	 .entry-meta,
	.addthis_toolbox,
	footer.entry-meta .read-more, 
	footer.entry-meta .print-link {
		width:auto;
		float:none;
		text-align:center;
	}
	.addthis_toolbox label {
		display:block;
	}
	.addthis_toolbox a {
		font-size:40px;
	}

	/* =3-column grids
	-------------------------------------------------------------- */

	.footerbar .widget  {
		float: none;
		width: 100%;
		margin: 0px;
		text-align: center;
		margin-bottom: 1.5em;
	}

	.footerbar .widget:nth-of-type(3n+3) { margin-right: 0; }

	.footerbar .widget:nth-of-type(3n+1)   { clear: both; }

	.footerbar .widget.widget_text  {
		display:none;
	}
	.footerbar .widget.widget_text.mobile-widget,
	.mobile-widget {
		display:block;
    border-top: 1px solid #d7d6d5;
    padding-top: 1.5em;
    padding-bottom: 1.2em;
	}
	.footerbar #custom_html-2.widget.widget_text {
		display:block;
	}



	.footerbar .mobile-widget a {
	    font-family: 'Fanwood Text', serif;
	    font-size: 16px;
	    font-size: 1.6rem;
	    font-weight: 400;
	    font-style: italic;
	}

	.footerbar .widget.widget_text.mobile-widget.twitter-widget {
		padding-bottom: 0;
	}
	

}
