
@import url('https://fonts.googleapis.com/css?family=Paytone+One:400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700,800&display=swap');

/*
<link href="https://fonts.googleapis.com/css?family=Paytone+One:400" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700,800" rel="stylesheet">
*/

.bd-left-disabled-gray {
    border-left: none;
}

.pl-xxl {
    padding-left: 0 !important;
}

.h-page-padding .main-content.container {
    padding: 0;
}

main.pt-m {
    padding-top: 0 !important;
}

#main-content header h1 {
    text-align: center;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    padding: 18px 0;
    letter-spacing: 1px;
    font-weight: 400 !important;
}

section header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 96px;
}

section:nth-child(3n+1) > header:first-child, section.record-spot-light-section:nth-child(3n+1) header.record-spotlight-header {
    background-image: url(https://dispatch.barnesandnoble.com/content/dam/ccr/boutique/manga/Header1_Manga.jpg);
    background-size: cover;
    min-height: 96px;
}

section:nth-child(3n+2) > header:first-child, section.record-spot-light-section:nth-child(3n+2) header.record-spotlight-header, .fc-head {
    background-image: url(https://dispatch.barnesandnoble.com/content/dam/ccr/boutique/manga/Header2_Manga.jpg);
    background-size: cover;
    min-height: 96px;
}

section:nth-child(3n+3) > header:first-child, section.record-spot-light-section:nth-child(3n+3) header.record-spotlight-header {
    background-image: url(https://dispatch.barnesandnoble.com/content/dam/ccr/boutique/manga/Header3_Manga.jpg);
    background-size: cover;
    min-height: 96px;
}

.rule:before,
.rule:after {
    background-color: transparent;
}

/* CAROUSEL */
.quick-add {
    border-top: none;
}

#searchGrid header {
    margin-bottom: 2.5rem !important;
}

section.mb-m header h2,
header h2 {
    font-family: 'Paytone One', sans-serif;
}

section.mb-m header a,
header a {
    font-family: Lato, sans-serif;
    font-weight: bold;
    min-height: 15px;
}

section.mb-m header h2,
 header h2 {
    font-size: 30px;
    font-weight: 400;
    line-height: 33px;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 5px;
    text-transform: uppercase;
    display: flex;
}

section.mb-m header h2.mb-xs,
 header h2.mb-xs {
    margin-bottom: 6px !important;
}

#main-content section header a.see-all-link {
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

#main-content section header a.see-all-link::after {
    content: "\e903";
    font-family: bn-icons;
    font-size: 0.75rem;
    position: relative;
    left: 4px;
    text-decoration: none;
    display: inline-block;
    padding-right: 0.25rem;
    top: -1px;
}

#main-content section header a.see-all-link {
    display: inline-block; white-space: pre-wrap;
}

.book .product-shelf-tile .product-shelf-author,
.product-shelf-tile .product-shelf-ratings {
    display: none;
}

.product-shelf-grid .product-shelf-info {
    font-size: 14px;
    line-height: 19px;
    border-top: none;
    text-align: center;
}

#manga-categories-wrapper {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding: 0 2.25%;
}

#manga-categories a {
    text-align: center;
    max-width: 241px;
    color: #696969;
}

#manga-categories img {
    width: 15vw;
    display: block;
    max-width: 210px;
}

#manga-categories-wrapper,
#manga-publisher-wrapper {
    text-align: center;
}

#manga-categories-wrapper a {
    margin: 0 1% 23px;
}

.department-product-grid .h3-as-h6 a {
    font-weight: normal;
}

#manga-publisher-wrapper {
    margin-bottom: 7px;
    margin-top: -13px;
}

#manga-publisher img {
    width: 9.5vw;
    display: block;
    max-width: 150px;
}

#manga-publisher-wrapper > a {
    margin-right: 2%;
}

#manga-publisher-wrapper > a:nth-child(6n) {
    margin-right: 0;
}

#manga-publisher-wrapper span {
    font-family: Lato, Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 0.43px;
    text-transform: uppercase;
    color: #000000;
    width: 82px;
    display: inline-table;
    line-height: normal;
}

#manga-publisher-wrapper span:hover {
    text-decoration: underline;
}


@media screen and (max-width: 1024px) {
    .mt-m {margin-top: 0 !important;}
    #manga-categories-wrapper a {width: calc(100% / 4 - 15px); margin: 0 0 3% 0;}
    #manga-publisher-wrapper > a {width: calc(100% / 6 - 20px);}
}

@media screen and (max-width: 900px) {
    section.mb-m header h2.mb-xs, header h2.mb-xs {justify-content: center;}
    #main-content section header.mb-s a {text-align: center; display: block;}
    #manga-categories img {display: block; width: 100%; max-width: 210px;}
    #manga-publisher img {display: block; max-width: 150px; width: 100%;}
    #manga-publisher-wrapper {padding: 0 10px;}
    .landingPage .record-spotlight-header .see-all-link {padding-right: 0 !important; margin-top: 0; width: auto;}
}

@media screen and (max-width: 700px) {
    #manga-publisher-wrapper > a {width: calc(100% / 3 - 31px); display: inline-flex; flex-direction: column; justify-content: center; align-items: center; margin-right: 5%; margin-bottom: 17px;}
    #manga-publisher-wrapper > a:nth-child(3n) {margin: 0 0 4.2%;}
}

@media all and (max-width: 480px) {
     header {margin-bottom: 1rem !important;}
    .mt-m {margin-top: 0 !important}
    #manga-categories-wrapper {padding: 0 17px;}
    #manga-categories-wrapper a {width: calc(100% / 2 - 15px);}
    #manga-categories img {max-width: 100%; width: 100%;}
    section.mb-m header h2, header h2 {font-size: 28px !important;}
    section.mb-m header h2.mb-xs, header h2.mb-xs {justify-content: center;}
    #manga-publisher-wrapper {margin-top: -7px; margin-bottom: 28px;}
    #manga-publisher-wrapper > a {margin-right: 6%; margin-bottom: 17px;}
    #manga-publisher-wrapper > a:nth-child(3n) {margin-right: 0;}
}

/*HERO ANIMATION*/

@keyframes moveIntoFrame {
    0% {
        left: -725px;
    }
    30% {
        left: -385px;
    }
    70% {
        left: -385px;
    }
    73% {
        left: -725px;
    }
}

@keyframes expandCards {
    0% {
        margin-right: -580px;
    }
    30% {
        margin-right: 105px;
    }
    70% {
        margin-right: 105px;
    }
    90% {
        margin-right: -580px;
    }
}

@keyframes maPop {
    48% {
        transform: scale(1);
    }
    50% {
        transform: matrix(2, 0, 0, 2, -109, 80);
    }
    52% {
        transform: scale(1);
    }
}

@keyframes nPop {
    52% {
        transform: scale(1);
    }
    54% {
        transform: matrix(2, 0, 0, 2, 0, 80);
        z-index: 10;
    }
    56% {
        transform: scale(1);
    }
}

@keyframes gaPop {
    56% {
        transform: scale(1);
    }
    58% {
        transform: matrix(2, 0, 0, 2, 90, 80);
    }
    60% {
        transform: scale(1);
    }
}

#manga {
    max-width: 1366px;
    height: 250px;
    overflow: hidden;
    /* border: 1px solid #0037ffe3; */
    width: 100%;
    background-color: black;
    display: flex;
    margin: 0 auto 55px;
}

#manga .brand {
    position: relative;
    display: inline-flex;
    top: 25%;
    left: calc((100% - 454px)/2);
    z-index: 1;
    /* object-position: center; */
    /* margin: 0 auto; */
}

.mheight div {
    -webkit-box-shadow: -12px 2px 12px -4px rgb(0 0 0 / 60%);
    box-shadow: -12px 2px 12px -4px rgb(0 0 0 / 60%);
    position: relative;
    animation: expandCards 12s infinite;
    margin-left: -150px;
}

.maText {
    animation: maPop 12s infinite;
}

.nText {
    animation: nPop 12s infinite;
}

.gaText {
    animation: gaPop 12s infinite;
}

.mheight {
    margin-left: 36px;
    left: -1035px;
    position: relative;
    display: inline-flex;
    animation: moveIntoFrame 12s infinite cubic-bezier(0.4, 0, 1, 1);
}



@media only screen and (max-width:425px) {
    #manga {
        width: 100%;
        height: 182px;
        margin-bottom: 25px;
    }
    .mheight div {
        margin-left: -220px;
    }
    #manga .brand {
        /* width: 250px; */
        display: inline-flex;
        left: calc((100% - 287px)/2);
        top: 29%;
    }
    #manga .brand img {
        height: auto;
    }
    .maText img {
        width: 121px;
    }
    .nText img {
        width: 58px;
    }
    .gaText img {
        width: 108px;
    }
}
