/* Theme Palette Overrides ----------------------------------------------------------------- */

.project .logo img {
  background: none !important;
  margin-bottom: 20px;
  width: unset;
  height: 80px;
  padding-left: 5px;
  border-radius: 0;
}

.project:hover .logo img {
  box-shadow: none;
}

.project:hover {
  -webkit-transition: color .25s;
  transition: color .25s;
  color: #89C967;
}

.palette-primary-green {
  background: rgb(242, 242, 242);
}

.palette-primary-green .footer,.palette-primary-green .header {
  background: #383838;
  color: #BBBBBB;
}

.palette-primary-green .drawer .toc a.current,.palette-primary-green .drawer .toc a:focus,.palette-primary-green .drawer .toc a:hover {
  color: #89C967;
}

.palette-primary-green .drawer .anchor a {
  border-left: 2px solid #89C967;
}

.ios.standalone .palette-primary-green .article {
  background: -webkit-linear-gradient(top,#fff 50%,#89C967 0);
  background: linear-gradient(180deg,#fff 50%,#89C967 0);
}

.palette-primary-green .article a,.palette-primary-green .article h1,.palette-primary-green .article h2 {
  color: #89C967;
}

.palette-primary-green .article .headerlink {
  color: rgba(0,0,0,.26);
}

.palette-primary-green .article table th {
  background: #89C967;
  font-size: 20px;
  font-weight: 200;
  height: 0;
  width: 1000%;
}

.palette-primary-green .results .meta {
  background: #89C967;
}

.palette-accent-green .article a:focus,.palette-accent-green .article a:hover {
  color: #618B25;
}

.palette-accent-green .repo a {
  background: #618B25;
}

p code, li code, td code, h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
  color: #000080 !important;
}

.article pre {
  margin-top: 30px;
  margin-bottom: 20px;
}

.main {
  margin-top: 0;
}

.main article {
  padding-bottom: 100px;
}

.footer {
  padding-bottom: 20px;
  color: #eee;
}

.footer-content {
  max-width: 1600px;
  margin: 0 auto;
}

.footer h2, .footer .next, .footer .previous {
  display: inline;
}

.footer i {
  color: #eee;
}

.footer-next, .footer-previous {
  padding: 20px 20px 10px;
}

.footer-next {
  float: right;
}

.footer-previous {
  float: left;
}

.copyright {
  clear: both;
  padding: 0 20px;
  margin-bottom: 0;
  color: #eee;
}

/* General Site Wide Components ----------------------------------------------------------------- */
.note {
  margin: 10px 0;
  padding: 10px;
  background-color: #d9edf7;
  border-color: #bce8f1;
  color: #31708f;
}

.warning {
  margin: 10px 0;
  padding: 10px;
  background-color: #fcf8e3;
  border-color: #faebcc;
  color: #8a6d3b;
}

.pro-tip {
  margin: 10px 0;
  padding: 10px;
  background-color: #dff0d8;
 color: #3c763d;
 border: 1px solid #d6e9c6
}

.article h2 {
  margin-top: -70px;
  font-size: 30px;
}

table .note, table .warning, table .pro-tip {
  margin-top: 10px;
}

.article table ul {
  margin-top: 0;
}

.article table ul li {
  margin-top: 0;
}

h5 {
  font-size: 16px;
  font-style: italic;
  padding-top: 30px;
}

pre {
  background-color: #333;
}

table td {
  font-size: 16px;
}

table tr td:first-child {
  width: 25%;
}

table pre {
  max-width: 720px;
}

.article .data table {
  width: 95%;
  display: inline-table;
}

.article .data {
  padding: 0;
  overflow: visible;
}

thead, tbody {
  width: 100%;
}

.article {
  font-size: 16px;
}

.article h3 {
  font-size: 27px;
  font-weight: 200;
}

.article h4 {
  margin-top: -60px;
  color: #232323;
  font-style: none;
  font-size: 22px;
  margin-bottom: -10px;
}

h6 {
  font-size: 16px; 
  font-weight: bold;
}

.bar.default {
  margin: auto;
}

.header .stretch .title {
  font-size: 30px;
}

.title {
  padding-top: 15px !important;
  font-weight: bold;
}

.header {
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
  overflow: visible;
  padding: 0;
}

.bar {
  max-width: 1600px;
  margin: 0 auto;
}

.bar.search {
  margin-top: -12px;
  transform: scale(.01, .01);
}

nav {
  height: 60px;
}

.bar.default {
  position: relative;
}

.stretch {
  display: inline;
}

a .project {
  text-align: center;
}

.banner .name strong {
  font-size: 22px;
}

.project .banner {
  padding: 20px 0 0;
}

.button .icon {
  margin: 7px 10px;
  padding: 0;
}

.button.button-close {
  padding-top: 11px;
}

#results.query.resultsList {
  background-color: white;
  width: 100%;
  position: fixed;
  top: 64px;
  font-size: 16px;
  margin-top: -10px;
  padding-bottom: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,.05);
}

.bar {
  margin-left: 0;
}

#results.query.resultsList li {
  padding: 10px 40px;
  width: 100%;
}

#results.query.resultsList li:hover {
  background-color: #efefef;
}

.button .icon {
  font-size: 28px;
}

.button .button-menu {
  padding-top: 5px;
}

.button .button-search {
  padding-top: 0px;
}

#toggle-search:checked~.header .bar.search, .toggle-search .header .bar.search {
  padding-top: 5px;
}

.bar.search .query {
  padding-top: 12px !important;
}

.bar.search .button-reset {
  padding-top: 15px;
}

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

.project .banner {
  margin-bottom: -20px;
}

.project .logo+.name {
  padding-left: 15px;
}

.name strong {
  font-size: 28px;
}

.drawer {
  overflow: auto;
  height: 100%;
  padding-left: 80px;
  position: fixed;
  margin-left: -120px;
  width: 380px;
}

.drawer .toc li a.menu-title {
    cursor: pointer;
}

#productVersionDrawerHolder {
  opacity: 0;
  transform: scale(0.01);
}

button.accordion {
    cursor: pointer;
    transition: 0.4s;
}

button.accordion.active, button.accordion:hover {
    background-color: #ccc;
}

.drawer .toc li ul .panel {
    display: none;
}

.menu-dropdown-icon {
  margin-left: 10px;
  font-weight: 100;
}

/* General Content Overrides ----------------------------------------------------------------- */

.article h1 {
  font-size: 35px;
  padding-top: 50px;
  padding-bottom: 0px !important;
  border-bottom: none;
}

.ios .scrollable .wrapper {
  margin-bottom: 0;
}

@media only screen and (min-width: 720px) {
  .article .wrapper {
    padding-top: 50px;
  }

  .drawer {
    padding-top: 80px;
  }
}

/* Dropdown Stuff ----------------------------------------------------------------- */

#productVersionNav {
  display: inline;
}

#productVersionNav .buttonHolder {
  z-index: 2000;
  display: inline-block;
  position: absolute;
  padding-top: 13px;
  padding-left: 5px;
}

.platformHolder {
  height: 50px;
  padding-top: 5px;
}

#productButton, #versionButton, #platformButton, #productButtonDrawer, #versionButtonDrawer {
  cursor: pointer;
  position: absolute;
  margin-left: 0;
  border-radius: 3px;
  font-size: 16px;
  font-weight: bold;
  background-color: #e7e7e7;
}

#productButton a, #versionButton a, #platformButton a, #productButtonDrawer a, #versionButtonDrawer a {
  color: rgb(90, 90, 90);
  border-bottom: none;
  padding: 10px;
}

#productButton, #productButtonDrawer {
  width: 260px;
}

#versionButton, #versionButtonDrawer {
  width: 100px;
  margin-left: 270px;
}

#platformButton {
  width: 200px;
}

#platformButton a {
  display: block;
}

#platformButton li {
  margin-top: 0;
}

.dropdownArrow {
  float: right;
  font-size: 20px;
}

.platformButtonTitle .dropdownArrow, .platformButtonTitleDrawer .dropdownArrow {
  padding-top: 1px;
}

.hiddenProducts, .hiddenVersions, .hiddenPlatforms, .hiddenProductsDrawer, .hiddenVersionsDrawer {
  font-weight: normal;
  z-index: 100;
  background-color: #e7e7e7;
}

.hiddenItems {
  margin-top: 0 !important;
  border-radius: 3px;
}

.hiddenItem {
  margin-left: 0 !important;
}

.hiddenItem:before {
  content: none !important;
}

.hiddenItem:hover {
  background-color: #dbdbdb; 
}

/* Alerts ----------------------------------------------------------------- */

#alertSection {
  z-index: -1;
  position: fixed;
  top: 64px;
  width: 100%;
}

.alertBanner {
  background-color: #cc7d7c;
  box-shadow: 0 3px 8px rgba(0,0,0,.05);
  width: 100%;
  right: 0;
  padding: 5px;
  text-align: center;
}

.alertBanner a, .alertBanner span {
  color: #dedede;
}

.alertBanner a:hover {
  color: #ffffff;
}

.alertBannerText {
  font-size: 14px;
}

.closeAlert {
  float: right;
  margin-right: 20px;
  font-size: 16px;
}

/* Non-Homepage Index Buttons ----------------------------------------------------------------- */

.landingButtonHolder {
  text-align: center;
  margin-top: 20px;
}

.landingButton {
  border: 1px solid #89C967;
  display: inline-block;
  width: 200px;
  height: 100px;
  margin: 10px;
}

.landingButton a {
  font-size: 20px;
  display: block;
  margin-top: 35px;
  border-bottom: none;
}

/* Media Queries ----------------------------------------------------------------- */

@media only screen and (max-width: 1310px) {
  .drawer {
    padding-left: 100px;
  }

  .drawer .toc li a.menu-title {
    font-size: 18px;
  }

  .drawer .toc li a.menu-child {
    font-size: 16px;
  }  
}

@media only screen and (max-width: 1265px) {
  .drawer {
    padding-left: 110px;
  }
}

@media only screen and (max-width: 1254px) {
  .drawer {
    padding-left: 130px;
  }

  .drawer .toc li a.menu-title {
    font-size: 16px;
  }

  .drawer .toc li a.menu-child {
    font-size: 14px;
  }

  .banner .name strong {
    font-size: 16px;
  }
}

@media only screen and (max-width: 970px) {
  article .wrapper {
    padding-top: 0;
  }

  .results .scrollable {
    margin-top: -8px;
  }

  .results {
    top: 57px;
  }

  .header {
    height: 55px;
  }

  .header .stretch {
    padding: 0;
  }

  .bar.search .query {
    padding-top: 30px !important;
  }

  .toggle-button .icon {
    font-size: 24px;
    margin-top: -2px;
  }

  .button-menu {
    padding-top: 7px;
  }

  .homepage-main {
    padding-top: 50px !important;
  }

  .field {
    padding-top: 2px;
  }

  .title {
    padding: 15px !important;
  }

  .header .stretch .title {
    font-size: 22px;
  }

  #productVersionNav {
    opacity: 0;
    transform: scale(0.01);
  }

  #productVersionDrawerHolder {
    opacity: 1;
    transform: scale(1);
    padding-top: 15px;
    display: block;
    background-color: white;
    height: 110px;
    margin-top: 20px;
  }

  #productVersionDrawerHolder .buttonHolder {
    display: block;
  }

  #productButtonDrawer {
    margin: 0 20px;
    width: 200px;
    font-size: 14px;
  }

  #versionButtonDrawer {
    margin: 30px 10px 0 20px;
    font-size: 14px;
  }

  #productButtonDrawer .hiddenItem a, #versionButtonDrawer .hiddenItem a {
    display: block;
  }

  .productButtonTitleDrawer, .versionButtonTitleDrawer {
    display: block;
  }

  .productButtonTitleDrawer a, .versionButtonTitleDrawer a {
    padding: 10px;
    display: block;
  }

  .hiddenProductsDrawer, .hiddenversionsDrawer {
    position: relative;
  }

  #specialDivider {
    margin-top: 80px;
  }

  #results.query.resultsList li {
    padding: 10px 25px;
  }

  .product-holder {
    height: 200px;
  }

  #results.query.resultsList {
    top: 50px;
  }

  #alertSection {
    top: 55px;
  }
}

@media only screen and (max-width: 959px) {
  .title {
    padding-left: 0px !important;
  }

  .article .wrapper {
    padding-top: 30px;
  }

  .results {
    top: unset;
  }

  .results {
    top: 0px;
  }

  .drawer {
    padding-top: 0;
    width: 260px;
    margin-left: 0;
    padding-left: 0;
  }

  .project {
    padding-bottom: 20px;
    padding-left: 10px;
  }

  .toc {
    padding-left: 10px;
    padding-top: 70px;
  }

  .palette-primary-green .project {
    background-color: rgb(56, 56, 56);
  }
}

@media only screen and (max-width: 775px) {
  .title {
    padding-left: 0px !important;
  }

  .bar.search .query {
    padding-top: 0 !important;
  }

  .bar.search .button-reset {
    padding-top: 0;
  }

  .button.button-close {
    padding-top: 0;
  }

  .results .scrollable {
    top: 50px;
    margin-top: 0;
  }

  .header {
    height: 50px;
  }

  .product-holder {
    height: 200px;
  }

  .header .stretch {
    padding: 0;
  }

  .bar.search {
    margin-top: 5px;
  }

  .field {
    padding-top: 3px;
  }

  #results.query.resultsList {
    top: 50px;
  }

  .bar.search .query {
    font-size: 18px;
  }

  .button .icon {
    padding: 0px;
    padding-top: 0;
    font-size: 25px !important;
  }

  .button-search {
    padding-top: 1px;
  }

  .button-menu {
    padding-top: 6px;
  }

  .homepage-main {
    padding-top: 50px !important;
  }

  .header .stretch .title {
    font-size: 18px;
  }

  .product-holder {
    height: 200px;
  }

  #results.query.resultsList {
    top: 50px;
  }

  #productVersionNav #productButton {
    width: 190px;
  }

  #productVersionNav #versionButton {
    margin-left: 200px;
    width: 70px;
  }

  #alertSection {
    top: 50px;
  }
}

@media only screen and (max-width: 720px) {
  .field {
    padding-top: 4px;
  }
}

@media only screen and (max-width: 625px) {
  .toggle-button .icon {
    padding-top: 2px;
  }

  .header .stretch .title {
    display: block;
  }

  nav .scrollable {
    padding-top: 95px;
  }

  #productVersionNav {
    opacity: 0;
    transform: scale(0.01);
  }

  #productVersionDrawerHolder {
    opacity: 1;
    transform: scale(1);
    padding-top: 15px;
    display: block;
    background-color: white;
    height: 110px;
    margin-top: 20px;
  }

  #productVersionDrawerHolder .buttonHolder {
    display: block;
  }

  #productButtonDrawer {
    margin: 0 20px;
    width: 200px;
    font-size: 14px;
  }

  #versionButtonDrawer {
    margin: 30px 10px 0 20px;
    font-size: 14px;
  }

  #productButtonDrawer .hiddenItem a, #versionButtonDrawer .hiddenItem a {
    display: block;
  }

  .productButtonTitleDrawer, .versionButtonTitleDrawer {
    display: block;
  }

  .productButtonTitleDrawer a, .versionButtonTitleDrawer a {
    padding: 10px;
    display: block;
  }

  .hiddenProductsDrawer, .hiddenversionsDrawer {
    position: relative;
  }

  #specialDivider {
    margin-top: 80px;
  }

  #results.query.resultsList li {
    padding: 10px 25px;
  }

  .product-holder {
    height: 200px;
  }
  
  #results.query.resultsList {
    top: 50px;
  }

  .bar.search .query {
    font-size: 16px;
  }
}

@media only screen and (max-width: 366px) {
  /*#productButton {
    width: 170px;
  }

  .productButtonTitle, .versionButtonTitle {
    font-size: 10px;
  }

  #versionButton {
    margin-left: 180px;
  }*/
 
  .button .icon {
    //margin: 0 5px;
  }

  .toggle-button .icon {
    margin-left: 0;
  }
}

/* 404 page ----------------------------------------------------------------- */
.notFoundContainer {
  height: 100%;
  width: 100%;
  text-align: center;
  padding-top: 10%;
  color: #3d3d3d;
}

.notFoundContainer i {
  font-size: 130px;
}

.notFoundContainer h1 {
  font-size: 120px;
}

.notFoundContainer h2 {
  font-size: 44px;
  margin-top: 0;
}

.notFoundContainer p {
  font-size: 24px;
  padding-top: 15px;
  margin-bottom: 50px;
  color: #a4a4a4;
}

.homeButton {
  margin-top: 50px;
  padding: 10px;
  border: 1px solid #a8a8a8;
  border-radius: 3px;
  color: #3d3d3d
}
