:root {
    --color-dk: #222222;
    --color-md: #dddddd;
    --color-lt: #eeeeee;
}

@font-face {
    font-family: 'frutigerbold';
    src: url('../fonts/frutiger_67_bold_condensed-webfont.woff2') format('woff2'),
         url('../fonts/frutiger_67_bold_condensed-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* ================================
 * Buy Links
 * ================================ */

 /* Buy Format Sections */ 
 .abm .books-buy-groups {
     display: flex;
     flex-direction: column;
 }

 .abm .books-buy {
     display: block;
     margin-bottom: 16px;
     width: 100%;
 }

 /* Buy Format Groups Vertical Order */
 .abm .books-buy.order-1 {
     order: 1;
 }

 .abm .books-buy.order-2 {
    order: 2;
}

.abm .books-buy.order-3 {
    order: 3;
}

/* Text */
.abm .buy-links a::before {
    position: relative;
    font-family: 'icons';
    content: '\ea35';
    font-size: 10px;
    padding-right: 2px;
    top: 1px;
    width: 10px;
    height: 10px;
    line-height: inherit;
}

/* Icons */
.abm .icons-inline li.seller-icon-missing {
    border: 1px solid var(--color-dk);
    padding: 0;
}

.abm .icons-inline li.seller-icon-missing a {
    text-align: center;
    display: block;
    padding: 8px;
    width: 100px;
    margin-left: -6px;
    margin-top: -6px;
}

.abm .icons-inline li {
    display: inline-block;
    width: auto;
    padding: 6px 12px;
    border: 1px solid var(--color-md);
}

.abm .icons-inline li a {
    display: block;
    width: 100%;
    height: 100%;
}

.abm .icons-inline li:hover {
    border-color: var(--color-dk);
}

.abm .icons-inline li,
.abm .buttons-inline li {
    display: inline-block;
    width: auto;
    margin-right: 12px;
}

/* Buttons */
.abm .buttons.buttons-inline li {
    display: inline-block; 
    width: 48%;
    margin: 0 4px 8px 0;
}

.abm .buttons.buttons-inline li a {
    border: 0;
    border-radius: 30px;
    background: var(--color-dk);  
    color: var(--color-lt);
    padding: 8px 20px;
    display: block;
	width: 100%;
	max-width: 100%;
	text-align: center; 
    font-weight: 500;
    font-family: 'frutigerbold';
    font-size: 11.5pt;
}

.abm .buttons.buttons-inline li a:hover {
    border-color: var(--color-lt);
    background: var(--color-lt);
    color: var(--color-dk);
}

.abm .icons-inline li:last-of-type a,
.abm .buttons.buttons-inline li:last-of-type a {
    margin-right: 0;
}

/* ================================
 * Book Groups
 * ================================ */

.abm h3.section-title { font-size: 32px; }

.abm .type-books > .row:first-of-type h3 { margin-top: 0; }

.abm .group-description {
    font-size: 18px;
    text-align: center;
}

.abm .row {
    justify-content: flex-start;
}

/* ================================
 * Book Covers
 * ================================ */

.abm .caption {
    text-transform: none;
}

.abm .book-cover-single {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 8px;
    width: auto;
}

.abm .book-cover-single a {
    border: 1px solid var(--color-md);
}

.abm .book-cover-single.alignleft {
    text-align: left;
    float: left;
    margin-right: 20px;
    margin-bottom: 12px;
}

.abm .book-cover-single.alignright {
    text-align: right;
    float: right;
    margin-left: 20px;
    margin-bottom: 12px;
}

.abm .book-cover-single img.wp-post-image.small {
    max-width: 175px;
    height: auto;
}

.abm .book-cover-single img.wp-post-image.medium {
    max-width: 230px;
    height: auto;
}

.abm .book-cover-single img.wp-post-image.large {
    max-width: 320px;
    height: auto;
}

.abm .book-cover-group a {
    display: inline-block;
}

.abm .book-cover-group_title {
    display: block;
    padding-top: 0;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
}

@media only screen and ( max-width: 688px ) {
	
	.abm .book-cover-group_title {
	    margin-top: -12px !important;
    }
	
} 

.abm .book-cover-group_series {
    display: block;
}

.abm .book-cover-group_number {
    display: block;
}

.abm .book-cover-group_links {
    display: block;
    margin-top: 12px;
}

.abm .book-cover-group_links ul {
    margin: 0 auto 4px auto;
    padding: 0;
}

.abm .book-cover-group_links ul li {
    display: inline-block;
    margin: 0 3px;
    padding: 0;
}

.abm .book-cover-group_links ul li:first-child {
    margin-left: 0;
}

.abm .book-cover-group_links ul li:last-child {
    margin-right: 0;
}

.abm .book-cover-group_links a {
    display: inline-block;
    padding: 4px 12px;
    margin: 2px 0;
    border: 1px solid var(--color-md);
    border-radius: 30px;
    font-size: 14px;
    line-height: 1.2;
}

.abm .book-cover-group_links a:hover {
    border: 1px solid var(--color-lt);
    background: var(--color-lt);;
}

/* ================================
 * Books Related
 * ================================ */

 .abm .books-related {
    display: flex;
    justify-content: stretch;
    align-items: top;
    flex-wrap: wrap;
}

.abm .books-related div {
    padding-left: 0;
    padding-top: 0;
    text-align: center;
}

.abm .books-related img {
    border: 1px solid var(--color-md);
}

.abm .books-related .book-cover-group_title,
.abm .books-related .book-cover-group_number,
.abm .books-related .book-cover-group_caption {
    line-height: 1.2;
    padding-top: 0;
    padding-bottom: 8px;
    text-align: center;
}

.abm .books-related .book-cover-group_title a:hover {
    text-decoration: none;
    opacity: 0.5;
}

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

    .abm .books-related div a {
        max-width: 92%;
        margin: 0 auto;
        text-align: center;
    }

    .abm .books-related .wp-post-image {
        margin-bottom: 0 !important;
    }
}

/* ================================
 * Book Details
 * ================================ */

.abm #details ul li {
    padding-bottom: 4px;
}

.abm .list-content {
     margin-bottom: 30px;
}

.abm .list-content h3 {
     border-bottom: 1px solid var(--color-md);
     padding-bottom: 12px;
}

.abm .side-content h3 {
    border-bottom: 1px solid var(--color-md);
    padding-bottom: 12px !important;
}

/* ================================
 * Book Sidebar
 * ================================ */

.abm .side-content .icons-inline li {
    max-width: 22%;
}

/* ================================
 * Book Tabs
 * ================================ */

.abm .tabs #tabs .tab-content {
    padding-top: 20px;
}

/* ================================
 * Book Excerpt
 * ================================ */

 .abm #excerpt .button-print {
     margin: 12px 0 20px auto;
     text-align: right;
 }


 .abm #excerpt .button-print a.button,
 .abm #excerpt .button-print a.button:hover,
 .abm #excerpt .button-print a.button:focus {
    border-width: 1px;
    padding: 8px 24px;
    font-size: 16px;
 }

 .abm #excerpt .button-print a.button:hover,
 .abm #excerpt .button-print a.button:focus {
    color: var(--color-md);
 }

 .abm #excerpt .book-excerpt p:not(.button-print) {
    text-indent: 2em;
    padding: 0;
 }

 .abm #excerpt .book-excerpt p:first-of-type {
    text-indent: 0;
 }
