html {
    overflow-x: hidden;
}

body {
    font-family: 'Degular', sans-serif;
}

.rma-link {
    color: #1f3c59;
    opacity: 0.75;
    text-decoration: none;
    font-weight: bold;
    transition: color .3s;
}

h1 {
    font-weight: bold;
}

.rma-link:hover {
    opacity: 1;
}

.logo {
    max-width: 250px;
}

.logo.homelogo {
    max-width: 100%;
    width: auto;
    height: 24vw;
    max-height: 24vw;
    transition: max-width .3s;
}

.scrolled .logo {
    max-width: 250px;
    height: auto;
    max-height: auto;
    transition: max-width .3s;
}

.carousel-caption {
    width: 100%;
    left: 0;
    bottom: 0;
    padding-bottom: 3rem;
    background: rgba(0, 0, 0, .75);
}

nav.navbar {
    background-color: transparent !important;
    transition: background-color .3s;
    padding-left: 15px;
    padding-right: 15px;
}

nav.navbar.scrolled {
    background-color: #1f3c59 !important;
}

nav.navbar.scrolled.leiloesbyrma {
    background-color: #5f6561 !important;
}

.navbar li {
    padding: 0px 10px;
    text-align: center;
}

.navbar li>a.nav-link {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    opacity: 0.75;
    transition: opacity 0.3s;
}

.navbar li>a.nav-link.active {
    color: #e4a345 !important;
}

.navbar li>a:hover {
    opacity: 1;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler {
    border-color: #e3d8d1;
}

footer {
    padding-top: 50px;
    padding-bottom: 50px;
}

.footer-logo {
    max-width: 200px;
}

.footer-blue {
    background: #102438;
    padding-left: 15px;
    padding-right: 15px;
}

.footer-blue.leiloesbyrma {
    background: #5f6561
}

footer a.nav-link,
footer .footer-address {
    font-weight: 400;
    font-size: 1.15rem;
    line-height: 1.1;
    color: #fff !important;
    opacity: 0.75;
    transition: all .3s;
    padding-top: .25rem;
    padding-bottom: .25rem;
}

footer a.nav-link:hover {
    opacity: 1;
}

.social-icons a>i {
    font-size: 2rem;
    color: #e3d8d1 !important;
    opacity: .75;
    transition: all .3s;
}

.social-icons a:hover>i {
    opacity: 1
}

footer p {
    color: #e3d8d1;
    margin-top: 30px;
}

.main-light-row {
    padding-top: 50px;
    max-width: 80%;
    margin: auto;
    padding-bottom: 50px;
}

.blue-row {
    background: #203f5c;
    color: #e7dcd5;
}

.blue-row p {
    color: #e7dcd5 !important;
    font-size: 16px;
    font-weight: 500;
}

.cream-row {
    background: #e5dad3;
    color: #203f5c;
}

.cream-row.leiloesbyrma {
    background: #ece4d9;
    color: #5f6561;
}

.cream-row p {
    color: #203f5c !important;
    font-size: 16px;
    font-weight: 500;
}

.cream-row.leiloesbyrma p {
    color: #5f6561;
}

.carousel-caption p {
    font-size: 1.125rem;
    color: #fff !important;
    font-weight: bold;
}

.main-wrapper {
    padding-top: 50px;
    max-width: 80%;
    margin: auto;
    padding-bottom: 50px;
}

label {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

.form-control {

    font-size: 16px;
    color: #4e6185;
    font-weight: 500;
    padding: 25px;
    font-style: italic;
}

p {
    font-size: 16px;
    font-weight: 500;
    color: #203d5d;
}

.testeira {
    background: url('../imgs/testeira.png');
    background-size: cover;
    margin-left: -15px;
    margin-right: -15px;
    height: 250px;
    padding-left: 15px;
    padding-right: 15px;
}

.testeira.leiloesbyrma {
    background: #5f6561;
}

.quem_somos_banner02 {
    background: url('../imgs/banner/banner04.png');
    background-size: cover;
    background-position: center;
}

.testeira>div.col-12 {
    position: relative;
}

.testeira>div.col-12>h2 {
    position: absolute;
    left: 1rem;
    bottom: 5%;
    font-size: 3rem;
    font-weight: bold;
    color: #e3d8d1;
    width: calc(100% - 30px);
}

.subfooter {
    background: #e9e2de;
    color: #203d5d;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 14px;
    letter-spacing: 0.2px;
    line-height: 14px;
}

.contato-gap {
    width: 70%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.contato-gap p {
    font-size: 1.4rem;
    margin-bottom: 1.75rem;
}

.contato-gap h1 {
    color: #253b58;
    font-size: 3.5rem;
    margin-bottom: 3rem;
}

a.btn.btn-rma,
button.btn.btn-rma {
    background: #e0a13c;
    padding: 1.5rem 2rem;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    width: 50%;
}

.ms-auto-special {
    margin-left: auto;
    margin-right: 0;
}

.has-image {
    padding-left: 0;
    padding-right: 0;

}

.card-atuacao {
    width: 100%;
    height: 200px;
    background: #203b58;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    vertical-align: middle;
    display: flex;
    border-radius: 15px;
}

.card-atuacao>span {
    align-self: center;
    width: 100%;
}

.card-atuacao>a {
    align-self: center;
    width: 100%;
    color: #fff;
    text-decoration: none !important;
}

.navbar-brand {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 63%;
    z-index: 0;
}

.scrolled .navbar-brand {
    position: relative;
    width: fit-content;
    top: auto;
    left: auto;

}

@media screen and (max-width: 991px) {
    .carousel-caption {
        padding-bottom: 2rem;
        position: relative;
        background: #102438;
    }

    .carousel-caption p {
        font-size: 0.75rem;
        font-weight: normal;
        padding: 0.25rem;
    }

    .navbar-brand {
        position: inherit;
        flex: 1;
    }

    .logo {
        max-width: 100%;
        height: auto;
    }

    .subfooter {
        text-align: center;
    }

    .main-wrapper,
    .main-light-row {
        padding-top: 20px;
        max-width: 100%;
        margin: auto;
        padding-bottom: 20px;
    }

    .ms-auto-special {
        margin-left: inherit;
        margin-right: inherit;
    }

    nav .navbar-nav {
        background: #1f3c59
    }

    .contato-gap {
        width: 100%;
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .subfooter div+div {
        margin-top: 15px;
    }

    .testeira {
        height: 45vw;
    }

    .testeira>div.col-12>h2 {
        text-align: center;
    }

    footer a.nav-link {
        text-align: center;
    }

    footer>div+div {
        margin-top: 3rem !important;
    }

    footer p {
        text-align: center;
        margin-top: 15px;
    }
}