/* Table of contents */

.toc ul { list-style: none; margin: 0; margin-bottom: 20px; padding: 0 5px;  }

.toc ul > li > ul {
    list-style: decimal inside;;
}

#TableOfContents > ul > li > ul > li > ul li { margin-right: 8px; }
#TableOfContents > ul > li > ul > li > a, #TableOfContents > ul > li > a   {
    padding: 0 10px; margin: 0 2px;
}
#TableOfContents > ul > li > ul > li > a {
}
.toc ul > li > ul > li > ul  { display: none; }

#toc {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 10px 50px 10px 20px;
}

/* hack */

.teamstatus > div {
    background: url("https://i.1pw.ca/akb/account.png") no-repeat;
    background-size: 18px;
    padding-left: 23px;
    background-position-y: 4px;
    display: inline-block;
    margin-right: 10px;
}

.teamstatus {
  padding: 20px 0;
}

/* Search */

input#q.sidebar-search-input, .big-input {
	 padding-left: 5px;
    height: 45px;
}

@media (max-width: 600px) {

  aside.sidebar div.sidebar-search-wrapper input.sidebar-search-input {
    width: 88%;
  }
  .big-input {
    width: 85%;
  }
}

/* Category icon styling */

.category-hero .icon {
    float: left;
    padding-right: 10px;
}

/* Accordion */


/* These need to be converted to scss, when used with the rest of the AKB styling the missing font styles and spacing should be fixed.  */

.accordion {
  margin-left: 0;
  padding-top: 0;
  padding: 1em;
  background: #f5f9fa;
  border: 1px solid #e3e7e8;
  position: relative;
  margin-bottom: 16px;
  list-style: none;
}
.accordion > p {
    margin: 0;
    padding: 0;
}
.accordion > button {
  text-align: left;
  width: 100%;
  border: 0;
  background: 0;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 1em;
  font-weight: 600;
  font-size: 1.15em;
  padding: 1em 0;
  cursor: pointer;
  transition: all ease-in-out 0.3s; /* replace with mixin for browser support */
}
.accordion > button:hover, .accordion > button:hover span:after {
  color:#1A8CFF; /* $bits-blue */
  transition: all ease-in-out 0.3s;
}
.accordion > button > span:after {
    vertical-align: baseline;
    position: absolute;
    right: 2em;
    font-size: 1.3em;
    color: #666;
    content: '+';  /* caret pointing right - when font-awesome is available */
    /*  content: "\f0d7";  caret pointing down - when font-awesome is available */
    /*  content: "\f0d8";  caret pointing up - when font-awesome is available */
}
.accordion > button[aria-expanded=true] > span:after {
  /*content:"v"; /* for temporary dev */
  color: #1A8CFF;
  content: '-';  /* caret pointing right - when font-awesome is available */
  /*  content: "\f0d7";  caret pointing down - when font-awesome is available */
  /*  content: "\f0d8";  caret pointing up - when font-awesome is available */
}
.accordion > div {
  transition: all ease-in-out 0.3s; /* replace with mixin for browser support */
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(255,255,255,0.80);
  box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.15);
  border-radius: 5px;
  padding:1em;
  margin-bottom: 1.5em;
}

.accordion > button.platform-mac {
  background: url(https://i.1pw.ca/akb/platforms/mac.png) left center no-repeat; /* replace with mixin for retina support */
  background-size: 32px;
  padding-left: 40px;
}
.accordion > button.platform-win {
  background: url(https://i.1pw.ca/akb/platforms/win.png) left center no-repeat; /* replace with mixin for retina support */
  background-size: 32px;
  padding-left: 40px;
}
.accordion > button.platform-ios {
  background: url(https://i.1pw.ca/akb/platforms/ios.png) left center no-repeat; /* replace with mixin for retina support */
  background-size: 32px;
  padding-left: 40px;
}
.accordion > button.platform-android {
  background: url(https://i.1pw.ca/akb/platforms/android.png) left center no-repeat; /* replace with mixin for retina support */
  background-size: 32px;
  padding-left: 40px;
}


/* Is this required for B5, if so we're going to need an icon.
.web .header {
 background: url(https://support.1password.com/platforms/web.png) left center no-repeat;
 background-size: 32px;
}
*/


/* awesome-toc */

.awesome-toc > ul {
    display: flex;
    list-style: none;
    margin-left: 0;
    flex-flow: row wrap;
}

.awesome-toc > ul li {
    flex: 0 1 auto;
    margin-right: 25px;
    margin-bottom: 10px;
    margin-top: 10px;
    border: 1px solid #aaa;
    border-radius: 5px;
    display: flex;
    transition: all ease-in-out 0.2s; /* replace with mixin for browser support */
}

.awesome-toc > ul li i {
    font-size: 2.2em;
    display: block;
    width: 150px;
    padding-bottom: 10px;
    color: #666;
    transition: all ease-in-out 0.2s; /* replace with mixin for browser support */
}

.awesome-toc > ul li a {
    text-decoration: none;
    flex: 1 auto;
    display: block;
    text-align: center;
    min-width: 100px;
    padding: 10px 15px;
}

.awesome-toc > ul li a img {
    display: block;
    margin: 0 auto;
}

.awesome-toc > ul li:hover {

    border: 1px solid #1A8CFF;
}


.awesome-toc > ul li:hover i {
    color: #1A8CFF;
}


.columns {
	    -webkit-column-count: 2; /* Chrome, Safari, Opera */
	    -moz-column-count: 2; /* Firefox */
	    column-count: 2;
		margin-bottom: 16px;
}

dd {
    padding-bottom: 1em;
}


/* typeahead */

.typeahead__container.result {
    height: auto;
    overflow: visible;
    margin-bottom: auto;
    border-bottom: 0;
}
