html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    padding-top: 5px;
    padding-bottom: 80px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea,
.k-datepicker {
    max-width: 280px;
}

.max-width{
    max-width: 100%;
}


/* Override the default bootstrap behavior where horizontal form margin, this prevent scrolls 
*/
.form-horizontal .form-group {
    margin-right: 0px;
    margin-left: -15px;
}

/* Override the default bootstrap behavior form-control 
*/
.form-control {
    padding: 5px 10px 7px 10px;
}

/*Usar como clase adicional a col-md-XX para hacer funcionar el bootstrap correctamente dentro de un k-widget*/
.borderbox {
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
}

/*para utilizar nested containers (ya que tenemos parciales dentro de containers que si no se ven mal, y al reutilizarlas
	 es necesario volver a envolverla en un container.)*/
.container .container {
    /*margin-right: 0px !important;
	margin-left: 0px !important;
	padding-right: 0px !important;
	padding-left: 0px !important;*/
    display: initial;
}

.k-state-active-filter-menu {
    background-color: #908E8E;
    border-color: #ccc;
    color: #333;
}

.k-grid-filter.k-state-active {
    background-color: #908E8E !important
}


/*************************************************************/


.blueBold {
    color: blue;
    font-weight: bold;
}

.redBold {
    color: red;
    font-weight: bold;
}

.greenBold {
    color: green;
    font-weight: bold;
}

.k-widget.k-grid .indicadorVerde {
    position: relative;
    margin: 0 auto;
    width: 23px;
    height: 23px;
    background: transparent url(Images/indicadorGridVerde.png) no-repeat center center;
}

.k-widget.k-grid .indicadorRojo {
    position: relative;
    margin: 0 auto;
    width: 23px;
    height: 23px;
    background: transparent url(Images/indicadorGridRojo.png) no-repeat center center;
}

a.iconConcepts {
    margin-left: 4px;
    margin-right: 4px;
    cursor: pointer;
    content: url(Img/icons_grids/concepto_activo.png);
}

a.iconNoConcepts {
    margin-left: 4px;
    margin-right: 4px;
    content: url(Img/icons_grids/concepto_inactivo.png);
}

a.iconMapa {
    margin-left: 3px;
    margin-right: 3px;
    cursor: pointer;
    content: url(Img/icons_grids/mapa_activo.png);
}

a.iconNoMapa {
    margin-left: 3px;
    margin-right: 3px;
    content: url(Img/icons_grids/mapa_inactivo.png);
}

a.iconDocuments {
    margin-left: 4px;
    margin-right: 4px;
    cursor: pointer;
    content: url(Img/icons_grids/documentos_activo.png);
}

a.iconNoDocuments {
    margin-left: 4px;
    margin-right: 4px;
    content: url(Img/icons_grids/documentos_inactivo.png);
}

a.iconNoDocuments2 {
    margin-left: 4px;
    margin-right: 4px;
    cursor: pointer;
    content: url(Img/icons_grids/documentos_inactivo.png);
}

a.iconNotes {
    margin-left: 4px;
    margin-right: 4px;
    cursor: pointer;
    content: url(Img/icons_grids/documentos_activo.png);
}

a.iconNoNotes {
    margin-left: 4px;
    margin-right: 4px;
    content: url(Img/icons_grids/documentos_inactivo.png);
}


a.iconIncidences {
    margin-left: 4px;
    margin-right: 4px;
    cursor: pointer;
    content: url(Img/icons_grids/incidencia_activo.png);
}

a.iconNoIncidences {
    margin-left: 4px;
    margin-right: 4px;
    content: url(Img/icons_grids/incidencia_inactivo.png);
}

a.iconNotes2 {
    margin-left: 4px;
    margin-right: 4px;
    cursor: pointer;
    content: url(Img/icons_grids/notas_activo.png);
}

a.iconNoNotes2 {
    margin-left: 4px;
    margin-right: 4px;
    content: url(Img/icons_grids/notas_inactivo.png);
}

a.iconInfo {
    margin-left: 4px;
    margin-right: 4px;
    cursor: pointer;
    content: url(Img/icons_grids/info.png);
}

.k-widget.k-tooltip {
    margin-top: -10px;
}

.k-widget.k-grid .info {
    position: relative;
    margin-left: 70px;
    margin-top: -18px;
    width: 16px;
    height: 16px;
    background: transparent url(Images/info.png) no-repeat center center;
}

/*---------------------------------------------------------------*/

/*---------------------------------------------------------------*/
/*                ESTILOS DE LOS INPUTS FILE                     */
/*---------------------------------------------------------------*/

.fileUpload {
    position: relative;
    overflow: hidden;
    margin: 10px;
}

    .fileUpload input.upload {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
        padding: 0;
        font-size: 20px;
        cursor: pointer;
        opacity: 0;
        filter: alpha(opacity=0);
    }

/*******************************************************************/
/*************** ESTILOS PARA LAS VENTANAS DE DIALOGO **************/
/*******************************************************************/

.panelContent {
    padding: 20px !important;
}

.content {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

/** Estilos para las barrás del menú **/

.nav-main{
    border-bottom: 1px solid darkgray;
    padding-bottom: 18px;
    background-color: white;
}

.navbar-nav a{
    color: black !important;
    width: auto;
    border-radius: 4px;
}

.navbar-nav .dropdown-menu {
    margin: 0px;
    border-top-left-radius: 0px;
}

.navbar-nav .dropdown-item {
    border-radius: 0px;
}

.navbar-nav a:hover {
    text-decoration: none;
    color: #fff !important;
    background: #7e8790;
}

.navbar-nav a.dropdown-toggle.show {
    text-decoration: none;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    color: #fff !important;
    background: #7e8790;
}

/*** Para modales ***/
@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

/** Forms **/
.form-label{
    display:block !important;
    font-weight: bold;
    padding-top: 0 !important;
    text-align: right;
}

.pb-2-5 {
    padding-bottom: .75rem !important;
}

.mb-2-5{
    margin-bottom: .75rem !important;
}

.check-box-div {
    display: flex;
    align-items: center;
}

.check-box{
    transform: scale(1.2);
    margin-bottom: .4rem;
}

.form-upper-label {
    display: block !important;
    font-weight: bold;
    padding-top: 0 !important;
    padding-bottom: 1px;
}

.category-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #466e90;
    margin: 10px 50px 10px 5px;
    padding-left: 5px;
    border-left: 4px solid #8da4b8;
    border-bottom: 4px solid #b0c4de;
}

.py-filter-btn {
    padding-top: 0.31rem;
    padding-bottom: 0.44rem;
}

input[type="checkbox"][readonly]{
    filter: invert(15%);
}