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

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

@media (min-width: 0px) {
	.wp-block-column {
		flex-basis:revert!important;
	}
}

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

.main-columns  {
    margin: 0 -25px!important;
    max-width: none!important;
}
.main-columns > div {
   padding: 0 25px;
   margin: 0!important;
}
.main-columns > .content {
    flex-basis: auto!important;
    min-width: 380px;
}
.main-columns > .sidebar {
    flex-basis: 30%!important;
    padding: 0;
    min-width: 290px!important;
    flex-grow: 1;
}

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

.book-columns {
    margin: 0 -15px!important;
    max-width: none!important;
}
.book-columns > div {
    padding: 0 15px;
    margin: 0!important;
}
.book-columns > .content {
    flex-basis: 60%!important;
    min-width: 340px!important;
    flex-grow: 1!important;
}
.book-columns > .sidebar {
    flex-basis: 40%!important;
    *min-width: 190px!important;
    flex-grow: 1!important;
}

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

.side-columns {
    margin: 0!important;
    *width: 100%;
    flex-wrap: wrap!important;
    *min-width: none;
}
.side-columns > div {
    margin: 0!important;
    *flex-basis: 50%;
    flex-grow: 1!important;
    min-width: 280px;
    padding: 0 25px;
    border-left: 1px solid #f1f1f1;
}


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

.book-title {
    font-family: var(--global--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    padding: 0;
    line-height: 1.2em;
}

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

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

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

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

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

.book-cover img {
    max-width: 250px;
    margin: 0px auto;
    width: 100%;
    outline: 1px solid rgba(0,0,0,0.1);
    outline-offset: -1px;
}

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

.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('../images/star-rating-off.png');
}
.book-rating .rating > div {
    width:calc(0*16px);
    height:16px;
    background:url('../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-sellers a:hover {
    color: green;
    background-color: #f5f4f0;
}
.book-sellers a[href=''] {
    color: #dc1d1d;
}
/*---------------------------------------------*/
/*
.book-thumbs {
    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: 25%;
  display: inline-block;
  min-width: 90px;
}

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

.about-author {
  text-align: center;
    *border: 1px solid #ccc;
}
.about-author img.the-thumb {
    border-radius: 50%;
    width: 125px;
    object-fit: cover;
    height: 125px; 
    margin: 5px auto;
    *padding: 15px auto;
    *outline: 1px dotted #ccc;
}
.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: flex;
    margin-bottom: 10px;
        overflow: hidden!important;
}
.other-books .the-item .image {
    width: 55px;
    margin-right: 10px;
    outline: 1px solid rgba(0,0,0,0.2);
    outline-offset: -1px;
}
.other-books .the-item .title {
    font-size: 15px;
    line-height: 1.15em;
    font-weight: 600px;
    text-overflow: ellipsis;
    margin-bottom: 5px;
    display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
    line-clamp: 2;
}
.other-books .the-item .descr {
    font-size: 12px;
    *height: 100%;
    line-height: 1.3em;
    display: -webkit-box;
   -webkit-line-clamp: 3;
   -webkit-box-orient: vertical;
    *line-clamp: 3;
    overflow: hidden;
}
/*---------------------------------------------*
 *--- TABBED AREA                           ---*
 *---------------------------------------------*/

.book-shortsum,
.book-summary {
    font-size: 16px;
    line-height: 1.3em;
}
.book-summary {
    padding-top: 10px;
}

.book-summary p {
    margin: 10px 0!important;
}

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

.book-preview .no-preview {
    margin: 30px 0;
    text-align: center;
    color: #ccc;
}

.book-preview {
    text-align: center;
    position: relative;
}

.book-preview > canvas {
    margin-top: 20px;
    border: 1px solid #ddd;
    width: 90%;
}

.book-preview .btns {
  --size--: 40px;
    position: absolute;
    top: 50%;
    margin-top: -20px;
    cursor: pointer;
    color: #999;
}

.book-preview .btns:hover {
    color: #1db99a;
}

.book-preview #btn-prev {
  --char--: '\f341';
    left: 0;
}

.book-preview #btn-next {
  --char--: '\f345';
    right: 0;
}

.book-preview .btns:before {
    content: var(--char--);
    width: var(--size--);
    line-height: 40px;
    font-family: dashicons;
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    font-size: 24px;
    speak: never;
    text-decoration: inherit;
    text-transform: none;
    text-rendering: auto;
    text-align: center;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}

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

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

.main-tabs ul.tab-links > li {
    padding: 5px 10px;
    color: black;
    border: 1px solid #23282d;
    margin-left: -1px;
    width: 25%;
    text-align: center;
    cursor: pointer;
    margin: 2px -1px -1px 0px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

}

.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;
}

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

.book-stores .the-item {
   border-bottom: 1px dotted #999999;
   padding: 10px 8%;
   width: 70%;
   margin: 0px auto;
   position: relative;
   *border: 1px dotted #aaa;
}
.book-stores .the-item:last-of-type {
    border: none;
}
.book-stores .the-item:hover {
   background-color:#f5f4f0;

}
.book-stores .the-item .name {
    font-size:18px;
    font-weight:bold;
    margin-bottom: 1px;
}
.book-stores .the-item .link {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 7px;
}
.book-stores .the-item .info {
    line-height: 1.3;
}
.book-stores .the-item .icon {
   * border: 1px solid red;
    position: absolute;
    left: 0;
    width: 10%;
    max-height: auto;
   * object-fit: contain;
}


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

/*
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;
}
*/