#cookie{
  position: fixed;
  bottom: -100%;
  right: 0;
  left: 0;
  background-color: white;
  border: 1px solid black;
  z-index: 1;
  padding: 20px;
  transition: 1s bottom;
}
#cookie.show{
  bottom: 0;
}
#cookie h2{
  color: #00A3E6;
}
#botonCookies{
  background-color: #00A3E6;
  padding: 10px;
  margin: 10px;
  text-align: center;
  border-radius: 10px;
  color: white;
}
/*----------------------------------------------*/

#cajaCookies * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: sans-serif;
}
#cajaCookies {
  background-color: #F5F5F5;
  border: none;
  bottom: 0;
  -webkit-box-shadow: 0 0 1em #A9A9A9;
  box-shadow: 0 0 1em #A9A9A9;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #545454;
  display: none;
  font-size: 13px;
  left: 0;
  padding: 0 10px;
  position: fixed;
  right: 0;
  z-index: 9999;
}
#cajaCookies h2, #cajaCookies h3 {
  color: #000000;
  font-size: 13px;
  font-weight: bold;
  margin: 0;
}

#cajaCookies p {
  margin: 5px 0;

}
#cajaCookies strong {
  color: #000000;
}
#cajaCookies a {
  color: #000000;
  text-decoration: underline;
}
#cajaCookies #contenedorCookies {
  align-items: flex-end;
  -webkit-box-align: end;
  -webkit-box-pack: justify;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: end;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  padding: 0;
  width: 100%;
}
#cajaCookies #formCookies {
  align-items: center;
  border: 0.1em solid #A9A9A9;
  border-radius: .25rem;
  -webkit-box-align: center;
  -webkit-box-pack: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  -ms-flex-pack: center;
  justify-content: center;
}
#cajaCookies #formCookies form {
  align-items: center;
  -webkit-box-align: center;
  -webkit-box-pack: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  -ms-flex-pack: center;
  justify-content: center;
}
#cajaCookies .checkbox {
  position: relative;
}
#cajaCookies .checkbox > input[type="checkbox"] {
  display: none;
}
#cajaCookies .checkbox > label {
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 10px 0;
  padding-left: 1.5em;
  position: relative;
}
/*---caja checkbox--*/
#cajaCookies .checkbox > label:before {
  background: #F5F5F5;
  border: 0.1em solid #A9A9A9;
  border-radius: .25rem;
  content: "";
  display: block;
  height: 1em;
  left: 0;
  position: absolute;
  top: 0;
  width: 1em;
}
#cajaCookies .checkbox > label#botonInfoCookies:before {
  display: none;
}
/*-----check checkbox-----*/
#cajaCookies input[name="necesarias"]:checked + label[for="necesarias"]:after,
#cajaCookies input[name="analiticas"]:checked + label[for="analiticas"]:after {
  border-bottom: 0.2em solid #C62828;
  border-right: 0.2em solid #C62828;
  content: "";
  display: block;
  height: 0.8em;
  left: 0.4em;
  position: absolute;
  top: 0;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  width: 0.3em;
}
#cajaCookies input[type="submit"] {
  background-color: #00A3E6;
  border: none;
  border-radius: .25rem;
  color: #F5F5F5;
  cursor: pointer;
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  margin: 10px 10px 10px 5vw;
  padding: .375rem .75rem;
  text-align: center;
  text-transform: uppercase;
  -o-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap;
}
#cajaCookies input[type="submit"]:hover {
  background-color: #003B77;
}
#cajaCookies #infoCookies {
  background-color: #F5F5F5;
  height: 0;
  margin: 0 auto;
  max-width: 1280px;
  opacity: 0;
  overflow: hidden;
  padding: 0 10vw 10px 0;
  -o-transition: all 1s;
  -webkit-transition: all 1s;
  transition: all 1s;
  width: 100%;
}
#cajaCookies #botonInfoCookies {
  color: #000000;
  display: inline-block;
  /*margin: 0 0 10px;*/
  text-align: center;
  text-decoration: underline;
}
#cajaCookies input[name="masCookies"]:checked ~ #infoCookies {
  display: block;
  height: auto;
  opacity: 1;
}
#cajaCookies #cajaCookiesTitulo {
  align-items: center;
  -webkit-box-align: center;
  -webkit-box-pack: justify;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  padding: 10px 0 0;
  width: 100%;
}
#cajaCookies .borderCookies {
  border: 0.1em solid #A9A9A9;
  margin-top: 10px;
  padding-left: 25px;
  padding-right: 25px;
  padding-bottom: 10px;
}

@media only screen and (max-width: 599px) {
  #cajaCookies {
    bottom: auto;
    position: absolute;
    top: 0;
  }
  #cajaCookies #contenedorCookies {
    display: block;
  }
  #cajaCookies input[type="submit"] {
    margin: 10px auto;
    width: 100%;
  }
  #cajaCookies #infoCookies {
    padding: 10px 25px 10px 25px;
  }
}