input[type="email"],
input[type="text"],
input[type="password"],
input[type="tel"] {
    width: 95%;
    height: 30px
}

input[name="cart_quantity"] {
    width: 40px;
    border: 1px solid #afaeae;
    border-radius: 6px;
}

.base_c_1 {
    color: #171C61;
}

.base_c_2 {
    color: #00479D;
}

.base_c_3 {
    color: #2660AD;
}

.base_c_4 {
    color: #557EC0;
}

.base_c_5 {
    color: #6BC8F2;
}

.base_bc_1 {
    background-color: #171C61;
    color: #fff;
    font-size: 0.9em;
}

.base_bc_2 {
    background-color: #00479D;
}

.base_bc_3 {
    background-color: #2660AD;
}

.base_bc_4 {
    background-color: #557EC0;
}

.base_bc_5 {
    background-color: #6BC8F2;
}

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

.row {
    /*--bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;*/
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x) * -.5);
    margin-left: calc(var(--bs-gutter-x) * -.5);
}


.cols-auto {
    flex: 0 0 auto;
    width: auto;
}

.cols-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
}

.cols-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
}

.cols-3 {
    flex: 0 0 auto;
    width: 26%;
}

.cols-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
}

.cols-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
}

.cols-6 {
    flex: 0 0 auto;
    width: 50%;
}

.cols-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
}

.cols-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
}

.cols-9 {
    flex: 0 0 auto;
    width: 75%;
}

.cols-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
}

.cols-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
}

.cols-12 {
    flex: 0 0 auto;
    width: 100%;
}



@media (min-width: 991px) {
    .cols-sm-auto {
        flex: 0 0 auto;
        width: auto;
    }

    .cols-sm-1 {
        flex: 0 0 auto;
        width: 8.33333333%;
    }

    .cols-sm-2 {
        flex: 0 0 auto;
        width: 16.66666667%;
    }

    .cols-sm-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .cols-sm-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .cols-sm-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

    .cols-sm-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .cols-sm-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }

    .cols-sm-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }

    .cols-sm-9 {
        flex: 0 0 auto;
        width: 74%;
    }

    .cols-sm-10 {
        flex: 0 0 auto;
        width: 83.33333333%;
    }

    .cols-sm-11 {
        flex: 0 0 auto;
        width: 91.66666667%;
    }

    .cols-sm-12 {
        flex: 0 0 auto;
        width: 100%;
    }

}


@media (min-width: 980px) {
    .cols-lg-auto {
        flex: 0 0 auto;
        width: auto;
    }

    .cols-lg-1 {
        flex: 0 0 auto;
        width: 8.33333333%;
    }

    .cols-lg-2 {
        flex: 0 0 auto;
        width: 16.66666667%;
    }

    .cols-lg-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .cols-lg-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .cols-lg-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

    .cols-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .cols-lg-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }

    .cols-lg-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }

    .cols-lg-9 {
        flex: 0 0 auto;
        width: 75%;
    }

    .cols-lg-10 {
        flex: 0 0 auto;
        width: 83.33333333%;
    }

    .cols-lg-11 {
        flex: 0 0 auto;
        width: 91.66666667%;
    }

    .cols-lg-12 {
        flex: 0 0 auto;
        width: 100%;
    }

    .cols-lg-49 {
        flex: 0 0 auto;
        width: 49%;
    }
}


.flex-border-content {
    border: 1px solid #dee2e6;
    margin-top: -1px;
    box-sizing: border-box;
}


@media (max-width: 991px) {
    #contactUsDefault .flex-border-content INPUT {
        margin-left: 10px !important;
    }
}


@media (max-width: 575.98px) {
    .flex-border-content {
        margin-left: 0px;
    }
}


.conter_border_contents {
    border: 1px solid #dee2e6;
    margin: 10px;
    padding: 10px;
}

.w46 {
    max-width: 46%
}

.mt-10 {
    margin-top: 10px;
    ;
}

.ml-10 {
    margin-left: 10px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.contact_us_input {
    margin: 10px !important;
}


.contact_us_label {
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
}

.w-100 {
    width: 100%;
}

.bg-silver {
    background-color: #eee;
}

.privacy_conditions {
    margin: 20px;
    font-weight: bold;
    color: black;
    text-align: center;
}

.alert {
    color: rgb(255, 0, 0) !important;
}

header,
footer {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
}

/*
body {
    margin-top: 134px !important;
}
*/

.header_area {
    /*margin-top: 15px;*/
    width: 100%;
    display: table;
    color: #fff;
    font-size: 1.5em;
}

@media (max-width: 979.98px) {
    .header_area {
        font-size: 1.2em;
    }

    .sidebox_area {
        display: none;
    }
}

.header_area a,
#global_footer a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9em;
}

table {
    border-collapse: collapse;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}

.fee {
    text-align: right;
    font-weight: 600;
    font-size: 1.1em;
}

.table th {
    text-align: center;
    font-weight: 700;
    background-color: #f5f5f5;
    padding: 2px 0;
}

.table td,
.table th {
    border: solid #dee2e6 1px !important;
    vertical-align: middle !important;
    padding: 10px;
}

.table-cell {
    display: table-cell;
    vertical-align: middle;
}

#header_logo img {
    min-height: 30px !important;
    max-width: 400px;
    margin-left: 15px;
}

#header_tel img {
    max-height: 15px;
}


.header_cat1,
.header_cat2 {
    margin: 0px auto;
    position: absolute;
    /*padding: 6px 0px 10px 20px;*/
    text-align: left;
    background: rgb(247, 247, 247);
    box-shadow: 6px 6px 3px rgba(0, 0, 0, 0.2);
}

.header_cat1_add {
    left: -999em;
}

.footer_box {
    margin: 10px;
}

.footer_title {
    color: black;
    font-weight: bold;
    border-bottom: 3px solid rgb(71, 71, 71);
}

.footer_hr {
    border-bottom: 3px solid black;
    margin: 0 !important;
}

.bold {
    font-weight: bold;
    color: black;
}

@media (max-width: 991px) {
    .footer_hr {
        display: none;
    }

    #sub_footer p {
        display: none;
    }

    .footer_sm {
        display: flex;
        border-bottom: 2px solid rgb(71, 71, 71);
    }

    .footer_sm::after {
        margin-left: auto;
    }

    .contact_us_label {
        height: 40px;
        justify-content: left;
        padding-left: 20px;
        box-sizing: border-box;
    }

    .sidebox_area {
        display: none;
    }

    .footer_sm.active::after {
        content: "-";
    }

    .footer_sm::after {
        content: "+";
    }
}


.disp_none {
    display: none;
}

.disp_block {
    display: block !important;
}

/*
header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    background-color: #fff;
}
*/


.header_menu_box {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    background-color: #fff;
    height: 50px;
    border-bottom: 1px solid #dee2e6;
}

.header_menu_box_small img {
    max-width: 50%;
}

.header_menu_box_small .header_icon_font1 {
    display: none;
}





.header_menu img {
    max-height: 23px;
}

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

.header_cat_menu>li {
    display: inline-block;
    /*border: 1px solid gray;*/
    position: relative;
    z-index: 10;
}

.header_cat_menu>li>ul {
    display: none;
    margin-top: -3px;
}

.header_cat_menu>li>ul>li {
    /*margin: 5px 0;*/
    min-width: 200px;
}

.header_cat_menu_disp {
    display: block !important;
    position: absolute;
    padding: 0;
    margin: 0;
    top: 35px;
    left: 0;
    list-style-type: none;
    border: 1px solid rgb(204, 202, 202);
}

/*header .header_cat_menu li ul li div {*/
.sub_cat_ul {
    left: 100%;
    position: absolute;
    top: 0;
    width: 50%;
    height: 75vh;
    background-color: azure;
    opacity: 0.9;
    overflow: auto;
    padding-top: 10px;
}

.header_cat_sub_menu {
    /*overflow: auto;*/
    background-color: #fff;
    color: black;
}

.header_area .header_cat_sub_menu a {
    color: #000 !important;
}

.header_search_image {
    vertical-align: middle;
    height: 38px;
    background-color: silver;
    margin-left: -10px;
}


.f_left {
    float: left;
}

.category_disp {
    display: inline-block;
    width: 250px;
    height: auto;
    padding: 0 10px;
    font-size: 18px;
    line-height: 24px
}

.category_disp img {
    width: 250px;
    margin: 13px 0 7px 0;
}


.b1 {
    border-bottom: 1px solid rgb(71, 71, 71);
}

li .has_subcat {
    justify-content: space-between;
    flex-wrap: nowrap !important;
}

.right_allow::after {
    content: ">";
    display: inline-block;
    transform: scale(0.6, 1);
    padding-right: 5px;
}

.subcat_list img,
.category_in_products img {
    max-width: 200px;
    width: 95%;
}

.cat_names {
    width: 265px;
    height: 24px;
    border-bottom: 1px solid rgb(224, 219, 219);
    padding: 15px 0 0 15px;
    font-size: 16px;
    font-weight: 300;
}

.required_fields::after {
    content: '';
    width: 40px;
    height: 18px;
    margin-left: 18px;
    background-image: url(../images/icons/icon_required.png);
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    display: inline-block;
}



/* product info */
input[type="number"] {
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


#header_cart,
#header_favorite {
    position: relative;
    /*max-width: 25px;*/
}

#header_cart .cart_qty {
    width: 24px;
    height: 24px;
    color: #ffffff;
    background-color: red;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    border-radius: 50%;
    position: absolute;
    top: -15px;
    right: 5px;
    padding: 0 !important;
}


/* hamburger_menu */
#hamburger_menu {
    display: none;
}

.footer_box p {
    padding: 0 !important;
}

/*
@media (max-width: 979.98px) {
    body {
        margin-top: 130px !important;
    }
}
*/
@media (max-width: 991px) {
    header {
        display: none;
    }

    #hamburger_menu {
        position: fixed;
        z-index: 100;
        top: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #fff;
        display: table;
        text-align: center;
    }

    .hamburger_header .row {
        justify-content: space-between;
        align-items: center;
        /*margin-right: 10px;*/
    }

    .mobile_logo {
        max-width: 70%;
    }

    .footer_box p .footer3 {
        display: none;
    }

    .globalsign {
        text-align: center;
    }

    .footer_copyright {
        padding: 5px 0;
    }

    #global_footer .row {
        justify-content: center;
    }

    #mobile_sub_menu img {
        max-width: 50px;
    }

    .mobile_header_img {
        height: 50px;
        margin: 0 10px;
    }


    .mobile_cart_qty {
        width: 24px;
        height: 24px;
        color: #ffffff;
        background-color: red;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1rem;
        border-radius: 50%;
        position: absolute;
        top: -25px;
        right: -10px;
        padding: 0 !important;
    }
}

.globalsign {
    text-align: right;
}

.header_cat_select {
    font-size: 16px;
    padding-left: 20px;
}

#search_box {
    border-radius: 6px 0 0 6px;
    width: 80%;
}

@media (max-width: 1200px) {
    #search_box {
        width: 75%;
    }
}

@media (max-width: 900px) {
    #search_box {
        width: 70%;
    }
}

/*
.search_box_submit {
    height: 33px;
}
*/
.search_box_submit INPUT {
    height: 35px;
}

@-moz-document url-prefix() {
    .search_box_submit INPUT {
        height: 37px;
    }
}


#header_search FORM,
#header_search INPUT {
    display: block;
    margin: 0;
}


.product-main-image img {
    max-width: 95%;
    height: auto;
}

#productAdditionalImages img {
    width: 100%;
    height: auto;
}

.contact_box img {
    width: 36px;
    margin: 4px 16px 16px 16px;
}

#header_tagline {
    color: rgb(136, 136, 136);
    font-size: 16px;
    padding-right: 50px;
}

.header_megamenu_title {
    color: rgb(136, 136, 136);
    font-size: 16px;
}



@media (max-width: 978px) {
    .header_megamenu_title {
        font-size: 14px;
    }
}



.header_area_top {
    padding-top: 10px;
}





/* footer */

#global_footer {
    height: 68px;
    align-items: center;
}

#global_footer img {
    max-height: 40px;
    margin-top: 12px;
}

#global_footer .row {
    align-items: center;
}

#global_footer .sns_image img {
    max-height: 25px;
    margin-right: 10px;
}

.footer_hr {
    padding-top: 5px;
}

@media (max-width: 979.98px) {
    .footer_copyright {
        padding-top: 12px;
        padding-bottom: 11px;
    }
}

@media (min-width: 980px) {
    .footer_copyright {
        text-align: left;
    }

    .footer_sns {
        float: right;
        margin-right: 16px;
    }
}



/* input */
.centerColumn input[type=tel],
.centerColumn input[type=text],
.centerColumn input[type=password],
.centerColumn input[type=email],
.centerColumn select,
.contact_us_input {
    border: 1px solid #e9e7e7;
    color: #777;
    background: #f7f8fa;
    margin: 8px 20px 15px 20px;
}

.border_box {
    border: 1px solid silver;
}

.centerColumn {
    padding: 10px 5px 16px 5px;
}


.centerColumn .legend {
    font-size: 1.2em;
    color: rgb(71, 71, 71);
    padding: 0.3em;
    display: table;
    font-weight: 600;
}

#loginDefault .row {
    justify-content: space-between;
}

#loginDefault .border_box {
    padding: 30px;
}


@media (max-width: 979.98px) {
    #loginDefault .border_box {
        margin: 5px auto;
    }
}

@media (max-width: 767px) {

    .centerColumn input[type=tel],
    .centerColumn input[type=text],
    .centerColumn input[type=password],
    .centerColumn input[type=email],
    .centerColumn select {
        margin: 8px 6px 15px 10px !important;
    }
}


/* mypoage */
.centerBoxHeading,
#orderHistoryStatus {
    width: auto;
}

.card-box {
    display: inline-block;
    width: 100%;
    border: 1px solid #e9e9e9;
    border-radius: 5px;
    padding: 15px;
    margin: 15px 0;
    background: #f7f8fa;
    box-sizing: border-box;
}

.card-box-s {
    display: inline-block;
    width: 96%;
    border: 1px solid #e9e9e9;
    border-radius: 5px;
    padding: 15px;
    margin: 15px 0;
}

#prevOrders,
#orderHistoryHeading {
    width: 100%;
}

#prevOrders td,
#prevOrders th {
    border: solid #dee2e6 1px !important;
    vertical-align: middle !important;
    text-align: center;
    padding: 2px;
}

#prevOrders th {
    text-align: center;
    font-weight: 700;
    background-color: #f5f5f5;
    padding: 4px 0;
}

#myAccountOrdersStatus,
#orderHistoryHeading {
    border: 1px solid #ccc;
}

#myAccountOrdersStatus th,
#myAccountOrdersStatus td,
#orderHistoryHeading th,
#orderHistoryHeading td {
    padding: 10px;
    border: 1px solid #dee2e6;
}

#myAccountOrdersStatus th,
#orderHistoryHeading th {
    background-color: #f5f5f5;
}

/* order step */
h2#checkoutShippingHeadingAddress,
h2#checkoutShippingHeadingMethod,
h2#checkoutPaymentHeadingAddress,
h2#checkoutConfirmDefaultBillingAddress,
h2#checkoutConfirmDefaultShippingAddress,
h3#checkoutConfirmDefaultPayment,
h3#checkoutConfirmDefaultShipment {
    font-size: 1.4em;
    color: #004fb5;
}

.custom-border {
    border: 1px solid #ccc;
    max-width: 100vw;
    padding: 30px;
    margin-bottom: 30px;
}

.minUnits {
    padding: 0px 0px 2px 0px;
}

@media (max-width: 767.98px) {
    .minUnits {
        margin-top: 0px !important;
    }
}

#checkoutSuccessLogoff,
#checkoutSuccessContactLink {
    text-align: center;
}

/* contact_us */
#contactUsNoticeContent.content,
#checkoutSuccessMainContent.content {

    border: 1px solid #e9e9e9;
    border-radius: 5px;
    padding: 15px;
    margin: 15px 0;
    background: #f7f8fa;

}

/* define_main_page */
.col970 {
    padding-top: 0px;
}

.content_title {
    line-height: 36px;
    text-align: center;
    font-weight: 600;
    color: #ffffff;
    background-color: #171C61;
    margin-bottom: 4px;
}

.news_table {
    width: 100%;
    border-collapse: collapse;

}

.news_table td,
.news_table th {
    background-color: #eee;
    padding: 8px 12px;
    border-bottom: 4px solid #ffffff;
}

.news_table td {
    color: #000;
}

.news_date {
    color: #00479D;
}

/* order step */
.cartUnitDisplay {
    padding-right: 12px !important;
}

.cartQuantity input[type="text"] {
    width: 60%;
}

@media (max-width: 767px) {
    .cartQuantity input[type="text"] {
        width: 50%;
    }
}

.products_list_button {
    padding: 8px 20px;
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 0;
    background-color: #2879fe;
    color: #fff;
}

.ml-10-i {
    margin-left: 10px !important;
}

#shippingEstimatorContent label {
    text-align: left;
}

.centerColumn fieldset {
    padding: 15px 5px;
}

#cartContentsDisplay tr.rowOdd,
#cartContentsDisplayMobile tr.rowOdd {
    background-color: #fafafa;
}

.header_area {
    line-height: 9px;
}

.searchArea {
    width: 350px;
    height: 35px;
    margin: auto;
    letter-spacing: 0.1em;
    font-weight: bold;
    line-height: 0;
}

.searchArea .searchText {
    display: block;
    float: left;
    box-sizing: border-box;
    height: 35px;
    width: 200px;
    margin: 0;
    padding: 0 5px;
    border: 2px solid #999999;
    border-radius: 2px 0 0 2px;
    color: #333;
    outline: 0;
    font-size: 17px;
}

.searchArea .searchButton {
    float: left;
    box-sizing: border-box;
    height: 35px;
    margin: 0;
    padding: 6px 15px;
    border: none;
    border-radius: 0 6px 6px 0;
    background: #999999;
    color: #fff;
    cursor: pointer;
    line-height: 24px;
    font-size: 24px;
    box-shadow: 1px 1px 2px 0px rgba(255, 255, 255, 0.75) inset, -1px -1px 2px 0px rgba(0, 0, 0, 0.75) inset;
}


.searchArea .searchImg {
    display: inline-block;
    width: auto;
    height: 24px;
    margin: 0 3px 0 0;
    vertical-align: middle;
}

.searchArea .searchText::-ms-clear {
    display: none;
}

#inc-subcat {
    margin-left: 20px;
}


#searchBody .centerColumn input[type=text] {
    box-sizing: border-box;
}

.productPriceDiscount {
    font-size: 0.8em;
}

.centerColumn label {
    text-align: left;
    padding-left: 1.0em;
}


#select-jpshipping_timespec {
    font-size: 1.1em;
}

#categoryDescription p,
#productDescription p {
    padding: 0px;
}

@media (max-width: 480px) {

    .cartUnitDisplay,
    .cartUnitDisplayTitle {
        margin-bottom: 0px;
    }
}

@media (min-width:991px) {
    #buttonUpdateAll {
        display: none
    }
}

.bg_chcekout_select {
    background-color: #fef2e4;
}

.checkout_border {
    border: 1px solid #afaeae;
    margin: 10px 0;
    padding: 20px 5px;
}

/* mypages no syuusei */
.hide {
    display: none !important;
}



.header_ico {
    text-align: center;
    max-width: 70px;
    max-height: 25px;
}

.header_icon_font1 {
    margin: 10px auto;
    /*white-space: nowrap;*/
    color: #000;
    font-size: x-small;
}


@media (max-width: 991px) {
    .header_ico {
        text-align: center;
        max-width: 50px;
        max-height: 20px;
    }

    .header_ico img {
        max-width: 50px;
        max-height: 20px;
    }

    .header_icon_font1 {
        margin: 0 auto;
        font-size: xx-small;
    }

    .header_menu #header_logo img {
        max-height: 35px !important;
    }
}


/*
.header_image_sub {
  width: 35px;
  height: 30px;
  object-fit: cover;
  object-position: 100% 0;
}
*/

/*megaMenu*/

.p-megaMenu.is-open .p-megaMenu__navigation {
    -webkit-clip-path: inset(0 -50vw);
    clip-path: inset(0 -50vw);
    visibility: visible;
}

.p-megaMenu.is-open .p-megaMenu__open::after {
    rotate: 180deg;
}

.p-megaMenu__open::after {
    content: "";
    padding-bottom: 0.2em;
    transition: rotate 0.3s;
}


.megaMenu_border {
    border-bottom: 4px solid aqua;
}


.p-megaMenu__navigation {
    -webkit-clip-path: inset(0 -50vw 100%);
    background-color: #fff;
    clip-path: inset(0 -50vw 100%);
    left: 0;
    margin-top: 20px;
    position: absolute;
    /*top: 70%;*/
    transition: all 0.4s;
    visibility: hidden;
    width: 100%;
    z-index: 99999;
}

@media (min-width: 991px) and (hover: hover) {

    .p-megaMenu:hover .p-megaMenu__navigation,
    .p-megaMenu:focus-within .p-megaMenu__navigation {
        -webkit-clip-path: inset(0 -50vw);
        clip-path: inset(0 -50vw);
        visibility: visible;
    }

    .p-megaMenu:hover .p-megaMenu__open::after,
    .p-megaMenu:focus-within .p-megaMenu__open::after {
        rotate: 180deg;
    }
}

.unti_flex {
    display: block !important;
}

.categories_box_top {
    max-width: 1200px;
    margin: 10px auto 0 auto;
    background-color: #fff;
}

.categories_box_row {
    display: flex;
    flex-wrap: wrap;
    line-height: normal;
    justify-content: space-evenly;
    padding: 5px;
}

.categories_box {
    width: 15%;
    margin: 4px 2px;
    border: 1px solid #dee2e6;
    height: 50px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.8em;
}

@media (max-width: 1100px) {
    .categories_box {
        width: 23%;
    }
}

@media (max-width: 991px) {
    .categories_box {
        width: 32%;
    }
}

@media (max-width: 800px) {
    .categories_box {
        width: 49%;
    }
}

@media (max-width: 600px) {
    .categories_box {
        width: 100%;
    }
}



.categories_box img {
    width: auto;
    height: 50px;
    max-height: none;
    margin-right: 6px;
}

.categories_box_d {
    width: 15.5%;
}

.go_categories_top {
    text-align: center;
    font-weight: bold;
    border: 2px solid #000;
    width: 300px;
    margin: 10px auto;
    margin-bottom: 30px;
    padding: 10px;
    color: #000;
    position: relative;
}

.go_categories_top:after {
    position: absolute;
    right: 5px;
    top: 7px;
    content: url("../images/cat_arrow.png");
}

.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    text-align: center;
    background: rgba(0, 0, 0, 50%);
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    box-sizing: border-box;
    z-index: 10000;
}

.modal-container:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.modal-container.active {
    opacity: 1;
    visibility: visible;
}

.modal-body {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 100vw;
    height: 100vh;
}

.modal-close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    /*top: -40px;*/
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}


.modal-content {
    background: #fff;
    text-align: left;
    overflow: scroll;
    margin: 50px;
    height: auto;
}


.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flex-item {
    width: 30%;
    position: relative;
    margin: 5px;
    border: 1px solid rgb(240, 240, 240);
    text-align: center;

}

.box_img {
    max-width: 100%;
    height: auto;
}

.box {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    overflow: hidden;
    margin-top: 0px;
    padding-bottom: 100px;
}

.box_bottom {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
}

@media (max-width: 991px) {
    .flex-item {
        width: 48%;
        margin: 2px;
    }

    .modal-content {
        margin: 0 10px 20px 10px;
    }

    .modal-close {
        right: 40px;
        font-size: 40px;
        cursor: pointer;
        z-index: 999;
        color: #000;
    }
}


@media (max-width: 330px) {
    .flex-item {
        width: 45%;
        margin: 2px;
    }

}


#header_cart {
    position: relative;
    padding-right: 5px;
}

#header_cart .balloon,
#header_cart .balloon_w {
    display: inline;
}

.balloon {
    position: absolute;
    display: none;
    padding: 20px 4px 26px;
    background-color: rgba(255, 255, 255);
    width: 280px;
    height: 10px;
    left: 40%;
    top: 100%;
    margin-top: 12px;
    margin-left: -250px;
    font-size: 80%;
    color: #555;
    border: solid 3px #555;
    border-radius: 10px;
    z-index: 5;
}

.balloon:before,
.balloon_w:before {
    content: "";
    position: absolute;
    top: -24px;
    left: 50%;
    margin-left: 95px;
    border: 12px solid transparent;
    border-bottom: 12px solid #FFF;
    z-index: 2;
}

.balloon:after,
.balloon_w:after {
    content: "";
    position: absolute;
    top: -30px;
    left: 50%;
    margin-left: 93px;
    border: 14px solid transparent;
    border-bottom: 14px solid #555;
    z-index: 1;
}


.balloon_w {
    position: absolute;
    padding: 20px 4px;
    background-color: rgba(255, 255, 255);
    width: 280px;
    height: 10px;
    left: 40%;
    top: 100%;
    margin-top: 12px;
    margin-left: -250px;
    font-size: 80%;
    color: #555;
    border: solid 3px #555;
    border-radius: 10px;
    z-index: 5;
}


.display_hide {
    display: none;
}

.listingProductImage {
    min-height: 120px;
    width: auto;
}

ul.card-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-left: 0;
}

ul.card-list li {
    display: flex;
    flex-direction: column;
    width: 32%;
    margin: 2px;
    border: 1px solid rgb(240, 240, 240);
    text-align: center;
}

div.bottom {
    flex-grow: 1;
    padding: 0 5px;
    display: flex;
    flex-direction: column;
}

div.bottom img {
    max-height: 200px;
    width: auto;
}

.box_button {
    margin-top: auto;
    display: block;
    padding: 8px;
}

ul.card-list .li_nb {
    border: 0 !important;
}

@media (max-width: 991px) {

    ul.card-list {
        padding-left: 0;
    }

    ul.card-list li {
        width: 48%;
    }
}

.header_search_modal {
    padding: 30px 60px !important;
    font-size: 110%;
}

@media (max-width: 767.98px) {
    .header_search_modal {
        padding: 20px 20px !important;
    }
}

.header_search_input input[type="text"] {
    margin: 8px 6px 15px 0;
    width: 99%;
}

.header_search_input2 input[type="text"] {
    margin: 8px 6px 15px 0;
    width: 90%;
}

.header_search_modal select {
    margin: 8px 6px 15px 0;
    width: 90% !important;
}

@media (max-width: 991px) {
    .header_search_input input[type="text"] {
        margin: 8px 6px 15px 0 !important;
    }

    .header_search_input2 input[type="text"] {
        margin: 8px 6px 15px 0 !important;
    }

    .header_search_modal select {
        margin: 8px 6px 15px 0 !important;
    }
}


.space_between {
    justify-content: space-between;
}

.bb_1 {
    border-bottom: 1px solid #555;
    margin: 5px 0;
    padding-bottom: 10px;
}

.header_search_input p {
    margin: 0;
}

.b {
    font-weight: bold;
}

.ot_price {
    width: 90px;
    text-align: right;
    white-space: nowrap;
}


@media (max-width: 500px) {
    .ot_price {
        width: 80px;
    }
}

@media (max-width: 450px) {
    .ot_price {
        width: 70px;
    }
}

.nowrap {
    white-space: nowrap;
}