/**
 * Css dedicado a los estilos generales de la aplicación
 */

/**
 * GENERALES
 */

.separaBotonDerecha {
    margin-right: 5px;
}



/**
 * Estilos pantalla de Espacios
 */

.imagenPlano img {
    display: flex;
    /*border: solid red;*/
    margin: auto;
    max-width: 300px;
    max-height: 200px;
}

/**
 * ESTILOS PARA CALENDARIO
 */


#calendario .divBlock {
    z-index: 1000;
    /*position: absolute;*/

    opacity: 0;
}

/* DivTable.com */
#calendario .divTable{
    display: table;
    width: fit-content;
}
#calendario .divTableRow {
    display: table-row;
}
#calendario .divTableHeading {
    background-color: #EEE;
    display: table-header-group;
}
#calendario .divTableCell, .divTableHead {
    /*border: 1px solid #999999;*/
    border: none;
    display: table-cell;
    /*padding: 1px 6px;*/
    padding: 0 1px;
}
#calendario .divTableHeading {
    background-color: #EEE;
    display: table-header-group;
    font-weight: bold;
}
#calendario .divTableFoot {
    background-color: #EEE;
    display: table-footer-group;
    font-weight: bold;
}
#calendario .divTableBody {
    display: table-row-group;
}

/**
 * ESTILOS CHECKS CALENDARIO
 */

#calendario div > label {
    position:relative;
    cursor:pointer;
    width: 100%;
    height: 100%;

    /*border: 1px solid black;*/
}
#calendario div > label [type="checkbox"] {
    display:none;
}
#calendario [type="checkbox"] + span {
    display:inline-block;
    /*padding:0;*/
    width:  100%;
    height: 100%;
    text-align: center;
    font-weight: normal;
}
#calendario :checked + span {
    border-radius: 5px;
    color: white;
    background: #737373;
    display:inline-block;

}
#calendario [type="checkbox"][disabled] + span {
    background: #af0000;
    border-radius: 5px;
    color: white;
}

/**
 * ESTILOS PARA RESERVAS
 */

.imagenPlano-sm img {
    display: flex;
    /*border: solid red;*/
    margin: auto;
    width: 60px;
    height: 60px;
}

.imagenPrincipal {
    display: flex;
    /*border: solid red;*/
    margin: auto;
    max-width: 340px;
    max-height: 200px;
}

.radioAsCheckbox {
    -webkit-appearance: checkbox; /* Chrome, Safari, Opera */
    -moz-appearance: checkbox;    /* Firefox */
    -ms-appearance: checkbox;     /* not currently supported */
}


/**
Preloader
 */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: #FFF none repeat scroll 0% 0%;
    opacity: 50%;
    z-index: 99999;
}
#page-loader .preloader-interior {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #dbdde0;

    -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
#page-loader .preloader-interior:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #343a40;

    -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

#page-loader .preloader-interior:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #17a2b8;

    -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}
@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}

/* Ajustes para datatables.js */
table.dataTable.dtr-inline.collapsed.table-sm>tbody>tr>td:first-child:before, table.dataTable.dtr-inline.collapsed.table-sm>tbody>tr>th:first-child:before {
    top: 50% !important;
}

/* Ajuste admin LTE */
@media (max-width: 576px) {
    .login-box,
    .register-box {
        margin-top: 0 !important;
        width: 100% !important;
    }
}

/* Ajuste para fullcalendar */
.fc .fc-timegrid-col.fc-day-today {
    background-color: transparent !important;
}

.card-title-btn-right {
    margin: -0.3em;
    float: right !important;
    position: relative;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    vertical-align: middle;
}


/* listas ordenadas encadenadas */
.concatenatedList ol {
    counter-reset: item
}
.concatenatedList li {
    display: block
}
.concatenatedList li:before {
    content: counters(item, ".") ". ";
    counter-increment: item
}


/** Text-Area dani */

.textarea-clean {
    border: none;
    background-color: transparent;
    overflow: hidden;
    min-height: 31px!important;
    /*resize: none;*/
}

.textarea-clean:after {
    border: none;
}

.textarea-bgw {
    border: none;
    overflow: hidden;
    /*min-height: 31px;*/
}
