@tailwind base;
@tailwind components;
@tailwind utilities;

/* PRELOADER */
.lds-ring {
    display: inline-block;
    position: relative;
    width: 71px;
    height: 71px;
  }
  .lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 71px;
    height: 71px;
    margin: 6px;
    border: 6px solid #084750;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #c6d0d1 transparent transparent transparent;
  }
  .lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
  }
  .lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
  }
  .lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
  }
  @keyframes lds-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

.overlay-mode{
	width:100%; 
	height:100%; 
	background: rgba(0,0,0,.7);
	position:fixed;
	top:0;
	left:0;
	/*display:none;*/
    z-index: 9999;
}

/* LOGIN */
#errorDiv {
  margin-top: 15px;
  margin-bottom: -10px;
}

.hide-animated {
  transition: all .5s ease-in-out;
  opacity: 0;
  visibility: hidden;
}

.show-animated {
  transition: all .5s ease-in-out;
  opacity: 1;
  visibility: visible;
}

.z-999 {
  z-index: 999;
}

/* Fichadas */

@media screen and (min-width: 928px) and (max-width: 1215px) {
  /* #userAccessSearchForm #typeAccessDiv {
    padding-top: 2.25rem;
  }
  #userAccessSearchForm #typeAccessDiv .pointer-events-none {
    padding-top: 2.25rem;
  } */
  #userAccessSearchForm #searchButton{
    margin-top: 2.50rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 927px) {
  /* #userAccessSearchForm #typeAccessDiv, 
  #userAccessSearchForm #accessNameDiv {
    padding-top: 1.25rem;
  }
  #userAccessSearchForm #typeAccessDiv .pointer-events-none,
  #userAccessSearchForm #accessNameDiv .pointer-events-none {
    padding-top: 1.25rem;
  } */
  #userAccessSearchForm #searchButton{
    margin-top: 2.50rem;
  }
}

@media screen and (max-width: 767px) {
  #userAccessSearchForm #searchButton{
    margin-top: 3.25rem;
  }
}

@media screen and (min-width: 1216px) {
  #userAccessSearchForm #searchButton{
    margin-top: 1.50rem;
  }
}


/* Modal de Imágenes */

 /* Style the Image Used to Trigger the Modal */
 #modalImage {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

/* The Modal (background) */
.modal-image {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* 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-image-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption_image {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-image-content, #caption_image {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.close-image {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close-image:hover,
.close-image:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

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

/* Todos los modales */
.modal {
  animation-name: zoom_medium;
  animation-duration: 0.6s;
}

@keyframes zoom_medium {
  from {transform:scale(0.3)}
  to {transform:scale(1)}
}

/* Paychecks */
#divAddPayCheck {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  max-height: 500px;
  opacity: 1;
  overflow: visible;
}

#divAddPayCheck.mostrar {
  max-height: 500px;
  opacity: 1;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

/* Home */
#mobileMenuButton {
  right: 10px;
  position: absolute;
  z-index: 997;
}