@media only screen and (max-device-width: 1024px) {
  .navbar-light .navbar-toggler {
    margin-right: 10px;
  }

  .navbar-brand img,
  .navbar-brand.small img {
    width: 127px !important;
  }

  .herotop {
    background-clip: border-box;
    background-position: top center;
    background-size: contain;
    background-color: #1758a3;
    background-repeat: no-repeat;
    color: #fff;
  }

  .herotop>div>.row {
    background-image: url('../images/slider-bottom.png');
    background-position: center 150px;
  }

  .herotop .display-1 {
    font-size: 28px;
    margin: 40px 0px 54px;
    color: #fff;
    text-align: left;
    min-height: 130px;
  }

  .herotop .lead {
    font-size: 20px
  }

  .herotop .keterangan {
    font-size: 18px
  }

  .herotop .more {
    font-size: 12px;
  }

  .carousel-home.owl-theme .owl-nav button.owl-next,
  .carousel-home.owl-theme .owl-nav button.owl-prev {
    top: 29%;
  }

  .pretitle {
    font-size: 12px;
  }

  .title1 {
    font-size: 30px;
  }

  .navbar-nav .nav-item.active .nav-link {
    border-bottom: none;
  }
  .objective .judul,
  .objective .content {
    font-size: 18px;
  }

  .modal-body img.imageModal {
    width: 45%;
    height: auto;
    max-height: initial;
    max-width: initial;
    position: relative;
    top: initial;
    left: initial;
    margin: 30px auto;
    margin-top: 0;
    transform: none;
  }

  .modalTag {
    font-size: 13px;
  }

  .modalTitle {
    font-size: 22px;
  }

  .modaltext {
    font-size: 17px;
  }

  @media only screen and (min-width: 375px) and (max-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {

    #containerNav .fa-angle-left,
    #containerNav .fa-angle-right {
      -webkit-max-width: 40px;
      -webkit-max-height: 40px;
      padding-top: 4px;
    }
  }

  /* #events .owl-stage-outer {
    background: none;
  } */

  #events .item .blockquote {
    background-image: url('../images/event-text-background.jpg');
    background-color: #232734;
    background-size: 100vw;
    background-repeat: no-repeat;
  }

  #events .item .when {
    font-size: 13px;
  }

  #events .item h2 {
    font-size: 22px;
  }

  #events .item .date,
  #events .item .place {
    font-size: 14px;
  }

  #events .item p {
    font-size: 16px;
  }

  .footer {
    font-size: 15px;
  }

  .managed a {
    width: auto;
    display: inline-block;
    text-align: left;
    margin-bottom: 30px;
    max-width: 38% !important;
  }

  .about-hero .about-title>p {
    position: relative;
    top: initial;
    left: initial;
    transform: none;
    width: 75%;
    padding-top: 70px;
    background-color: #fff;
  }

  .about-hero .about-title>p {
    width: 100%;
    display: block;
    overflow: auto;
  }

  .about-hero h3.title {
    margin: 40px 0;
  }

  .overview .numbering {
    font-size: 1.7em;
  }

  .team {
    background: none;
  }

  .team img.img-fluid {
    width: 100%;
  }

  #containerNav.owl-nav {
    top: 222px;
    width: 5%;
    transform: none;
    left: 6%;
  }
}

@media screen and (max-width: 62em) {
  .navbar-brand {
    border-right: none;
  }

  .navbar-nav .nav-item .nav-link {
    margin-bottom: 10px;
  }
}