/********** SLIDER **********/
.background-slider {
 background-image:url(../image-files/androidwebsimulator-302x570.png);
 float:left; width:302px; height:570px; margin-right:20px;}
.slider {
  max-width: 250px;
  margin: 0px auto 0px auto;
  z-index:100;
  }
.slide-viewer {
    position: relative; /* needed for IE7 */
    top:116px;
    overflow: hidden;
    height: 370px;
    left:1px;}

.slide-group {
    width: 250px;
    height: 370px;
    position: relative;
    max-width: 302px;
      }

.slide {
    width: 100%;
    height: 100%;
    display: none;
    position: absolute;}

.slide:first-child {
    display: block;}


/********** BUTTONS **********/
.slide-buttons {
  text-align: center;
}

.slide-btn {
  border: none;
  background: none;
  color: #0099ff;
  font-size: 200%;
  line-height: 0.5em;
  z-index:101;

  margin-top:120px;}

.slide-btn.active, .slide-btn:hover {
  color: #ffff99;
  cursor: pointer;}
  #bwt-toc-container {
    font-family: Arial, sans-serif;
    z-index: 1000;
    border: 1px solid rgba(127, 127, 127, 1);
    background-color : #f4f4f4 ;
background: -webkit-linear-gradient(top,rgba(255, 255, 255, 1) 0%, rgba(200, 200, 200, 1) 100%);    
-moz-border-radius:20px 20px 20px 20px;
-webkit-border-radius:20px 20px 20px 20px;
border-radius: 20px 20px 20px 20px;
    -webkit-box-shadow: inset 2px 2px 2px #B2B3B5, 0px 1px 0 #fff;
	-moz-box-shadow: inset 2px 2px 2px #B2B3B5, 0px 1px 0 #fff;
	-o-box-shadow: inset 2px 2px 2px #B2B3B5, 0px 1px 0 #fff;
	-khtml-box-shadow: inset 2px 2px 2px #B2B3B5, 0px 1px 0 #fff;
	box-shadow: inset 2px 2px 2px #B2B3B5, 0px 1px 0 #fff;
	box-shadow:2px 2px 2px #999, 0px 1px 0 #000;
    padding: .1em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    align: middle;
    max-height: 500px;
    overflow-y: auto;
  }

   #toc-toggle:hover {
    text-decoration: underline;
    font-size:1.05em;
  }

  #toc-toggle {
    background: none;
    border: none;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    padding: 0, 10px;
    margin-bottom: 0.5em;
    color: #003388;
    width: 100%;
    text-align: middle;
  }
/*
  #toc-toggle:hover {
    text-decoration: underline;
    font-size:1.05em;
    color:red;
  }
*/
  #toc-content ul {
    list-style-type: none;
    padding-left: .2em;
    margin: 0;
    line-height:1em;
  }

  #toc-content li {
    margin-bottom: 0.15em;
  }

  #toc-content a {
    text-decoration: none;
    color: #0077cc;
  }

    #toc-content a:hover {
    text-decoration: underline;
    font-size:1em;
  }

  #toc-content a.active {
    font-weight: bold;
    color: #0055aa;
  }

  html {
    scroll-behavior: smooth;
  }

  /* Desktop layout */
  @media (min-width: 768px) {
    #bwt-toc-container {
      position: fixed;
            top: 1em;
      right: 1em
      max-width: 300px;
    }
  }

  /* Mobile layout */
  @media (max-width: 767px) {
    #bwt-toc-container {
      position: fixed;
      bottom: 1em;
      right: 1em;
      max-width: 80vw;
      padding: 0.8em;
    }

    #toc-content {
      max-height: 60vh;
      overflow-y: auto;
      margin-top: 0.5em;
      transform: translateY(20px);
      opacity: 0;
    }

    #toc-content.show {
      transform: translateY(0);
      opacity: 1;
    }
  }