.fotorama__nav-wrap {
    margin-top: 20px;
}
.carousel-item .top {
    bottom: unset;
    top: 20px;
}
@media (max-width: 600px) {
    #main-carousel .fs-responsive {
        font-size: 17px;
    }
}
@media (max-width: 500px) {
    #main-carousel .fs-responsive {
        font-size: 15px;
    }
    .carousel-item .top {
        bottom: unset;
        top: 5px;
        padding: 5px;
    }
}

.carousel-caption > span {
    background: #543884;
    background: rgba(84,56,132, 0.5);
    border-radius: 15px;
}

#site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: white;
    -webkit-box-shadow: 0px 6px 9px 0px var(--main);
    box-shadow: 0px 6px 9px 0px var(--main);
}

@media(orientation: landscape) and (max-width: 991px) {
    #site-header {
        position: relative;
    }
}

#header-books-dd,
#site-header nav li > a  {
    background: none;
    border: none;
    color: var(--main-d);
}
#header-books-dd,
#site-header nav li  {
    padding: 3px 5px;
    border: 1px solid transparent;
    border-radius: 9px;
    transition: 0.5s border-color;
    list-style-type: none;
}
#header-books-dd:hover,
#site-header nav li:hover,
#header-books-dd.active,
#site-header nav li.active {
    border-color: var(--main-d);
}
#site-header nav li.active {
    border-color: var(--main-d);
}

#site-header nav li:hover a  {
    text-decoration: none;
}

@media (max-width: 991px) {
    #site-navigation-wrapper ul {
        padding-top: 20px;
        margin-top: 20px;
        border-top: 1px solid lightgray;
    }

    #header-books-dd  {
        width: 100%;
        height: 100%;
    }
    #header-books-dd + .dropdown-menu {
        width: 100%;
        text-align: center;
    }
}


#scrollTop {
    position: fixed;
    width: 45px;
    height: 45px;
    bottom: 25px;
    right: 25px;
    background: white;
    opacity: 0.5;
    transition: 1s opacity ease-out,
        0.5s border-color ease-out,
        0.5s background ease-out,
        0.2s bottom ease-out,
        0.2s width ease-out,
        0.2s height ease-out,
        0.2s right ease-out;
    z-index: 100;
    text-align: center;
    border-radius: 50%;
    border: 1px solid var(--main);
}
#scrollTop:hover {
    opacity: 1;
    background: var(--main);
    border-color: white;
    width: 51px;
    height: 51px;
    right: 22px;
    bottom: 22px;
}

#scrollTop i {
    font-size: 21px;
    line-height: 43px;
    color: var(--main);
    transition: 0.5s color ease-out,
        0.2s line-height ease-out,
        0.25s transform ease-out;
}
#scrollTop:hover i {
    color: white;
    line-height: 49px;
    transform: rotate(360deg);
}

#scrollTop:active {
    bottom: 17px;
}

.index-book-slick img {
    max-height: 65vh;
}

/* book */
.but[aria-expanded=true] {
    background: var(--main);
    color: white;
}
.rating-stars {
    font-size: 0;
}.rating-stars i {
    color: gold;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.5s color;
}.rating-stars i.lgrayc {
    color: lightgray;
}
.reviews-cont {
    display: none;
}
/* book */
/* porachai */

.porachai .book-row.selected {
    display: table-header-group;
    order: 1;
    color: var(--main);
    border-color: var(--main);
}
.porachai .book-row.selected input {
    color: var(--main);
    border-color: var(--main);
}
.porachai .book-row.selected img {
    opacity: 1;
}
.porachai .book-row img {
    opacity: 0.5;
    transition: 1s opacity;
    max-width: 100px;
}
.porachai .book-row input {
    color: #626262;
}
.porachai .book-row,
.porachai .book-row input,
.porachai .book-row p {
    transition: 1s border ease-in, 1s color ease-out;
}
.porachai .book-row {
    display: table-footer-group;
    order: 2;
    color: #626262;
    border-bottom: 1px solid gray;
}

.porachai .book-status .status-add {
    display: none;
}
.porachai .book-status .status-remove {
    display: inline-block;
}
.porachai .selected .book-status .status-add {
    display: inline-block;
}
.porachai .selected .book-status .status-remove {
    display: none;
}

.porachai .book-status .fa-check-double  {
    color: green;
}
.porachai .book-status .fa-times  {
    color: gray;
}


.porachai .book-image  {
    filter: grayscale(100%);
    transition: 2s filter;
}

.porachai .selected .book-image  {
    filter: grayscale(0);
}

/* porachai */


/* GDPR */
.gdpr main > ol li {
	margin-top: 2px;
	font-weight: normal;
}
.gdpr main > ol > li {
	margin-top: 25px;
	font-weight: bold;
}
.gdpr main > ol > li > ol > li {
	margin-top: 5px;
}
/* GDPR */

footer {
    font-size: 1rem;
}
footer h4 {
    color: white;
}

.breadcrumb {
    padding-top: 18px;
}
