/*  STYLESHEET FOR: Modal-Cookies and Modal-Contacto

Index:
+ VARIABLES
+ Contact
  - Modal header background and title
  - Modal body background
  - Icons phone and mail specifications
  - Button specifications
*/


/* ######################## VARIABLES ######################## */
:root {
  --base-color1: #cdd751;
  /*#e17743*/
  /*#cdd751*/
  --base-color2: #929497;
  --base-color3: #1e56a2;
  --dark-text: #222222;
  --light-text: #f5f5f5;
  --light-bg: #eeeeee;
  --dark-bg: #0a1b2c;

  --font-base: 'Libre Franklin', sans-serif;
}

/* ######################## MODAL ######################## */
/* Modal header background and title */
.modal-content .modal-header {
  background-color: #faf9f9;
}

.modal-content .modal-header h5 {
  text-align: center;
  flex-wrap: wrap;
  font-size: 2.5rem;
  color: var(--base-color3);
}

/* Modal body background */
.modal-content .modal-body {
  background-color: #faf9f9;

}

.modal-content .modal-body a {
  text-decoration: none;
  color: var(--dark-bg);
  transition: 0.5s all ease-in-out;
}

.modal-content .modal-body a:hover {
  text-decoration: none;
  color: var(--base-color3);
  transition: 0.5s all ease-in-out;
}

.modal-content .modal-body .btn-schedule a {
  width: 10rem !important;
  height: 2.5rem !important;
  float: right;
  padding: 0.5rem 2.25rem 0.5rem 0.25rem;
  margin-right: 5rem;
  border-radius: 1rem;
  background: var(--base-color3);
  text-align: end;
  color: var(--light-text);
  font-size: 0.95em;
  text-wrap: nowrap;
  text-decoration: none;
  transition: 0.7s ease-in-out;
}

.modal-content .modal-body .btn-schedule a:hover {
  background-color: var(--base-color2);
  border-color: var(--base-color2);
  box-shadow: inset 20rem 0 0 0 var(--base-color2);
  color: var(--light-text);
  text-decoration: none;
  transition: 0.7s ease-in-out;
}

/* Button specifications */
.modal-content .modal-body .btn {
  background-color: var(--base-color1);
  color: var(--dark-text);
  width: 6rem;
  height: auto;
  border-radius: 1rem;
  transition: 0.7s ease-in-out;
}

.modal-content .modal-body .btn:hover {
  background-color: var(--base-color2);
  color: var(--light-text);
  box-shadow: inset 13rem 0 0 0 var(--base-color2);
  transition: 0.7s ease-in-out;
  text-decoration: underline;
}

/* BARRA DE COOKIES*/
.cookie-bar {
  position: fixed;
  bottom: -100px;
  /* Inicialmente fuera de la pantalla */
  width: 100%;
  background-color: #fff;
  border-top: 1px solid #ccc;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  padding: 15px;
  z-index: 1050;
  transition: bottom 0.5s ease;
  /* Transición suave */
}

.cookie-bar.show {
  bottom: 0;
  /* Mover hacia arriba */
}

.cookie-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
}

.cookie-column {
  flex: 1;
  text-align: center;
}

.cookie-content #adcookies {
  margin: 1% !important;
  text-align: center;
}

.cookie-column .btn {
  padding: 10px 20px 10px 18px;
  background-color: var(--base-color1);
  color: var(--dark-text);
  width: 6.5rem;
  height: auto;
  border-radius: 1rem;
  transition: 0.7s ease-in-out;
  align-content: center;
}

.cookie-column .btn:hover {
  padding: 10px 20px 10px 18px;
  background-color: var(--base-color2);
  color: var(--light-text);
  box-shadow: inset 13rem 0 0 0 var(--base-color2);
  transition: 0.7s ease-in-out;
  text-decoration: underline;
  align-content: center;
}


/*MODAL EMERGENTE INDEX*/
/* Estilos para el modal */
.modal-emergente {
  display: none;
  position: fixed;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  transition: 0.4s ease-in-out;
}


.modal-e-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 0px;
  border: 0px solid #888;
  width: 80%;
  max-width: 500px;
  text-align: center;
  transition: 0.4s ease-in-out;
  animation: up 0.5s linear;
}

.modal-e-content .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.modal-e-content .close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-e-content .banner-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 0px;
}

.modal-e-content .buttons .button {
  background-color: var(--base-color1);
  color: var(--dark-text);
  width: 25rem;
  padding: 15px;
  border-radius: 0.25rem;
  transition: 0.7s ease-in-out;
  text-decoration: none;
}

.modal-e-content .buttons .button:hover {
  background-color: var(--base-color2);
  color: var(--light-text);
  box-shadow: inset 13rem 0 0 0 var(--base-color2);
  transition: 0.7s ease-in-out;
  text-decoration: underline;
}
