.score-card {
  display: block;
  width: 275px;
  border: 1px solid;
  margin: 10px;
  text-decoration: none;

  .clickable:active, .clickable:hover, .clickable:focus {
    box-shadow: 1px 5px #888888;
    background-color: #e5e5e5;
    cursor: pointer;
  }

  .item {
    height: 300px;
    padding: 5px;

  }
  .title {
    font-size: 20px;
    text-align: center;
  }

  .description {
    ul > li {
      list-style-type: circle;
    }
  }
  .center {
    padding-top: 30px;
    text-align: center;
    img {
      margin: auto;

    }
  }

  .circle {
    display: block;
    height: 80px;
    width: 80px;
    border-radius: 50%;
    background-color: blue;
    margin-left: 35%;
    padding: 3px;
    img {
      margin: 2px;
      padding-top: 2px;
      padding-left: 4px;
    }
  }
  .notClickable {
    cursor: not-allowed;
  }
}

.score-card-new {
  text-align: center;
  position: relative;
  padding: 10px;
  background: #fff;
  width: 185px;
  height: 100px;
  cursor: pointer;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);

  @mixin color($rgba) {
    span {
      background: $rgba;
      &:after {
        box-shadow: 0 0 0 1px $rgba;
      }
    }
  }

  h3, p {
    margin: 0;
    font-family: $base-font-semibold;
    font-weight: normal;
  }
  p {
    font-size: $medium;
  }
  @media (min-width: 767px) {
    margin: 14px 20px 13px 20px;
  }
  h3 {
    font-size: $large;
    margin: 10px 0 0 0;
  }
  span {
    display: block;
    margin: 0 auto;
    padding: 0;
    width: 50px;
    height: 50px;
    text-align: center;
    position: relative;
    z-index: 1;
    background: #eee;
    @include border-radius(50%);
    i.icon-large {
      position: relative;
      left: 50%;
      top: 50%;
      display: block;
      -webkit-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
      height: 35px !important;
      width: 35px !important;
      -webkit-background-size: 35px 35px !important;
      background-size: 35px 35px !important;
    }
  }
  a {
    color: $c-black2;
    &:hover {
      text-decoration: none;
    }
  }
  span:after {
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    content: '';
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    top: -3px;
    left: -3px;
    padding: 3px;
    -webkit-transition: -webkit-transform 0.2s, opacity 0.2s;
    -moz-transition: -moz-transform 0.2s, opacity 0.2s;
    transition: transform 0.2s, opacity 0.2s;
    -webkit-transform: scale(.5);
    -moz-transform: scale(.5);
    -ms-transform: scale(.5);
    transform: scale(.5);
    opacity: 0;
  }
  &:hover {
    span:after {
      -webkit-transform: scale(1);
      -moz-transform: scale(1);
      -ms-transform: scale(1);
      transform: scale(1);
      opacity: 1;
    }
  }
  &.coming-soon {
    opacity: 0.6;
    overflow: hidden;
    cursor: not-allowed;
    h3,
    span {
      opacity: 1;
      transition: transform 0.3s, opacity 0.3s;
    }
    .score-card-info {
      transition: transform 0.5s, opacity 0.5s;
      position: absolute;
      left: 0;
      top: 0;
      opacity: 0;
      z-index: 10;
      width: 100%;
      height: 100%;
      padding: 10px;
      color: #fff;
      background: #ecfdff;
      -webkit-transform: translateX(-100%);
      -moz-transform: translateX(-100%);
      -ms-transform: translateX(-100%);
      transform: translateX(-100%);
      @include flexbox();
      flex-direction: column;
      justify-content: center;
      align-items: center;
      small {
        width: 40px;
        height: 40px;
        display: block;
        position: relative;
        i.icon-large {
          position: relative;
          left: 50%;
          top: 50%;
          display: block;
          -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
          height: 30px !important;
          width: 30px !important;
          -webkit-background-size: 30px 30px !important;
          background-size: 30px 30px !important;
        }
      }
      p {
        margin: 0 0 5px 0;
        color: $c-black2;
      }
    }
    &:hover {
      h3, span {
        opacity: 0;
      }
      .score-card-info {
        opacity: 1;
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
      }
    }
  }

  &.red {
    @include color(rgba(239, 83, 80, .50));
  }
  &.pink {
    @include color(rgba(255, 102, 204, .50));
  }
  &.yellow {
    @include color(rgba(255, 214, 0, .50));
  }
  &.blue {
    @include color(rgba(61, 90, 254, .50));
  }
  &.lightBlue {
    @include color(rgba(0, 145, 234, .50));
  }
  &.blueGray {
    @include color(rgba(38, 50, 56, .50));
  }
  &.green {
    @include color(rgba(55, 197, 171, .50));
  }
  &.lightGreen {
    @include color(rgba(118, 255, 3, .50));
  }
  &.purple {
    @include color(rgba(186, 104, 200, .50));
  }
  &.deepPurple {
    @include color(rgba(49, 27, 146, .50));
  }
  &.lightPurple {
    @include color(rgba(213, 0, 249, .50));
  }
  &.lime {
    @include color(rgba(192, 202, 51, .50));
  }
  &.orange {
    @include color(rgba(255, 112, 67, .50));
  }
  &.teal {
    @include color(rgba(100, 255, 218, .50));
  }
  &.cyan {
    @include color(rgba(38, 198, 218, .50));
  }
  &.brown {
    @include color(rgba(141, 110, 99, .50));
  }
  &.indigo {
    @include color(rgba(92, 107, 192, .50));
  }
  &.amber {
    @include color(rgba(251, 140, 0, .50));
  }
  &.danube {
    @include color(rgba(107, 156, 205, .49));
  }
  &.melrose {
    @include color(rgba(153, 153, 255, 1.00));
  }
  &.orangePeel {
    @include color(rgba(254, 153, 0, 1.00));
  }
  &.harlequin {
    @include color(rgba(62, 254, 15, 0.99));
  }
  &.downy {
    @include color(rgba(102, 204, 204, 0.50));
  }

  .score-card-category-new {
    margin: -10px !important;
    @include flexbox();
    justify-content: center;
    align-items: center;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
    height: 100px;
    cursor: default;
  }
}

.score-card-new-row {
  height: auto;
	padding: 20px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 40px;
	justify-items: center;
  background-color: #f2f2f2;
  @media (max-width: 1023px) { grid-template-columns: repeat(auto-fill, minmax(272px, auto)); }
  .score-card-new {
    float: left;
    margin: 0;
		padding: 20px;
		width: 272px;
		height: 146px;
		h3 { 
			margin-top: 15px; 
			font-size: 16px; 
		}
    span {
			width: 60px;
			height: 60px;
			position: relative; 
			i.icon-large {
				height: 45px !important;
				width: 45px !important;
				-webkit-background-size: 45px 45px !important;
				background-size: 45px 45px !important;
			}
      small {
				font-family: $base-font-bold;
				font-style: normal;
				position: absolute;
				top: 50%;
				left: 50%; 
				-webkit-transform: translate(-50%, -50%);
				transform: translate(-50%, -50%);
      }
    }
		&.score-card-new--alert {
			i.icon-large {
				height: 50px !important;
				width: 50px !important;
				-webkit-background-size: 50px 50px !important;
				background-size: 50px 50px !important;
			}
			span small { font-size: 14px; }
		}
  }
}

.score-card-wrapper {
  display: flex;
  justify-content: center;
  overflow: auto;
}

//to set background color in each module we will do something similar to this scope it to module
.score-card-new {
  .red {
    background: rgba(239, 83, 80, .50);
  }

  .blue {
    background: rgba(61, 90, 254, .50);
  }

  .purple {
    background: rgba(213, 0, 249, .50);
  }

  .paleblue {
    background-color: rgb(220, 237, 255)
  }
}