@import "asserts/css/morecho.css";
@import "asserts/css/theme-green.css";
@import "asserts/css/theme-orange.css";
@import "asserts/css/theme-none.css";

@import "asserts/css/article.css";

*{
  scroll-behavior:smooth;
}
body {
  background-color: #eee;
  min-width: 320px;
}
.feather {
  width: 1em;
  height: 1em;
}
.btn {
  border: none !important;
}
.card {
  margin-top: 1rem;
}
a:hover {
  text-decoration: unset;
}

.background{
  background-repeat: no-repeat;
  background-size: cover;
  position: fixed;
  height: 100%;
  width: 100%;
}

/* sidebar */
.sidebar {
  position: fixed;
  width: calc(100% + 20px);
  padding-right: 20px;
  height: 100%;
  overflow-y: scroll;
  padding-bottom: 1rem;
}
.card-sidebar-control,
.card-fullscreen-control {
  cursor: pointer;
  display: none;
  text-align: center;
  padding: 1rem;
  position: absolute;
  right: 1rem;
  line-height: 1rem;
}
.card-sidebar-control {
  box-shadow: 0 0.5rem .5rem rgba(0, 0, 0, 0.15) !important
}
.card-sidebar-control .feather,
.card-fullscreen-control .feather {
  width: 1rem;
  height: 1rem;
}
.login-form{
  margin: 3px;
}
.login-form input.form-control{
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #ced4da;
}
.login-form .submit{
  border-radius: .25rem;
  margin: 3px;
}
@media (min-width: 768px) {
  .card-fullscreen-control {
    display: block;
    width: 3rem;
    height: 3rem;
  }
  .card-fullscreen-control [data-control="off"] {
    display: none;
  }
  body.fullscreen .card-fullscreen-control [data-control="off"] {
    display: unset;
  }
  body.fullscreen .card-fullscreen-control [data-control="on"] {
    display: none;
  }
  .sidebar {
    transition: transform .3s ease 0s;
  }
  body.fullscreen .sidebar {
    transform: translateY(-100%);
  }
  .content .container > .row {
    justify-content: flex-end;
  }
  .col-content {
    transition: all .3s ease 0s;
  }
  body.fullscreen .col-content {
    max-width: 100%;
    flex: 100%;
  }
}
@media (min-width: 992px) {
  .content .container > .row {
    justify-content: center;
  }
  .col-content {
    transition: all 0.3s ease 0s;
  }
  body.fullscreen .col-content {
    max-width: 75%;
    flex: 75%;
  }
  .content .container > .row > div:first-child,
  .content .container > .row > div:last-child {
    transition: all 0s ease 0.3s;
  }
  body.fullscreen .content .container > .row > div:first-child,
  body.fullscreen .content .container > .row > div:last-child {
    transition: unset;
    width: 12.5%;
    flex: 12.5%;
  }
}
@media (max-width: 767px) {
  .card-sidebar-control {
    display: block;
  }
  .sidebar {
    overflow-y: hidden;
    z-index: 233;
    height: 5rem;
    transform: translateX(calc(-100% + 4rem + 35px));
    transition: transform 0.3s ease 0s, height 0s ease 0.3s;
  }
  .sidebar.active {
    overflow-y: scroll;
    height: 100%;
    transition: transform 0.3s ease 0s, height 0s ease 0s;
    background-color: rgba(0, 0, 0, 0.3);
    transform: unset;
  }
  .sidebar .card-sidebar-control {
    position: fixed;
    right: calc(1rem + 20px);
    top: 0;
    width: 3rem;
  }
  .sidebar.active .card-sidebar-control {
    right: 1rem;
  }
  .sidebar > .container {
    height: 100%;
    overflow: hidden;
  }
  .sidebar.active > .container {
    height: unset;
    overflow: unset;
  }
  .sidebar .card-sidebar-control [data-control="close"] {
    display: none;
  }
  .sidebar.active .card-sidebar-control [data-control="open"] {
    display: none;
  }
  .sidebar.active .card-sidebar-control [data-control="close"] {
    display: unset;
  }
  .sidebar .flex-column.nav-pills .nav-link.active,
  .sidebar .flex-column.nav-pills:hover .nav-link:hover {
    transform: translateX(-3rem);
  }
  .sidebar.active .flex-column.nav-pills .nav-link.active,
  .sidebar.active .flex-column.nav-pills:hover .nav-link:hover {
    transform: translateX(-2rem);
  }
}

/* meta */
.dynamic-hide.active .card{
  box-shadow: none !important;
}
.card .title{
  padding: .75rem 0 0 .75rem;
  font-size: .8rem;
  color: #555;
}
.card-post-meta .tags{
  margin: -.25rem 1rem .25rem 1rem;
}
.site-meta {
  font-size: .9rem;
  padding: 10px 20px;
}
.site-meta > div {
  padding: 0;
}
.site-meta div div:first-child {
  font-weight: 600;
}

/* search */
.search {
  position: relative;
}
.search .form-control,
.search .input-group-text {
  border: unset;
  background-color: unset;
}
.search:after {
  content: "";
  position: absolute;
  width: 0px;
  height: 1px;
  left: 3px;
  bottom: 0;
  border-radius: 3px;
  background-color: #007bff;
  transition: all 0.3s ease 0s;
}
.search:hover:after {
  width: calc(100% - 6px);
}
.search.active:after {
  width: calc(100% - 6px);
  height: 3px;
}

/* site control */
.site-controls {
  background-color: #fff;
  border-radius: 0.5rem;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  padding: 10px;
  height: 70px;
}
.site-controls .row a {
  cursor: pointer;
  font-weight: 600;
  color: #666;
}
.site-controls div:hover > a {
  color: #000;
  text-decoration: none;
}
.site-controls .row div{
  overflow: hidden;
  transition: all 0.1s ease 0s;
}
.site-controls .row > div.active div {
  transform: scale(2,2) translateY(.6em);
}
.site-control > div {
  display: none;
}
.site-control > div.active {
  display: unset;
}

/* theme control */
.theme-control {
  padding: 1rem;
}
.theme-control .col{
  padding: 0;
}
.theme-control div div{
  cursor: pointer;
  width: 2.5rem;
  height: 4rem;
  margin: auto;
  border-radius: .25rem;
  border: solid 1px rgba(0,0,0,.2);
  position: relative;
}
.theme-control div div:before{
  content: '';
  position: absolute;
  width: 2rem;
  height: .25rem;
  left: .25rem;
  top: .5rem;
  background-color: #007bff;
}
.theme-control div div:after{
  content: '';
  position: absolute;
  width: 1.75rem;
  height: .20rem;
  left: .25rem;
  top: 1rem;
  background-color: #007bff;
}

/* musicbox */
.card-musicbox {
  padding: 1rem;
}
.music-controls .feather {
  cursor: pointer;
  width: 1.5rem;
  height: 1.5rem;
}
.music-controls .play,
.music-controls.paused .pause {
  display: none;
}
.music-controls.paused .play {
  display: unset;
}
.music-controls .progress {
  height: 4px;
  margin-top: 12px;
  transition: all 0.3s ease 0s;
}
.music-controls:hover .progress {
  height: 8px;
  margin-top: 8px;
}
@keyframes spining {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(90deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(270deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.music-controls .loading .feather {
  animation: spining 4s linear infinite;
}

/* profile */
.profile {
  padding: 15px 30px;
}
.profile img {
  width: 100%;
  height: auto;
  border-radius: 100%;
}
.profile-name{
  text-align: center;
  margin: 0;
  margin-top: 10px;
  font-weight: 600;
}
.profile-title {
  text-align: center;
  font-size: .8em;
  color: #555;
  margin: 0;
  opacity: 0;
  transition: all .3s ease 0s;
}
.profile:hover .profile-title{
  opacity: 1;
}
@media (max-width: 767px) {
  .profile-title{
    opacity: 1;
  }
}

/* content */
.content .title {
  text-align: center;
  margin: 3em 0;
}
.content > .container > .row,
.content > .container > .row > div {
  height: 0;
}
.card-post-list {
  padding: 10px 14px;
  margin-bottom: 18px;
}
.card-post-list a:hover {
  text-decoration: none;
}
.post-subtitle,
.post-content-preview,
.post-meta,
.card-post-list a {
  color: #666;
}
article .post-meta {
  margin-bottom: 1rem;
  text-align: center;
}
.post-meta .feather {
  margin-left: 1rem;
}
.post-meta .feather:first-child {
  margin-left: 0;
}
.post-title {
  color: #333;
  font-size: 1.3em;
  font-weight: 500;
}
.post-title,
.post-subtitle {
  margin-bottom: 0.3em;
}
.card-post-list hr {
  margin: 0.5rem 0;
}
.Page-navigation {
  padding: 24px 0;
}

/* tags */
.tags a,
.tags .tag {
  display: inline-block;
  border: 1px solid rgba(120, 120, 120, 0.8);
  border-radius: 1rem;
  padding: .1rem .6rem;
  color: #777;
  font-size: .6rem;
  text-decoration: none;
  margin-bottom: .4rem;
  cursor: pointer;
}
.tags a > sup,
.tags .tag > sup {
  margin-left: -2px;
  font-weight: 700;
}
.tags a:hover,
.tags .tag:hover,
.tags a:active,
.tags .tag:active {
  color: black;
  border-color: black;
  background-color: rgba(0, 0, 0, 0.2);
  text-decoration: none;
}
#tag_cloud {
  margin: 5rem 0 15px 0;
}
#tag_cloud a,
#tag_cloud .tag {
  transition: all 0.4s ease 0s;
  font-size: .8rem;
  border: none;
  padding: .2rem .9rem;
  margin-right: .4rem;
  color: #fff;
  background: #f3f5f5;
}
#tag_cloud a:hover,
#tag_cloud .tag:hover,
#tag_cloud a:active,
#tag_cloud .tag:active,
#tag_cloud a.focus,
#tag_cloud .tag.focus {
  background-color: #0085a1 !important;
}
#tag_cloud a.focus,
#tag_cloud .tag.focus {
  box-shadow: rgba(0, 0, 0, 0.117647) 0 1px 6px,
    rgba(0, 0, 0, 0.239216) 0 1px 4px;
}
#tag_cloud a.tag-button--all,
#tag_cloud .tag.tag-button--all {
  font-weight: 700;
  color: #0085a1 !important;
}
#tag_cloud a.tag-button--all:hover,
#tag_cloud .tag.tag-button--all:hover,
#tag_cloud a.tag-button--all:active,
#tag_cloud .tag.tag-button--all:active,
#tag_cloud a.tag-button--all.focus,
#tag_cloud .tag.tag-button--all.focus {
  background-color: #e4e4e4 !important;
}

/* toc */
.js-toc-move{
  position: absolute;
  width: 100%;
  height: 0;
  left: 0;
  background-color: #eee;
  transition: all 0.1s ease 0s;
}
.js-toc-move:before{
  content:'';
  position: absolute;
  top: 0;
  height: 100%;
  left: -3px;
  width: 3px;
  background-color: #007bff;
}
.toc {
  font-size: 0.85rem;
  padding: 1rem .5rem 1rem 0;
  overflow-y: auto;
}
.toc > .toc-list {
  overflow: hidden;
  position: relative;
}
.toc > .toc-list li {
  padding: .25rem 0;
  list-style: none;
}
.toc-list {
  margin: 0;
  padding-left: 10px;
}
a.toc-link {
  color: currentColor;
  height: 100%;
}
a.toc-link:hover {
  text-decoration: none;
}
.is-collapsible {
  max-height: 1000px;
  overflow: hidden;
}
.is-collapsed {
  max-height: 0;
}
.is-position-fixed {
  position: fixed !important;
  top: 0;
}

/* comments */
.card-comments{
  margin-top: 1rem;
  padding: 1rem;
  font-size: 0.9rem;
}
.card-comments h1{
  font-size: 1.75rem;
}
.card-comments h2{
  font-size: 1.5rem;
}
.card-comments h3{
  font-size: 1.25rem;
}
.comment-list,
.comment-respond{
  padding-left: 3rem;
  line-height: 1.2rem;
  color: #555;
}
.comment-list .comment-list .comment-list{
  padding-left: 0;
}
.comment-list a,
.comment-respond a{
  font-style: normal;
}
.comment-list a:hover,
.comment-respond a:hover{
  text-decoration: none;
}
.comment-list p{
  margin-bottom: 0;
}
.comment-list li{
  list-style: none;
}
.comment-list .comment-body,
.comment-respond,
.comment-respond .comment-form{
  position: relative;
}
.comment-list .avatar,
.comment-respond .avatar{
  position: absolute;
  width: 2.4rem;
  height: 2.4rem;
  top: 0rem;
  left: -3rem;
  border-radius: 100%;
}
.comment-list .comment-time{
  position: absolute;
  right: 0;
  top: 0;
}
.comment-list hr{
  margin-top: .75rem;
  margin-bottom: .75rem;
}
.comment-respond hr{
  display: none;
}
.comment-list .comment-respond hr{
  display: block;
}
.comment-list .comment-author,
.comment-respond .comment-respond-author{
  font-weight: 600;
}
.comment-list .comment-author-title{
  font-size: .8em;
  border-radius: .5em;
  border: 1px solid #555;
  padding: 0 .25em;
  color: #555;
  line-height: .8em;
  position: relative;
  top: -1px;
}
.comment-list .comment-reply,
.comment-list .comment-reply-cancel{
  opacity: 0;
  float: right;
  transition: all .3s ease 0s;
}
.comment-list .comment-reply a,
.comment-list .comment-reply-cancel a{
  background-color: #007bff;
  border-radius: .25em;
  position: relative;
  color: #fff;
  z-index: 12;
  padding: .125em .25em;
  margin-right: .25em;
}
.comment-list .comment-body:hover .comment-reply{
  opacity: 1;
}
.comment-list .comment-respond:before{
  content: '';
  z-index: 1;
  position: absolute;
  width: 100%;
  height: 1px;
  right: 0;
  top: -1em;
  transition: all .3s ease 0s;
}
.comment-list .comment-respond:hover:before{
  background-color: #007bff;
}
.comment-list .comment-reply:before{
  content: '';
  z-index: 1;
  position: absolute;
  width: 100%;
  height: 1px;
  right: 0;
  background-color: #007bff;
  bottom: 0;
  transition: all .3s ease 0s;
}
.comment-list .comment-reply:hover:before{
  bottom: -1px;
  height: 3px;
}
.comment-list .comment-reply-cancel{
  opacity: 1;
  position: absolute;
  top: -1.75em;
  right: 0;
  z-index: 13;
}
.comment-respond .comment-respond-author input{
  font-size: .8rem;
  margin-bottom: .2em;
}
.comment-respond .form-row{
  padding-bottom: 3px;
}
.comment-respond textarea{
  min-height: 2.2em;
}

/* tools */
.tools{
  z-index: 233;
  position: fixed;
  width: 100%;
}
.tools,
.tools > .container > .row, 
.tools > .container > .row > div{
  height: 0;
}
.toast-wrap{
  position: relative;
  width: 100%;
}
@media (min-width: 768px) {
  .toast-wrap{
    width: calc(100% + 3rem);
    left: -2rem;
  }
}
.card.toast{
  margin-top: 1rem;
  max-width: unset;
}
.toast-wrap .toast-header{
  border: unset;
}
.toast-wrap .toast-body {
  padding: 0 .75rem;
}