html {
  scroll-behavior: smooth;
}

.swal-wide {
  width: 770px !important;
}

.swal-custom {
  width: 770px !important;
}

.top-btn {
  width: 50px;
  height: 50px;
  background: #f5593d;
  color: #fff;
  text-align: center;
  border-radius: 10px;
  position: fixed;
  bottom: 10px;
  right: 30px;
  cursor: pointer;
  font-size: 18px;
  line-height: 50px;
  z-index: 999;
  transition: .5s;

  &::before {
      position: absolute;
      content: '';
      width: 100%;
      height: 0;
      background: #000;
      top: 0;
      left: 0;
      bottom: 0;
      z-index: -1;
      border-radius: 10px;
      transition: .5s;
  }

  &:hover::before {
      height: 100%;
  }
}

.intro {
  background: #fff;
  padding: 60px 30px;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.5;
  text-align: center;
}

.intro h1 {
  font-size: 18pt;
  padding-bottom: 15px;

}

.intro p {
  font-size: 14px;
}

.action {
  text-align: center;
  display: block;
  margin-top: 20px;
}

a.btn {
  text-decoration: none;
  color: #666;
  border: 2px solid #666;
  padding: 10px 15px;
  display: inline-block;
  margin-left: 5px;
}

a.btn:hover {
  background: #666;
  color: #fff;
  transition: .3s;
  -webkit-transition: .3s;
}

.btn:before {
  font-family: FontAwesome;
  font-weight: normal;
  margin-right: 10px;
}

.github:before {
  content: "\f09b"
}

.down:before {
  content: "\f019"
}

.back:before {
  content: "\f112"
}

.credit {
  background: #fff;
  padding: 12px;
  font-size: 9pt;
  text-align: center;
  color: #333;
  margin-top: 40px;

}

.credit span:before {
  font-family: FontAwesome;
  color: #e41b17;
  content: "\f004";


}

.credit a {
  color: #333;
  text-decoration: none;
}

.credit a:hover {
  color: #1DBF73;
}

.credit a:hover:after {
  font-family: FontAwesome;
  content: "\f08e";
  font-size: 9pt;
  position: absolute;
  margin: 3px;
}

main {
  background: #fff;
  padding: 20px;

}

article li {
  color: #444;
  font-size: 15px;
  margin-left: 33px;
  line-height: 1.5;
  padding: 5px;
}

article h1,
article h2,
article h3,
article h4,
article p {
  padding: 14px;
  color: #333;
}

article p {
  font-size: 15px;
  line-height: 1.5;
}

@media only screen and (min-width: 720px) {
  main {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding: 24px;
  }


}

.set-overlayer,
.set-glass,
.set-sticky {
  cursor: pointer;
  height: 45px;
  line-height: 45px;
  padding: 0 15px;
  color: #333;
  font-size: 16px;
}

.set-overlayer:after,
.set-glass:after,
.to-active:after,
.set-sticky:after {
  font-family: FontAwesome;
  font-size: 18pt;
  position: relative;
  float: right;
}

.set-overlayer:after,
.set-glass:after,
.set-sticky:after {
  content: "\f204";
  transition: .6s;
}

.to-active:after {
  content: "\f205";
  color: #008080;
  transition: .6s;
}

.set-overlayer,
.set-glass,
.set-sticky,
.source,
.theme-tray {
  margin: 10px;
  background: #f2f2f2;
  border-radius: 5px;
  border: 2px solid #f1f1f1;
  box-sizing: border-box;
}

/* Syntax Highlighter*/

pre.prettyprint {
  padding: 15px !important;
  margin: 10px;
  border: 0 !important;
  background: #f2f2f2;
  overflow: auto;
}

.source {
  white-space: pre;
  overflow: auto;
  max-height: 400px;
}

code {
  border: 1px solid #ddd;
  padding: 2px;
  border-radius: 2px;
}

@media (min-width:360px) and (max-width: 576px) {
  table {
    font-size: 0.5rem !important;
  }
}

/* Legacy demo table styles removed to prevent breaking daterangepicker and modern tables */


input[type="button"] {
  transition: all .3s;
  border: 1px solid #ddd;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
}

input[type="button"]:not(.active) {
  background-color: transparent;
}

.active {
  background-color: grey;
  color: #fff;
}

input[type="button"]:hover:not(.active) {
  background-color: #ddd;
}

