.post-books {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 1rem auto !important;
    width: 100%;
    max-width: 1140px !important;
    column-gap: 0.4rem;
    row-gap: 1.5rem;
}

.post-books .book .image a {
    display: block;
}

.post-books .book .image img {
    width: 100%;
    height: auto;
}

.post-books .book .caption .sm {
    margin: 0;
}

.post-books .book .caption p {
    text-align: center;
}

.post-books .book .caption a {
    font-size: 12px;
}

.post-books .book .price {
    display: none;
}

.post-books br {
    display: none;
}

.post-books p {
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 1200px) {
    .post-books {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 900px) {
    .post-books {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .post-books {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 400px) {
    .post-books {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* myshop styles */
#author_compilation {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 1140px;
    font-size: 17px;
    overflow: hidden;
}

#ac_header {
    margin-bottom: 1em;
}

#ac_header img {
    width: 100%;
}

.ac_content {
    padding: 0.5em;
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    box-sizing: border-box;
}

.ac_text_col {
    margin: 0 1em 0 0;
    flex: 1 1 70%;
    overflow: hidden;
}

.ac_text_col p {
    text-align: justify;
    margin: 1em 0 0 0;
}

.ac_text_col p.question {
    font-style: italic;
    color: #7e56c6;
}

.ac_text_col p:first-child {
    margin-top: 0;
}

.ac_text_col h2 {
    font-size: inherit;
    margin-top: 1em;
}

.ac_side_col {
    padding: 1em;
    flex: 0 0 28%;
    min-width: 280px;
    text-align: center;
    box-sizing: border-box;
    background-color: #ddddff;
}

.ac_side_author {
    margin-bottom: 2em;
}

.ac_side_author img {
    margin-bottom: 1em;
    max-width: 85%;
    border-radius: 50%;
}

.ac_side_author span {
    display: block;
    font-style: italic;
}

.ac_side_author_name {
    margin-bottom: 0.5em;
    font-size: 1.4em;
}

.ac_side_author_name a,
.ac_side_author_name a:visited {
    text-decoration: none;
    color: inherit;
}

.ac_side_author_name a:hover {
    color: #ff7500;
    text-decoration: underline;
}

.ac_showcase_block {
    width: 100%;
}

.ac_side_book {
    width: 100%;
    margin-bottom: 2em;
}

.ac_side_book a {
    width: 90%;
    display: block;
    margin: 0 auto;
}

.ac_side_book a.ac_side_book_cover {
    /*margin-bottom: 0.5em;*/
    /*background: #ffffff no-repeat 50%;*/
    /*background-size: 50%;*/
    /*border: 2px white solid;*/
    /*border-radius: 50%;*/

    background-position: 50%;
    background-repeat: no-repeat;
    background-color: #fff;
    background-size: 50% auto;
    border-radius: 50%;
    margin-bottom: .5em;
    border: 2px #fff solid;


}

.ac_side_book_cover:before {
    padding-bottom: 100%;
    display: block;
    content: "";
}

.ac_side_book a.ac_side_book_cover:hover {
    border: 2px #ff7500 solid;
}

a.ac_side_book_name,
a.ac_side_book_name:visited {
    margin-bottom: 0.3em;
    text-decoration: none;
    color: black;
}

a.ac_side_book_name:hover {
    color: #ff7500;
    text-decoration: underline;
}

.ac_side_book_name span {
    font-size: 1em;
    quotes: "Â«" "Â»";
    font-style: italic;
}

.ac_side_book_author {
    display: block;
    font-size: 0.8em;
    font-style: italic;
    padding: 0 1em;
}

.ac_quo:before {
    content: open-quote;
}

.ac_quo:after {
    content: close-quote;
}

.ac_intext_img {
    width: 100%;
    margin: 1em 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: flex-start;
}

.one_image img {
    width: 100%;
}

.two_image img {
    width: 48%;
}

.three_image img {
    width: 32%;
}

.ac_intext_img span {
    margin: 0.5em auto 0;
    display: block;
    width: 90%;
    text-align: center;
    font-size: 0.8em;
    font-style: italic;
    color: #666666;
}

.ac_intext_img span a,
.ac_intext_img span a:visited {
    color: #666666;
}

.ac_intext_img span a:hover {
    color: #ff7500;
}

.ac_intext_cite {
    position: relative;
    margin: 1.5em 0 0;
    padding: 1em 1em 0.5em;
    font-size: 1.3em;
    text-align: left;
    font-family: georgia, "times new roman", serif;
    font-style: italic;
    color: #f7b326;
    border-top: 1px solid #f7b326;
}

.ac_intext_cite:before {
    position: absolute;
    font-size: 3em;
    line-height: 0;
    text-shadow: -0 -4px 0 #fff, 0 -4px 0 #fff, -0 4px 0 #fff, 0 4px 0 #fff,
    -4px -0 0 #fff, 4px -0 0 #fff, -4px 0 0 #fff, 4px 0 0 #fff, -1px -4px 0 #fff,
    1px -4px 0 #fff, -1px 4px 0 #fff, 1px 4px 0 #fff, -4px -1px 0 #fff,
    4px -1px 0 #fff, -4px 1px 0 #fff, 4px 1px 0 #fff, -2px -4px 0 #fff,
    2px -4px 0 #fff, -2px 4px 0 #fff, 2px 4px 0 #fff, -4px -2px 0 #fff,
    4px -2px 0 #fff, -4px 2px 0 #fff, 4px 2px 0 #fff, -3px -4px 0 #fff,
    3px -4px 0 #fff, -3px 4px 0 #fff, 3px 4px 0 #fff, -4px -3px 0 #fff,
    4px -3px 0 #fff, -4px 3px 0 #fff, 4px 3px 0 #fff, -4px -4px 0 #fff,
    4px -4px 0 #fff, -4px 4px 0 #fff, 4px 4px 0 #fff, -4px -4px 0 #fff,
    4px -4px 0 #fff, -4px 4px 0 #fff, 4px 4px 0 #fff;
    font-family: georgia;
    content: "\201E";
    top: -0.4em;
    left: 50%;
}

.ac_intext_cite span {
    margin-top: 0.5em;
    display: block;
    font-family: georgia, "times new roman", serif;
    font-size: 0.8em;
    text-align: right;
}

#compare {
    width: 100%;
    border-collapse: collapse;
    border-color: black;
    font-size: 15px;
    margin-top: 27px;
    text-align: center;
}

#compare td {
    vertical-align: middle;
    padding: 6px 4px;
}

#compare th,
#compare td.cap {
    background-color: #ddddff;
    width: 100px;
}

#compare tr:hover {
    background-color: #f5f5ff;
}

a.lnk:link {
    text-decoration: none;
    color: #3030a4;
}

a.lnk:visited {
    text-decoration: none;
    color: #3030a4;
}

a.lnk:hover {
    text-decoration: underline;
}

@media screen and (max-width: 1000px) {
    .ac_content {
        padding: 0;
        flex-direction: column;
    }

    .ac_text_col {
        margin: 0;
    }

    .ac_showcase_block {
        display: none;
    }

    .ac_side_col {
        background: none;
    }

    .ac_side_author {
        margin: 0;
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        align-items: center;
    }

    .ac_side_author img {
        width: 200px;
        margin: 1em 1em 1em;
    }

    .ac_side_author_titles {
        flex: 0;
    }

    .ac_side_author_titles a {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    #ac_header img {
        width: 768px;
    }
}

@media screen and (max-width: 700px) {
    .ac_intext_img img {
        margin: 0 1em 1em;
    }

    .one_image img {
        width: 860px;
        margin: 0 auto;
    }

    .three_image img {
        width: 270px;
    }

    .two_image img {
        width: 420px;
    }

    .ac_intext_img img:last-of-type {
        margin: 0 auto 0;
    }
}

@media screen and (max-width: 540px) {
    #ac_header img {
        width: 150%;
        margin-left: -1%;
    }
}

@media screen and (max-width: 480px) {
    .two_image img {
        width: 100%;
    }
}

#top_compilation {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 1140px;
    font-size: 17px;
    overflow: hidden;
}

#top_compilation p {
    text-align: justify;
    margin: 1em 0 0 0;
}

#top_compilation #tc_header {
    margin: 0 0 1em;
    padding: 0;
}

#tc_header img {
    width: 100%;
}

#tc_content .tc_intro {
    margin: 0 0 1em;
}

.tc_intro p:first-child {
    margin-top: 0;
}

.tc_intro p:last-child {
    margin-bottom: 0;
}

#tc_content .tc_strip {
    margin: 0 0 1em;
    padding: 1.5em 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}

.tc_strip:nth-of-type(odd) {
    background-color: #ffffff;
}

.tc_strip:nth-of-type(even) {
    background-color: #ddddff;
}

.tc_strip:nth-of-type(odd) .tc_side_book .tc_side_book_cover {
    background-color: #ddddff;
}

.tc_strip .tc_side_text {
    padding: 0 1em;
    flex: 1 0 70%;
    box-sizing: border-box;
}

.tc_side_text .tc_side_text_header {
    text-align: center;
}

.tc_side_text .tc_side_text_header span {
    display: block;
    margin-bottom: 0.2em;
}

.tc_side_text_header .tc_side_text_header_ndx {
    margin: 0 auto;
    width: 2em;
    height: 2em;
    font-size: 1.6em;
    line-height: 2em;
    color: white;
    background-color: #ff7500;
    border-radius: 50%;
}

.tc_side_text_header .tc_side_text_header_name {
    font-size: 1.5em;
}

.tc_side_text_header .tc_side_text_header_author {
    font-size: 1.2em;
}

.tc_side_text .lnk {
    color: #3030a4;
    text-decoration: none;
}

.tc_side_text .lnk:hover {
    color: #ff7500;
    text-decoration: underline;
}

.tc_strip .tc_side_book,
.few_side_book {
    flex: 1 1 30%;
    max-width: 350px;
    font-style: italic;
    text-align: center;
}

.few_side_book {
    display: flex;
    max-width: none;
    width: 100%;
    flex-flow: row wrap;
    justify-content: space-around;
}

.few_side_book .tc_side_book {
    min-width: 300px;
}

.few_side_book .tc_side_book {
    margin-bottom: 1em;
}

.few_side_book .tc_side_book:last-child {
    margin-bottom: 0;
}

.tc_strip .tc_side_book a {
    display: block;
}

.tc_side_book .tc_side_book_cover {
    width: 80%;
    margin: 0 auto 1em;
    background-position: 50%;
    background-repeat: no-repeat;
    background-color: white;
    background-size: 50% auto;
    border-radius: 50%;
    border: 2px white solid;
    transition: all 600ms ease;
}

.tc_side_book .tc_side_book_cover:before {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.tc_strip .tc_side_book_cover:hover {
    border: 2px #ff7500 solid;
}

.tc_side_book .tc_side_book_name {
    margin: 0 auto;
    padding: 0 0.5em;
    font-size: 1.1em;
    text-decoration: none;
    color: inherit;
}

.tc_side_book .tc_side_book_name:hover {
    color: #ff7500;
    text-decoration: underline;
}

.tc_side_book .tc_side_book_author {
    font-size: 0.9em;
}

.ac_quo:before {
    content: "«";
}

.ac_quo:after {
    content: "»";
}

@media screen and (max-width: 768px) {
    #tc_header img {
        width: 768px;
    }
}

@media screen and (max-width: 540px) {
    #tc_header img {
        width: 150%;
        margin-left: -1%;
    }
}

@media screen and (max-width: 979px) {
    #tc_content .tc_strip {
        flex-direction: column;
    }

    #tc_content .tc_strip .tc_side_book {
        width: 100%;
        margin-top: 1.5em;
    }

    #tc_content .tc_strip:nth-of-type(even) {
        padding-top: 2.5em;
    }
}

#ms_promo {
    background-color: #e1f4fd;
    width: 100%;
    overflow: hidden;
    font-family: verdana, helvetica, sans-serif;
    font-size: 15px; /* Ð±Ð°Ð·Ð¾Ð²Ñ‹Ð¹ Ñ€Ð°Ð·Ð¼ÐµÑ€ ÑˆÑ€Ð¸Ñ„Ñ‚Ð° */
}

#msp_header {
    margin: 0;
    font-size: 0;
}

#msp_header img {
    width: 166%;
    height: auto;
    margin-left: -33%;
}

.msp_topics {
    width: 100%;
    box-sizing: border-box;
    padding: 1%;
}

.msp_topics ul {
    list-style: none;
    padding: 0;
    overflow: hidden;
    width: 100%;
    margin: 0px;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: distribute;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    font-size: 1em;
}

.msp_topics ul li {
    position: relative;
    overflow: hidden;
    box-sizing: content-box;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 10px;
    width: 300px;
}

.msp_topics ul li:before {
    content: "";
    padding-bottom: 100%;
    display: block;
}

.msp_topics ul li a {
    position: absolute;
    display: block;
    width: 100%; height: 100%;
    top: 0; left: 0;
    overflow: hidden;
}

.msp_topics ul li a div {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 74%;
    left: 0;
    -webkit-transition: background-color, top 600ms ease;
    -moz-transition: background-color, top 600ms ease;
    -o-transition: background-color, top 600ms ease;
    transition: background-color, top 600ms ease;
    padding-top: 8%;
}
.msp_topics ul li a:hover div {
    top: 0;
}

.msp_topics ul li a div h3 {
    font-weight: normal;
    font-family: Tahoma, arial, sans-serif;
    margin: 0;
    text-align: left;
    color: white;
    padding: 0 5%;
    font-size: 1.4em;
}


.msp_topics ul li a div h3 span {
    display: block;
    font-weight: normal;
}

.msp_topics ul li a div p {
    padding: 1% 5%;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    color: white;
    opacity: 0;
    -webkit-transition: opacity 600ms ease 300ms;
    -moz-transition: opacity 600ms ease 300ms;
    -o-transition: opacity 600ms ease 300ms;
    transition: opacity 600ms ease 300ms;
    font-size: 1em;
}
.msp_topics ul li a:hover div p {
    opacity: 1;
}

.msp_ages {
    overflow: hidden;
    padding: 1%;
    text-align: center;
    margin-top: 2em;
}

.msp_ages h2 {
    font-size: 1.7vw;
    font-weight: normal;
    margin: 1em;
    text-align: center;
    color: #f16376;
}

.msp_ages ul {
    list-style: none;
    padding: 0;
    overflow: hidden;
    text-align: center;
    clear: both;
    width: 100%;
    margin: 0px;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    font-size: 1em;
}

.msp_ages ul li {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    margin: 10px 3%;
    width: 250px;
}

.msp_ages ul li:before {
    content: "";
    padding-bottom: 100%;
    display: block;
}

.msp_ages ul li a {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    text-indent: -9999px;
    border-radius: 50%;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 50%;
    -webkit-transition: transform 600ms ease;
    -moz-transition: transform 600ms ease;
    -o-transition: transform 600ms ease;
    transition: transform 600ms ease;
}
.msp_ages ul li a:hover {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
}

@media screen and (min-width:985px) {
    .msp_topics ul.row3 li {
        margin: 1% 0;
        width: calc(( 100% - 3*2%)/3 );
    }
    .msp_topics ul.row4 li {
        margin: 1% 0;
        width: calc(( 100% - 4*2%)/4 );
    }

    .msp_ages ul {
        -webkit-box-pack: distribute;
        -ms-flex-pack: distribute;
        justify-content: space-around;
    }
    .msp_ages ul.row3 li {
        margin: 4% 0;
        width: calc(( 100% - 24%)/3 );
    }
    .msp_ages ul.row4 li {
        margin: 2% 0;
        width: calc( 100%- 20%)/4 );
    }
    .msp_ages ul.row5 li {
        margin: 1% 0;
        width: calc( 100%- 16%)/5 );
    }
}

@media screen and (min-width: 985px) and (max-width: 1366px) {
    .msp_topics ul.row3 {
        font-size: 1.5vw;
    }
    .msp_topics ul.row4 {
        font-size: 1.2vw;
    }
}

@media screen and (min-width: 1367px) {
    .msp_topics ul.row3 {
        font-size: 18px;
    }
    .msp_topics ul.row4 {
        font-size: 16px;
    }
}

@media screen and (min-width: 481px) {
    #msp_header img {
        width: 100%;
        height: auto;
        margin: 0;
    }
}
