/*@import url('https://fonts.googleapis.com/css2?family=Prompt&display=swap');*/

/** {*/
/*    scroll-behavior: smooth;*/
/*}*/

body {
    background-color: black;
    font-family: 'readery_slab', sans-serif;
}

#topNav {
    position: relative;
    top: -5px;
    width: 100%;
    z-index: 999;
}

#firstLogo {
    background: url("../images/logo-white.svg") no-repeat left center;
    background-size: auto 40px;
    color: transparent;
    width: 200px;
    height: 88px;
}

.row {
    max-width: 1200px;
    margin: 0 auto 0 auto;
}

.top-bar {
    height: 88px;
    background: transparent;
    margin: 0;
}


#menuNcart a {
    text-decoration: none;
    color: white;
    font-size: 110%;
    margin-right: 6px;
}

#searchBtn {
    background: 0;
    left: -15%;
    position: relative;
    border: none;
}

.cart .totalPrice {
    display: none;
}

.cart .item-count {
    position: absolute;
    display: block;
    top: 25px;
    right: -6px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    background-color: #c20000;
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    font-size: 0.75em;
}

.nav-item {
    margin-left: 10px;
}

.browse {
    /*overflow: hidden;*/
}

.browse-header {
    font-size: 18px;
    font-weight: bold;
}

.browse-list {
    list-style-type: none;
    padding: 0;
}

.browse-list li {
    font-family: 'readery_slab_loop', sans-serif;
}

.browse-list li a {
    color: #222222;
}

.browse-list li a:hover {
    color: #222222;
}

.second-nav-btn:hover {
    background-color: black;
    color: white;
}

.second-nav-btn {
    background-color: white;
    color: black;
    border: solid 2px black;
    margin-left: 2%;
    border-radius: 0;
    padding: 5px;
    font-weight: bold;
}

.book-flag {
    display: block;
    width: 52px;
    height: 52px;
    position: absolute;
    left: 20px;
    top: 20px;
}

.discount {
    background-color: #ff0000;
    color: white;
    font-size: 0.75rem;
    line-height: 1;
    /*display: inline-block;*/
    border-radius: 2px;
    padding: 2px 3px;
}

#nav-browse {
    height: 0px;
}

a {
    color: #202020;
}


.book-frame {
    padding-left: 8%;
    margin-bottom: 1em;
}

.book-wrapper {
    position: relative;
    display: block;
}

.book_show {
    width: calc(100% / 5);
}

@media screen and (max-width: 1024px) {
    .book_show {
        width: calc(100% / 4);
    }

    .second-nav-btn {
        margin-bottom: 2%;
    }

    .w-50 {
        width: inherit !important;
    }
}

@media screen and (max-width: 580px) {
    .book_show {
        width: calc(100% / 2);
    }

    .w-50 {
        width: inherit !important;
    }
}

.book-title {
    text-align: center;
}

.book-img {
    border: 1px solid #00000001;
    max-height: 240px;
    width: auto;
    display: block;
    border-radius: 2px;
    margin: 0 auto;
}

.book a {
    text-decoration: none;
    color: black;
}

.book p {
    margin: 0;
}

.book .bookName {
    font-size: large;
    font-weight: 600;
    padding-left: 19px;
}

.book .bookAuthor {
    font-size: 16px;
    color: rgb(114, 114, 114);
    padding-left: 19px;
}

.book .price {
    font-size: 0.875em;
    color: #E4343A;
    font-weight: bold;
}

.old-price {
    font-size: 0.75rem;
    color: #aaa;
}

.bg-gray {
    background-color: #f0f0f0;
}

.bg-white {
    background-color: white;
}

.bg-white-smoke {
    background-color: whitesmoke;
}

.bg-cart {
    background-color: #2D2829;
}

.more {
    margin: -4vh 2vw 0 0;
    float: right;
}

.footer {
    color: #F5F5F5;
}

.footer p b {
    font-weight: bold;
    font-size: 20px;
    display: inline;
}

.footer-link {
    color: #F5F5F5;
    border-bottom: 1px dotted #F5F5F5;
    opacity: 0.4;

    transition: 0.5s all ease;
}

.footer-link:hover {
    color: #FFFFFF;
    opacity: 1;
}

.footer-about p{
    opacity: 0.7;
}

.footer p {
    font-size: 20px;
    font-weight: 300;
}

.footer a {
    text-decoration: none;
    color: rgb(134, 134, 134);
}

.footer p.btm {
    font-size: 14px;
    font-weight: 300;
}

.footer p a.menu {
    color: #E4343A;
    text-decoration: none;
}

.social a {
    font-size: 26px;
}

#toTopBtn {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    padding: 0 15px;
    border-radius: 10px;
    line-height: 40px;
    height: 40px;
    font-family: readery_slab_loop, sans-serif;
    font-weight: bold;
}

.form-control {
    border-radius: 0;
}

#bookPrice img {
    width: 60%;
}

#bookPrice #priceInfo {
    background-color: #fdfdfd;
    border: 1px gainsboro solid;
    border-radius: 5px;
}

#bookPrice #priceInfo button {
    height: 5vh;
}

#bookPrice #priceInfo .form-control {
    padding-left: 5px;
    display: inline;
    width: 60px;
}

#shipping, #policy, #howToPay, #sumPrice p {
    font-size: 18px;
}

#howToPay a:hover {
    text-decoration: none;
}

p.head {
    font-weight: 800;
    font-size: x-large;
}

.cart-empty {
    padding: 5%;
    color: #222222;
}

.right {
    text-align: end;
}

.hamburger-btn {
    font-size: 2.3rem;
    cursor: pointer;
}

.trending {
    list-style-position: outside;
}

.trending li {
    display: inline;
    float: left;
    line-height: 34px;
    padding: 0;
    margin: 0 20px 10px 0;
}

.trending li a {
    display: block;
    padding: 0 8px;
    line-height: 30px;
    white-space: nowrap;
    text-decoration: none;
    position: relative;
}

.nav-link {
    font-size: 16px !important;
    font-weight: bold;
}

::selection {
    color: #FFFFFF;
    background: #E4343A;
}

h2 {
    font-weight: bold;
    font-size: 33px;
}

.breadcrumbs {
    display: block;
    padding: 0;
    border: 0;
    color: #666;
    margin-bottom: 26px;

    font-family: readery_slab_loop, sans-serif;
}

.breadcrumbs a {
    font-size: 0.875em;
    color: #666;
}

.breadcrumbs span {
    padding: 0 0.5em;
}

.payment-form {
    max-width: 400px;
}

.form-group {
    font-family: readery_slab_loop, sans-serif;
}

.form-group input, .form-group textarea {
    transition: 0.6s all ease;

    background: #F1F2F2;
    border: 0;
    font-size: 1.125em;
    margin: 0;
    box-shadow: none;
    height: 50px;

    margin-bottom: 30px;
}

.form-group textarea {
    height: 80px;
}

.btn-submit {
    font-family: readery_slab_loop, sans-serif;
    font-weight: bold;
    background-color: #2C3E50;
    color: white;
}

.btn-submit:hover {
    background-color: #34495E;
    color: white;
}

.slab-loop {
    font-family: readery_slab_loop, sans-serif;
}

p {
    font-family: readery_slab_loop, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

.author-link {
    color: #E4343A;
    text-decoration: none;
    transition: 0.4s;
    font-size: 24px;
}

.author-link:hover {
    color: #C91757;
    text-decoration: none;
}

.amount-select {
    width: 3em;
    height: 45px;
    display: block;
    float: left;
    margin-right: 10px;
    -webkit-appearance: none;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding-left: 0.5em;
    padding-right: 0.5em;
    margin-bottom: 1em;
}

.book-desc {
    font-size: 23px;
    font-weight: 300;
}

.book-price {
    color: #E4343A;
    font-size: 2em;
    font-weight: bold;
}

p img {
    max-width: 100%;
    height: auto;
}

.book-meta h4 {
    font-size: 1.125em;
}
.book-meta ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1em 0;
}
.book-meta ul li {
    margin: 0;
    padding: 0;
    font-size: 0.875em;
    font-family: readery_slab_loop, sans-serif;
}

.book-meta ul li a {
    color: #E4343A;
    text-decoration: none;
    transition: 0.4s;
    font-weight: bold;
}

.book-meta ul li a:hover {
    color: #C91757;
    text-decoration: none;
}

.cart-btn {
    background-color: #7F8C8D;
    border-color: #95A5A6;
    height: 30px;
    line-height: 30px;
    padding-top: 0;
    padding-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    font-size: 14px;
    font-weight: bold;
}

.cart-btn:hover {
    background: #BDC3C7;
    border-color: #BDC3C7;
}

.table td {
    display: table-cell;
    padding: 0.5625em 0.625em;
    font-size: 0.875em;
    line-height: 1.125em;
    vertical-align: inherit;
}

.cart-remove {
    color: #ccc;
    width: 2em;
    cursor: pointer;
    background-color: transparent;
}

.cart-remove:hover {
    color: #C0392B;
}

.cart-remove {
    color: #ccc;
}

