﻿.st-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 250;
    background-color: rgba(60, 60, 60, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

    .st-modal.lateral {
        display: flex;
        justify-content: end;
        align-items: center;
        flex-direction: row;
    }

    .st-modal.show {
        opacity: 1;
        visibility: visible;
    }

.ct-modal-central {
    height: auto;
    max-height: 90%;
    width: auto;
    min-width: 350px;
    max-width: 800px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 1px 2px 0 rgba(51, 51, 51, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 15px;
    padding: 20px;
}

.ct-modal-central-2 {
    height: auto;
    max-height: 90%;
    width: auto;
    min-width: 500px;
    max-width: 800px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 1px 2px 0 rgba(51, 51, 51, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 15px;
    padding: 20px;
}

.ct-modal-central-3 {
    height: 95%;
    width: 95%;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 1px 2px 0 rgba(51, 51, 51, 0.2);
    display: flex;
    align-items: center;
    justify-content: left;
    flex-direction: column;
    padding: 15px;
    padding: 20px;
}


.ct-modal-lateral {
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    max-width: 600px;
    background-color: white;
    display: block;
    flex-direction: column;
    padding-top: 10px;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
    transition: 0.5s;
    right: 0;
    animation: slideInFromRight .7s forwards;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 2px;
    padding-bottom: 160px;
    position: relative;
    overflow-y: hidden;
    overflow-x: hidden;
}

    .ct-modal-lateral.tamanho-2 {
        max-width: 800px !important;
    }

    .ct-modal-lateral.tamanho-3 {
        max-width: 1900px !important;
    }

    .ct-modal-lateral.hide {
        animation: slideOutToRight .7s forwards;
    }

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes slideOutToRight {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(100%);
    }
}