@font-face {
  font-family: 'toocheke';
  src: url('../fonts/toocheke/toocheke.eot?93485232');
  src: url('../fonts/toocheke/toocheke.eot?93485232#iefix') format('embedded-opentype'),
    url('../fonts/toocheke/toocheke.woff2?93485232') format('woff2'),
    url('../fonts/toocheke/toocheke.woff?93485232') format('woff'),
    url('../fonts/toocheke/toocheke.ttf?93485232') format('truetype'),
    url('../fonts/toocheke/toocheke.svg?93485232#toocheke') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'toocheke';
    src: url('../fonts/toocheke/toocheke.svg?93485232#toocheke') format('svg');
  }
}
*/

[class^="dashicons-toocheke-"]:before,
[class*=" dashicons-toocheke-"]:before {
  font-family: "toocheke";
  font-style: normal;
  font-weight: normal;
  speak: none;

  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;

  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */

  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.dashicons-toocheke-companion:before {
  content: '\e800';
}

/* '' */

.comic-thumbnail {
  margin: 0;
  width: auto;
  height: auto;
  max-width: 70px;
  max-height: 70px;
  vertical-align: middle;
}

.series-thumbnail,
.series-hero,
.series-bg {
  margin: 0;
  width: auto;
  height: auto;
  max-width: 100px;
  vertical-align: middle;
}

.color-box {
  width: 50px;
  height: 50px;
}

/* 
Universal theme styles
*/

#universal-comic-list {

  list-style: none;
  padding-left: 0;

}

/* -----------------------------
   Manga Chapter Gallery Styles
   ----------------------------- */

.manga-chapter-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0;
  padding: 0;
  list-style: none;
}

.manga-chapter-gallery li {
  position: relative;
  width: 140px;
  height: 140px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  cursor: move;
  /* show drag cursor */
}

.manga-chapter-page {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
}

.manga-chapter-gallery li .button.manga-chapter-gallery-remove {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: bold;
  padding: 0px 6px;
  text-transform: uppercase;
  height: 25px;
  line-height: 25px;
  min-height: 25px;
  overflow: hidden;
  background: #d63638;
  color: #fff;
  border: none;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.manga-chapter-gallery li .button.manga-chapter-gallery-remove:hover {
  background: #b32d2e;
}

/* Add Images button styling */
.manga-page-upload-button {
  margin-top: 10px;
}

/* ----------------------------
   Toocheke Hub Styling
   ---------------------------- */
.toocheke-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 30px;
  width: 100%;
  padding-bottom: 30px;
}

.toocheke-hub-item {
  position: relative;
}

.toocheke-hub-item-box {
  color: #111;
  background-color: #fff;
  border-radius: .25rem;
  box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2);
  display: block;
  margin-bottom: 1rem !important;
  position: relative;

}

.toocheke-hub-item-info {
  padding: 30px;
}

.toocheke-hub-item-info p {
  margin-bottom: 1rem;
}

.toocheke-hub-item-box h3 {
  font-size: 2em;
  font-weight: bold;
  margin: 0 0 10px 0;
  padding: 0;
  white-space: nowrap;
}

.toocheke-hub-item-box p {
  font-size: 1rem;
}

.toocheke-hub-item-icon {
  color: rgba(0, 0, 0, .15);
  z-index: 0;
}

.toocheke-hub-item-icon {
  display: block;

}

.toocheke-hub-item-icon span {
  font-size: 70px;
  top: 20px;
  position: absolute;
  right: 60px;

  transition: all .3s linear;
}

.toocheke-hub-item-box:hover .toocheke-hub-item-icon span {
  font-size: 80px;
}

.toocheke-hub-item-footer {
  background: rgba(0, 0, 0, .1);
  display: block;
  padding: 8px 0;
  position: relative;
  text-align: center;
  text-decoration: none;
  z-index: 10;
  color: #000 !important;
}

.toocheke-hub-item-footer:hover {
  background: rgba(0, 0, 0, .15);
  color: #fff;
}

#adminmenu .toocheke-comicscout-link > a {
    background-color: #10ae98 !important;
    color: #fff !important;
}
#adminmenu .toocheke-comicscout-link > a:hover {
    background-color: #00555a !important;
    color: #fff !important;
}

@media (max-width: 1023px) {
  .toocheke-hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 599px) {
  .toocheke-hub-grid {
    grid-template-columns: 1fr;
  }
}