* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #fff;
}

header, footer {
  width: 100%;
  z-index: 10;
  color: #fff;
  text-align: center;
  padding: 10px 5px;
}

header {
  position: relative;
  background-color: #074557;
  font-size: 12pt;
  top: 0;
}

footer {
  position: relative;
  background-color: #074557;
  font-size: 10pt;
  bottom: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

header .logo {
  display: flex;
  align-items: center;
}

header .logo img {
  max-height: 50px;
  height: auto;
  width: auto;
}

header .nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 16px;
}

header .nav-menu a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

header .nav-menu a:hover {
  color: #007bff;
}

.min-page{
  min-height: 100vh;
}

.nav-right {
  padding-right: 20px;
}

.text-header {
  color: #fff !important;
  list-style: none;
  list-style-type: none;
  text-decoration: none;
  text-decoration-style: none;
}

.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-right a {
  text-decoration: none;
  font-size: 16px;
  color: white;
  transition: color 0.3s ease;
}

.nav-right a:hover {
  color: #f4a261;
}

.menu-toggle:hover {
  border: 1px solid #09172d;
  background-color: #2e7e95;
}

.menu-toggle {
  display: none;
  vertical-align: middle;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: white;
  padding: 2px 15px;
  cursor: pointer;
  position: absolute;
  top: 6px;
  right: 7px;
  border-radius: 3px;
  border: 1px solid #2e7e95;
  background-color: #09172d;
}

@media (max-width: 768px) {
  .nav-right {
    flex-direction: column;
    position: absolute;
    top: 50px;
    right: 0;
    background-color: #14374bf5;
    padding: 20px 10px;
    width: 100%;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
  }

  .nav-right.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: block;
  }

  header .logo img {
    max-height: 30px;
    height: auto;
    width: auto;
  }
}

.slider-container {
  width: 100%;
  height: 50vh;
  position: static;
}

.slide {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service {
  margin: 220px 0px 40px 0px;
  padding: 10px;
  position: relative;
  z-index: 2;
}

.card {
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid #fdc894;
  background-color: #ffffffe8;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 60px;
  height: 60px;
  margin: 15px 5px 5px 5px;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.card-img-top {
  text-align: center;
}

.col-md-3 {
  width: 150px;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}

.fitur {
  text-align: center;
}

.mx-auto {
  margin: 5px;
  position: relative;
}

.text-stroke-fill {
  font-size: 14pt;
  font-weight: bold;
  color: #ffffff;
  background-color: #222222b2;
  border: 2px solid #fff;
  border-radius: 100px;
  text-align: center;
  width: 60%;
  margin: 10px 0px;
}

.text-centered{
  text-align: center;
}

.view-more {
  float: right;
  color: #fff;
  background-color: #fe7700;
  border-radius: 3px;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
}

.view-more:hover {
  text-decoration: underline;
}

.sc-down {
  position: relative;
  display: inline-block;
  border-radius: 100px;
  border: 2px solid #fff;
  background-color: #ff0000;
  padding: 1px 12px 0px 12px;
  font-size: 18pt;
  font-weight: bold;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  margin: 10px 5px;
  z-index: 1;
}

.sc-down i {
  position: relative;
  z-index: 2;
}

.sc-down::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
height: 100%;
border-radius: 100%;
background: rgba(255, 255, 255, 0.9);
animation: ping 1.5s infinite;
z-index: 1;
}

@keyframes ping {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    scale: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
    scale: 1;
  }
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  right: 0;
  white-space: nowrap;
  position: absolute;
  border: 1px solid #607D8B;
  background-color: #365862f5;
  min-width: 160px;
  z-index: 1;
  box-shadow: 0px 8px 16px rgba(255, 255, 255, 0.2);
}

.dropdown-content a {
  text-align: left;
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:last-child .dropdown-content {
  right: 0;
  left: auto;
}

.posts-tit {
  width: 100%;
  height: auto;
  margin: 0;
  background-color: #dcf8f9;
  position: relative;
  padding: 10px;
  background-image: url(../../assets/img/1.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.serv-tit {
  width: 100%;
  height: auto;
  margin: 0;
  background-color: #dcf8f9;
  position: relative;
  padding: 10px;
  background-image: url(../../assets/img/2.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.cp-tit {
  width: 100%;
  height: auto;
  margin: 0;
  background-color: #444;
  position: relative;
  padding: 10px;
  background-image: url(../../assets/img/4.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.posts {
  width: 100%;
  height: auto;
  margin: 0;
  position: relative;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.post-contents {
  width: 59%;
  height: 100%;
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

.post-card {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  background-color: #0000007a;
  margin: 0px;
  padding: 0px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  justify-content: flex-end;
  flex-wrap: nowrap;
  box-sizing: border-box;
  align-content: center;

}

.post-image {
  position: relative;
  width: 100%;
  height: 400px;
  object-fit: cover;
  margin: 0px;
  z-index: 1;
}

.post-text{
  position: absolute;
  flex: 1;
  margin: 0px 10px;
  padding: 10px;
  color: #ffffff;
  z-index: 2;
  background-color: #333333ba;
  overflow: hidden;
}

.post-text:hover {
  color: #000;
  background-color: #ffffffe0;
 /* position: absolute;
  flex: 1;
  margin: 0px 10px;
  padding: 10px;
  z-index: 2;
  overflow: hidden;*/
}

.read-more {
  color: #0064ff;
  text-decoration: none;
  font-weight: bold;
}

.read-more:hover {
  color: #0064ff;
  text-decoration: none;
  font-weight: bold;
  text-decoration: underline;
}


.post-card-side {
  display: flex;
  flex-direction: row;
  background-color: #b2d3da;
  margin-bottom: 10px;
  padding: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  justify-content: flex-start;
  flex-wrap: nowrap;
  align-items: center;
  align-content: center;
  color: #074557;
}

.post-card-side:hover{
  background-color: #51848f;
  color: #fff;

}

.post-text-side{
  font-size: 12pt;
  line-height: 1.5;
}

.post-image-side {
  width: 100px;
  height: 80px;
  object-fit: cover;
  margin-right: 15px;
}



.post-title {
  text-align: justify;
  font-size: 16pt;
  font-weight: bold;
/*  color: #fff;*/
  margin: 0 0 10px;
/*  white-space: nowrap;*/
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-limit {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #333;
  text-align: justify;
  text-decoration: none;
  line-height: 1.5;
}

.post-side {
  width: 39%;
  box-sizing: border-box;
}

.post-search{
  padding: 10px;
  background-color: #444;

}

.search-form {
  margin-bottom: 20px;
}

.search-input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
  box-sizing: border-box;
}

.search-button {
  width: 100%;
  padding: 10px;
  background-color: #f4a261;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.search-button:hover {
  background-color: #e76f51;
}

.recent-head{
  background-color: black;
  margin: 10px -11px;
  color: #fff;
  padding: 10px;
}

.recent-posts ul {
  list-style: none;
  padding: 0px 10px;
  margin: 0;
}

.recent-posts li {
  margin-bottom: 10px;
}

.recent-posts li a {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #333;
  text-decoration: none;
}

.recent-posts li a:hover {
  color: #007bff;
}

.recent-posts li {
  margin-bottom: 10px;
}

.recent-posts li a {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #333;
  text-decoration: none;
}

.recent-posts li a:hover {
  color: #007bff;
}

@media (max-width: 768px) {
  .post-contents,
  .post-side {
    width: 100%;
  }

  .post-card {
    flex-direction: column;
    align-items: center;
  }

  .post-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 15px;
  background-image: url(../../assets/img/3.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

.col-lg-12, .col-lg-6 {
  padding: 10px;
}

.col-lg-12 {
  width: 100%;
}

.col-lg-6 {
  display: inline-table;
  width: 49%;
}

.tab {
  display: flex;
  margin-bottom: 15px;
}

.tab button {
  background-color: #f1f1f1;
  border: 1px solid #ddd;
  padding: 10px 15px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 14px;
  margin-right: 5px;
}

.tab button:hover {
  background-color: #ddd;
}

.tab button.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.tabcontent {
  display: none;
  margin-top: 10px;
}

.tabcontent.active {
  display: block;
}

.btn-link {
  color: #222;
  text-decoration: none;
  transition: 0.3s;
  font-size: 11pt;
  display: table-cell;
  line-height: 0.8;
}

.btn-link:hover {
  text-decoration: underline;
  color: #007bff;
}

.btn-soc {
  display: inline-block;
  color: #555;
  text-decoration: none;
  font-size: 10pt;
  line-height: 0.8;
}

.btn-soc i {
  margin-right: 5px;
  color: #007bff;
}

.btn-soc:hover {
  text-decoration: underline;
  color: #007bff;
}

.btn-info{
  padding: 5px 20px;
  background-color: #ff0000;
  list-style: none;
  list-style-type: none;
  text-decoration: none;
  text-decoration-style: none;
  color: #fff;
  border-radius: 50px;
  border: 1px solid #570000;
}


.recent-title{
 text-decoration-style: none;
 text-decoration: none;
}

.btn-xl-soc{
    font-size: 26pt;
/*    color: #333;*/
    text-decoration: none;
    text-decoration-style: none;
    list-style: none;
    list-style-type: none;
}

.btn-xl-soc a{
    font-size: 26pt;
/*    color: #333;*/
    text-decoration: none;
    text-decoration-style: none;
    list-style: none;
    list-style-type: none;
}

.logo-wa{
    color: #05b703;

}
.logo-fb{
    color: #0084ed;

}
.logo-ig{
    color: #ff9800;

}
.logo-tw{
    color: #2196F3;

}
.logo-yt{
    color: #f10f00;

}
li {
  list-style: none;
  margin-bottom: 10px;
}

iframe {
  border: 1px solid #ddd;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .col-lg-6 {
    width: 100%;
  }

  .tab {
    flex-wrap: wrap;
  }

  .tab button {
    flex: 1 1 calc(50% - 5px);
    margin-bottom: 5px;
  }

  .tab button.active {
    flex: 1 1 100%;
  }
}

/*annoucement, download, gallery*/

.header-title {
  font-weight: bold;
  color: #fff;
  font-size: 14px;
  padding: 15px 25px;
  background-color: #557787;
  clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
  margin: -10px 10px -10px -10px;
  z-index: +1;
}

.top-30{
  margin-top: 20px;
}

.col-3{
  display: inline-table;
  padding: 8px;
  border: 1px solid #bfbfbf;
  flex: 1 1 calc(20% - 20px);
  max-width: calc(20% - 15px);
  background-color: #ffffff;
  overflow: hidden;
}

.annocard{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.anno-img{
  width: 250px;
  height: 200px;
  object-fit: cover;
}

.anno-text-lr{
  background-color: #f3f3f3;
  color: #000;
  font-weight: bold;
  align-content: center;
  margin: 0px;
}

.anno-text{
  background-color: #f3f3f3;
  color: #000;
  align-content: center;
  min-height: 51px;
  margin: 0px;
}

/*annoucement*/

/*fasilitas*/

.history-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  text-align: justify;
}

.content {
  flex: 2;
  padding: 20px;
}

.illustration {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.illustration img {
  max-width: 100%;
  border-radius: 10px;
}

.title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.history-section-ltr {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.content-ltr {
  flex: 1;
  padding: 20px;
}

.illustration-ltr {
  flex: 2;
}

.illustration-ltr img {
  max-width: 100%;
  border-radius: 10px;
}

.title-ltr {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

ol li {
  list-style: disc !important;
  margin-bottom: 10px;
  line-height: 1.6;
}

ol li strong {
  color: #222;
}

/*.history-section::before {
  content: "";
  position: fixed;
  width: 10px;
  height: 100%;
  background: linear-gradient(to bottom, #ff6f61, #ffaf00);
  left: 0;
  top: 0;
  border-radius: 5px;
}*/

.popup {
  width: calc(70% - 20px);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 3;
  text-align: center;
  border-radius: 10px;
}

.popup button {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.popup button:hover {
  background-color: #555;
}

#popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 3;
}

/*fasilitas*/

/*posted*/

.header-posts {
  display: flex;
  font-weight: bold;
  align-items: center;
  background-color: #acc0c9;
  color: #000;
  padding: 5px 10px;
  position: relative;
  overflow: hidden;
}

.marquee-posts {
  flex: 1;
  font-size: 14px;
  color: #074557;
  white-space: nowrap;
}

@media (max-width:425px){
        .history-section {
            flex-direction: column-reverse !important;
    }
    }

.space-link{
  margin: 0px 300px 0px 0px;
}

.col-lg-2{
  width: 10%;
}

.col-lg-10{
  margin: 20px 0px;
  width: 80%;
}

.width-800{
}

.width-400{
  width: 400px !important;
  height: 250px !important;
}

.post-link{
  text-decoration: none;
  text-decoration-style: none;
}

/*posted*/

 .row-posted {
  display: flex;
 }

 .pdf-preview {
  width: 70%;
  padding-right: 20px;
 }

 .file-list {
  width: 30%;
  background-color: #f5f5f5;
  padding: 10px;
  border-left: 1px solid #ccc;
 }

 .file-item {
  cursor: pointer;
  padding: 5px;
  border-bottom: 1px solid #ddd;
 }
 
 .file-item:hover {
  background-color: #e0e0e0;
 }

 @media screen and (max-width:768px){
  .row-posted {
   display: flex;
   flex-direction: column-reverse;
   align-items: center;
   justify-content: flex-end;
   flex-wrap: nowrap;
  }

  .pdf-preview {
   padding: 0px;
  }

  .file-list {
   padding: 5px;
  }

  .pdf-preview,
  .file-list {
     width: 100%;
     margin: auto auto 20px auto;
  }
 }

table.table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  margin: 20px 0;
}

.filter {
  margin-bottom: 10px;
  text-align: right;
}

.table thead {
  background-color: #007BFF;
  color: #fff;
}

.table th, .table td {
  border: 1px solid #ccc;
  padding: 10px 12px;
}

.table a {
  color: #007BFF;
  text-decoration: none;
}

.table a:hover {
  text-decoration: underline;
}

.table thead th {
  background-color: #007BFF;
  font-weight: bold;
}

.table tr:nth-child(even) {
  background-color: #fafafa;
}

.table tr:hover {
  background-color: #f1f1f1;
}