﻿.card-deck-header .card-body {
  margin: 10px 25px 25px 25px !important;
  padding: 0;
}

.card-title,
.first-card-text {
  font-size: 17px;
  line-height: 140%;
  letter-spacing: 0.8px;
  font-family: 'Lato-Bold';
}

.card-deck-header .card {
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.15);
  max-width: 275px;
}

.card-deck-header .card:hover {
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.5);
}

.card-deck-header .first-card:hover {
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.15);
}

.card-deck-header .first-card {
  background-image: url('img/ct-emissions-program-72x72.png');
}

.card-deck-header .first-card {
  background-repeat: no-repeat;
  background-size: 72px;
  background-color: #09538b !important;
  background-position-x: 162px;
  background-position-y: 8px;
  color: white;
}

.card-deck-header .first-card-text {
  color: white;
  text-align: left;
  padding: 12px 18px;
  font-weight: bold;
}

.card-deck-header .first-card p {
  color: white;
  position: relative;
  top: 100px;
  left: -4px;
}

.card-icon {
  color: #477faa !important;
  font-size: 44px;
}

.card-deck-header .card-icon:hover {
  color: #09538b;
}

section.step-3 > div > i {
  margin-right: 42px;
}

.card-selected {
  opacity: 0.96;
  background-color: #09538b !important;
}

.card-selected .card-title,
.card-selected .card-icon {
  color: white !important;
}

@media (min-width: 992px) {
  section.content,
  article.content {
    padding: 50px 100px;
  }

  .card-deck-header {
    margin-top: 20px;
    margin: 20px 20px 0 90px;
  }

  .card-deck-header .card-deck {
    margin: 0 !important;
  }

  .card-deck-header.card-deck-center {
    margin: 20px 0 0 0;
    width: 100% !important;
    max-width: 100% !important;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 992px) {
  section.content,
  article.content {
    padding: 12px 50px;
  }

  .card-deck-header {
    padding: 18px 12px 0 24px;
    display: block;
  }

  .card-deck-header .card-deck .card {
    margin-left: 3px !important;
    margin-right: 3px !important;
  }

  .card-deck-header.card-deck-center {
    margin: 20px 0 0 0;
    width: 100% !important;
    max-width: 100% !important;
    display: flex;
    justify-content: center;
  }
}

@media (min-width: 576px) {
  .card-deck-header .card-deck .card {
    min-height: 166px;
  }

  .card-deck {
    margin: auto;
  }

  .card-columns {
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
    column-gap: 0.8rem;
    orphans: 1;
    widows: 1;
  }

  .card-link,
  .card-link:hover {
    text-decoration: none;
    color: inherit;
  }
}

@media only screen and (min-width: 600px) {
  .card-deck {
    margin-bottom: 26px;
  }
}

@media only screen and (min-width: 1660px) {
  .card-deck {
    min-width: 870px;
  }
}

