﻿/* tiles
---------------------------------------------------------- */
.tile
{
    margin: 5px;
    width: 120px;
    height: 120px;
    overflow: hidden;
    font-size: 12px;
    float: left;
    position: relative;
    background-color: rgb(27, 161, 226);
}
.tile > .loading
{
    width: 100%;
    height: 100%;
    text-align: center;
    color: rgb(204, 204, 204);
    font-size: 18px;
    margin-top: 2.5em;
}
.error.tile
{
    padding: 5px;
    color: rgb(255, 255, 255);
    background-color: rgb(255, 0, 0);
}
.tile > a
{
    width: 100%;
    height: 100%;
    color: rgb(252, 252, 252) !important;
    display: block;
}
.tile > a:hover
{
    text-decoration: none;
}

.single.tile .header
{
    margin: 5px;
    left: 0px;
    top: 0px;
    right: 0px;
    color: rgb(255, 255, 255);
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    text-overflow: ellipsis;
}
.single.tile .content
{
    margin: 0px 5px;
    left: 0px;
    top: 20px;
    right: 0px;
    bottom: 20px;
    color: rgb(255, 255, 255);
    overflow: hidden;
    font-size: 38pt;
    white-space: nowrap;
    position: absolute;
}
.single.tile .footer
{
    margin: 5px;
    left: 0px;
    text-align: right;
    right: 0px;
    bottom: 0px;
    color: rgb(204, 204, 204);
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    text-overflow: ellipsis;
}

.double.tile
{
    width: 250px;
}
.double.tile .header
{
    margin: 0px 5px;
    left: 0px;
    top: 0px;
    right: 0px;
    color: rgb(252, 252, 252);
    overflow: hidden;
    font-family: Segoe UI Light, Tahoma, Arial, Verdana;
    font-size: 18px;
    white-space: nowrap;
    position: absolute;
    text-overflow: ellipsis;
}
.double.tile .content
{
    margin: 0px 5px;
    left: 0px;
    top: 30px;
    right: 0px;
    bottom: 20px;
    color: rgb(255, 255, 255);
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
}
.double.tile .footer
{
    margin: 5px;
    left: 0px;
    text-align: right;
    right: 0px;
    bottom: 0px;
    color: rgb(252, 252, 252);
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    text-overflow: ellipsis;
}

.tertiaryB {
    background-color: #570915;
}

.secondaryB {
    background-color: #B1AA12;
}

.primary {
    background-color: #a40019;
}

.secondary {
    background-color: #0B5271;
}

.tertiary {
    background-color: #0CABF0;
}