html {
    scrollbar-gutter: stable;
}

html,
body {
    height: 100%;
    font-size: 11pt;
}

/*----- debug outlines -----*/
/** {
    outline: 1px solid red ! important;
}*/


.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}


.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 th {
    white-space: nowrap;
}

.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;
}

/* -sizes ------------------- */


h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.5em;
}

.navbar {
  min-height: 30px;
}

.navbar-brand {
  padding: 5px;
}


#main-menu > .container {
  margin-left: 0em;
}

@media screen and (min-width: 900px) {
  #main-menu > .container {
    padding-left: 5em;
  }
}


#main-menu  .navbar-brand {
    margin-left: 0px;
}




/* -------colores--------------------------- */

.navbar-inverse {
  background: #00b7ea;
  border: none;
}

.navbar .nav > li > a {
  padding: 10px 10px 11px;
  font-size: 1em;
  color: #fff;
  text-shadow: none;
}

.navbar .nav > li > a:hover,
.navbar .nav > li > a:focus {
  color: #fff;
  background-color: rgba(0,0,0,.12);
}

.navbar .nav > li > a.nav-link-muted {
  color: rgba(255,255,255,.5);
}

.navbar .nav > li > a.nav-link-muted:hover,
.navbar .nav > li > a.nav-link-muted:focus {
  color: rgba(255,255,255,.75);
}

.navbar-brand {
  padding: 7px 12px;
  font-size: 1em;
  color: #fff;
  text-shadow: none;
  height: auto;
}

/* --------------------------- */



select,
.form-select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"]
{
     background-color: #f7f0c9;
}

textarea.form-control, select.form-control  {
    background-color: #f7f0c9;
}


#sidebar .active > a {
	border-left: 5px double #777;
}

#sidebar a {
	border-left: 5px solid transparent;
}

#left-sidebar .active > a {
	border-right: 5px double #777;
}

#left-sidebar a {
	border-right: 5px solid transparent;
}


.paciente-view .form-control > input {
	font-size: small;
	padding: 3px;
	height: 2em;
}

.paciente-view .table > thead > tr > th,
.paciente-view .table > tbody > tr > th, 
.paciente-view .table > tfoot > tr > th
{
	padding: 3px;
	font-size: small;
	border: 1px solid #aaa;
	background-color: #C6E2FF;
}

.sala-de-espera-view .table > thead > tr > th,
.sala-de-espera-view .table > tbody > tr > th, 
.sala-de-espera-view .table > tfoot > tr > th
{
	padding: 3px;
	font-size: small;
	border: 1px solid #aaa;
	background-color: #C6E2FF;
}


.paciente-view .table > thead > tr > td, 
.paciente-view .table > tbody > tr > td, 
.paciente-view .table > tfoot > tr > td
{
	padding: 3px;
	font-size: small;
	border: 1px solid #aaa;

}

.paciente-view h1  {
	margin-top: 1em;
	text-align: left;
	font-size: 1.5em;
}

.paciente-view  h2 {
	margin-top: 0.8em;
	text-align: left;
	font-size: 1.2em;
}

.paciente-view .icono-seccion {
	font-size: medium;
}

.seccion {
	border: 1px solid #ccc;
	padding: 5px;
}

.sala-de-espera h1  {
	margin-top: 1em;
	text-align: left;
	font-size: 1.5em;
}

.sala-de-espera h2 {
	margin-top: 0.8em;
	text-align: left;
	font-size: 1.2em;
}

.documento {
	background-color: #f7e0e9;
	font-family: monospace;
    font-size: 12pt;
    padding: 1em 1em 1em 2em;
    border: 1px solid #444;
    margin: 0.1em 1em 1em 1em;
    white-space: pre-wrap;
}

.documento-form textarea {
	font-size: 12pt;	
	margin: 0.1em 1em 1em 1em;
}

.documento-form input {
	font-size: 12pt;	
	margin: 0.1em 1em 1em 1em;
}

.documento-impreso {
	font-family: monospace;
    white-space: pre;
    font-size: 12pt;
    padding: 1em 1em 1em 2em;
    border: 1px solid #444;
    margin: 0.1em 1em 1em 1em;
}


.panel-btn {
    color: #6495ED;
    border: 1px solid #6495ED;
    padding: 2em;
    text-align: center;
    border-radius: 15px;
}

.panel-lg {
	font-size: 24pt;
}

.panel-block {
	display: block;
}


.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > 
li.active > a:focus {
	border: 1px solid #aaa;
	border-bottom-color: transparent;
}

.nav-tabs {
    border-bottom: 1px solid #aaa;
}


.foot {
	padding: 1em;
	background-color: #555;
	color: #ccc;
	min-height: 4em;
}

.footer {
    height: auto;
    background-color: #3a3a3a;
    color: #ccc;
    border-top: 1px solid #222;
    padding-top: 20px;
}

footer {
    background-color: #3a3a3a;
    color: #ccc;
    padding: 0.8em 1em;
    text-align: center;
    font-size: 0.82em;
}

header {
	text-align: left;
    background-color: #ADD8E6;
    border-top: 1px solid #ddd;
    padding: 1em;
}


@media(min-width:767px) {
    footer {
	text-align: center;
   
	}
}


.grid-view th,
.table thead th {
	background-color: #EED8AE;
}

.table thead {
	--bs-table-bg: #EED8AE;
}

.card-header-pagos {
	background-color: #C8DDD4;
	border-color: #B4CEC4;
}

/* Yii2 LinkPager outputs Bootstrap 4 markup; patch it for Bootstrap 5 */
.pagination > li > a,
.pagination > li > span {
    position: relative;
    display: block;
    padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
    color: var(--bs-pagination-color);
    text-decoration: none;
    background-color: var(--bs-pagination-bg);
    border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}
.pagination > li > a:hover {
    color: var(--bs-pagination-hover-color);
    background-color: var(--bs-pagination-hover-bg);
    border-color: var(--bs-pagination-hover-border-color);
}
.pagination > li.active > a {
    z-index: 3;
    color: var(--bs-pagination-active-color);
    background-color: var(--bs-pagination-active-bg);
    border-color: var(--bs-pagination-active-border-color);
}
.pagination > li.disabled > a,
.pagination > li.disabled > span {
    color: var(--bs-pagination-disabled-color);
    pointer-events: none;
    background-color: var(--bs-pagination-disabled-bg);
    border-color: var(--bs-pagination-disabled-border-color);
}




/**** icons ***/

.uicon-row {
  margin-top: 1em; }

.uicon-grid-content {
  color: white;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  padding: 10px; }

.uicon-grid-icon {
  padding: 1em; }

.uicon-grid-font-icon {
  margin: 0.2em auto 0.2em;
  font-size: 200%; }

.uicon-grid-label {
  font-size: 100%; }

.uicon-grid-panel {
  display: inline-block;
  margin: 0 1em 1em 0;
  width: 10em;
  height: 8em;
  overflow: hidden;
  background-color: #4F94CD;
  text-align: center;
  padding: 0em 0em 0em;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px; }
  .uicon-grid-panel a:hover {
    text-decoration: none; }
  .uicon-grid-panel a {
    text-decoration: none; }



/*** sizes ***/

h1 {
  font-size: 1.1em;
  margin-top: 0.5em;
  font-weight: bold; 
}

h2 {
  font-size: 1.05em;
  margin-top: 0.5em;
  font-weight: bold; 
}


div.required label:after {
    content: " *";
    color: red;
}


/* ── Dashboard ─────────────────────────────────────────── */

body.dev-bg {
    background-color: #e0e0e0;
}

.site-dashboard {
    padding: 1.2em 0 3em;
}

.dashboard-company {
    font-weight: bold;
    font-size: 1.1em;
    color: #222;
    margin-bottom: 1em;
}

.dashboard-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.dashboard-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 130px;
    border-radius: 8px;
    background-color: #4F94CD;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
    transition: filter .15s ease, box-shadow .15s ease;
    gap: 0.5em;
    padding: 0.5em;
}

.dashboard-tile:hover,
.dashboard-tile:focus {
    text-decoration: none;
    color: #fff;
    filter: brightness(1.1);
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

.dashboard-tile:active {
    filter: brightness(0.95);
}

.dashboard-tile--muted {
    background-color: #607D8B;
}

.dashboard-tile-icon {
    font-size: 2.6em;
    line-height: 1;
}

.dashboard-tile-label {
    font-size: 0.8em;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.dashboard-tile-sublabel {
    display: block;
    font-size: 0.85em;
    font-weight: 400;
    opacity: 0.75;
}

.header-cell {
    font-weight: bold;
    font-size: 0.85em;
}

.data-cell {
    border: 1px solid #888;
    min-height: 1.5em;
    padding: 0.3em 0.2em 0.1em 0.2em;
    margin-bottom: 0.9em;
    font-size: 0.85em;
}




