/*
supressbook styles

Author: Syracuse University
Copyright: 2020

History
  see plugin php file

*/

.toggleable {
    display: none;
}

.supressbook-hr-info {
    margin-top: 2em;
}

.supressbook-buy-now {
    color: #000;
    background-color: #fff;
    font-size: 1em;
    display: inline-block;
    margin-left: 2em !important;
}

/*button,*/
.supressbook-buttons a.supressbook-buy-now,
.widget_lc_taxonomy input[type="submit"] {
    cursor: pointer;
    font-size: .75em;
    min-width: 145px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.supressbook-buttons a.supressbook-buy-now,
.widget_lc_taxonomy input[type="submit"] {
    margin: 2px;
    padding: 3px 6px 3px;
    border: 2px outset buttonface;
    border-top: 1px inset buttonface;
    border-left: 1px inset buttonface;
    background-color: buttonface;
    color: buttontext;
    text-align: center;
    text-decoration: none;
    -webkit-appearance: none; /* was button */
}
.supressbook-buttons a:hover,
.widget_lc_taxonomy input[type="submit"]:hover {
    color: #fff;
    background-color: #d44500;
}
/*button img,*/
.supressbook-buttons a img {
    -webkit-user-drag: none;
    -ms-user-drag: none;
}
.supressbook-buttons form {
    display: inline;
    display: inline-block;
}

.supressbook-entry-header {
    display: flex;
}

.featured-image-container {
    position: relative;
}

#supressbook-viewerCanvas {
    width: 350px;
    height: 500px;
    opacity: 0;
}

.supressbook-meta-related-book .supressbook-meta-title {
    color: #3c3d3e;
    font-weight: 400;
    margin-bottom: 20px;
}

.supressbook-meta-related-book-list {
    display: flex;
    justify-content: flex-start;
}

.supressbook-meta-related-book-card {
    width: 300px;
    text-align: center;
    margin-right: 30px;
    margin-bottom: 20px;
}

@media screen and (max-width: 576px) {
    .supressbook-meta-related-book-list {
        flex-wrap: wrap;
    }
    
    .supressbook-meta-related-book-card {
        width: 200px;
    }
}

.supressbook-meta-related-book-card:last-child {
    margin-bottom: 0;
}

.supressbook-meta-related-book-image img {
    display: block;
    max-width: 150px;
    margin-left: auto;
    margin-right: auto;
}

a .supressbook-meta-related-book-caption {
    text-decoration: underline;
}
/*
.featured-image-container .cover-art, 
.featured-image-container .supressbook-gbooks {
    position: absolute;
    top: 0;
    left: 0;
}
*/
.supressbook-gbooks {
    z-index: 100;
    margin-right: 2em;
    padding: 5px;
    background-color: #3c3d3e;
    color: white;
    text-align: center;
    display: none;
}

.supressbook-gbooks a {
    text-decoration: none;
    color: white;
}

.supressbook-gbooks a:hover {
    text-decoration: underline;
}

.supressbook-gbooks a:focus {
    outline-color: white !important;
}

.supressbook-gbooks-show {
    opacity: 1 !important;
}

.cover-art {
    margin-top: .5em;
    margin-right: 2em;
}

.widget_lc_taxonomy input[type="submit"] {
    font-size: 1em;
    line-height: 1.25em;
}

/*
*  Additional CSS to account for a-z listing priorities
*/

.az-letters ul.az-links li a { 
    color: #3c3d3e;
    display: block;
    width: 100%;
    text-align: center;
}
/*
 *  Fix for wrapping content on home page and
 *  reduce the white space on top.
 */
@media screen and (min-width: 768px) {
  section.entry-content.page-content {
    display:flex;
    margin-top: -2em;
  }
}