﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\ 
for details on configuring this project to bundle and minify static web assets. */
body {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.clickable, table[data-rowclick] tbody tr {
    cursor: pointer;
}

.modal-footer {
    justify-content: start;
}

.validation-summary-errors ul {
    margin-bottom: 0;
    list-style: none;
}

/* Timesheet */

.timesheet-datepicker,
.timesheet-datepicker:focus,
.timesheet-datepicker:active {
    border: none;
    outline: none;
}

.timesheet {
    font-size: .8rem;
}

.timesheet th:nth-child(1) {
    max-width: 10rem;
}

.timesheet thead th:not(:nth-child(1)) {
    text-align: center;
}

.timesheet th:nth-child(7),
.timesheet th:nth-child(8),
.timesheet td:nth-child(7),
.timesheet td:nth-child(8),
.timesheet th:nth-child(14),
.timesheet th:nth-child(15),
.timesheet td:nth-child(14),
.timesheet td:nth-child(15) {
    background-color: #000000;
    background-color: rgba(0, 0, 0, .05);
}

.timesheet th:nth-child(16),
.timesheet td:nth-child(16) {
    text-align: right;
}

.timesheet th:nth-child(16) span:nth-child(2) {
    min-width: 1.75rem;
    display: inline-block;
}

.timesheet .total {
    border-top: 1px solid #000000;
    border-top: 1px solid rgba(0, 0, 0, .075);
}

.timesheet tbody td:hover {
    background-color: #000000;
    background-color: rgba(0, 0, 0, .075);
    cursor: pointer;
}

.timesheet tbody td .hoverable {
    visibility: hidden;
}

.timesheet tbody td:hover .hoverable {
    visibility: visible;
}

.timesheet tfoot tr th,
.timesheet tfoot tr td {
    border: none;
}

.timesheet tfoot td,
.timesheet tfoot th {
    text-align: right;
}

@media print {
    .timesheet tbody tr.empty {
        display: none;
    }

    html {
        font-size: 10px;
    }

    .hoverable {
        display: none;
    }

    @page {
        size: landscape;
    }
}


/* Chosen override */

.chosen-container {
    font-size: 1rem;
}

.chosen-container-single .chosen-single {
    padding: .375rem .75rem;
    border-color: rgb(206, 212, 218);
    border-radius: .25rem;
    height: calc(2.25rem + 2px);
}

.chosen-container-single .chosen-single,
.chosen-container-active.chosen-with-drop .chosen-single {
    background: none;
}

.chosen-container-single .chosen-single div {
    top: 8px;
}
