/* EMPRESA SELECTOR */

@media (max-width: 767px) {

  div.navbar-header {
    min-width: 80%;
  }

  div#empresa-info-top span.select2-container {
    width: unset !important;
  }

} /* En max 767 */

@media (min-width: 767px) {

  div#empresa-info-top {
    width: 100%;
  }

  div#empresa-info-top span.select2-container {
    width: unset !important;
  }

} /* End min 767 */

div#resumen-historia-lateral-container {
  direction: rtl;
}

ul.dropdown-menu.drop-left {
  /*overflow-y: scroll;*/
  /*height: 100px;*/
  /*top: -20px !important;*/
}

div#resumen-historia-lateral-body-toggle {
  left: -30px !important;
}

#resumen-historia-lateral-body-toggle-open i, #resumen-historia-lateral-body-toggle-close i {
  background-color: #3f51b5;
  border-radius: 50px;
  color: white;
  font-size: 27px;
}

div#empresa-info-top .select2-container {
  width: auto;
}


div#empresa-info-top span.select2-selection {
  background-color: transparent;
}

div#empresa-info-top span.select2-selection span.select2-selection__rendered {
  background-color: transparent;
  color: white;
}

/* LICENSE STYLES */

div#LicenseWarning {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  margin: 0;
  z-index: 10;
}

div.LicenciaWarning {
  background-color: #ff96009e !important;
}

div.LicenciaExpiresToday {
  background-color: #ff96009e !important;
}

div.LicenciaExpired {
  background-color: #E74C3C9e !important;
}

/* Loadin overlayt */
/* Start by setting display:none to make this hidden.
Then we position it in relation to the viewport window
with position:fixed. Width, height, top and left speak
for themselves. Background we set to 80% white with
our animation centered, and no-repeating */
.loadingOverlay {
    display:    none;
    position:   fixed;
    z-index:    1000;
    bottom:        0;
    left:       0;
    height:     20%;
    width:      100%;
    background: rgba( 255, 255, 255, .05 )
                url('https://evolve-hc.net/theme/images/loader.gif')
                50% 90%
                no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading .loadingOverlay {
    overflow: hidden;
}

/* Anytime the body has the loading class, our
   loadingOverlay element will be visible */
body.loading .loadingOverlay {
    display: block;
}

body .table.text-center > thead > tr > th,
body .table.text-center > tbody > tr > td {
  vertical-align: middle;
  text-align: center;
}

/* Botón flotante */
button.evolve-floating-button,
a.evolve-floating-button {
  position:fixed;
  bottom: 15px;
  right: 15px;
  width: 65px;
  height: 65px;
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  -ms-border-radius: 50% !important;
  border-radius: 50% !important;
  overflow: hidden;
  z-index: 6;
}

body button.evolve-floating-button i.material-icons,
body a.evolve-floating-button i.material-icons {
  font-size: 30px !important;
  position: relative !important;
  top: 10px !important;
}

.input-group .form-control {
  z-index: 0;
}

/** Elementos no imprimibles */

@media print
{
    .no-print, .no-print *
    {
        display: none !important;
    }
}


/**
 * Fuentes personalizadas
 */
.font-120 {
  font-size: 120%;
}

.font-150 {
  font-size: 150%;  
}

.font-200 {
  font-size: 200%; 
}

.font-250 {
  font-size: 250%; 
}


/** 
 * Scrollbars, estilo de las barras de desplazamiento
 */
html {
  --scrollbarBG: #ccd7dc00;
  --thumbBG: #3f51b585;
}

/* The emerging W3C standard
   that is currently Firefox-only */
* {
  scrollbar-width: 8px;
  scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}

/* Works on Chrome/Edge/Safari */

*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  background: var(--scrollbarBG);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--thumbBG) ;
  border-radius: 6px;
  border: 3px solid var(--scrollbarBG);
}

/**
 * Campos sin borde, editables
 */

input.borderless:focus, tr.nuevo-item input.borderless {
    border: 1px solid #ccc;
    border-width: 0px 0px 1px 0px;
    padding: 5px 0px;
}

input.borderless {
    width: 100%;
    border: 0px;
    font-size: inherit;
    text-align: center;
    background-color: transparent;
}


/**
 * Modales
 */

div.evolve-modal div.modal-dialog div.modal-content div.modal-body {
  max-height: 85vh;
  overflow-x: scroll;
}

div.evolve-modal div.modal-dialog div.modal-content div.modal-body div.card {
  box-shadow: none;
}



div.evolve-modal div.modal-dialog div.modal-content div.modal-header {
  padding: 0px !important;
  border: 0px !important;  
  text-align: right;
}

div.evolve-modal div.modal-dialog div.modal-content div.modal-header button.cerrar-modal,
div.evolve-modal div.modal-dialog div.modal-content div.modal-header button[data-dismiss='modal'] {
  width: 30px;
  text-align: center;
  padding: 0;
  height: 27px; 
  border-radius: 0
}

/**
 * Google cloud file manager
 */

img.gcstorage-files-thumbnail-img {
  max-height: 40px;
}