/*******************************************************************************
 * Licensed Materials - Property of IBM
 * (c) Copyright IBM Corporation 2018, 2019. All Rights Reserved.
 *
 * US Government Users Restricted Rights - Use, duplication or disclosure 
 * restricted by GSA ADP Schedule Contract with IBM Corp.
 *******************************************************************************/
@import 'node_modules/carbon-components/scss/globals/scss/_colors';
@import 'variables';


/* *********************  counts card ************************ */

.counts-card {
  display: flex;
  flex-direction: column;
  width: calc(#{$overview-column-width} * 156 - #{$overview-card-margin-right});
  position: relative;

  .card-toggle {
    position: absolute;
    margin-top: 15px;
    right: 15px;
    color: $color__blue-51;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255,255,255,0.8);
    padding: 3px 3px 0 3px;
    outline: none;
  }

  .provider-group-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 18px;

    .provider-group {
      padding: 14px 0;
      margin: 0 50px 0 0;
      display: flex;

      .provider-cell-container {

        .cell-title {
          height: 12px;
          font-size: 12px;
          margin: 0 28px;
        }

        .provider-cell {
          display: flex;
          flex-direction: column;
          margin: 10px 68px;
          border-top: 1px solid $color__gray-1;
          min-width: 5rem;
          > a {
            text-decoration:none;
            .counts-value:hover {
              color: $color__blue-51;
            }
            > div {
              padding-top: 10px;
            }
          }

          > div {
            padding-top: 10px;
          }
          .counts-value {
            font-size: 24px;
            color: black;
          }

          .counts-title {
            font-size: 12px;
          }
        }
      }

    }

    .count-divider {
      border:none;
      width:88px;
      height:80px;
      position:relative;

       &:after{
          content: '';
          position: absolute;
          border-top: 1px solid $color__gray-1;
          width: 100px;
          transform: rotate(-45deg);
          transform-origin: 100% 0;
          left: -40px;
          top: 5px;
       }
    }
  }

}
