/**
 * TMW Popup Modal Styles
 */
.tmw-modal-box {
    position: fixed;
    width: 100%;
    max-width: 500px;
    height: fit-content;
    max-height: 75%;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    overflow-y: scroll;
    border-radius: 20px 20px 0 0;
    z-index: 1000;
    animation: slide-up 0.3s ease-out;
}.tmw-modal-box .modal-header {
    position: sticky;
    height: 55px;
    top: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    border-bottom: 1px solid lightgray;
    z-index: 1;
}.tmw-modal-box .modal-header h3 {
    margin: 0;
    font-size: 125%;
}.tmw-modal-open, .tmw-modal-close {
    cursor: pointer;
}.tmw-modal-box .modal-content {
    padding: 10px 15px;
}

/**
 * Popup Modal css for Desktop Devices
 */
@media (min-width: 500px) {
    .tmw-modal-box {
        top: 0;
        margin: auto;
        border-radius: 20px;
    }
}

/**
 * Popup Modal Animation
 */
@keyframes slide-up {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/**
 * TMW Read More/Read Less Modal Styles
 */
.tmw-rml-modal {
    position: relative;
    background: #ffffff;
}.tmw-rml-modal .tmw-header {
    font-size: 20px;
    font-weight: 700;
    color: #242424;
    line-height: 1;
    padding: 15px;
    border-bottom: 1px solid lightgray;
}.tmw-rml-modal .tmw-content {
    max-height: 300px;
    overflow: hidden;
    padding: 15px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}.tmw-rml-btn-container {
    display: flex;
    align-items: center;
    justify-content: center;
}.tmw-rml-modal .tmw-rml-btn {
    width: fit-content;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}.tmw-rml-modal:not(.more):after {
    position: absolute;
    content: '';
    left: 0;
    right: 0;
    bottom: 38px;
    height: 55px;
    display: block;
    background: linear-gradient(to bottom, rgba(240,249,255,0) 0%, #fff 100%);
}.tmw-rml-modal.hide-btn:after {
    display: none;
}.tmw-rml-modal.more .tmw-content {
    max-height: none;
}
