/* HOME PAGE SECTIONS
-------------------------------------------------- */
/*
 * Common Questions / Base Grid Styles
 */

.sccc-common-questions-section {
  background: url(../img/background/surface-sccc-table-1-min.jpg);
  background-size: cover;
  background-position: 50%;
  background-attachment: fixed;
}

.sccc-common-questions-nav {
  background: url(../img/inset/table-inset-2-min.jpg);
  background-size: cover;
}

.sccc-grid-boxes article {
  padding: 30px;
  text-align: left;
  opacity: .9;
  transition: all 0.1s ease;
}

.sccc-grid-boxes article:nth-child(1),
.sccc-grid-boxes article:nth-child(3),
.sccc-grid-boxes article:nth-child(5),
.sccc-grid-boxes article:nth-child(7),
.sccc-grid-boxes article:nth-child(9),
.sccc-grid-boxes article:nth-child(11) {
  background: #001489;
}

.sccc-grid-boxes article:nth-child(2),
.sccc-grid-boxes article:nth-child(4),
.sccc-grid-boxes article:nth-child(6),
.sccc-grid-boxes article:nth-child(8),
.sccc-grid-boxes article:nth-child(10),
.sccc-grid-boxes article:nth-child(12) {
  background: #545454;
}

.sccc-grid-boxes article .icon {
  font-size: 70px;
  min-width: 100px;
  text-align: center;
  padding: 10px 0;
  opacity: .95;
}

.sccc-grid-boxes article h3 {
  font-weight: bold;
}

.sccc-grid-boxes article h3,
.sccc-grid-boxes article a{
  color: #f8f9fa;
}

.sccc-grid-boxes article ul {
  padding-left: 0;
}

.sccc-grid-boxes article ul li {
  list-style: none;
}


/*
 * Help Section
 */

.sccc-help-nav {
  background: url(../img/inset/meeting-around-table-1-min.jpg);
  background-size: cover;
}

.sccc-help-nav a:hover,
.sccc-help-nav a:hover * {
  text-decoration: none;
}

.sccc-help-nav a:hover h3 {
  text-decoration: underline;
}

.sccc-help-nav .icon,
.sccc-help-nav .sccc-box-wrapper,
.sccc-services-nav .icon,
.sccc-services-nav .sccc-box-wrapper {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 0;
}


/*
 * Training Section
 */

.sccc-training-section {
  background: url(../img/background/training-at-suffolk-1-min.jpg);
  background-size: cover;
  background-position: 50%;
  background-attachment: fixed;
}

.sccc-inset-image-1 {
  width: 100%;
  height: auto;
  display: block;
}

.sccc-training-icons-nav {
  padding: 5vw;
  justify-content: center;
  max-width: 1800px;
  margin: 0 auto;
}

.sccc-training-icons-nav a {
  padding: 10px 30px;
  transition: all 0.1s ease;
}

.sccc-training-icons-nav a:hover {
    transform: scale(1.05);
}

.sccc-training-icons-nav a:not(:hover) {
  color: #343a40;
}

.sccc-training-icons-nav a span {
  display: block;
  background: #545454;
  border-radius: 50%;
}

.sccc-training-icons-nav a img {
  width: 50%;
  margin: 20% 0;
}

.sccc-training-icons-nav a h3 {
  font-weight: bold;
}

/* Popular Services */

.sccc-popular-services-section article:nth-child(1),
.sccc-popular-services-section article:nth-child(4),
.sccc-popular-services-section article:nth-child(5),
.sccc-popular-services-section article:nth-child(8),
.sccc-popular-services-section article:nth-child(9),
.sccc-popular-services-section article:nth-child(12) {
  background: #001489;
}

.sccc-popular-services-section article:nth-child(2),
.sccc-popular-services-section article:nth-child(3),
.sccc-popular-services-section article:nth-child(6),
.sccc-popular-services-section article:nth-child(7),
.sccc-popular-services-section article:nth-child(10),
.sccc-popular-services-section article:nth-child(11) {
  background: #545454;
}

.sccc-popular-services-section article h3,
.sccc-popular-services-section article a {
  font-size: 1.3rem;
}

/* Stats */

.sccc-stats-section {
  position: relative;
  background-color: #000;
  background-image: url(../img/background/motherboard-tinted-1.jpg);
  background-size: cover;
  background-position: 50%;
  background-attachment: fixed;
}

.sccc-stats-section .sccc-title-wrapper {
  position: absolute;
  list-style: none;
  top: 0;
  z-index: 1;
}

.sccc-stats-section .carousel-item {
    height: 33rem;
}

.sccc-stats-section .sccc-stat {
  font-weight: 600;
  font-size: 3.7rem;
  padding-right: .1em;

}

/* Extra small devices (portrait phones, less than 576px) */
/* No media query for `xs` since this is the default in Bootstrap */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .sccc-stats-section .carousel-item {
    height: 26rem;
  }

  .sccc-popular-services-section article h3,
  .sccc-popular-services-section article a {
    font-size: 1.8rem;
  }
}

/* Custom breakpoint, additional */
@media (min-width: 690px) {
  
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .sccc-grid-boxes article:nth-child(1),
  .sccc-grid-boxes article:nth-child(4),
  .sccc-grid-boxes article:nth-child(5),
  .sccc-grid-boxes article:nth-child(8),
  .sccc-grid-boxes article:nth-child(9),
  .sccc-grid-boxes article:nth-child(12) {
    background: #001489;
  }

  .sccc-grid-boxes article:nth-child(2),
  .sccc-grid-boxes article:nth-child(3),
  .sccc-grid-boxes article:nth-child(6),
  .sccc-grid-boxes article:nth-child(7),
  .sccc-grid-boxes article:nth-child(10),
  .sccc-grid-boxes article:nth-child(11) {
    background: #545454;
  }

  /* Help Section */

  .sccc-help-nav article:nth-child(1),
  .sccc-help-nav article:nth-child(3) {
    background: #001489;
  }

  .sccc-help-nav article:nth-child(2) {
    background: #545454;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .sccc-grid-boxes article {
    padding: 35px 45px;
  }

  .sccc-grid-boxes article:hover {
    transform: scale(1.05);
    opacity: 1;
    z-index: 1;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
  }

  .sccc-grid-boxes article .icon {
    font-size: 100px;
    min-width: 140px;
    text-align: center;
  }

  .sccc-training-icons-nav a:hover {
    color: #007bff;
    text-decoration: none;
  }

  /* Popular Services */

  .sccc-popular-services-section article:nth-child(1),
  .sccc-popular-services-section article:nth-child(3),
  .sccc-popular-services-section article:nth-child(6),
  .sccc-popular-services-section article:nth-child(8),
  .sccc-popular-services-section article:nth-child(9),
  .sccc-popular-services-section article:nth-child(11) {
    background: #001489;
  }

  .sccc-popular-services-section article:nth-child(2),
  .sccc-popular-services-section article:nth-child(4),
  .sccc-popular-services-section article:nth-child(5),
  .sccc-popular-services-section article:nth-child(7),
  .sccc-popular-services-section article:nth-child(10),
  .sccc-popular-services-section article:nth-child(12) {
    background: #545454;
  }

  .sccc-popular-services-section article h3,
  .sccc-popular-services-section article a {
    font-size: 1.4rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .sccc-popular-services-section article h3,
  .sccc-popular-services-section article a {
    font-size: 1.9rem;
  }

  .sccc-training-icons-nav {
    padding: 2vw 5vw;
    text-align: center;
  }

  .sccc-col-xxl-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
}