/** si no se gira el dispositivo, tirar aviso */

/**definicion de level: jerarquia de tags en html (con el fin de no abusar del !important) y tener ordenado */
/**
 * COLORES:
 * AZUL: #24669D
 * GRIS: #ECECEC
 * VERDE: #C5D454
 * 
 * 
 * 
 * 
 * 
 * integrar panel de cristian al pronostico de viento (panel tongoy v6)
 * imagenes pronostico tsm (pilar iba a ver eso)
 * alimentarse de datos de ceazamet
 * 
 * 
 * 
 */

/* GLOBALES */
:root {
  --azul: #24669d;
  --gris: #dfdfdf;
  --gris_claro: rgb(226, 226, 227);
  --verde: #c5d454;
  /*a2af4f*/
  --tierra: #f2a902;
}

@font-face {
  font-family: "OpenSans";
  src: url("/fonts/OpenSans/OpenSans-Bold.ttf");
  font-weight: 700;
}

@font-face {
  font-family: "OpenSans";
  src: url("/fonts/OpenSans/OpenSans-BoldItalic.ttf");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "OpenSans";
  src: url("/fonts/OpenSans/OpenSans-ExtraBold.ttf");
  font-weight: 900;
}

@font-face {
  font-family: "OpenSans";
  src: url("/fonts/OpenSans/OpenSans-ExtraBoldItalic.ttf");
  font-weight: 900;
  font-style: italic;
}

@font-face {
  font-family: "OpenSans";
  src: url("/fonts/OpenSans/OpenSans-Italic.ttf");
  font-style: italic;
}

@font-face {
  font-family: "OpenSans";
  src: url("/fonts/OpenSans/OpenSans-Light.ttf");
  font-weight: 100;
}

@font-face {
  font-family: "OpenSans";
  src: url("/fonts/OpenSans/OpenSans-LightItalic.ttf");
  font-weight: 100;
  font-style: italic;
}

@font-face {
  font-family: "OpenSans";
  src: url("/fonts/OpenSans/OpenSans-Medium.ttf");
  font-weight: 400;
}

@font-face {
  font-family: "OpenSans";
  src: url("/fonts/OpenSans/OpenSans-MediumItalic.ttf");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "OpenSans";
  src: url("/fonts/OpenSans/OpenSans-Regular.ttf");
  font-weight: 500;
}

@font-face {
  font-family: "OpenSans";
  src: url("/fonts/OpenSans/OpenSans-SemiBold.ttf");
  font-weight: 600;
}

@font-face {
  font-family: "OpenSans";
  src: url("/fonts/OpenSans/OpenSans-SemiBoldItalic.ttf");
  font-weight: 600;
  font-style: italic;
}

.frame-oculto {
  display: none;
}

.frame-activo {
  display: flex;
  flex-flow: column wrap;
}

body {
  font-family: "OpenSans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
}

/**lv 0 */
body>*:not(script) {
  box-sizing: border-box;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  scrollbar-color: var(--azul) var(--verde);
}

p {
  margin: 0 auto;
  width: 100%;
  text-align: justify;
  /* padding-left: 5%; */
}

.loading {
  height: 4%;
  width: 4%;
}

html,
body {
  height: 100%;
  width: 100%;
  background-color: var(--gris);
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: absolute;
  font-size: 16px;
}

.logo_hm-1 {
  fill: #fff;
}

.logo_hm-2 {
  fill: #24669d;
}

.prod-cita {
  width: auto;
  max-height: 5%;
  align-self: flex-end;
  margin: 0;
}

.prod-contacto {
  font-size: 3.6vh;
}

.pad-left {
  padding-left: 10%;
}

.modal-logo-container {
  display: flex;
  justify-content: center;
}

.hide-me {
  display: none;
}

#select_estacion,
.label_estaciones {
  height: auto;
}

#label_estacion {
  display: flex;
  justify-content: center;
}

.met-alerta {
  display: none;
}

.p-contenido {
  height: 4%;
}

.widget-viento {
  max-height: 95%;
}

.tooltip {
  width: 400px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 90%;
  left: 90%;
  margin-left: -60px;
  visibility: visible;
  opacity: 0;
  animation: fade 3s linear;
}

@keyframes fade {

  0%,
  100% {
    opacity: 0;
  }

  25%,
  50%,
  75% {
    opacity: 1;
  }
}

.btnEstaciones-25 {
  max-width: 45%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btnEstaciones-33 {
  max-width: 33%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

#progress_div_container {
  display: flex;
  position: absolute;
  width: 100%;
  height: 5%;
  z-index: 999;
  align-items: center;
  justify-content: flex-start;
}

.progress_p {
  z-index: 999;
  width: 50%;
  max-height: 100%;
  margin: 0;
}

.hidden {
  opacity: 0;
  transition: opacity 3s ease-in-out;
}

.loading-gif {
  opacity: 1;
  z-index: 999;
  width: 25%;
  height: 100%;
}

.opaque {
  opacity: 0;
}

.actualizar {
  height: 90%;
  width: 20%;
  width: 50%;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: flex-start;
}

.btn-actualizar {
  background: var(--azul);
  border-radius: 20px;
  box-shadow: none;
  border: 1px solid white;
  color: white;
  padding: 0;
  margin: 0 0.3em 0.3em 0;
  text-decoration: none;
  font-weight: 300;
  text-align: center;
  transition: all 0.2s;
  display: none;
  align-items: center;
  justify-content: center;
  width: 75%;
  height: 100%;
}

.btn-actualizar:active,
.btn-actualizar:focus {
  color: white;
  background: var(--verde);
}

.prompt-actualizar {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #333;
  color: #fff;
  text-align: center;
  padding: 10px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}

.prompt-actualizar button {
  width: auto;
  height: auto;
  border-radius: 1rem;
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  background: var(--azul);
  color: #fff;
  border: none;
  position: fixed;
  bottom: 3rem;
  font-size: 1.5rem;
}

#select_punto {
  height: auto;
}

#modal-config {
  background: rgba(0, 0, 0, 0.7);
  display: none;
  position: absolute;
  z-index: 1000;
}

.highcharts-tooltip>span {
  height: auto;
  width: auto;
}

.h2-modal {
  height: auto;
  width: 100%;
  color: white;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  font-size: 1rem;
  padding-left: 1rem;
}

.logo-cargando {
  height: 25%;
  position: relative;
  bottom: 15%;
}

:root {
  --min-font-size: 16px;
  --max-font-size: 24px;
  --viewport-min: 320px;
  --viewport-max: 1200px;
}

.modal-body p,
h3 {
  width: 90%;
  font-size: clamp(var(--min-font-size), 3vw, var(--max-font-size));
}

h3 {
  width: 100%;
  text-align: center;
}

.logo-cargando {
  height: 25%;
  position: relative;
  bottom: 15%;
}

.container-root-oce {
  height: 100%;
  overflow: scroll;
}

.frame-s3 {
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: flex-start;
  flex-flow: column;
  border-collapse: collapse;
}

.tiempo_container {
  width: 100%;
  height: 100%;
  font-weight: 600;
  color: var(--azul);
  background-color: var(--gris);
  opacity: 0.8;
  border-color: var(--azul);
  border-width: 0.01em;
  border-style: solid;
}

.tiempo_content {
  height: 90%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.tiempo_content_forecast {
  width: 100%;
}

.tiempo_forecast_box {
  width: 100%;
  height: 25%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  background-color: white;
  align-items: center;
  justify-content: center;
}

.tiempo_forecast_box_dia {
  width: 25%;
  height: 100%;
  display: flex;
  flex-direction: row;
}

.tiempo_forecast_box_dia>span {
  font-size: 1.2em;
}

.tiempo_forecast_box_temperatura {
  width: 33%;
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.tiempo_forecast_box_icono {
  width: 25%;
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}

.tiempo_forecast_box_icono>img {
  width: 80%;
  height: 80%;
}

.span_dia_hoy,
.span_dia_d0,
.span_dia_d1,
.span_dia_d2 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.gray_box {
  background-color: var(--gris);
}

.span_dia_hoy {
  font-weight: 900;
}

.tiempo_forecast_box_temperatura {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}

.tiempo_rango_temp {
  height: max-content;
  width: max-content;
}

.tiempo_footer {
  background-color: var(--azul);
  color: white;
  text-align: center;
  width: 100%;
  height: 10%;
}

.tiempo_footer>a {
  color: white;
  text-decoration: none;
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
}

.tiempo_span {
  font-size: 1.5rem;
}

@media (orientation: landscape) {
  .tiempo_container {
    width: 90%;
    height: 90%;
  }
}

/* 
.container{
  height: 100%;
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  overflow: hidden;

}
.container > *{
  height: auto;
  width: auto;
  max-height: 100%;
  max-width: 90%;
} */
/* FIN GLOBALES */
span.titulo-estacion {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  align-self: center;
  flex-flow: row nowrap;
  font-size: 0.7rem;
  width: auto;
}

span.titulo-comuna {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  align-items: center;
  font-size: 0.7rem;
  flex-direction: row;
  flex-wrap: nowrap;
  width: auto;
}

#container_mareas {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}

#frame-s3-mareas {
  background: white;
}