:root{
  --primary: #97c0dc;
  --secondary: #655e94;
  --green-primary: #9CCB3F;
  --light-grey: #bfbdbe;
  --black: #000000;
  --purple-light: #a793b0;
  --light-blue: #8BD8E8;
  --light-red: #EC6F6F;
}
a{
    text-decoration: none;
}
h1, h2, h3, h4, h5{
  color: var(--secondary);
}
.oswald {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.bold {
  font-weight: bold !important;
}
html,
body {
  height: 100%;
  background-image:url(../images/bkg-main.png) ;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom right;
  background-attachment: fixed;
}

.form-signin {
  max-width: 800px;
  padding: 1rem;
  display: block;
  position: relative;
  top: -7rem;
}
.form-signin h1 {
  color: var(--secondary);
  text-align: center;

}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input{
  margin-bottom: 5px;
  border-radius: 15px;
  border: solid 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 3px 2px rgba(0, 0, 0, 0.1);
  color: var(--light-grey);
  margin: 15px 0;
}

.form-check-label{
    text-align: left !important;
    width: 100%;
    padding-top: 10px;
    font-weight: bold;
    color: var(--secondary);
}

#brand{
  width:100%;
  display: block;
  text-align: center;
  margin-top: -10vh;
}
#login{
  max-width: 400px;
  padding-bottom: 1rem;
}
#language{
  width: auto;
  display: inline-block;
  position: absolute;
  padding: 5px 25px;
  right: 27px;
  top: 10px;
  margin: 0 !important;
  text-align: center;
  border-radius: 10px;
  color: #9CCB3F;
  border:white 2px solid;
  background-color: white;
}
#language:hover{
  border:#FFF 2px solid;
}
#language svg{
  margin-top: -5px !important;
  margin-right: 10px;
}
.btn-primary{
  background-color: var(--green-primary);
  margin: 15px auto 15px auto !important;
}
.btn-primary:hover{
  background-color: var(--green-primary);
  border: solid 2px white;
  width: auto !important;
  margin: 15px auto 15px auto;
  padding: 15px 25px;
}
.btn-secondary{
    background-color: var(--green-primary);
    border-color: white;
    border-width: 2px;
    position: relative;
    /*margin-bottom: -120px;*/
    font-weight: bold;
  
    width: auto !important;
    padding: 15px 25px;
  }
  .btn-secondary:hover{
    background-color: var(--green-primary);
    border: solid 2px white;
    width: auto !important;
    padding: 15px 25px;
  }
.btn-login{
  border: solid 2px white;
  width: auto !important;
  margin-bottom: 3rem !important;
  padding: 15px 25px;
  font-weight: bold;
}
.btn-black{
  background-color: var(--black);
  border-color: white;
  border-width: 2px;
  position: relative;
  font-weight: bold;
  color: white;
  width: auto !important;
  padding: 15px 25px;
  border-radius: 15px;
}
.btn-black:hover{
  background-color: var(--primary);
  border-color: white;
}

.btn-close{
  color: white;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  position: absolute;
  top: -1rem;
  right: -1rem;
  border: 4px solid white;
  opacity: 1;
  background: var(--light-red);
}
.btn-close:hover{
  background-color: var(--black);
  color: white;
  opacity: 1;
}

.btn-cancelar{
  background-color: var(--light-red);
}

.btn-back{
  background: none;
  border: none;
  position: absolute;
  left: 0;
  bottom: 0;
  color: var(--secondary);
  font-size: 2rem;
  font-weight: bold;

}
.btn-back:hover{
  background: none;
  border: none;
}
.btn-back svg{
  width: 30px;
  height: 30px;
}
#cuantosPremios .btn-close, #usarP .btn-close{
  top: 0.5rem;
}


form{
  text-align: center;
}
.btn-centered{
  margin: -40px 0 0 0 !important;
}

.transparentBox{
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    border: solid 2px rgba(255, 255, 255, 0.5);
    box-shadow: 0px 4px 7px rgba(0, 0, 0, 0.2);
    padding: 50px;
    position: relative;
    text-align: center;
    margin: 0 1%;
}

#puntosRedimir{
  width: 5vw !important;
  position: relative;
  margin: 0px auto 15px auto;
  text-align: center;
  padding-top: 0px !important;
  padding-bottom: 0 !important;
  font-weight: bold;
}

#cuantosPremios, #usarP{
  display: none;
}


#btn-file{
  width: auto;
  margin: 0 auto;
  position: relative;
  text-align: center;
}
.file_label{
  color: var(--secondary);
  font-weight: bold;
  display: inline-block;
  width: auto;
  text-align: center;
  position: absolute;
  background-color: var(--purple-light);
  background-image: url(../images/file-btn.png);
  background-repeat: no-repeat;
  background-size: 20%;
  background-position: 10px 10px;
  height: 48px !important;
  border: 2px solid white !important;
  border-radius: 15px;
  margin: 0 auto 0 35% ;
  cursor: pointer;
}
.file_label span{
  padding: 0px 10px 0px 40px;
  color: white;
  position: relative;
  top: -8px;
}
.file_button{
  color: var(--secondary) !important;
  font-weight: bolder;
  margin-left: 100px;

}
#subirT{
  background-color: transparent !important;
  border: none;
  box-shadow: none;
  width: 13rem;
  margin-top: 8px !important;
  margin-left: auto;
  margin-right: auto;
}
#detalles-transaccion{
  color: var(--secondary);
  font-weight: bold;
  text-align: left;
}

.bottomRightAligment{
  text-align: right;
  width: 50% !important;
  color: var(--secondary);
  font-weight: bold;
  font-size: 0.7rem;
  display: block;
  position: absolute;
  right: 1rem;
  bottom: 1rem;
}
.bottomLeftAligment{
  text-align: left;
  width: 50% !important;
  color: var(--secondary);
  font-weight: bold;
  font-size: 0.7rem;
  display: block;
  position: absolute;
  left: 1rem;
  bottom: 1rem;
}

#solicitud-registro{
  color: var(--secondary);
}
#solicitud-registro span{
  font-weight: bold;
}
#solicitud-registro .icons{
  margin: 1rem;
}
.text-left{
  text-align: left;
}

.btn-subirArchivo{
  border:2px solid white;
  width: 10em !important;
  position: absolute;
  bottom: 1em;
  right: 1em;
  display: block;
  font-size: 12px;
}
@media only screen and (min-width: 375px) and (max-width:667px) and (-webkit-min-device-pixel-ratio:2){
  #brand{
    width: 100%;
  }
  #brand img{
    width: 100%;
  }
  .transparentBox{
    padding: 10px;
  }
}

/* Style the tab */
.tab {
  overflow: hidden;
  margin: 25px auto -6px auto;
  padding-left:8px;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  color: white;
  float: left;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  border-radius: 10px 10px 0 0;
  margin-right: 1px;
  border-bottom: none !important;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

/* Create an active/current tablink class */
.tab button.active {
  background-color:var(--color-gh);
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}
embed, .tab{
  width: 100%;
  margin: 0 2%;
}

@media (min-width: 768px){
  embed{
      width: 90%;
      margin: 0 5%;
  }
}
@media (min-width:400px){
  embed{
      width: 90%;
      margin: 0 5%;
  }
}
@media (min-width: 1200px){
  .tab{
    width: 100%;
    margin: 0 2%;
  }
  embed{
      width: 60%;
      margin: 0 20%;
  }
}
@media (min-width: 1570px){
  embed{
      width: 60%;
      margin: 0 20%;
  }
}
