
/*--------------
     Sidebar
---------------*/


#example .ui.sidebar.menu .item {
  will-change: transform;
}

#example .sidebar.menu .logo.image,
#example .ui.menu .logo.image {
  width: 100px;
  margin-right: 2px;
}

#example #toc > * {
  will-change: transform;
}
#example #toc > :last-child {
  padding-bottom: 2em;
}


#example #toc > .ui.menu {
  max-height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/* Incomplete Label */
#example #toc .item .circular.label {
  position: absolute;
  top: 0.75rem;
  right: 1em;
  opacity: 0.2;
  transition: background 0.3s ease;
}
#example #toc .item.active > .circular.label,
#example #toc .item:hover > .circular.label {
  opacity: 0.8;
}

/* Hidden Items */
#example #toc .hide.item {
  display: none;
}

/* Sidebar Header */
#example #toc .inverted.header {
  font-size: 1em;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5em;
}
#example #toc a.inverted.header.active,
#example #toc a.inverted.header:hover {
  color: rgba(255, 255, 255, 1);
}
#example #toc .menu .active.item {
  color: #FFF;
}


/*--------------
  Sidebar Button
---------------*/

#example .fixed.launch.button {
  display: none;
  position: fixed;
  top: 2.5em;
  left: 0px;

  width: 55px;
  height: auto;
  white-space: nowrap;
  overflow: hidden;
  -webkit-transition:
    0.3s width ease,
    0.5s transform ease
  ;
  -moz-transition:
    0.3s width ease,
    0.5s transform ease
  ;
  -o-transition:
    0.3s width ease,
    0.5s transform ease
  ;
  -ms-transition:
    0.3s width ease,
    0.5s transform ease
  ;
  transition:
    0.3s width ease,
    0.5s transform ease
  ;
}
#example .launch.button .icon {
  margin-left: 0px;
}


#example .fixed.launch.button .text {
  position: absolute;
  white-space: nowrap;
  top: auto;
  left: 54px;
  opacity: 0;
  -webkit-transition:
    0.3s opacity 0.3s
  ;
  -moz-transition:
    0.3s opacity 0.3s
  ;
  -o-transition:
    0.3s opacity 0.3s
  ;
  -ms-transition:
    0.3s opacity 0.3s
  ;
  transition:
    0.3s opacity 0.3s
  ;
}
#example .fixed.launch.button:hover {
  width: 130px;
}
#example .fixed.launch.button:hover .text {
  opacity: 1;
}

/* Position Change */
#example.pushable.left.overlay .fixed.launch.button {
  transform: translate3d(0, 0, 0);
}
#example.pushable.overlay.left.pushed .fixed.launch.button {
  transform: translate3d(260px, 0, 0);
}


/*******************************
        Alternate Layouts
*******************************/

/*----------------
   Wide Layout
-----------------*/

#example.wide .main.container {
  max-width: 1200px !important;
}

/*----------------
   Basic Layout
-----------------*/

#example.basic .fixed.menu > .container,
#example.basic .main.container,
#example.basic .masthead > .container {
  position: relative;
  width: 700px !important;
  left: 0px;
  margin-right: 4em !important;
}

#example.basic .main.container > .rail,
#example.basic .main.container > .tab > .rail {
  display: none !important;
}
#example .main.container .introduction p,
#example .main.container .tab > p,
#example .main.container .example > p,
#example .main.container > p {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.8);
}

/* Link Styles */
#example .main.container > p a,
#example .main.container > .tab > p a,
#example .main.container .example > .ignored a,
#example .main.container .example > p a  {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: top;
  z-index: 0;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
  outline: none;
}
#example .main.container > p a > code,
#example .main.container > .tab > p a > code,
#example .main.container .example > .ignored a > code,
#example .main.container .example > p a > code {
  background-color: rgba(0, 50, 100, 0.08);
}
#example .main.container > p a:before,
#example .main.container > .tab > p a:before,
#example .main.container .example > .ignored a:before,
#example .main.container .example > p a:before,
#example .main.container .code .value a:before {
  position: absolute;
  top: auto;
  bottom: 1px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #4183C4;
  content: '';
  -webkit-transition: all 0.2s;
  -webkit-backface-visibility: hidden;
  transition: all 0.2s;
  backface-visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
}

/* Not on UI */
#example .main.container .example > .ignored a.ui:before {
  display: none;
}

/* Hover */
#example .main.container > p a:hover > code,
#example .main.container > .tab > p a:hover > code,
#example .main.container .example > .ignored a:hover > code,
#example .main.container .example > p a:hover > code {
  background-color: rgba(0, 50, 100, 0.12);
}
#example .main.container > p a:hover:before,
#example .main.container > p a:focus:before,
#example .main.container > .tab > p a:hover:before,
#example .main.container > .tab > p a:focus:before,
#example .main.container .example > .ignored a:hover:before,
#example .main.container .example > .ignored a:focus:before,
#example .main.container .example > p a:hover:before,
#example .main.container .example > p a:focus:before,
#example .main.container .code .value a:hover:before  {
  background-color: #2C76BF;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

#example .ui.ad {
  max-width: 100%;
}

/*----------------
   Minimal Layout
-----------------*/


/* Always Hidden Sidebar */
#example.minimal.basic > .launch.button {
  display: block;
}
#example.minimal.basic .full.height > .toc {
  display: none;
}
#example.minimal.basic .full.height > .article {
  margin-left: 0px;
}
#example.minimal.basic .fixed.menu > .container,
#example.minimal.basic .main.container,
#example.minimal.basic .masthead > .container,
#example.minimal.basic .footer > .container {
  position: relative;
  width: 700px !important;
  left: 0px;
  margin-left: auto !important;
  margin-right: auto !important;
}
#example.minimal > .pusher > .footer {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media only screen and (max-width: 820px) {

  #example.minimal.basic .fixed.menu > .container,
  #example.minimal.basic .main.container,
  #example.minimal.basic .masthead > .container,
  #example.minimal.basic .footer > .container {
    width: auto !important;
    margin-left: 1em !important;
    margin-right: 1em !important;
  }
}




/*******************************
         Sidebar Layout
*******************************/

#example > .pusher > .full.height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
}
#example:not(.site) > .pusher > .full.height {
  background-color: #f5f5f5;
}

/* page layout */
#example .full.height > .toc {
  position: fixed;
  z-index: 1;
  background-color: #1b1c1d;
  width: 260px;
  height: 100%;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}
#example .full.height > .toc .ui.menu {
  border-radius: 0;
  border-width: 0 1px 0 0;
  box-shadow: none;
  margin: 0;
  width: inherit;
  overflow: hidden;
  will-change: transform;
  max-height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
#example .article {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  min-width: 0px;
  margin-left: 260px;
  margin-top: 10px;
  margin-right: 0px;
  margin-bottom: 10px;
}

#example .full.height > .toc .ui.menu::-webkit-scrollbar {
  -webkit-appearance: none;
}
#example .full.height > .toc .ui.menu::-webkit-scrollbar-track {
  background-color: rgba(255, 255, 255, 0);
}
#example .full.height > .toc .ui.menu::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0);
}

#example .full.height > .toc .ui.menu:hover::-webkit-scrollbar-track {
  background-color: rgba(255, 255, 255, 0.1);
}
#example .full.height > .toc .ui.menu:hover::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.25);
}

#example > .pusher > .footer,
#example .article > .footer {
  border-top: 1px solid #DDDDDD;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.08) inset;
  background-color: #FAFAFA;
  padding-top: 2em;
}



/*******************************
          Responsive
*******************************/

/* Defaults */
#example .masthead > .container,
#example .main.container,
#example .fixed.menu > .container {
  margin-left: 3em !important;
  margin-right: 3em !important;
  width: auto !important;
  max-width: 960px !important;
}
#example .masthead > .container {
  margin-right: 387px !important;
}
#example .main.container {
  margin-right: 387px !important;
}

/* Rail Default */
#example .main.container > .right.rail,
#example .main.container > .tab > .examples > .right.rail,
#example .main.container > .tab > .right.rail {
  margin-left: 3em;
  padding-top: 2em;
  width: 319px;
}

#example .masthead .advertisement {
  margin-left: 3em;
  padding: 0em 1.25em;
  width: 342px;
}

/* Absolute Ad */
#example .masthead .introduction {
  display: block;
}
#example .masthead .advertisement {
  position: absolute;
  left: 100%;
  bottom: -2px;
}

/* Remove Overview from pages with Examples */
@media only screen and (max-width: 1500px) {

  #example .fixed.column {
    right: auto;
    left: 100%;
    margin-left: 4.5em;
    width: 300px;
  }
  #example .fixed.column + .examples {
    margin-right: 0px;
  }
  #example .fixed.column + .examples .right.rail {
    display: none;
  }

}


/* Table Ad */
@media only screen and (max-width: 1272px) {

  #example .masthead > .container:first-child {
    display: flex;
    flex-direction: row;
  }
  #example .masthead > .container {
    margin-right: 2em !important;
    max-width: none !important;
  }
  #example .masthead .introduction {
    vertical-align: top;
    flex: 1 0 auto;
  }
  #example .masthead .advertisement {
    position: static;
    float: none;
    flex: 0 1 auto;
    vertical-align: bottom;
    padding-left: 0em;
    margin-left: 2rem;
    margin-top: -0.5rem;
    padding-right: 0em;
  }
  #example .bsa-cpc ._default_ {
    margin-right: 0px;
  }
}
.item > marquee {
    width: 69%;
  }
/* Squish Content (Just For Small Computers) */
@media only screen and (max-width: 1272px) {

  /* Resize TOC  */
  #example .full.height > .toc {
    width: 200px;
  }
  .btn-notifications {
    left: 160px !important;
  }
  .item > marquee {
    width: 55%;
  }
  #example .full.height > .toc > .menu > .first.item {
    text-align: center;
  }
  #example .article {
    margin-left: 200px;
  }
  #example .masthead > .container,
  #example .main.container,
  #example .fixed.menu > .container {
    margin-left: 2rem !important;
    margin-right: 2rem !important;
  }
  /* Resize Main Container */
  #example .main.container {
    margin-right: 318px !important;
  }

  .native-link {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .native-ad {
    right: 2rem;
  }

  /* Resize Rail */
  #example .main.container > .right.rail,
  #example .main.container > .tab > .examples > .right.rail,
  #example .main.container > .tab > .right.rail {
    padding-left: 1.5em;
    width: 260px;
  }

  #example .fixed.column {
    width: 250px;
    margin-left: 2.5em;
  }

}

/* Hide Top Bar */
@media only screen and (min-width: 1145px) {
  #example .fixed.main.menu {
    display: none;
  }
}

/* Remove Fixed Sidebar /  Show Top Bar */
@media only screen and (max-width: 1144px) {

  /* Hide Fixed Sidebar */
  #example .full.height > .toc {
    display: none;
  }
  #example .full.height > .article {
    margin-left: 0px;
    margin-top: 50px;
  }

  /* Hide Fixed Launch Button */
  #example .fixed.launch.button {
    display: none !important;
  }

  /* Additional Padding for Fixed Menu */
  #example .masthead.segment {
    padding-top: 5em;
  }

  /* Hide GitHub Stars in Intro */
  #example .masthead iframe {
    display: none;
  }

  /* Less Left Padding */
  #example .masthead > .container,
  #example .main.container,
  #example .fixed.menu > .container {
    margin-left: 2em !important;
  }

  /* Padding Above Rail */
  #example .main.container > .right.rail .sticky,
  #example .main.container > .tab > .examples > .right.rail .sticky,
  #example .main.container > .tab > .right.rail .sticky {
    padding-top: 2.5em;
  }

  /* 100% Menu Width */
  #example .fixed.menu > .container {
    margin-left: 0em !important;
    margin-right: 0em !important;
    width: 100% !important;
    max-width: none !important;
  }

  /* Remove Bug Reports */
  #example .main.menu .bug.item {
    display: none;
  }

  /* Hide Music *]/
  #example .main.menu .music.item {
    display: none;
  }

  /* Space For Header Over Examples */
  #example .fixed.column .sticky {
    padding-top: 2em;
  }

}

/* Remove Rail */
@media only screen and (max-width: 992px) {

  /* Remove Rail */
  #example .main.container > .right.rail,
  #example .main.container > .tab > .examples > .right.rail,
  #example .main.container > .tab > .right.rail {
    display: none;
  }

  /* Fluid Containers */
  #example .masthead > .container,
  #example .main.container,
  #example .fixed.menu > .container {
    margin-left: 1em !important;
    margin-right: 1em !important;
    max-width: none !important;
  }

  /* Still 100% Fixed Menu */
  #example .fixed.menu > .container {
    margin-left: 0em !important;
    margin-right: 0em !important;
    width: 100% !important;
    max-width: none !important;
  }

  /* Remove Padding on Ad */
  #example .masthead .advertisement {
    padding-right: 0em !important;
  }


}


@media only screen and (max-width: 820px) {

  /* Ad Takes Full Width */
  #example .masthead .introduction {
    display: block;
  }
  #example .masthead .advertisement {
    display: block;
    float: none;
    margin: 2em 0em 0em;
    padding-left: 0em;
    width: auto;
  }
  #example .masthead .advertisement #carbonads > span {
    position: relative;
    display: block;
    max-width: 300px;
  }

}

@media only screen and (max-width: 768px) {

  #example .masthead > .container:first-child {
    flex-direction: column;
  }
  #example .masthead .advertisement #carbonads {
    height: auto;
  }
  #example .masthead .advertisement {
    height: auto;
    margin: 1rem 0rem;
  }
  /* Hide Some Fixed Menu Content (Pagination, Search) */
  #example .fixed.menu > .container > .section.item {
    display: none;
  }
  #example .masthead.segment {
    padding-bottom: 0em;
  }

  #example.button-page .example > .button,
  #example.button-page .example .html > .button {
    margin-bottom: 8px;
  }
  #example .stackable.grid .ui.vertical.divider {
    display: none;
  }

  /* Add Sticky Footers */
  body.pushable > .pusher {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  }
  body.pushable > .pusher > .full.height {
  -webkit-box-flex: 1;
  -webkit-flex: 1 0 auto;
      -ms-flex: 1 0 auto;
          flex: 1 0 auto;
  }

  /* Ad Label */
  #example .bsa-cpc ._default_ {
    padding-left: 1em;
    padding-right: 1em;
  }

  /* Let Buttons Vertically Stack */
  #example .masthead .button {
    margin-bottom: 0.75em;
  }

  #example .masthead .main.menu {
    display: none;
  }
  #example .masthead .main.menu + .main.menu {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }

  /* No Download Button */
  #example .masthead .download.button {
    display: none;
  }

  /* Hide Sitemap */
  #example .pusher > .footer .grid .three.column {
    display: none !important;
  }
}

/* Small Phone */
@media only screen and (max-width: 500px) {

  /* Stack Advert */
  #example .masthead .advertisement #carbonads > span {
    max-width: none;
  }
  #example .advertisement .carbon-wrap {
  -webkit-flex-direction: column-reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;

    text-align: center;
    align-items: center;
  }
  #example .carbon-poweredby {
    display: none;
  }

}


@media only screen and (max-width: 400px) {
  #example .full.height > .article { margin-left: 0px!important; margin-right: 0px; }
  .ui.inverted.menu .item { order:0; }
  .ui.inverted.menu .item:nth-child(3) { padding-left:0.7em; padding-right:0.7em; }
  .ui.inverted.menu .btn-notifications { left: 0!important; order:1; padding-left: 0.7em; padding-right: 1.1em; }
  .ui.inverted.menu .btn-notifications:before { display: none; }
  .ui.inverted.menu .item.right { order:2; padding-left: 0.6em; margin: 0!important; }
  .ui.menu .item > .floating.label { padding: 0.2em 0.3em; }
}