/* Top Margin */

#marquee,
#search,
#news,
#publikasi,
#carousel,
#faq,
#layanan,
#fasilitas,
#kegiatan,
#kontak {
  margin-top: 100px;
}

/* Header */

#header {
  z-index: 100;
  position: absolute;
}

section#header div.container-fluid nav.navbar {
  background-color: white;
}

/* Navbar */

div.collapse ul.navbar-nav li.nav-item > .active {
  color: red;
}

div.collapse ul.navbar-nav li.nav-item > a {
  color: black;
}

li.nav-item.dropdown.dropdown-1:hover ul.dropdown-menu.drop-1,
li.nav-item.dropdown.dropdown-2:hover ul.dropdown-menu.drop-2,
li.nav-item.dropdown.dropdown-3:hover ul.dropdown-menu.drop-3,
li.nav-item.dropdown.dropdown-4:hover ul.dropdown-menu.drop-4,
li.nav-item.dropdown.dropdown-5:hover ul.dropdown-menu.drop-5 {
  display: block;
}

/* Page Header */

div.page-header {
  color: white;
  background: linear-gradient(to right, #1d2e91, #161b37, #1d2e91);
  min-height: 80px;
  width: 100%;
  padding-top: 25px;
  padding-bottom: 25px;
}

/*  News */

div.card.card-news {
  box-shadow: 5px 10px 10px #d3d3d3;
}

div.card.card-news:hover {
  background-color: lightblue;
}

img.img-news {
  width: 100%;
  height: 220px;
}

.card-link {
  color: white;
  text-decoration: none;
}

/* Services */

#service {
  background: #f5fbf9;
  min-height: 400px;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
  margin-bottom: 50px;
}

#circle {
  background: #e4e4e4;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin-top: 25px;
  margin-left: 25px;
}

div.card.card-services {
  width: 250px;
  background: #ffffff;
  box-shadow: 5px 5px 10px #d3d3d3;
}

div.card.card-services:hover {
  background-color: lightblue;
}

img.img-circle {
  margin-top: 25px;
  margin-left: 25px;
}

a.card-link.view-more {
  text-decoration: none;
  color: blue;
  font-weight: bold;
}

.fa-arrow-right {
  color: blue;
}

/* Footer */

.card.text-white.visitor-card {
  background: #161b37;
  border-color: white;
}

footer {
  background: #161b37;
  color: white;
  text-align: center;
  padding: 30px;
}

footer p {
  font-size: 13px;
}

footer .fa {
  padding-bottom: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 2px 2px;
}

footer .fa:hover {
  opacity: 0.7;
}

footer .fa-facebook {
  color: white;
}

footer .fa-linkedin {
  color: white;
}

footer .fa-instagram {
  color: white;
}

body {
  font-family: "ubuntu", sans-serif;
}

/* News page */

img.img-pict {
  width: 250px;
  height: 150px;
}

/* Kegiatan Sosial */

img.img-sosial {
  width: 100%;
  height: 300px;
}

/* Contact Page */

img.img-map {
  width: fit-content;
  height: fit-content;
}

/* Riset Page */

div.card.card-riset {
  box-shadow: 5px 10px 10px #d3d3d3;
}

/* Detail Product */

img.product-img {
  width: 250px;
  height: 250px;
}

/* Detail Layanan */

img.service-detail {
  min-width: 350px;
  max-width: 350px;
  height: 250px;
  box-shadow: 5px 5px 10px #b3b2b2;
}

/* Detail Fasilitas */

img.fasilitas-detail {
  min-width: 350px;
  max-width: 350px;
  height: 250px;
  box-shadow: 5px 5px 10px #b3b2b2;
}

/* About Page */

section#profil-intro {
  margin-top: 120px;
  padding-top: 25px;
  padding-bottom: 25px;
  background-image: url("../img/diesel.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

img.str-org {
  width: 450px;
  height: 450px;
}

img.pertumbuhan-aset {
  width: 600px;
  height: 350px;
}

img.aset {
  width: 50%;
  height: 50%;
}

img.aset2 {
  width: 100%;
  height: 50%;
}

img.aset3 {
  width: 60%;
  height: 235px;
}

img.aset4 {
  width: 15%;
  height: 15%;
}

img.logo-pt {
  width: 75%;
  height: 50%;
}

img.p-sdm {
  width: 100%;
  height: 200px;
}

/* auto space produk riset  */

pre {
  line-height: 1em;
}

/* Google Maps */

.mapouter {
  position: relative;
  text-align: right;
  height: 400px;
  width: 100%px;
}

.gmap_canvas {
  overflow: hidden;
  background: none !important;
  height: 400px;
  width: 100%;
}

iframe {
  width: 100%;
  height: 100%;
}

.card {
  display: flex;
  justify-content: center;
}

/* Limit Text in Card */

.text-limit {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

td.text-limit {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Style the Image Used to Trigger the Modal */

#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {
  opacity: 0.7;
}

/* The Modal (background) */

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
}

/* Modal Content (Image) */

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */

.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* The Close Button */

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */

@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}

/* URL force break in HTML table */

.force-break {
  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;
  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* Responsives DIV */
