body {
    text-align: center;
    background: url("img/grey.png") repeat;
    font-family: "Segoe UI", "WeblySleekUISemilight", sans-serif;
}

.circle-container {
    margin: auto;
}

.tile-container {
    position: relative;
    margin: auto;
    padding-top: 20px;
}

.card {
    position: relative;
    display: inline-block;
    width: 80vw;
    max-width: 800px;
    margin-top: 4vh;
    padding: 0 15px 15px;
    background-color: #fff;
    border-top: 5px solid #4aa3ff;
    box-shadow: 0 2px 6px hsla(0, 0%, 0%, 0.2);
}

.card.ok {
    border-color: #008000;
}

.card.warn {
    border-color: #ffa500;
}

.card.danger {
    border-color: #ff0000;
}

.tile {
    position: relative;
    display: inline-block;
    width: 200px;
    height: 30px;
    padding: 5px;
    margin: 0 20px 0;
    vertical-align: middle;
    text-align: left;
}

.tile .indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 10px;
    margin-right: 5px;
}

.tile .indicator.ok {
    box-shadow: #008000dd 0 0 13px;
    background-color: #008000;
}

.tile .indicator.warn {
    box-shadow: #ffa500dd 0 0 13px;
    background-color: #ffa500;
}

.tile .indicator.danger {
    box-shadow: #ff0000dd 0 0 13px;
    background-color: #ff0000;
}

.tile .domain {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tile .time {
    position: relative;
    float: right;
    color: #CCC;
    padding-bottom: 2px;
}

.circle {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 120px;
    border-radius: 120px;
    text-align: center;
    vertical-align: middle;
    margin: 5px;
}

.circle.ok {
    border: 2px solid #008000;
}

.circle.warn {
    border: 2px solid #ffa500;
}

.circle.danger {
    border: 2px solid #ff0000;
}

.text-ok {
    color: #008000;
}

.text-warn {
    color: #ffa500;
}

.text-danger {
    color: #ff0000;
}

.circle .domain {
    position: absolute;
    width: calc(100% - 12px);
    padding: 0 6px;
    top: calc(50% - 16px);
    left: 0;
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

.circle .time {
    position: absolute;
    width: 100%;
    top: calc(50% + 18px);
    left: 0;
    font-size: 13px;
}

.tooltip {
    visibility: hidden;
    width: 120px;
    font-size: 13px;
    background-color: #000;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 3px 0;
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -60px;
    z-index: 1;
}

.tooltip::after {
    content: " ";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border: 5px solid transparent;
    border-bottom-color: black;
}

.circle:hover .tooltip {
    visibility: visible;
}

.tile .time:hover .tooltip {
    visibility: visible;
}

.attribution {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    text-align: right;
    font-size: 12px;
    color: #ccc;
    margin: 10px;
}

.attribution a {
    color: #ccc;
}