.mui-btn {
  margin: 0 !important;
  text-transform: capitalize;
  padding: 0 5px;
  font-size: 12px;
}

.cate-anchor-h1 {
  font-size: 18px;
}

.cate-anchor-h2 {
  margin-left: 10px;
  font-size: 16px;
}

.cate-anchor-h3 {
  margin-left: 20px;
  font-size: 14px;
}

.cate-anchor-h4 {
  margin-left: 30px;
  font-size: 12px;
}

.cate-anchor-h5 {
  margin-left: 40px;
  font-size: 12px;
}

.cate-anchor-h6 {
  margin-left: 50px;
  font-size: 12px;
}

.awesome-cate strong {
  padding: 10px 22px !important;
}

.alert {
  display: table;
  margin: 20px auto;
}

.cate-input {
  width: 150px;
  padding: 5px;
  font-size: 12px;
  margin: 20px auto;
  line-height: normal;
  color: #333;
  vertical-align: middle;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: right 8px center;
  border: 1px solid #ccc;
  outline: none;
  border-radius: 3px;
  -moz-border-raius: 3px;
  -webkit-border-radius: 3px;
  -o-border-radius: 3px;
}

.cate-input:focus {
  border: 1px solid black;
  outline: 0;
}

.cate-search-result {
  position: absolute;
  opacity: 0.978;
  top: 40px;
  padding: 4px;
  right: 0px;
  width: 184px;
  background-color: white;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  -moz-border-raius: 3px;
  -webkit-border-radius: 3px;
  -o-border-radius: 3px;
  margin: 2px;
  font-size: 12px;
  line-height: normal;
  z-index: 999;
  overflow: hidden;
}

.cate-search-result a {
  color: black;
  font-size: 13px;
}

.search-repo-link {
  cursor: pointer;
}

.search-repo-link:hover {
  text-decoration: hover;
}

#content-wrapper {
  display: block;
  margin-left: 0px;
  transition: margin-left 0.2s;
}

#readme {
  background-color: white;
  padding: 10px 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 2px 0 rgba(0, 0, 0, 0.12);
  overflow: hidden;
  box-sizing: border-box;
  font-size: 1.2em;
}

#readme .home-page-title {
  font-variant: small-caps;
}

.origin-repo-btn {
  background-color: white;
  color: black;
  padding: 5px 20px;
  margin-right: 5px;
  border-bottom: 2px solid #e6e6e6;
  transition: all 0.5s ease;
}

.origin-repo-btn:hover {
  text-decoration: none;
  color: gray;
  border-bottom: 2px solid #9a9a9a;
}

.mui-dropdown__menu {
  overflow-x: auto;
  max-height: 550px;
}

.to-top-arrow {
  background: transparent;
  border: 0px;
  padding: 10px 20px;
  position: fixed;
  font-size: 3em !important;
  color: gray;
  bottom: 20px;
  right: 20px;
}

body,
html {
  font-family: "Vollkorn", "Helvetica Neue", Helvetica, Arial;
  background-color: #eee;
  height: 100%;
  width: 100%;
  padding-bottom: 150px;
}

html,
body,
input,
textarea,
buttons {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
}

a {
  cursor: pointer;
}

/*
 *  Usage:
 *
      <div class="sk-spinner sk-spinner-pulse"></div>
 *
 */

.sk-spinner-pulse {
  width: 40px;
  height: 40px;
  margin: 40px auto;
  background-color: skyblue;
  border-radius: 100%;
  -webkit-animation: sk-pulseScaleOut 1s infinite ease-in-out;
  animation: sk-pulseScaleOut 1s infinite ease-in-out;
}

@-webkit-keyframes sk-pulseScaleOut {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}

@keyframes sk-pulseScaleOut {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}

/**
 * Layout CSS
 */

#header {
  opacity: 0.8;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  transition: left 0.2s;
  border-bottom: 1px solid gray;
}

#header .home-button:hover {
  text-decoration: none;
}

#header .mui-appbar {
  background-color: gray;
}

#header:hover {
  opacity: 1;
}

#sidedrawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 220px;
  left: -220px;
  overflow: auto;
  z-index: 2;
  background-color: #fff;
  transition: transform 0.2s;
  transition: -webkit-transform 0.2s;
}

/**
  screen width bigger than 768px
**/

@media (min-width: 768px) {
  #header {
    left: 220px;
  }

  #sidedrawer {
    transform: translate(220px);
    resize:both;
    overflow: auto;
  }

  #content-wrapper {
    margin-left: 220px;
  }

  #footer {
    margin-left: 220px;
  }

  body.hide-sidedrawer #header {
    left: 0;
  }

  body.hide-sidedrawer #sidedrawer {
    transform: translate(0px);
  }

  body.hide-sidedrawer #content-wrapper {
    margin-left: 0;
  }

  body.hide-sidedrawer #footer {
    margin-left: 0;
  }

  .mui-btn {
    padding: 0 10px;
    font-size: 16px;
  }
}

/**
 * Toggle Sidedrawer
 */

#sidedrawer.active {
  -moz-transform: translate(220px);
  -o-transform: translate(220px);
  -webkit-transform: translate(220px);
  transform: translate(220px);
}

/**
 * Header CSS
 */

.sidedrawer-toggle {
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 20px;
  margin-right: 10px;
}

.sidedrawer-toggle:hover {
  color: #fff;
  text-decoration: none;
}

/**
 * Sidedrawer CSS
 */

#sidedrawer-brand {
  padding-left: 20px;
}

#sidedrawer ul {
  list-style: none;
}

#sidedrawer>ul {
  padding-left: 0px;
}

#sidedrawer>ul>li:first-child {
  padding-top: 15px;
}

#sidedrawer strong {
  display: block;
  padding: 15px 22px;
  cursor: pointer;
}

#sidedrawer strong:hover {
  background-color: #e0e0e0;
}

#sidedrawer strong+ul>li {
  padding: 6px 0px;
}

.content-hidden {
  display: none;
}
