
/* width */
::-webkit-scrollbar {
  width: 4px;
}

/* Track */
::-webkit-scrollbar-track {
  background: lightgray; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

  #hNombre{
    padding: 0px 10px;
  }

  .bg {
    position: fixed; 
    top: 0; 
    left: 0; 
    
    /* Preserve aspet ratio */
    min-width: 100%;
    min-height: 100%;
  }

  .alert {
    padding: 20px;
    background-color: #A1EC7C;
    color: black;
    margin-bottom: 20px;
  }

  .alert2 {
    padding: 20px;
    background-color: #F39A91;
    color: black;
    margin-bottom: 20px;
  }

  .alert3 {
    padding: 20px;
    background-color: #E4E486;
    color: black;
    margin-bottom: 20px;
  }

  .closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
  }

  .closebtn:hover {
    color: black;
  }

  /* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9000; /* Sit on top */
  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.4); /* Black w/ opacity */
  padding-top: 0px;
  overflow: hidden;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 0 auto;
  top: 8%;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 700px;
}

/* The Close Button (x) */
.close {
  position: absolute;
  right: 25px;
  top: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: red;
  cursor: pointer;
}

/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/*Estilos de la rifa*/

.img-fondo{
  object-fit: cover;
  width: 100%; 
  min-height: 300px
}

.rifa-form{
  background-color: whitesmoke; 
  border: solid; 
  border-width: 1px; 
  border-color: lightgray; 
  margin: 20px; 
  width: 90%; 
  max-width: 500px; 
  max-height: 93vh; 
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; 
  z-index: 9000; 
  position: absolute; 
  top: 0; 
  left: 0; 
  overflow-y: scroll;
}

.rifa-form h3{
  color: black; 
  margin-top: 20px;
}

.rifa-form #divForm{
  padding: 0px 30px 30px 30px;
}

.publi-form{
  background-color: lightgray;
  border: solid;
  border-color: lightgray;
  border-width: 1px;
  width: 100%;
  height: auto;
  position: relative; 
}

.publi-form img{
  width: 100%; 
  height: auto;
  object-fit: cover;
}

.timer
{
  margin-left: -30px;
}
.timer li
{
  display: inline-block;
  width: 60px;
  height: 60px;
}
.timer li:last-child
{
  margin-right: 0px;
}
.timer_num
{
  font-size: 27px;
  font-weight: 600;
}
.timer_unit
{
  font-size: 12px;
  font-weight: 500;
  color: #51545f;
}

.footer-company-name a{
  text-decoration: none;
  color: blue;
}

.footer-company-name a: hover{
  opacity: 0.7;
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 600px) {
  
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }

  .img-fondo{ 
    min-height: 700px
  }

  .rifa-form{
    max-height: 660px; 
  }

  .publi-form{
    height: auto;
  }

  .publi-form img{
    height: auto;
  }

  .timer li
  {
    width: 40px;
    height: 40px;
  }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

  
  .bg {
    position: fixed; 
    top: 0; 
    left: 0; 
    
    /* Preserve aspet ratio */
    min-width: 100%;
    min-height: 100%;
  }

  .alert {
    padding: 20px;
    background-color: #A1EC7C;
    color: black;
  }

  .alert2 {
    padding: 20px;
    background-color: #F39A91;
    color: black;
  }

  .alert3 {
    padding: 20px;
    background-color: #E4E486;
    color: black;
  }

  .closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
  }

  .closebtn:hover {
    color: black;
  }



/*SORTEO*/

.status_div{
  background-color: white;
  border: solid;
  border-width: 1px;
  border-color: lightgray;
  padding: 10px;
  border-radius: 10px;
}

.status_div p{
  font-size: 12px;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: -20px;
}

.status_div h3{
  font-size: 18px;
  font-weight: bold;
  padding: 10px;
  margin-bottom: -10px;
}

#etqNombre{
  font-size: 22px;
  font-weight: bold;
}

#divGanador h3{
  font-size: 22px;
  font-weight: bold;
  margin-top: -5px;
}

  /* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9000; /* Sit on top */
  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.4); /* Black w/ opacity */
  padding-top: 60px;
  overflow: hidden;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 0 auto;
  top: 8%;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 500px;
}

/* The Close Button (x) */
.close {
  position: absolute;
  right: 25px;
  top: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: red;
  cursor: pointer;
}

/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 600px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }

  .status_col{
    width: 33%;
    padding: 2px;
  }

  .status_col_8{
    width: 66%;
    padding: 2px;
  }

  .status_div h3{
    font-size: 11px;
  }

  #etqNombre{
    font-size: 15px;
    font-weight: bold;
  }

}
