/*************
* Login page *
*************/
.login {
    width: 250px;
    margin: 50px auto 50px auto;
    padding: 20px;
    text-align: center;
}
.login input {
    width: 100%;
    margin-right: auto;
}
.login i {
    font-size: 100px;
    color: #B12D12;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}
input[type=submit] {
    width: 80px;
    margin-top: 15px;
}
.errorMessage {
    color: red;
}

/*********************
* Single device page *
*********************/
#sigleDev {
    text-align: center;
    padding-top: 20px;
}
#sigleDev h1 {
    font-size: 50px;
    font-weight: bold;
    margin: 10px;
}
#sigleDev img {
    height: 50px;
    margin: 50px;
}
.singleIp {
    width: 100%;
    font-size: 40px;
    font-weight: bold;
}
.singleIp a {
    color: #B12D12;
}
table {
    color: #666666;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: left;
    border-collapse: collapse;
}
table td {
    padding: 3px;
    height: 20px;
    vertical-align: center;
}
table td:first-child {
    text-align: right;
    font-weight: bold;
}
.connected {
    display: inline;
    padding: 3px;
    color: #13bb72;
    border: 1px solid #13bb72;
    border-radius: 5px;
}
.missing {
    display: inline;
    padding: 3px;
    color: #ff3516;
    border: 1px solid #ff3516;
    border-radius: 5px;
}

/*******************
* Multiple devices *
*******************/
#multiDev {
    padding-top: 20px;
}
#multiDev h1 {
    font-size: 30px;
    font-weight: bold;
    margin: 10px;
    text-align: center;
}
table.multiDev {
    margin-top: 0px;
    color: #000000;
}
table.multiDev tr:first-child {
    font-size: 30px;
    text-align: center;
    font-weight: bold;
}
table.multiDev tr:first-child td:first-child {
    padding-bottom: 10px;
}
.mono {
    font-family: "Courier New";
}
.tableIp {
    font-family: "Courier New";
    font-style: italic;
    font-weight: bold;
}
table.history {
    margin-top: 0px;
    color: #000000;
}
table.history td:first-child {
    font-weight: normal;
    text-align: left;
}
table.history tr:first-child td {
    font-weight: bold;
}
table.history td {
    padding: 5px;
}

/*********************
* Animated Heartbeat *
*********************/
.heart-rate {
    width: 155px;
    height: 75px;
    position: relative;
    margin: auto;
}
.fade-in {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    top: 0;
    right: 0;
    animation: heartRateIn 2.5s linear infinite;
}
.fade-out {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -120%;
    animation: heartRateOut 2.5s linear infinite;
    background: rgba(255, 255, 255, 1);
}
@keyframes heartRateIn {
    0% {
        width: 100%;
    }
    50% {
        width: 0;
    }
    100% {
        width: 0;
    }
}
@keyframes heartRateOut {
    0% {
        left: -120%;
    }
    30% {
        left: -120%;
    }
    100% {
        left: 0;
    }
}