@media (min-width: 992px) and (max-width:1434px) {
    #mainMenu nav>ul>li>a {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .search-box.active {
        width: 100%;
        float: right !important;
    }

    .header-width {
        width: 200px !important;
    }

    /* Flash Sale */
    .countdown__section {
        display: inline-block;
        margin-left: 4px;
    }

    .countdown__section:first-child {
        margin-left: 0;
    }

    .countdown__section>.value {
        background-color: #333;
        border-radius: 10px;
        font-size: 18px;
        color: #fff;
        line-height: 42px;
        text-align: center;
        height: 40px;
        width: 40px;
    }

    .countdown__label {
        font-size: 11px;
        padding-top: 4px;
        text-align: center;
    }

    .fs24 {
        font-size: 24px;
    }
}

/* size-xl */
@media (min-width: 1200px) {
    .fs24 {
        font-size: 24px;
    }

    /* Flash Sale */
    .countdown__section {
        display: inline-block;
        margin-left: 4px;
    }

    .countdown__section:first-child {
        margin-left: 0;
    }

    .countdown__section>.value {
        background-color: #333;
        border-radius: 10px;
        font-size: 18px;
        color: #fff;
        line-height: 42px;
        text-align: center;
        height: 40px;
        width: 40px;
    }

    .countdown__label {
        font-size: 11px;
        padding-top: 4px;
        text-align: center;
    }


    /* HEADER */
    .margin-l {
        margin-left: 31px !important;
    }

    .margin-r {
        margin-left: 46px !important;
    }

    .margin-r-social {
        margin-right: 30px !important;
    }

    /* SECTION */
    .padding-30 {
        padding: 30px 40px !important;
    }

    .padding-50 {
        padding: 50px 50px !important;
    }

    .padding-85 {
        padding: 0px 85px 50px 85px;
    }

    #mainMenu nav>ul>li>a {
        font-size: 16px;
        font-weight: 400;
    }

    .search-box.active {
        width: 100%;
        float: right;
    }

    .header-width {
        width: 300px;
    }

    /* .search-home {
        width: 30%;
        float:right !important;
    } */



    /* #mainMenu nav>ul>li {
        margin-left: 35px !important;
    } */

    .modalc-window {
        position: fixed;
        background-color: rgba(90, 90, 90, 0.308);
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 999;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s;

        &:target {
            visibility: visible;
            opacity: 1;
            pointer-events: auto;
        }

        &>div {
            width: 700px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            padding: 2em;
            background: white;
            box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        }

        header {
            font-weight: bold;
        }

        h1 {
            font-size: 150%;
            margin: 0 0 15px;
        }
    }

    .modalc-close {
        color: #aaa;
        line-height: 50px;
        font-size: 80%;
        position: absolute;
        right: 0;
        text-align: center;
        top: 0;
        width: 70px;
        text-decoration: none;

        &:hover {
            color: black;
        }
    }

    a.modalc {
        color: inherit;
        text-decoration: none;
    }

    .containermodalc {
        display: grid;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }

    .modalc-window {
        &>div {
            border-radius: 5px;
        }
    }

    .modalc-window div:not(:last-of-type) {
        margin-bottom: 15px;
    }

    .logoc {
        max-width: 150px;
        display: block;
    }

    small .modalc {
        color: lightgray;
    }

    .btnc {
        background-color: white;
        padding: 1em 1.5em;
        border-radius: 0.5rem;
        text-decoration: none;

        i {
            padding-right: 0.3em;
        }
    }
}

/* size-lg */
@media (min-width: 992px) and (max-width:1199px) {
    .fs24 {
        font-size: 24px;
    }

    /* Flash Sale */
    .countdown__section {
        display: inline-block;
        margin-left: 4px;
    }

    .countdown__section:first-child {
        margin-left: 0;
    }

    .countdown__section>.value {
        background-color: #333;
        border-radius: 10px;
        font-size: 18px;
        color: #fff;
        line-height: 42px;
        text-align: center;
        height: 40px;
        width: 40px;
    }

    .countdown__label {
        font-size: 11px;
        padding-top: 4px;
        text-align: center;
    }


    /* HEADER */
    .margin-l {
        margin-left: 90px !important;
    }

    .margin-r {
        margin-right: 24px !important;
    }

    .margin-r-social {
        margin-right: 10px !important;
    }

    /* SECTION */
    .padding-30 {
        padding: 30px 0 !important;
    }

    .padding-50 {
        padding: 50px 0 !important;
    }

    .padding-85 {
        padding: 0px 20px 50px 20px;
    }

    #mainMenu nav>ul>li>a {
        font-size: 12px !important;
        font-weight: 400 !important;
    }




    .search-box.active {
        width: 100%;
        float: right !important;
    }


    .header-width {
        width: 170px !important;
    }


    .modalc-window {
        position: fixed;
        background-color: rgba(90, 90, 90, 0.308);
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 999;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s;

        &:target {
            visibility: visible;
            opacity: 1;
            pointer-events: auto;
        }

        &>div {
            width: 700px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            padding: 2em;
            background: white;
            box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        }

        header {
            font-weight: bold;
        }

        h1 {
            font-size: 150%;
            margin: 0 0 15px;
        }
    }

    .modalc-close {
        color: #aaa;
        line-height: 50px;
        font-size: 80%;
        position: absolute;
        right: 0;
        text-align: center;
        top: 0;
        width: 70px;
        text-decoration: none;

        &:hover {
            color: black;
        }
    }

    a.modalc {
        color: inherit;
        text-decoration: none;
    }

    .containermodalc {
        display: grid;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }

    .modalc-window {
        &>div {
            border-radius: 5px;
        }
    }

    .modalc-window div:not(:last-of-type) {
        margin-bottom: 15px;
    }

    .logoc {
        max-width: 150px;
        display: block;
    }

    small .modalc {
        color: lightgray;
    }

    .btnc {
        background-color: white;
        padding: 1em 1.5em;
        border-radius: 0.5rem;
        text-decoration: none;

        i {
            padding-right: 0.3em;
        }
    }
}


/* size-md */
@media (min-width: 768px) and (max-width:991px) {
    .fs24 {
        font-size: 24px;
    }
    /* Flash Sale */
    .countdown__section {
        display: inline-block;
        margin-left: 4px;
    }

    .countdown__section:first-child {
        margin-left: 0;
    }

    .countdown__section>.value {
        background-color: #333;
        border-radius: 10px;
        font-size: 18px;
        color: #fff;
        line-height: 42px;
        text-align: center;
        height: 40px;
        width: 40px;
    }

    .countdown__label {
        font-size: 11px;
        padding-top: 4px;
        text-align: center;
    }


    /* SECTION */
    .padding-30 {
        padding: 30px 0 48px 0 !important;
    }

    .padding-50 {
        padding: 20px 0 !important;
    }

    .padding-85 {
        padding: 0px 30px 50px 30px !important;
    }


    #mainMenu nav>ul>li>a {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .modalc-window {
        position: fixed;
        background-color: rgba(90, 90, 90, 0.308);
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 999;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s;

        &:target {
            visibility: visible;
            opacity: 1;
            pointer-events: auto;
        }

        &>div {
            width: 700px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            padding: 2em;
            background: white;
            box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        }

        header {
            font-weight: bold;
        }

        h1 {
            font-size: 150%;
            margin: 0 0 15px;
        }
    }

    .modalc-close {
        color: #aaa;
        line-height: 50px;
        font-size: 80%;
        position: absolute;
        right: 0;
        text-align: center;
        top: 0;
        width: 70px;
        text-decoration: none;

        &:hover {
            color: black;
        }
    }

    a.modalc {
        color: inherit;
        text-decoration: none;
    }

    .containermodalc {
        display: grid;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }

    .modalc-window {
        &>div {
            border-radius: 5px;
        }
    }

    .modalc-window div:not(:last-of-type) {
        margin-bottom: 15px;
    }

    .logoc {
        max-width: 150px;
        display: block;
    }

    small .modalc {
        color: lightgray;
    }

    .btnc {
        background-color: white;
        padding: 1em 1.5em;
        border-radius: 0.5rem;
        text-decoration: none;

        i {
            padding-right: 0.3em;
        }
    }
}


/* size-sm */
@media (min-width: 576px) and (max-width:767.98px) {}


/* size-xs */
@media (max-width:575.98px) {

    /* Flash Sale */
    .countdown__section {
        display: inline-block;
        margin-left: 4px;
    }

    .countdown__section:first-child {
        margin-left: 0;
    }

    .countdown__section>.value {
        background-color: #333;
        border-radius: 10px;
        font-size: 14px;
        color: #fff;
        line-height: 32px;
        text-align: center;
        height: 30px;
        width: 30px;
    }

    .countdown__label {
        font-size: 11px;
        padding-top: 4px;
        text-align: center;
    }


    button.btn.btn-slide>i,
    .btn:not(.close):not(.mfp-close).btn-slide>i,
    a.btn:not([href]):not([tabindex]).btn-slide>i {
        top: 15px !important;
        left: 15px !important;
    }

    #mainMenu nav>ul>li>a {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    /* SECTION */
    .padding-30 {
        padding: 30px 10px 20px 10px !important;
    }

    .padding-50 {
        padding: 30px 10px 20px 10px !important;
    }

    .padding-promotion {
        padding: 35px 0 21px 0 !important;
    }

    .padding-85 {
        padding: 0px 15px 20px 15px !important;
    }

    .cal-size {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }

    .cal-size-2 {
        font-size: 14px !important;
        margin-bottom: 5px !important;
    }

    .cal-detail-size {
        font-size: 14px !important;
    }

    c .margin-height {
        margin-top: 0 !important;
    }

    .modalc-window {
        position: fixed;
        background-color: rgba(90, 90, 90, 0.308);
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 999;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s;

        &:target {
            visibility: visible;
            opacity: 1;
            pointer-events: auto;
        }

        &>div {
            height: 95%;
            width: 95%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            padding: 2em;
            background: white;
            box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        }

        header {
            font-weight: bold;
        }

        h1 {
            font-size: 150%;
            margin: 0 0 15px;
        }
    }

    .modalc-close {
        color: #aaa;
        line-height: 50px;
        font-size: 80%;
        position: absolute;
        right: 0;
        text-align: center;
        top: 0;
        width: 70px;
        text-decoration: none;

        &:hover {
            color: black;
        }
    }

    a.modalc {
        color: inherit;
        text-decoration: none;
    }

    .containermodalc {
        display: grid;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }

    .modalc-window {
        &>div {
            border-radius: 5px;
        }
    }

    .modalc-window div:not(:last-of-type) {
        margin-bottom: 15px;
    }

    .logoc {
        max-width: 150px;
        display: block;
    }

    small .modalc {
        color: lightgray;
    }

    .btnc {
        background-color: white;
        padding: 1em 1.5em;
        border-radius: 0.5rem;
        text-decoration: none;

        i {
            padding-right: 0.3em;
        }
    }
}

.button-73 {
    appearance: none;
    padding: 5px 10px 5px 10px;
    margin-bottom: 10px !important;
    border: 1.5px solid #e4e6ef !important;
    border-radius: 4px;
    background-color: #fff;
    box-sizing: border-box;
    color: #1C3369 !important;
    cursor: pointer;
    display: inline-block;
    letter-spacing: -.24px;
    margin: 0;
    outline: none;
    quotes: auto;
    text-align: center;
    text-decoration: none;
    transition: all .15s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;

}

.button-73:hover {
    background-color: #1C3369;
    border-color: #1C3369;
    color: #fff !important;
}

.button-73:active {
    color: #fff !important;
}

.button-74 {
    appearance: none;
    padding: 10px;
    border-color: #1B72C9 !important;
    background-color: #fff;
    border-style: solid;
    box-sizing: border-box;
    color: #1B72C9 !important;
    cursor: pointer;
    display: inline-block;
    font-size: 1.5rem;
    letter-spacing: -.24px;
    margin: 0;
    outline: none;
    quotes: auto;
    text-align: center;
    text-decoration: none;
    transition: all .15s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;

}

.button-74:hover {
    background-color: #fff;
    border-color: #1B72C9;
    color: #1B72C9 !important;
    transform: scale(1.1);
}

.button-74:active {
    transform: scale(1.025);
    color: #fff !important;
}


#mainMenu.menu-rounded nav>ul>li.current>a,
#mainMenu.menu-rounded nav>ul>li:hover>a,
#mainMenu.menu-rounded nav>ul>li:focus>a {
    background-color: #545555 !important;
    color: #fff !important;
    border-radius: 50px !important;
}

a.all {
    color: #000 !important;
}

/* mouse over link */
a.all:hover {
    color: #1B72C9 !important;
    text-decoration: underline !important;
}


/* ้hoverme */
button.hoverme {
    --color: #545555;
    font-family: inherit;
    display: inline-block;
    width: 8em;
    height: 2.6em;
    line-height: 2.5em;
    margin: 20px;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--color);
    transition: color .5s;
    z-index: 1;
    font-size: 17px;
    border-radius: 30px;
    font-weight: 500;
    color: var(--color);
}

button.hoverme:before {
    content: "";
    position: absolute;
    z-index: -1;
    background: var(--color);
    height: 150px;
    width: 200px;
    border-radius: 50%;
}

button.hoverme:hover {
    color: #fff;
}

button.hoverme:before {
    top: 100%;
    left: 100%;
    transition: all .7s;
}

button.hoverme:hover:before {
    top: -30px;
    left: -30px;
}

button:active:before {
    background: #545555;
    transition: background 0s;
}

/* ้hoverme */

.imghover img {
    transition: 1s ease;
}

.imghover img:hover {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
    transition: 1s ease;
}

button.calculate {
    --color: #545555;
    font-family: inherit;
    display: inline-block;
    width: 8em;
    height: 2.6em;
    line-height: 2.5em;
    margin: 20px;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--color);
    transition: color .5s;
    z-index: 1;
    font-size: 17px;
    border-radius: 30px;
    font-weight: 500;
    color: var(--color);
}

/* Search */
::selection {
    color: #fff;
    background: #545555;
    border-color: #fff;
}

.search-box {
    position: relative;
    height: 42px;
    width: 42px;
    border-radius: 50%;
    /* box-shadow: 5px 5px 30px rgba(0, 0, 0, .2); */
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}



.search-box input {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 50px;
    background: #fff;
    border: 1px solid #d7d7d7;
    outline: none;
    padding: 0 60px 0 20px;
    font-size: 16px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.search-box input.active {
    opacity: 1;
}

.search-box input::placeholder {
    color: #a6a6a6;
}

.search-box .search-icon {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    height: 42px;
    width: 42px;
    background: #545555;
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    font-size: 18px;
    color: #fff;
    border: 1px solid #d7d7d7;
    cursor: pointer;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* .header-extras > ul > li a, .header-extras > ul > li i {
    color: #fff !important;
} */

.search-box .search-icon.active {
    right: 0px;
    height: 42px;
    line-height: 45px;
    width: 42px;
    font-size: 20px;
    background: #545555;
    color: #fff;
    transform: translateY(-50%) rotate(360deg);
}

.search-box .cancel-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #545555;
    cursor: pointer;
    transition: all 0.5s 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.search-box .cancel-icon.active {
    right: -20px;
    transform: translateY(-50%) rotate(360deg);
}

.search-box .search-data {
    text-align: center;
    padding-top: 7px;
    color: #fff;
    font-size: 18px;
    word-wrap: break-word;
}

.search-box .search-data.active {
    display: none;
}
