* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* background: linear-gradient(
    to bottom right,
    rgba(25, 34, 139, 1),
    rgba(119, 153, 240, 0.5),
    rgba(255, 255, 255, 1)
  ); */
  background: linear-gradient( rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), url(../img/8.png);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

main {
  flex: 1;
}

footer {
  box-shadow: 0px -3px 5px 0px rgba(0, 0, 0, 0.5);
}

a:hover {
  text-decoration: none;
}

p {
  margin-bottom: 0 !important;
}

.error_imagenes, .error_archivo {
  color: #d54062;
}

.line-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.line-clamp-slider, .line-clamp-titulo {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-slider {
  -webkit-line-clamp: 2;
}

.line-clamp-titulo {
  -webkit-line-clamp: 3;
}

.contenido-carousel {
  position: absolute;
  color: #fff;
  width: 75%;
  /* height: 75%; */
  height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transform: translate(17%, -120%);
  -webkit-transform: translate(17%, -120%);
  -moz-transform: translate(17%, -120%);
  -ms-transform: translate(17%, -120%);
  -o-transform: translate(17%, -120%);
  word-break: break-word;
}

.mascara {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.relleno {
  text-align: center;
  background-color: #000;
}

.relleno img {
  height: 300px;
}

nav {
  font-size: 20px;
}

button.navbar-toggler {
  outline: none;
}

.ojito {
  right: 3%;
  top: 63%;
  cursor: pointer;
}

.tarjeta {
  padding: 15px;
  background-color: #eeeeee;
  box-shadow: 5px 9px 8px 8px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.imagenes {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: row;
}

.num_autos {
  position: absolute;
  top: 11%;
  left: 5%;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: red;
  color: white;
  line-height: 25px;
  font-family: sans-serif;
  text-align: center;
}

.num_autos2 {
  position: absolute;
  top: -10%;
  left: -6%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: red;
  color: white;
  line-height: 20px;
  font-family: sans-serif;
  text-align: center;
  font-size: 16px;
}

.fondo_form {
  background: rgba(255, 255, 255, 0.35);
  padding: 20px 20px 0;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  box-shadow: 8px 8px 11px 3px rgba(0, 0, 0, 0.5);
}

.fondo_form .position-md-relative {
  border-color: #000;
  border-bottom: 1px solid;
}

.rrss_footer {
  display: none;
}

.rrss {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 100;
  background-color: #fff;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

.rrss a {
  padding: 16px;
}

.rrss a:hover {
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
}

#fb:hover {
  background-color: rgba(24, 36, 61, 0.9);
  border-top-left-radius: 8px;
}

#tw:hover {
  background-color: rgba(34, 69, 95, 0.9);
}

#ig:hover {
  background: linear-gradient( 45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

#yt:hover {
  background-color: rgba(103, 16, 16, 0.9);
  border-bottom-left-radius: 8px;
}

.tabs_navigation {
  text-align: center;
  margin-bottom: 15px;
}

.tabs_navigation button {
  color: #000;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 20px;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.15s linear;
  -webkit-transition: 0.15s linear;
  -moz-transition: 0.15s linear;
  -ms-transition: 0.15s linear;
  -o-transition: 0.15s linear;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.tabs_navigation button:hover {
  cursor: pointer;
  box-shadow: 0 2px 8px 6px rgba(0, 0, 0, 0.12);
}

.tabs_navigation button:first-child {
  margin-right: 5px;
}

.single-tab {
  display: none;
}

.single-tab:first-child {
  display: block;
}

.tabs_navigation .active {
  background: rgba(255, 255, 255, 0.5);
  color: blue;
}

.grid_partners {
  display: grid;
  grid-template-columns: repeat(4, 0.5fr);
  grid-template-rows: repeat(9, 0.5fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  box-shadow: 8px 8px 11px 3px rgba(0, 0, 0, 0.5);
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.grid_partners a {
  align-self: center;
  justify-self: center;
  text-align: center;
  margin: 10px 0;
  max-width: 85%;
}

.social_media {
  list-style: none;
}

.social_media li:not(:last-child) {
  margin-right: 1.5rem;
}

@media (max-width: 992px) {
  nav {
    font-size: 18px;
  }
  .rrss_footer {
    display: block;
  }
  .rrss_footer a:not(:last-child) {
    margin-right: 10px;
  }
  .rrss {
    display: none;
  }
  /* .grid_partners p {
    font-size: 12px;
  } */
}

/* @media (max-width: 767px) {
  .grid_partners p {
    font-size: 8px;
  }
} */

@media (min-width: 768px) {
  .fondo_form .position-md-relative {
    position: relative;
    border-color: #000;
    border-right: 1px solid;
    border-bottom: none;
  }
  .fondo_form .position-md-absolute {
    position: absolute;
    top: 25%;
  }
  .grid_partners img {
    max-width: 75%;
  }
  img[src="./svg/partners/prosegur.svg"] {
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -ms-transform: scale(1.5);
    -o-transform: scale(1.5);
  }
}

@media (min-width: 992px) {
  .grid_partners img {
    max-width: 50%;
  }
}