html {
    scroll-behavior: smooth;
}

body {
    background-color: #f7f7f7;
    font-family: 'Open Sans', sans-serif;
    color: #063f5c;
}

/* NAVBAR */
.navbar-brand {
    float: left;
}

.navbar-light .navbar-nav .nav-link {
    color: #063f5c;
    font-family: 'Noto Sans', sans-serif;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-nav > .active > a {
    color: #4981ad !important;
}

.ml-auto {
    background-color: #f7f7f7;
    padding-top: 10px;
}

.navbar-collapse {
    z-index: 10000;
}

.navbar-nav {
    padding-left: 20px;
}

.lateral {
    border-right: 40px solid #4981ad;
}

.navbar-toggler:focus,
.navbar-toggler:active {
  outline: none !important;
  box-shadow: none !important;
}


/* Ajuste das setas do carrossel para fundo transparente */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: transparent !important;
    background-image: none !important;
    width: 30px;
    height: 30px;
    position: relative;
}

.carousel-control-prev-icon::after,
.carousel-control-next-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform-origin: center;
    transform: translate(-50%, -50%) rotate(135deg);
}

.carousel-control-next-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
#carouselLightbox .carousel-item img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}
#carouselLightbox .modal-content,
#carouselLightbox .carousel-item {
    background-color: #ccc !important;
}
#carouselLightbox .carousel-control-prev,
#carouselLightbox .carousel-control-next {
  padding: 1.5rem;
}

#carouselLightbox .carousel-control-prev {
  left: 1.5rem;
}

#carouselLightbox .carousel-control-next {
  right: 1.5rem;
}
button, select {
  text-transform: none;
border:none;
}


/* Remove fundo branco nas áreas clicáveis das setas */
.carousel-control-prev,
.carousel-control-next {
    background: transparent !important;
    width: 5rem;
}

/* Slogan dentro do slide */
#slogan {
    position: absolute;
    background-color: #4981ad;
    left: 0;
    bottom: 5%;
    z-index: 2;
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
    padding: 20px 40px;
    line-height: 32px;
    display: inline-block;
    max-width: 90%;
    white-space: normal;
}

@media (max-width: 1024px) and (min-width: 576px) {
    #slogan {
        font-size: 1em;
        padding: 10px 20px;
    }
}

/* Oculta carrossel em telas < 576px */
#myCarousel {
    margin-top: 20px;
}

/* CORES */
.branco {
    color: #fff;
}

.bgazul {
    background-color: #063f5c;
}
.bggold {
    background-color: #4981ad;
}

.sombra {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    border: 5px solid #fff;
}

/* SLIDE */
.margem-top {
    margin-top: 20px;
}

#slogan {
    position: absolute;
    background-color: #4981ad;
    left: 0;
    bottom: 5%;
    z-index: 2;
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
    padding: 20px 40px;
    line-height: 32px;
    display: inline-block;
    /* faz o box se ajustar ao conteúdo */
    max-width: 90%;
    /* impede que ele estoure em títulos muito longos */
    white-space: normal;
    /* permite quebra de linha */
}

/* QUEM SOMOS */
.bgquem {
    background: url("../img/bgquem.png") no-repeat center/cover;
}

.titulo {
    color: #fff;
    font-size: 1.4em;
    font-family: 'Noto Sans', sans-serif;
    padding: 20px;
    line-height: 1.4em;
}

.tituloazul {
    color: #063f5c;
    font-size: 1.4em;
    font-family: 'Noto Sans', sans-serif;
    padding: 20px;
    line-height: 1.4em;
}

.caixa-foto {
    padding: 10px 40px 40px 0;
}

.caixa-texto {
    padding: 0;
}

.espaco-10 {
    padding: 10px 0;
}

/* SERVIÇOS */
.bgservicos {
    background: url("../img/home-servicos.png") no-repeat center/cover;
}

.list-group-item {
    border: none;
    background-color: #4981ad;
    padding: 20px 6px;
}

.caixa-serv {
    padding: 40px 10px;
}

/* CHAMADA */
.chamada {
    padding: 40px 18px;
}

.chamada a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    font-family: 'Noto Sans', sans-serif;
    line-height: 1.4em;
}

/* LINKS GERAIS */
.saiba-mais a,
.contato-lista a {
    color: #4981ad;
    text-decoration: none;
}

.saiba-mais a:hover,
.contato-lista a:hover {
    text-decoration: none;
}

/* GALERIA */
.galeria-wrapper {
  max-width: 500px;
  margin: 0 auto;
}
.btn-outline-primary {
  color: #063f5c;
  background-color: transparent;
  background-image: none;
  border-color: #063f5c;
}
.btn-outline-primary:hover {
  color: #fff;
  background-color: #4981ad;
  border-color: #4981ad;
}
.btn-outline-primary.focus, .btn-outline-primary:focus {
  box-shadow: 0 0 0 0 rgba(255,255,255,0);
}
.btn.focus, .btn:focus {
  outline: 0;
  box-shadow: 0 0 0 0 rgba(255,255,255,0);
}
.btn-outline-primary:active,
.btn-outline-primary.active,
.show > .btn-outline-primary.dropdown-toggle {
  color: #fff !important;
  background-color: #4981ad !important;
  border-color: #4981ad !important;
}

.btn-outline-primary:active:focus {
  box-shadow: 0 0 0 0 rgba(255,255,255,0) !important;
}

/* RODAPÉ */
.fundo-rodape {
    background-color: #e9e9e9;
    padding: 40px 20px;
}

.titulo-contato {
    color: #063f5c;
    font-size: 1.4em;
    font-family: 'Noto Sans', sans-serif;
    padding: 0;
    line-height: 1.4em;
}

.contato-lista {
    padding-top: 20px;
    color: #4981ad;
}

.contato-lista img {
    width: 30px;
    height: auto;
}

.voltar {
    padding: 40px 0;
}

/* RESPONSIVO */
@media (max-width: 767px) {
    .caixa-texto {
        padding: 20px 24px;
    }

    .margem-stell,
    .margem-stell2 {
        padding: 0;
    }

    .espaco-mobile-reduzido {
        margin-bottom: -24px !important;
        padding-bottom: 0 !important;
    }
}

@media (max-width: 575px) {
    .lateral {
        border-right-width: 20px;
    }

    .contato-lista {
        text-align: center;
    }
}

@media (max-width: 420px) {
    .navbar-brand img {
        width: 100%;
        max-width: 200px;
        height: auto;
    }

    .fonte-menor {
        font-size: 0.8em;
    }
}

@media (max-width: 320px) {
    .navbar-brand img {
        max-width: 150px;
    }
}

@media (max-width: 1024px) and (min-width: 576px) {
    #slogan {
        font-size: 1em;
        padding: 10px 20px;
    }
}
@media (max-width: 1024px) {
  .carousel-item > img {
    max-height: 45vh !important;
  }
}

@media (max-width: 768px) {
  .carousel-item > img {
    max-height: 40vh !important;
  }
}