.trait-container.mt-4 {
    padding: 0 100px;
}

/*products*/

.cs-grades {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
}

.cs-grades-list .cs-grade-item {
    width: calc(33.33% - 20px);
}

.cs-grades-single-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.cs-grades-single-wrapper .cs-grades-single .cs-grade-item {
    padding: 100px 20px;
}

.cs-grades-single-wrapper .cs-grades-single {
    width: 100%;
    display: block;
}

.cs-grades .cs-grade-item {
    padding: 60px 15px 20px;
    text-align: center;
    background: #d6e8f7;
    border-radius: 20px;
    position: relative;
}

.cs-grades .cs-grade-item .icon {
    position: absolute;
    right: 15px;
    top: 15px;
    background: #17171730;
    border-radius: 100%;
    height: 30px;
    width: 30px;
    color: #fff;
}

.cs-grades .cs-grade-item .cs-img {
    margin-bottom: 15px;
}

.cs-grades .cs-grade-item .title {
    color: #000;
    font-weight: 600;
    font-size: 24px;
}

.cs-grades .cs-grade-item .cs-img img {
    display: flex;
    height: 220px;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    box-shadow: 4px 4px 16px 0px #0000004a;
}

.cs-grade-item {
    position: relative;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
    cursor: pointer;
}

.cs-img img {
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.cs-grade-item:hover .cs-img img {
    transform: scale(1.05);
}

.Trait-books .trait-image {
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.Trait-books .trait-container .trait-image:hover {
    transform: scale(1.03);
}

.character-form .form .gfield .ginput_container select:focus {
    border-color: #f47500;
}

.character-form {
    max-width: 100%;
    width: 1100px;
    margin: 0 auto;
    overflow-x: hidden!important;
}

.character-form .gform_body.gform-body {
    background: #f8cfa9;
    padding: 60px;
    border-radius: 16px;
    border: 2px solid #f2844d;
    margin-bottom: 30px;
}

.character-form .gform_body.gform-body input[type="checkbox"] {
    background: #fff !important;
    border: unset !important;
    padding: unset !important;
    border-radius: 4px !important;
}

.character-form .gfield .ginput_container .gfield_checkbox {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.character-form .form .gfield .ginput_container select {
    border-radius: 0px !important;
    background-color: transparent;
    border-width: 0 0 2px;
    border-style: solid;
    padding: 10px 8px 10px;
    line-height: inherit;
    outline: none;
    box-shadow: 0 0 0;
    height: 42px;
}

.gchoice {
    cursor: pointer;
}

.character-form .gfield .ginput_container textarea {
    border: 1px solid #000 !important;
    padding: 10px !important;
    border-radius: 12px !important;
}

.gchoice {
    cursor: pointer;
}

body .character-form .gfield_label,
body .character-form label.gfield_label .gform-field-label {
    margin-bottom: 10px !important;
}

.form .gform_wrapper .gform-body .gfield input:hover,
.form .gform_wrapper .gform-body .gfield textarea:hover {
    border-color: #f47500;
}

.library-title {
    width: 700px;
    max-width: 100%;
}

.download-main .download a {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
    font-size: 18px;
}

/* popup */
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 1200px;
    height: 90vh;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    margin: auto;
    right: 0;
    bottom: 0;
}

.popup-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.filter-title {
    margin-bottom: 10px;
}

.bg-img img {
    display: flex;
    height: 220px;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.filter-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 0;
}

.filter-menu li {
    cursor: pointer;
    padding: 10px 35px;
    color: var(--orange);
    display: inline-block;
    position: relative;
    border-radius: 0px 16px 16px 16px;
    border: 1px solid var(--orange);
}

.filter-menu li.active {
    background: var(--orange);
    color: var(--white);
    box-shadow: 3px 3px 0 0 var(--blue-1);
    border: 1px solid var(--blue-1);
}

.filter-menu li:hover {
    background: var(--orange);
    color: var(--white);
    box-shadow: 3px 3px 0 0 var(--blue-1);
    border: 1px solid var(--blue-1);
}

.filter-menu li.active {
    background: var(--orange);
}

.bg-section {
    padding: 20px 40px;
    background: var(--orange);
}

.filter-bg {
    gap: 20px;
}

.filter-search {
    width: 80%;
}

.product-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.filter-search input#live-search {
    width: 60%;
    padding: 10px 20px;
    font-size: 16px;
    color: #6e6e6e;
}

.search-box {
    display: flex;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 8px;
    align-items: center;
}

.search-box input {
    border: none;
    outline: none;
    flex: 1;
}

.search-box i {
    margin-right: 15px;
    cursor: pointer;
}

.uk-container.shop-container {
    display: grid;
    gap: 10px;
}

.tab-content {
    padding: 20px 0;
}

.respect-section {
    /* padding: 40px; */
    display: flex;
    gap: 40px;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
}

.book-item {
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
    padding: 30px 0;
    list-style: none;
    align-items: center;
    border-bottom: 1px solid #cccccc;
    gap: 30px;
}

.book-item .book-img {
    padding: 30px;
    width: 25%;
}

.book-item .book-img img {
    display: flex;
    height: 250px;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap;
    object-fit: cover;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    border-radius: 0px 16px 16px 16px;
}

.book-item .books-content {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: 74%;
}

.book-item .books-content .book-content-info {
    width: 65%;
}

.book-item .books-content .book-cart {
    gap: 30px;
    display: flex;
    width: 30%;
    justify-content: space-between;
    text-align: right;
    flex-direction: column;
    align-items: flex-end;
}

.trade-book-para {
    display: flex;
    gap: 30px;
}

.trade-discover-cards h3 {
    padding: 0 10px;
    margin-bottom: 20px;
}

.quantity-strong {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #b1b1b1;
    margin-right: 10px;
    border-radius: 5px;
    color: #ababab;
}

.trait-book-img {
    width: 150px;
}

.trait-filter img {
    border: 2px solid transparent;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
    max-width: 200px;
}

.trait-filter:hover img,
.trait-filter.active img {
    border-color: var(--orange);
    cursor: pointer;
}

.trait-filter:hover .book-type,
.trait-filter.active .book-type {
    color: var(--orange);
    transition: color 0.3s ease-in-out;
}

.trait-box-grid {
    flex-wrap: nowrap;
    padding-left: 20px;
    margin-bottom: 30px;
}

.trait-box {
    width: 10%;
    padding: 0;
}


.book-cart-price {
    color: var(--orange);
    font-size: 20px;
    font-weight: 500;
}

.trait-container .kindness-closure,
.trait-container .kindness-kickoff {
    display: none;
}

@media only screen and (max-width:1200px) {
    .cs-grades-single-wrapper .cs-grades-single {
        margin-bottom: 30px;
    }
}

@media only screen and (max-width: 1025px) {
    .book-img {
        padding: 10px;
    }

    .trait-image {
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }

    .trait-box-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

    .trait-box {
        width: 18%;
        padding: 0;
    }

    .book-item .books-content {
        flex-direction: column;
    }

    .book-item .book-img {
        padding: 30px;
        width: 35%;
    }

    .book-item .books-content {
        flex-direction: column;
        width: 65%;
    }

    .book-item .books-content .book-content-info {
        width: 100%;
    }

    .book-item .books-content .book-cart {
        width: 100%;
        text-align: right;
        flex-direction: row;
    }
}

@media only screen and (max-width: 990px) {
    .cs-grades-list .cs-grade-item {
        width: calc(50% - 20px);
    }

    .trait-container.mt-4 {
        padding: 0 0px;
    }

    .trade-book-para {
        display: flex;
        justify-content: center;
    }

    .book-cart {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: row;
    }

    .cate-top-img h1 {
        font-size: 35px;
    }

    .fiwe-testi-grid {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .testi-card {
        width: 100%;
    }

    .testimonials-container {
        margin-left: 20px;
        margin-left: 20px;
        padding: 0;
    }



    .uk-text-center.trait-grid-box {
        order: -1;
        margin-bottom: 20px;
        padding-bottom: 0;
    }

    .uk-width-1-2\@m.visible\@m.uk-text-center.uk-flex.uk-flex-column.uk-flex-center {
        display: none;
    }

    .book-item .books-content .book-cart .trait-book-img {
        width: 100px;
    }
}

@media only screen and (max-width: 768px) {
    section.title-header.title-header-small .cate-top-img>div {
        padding-bottom: 0;
    }

    .trait-container .uk-width-1-2 {
        width: 50%;
    }

    section.title-header.title-header-small .uk-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .uk-width-1-2.uk-text-center.uk-flex.uk-flex-column.uk-flex-center {
        display: none;
    }

    .trait-container.mt-4 {
        padding: 0;
    }

    .book-item {}

    .book-img {
        margin: 0 auto;
    }

    .trait-filter {
        text-align: center;
    }

    .trait-box-grid .grid-box {
        width: 30%;
        text-align: center;
        padding-left: 0;
    }

    .filter-tabs.trait-box-grid {
        justify-content: flex-start;
        overflow-x: scroll;
        gap: 10px;
        flex-wrap: nowrap;
        overflow-y: hidden;
        padding-bottom: 15px;
        margin-bottom: 10px;
    }

    .product-filter .filter-tabs {
        overflow-y: hidden;
        gap: 10px;
    }

    .product-filter .filter-tabs li {
        margin-bottom: 15px;
        width: unset;
        padding: 10px 20px;
    }

    .book-item .books-content .book-content-info p {
        display: none;
    }

    .book-item .books-content .book-cart {
        width: 100%;
        gap: 15px;
        text-align: left;
        flex-direction: column;
        align-items: baseline;
    }

    .book-item .book-img {
        padding: 20px;
        width: 45%;
    }

    .book-item .books-content {
        flex-direction: column;
        width: 55%;
    }

    .book-item .book-img img {
        height: 200px;
    }

    section.shop-by-grade {
        padding-top: 0;
    }

    section.shop-by-grade .mb-4 br {
        display: none;
    }
}

@media only screen and (max-width: 480px) {

    .book-item {
        flex-direction: column;
    }

    .book-item .book-img {
        width: 230px;
        max-width: 100%;
    }

    .trait-grid {
        display: block;
    }

    .book-item .books-content {
        width: 100%;
    }

    .book-item .books-content .book-cart {
        flex-wrap: wrap;
        justify-content: space-between;
        display: flex;
        flex-direction: row;
    }

    .filter-menu {
        flex-direction: row;
        display: flex;
        align-items: center;
        padding-left: 20px;
        gap: 20px !important;
    }

    .filter-menu li {
        text-align: center;
        padding: 10px;
        width: 50%;
        margin-bottom: 20px;
    }

    .search-box {
        text-align: center;
        margin-bottom: 10px;
        width: 100%;
    }

    .trait-image {
        display: flex;
        justify-content: center;
    }

    .cate-top-img h1 {
        font-size: 30px;
    }

    .trait-box {
        padding-left: 0;
    }

    .respect-box {
        padding-bottom: 0;
    }

    .grid-box {
        padding: 0;
        width: 100%;
        text-align: center;
    }

    .trait-box {
        width: 50%;
    }

    .filter-search {
        width: 100%;
        margin-bottom: 0;
    }

    .trait-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .trait-grid .trait-grid-box {
        width: 50%;
    }

    .trait-grid .grade-levels-title {
        width: 100%;
    }

    .trait-grid .grade-levels-title h2 {
        margin-bottom: 10px;
    }

    .trait-container.mt-4 {
        padding: 0;
        margin-top: 20px;
    }

    .authors-para {
        width: 100%;
    }

    .cs-grades {
        gap: 20px;
    }

    .cs-grades-list .cs-grade-item {
        width: calc(50% - 10px);
    }

    .cs-grades .cs-grade-item .cs-img img {
        height: 140px;
    }

    .cs-grades-single-wrapper .cs-grades-single .cs-grade-item {
        padding: 30px 20px 20px;
    }
    .cs-grades-single-wrapper br{display:none;}
    .cs-grades .cs-grade-item .title {

        font-size: 18px;
    }

    .cs-grades .cs-grade-item .icon {

        right: 10px;
        top: 10px;
        height: 24px;
        width: 24px;
        font-size: 20px;

    }

    .filter-search input#live-search{
        font-size:14px;padding: 8px 9px;

    }

    .tab-content{
        padding-top: 0;
    }

    .tab-content .book-item:first-child{
         padding-top: 0;
    }
}