﻿body, html {
    padding:0;
    margin: 0;
    /*overflow: hidden;*/ /* HP MOD: disable for toolbar & scrolling */
    height: 100%;
    font-family: "Helvetica Neue", Helvetica, Open Sans, Arial, sans-serif;
    font-size: 11pt;
}

.progress-bar {
    background-color: #BF1E2D;
    color: #BF1E2D;
}

body {
    /*overflow: auto;*/ /* HP MOD: disable for toolbar & scrolling */
}

.tile {
    width: 100%;
    display: inline-block;
    box-sizing: border-box;
    background: rgba(255,255,255,0.8); /*#5133ab;*/
    color: #000;
    padding: 20px;
    margin-bottom: 10px;
    min-height: 128px;
}

    .tile:hover {
        background-color: #BF1E2D;
        color: #FFF;
    }

a.tile {
    text-decoration: none;
}

.tile h3 {
    margin-top: 0px;
}

.tile h5 {
    font-style: italic;
}


.tile.tile1, .tile.tile2, .tile.tile3, .tile.tile4, .tile.tile5 {
    color: #fff;
}

.tile.tile1 {
    background: rgba(170,0,255,0.4); /*#5133ab;*/
}

.tile.tile2 {
    background: rgba(255,109,0,0.4);
}

.tile.tile3 {
    background: rgba(48,79,254,0.4);
}

.tile.tile4 {
    background: rgba(0,191,165,0.4);
}

.tile.tile5 {
    background: rgba(0,191,165,0.4);
}

/* Start of Kendo-nova-theme-custom*/
.k-grid td {
    padding: 6px 1.286em;
}
/* End of Kendo-nova-theme-custom*/

/* Horizontal - Vertical Center => Src: https://stackoverflow.com/questions/22196587/how-to-center-align-vertically-the-container-in-bootstrap */
.body-container {
    position: relative;
    height: 100%;
    width: 100%;
}

    .container-center,
    .body-container .child-container.center {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

/* within mobile viewport */
@media only screen and (max-device-width : 480px) {
    .container-center {
        position: initial;
        transform: initial;
    }
}

/* Horizontal - Vertical Center => Src: https://jsfiddle.net/y69tbpk2/3/ => NOT WORK */
.body-container1 {
    display: table;
    position: absolute;
    height: 100%;
    width: 100%;
}

    .body-container1 .child-container.center {
        display: table-cell;
        vertical-align: middle;
    }

/* Horizontal - Vertical Center 
    => Src: https://stackoverflow.com/questions/22196587/how-to-center-align-vertically-the-container-in-bootstrap 
    => NOT WORK 
*/
.body-container2 {
    height: 100%;
    margin: 0;
    padding: 0;
}

.root-container {
    height: 100%;
    display: table;
    width: 100%;
    padding: 0;
}

    .root-container .row-fluid {
        height: 100%;
        display: table-cell;
        vertical-align: middle;
    }

    .root-container .centering {
        float: none;
        margin: 0 auto;
    }

/* Horizontal - Vertical Center => Src: http://jsfiddle.net/hashem/ut5sbqvz/ => TEMPORARY ACCEPTED */
.body-container3 {
    height: 100%;
}

    .body-container3 .child-container.vertical-center {
        margin-bottom: 0; /* Remove the default bottom margin of .jumbotron */
    }

    .body-container3 .vertical-center {
        min-height: 100%; /* Fallback for vh unit */
        min-height: 100vh; /* You might also want to use
                        'height' property instead.
                        
                        Note that for percentage values of
                        'height' or 'min-height' properties,
                        the 'height' of the parent element
                        should be specified explicitly.
  
                        In this case the parent of '.vertical-center'
                        is the <body> element */
        /* Make it a flex container */
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        /* Align the bootstrap's container vertically */
        -webkit-box-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        /* In legacy web browsers such as Firefox 9
     we need to specify the width of the flex container */
        width: 100%;
        /* Also 'margin: 0 auto' doesn't have any effect on flex items in such web browsers
     hence the bootstrap's container won't be aligned to the center anymore.
  
     Therefore, we should use the following declarations to get it centered again */
        -webkit-box-pack: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
    }
