body {
    .cursor-pointer {
        cursor: pointer;
    }
}

#device-list .small-box p {
    margin: 0;
}

#device-list .small-box {
    min-height: 80px;
}

#box-location-settings {

    #opening-hours-settings {
        .opening-time-card {
            box-shadow: none;

            .card-body {
                padding: 0;
            }
        }

        #opening-hours-general-settings {
            .opening-time-card {
                .card-header {
                    background-color: #007bff !important;
                    color: white;
                }
            }

            .add-schedule {
                background-color: #007bff !important;
                color: white;
            }
        }

        .exceptions-containers {
            .opening-time-card {
                .card-header {
                    background-color: #17a2b8 !important;
                    color: white;
                }

                .add-schedule {
                    background-color: #17a2b8 !important;
                    color: white;
                }
            }
        }

        .col-5 {
            padding: 0;
        }

        .card-body {
            padding-left: 5px;
            padding-right: 5px;

            .row {
                margin: 0;
            }
        }

        .day-circles {
            .add-schedule {
                height: 28px;
                margin-right: 6px;
            }

            .day-circle {
                width: 28px;
                height: 28px;
                line-height: 28px;
                border-radius: 50%;
                text-align: center;
                font-weight: bold;
                margin-right: 5px;
                cursor: pointer;
            }

            .bg-grey {
                background-color: lightgrey;
                color: black;
            }

            .bg-green {
                background-color: green;
                color: white;
            }

            .bg-red {
                background-color: red;
                color: white;
            }

            .disabled {
                opacity: 0.4;
                cursor: default;
            }
        }
    }
}

#todo-list {
    .delete-task {
        margin-left: 3px;
    }
}

.jsgrid {
    .link {
        text-decoration: underline;
    }

    .footer-row {
        background-color: #f2f2f2;
        font-weight: bold;
    }
}

#generate-reports {
    .table-data-editing-reports {
        .input-group-text {
            min-width: 55px;

            @media (min-width: 768px) {
                border-right: 0 !important;
                border-top-right-radius: 0;
                border-bottom-right-radius: 0;
            }

            @media (max-width: 768px) {
                min-width: auto !important;
                background: none;
                border: 0 !important;
                padding: 0 !important;
                margin: 0 5px 0 0;
            }
        }

        input {
            @media (max-width: 768px) {
                padding: 0 1px;
            }
        }
    }

    #pdfModal {
        .modal-content {
            position: fixed !important;
            width: 90% !important;
            height: 90% !important;
            left: auto;
        }

        .modal-body {
            max-width: 100%;
            max-height: 100%;
        }

        .modal-body img {
            max-width: 100%;
            max-height: 100%;

            @media (min-width: 768px) {
                position: absolute;
            }
        }
    }
}

.custom-modal-90 {
    max-width: 90%;
    height: 90%;
}

.table-fixed {
    table-layout: fixed;
    width: 100%;
}
