/**
 * @Author: htyao
 * @Date:   2020-06-04T23:06:29+02:00
 * @Last modified by:   htyao
 * @Last modified time: 2020-06-13T20:18:44+02:00
 */
body {
  padding-bottom: 30px;
}

footer {
  padding-top: 10px;
  height: 30px;
  justify-content: center;
}

.header-index {
  width: 100%;
  height: 89vh;
}

.navbar {
  margin-bottom: 0px;
}

.navbar-header {
  background-color: white;
  position: relative;
  z-index: 101;
}

#navbar-collapse {
  width: 100%;
  height: 100%;
  background-color: white;
  position: relative;
  z-index: 100;
}

/* Display dropdown menu on hover */
ul.nav li.dropdown:hover>ul.dropdown-menu {
  display: block;
}


.dropdown-menu > li > a {
  color: gray;
}

@media (max-width: 768px) {
  #navbar-collapse {
    overflow: inherit;
    width: 50vw;
    margin-left: 50vw;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175)
    /* border: 1px solid gray;
    border-top: white; */
  }

  .header-index {
    height: 40vh;
  }

  /* ul.nav li.dropdown:hover>ul.dropdown-menu { */
  .drop-ul {
    position: absolute;
    width: 50vw;
    left: -50vw;
    top: -1px;
    /* background-color: white;
    border: 1px solid gray; */
    overflow: hidden;
  }

  #categoryNav {
    display: none;
  }

  .home-abstract {
    display:none;
  }
}

@media (min-width:768px) {
  #category-collpase {
    display: none;
  }
}

#mainNav {
  height: 6vh;
  background-color: white;
}

#homeImg {
  height: 100%;
}

#categoryNav {
  height: 5vh;
  justify-content: center;
}

#categoryNav ul {
  display: flex;
  justify-content: space-between;
}

#homePostsBlock {
  width: 100%;
  overflow: hidden;
  padding-top: 20px;
}

#numberBlock {
  width: 100%;
  margin-top: 20px;
  overflow: hidden;
}

a.category {
  color: rgba(0, 0, 0, 0.5);
}

.textOnImage {
  position: relative;
  height: 100%;
  max-height: 100%;
}

.text {
  font-weight: bold;
  z-index: 2;
  position: absolute;
  left: 5%;
  bottom: 1%;
  right: 1%;
}

.text h3, .text h4, .text h5 {
  color: white;
}

.hide {
  display: none;
}

.colorOverlay {
  font-weight: bold;
  z-index: 1;
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.9));
}

.fixHeight {
  height: 100%;
}

div.timeline-event-target {
  /*background-color: #FF69B4;*/
  border-color: #ffc200;
  z-index: 500;
}

.ui-dialog {
  z-index: 1000 !important;
}

.clientInfoEdit, .subscriptionEdit, .donationEdit {
  display: none;
}

.underline {
  border: none;
  border-bottom: 2px black solid;
}

.gi-max {
  font-size: 2em;
}

.danger {
  color: red;
}

.black {
  color: black;
}

#instructions {
  font: 16px 'AmericanTypewriter', Cambria, Georgia;
  color: #282625;
  margin: 0 auto;
  width: 100%;
}

.paper {
  padding: 37px 55px 27px;
  position: relative;
  /*border: 1px solid #B5B5B5;*/
  background: white;
  background: -webkit-linear-gradient(top, #DFE8EC 0%, white 8%) 0 57px;
  background: -moz-linear-gradient(top, #DFE8EC 0%, white 8%) 0 57px;
  background: linear-gradient(top, #DFE8EC 0%, white 8%) 0 57px;
  -webkit-background-size: 100% 30px;
  -moz-background-size: 100% 30px;
  -ms-background-size: 100% 30px;
  background-size: 100% 30px;
}

/*
.paper::before {content:""; z-index:-1; margin:0 1px; width:99%; height:10px; position:absolute; bottom:-3px; left:0; background:white; border:1px solid #B5B5B5;}
*/
.paper::after {
  content: '';
  position: absolute;
  width: 0px;
  top: 0;
  left: 39px;
  bottom: 0;
  border-left: 1px solid #F8D3D3;
}

hr {
  border-color: #e6e6e6;
  width: 90%;
  border-style: dashed;
}

img.logoTr {
  width: 100%;
  height: auto;
}

img.logoSmall {
  height: 100%;
  width: 30%;
  margin-left: 35%;
}

#post a {
  color: black;
}

#postCover {
  margin-top: 20px;
}

#postCoverImg {
  max-width: 100%;
  max-height: 50vh;
}

#tinyLogo {
  width: 10px;
  height: 20px;
}

#numberCoverImg {
  width: 100%;
}

.justify {
  text-align: justify;
}

#postUnitCover {
  height: 20vh;
}

#postUnitCoverImg {
  width: 100%;
  height: 100%;
}

#postUnitContent {
  overflow: hidden;
  height: 30vh;
  color: black;
}

.editoSign {
  text-align: right;
  font-style: italic;
}

.homePostUnit {
  min-height: 100px;
  height: 30vh;
  margin-bottom: 20px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .homePostUnit {
    height: 25vh;
  }
}

.numberUnit {
  margin-bottom: 10px;
}

.numberUnitImg {
  width: 100%;
  height: 120px;
}

@media (max-width:768px) {
  .nameList {
    text-align: center;
  }

  .nameList ul {
    list-style: none;
    padding-right: 30px;
  }
}

.comicImgV {
  max-height: 60vh;
  width: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
