body 
{
/*    font-size: 1rem; */
}

@media (min-width: 576px) {
    .card-deck {
        column-count: 3;
    }
}

@media (min-width: 768px) {
    .card-deck {
        column-count: 4;
    }
}

@media (min-width: 992px) {
    .card-deck {
        column-count: 5;
    }
}

@media (min-width: 1200px) {
    .card-deck {
        column-count: 6;
    }
}

.page-title {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-brand {
    padding-top: 3px;
    padding-bottom: 3px;
}

.sidebar-user-material .sidebar-user-material-body {
    background: url(/images/AsdePg18.png) center center no-repeat;
    background-size: cover
}

.condensed-table td, .condensed-table th 
{
    padding: 5px 10px 5px 10px;
}

.condensed-cards .card-header, .condensed-cards .card-body{
    padding: 5px 10px 5px 10px;
}

.condensed-cards .card {
    min-width: 100px;
    max-width: 160px;
    float: left;
}

.condensed-cards{
    float: left;
}

.battery {
    border: 3px solid #333;
    padding: 2px;
    border-radius: 4px;
    position: relative;
    margin: 15px 0;
    width: 24px;
    height: 32px;
}

    .battery:before {
        content: '';
        height: 3px;
        width: 16px;
        background: #333;
        display: block;
        position: absolute;
        top: -7px;
        border-radius: 4px 4px 0 0;
    }

    .battery:after {
        content: '';
        display: block;
        position: absolute;
        top: -1px;
        left: -1px;
        right: -1px;
        bottom: -1px;
        border: 1px solid #fff;
        border-radius: 2px;
    }

.battery-level{
    background: #4CAF50;
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
}

    .battery-level.warn {
        background-color: #EFAF13;
    }

    .battery-level.danger {
        background-color: #e81309;
    }

        .battery-level.charging:before {
            background-image: url("data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%3E%3C%2Fg%3E%20%3Cpath%20fill%3D%22%23e81309%22%20d%3D%22M17.927%2012l2.68-10.28c0.040-0.126%200.060-0.261%200.060-0.4%200-0.726-0.587-1.32-1.314-1.32-0.413%200-0.78%200.187-1.019%200.487l-13.38%2017.353c-0.18%200.227-0.287%200.513-0.287%200.827%200%200.733%200.6%201.333%201.333%201.333h8.073l-2.68%2010.28c-0.041%200.127-0.060%200.261-0.060%200.4%200.001%200.727%200.587%201.32%201.314%201.32%200.413%200%200.78-0.186%201.020-0.487l13.379-17.353c0.181-0.227%200.287-0.513%200.287-0.827%200-0.733-0.6-1.333-1.333-1.333h-8.073z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
            background-repeat: no-repeat;
            background-size: 18px;
            height: 18px;
            width: 18px;
            margin: -21px 0px 0 0px;
            content: '';
            display: inline-block;
            position: absolute;
			left: 1px;
        }

.empty {
    border-collapse: collapse;
}

    .empty td, .empty th {
        border: 0px;
    }


.bar {
    fill: #A3D9F4;
}

    .bar:hover {
        fill: darkgray;
    }

.drinkbar {
    fill: #1BA1E2;
}

    .drinkbar:hover {
        fill: darkgray;
    }

.graph-gap-bar {
    fill: #FF0000;
    opacity: 0.3;
}

.axis {
    font: 10px sans-serif;
}

    .axis path,
    .axis line {
        fill: none;
        stroke: #000;
        shape-rendering: crispEdges;
    }

.x.axis path {
    display: none;
}

.hydrationtable-narrow {
    border-collapse: collapse;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

    .hydrationtable-narrow td, .hydrationtable-narrow th {
        border: 1px solid #ccc;
        padding: 4px 8px 4px 8px;
    }

    .hydrationtable-narrow tr:hover {
        background-color: #ddd;
    }

    .hydrationtable-narrow th {
        padding-top: 4px;
        padding-bottom: 4px;
        text-align: right;
        background-color: #EEEEEE;
        color: black;
    }


/* Interactive hydration graph */

#hydration-timeseries-modal .metric-chart text {
    fill: #565656;
    font-size: 11px;
    font-family: Helvetica, Arial, "sans serif";
}

    #hydration-timeseries-modal .metric-chart text.no-data {
        font-size: 16px;
        font-weight: 100;
        fill: #d0d0d0;
    }

#hydration-timeseries-modal .metric-chart rect.no-data {
    fill: #f5f5f5;
}

/* When there is data ...*/

/* CB: padding to display better on bl.ocks.org */
#hydration-timeseries-modal {
    padding: 30px 64px 30px 30px;
}

    #hydration-timeseries-modal .metric-chart rect.plot-background {
        fill: white;
    }

    /* complete data line */
    #hydration-timeseries-modal .metric-chart path.line {
        fill: none;
        stroke: #4FC3F7; /* default, changed in each theme */
        stroke-width: 1.5px;
        clip-path: url(#clip);
    }

    /* complete data area */
    #hydration-timeseries-modal .metric-chart path.area {
        fill: #4FC3F7; /* CB default, changed in each theme */
        opacity: 0.4;
        clip-path: url(#clip);
        cursor: move; /* fallback if grab cursor is unsupported */
        cursor: grab;
    }

    /*missing data line */
    #hydration-timeseries-modal .metric-chart path.line_missing {
        fill: none;
        stroke: #00AA8D; /* default, changed in each theme */
        stroke-width: 1.5px;
        stroke-dasharray: 1.5px 2px;
        clip-path: url(#clip);
    }
    /*missing data area */
    #hydration-timeseries-modal .metric-chart path.area_missing {
        fill: #00AA8D; /* CB default, changed in each theme */
        opacity: 0.15;
        clip-path: url(#clip);
        cursor: move; /* fallback if grab cursor is unsupported */
        cursor: grab;
    }

        #hydration-timeseries-modal .metric-chart path.area_missing:active,
        #hydration-timeseries-modal .metric-chart path.area:active {
            cursor: move; /* fallback if grab cursor is unsupported */
            cursor: grabbing;
        }

    #hydration-timeseries-modal .metric-chart .axis {
        shape-rendering: crispEdges;
    }

    #hydration-timeseries-modal .metric-chart .x.axis .domain {
        display: none;
    }

    #hydration-timeseries-modal .metric-chart .x.axis line {
        stroke: white;
        opacity: 0.4;
    }

    #hydration-timeseries-modal .metric-chart .context .x.axis line {
        display: none;
    }

    #hydration-timeseries-modal .metric-chart .y.axis .domain {
        display: none;
    }

    #hydration-timeseries-modal .metric-chart .y.axis.title {
        font-size: 11px;
        font-weight: 100;
    }

    #hydration-timeseries-modal .metric-chart .y.axis line {
        stroke: #565656;
        stroke-dasharray: 2,2;
        stroke-opacity: 0.3;
    }

    #hydration-timeseries-modal .metric-chart .brush .extent {
        fill-opacity: .07;
        shape-rendering: crispEdges;
        clip-path: url(#clip);
    }

    #hydration-timeseries-modal .metric-chart rect.pane {
        cursor: move; /* fallback if grab cursor is unsupported */
        cursor: grab;
        fill: white;
        pointer-events: all;
    }

        #hydration-timeseries-modal .metric-chart rect.pane:active {
            cursor: move; /* fallback if grab cursor is unsupported */
            cursor: grabbing;
        }

    /* brush handles  */
    #hydration-timeseries-modal .metric-chart .resize .handle {
        fill: #555;
    }

    #hydration-timeseries-modal .metric-chart .resize .handle-mini {
        fill: white;
        stroke-width: 1px;
        stroke: #555;
    }

    #hydration-timeseries-modal .metric-chart .scale_button {
        cursor: pointer;
    }

        #hydration-timeseries-modal .metric-chart .scale_button rect {
            fill: #eaeaea;
        }

        #hydration-timeseries-modal .metric-chart .scale_button:hover text {
            fill: #417DD6;
            transition: all 0.1s cubic-bezier(.25,.8,.25,1);
        }

    #hydration-timeseries-modal .metric-chart text#displayDates {
        font-weight: bold;
    }

    /* circle style */
    #hydration-timeseries-modal .metric-chart .dot {
        fill: white;
        stroke: #00AA8D; /* default, changed in each theme */
        stroke-width: 1.5px;
        clip-path: url(#clip);
        cursor: default;
        transition: stroke-width 0.06s ease-in;
        transition: stroke 0.06s ease-in;
    }

        #hydration-timeseries-modal .metric-chart .dot:hover {
            stroke: #00997e;
            stroke-width: 6px;
            transition: stroke-width 0.06s ease-out;
            transition: stroke 0.06s ease-out;
        }


    #hydration-timeseries-modal .metric-chart .drink {
        fill: #03A9F4;
        stroke: #0288D1; /* default, changed in each theme */
        stroke-width: 1.5px;
        clip-path: url(#clip);
        cursor: default;
        transition: stroke-width 0.06s ease-in;
        transition: stroke 0.06s ease-in;
    }


    #hydration-timeseries-modal .metric-chart .refill {
        fill: red;
        stroke: red; /* default, changed in each theme */
        stroke-width: 1.5px;
        clip-path: url(#clip);
        cursor: default;
        transition: stroke-width 0.06s ease-in;
        transition: stroke 0.06s ease-in;
    }

div.tooltip {
    position: fixed;
    text-align: center;
    width: 170px;
    height: 45px;
    padding: 2px;
    font: 11px sans-serif;
    background: white;
    color: #565656;
    border: 0px;
    border-radius: 2px;
    pointer-events: none;
    box-shadow: 0 0px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

@media (max-width: 768px) {
    .profile-cover .media {
        bottom: 0.25rem !important;
        -webkit-transform: none !important;
        transform: none !important;
    }
}

.profile-thumb img {
    border: 3px solid #fff;
    box-shadow: 0 0 0.1875rem rgba(0, 0, 0, 0.5);
    width: 5.25rem !important;
    height: 5.25rem !important;
}

.profile-cover-img {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    max-height: 8rem !important;
}

@media (max-width: 768px) {

    .profile-thumb img {
        border: 3px solid #fff;
        box-shadow: 0 0 0.1875rem rgba(0, 0, 0, 0.5);
        width: 3.25rem !important;
        height: 3.25rem !important;
    }

    .profile-cover-img {
        background-position: 50% 50%;
        background-repeat: no-repeat;
        background-size: cover;
        max-height: 4rem !important;
    }

}

.card {
    border-radius: 0.25rem;
}
