.auto-popup-footer .menu-bar {
    background: #fdd200;
    border-radius: 5px 0px 0px 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 18px;
    padding-right: 18px;
    cursor: pointer;
    position: fixed;
    width: 100%;
    z-index: 999;
    bottom: 0;
}

    .auto-popup-footer .menu-bar:not(.show-menu-bar) {
        display: none;
    }

    .auto-popup-footer .menu-bar.open-bar {
        bottom: 394px;
    }

    .auto-popup-footer .menu-bar .title {
        position: relative;
        width: 100%;
    }

        .auto-popup-footer .menu-bar .title:after {
            content: '\f107';
            font-family: 'Font Awesome 5 Pro';
            color: #5a5a5a;
            font-size: 18px;
            position: absolute;
            top: 0;
            right: 0px;
        }

    .auto-popup-footer .menu-bar.open-bar .title:after {
        content: '\f106';
    }

.auto-popup-footer div#rcm-product.open-bar {
    position: fixed;
    width: 100%;
    z-index: 999;
    bottom: 0;
    background: #fff;
    padding-top: 16px;
}

.auto-popup-footer body {
    background-color: #cecac7;
}

.auto-popup-footer .iconpopup {
    width: 460px;
    height: auto;
    background-color: transparent;
    margin: 20px 0;
    float: right;
    position: fixed;
    right: -350px;
    border-radius: 10px;
    bottom: 40px;
    box-shadow: none;
    color: #fff;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 1000ms, visibility 1000ms;
    transition: opacity 1000ms, visibility 1000ms;
}

.auto-popup-footer .slidein_pym {
    width: 460px;
    height: auto;
    background-color: #fff;
    margin: 20px 0;
    float: right;
    position: fixed;
    right: 25px;
    border-radius: 10px;
    bottom: 10px;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.2);
    color: #fff;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 1000ms, visibility 1000ms;
    transition: opacity 1000ms, visibility 1000ms;
}

.auto-popup-footer .show {
    display: block !important;
    visibility: visible;
    opacity: 1;
}

.auto-popup-footer .slidein_pym:after {
    content: "";
    position: absolute;
    top: 100%;
    right: 15%;
    border-top: 15px solid transparent;
    border-top-color: inherit;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
}

.auto-popup-footer .slidein_pym .sidein-in {
    padding: 0 20px 20px 20px;
    display: inline-table;
    margin-top: -10px;
}

    .auto-popup-footer .slidein_pym .sidein-in .content_right {
        padding-left: 16px;
    }

        .auto-popup-footer .slidein_pym .sidein-in .content_right .txt-head {
            color: #020202;
            font-size: 16px;
            line-height: 30px;
            font-weight: bold;
        }

        .auto-popup-footer .slidein_pym .sidein-in .content_right .txt-detail {
            color: #020202;
            font-size: 16px;
            line-height: 26px;
            font-family: KrungsriCondensedMedium;
        }

    .auto-popup-footer .slidein_pym .sidein-in .btn {
        width: 176px;
    }

        .auto-popup-footer .slidein_pym .sidein-in .btn.btn-purple, .auto-popup-footer .slidein_pym .sidein-in a.btn.btn-org {
            background-color: #fe6800;
            color: #fff;
            font-size: 18px;
            margin-top: 8px;
        }

        .auto-popup-footer .slidein_pym .sidein-in .btn.btn-purple, .auto-popup-footer .slidein_pym .sidein-in a.btn.btn-purple {
            background-color: #564243;
            color: #fada4a;
        }

.auto-popup-footer .item-close {
    float: right;
    padding: 14px;
}

.auto-popup-footer .close_popup {
    cursor: pointer;
    color: #564243;
}

@media (max-width: 767px) {
    .auto-popup-footer .slidein_pym {
        width: auto;
        height: auto;
        margin: 20px 17px;
        right: 0;
    }

        .auto-popup-footer .slidein_pym .sidein-in .content_right .txt-head {
            font-size: 14px;
            line-height: 25px;
        }

        .auto-popup-footer .slidein_pym .sidein-in .content_right .txt-detail {
            font-size: 14px;
            line-height: 25px;
        }
}

@media (max-width: 400px) {
    .auto-popup-footer .slidein_pym .sidein-in {
        padding: 0px 10px 10px 10px;
    }

        .auto-popup-footer .slidein_pym .sidein-in .content_left {
            padding: 0px 0;
            font-size: 16px;
            line-height: 24px;
        }

        .auto-popup-footer .slidein_pym .sidein-in .btn {
            width: auto;
        }

            .auto-popup-footer .slidein_pym .sidein-in .btn.btn-purple, .auto-popup-footer .slidein_pym .sidein-in a.btn.btn-org {
                margin-top: 0;
                font-size: 16px;
            }
}

@media (max-width: 375px) {
    .auto-popup-footer .slidein_pym .sidein-in .content_right .txt-head {
        font-size: 12px;
        line-height: 20px;
    }

    .auto-popup-footer .slidein_pym .sidein-in .content_right .txt-detail {
        font-size: 12px;
        line-height: 20px;
    }
}


.prime .prime-popup {
    height: 128px;
    width: 176px;
    /*padding: 32px 0 16px;*/
    padding: 12px 0 16px; 
    background: url(/getmedia/b87160d4-5790-4d18-b53c-2f573adf4cde/Join-us@1x.png.aspx), repeating-linear-gradient(140.35deg, #6B6B6B 0%,#3B3A3C 49.3%, #6B6B6B 100%);
    border-radius: 8px;
    box-shadow: 0 3px 8px 0 rgba(106,106,106,0.5);
    position: fixed;
    float: right;
    background-size: 100%;
    background-repeat: no-repeat;
    bottom: 79px;
    right: 55px;
    z-index: 99;
}

.prime .prime-popup .logo_banner {
    width: 108px !important;
    height: 10px !important;
    vertical-align: bottom;
}

.prime .btn-popup {
    width: 111px;
    height: 30px;
    margin: auto;
    border-radius: 4px;
    background: linear-gradient(140.35deg,#FFD400 0%,#FCCE01 49.3%,#FFD400 100%);
}

.prime .close-popup:before {
    content: '\f00d';
    font-family: 'Font Awesome 5 Pro';
    color: #FFFFFF;
    width: 16px;
    height: 16px;
    top: 0;
    right: 8px;
    position: absolute;
    cursor: pointer;
}

@media (max-width: 767px) {
    .prime .prime-popup {
        right: 16px;
    }
}

@media screen and (max-width: 767px) {
    .prime .prime-popup h4 {
         padding: 0px;
    }
}