* {
  font-family: 'Montserrat', sans-serif;
  text-decoration: none !important;
}

.postList {
  -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .0);
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .0);
  padding: 2px;
  line-height: 1.5;
}

.show_more_main {
  margin: 15px 0;
}

.show_more {
  background-color: #f8f8f8;
  background-image: -webkit-linear-gradient(top, #fcfcfc 0, #f8f8f8 100%);
  background-image: linear-gradient(top, #fcfcfc 0, #f8f8f8 100%);
  border: 1px solid;
  border-color: #d3d3d3;
  color: #333;
  font-size: 18px;
  outline: 0;
}

.show_more {
  cursor: pointer;
  display: block;
  padding: 10px 0;
  text-align: center;
  font-weight: bold;
}

.loading {
  background-color: #e9e9e9;
  border: 1px solid;
  border-color: #c6c6c6;
  color: #333;
  font-size: 18px;
  display: block;
  text-align: center;
  padding: 10px 0;
  outline: 0;
  font-weight: bold;
}

.loading_txt {
  background-image: url();
  background-position: left;
  background-repeat: no-repeat;
  border: 0;
  display: inline-block;
  height: 16px;
  padding-left: 20px;
}

.nav-2 {
  height: 50px;
}

.nav {
  /*margin: auto;*/
  /*line-height: 100%;*/
}

.hr-kontak {
  width: 10%;
  border-top: 2px solid #fff;
}

.hr-title {
  width: 10%;
  border-top: 2px solid #343a40;
}

/* Image Kontak */
.item {
  width: 400px;
  height: 400px;
  background-color: white;
  position: relative;
  display: inline-block;
  margin: 1% 2% 1% 0%;
  overflow: hidden;
  box-shadow: 2px 3px 10px #444444;
}

.uncover img {
  object-fit: cover;
  width: 100%;
  object-position: -68px 50%;
  height: 423px;
}

.item .overlay-kontak {
  color: #000;
  width: 100%;
  height: 100%;
  background-color: #fff;
  opacity: 0;
  transition: all 0.5s ease;
  position: absolute;
  top: 0;
  bottom: 0;
}

.uncover .overlay-kontak span:nth-child(1) {
  position: absolute;
  left: 50%;
  top: 35%;
  font-size: 80px;
  font-weight: bold;
  font-family: coustard;
  transform: translateX(-50%);
  opacity: 0;
}

.uncover .overlay-kontak span:nth-child(2) {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 17px;
  transform: translateY(-50%);
  transform: translateX(-50%);
  opacity: 0;
}

.uncover .overlay-kontak span:nth-child(3) {
  height: 30px;
  background-color: #000;
  position: absolute;
  top: 38%;
  opacity: 0;
}

.uncover .overlay-kontak span:nth-child(4) {
  height: 30px;
  background-color: #000;
  position: absolute;
  top: 50%;
  left: 25%;
  opacity: 0;
}

.uncover .overlay-kontak:hover {
  opacity: 0.9;
}

.uncover .overlay-kontak:hover span:nth-child(1) {
  animation: fadein 0.6s forwards;
  animation-delay: 0.5s;
}

.uncover .overlay-kontak:hover span:nth-child(2) {
  animation: fadein 0.6s forwards;
  animation-delay: 0.75s;
}

.uncover .overlay-kontak:hover span:nth-child(3) {
  animation: draw-left 0.7s;
}

.uncover .overlay-kontak:hover span:nth-child(4) {
  animation: draw-right 0.7s;
  animation-delay: 0.6s;
}

@keyframes draw-left {
  0% {
    opacity: 0;
    width: 0px;
    left: 75%
  }

  50% {
    opacity: 1;
    left: 25%;
    width: 200px;
  }

  100% {
    opacity: 0;
    width: 0px;
    left: 25%;
  }
}

@keyframes draw-right {
  0% {
    opacity: 0;
    width: 0px;
  }

  50% {
    opacity: 1;
    width: 200px;
  }

  100% {
    opacity: 0;
    width: 0px;
  }
}

@keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* Kata Pengatar - Foto Kepala Sekolah */
.foto-kepsek {
  position: relative;
}

.foto-kepsek img {
  width: 100%;
}

.title-kepsek {
  position: absolute;
  /*left: 100px;*/
  /*right: 0px;*/
  bottom: 0px;
  color: whitesmoke;
  background-color: #343a40;
  height: 40px;
  width: 100%;
  text-align: center;
}

.title-kepsek h6 {
  line-height: 40px;
}

/* Lazy Load Styles */
.card-image {
  display: block;
  min-height: 20rem;
  /* layout hack */
  background: #fff center center no-repeat;
  background-size: cover;
  filter: blur(3px);
  /* blur the lowres image */
}

.card-image>img {
  display: block;
  width: 100%;
  opacity: 0;
  /* visually hide the img element */
}

.card-image.is-loaded {
  filter: none;
  /* remove the blur on fullres image */
  transition: filter 1s;
}

.card-list {
  display: block;
  margin: 1rem auto;
  padding: 0;
  font-size: 0;
  text-align: center;
  list-style: none;
}

.card-kepsek {
  display: inline-block;
  width: 90%;
  max-width: 20rem;
  margin: 1rem;
  font-size: 1rem;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 0 3rem -1rem rgba(0, 0, 0, 0.5);
  transition: transform 0.1s ease-in-out, box-shadow 0.1s;
}

.card-kepsek:hover {
  transform: translateY(-0.5rem) scale(1.0125);
  box-shadow: 0 0.5em 3rem -1rem rgba(0, 0, 0, 0.5);
}

.card-description {
  display: block;
  padding: 1em 0.5em;
  color: #515151;
  text-decoration: none;
  text-align: center;
}

.card-description>h2 {
  margin: 0 0 0.5em;
}

.card-description>p {
  margin: 0;
}

/* Footer */
footer {
  /*position: fixed;*/
  background: #6c757d;
  width: 100%;
  bottom: 0;
  left: 0;
  margin-top: 50px;
}

footer .content {
  max-width: 1250px;
  margin: auto;
  padding: 30px 40px 40px 40px;
}

footer .content .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}

.content .top .logo-details {
  color: #fff;
  font-size: 30px;
}

.content .top .media-icons {
  display: flex;
}

.content .top .media-icons a {
  height: 40px;
  width: 40px;
  margin: 0 8px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: #fff;
  font-size: 17px;
  text-decoration: none;
  transition: all 0.4s ease;
}

.top .media-icons a:nth-child(1) {
  background: #4267B2;
}

.top .media-icons a:nth-child(1):hover {
  color: #4267B2;
  background: #fff;
}

.top .media-icons a:nth-child(2) {
  background: #1DA1F2;
}

.top .media-icons a:nth-child(2):hover {
  color: #1DA1F2;
  background: #fff;
}

.top .media-icons a:nth-child(3) {
  background: #E1306C;
}

.top .media-icons a:nth-child(3):hover {
  color: #E1306C;
  background: #fff;
}

.top .media-icons a:nth-child(4) {
  background: #0077B5;
}

.top .media-icons a:nth-child(4):hover {
  color: #0077B5;
  background: #fff;
}

.top .media-icons a:nth-child(5) {
  background: #FF0000;
}

.top .media-icons a:nth-child(5):hover {
  color: #FF0000;
  background: #fff;
}

footer .content .link-boxes {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

footer .content .link-boxes .box {
  width: 100%;
}

.content .link-boxes .box .link_name {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
  position: relative;
}

.link-boxes .box .link_name::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 35px;
  background: #fff;
}

.content .link-boxes .box li {
  margin: 6px 0;
  list-style: none;
}

.content .link-boxes .box li a {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.4s ease
}

.content .link-boxes .box li a:hover {
  opacity: 1;
  text-decoration: underline;
}

.content .link-boxes .input-box {
  margin-right: 55px;
}

.link-boxes .input-box input {
  height: 40px;
  width: calc(100% + 0px);
  outline: none;
  border: 2px solid #AFAFB6;
  background: #343a40;
  border-radius: 4px;
  padding: 0 15px;
  font-size: 15px;
  color: #fff;
  margin-top: 5px;
}

.link-boxes .input-box input::placeholder {
  color: #AFAFB6;
  font-size: 16px;
}

.link-boxes .input-box input[type="button"] {
  background: #fff;
  color: #140B5C;
  border: none;
  font-size: 18px;
  font-weight: 500;
  margin: 4px 0;
  opacity: 0.8;
  cursor: pointer;
  transition: all 0.4s ease;
}

.input-box input[type="button"]:hover {
  opacity: 1;
}

footer .bottom-details {
  width: 100%;
  background: #343a40;
}

footer .bottom-details .bottom_text {
  max-width: 1250px;
  margin: auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
}

.bottom-details .bottom_text span,
.bottom-details .bottom_text a {
  font-size: 14px;
  font-weight: 300;
  color: #fff;
  opacity: 0.8;
  text-decoration: none;
}

.bottom-details .bottom_text a:hover {
  opacity: 1;
  text-decoration: underline;
}

.bottom-details .bottom_text a {
  margin-right: 10px;
}

@media (max-width: 900px) {
  footer .content .link-boxes {
    flex-wrap: wrap;
  }

  footer .content .link-boxes .input-box {
    width: 40%;
    margin-top: 10px;
  }
}

@media (max-width: 700px) {
  footer {
    position: relative;
  }

  .content .top .logo-details {
    font-size: 26px;
  }

  .content .top .media-icons a {
    height: 35px;
    width: 35px;
    font-size: 14px;
    line-height: 35px;
  }

  footer .content .link-boxes .box {
    width: calc(100% / 3 - 10px);
  }

  footer .content .link-boxes .input-box {
    width: 60%;
  }

  .bottom-details .bottom_text span,
  .bottom-details .bottom_text a {
    font-size: 12px;
  }
}

@media (max-width: 520px) {
  footer::before {
    top: 145px;
  }

  footer .content .top {
    flex-direction: column;
  }

  .content .top .media-icons {
    margin-top: 16px;
  }

  footer .content .link-boxes .box {
    width: calc(100% / 2 - 10px);
  }

  footer .content .link-boxes .input-box {
    width: 100%;
  }
}

/* Ekstrakurikuler */
.container-ekstra {
  width: 500px;
  height: 500px;
  position: relative;
  overflow: hidden;
}

.container-ekstra img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*object-position: 50% 50%;*/
  transition: all 0.5s;
}

.caption-ekstra {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  transition: all 0.5s;
  background-color: #343a40;
  transform: translateX(-100%);
}

.caption-ekstra h1 {
  text-transform: uppercase;
  margin: 0;
}

.caption-ekstra p {
  font-size: 18px;
  text-transform: capitalize;
}

.container-ekstra:hover .caption-ekstra {
  transform: translateX(0);
}

.container-ekstra:hover img {
  transform: translateX(100%);
}

/* Galeri */