body {
  font-family: "Source Sans Pro", Tahoma, Verdana, Segoe, sans-serif;
}

.ptitle{
        font-size: x-large;
        padding: 5px;
}

.stats-cards__container {
  width: calc( 100%  - 10px );
  display: flex;
  flex-wrap: wrap;
  margins: 2px;
}

.stats-cards__item {
  font-size: 14pt;
  width: calc( 100%  - 10px );
  margins: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  background: #ecf3f8;
  border-radius: 5px;
  margin-bottom: 5px;
}

.stats-cards__number {
  width: calc( 100% * (2/7) - 10px );
  text-align: right;
  padding: 2px;
  font-weight: bold;
  color: #3d7aa9;
}

.stats-cards__label {
  width: calc( 100% * (5/7) - 15px );
  padding: 2px;
  margin-left: 10px;
  color: rgb(74,74,74)
}

.stats-cards__update-msg {
  font-size: large;
  font-weight: bold;
  text-transform: uppercase;
  margin: 10px 10px 0 10px;
  color: #5D5D5D;
}

.stats-links__container {
  width: calc( 100%  - 5px );
  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
}

.stats-links__label {
  padding-left: 10px;
}

.stats-links__item {
  width: calc( 100%  - 10px );
  font-size: smaller;
  border-radius: 5px;
  margin-top: 8px;
  padding: 10px 10px 10px 10px;
  background: #3d7aa9;
  color: white;

  justify-content: center;
  align-items: center;
  display: flex;
  line-height: 1;
  transition: all .2s ease-in-out;
  box-sizing: border-box;

  text-decoration: none;
  box-shadow: 0 4px 0 rgba(16,78,126, 1);
}

.k2olink {
	background-color: cyan;
	font-size: large;
	color: black;
}

@media only screen and (min-width: 740px ){
  .stats-cards__item {
    width: calc( 100% * (1/4) - 5px );
    border-radius: 5px;
    margin-right: 5px;
    margin-top: 5px;
  }
  .stats-cards__number {
    width: calc( 100%  - 15px );
    text-align: center;
    font-size: 150%;
    font-weight: bold;
    padding-top: 15px;
  }
  .stats-cards__label {
    width: calc( 100% - 15px );
    text-align: center;
    padding-bottom: 15px;
  }

  .stats-links__label {
//    width: calc( 100%  * (1/3) - 10px );
    margin: 0;
    padding-left: 10px;
  }

  .stats-links__container .stats-links__item {
    width: calc( 100%  * (1/4) - 10px );
    background: #3d7aa9;
    border-radius: 5px;
    margins: 0;
    margin-right: 5px;
    margin-left: 5px;
  justify-content: center;
  align-items: center;
  display: flex;
  line-height: 1;
  transition: all .2s ease-in-out;
  box-sizing: border-box;
    padding: 10px 10px 10px 10px ;
    box-shadow: 0 4px 0 rgba(16,78,126, 1);
  }

  .stats-links__item.full {
	flex: 4;
  }

  .stats-links__item.double-col {
	flex: 2;
  }
}
