html, body {
  margin: 0;
  padding: 0;
  background-color: #262626;
  font-family: verdana, arial, helvetica, sans-serif; }

noscript {
  color: white; }

::selection {
  background: #8cb3d9;
  color: white; }

.main {
  margin: 15px 15px 100px;
  color: white; }

.toggleFilters {
  margin-bottom: 15px; }

.removed {
  background-color: #840c09; }

.deleted {
  background-color: #00007d; }

.unknown {
  background-color: #ffd7ad; }

.removed-text {
  color: #c70300; }

.deleted-text {
  color: #0000ff; }

a {
  color: #8cb3d9; }

a:link, a:visited, a:active {
  text-decoration: none; }

.author {
  color: #6a98af; }

.author:not([href]) {
  color: inherit;
  text-decoration: none; }

.space {
  margin-left: 5px; }

select {
  background: transparent;
  border: 0;
  color: #828282; }

.time {
  color: #828282; }

.page-title {
  margin-left: 5px;
  font-size: 22px;
  font-weight: bold;
  color: white; }

.page-title-link {
  margin-bottom: 15px;
  margin-left: 5px;
  font-size: 14px;
  color: white; }

.collapseToggle, .pointer {
  cursor: pointer; }

.blank_page {
  text-align: center; }
  .blank_page .text, .blank_page input {
    font-size: 20px; }

header {
  background-color: #c70300;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px; }
  header .subheading, header label, header #subheading input {
    font-weight: bold; }
  header #subheading .user input[type="text"] {
    width: 118px; }
  header #subheading input[type="text"] {
    background: #262626;
    color: white;
    font-family: verdana, arial, helvetica, sans-serif;
    width: 150px; }
    header #subheading input[type="text"]:-webkit-autofill {
      -webkit-box-shadow: 0 0 0 1000px #262626 inset;
      -webkit-text-fill-color: white; }
  header #subheading input[type="submit"] {
    margin-left: 5px; }
  header .opposite {
    margin-bottom: 3px; }
    header .opposite a {
      opacity: .7; }
  header label {
    font-size: 16px; }
  header #header a, header #header label {
    color: #fff; }
  header #header h1 {
    margin: 0; }
    header #header h1 a {
      transition: color 0.3s; }
    header #header h1 a:hover {
      text-decoration: none;
      color: #ff8b88; }
  header #header #title_and_forms {
    display: flex;
    flex-wrap: wrap; }
    header #header #title_and_forms form.topForm {
      margin-bottom: 5px; }
    header #header #title_and_forms form {
      display: flex;
      justify-content: flex-end;
      align-items: flex-end; }
      header #header #title_and_forms form input[type="text"] {
        margin: 0 5px;
        width: 100px; }
    header #header #title_and_forms #forms {
      margin-left: 15px;
      margin-bottom: 5px; }
  header #status {
    display: flex;
    justify-content: space-between;
    align-items: center; }
    header #status #status-text {
      color: #fff;
      margin: 0 20px 0 0; }
    header #status #status-image {
      height: 64px;
      width: 64px;
      border-radius: 32px; }

nav {
  background-color: #c70300;
  padding-bottom: 10px; }
  nav a {
    color: white;
    margin: 0 7px;
    font-size: 15px;
    display: inline-block; }
  nav a.selected {
    font-weight: bold; }

body .github-fork-ribbon:before {
  background-color: #333; }

body .github-fork-ribbon.left-bottom:before {
  background-color: white; }

body .github-fork-ribbon.left-bottom:after {
  color: #c70300;
  border-color: #c70300;
  text-shadow: 0 -0.08em rgba(199, 3, 0, 0.5); }

#main-box {
  margin: 0 auto;
  padding: 20px;
  border-radius: 5px;
  color: #fff;
  word-wrap: break-word;
  max-width: 800px;
  background-color: #161616; }
  #main-box h2 {
    margin: 20px 0px 12px; }
  #main-box h2.about {
    color: #c70300; }
  #main-box h2.todo {
    color: #239f2b; }
  #main-box h2.contact {
    color: #1b767a; }
  #main-box ul {
    padding-left: 30px;
    margin: 0; }
    #main-box ul.news ul {
      list-style-type: none; }
  #main-box .bookmarklet {
    background: #c70300;
    color: #fff;
    padding: 0px 3px 1px;
    font-size: large;
    font-weight: bold;
    display: inline-block;
    border-radius: 5px;
    margin: 0 7px; }
  #main-box p.space {
    line-height: 1.5; }
  #main-box .v {
    font-weight: bold;
    color: #c70300; }
    #main-box .v.white {
      color: white; }
  #main-box .text {
    color: white; }
  #main-box .section {
    margin-top: 20px; }
    #main-box .section.about .note {
      margin-top: 80px;
      max-width: 430px;
      line-height: 1.3; }
    #main-box .section.half {
      width: 380px; }
  #main-box .sections {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; }
  #main-box a.prev {
    margin-right: 40px; }
  #main-box a.prev, #main-box a.next {
    user-select: none; }

a.disabled {
  cursor: default;
  color: #828282; }

.comment {
  margin: 0 0 8px 0;
  padding: 5px 8px 5px 30px;
  border: 1px solid #333;
  border-radius: 3px;
  color: #ddd;
  font-size: 14px;
  word-break: break-word; }
  .comment.focus > .comment-body-and-links > .comment-body {
    background-color: #333;
    padding-left: 5px;
    min-height: 35px;
    margin-top: 3px; }
  .comment .comment-head {
    font-size: 10px; }
  .comment .author {
    font-weight: bold; }
    .comment .author.submitter {
      background-color: #0055df;
      border-radius: 3px;
      color: white;
      font-weight: 700;
      padding: 1px 2px; }
  .comment .author:not([href]) {
    color: #828282; }
  .comment .comment-score {
    color: #b4b4b4;
    font-weight: bold; }
  .comment .comment-time {
    color: #828282; }
  .comment .comment-body {
    max-width: 840px;
    line-height: 20px; }
    .comment .comment-body p {
      margin: 5px 0;
      line-height: 20px; }
    .comment .comment-body a:hover {
      text-decoration: none; }
  .comment .comment-links {
    margin-bottom: 6px; }
  .comment .comment-links a {
    color: #828282;
    font-weight: bold;
    font-size: 10px;
    margin-right: 16px; }

.comment-odd {
  background-color: #121212; }

.comment-even {
  background-color: #161616; }

#comment-info {
  margin-top: 13px;
  font-weight: bold;
  padding-bottom: 5px;
  border-bottom: 1px dotted #808080;
  font-size: 16px; }

#sort-by {
  color: #828282;
  font-size: 12px;
  margin: 5px 0 10px; }

.post {
  word-break: break-word;
  border: 1px solid #333; }
  .post .score {
    color: #b4b4b4;
    font-weight: bold; }

#comment-info {
  color: #ca302c;
  margin-top: 10px;
  font-weight: bold;
  padding-bottom: 5px;
  border-bottom: 1px dotted #808080;
  font-size: 16px; }

#comment-sort {
  color: #808080;
  font-size: 12px;
  margin: 5px 0 10px; }

.clearBoth {
  clear: both; }

.comment .comment-links, .comment .post-links, .post .comment-links, .post .post-links {
  margin-bottom: 6px; }

.comment .comment-links a, .comment .post-links a, .post .comment-links a, .post .post-links a {
  color: #828282;
  font-weight: bold; }

.comment .comment-links a, .comment .post-links a, .comment .quarantined, .post .comment-links a, .post .post-links a, .post .quarantined {
  margin-right: 16px;
  font-size: 10px; }

.comment .flair, .post .flair {
  display: inline-block;
  color: #c8c8c8;
  background-color: #404040;
  margin-right: 5px;
  border: 1px solid #4d4d4d;
  border-radius: 2px;
  padding: 0 2px;
  font-size: 10px; }

.comment .author.distinguished, .post .author.distinguished {
  border-radius: 3px;
  color: white;
  font-weight: 700;
  padding: 1px 2px; }
  .comment .author.distinguished.moderator, .post .author.distinguished.moderator {
    background-color: #228822; }
  .comment .author.distinguished.admin, .comment .author.distinguished.special, .post .author.distinguished.admin, .post .author.distinguished.special {
    background-color: #c70300;
    border: 1px solid white; }

.comment .lockedTag, .post .lockedTag {
  color: black;
  background: #ffd635;
  border-radius: 10px;
  font-weight: 700;
  padding: 0 4px 2px;
  border: 1px solid white;
  display: inline-block;
  margin: 3px 5px 0px; }

.post.stickied .thread-title {
  color: #228822;
  font-weight: bold; }

.thread {
  display: flex;
  flex-grow: 1;
  margin-bottom: 7px;
  border-radius: 1px;
  padding-top: 6px; }
  .thread .thumbnail {
    width: 70px;
    margin-right: 3px;
    margin-top: -2px; }
    .thread .thumbnail img {
      border-radius: 1px; }
  .thread .thumbnail-default {
    background-image: url("https://www.redditstatic.com/sprite-reddit.6Om8v6KMv28.png");
    background-position: 0px -1099px;
    background-repeat: no-repeat;
    height: 50px; }
  .thread .thumbnail-self {
    background-image: url("https://www.redditstatic.com/sprite-reddit.6Om8v6KMv28.png");
    background-position: 0px -1267px;
    background-repeat: no-repeat;
    height: 50px; }
  .thread .thumbnail-image {
    background-image: url("https://www.redditstatic.com/sprite-reddit.6Om8v6KMv28.png");
    background-position: 0px -1043px;
    background-repeat: no-repeat;
    height: 50px; }
  .thread .thumbnail-nsfw {
    background-image: url("https://www.redditstatic.com/sprite-reddit.6Om8v6KMv28.png");
    background-position: 0px -1155px;
    background-repeat: no-repeat;
    height: 50px; }
  .thread .thread-score-box {
    margin: 0 7px;
    float: left;
    width: 43px; }
  .thread .vote {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAcCAMAAADC4sagAAABFFBMVEUjJCQiIiIjIyMkIiIkJCQlJSUlJicmJiYnIyEnJycnKCsoKCgpLC8rIyErKyssMDUvLy8wJCAwMDAxMTEyMjI0NDQ2NjY3JR83Nzc5OTk7Ozs8PDw9PT0+Pj4/Pz9AQEBBQUFCQkJDQ0NGRkZISEhKSkpKV2tLS0tMTExOTk5PT09QYHdSUlJTU1NVVVVWVlZXV1dXaINYWFhaWlpabYlbW1tecpBgYGBhYWFid5dkZGRle5xlfJ1pgKRrhKhshKlshapuLhZwirFyjbV0j7h4lL97mcZ9MBR/nsyCo9OOMxGcNQ+eNg+kNw6sOA2vOAy0OQy7Ogq/OwrBOwrDPAnLPQjPPQfTPgfbPwXjQQTrQgPzQwLKxGgxAAAAAXRSTlMAQObYZgAAAAlwSFlzAAALEwAACxMBAJqcGAAAAVlJREFUOMu9lF1TwjAQRTcMvmeQOi1QPmxFBQTxW1ERUUFEUVRU/P//w9yGmBTFyZPnpXNmbju76W6IJM8Uw49rLa6Tz4mpq/mCqY3Gvqnj6XQ61lp0mGd8favCwx2tow8wUlpwGWOZrNJKjXO+UVc6fJcMZzV7IswSOU/qej0l0rwyq33wphhAM1kWkcy70GB7mUfUNqG9V02PyPMTMs2Wig5RaTctwzxVXyPqvJh0VkJBIKJ4huncCRAvHOEZyGKegO4a6UDrIdLGCT4C6/QDsE7fA+v0HdAadWqk0SH9D3sgXkm4uJIDYKTFnwwXd3kMrNOnwDp9BmzS5QuTshN1iDRwfkxV9VJTJXLzSWYM+NzEEjWvFE2oGvCE7/2yDeL8riWzM8xmorRazLlNI2rdgNb3ZYLF1Es/t8VE7X6/39Yqlt4tLLwhiLq3XVNLfumP24fo3Opm+wLGCVa252Y8tQAAAABJRU5ErkJggg==);
    background-repeat: no-repeat;
    margin-left: auto;
    margin-right: auto;
    width: 15px;
    height: 14px;
    cursor: pointer; }
  .thread .upvote {
    background-position: -15px 0px;
    margin-top: 2px; }
  .thread .downvote {
    background-position: -15px -14px;
    margin-top: 2px; }
  .thread .thread-score {
    color: #646464;
    font-size: 13px;
    font-weight: bold;
    text-align: center; }
  .thread .thread-content {
    flex: 1;
    margin-left: 3px; }
  .thread .link-flair {
    display: inline-block;
    color: #c8c8c8;
    background-color: #404040;
    margin-right: 5px;
    border: 1px solid #4d4d4d;
    border-radius: 2px;
    padding: 0 2px;
    font-size: 10px; }
  .thread .thread-title {
    color: #a6a6a6;
    margin-right: 5px; }
  .thread .thread-title:hover {
    text-decoration: none; }
  .thread .domain {
    color: #888;
    font-size: 10px; }
  .thread .thread-selftext {
    border: 1px solid #666;
    border-radius: 7px;
    margin: 5px 0 7px;
    padding: 5px 10px;
    max-width: 840px;
    color: #ddd;
    font-size: 14px; }
    .thread .thread-selftext p {
      margin: 5px 0;
      line-height: 20px; }
    .thread .thread-selftext a:hover {
      text-decoration: none; }
    .thread .thread-selftext p:first-child {
      margin-top: 0px; }
    .thread .thread-selftext p:last-child {
      margin-bottom: 0px; }
  .thread .thread-image {
    max-width: 768px;
    max-height: 768px; }
  .thread .thread-info {
    color: #828282;
    font-size: 10px;
    margin-top: 2px; }
  .thread .total-comments {
    color: #828282;
    font-size: 10px;
    margin: 4px 0; }
  .thread .grey-link, .thread .grey-link:link, .thread .grey-link:visited, .thread .grey-link:hover, .thread .grey-link:focus, .thread .grey-link:active {
    color: #828282;
    margin-right: 4px; }

.notice-with-link {
  background-color: #264d73;
  border-color: #2966a3;
  font-size: 13px;
  padding: 10px;
  color: #cccccc;
  margin-bottom: 10px; }

.post-rank {
  min-width: 20px;
  color: #505050;
  font-size: 16px;
  text-align: right;
  margin: 14px 4px 0 0; }

.subreddit-info {
  border-bottom: 1px dotted gray;
  padding: 5px 10px;
  color: #ccc;
  font-size: 14px;
  margin-bottom: 5px; }
  .subreddit-info select {
    background: #262626;
    color: #808080;
    font-size: 14px;
    font-weight: bold;
    text-decoration: underline;
    border: 0; }

#pagination {
  border-top: 1px dotted gray;
  padding: 5px 10px;
  color: #ccc;
  font-size: 16px; }
  #pagination span, #pagination a {
    margin: 5px; }

.revddit-sharing a {
  float: right; }

.search-box {
  font-size: 16px; }
  .search-box .search-row {
    padding: 10px 6px 11px;
    border-bottom: 1px dotted #ccc;
    min-height: 26px; }
  .search-box .search-left {
    font-weight: bold;
    display: inline-block;
    width: 190px;
    vertical-align: middle; }
  .search-box input[type="text"] {
    font-size: 17px;
    width: 400px;
    border-radius: 2px;
    padding-left: 3px; }
  .search-box .radioButton {
    background: #8a8888;
    color: black;
    border-radius: 3px;
    display: inline-block;
    margin-right: 9px;
    transition: all 0.3s; }
    .search-box .radioButton label {
      padding: 7px 10px 7px 3px;
      display: inline-block; }
    .search-box .radioButton input {
      margin: 0 0 0 5px;
      height: 35px;
      display: inline-block;
      vertical-align: top; }
  .search-box select {
    padding: 3px;
    font-size: 15px;
    border-radius: 2px; }
  .search-box input[type="submit"] {
    margin: 16px auto 0px;
    display: block;
    padding: 9px 16px;
    font-size: 18px;
    background: #239f2b;
    border: 0;
    border-radius: 2px;
    color: white; }

.non-item {
  text-align: center;
  padding-bottom: 10px; }
  .non-item.text {
    color: #828282; }

.load-all {
  float: right; }

.comment.user .title {
  font-size: 13px; }

.comment.user .comment-subhead {
  margin-top: 5px; }

.comment.user .author, .comment.user .comment-score, .comment.user .comment-time {
  font-size: 10px; }

.comment-head.subhead {
  margin-top: 4px; }

.clear {
  clear: both; }

.quarantined {
  background: #ffd635;
  color: #222222;
  padding: 0px 3px 1px;
  font-weight: bold;
  border-radius: 5px; }

.userpage {
  min-height: 50vh;
  display: flex;
  justify-content: space-between;
  flex-direction: column; }

.selections {
  color: #828282;
  padding-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  margin-top: -10px; }
  .selections a {
    color: #828282; }
  .selections .categoryFilter {
    width: 150px; }
    .selections .categoryFilter select {
      width: 100%; }
  .selections .selection {
    margin-top: 10px;
    padding-right: 35px; }
    .selections .selection label {
      display: block; }
    .selections .selection .title {
      font-weight: bold;
      margin-bottom: 5px; }
  .selections .filter-menu {
    display: flex; }
  .selections .filter .title:before {
    content: "";
    display: block;
    height: 20px;
    width: 20px;
    background-size: 20px 20px;
    background-image: url("/images/filter_unset.svg");
    background-repeat: no-repeat;
    float: left;
    margin-right: 15px; }
  .selections .filter.set .title:before {
    background-image: url("/images/filter_set.svg"); }
  .selections #reverseSort {
    margin-top: 5px; }
  .selections input:checked ~ *, .selections a.selected {
    color: white; }

.removedby {
  color: #c70300;
  background: black;
  border-radius: 3px;
  font-weight: 700;
  padding: 0 4px 2px;
  border: 1px solid white;
  display: inline-block;
  margin-top: 3px; }

.removedby[data-removedby=automod-rem-mod-app] {
  background: green;
  color: white; }

.upvoteRemovalRate .preview {
  padding: 5px 8px;
  position: absolute;
  background-color: #262626;
  z-index: 10;
  display: flex; }
  .upvoteRemovalRate .preview.post {
    font-size: 14px; }
  .upvoteRemovalRate .preview .rate {
    color: #646464;
    font-size: 18px;
    font-weight: bold;
    margin: auto 5px;
    word-break: normal; }
  .upvoteRemovalRate .preview .score, .upvoteRemovalRate .preview .time, .upvoteRemovalRate .preview .num_comments {
    font-size: 10px; }
  .upvoteRemovalRate .preview .score, .upvoteRemovalRate .preview .num_comments {
    color: #b4b4b4; }

.upvoteRemovalRate .filter-name {
  width: 42px; }

.upvoteRemovalRate .graph {
  margin-top: 5px; }

.upvoteRemovalRate .options {
  margin-top: 5px; }

.upvoteRemovalRate .toggleOptions a {
  color: #8cb3d9; }

input[name=username] {
  margin-right: 5px; }

.selections {
  color: #828282;
  padding-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  margin-top: -10px; }
  .selections a {
    color: #828282; }
  .selections .categoryFilter {
    width: 150px; }
    .selections .categoryFilter select {
      width: 100%; }
  .selections .selection {
    margin-top: 10px;
    padding-right: 35px; }
    .selections .selection label {
      display: block; }
    .selections .selection .title {
      font-weight: bold;
      margin-bottom: 5px; }
  .selections .filter-menu {
    display: flex; }
  .selections .filter .title:before {
    content: "";
    display: block;
    height: 20px;
    width: 20px;
    background-size: 20px 20px;
    background-image: url("/images/filter_unset.svg");
    background-repeat: no-repeat;
    float: left;
    margin-right: 15px; }
  .selections .filter.set .title:before {
    background-image: url("/images/filter_set.svg"); }
  .selections #reverseSort {
    margin-top: 5px; }
  .selections input:checked ~ *, .selections a.selected {
    color: white; }

.removedby {
  color: #c70300;
  background: black;
  border-radius: 3px;
  font-weight: 700;
  padding: 0 4px 2px;
  border: 1px solid white;
  display: inline-block;
  margin-top: 3px; }

.removedby[data-removedby=automod-rem-mod-app] {
  background: green;
  color: white; }

.upvoteRemovalRate .preview {
  padding: 5px 8px;
  position: absolute;
  background-color: #262626;
  z-index: 10;
  display: flex; }
  .upvoteRemovalRate .preview.post {
    font-size: 14px; }
  .upvoteRemovalRate .preview .rate {
    color: #646464;
    font-size: 18px;
    font-weight: bold;
    margin: auto 5px;
    word-break: normal; }
  .upvoteRemovalRate .preview .score, .upvoteRemovalRate .preview .time, .upvoteRemovalRate .preview .num_comments {
    font-size: 10px; }
  .upvoteRemovalRate .preview .score, .upvoteRemovalRate .preview .num_comments {
    color: #b4b4b4; }

.upvoteRemovalRate .filter-name {
  width: 42px; }

.upvoteRemovalRate .graph {
  margin-top: 5px; }

.upvoteRemovalRate .options {
  margin-top: 5px; }

.upvoteRemovalRate .toggleOptions a {
  color: #8cb3d9; }

input[name=username] {
  margin-right: 5px; }

blockquote {
  border-left: 2px solid #c5c1ad;
  color: #979797;
  padding: 0 8px;
  margin-left: 5px; }

pre {
  margin-top: 0.35714285714285715em;
  margin-bottom: 0.35714285714285715em;
  padding: 4px 9px;
  overflow: auto;
  border: 1px solid #e6e6de;
  background-color: #535353;
  border-radius: 2px; }
  pre code {
    white-space: pre;
    border: 0;
    display: block;
    padding: 0 !important; }

.ReactModal__Overlay {
  opacity: 0;
  transition: opacity 500ms ease-in-out; }

.ReactModal__Overlay--after-open {
  opacity: 1; }

.ReactModal__Overlay--before-close {
  opacity: 0; }

#genericModal {
  max-width: 475px;
  padding: 5px; }

.donate-form-container {
  background: #161616;
  padding: 20px;
  display: flex;
  justify-content: center;
  flex-direction: column; }
  .donate-form-container * {
    font-size: 20px; }
  .donate-form-container label {
    color: white; }
  .donate-form-container .field {
    background: transparent;
    font-weight: 300;
    border: 0;
    color: white;
    outline: none;
    cursor: text;
    display: block;
    width: 100%;
    line-height: 32px;
    padding-bottom: 3px;
    transition: opacity 200ms ease-in-out;
    border-bottom: 1px solid #586A82; }
  .donate-form-container .dollar-sign {
    line-height: 32px;
    margin-right: 3px;
    color: #8898AA; }
  .donate-form-container .amount-container {
    display: flex; }
  .donate-form-container .donate-btn {
    display: block;
    background: #c70300;
    border: 0;
    color: white;
    border-radius: 25px;
    margin-top: 20px;
    font-size: 19px;
    font-weight: 900;
    width: 100%;
    line-height: 45px;
    outline: none;
    cursor: pointer; }
  .donate-form-container .donate-btn:focus {
    background: white;
    color: #c70300; }
  .donate-form-container .donate-btn:active {
    background: white;
    color: #c70300; }
  .donate-form-container label#monthly {
    float: right; }
  .donate-form-container .more-ways {
    margin-top: 20px; }
  .donate-form-container .more-ways, .donate-form-container #frequency {
    display: flex;
    justify-content: space-around; }

/*!
 * "Fork me on GitHub" CSS ribbon v0.2.3 | MIT License
 * https://github.com/simonwhitaker/github-fork-ribbon-css
*/
.github-fork-ribbon {
  width: 12.1em;
  height: 12.1em;
  position: absolute;
  overflow: hidden;
  top: 0;
  right: 0;
  z-index: 9999;
  pointer-events: none;
  font-size: 13px;
  text-decoration: none;
  text-indent: -999999px; }

.github-fork-ribbon.fixed {
  position: fixed; }

.github-fork-ribbon:hover, .github-fork-ribbon:active {
  background-color: rgba(0, 0, 0, 0); }

.github-fork-ribbon:before, .github-fork-ribbon:after {
  /* The right and left classes determine the side we attach our banner to */
  position: absolute;
  display: block;
  width: 15.38em;
  height: 1.54em;
  top: 3.23em;
  right: -3.23em;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg); }

.github-fork-ribbon:before {
  content: "";
  /* Add a bit of padding to give some substance outside the "stitching" */
  padding: .38em 0;
  /* Set the base colour */
  background-color: #a00;
  /* Set a gradient: transparent black at the top to almost-transparent black at the bottom */
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.15)));
  background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15));
  background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15));
  background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15));
  background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15));
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15));
  /* Add a drop shadow */
  -webkit-box-shadow: 0 0.15em 0.23em 0 rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 0.15em 0.23em 0 rgba(0, 0, 0, 0.5);
  box-shadow: 0 0.15em 0.23em 0 rgba(0, 0, 0, 0.5);
  pointer-events: auto; }

.github-fork-ribbon:after {
  /* Set the text from the data-ribbon attribute */
  content: attr(data-ribbon);
  /* Set the text properties */
  color: #fff;
  font: 700 1em "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.54em;
  text-decoration: none;
  text-shadow: 0 -0.08em rgba(0, 0, 0, 0.5);
  text-align: center;
  text-indent: 0;
  /* Set the layout properties */
  padding: .15em 0;
  margin: .15em 0;
  /* Add "stitching" effect */
  border-width: .08em 0;
  border-style: dotted;
  border-color: #fff;
  border-color: rgba(255, 255, 255, 0.7); }

.github-fork-ribbon.left-top, .github-fork-ribbon.left-bottom {
  right: auto;
  left: 0; }

.github-fork-ribbon.left-bottom, .github-fork-ribbon.right-bottom {
  top: auto;
  bottom: 0; }

.github-fork-ribbon.left-top:before, .github-fork-ribbon.left-top:after, .github-fork-ribbon.left-bottom:before, .github-fork-ribbon.left-bottom:after {
  right: auto;
  left: -3.23em; }

.github-fork-ribbon.left-bottom:before, .github-fork-ribbon.left-bottom:after, .github-fork-ribbon.right-bottom:before, .github-fork-ribbon.right-bottom:after {
  top: auto;
  bottom: 3.23em; }

.github-fork-ribbon.left-top:before, .github-fork-ribbon.left-top:after, .github-fork-ribbon.right-bottom:before, .github-fork-ribbon.right-bottom:after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg); }
