/*
 Theme Name:   Libscores SUPress Child
 Theme URI:    http://libscores.syr.edu/supress-child/
 Description:  Libscores Child Theme, extended for SUPress main website
 Author:       Syracuse University Press
 Author URI:   http://syracuseuniversitypress.syr.edu
 Template:     libscores
 Version:      1.3.6
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 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.

 Libscores is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
 Underscores is distributed under the terms of the GNU GPL v2 or later.

 Normalizing styles have been helped along thanks to the fine work of
 Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/

 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  supress
*/

/*--------------------------------------------------------------
>>> CHANGE HISTORY
----------------------------------------------------------------
# V1.0.1  2018-05-21 DJR Initial release with supress-child theme and custom post type supressbooks
# V1.1.1  2019-02-03 DJR Multiple development changes reflected in GIT (latest removed Title from pages)
# V1.1.2  2019-02-06 DJR Added list-categor-posts template for new books page
# V1.1.3  2019-02-08 DJR Added New Books template and Series template and style changes to footer
# V1.1.4  2019-02-11 DJR Added support for book searching
# V1.1.5  2019-02-14 DJR Multiple styling and theme appearence changes
# V1.1.6  2019-02-14 DJR Added aside for series list view to hold contact info
# V1.1.7  2019-02-17 DJR Added support for status (new book) taxonomy and set package name
# V1.1.8  2019-02-18 DJR Added narrow content support
# V1.1.9  2019-02-21 DJR Added classes to contacts page
# V1.1.10 2019-02-22 DJR Refined responsive css for contacts page
# V1.1.11 2019-03-01 DJR Final prelaunch refinements
# V1.1.12 2019-03-01 DJR Updated giving graphic in footer, CORS issue
# V1.1.13 2019-03-05 DJR Added prefixless titles and distributed by [publisher]
# V1.1.14 2019-03-08 DJR Move cover image to folder inside uploads tree
# V1.1.15 2019-03-20 DJR Added ebooks link, off site link icons, formatted series links
# V1.1.16 2019-03-26 DJR Added styling for Contact us in right aside on pages
# V1.1.17 2019-03-28 DJR Added google analytics
# V1.1.18 2019-03-28 DJR Added styles for aside text at 85% of content
# V1.1.19 2019=03-28 DJR Added thumbnail images on all list views
# V1.1.20 2019-03-28 DJR Ordered subject tags by count
# V1.1.21 2019-03-29 DJR Search results empty return last books published, Added comments
# V1.1.22 2019-04-03 DJR Added gtag for rollup account and refined search results for pages
# V1.1.23 2019-04-09 DJR Limit analytics to production site only, minor styling update
# V1.1.24 2019-04-11 DJR Added published date to books and formatted page search results
# V1.1.25 2019-04-28 DJR Removed the 'Publish' label on book page and minor formatting
# V1.1.26 2019-04-28 DJR Add a new books sidebar widget area, fix search positioning in phone format
# V1.1.27 2019-05-01 DJR Add styling for new books sidebar images and links for catalog
# V1.1.28 2019-05-01 DJR Added styling for Special Offers category listing (newbooks.php)
# V1.2.00 2019-05-06 DJR Added support for slick-sliding banner on home page (updated parent req))
# V1.2.1  2019-05-29 DJR Added styling for homepage content and layout
# V1.2.2  2019-06-03 DJR Removed author and published date for news items (posts)
# V1.2.3  2019-06-17 DJR Refine search results by publication date and handle default post data type
# V1.2.4  2019-07-02 DJR Limit the number of subject terms displayed to 4
# V1.2.5  2019-07-17 DJR Added a screenshot thumbnail for the theme
# V1.2.6  2019-08-22 DJR Added relavance score to book sort order
# V1.2.7  2019-09-23 DJR Added check for premium version of relavansii
# V1.2.8  2019-10-28 DJR Fixed the display for the search and cart icons
# V1.3.0  2020-02-19 DJR Update theme to support latest libscores parent
# V1.3.1  2020-02-19 DJR Added Event Manager style customizations
# V1.3.2  2020-03-10 DJR Added in News and Events styles from LibNews theme
# V1.3.3  2020-04-23 DJR Added shortcode feature to show google play book viewer
# V1.3.4  2020-04-27 DJR Added book lookup and link to google books
# V1.3.5  2020-05-12 DJR Fixed logic for getting book isbn with/without "|" char
# V1.3.6  2021-02-08 DJR Rearranged meta data on book page
#
*/


/*.em.em-calendar.size-medium .em-cal-body .em-cal-day.eventful .em-cal-day-date.colored,.em.em-calendar.size-medium .em-cal-body .em-cal-day.eventful-post .em-cal-day-date.colored,.em.em-calendar.size-medium .em-cal-body .em-cal-day.eventful-pre .em-cal-day-date.colored,.em.em-calendar.size-small .em-cal-body .em-cal-day.eventful .em-cal-day-date.colored,.em.em-calendar.size-small .em-cal-body .em-cal-day.eventful-post .em-cal-day-date.colored,.em.em-calendar.size-small .em-cal-body .em-cal-day.eventful-pre .em-cal-day-date.colored {
    --date-border-color-top: none;
    --date-border-color-right: none;
    --date-border-color-bottom: none;
    --date-border-color-left: none;
    --date-border-color: #a8d144;
    --date-border: 1px solid var(--date-border-color)
}*/

/*.page-id-2835{
  max-width:1280px;
}*/
#primary {
  width:100% !important;
}

@media screen and (min-width: 768px) {
    .page .hentry .post-content{
        width: 100% !important;
    }
}

blockquote:before {
    top: -.05em;
    left: -.03em;    
}
#footer-social-navigation {
    background-color: #d44500;
}

#lockdown {
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

#lockdown,
#site-navigation,
#menu-social-links,
.site-info {
    padding: 0 2em;
    max-width: 1280px;
}

#lockdown,
#menu-social-links,
.site-content,
.site-info {
    margin-left: 3em;
}

.content-narrow {
    width: 100% !important;
}

#lockdown .header-lockdown-image {
    /*margin-left: 3em;*/
}

.menu-hamberger-container {
    position: absolute;
    top: 0px;
    left: -30px;
}

.main-navigation ul li a:first-child,
.footer-social-navigation-menu ul a:first-child {
    padding-left: 0;
}

.search .page-content {
    color: #000000;
    background-color: #ffffff;
}

.footer-copyright {
    display: flex;
    justify-content: flex-start;
    padding-left: 80px;
}

a[target="_blank"]:after {
    content: url(assets/images/img-new-window-grey.png);
    padding: 0px 5px;
    white-space: nowrap;
}

.site-info a[target="_blank"]:after,
.footer-copyright a[target="_blank"]:after {
    content: url(assets/images/img-new-window-white.png);
}

.supressbook-gbooks a[target="_blank"]:after {
    content: url(assets/images/img-new-window-white.png);
    padding: 0px 5px;
    white-space: nowrap;
}

.footer-otherlinks p {
    margin: 1em;
}

.widget a,
.entry-meta a,
.entry-footer a {
    font-weight: 400;
    border-bottom: 2px solid #d44500;
}

.widget a:hover,
.widget a:focus,
.entry-meta a:hover,
.entry-meta a:focus,
.entry-footer a:hover,
.entry-footer a:focus {
    font-weight: 700;
    color: #d44500;
}

.site-cart, .site-search {
	display: inline-block;
        color: #ffffff;
	fill: #ffffff;
	height: 2em;
	position: relative;
	/* Align more nicely with capital letters */
	top: .2rem;
        left: .2rem;
	vertical-align: middle;
	width: 2em;
	/*background-color: #222;
	border-radius: 50%;
	padding: .25em;*/     
}

li.cart-utility,
li.search-utility {
    margin-left: 2em;
}

@media screen and (max-width: 768px) {
    li.cart-utility,
    li.search-utility {
        margin-left: 0em;
    }   
}

li.cart-utility a,
li.search-utility a {
        margin: .25em;
        padding: .25rem !important;
        font-size: 0.85rem;
        width: 2.6rem;
        height: 2.6rem;
	background-color: #3e3d3c;
        border: #3e3d3c solid 1px;
        border-radius: 50%;
}

li.cart-utility a:hover,
li.search-utility a:hover {
	background-color: #d44500;
        border-color: #d44500;
}

.search-utility .search-form {
    /*top: .5em;
    right: 7em;
    width: 15em;
    text-align: left;*/
    position: absolute;
    top: 4em;
    right: 5px;
    width: 23em;
    padding: 2px;
    background-color: transparent;
    text-align: right;
    z-index: 999;
    display: none;
}

blockquote {
    font-style: normal;
}

.hide-list {
    display: none;
}

.site-header {
    margin: 0;
}

.site-branding {
    width: 15%;
}

.page-title {
    font-weight: 400;
    color: #3e3d3c;
}

.main-navigation ul li a {
    font-size: 1.25em;
}

.entry-subtitle {
    font-size: 1.5em;
    padding-bottom: 1em;
}

.supressbook .entry-content {
    margin: 0;
}

.supressbook .entry-content h2.supressbook-meta-subtitle {
    margin: 0 0 1em 0;
}

.supressbook .supressbook-meta-reviewer,
.supressbook .supressbook-meta-promotion {
    margin-top: 2em;
}

.supressbook-entry-header .cover-art img {
    width: 300px;
}

.supressbook-entry-header .cover-art.thumbnail img {
    width: 100px;
}

p.site-title {
    display: none;
}

.header-lockdown .header-lockdown-image img {
    max-height: 30em;
    max-width: 25em;
    padding: 1em .5em .5em .5em;
    margin: 0;
    border: 0;
}

.header-utility {
    font-size: 1.2em;
    margin: .5em 1em;
    margin-left:auto;
}

h2.supressbook-meta {
    font-size: 1.5em;
}

.homepage-content-container {
    width: 100%;
}
            
.homepage-content-container,
.supressbook-browse-container {
    display: flex;
    justify-content: flex-start;
}

ul.supressbook-browse-nav,
ul.supressbook-resource-nav {
    width: 250px;
    /*flex: 1 0;*/
    margin-top: 50px;
    list-style: none;
}

ul.supressbook-browse-nav li,
ul.supressbook-resource-nav li {
    margin-bottom: 1em;
}

.supressbook-browse-list {
    margin-top: 50px;
}

.supressbook-resource-list {
    display: flex;
    justify-content: space-between;
}

.supressbook-resource-content {
    margin-top: 0px;
    width: 100%;
}

.widget {
    font-family: "ShermanSans", "Trebuchet MS", Tahoma, sans-serif;
}

.supressbook-resource-content .textwidget {
    font-size: 100%;
}

.supressbook-resource-contact-us {
    margin-left: 100px;
}

.supressbook-azlist {
    margin-top: 2.5em;
}

@media screen and (max-width: 768px) {
    .homepage-content-container,
    .supressbook-resource-list {
        flex-wrap: wrap;
    }
    
    .supressbook-resource-contact-us {
        margin-left: 0;
    }
}

@media screen and (max-width: 480px) {
    .supressbook-browse-container {
        flex-wrap: wrap;
    }
}
/*.supressbook-resource-link {
    padding: 5px;
} 

.supressbook-resource-link.current {
    background-color: #6f777d;
    color: #ffffff;
}

.supressbook-resource-link.current:hover {
    color: #ffffff;
}*/
.homepage-page-title {
    font-family: "ShermanSerif", Georgia, serif;
    font-size: 2.6em;
    font-weight: 400;
    color: #d44500;
    margin-top: 0;
}

.homepage-section-title {
    font-family: "ShermanSans", "Trebuchet MS", Tahoma, sans-serif;
    font-size: 2.0em;
    font-weight: 400;
    /*font-style: italic;*/
}

.supressbook-section-title {
    font-family: "ShermanSans", "Trebuchet MS", Tahoma, sans-serif;
    font-size: 2.6em;
    font-weight: 400;
}

.supressbook-subsection-title {
    font-family: "ShermanSans", "Trebuchet MS", Tahoma, sans-serif;
    font-size: 1.75em;
    font-weight: 400;
}

.supressbook-list-subtitle {
    display: block;
    font-size: .9em;
    font-weight: 400;
}

ul.lcp_catlist {
    list-style: none;
    padding: 0;
}
ul.lcp_catlist li {
    margin: 2em 0;
}

/*ul.lcp_catlist li a:after {
    content: "\A";
    white-space: pre;
}*/

.letter-section ul.columns {
    max-width: 100% !important;
}

li.lcp-customfield.supressbook .supressbook-newbook-wrapper {
    display: flex;
}

li.lcp-customfield.supressbook img {
    padding: 10px;
    height: 150px;
}

li.lcp-customfield.supressbook .supressbook-title-wrapper,
h2.supressbook-title-wrapper {
    /*display: flex;*/
    font-size: 1.2em;
}

li.lcp-customfield.supressbook .supressbook-booklist-content {
    margin-left: 1em;
}

li.lcp-customfield.supressbook .supressbook-title a {
    padding-right: 0px;
}

/*li.lcp-customfield.supressbook .supressbook-title a:after {
    content: "";
    white-space: initial;
}*/

section.entry-content.page-content {
    width: 100%;
}

.page-section-title,
.press-news-title {
    font-size: 1.25em;
    font-weight: 700;
}

.supressbook-main-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.supressbook-main-content {
    min-width: 300px;
    margin-right: 4em;
    flex: 3 1;
}

.supressbook-main-aside,
.supressbook-term-aside {
    min-width: 300px;
    flex: 1 1;
}

.supressbook-term-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2em;
}

.supressbook-term-contact {
    padding-left: 2em;
}

.site-info .footer-address ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-address,
.site-footer .footer-quicklinks {
    font-size: .875em;
    white-space: nowrap;
}

.site-footer .footer-address a,
.site-footer .footer-quicklinks a {
    margin: .5em 0;
}

.site-footer .site-info .footer-col-title {
    font-size: 1.235em;
    font-weight: 400;
}

.supressbook-meta-promotion {
    background-color: #ffffff;
    color: #d44500;
    margin: 1em 0;
    padding: 1em;
    font-size: 1.25em;
}

.content-contact-wrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}

@media screen and (max-width: 860px) {
    .content-contact-wrapper {
        justify-content: flex-start;
    }
}

.contact-staff-directory {
    width: 60%;
    padding-right: 2em;
    flex: 0 1 auto;
}

.contact-staff-info {
    width: 300px;
    flex: 0 0 auto;
}

.contact-staff-wrapper {
    display: flex;
    justify-content: space-between;
    min-height: 150px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-staff-name {
    min-width: 300px;
    padding: 0 10px;
    flex: 1 0 auto;
}

.contact-staff-name span.staff-name {
    font-weight: bold;
    font-size: 1.135em;
}

.contact-staff-email {
    min-width: 150px;
    padding: 0 10px 10px 10px;
    flex: 1 1 auto;
}

.contact-staff-image {
    min-width:100px;
    padding: 0 10px;
}

.contact-staff-wrapper img {
    width: 100px;
}

.supressbook-title-wrapper a,
.supressbook-title-wrapper a:visited {
    color: #d44500;
    font-weight: 400;
}

.supressbook-title-wrapper a:hover {
    color: #3c3d3e;
    font-weight: 700;
}

.entry-title {
    /*margin-top: 1em;*/
    line-height: 1.25;
}

.supressbook-meta-subtitle {
    margin-top: 0;
    font-family: "ShermanSans", "Trebuchet MS", Tahoma, sans-serif;
    font-style: italic;
}

.entry-title,
.entry-subtitle,
.supressbook-meta-subtitle {
    font-weight: 400;
}

.supressbook-meta-series {
    font-size: 100%;
}

.supressbook-meta {
    font-family: "ShermanSans", "Trebuchet MS", Tahoma, sans-serif;
}

.entry-title,
.supressbook-buttons {
    font-family: "ShermanSerif", Georgia, serif;
}

.homepage-left-content {
    flex: 2 1 66%;
    margin-right: 2em;
}

.homepage-right-aside {
    flex: 2 1 33%;
}

.homepage-right-aside,
.contact-staff-info,
.supressbook-resource-contact-us,
.supressbook-term-aside {
    font-size: 85%;
}

.homepage-section {
    margin-bottom: 2em;
}

.supressbook-resource-contact-us,
.supressbook-term-aside {
    margin-top: .725em
}

.supressbook-term-aside .textwidget figure {
    margin: 20px;
    border: 0;
}

.supressbook-term-aside .textwidget figure a {
    border: none;
}

.supressbook-term-aside .textwidget figure img {
    width: 150px;
}

.supressbook-term-aside .textwidget figure figcaption {
    margin: 10px 0px;
}

.contact-entry-title.entry-title {
    font-size: 2em;
    margin-top: .325em;
}

#az-slider ul li a:hover,
.page-content a:hover,
.entry-content a:hover {
    font-weight: 700;
    color: #d44500;
}

.az-letters ul.az-links li a {
    color: #3c3d3e;
    display: block;
}

.az-letters ul.az-links li:hover,
.az-letters ul.az-links li a:hover{
    font-weight: 700;
    color: #ffffff;
    background-color: #3c3d3e;
}

.entry-meta-author,
.entry-meta-contributor {
    margin-top: 2em;
}

.slider-content {
    width: 50%;
}

/*
Override Event Manager plugin default styles
*/

.css-events-list table.events-table td,
.css-events-list table.events-table th {
    padding: 1em;
}

.widget_em_widget h3 {
    font-size: 1.1em;
}

.all-events-link a,
.all-events-link a:visited,
.widget_em_widget h3 a,
.widget_em_widget h3 a:visited {
    color: #d44500;
    border-bottom: #d44500 solid 1px;
}

.all-events-link a:hover,
.all-events-link a:focus,
.widget_em_widget h3 a:hover,
.widget_em_widget h3 a:focus {
    color: #d44500;
    border: 0;
    /*font-weight: 700;*/
}

table.events-table a {
    color: #d44500;
}

table.events-table a:hover,
table.events-table a:focus {
    border-bottom: none;
}

table.em-calendar td.eventless-pre,
table.em-calendar td.eventful-pre,
table.em-calendar td.eventless-post,
table.em-calendar td.eventful-post {
    opacity: 0;
}

table.em-calendar td.eventful a {
    color: #d44500;
}

table.em-calendar td.eventless-today, 
table.em-calendar td.eventful-today {
  background: #d44500;
  color: #fff;
}

table.em-calendar td.eventless-today a, 
table.em-calendar td.eventful-today a {
  color: #fff;
}

table.em-calendar td.eventful a, 
table.em-calendar td.eventful-today a {
  text-decoration: underline;
  display: inline-block;
  padding: 0 5px;
}

table.em-calendar td.eventful a:hover, 
table.em-calendar td.eventful-today a:hover {
  border: none;
  text-decoration: none;
}
table.em-calendar td.eventful a:focus, 
table.em-calendar td.eventful-today a:focus {
  color: #fff;
  outline: none !important;
  border: none;
  background-color: #0003ff;
}

table.em-calendar .em-calnav-prev:hover,
table.em-calendar .em-calnav-prev:focus,
table.em-calendar .em-calnav-next:hover,
table.em-calendar .em-calnav-next:focus {
    color: #d44500;
}

.eventm {
    width: 80%;
}

@media screen and (max-width: 768px) {
    .eventm {
        width: 100%;
    }
}

.eventm th.event-time {
    width: 40% !important;
}

.em-events-search-dates label span {
    content: "Dates (mm/dd/yyyy) ";
}

/* 
 * Styling overrides for News and Events
 * taken from the LibNews theme
*/
#content {
	max-width: 1280px;
}

.css-events-list table.events-table td {
	padding: .4em;
	min-width: 200px;
}

.footer-otherlinks a {
	white-space: nowrap;
}

.footer-otherlinks img {
	vertical-align: top;
}

ul.news-post-list {
    list-style: none;
}

.news-title {
    font-size: 1.5em;
}

.news-title a {
    color: #d44500;
}

.news-title a:hover,
.news-title a:focus {
    color: #d44500;
    border-bottom: 0;
    /*font-weight: 700;*/
}

.lcp_paginator li {
    border: 0 !important;
}

ul.lcp_catlist li:first-child h2.news-title {
    margin-top: 0;
}

p.libnews-timeline-nav {
    margin: 0 3em;
    padding: 1em 0;
    justify-content: space-between;
    width: 85%;
    overflow-wrap: break-word;
}

p.libnews-timeline-nav a {
    margin: 0 1em;
}

@media screen and (max-width: 768px) {
    p.libnews-timeline-nav {
        flex-wrap: wrap;
    }
	section.entry-content > div {
		flex-wrap: wrap;
	}
}
/*
 * Override default libscores styles
*/

.entry-content a,
.entry-meta a,
.libnews-tags-links a {
    color: #d44500;
    border-bottom: #d44500 solid 1px;
    text-decoration: none;
    font-weight: 400;
}

.entry-content a:hover,
.entry-meta a:hover,
.libnews-tags-links a:hover,
.entry-content a:focus,
.entry-meta a:focus,
.libnews-tags-links a:focus {
    border-bottom: none;
    color: #d44500;
}

h2.libnews-tagged-links {
    display: inline-block;
    font-size: 1.25em;
    padding: 0 5px;
}