header section.barra_ajt {
    border-bottom: 2px solid black;
    padding: 5px 0;
    text-align: center;
    background: black;
}

header section.barra_ajt img{
    height: 40px;
}

header .navbar-brand img{
    height: 90px;
}

.navbar {
    justify-content: space-between;
    align-items: center;
    padding: 0;
    flex-wrap: wrap;
    padding-right: 20px;
}
.menus {
    background: white;
}
.navbar-toggler {
    border: 0;
    font-size: 30px;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23b2b2b2' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-toggler:focus {
    box-shadow: none;
}

header section.menus .offcanvas .nav-item {
    color: black;
    font-size: 1rem;
    font-family: 'Proxima Nova', 'Roboto', sans-serif;
    text-decoration: none;
    font-weight: normal;
    border-right: 1px solid #b2b2b2;
    min-width: 100px;
    border-radius: 0;
}
header section.menus .offcanvas .nav-item.cerca {
    border: 0;
}
header section.menus .offcanvas .nav-item a {
    padding: 10px 20px;
}
header section.menus .offcanvas .nav-item:not(.cerca) a:hover,
header section.menus .offcanvas .nav-item:not(.cerca) a.select {
    background: #f7cc00;
}

.boto-cercar {
    flex-grow: 1;
    text-align: center;
    margin-right: 10px;
}
.bi-search::before {
    font-weight: bold !important;
}

.carousel {
    min-height: 60px;
    margin-bottom: 10px;
}
.carousel .carousel-indicators {
    margin-bottom: -1rem;
}

.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    background-color: rgba(255, 255, 255, 0.5); /* Fondo negro con 50% de opacidad */
    border-radius: 50%; /* Hace que tenga forma circular */
    width: 50px;
    height: 50px;
    top: 50%; /* Centrado verticalmente */
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel .carousel-control-prev {
    left: 10px;
}
.carousel .carousel-control-next {
    right: 10px;
}

.carousel .carousel-control-prev:hover,
.carousel .carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.8); /* Más opaco al pasar el mouse */
}

header .offcanvas {
    background: #dadada;
    border: 1px solid black;
}

.dropdown-item:focus, .dropdown-item:hover {
    background: inherit;

}

.dropdown.submenu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.dropdown.submenu > ul {
    width: 100%;
}

.dropdown .dropdown-menu {
    background: #f7cc00;
    border: 0;
    border-radius: 0;
}
.dropdown-menu > li {
    border-bottom: 1px solid white;
}
.dropdown-menu > li a:hover {
    background:white !important;
}

.dropdown-menu > li:last-child {
    border-bottom: 0;
}
.dropdown .nav-link:not(.dropdown-toggle) {
    flex-grow: 1;
}
.offcanvas-body {
    padding-left: 0px;
    padding-right: 0px;
    border-right: 0;
}
@media only screen and (min-width: 768px)
{ /*Mida M */



}
@media only screen and (min-width: 992px)
{ /*Mida L */
    header section.barra_ajt {
        text-align: left;
    }
    header .navbar-brand img{
        height: 130px;
    }
    .menus {
        background: inherit;
    }

    .navbar {
        align-items: flex-start;
        padding-right: 0;
    }

    .boto-cercar {
        border-right: 0 !important;
        text-align: left !important;
        text-align: right;
    }

    header section.menus .offcanvas {
        flex-direction: row;
        /*gap: 5px;*/
        border: 1px solid #b2b2b2 !important;
        border-radius: 5px 5px 0 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        width: 100% !important;
    }
    .dropdown .nav-link.dropdown-toggle {
        display: none !important;
    }

    .dropdown:hover .dropdown-menu {
        display: block;

    }
    .dropdown.submenu > ul {
        width: auto;
    }
    header section.menus .offcanvas .nav-item {
        text-align: center;
        }
    .dropdown:hover .nav-link {
        background: #f7cc00;
    }
    .dropdown .dropdown-menu {
        margin-top: 44px;
        padding: 10px;
    }

}

@media only screen and (min-width: 1201px) /* Mida XL*/
{

    .boto-cercar {
        flex-grow: 1;
        text-align: right;
        margin-right: 10px;
    }
    header section.menus .offcanvas a {
        font-size: 1.1rem;
    }
}
