body {
    padding-top: 70px;
    padding-bottom: 0 !important;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.navbar-brand img {
    max-height: 54px;
}

.menufonte {
    font-size: 21px;
}

.navbar .nav-link {
    color: #6d6d6d;
    padding: .5rem .75rem;
}

.navbar .nav-link:hover {
    color: #2e3192;
}

.navbar .nav-link.active {
    background: #2e3192;
    color: #fff !important;
    border-radius: 4px;
    padding-left: .8rem;
    padding-right: .8rem;
}

.text-justify {
    text-align: justify;
}

.no-gutters {
    --bs-gutter-x: 0;
}

.home-hero {
    position: relative;
}

.home-carousel,
.home-carousel .carousel-inner,
.home-carousel .carousel-item {
    height: calc(100vh - 70px);
    min-height: 420px;
    max-height: 760px;
}

.home-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .home-carousel,
    .home-carousel .carousel-inner,
    .home-carousel .carousel-item {
        height: 44vh;
        min-height: 260px;
        max-height: 360px;
    }
}

.background {
    min-height: 210px;
    background: url("../../images/estrada.jpg") center center / cover no-repeat;
    position: relative;
}

.slider-text {
    min-height: 210px;
    position: relative;
    z-index: 1;
    align-items: center !important;
}

.layer {
    background-color: rgba(0, 0, 0, .4);
    position: absolute;
    inset: 0;
}

.services-section {
    padding: 0;
    width: 100%;
}

@media (min-width: 768px) {
    .services-section {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
    }

    .services-section .container-fluid {
        position: static;
        margin-top: 0;
        border-top: 1px solid rgba(255, 255, 255, .3);
        background: #2e3192 !important;
        color: rgba(255, 255, 255, .7) !important;
    }
}

@media (max-width: 767.98px) {
    .home-hero {
        position: static;
    }

    .services-section {
        position: static;
    }

    .services-section .container-fluid {
        position: static;
        margin-top: 0;
        background: #2e3192 !important;
        color: rgba(255, 255, 255, .7) !important;
    }
}

.services {
    transition: all .3s ease;
}

.services h3 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.25;
}

.services h3 a {
    color: #fff;
}

.trg-footer {
    font-size: 17px;
    background: #2e3192;
    padding: 1em 0 .8em;
}

.trg-footer p,
.trg-footer a {
    color: rgba(255, 255, 255, .76);
}

.trg-footer ul {
    margin: 0;
    padding: 0;
}

.trg-footer li {
    list-style: none;
}

.trg-footer a:hover {
    color: #fff;
}

.block-23 {
    padding: 0;
}

.block-23 ul {
    padding: 0;
}

.block-23 ul li,
.block-23 ul li > a {
    display: table;
    line-height: 1.5;
    margin-bottom: 5px;
}

.block-23 ul li span {
    color: rgba(255, 255, 255, .85);
}

.block-23 ul li .icon,
.block-23 ul li .text {
    display: table-cell;
    vertical-align: top;
}

.block-23 ul li .icon {
    width: 40px;
    font-size: 22px;
    padding-top: 4px;
    color: #fff;
}

.block-23 ul li .text {
    color: rgba(255, 255, 255, .85);
}

.btn-primary {
    --bs-btn-bg: #2e3192;
    --bs-btn-border-color: #2e3192;
    --bs-btn-hover-bg: #242678;
    --bs-btn-hover-border-color: #242678;
    --bs-btn-active-bg: #20236c;
    --bs-btn-active-border-color: #20236c;
}

.trg-form .form-label {
    font-weight: 700;
    margin-bottom: .35rem;
}

.trg-form .form-label.required::after {
    content: " *";
    color: #777;
    font-weight: 400;
    margin-left: .15rem;
}

.trg-form .form-control,
.trg-form .form-select {
    min-height: 38px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.contact-form,
.contact-branches {
    min-width: 0;
}

.contact-branches,
.contact-branches > span,
.contact-branches > span > span {
    display: block !important;
    width: 100% !important;
}

.contact-branches .card {
    overflow: hidden;
}

.contact-branches iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
    min-height: 200px;
    border: 0 !important;
}

@media (max-width: 767.98px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

.trg-footer .trg-footer-widget .btn-primary {
    background: #fff !important;
    border: 2px solid #fff !important;
    color: #2e3192 !important;
}

.trg-footer .trg-footer-widget .btn-primary:hover {
    background: rgba(255, 255, 255, .72) !important;
    border-color: rgba(255, 255, 255, .72) !important;
}

.trg-footer-social li {
    list-style: none;
    margin: 0 10px 0 0;
    display: inline-block;
}

.trg-footer-social li a {
    height: 50px;
    width: 50px;
    display: block;
    background: #fff;
    border-radius: 50%;
    position: relative;
    transition: background-color .2s ease, transform .2s ease;
}

.trg-footer-social li a span {
    color: #2e3192;
    position: absolute;
    font-size: 26px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: color .2s ease;
}

.trg-footer-social li a:hover {
    background: rgba(255, 255, 255, .72);
    transform: translateY(-2px);
}

.trg-footer-social li a:hover span {
    color: #242678;
}
