html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

/* Estilos propios agregador para organizar el layout */
#sidenav-overlay {
  z-index: 996;
}

.main-content {
  min-height: 600px
}

.header {
  color: #ee6e73;
  font-weight: 300;
}
/*.sidenav .user-view .name {
  margin-top: 16px;
  font-weight: 500;
}

.sidenav .user-view .email {
  padding-bottom: 16px;
  font-weight: 400;
}
.sidenav .user-view .name, .sidenav .user-view .email {
  font-size: 14px;
  line-height: 24px;
}*/

.fc-day {
  cursor: pointer;
}

.dropdown-menu-position {
  top: 100% !important;
  width: auto !important;
}

/* ==========================================================================
   Materialize vs. componentes de terceros que usan <select> reales
   --------------------------------------------------------------------------
   Materialize declara `select { display: none; }` (materialize.css) porque
   sustituye los desplegables nativos por los suyos con JS. Los componentes que
   traemos por CDN sí usan un <select> de verdad y quedaban invisibles:
     - flatpickr: el desplegable de mes (el calendario abría sin ver el mes)
     - Tabulator: el selector de "registros por página" del pie
     - SweetAlert2: los <select> dentro de los modales (p.ej. ARL al crear empresa)
   Aquí se les devuelve el display y se neutraliza el tamaño de formulario que
   Materialize impone a todos los select (width:100%; height:3rem).
   ========================================================================== */
.flatpickr-calendar select,
.tabulator select {
  display: inline-block !important;
  height: auto !important;
  box-sizing: border-box;
}
/* En los modales de SweetAlert2 el estilo NO se aplica a todos los <select>, sino
   solo a los que marcamos con `.et-swal-select`. Dos motivos, los dos comprobados:
   - SweetAlert2 construye siempre sus propios controles (incluido un
     <select class="swal2-select">) y los oculta cuando no los usa: forzarles el
     display hacía aparecer un desplegable vacío al final de cada modal.
   - SlimSelect oculta el <select> original con `style.display='none'` en línea, y
     un estilo en línea pierde contra `!important`: el original reaparecía debajo
     del desplegable bonito. */
.swal2-html-container select.et-swal-select {
  display: inline-block !important;
  height: auto !important;
  box-sizing: border-box;
  width: 100% !important;
  padding: 8px 10px !important;
  border: 1px solid #d9dee2 !important;
  border-radius: 6px !important;
  background-color: #fff !important;
  color: #263238 !important;
  font-size: 14px !important;
}
.tabulator select {
  width: auto !important;
  padding: 2px 6px !important;
  border: 1px solid #e0e6ea !important;
  border-radius: 6px !important;
  background-color: #fff !important;
}
