.table > thead > tr > th {
    vertical-align: middle;
    border-bottom: 2px solid #ddd;
}

.btn-outline-primary {
    color: #0092D0;
    background-color: transparent;
    background-image: none;
    border-color: #0092D1;
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: none !important;
}

input.middle:focus {
    outline-width: 0;
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    padding: 4px;
}

.building {
    margin: 25px auto;
    display: block;
    flex-wrap: wrap;
    min-width: 300px; /* Ancho total del edificio */
    /*height: 800px; /* Altura total del edificio */
    background-color: #f5f5f5;
    border: 0.2rem solid #53798d;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    border-radius: 2px;
    padding: 0.3rem;
}

.floor {
    display: flex;
    /*flex-wrap: wrap;*/
    width: 100%;
    height: 4rem; /*calc(100% / 23); /* Altura de cada piso */
}

.ventana {
    width: calc(100% / 2 - 10px); /* Ancho de cada ventana */
    height: 3rem; /* calc(100% / 4 - 10px); /* Altura de cada ventana */
    margin: 1px; /* Espacio entre las ventanas */
    background-color: #ddd;
    border: 1px solid #0075b6;
    box-shadow: 1px 0px 7px rgba(0,0,0,0.2);
    border-radius: 2px;
    font-size: 1.1rem;
    font-weight: bold;
}

.building .floor .floor-number {
    position: absolute;
    left: -13px;
    width: 27px;
    height: 20px;
    background-color: #0075b6;
    color: #fff;
    font-size: 12px;
    text-align: center;
    line-height: 20px;
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.escriturado, .firmado {
    background-color: #e36778;
    color: white;
}

.disponible {
    background-color: #24c78b;
    color: whitesmoke;
}

.apartado {
    background-color: #d7d109;
    color: white;
}


.d-flex {
    display: flex !important;
}

.align-items-center {
    align-items: center !important;
}

.pfmpc {
    background-color: #ffc000;
    color: white;
}