﻿@media (max-width: 575px) {
/*size button*/
    .custom-btn-back, .custom-btn-primary, .btn-decline, .btn-accept {
        width: -webkit-fill-available !important;
        text-align: center;
    }

    /*Terms*/

    .termsdetails {
        height: 320px !important;
    }
    /* step navigation*/
    .small.mt-1.text-primary {
        width: 74px;
    }
    a#linkmoreinfo {
        font-size: smaller !important;
    }
}
/*reverse ปุ่ม */
@media (max-width: 767px) {
    /*size button*/
    .custom-btn-back, .custom-btn-primary, .btn-decline ,.btn-accept {
        width: -webkit-fill-available !important;
        text-align: center;
    }

    #ReciptForm .col-md-12.mb-4, #subscriptionForm .col-md-12.mb-4, #myForm .col-md-12.mb-4 {
        flex-direction: column-reverse !important;
        align-items: stretch;
    }

    .card-body {
        padding: 1rem !important;
    }

    @media (min-width: 992px) {
        .card-body {
            padding: 1rem !important;
        }

        #header .header-body:not(.h-100) {
            top: -1px !important;
        }
    }

    button#menuClose {
        font-size: 1.5em !important;
        color: #005194 !important;
    }

    button#menuToggle {
        font-size: 30px;
        color: #ffffff !important;
    }

    .mobile-slide-menu {
        position: fixed;
        top: 0;
        left: 0;
        height: inherit;
        width: 280px;
        background-color: #fff;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
        z-index: 1051;
        transition: transform 0.5s ease;
        transform: translateX(-100%);
    }

        .mobile-slide-menu.show {
            transform: translateX(0);
        }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1050;
    }
}
