/*------------------------------------*\
    $HELPERS
    -> Extends, Functions, Mixins, Animations
\*------------------------------------*/

/*------------------------------------*\
    $PATTERN-INDEX
\*------------------------------------*/

body,
.page-wrapper {
  background: #f3f7fc;
}

.pattern-index-page {
  padding: 40px 0;
}

.pattern-index-page h1 {
  font-size: 34px;
  margin-bottom: 30px;
}

.pattern-index-page .index_page_group {
  background-color: white;
  -webkit-box-shadow: 0 2px 0px #d6dce3;
  box-shadow: 0 2px 0px #d6dce3;
  margin-bottom: 30px;
}

.pattern-index-page .index_page_group h2 {
  background: #2f3c48;
  color: white;
  font-size: 24px;
  padding: 12px;
  margin: 0;
}

.pattern-index-page .index_page_group li a {
  display: block;
  padding: 18px;
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #E1E1E1;
  text-decoration: none;
}

.pattern-index-page .index_page_group li a p {
  font-size: 16px;
  font-weight: normal;
  padding-top: 6px;
  color: #8d949b;
  font-style: italic;
  font-family: Georgia, serif;
}

.pattern-index-page .index_page_group li a small {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: normal;
  color: #50b9d6;
}

.pattern-index-page .index_page_group li a:hover {
  background: #a2ebff;
  color: white;
}

.pattern-index-page .index_page_group li a:hover p,
.pattern-index-page .index_page_group li a:hover small {
  color: white;
}

/* Demo Catalogue */

.demo-section .grouping-title {
  border-bottom: 1px solid;
  margin-bottom: 20px;
  padding-bottom: 8px;
}

.demo-section .sg-pattern {
  margin: 24px 0 36px;
  margin: 1.71429rem 0 2.57143rem;
}

.demo-section .example {
  padding: 12px;
  padding: 0.85714rem;
  margin-bottom: 12px;
  margin-bottom: 0.85714rem;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  background-color: #fffce5;
}

/* Demo GRID */

.demo-grid .gi {
  padding: 12px;
  padding: 0.85714rem;
  text-align: center;
  background-color: #efefef;
  border: 2px solid white;
}

.demo-section .section-head {
  border-bottom: 1px solid #2f3c48;
}

.demo-section article {
  padding: 12px 0;
  padding: 0.85714rem 0;
}