/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: #0e4794;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  margin: 0 !important;
  border-radius: 0 !important;
  /* border-bottom: 2px solid #fff; */
}

.accordion span {
  display: block;
  border-bottom: 1px solid #fff;
  padding: 0 0 10px 5px;
  font-size: 16px;
  font-weight: bold;
}

.accordion.active span {
  padding: 0;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.accordion:hover {
  background-color: #0e4794;
  opacity: 0.8;
}

.accordion:focus {
  background-color: #0e4794;
}

.active {
  background-color: #fff !important;
  border: 5px solid #0e4794;
  color: #0e4794;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 10px 30px 40px 30px !important;
  background-color: white;
  display: none;
  overflow: hidden;
  border-left: 5px solid #0e4794;
  border-right: 5px solid #0e4794;
  border-bottom: 5px solid #0e4794;
  margin: 0 !important;
}

.panel li {
  list-style: none;
}

.panel li a {
  text-decoration: none !important;
  color: #0e4794 !important;
  font-weight: bold;
  font-size: 14px;
}

.panel li p {
  color: #0e4794 !important;
  font-weight: bold;
  font-size: 14px;
}

.contenedor-acordeon {
  width: 100%;
  border: 10px solid #0e4794;
  padding: 20px;
  min-height: 500px;
  position: relative;
}

.contenedor-acordeon::after {
  position: absolute;
  content: "";
  width: 400px;
  height: 500px;
  right: -120px;
  bottom: -160px;
  background-image: url("../images/ubicacion.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.acordeon {
  width: 50%;
}

@media screen and (max-width: 768px) {
  .acordeon {
    width: 100%;
  }

  .contenedor-acordeon::after {
    position: absolute;
    content: "";
    width: 150px;
    height: 200px;
    right: -38px;
    bottom: -75px;
    background-image: url(../images/ubicacion.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }

  .contenedor-acordeon {
    min-height: 400px;
    padding: 0;
  }

  .accordion span {
    font-size: 14px;
  }
}

/* Carrusel sucursal */
.card-sucursal-primary {
  width: 100%;
  background-color: #0e4794;
  color: #fff;
  text-align: center;
  padding: 10px 25px;
  margin: 10px 0;
}

.card-sucursal-secondary {
  width: 100%;
  background-color: #f4991d;
  color: #fff;
  text-align: center;
  padding: 10px 25px;
  margin: 10px 0;
}

.card-sucursal-primary h3, .card-sucursal-secondary h3 {
  font-size: 26px;
  color: #fff;
}

.card-sucursal-primary p , .card-sucursal-secondary p {
  margin: 5px;
  font-size: 16px;
  padding: 0 25px;
}
.card-sucursal-primary a,
.card-sucursal-secondary a{
  color:#fff;
}
.card-sucursal-primary a.more-link {
  text-decoration: none !important;
  background: #fff;
  color: #0e4794 !important;
  border-radius: 5px;
  padding: 5px;
  font-size: 14px;
  margin: 5px 0 !important;
  display: inline-block;
}

.card-sucursal-secondary a.more-link {
  text-decoration: none !important;
  background: #fff;
  color: #f4991d !important;
  border-radius: 5px;
  padding: 5px;
  font-size: 14px;
  margin: 5px 0 !important;
  display: inline-block;
}

.card-no-sucursal-primary {
  width: 100%;
  background-color: #0e4794;
  color: #fff;
  text-align: center;
  padding: 10px 25px;
  margin: 10px 0;
}

.card-no-sucursal-secondary {
  width: 100%;
  background-color: #f4991d;
  color: #fff;
  text-align: center;
  padding: 10px 25px;
  margin: 10px 0;
}

@media screen and (max-width: 768px) {
  .card-sucursal-primary h3, .card-sucursal-secondary h3 {
    font-size: 22px;
  }
  
  .card-sucursal-primary p , .card-sucursal-secondary p {
    font-size: 14px;
  }
}



.entidades {
  overflow: hidden;
}
