
#extratitle {
    color: red;
    display: inline-block;
    padding-left: 1em;
}

td#book > img {
    box-shadow: 2px 2px 12px #AAAAAA;
    margin: 10px;
}

label.product {
    color: #9F0055;
    font-size: 1rem;
    font-weight: bold;
    vertical-align: unset;
    font-family: 'Open Sans', sans-serif;
}

p#reference {
    padding: 18px 0 0;
}

p#collection {
    text-align: center;
}

p#collection a {
    font-weight: bold;
    text-transform: capitalize;
}

p#price {
    color: Darkred;
    font-size: 16px;
    font-weight: bold;
}

#price .add_button {
    margin-left: 20px;
}

#stdPrice {
    color: red;
    font-weight: normal;
    padding: 0;
    text-decoration: line-through;
}

#promoTag {
    color: red;
    font-size: 12px;
    font-weight: normal;
}

p#price2ndHand {
    color: #FF5500;
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 1em;
    margin-top: 1em;
    padding: 0;
}

p#language {
    padding: 0;
}

div#summary,
div#contents,
div#audio,
div#video {
    padding: 10px;
    text-align: justify;
}

a#lang {
    padding: 0 0.8em 0 0;
}

a.plink {
    font-size: 0.8em;
    text-decoration: underline;
}

a.plink:hover {
    text-decoration: none;
}

ul.selected {
    display: inline;
    list-style: none outside none;
}

a#notincatalog {
    color: #2171ad;
    cursor: pointer;
    display: inline-block;
    font-size: 0.9em;
    margin: 1em 0 0;
    text-decoration: underline;
}

a#notincatalog:hover {
    color: Red;
    text-decoration: none;
}

a#pdfviewer,
a#flipLink {
    display: block;
    font-size: 0.9rem;
    margin: 10px 0;
    text-align: center;
    width: 100px !important;
    padding: 0;
}

.ui-dialog-titlebar {
    font-size: 12px !important;
    padding: 4px !important;
}

div#flipcontainer {
    overflow: hidden;
}

.comments {
    margin-top: 1rem;
}

.comments .comment {
    background-color: #EEE;
    border-bottom: 2px solid white;
    padding: 6px;
    border-radius: 5px;
}

.mejs-container {
    margin: auto;
}

/** Chapters **/
.chapter {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin: 1rem 0;
    padding: 6px 2px;
}

.chapter:hover {
    background-color: rgba(35, 103, 165, 0.1);
}

.chapter .title {
    flex-grow: 1;
}

.chapter .position {
    background-color: #2171ad;
    color: white;
    text-align: center;
    width: 22px;
    height: 22px;
    font-size: 0.8rem;
    line-height: 1.5rem;
    margin-right: 12px;
}

.chapter .duration {
    width: 75px;
    text-align: center;
    margin: 0 6px;
}

.chapter .play a {
    display: inline-block;
    width: 26px;
    height: 26px;
    background-image: url(images/play_audio.png);
    background-size: contain;
}

.chapter .play a.play {
    background-image: url(images/pause_audio.png);
}


.chapter .price {
    text-align: right;
    margin: 0 6px;
    width: 70px;
}

.chapter .add_button {
    font-size: 0.8rem;
    padding: 0 6px;
}

.chapter .buy {
    width: 70px;
    text-align: center;
}

@media screen and (max-width: 650px) {
    .chapter {
        flex-wrap: wrap;
    }

    .chapter .title {
        width: calc( 100% - 50px);
        margin-bottom: 0.2rem;
    }

    .chapter .duration {
        margin-left: 14px;
    }
}

