﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

/* 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%;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

/* Border around tabs */
.tab-content {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 10px;
}

.nav-tabs {
    margin-bottom: -1px;
}

.heartbeat-faulted {
    background-color: coral;
}

.heartbeat-ok {
    /* ... */
}

/* Traffic lights colors */
.normalRange {
    /* No background color*/
}

@media screen {

    .greenRange {
        background-color: #5cb85c; /* rgba(0, 255, 0, 0.4);  #32c237 */
        font-weight: bold;
    }

    .amberRange {
        background-color: #ffff66;
        font-weight: bold;
    }

    .redRange {
        background-color: rgba(255, 0, 0, 0.5); /* #e61e10;*/
        font-weight: bold;
        /*orangered !important*/
    }
}