﻿body {
}

.ui-grid-header-cell {
	display: none !important;
}

.no-side-padding {
    padding-right: 0;
    padding-left: 0;
}

.no-side-margin {
    margin-left: 0;
    margin-right: 0;
}

md-grid-list md-grid-tile md-grid-tile-footer {
    top: 35px;
    background: none !important;
}

img.center {
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.gridDynamicTiles md-icon {
    width: 32px;
    height: 32px;
    float: left;
}

    .gridDynamicTiles md-icon svg {
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
    }

    .gridDynamicTiles md-icon.fa {
        display: block;
        padding-left: 0;
    }

    .gridDynamicTiles md-icon.s32 span {
        padding-left: 8px;
    }

.gridDynamicTiles md-grid-list {
    min-width: 525px;
}

.gridDynamicTiles md-grid-tile {
    -moz-transition: all 300ms ease-out 50ms;
    -o-transition: all 300ms ease-out 50ms;
    -webkit-transition: all 300ms ease-out 50ms;
    transition: all 300ms ease-out 50ms;
}

    .gridDynamicTiles md-grid-tile md-grid-tile-footer {
        top: 40%;
    }

.gridDynamicTiles md-grid-tile-footer figcaption {
    width: 100%;
}

    .gridDynamicTiles md-grid-tile-footer figcaption h3 {
        margin: 0;
        font-weight: 700;
        font-size: 28px;
        width: 100%;
        color: #80171b !important;
        text-align: center;
        cursor: inherit;
    }

.gridDynamicTiles md-grid-tile-description span {
    color: black;
    text-align: center;
    font-size: 11pt;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: keep-all;
    word-break: keep-all;
    display: table;
}


@media screen and (max-width: 1680px) {
    .gridDynamicTiles md-grid-tile-description span {
        font-size: 10px;
    }
}


.gridDynamicTiles md-grid-tile md-grid-tile-description {
    top: 70%;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    align-items: center;
    height: 48px;
    color: rgb(255, 255, 255);
    position: absolute;
    left: 0px;
    right: 0px;
    overflow: hidden;
}

md-grid-list md-grid-tile {
    border: 1px solid #e8e7e7;
}

    md-grid-list md-grid-tile.indicators-featured:nth-child(2) {
        border-right: none;
        border-left: none;
    }

    md-grid-list md-grid-tile.indicators-featured:nth-child(1) {
        border-bottom: none;
    }

    md-grid-list md-grid-tile.indicators-featured:nth-child(1),
    md-grid-list md-grid-tile.indicators-featured:nth-child(4) {
        border-left: none;
    }

    md-grid-list md-grid-tile.indicators-featured .icon-img {
        width: 40px;
        height: 40px;
    }

    md-grid-list md-grid-tile.indicators-featured md-icon:nth-child(2),
    md-grid-list md-grid-tile.indicators-featured md-icon:nth-child(3) {
        margin: 0;
        left: 0;
        align-items: center;
        justify-content: center;
        top: 0;
        position: absolute;
        text-align: center;
        margin-top: -25%;
    }

    md-grid-list md-grid-tile.indicators-featured:nth-child(1) md-icon,
    md-grid-list md-grid-tile.indicators-featured:nth-child(4) md-icon {
        max-height: 50%;
        position: absolute;
        margin: 0;
        left: 0;
    }

    md-grid-list md-grid-tile.indicators-list md-grid-tile-description {
        top: 50% !important;
    }

    md-grid-list md-grid-tile.indicators-featured:nth-child(2) md-icon,
    md-grid-list md-grid-tile.indicators-featured:nth-child(3) md-icon,
    md-grid-list md-grid-tile.indicators-list md-icon {
        position: absolute;
        height: 45%;
        top: 0;
    }

    md-grid-list md-grid-tile.indicators-featured:nth-child(2) md-grid-tile-description span,
    md-grid-list md-grid-tile.indicators-featured:nth-child(3) md-grid-tile-description span,
    md-grid-list md-grid-tile.indicators-list md-grid-tile-description span {
        height: 100%;
        margin: 0 auto;
    }

    md-grid-list md-grid-tile.indicators-featured:nth-child(2) md-grid-tile-description,
    md-grid-list md-grid-tile.indicators-featured:nth-child(3) md-grid-tile-description {
        top: 65%;
        height: 50%;
    }

    md-grid-list md-grid-tile.indicators-list md-grid-tile-description {
        top: 58% !important;
        height: 50%;
    }

    md-grid-list md-grid-tile.indicators-featured:nth-child(2) md-icon .icon-img,
    md-grid-list md-grid-tile.indicators-featured:nth-child(3) md-icon .icon-img,
    md-grid-list md-grid-tile.indicators-list md-icon .icon-img {
        position: inherit !important;
        left: 0;
    }

.shortname {
    top: 15%;
    position: absolute;
    left: 0;
    margin: 0;
    font-weight: 700;
    width: 100%;
    text-align: center;
}

.cursor {
    cursor: pointer !important;
}

.indicators-featured-h3 {
    outline: 0;
}

md-grid-list md-grid-tile md-grid-tile-footer h3,
md-grid-list md-grid-tile md-grid-tile-header h3,
h3.shortname {
    font-size: 14pt;
    !important;
}

/* featured indicators */
md-grid-list md-grid-tile.indicators-featured:first-child h3.shortname,
md-grid-list md-grid-tile.indicators-featured:first-child md-grid-tile-footer,
md-grid-list md-grid-tile.indicators-featured:first-child md-grid-tile-description,
md-grid-list md-grid-tile.indicators-featured:first-child md-icon,
md-grid-list md-grid-tile.indicators-featured:last-child h3.shortname,
md-grid-list md-grid-tile.indicators-featured:last-child md-grid-tile-footer,
md-grid-list md-grid-tile.indicators-featured:last-child md-grid-tile-description,
md-grid-list md-grid-tile.indicators-featured:last-child md-icon {
    float: left;
    position: relative !important;
    align-items: center;
    justify-content: center;
    display: flex;
    height: 100%;
    top: 0;
    margin: 0 auto;
}

md-grid-list md-grid-tile.indicators-featured:first-child h3.shortname,
md-grid-list md-grid-tile.indicators-featured:first-child md-icon,
md-grid-list md-grid-tile.indicators-featured:last-child h3.shortname,
md-grid-list md-grid-tile.indicators-featured:last-child md-icon {
    width: 25%;
}


md-grid-list md-grid-tile.indicators-featured:first-child md-grid-tile-footer,
md-grid-list md-grid-tile.indicators-featured:first-child md-grid-tile-description,
md-grid-list md-grid-tile.indicators-featured:last-child md-grid-tile-footer,
md-grid-list md-grid-tile.indicators-featured:last-child md-grid-tile-description {
    width: 35%;
}

md-grid-list md-grid-tile.indicators-featured:first-child md-grid-tile-description,
md-grid-list md-grid-tile.indicators-featured:last-child md-grid-tile-description {
    width: 40% !important;
    margin: 0 auto;
}

.icon-img {
    display: block;
    margin: 0 auto;
    position: absolute;
}

md-grid-list md-grid-tile.indicators-list h3.shortname {
    top: 0;
    width: 100%;
    height: 40%;
    vertical-align: top;
    align-items: center;
    justify-content: center;
    display: flex;
}

md-grid-list md-grid-tile.indicators-list md-grid-tile-footer,
md-grid-list md-grid-tile.indicators-list md-grid-tile-description {
    top: 20%;
    width: 100%;
    height: 50%;
    vertical-align: middle;
}

.indicators-grid {
    min-width: 525px;
}

.more-data {
    padding-top: 10px;
    display: inline-flex;
    color: rgba(68,68,68,.7) !important;
    font-weight: 500;
    font-family: 'Lato Bold', sans-serif;
}


.icon-img, .gridDynamicTiles md-icon, md-grid-list md-grid-tile.indicators-featured .icon-img{
    width:40px;
    height:auto;
    max-width:100%;
}

@media screen and (max-width: 1260px) {
    .icon-img, .gridDynamicTiles .md-icon, md-grid-list md-grid-tile.indicators-featured .icon-img{
        width:40px;
        height:auto;
    }
}

@media screen and (max-width: 1024px) {
    .icon-img,.gridDynamicTiles .md-icon, md-grid-list md-grid-tile.indicators-featured .icon-img {
        width:30px;
        height:auto;
    }

 
	#dynamicGrid{
		display: none !important;
	}
	
	#gridList{
		display: block !important;
	}
}

	#dynamicGrid{
		display: block;
	}
	
	#gridList{
		display: none;
	}


@media screen and (max-width: 640px) {
    .icon-img, .gridDynamicTiles .md-icon, md-grid-list md-grid-tile.indicators-featured .icon-img{
        width:25px;
        height:auto;
    }
}


@font-face {
    font-family: 'Lato-Light';
    src: url('../fonts/Lato-Light.ttf') format('truetype');
}

.grid75{
	width: 75px;
}

.center-cell{
  display:flex;
  justify-content:center;
  align-items:center;
}

.center{
  display:flex;
  justify-content:center;
  align-items:center;
}

/*override*/
div.ui-grid-cell-contents{
  justify-content:center;
  align-items:center;
  padding-left: 0;
}

.ui-grid-top-panel{
  background: #F4F3F3 !important;
}

.ui-grid-viewport{
  overflow-y: scroll !important;
  overflow-x: auto !important;
}

.ui-grid-header-cell-primary-focus{
  height: 40px !important;
  line-height: 40px; /*same as height for align bottom*/
}

.ui-grid-cell{
  justify-content:center;
  align-items:center;
  border-right: none !important;
  border-left: none !important;
}

.left-cell{
  display:flex;
  justify-content:flex-start;
  align-items:center;
}

.grid-header { 
    background: #F4F3F3;
    color: #222222;
    font-weight: bold;
}

.ui-grid-header{
  border-bottom: 2px solid #d4d4d4 !important;
}

.ui-grid-header-cell, .ui-grid-header-cell-row{
  border:none !important;
}

.ui-grid-row{
   border-bottom: 1px solid #d4d4d4 !important;
   -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.ui-grid-row:nth-child(odd):hover, .ui-grid-row:nth-child(even):hover {
  background-color: #ECEBEC !important;
}
 
/*.ui-grid-cell-contents-center{
  font-family:Lato-Light;
}*/

.ui-grid-cell-focus {
  outline: 0;
  background-color: #b3c4c7;
}

.document-btn, .document-btn:not(:active){
  background-color: white;
  border-bottom: 1px solid #d4d4d4;
  width: 70px;
  height: 25px;
  padding: 0 !important;
}

.ui-grid-sort-priority-number{
	display: none !important;
}

.ui-grid-viewport{
	height: 100% !important;
	overflow-y: hidden !important;
}

.ui-grid{
	height: 100% !important;
	border: none !important;
}

.ui-grid-canvas{
	height: 100% !important;
}

.indicator-value{
	margin: 0;
    font-weight: 700;
    font-size: 28px;
    width: 100%;
    color: #80171b !important;
    text-align: left;
    cursor: inherit;
}

.indicator-text{
	color: black;
    text-align: center;
    font-size: 12pt;
}

@media screen and (max-width: 1024px) {
   
    .indicator-text {
        color: black;
        text-align: left;
        font-size: 11pt;
    }
}