html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.item {
    flex: 1 0 33%;
    height: 33vh;
    margin: 0.4%;
    display: flex;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
    border: 1px solid rgba(0, 91, 170, 0.75);
    background-color: rgba(0, 91, 170, 0.55);
    text-align: center;
    transition: .2s ease-out;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.text {
    font-weight: 600;
    font-size: 4rem;
    text-align: center;
    flex: 1 1 auto;
    position: relative;
    transform: rotate(2deg);
    color: rgba(255, 255, 255, 0.71);
    text-shadow: 3px 3px 11px #656565;
}

@media (max-width: 767px) {
    .flex-container {
        flex-direction: column;
    }

    .item {
        max-height: 18vh;
    }

    .text {
        transform: rotate(0);
    }
}

@media (min-width: 768px) {
    .site-index {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height:  calc(100% - 60px);
        overflow: hidden;
    }

    .flex-container {
        position: absolute;
        top: -50px;
        left: -2vw;
        transform: rotate(2deg);
        width: calc(100vw + 100px);
        height: calc(100% - 60px);
        margin-right: -100px;
    }

    .flex-container > div:nth-child(3) ~ div {
        flex-basis: 20%;
    }

    .text {
        flex: 0;
        /* top: 50%; */
        /* left: 50%; */
        transform: rotate(-2deg);
        display: block;
    }
}

.item:hover {
    background-color: rgba(0,120,213,0.3);
}

.c-0 {
    background-color: rgba(0,91,170,0.10);
}
.c-1 {
    background-color: rgba(0,91,170,0.20);
}
.c-2 {
    background-color: rgba(0,91,170,0.30);
}
.c-3 {
    background-color: rgba(0,91,170,0.40);
}
.c-4 {
    background-color: rgba(0,91,170,0.50);
}
.c-5 {
    background-color: rgba(0,91,170,0.60);
}
.c-6 {
    background-color: rgba(0,91,170,0.70);
}
.c-7 {
    background-color: rgba(0,91,170,0.80);
}
.c-8 {
    background-color: rgba(0,91,170,0.90);
}
.c-9 {
    background-color: rgba(0,91,170,1);
}