body {
    background: #fff;
    background-image: url('/imgs/global_bg_2024.webp');
    font-size:13pt;
    line-height: 16pt;
    color: #000;
    margin: 0;
    padding: 0;
    word-wrap:break-word !important;
    font-family: 'Trebuchet', 'Trebuchet MS', 'Open Sans', sans-serif;
}

h1 {
    font-size: 60px;
}

h3 {
    font-size: 30px;
    line-height: 34px;
}

h2 {
    font-size: 18px;
    line-height: 21px;
}

a {
    color: #A21717;
}

.sort_menu a {
    color: #fff;
}

.email a {
    color: #fff;
}

h1 {
    margin-top: 100px;
    text-align:center;
    font-size:60px;
    line-height: 70px;
}

#container {
    margin: 0 auto;
    max-width: 890px;
}

div.container {
    margin: 0 auto;
    max-width: 1280px;
}
.clearfix {
    clear: both;
}

section.content {
    margin: 0 auto;
    max-width: 1280px;
}

section.content .content {
    max-width: 1250px;
    margin: 30px auto;
}

.book_wrapper, .browse_wrapper {
    padding: 2em 0;
}

.book_wrapper {
    display: flex;
    position: relative;
}

.left_wrap {
    width: 21%;
    margin-right: 5%;
}

.book_cover_wrap img {
    width: 100%;
}

.book_details_wrap {
    width: 79%;
}

.book_title {
    color: #000;
    font-size: 22pt;
    margin: 0 0 .1em 0;
    line-height: 22pt;
    text-align: left;
}

.book_subtitle {
    color: #000;
    font-size: 16pt;
    margin: 0 0 .25em 0;
    line-height: 20pt;
    text-align: left;
}

.book_authors {
    color: #000;
    font-size: 14pt;
    line-height: 17pt;
}

.book_details_wrap .book_authors {
    font-style: italic;
}

.media_type {
 display: flex;
}

.media_type:first-child .media_information_wrap {
    padding: 1em 0;
}

.media_type .media_information_wrap {
    border-bottom: solid 1px #000;
    margin: 0.5em 0;
    padding: .2em 0 1em 0;
    font-weight: 400;
    min-width:241px;
}

.book_media_types .media_type:last-child .media_information_wrap {
    border-bottom: none;
}

.media_type:first-child .buy_button_wrap {
    margin: 1.5em 2em;
}

.media_type .buy_button_wrap {
    margin: 1em 2em;
}

.wrap_content.author_content {
    margin-top: 1em;
}

.buy_button {
    background-color: #896b89;
    border: none;
    color: white;
    padding: 7px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 20pt;
    cursor: pointer;
}

buy_button:hover {
    background-color: #c6b8c2;
}

.sharethis-inline-share-buttons {
    padding: 10px 0;
}

.book_information_tabs {
    display: flex;
    justify-content: flex-start;
    border-bottom: #c6b8c2 1px solid;
    margin-top: 1em;
    gap: 1em;
}

.book_information_tabs div {
    margin: o 1em;
}

.book_information_tabs button {
    font-size: 16px;
    color: #633B61;
    font-weight: bold;
    padding: 0.5em 0.25em 0.5em 0.25em;
    margin: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.book_information_tabs div.active {
    background: #c6b8c2;
}

.book_information_tabs div a {
    color: #633B61;
    text-decoration: none;
}

.tab_content {
    padding: 1em 0;
}

#added_to_cart .po_book_title {
    font-style: italic;
}

#added_to_cart {
    width: 300px;
    border: 1px solid #633B61;
    border-radius: 5px;
    position: absolute;
    left: 75%;
    top: 54px;
    background-color: #CEC5BA;
    margin-left: -150px;
    padding: 7px;
    padding-top: 25px;
    padding-bottom: 15px;
}

#added_to_cart #cart_po_close {
    position: absolute;
    right: 5px;
    top: 5px;
    font-weight: bold;
    cursor: pointer;
}

#added_to_cart {
    width: 300px;
    border: 1px solid #633B61;
    border-radius: 5px;
    position: absolute;
    left: 75%;
    top: 200px;
    background-color: #CEC5BA;
    margin-left: -150px;
    padding: 7px;
    padding-top: 25px;
    padding-bottom: 15px;
}

.long-text-field {
    width: 20em;
}

.store-comments {
    width: 60em;
}

[action='/exam_copies'] .webform_top, [action='/email'] .webform_top  {
    display: none;
}

[action='/exam_copies'] span[style="color:#cc0000;"], [action='/email'] span[style="color:#cc0000;"] {
    display: none;
}

.webform_errors {
    color: #A21717;
}
@media only screen and (max-width: 600px) {

    #added_to_cart {
        left: 50%;
    }

    section.content {
        padding: 0 8px;
    }
    [action='/exam_copies'] input[type='text'], [action='/exam_copies'] textarea {
        width: 200px !important;
    }
    [action='/search'] input[type='text'] {
        width: 80%;
    }

    .advanced-search-content form {
        max-width: 100%;
    }

    .long-text-field {
        width: 15em;
    }

    .store-comments {
        width: 20em;
    }

    .book_wrapper {
        flex-direction: column;
    }

    .book_wrapper .purple {
        border-bottom: none;
    }

    .book_wrapper .book_cover_wrap {
        text-align: center;
        width: 100%;
    }
    .book_wrapper .book_cover_wrap img {
        width: 200px;
    }
    .left_wrap, .book_details_wrap {
        width: 100%;
    }

    .book_cover_wrap, .book_details_wrap {
        width: 94%;
        margin: 0 auto;
    }

    .book_information_tabs button {
        font-size: 11px;
    }
}

.browse_books_heading, .subject_area_heading {
    color: #633b61;
    border-bottom: #633B61 1px solid;
    padding: 0 0 12px 0;
    text-align: left;
    font-size: 24px;
    font-weight: normal;
    margin: 0;
    line-height: normal;
}

.subject_area_heading {
    padding: 0 0 12px 0;
}

.category_wrapper {
    column-count: 2;
    column-gap: 20px;
    margin: 1em;
}
.capitalize {
    text-transform: lowercase !important;
}
.capitalize:first-letter {
    text-transform: capitalize !important;
}

@media only screen and (max-width: 600px) {
    .category_wrapper {
        column-count: 1;
        column-gap: 0;
        margin: 0;
    }

    .book_image {
        height: auto !important;
    }

    table.top_cart {
        font-size: 13px;
    }

    .shop_cart .buttons {
        text-align: center !important;
    }

    .shop_cart .buttons input {
        margin-bottom: 5px;
    }

    .blog-content iframe {
        max-width: 100%;
    }
}

.category {
    font-size: 15pt;
    line-height: 2em;
}

.category a {
    color: #272526;
}

.category a:hover {
    opacity: 0.8;
}

.content_hidden {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out; /* Smooth transition */
}

.content_expanded {
    max-height: 500px;
    transition: max-height 0.5s ease-out; /* Smooth transition */
}

button.collapsible {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

.collapsible.collapsed:after{
    margin-left: 0.5em;
    content: "▲";
}

.collapsible.expanded:after{
    margin-left: 0.5em;
    content: "▼";
}

.collapsable_content {
    font-size: 13pt;
    margin-left: 1.5em;
}

.paginator {
    text-align: center;
    font-size: 12pt;
}

.paginator .page_count {
    padding-right:1em;
}

.paginator a {
    color: #633B61;
    text-decoration: none;
    padding: 0 0.5em;
}

.paginator a:hover {
    opacity: 0.8;
}

.paginator strong {
    background: #633B61;
    padding: 3px 5px;
    border-radius: 5px;
    color: #fff;
}

.sort_menu {
    background: #633B61;
    color: #fff;
    padding: 9px 7px;
    font-weight: bold;
    width: fit-content;
}

.sort_menu a {
    text-decoration: none;
}

.sort_menu a:hover {
    opacity: 0.8;
}

.books_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 3%; /* row-gap column gap */
    margin-top: 2em;
}

.book_details_wrapper {
    width:  calc(20% - 35px);
    min-width: 150px;
}

.book_image {
    height: 300px;
    overflow: hidden;
    margin-bottom: 1em;
}

.book_image img {
    width: 90%;
}
.book_details_wrapper .book_title {
    font-size: 12pt;
    line-height: normal;
}


.book_details_wrapper .book_title a {
    color:#000;
    font-weight: bold;
    text-decoration: none;
}

.book_details_wrapper .book_title .subtitle {
    font-weight: normal;
}

.book_details_wrapper .book_title a:hover, .book_details_wrapper .book_image a:hover {
    opacity: 0.8;
}

.books_wrapper .book_details_wrapper .book_image {
    display: flex;
}

.books_wrapper .book_details_wrapper .book_image a{
    width: 100%;
    align-content: end;
}

.book_details_wrapper .book_authors {
    color: #000;
    font-size: 11pt;
    line-height: 15pt;
    font-style: italic;
}

span.old {
    text-decoration: line-through;
    text-decoration-color: red;
}

span.new {
    color: red;
}

.book_details_wrapper .book_description p {
    text-align: left;
    margin: 0.5em 0;
}

.book_details_wrapper .book_description a.more {
    text-align: right;
    color: #633B61;
}

.book_details_wrapper .book_description a.more:hover {
    opacity: 0.8;
}

.copy-body {
    margin: 30px 0;
}

.content .copy {
    max-width: 1000px;
}

.blog-content {
    max-width: 1000px;
}

.blog-content img {
    max-width: 99%;
}

.alert-content {
    margin: 30px 0;
}

.advanced-search-content {
    margin: 30px 0;
}

.advanced-search-content form {
    width: 800px;
}
.advanced-search-content table {
    width: 100%;
}

.advanced-search-content [type=submit] {
    display: block;
}

h3.h3_border {
    color: #000;
}

.purple {
    color: #633b61;
    padding: 0 0 12px 0;
    border-bottom: #633B61 1px solid;
    text-align: left;
    font-size: 24px;
    font-weight: normal;
    margin: 0;
    line-height: normal;
    text-transform: uppercase;
}

input[type="button"], input[type="submit"], button#submitBtn {
    background-color: #896b89;
    border: none;
    color: white;
    padding: 7px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 20pt;
    cursor: pointer;
}
#submitBtn {
    margin-top: 10px;
}
h3.h3_border {
    color: #633b61;
    border-bottom: #633B61 1px solid;
    padding: 0 0 12px 0;
    text-align: left;
    font-size: 24px;
    font-weight: normal;
    margin-top: 0;
    line-height: normal;
}

.shop_cart th {
    text-align: left;
}
