/* You can add global styles to this file, and also import other style files */
@import "primeng/resources/themes/lara-light-blue/theme.css";
@import "primeng/resources/primeng.css";
@import "../node_modules/ag-grid-community/styles/ag-grid.min.css";
@import "../node_modules/ag-grid-community/styles/ag-theme-alpine.min.css";
@import "sb-admin-2.min.css";

.center-grid-container {
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center;     /* Center vertically if needed */
  height: 100%;            /* Ensure the container has height if it's not filling the screen */
}
p-toast{
  z-index: 1050 !important;
}

.p-toast{
  z-index: 1050 !important;
}

.ag-root-wrapper {
  z-index: 1 !important; /* Set this to a value that fits your UI's z-index scheme */
}

.ag-popup {
  z-index: 1 !important; /* This should be higher than the grid but lower than your modal/dialog */
}

.maxw{
  max-width: 900px;
}


h1 {
    font-family: "Dosis", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}
h2 {
    font-family: "Dosis", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}
h3 {
    font-family: "Dosis", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}
h4 {
    font-family: "Dosis", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}
h5 {
    font-family: "Dosis", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}
h6 {
    font-family: "Dosis", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}


body {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto; 
  font-weight: 300;
  font-style: normal;
  
}

.bold{
  font-weight: 700;
}

.jumbotron{
  padding: 0px !important;
}
  
.jumbotron-custom {
  background-image: url('/assets/blurred_cenote.png');
  background-size:cover;
  background-repeat: no-repeat;
  background-color: black;
  background-position: center;
  height: 40vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* Align items to the top */
  align-items: center;
  text-align: center;
  color: white;
  padding-bottom: 400px;
}

.alert-success {
  background-color: #139431;
  border: 0px;
  border-radius: 0px;
  font-weight: 500;
  color: #ffffff;
}

.alert-danger{
  background-color: #ff4747;
  border: 0px;
  border-radius: 0px;
  font-weight: 500;
  color: #ffffff;
}

.btn{
  border-radius: 0px;
}

.alert-info{
  background-color: #3c6999;
  border: 0px;
  border-radius: 0px;
  font-weight: 500;
  color: #ffffff;
}

.alert-warning{
  background-color: #ffd148;
  border: 0px;
  border-radius: 0px;
  font-weight: 500;
  color: #000;
}

.jumbotron-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* Black overlay with 0.5 opacity */
  
}

.card-header{
  color:#ffffff !important;
  background-color: #000000 !important;
  border-bottom: 1px solid #dee2e6 !important;
}

.p-accordion-header-text {
  line-height: 30px !important;
}

.p-accordion-header-link {
  color: #4f4f4f !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  font-weight: 400;
}

.cardProductos {
  width: 390px !important;
}

input::placeholder {
  font-size: 16px !important;
  font-family: sans-serif !important;
  color:#838689 !important;
}

input {
  font-size: 16px !important;
  font-family: sans-serif !important;
}
.bgorange {
  background-color: #ff6600 !important;
  color: #ffffff !important;
} 

.label-cap {
  font-size: smaller !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #000000 !important;
}

.label-cap-white {
  font-size: smaller !important;
  font-weight: 300 !important;
  color: #ffffff !important;
}
.small-bat{
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #787198 !important;
}

.per-unidad{
  font-size: 12px; 
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 0px;
}

.p-datepicker .p-timepicker > div{
  padding: 14px !important;
}


.p-galleria-item-nav {
  background-color: rgba(0, 0, 0, 0.4) !important;
  border: none !important;
}

.p-galleria-item-nav:hover {
  background-color: rgba(0, 0, 0, 0.4) !important; /* Slightly darker on hover */
}

.p-galleria-item-next .p-ripple,
.p-galleria-item-prev .p-ripple {
  background-color: rgba(0, 0, 0, 0.4) !important;
  border: none !important;
}

.p-galleria-item-next:hover .p-ripple,
.p-galleria-item-prev:hover .p-ripple {
  background-color: rgba(0, 0, 0, 0.4) !important; /* Slightly darker on hover */
}





/* Optional: Prevent image dragging */
img {
  -webkit-user-drag: none;
}


.p-galleria-mask {
  -webkit-user-drag: none !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.9) !important; /* Adjust as needed */
  
  -webkit-user-select: none !important; /* Chrome, Safari */
  -moz-user-select: none !important;    /* Firefox */
  -ms-user-select: none !important;     /* IE10+ */
  user-select: none !important;         /* Standard syntax */
}

.HIDDENX{
  visibility: hidden !important;
  height: 0; 
  overflow: hidden;
}
.sticky-top {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 3;
}

  
.floating-form {
  background: rgba(255, 255, 255, 1);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 90%;

  margin-top: 20px;
}

.floating-formx {
  
  background-color: white;
  text-align: start;
  position: relative;
  
  font-size: 1rem !important;
  color: #333;
  background-color: #ffffff;
  border-radius: 8px;
  color: #000000;
  text-align: start;
  margin-bottom: 20px;
  width: 100%;
}


.floating-formx-atras {
  
  background-color: white;
  text-align: start;
  position: relative;
  
  font-size: 1rem !important;
  color: #333;
  background-color: #ffffff;
  border-radius: 8px;
  color: #000000;
  text-align: start;
  margin-bottom: 20px;
  width: 100%;
}
.lowercase-blue-link{
  text-transform: lowercase !important;
  color: #007bff !important;
  text-decoration: underline !important;
}

.no-scroll {
  overflow: hidden; /* This property prevents the content from scrolling */
}

/* PARA LOS DIAS DEL CALENDARIO */
td span.p-element  {
  
  color: black;
  
}
td span.p-highlight{
  background-color: #645098 !important;  /* Light red background */
  color: #ffffff !important;             /* Dark red text */
  border-color: #9ac8e3 !important;      /* Soft red border */
  border-width: 2px !important;
  font-size: 20px !important;
}

td span.p-disabled{
  text-decoration: line-through;
  color: #f12424 !important;             /* Dark red text */
  

}



.custom-alert {
  position: fixed;
  bottom: 20px;
  right: 5px;
  font-size: 1rem;
  width: 60%;
  padding: 10px;
  border-radius: 0px;
  text-align: center;
  z-index: 1090;
}

.triangle {
  position: absolute;
  bottom: -20px; /* Adjust to move triangle under the box */
  right: 20px; /* Position of the triangle */
  width: 0;
  height: 0;
  border-left: 10px solid transparent; /* Creates left side of triangle */
  border-right: 10px solid transparent; /* Creates right side of triangle */
  border-top: 20px solid #F1F1F1; /* Triangle color (should match alert) */
}

/* Light mode */
@media (prefers-color-scheme: light) {
  .custom-alert{
    background-color: #F1F1F1; /* Bootstrap warning color */
    color:#1976D3; /* Text color */
  }

  .triangle{
    border-top: 20px solid #F1F1F1; /* Triangle color (should match alert) */
  }

  .maskx{
    background-color: rgb(0, 0, 0, 0.8);
  }

}

/* Light mode */
@media (prefers-color-scheme: dark) {
  .custom-alert{
    background-color: #575757; /* Bootstrap warning color */
    color:#ffffff; /* Text color */
  }

  .triangle{
    border-top: 20px solid #575757; /* Triangle color (should match alert) */
  }

  .maskx{
    background-color: rgb(0, 0, 0, 0.9 );
  }
}

.info-icon {
  font-size: 120px;
}

/* GALLERIA p-galleria*/
.image-container {
  display: flex;
  align-items: center;
  /* margin-top: 150px; */
  justify-content:first baseline;
  /* height: 100%; */
  
}

.orange{
  color: #FFA500;
}

.full-height-image {
  /* height: 90%;
  max-height: 80vh; */
  height: 60vh;
  object-fit: cover;
}



/* Prevent pinch-to-zoom and double-tap zoom */
html, body {
  touch-action: manipulation;  /* This disables pinch-zoom and double-tap zoom on supported browsers */
  -ms-touch-action: manipulation;  /* For older Internet Explorer versions */
  cursor: default;  /* Ensures the cursor appears as default without text selection indicators */
}

/* Disable text selection to prevent copy and accidental zoom */
html, body {
  -webkit-touch-callout: none;  /* Prevents callout to occur when you touch and hold a touch target on iOS */
  -webkit-user-select: none;  /* Disable text selection in Safari and Chrome */
  -moz-user-select: none;  /* Disable text selection in Firefox */
  -ms-user-select: none;  /* Disable text selection in Internet Explorer/Edge */
  user-select: none;  /* Standard syntax to disable text selection */
}

p_galleria {
  overflow: hidden;  /* Hides any content that overflows the element's box */
}


body{
  font-size: 1rem !important;
}

.jumbotron-title,
.floating-form {
  position: relative;
  z-index: 2;
  /* Ensure content is above the overlay */
}

.jumbotron-title {
  margin-top: 20px;
}

.floating-form {
  background: rgba(255, 255, 255, 1);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 90%;

  margin-top: 20px;
}





/* Primeng calendar custom-cal */
:host ::ng-deep .p-button{ 
    background-color: black;
    color: white;
  }
  
  .title {
    color: white;
  }
  
  .custom-calendar .p-calendar {
    width: 300px;
    /* Set your desired width */
  }
  
  .card-img-top {
    object-fit: cover;
    height: 200px;
    /* Ajusta la altura según tus necesidades */
    width: 100%;
  }
  
  .card div {
    color: #080505;
  }
  
  .badgeoff{
    color: #ffffff !important;
    font-size: 8px !important;
  }
  
  
  .no-margin {
    margin: 0 !important;
  }
  
  .usdsmall {
    font-size: 14px;
    color: rgb(131, 131, 241);
  }
  
  .text-cuenta {
    color: #000000;
    font-size: 18px;
    font-weight: 500;
  }
  
  .priceMXN{
    font-size: 20px;
    color: rgb(137, 137, 137) !important;
    font-weight: 400;
    border: 1px solid rgb(137, 137, 137) !important;
  }
  
  .mxnsmall{
    font-size: 16px;
    color: rgb(137, 137, 137) !important;
  }
  
  .text-large {
    font-size: 18px !important;
  }
  
  .bold{
    font-weight: 900;
  }
  
  
  .btndark {
    font-size: 1rem !important;
    background-color: #000000 !important;
    color: rgb(255, 255, 255) !important;
  }
  
  .alert{
    font-size: 1rem !important;
  }
  
  .footerprice {
    background-color: #000000;
    color: rgb(255, 255, 255);
  }
  

  .green {
    color: #00ff00;
  }
  
  
  .card-footer {
    border-radius: 0px !important;
    margin: 2px;
  }
  
  input[type=radio] {
    transform: scale(1.5);
  }
  
  app-search-select{
    font-size: medium;
  }

    
  .form-containerx {
    
    text-align: start;
    margin-top: 20px;
    font-size: 1rem !important;
    color: #333;
    
    border-radius: 8px;
    margin: 20px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    z-index: 7;
    color: #000000;
    text-align: start;
  }




  .p-component-overlay {
    z-index: 4;
    /* Ensure calendar is above the form and overlay */
  }
  
  p{
    font-size: 1rem !important;
  }
  
  
  .additional-text p {
    margin: 0;
  }
  
  
  /* Footer styling */
  .body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  .content {
    flex: 1;
    padding-bottom: 40px;
  }
  
  footer {
  
    background-color: #f8f9fa;
    padding: 20px;
    text-align: start;
  }
  
  
  .p-accordion-header-text {
    color: #000000 !important;
    text-decoration: none !important;
  }
  
  .black-calendar-button .p-button {
    background-color: black; /* Sets the background of the button */
    color: white;           /* Sets the text color for contrast */
    border: none;           /* Optional: removes the border */
  }
  
  .black-calendar-button .p-button:hover {
    background-color: #333333; /* Darker shade for hover effect */
  }
  
  .fs-7 {
    font-size: 1rem !important;
  }
  
  .lowercase{
    text-transform: lowercase !important;
  }
  
  
  .custom-padding td, 
  .custom-padding th {
      padding: 0 !important; /* Adjust the padding as needed */
  }
  


    

  .usdsmall {
    font-size: 14px;
    color: rgb(131, 131, 241);
  }
  
  .priceMXN{
    font-size: 20px;
    color: rgb(137, 137, 137) !important;
    font-weight: 400;
    border: 1px solid rgb(137, 137, 137) !important;
  }
  
  .mxnsmall{
    font-size: 16px;
    color: rgb(137, 137, 137) !important;
  }
  .small-bat{
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #3d3d3d !important;
  }
  
  .per-unidad{
    font-size: 12px; 
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 0px;
  }
    