.user-wall-head {
    mask-image: url("../img/svg/personal-wall-mask-1200x250.svg");
    mask-position: bottom center;
    mask-repeat: repeat-x;
    mask-size: cover;
    -webkit-mask-image: url("../img/svg/personal-wall-mask-1200x250.svg");
    -webkit-mask-position: bottom center;
    -webkit-mask-repeat: repeat-x;
    -webkit-mask-size: cover;
    /*width: calc(100vw - 1.69rem);*/
    height: calc((100vw - 1.69rem) / 4.8);
}

.glass-morphism {
    background: rgba(255, 255, 255, 0.9) !important;
}


@keyframes radius1 {
    0% {
        border-radius: 40% 70% 70% 45% / 32% 35% 75% 65%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

@keyframes radius2 {
    0% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;

    }
    25% {
        border-radius: 40% 70% 70% 45% / 32% 35% 75% 65%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;

    }
    100% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;

    }
}


@keyframes radius3 {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;

    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
    75% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    100% {
        border-radius: 40% 70% 70% 45% / 32% 35% 75% 65%;

    }
}




.school-row{
    display: flex;
    justify-content: end;
    margin-bottom: -3rem;}

.school-row .sp_navtab{
    width: fit-content;
}

.school-tab{
    z-index: 1;
}


.sp_navtab.school-tab  .nav-tabs li{
    border-left: unset !important;
}

.school-tab li a{
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: 50%;
    margin: 0 1rem;
    padding: 0 !important;
    font-size: 1.2rem;
    animation: radius 5s infinite alternate;
    background-color: rgb(203 210 221 / 74%) !important;
}

.school-tab li:nth-child(1) a{
    animation: radius3 5s infinite alternate;
}

.school-tab li:nth-child(2) a{
    animation: radius1 5s infinite alternate;
}

.school-tab li:nth-child(3) a{
    animation: radius2 5s infinite alternate;
}
.school-tab li:nth-child(4) a{
    animation: radius3 5s infinite alternate;
}

.school-tab li:first-child a{
    margin-right: 0 !important;
}
.school-tab li:last-child a{
    margin-left: 0 !important;
}

.school-tab .nav > li > a:hover, .school-tab .nav > li > a:focus {
    background-color: var(--blue) !important;
    color: #fff !important;
}

.school-tab .nav-tabs > li.active > a{
    background-color: var(--blue) !important;
    color: #fff !important;

}

.avg-bg {
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    filter: blur(35px);
    z-index: -1;
    opacity: .14;
}

.follow-btn input {
    cursor: pointer !important;
}

.follow-btn .follow-ch {
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    border: 1px solid transparent;

}

.follow-btn .follow-user:not(.sp_btn_loader)::after {
    content: 'دنبال کردن';
}

.follow-btn .follow-user.followed:not(.sp_btn_loader)::after {
    content: 'دنبال شده' !important;
}

.follow-btn .follow-user.followed {
    background-color: var(--blue);
    color: #fff;
}

.social-content {
    overflow-y: scroll;
    scroll-snap-type: y;
    scrollbar-width: thin;
    position: relative;
}

.social-content-item {
    scroll-snap-align: start;
}


.social-content-text {
    margin-top: 4rem;
}

.aspect-3 {
    aspect-ratio: 3 / 4 !important;
}

.aspect-2 {
    aspect-ratio: 2 / 3 !important;
}

.aspect-1 {
    aspect-ratio: 1 / 1 !important;
}


.open-social {
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(50%);
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    box-shadow: var(--mainshadow) !important;
    background-color: #fff;
    font-size: 2rem;
    border-radius: 50%;
    z-index: 11;
}


.main {
    margin-top: 0 !important;
}

.personal-header-details,
.personal-tabs {
    background-color: #ffffff;
    box-shadow: var(--mainshadow);
    padding: 3rem 1rem 1rem 1rem;
}

.personal-page {
    margin-top: 7rem;

}

.personal-header-details {
    border-radius: 5rem !important;
}

.personal-tabs {
    border-radius: var(--border-sm);
}

.user-wall-head:before {
    background-position: center;
    background-repeat: repeat-x;
    display: block;
    content: "";
    /*width: calc(100vw - 1.699rem);*/
    height: calc((100vw - 1.699rem) / 4.8);
    background-size: cover;
}

.user-wall-avatar {
    bottom: -6rem;
    right: 50%;
    transform: translateX(50%);
}

.user-wall-avatar img {
    width: 10rem;
    border: 7px solid #ecebef;
}

.user-wall-avatar i {
    font-size: 2rem;
}


.followers,
.content-comment {
    flex-grow: 1;
}

.length {
    color: #475466;
    font-size: 2rem;
    padding-left: 0.35rem;
    font-weight: 700;
}

.personal-header-details,
.personal-header-details a {
    color: rgb(121, 129, 139) !important;
}

.personal-social a {
    fill: #475466;
    padding: 1rem;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    transition: .2s ease-in;
}

.personal-social a:hover {
    background-color: #3b82f6;
    fill: #ffff;
    color: #fff;
}


/*.personal-tabs .nav-tabs {*/
/*  border: unset;*/
/*  font-size: 1.5rem;*/
/*  font-weight: 700;*/
/*}*/
/*.personal-tabs .nav-tabs li {*/
/*  border-left: 1px solid var(--bordergray);*/
/*}*/
/*.personal-tabs .nav-tabs>li>a {*/
/*  border: 1px solid transparent;*/
/*  padding: 0 1rem;*/
/*}*/
/*.personal-tabs .nav-tabs li:last-child {*/
/*  border-left: unset;*/
/*  padding-left: 0 !important;*/
/*}*/
/*.personal-tabs .nav-tabs li:nth-child(1) {*/
/*  padding-right: 0 !important;*/
/*}*/
/*.personal-tabs .nav>li>a:hover,*/
/*.personal-tabs .nav>li>a:focus {*/
/*  background-color: unset !important;*/
/*  border: 1px solid transparent !important;*/
/*}*/
/*.personal-tabs .nav>li>a:focus {*/
/*  color: var(--blue) !important;*/
/*}*/
.sort-nav li a i {
    vertical-align: middle !important;
}

.followers-box {
    height: calc(100vh - 24rem);
    overflow-y: auto;
    scrollbar-width: thin;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.followers-box > .follower:first-child {
    margin-top: 0 !important;
}

.following-box {
    height: calc(100vh - 24rem);
    overflow-y: auto;
}

.follower img {
    width: 5rem;
    aspect-ratio: 1/1;
}

.follower button {
    font-weight: 700;
    font-size: 1.3rem;
    font-weight: 700;
}


#followers .modal-dialog {
    height: calc(100vh - 10rem);
}

#following .modal-dialog {
    height: calc(100vh - 10rem);
}

.line {
    display: flex !important;
    flex-direction: column !important;
}

.tile.content-list-box {
    display: grid;
}

.content-list-small {
    align-self: flex-start;
    flex-direction: column !important;
    /* box-shadow: 0 0 5px 0 rgba(0, 0, 0, .1); */
    border-bottom: none !important;
    padding: 0 !important;
}

.content-list {
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}

.line.content-list {
    border-radius: 0;
}

.content-list-small.content-list img {
    border-radius: var(--border-sm) !important;
}

.content-list:last-child {
    padding: 2rem 0;
    border-bottom: none;
}

.content-right-img {
    max-width: 14rem;
}

.content-list-left {
    border-right: 1px solid rgba(71, 71, 71, 0.335);
    flex-direction: column;
}

.content-detalis {
    color: #afb6bc;
}

.content-detalis span i {
    font-size: 1.7rem;
    flex: 1;
}

.content-detalis .like span {
    flex: 1;
    display: flex;
    gap: .5rem;
}

/* //////////////// */
.content-tile .content-right-title > *:not(.content-main-title) {
    display: none;
}

.content-tile {
    display: flex;
    flex-direction: column;
}

.content-tile .content-right-title {
    padding: 0;
    /* min-height: 8rem; */
}

.content-tile.content-right-title {
    padding: 0 !important;
}

.content-tile.content-list-left {
    display: none !important;
}

.content-tile.content-topic {
    display: none !important;
}

.content-tile .content-main-title {
    padding: 1.4rem 0;
    margin: 0;
    font-size: 14.5px;
}

/*.content-tile .content-main-title h5{*/
/*    margin: 0;*/
/*    width: 100%;*/
/*    white-space: nowrap;*/
/*    overflow: hidden;*/
/*    text-overflow: ellipsis;*/
/*}*/
/* /////////////// */

#tab-content #popular-content, #tab-content #last-send, #tab-content #last-comment {
    overflow-y: auto !important;
    max-height: 90%;

}

.skills-tab .nav li a {
    padding: 10px 7px !important;
}

.skills-tab .tab-content {
    overflow-y: auto !important;
    max-height: 24rem;
}

.skills-tab ul:after{
    content: unset !important;
}

/*.content-list:nth-child(n+10) {*/
/*    display: none !important;*/
/*    border-bottom: none !important;*/
/*}*/

.content-line.content-list {
    padding: 1rem 0 !important;
    border-bottom: 1px solid var(--bordergray) !important;
}

.content-line.content-list:last-child {
    border-bottom: none !important;
}

.content-line .content-list-right {
    width: auto;
    justify-content: start;
}

.content-line .content-right-title {
    padding-right: 1rem;
}

.content-line .content-right-title > *:not(.content-main-title) {
    display: none;
}

.content-line {
    display: flex;
    flex-direction: row;
    align-items: center;
    border: none !important;
    justify-content: space-between;
}

.content-line .content-list-img {
    flex-basis: 5.2rem;
    border-radius: var(--border-sm);
    overflow: hidden;
}

.content-line .content-detalis {
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: end;
    gap: 1rem;
}

.content-line .content-list-left {
    flex-direction: row;
    border: none;
}

.content-line .content-detalis .like {
    width: 50%;
    height: fit-content;
    flex: 1;
}


.content-line .content-detalis .history {
    padding: 0;
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.content-line .content-main-title h5 {
    font-weight: 500;
    font-size: 15px;
    margin-top: 9px;
    margin-bottom: 9px;
}

.content-main-title {
    font-weight: 500;
    font-size: 16px;
}

.tool-btn .for-dropdown i {
    color: white;
    font-size: 3rem;
}


.tool-btn-box {
    background-color: aqua;
}


.last-comment-content span, .last-comment-content a {
    font-weight: 600;
    white-space: nowrap;
}

#about-me ul .active {
    background-color: #1A73E8 !important;
    color: #fff !important;
}

#about-me ul li a:hover {
    color: unset !important;
}

#about-me ul li a:focus {
    color: unset !important;
}

.tab-box {
    display: grid;
    grid-template-columns: repeat(6, minmax(100px, 1fr));
    gap: 2rem;
}

.tab-box img {
    width: 8rem;
}

.tab-box.books {
    grid-template-columns: repeat(5, minmax(100px, 1fr));
}

.skills-tab .nav:before {
    content: unset !important;
}

.sp_navtab .nav-tabs {
    font-size: inherit !important;
}


.tab-pane, .tab-content {
    height: 100%;
}


.user-wall-avatar i {
    font-size: 2.5rem;
    background-color: #f1f1f5;
    border-radius: 50%;
    font-weight: 100;
    box-shadow: 0px 0px 5px -1px black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-button-disabled{
    opacity: .5;
}

@media (min-width: 0px) {
    .school-tab{
        margin-bottom: -2rem;
    }

    .skills,.read-book{
        width: 100%;
    }

    .user-wall-avatar i {
        width: 40px;
        height: 40px;
    }


    .user-wall-avatar .profile {
        width: 11rem;
        height: 11rem;
    }

    .school-tab li a{
        width: 5rem;
        height: 5rem;
    }

    .tile.content-list-box {
        grid-template-columns: repeat(1, minmax(90px, 1fr));
        gap: 1rem;
    }

    .last-comment-content img {
        width: 4rem;
    }

    .last-comment-content span, .last-comment-content a {
        font-size: 1.1rem;

    }

    .content-topic {
        display: none;
    }

    .profile-header {
        margin-top: 8rem;
    }

    .tool-btn {
        top: 10px;
        left: 10px;
    }

    .personal-header-details .follow-btn {
        order: -1;
        margin-top: -3rem;
        margin-bottom: 1rem;
    }

    .content-comment li, .followers li a {
        font-size: 2rem;
    }

    .content-topic {
        display: none;
    }

    .social-content-box {
        display: none;
    }

    #daily-content .social-content-box-tab {
        display: block;
    }

    #daily-content .social-content-box-tab .social-content {
        height: 900px;

    }

    .tab-box {
        display: grid;
        grid-template-columns: repeat(2, minmax(70px, 1fr));
        gap: 1rem;
    }

    .skills-tab .nav {
        border-bottom: 1px solid var(--bordergray);
    }

    .skills-tab .nav li {
        width: calc((100% / 2) - 0.5rem);
    }

    .user-wall-avatar {
        bottom: -5rem;
    }

    .user-wall-head {
        mask-image: url("../img/svg/personal-wall-mask-430x175.svg");
        mask-position: bottom center;
        -webkit-mask-image: url("../img/svg/personal-wall-mask-430x175.svg");
        -webkit-mask-position: bottom center;
        width: calc(100vw);
        height: calc(100vw / 2.457);
    }

    .user-wall-head:before {
        width: 100%;
        height: calc(100vw / 2.457);
    }

    .user-wall-avatar img {
        width: 12rem;
    }

    .content-line .content-detalis .history {
        width: auto;
    }

    .personal-middle-box {
        height: fit-content;
    }


    .content-detalis .like span {
        flex-direction: column;
    }

}

@media (min-width: 300px) {

    .content-line .content-main-title h5 {
        width: 10rem;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .content-line .content-list-left {
        width: 20rem !important;
    }
}

@media (min-width: 370px){
    .tab-box {
        grid-template-columns: repeat(3, minmax(70px, 1fr));
    }
}

@media (min-width: 400px) {
    .tile.content-list-box {
        grid-template-columns: repeat(2, minmax(90px, 1fr));
        gap: 2rem;

    }

    .user-wall-avatar i {
        width: 50px;
        height: 50px;
    }

}

@media (min-width: 480px) {


}

@media (min-width: 576px) {
    .school-tab{
        margin-bottom: -5rem;
    }


    .school-tab li a{
        width: 8rem;
        height: 8rem;
    }


    .content-line .content-list-left {
        width: 25rem !important;
    }

    .personal-header-details .follow-btn {
        order: unset;
        margin: 0;
    }

    .content-comment li, .followers li a {
        font-size: 1.5rem;
    }

    .tile.content-list-box {
        grid-template-columns: repeat(3, minmax(140px, 1fr));
    }

    .last-comment-content img {
        width: 5rem;
    }

    .last-comment-content span, .last-comment-content a {
        font-size: 14px;
    }

    .tab-box {
        display: grid;
        grid-template-columns: repeat(4, minmax(100px, 1fr));
        gap: 2rem;
    }


    .user-wall-head {
        mask-image: url("../img/svg/personal-wall-mask-950x200.svg");
        mask-position: bottom center;
        -webkit-mask-image: url("../img/svg/personal-wall-mask-950x200.svg");
        -webkit-mask-position: bottom center;
        height: calc((100vw - 1.69rem) / 4.8);
    }

    .user-wall-head:before {
        height: calc((100vw - 1.699rem) / 4.8);
    }

    .user-wall-avatar img {
        width: 13rem;
    }

    .content-line .content-detalis .history {
        width: 35%;
    }

    .content-detalis .like span {
        flex-direction: row;
    }

    .user-wall-avatar {
        bottom: -7rem;
    }


}

@media (min-width: 768px) {
    .school-tab{
        margin-bottom: -7rem;
    }
    .tab-box {
        display: grid;
        grid-template-columns: repeat(5, minmax(100px, 1fr));
        gap: 2rem;
    }

    .content-line .content-list-left {
        width: 40% !important;
    }

    .content-line .content-main-title h5 {
        width: 25rem;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .length {
        font-size: 2rem;
    }


    .user-wall-head {
        mask-image: url("../img/svg/personal-wall-mask-950x200.svg");
        mask-position: bottom center;
        -webkit-mask-image: url("../img/svg/personal-wall-mask-950x200.svg");
        -webkit-mask-position: bottom center;
        height: calc((100vw - 1.69rem) / 4.8);
    }

    .user-wall-head:before {
        height: calc((100vw - 1.699rem) / 4.8);
    }

}

@media (min-width: 992px) {


    .school-tab li a{
        width: 14rem;
        height: 11rem;
    }

    .content-line .content-list-left {
        width: 45% !important;
    }

    .content-line .content-main-title h5 {
        width: 15rem;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .tab-box {
        display: grid;
        grid-template-columns: repeat(4, minmax(100px, 1fr));
        gap: 2rem;
    }

    .tile.content-list-box {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
    }

    .content-comment li, .followers li a {
        font-size: 2rem;
    }

    .social-content {
        width: calc(265px + 6rem);
    }

    .social-content-box {
        display: flex;
    }

    .social-content-box .sp_background {
        height: 100%;
    }

    .length {
        font-size: 2.5rem;
    }


    .user-wall-head {
        mask-image: url("../img/svg/personal-wall-mask-1200x250.svg");
        mask-position: bottom center;
        -webkit-mask-image: url("../img/svg/personal-wall-mask-1200x250.svg");
        -webkit-mask-position: bottom center;
        height: calc((100vw - 1.69rem) / 4.8);
    }

    .user-wall-head:before {
        height: calc((100vw - 1.699rem) / 4.8);
    }

    .user-wall-avatar img {
        width: 13.5rem;
    }

    .personal-middle-box {
        height: 71rem;
    }

    .user-wall-avatar .profile {
        width: 14rem;
        height: 14rem;
        margin: 0 1rem;
    }
}

@media (min-width: 1200px) {


    .skills,.read-book{
        width: 49%;
    }

    .tile.content-list-box {
        grid-template-columns: repeat(3, minmax(150px, 1fr));
    }

    .content-line .content-list-left {
        width: 30rem !important;
    }

    .skills-tab .nav {
        border-right: 1px solid var(--bordergray);
        border-bottom: unset !important;

    }


    .skills-tab .nav li {
        width: auto !important;
        flex: 1 !important;
    }

    .profile-header {
        margin-top: 0;
    }

    .tool-btn {
        top: 100px;
        left: 20px;
    }

    .content-topic {
        display: inline;
    }

    .social-content {
        width: calc(400px + 6rem);
    }

    .tab-box {
        display: grid;
        grid-template-columns: repeat(3, minmax(100px, 1fr));
        gap: 2rem;
    }

    .tab-box.books {
        grid-template-columns: repeat(3, minmax(100px, 1fr));
    }


    .length {
        font-size: 3rem;
    }

    .user-wall-head {
        mask-image: url("../img/svg/personal-wall-mask-1200x250.svg");
        mask-position: bottom center;
        -webkit-mask-image: url("../img/svg/personal-wall-mask-1200x250.svg");
        -webkit-mask-position: bottom center;
        height: calc((100vw - 1.69rem) / 4.8);
    }

    .user-wall-head:before {
        height: calc((100vw - 1.699rem) / 4.8);
    }

    .personal-middle-box {
        height: 65rem !important;
    }


}

@media (min-width: 1278px) {
    .tab-box {
        display: grid;
        grid-template-columns: repeat(4, minmax(100px, 1fr));
        gap: 2rem;
    }

}

@media (min-width: 1400px) {
    .content-line .content-main-title h5 {
        width: 45rem;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .tile.content-list-box {
        grid-template-columns: repeat(4, minmax(150px, 1fr));
    }

    .tab-box {
        display: grid;
        grid-template-columns: repeat(5, minmax(100px, 1fr));
        gap: 2rem;
    }

    .tab-box.books {
        grid-template-columns: repeat(4, minmax(100px, 1fr));
    }
}

@media (min-width: 1600px) {

    .tile.content-list-box {
        grid-template-columns: repeat(5, minmax(150px, 1fr));
    }

    .length {
        font-size: 3rem;
    }

    .user-wall-head {
        mask-image: url("../img/svg/personal-wall-mask-1600x350.svg");
        mask-position: bottom center;
        height: calc((100vw - 1.69rem) / 4.8);
    }

    .user-wall-head:before {
        height: calc((100vw - 1.699rem) / 4.8);
    }

    .user-wall-avatar img {
        width: 14rem;
    }
}

@media (min-width: 1920px) {
    .tab-box {
        display: grid;
        grid-template-columns: repeat(7, minmax(80px, 1fr));
        gap: 2rem 1rem;
    }

    .tab-box.books {
        grid-template-columns: repeat(5, minmax(100px, 1fr));
    }
}


@media (max-width: 400px) {
    .nav-tabs > li > a {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 450px) {
}

@media (max-width: 480px) {

    .follow-btn button {
        padding: 1rem 2rem !important;
    }

    .personal-header-details {
        position: relative;
    }

    .length {
        font-size: 2rem !important;
    }

    /*.personal-header-details {*/
    /*    flex-direction: column;*/
    /*}*/
}

@media (max-width: 576px) {
    .length {
        font-size: 1.7rem;
    }

    #followers-modal .modal-dialog {
        width: 100%;
        margin: 0;
        height: 100%;
    }

}

@media (max-width: 768px) {
    .nav-tabs > li > a {
        font-size: 2rem;
    }

    .fa-shopping-cart {
        font-size: 20px !important;
    }
}

/* ------------------ */

.for-dropdown {
    margin: 0 !important;
}

.section-dropdown {
    display: grid !important;
    grid-template-columns: auto;
    gap: 2rem 0;
}


.section-dropdown .cart img {
    width: 6rem;
}

.sec-center {
    position: relative;
    text-align: center;
    z-index: 200;
    /* width: 20rem; */
}

/*[type="checkbox"]:checked,*/
/*[type="checkbox"]:not(:checked) {*/
/*    position: absolute;*/
/*    left: -9999px;*/
/*    opacity: 0;*/
/*    pointer-events: none;*/
/*}*/

.dropdown-sub,
#dropdown {
    display: none;
}

.dropdown:checked + label,
.dropdown:not(:checked) + label {
    position: relative;
    font-weight: 500;
    font-size: 15px;
    transition: all 200ms linear;
    cursor: pointer;
    box-shadow: 0 12px 35px 0 rgba(255, 235, 167, .15);
}

.dropdown:checked + label:before,
.dropdown:not(:checked) + label:before {
    position: fixed;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    z-index: -1;
    cursor: auto;
    pointer-events: none;
}

.dropdown:checked + label:before {
    pointer-events: auto;
}

.dropdown:not(:checked) + label .uil {
    font-size: 24px;
    margin-left: 10px;
    transition: transform 200ms linear;
}

.dropdown:checked + label .uil {
    transform: rotate(180deg);
    font-size: 24px;
    margin-left: 10px;
    transition: transform 200ms linear;
}

.section-dropdown {
    position: absolute;
    background-color: white;
    /* background-color: rgb(223 223 223); */
    top: 0;
    /* left: 0;
    width: 100%; */
    left: 4rem;
    width: 15rem;
    border-radius: 4px;
    display: block;
    box-shadow: var(--mainshadow);
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 200ms linear;
}

.section-dropdown ul li {
    border-bottom: 1px solid var(--bordergray);
    padding: 1rem 0;
}

.section-dropdown ul li:last-child {
    border-bottom: unset;
}


.dropdown:checked ~ .section-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.section-dropdown:before {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    content: '';
    display: block;
    z-index: 1;
}

.section-dropdown:after {
    position: absolute;
    top: 11px;
    left: -12px;
    transform: rotate(-90deg);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
    content: '';
    display: block;
    z-index: 2;
    transition: all 200ms linear;
}

/* .section-dropdown a {
  position: relative;
  color: rgb(0, 0, 0);
  transition: all 200ms linear;
  font-size: 15px;
  border-radius: 2px;
  padding: 5px 0;
  padding-left: 20px;
  padding-right: 15px;
  margin: 2px 0;
  text-align: left;
  text-decoration: none;
  display: flex;
} */


/* .section-dropdown a:hover {
  background-color: #ffeba7;
} */

.section-dropdown a .uil {
    font-size: 22px;
}

.dropdown-sub:checked + label,
.dropdown-sub:not(:checked) + label {
    position: relative;
    color: #fff;
    transition: all 200ms linear;
    font-weight: 500;
    font-size: 15px;
    border-radius: 2px;
    padding: 5px 0;
    padding-left: 20px;
    padding-right: 15px;
    text-align: left;
    text-decoration: none;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    justify-content: space-between;
    -ms-flex-pack: distribute;
    cursor: pointer;
}

.dropdown-sub:checked + label .uil,
.dropdown-sub:not(:checked) + label .uil {
    font-size: 22px;
}

.dropdown-sub:not(:checked) + label .uil {
    transition: transform 200ms linear;
}

.dropdown-sub:checked + label .uil {
    transform: rotate(135deg);
    transition: transform 200ms linear;
}

.dropdown-sub:checked + label:hover,
.dropdown-sub:not(:checked) + label:hover {
    background-color: #ffeba7;
}

.section-dropdown-sub {
    position: relative;
    display: block;
    width: 100%;
    pointer-events: none;
    opacity: 0;
    max-height: 0;
    padding-left: 10px;
    padding-right: 3px;
    overflow: hidden;
    transition: all 200ms linear;
}

.dropdown-sub:checked ~ .section-dropdown-sub {
    pointer-events: auto;
    opacity: 1;
    max-height: 999px;
}

.section-dropdown-sub a {
    font-size: 14px;
}

.section-dropdown-sub a .uil {
    font-size: 20px;
}

.product-dropdown .dropdown-menu {
    width: auto !important;
    position: absolute;
    right: 0 !important;
    left: 0 !important;
    min-width: unset !important;
}

.dropdown-menu > li > a {
    padding: 3px 3px;
}

.grade,
.topic {
    width: 13rem;
}

.sort {
    width: 10rem;
}

.story {
    /*position: absolute;*/
    /*top: 50%;*/
    /*left: 50%;*/
    /*transform: translate(-50%, -50%);*/
    /*width: 100%;*/
    /*height: 100%;*/
    /*overflow: hidden;*/
    display: grid;
    justify-content: center;
}

.story img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    /*position: absolute;*/
    /*top: 50%;*/
    /*left: 50%;*/
    /*transform: translate(-50%, -50%);*/
}



.story svg {
    fill: none;
    stroke: #8a3ab8;
    stroke-width: 3px;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    display: none;
}

.story svg:hover {
    animation: loading 4500ms ease-in-out infinite alternate;

}

@keyframes loading {
    100% {
        stroke: #cd476b;
        stroke-dasharray: 10;
        transform: rotate(200deg);
    }
}

