@import url('vendor/deskapp/style.css');

html, body {
    font-family: 'Work Sans', sans-serif;
    width: 100vw;
    height: 100vh;
    background-color: rgba(222, 242, 255, 0.2);
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.flex{
    flex: 1;
}

#partesIndexActions .form-group {
    max-width: 250px;
}

.max-w-150 {
    max-width: 150px;
}

/*==============================================================
	Datatables Start
==============================================================*/
.main-container table.dataTable.stripe tbody tr.odd,
.main-container table.dataTable.display tbody tr.odd {
    background-color: #ecf3f6;
}

.main-container table.dataTable.hover tbody tr:hover,
.main-container table.dataTable.display tbody tr:hover {
    background-color: #c9d0e0;
}

.main-container table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td {
    position: relative;
}

.main-container table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child:before,
.main-container table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child:before {
    color: #4d8e94;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.main-container table.dataTable thead .sorting:after,
.main-container table.dataTable thead .sorting_asc:after,
.main-container table.dataTable thead .sorting_desc:after,
.main-container table.dataTable thead .sorting_asc_disabled:after,
.main-container table.dataTable thead .sorting_desc_disabled:after {
    left: 0.5em;
}

.main-container table.dataTable thead .sorting:before,
.main-container table.dataTable thead .sorting_asc:before,
.main-container table.dataTable thead .sorting_desc:before,
.main-container table.dataTable thead .sorting_asc_disabled:before,
.main-container table.dataTable thead .sorting_desc_disabled:before {
    left: 16px;
}

.main-container table.dataTable thead > tr > th.sorting_asc,
.main-container table.dataTable thead > tr > th.sorting_desc,
.main-container table.dataTable thead > tr > th.sorting,
.main-container table.dataTable thead > tr > td.sorting_asc,
.main-container table.dataTable thead > tr > td.sorting_desc,
.main-container table.dataTable thead > tr > td.sorting {
    padding-left: 30px;
    padding-right: 0;
}

.data-table.last-column-buttons tbody td:last-child {
    text-align: right;
}

.data-table.last-column-buttons thead th:last-child {
    color: white; /* Hide buttons column header */
}

.data-table.last-column-buttons tbody td.dataTables_empty:last-child,
.data-table.last-column-buttons tbody td.child:last-child {
    text-align: initial;
}

table.dataTable.nowrap td.observations {
    white-space: normal;
    word-wrap: break-word;
}

table.dataTable td.observations {
    white-space: normal;
    word-wrap: break-word;
}

.main-container div.dataTables_wrapper div.dataTables_length select {
    width: 85px;
    height: 38px !important;
    display: inline-block;
}

.main-container {
    overflow-x: hidden;
    overflow-y: auto;
}

table.dataTable.no-header thead {
    display: none;
}

.row-red-value {
    color: red;
}

.row-green-value {
    color: green;
}

.row-text-align-right, .text-align-right {
    text-align: right;
}

.title-no-button, .margin-bottom {
    margin-bottom: .5em;
}

.margin-top {
    margin-top: .5em;
}

.paginate_button {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.hidden-input {
    display: none;
}

/*==============================================================
	Datatables End
==============================================================*/
.selectedRow {
    background-color: green !important;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .2);
}

.btn-blue {
    color: white;
    background-color: blue;
    border-color: blue;
}

.btn-blue:hover {
    color: white;
    background-color: darkblue;
    border-color: darkblue;
}

.breadcrumb {
    margin-bottom: 0px;
}

.text-blue {
    color: #0099ff;
}

.pad-15-l {
    padding-left: 15px;
}

.table-max-height {
    max-height: 400px;
    overflow-y: auto;
}

.modal-body-height {
    height: 503px;
}

@media (max-width: 760px) {
    .modal-body-height {
        height: 328px;
    }

    .table-max-height {
        max-height: 225px;
        /*overflow-y: scroll;*/
    }
}

.table-max-height thead th {
    position: sticky;
    top: 0;
    z-index: 1500;
    background-color: #def2ff;
    color: black;
    border-bottom: none !important;
}

.table-max-height tbody tr {
    cursor: pointer;
}

#tablaClientes tbody tr {
    cursor: pointer;
}

.two-line-textarea {
    height: auto !important;
}

.centered-label {
    padding-top: 33%;
}

.btn-fill {
    width: 100%;
}

.btn-primary {
    background-color: #0099ff;
    border-color: #0099ff;
}

.middle-check {
    padding-left: 5%!important;
}

.horizontal-line {
    height: 4px;
    background-color: #E9ECEF;
    width: 100%;
    align-self: center;
}

.dropdown-gasto {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.dropdown-gasto:hover {
    color: #fff;
}

.desemitir-but {
    background-color: #868e96;
    border-color: #868e96;
    color: #fff;
}

.desemitir-but:hover {
    color: #fff;
}

.prorrateo-hover:hover {
    cursor: pointer;
}

.height-2p {
    height: 2px;
    color: black;
    background-color: black;
}

.mb-3-4 {
    margin-bottom: 0.75em;
}

button:disabled {
    color: grey !important;
    background-color: lightgrey !important;
    border-color: lightgrey !important;
}

.summ-row {
    padding: 10px 8px !important;
    font-weight: bold;
}

.tooltip-inner {
    min-width: 325px !important;
    max-width: auto !important;
}

.arrow {
    display: none !important;
}


.tooltip-supervision ul {
    list-style-type: circle;
    text-align: left !important;
}

.tooltip-supervision li span {
    position: relative;
    left: 3px;
}

a.disabled {
    color: grey !important;
    pointer-events: none;
    cursor: default;
}

.supervision-disabled {
    color: #9b9999 !important;
    pointer-events: none;
    cursor: default;
}

.supervision-bold {
    font-weight: 400 !important;
}

.app-icon {
    font-size: 7rem;
    color: white;
}

.app-link:hover {
    height: 100%;
}

.clickable {
    cursor: pointer;
}

.card-header {
    background-color: #007acc;
}

.campo-ptecont {
    width: 20%;
    max-width: 20px;
}

/*==============================================================
	Listado partes diarios
==============================================================*/
.titled-box {
    border: 1px black solid;
}

.titled-box-title {
    margin-left: 1em;
    padding: 0.2em 0.8em;
}

legend {
    width: auto !important;
}

/*==============================================================
	Loading screen
==============================================================*/
.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
}

.spinner-container {
    position: absolute;
    top: 50%;
    left: 50%;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.page-loader {
    background: url(../media/images/loader.gif) no-repeat #fffef2;
    background-position: center center;
    background-size: 13%;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 12345;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

/*==============================================================
	Sidemenu
==============================================================*/
.dropdown-toggle {
    white-space: normal;
}

.img-container {
    max-height: 65vh;
}

.img-container img {
    max-width: 100%;
}

input[type=number] {
    text-align: right;
}

.active-menu {
    color: #0099ff !important;
    background-color: #def2ff !important;
}

.active-submenu {
    color: #0099ff !important;
}

.selected-dropdown {
    color: #0099ff !important;
    background: #def2ff !important;
}
/*==============================================================
	COLORS
==============================================================*/

.state-grey {
    color: slategrey !important;
    font-weight: bold !important;
}

.state-blue {
    color: deepskyblue !important;
    font-weight: bold !important;
}

.state-green {
    color: green !important;
    font-weight: bold !important;
}

.state-red {
    color: red !important;
    font-weight: bold !important;
}

.state-lightseagreen {
    color: lightseagreen !important;
    font-weight: bold !important;
}

.color-red {
    color: red;
}

.color-green {
    color: green;
}

.color-dark-green {
    color: darkgreen;
}

.color-blue {
    color: #0082d9;
}

.color-lightseagreen {
    color: lightseagreen;
}

.color-white {
    color: white;
}

.color-black {
    color: black;
}

.color-grey {
    color: dimgrey;
}

/*==============================================================
	BUTTONS WIDTH
==============================================================*/

.m-width-39 {
    max-width: 39px;
}

.button-width {
    width: 32px;
}

.button-width-gasto {
    width: 33px;
}

.button-width-ticket {
    width: 42px;
}

.button-width-fgasto {
    width: 40px;
}

/*==============================================================
	CALENDAR
==============================================================*/

.calendar-table {
    width: 100%;
    background-color: white;
    text-align: center;
    height: 1px;
    table-layout: fixed;
}

.calendar-table thead {
    background-color: white;
}

.calendar-table .day {
    height: 100%;
    margin: 2px;
    border-radius: 5px;
    background-color: white;
    padding: 5px;
    cursor: pointer;
}

.calendar-table td {
    padding: 3px;
}

.empty-td {
    min-height: 35px; /*55px es el tamaño de 2 eventos y N más*/
}

.current-day {
    border: 1px solid #0078d485;
}

.selected-day {
    background: #c7e0f4 !important;
}

.day .day-event {
    font-size: 12px;
    padding: 0px 5px;
    margin-bottom: 2px;
    text-align: left;
    border-radius: 5px;
}

.extra-event {
    text-align: center !important;
}

.event {
    border-radius: 5px;
    margin: 10px 5px;
    padding: 5px;
}

.calendar-row {
    vertical-align: top;
}

.calendar-number {
    text-align: right;
    font-size: 16px;
    font-weight: 400;
}

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
}

.events-table {
    width: 100% !important;
}


.selected-circle {
    color: #c7e0f4 !important;
    background: #c7e0f4 !important;
}

@media (max-width: 760px) {
    .calendar-table {
        width: 100%;
        background-color: #F8F8F8;
        text-align: center;
        height: auto;
    }

    .calendar-table .day {
        height: 50%;
        margin: 0px;
        border-radius: 0px;
        background-color: white;
        padding: 0px;
        cursor: pointer;
    }

    .calendar-number {
        text-align: right;
        font-size: 12px;
        font-weight: 400;
    }

    .day .day-event {
        display: none;
    }

    .fixed-td-table > tbody > tr > td {
        min-width: 25px;
        min-height: 25px;
    }
}

/*==============================================================
	MULTISELECTOR
==============================================================*/

.selectBox {
    position: relative;
}

.selectBox select {
    width: 100%;
    font-weight: bold;
}

.overSelect {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

#checkboxes {
    display: none;
    border: 1px #dadada solid;
}

#checkboxes label {
    display: block;
}

#checkboxes label:hover {
    background-color: #1e90ff;
}