@import "administrar-eventos.css";
/* Estilo para el contenido de la web*/
.app-content {
  /* 
    Lo definimos así para evitar que los elementos de las tablas
    de pedidos y preavisos desborden 
    */
  min-width: 768px;
}
/* ******************************* */
/* Estilo para logos cabecera en todas la interfaces de módulos */
@media (max-width: 1200px) {
  .logos-header-container {
    display: none;
  }
}
.logos-header-container img {
  height: 35px;
}
/* ******************************* */
/* Estilo para logos cabecera en Dashboard */
.logos-container {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr 2fr;
  justify-content: start;
  align-items: center;
}
@media (max-width: 1280px) {
  .logos-container {
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .logos-container img {
    height: 60px;
  }
  .logos-container img:nth-child(1) {
    height: 80px;
  }
}
@media (max-width: 480px) {
  .logos-container img {
    height: 40px;
    margin: 0 auto;
  }
  .logos-container img:nth-child(1) {
    height: 65px;
  }
}
/* ******************************* */
/* Estilo página Sobre el Proyecto INNOVA-TeiC-CV */
.project-container h2 {
  display: inline-block;
}
.project-container h2:hover::after {
  display: block;
  content: "";
  width: 100%;
  height: 5px;
  background-color: rgba(128, 128, 128, 0.5);
  animation-name: ampliar-ancho;
  animation-duration: 0.75s;
}
@keyframes ampliar-ancho {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
.text-container {
  width: 90%;
  font-size: clamp(1rem, 2vw, 1.5rem);
  margin-top: 3rem;
  margin-left: auto;
  margin-right: auto;
}
.text-container p {
  text-align: justify;
  margin-bottom: 2rem;
}
.text-container li {
  padding-top: 1rem;
  padding-bottom: 0.8rem;
}
.project-info-container {
  width: 80%;
  font-weight: 700;
  border: 2px solid gray;
  margin-top: 3rem;
  margin-bottom: 5rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1rem, 2vw, 1.5rem);
  background-color: lightgoldenrodyellow;
  border-radius: 5px;
  box-shadow: 5px 5px 5px rgba(128, 128, 128, 0.8);
}
.project-info-container p {
  padding: 0.8rem;
  text-align: center;
}

/* ******************************* */
/* ======================= Cards KPI's ====================== */
.cardBox {
  width: 75vw;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px;
  padding: 20px;
  margin-bottom: 3rem;
}

.card {
  background: var(--white);
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
}

.card:hover {
  background: var(--blue);
}

.card:hover .card__numberBx,
.card:hover .card__iconBx,
.card:hover .card__descBx {
  color: var(--white);
}

.card__sup {
  padding: 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
}

.card__inf {
  padding: 20px;
  text-align: center;
}

.card__numberBx {
  font-weight: 500;
  font-size: 2.5rem;
  color: var(--blue);
}

.card__iconBx {
  font-size: 3.5rem;
  color: var(--black2);
  display: flex;
  align-items: center;
}

.card__descBx {
  color: var(--black2);
  opacity: 0.75;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 5px;
}

.card:hover .card__descBx {
  opacity: 1;
}

/* ======================= Cards Localizaciones AZA ====================== */
.locationsBox {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 15px;
  margin-top: 3rem;
  justify-items: center;
}

.cardLocation {
  width: 100%;
  min-width: 250px;
  min-height: 460px;
  background-color: rgba(128, 128, 128, 0.15);
  border-radius: 10px;
  box-shadow: 5px 5px 10px rgba(128, 128, 128, 0.5);
  text-align: center;
  padding: 5px;
}

.cardLocation__image--Almussafes {
  background-image: url("../images/AZA-Almussafes.jpg");
}
.cardLocation__image--Cheste {
  background-image: url("../images/AZA-Cheste.jpg");
}
.cardLocation__image--ChesteCM {
  background-image: url("../images/AZA-ChesteCM.jpg");
}
.cardLocation__image--Sagunto {
  background-image: url("../images/AZA-Sagunto.jpg");
}

.cardLocation__image {
  background-size: cover;
  border-radius: 10px;
  width: 100%;
  height: 60%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
}

.cardLocation__text {
  margin-bottom: 1rem;
}

.cardLocation__text h5 {
  margin-bottom: 1rem;
}

.cardLocation__text p {
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
}

.cardLocation__link {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 50px;
  border-top: 1px solid grey;
  padding: 5px;
}

.cardLocation__icon {
  background-image: url(../icons/world.svg);
  background-repeat: no-repeat;
  background-size: 30px;
  background-position: center;
  width: 25%;
  height: 100%;
}

.cardLocation__icon:hover {
  background-image: url(../icons/world-blue.svg);
  opacity: 0.9;
}

/* ******************************* */

/* ======================= Footer Logos ====================== */
.logosBox {
  margin-left: auto;
  margin-right: auto;
  width: 75vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
}

.imageBx {
  margin-left: auto;
  margin-right: auto;
}

.imageBx a {
  display: block;
  width: 60%;
  text-align: center;
}

.imageBx a img {
  height: 150px;
}
/* ******************************* */

.app-title-description {
  background-color: #aaaaaa;
  color: white;
  font-size: 1.2rem;
}

/* Estilo para el avatar de usuario */
.app-sidebar__user-avatar {
  width: 48px;
  background: gray;
  padding: 6px;
}
/* ******************************* */

/* WIP: cambiar en main.css y, después, eliminar este estilo */
.app-header__logo {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
/* ********************************************************* */

/* Estilos para los encabezados de las ventanas modales */
.headerRegister,
.header-primary {
  background-color: #009688;
  color: #fff;
}

.headerUpdate {
  background-color: #007bff;
  color: #fff;
}
/* ***************************************************** */

/* Estilos para el formulario de Login a la app */
.login-form-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.logo p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  text-align: right;
  font-style: italic;
}
/* ******************************************** /

/*  Estilos para la imagen de loading del formulario de contacto  */
.loading-container {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background: rgba(254, 254, 255, 0.65);
  z-index: 1100;
  display: none;
}

.loading-container img {
  width: 50px;
  height: 50%;
}
/* *************************************************************** */

/*  Estilos para las columnas de la tabla Stocks  */
.zero-stock {
  color: salmon;
}

/* *************************************************************** */

.hide {
  display: none;
}

.not-active {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  opacity: 0;
}

.hide_fechaCad,
.hide_servido,
.hide_recepcionado {
  color: #ffe4c4 !important;
}

.celda_cantidad {
  text-align: center;
  width: 100px;
}

.change-alignment {
  text-align: center;
}

.hide-headertext {
  color: #6fa1dd !important;
}

.number-input {
  padding: 5px;
  box-sizing: border-box;
  border: 3px solid rgba(114, 157, 216, 0.7);
}

.input_notvalidated {
  border: 3px solid rgba(230, 90, 30, 0.7);
}

.input_validated {
  border: 3px solid rgba(40, 160, 40, 0.7);
}

/* ########### VENTANA MODAL CONTROL XSS ########## */
.modalContainer {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modalContainer .modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid lightgray;
  border-top: 20px solid rgba(255, 127, 80, 0.8);
  width: 60%;
  transition: width 5s;
}

.modal-content h2 {
  text-align: center;
}

.modal-content p {
  text-align: center;
}

.modalContainer .close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.modalContainer .close:hover,
.modalContainer .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
/* ############################################### */

/* ## TOOLTIPS INFORMATIVOS PARA INPUTS FORMULARIO CABECERA ## */
.tooltip .tooltip-inner {
  background-color: #31b0d5;
  text-align: left;
}
.tooltip.bs-tooltip-right .arrow:before {
  border-right-color: #31b0d5 !important;
}
.tooltip.bs-tooltip-left .arrow:before {
  border-left-color: #31b0d5 !important;
}
.tooltip.bs-tooltip-bottom .arrow:before {
  border-bottom-color: #31b0d5 !important;
}
.tooltip.bs-tooltip-top .arrow:before {
  border-top-color: #31b0d5 !important;
}
/* ########################################################### */

/* ## ICONOS INFORMATIVOS PARA INPUTS FORMULARIO CABECERA ## */
.icon-input-info {
  color: #31b0d5;
  font-size: 0.8rem;
}
.icon-input-info2 {
  color: #68bc68;
  font-size: 0.8rem;
}
/* ######################################################## */

#scrollUp {
  bottom: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  color: #fff;
  background: url("../images/top.png");
}

/*div[id="alert-notice-reembolso"]{
    display:inline;
}*/

.col-notice {
  display: none;
}

.col-notice-importe {
  display: none;
}

.alert-notice-services {
  color: rgba(230, 90, 30, 0.7);
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.aviso_stock {
  font-weight: 700;
  background-color: rgba(255, 0, 0, 0.45);
}

.element-hide {
  display: none !important;
}

/* ********************************** DATATABLES ******************************************* */
/* Ocultamos el botón de búsqueda principal del las tablas DataTable*/
.dataTables_filter {
  display: none;
}

/* Aumentamos el margen inferior de la barra de botones de exportación de las tablas DataTable*/
#tablePedidos_wrapper > div.dt-buttons {
  margin-bottom: 1rem;
}

#tableStocks_wrapper > div.dt-buttons {
  margin-bottom: 1rem;
}
/* ***************************************************************************************** */

/* Modificamos estilos de hoja de estilos main.css para adaptarlos a nuestras necesidades */
.custom-select {
  /* Con esto conseguimos que el elemento select para el país se muestre con un borde verde inicialmente,
    debido a que es un campo que ya está validado desde un inicio */
  border: 3px solid rgba(40, 160, 40, 0.7);
}

.map {
  height: 350px;
  margin-top: 3rem;
  margin-bottom: 3rem;
  max-width: 75vw;
  z-index: 0;
  border: 3px solid grey;
  box-shadow: 5px 5px 5px rgba(136, 136, 136, 0.25);
  border-radius: 15px;
}

.badge_seguimiento {
  text-decoration: none;
  color: white;
  padding: 3px;
}

.badge_seguimiento:link,
.badge_seguimiento:visited,
.badge_seguimiento:active {
  text-decoration: none;
}

.btn-clock-reload:active {
  transform: scale(0.9);
}

/* ESTILO COLLAPSE IMPORTACIÓN PEDIDOS-PREAVISOS */
.collapse-important {
  padding: 0.8rem;
  border-radius: 8px;
  background-color: lightyellow;
  color: crimson;
  font-weight: 700;
}
/* ESTILOS PARA DRAG&DROP IMPORTAR PEDIDOS*/
#drop-area {
  border: 2px dashed #ccc;
  border-radius: 20px;
  width: 480px;
  font-family: sans-serif;
  margin-top: 100px;
  margin-bottom: 10px;
  margin-right: auto;
  margin-left: auto;
  padding: 20px;
}
#drop-area.highlight {
  border-color: purple;
}
p {
  margin-top: 0;
}
.my-form {
  margin-bottom: 10px;
}
#gallery {
  margin-top: 10px;
}
#gallery img {
  width: 150px;
  margin-bottom: 10px;
  margin-right: 10px;
  vertical-align: middle;
}
.button {
  display: inline-block;
  padding: 10px;
  background: #ccc;
  cursor: pointer;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.button:hover {
  background: #ddd;
}
#fileElem {
  display: none;
}
.container-actions {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.btn-restart {
  width: 200px;
  height: 50px;
  background-color: orange;
  border-radius: 10px;
}

/* --------- STYLES VIEW HOME2 ---------- */
main {
  min-width: 480px;
}
.initLoadState {
  opacity: 0;
}

.loader {
  opacity: 1;
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: url("/images/Preloader.gif") center no-repeat #fff;
  transition: opacity 0.3s ease-out;
}
.hidden {
  display: none;
}
.active {
  background-color: rgba(128, 128, 128, 0.25);
}
/* DRAG & DROP IMPORTACIÓN PEDIDOS */
.seccion-principal {
  /*  width: 90%;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: auto;
    margin-left: auto; */
  background-color: transparent;
}
.drop-area {
  border: 2px dashed #ccc;
  border-radius: 20px;
  font-family: sans-serif;
}
#document-images {
  list-style: none;
  min-width: 600px;
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.8rem;
}
#document-images .document-file {
  display: flex;
  justify-content: space-between;
}
#document-images .document-file span {
  display: inline;
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  text-align: left;
}
/* KPI's TRANSPORTE */
.contenedor-kpis {
  background-color: white;
}

.kpisAlert {
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* #chart-container {
  visibility: hidden;
}

#months {
  background: #5c9cd8 !important;
  top: 5%;
  left: 3.5%;
}

#months:focus {
  outline: none;
  border: 1px solid #5485b3;
} */

/* canvas {
  display: none !important;
}

canvas.is-selected {
  display: block !important;
} */

.bSpinner {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: #fe416460;
  border: none;
  background: transparent;
  font-size: 1rem;
  line-height: 1.5rem;
  padding: 1.5rem 2rem;
}

.bSpinner > svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.bSpinner > svg > rect {
  fill: none;
  /* stroke: #333333; #fe4164 */
  stroke: #fe4164;
  stroke-width: 2px;
  stroke-dasharray: 300 160 300 160;
  stroke-dashoffset: 0;
  animation: pathRect 2s linear infinite;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
}

@keyframes pathRect {
  25% {
    stroke-dashoffset: 115;
  }

  50% {
    stroke-dashoffset: 230;
  }

  75% {
    stroke-dashoffset: 345;
  }

  100% {
    stroke-dashoffset: 460;
  }
}

/* MODAL EVENTOS STYLES */
.modal-header {
  background-color: lightgreen;
}
.modal-title {
  margin-left: auto;
  margin-right: auto;
  font-size: 1.5rem;
}
.dynamic-text-shadow {
  text-shadow: 0.1em 0.1em 0 rgba(255, 255, 255, 0.6);
}
/* FULLCALENDAR STYLES */
.main-eventos {
  background-color: white;
}
.events-container {
  width: 80%;
  margin-top: 80px;
  margin-left: 80px;
}
.calendar {
  margin-bottom: 80px;
}

.fc .fc-daygrid-day.fc-day-today {
  background-color: #01a9db50 !important;
}

/* ===== START TOOLTIP STYLES FOR FULLCALENDAR ===== */
/* resource:  https://codepen.io/pen?editors=1100 */
div[id^="tooltip_"] {
  opacity: 1;
  background: #ffc107;
  max-width: 200px;
  width: auto;
  font-size: 0.8rem;
  padding: 0.5em 1em;
  border-radius: 5px;
  box-shadow: 2px 2px 4px rgba(128, 128, 128, 0.25);
}
div[id^="tooltip_"] .tooltip-inner {
  background: #ffc107;
  color: black;
  text-align: center;
}
div[id^="tooltip_"] .tooltip-arrow {
  width: 0;
  height: 0;
  border-style: solid;
  position: absolute;
  margin: 5px;
  border-color: #ffc107;
}
.tooltip[x-placement^="top"] {
  margin-bottom: 5px;
}
.tooltip[x-placement^="top"] .tooltip-arrow {
  border-width: 5px 5px 0 5px;
  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  bottom: -5px;
  left: calc(50% - 5px);
  margin-top: 0;
  margin-bottom: 0;
}
.tooltip[x-placement^="bottom"] {
  margin-top: 5px;
}
.tooltip[x-placement^="bottom"] .tooltip-arrow {
  border-width: 0 5px 5px 5px;
  border-left-color: transparent;
  border-right-color: transparent;
  border-top-color: transparent;
  top: -5px;
  left: calc(50% - 5px);
  margin-top: 0;
  margin-bottom: 0;
}
.tooltip[x-placement^="right"] {
  margin-left: 5px;
}
.tooltip[x-placement^="right"] .tooltip-arrow {
  border-width: 5px 5px 5px 0;
  border-left-color: transparent;
  border-top-color: transparent;
  border-bottom-color: transparent;
  left: -5px;
  top: calc(50% - 5px);
  margin-left: 0;
  margin-right: 0;
}
.tooltip[x-placement^="left"] {
  margin-right: 5px;
}
.tooltip[x-placement^="left"] .tooltip-arrow {
  border-width: 5px 0 5px 5px;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  right: -5px;
  top: calc(50% - 5px);
  margin-left: 0;
  margin-right: 0;
}
/* ===== END TOOLTIP STYLES FOR FULLCALENDAR ===== */

/* ====================== Responsive Design ========================== */
@media (max-width: 1400px) {
  .locationsBox {
    gap: 25px 15px;
  }
}

@media (max-width: 991px) {
  .cardBox {
    grid-template-columns: repeat(2, 1fr);
  }

  .logosBox {
    grid-template-columns: repeat(2, 1fr);
  }

  .imageBx a {
    width: 50vw;
    text-align: center;
  }

  .imageBx a img {
    height: 150px;
  }
}

@media (max-width: 600px) {
  .map {
    box-sizing: border-box;
    width: 90vw;
    min-width: 360px;
    border-color: #009688;
    margin-left: 25px !important;
  }

  .locationsBox {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .cardLocation {
    width: 300px;
  }

  .cardBox {
    width: 90vw;
    min-width: 360px;
    margin-left: 25px;
  }

  .logosBox {
    grid-template-columns: repeat(2, 1fr);
    width: 90vw;
    min-width: 360px;
    margin-left: 25px;
    justify-items: start;
  }

  .imageBx a img {
    height: 120px;
  }
}

@media (max-width: 480px) {
  .cardBox {
    grid-template-columns: 1fr;
  }
  .locationsBox {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .logosBox {
    justify-items: start;
  }
}
