body {
    height: auto;
}

.bandeira {
    position: absolute;
    bottom: 0;
    right: -40px;
    width: 600px;
    height: 400px;
    /*background-image: url('imagens/bandeira-gov-sp.png');*/
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.4;
}

.govsp-desktop {
    position: absolute;
    bottom: 40px;
    left: 40px;
}

.loginscreen {
    border-radius: 8px;
    position: static !important;
}

.loginscreen img {
    max-width: 100%;
}

.govsp-desktop img {
    max-width: 300px;
}

.govsp-mobile {
    display: none;
}

@media (max-width: 1024px) {
    .bandeira {
        width: 500px;
        height: 300px;
        opacity: 0.3;
    }
}

@media (max-width: 1023px) {

    .loginscreen {
        padding: 20px;
        border: 1px solid #ddd;
        background-color: rgba(255, 255, 255, 0.9) !important;
    }
}

@media (max-width: 640px) {
    .govsp-desktop {
        display: none;
    }

    .govsp-mobile {
        position: absolute;
        display: block;
        bottom: -90px;
        width: 200px;
        left: 50%;
        transform: translate(-50%, 0px);
    }

    .govsp-mobile img {
        width: 100%;
        max-width: 100%;
    }

    .bandeira {
        display: none;
    }

    .loginscreen {
        margin-bottom: 100px;
    }
}

@media (max-width: 340px) {
    .bandeira {
        width: 300px;
        height: 200px;
        opacity: 0.3;
    }
}

.grecaptcha-badge {
    display: none;
}