/********** Template CSS **********/
:root {
    --primary: #104226;
    --secondary: #FCEA10;
    --light: #DADADA;
    --dark: #1D1D1B;

    --light-green: #009843;
    --blue: #259EC5;
    --red: #a8153d;
    --orange: #F39200;

    --pioneiro: #ba0d0e;
    --senior: #a61744;
    --escoteiro: #00793a;
    --lobinho: #f5b212;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    color: var(--dark);
}

.btn {
    font-family: 'Roboto', sans-serif;
    letter-spacing: 1px;
    font-weight: 700;
    transition: .5s;
}

.btn {
    color: #FFFFFF;
}

.btn:hover{
    border-color: var(--light-green);
    background-color: #FFFFFF;
    color: var(--light-green);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 0;
    z-index: 99;
}

.nav-link {
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.navbar-dark .navbar-nav .nav-link {
    padding: 30px 15px;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 15px;
}

@media(min-width: 992px){
    .navbar-dark .navbar-nav .nav-link:hover,
    .navbar-dark .navbar-nav .nav-link.active {
        border-bottom: solid 3px var(--secondary);
    }
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--dark);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.bg-hero {
    background: url(../img/carousel-1.jpg) top right no-repeat;
    background-size: cover;
}

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}

/* Remove when finish */
.bg-vegetable {
    background: linear-gradient(rgba(52, 173, 84, .2), rgba(52, 173, 84, .2)), url(../img/vegetable.png) bottom right no-repeat;
    background-size: contain;
}

.bg-fruit {
    background: linear-gradient(rgba(255, 153, 51, .2), rgba(255, 153, 51, .2)), url(../img/fruit.png) bottom right no-repeat;
    background-size: contain;
}

.service-item {
    box-shadow: 0 0 45px #EDEDED;
    transition: .5s;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    position: relative;
}

.service-item img {
    max-height: 100px;
    height: 100%;
    position: relative;
    z-index: 1;
}

.about i,
.service-item i {
    background-image: linear-gradient(var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: .5s;
}

.service-item h4,
.service-item p {
    color: #FFFFFF;
    position: relative;
    z-index: 1;
}

.product-item .btn-action {
    position: absolute;
    width: 100%;
    bottom: -40px;
    left: 0;
    opacity: 0;
    transition: .5s;
}

.product-item:hover .btn-action {
    bottom: 0;
    opacity: 1;
}

.product-item {
    align-items: center;
}

.product-item img {
    transition: .5s;
    filter: grayscale(100%);
    cursor: pointer;
    max-height: 100px;
    width: max-content !important;
}

.product-item:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

.product-carousel .owl-nav {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next{
    position: relative;
    width: 55px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
    color: var(--secondary);
}

.bg-testimonial {
    background: url(../img/testimonial.jpg) top center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: rgba(52, 173, 84, .7);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

.bg-footer {
}

@media (min-width: 991.98px) {
    .bg-footer {
        margin-top: 90px !important;
    }
}

/* Own styling */

.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-light { color: var(--light) !important; }
.text-dark { color: var(--dark) !important; }
.text-light-green { color: var(--light-green) !important; }
.text-pioneiro { color: var(--pioneiro); }
.text-senior { color: var(--senior); }
.text-escoteiro { color: var(--escoteiro); }
.text-lobinho { color: var(--lobinho); }

.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-light { background-color: var(--light) !important; }
.bg-dark { background-color: var(--dark) !important; }
.bg-light-green { background-color: var(--light-green) !important; }

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-light-green {
    background-color: var(--light-green);
    border-color: var(--light-green);
}
.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.page-banner {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    position: relative;
}

.page-title {
    position: relative;
    z-index: 1;
}

.underlined-title {
    position: relative;
    display: inline-block;
}

.underlined-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
    margin-top: 8px;
}

/* Header */
.logo-header img{
    width: 80px;
}

.links-login a {
    padding: 0 8px;
}
.links-login a:not(:last-child){
    border-right: solid 1px var(--dark);
}

@media(max-width: 991px){
    .logo-header img{
        width: 64px;
    }
}

/* Slider */
#slider .carousel-item {
    position: relative;
}

#slider .carousel-item::after,
#ramos .service-item::after,
.page-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 66, 38, 0.5);
    z-index: 0;
}

#slider .carousel-item .container {
    z-index: 1;
}

#slider .carousel:has(.carousel-item:nth-child(2)) button[class^="carousel-control-"] {
    display: block !important;
}

#slider .carousel:not(:has(.carousel-item:nth-child(2))) button[class^="carousel-control-"] {
    display: none !important;
}
/* Card ramos */
#card_ramos .card {
    position: relative
}

#card_ramos .card .simbolo-ramo {
    height: 80px;
    position: absolute;
    top: 15px;
    right: 20px;
}

@media(max-width: 1199px) {
  #card_ramos .card .simbolo-ramo {
    height: 60px;
    top: 10px;
    right: 15px;
  }
}

@media(max-width: 991px){
  #card_ramos  {
    display: none;
  }
}

/* Card Ramos - Mobile */
#card_ramos_mobile img {
    height: 60px;
}

@media(max-width: 767px){
  #card_ramos_mobile img {
    height: 40px;
  }
}

/*  Quem Somos */
#quem_somos .selos img {
    max-width: 120px;
}

.icone-numeros img {
    max-width: 80%;
    max-height: 60%;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}
/* Atividades */

#atividades .gallery-nav li {
    display: inline-block;
    margin: 0 10px;
    color: var(--dark);
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 4px;
    cursor: pointer;
}

#atividades .gallery-nav li.active {
    border-bottom: solid 2px var(--secondary);
}

#atividades .gallery-item {
    height: max-content;
}

#atividades .gallery-item img{
    width: 100%;
}

/* Parceiros */

/* Blog */
#blog .blog-item {
    width: 100%;
    height: 500px;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    transition: background-size 0.3s ease;
    position: relative;
    display: flex;
    align-items: flex-end;
}

#blog .blog-item::after {
    content: '';
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(16, 66, 38, 0.5), rgba(252, 234, 16, 0.5));
    z-index: 0;
}

#blog .blog-item .blog-overlay:hover .blog-item{
    background-size: 120% !important;
}

#blog .blog-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    z-index: 1;
}

#posts .post-thumb {
    width: 100%;
    padding-bottom: 100%;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

/* Contato */
.map-location iframe {
    width: 100% !important;
}

/* Footer */
#footer .rights {
    border-top: solid 1px var(--light);
}

#footer .footer-links a:hover,
#footer .footer-links a:hover i {
    color: var(--secondary) !important;
}
