﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    line-height: 1.428571429;
    color: #333333;
    background-color: #ffffff;
}

p, td {
    font-size: 14px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.wrapper {
    margin-top: 25px;
}

/* Set width on the form input elements since they're 100% wide by default */
select,
textarea {
    max-width: 280px;
}

.no-border tbody > tr > td {
    border: none;
}

.table thead > tr > th, .table tbody > tr > th, .table tfoot > tr > th, .table thead > tr > td, .table tbody > tr > td, .table tfoot > tr > td {
    padding: 4px 8px 4px 8px;
}

.text-area-max {
    width: 100%;
    max-width: 100%;
}

.bottom-bar {
    height: 45px;
    line-height: 45px;
    background: #e9e9e9;
    color: #000;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
}

.main-wrapper {
    padding-top: 25px;
    padding-bottom: 25px;
}

#total {
    font-size: 18px;
    font-weight: bold;
    padding-right: 15px;
}

.form-control {
    border: none;
    background-color: #e9e9e9b0;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0;
}

.receipt-header, .receipt-header > div {
    height: 100px;
}

.box {
    border: 2px solid #8e8e8e;
    height: 50px;
    text-align: center;
    line-height: 50px;
}

.receipt-sub-header {
    border: 1px solid #8e8e8e;
    height: 50px;
    text-align: center;
}

    .receipt-sub-header > div {
        height: 50px;
    }

.left-border {
    border-left: 1px solid #8e8e8e;
}

.receipt-body > tbody > tr > td {
    padding: 0;
}

.border {
    border: 1px solid #8e8e8e;
    padding: 5px;
}

.select-editable {
    position: relative;
    background-color: white;
    width: 120px;
}

    .select-editable select {
        position: absolute;
        top: 0px;
        left: 0px;
        font-size: 14px;
        border: none;
        width: 120px;
        margin: 0;
    }

    .select-editable input {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100px;
        padding: 1px;
        font-size: 12px;
        border: none;
    }

        .select-editable select:focus, .select-editable input:focus {
            outline: none;
        }

/* Header container */
.header-container {
    font-size: 12px;
}

.modal-dialog {
    width: 350px !important;
}

/* table */
.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
    border: 1px solid #a5a5a5;
}

#custom-search-input {
    padding: 3px;
    border: solid 1px #E4E4E4;
    border-radius: 6px;
    background-color: #fff;
}

    #custom-search-input input {
        border: 0;
        box-shadow: none;
    }

    #custom-search-input button {
        margin: 2px 0 0 0;
        background: none;
        box-shadow: none;
        border: 0;
        color: #666666;
        padding: 0 8px 0 10px;
        border-left: solid 1px #ccc;
    }

        #custom-search-input button:hover {
            border: 0;
            box-shadow: none;
            border-left: solid 1px #ccc;
        }

    #custom-search-input .glyphicon-search {
        font-size: 23px;
    }

/* Define what each icon button should look like */
.button {
    color: white;
    display: inline-block; /* Inline elements with width and height. TL;DR they make the icon buttons stack from left-to-right instead of top-to-bottom */
    position: relative; /* All 'absolute'ly positioned elements are relative to this one */
    padding: 2px 5px; /* Add some padding so it looks nice */
}

/* Make the badge float in the top right corner of the button */
.button__badge {
    background-color: #fa3e3e;
    border-radius: 2px;
    color: white;
    padding: 1px 3px;
    font-size: 10px;
    position: absolute; /* Position the badge within the relatively positioned button */
    top: 0;
    right: 0;
}

#live_stats {
    overflow-y: auto;
    height: 70vh;
}

    #live_stats th {
        position: sticky;
        top: 0;
        background: #fff;
    }

.calendar {
    color: #000 !important;
}

    .calendar:hover {
        color: #fff !important;
    }

.modal-lg {
    width: 650px !important;
}

/* Appointment */
.scheduled-new {
    background-color: orange;
    color: #fff;
    font-size: 14px;
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
    margin: 5px;
    vertical-align: top;
}

.scheduled-existing {
    background-color: seagreen;
    color: #fff;
    font-size: 14px;
    display: inline-block;
    padding: 10px;
    border-radius: 5px;
    margin: 5px;
    vertical-align: top;
}

.action-menu {
    display: inline-block;
    background: #e9e9e9;
    padding: 10px;
    border-radius: 5px;
}

    .action-menu p {
        margin-bottom: 4px;
    }

/* Dropdown */
.dropdown, .dropdown input {
    display: inline-block;
    width: 75px;
}

    .dropdown .drop-hour-content, .dropdown .drop-minute-content {
        display: none;
        width: 100%;
        background: #fff;
        border: 1px solid #e9e9e9;
        height: 150px;
        overflow: auto;
        position: absolute;
    }
.drop-minute-content a, .drop-hour-content a {
    height: 25px;
    line-height: 25px;
    border-bottom: 1px solid #e9e9e9;
    cursor: pointer;
}


#ck-button {
    background-color: #EFEFEF;
    border-radius: 4px;
    overflow: auto;
    float: left;
}

    #ck-button:hover {
        background: blue;
    }

    #ck-button label {
        float: left;
        width: 4.0em;
    }

        #ck-button label span {
            text-align: center;
            padding: 5px;
            display: block;
        }

        #ck-button label input {
            
        }

    #ck-button input:checked + span {
        background-color: blue;
        padding: 5px;
        color: #fff;
    }

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    #month-title {
        width: 100% !important;
    }

    .data p {
        font-size: 18px !important;
    }
}
/*@media print {
body{
    width:250px !important;
    height: 250px !important;
}

.table > thead > tr > th {
    background-color: #e9e9e9 !important;
    -webkit-print-color-adjust: exact; 
}

@page { size: auto;  margin: 0mm; }
}

@page { size: 58mm 100mm }*/
