/* CSS for LisaFeldmanBarrett.com */

/************************************************************************
 * General styling
 ************************************************************************/

.with-background-image:after {
    -ms-filter: "alpha(Opacity=30)";
    filter: alpha(opacity=30);
    opacity: 0.30;
}

/* Site title: "Lisa Feldman Barrett" */
p.site-title a {
    font-family: 'Headland One', serif;
    font-size: x-large;
    font-weight: normal;
}
p.site-title a:hover {
    opacity: .5;
}

/************************************************************************
 * Menus
 ************************************************************************/

.genesis-nav-menu a {
    border: none;
    display: block;
    margin: 0 16px 0;
    position: relative;
    color: #fff;
    opacity: 1;
}

.genesis-nav-menu li a:hover,
.genesis-nav-menu .menu-item a:hover,
.genesis-nav-menu .current-menu-item > a,
.genesis-nav-menu .sub-menu .current-menu-item > a:hover {
    text-decoration: none;
    opacity: .5;
}

/************************************************************************
 * Individual book/team pages
 ************************************************************************/

/* Reduce the size of the header image on individual book pages */
body.single-team div.page-header {
    padding: 0;
}

/* Replace the header image on individual book pages. */
body.single-team div.header-wrap.bg-primary.with-background-image {
    background-image: url(/wp-content/uploads/sites/4/2016/12/BookPage_Background_Wood_1600x300px.jpg) !important;
}

/* Single book page headline text appearance*/
body.single-team h1 {
    display: none;
}

/* Style the [dms] buy button */
body.single-team select.dms-select {
    width: 100%;
}


/************************************************************************
 * Overrides of main home page sections
 ************************************************************************/

/* Testimonial text size */
div.front-page-3 blockquote {
    font-size: 30px;  /* Was 50px */
}

/* Prevent testimonials from overlapping the book image */
div#front-page-2.flexible-widget-area div.wrap {
    padding-bottom: 140px;
}

/* About Dr. Barrett area */
div#front-page-4 h3.widget-title {
    text-align: center;
    color: black;
}

/* Social media icon area */
div#before-footer {
    padding: 20px 0;
}

/* Quotes in Front Page 2 section */
p.homequote {
    margin-bottom: 5px;
    line-height: 1.1;
}

/************************************************************************
 * Articles
 ************************************************************************/

/* Image */
div.lfb-links div.lfb-articles .lfb-links-img {
    max-width: 50%;
    height: auto;
    margin-bottom: 2em;
}

/* Place the image container on the left and the content to its right. */
div.lfb-links div.lfb-articles .lfb-links-pic {
    float: left;
    width: 40%;
    overflow: hidden;
}

div.lfb-links div.lfb-articles .lfb-links-content {
    float: left;
    width: 60%;
    overflow: hidden;
}

/* Stop the facebook iframe from creating so much space below it. */
div.lfb-fb iframe {
    height: 4em;
}

/* No facebook icon because Likes are vanishing - thanks, Facebook */
div.lfb-links div.lfb-articles .lfb-fb {
    display: none;
}

/* Put space after each article */
div.lfb-links div.lfb-articles .lfb-break {
    clear: both;
    margin-bottom: 3em; /* Remove if we restore the facebook likes */
}

/* Enlarge the article title */
div.lfb-links div.lfb-articles .lfb-links-link {
    font-size: x-large;
}

/* Italicize the periodical */
div.lfb-links div.lfb-articles .lfb-links-description {
    font-style: italic;
}

/************************************************************************
 * Papers
 ************************************************************************/

/* Put space after each paper. */
div.lfb-links div.lfb-papers {
    margin-bottom: 2em;
}

/* Hide the date */
div.lfb-links div.lfb-papers .lfb-links-date {
    display: none;
}

/* Indent the full citation */
div.lfb-links div.lfb-papers .lfb-links-notes {
    padding-left: 4em;
    font-style: italic;
    font-size: small;
}

/* Place a PDF icon on the left of each title. */
div.lfb-links div.lfb-papers .lfb-links-link::before {
    display: inline-block;
    content: "";
    background: url("/wp-content/uploads/sites/4/2016/12/pdf.jpg") no-repeat 0 0;
    background-size: 100%;
    margin-right: 5px;
    width: 32px;
    height: 32px;
}

/* No facebook icon */
div.lfb-links div.lfb-papers .lfb-fb {
    display: none;
}

/************************************************************************
 * Upcoming Events
 ************************************************************************/

/* Entire list */
div.lfb-links div.lfb-events {
    text-align: center;
    margin: auto;
    margin-bottom: 2em;
}

/* Date */
div.lfb-links div.lfb-events .lfb-links-date {
    font-weight: bold;
    font-size: x-large;
}

/* Type of event */
div.lfb-links div.lfb-events .lfb-links-description {
    font-weight: bold;
    color: grey;
}

/* No facebook icon */
div.lfb-links div.lfb-events .lfb-fb {
    display: none;
}

/************************************************************************
 * Press
 ************************************************************************/

/* Entire list */
div.lfb-links div.lfb-press {
    text-align: center;
    margin: auto;
    margin-bottom: 2em;
}

/* Date */
div.lfb-links div.lfb-press .lfb-links-date {
    font-weight: bold;
    font-size: x-large;
}

/* Periodical name */
div.lfb-links div.lfb-press .lfb-links-description {
    font-style: italic;
}

/* No images */
div.lfb-links div.lfb-press .lfb-links-pic {
    display: none;
}

/* No facebook icon */
div.lfb-links div.lfb-press .lfb-fb {
    display: none;
}

/************************************************************************
 * Audio
 ************************************************************************/

/* Entire list */
div.lfb-links div.lfb-audio {
    text-align: center;
    margin: auto;
    margin-bottom: 2em;
}

/* Date */
div.lfb-links div.lfb-audio .lfb-links-date {
    font-weight: bold;
    font-size: x-large;
}

/* Periodical name */
div.lfb-links div.lfb-audio .lfb-links-description {
    font-style: italic;
}

/* No images */
div.lfb-links div.lfb-audio .lfb-links-pic {
    display: none;
}

/* No facebook icon */
div.lfb-links div.lfb-audio .lfb-fb {
    display: none;
}

/************************************************************************
 * Video
 ************************************************************************/

/* Entire list */
div.lfb-links div.lfb-multimedia {
    text-align: center;
    margin: auto;
    margin-bottom: 2em;
}

/* Date */
div.lfb-links div.lfb-multimedia .lfb-links-date {
    font-weight: bold;
    font-size: large;
}

/* Video name */
div.lfb-links div.lfb-multimedia .lfb-video-name {
    font-weight: bold;
    font-size: x-large;
}

/* No images */
div.lfb-links div.lfb-multimedia .lfb-links-pic {
    display: none;
}
/* No facebook icon */
div.lfb-links div.lfb-multimedia .lfb-fb {
    display: none;
}

/************************************************************************
 * "Buy" dropdown
 ************************************************************************/

div.dms-container {
    width: 100%;
}

select.dms-select {
    background-color: #e6413f;
    color: white;
    font-weight: bold;
    font-size: large;
    height: 3em;
    width: 10em;
}

select.dms-select option {
    background-color: #e6413f;
    color: white;
    font-weight: bold;
}

select.dms-select:hover {
    background-color: #cf3b37;
}

/************************************************************************
 * Testimonial slider
 ************************************************************************/

/* Uncomment to change size from 14px */
/****
div.bx-wrapper div.bx-pager.bx-default-pager a {
    width: 12px;
    height: 12px;
}
****/

div.bx-wrapper h5 {
    width: 300px;
}

/* Style instructions for testimonials */
section#showcase-testimonial-widget-4 h3.widget-title {
    font-size: 18px;
}

div.lfb-testimonial-instructions {
    font-size: small;
    margin-top: 1em;
}

/************************************************************************
 * Blog posts, category, and search pages
 ************************************************************************/

/* Reduce the font size of the heading. */
body.single-post h1,
body.author h1,
body.archive h1,
body.search h1,
body.error404 h1,
body.category h1 {
    font-size: 48px;
}

/* Reduce the size of the header image. */
body.search header.site-header,
body.error404 header.site-header,
body.single-post div.page-header,
body.author div.page-header,
body.archive header.page-header,
body.category div.page-header {
    padding: 1em;
}

/* Default image */
body.search header.site-header,
body.error404 header.site-header,
body.single-post div.header-wrap.bg-primary:after,
body.archive div.header-wrap.bg-primary:after,
body.category div.header-wrap.bg-primary:after {
    background-image: url(/wp-content/uploads/sites/4/2016/12/BookPage_Background_Wood_1600x300px.jpg) !important;
}

/* Post titles */
body.archive h2 {
    font-size: 36px;
}

/* Don't display categories at the top of the page. */
body.single-post div.page-header span.entry-categories,
body.page-template header.entry-header span.entry-categories,
body.search header.entry-header span.entry-categories {
    display: none;
}

/* Header image default on author pages. */
body.author div.header-wrap.bg-primary:after {
    background-image: url(/wp-content/uploads/sites/4/2016/11/About_1600x1050.jpg) !important;
}

/************************************************************************
 * Blog
 ************************************************************************/

/* Post titles */
body.page-template-page_blog h2 {
    font-size: 36px;
}

/* Tighten up whitespace */
body.page-template-page_blog div.entry-content p {
    margin-bottom: 0.25em;
}

body.page-template-page_blog article.post {
    padding: 5px 0;
}

body.page-template-page_blog p.entry-meta {
    line-height: 0;
    margin-bottom: 1em;
}


/************************************************************************
 * Mobile
 ************************************************************************/

/* Make the submenu button more visible */
button.sub-menu-toggle {
    border: 1px solid white;
}
