@media (min-width: 768px) {
  header.masthead {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 992px){
  .navbar ul.nav li{
    margin: 0 1%
  }

  .main{
    padding-bottom: 50px;
  }

  .card-big-image {
    display: none;
  }

  .card-body {
    padding: 30px 20px 30px 20px;
  }

}

@media (max-width: 768px){

  .login-form form:before{
    background: none;
  }

  .login-form form{
    padding: 30px 50px 30px 50px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .dashboard .btn-main.btn-read{
    position: initial;
  }

  .navbar ul.nav li{
    margin: 0;
  }

  .main{
    padding-bottom: 20px;
  }

  .navbar-brand{
    margin-right: 0;
  }

  .navbar ul.nav li a{
    font-size: 16px;
    padding: .5rem .3rem;
  }

  h1 {
    font-size: 1.5rem;
  }
  h2{
    font-size: 1.2rem;
  }
  .dashboard .profile{
    margin: auto;
    width: 90% !important;
    max-width: 90%;
  }

  .chapter-end .author, .wall-comment .author {
    margin-bottom: 30px;
  }

  .chapter-end .comment p::after {
    content: "";
    position: absolute;
    top: -4px;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #f6f6f6;
    transform: rotate(45deg) translateX(-50%);
    border-left: 1px solid #c9c9c9;
    border-top: 1px solid #c9c9c9;
    border-right: none;
    border-bottom: none;
  }

  .wall-comment .comment::after {
    content: "";
    position: absolute;
    top: -4px;
    left: 50%;
    width: 20px;
    height: 20px;
    background: white;
    transform: rotate(45deg) translateX(-50%);
    border-left: 1px solid #c9c9c9;
    border-top: 1px solid #c9c9c9;
    border-right: none;
    border-bottom: none;
  }

  .row-add {
    margin-top: 0px;
  }

  .serie-image {
    width: calc(100% - 16px);
  }

  .serie-content {
    padding: 0px 15px;
  }

  .custom-card.serie .serie-content ul.stats {
    margin: 0px;
  }

  .custom-card.serie .serie-content ul.stats li {
    width: 100%;
    margin: 0px 0px 10px 0px;
  }

  .custom-card.chapter ul.stats {
    margin-bottom: 0px;
  }

  .custom-card.chapter ul.stats li {
    width: 100%;
    margin: 0px 0px 10px 0px;
  }

  .custom-card ul.urls {
    margin: 20px auto;
    width: 100%;
    text-align: center;
  }

  .custom-card ul.urls li {
    display: inline-block;
  }

  a.custom-new-chapter {
    display: block;
    width: 200px;
    margin: 0px auto;
  }

  .left-on-mobile.text-right {
    text-align: center !important;
  }

}

@media (max-width: 600px) {

  .chapter-end a.prev-chapter, .chapter-end a.next-chapter {
    position: relative;
    top: unset;
    right: unset;
    left: unset;
    margin-bottom: 20px;
    font-size: 30px;
  }

  .chapter-end a.next-chapter i, .chapter-end a.prev-chapter i {
    font-size: 30px;
  }

  .chapter-end .avatar {
    margin-top: 20px;
  }

}