/*fonts*/
@import url("https://fonts.googleapis.com/css2?family=Cabin:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Assistant:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap");



/*navabar*/
.bg-red {
  background-color: #b30000;
}

nav .navbar-nav li a.nav-link {
  color: white;
  font-family: "Open Sans", sans-serif;
}
nav .navbar-nav li a.nav-link:active {
  color: white;
}
nav .navbar-nav a.nav-link.dropdown-toggle.show {
  color: white;
}

nav .navbar-nav li a:hover {
  border-bottom: 2px solid white;
  color: white;
}
nav .navbar-nav li a.dropdown-item {
  color: #b30000;
  font-family: "Open Sans", sans-serif;
}
nav .navbar-nav li a.dropdown-item:active {
  background-color: #b30000;
  color: white;
}

.navbar {
  padding-top: 0% !important;
  padding-bottom: 0% !important;
}
/* video frame */
.video-frame {
  width: 430px;
  height: 315px;
}
@media screen and (min-width: 730px) {
  .video-frame {
    width: 500px;
    height: 315px;
  }
}
/*masthead*/
.hero-image {
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50vh;
}
@media screen and (min-width: 730px) {
  .hero-image {
    height: 70vh;
  }
}

.hero-image-alt {
  background-size: cover;
  background-position: right top;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50vh;
}
@media screen and (min-width: 730px) {
  .hero-image-alt {
    height: 70vh;
  }

}

.masthead {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.masthead-text2 {
  color: white;
  background-color: #b30000;
  width: fit-content;
  padding: 4px;
}
.masthead-text1 {
  color: #b30000;
  background-color: white;
  width: fit-content;
  margin-left: 40px;
  padding: 4px;
}
/*contenido*/
.btn.btn-primary {
  background-color: #b30000;
  border-color: #b30000;
  --bs-btn-hover-bg: #cb1c1c;
  --bs-btn-hover-border-color: #cb1c1c;
  --bs-btn-active-bg: #d72525;
  --bs-btn-active-border-color: #b30000;
  font-family: "Open Sans", sans-serif;
}

h5.card-title {
  color: #b30000;
  font-family: "Open Sans", sans-serif;
  font-size: 30px;
}

.subtitle {
  text-align: center;
  text-decoration: underline;
  color: #b30000;
  font-family: "Open Sans", sans-serif;
}
/*cat carrousel*/
@media screen and (min-width: 568px) {
  .cards-wrapper {
    display: flex;
  }
  .card {
    margin: 0.5em;
    width: calc(100% / 3);
  }
  .image-wrapper {
    height: 27vw;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.image-wrapper img {
  max-width: 100%;
  max-height: 100%;
}

.form-box {
  width: 50%;
}

.logo {
  width: 112px;
  height: 80px;
}
.clientes-logo {
  height: 100px;
  width: 100px;
}

@media screen and (min-width: 730px) {
  .clientes-logo { 
    width: 150px;
    height: 150px;
  }
}
/*FARMACO VIGILANCIA*/
.inputform {
  font-size: 13px;
}
.subtform {
  font-size: 20px;
}

.formulario {
  display: none;
}
.formulario.active {
  display: block;
}
.previous-btn {
  margin-right: 20px;
}

/*scroll*/
.reveal {
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: 1.5s all ease;
}
.reveal.active {
  transform: translateY(0);
  opacity: 1;
}

/* PORTAL */

/* MAIN */
.grow-on-hover {
  width: 180px;
  height: 180px;
  background-color: #b30000;

  transition: width 2s, height 2s;
}

.grow-on-hover:hover {
  width: 200px;
  height: 200px;
}

.row-main {
  height: 200px;
}

.card.main {
  transition: all 0.3s;
}
.card.main:hover {
  transform: scale(1.15);
}

/* homeicon servicios */

.home-icon {
  text-align: center;
}

.home-icon svg {
  margin-top: 15px;
  margin-bottom: 15px;
  color: black;
}
.home-icon h3 {
  font-weight: 700;
  font-size: 15px;
  color: #b30000;
}
.home-icon p {
  font-size: 14px;
}

/* NOTICIAS */
.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

/* Slick carrousel */
.slick-slide {
  text-align: center;
}
.img-slider {
  width: fit-content !important;
}

/* Whatsapp button */
.whatsapp-button {
  background: #24d366;
  color: #fff !important;
  width: fit-content;
  border-radius: 25px;
  padding: 0.5rem 0.5rem;
  display: inline-block;
}
