
:root {
    --section-spacing--: 25px;
}

/*---------------------------------------------*/

.wp-block-column.wp-block-column.wp-block-column.wp-block-column:nth-child(n+2) {
    margin-left: var(--section-spacing--);
}

/*---------------------------------------------*/

.columns {
    margin: 0 -25px!important;
    max-width: none!important;
}

.columns > div {
    padding: 0 25px;
    margin: 0!important;
}

.columns > .content {
    flex-grow: 1;
   * min-width: 60%;
}
.columns > .sidebar {
    width: auto!important;
    border-left: 1px solid #f1f1f1;
}

/*---------------------------------------------*/

.text-title {
    font-family: var(--global--font-serif);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4em;
    color: #333333;
    padding: 0;
}
.text-content {
    padding-left: 60px;
    font-family: var(--global--font-serif);
    font-size: 15px;
}
.text-content p {
    margin: 0 0 1em;
}
.text-author {
    padding-left: 60px;
    position: relative;
}
.text-author .name {
    font-size: 18px;
    line-height: 20px;
    padding-top: 10px;
}
.text-author .date {
    font-size: 13px;
    line-height: 20px;
}
.text-author .thmb {
    position: absolute;
    left: 0;
    height: 50px;
    border-radius: 50%;
    *margin-right: 10px;
}
.text-subtitle {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 400;
    color: #333333;
    *padding: 5px 0;
    *line-height: 1.0;
}
.text-image img {
    min-width: 100%;
}
.text-image .caption {
    text-align: right;
    font-size: 11px;
    color: #999;
    font-weight: 200;
}
/*---------------------------------------------*/

.text-subscribe input {
    padding: 10px;
    margin: 0;
    border: 1px solid #ddd;
    width: 100%;
}

/*---------------------------------------------*/

.book-date,
.book-author {
    font-family: var(--global--font-serif);
    font-size: 16px;
    font-weight: normal;
    color: #333333;
}

.book-author:before {
    content: 'by ';
}

.book-author a {
    color: rgb(63,72,204);
}

/*---------------------------------------------*/

.book-subtitle {
    font-family: var(--global--font-serif);
    font-size: 14px;
    font-weight: normal;
    color: #333333;
    margin-bottom: 7px;
}

/*---------------------------------------------*/

.book-rating {
    font-size: 14px;
    font-weight: normal;
    color: #333333;
}
.book-rating .rating {
    width:calc(16px*5);
    height:16px;
    background:url('/hjnb/images/star-rating-off.png');
}
.book-rating .rating > div {
    width:calc(4*16px);
    height:16px;
    background:url('/hjnb/images/star-rating-on.png');
}


/*---------------------------------------------*/

.book-sellers a {
    margin-right: 15px;
    border: 1px solid;
    padding: 4px 14px;
    text-align: center;
    display: inline-block;
    font-size: 12px;
}
.book-sellers a span {
    display: block;
}

/*---------------------------------------------*/

.book-thumbs {
    display: flex;
    flex-flow: row no-wrap;
    font-family: 'simple-line-icons';
    font-size: 24px;
    max-height: 90px;
    background: #fafafa;
    border-width: 1px 0px;
    border-style: solid;
    border-color: #ccc;
    position: relative;
    padding: 0px 1em;
    box-sizing: content-box!impo
    ;
    color: #ccc;
}
.book-thumbs img {
    width: 50%;
    object-fit: contain;
    padding: 5px 10px;
    margin: 0 auto;
    *outline: 1px solid #ccc;
    *background: white;
}
.book-thumbs img:hover {
    outline: 1px solid
}
.book-thumbs .prev:before {
    content: '\e605';
    top: calc(50% - .75em);
    left: 0;
    position: absolute;
    display: block;
    color: #aaa;
}
.book-thumbs .next:before {
    content: '\e606';
    top: calc(50% - .75em);
    right: 0;
    position: absolute;
    display: block;
    color: #aaa;
}

/*---------------------------------------------*
 *--- BOOK META LIST                        ---*
 *---------------------------------------------*/

.book-meta {
  color: rgb(51,51,51);
  font-size: 12px;
  font-family: var(--global--font-primary);
  line-height: 20px;
  overflow-wrap: break-word;
}
.book-meta span {
  color: #382110;
  font-weight: 600;
  width: 20%;
  display: inline-block;
}

/*---------------------------------------------*
 *--- ABOUT AUTHOR                          ---*
 *---------------------------------------------*/

.about-author {
  text-align: center;
}
.about-author img.the-thumb {
    border-radius: 50%;
    width: 125px;
    object-fit: cover;
    height: 125px; 
    margin: 5px auto;
}
.about-author .the-name {
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 15px auto 5px;
}
.about-author .the-story {
    font-size: 12px;
    text-align: left;
}

/*---------------------------------------------*
 *--- RELATED BOOKS                         ---*
 *---------------------------------------------*/

.other-books .the-item {
    display: block;
    overflow: auto;
    margin-bottom: 10px;
}
.other-books .the-item .image {
    width: 20%;
    float: left;
    margin-right: 10px;
}
.other-books .the-item .title {
    font-size: 16px;
    font-weight: 600px;
}
.other-books .the-item .subtitle {
    font-size: 13px;
    height: 100%;
}
/*---------------------------------------------*
 *--- TABBED AREA                           ---*
 *---------------------------------------------*/

.book-shortsum,
.book-summary {
    font-size: 14px;
}

/*---------------------------------------------*/

.main-tabs ul.tab-links {
    list-style: none;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 16px;
    border-bottom: 1px solid #23282d;
}

.main-tabs ul.tab-links > li {
    padding: 5px 20px;
    color: black;
    border: 1px solid #23282d;
    margin-left: -1px;
    width: 25%;
    text-align: center;
    cursor: pointer;
    margin: 2px -1px -1px 0px;
}

.main-tabs ul.tab-links > li.active,
.main-tabs ul.tab-links > li:hover {
    background: #23282d;
    color: #ccc;
}

.main-tabs ul.tab-links > li.active {
    margin-top: 0;
    padding: 7px inherit;
}

.main-tabs div.tab-panel:not(.active) {
    display: none;
}



/*---------------------------------------------*/

/*
a {
  color: #00635d;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  border: 0;
}


.book-thumbs {
  display: flex;
  flex-flow: wrap;
}

.book-thumbs img {
  height: 50px;
  width: 50px;
  object-fit: contain;
  border: 1px solid #ccc;
  padding: 4px;
  margin: 0 auto;
}
.book-thumbs img:hover {
  border-color: #555;
}
*/