* {
    font-family: "Poppins", sans-serif;
    font-size: 13px;
}

.text-justify {
    text-align: justify;
}

.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='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#header-rrss {
    background-color: #D9D9D9;
    color: #001773;
}

#header-rrss img{
    height: 19px;
}

#header-main {
    background-color: #001773;
}

#header-main img{
    height: 45px;
    margin: 5px;
}

.btn-close-equipo-modal {
    top: 10px;
    right: 10px;
    padding: 1rem;
}

.modal-equipo .card-body .content{
    max-height: 300px;
    overflow-y: scroll;
}

#header-main .nav-link{
    color: #fff;
}

#header-main .nav-item a {
    font-weight: 400;
    transition: all .3s ease;
}

#header-main .nav-item a:hover {
    font-weight: 700;
    border-bottom: 2px solid #fff;
}

#banner-principal {
    height: 40vh;
    margin-bottom: 20rem !important;
}

.carousel-indicators {
    bottom: -250px;
}

.carousel-indicators-dot [data-bs-target] {
    width: 1rem;
    height: 1rem;
    border-radius: 100rem;
    border: 2px solid #787878;
    margin-top: 1rem;
    margin-bottom: 1rem;
    background-color: #787878;
    opacity: 1;
}

.carousel-indicators .active {
    background-color: #001773;
    border: 2px solid #001773;
}

#banner-principal .carousel-inner {
    overflow: visible !important;
}

#banner-principal .carousel-item {
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom-right-radius: 100px;
}

#banner-principal .description {
    position: absolute;
    bottom: -60%;
}

#banner-principal .carousel-item:nth-child(1){
    background-image: url(../images/banner-bustamante-1.jpg);
    background-position: center;
}

#banner-principal .carousel-item:nth-child(2){
    background-image: url(../images/banner-bustamante-2.jpg);
    background-position: center;
}

#banner-principal .carousel-item:nth-child(3){
    background-image: url(../images/banner-bustamante-3.jpg);
    background-position: center;
}

#banner-principal .content {
    background-color: rgba(0, 23, 115, .9);
    color: #fff;
    min-height: 100px;
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin: 0 5rem 0 0 !important;
    padding: 2rem;
}

#banner-principal .carousel-item:nth-child(1) .content {
    max-width: 1000px;
}

#banner-principal .carousel-item:nth-child(2) .content {
    max-width: 1000px;
}

#banner-principal .carousel-item:nth-child(3) .content {
    max-width: 500px;
}

#banner-principal .content p {
    font-size: 1.5rem;
}

#banner-principal .content a span{
    font-size: 1rem;
}

#main-nosotros, #main-servicios, #main-equipo, #main-testimonios, #main-contacto, #main-organigrama, #main-edictos{
    color: #001773;
}

#main-mejores-temas {
    color: #ffffff;
    background-image: url(../images/bg-mejores-temas.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 5rem 0;
}

.h2-title{
    font-size: 2.3rem;
    font-weight: 700;
}

.h3-subtitle{
    font-size: 1.8rem;
    font-weight: 700;
    color: #001773;
}

.deco-title {
    border-color: #001773;
    border: 2px solid #001773;
}

.deco-title-white {
    border-color: #ffffff;
    border: 2px solid #ffffff;
}

.bg-br-azul {
    background-color: #001773;
}

#main-nosotros .images {
    position: relative;
}

#main-nosotros .images img {
    border-bottom-left-radius: 50px;
}

#main-nosotros .images .copy{
    background-color: #001773;
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: end;
    transform: translate(-15px, 100px);
    border-bottom-left-radius: 50px;
}

#main-nosotros .images .copy p {
    font-size: .8rem;
    font-style: italic;
}

#main-nosotros .images .copy span {
    font-size: .75rem;
}

#carousel-servicios .card, #carousel-edictos .card{
    background-color: #D9D9D9;
    border-radius: 15px;
    margin: 0 3rem;
    min-height: 500px;
}

#carousel-servicios .card p, #carousel-servicios-md .card p, #main-edictos .card p {
    color: #001773;
}

#carousel-servicios-md .card{
    background-color: #D9D9D9;
    border-radius: 15px;
}

#carousel-edictos-md .card {
    background-color: #D9D9D9;
    border-radius: 30px;
}

.content-image-edicto {
    height: 250px;
}

.content-image-edicto img {
    object-fit: cover;
    object-position: center;
}

#carousel-edictos-md .card img{
    border-radius: 30px !important;
}

/* EQUIPO MAIN */
#main-equipo .card {
    position: relative;
    border-bottom-right-radius: 70px;
    background-color: #ffffff;
    overflow: hidden;
}

#main-equipo .card .card-footer {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to bottom right, rgba(11, 30, 116, 0.5), rgba(11, 30, 116, 0.8));
    z-index: 100;
    transform: translateX(-100%);
    box-shadow: 0 2px 4px rgba(27, 65, 227, .4);
    transition: all .5s ease;
}

#main-equipo .card:hover .card-footer {
    transform: translateX(0px);
}

#carousel-equipo .card, #carousel-testimonios .card{
    margin: 0 6rem;
}

#carousel-equipo .card p, #carousel-equipo-md .card p {
    /* color: #001773; */
}

#carousel-equipo-md .card {

}

/* testimonios */
#carousel-testimonios {
    margin-top: 3rem;
}

#carousel-testimonios .card {
    color: #001773;
}

#carousel-testimonios .card .card-footer{
    background-color: #ffffff;
    margin-top: 4.5rem;
}

#carousel-testimonios .card p{
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

#carousel-testimonios .card .card-body {
    background-color: #EAEBEE;
    padding: 5rem 2.5rem;
    border-radius: 70px;
    position: relative;
}

#carousel-testimonios .card .card-body::after {
    content: "";
    position: absolute;
    bottom: -40px;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 50px solid #EAEBEE;
}

#carousel-testimonios .card .card-body::before {
    content: "\201C";
    font-size: 18rem;
    color: #001773;
    position: absolute;
    top: -85px;
    left: -40px;
    font-family: sans-serif;
}

#carousel-testimonios .card .bibli {
    line-height: 1.3rem;
}

#carousel-testimonios .card .autor {
    font-weight: 500;
    font-size: 1.3rem;
}

#carousel-testimonios .card .perfil {
    font-size: .8rem;
}

/* contacto */
#main-contacto {
    padding: 5rem 0;
    background-image: url(../images/bg-main-contacto.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#main-contacto .h2-title {
    line-height: 3rem;
    font-weight: 600;
}

#main-contacto .deco-title {
    margin: 0 10rem;
}

#main-contacto .h2-phone *{
    font-size: 2.5rem;
    font-weight: 600;
}

#main-contacto .lista-redes {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 2rem 3rem;
}

#main-contacto .lista-redes img {
    height: 45px;
}

#frm-contacto {
    background-color: #EAEBEE;
    border-radius: 30px;
}

#main-map {
}

footer {
    background-color: #001773;
    padding: 5rem 0;
    color: #ffffff;
}

footer .row > div {
    margin-bottom: 4rem;
}

footer .logo img{
    height: 65px;
}

footer .logo p {
    margin: 2rem 6rem 0;
    font-size: .9rem;
}

footer .contacto, footer .reclamaciones {
    margin: 0 4rem;
}

footer h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.3rem;
}

footer .reclamaciones img {
    height: 50px;
}

footer .asociados img {
    height: 70px;
}

footer .siguenos img {
    height: 50px;
}

/* banner de otras paginas */
.banner {
    height: 40vh;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 4rem;
    border-bottom-right-radius: 100px;
}

.banner .title {
    background-color: #D9D9D9;
    color: #001773;
}

.banner h1 {
    font-size: 3rem;
    font-weight: 600;
    padding: 1rem 5rem 1rem 1rem;
    margin: 0;
}

#banner-nosotros {
    background-image: url(../images/banner-nosotros.jpg);
    background-position: center 30%;
}

#banner-servicios {
    background-image: url(../images/banner-servicios.jpg);
    background-position: center 10%;
}

#banner-contacto {
    background-image: url(../images/banner-contacto.jpg);
    background-position: center 20%;
}

#banner-remates {
    background-image: url(../images/banner-remates.jpg);
    background-position: center;
}

#banner-blog {
    background-image: url(../images/banner-blog.jpg);
    background-position: center 13%;
}

#main-organigrama {
    margin-top: 3rem;
    margin-bottom: 6rem;
}

#main-edictos .card{
    background-color: #D9D9D9;
}

#main-edictos .link-ver-mas {
    font-size: 1.5rem;
    color: #001773;
    font-weight: 500;
}

@media (min-width: 400px) {
    #carousel-servicios .card, #carousel-edictos .card{
        margin: 0 4rem;
    }
}

@media (min-width: 576px) {
    #carousel-servicios .card, #carousel-edictos .card{
        margin: 0 6rem;
    }
}

@media (min-width: 768px) {
    #navbar-menu {
        border-top: 0 !important;
    }

    .modal-equipo .card-body .content{
        max-height: 250px;
    }

    .carousel-indicators {
        bottom: 0;
        left: auto;
        margin-right: 5%;
        margin-left: 5%;
        margin-bottom: 2rem;
        padding: 5px 10px;
        background-color: #FFFFFF;
        border-radius: 20px;
    }

    .carousel-indicators-dot [data-bs-target] {
        margin-left: .8rem;
        margin-right: .8rem;
        margin-top: .5rem;
        margin-bottom: .5rem;
    }

    #banner-principal {
        height: 72vh;
        margin-bottom: 3rem !important;
    }

    #banner-principal .carousel-inner {
        overflow: hidden !important;
    }

    #banner-principal .description {
        position: relative;
        bottom: 0;
        transform: translateY(0);
    }

    #banner-principal .content {
        margin: 0 15rem 1rem 1rem !important;
    }

    #main-nosotros .images .copy{
        transform: translate(-30px, 100px);
        width: 70%;
    }

    #main-contacto .lista-redes img {
        height: 35px;
    }

    #main-contacto .lista-redes{
        width: 80%;
        margin: 2rem 3rem 2rem 0;
        gap: 10px;
    }

    #main-contacto .deco-title {
        margin: 0 8rem 0 0;
    }

    footer {
        padding: 4rem 0;
    }

    footer h3 {
        font-size: 1.6rem;
    }

    footer .logo p {
        margin: 2rem 3rem 0;
    }

    footer .contacto, footer .reclamaciones {
        margin: 0 2rem;
    }

    footer .siguenos img {
        height: 40px;
    }

    .banner {
        height: 72vh;
    }
}

@media (min-width: 992px) {
    * {
        font-size: 16px;
    }

    #header-main img{
        height: 70px;
    }

    #header-rrss img{
        height: 23px;
    }

    #icon-phone{
        width: 24px;
        height: 24px;;
    }

    #banner-principal .content {
        margin: 0 17rem 2rem 2rem !important;
    }

    #carousel-servicios-md .card-body {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
        gap: 1rem;
        align-items: stretch;
    }

    .h3-subtitle{
        font-size: 1.2rem;
    }

    .modal-equipo .card-body .content{
        max-height: 400px;
    }

    #carousel-servicios-md *:not(h3), #carousel-edictos-md *:not(h3){
        font-size: 13px;
    }

    #carousel-testimonios .card .card-body {
        padding: 5rem 6rem;
    }

    #carousel-testimonios .card{
        margin: 0 10rem;
    }

    #main-contacto .lista-redes{
        width: 50%;
        gap: 20px;
    }

    #main-contacto .lista-redes img {
        height: 40px;
    }

    footer .logo img{
        height: 65px;
    }

    footer .row > div {
        margin-bottom: 0;
    }

    footer h3 {
        font-size: 1.29rem;
    }

    footer .logo p {
        margin: 2rem 1rem 0;
        font-size: .7rem;
    }

    footer .contacto, footer .reclamaciones {
        margin: 0 1rem;
    }

    footer .siguenos img {
        height: 30px;
    }

    footer .asociados img {
        height: 60px;
    }

    footer .reclamaciones img {
        height: 40px;
    }

    #carousel-edictos-md .card-body {
        gap: 1rem;
        align-items: stretch;
    }
}

@media (min-width: 1200px) {
    #banner-principal .content {
        margin: 0 22rem 2rem 2rem !important;
    }

    #main-nosotros .images .copy{
        width: 50%;
    }

    .h3-subtitle{
        font-size: 1.5rem;
    }

    #carousel-servicios-md *:not(h3), #carousel-edictos-md *:not(h3){
        font-size: 14px;
    }

    footer .logo p {
        margin: 2rem 0 0;
        font-size: .8rem;
    }

    footer h3 {
        font-size: 1.5rem;
    }

    footer .asociados img {
        height: 70px;
    }

    footer .reclamaciones img {
        height: 50px;
    }
}

@media (min-width: 1400px) {
    #banner-principal .description {
        max-width: 1320px;
        margin: 0 auto;
    }

    #banner-principal .content {
        margin: 0 30rem 2rem 0 !important;
    }

    .carousel-indicators {
        left: auto;
        right: 15%;
        transform: translateX(15%);
    }

    .h3-subtitle{
        font-size: 1.8rem;
    }

    #carousel-servicios-md *:not(h3), #carousel-edictos-md *:not(h3){
        font-size: 16px;

        /* aqui me quede */
    }

    #carousel-equipo-md .row, #main-organigrama .row{
        margin-left: 10rem !important;
        margin-right: 10rem !important;
    }

    #content-form {
        margin-left: 8rem !important;
    }
}

@media (min-width: 2000px) {
    #banner-principal .content {
        margin: 0 40rem 3rem 0 !important;
    }
}
