/* Add additional stylesheets below
-------------------------------------------------- */
/*
  Bootstrap's documentation styles
  Special styles for presenting Bootstrap's documentation and examples
*/



/* Body and structure
-------------------------------------------------- */

body {
  position: relative;
  padding-top: 60px;
  background-color: #f5f5f5;
}

/* Code in headings */
h3 code {
  font-size: 14px;
  font-weight: normal;
}



/* Tweak navbar brand link to be super sleek
-------------------------------------------------- */

body > .navbar {
  font-size: 13px;
}

/* Change the docs' brand */
body > .navbar .brand {
  padding-right: 10px;
  padding-left: 0;
  margin-left: 20px;
  float: right;
  font-weight: bold;
  color: #555;
  text-shadow: 0 -1px 0 rgba(255,255,255,.2), 0 0 30px rgba(255,255,255,.125);
  -webkit-transition: all .2s linear;
     -moz-transition: all .2s linear;
          transition: all .2s linear;
}
body > .navbar .brand:hover {
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255,255,255,.1), 0 0 30px rgba(255,255,255,.4);
}

code {
  background-color: #f9f2f4;
  border: 1px solid #f8eaee;
  color: #c7254e;
}

.left-div {
  float: left;
  display: block;
  width: 263px;
}

.left-div > .bs-docs-sidenav > ul, .left-div > .bs-docs-sidenav > .top-menu> ul {
  box-shadow: 2px 4px 1px #eee;
  -webikt-box-shadow: 2px 4px 1px #eee;
  -moz-box-shadow: 2px 4px 1px #eee;
  margin-right: 3px;
}

.left-div li {white-space: nowrap;}
.left-div .left-menu-i-div {
  float: right;
}
.left-div .left-menu-i-div i {
  position: relative;
}
.left-div .label,
.left-div .badge {
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  font-size: 10px;
  font-weight: normal;
  position: absolute;
  right: 20px;
}

.right-div {
  display: block;
  min-height: 30px;
  margin-left: 280px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #ccc;
  background-color: #fff;
  margin-bottom: 50px;
  box-shadow: 4px 4px 3px #e8e8e8;
  -webikt-box-shadow: 4px 4px 3px #e8e8e8;
  -moz-box-shadow: 4px 4px 3px #e8e8e8;
}

.right-div .content{
  margin: -1px;
}


.right-div h1,
.right-div h2 {
  margin: 8px 0;
  padding:0.2em 0.3em;
  line-height: 1.6em;
  border: 1px solid #ccc;
  background: #f4f4f4;
  border-left: 4px solid #77c300;
}
.right-div h1 {
  border-left: 4px solid #007bbb;
}
.right-div h1 small,
.right-div h2 small {font-size: 16px;}

.right-div h3, .right-div h4, .right-div h5, .right-div h6 {
  margin: 4px 0;
  padding: 0.4em;
  border-bottom: 1px dotted #ccc;
  border-right: 1px solid #ccc;
  line-height: 1.3em;
  background: #f4f4f4;
  border-left: 4px solid lightblue;
}
.right-div h1 {font-size: 20px;}
.right-div h2 {font-size: 18px;}
.right-div h3 {font-size: 16px;}
.right-div h4 {font-size: 14px;}
.right-div h5 {font-size: 13px;}
.right-div h6 {font-size: 12px;}

.right-div h1 img,
.right-div h2 img {
  border:none;
  padding: 0;
  vertical-align: middle;
  margin-top: -4px;
}

.right-div pre {
  background-color: #333;
  padding: 4px 8px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  color: #e9e4e5;
  font-size: 13px;
  line-height: 1.1em;
  font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
}
.right-div pre > code {
  padding: 7px 0 6px 0;
  font-size: 13px;
  line-height: 1.1em;
  display: block;
  font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
}

.right-div pre > div {
  padding: 0px;
}
.right-div .api-filecode-div pre{
  -webkit-border-top-left-radius: 0px;
  -moz-border-top-left-radius: 0px;
  border-top-left-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
}

/*.right-div pre .syntaxhighlighter {
  margin: 0;
  margin: 0 !important;
  background-color: #fffff2;
  background-color: #fffff2 !important;
}*/
/*.right-div pre .syntaxhighlighter .line.alt1 {
  background-color: #fffff2 !important;
}
.right-div pre .syntaxhighlighter .line.alt2 {
  background-color: #fffff2 !important;
}*/

.right-div .content > p,.right-div .content .api-description > p, .right-div > .content > ol, .right-div > .content > ul {
  padding:0 14px;
}
.right-div .content > table, .right-div .api-class-div > table {
  margin:10px;
}

.right-div p {margin:0.6em 0;font-size: 14px;line-height: 1.8em;text-align: justify;text-justify: inter-ideograph;}

.right-div blockquote {
  padding: 5px 10px;
  border:1px #ccc solid;
  background-color: #f6f6f6;
}
.right-div blockquote.normal {
  border: none;
  background-color: #d9edf7;
  color: #0872ad;
  border: 1px solid #a7dbe7;
  text-shadow: 1px 1px #fff;
}

.right-div blockquote.normal:before {
  content: "\f10e";
  text-decoration: inherit;
  display: inline-block;
  font-size: 24px;
  font-family: FontAwesome;
  margin-top: 5px;
  width: 30px;
  height: 30px;
  text-align: right;
  margin-right: 0;
  float: right;
}

.right-div blockquote h3:first-child{
  margin: -5px -11px 10px -11px;
  padding: 10px;
  font-size: 16px;
  line-height: 16px;
  display: block;
  background: #e5feff;
  background: -webkit-gradient(linear, 0 0, 0 bottom, from(#f1feff), to(#cff6f8));
  background: -moz-linear-gradient(#f1feff, #cff6f8);
  background: linear-gradient(#f1feff, #cff6f8);
  border-bottom: 1px solid #ccc;
}
.right-div blockquote h3:first-child.closeblock {
  margin-bottom: -6px;
}
.right-div blockquote blockquote {
  padding: 4px;
  margin: 0 0 12px;
  border-left: 6px solid #ccc;
  background: #f1f1f1;
}

.right-div .change-lang-div {
  border:1px solid #ccc;
  margin: -1px 0 -9px 0;
  padding: 6px;
}
.right-div .change-lang-div select{
  line-height: 1.8em;
  font-size: 12px;
  height: 1.8em;
  vertical-align: top;
  margin: auto;
  width: auto;
  padding: 0;
}

.right-div img {
  border: 1px solid #ccc;
  background: #fff;
  padding: 2px;
}
.right-div img:hover {
  border: 1px solid #aaff00;
}

.right-div hr {
  margin-left: 1px;
  margin-right: 1px;
  border-top: 1px solid #ccc;
}

#page-last-edit-div {
  float: right;
  font-size: 12px;
  font-family: Arial;
  color: #bbb;
  padding: 2px 0;
}

.right-div table,.table-bordered thead:first-child tr:first-child>th:last-child, .table-bordered tbody:first-child tr:first-child>td:last-child, .table-bordered tbody:first-child tr:first-child>th:last-child,
.table-bordered thead:first-child tr:first-child>th:first-child, .table-bordered tbody:first-child tr:first-child>td:first-child, .table-bordered tbody:first-child tr:first-child>th:first-child ,
.table-bordered thead:last-child tr:last-child>th:first-child, .table-bordered tbody:last-child tr:last-child>td:first-child, .table-bordered tbody:last-child tr:last-child>th:first-child, .table-bordered tfoot:last-child tr:last-child>td:first-child, .table-bordered tfoot:last-child tr:last-child>th:first-child
{
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
}

.right-div table {
  margin-bottom: 20px;
}

.right-div th{
  padding: 6px;
  background: #ccc;
  background: -webkit-gradient(linear, 0 0, 0 bottom, from(#fafafa), to(#e3e3e3));
  background: -moz-linear-gradient(#fafafa, #e3e3e3);
  background: linear-gradient(#fafafa, #e3e3e3);
  border-bottom: 1px #ccc solid;
}
.right-div td{
  padding: 8px;
  border-top: 1px solid #eee;
}


.right-div .alert-error{
  background-image: url(../images/dialog-warning.png);
  background-size: 46px 46px;
  background-repeat: no-repeat;
  background-position: 4px center;
  padding:14px 10px 14px 54px;
  line-height: 1.6em;
  border:1px solid #c24242;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
}

.right-div blockquote small {
  display: inline-block;
}
.right-div blockquote small:before {
  content: '';
}

.right-div li {line-height: 1.8em;}
.right-div > ul > li {list-style-type: square;}

.function-name{margin-bottom: 10px;}

.prev-next-div {
  display: block;
  height: 30px;
  border: 1px solid #ccc;
  background: #f0f0f0;
  line-height: 30px;
  padding: 0 10px;
}
.prev-next-div .p-prev {
  float: left;
}
.prev-next-div .p-next {
  float: right;
}




.api-method-name-div{font-family: Arial;font-size: 14px;font-weight: bold;}
.api-method-name-div small{font-weight: normal;}
.api-method-name-div .param{border-bottom: 1px dotted #666;}
.api-method-name-div .tooltips{font-weight: normal;}
.api-parent-class-div {color: #aaa;font-weight: normal;}
.api-class-div .api-description {
  font-size: 14px;
  padding-bottom: 0.5em;
}
.api-class-div,.api-class-div p {font-size:14px;line-height: 1.6em;}
.api-class-div .method-source h5 {font-size:14px; margin:0;}
.api-class-div .method-source pre {margin:4px 0 0 0;}
.api-class-div .method .return {margin:0 0 6px 0;}
.api-class-div .method h5{margin:5px 0;font-size:12px;}
.api-class-div small {
  display: inline;
}
.api-class-div small:before{
  content: ' ';
}
.api-class-div h1 small,
.api-class-div h2 small,
.api-class-div h3 small,
.api-class-div h4 small,
.api-class-div h5 small,
.api-class-div h6 small { font-size: 14px; font-weight: normal;color:#666;}
.api-class-div h1 small{color:#aaa;}

.api-class-div .api-filename-div {
  font-size: 14px;
  padding: 3px 5px;
  border: 1px solid #ccc;
  margin-bottom: -1px;
  margin-top: 10px;
  text-shadow: 1px 1px 0 #fff;
  font-weight: bold;
  color: #372d00;
  background: #fff298;
  background: -webkit-gradient(linear, 0 0, 0 bottom, from(#fffad8), to(#ffee7d));
  background: -moz-linear-gradient(#fffad8, #ffee7d);
  background: linear-gradient(#fffad8, #ffee7d);
}
.api-class-div .api-filename-div:hover {
  background: #ffe851;
  color: #371200;
  background: -webkit-gradient(linear, 0 0, 0 bottom, from(#fffbe1), to(#ffe851));
  background: -moz-linear-gradient(#fffbe1, #ffe851);
  background: linear-gradient(#fffbe1, #ffe851);
}

.api-class-div pre { 
  font-size: 1em; 
  line-height: 1.2em;
  padding: 0 5px;
  font-size: 12px;
  font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
}
.api-class-div .syntaxhighlighter{margin: 5px 0;margin: 5px 0 !important;}

.api-class-div div.class-list div.class { width: 50%; }
.api-class-div div.class-list div.class.left { float: left; clear: both; }
.api-class-div div.class-list div.class.right { float: right; }
  .api-class-div div.class-list div.class h2 { margin: 0.4em; padding: 0.2em 0.4em; font-size: 1em; }

.api-class-div div.method,
.api-class-div div.properties,
.api-class-div div.constants { margin-bottom: 1em; }
  .api-class-div div.method h2 {font-size:14px;padding:5px;}
  .api-class-div div.method h2 .param { font-weight: normal; cursor: help; border-bottom:1px dashed #666;}
  .api-class-div div.method h2 abbr.param { text-transform: none; font-size: 1em; }
.api-class-div dl.tags { overflow: auto; background: #eee; border: solid 6px #ddd; }
  .api-class-div dl.tags span{display:block;border:1px dotted #fff;border-top:none;zoom:1; padding:4px;}
  .api-class-div dl.tags span:first-child{border-top:1px dotted #fff;}
  .api-class-div dl.tags span:after{content:'\20';display:block;clear:both;}
  .api-class-div dl.tags dt { clear: both; float: left; width: 25%; }
  .api-class-div dl.tags dd { margin: 0; padding: 0; clear: right; float: right; }

.api-class-div #methods{margin:10px 0;}
.api-class-div .ul{
  margin:0;
  list-style:none;
  padding:0 0 0 18px;
}

.api-class-div .constants pre{border:none;background:transparent;}
.api-class-div .properties pre{border:none;background:transparent;}
.api-class-div .properties p{margin:0;padding:5px 0 0 4px;}
.api-class-div .properties dt{font-size:14px;font-weight:bold;}
.api-class-div .properties dt code{font-weight:normal;}

.right-div > ul.toc,
.api-class-div ul.toc {
  margin:10px 0;
  list-style:none;
  padding:0;
}
.right-div > ul.toc > li,
.api-class-div ul.toc li{font-size: 14px;line-height:1.8em;list-style-type: none;}
.api-class-div .public,
.api-class-div .public{display:inline-block;width:14px;height:22px;vertical-align:middle;background:url(../images/toc.gif) no-repeat 0 -161px;background-size:15px 300px;}
.api-class-div .private{display:inline-block;width:14px;height:22px;vertical-align:middle;background:url(../images/toc.gif) no-repeat 0 -127px;background-size:15px 300px;}
.api-class-div .protected{display:inline-block;width:14px;height:22px;vertical-align:middle;background:url(../images/toc.gif) no-repeat 0 -95px;background-size:15px 300px;}
.api-class-div .tocfield .public{display:inline-block;width:14px;height:22px;vertical-align:middle;background:url(../images/toc.gif) no-repeat 0 -60px;background-size:15px 300px;}
.api-class-div .tocfield .private{display:inline-block;width:14px;height:22px;vertical-align:middle;background:url(../images/toc.gif) no-repeat 0 -28px;background-size:15px 300px;}
.api-class-div .tocfield .protected{display:inline-block;width:14px;height:22px;vertical-align:middle;background:url(../images/toc.gif) no-repeat 0 3px;background-size:15px 300px;}
.api-class-div .abstract{display:inline-block;width:14px;height:22px;vertical-align:middle;background:url(../images/toc.gif) no-repeat 0 -250px;background-size:15px 300px;}
.api-class-div .toc_f{display:inline-block;width:14px;height:22px;vertical-align:middle;background:url(../images/toc.gif) no-repeat -1px -194px;background-size:15px 300px;}
.api-class-div .toc_s,.api-class-div .static{display:inline-block;width:14px;height:22px;vertical-align:middle;background:url(../images/toc.gif) no-repeat -1px -224px;background-size:15px 300px;}
.api-class-div .toc_n{display:inline-block;width:14px;height:22px;vertical-align:middle;}
.api-class-div .toc .label {font-weight: normal;-webkit-transform: scale(0.6);-moz-transform: scale(0.6);}

.api-constants-div span, .api-constants-div small{color: #aaa;}
.api-extends-div {
  border: 1px solid #ccc;
  padding: 3px 6px 10px 6px;
  background: #fff;
  margin-bottom: 10px;
}
.api-extends-div > ul.toc {
  margin: 0px;
}

/* Sections
-------------------------------------------------- */

/* padding for in-page bookmarks and fixed navbar */
section {
  padding-top: 30px;
}
section > .page-header,
section > .lead {
  color: #5a5a5a;
}
section > ul li {
  margin-bottom: 5px;
}

/* Separators (hr) */
.bs-docs-separator {
  margin: 40px 0 39px;
}

/* Faded out hr */
hr.soften {
  height: 1px;
  margin: 70px 0;
  background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  border: 0;
}

/* 修正Firefox下代码框错位的问题 */
.syntaxhighlighter .container:before, .syntaxhighlighter .container:after {
  display: none;
}

/* Jumbotrons
-------------------------------------------------- */

/* Base class
------------------------- */
.jumbotron {
  position: relative;
  padding: 40px 0;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 0 30px rgba(0,0,0,.075);
  background: #020031; /* Old browsers */
  background: -moz-linear-gradient(45deg,  #020031 0%, #6d3353 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#020031), color-stop(100%,#6d3353)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(45deg,  #020031 0%,#6d3353 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(45deg,  #020031 0%,#6d3353 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(45deg,  #020031 0%,#6d3353 100%); /* IE10+ */
  background: linear-gradient(45deg,  #020031 0%,#6d3353 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#020031', endColorstr='#6d3353',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
     -moz-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
          box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
}
.jumbotron h1 {
  font-size: 80px;
  font-weight: bold;
  letter-spacing: -1px;
  line-height: 1;
}
.jumbotron p {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 30px;
}

/* Link styles (used on .masthead-links as well) */
.jumbotron a {
  color: #fff;
  color: rgba(255,255,255,.5);
  -webkit-transition: all .2s ease-in-out;
     -moz-transition: all .2s ease-in-out;
          transition: all .2s ease-in-out;
}
.jumbotron a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,.25);
}

/* Download button */
.masthead .btn {
  padding: 19px 24px;
  font-size: 24px;
  font-weight: 200;
  color: #fff; /* redeclare to override the `.jumbotron a` */
  border: 0;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
  -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
     -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
          box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
  -webkit-transition: none;
     -moz-transition: none;
          transition: none;
}
.masthead .btn:hover {
  -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
     -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
          box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
}
.masthead .btn:active {
  -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.1);
     -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.1);
          box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.1);
}


/* Pattern overlay
------------------------- */
.jumbotron .container {
  position: relative;
  z-index: 2;
}
.jumbotron:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url(../img/bs-docs-masthead-pattern.png) repeat center center;
  opacity: .4;
}
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1) {

  .jumbotron:after {
    background-size: 150px 150px;
  }

}

/* Masthead (docs home)
------------------------- */
.masthead {
  padding: 70px 0 80px;
  margin-bottom: 0;
  color: #fff;
}
.masthead h1 {
  font-size: 120px;
  line-height: 1;
  letter-spacing: -2px;
}
.masthead p {
  font-size: 40px;
  font-weight: 200;
  line-height: 1.25;
}

/* Textual links in masthead */
.masthead-links {
  margin: 0;
  list-style: none;
}
.masthead-links li {
  display: inline;
  padding: 0 10px;
  color: rgba(255,255,255,.25);
}

/* Social proof buttons from GitHub & Twitter */
.bs-docs-social {
  padding: 15px 0;
  text-align: center;
  background-color: #f5f5f5;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #ddd;
}

/* Quick links on Home */
.bs-docs-social-buttons {
  margin-left: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}
.bs-docs-social-buttons li {
  display: inline-block;
  padding: 5px 8px;
  line-height: 1;
  *display: inline;
  *zoom: 1;
}

/* Subhead (other pages)
------------------------- */
.subhead {
  text-align: left;
  border-bottom: 1px solid #ddd;
}
.subhead h1 {
  font-size: 60px;
}
.subhead p {
  margin-bottom: 20px;
}
.subhead .navbar {
  display: none;
}



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

.marketing {
  text-align: center;
  color: #5a5a5a;
}
.marketing h1 {
  margin: 60px 0 10px;
  font-size: 60px;
  font-weight: 200;
  line-height: 1;
  letter-spacing: -1px;
}
.marketing h2 {
  font-weight: 200;
  margin-bottom: 5px;
}
.marketing p {
  font-size: 16px;
  line-height: 1.5;
}
.marketing .marketing-byline {
  margin-bottom: 40px;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.25;
  color: #999;
}
.marketing-img {
  display: block;
  margin: 0 auto 30px;
  max-height: 145px;
}



/* Footer
-------------------------------------------------- */

.footer {
  text-align: center;
  padding: 30px 0;
  margin-top: 70px;
  border-top: 1px solid #e5e5e5;
  background-color: #f5f5f5;
}
.footer p {
  margin-bottom: 0;
  color: #777;
}
.footer-links {
  margin: 10px 0;
}
.footer-links li {
  display: inline;
  padding: 0 2px;
}
.footer-links li:first-child {
  padding-left: 0;
}



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

.show-grid {
  margin-top: 10px;
  margin-bottom: 20px;
}
.show-grid [class*="span"] {
  background-color: #eee;
  text-align: center;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
  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;
}



/* Mini layout previews
-------------------------------------------------- */
.mini-layout {
  border: 1px solid #ddd;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.075);
     -moz-box-shadow: 0 1px 2px rgba(0,0,0,.075);
          box-shadow: 0 1px 2px rgba(0,0,0,.075);
}
.mini-layout,
.mini-layout .mini-layout-body,
.mini-layout.fluid .mini-layout-sidebar {
  height: 300px;
}
.mini-layout {
  margin-bottom: 20px;
  padding: 9px;
}
.mini-layout div {
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
}
.mini-layout .mini-layout-body {
  background-color: #dceaf4;
  margin: 0 auto;
  width: 70%;
}
.mini-layout.fluid .mini-layout-sidebar,
.mini-layout.fluid .mini-layout-header,
.mini-layout.fluid .mini-layout-body {
  float: left;
}
.mini-layout.fluid .mini-layout-sidebar {
  background-color: #bbd8e9;
  width: 20%;
}
.mini-layout.fluid .mini-layout-body {
  width: 77.5%;
  margin-left: 2.5%;
}



/* Download page
-------------------------------------------------- */

.download .page-header {
  margin-top: 36px;
}
.page-header .toggle-all {
  margin-top: 5px;
}

/* Space out h3s when following a section */
.download h3 {
  margin-bottom: 5px;
}
.download-builder input + h3,
.download-builder .checkbox + h3 {
  margin-top: 9px;
}

/* Fields for variables */
.download-builder input[type=text] {
  margin-bottom: 9px;
  font-family: Menlo, Monaco, "Courier New", monospace;
  font-size: 12px;
  color: #d14;
}
.download-builder input[type=text]:focus {
  background-color: #fff;
}

/* Custom, larger checkbox labels */
.download .checkbox {
  padding: 6px 10px 6px 25px;
  font-size: 13px;
  line-height: 18px;
  color: #555;
  background-color: #f9f9f9;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
  cursor: pointer;
}
.download .checkbox:hover {
  color: #333;
  background-color: #f5f5f5;
}
.download .checkbox small {
  font-size: 12px;
  color: #777;
}

/* Variables section */
#variables label {
  margin-bottom: 0;
}

/* Giant download button */
.download-btn {
  margin: 36px 0 108px;
}
#download p,
#download h4 {
  max-width: 50%;
  margin: 0 auto;
  color: #999;
  text-align: center;
}
#download h4 {
  margin-bottom: 0;
}
#download p {
  margin-bottom: 18px;
}
.download-btn .btn {
  display: block;
  width: auto;
  padding: 19px 24px;
  margin-bottom: 27px;
  font-size: 30px;
  line-height: 1;
  text-align: center;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
}



/* Misc
-------------------------------------------------- */

/* Make tables spaced out a bit more */
h2 + table,
h3 + table,
h4 + table,
h2 + .row {
  margin-top: 5px;
}

/* Example sites showcase */
.example-sites {
  xmargin-left: 20px;
}
.example-sites img {
  max-width: 100%;
  margin: 0 auto;
}

.scrollspy-example {
  height: 200px;
  overflow: auto;
  position: relative;
}


/* Fake the :focus state to demo it */
.focused {
  border-color: rgba(82,168,236,.8);
  -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
     -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
          box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
  outline: 0;
}

/* For input sizes, make them display block */
.docs-input-sizes select,
.docs-input-sizes input[type=text] {
  display: block;
  margin-bottom: 9px;
}

/* Icons
------------------------- */
.the-icons {
  margin-left: 0;
  list-style: none;
}
.the-icons li {
  float: left;
  width: 25%;
  line-height: 25px;
}
.the-icons i:hover {
  background-color: rgba(255,0,0,.25);
}

/* Example page
------------------------- */
.bootstrap-examples h4 {
  margin: 10px 0 5px;
}
.bootstrap-examples p {
  font-size: 13px;
  line-height: 18px;
}
.bootstrap-examples .thumbnail {
  margin-bottom: 9px;
  background-color: #fff;
}



/* Bootstrap code examples
-------------------------------------------------- */

/* Base class */
.bs-docs-example {
  position: relative;
  margin: 15px 0;
  padding: 39px 19px 14px;
  *padding-top: 19px;
  background-color: #fff;
  border: 1px solid #ddd;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

/* Echo out a label for the example */
.bs-docs-example:after {
  content: "Example";
  position: absolute;
  top: -1px;
  left: -1px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: bold;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  color: #9da0a4;
  -webkit-border-radius: 4px 0 4px 0;
     -moz-border-radius: 4px 0 4px 0;
          border-radius: 4px 0 4px 0;
}

/* Remove spacing between an example and it's code */
.bs-docs-example + .prettyprint {
  margin-top: -20px;
  padding-top: 15px;
}

/* Tweak examples
------------------------- */
.bs-docs-example > p:last-child {
  margin-bottom: 0;
}
.bs-docs-example .table,
.bs-docs-example .progress,
.bs-docs-example .well,
.bs-docs-example .alert,
.bs-docs-example .hero-unit,
.bs-docs-example .pagination,
.bs-docs-example .navbar,
.bs-docs-example > .nav,
.bs-docs-example blockquote {
  margin-bottom: 5px;
}
.bs-docs-example .pagination {
  margin-top: 0;
}
.bs-navbar-top-example,
.bs-navbar-bottom-example {
  z-index: 1;
  padding: 0;
  height: 90px;
  overflow: hidden; /* cut the drop shadows off */
}
.bs-navbar-top-example .navbar-fixed-top,
.bs-navbar-bottom-example .navbar-fixed-bottom {
  margin-left: 0;
  margin-right: 0;
}
.bs-navbar-top-example {
  -webkit-border-radius: 0 0 4px 4px;
     -moz-border-radius: 0 0 4px 4px;
          border-radius: 0 0 4px 4px;
}
.bs-navbar-top-example:after {
  top: auto;
  bottom: -1px;
  -webkit-border-radius: 0 4px 0 4px;
     -moz-border-radius: 0 4px 0 4px;
          border-radius: 0 4px 0 4px;
}
.bs-navbar-bottom-example {
  -webkit-border-radius: 4px 4px 0 0;
     -moz-border-radius: 4px 4px 0 0;
          border-radius: 4px 4px 0 0;
}
.bs-navbar-bottom-example .navbar {
  margin-bottom: 0;
}
form.bs-docs-example {
  padding-bottom: 19px;
}

/* Images */
.bs-docs-example-images img {
  margin: 10px;
  display: inline-block;
}

/* Tooltips */
.bs-docs-tooltip-examples {
  text-align: center;
  margin: 0 0 10px;
  list-style: none;
}
.bs-docs-tooltip-examples li {
  display: inline;
  padding: 0 10px;
}

/* Popovers */
.bs-docs-example-popover {
  padding-bottom: 24px;
  background-color: #f9f9f9;
}
.bs-docs-example-popover .popover {
  position: relative;
  display: block;
  float: left;
  width: 300px;
  margin: 20px;
}

/* Dropdowns */
.bs-docs-example-submenus {
  min-height: 180px;
}
.bs-docs-example-submenus > .pull-left + .pull-left {
  margin-left: 20px;
}
.bs-docs-example-submenus .dropup > .dropdown-menu,
.bs-docs-example-submenus .dropdown > .dropdown-menu {
  display: block;
  position: static;
  margin-bottom: 5px;
  *width: 180px;
}



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

/* Utility classes table
------------------------- */
.responsive-utilities th small {
  display: block;
  font-weight: normal;
  color: #999;
}
.responsive-utilities tbody th {
  font-weight: normal;
}
.responsive-utilities td {
  text-align: center;
}
.responsive-utilities td.is-visible {
  color: #468847;
  background-color: #dff0d8 !important;
}
.responsive-utilities td.is-hidden {
  color: #ccc;
  background-color: #f9f9f9 !important;
}

/* Responsive tests
------------------------- */
.responsive-utilities-test {
  margin-top: 5px;
  margin-left: 0;
  list-style: none;
  overflow: hidden; /* clear floats */
}
.responsive-utilities-test li {
  position: relative;
  float: left;
  width: 25%;
  height: 43px;
  font-size: 14px;
  font-weight: bold;
  line-height: 43px;
  color: #999;
  text-align: center;
  border: 1px solid #ddd;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}
.responsive-utilities-test li + li {
  margin-left: 10px;
}
.responsive-utilities-test span {
  position: absolute;
  top:    -1px;
  left:   -1px;
  right:  -1px;
  bottom: -1px;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}
.responsive-utilities-test span {
  color: #468847;
  background-color: #dff0d8;
  border: 1px solid #d6e9c6;
}



/* Sidenav for Docs
-------------------------------------------------- */

.bs-docs-sidenav {
  margin: 0px 0 0;
  padding: 0;
  overflow: auto;
}
.bs-docs-sidenav a {
  display: block;
  word-wrap: break-word;
}

.bs-docs-sidenav > ul {
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065);
     -moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
          box-shadow: 0 1px 4px rgba(0,0,0,.065);
}
.bs-docs-sidenav li {
  font-size: 12px;
  line-height: 18px;
}
.bs-docs-sidenav > ul > li:first-child > a {
  -webkit-border-radius: 4px 4px 0 0;
     -moz-border-radius: 4px 4px 0 0;
          border-radius: 4px 4px 0 0;
}
.bs-docs-sidenav > ul > li:last-child > a {
  -webkit-border-bottom-left-radius: 6px;
     -moz-border-bottom-left-radius: 6px;
          border-bottom-left-radius: 6px;
  -webkit-border-bottom-right-radius: 6px;
     -moz-border-bottom-right-radius: 6px;
          border-bottom-right-radius: 6px;
}
.bs-docs-sidenav li.active > a {
  color: #fff;
  background-color: #08c;
  z-index: 2;
  padding: 5px 1em;
  border: 0;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
  -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
     -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
          box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
}

/* Chevrons */
.bs-docs-sidenav .icon-chevron-right {
  float: right;
  margin-top: 2px;
  margin-right: -6px;
  opacity: .25;
}
.bs-docs-sidenav a {
  position: relative;
}
.bs-docs-sidenav a:hover {
  background-color: #f5f5f5;
}
.bs-docs-sidenav a:hover .icon-chevron-right {
  opacity: .5;
}
.bs-docs-sidenav li.active > a .icon-chevron-right,
.bs-docs-sidenav li.active > a:hover .icon-chevron-right {
  opacity: 1;
}
.bs-docs-sidenav.affix {
  top: 60px;
  width: 263px;
}
.bs-docs-sidenav.affix-bottom {
  position: absolute;
  top: auto;
  bottom: 10px;
  width: 263px;
}
.bs-docs-sidenav ul {
  margin-left: 0;
  list-style: none;
  background-color: #fff;
}
.bs-docs-sidenav ul li {
  list-style: none;
}
.bs-docs-sidenav ul a {
  padding: 4px 1em;
  display: block;
  margin-bottom:-1px;
  border: 1px solid #e5e5e5;
  text-decoration: none;
  overflow: hidden;
}

.bs-docs-sidenav ul a.text {
  cursor: default;
}
.bs-docs-sidenav ul a.menu_title {
  background-image: -webkit-linear-gradient(top, #fff, #eaeaea);
  background-image:    -moz-linear-gradient(top, #fff, #eaeaea));
  background-image:     -ms-linear-gradient(top, #fff, #eaeaea));
  background-image:      -o-linear-gradient(top, #fff, #eaeaea));
  background-color: #eaeaea;
  color: #333;
  text-shadow: 1px 1px #fff;
  font-size: 13px;
  line-height: 1.6em;
  font-weight: bold;
}

.bs-docs-sidenav .top-menu a {
  background-color: #d7f2ff;
  color: #0069a1;
  border: 1px solid #bed4df;
  text-shadow: 1px 1px 0 rgba(255,255,255,.7);
  background-image: -webkit-linear-gradient(top, rgba(255,255,255,.1), rgba(141,198,229,.3));
  background-image:    -moz-linear-gradient(top, rgba(255,255,255,.1), rgba(141,198,229,.3));
  background-image:     -ms-linear-gradient(top, rgba(255,255,255,.1), rgba(141,198,229,.3));
  background-image:      -o-linear-gradient(top, rgba(255,255,255,.1), rgba(141,198,229,.3));
}
.bs-docs-sidenav .top-menu a:hover {
  background-color: #c8edff;
  color: #00466c
}
.bs-docs-sidenav .top-menu .active a,.bs-docs-sidenav .top-menu .active a:hover {
  background-color: #08c;
  color: #fff;
}

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


/* Desktop
------------------------- */
@media (max-width: 980px) {
  /* Unfloat brand */
  body > .navbar-fixed-top .brand {
    float: left;
    margin-left: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Inline-block quick links for more spacing */
  .quick-links li {
    display: inline-block;
    margin: 5px;
  }

  /* When affixed, space properly */
  .bs-docs-sidenav {
    top: 0;
    margin-top: 0;
    margin-right: 0;
  }
}

/* Tablet to desktop
------------------------- */
@media (min-width: 768px) and (max-width: 979px) {
  /* Remove any padding from the body */
  body {
    padding-top: 0;
  }
  /* Widen masthead and social buttons to fill body padding */
  .jumbotron {
    margin-top: -20px; /* Offset bottom margin on .navbar */
  }
  /* Adjust sidenav width */
  .bs-docs-sidenav {
    margin-top: 0px;
  }
  .bs-docs-sidenav.affix {
    top: 0;
    width: 250px;
  }
}

/* Tablet
------------------------- */
@media (max-width: 767px) {
  /* Remove any padding from the body */
  body {
    padding-top: 0;
  }

  .left-div {
    display: block;
    width: 100%;
    float: none;
  }

  .left-div > .bs-docs-sidenav > ul, .left-div > .bs-docs-sidenav > .top-menu> ul {
    box-shadow: none;
    -webikt-box-shadow: none;
    -moz-box-shadow: none;
    margin-right: 0;
  }

  .right-div {
    display: block;
    width: 100%;
    margin: auto;
    float: none;
  }

  /* Widen masthead and social buttons to fill body padding */
  .jumbotron {
    padding: 40px 20px;
    margin-top:   -20px; /* Offset bottom margin on .navbar */
    margin-right: -20px;
    margin-left:  -20px;
  }
  .masthead h1 {
    font-size: 90px;
  }
  .masthead p,
  .masthead .btn {
    font-size: 24px;
  }
  .marketing .span4 {
    margin-bottom: 40px;
  }
  .bs-docs-social {
    margin: 0 -20px;
  }

  /* Space out the show-grid examples */
  .show-grid [class*="span"] {
    margin-bottom: 5px;
  }

  /* Sidenav */
  .bs-docs-sidenav {
    width: auto;
    margin-bottom: 20px;
  }
  .bs-docs-sidenav.affix {
    position: static;
    width: auto;
    top: 0;
  }

  /* Unfloat the back to top link in footer */
  .footer {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .footer p {
    margin-bottom: 9px;
  }

  .right-div .right-clear {
    clear: both;
  }
}

/* Landscape phones
------------------------- */
@media (max-width: 480px) {
  /* Remove padding above jumbotron */
  body {
    padding-top: 0;
  }

  /* 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;
  }

  /* center align subhead text like the masthead */
  .subhead h1,
  .subhead p {
    text-align: center;
  }

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

  /* center example sites */
  .example-sites {
    margin-left: 0;
  }
  .example-sites > li {
    float: none;
    display: block;
    max-width: 280px;
    margin: 0 auto 18px;
    text-align: center;
  }
  .example-sites .thumbnail > img {
    max-width: 270px;
  }

  /* Do our best to make tables work in narrow viewports */
  table code {
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
  }

  /* Examples: dropdowns */
  .bs-docs-example-submenus > .pull-left {
    float: none;
    clear: both;
  }
  .bs-docs-example-submenus > .pull-left,
  .bs-docs-example-submenus > .pull-left + .pull-left {
    margin-left: 0;
  }
  .bs-docs-example-submenus p {
    margin-bottom: 0;
  }
  .bs-docs-example-submenus .dropup > .dropdown-menu,
  .bs-docs-example-submenus .dropdown > .dropdown-menu {
    margin-bottom: 10px;
    float: none;
    max-width: 180px;
  }

  /* Examples: modal */
  .modal-example .modal {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  /* Tighten up footer */
  .footer {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}
