a, a:hover, a:focus, a:active, a:link {
  text-decoration: none;
  color: black;
}

.body {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

html{
  overflow-x: hidden;
  overflow-y: scroll;
  height: 100%;
  background-color: white;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 75%;
   
}


@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(1)
    }

    to {
        -webkit-transform: scale(2)
    }
}

@keyframes zoom {
    from {
        transform: scale(0.4)
    }

    to {
        transform: scale(1)
    }
}

@-webkit-keyframes zoom-out {
    from {
        transform: scale(1)
    }

    to {
        transform: scale(0)
    }
}

@keyframes zoom-out {
    from {
        transform: scale(1)
    }

    to {
        transform: scale(0)
    }
}

.imgBanner {

    cursor:pointer;

}

/* Add Animation */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

.out {
    animation-name: zoom-out;
    animation-duration: 0.6s;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }

 
}
/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

#ImgBanner {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    display: block;
    margin-left: auto;
    margin-right: auto
}

.main_container{
  background-color: white;
  display: flex;
  width: 100vw;
  height: auto;
  z-index: 1;
  position: relative;
  flex: 1 1 auto;
}

.header_container{
  position: fixed;
  display: flex;
  height: 16vh;
  background-image: linear-gradient(to right, rgb(012, 088, 147), rgb(058, 180, 229));
  width: 100%;
  z-index: 3;
  min-height: 90px;
  flex-wrap: wrap;
}

.sidebar {
  height: 100vh;
  width: 0;
  position: fixed;
  z-index: 5;
  top: 0;
  right: 0;
  background-color: rgb(058, 180, 229);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}
  
.sidebar a {
  padding: 32px 8px 8px 8px;
  text-decoration: none;
  font-size: 25px;
  color: white;
  display: block;
  transition: 0.3s;
}
  
.sidebar a:hover {
  color: rgb(012, 088, 147);
}
  
.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-right: 50px;
}
  
  .openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: #111;
  color: white;
  padding: 10px 15px;
  border: none;
}
  
  .openbtn:hover {
  background-color: #444;
}
  
  #main {
  transition: margin-left .5s;
  top: 20vh;
  position: fixed;
}
  
/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidebar {padding-top: 15px;}
  .sidebar a {font-size: 18px;}
}

@media screen and (max-width: 992px) {
    .barra_nav {
        left: 37.9%;
        bottom: 4%;
        background-image:none !important; 
        width:40.9% !important;
    }

    .navbar-collapse {
        background-color: rgb(058, 180, 229);
    }

    .nav-link {
       margin-left:3px;
    }
    .dropdown-menu.show {
        max-height: 300px;
        overflow-y: auto;
    }
}

@media screen and (max-height: 625px) and (max-width: 992px){
    .barra_nav {
        left:37.9%;
        bottom: 17%;
        width:40.9% !important;
        background-image: none !important;
    }

    .navbar-collapse {
        background-color: rgb(058, 180, 229);
    }

    .nav-link {
        margin-left: 3px;
    }
}


@media (min-width: 1200px) {

    .dropdown-menu.show {
        max-height: 520px;
        overflow-y: auto;
        overflow-x:auto;
    }


}


@font-face {
  font-family: 'Public Sans';
  src: url(../bootstrap/font/PublicSans-VariableFont_wght.ttf);
}

.btn{
  height: 4.5vh;
}

.btn_max_size{
  max-height: 40px;
  max-width: 40px;
  border: none;
  outline: none;
}

@media screen and (max-width:700px){
  .flex {
     display: flex;
     flex-direction: column;
   }
}

.flex {
  display: flex;
  flex-direction: row;
}

.logo_container{
  position: absolute;
  display: flex;
  background-color: transparent;
  height: auto;
  width: auto;
}

.header_small_container{
  background-color: transparent;
  display: flex;
  width: 40%;
  height: 10%;
  position: absolute;
  left: 30vw;
  top: 1vh;
  justify-content: center;
  font-size: 40px;
}

.barra_nav {
    background-image: linear-gradient(to right, rgb(058, 180, 229), rgb(012, 088, 147));
    margin-top: auto !important;
    height: 5vh;
    width: 65vw;
    z-index:999 !important;
}

.header_options_container{
  background-image: linear-gradient(to right, rgb(058, 180, 229), rgb(012, 088, 147));
  display: flex;
  position: absolute;
  left: 17vw;
  z-index: 2;
  width: 65vw;
  bottom: 0.5vh;
  height: 5vh;
  min-width: 50vw;
  min-height: 35px;
  justify-content: space-evenly;
  font-family:'Public Sans', sans-serif;
}

@media screen and (max-width: 1300px) {
  .desktop {
    display: none
  }
}

@media screen and (min-width: 1300px) {
  .mobile {
    display: none
  }
}

@media screen and (max-height:650px){
  .hdesktop{
      display:none
  }
}

@media screen and (min-height:400px){
  .hmobile{
      display:none
  }
}

@media screen and (max-width: 600px) {
  .footdesk {
    display: none
  }
}

@media screen and (min-width: 600px) {
  .footmobile {
    display: none
  }
}

@media screen and (min-width: 1300px) {
  .movemobile {
    top: 100%;
  }
}


.icon {
  height: 3vh;
  width: 8vw;
  position:relative;
}


.account_and_searchbar{
  right: 0;
  width: 20vw;
  display: flex;
  background-color: transparent;
  position: absolute;
  z-index: 2;
  min-height: 20px;
  min-width: 60px;
}

.header_top_container{
  background-color: transparent;
  display: flex;
  position: absolute;
  left: 15vw;
  width: 70vw;
  top: 1vh;
  height: 5vh;
  min-height: 20px;
  justify-content: center;
  font-size: 2vw;
  z-index: 4;
}

.column{
  
}

/*
.dropdown{
  z-index: 10;
}*/

.li{
  display: flex;
  list-style-type: circle;
}

.option_space{
  width: 1vw;
  display: flex;
  color: white;
  position: relative;
}

.option_square{
  position: relative;
  display: block;
}

.footer_container{
  display: flex;
  position: absolute;
  flex-direction: column;
  justify-content: flex-end;
  top: 100%;
  height: 50%;
  position: relative;
  z-index: 1;
  bottom: 0;
}
.footer{
  display: flex;
  height: 300px;
  background-image: linear-gradient(to right, rgb(012, 088, 147), rgb(058, 180, 229));
  width: auto;
  z-index: 4;
  top: 290vh;
  max-height: 250px;
  overflow: none;
  min-height: 140px;
  position: absolute;
  margin-bottom: 0px;
  min-width: 100%;
}


#wrapper {
  height: 100vh;
}

.carousel{
  width: 100%;
  height: auto;
}

.banner{
  width: 77vw;
  min-width: 70vw;
  position: relative;
  top: 5%;
  height: 50vh;
  min-height: 40vh;
  display: flex;
  z-index: 5;
  background-color: transparent;
  object-fit: contain;
  justify-content: center;
  border-radius: 25px;
  border: 20px;
}

.img{
  height: 100%; 
  width: 100%; 
  object-fit: contain;
}

.information_container{
  width: auto;
  min-width: 85vw;
  position: absolute;
  height: auto;
  min-height: 25%;
  display: flex;
  max-height: 350px;
  z-index: 1;
  justify-content: space-evenly;
  background-color: white;
  border: 2px;
  border-radius: 25px;
  border-color: black;
  white-space: nowrap;
}

.information_container_grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  width: auto;
  min-width: 39vw;
  border-radius: 25px;
  position: absolute;
  height: auto;
  min-height: 25%;
  z-index: 1;
  background-image: url(../govre/darker.webp);
  background-color: transparent;
  white-space: pre-line;
  border: none;
}

.information_container_grid2nd{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  width: auto;
  min-width: 39vw;
  border-radius: 25px;
  position: absolute;
  height: auto;
  min-height: 25%;
  z-index: 1;
  justify-content: left;
  background-image: url(../govre/salutdigital.jpg);
  background-color: transparent;
  white-space: pre-line;
  border: none;
}

.information_container_gridmobile{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, 1fr);
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  width: auto;
  min-width: 40vw;
  position: absolute;
  border-radius: 25px;
  height: auto;
  background-image: url(../govre/darker.webp);
  min-height: 25%;
  z-index: 1;
  justify-content: left;
  background-color: transparent;
  white-space: pre-line;
  border: none;
}

.information_container_grid2ndmobile{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, 1fr);
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  width: auto;
  min-width: 40vw;
  position: absolute;
  height: auto;
  min-height: 25%;
  border-radius: 25px;
  z-index: 1;
  justify-content: left;
  background-image: url(../govre/salutdigital.jpg);
  background-color: transparent;
  white-space: pre-line;
  border: none;
}

.square{
  top: 3vh;
  border-radius: 25px;
  display: block;
  position: relative;
  text-decoration: none;
  background-color: rgb(39, 39, 39);
  width: 20vw;
  height: auto;
  min-height: 290px;
  max-height: 330px;
  max-width: 20vw;
  min-width: 18vw;
  right: 1vw;
  font-size: 2vh;
}

.squareinfo{
  border-radius: 3px;
  color: RGB(var(--white));
  counter-increment: colorful-counter;
  display: flex;
  list-style-type: none;
  position: relative;
  width: auto;
  font-family: 'Public Sans', sans-serif;
  font-size: 2vh;
}

.link_container{
  width: 50%;
  position: absolute;
  display: flex;
  background-color: transparent;
  left: 5vw;
  top: 15vh;
  height: 100%;
  z-index: 1;
  font-size: 12px;
  border-radius: 25px;
}

.column_margins{
  position: absolute;
  list-style-type: disc;
  display: inline-block;
  font-size: 12px;
  white-space: normal;
}

.span{
  position: absolute;
  left: 10px;
}


.backgroundblue{
  background-image: linear-gradient(to right, rgb(012, 088, 147), rgb(058, 180, 229));
  z-index: 2;
  height: 60vh;
  color: rgb(32, 97, 122);
  width: 100%;
  top: 81vh;
  position: relative;
}

.backgroundbluemobile{
  background-image: linear-gradient(to right, rgb(012, 088, 147), rgb(058, 180, 229));
  z-index: 2;
  height: 78vh;
  color: rgb(32, 97, 122);
  width: 100%;
  min-height: 500px;
  top: 81vh;
  position: relative;
}

.footerinfo{
  position: absolute;
  background-color: transparent;
  width: 30%;
  height: 9vh;
  font-family: 'Public Sans', sans-serif;
}

.copyright{
  position: absolute;
  left: 30vw;
  bottom: 0;
  font-family: 'Public Sans', sans-serif;
  font-size: 14px;
  color: white;
  opacity: 0.7;
}

.copyrightleft{
  position: absolute;
  left: 2%;
  bottom: 2vh;
  width: 20%;
  height: auto;
  max-height: 180px;
  font-family: 'Public Sans', sans-serif;
  font-size: 14px;
  color: white;
  opacity: 0.7;
}

input[type=checkbox] {
  position: absolute;
  top: -9999px;
  left: -9999px;
}
label { 
 -webkit-appearance: push-button;
 -moz-appearance: button; 
 display: inline-block;
 margin: 60px 0 10px 0;
 cursor: pointer;
}

/* Toggled State */
input[type=checkbox]:checked ~ div {
  display: none;
}

.search {
  width: 100%;
  position: relative;
  display: flex;
}

.searchTerm {
  width: 100%;
  border: 3px solid #00B4CC;
  border-right: none;
  padding: 5px;
  height: 35%;
  border-radius: 5px 0 0 5px;
  outline: none;
  color: #9DBFAF;
}

.searchTerm:focus{
  color: #00B4CC;
}

.searchButton {
  width: 40px;
  height: 36px;
  border: 1px solid #00B4CC;
  background: #00B4CC;
  text-align: center;
  color: #fff;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  font-size: 20px;
}

/*Resize the wrap to see the search bar change!*/
.wrap{
  width: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.flandre{
  background: linear-gradient(to right, #ff1a8c 40%, #ff9900, #e6e600, #00e600, #0099ff 60%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
}

.card-body{
  font-size: 2vh;
  background-color: transparent;
  max-width: 100%;
  position: relative;
  text-align: center;
  max-height: 16vh;
  min-height: 10vh;
  left: 0;
  --bs-card-bg: transparent;
}



.card{
  --bs-card-bg: transparent;
  color: white;
  overflow: none;
  object-fit: contain;
}

@media screen and (max-width: 1133px){
  .counterdesktop{
    display: none;
  }
}

@media screen and (min-width: 1133px){
  .countermobile{
    display: none;
  }
}

@media screen and (min-height: 650px){
  .newsheight{
    top: 250vh;
  }
}

.countertitle{
  position: absolute;
  z-index: 2;
  width: 20vw;
  min-width: 15vw;
  max-width: 22vw;
  height: 8vh;
  min-height: 6vh;
  max-height: 10vh;
  background-color: white;
  border-radius: 25px;
  border: black;
  top: 82vh;
  text-align: center;
  font-family:'Public Sans', sans-serif;
  border-width: medium;
}

.clock{
  right: 1%;
  width: 8vw;
  display: flex;
  background-color: transparent;
  position: absolute;
  z-index: 4;
  min-height: 20px;
  min-width: 60px;
  top: 15%;
  font-size: 1.2vw;
  color: white;
  text-align: center;
  justify-content: center;
}

.weatherwidget-io{
  z-index: 3;
  font-size: 2px;
  max-height: 8.7vh;
  min-width: 348px;
  justify-content: none;
  background-color: transparent;
  color: white;
}

.chihuahua{
  z-index: 3;
  right: 8.5vw;
  position: absolute;
  min-width: 5vw;
  max-height: 60px;
  font-size: 1em;
  background-color: transparent;
  color: white;
  top: -5%;
}

.locationname{
  font-size: 1vh;
}

@media (max-height: 700px){
  .weathervis{
    display: none;
  }
}

@media (max-height: 550px){
  .newsvis{
    display: none;
  }
}
@media (min-height: 550px){
  .newsvish{
    display: none;
  }
}

@media screen and (max-width: 1133px){
  .footerwidthlimit{
    top: 280vh;
  }
}

@media screen and (max-height: 650px){
  .footerheightlimit{
    top: 300vh;
  }
}

.sh-side-options {
  position: fixed;
  top: 19vh;
  right: 340px;
  z-index: 4;
  transition: 0.3s all ease;
  transition: 0.2s all;
  padding: 0 0;
  width: 150px;
  transform: translateX(420px);
  background-color: rgb(058, 180, 229);
  border-radius: 25px;
}

  .sh-side-options.open {
      transform: translateX(0px);
      box-shadow: 0 0px 39px 10px rgba(0,0,0,0.2);
  }

.sh-side-options-container {
  position: absolute;
  background-color: rgba(255,255,2555,1);
  border-radius: 5px;
  margin-right: 15px;
  box-shadow: -10px 0px 20px 2px rgba(0,0,0,.06);
}


.sh-side-options.sh-side-options-pages .sh-side-options-container {
  top: 150px;
}



.sh-side-options-item {
  display: block;
  text-align: left;
  margin: 0px;
  transition: 0.3s all ease-in-out;
  position: relative;
  padding: 7px;
  cursor: pointer;
}

  .sh-side-options-item:not(:last-child) {
      border-bottom: 1px solid #f1f3fc;
  }

.sh-side-options-item-container {
  border-radius: 4px;
  padding: 8px 0;
}

.sh-side-options-item:hover .sh-side-options-item-container,
.sh-side-options-item:focus .sh-side-options-item-container,
.sh-side-options.open .sh-side-options-item-trigger-demos .sh-side-options-item-container {
  background-color: rgb(43, 141, 207);
}




.sh-side-options-item i {
  font-size: 22px;
}

.sh-side-options-item:not(:hover):not(:focus) {
  color: #9396a5 !important;
}

.sh-side-options-item:hover .sh-side-options-hover {
  opacity: 1;
  transform: translateX(-97%);
}

.sh-side-options-hover {
  position: absolute;
  background-color: #ffffff;
  color: #32343d;
  padding: 20px 26px;
  transform: translateX(-70%);
  left: 0px;
  top: 0;
  bottom: 0;
  opacity: 0;
  transition: 0.2s all ease-in-out;
  z-index: -100;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  font-size: 13px;
  box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.08);
}

  .sh-side-options-hover span {
      padding: 0px 3px;
  }

@media (max-width: 700px) {

  .sh-side-options {
      width: 52px;
  }

  .sh-side-options-item {
      padding: 10px 0;
  }

      .sh-side-options-item i {
          font-size: 16px;
      }
}

#contenedorChartTimeSeries {
  margin: 10px auto;
  height: 40vh;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 800px;
}

span.lbregion {
  color: #864bbd;
}

#contenedorChartTimeSeries>button {
  margin-left: 1%;
  padding: 2px 4px;
  background: #004677;
  color: white;
  font-weight: 700;
  border: none;
  border-radius: 5px;
  box-shadow: 1px 1px 3px rgb(110, 110, 110);
  transition: all 200ms ease-in-out;
}

/* mandar los botones .ml-auto a la derecha flex */
#contenedorChartTimeSeries>button.ml-auto {
  margin-left: auto;
}

#contenedorChartTimeSeries>button.activo {
  background: #6d2480;
  box-shadow: 1px 2px 6px black;
}

#contenedorChartTimeSeries>button:focus-within {
  color: #cff;
}

#contenedorChartTimeSeries>button:is(:hover, :active) {
  background: #0f6fb3;
  box-shadow: 1px 2px 6px black;
}

#contenedorChartTimeSeries>button.activo:is(:hover, :active) {
  background: #9021ad;
}

#contenedorChartTimeSeries #chart {
  width: 100%;
  margin-top: 2px;
}

.dropdown, .dropend, .dropstart, .dropup {
     position: relative; 
}

.dropdown-submenu .dropdown-menu {
    z-index: 9999; /* Higher than the parent dropdown */
}


.dropend:hover > .dropdown-menu {
    display: block !important;
}
    


.dropdown-submenu:hover > .dropdown-menu {
    display: block !important;
    left: 100%;
     margin-top: -100px; 
   
}





