﻿#temptest{
    position: fixed;
    z-index: 10001;
    color: red;
    right: 10rem;
    top: 0;
    font-size: 2rem;
    font-family: 'Roboto';
}


:root {
    --h-top-hgt: 10rem;
    --left-area: 19rem;
}

.container-w {
    width: 100%;
    text-align: center;
    top: var(--h-top-hgt);
    position: relative;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    display: inline-flex;
    text-align: left;
    margin-top: 2.5rem;
    overflow: auto;
}

.content {
    flex: 1;
    height: 100%;
}

.mp-content { /* mp = main page */
    margin: 0 2.5rem;
}

.mp-featured {
}

.area-title {
    margin: 0 0 4.25rem 0;
    font-size: 3rem;
    font-family: Roboto;
    font-weight: 500;
}

.area-sub-title {
    font-size: 2.2rem;
    font-family: Roboto;
    font-weight: 400;
    margin: 0;
}

.no-top-margin {
    margin-top: 0 !important;
}

.no-margin {
    margin: 0 !important;
}

.mp-options-invis {
    height: 0;
    position: absolute;
    border: 0;
}

.mp-options {
    border-top: 1px solid var(--c2);
    border-bottom: 1px solid var(--c2);
    opacity: .85;
    user-select: none;
}

.mp-options select {
    border: none;
    color: var(--c3);
    padding: .75rem 0;
    -webkit-transition: width .3s ease;
    transition: width .3s ease;
    display: inline-block;
    margin-right: 2.5rem;
}

.mp-options select:last-child{
    margin-right: 0;
}

.mp-options-time{
    float: right;
}

.mp-options-time > i{
    font-size: 1.2rem;
}

.mp-options select:focus{
    outline: none;
    border: none;
}

.book-section{
    margin: 3rem 0 0 0;
    width: 100%;
    display: table;
}

.large-book{
    width: 48.4%;
    display: inline-block;
    position: relative;
    height: 22rem;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
}

.large-book:first-child{
    margin-right: 1.5%;
}

.large-book:nth-child(2){
    margin-left: 1.5%;
}

.i-bg-c {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
}

.large-book .i-bg {
    width: 100%;
    min-height: 100%;
    border-radius: 3px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all .25s ease;
    transition: all .25s ease;
}

.large-book:hover .i-bg{
    width: 107%;
    min-height: 107%;
}

.i-c {
    position: absolute;
    bottom: 3rem;
    left: 2.5rem;
    height: 8rem;
    width: 5rem;
}

.i-c::before{
    position: absolute;
    width: 100%;
    height: 100%;
    content: '';
    box-shadow: 0 0 100px var(--c3);
    left: 0;
    top: 0;
    z-index: 2;
    mix-blend-mode: difference;
}

.i-c img{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.large-book p.lb-title {
    position: absolute;
    color: white;
    left: calc(2.5rem + 5rem + 1.1rem);
    font-family: Verdana;
    font-size: 1.8rem;
    bottom: 5.2rem;
    box-shadow: 20px 10px 20px black;
    border-radius: 50px;
    padding: 0 1rem;
    background-color: rgba(35, 35, 35, 0.20);
}

.large-book p.lb-desc {
    position: absolute;
    color: #e4e4e4;
    left: calc(2.5rem + 5rem + 2.1rem);
    font-family: Verdana;
    font-size: 1rem;
    bottom: 3.2rem;
    box-shadow: 0 3px 5px black;
    background-color: rgba(35, 35, 35, 0.20);
}

.large-book:hover p{
    text-shadow: 0 0 10px var(--c3);
}

.book-row-w{
    margin-top: 2.25rem;
    display: inline-flex;
    min-height: calc(33.6rem + 3rem + 10rem);
    height: calc(25.6vw + 3rem + 10rem);
    max-height: calc(38.4rem + 3rem + 10rem);
    overflow: hidden;
}

.book-row{
    vertical-align: top;
    overflow: hidden;
    display: inline-table;
    table-layout: fixed;
    flex: 1;
    width: 100%;
}

.book {
    display: inline-block;
    margin-right: 2rem;
    margin-bottom: 3rem;
    min-width: 10.5rem;
    width: 8vw;
    max-width: 12rem;
    vertical-align: top;
    cursor: pointer;
    user-select: none;
}

.right-start .book {
    margin-right: 0;
    margin-left: 2rem;
}

.book p{
    margin: 0;
    font-family: Roboto;
    color: var(--t3);
    letter-spacing: .05rem;
    -webkit-font-smoothing: antialiased;
}

.b-title {
    overflow: hidden;
    padding: .3rem 0;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    -webkit-box-orient: vertical;
    white-space: pre-wrap;
    font-size: 1.25rem;
    font-weight: 500;
}

.b-genre{
    font-size: 1.2rem;
    font-weight: 100;
    opacity: .5;
}

.b-c-w {
    min-height: 16.8rem;
    height: 12.8vw;
    max-height: 19.2rem;
    display: block;
    position: relative;
    overflow: hidden;
    vertical-align: top;
}

.book:first-child{
    margin-left: 0;
}

.book:last-child{
    margin-right: 0;
}

.right-start .book:first-child{
    margin-left: 2rem;
}

.b-c-w img {
    height: 100%;
    min-width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.b-c-w img:hover{
    height: 110%;
    min-width: 110%;
}

.jumbo-book {
    width: calc(17rem - 0px);
    height: 100%;
    vertical-align: middle;
    text-align: center;
    position: relative;
    background-image: url('../../Imgs/Layout/texture1a.jpg');
    background-size: 50%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

#jumbo-2 {
    background-image: url('../../Imgs/Layout/texture2a.jpg') !important;
}

.jumbo-book::after{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), 20%, transparent, 40%, transparent, 80%, rgba(0, 0, 0, 0.65));
    left: 0;
    top: 0;
    z-index: -1;
}

.jumbo-book img{
    width: 45%;
    min-width: 85px;
}

.jumbo-book i{
    color: white;
    position: absolute;
    padding: 10px;
    right: 0;
    bottom: 0;
    font-size: 1.2rem;
    cursor: pointer;
}

.book-view-more-w {
    filter: drop-shadow(0 2px 0 rgba(175, 175, 175, .5));
    height: 100px;
    width: 100%;
    margin-top: -20px;
    margin-bottom: 50px;
    left: 0;
    opacity: .7;
    position: relative;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    
}

.book-view-more-w p{
    color: var(--cbg1);
    margin: 0;
    position: absolute;
    text-align: center;
    margin-top: -10px;
    padding: 10px 40px 10px 40px;
    font-family: Verdana;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    -webkit-transition: all .1s ease;
    transition: all .1s ease;
}

.book-view-more-w::before{
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 80%, 60% 80%, 55% 100%, 45% 100%, 40% 80%, 0 80%);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 60% 80%, 55% 100%, 45% 100%, 40% 80%, 0 80%);
    width: 100%;
    opacity: 1;
    background-image: linear-gradient(to bottom, transparent 50%, var(--cbg) 50%);
    height: 100%;
    width: 100%;
    position: absolute;
    content: '';
    top: 3px;
    z-index: -1;
    opacity: 1;
}

.book-view-more-w > div {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 80%, 60% 80%, 55% 100%, 45% 100%, 40% 80%, 0 80%);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 60% 80%, 55% 100%, 45% 100%, 40% 80%, 0 80%);
    width: 100%;
    height: 100px !important;
    position: relative;
    z-index: 3;
    pointer-events: none;
}

.book-view-more-w > div::after {
    -webkit-clip-path: polygon(0 75%, 40% 75%, 45% 95%, 55% 95%, 60% 75%, 100% 75%, 100% 80%, 60% 80%, 55% 100%, 45% 100%, 40% 80%, 0 80%);
    clip-path: polygon(0 75%, 40% 75%, 45% 95%, 55% 95%, 60% 75%, 100% 75%, 100% 80%, 60% 80%, 55% 100%, 45% 100%, 40% 80%, 0 80%);
    width: 100%;
    background-color: var(--c2);
    height: 100%;
    position: relative;
    z-index: 10;
    height: 100%;
    width: 100%;
    position: absolute;
    content: '';
    top: 0px;
    margin-top: 0px;
    opacity: 1;
}

.front-page-write{
    margin-bottom: 4rem;
}

.front-page-write > p{
    text-align: center;
    font-size: 2rem;
    font-family: Verdana;
    color: var(--t4);
}

.main-circ-btn-w {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-circ-btn {
    flex: .333;
    margin-top: 1rem;
    position: relative;
    text-align: center;
    cursor: pointer;
}

.main-circ-btn img{
    max-width: 30%;
    vertical-align: middle;
}

.main-circ-btn img:hover{
    -webkit-transition: all 30s linear;
    transition: all 30s linear;
    -webkit-transform: rotate(900deg);
    transform: rotate(900deg);
}

.main-circ-btn > p{
    display: block;
    font-size: 1.8rem;
    color: var(--t4);
    margin: 1.4rem 0 .2rem 0;
    font-family: Roboto;
    font-weight: 500;
    text-indent: 2px;
}

.publish-i-banner{
    width: 100%;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.publish-i-banner > *{
    cursor: pointer;
    user-select: none;
}

.publish-i-banner > .pp-banner-img{
    width: 30%;
}

.publish-i-banner img{
    width: 100%;
    max-width: 325px;
    opacity: .75;
}

.publish-i-banner p{
    font-size: 1.6em;
    text-align: center;
    font-family: Verdana;
    color: var(--t4);
    margin: 0;
}

.publish-i-banner a:first-child{
    min-width: 35%;
    flex: 1;
    text-align: center;
}

.publish-i-banner a:first-child > p{
    font-size: 2rem;
    padding: 1rem 0;
}

.publish-i-banner a:last-child{
    text-align: center;
    flex: 1;
}

.publish-i-banner a:last-child > p{
    display: inline-block;
    padding: 1rem 4rem;
    background-color: var(--cbg100blue);
    color: var(--t2);
    border-radius: 3px;
}

.blogs-area-w{
    margin-bottom: 5rem;
}

.blogs-area-row{
    display: table;
    width: 100%;
    margin: .5rem 0;
    user-select: none;
}

.blogs-area-row:first-child{
    margin-top: 2rem;
}

.blogs-area-row:hover{
    background-color: var(--cbg2);
    cursor: pointer;
}

.blogs-area-row:hover p{
    color: var(--t3);
}

.blogs-area-row p{
    display: inline-block;
    font-family: 'Open Sans';
    color: var(--t4);
    font-size: 1.5rem;
    margin: .4rem 0;
}

.blogs-area-row p:first-child{
    width: 47%;
}

.blogs-area-row p:nth-child(2){
    width: 26.5%;
}

.blogs-area-row p:nth-child(3){
    width: 26.5%;
    text-align: right;
}

.tags-area-w{
    display: inline-flex;
    justify-content: stretch;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.tag {
    font-size: 1.5rem;
    font-family: 'Open Sans';
    font-weight: 500;
    margin: 3rem 1.5% 0 1.5%;
    background-color: var(--cbg2);
    padding: .75rem 0;
    color: var(--t3);
    cursor: pointer;
    user-select: none;
    -webkit-transition: all .1s ease;
    transition: all .1s ease;
    display: inline-block;
    vertical-align: bottom;
    min-width: 15rem;
    text-align: center;
}

.tag:hover{
    font-weight: 600;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

@media screen and (min-width: 0px) and (max-width: 1023px) {
    .container-w {
        top: calc(var(--h-top-hgt-mobile) * 2);
    }

    .mp-content { /* mp = main page */
        margin: 0 .75rem;
    }

    .area-title {
        margin: 0 0 2.25rem 0;
        font-size: 2.5rem;
    }

    .book-section {
        margin: 1.75rem 0;
    }

    .large-book{
        width: calc(75% - .5rem);
        height: 18rem;
        margin-bottom: .5rem;
        display: inline-block;
        position: absolute;
        margin: 0 .25rem;
    }

    .large-book:first-child {
        margin-right: unset;
        -webkit-clip-path: polygon(0 0%, 100% 0%, 30% 100%, 0% 100%);
        clip-path: polygon(0 0%, 100% 0%, 30% 100%, 0% 100%);
        left: 0;
    }

    .large-book:nth-child(2){
        margin-left: unset;
        right: 0;
        -webkit-clip-path: polygon(70% 0, 100% 0, 100% 100%, 0% 100%);
        clip-path: polygon(70% 0, 100% 0, 100% 100%, 0% 100%);
    }

    .large-book:first-child .i-c{
        bottom: 1.5rem;
        left: 1rem;
    }

    .large-book:first-child p.lb-title{
        bottom: unset;
        top: -.5rem;
        box-shadow: 3px 3px 20px black;
        left: 0;
        max-width: 75%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        border-radius: unset;
        border-bottom-right-radius: 10px;
    }

    .large-book:first-child p.lb-desc{
        right: unset;
        left: 1rem;
        bottom: unset;
        top: 3.5rem;
        max-width: 65%;
        box-shadow: unset;
        border-bottom-right-radius: 10px;
        text-shadow: 0 0 10px white;

    }

    .large-book:nth-child(2) .i-c{
        bottom: unset;
        top: 1.5rem;
        left: unset;
        right: 1rem;
    }

    .large-book:nth-child(2) p.lb-title{
        bottom: unset;
        top: unset;
        bottom: -.5rem;
        box-shadow: 3px 3px 20px black;
        left: unset;
        right: 0;
        max-width: 75%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        border-radius: unset;
        border-bottom-left-radius: 10px;
    }

    .large-book:nth-child(2) p.lb-desc{
        left: unset;
        right: 1rem;
        max-width: 65%;
        text-align: right;
        box-shadow: unset;
        border-bottom-left-radius: 10px;
        text-shadow: 0 0 10px white;
    }

    .book-row-w {
        overflow-x: auto;
        overflow-y: hidden;
        height: calc(29rem + 3rem + 9rem); /* Old */
        height: unset;
        min-height: unset;
        max-height: unset;
        max-width: 100% !important;
        margin-bottom: 1rem;
    }

    .book-row {
        margin-top: 17rem;
        width: 100%;
        white-space: nowrap;
        display: table;
        table-layout: fixed;
        overflow: visible;
        -webkit-overflow-scrolling: touch;
    }

    .book {
        display: inline-block;
        margin: 0 .65rem;
        min-width: 10rem;
        max-width: 10rem;
        vertical-align: top;
    }

    .right-start .book:first-child{
        margin-left: 0;
    }

    .right-start .book {
        margin-right: 0;
        margin-left: 1.35rem;
    }

    .book p{
        margin: 0;
        font-family: Roboto;
        color: var(--t3);
        letter-spacing: .05rem;
        -webkit-font-smoothing: antialiased;
    }

    .b-title {
        overflow: hidden;
        padding: .3rem 0;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* number of lines to show */
        -webkit-box-orient: vertical;
        white-space: pre-wrap;
        font-size: 1.25rem;
        font-weight: 500;
    }

    .b-genre{
        font-size: 1.2rem;
        font-weight: 100;
    }

    .b-c-w {
        min-height: 16rem;
        max-height: 16rem;
        display: block;
        position: relative;
        background-color: blue;
        overflow: hidden;
    }

    .book:first-child{
        margin-left: 0;
    }

    .book:last-child{
        margin-right: 0;
    }

    .b-c-w img{
        height: 100%;
        min-width: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .jumbo-book{
        display: none;
    }

    .book-view-more-w {
        height: 70px;
        width: calc(100% + 1.5rem);
        margin-left: -.75rem;
        margin-top: -3.5rem;
        margin-bottom: 3rem;
    }

    .more-w-margin{
        margin-top: -1.5rem !important;
    }

    .book-view-more-w p{
        color: var(--cbg1);
        margin-top: -3px;
        padding: 10px;
    }

    .book-view-more-w::before{
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 80%, 70% 80%, 60% 100%, 40% 100%, 30% 80%, 0 80%);
        clip-path: polygon(0 0, 100% 0, 100% 80%, 70% 80%, 60% 100%, 40% 100%, 30% 80%, 0 80%);
    }

    .book-view-more-w > div {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 80%, 70% 80%, 60% 100%, 40% 100%, 30% 80%, 0 80%);
        clip-path: polygon(0 0, 100% 0, 100% 80%, 70% 80%, 60% 100%, 40% 100%, 30% 80%, 0 80%);
        height: 70px !important;
    }

    .book-view-more-w > div::after {
        -webkit-clip-path: polygon(0 75%, 30% 75%, 40% 95%, 60% 95%, 70% 75%, 100% 75%, 100% 80%, 70% 80%, 60% 100%, 40% 100%, 30% 80%, 0 80%);
        clip-path: polygon(0 75%, 30% 75%, 40% 95%, 60% 95%, 70% 75%, 100% 75%, 100% 80%, 70% 80%, 60% 100%, 40% 100%, 30% 80%, 0 80%);
    }

    .publish-i-banner{
        display: flex;
        flex-direction: column;
    }

    .publish-i-banner > .pp-banner-img{
        width: 30%;
    }

    .publish-i-banner img{
        width: 100%;
        max-width: 125px;
        min-width: 90px;
        margin-bottom: 1rem;
    }

    .publish-i-banner p{
        font-size: 1.4em;
    }

    .publish-i-banner div:last-child > p{
        display: inline-block;
        padding: .75rem 5rem;
        background-color: var(--cbg100blue);
        color: var(--t2);
        border-radius: 3px;
    }

    .blogs-area-w{
        margin-bottom: 4rem;
    }

    .blogs-area-row:first-child{
        margin-top: 1rem;
    }

    .blogs-area-row p{
        vertical-align: middle;
        font-size: 1.4rem;
    }

    .blogs-area-row p:first-child{
        width: 74.5%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .blogs-area-row p:nth-child(2){
        width: 26.5%;
        display: none;
    }

    .blogs-area-row p:nth-child(3){
        width: 25.5%;
        text-align: right;
    }

    .tags-area-w{
        justify-content: space-evenly;
    }

    .tag {
        margin: 1.25rem 1% 0 1%;
        font-size: 1.3rem;
        padding: .65rem 1rem;
        min-width: unset;
        flex: 1 0 auto;
    }

    .tag:hover{
        font-weight: 600;
        -webkit-transform: unset;
        transform: unset;
    }

}