/*
Theme Name: Boston Book Festival 2016
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Corey + Atomic Mouse
Author URI: http://www.atomicmouse.com
Template: enfold
*/

/*Add your own styles here:*/

@font-face {
	font-family: 'MalloryBook';
	src: url('https://bostonbookfest.org/bostonbookfest/wp-content/themes/bbf/fonts/Mallory-Book.eot');
	src: url('https://bostonbookfest.org/bostonbookfest/wp-content/themes/bbf/fonts/Mallory-Book.eot?#iefix') format('embedded-opentype'),
	url('https://bostonbookfest.org/bostonbookfest/wp-content/themes/bbf/fonts/Mallory-Book.woff') format('woff'),
	url('https://bostonbookfest.org/bostonbookfest/wp-content/themes/bbf/fonts/Mallory-Book.otf') format('opentype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'MalloryBookItalic';
	src: url('https://bostonbookfest.org/bostonbookfest/wp-content/themes/bbf/fonts/Mallory-BookItalic.eot');
	src: url('https://bostonbookfest.org/bostonbookfest/wp-content/themes/bbf/fonts/Mallory-BookItalic.eot?#iefix') format('embedded-opentype'),
	url('https://bostonbookfest.org/bostonbookfest/wp-content/themes/bbf/fonts/Mallory-BookItalic.woff') format('woff'),
	url('https://bostonbookfest.org/bostonbookfest/wp-content/themes/bbf/fonts/Mallory-BookItalic.otf') format('opentype');
	font-weight: normal;
	font-style: normal;
}

/* FONT */
h1, h2, h3, h4, h5, h6, #top .title_container .main-title, tr.pricing-row td, #top .portfolio-title, .callout .content-area, .avia-big-box .avia-innerbox, .av-special-font, .av-current-sort-title, .html_elegant-blog #top .minor-meta,
html body,
html body a,
div.home-slider-text,
div.home-slider-text h1 {
	font-family: "MalloryBook", Arial, sans-serif !important;
	font-weight: normal !important;
}
.template-page .entry-content-wrapper h1,
.template-page .entry-content-wrapper h2 {
	text-transform: none;
	letter-spacing: normal;
}
h1 { /* ALL H1 37 pixels */
	font-size: 37px;
}
.avia_textblock {	/* Para text in Text elements */
	line-height: 1.4em;
}
/* SECTION */
.avia-section {
	min-height: 70px;
}
.avia-section-large .content,
.avia-section-large .sidebar {
	padding-top: 60px;
	padding-bottom: 60px;
}
.avia-section-huge .content,
.avia-section-huge .sidebar {
	padding-top: 70px;
	padding-bottom: 70px;
}

/* SPECIAL */
#hide-me,
.hide-me {
	display: none;
}

/*------------------------------------------------------------------------------------*/
/**************/
/*** HEADER ***/
/**************/
div#header_meta {
	background-color: transparent;
}
/*.html_header_top.html_header_sticky #top #wrap_all div#main {
	padding-top: 150px;
}*/
/* TAG LINE */
.phone-info,
.phone-info.with-nav {
	top: 116px;
	font-size: 16px;
	white-space: pre;
	margin-top: 0;
	position: absolute;
	right: 50px!important;
}
.phone-info span {
	font-weight: normal;
}
.phone-info span.date,
.phone-info span.free {
	color: #f2120b;
}
.phone-info span.loc {
	color: #282833;
}
@media only screen and (max-width: 768px) {
	.phone-info.with_nav {
		display: none;
	}
}
/* LOGO */
div#header_main .logo {
	top: -10px;
	left: 95px;
}
@media only screen and (max-width: 1000px) {
	div#header_main .logo {
		left: inherit;
	}
}
@media only screen and (max-width: 767px) {
	.responsive .logo img {
		margin: 20px;
	}
}
/* SECONDARY MENU */
.header_color .sub_menu li {
	border-color: #ffffff;
	border-width: 0 0px;
}
.header_color .sub_menu>ul>li>a {
	font-size: 12px;
}
#top .header_color .sub_menu ul li a:hover,
#top .header_color .sub_menu ul li a:active,
.header_color .sub_menu ul:first-child > li.current-menu-item > a,
.header_color .sub_menu ul:first-child > li.current_page_item > a,
.header_color .sub_menu ul:first-child > li.active-parent-item > a {
	color: #959595;
}
/* SOCIAL LINKS */
#top ul.social_bookmarks {
	margin-left: 0px;
}
#top ul.social_bookmarks li {
	border-color: #ffffff;
	border-width: 0 4px;
}
#top #wrap_all ul.social_bookmarks li:hover a {
    color: #fff;
    background-color: #f2120b;
}

/* MAIN MENU */
nav.main_menu {
	/*top: -16px;*/
	top: 4px;
}
nav.main_menu li.menu-item span.avia-menu-text {
	font-family: "MalloryBook", Arial, sans-serif;
	font-weight: 400;
	font-size: 20px;
	color: #282833;
}
nav.main_menu li#menu-item-search a {
	color: #282833;
}
@media only screen and (max-width: 880px) {
	.container #advanced_menu_toggle, #advanced_menu_hide {
	    display: block;
	}
}
@media only screen and (max-width: 880px) {
	.main_menu .avia-menu, #header_main_alternate, .fallback_menu {
	    display: none;
	}
}
#top #header_main > .container,
#top #header_main > .container .main_menu ul:first-child > li > a,
#top #header_main #menu-item-shop .cart_dropdown_link {
    line-height: 80px !important;
}
/* reduce vertical hit area of main nav buttons */
.avia-menu.av-main-nav-wrap #avia-menu li a {
	height: 60px !important;
	display: block;
}
.avia-menu.av-main-nav-wrap #avia-menu li ul a {
	height: auto !important;
}

/* SEARCH FIELD PANEL */
header#header div#header_main {
	z-index: 20;
}
li#menu-item-search div.avia-search-tooltip.avia-tt {
	top: 80px !important;
}
/* MAIN NAV DROPDOWN */
ul.av-main-nav ul.sub-menu {
	/*top: 50%;*/
	top: 100%;
}
ul.av-main-nav ul.sub-menu li.menu-item a {
	padding: 4px 15px !important;
	line-height: 18px !important;
}
ul.av-main-nav ul.sub-menu li.menu-item span.avia-menu-text {
	font-size: 13px;
}
/* MAIN MENU - MOBILE */
#advanced_menu_toggle, #advanced_menu_hide {
	color: #f2130b;
}
/* SHOPPING CART - MOBILE */
@media only screen and (max-width: 767px) {
	.responsive #top .cart_dropdown {
		display: none;
	}
	html.html_visible_cart.responsive #top .cart_dropdown {
		display: block;
	}
}

/*------------------------------------------------------------------------------------*/
/************************/
/*** HOME PAGE SLIDER ***/
/************************/
div.ls-wp-fullwidth-container {
	background-color: #282833;
}
@media (max-width: 520px) {
	div.home-slider-text {
		top: 20px!important;
	}
}
div.home-slider-text p {
	display: inline-block;
	padding: 15px !important;
	margin: 0 0 1px 0;
	font-size: 13px !important;
	/*line-height: 42px;*/
	background-color: #282833;
	color: #f0efef;
}
div.home-slider-text p a,
div.home-slider-text p a:hover {
	color: #f0efef;
	text-decoration: none;
}
div.home-slider-text p a:before {
	margin-right: 13px;
	font-family: "icon-bbf";
	content: "\E804";
}
div.home-slider-text p a:hover span.reg_text {
	text-decoration: underline;
}
div.home-slider-text h1 {
	display: inline-block;
	padding: 12px 15px !important;
	margin: 0 0 1px 0;
	font-size: 28px !important;
	font-weight: 400;
	/*line-height: 51px !important;*/
	background-color: #282833;
	color: #f0efef
}
/* SLIDER NAV BUTTONS */
#top .avia-layerslider .ls-nav-prev,
#top .avia-layerslider .ls-nav-next {
	color: #3a323a;
	margin: -50px 0 0;
	width: 36px;
	height: 100px;
	opacity: 1;
}
#top .avia-layerslider .ls-nav-prev:before,
#top .avia-layerslider .ls-nav-next:before {
	background: #dfecf4;
	line-height: 100px;
}
#top .avia-layerslider .ls-nav-prev{
	left: 0;
}
#top .avia-layerslider .ls-nav-next {
	right: 0;
}
/*------------------------------------------------------------------------------------*/
/*************************/
/*** HOME PAGE CONTENT ***/
/*************************/
/* BLURB w/DATE + LOC */
div#home-blurb .content {
	padding-top: 55px;
	padding-bottom: 0;
}
div#home-blurb h1 {
	margin-top: 30px;
	font-size: 37px;
	/*letter-spacing: normal;*/
}
div#home-blurb h2 {
	font-size: 24px;
	letter-spacing: normal;
}
/* TEAM MEMBER ELEMENT (Presenters & Events) */
section.avia-team-member {
	max-width: 300px;
	margin: 0 auto;
	text-align: center;
}
section.avia-team-member img.avia_image {
	margin: 0;
}
section.avia-team-member div.team-social {
	border: none;
}
section.avia-team-member div.team-social div.team-social-inner {
	position: relative;
	top: 0;
	margin-top: 0;
	/*height: 100%;*/
	padding: 0;
}
section.avia-team-member.avia-builder-el-no-sibling {
	margin: auto;	/* CENTER team member in column */
}
section.avia-team-member div.team-social a {
	background: transparent;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: none;
	font-size: 0;
}
@media only screen and (max-width: 989px) {
	.responsive #top .avia-team-member .team-social {
		position: absolute;
		opacity: 0;
		border: none;
		width: 100%;
		height: 100%;
		bottom: 0;
		/*z-index: 10;*/
	}
}
section.avia-team-member h3.team-member-name {
	font-size: 19px;
}

/* TEAM MEMBER GRAY-to-COLOR */
#home-presenters a .image-overlay {	/* Kill overlay */
	display: none !important;
}
#home-presenters .team-img-container img { 
	filter: grayscale(100%) !important;
	-webkit-filter: grayscale(100%) !important;
	-moz-filter: grayscale(100%) !important;
	-o-filter: grayscale(100%) !important;
	filter: gray !important;
	filter: grayscale(100%) !important;
	-webkit-transition: all .6s ease;
	transition: all .6s ease;
	-moz-transition: all .6s ease;
	-o-transition: all .6s ease;
}
#home-presenters .team-img-container img:hover {
	filter: grayscale(0%) !important;
	-webkit-filter: grayscale(0%) !important;
	-moz-filter: grayscale(0%) !important;
	-o-filter: grayscale(0%) !important;
	filter: grayscale(0%) !important;
}

/* TEAM MEMBER COLOR-to-GRAY */
#home-events a .image-overlay,
#get-to-bbf a .image-overlay {	/* Kill overlay */
	display: none !important;
}
#home-events .team-img-container img,
#get-to-bbf .team-img-container img { 
/*	filter: grayscale(0%) !important;
	-webkit-filter: grayscale(0%) !important;
	-moz-filter: grayscale(0%) !important;
	-o-filter: grayscale(0%) !important;
	filter: grayscale(0%) !important;
	-webkit-transition: all .6s ease;*/
	transition: all .6s ease;
	-moz-transition: all .6s ease;
	-o-transition: all .6s ease;
}
#home-events .team-img-container img:hover,
#get-to-bbf .team-img-container img:hover { 
	opacity: 0.5;
/*	filter: grayscale(50%) !important;
	-webkit-filter: grayscale(50%) !important;
	-moz-filter: grayscale(50%) !important;
	-o-filter: grayscale(50%) !important;
	filter: gray !important;
	filter: grayscale(50%) !important;*/
}

/* TEAM MEMBER [REGISTER] LINK */
section.avia-team-member div.team-member-description {
	margin-top: -10px;
}
section.avia-team-member div.team-member-description a {
	text-decoration: none;
	color: #f2120b;
}
section.avia-team-member div.team-member-description a:before {
	margin-right: 4px;
	font-family: "icon-bbf";
	font-size: 16px;
	content: "\E804";
	text-decoration: none;
}
section.avia-team-member div.team-member-description a:hover span.reg_text {
	text-decoration: underline;
}

/* EVENT TEAM MEMBER ROLLOVER */
div#home-events div.team-social {
	/*opacity: 0;*/
	background: rgba(55, 55, 68, 0.5);
}
/* GETTING-TO-BBF TEAM MEMBER ROLLOVER */
div#get-to-bbf div.team-social {
	/*opacity: 0;*/
	background: rgba(40, 40, 51, 0.5);
}
/* BUTTON SECTIONS (for padding) */
div#button-section .content {
	padding-top: 25px;
}
/* ALL BBF BUTTONS */
/* SEE ALL EVENTS BUTTON */
a.avia-button.avia-size-medium {
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	font-size: 22px;
}
a.avia-button.avia-size-medium:hover {
	color: #f2120b !important;
}
/* SCHED & EXHIBITORS BUTTONS */
div.avia-button-wrap.avia-builder-el-27 {
	padding-top: 60px;
}
div.avia-button-wrap.avia-builder-el-28 {
	padding-top: 10px;
	padding-bottom: 20px;
}
/* SPONSORS (and GETTING TO BBF subsections) */
div#sponsors .content,
div#driving .content,
div#parking .content,
div#mbta .content {
	padding-top: 32px;
	padding-bottom: 0;
}
div#sponsors a {
	background-color: #ffffff;
}

/*------------------------------------------------------------------------------------*/
/************************/
/*** HEADER BAR+TITLE ***/
/************************/
#generic-header,
#sched-header,
#exhibitors-header,
#archive-header,
#get-to-bbf-header {
	height: 225px;
}
#generic-header h2,
#sched-header h2,
#exhibitors-header h2,
#archive-header h2,
#get-to-bbf-header h2 {
	font-size: 42px;
	line-height: 84px;
}

/*------------------------------------------------------------------------------------*/
/************************/
/*** ABOUT US CONTENT ***/
/************************/
/* Header photo text overlay */
div#about-us-header div.av-image-caption-overlay-position {
	top: 80px;
	left: 135px;
	width: 360px;
	padding: 0;
}
div#about-us-header div.av-image-caption-overlay-center {
	padding: 0;
	vertical-align: top;
	text-align: left;
	letter-spacing: 1.2px;
	line-height: 28px;
}
/* Allow 1300px wide photo to appear 100% */
div#about-us-header div.container {
	padding: 0;
}
/* Hide caption text for tablet and smaller */
@media only screen and (max-width: 1000px) {
	div#about-us-header div.av-image-caption-overlay-position {
		display: none;
	}
}
/* Headline and name formatting */
div#contact-us div.flex_column.av_one_half {
	/*text-align: center;*/
	left: 25%;
	transform: translateX(-25%);
}
@media only screen and (max-width: 1000px) {
	div#contact-us div.flex_column.av_one_half {
		left: 0;
		transform: none;
	}
}
div#who-we-are h3 {
	font-size: 22px;
}
/*------------------------------------------------------------------------------------*/
/*****************/
/*** BLOG PAGE ***/
/*****************/

/* Allow 1300px wide photo to appear 100% */
div#news-header div.container {
	padding: 0;
}
/* Blog Styling > Elegant */
#top .fullsize .template-blog .post .entry-content-wrapper > * {
	max-width: 800px;
}
/* Remove hover overlay */
article.post-entry span.image-overlay.overlay-type-extern {
	display: none !important;
}
/* Post title */
article.post-entry h2.post-title.entry-title a,
article.post-entry h1.post-title.entry-title a {
	letter-spacing: normal;
	text-transform: none;
}
/* Post date/time */
.html_elegant-blog #top .post-entry .post-meta-infos {
	margin-top: 0;
	border-top-width: 0;
}
.html_elegant-blog #top.single-post .post-entry .post-meta-infos,
.html_elegant-blog #top.archive .post-entry .post-meta-infos {
	top: 0;
}
.html_elegant-blog #top.single-post div.entry-content,
.html_elegant-blog #top.archive div.entry-content {
	position: relative;
	top: 10px;
}
.html_elegant-blog #top.archive .post-entry img.wp-post-image {
	width: 100%;
}
/* Post bottom border/separator */
header.entry-content-header {
	border-color: #e1e1e1;
	border-bottom-width: 1px;
    border-bottom-style: solid;
    padding-bottom: 10px;
}
/* Hide blog post minor meta info */
.html_elegant-blog #top .post-entry span.minor-meta {
	display: none;
}
/* Read More --> */
article.post-entry div.read-more-link {
}
.html_elegant-blog a.more-link {
	border: none;
	font-size: 22px;
	text-transform: capitalize;
	color: #282833;
}
.html_elegant-blog a.more-link:hover {
	text-decoration: none;
	color: #f2120b;
}
.html_elegant-blog a.more-link:after {
	font-family: "icon-bbf";
	content: " \E801";
}
.html_elegant-blog a.more-link span.more-link-arrow {
	display: none;
}

/*------------------------------------------------------------------------------------*/
/*****************/
/*** BLOG POST ***/
/*****************/

/* Top border, below header */
body.single-post div#main {
	border-top: #282833 1px solid;
}
article.post-entry div.big-preview.single-big {
	margin: 0;
	padding: 0;
}
article.post-entry span.image-overlay.overlay-type-image {
	display: none!important;
}
/* Disable lightbox link on photo */
body.single-post article.post-entry div.big-preview.single-big a {
	pointer-events: none;
}
/* Photo width = text/column width */
body.single-post article.post-entry div.big-preview.single-big img.wp-post-image {
	width: 100%;
}

/*------------------------------------------------------------------------------------*/
/*************/
/*** STORE ***/
/*************/

/* Top border, below header */
body#top.woocommerce-page div#main {
	border-top: #282833 1px solid;
}
body#top.woocommerce-page ul.products li {

}
/* Hide sidebar */
body#top.woocommerce-page aside.sidebar {
	display: none !important;
}
/* Product page - Hide ALL tabs */
body#top.woocommerce-page div.single-product-summary div.woocommerce-tabs {
	display: none !important;
}
/* Product page - Hide ONLY reviews tab */
body#top.woocommerce-page div.single-product-summary div.woocommerce-tabs div#tab-reviews,
body#top.woocommerce-page div.single-product-summary div.woocommerce-tabs li.reviews_tab {
	/*display: none !important;*/
}
/* Product page - Disable lightbox link on photo */
body#top.woocommerce-page div.single-product-main-image div.images a.woocommerce-main-image {
	pointer-events: none;
}
/* Product page - Return To Shop button (single-product.php) */
#top div.summary.entry-summary form.cart {
	margin-bottom: 0;
}
div.return-to-shop a.button.wc-backward {
	/*margin-left: 3%;*/
	margin-bottom: 10px;
}
body.single-product div.return-to-shop a.button.wc-backward {
	/*margin-top: -10px;*/
}

/*------------------------------------------------------------------------------------*/
/*****************************/
/*** FESTIVAL PAGE CONTENT ***/
/*****************************/
/* (2016 FESTIVAL subpages) */
div#sched-header div.widget.widget_text {
	padding: 0;
}
div#sched-header div.textwidget {
	text-align: center;
}
div#sched-header div.textwidget h2 {
	margin: 0;
}

/*------------------------------------------------------------------------------------*/
/**************/
/*** FOOTER ***/
/**************/

div#footer {
	min-height: 327px;
}
div#footer div.flex_column.av_one_third {
	margin-top: -18px;
}
div.logo-footer span.image-overlay {
	display: none!important;
}
div#footer div.copyright {
	margin-top: 18px;
}
div#footer div.byline {
	margin-top: 4px;
	font-size: 11px;
}
div#footer div.about,
div#footer div.contact {
	margin-top: 40px;
}
div#footer div.about div.link {
	font-size: 14px;
}
div#footer div.about div.contactInfo {
	margin-top: 16px;
}
/* SUPPORT BUTTON */
div#footer .sponsor {
	clear: both;
	margin-top: 10px;
	width: 169px;
	height: 46px;
	float: left;
}
div#footer .sponsor .button {
	background-color: #f9f9f7;
	color: #f2120b;
	font-size:17px;
	line-height: 27px;
	text-align: center;
}
div#footer .sponsor a:hover {
	text-decoration: none;
}
div#footer .sponsor a:hover .button {
	background-color: #f2120b;
	color: #f9f9f7;
}
/* Override WooCommerce .button */
.woocommerce-page div#footer .button {
	min-width: 110px;
	padding: 9px 22px;
	margin: 0;
	float: none;
	width: auto;
	vertical-align: middle;
	text-decoration: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	border-radius: 0;
}
/*div#footer .sponsor a .button {
	margin-top: 24px;
	border:none;
    border-radius: 2px;
	height:46px;
	padding: 0 14px;
	line-height:46px;
	background-color:#5eeeff;
	color:#0974a0;
	float:left;
	transform: translateY(-50%);
}*/
div#footer .sponsor a:hover .button {
	/*background-color:#47b0bc;*/
	/*color:#ffffff;*/
}
/* ConstantContact */
#footer.footer_color .gcc_textbox {
	margin-top: 10px;
	width: 240px;
	height: 41px;
	float: left;
}
#footer.footer_color .gcc_textbox .gcc_textbox_class {
	padding: 11px;
    border: none;
    background-color: #fff;
	border-radius: 0px;
	font-family: "Montserrat", sans-serif;
	font-weight: 400;
	font-size: 13px;
	color: #949494;
}
.gcc_button {
	margin-top: 10px;
	float:left;
}
.gcc_button .gcc_textbox_button {
	cursor: pointer;
	background-color: #f2120b;
	width:47px;
	height:38px;
	border:none;
	border-radius:0px;
	box-shadow:none;
	padding: 0 0 0 15px;
	text-shadow:none;
	font-size: 25px;
	line-height: 38px;
}
.gcc_button .gcc_textbox_button:hover {
	/*background-color: #949494;*/
	background-color: #dfe6ef;
	color: #f2120b;
}
.gcc_caption, .gcc_msg {
/*	visibility:hidden;*/
	display:none;
}
/* button from CC form (not plugin) */
input.gcc_textbox_button.btn-primary {
	margin-left: -15px;
	position: absolute;
	opacity: 0;
}
#top form#command,
#top form#command fieldset {
	margin-bottom: 0;
}

/* MOBILE */
/* Vertical space above and below logo */
@media only screen and (max-width: 767px) {
	#footer .widget {
		margin: 0;
	}
}
/* Display logo at 100% */
@media only screen and (max-width: 767px) {
	.responsive .logo img {
	    max-height: 120px;
	}
}

/*------------------------------------------------------------------------------------*/
/*****************/
/*** SCHED.ORG ***/
/*****************/

html body#schedorg {
	font-family: "MalloryBook", Arial, sans-serif !important;
	font-weight: normal !important;
}
html body#schedorg a,
html body#schedorg #sched-views .sched-toggle li a {
	color: #f2120b;
}

li.sched-menu-link a {
	font-size: 18px;
	color: #000000;
}
.schedorg-body-sidebaroff #sched-menu-search,
#sched-container-header-menu li.sched-share {
	display: none;
}
/* Square avatars */
html body#schedorg .sched-avatar,
html body#schedorg .sched-avatar img,
html body#schedorg .sched-avatar .sched-avatar-letter {
	border-radius: 0;
}
/* Square bullets */
html body#schedorg #sched-sidebar-filters li a span.box, 
html body#schedorg span.box, 
html body#schedorg #event-type a span.box, 
html body#schedorg .container span.box,
html body#schedorg #sched-sidebar-menu-links li a span.box {
	border-radius: 0;
}