/**
 * This stylesheet is for styles you want to include only when the interface is being viewed within Pattern Lab.
 * This is helpful for displaying demo styles for grids, animations, color swatches, etc
 * It's also helpful for overriding context-specific styles like fixed or absolutely positioned elements
 * These styles will not be your production CSS.
 */

#patternlab-body,
#patternlab-html {
    background: white;
}

.sg-main {
    padding: 1em;
}

.sg-header {
    position: relative;
    top: 0;
    background: #333;
}

h2.sg-heading {
    margin-bottom: .5em;
    font-size: 1.2em;
    font-weight: normal;
}

.sg-header a {
    color: #fc3;
}

.sg-current-size,
.sg-input {
    color: #fff;
}

.sg-colors {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;

    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.sg-colors li {
    position: relative;
    max-width: 150px;
    min-width: 125px;
    height: 150px;
    margin: 0 .5em .5em 0;
    border: 1px solid #ddd;
    border-radius: 0px;
    padding: 0;
    -webkit-box-flex: 1;
    -ms-flex: auto;
        flex: auto;
}

#atoms-secondary-colors .sg-colors li {
      height: 90px;
}

.sg-swatch {
    position: : absolute;
    display: block;
    width: 100%;
    height: 100%;
}

.sg-label,
.sg-hexvalue {
    position: absolute;
    display: block;
    width: 100%;
    text-align: center;
    font-size: 100%;
    line-height: 1;
}

.sg-label {
    top: 30%;
    transform: translateY(-30%);
}

.sg-hexvalue {
    top: 75%;
    transform: translateY(-75%);
}

.light-text {
    color: #fff;
}

.sg-subtype h2 {
    margin-top: 2.5em;
    text-transform: capitalize;
    font-size: 1.25em;
    clear: both;
}

.sg-subtype h2 a {
    color: #7a0019;
}

.sg-type-table {
    width: 100%;
}

.sg-type-table tr:nth-child(even) {
    background-color: #fff;
}

.sg-type-table tr:not(:last-child) {
    border-bottom: 1px dotted #d5d6d2;
}

.sg-type-table * {
    margin: 0;
}

.sg-body-width {
    width: 960px;
}

#sg-vp-wrap {
    top: 100px;
}


#sg-viewport {
    /* position: relative; */

}

#sg-gen-container,
#sg-vp-wrap {
    background-color: white;
}

.sg-nav-container,
.sg-controls {
    background-color: #333;
    height: 35px;
}

.sg-rightpull-container {
  display: none;
}



.sg-pattern-title a,
.sg-subtype a {
  border-bottom: 1px transparent solid;
}

 /*
 * WARNING: MODIFIED FROM SOURCE
 * =============================
 * - Removed references to #umn-main
 * - Maroon background of header expands past content
 * - Header contents are flush with left and right margins
 */

/* Alternate Header Styles */
/* Unit footer styles */

#patternlab-body div,
#patternlab-body header {
  box-sizing: border-box;
}

#patternlab-body html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
#patternlab-body body {
  margin: 0;
}
#patternlab-body .visually-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0 none;
}
#patternlab-body #umnhf-h.umnhf {
  position: static;
  z-index: auto;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  visibility: visible;
  float: none;
  clear: none;
  overflow: visible;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0 auto;
  padding: 0;
  text-align: left;
  white-space: normal;
  text-decoration: none;
  text-indent: 0;
  letter-spacing: normal;
  text-transform: none;
  border: none;
  background: none;
  font: normal normal normal 14px/20px Helvetica, "Helvetica Neue", "Futura", Verdana, "Geneva", sans-serif;
  line-height: 20px;
}
#patternlab-body .printer {
  display: none;
}
#patternlab-body #skipLinks a {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  color: #7a0019;
  font-family: Arial, sans-serif;
  font-size: 14px;
}
#patternlab-body #skipLinks a:focus {
  width: 110px;
  height: auto;
  background-color: white;
  border-bottom-right-radius: 0.4em;
  border-bottom-left-radius: 0.4em;
  padding: 0.2em;
  border: 1px solid #000;
  border-top: none;
  position: fixed;
  top: 0;
  left: 50%;
  margin-left: -55px;
  text-align: center;
  z-index: 9999;
}
@media screen and (max-width: 100%) {
  #patternlab-body #umnhf-h.umnhf {
    width: 100%;
    margin: 0;
  }
}
@media print {
  #patternlab-body #umnhf-h.umnhf {
    width: 100%;
    margin: 0;
  }
  #umnhf-h .umnhf {
    padding: 0 15px;
    background-color: #fff;
  }
  #patternlab-body .printer {
    display: block;
    width: 100%;
    background-color: #fff;
  }
  #patternlab-body .printer .right {
    padding-bottom: 10px;
    text-align: right;
  }
  #patternlab-body .printer .left {
    float: left;
  }
  #patternlab-body .printer .left:after {
    content: url(../img/sprites/tc/D2D-print.png);
  }
  #patternlab-body #umnhf-h .umnhf {
    display: none;
  }
}
#patternlab-body #umnhf-h {
  zoom: 1;
}
#patternlab-body #umnhf-h.umnhf {
  position: relative;
  min-height: 64px;
  background-color: #7a0019;
  margin: 0 auto;
  width: 100%;
  padding: 0 54px;
}
#patternlab-body #umnhf-h:before,
#patternlab-body #umnhf-h:after {
  display: table;
  content: "";
}
#patternlab-body #umnhf-h:after {
  clear: both;
}
#patternlab-body #umnhf-h a.umnhf:link,
#patternlab-body #umnhf-h a.umnhf:visited,
#patternlab-body #umnhf-h a.umnhf:hover,
#patternlab-body #umnhf-h a.umnhf:active {
  text-decoration: underline;
  color: #7a0019;
}
#patternlab-body #umnhf-h a.umnhf:hover {
  color: #669;
}
#patternlab-body #umnhf-h-mast {
  position: relative;
  min-height: 64px;
  margin: 0 auto;
  background: #7a0019;
  max-width: 100%;
}
#patternlab-body #umnhf-h-logo {
  display: block;
  float: left;
  overflow: hidden;
  width: 288px;
  height: 38px;
  margin: 13px 10px 13px 0;
  white-space: nowrap;
  text-indent: 100%;
  background-size: 288px 67px;
  background: transparent url("../img/sprites/tc/D2D-gld-wht.png") 0 0 no-repeat;
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 192dpi) {
  #patternlab-body #umnhf-h-logo {
    background: transparent url("../img/sprites/tc/D2D-gld-wht@2x.png") 0 0 no-repeat;
    background-size: 288px auto;
  }
}
#patternlab-body #umnhf-h-c.umnhf {
  position: relative;
  top: -7px;
  display: block;
  clear: both;
  width: 40%;
  margin: -5px 0 5px 0;
  list-style-type: none;
}
#patternlab-body #umnhf-h-c.umnhf li {
  display: inline-block;
  padding: 0 15px;
  text-align: center;
}
#patternlab-body #umnhf-h-c.umnhf li a {
  text-decoration: none;
  color: #fff;
  font-weight: 300;
}
#patternlab-body #umnhf-h-c.umnhf li a:hover,
#patternlab-body #umnhf-h-c.umnhf li a:active,
#patternlab-body #umnhf-h-c.umnhf li a:focus {
  text-decoration: underline;
}
#patternlab-body #umnhf-h-c.umnhf li a.home {
  font-weight: 600;
}
#patternlab-body #umnhf-h-ql {
  position: absolute;
  top: 8px;
  right: 0;
  width: auto;
  margin: 0;
  list-style-type: none;
  color: #fff;
  font-weight: 100;
}
#patternlab-body #umnhf-h-ql li {
  margin: 0;
  display: inline-block;
  margin-left: 1.25rem;
}
#patternlab-body #umnhf-h-ql li a {
  text-decoration: none;
  font-weight: 100;
  color: #fff;
}
#patternlab-body #umnhf-h-ql li a:hover,
#patternlab-body #umnhf-h-ql li a:active, #patternlab-body
#umnhf-h-ql li a:focus {
  text-decoration: underline;
}
#patternlab-body #umnhf-h-ql span {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: transparent url("../img/sprites/lock-search-wht.png") 0 0 no-repeat;
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 192dpi) {
  #patternlab-body #umnhf-h-ql span {
    background: transparent url("../img/sprites/lock-search-wht.png") 0 0 no-repeat;
    background-size: 22px 34px;
    background-position: 0 0;
  }
}
#patternlab-body #umnhf-m-search {
  display: none;
}
#patternlab-body #umnhf-h-search {
  position: absolute;
  top: 34px;
  right: 54px;
  width: 249px;
  height: 22px;
}
#patternlab-body #umnhf-h-search label.umnhf {
  display: none;
}
#patternlab-body .mobile input[type="text"] {
  -webkit-appearance: none;
  -moz-border-radius: 0;
  border-radius: 0;
}
#patternlab-body #umnhf-h-st {
  position: absolute;
  right: 30px;
  width: 175px;
  height: 22px;
  padding-left: 3px;
  cursor: text;
  color: #8a8a8a;
  border: 0;
  background-color: #fff;
  font-size: 0.77778rem;
  line-height: 18px;
  -webkit-appearance: none;
  -moz-border-radius: 0;
  border-radius: 0;
}
#patternlab-body #umnhf-h-sb {
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden;
  width: 22px;
  height: 22px;
  cursor: pointer;
  white-space: nowrap;
  color: #7a0019;
  border: 0;
  font: bold 0.925em/1.35em arial, helvetica, clean, sans-serif;
  background: transparent url("../img/sprites/lock-search-wht.png") 0 -12px no-repeat;
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 192dpi) {
  #patternlab-body #umnhf-h-sb {
    background: transparent url("../img/sprites/lock-search-wht.png") 0 -12px no-repeat;
    background-size: 22px 34px;
  }
}
@media (max-width: 775px) {
  #patternlab-body #umnhf-h.umnhf {
    padding: 0 17px;
  }
  #patternlab-body #umnhf-h-ql {
    display: none;
  }
  #patternlab-body #umnhf-h-search {
    right: 17px;
  }
}
@media screen and (max-width: 674px) {
  #patternlab-body #umnhf-h-search {
    width: 184px;
  }
}
@media all and (max-width: 609px) {
  #patternlab-body #umnhf-h-mast {
    height: 35px;
    min-height: 50px;
  }
  #patternlab-body #umnhf-h-logo {
    margin: 17px 0 0;
  }
  #patternlab-body #umnhf-h-cl,
  #patternlab-body #umnhf-h-ql {
    display: none;
  }
  #patternlab-body #umnhf-h-search {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: 226px;
    margin: 10px 0 10px 17px;
  }
  #patternlab-body #umnhf-h-mast {
    position: relative;
    height: 50px;
    background-position: left bottom;
  }
  #patternlab-body #umnhf-h-logo {
    display: block;
    background-position: 0 -38px;
    height: 29px;
    width: 246px;
  }
  #patternlab-body #umnhf-h-search.mobile {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: 225px;
    height: 30px;
    margin: 10px 0 5px 17px;
  }
  #patternlab-body #umnhf-h .umnhf-m-cancel {
    color: #404d5b;
  }
  #patternlab-body #umnhf-h-st {
    display: block;
    width: 192px;
  }
  #patternlab-body #umnhf-h-sb {
    right: 0;
    display: block;
  }
}
@media all and (max-width: 380px) {
  #patternlab-body #umnhf-m-search .mobile {
    position: absolute;
    top: 13px;
    right: 10px;
    left: auto;
    width: auto;
    height: auto;
    -moz-border-radius: 4px;
    border-radius: 4px;
  }
  #patternlab-body #umnhf-m-search {
    right: 10px;
  }
}
#patternlab-body #umnhf-alt.umnhf {
  min-height: 184px;
}
#patternlab-body #umnhf-alt.umnhf #umnhf-alt-sn {
  float: left;
}
#patternlab-body #umnhf-alt-sn {
  width: 70%;
  padding-left: 54px;
}
#patternlab-body #umnhf-alt-sn h2 {
  margin: 35px 0 0 0;
  padding: 0;
  color: #404d5b;
}
#patternlab-body #umnhf-alt-sn p {
  margin: 0 0 15px 0;
  padding: 0;
  color: #8a8a8a;
}
#patternlab-body #umnhf-alt-sn {
  width: 100%;
  padding-left: 17px;
}
#patternlab-body #umnhf-alt-sn p {
  margin: 0 0 35px 0;
}
#patternlab-body #umnhf-alt-n {
  display: block;
  width: 100%;
  background-color: #f0efee;
}
#patternlab-body #umnhf-alt-n ul {
  display: table;
  margin: 0;
  padding: 0;
  table-layout: fixed;
  list-style-type: none;
  text-align: center;
}
#patternlab-body #umnhf-alt-n ul li {
  display: inline-block;
  display: table-cell;
  width: 2%;
}
#patternlab-body #umnhf-alt-n ul a {
  display: inline-block;
  box-sizing: border-box;
  width: 100%;
  font-weight: 300;
  padding: 0 0.5em;
  line-height: 36px;
}
#patternlab-body #umnhf-alt-n ul a:link,
#patternlab-body #umnhf-alt-n ul a:active {
  -webkit-transition: background-color 0.3s, border-color 0.3s;
  transition: background-color 0.3s, border-color 0.3s;
  text-decoration: none;
  color: #404d5b;
  border-bottom: none;
  font-size: 16px;
}
#patternlab-body #umnhf-alt-n ul a:visited {
  color: #404d5b;
}
#patternlab-body #umnhf-alt-n ul a:hover, #umnhf-alt-n ul a:focus {
  background-color: #dbdbdb;
}
#patternlab-body #umnhf-alt-n ul a.active {
  color: #7a0019;
  font-weight: 500;
  background-color: #f0efee;
}
#patternlab-body #umnhf-alt-n ul a.active:hover {
  background-color: #dbdbdb;
}
#patternlab-body .display-after-menu-collapse.umnhf {
  display: none;
}
@media (max-width: 775px) {
  #patternlab-body .display-after-menu-collapse.umnhf {
    display: block;
    width: 100%;
    cursor: pointer;
    text-align: center;
    color: #fff;
    background-color: #404d5b;
  }
}
@media screen and (max-width: 100%) {
  #patternlab-body #umnhf-alt.umnhf {
    width: 100%;
    padding: 0;
  }
  #patternlab-body #umnhf-alt-sn,
  #patternlab-body #umnhf-alt-n {
    width: 100%;
  }
}
@media (max-width: 775px) {
  #patternlab-body #umnhf-alt.umnhf {
    min-height: auto;
  }
  #patternlab-body #umnhf-alt-sn {
    padding-left: 17px;
    width: 100%;
  }
  #patternlab-body #umnhf-alt-n {
    display: none;
    float: none;
    width: 100%;
    height: auto;
    padding: 0;
  }
  #patternlab-body #umnhf-alt-n ul {
    width: 100%;
    height: auto;
    margin: 0;
  }
  #patternlab-body #umnhf-alt-n ul li {
    display: block;
    width: 100%;
    text-align: center;
  }
  #patternlab-body #umnhf-alt-n ul li:nth-child(odd) {
    background-color: #f9f9f9;
  }
  #patternlab-body #umnhf-alt-n ul a {
    line-height: 40px;
  }
}
#patternlab-body #umnhf-uf-ul {
  width: 100%;
  padding-right: 54px;
}
#patternlab-body #umnhf-uf-ul ul {
  float: right;
  margin: 0;
  padding: 30px 0 5px 0;
  list-style-type: none;
  text-align: right;
}
#patternlab-body #umnhf-uf-ul ul li {
  line-height: 1.5rem;
}
@media (max-width: 775px) {
  #patternlab-body #umnhf-uf-ci,
  #patternlab-body #umnhf-uf-sm {
    padding-left: 17px;
  }
  #patternlab-body #umnhf-uf-ul {
    padding-right: 17px;
  }
}
@media all and (max-width: 609px) {
  #patternlab-body #umnhf-uf-ci,
  #patternlab-body #umnhf-uf-ul,
  #patternlab-body #umnhf-uf-sm {
    display: block;
    float: none;
    width: 100%;
  }
  #patternlab-body #umnhf-uf .umnhf-uf-sub {
    float: none;
  }
  #patternlab-body #umnhf-uf-ul {
    position: relative;
  }
  #patternlab-body #umnhf-uf-ul ul {
    padding-top: 0;
  }
  #patternlab-body #umnhf-uf-ul ul li {
    line-height: 3rem;
  }
  #patternlab-body #umnhf-uf-ul ul {
    float: none;
    padding-left: 17px;
    text-align: inherit;
  }
}

/* Adding this to show drop menus in Pattern Lab */
.site-header__main-menu {
  padding-bottom: 20em;
}

/* hide view all for atoms and molecules until the viewer issue get fixed */
a[href^="patterns/00-atoms/index.html"], a[href^="patterns/01-molecules/index.html"] {
  display: none;
}
