@media (max-width : 768px) {
    .container-details {
        flex-direction: column-reverse !important;
        height: auto !important;
        overflow-y: auto !important;
    }

    .book-member-your-details {
        width: 100% !important;
        padding-left: 0 !important;
    }

    .book-member-your-details div {
        margin-top: 0 !important;
    }

    .book-member-input-container {
        flex-direction: column !important;
        margin-left: 30px !important;
    }

    .book-member-input-container div {
        width: 100% !important;
    }
    
    .book-member-hr-1 {
        display: block !important;
        width: 100% !important;
        height: 5% !important;

        div {
            width: 100% !important;
            height: 5px !important;
        }
    }

    #btnBookThisClass,
    #btnRequestClassEveryWeek {
        width: 70% !important;
    }

    .class-details-container {
        width: 100% !important;
    }

}

.book-member-class-details {
    width: 100% !important;
}

.class-header {
    background: rgba(245, 195, 66);
    width: 100%;
    color: white;
    text-align: center;
    padding: 5px;
    font-weight: 500;
    font-size: large;
}

.class-header#classSchedule {
    background: rgba(218, 120, 66);

}

.class-header#classLocation {
    background: #2f6eba;

}

.classes-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: medium;
}

.classes-container .classes-schedules {
    width: 45%;
    text-align: right;
    padding-right: 20px;
}

.classes-container .classes-slots {
    width: 10%;
    padding: 7 0 7 0;
    text-align: center;
    background: black;
    color: white;
    border-radius: 50%;
    margin-top: 3px;
    margin-bottom: 3px;
    cursor: pointer;
}

.classes-container .classes-statuses {
    width: 45%;
    text-align: left;
    padding-left: 20px;
}

.classes-container .classes-slots-selected {
    width: 10%;
    text-align: center;
    color: white;
    margin-top: 3px;
    margin-bottom: 3px;
    cursor: pointer;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 4px;
    bottom: 5px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #5d9e52;
}

input:focus+.slider {
    box-shadow: 0 0 1px #5d9e52;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.btn-next, .btn-confirm {
    width: 50%;
    padding: 10px;
    background: #2f6eba;
    color: #fff !important;
    border: 2px solid #2f6eba;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-next-disabled, .btn-confirm-disabled {
    width: 50%;
    padding: 10px;
    background: rgb(211, 211, 211);
    color: #fff !important;
    border: 2px solid #fff;
    border-radius: 4px;
    cursor: no-drop;
    font-size: 14px;
    text-decoration: none;
    display: block;
    text-align: center;
}