.bg-gradient-dark
{
	
}

/* Notification badge */
.notification-badge {
    font-size: 0.6rem !important;
    padding: 0.25rem 0.4rem !important;
    min-width: 1.2rem;
    z-index: 1000;
}

.olimpo-translation .olimpo-translation-flag
{
  /* max-height:50px;*/
  width: 50px;
  object-fit: contain;
  margin-right:5px;
}
/* Form validation and more */
.error-border {
     border: 2px solid red !important;
 }

        .circle {
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: var(--circle-font-size);
            font-weight: bold;
            width: 1.5em; /* Use em to scale with font size */
            height: 1.5em; /* Ensure the height equals the width */
            line-height: 1; /* Ensures the text is vertically centered */
        }
        .olimpo-notification
        {
       		 display:none
        }
      /* Loading skeleton */
      .skeleton {
        background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
        background-size: 200% 100%;
        border-radius: 4px;
        min-height: 100px;
        display: block;
        animation: shimmer 1.5s infinite;
    }
    
    @keyframes shimmer {
        0% {
            background-position: -200% 0;
        }
        100% {
            background-position: 200% 0;
        }
    }
    .loading-spinner {
      position: relative; /* Asegura que el overlay y el spinner se posicionen correctamente */
  }

    .loading-cover {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height:100%;
      min-height:50px;
      background-color: rgba(255, 255, 255, 0.7); /* Fondo semitranslúcido */
      z-index: 10;
  }
  
  .spinner{
      border: 4px solid rgba(255, 255, 255, 0.3); 
      border-top: 4px solid #3498db; /* Color del spinner */
      border-radius: 50%;
      width: 40px;
      height: 40px;
      animation: spin 1s linear infinite;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
  }

  .inline-spinner
  {
    border: 4px solid rgba(255, 255, 255, 0.3); 
    border-top: 4px solid #3498db; /* Color del spinner */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    position: absolute;
    margin-left:-20px;
    animation: spin 1s linear infinite;

  }
  
  @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
  }


    .message {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 20px;
        color: white;
        border-radius: 8px;
        text-align: center;
        display: none;
        z-index: 1000;
    }
    .modal_over
    {
    z-index:99999;
    }
.form-control
{
	border:1px solid var(--bs-gray);
	 padding: 0.5rem 1rem 0.5rem 0.5rem;
}
.form-control:focus
{
	border:1px solid var(--bs-info);
}
small
{
	font-size:8px;
}

input:read-only
{
	background-color:var(--bs-gray-200);
}

.private-snapshot
{
	width:100px;
	height:auto;
}

.private-selected
{
	    background-image: linear-gradient(195deg, #66BB6A 0%, #43A047 100%);
}

.card-header
{
	background-color:transparent;
}
.form-select {
    padding: 0.5rem 1rem 0.5rem 0.5rem;
}

.form-select:focus
{
	border:1px solid var(--bs-info);
}

.material-icon-picker {
  position: absolute;
  background: #fcfcfc;
  text-align: center;
  box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.3);
  padding: 20px;
}

.material-icon-picker:focus {
  outline: none;
}

.material-icon-picker-prefix {
  top: .5rem;
}

.material-icon-picker .icons {
  max-width: 600px;
  max-height: 200px;
  overflow: scroll;
}

div.material-icon-picker input[type="text"] {
  width: 100%;
}

.material-icon-picker .material-icons {
  font-size: 30px;
  cursor: pointer;
  border-radius: 50%;
  padding: 10px;
  margin: 3px;
  transition: .2s;
}

.material-icon-picker .material-icons:hover {
  background: #ececec;
}

.multilingual-field
{
	padding:5px;
	margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: var(--bs-card-height);
    word-wrap: break-word;
    background-color: var(--bs-card-bg);
    background-clip: border-box;
    border: var(--bs-card-border-width) solid var(--bs-card-border-color);
    border-radius: var(--bs-card-border-radius);
    border-color: #fd5c70;
 
}
.ui-autocomplete {
z-index: 100;
}


/* Actives form to round edited cards */
.actives-requires-save-pending
{
	border: solid 2px #e91e63;
	 box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(244, 67, 54, 0.4) !important;

}

/* Actives preview images */

.actives-pictures-holder img
{
	max-width:200px;
	object-fit: scale-down;
}

/* Actives preview images */

.actives-files-holder img
{
	max-width:70px;
	object-fit: scale-down;
}

/* Actives save button */
.bottom-bar {
    background: #fff;
    z-index: 999999999;
    font-size: 16px;
    color: #333;
    padding: 16px 40px;
    font-weight: 400;
    /*display: flex;*/
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 40px;
    width: 50%;
    border-radius: 8px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 13px 27px -5px rgba(50,50,93,0.25), 0 8px 16px -8px rgba(0,0,0,0.3), 0 -6px 16px -6px rgba(0,0,0,0.025);
  }


  #ofBar-content {
  text-align:center;
    display: inline;
    padding: 0 15px;
  }

  #ofBar-right {
    display: flex;
    align-items: center;
  }

 
  @media(max-width: 991px){

  }
  @media (max-width: 768px) {


    .bottom-bar  {
      flex-direction: column;
      align-items: normal;
    }

    #ofBar-content {
      margin: 15px 0;
      text-align: center;
      font-size: 18px;
    }

    #ofBar-right {
      justify-content: flex-end;
    }
  }

#actives-gallery-container, #actives-files-container
{
	min-height:100px;
} 

.dragandrop-container
{
	background-color:var(--bs-gray-300);
	border-style: dashed;
}

.badge {
    --bs-badge-font-size: 0.55em;
}

.accordion-button::after
{
	font-family: 'Material Icons Round';
	content:"expand_circle_down"
}

.table-icon img
{
	height:20px;
}

.form-control img
{
	max-height:200px;
}

/* Calendars */

     .custom-event {
            position: relative;
            display: inline-block;
            width: 100%;
            height: 100%;
        }
        .custom-badge {
            position: absolute;
            bottom: -5px;
            right: -5px;
            background-color: red;
            color: white;
            padding: 2px 5px;
            border-radius: 3px;
            font-size: 10px;
            z-index: 10;
        }
        

.olimpo-limit-letters {
  position: relative;
  overflow: hidden;
  max-height: none; /* Initially set to none */
}

.olimpo-fade-out {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px; /* Height of the fade effect */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  display: none; /* Hidden by default */
}

.olimpo-show-more-arrow {
  text-align:center;
  width:100%;
  font-size: 24px;
  cursor: pointer;
  display: none; /* Hidden by default */
}

.nav.nav-pills .nav-link.active {
  background-color: var(--bs-link-hover-color);
  color: var( --bs-primary);
}

.product-card {
  position:relative;
	min-width: 240px;
	max-width: 300px;
}

.product-card img {
	min-height: 200px;
	height: 200px;
	max-width: 200px;
	object-fit: contain;
}
.product-card:has( input[type="checkbox"]:checked) {
  transition: border 0.3s ease; /* Smooth transition */
  border: 2px solid var(--bs-success); /* Aplica el borde cuando el checkbox está marcado */
}

.card-top-right
{
  position:absolute;
  right:5px;
  top:5px;
}
.card-top-left
{
  position:absolute;
  left:5px;
  top:5px;
}
.card-bottom-left
{
  position:absolute;
  left:5px;
  bottom:5px;
}
.card-bottom-right
{
  position:absolute;
  right:5px;
  bottom:5px;
}

.list-action[disabled]
{
  color: #6c757d !important;
}

.olimpo-form-check {
  display: block;
  margin-top:5px;
  padding-left: 0em;
  margin-bottom: 0.125rem;
}

