/*
  NICE Guide documentation styles
  Special styles for presenting NICE's documentation and examples
*/

pre {
  font-size: 13px;
  line-height: 18px;
}

section + section {
  margin-top: 48px;
}

/* Jumbotron
-------------------------------------------------- */

/* Base class
------------------------- */
.jumbotron {
  position: relative;
  padding: 11px 0;
  color: #ccc;
  text-align: center;
  background: #043c4d; /* Old browsers */
}


/* Pattern overlay
------------------------- */
.jumbotron .container {
  position: relative;
  z-index: 2;
}
.jumbotron:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: .4;
}


/* Masthead (docs home)
------------------------- */
.masthead {
  padding: 48px 0 72px;
  margin-bottom: 0;
}
.masthead h1 {
  color: #fafafb;
  font-size: 120px;
  line-height: 144px;
  letter-spacing: -2px;
}
.masthead p {
  font-size: 40px;
  font-weight: 200;
  line-height: 48px;
}

/* Textual links in masthead */
.masthead-links {
  list-style: none;
}
.masthead-links li {
  display: inline;
  padding: 0 12px;
}

/* Marketing section of Overview
-------------------------------------------------- */

.marketing {
  text-align: center;
  color: #5a5a5a;
  padding-bottom: 48px;
}
.marketing .marketing-byline {
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 300;
  color: #999;
}

.content-secondary .affix {
  top: 15px;
  width: 20%;
}

@media (max-width: 1200px) {

  .content-secondary .affix {
    width: 22.3%;
  }

}

@media (max-width: 767px) {

  .content-secondary .affix {
    top: auto;
    width: auto;
    position: relative;
  }

}

/* Responsive
-------------------------------------------------- */

/* Desktop
------------------------- */
@media (max-width: 980px) {
  /* Inline-block quick links for more spacing */
  .quick-links li {
    display: inline-block;
    margin: 5px;
  }
}

/* Tablet
------------------------- */
@media (max-width: 767px) {
  /* Widen masthead and social buttons to fill body padding */
  .jumbotron {
    padding: 40px 20px;
    margin-right: -20px;
    margin-left:  -20px;
  }
  .masthead h1 {
    font-size: 90px;
  }
  .masthead p,
  .masthead .btn {
    font-size: 24px;
  }
  .marketing .span4 {
    margin-bottom: 40px;
  }
}

/* Landscape phones
------------------------- */
@media (max-width: 480px) {
  /* Change up some type stuff */
  h2 small {
    display: block;
  }

  /* Downsize the jumbotrons */
  .jumbotron h1 {
    font-size: 45px;
  }
  .jumbotron p,
  .jumbotron .btn {
    font-size: 18px;
  }
  .jumbotron .btn {
    display: block;
    margin: 0 auto;
  }

  /* Marketing on home
  .marketing h1 {
    font-size: 30px;
  }
  .marketing-byline {
    font-size: 18px;
  } */
}


/* Code examples
-------------------------------------------------- */

/* Base class */
.guide-example {
  position: relative;
  margin: 12px 0;
  padding: 23px;
  background-color: #fff;
  border: 1px solid #ddd;
  max-width: 600px;
}

/* Echo out a label for the example */
.guide-example:after {
  content: "Example";
  position: absolute;
  top: -1px;
  left: -1px;
  padding: 0 7px;
  font-size: 11px;
  font-style: italic;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  color: #9da0a4;
}

.guide-example + .prettyprint {
  margin-top: -13px;
  padding-top: 13px;
}

.guide-helper-seperate > * {
  margin-top: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid #eee;
}

.guide-helper-seperate > :first-child {
  margin-top: 0;
}

.guide-helper-seperate > :last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.guide-helper-tighten > * {
  margin-top: 0;
  margin-bottom: 0;
}


/* Special grid styles
-------------------------------------------------- */

.grid-example {
  margin-top: 15px;
  margin-bottom: 15px;
}

.show-grid {
  margin-top: 5px;
  margin-bottom: 5px;
}
.show-grid [class*="span"] {
  background-color: #eee;
  text-align: center;
  min-height: 40px;
  line-height: 40px;
}
.show-grid [class*="span"]:hover {
  background-color: #ddd;
}
.show-grid .show-grid {
  margin-top: 0;
  margin-bottom: 0;
}
.show-grid .show-grid [class*="span"] {
  margin-top: 5px;
}
.show-grid [class*="span"] [class*="span"] {
  background-color: #ccc;
}
.show-grid [class*="span"] [class*="span"] [class*="span"] {
  background-color: #999;
}


/* Special grid styles
-------------------------------------------------- */

.glyph {
  float: left;
  text-align: center;
  background: #eee;
  padding: .75em;
  margin: .75em 1.5em .75em 0;
  width: 7.5em;
  border-radius: .25em;
  box-shadow: inset 0 0 0 1px #f8f8f8, 0 0 0 1px #CCC;
}

.glyph input {
  font-family: consolas, monospace;
  font-size: .8em;
  width: 100%;
  text-align: center;
  border: 0;
  box-shadow: 0 0 0 1px #ccc;
  padding: .125em;
}

.fs1 {
  font-family: 'NICE.Glyphs';
  font-size: 2em;
  line-height: 2em;
  font-style: normal;
}

.box1 {
  display: inline-block;
  width: 15em;
  padding: .25em .5em;
  background: #eee;
  margin: .5em 1em .5em 0;
}



.toc .nav-list .nav-list {
    display: none;
}

.toc .nav-list > .active .nav-list {
    display: block;
}
