@media (min-width: 300px) and (max-width: 767px) {

    body {
        color: #333333;
        background: #ffffff;
        font-family: 'Roboto', sans-serif;
        font-size: 14px;
        height: 100%;
        margin: 0px;
        padding: 0px;
    }

    .panel-body {
        padding: 45px 26px 0;
        flex: 1;
    }

    .legend {
        text-align: left;
        width: 100%;
        color: gray;
        font-size: 13px;
        font-weight: 600;
        border-bottom: 1px solid rgb(225, 225, 225);
        margin-bottom: 10%;
    }

    .contrato {
        text-align: justify;
        text-justify: inter-word;
        max-height: 80vh;
        overflow: scroll;
        position: relative;
        padding: 20px 15px;
        border-radius: 8px;
        background-color: #eee;
    }

    #pgto {
        margin-bottom: 0 !important;
    }

    #titulo-h2 {
        display: none;
    }

    #titulo-h4 {
        display: block;
    }

    #tit-h2{
        display: none;
    }

    #tit-h4{
        display: block;
    }

    h4 {
        font-size: 14px !important;
    }

    .infos-roteiro ul li strong {
        color: #333;
        font-size: 18px;
        padding-bottom: 20px;
        display: block;
    }

    .infos-roteiro .cod-viagem {
        font-size: 10px;
        color: #696969;
        font-weight: 400;
        padding-top: 20px;
        display: block;
    }

    .valor-roteiro .valor {
        display: block;
        font-weight: 600;
        margin: 20px 0;
        font-size: 20px;
    }

    .valor-roteiro .valor span {
        display: block;
        font-size: 20px;
    }

    .btn {
        font-size: 15px;
        height: 48px !important;
        cursor: pointer;
        line-height: 1.6 !important;
        transition: all 0.2s ease-in-out;
        letter-spacing: 1px;
        border: none;
        border-radius: 23px;
    }

    .panel-footer {
        width: calc(100% + 24px);
        padding: 0px 18px;
        margin: -22px 0px 0px -12px;
    }

    #btn-popup {
        display: inline-grid;
        margin: 0px 0px 30px 50px;
    }

    #btn-popup .imprimir-contrato {
        margin-left: -8%;
        margin-top: 5%;
        margin-bottom: 5%;
    }

    #btn-notification {
        display: inline-grid;
        justify-content: center;
        padding: 20px !important;
    }

    #tentarNovamente-btn {
        margin-top: 20px;
    }

    #progressFlow {
        flex-direction: column;
    }

    #progressFlow li {
        flex-direction: row;
    }

    #progressFlow li .progress {
        margin: 0 30px;
        padding-top: 1px;
    }

    .progress::after {
        width: 5px;
        height: 45px;
        bottom: 110%;
        left: 50%;
        transform: translateX(-50%);
    }

    .one::after {
        height: 0;
    }

    #progressFlow li .icon {
        margin: 15px 0;
    }

    .payment-card {
        background-color: rgb(249, 249, 249);
        padding: 3%;
        margin-top: 5%;
    }

    .payment-method {
        display: flex;
        margin-bottom: 18px;
        justify-content: space-between;
    }

    .card-logos {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .image-cartao {
        max-height: 20px;
        object-fit: contain;
        object-position: center;
    }

    .radio-input {
        margin-top: 20px;
        font-size: 14px;
    }

    .contrato p {
        margin: 0px 10px 20px 5px;
        text-align: justify;
    }

    .info {
        font-size: 12px;
        font-weight: 300;
        display: block;
        margin-bottom: 14% !important;
        opacity: 0.5;
        color: #2e2e2e;
    }

    #paymentByCard {
        width: 100%;
        margin-bottom: 10%;
    }

    #paymentPix img {
        margin: 0 0 0 -5%;
    }

    #paymentPix button {
        width: 100%;
        margin: 4% 0 0 0;
    }

    .progress0,
    .progress1,
    .progress2,
    .progress3 {
        width: 100%;
        margin: 0;
    }

    .preload-container img {
        width: 60%;
        display: flex;
        margin: 60% auto 0 auto;
    }

    .confirmation-details {
        margin-top: 10%;
        font-size: 16px;
        display: grid;
        justify-content: center;
        align-items: center;
        justify-items: self-start;
        margin-bottom: 15%;
    }
    
    #parabens-h1 {
        display: none;
    }
    
    #parabens-h2 {
        display: block;
    }

    #fail-h1{
        display: none;
    }
    
    #fail-h2{
        display: block;
    }

    #titulo-confirmacao {
        margin-top: 2%;
        color: white;
        font-size: 18px;
        font-weight: bold;
    }

    #error {
        width: auto;
        margin: 0px 0px 30px 0px;
    }

    #areaGeracaoQrcodePix {
        margin: 50px 0;
    }

}