
/* CSS Reset */

body {
font-family:Arial;
}

a:link {
  text-decoration: none;
}

a:visited {
  color: #A6007C; 
  text-decoration: none;
}

a:hover {
  color: #FF0000; 
  text-decoration: underline;
}

a:active {
  text-decoration: underline;
}

.content {
  max-width: 1040px;
  margin: auto;

}

p.round1 {
  border: 1px solid black;
  border-radius: 5px;
  margin-left: 10;
  margin-right: 10;
  padding-left: 30px;
  padding-right: 30px;


}

h1 {
background-color: ;
    font-size: 1.7em;
    margin-top: 30px;
    font-weight: bold


            }
        
h2

{
    font-size: 1.3em;
    margin-top: 10px;
   font-weight: bold
    
        }
        
h3

{
    font-size: 1.1em;
    margin-top: 30px;
   font-weight: bold
    
        }
        
h4

{
    font-size: 0.9em;
    margin-top: 10px;
   font-weight: bold
    
        }
        
        
p {
padding-top: 10px;
padding-right: 00px;
padding-bottom: 10px;
padding-left: 00px;
line-height: 1.5;
text-align: justify;
}


/* Prevent link styles affecting slideshow arrows */
.slideshow-container .prev,
.slideshow-container .next {
  text-decoration: none;
  color: white;
}

.slideshow-container .prev:hover,
.slideshow-container .next:hover,
.slideshow-container .prev:active,
.slideshow-container .next:active,
.slideshow-container .prev:visited,
.slideshow-container .next:visited {
  text-decoration: none;
  color: white;
}

 /*--------------------------table------------------------*/


#table1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  border-collapse: collapse;
  width: 100%;
}


#table1 td, #table1 th {
  border: 1px solid #ddd;
  background-color: #f8f8f8;
  padding: 6px;
  padding-left: 12px;
  height: 40px;         /* set desired row height */

}

#table1 tr:nth-child(even){background-color: #f2f2f2;}

/*#table1 tr:hover {background-color: #ddd;} */

#table1 th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #E5E5E5;
  color: black;
}


#table2 {
  border: 1px solid #ccc;
  font-size: 15px;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

#table2 caption {
  font-size: 1.1em;
  margin: .5em 0 .75em;
  text-align: left;

  font-weight: bold;

}

#table2 tr {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: .35em;
}

#table2 th, td {
  padding: .625em;
  text-align: left;

}

#table2 th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: left;
  background-color: #E5E5E5;
}

@media screen and (max-width: 500px) {
  #table2 {
    border: 0;
    font-size: 16px;

  }

  #table2 caption {
    font-size: 1.0em;
    margin: .5em 0 .75em;
  text-align: left;

  font-weight: bold;

}
  
  #table2 thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  #table2 tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  
  #table2 td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
   text-align: right;
   
  }
  
  #table2 td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  #table2 td:last-child {
    border-bottom: 0;

  }

}


/*--------------------------logo---------------------------------*/


#logo {
    background: transparent url("images/klia-header.jpg") no-repeat 0 0;
    width: 100%;
    max-width: 1040px;
    height: 150px;
    border: 0;
    margin: 0 auto;
}


@media only screen and (max-width: 600px) {
#logo {
width: 100%;

}
}

/*--------------------------menu---------------------------------*/


.navbar {
  overflow: hidden;
  background: transparent url("images/navbar-logo.jpg");
  height: 42px;

         
}

.navbar a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 16px;
    

}
.active {
  background-color: none;
  color: white;
  

}
.navbar .icon {
  display: none;
  

}
.navbar a:hover, input:hover {
  background-color: #dddddd;
  
}
/* CSS for search box */
.navbar .search-box {
  float: right;
  position: relative;
  margin-top: 3px;
  padding-right: 30px;
  display: flex;
}
.navbar .search-box input {
  padding: 12px;
  border: none;
  width: 100%;
  height: 100%;
  padding: 10px;
}
.navbar .search-box button {
  color: #999;
  border: navajowhite;
  padding: 10px;
}

@media screen and (max-width: 600px) {
  .navbar a, .navbar .search-box, .navbar .search-icon {
    display: none;
    
  }
  .navbar a.icon {
    float: right;
    display: block;
    
  }
}

@media screen and (max-width: 600px) {
  .navbar.responsive {position:relative;
   width: 100%;
    height: auto;
        }
    
  .navbar.responsive .icon {
    position: absolute;
        right: 0;
    top: 0;
       
  }
  .navbar.responsive a {
    float: none;
    display: block;
    text-align: left;
    
  }
  
  .navbar.responsive .search-box { 
    float: none;
    display: flex;
    width: 90%;
    padding: 4%;
    border: 2px solid black;
  }
  .navbar.responsive .search-icon{
    display: flex;
  }
}

 /*--------------------------slideshow------------------------*/
  
  
  * {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {display:none;}
.block {
    display:block;}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}


/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

    
.active, .dot:hover {
 background-color: #717171;}
 
 
/* Fading animation */
.fade {
  animation-name: none;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/*--------------------------grid-container------------------------*/


ul.a {
  display: block;
  list-style-type: square;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: 10px;
  line-height: 1.3;
}

ul.b {
  display: block;
  list-style-type: square;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
  padding-left: 20px;
  line-height: 1.6;
}

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-gap: 0; /* or whatever spacing you want */
  background-color: #fff;
  padding: 10px;
}

@media only screen and (max-width: 500px) {
  .item1 { grid-area: 1; }
  .item2 { grid-area: 2; }
  .item3 { grid-area: 3; }
}

/*--------------------------body------------------------*/

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
} 

.column {
  width: 45%;
  margin: 10px;
  text-align: left;
}

.column img {
  display: block;
  margin: 10px 0;
  width: 80%;
  padding-bottom: 13px;

}


/* Column container */
  
.main {
  flex: 0.7;
  order: 1;              /* main first */
  background-color: white;
  padding-right: 10px;
  padding-left: 2px;
}

.side {
  flex: 0.3;
  order: 2;              /* sidebar on right */
  background-color: #f1f1f1;
  padding: 10px;
}

/* Footer */
.footer {
  padding: 13px;
  text-align: left;
  background: #ddd;
  
}

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
  .row {
    flex-direction: column;
  }

  .main {
    order: 1;   /* content first */
  }

  .side {
    order: 2;   /* sidebar bottom */
  }

  .column {
    width: 100%;
    margin: 10px 0;
  }

  .column img {
    width: 100%;
  }
}

@media (max-width: 1366px) {
  .side {
    flex: 0.29; /* keep slightly smaller sidebar */
  }
  .main {
    flex: 0.69; /* better fit for 14" */
  }
}

/* For larger displays (>1366px wide) */
@media (min-width: 1367px) {
  .side {
    flex: 0.30;
  }
  .main {
    flex: 0.70;
  }
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other  */

@media screen and (max-width: 400px) {
  .navbar a {
    float: none;
    width: 100%;
  }
}



/*--------------------------images------------------------*/


div.gallery-main {
  border: px solid #fff;
  
}

div.gallery-main img {
  width: 100%;
  height: auto;
  padding: 1px solid #fff;
    border: px solid #fff;
}

div.desc-main {
  text-align: center;
  padding-top: 5px;
  padding-bottom: 20px;
  background-color: white;
  font-style: italic;
  font-size: 13px;
  text-indent: ;
}

.responsive-main {
  padding: 0 6px;
  float: left;
  width: 100%;
}

@media only screen and (max-width: 700px) {
  .responsive-main {
    width: 100%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive-main {
    width: 100%;
      }
}

* {
  box-sizing: border-box;
}

/* Container */
.responsive1 {
  padding: 12px;
  width: 20%;              /* 4 items per row on PC */
  display: inline-block;
  vertical-align: top;
  text-align: center;
}

/* Gallery box */
div.gallery1 {
  border: 1px solid #fff;
  transition: border 0.2s ease, transform 0.2s ease;
}

/* Hover effect (no layout shift) */
div.gallery1:hover {
  border: 1px solid #777;
  transform: scale(1.02);     /* subtle hover like mobile tap */
}

/* Image control */
div.gallery1 img {
  width: 100%;
  height: auto;
  display: block;             /* removes inline gap */
  border: 1px solid #fff;
}

/* Description */
div.desc1 {
  padding: 6px 4px 8px;
  text-align: center;
  font-size: 13px;
  line-height: 1.3;
}

/* Tablet */
@media (max-width: 900px) {
  .responsive1 {
    width:25%;               /* 4 per row */
  }
}

/* Mobile */
@media (max-width: 700px) {
  .responsive1 {
    width: 33%;               /* 2 per row */
    padding: 8px;
  }
}

/* Small mobile */
@media (max-width: 500px) {
  .responsive1 {
    width: 33.33%;            /* similar to your HP view */
  }

  div.desc1 {
    font-size: 12px;
    padding: 5px 2px;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

div.gallery2 {
  border: 1px solid #fff;
 
 }

div.gallery2:hover {
  border: 1px solid #777;
  padding-right: 1px;

  
}

div.gallery2 img {
 
  padding: 1px solid #fff;
  border: 1px solid #fff;
   }

 div.desc2 {
  padding-top:5px;
  padding-bottom:1px;
 padding-right:1px;
  text-align: center;
     font-size: 13px;
  display: inline-block; 
  vertical-align: top;
   
}


.responsive2 {
 padding-top:12px;
  padding-bottom:4px;
 padding-right:4px;

  width:22%;
  display: inline-block;
  text-align: center;
  font-size: 12px;
  vertical-align: top;
  

}

@media only screen and (max-width: 700px) {
  .responsive2 {
    width: 49.99999%;
    margin: 6px 0;
    padding-top:1px;

  }
}

@media only screen and (max-width: 500px) {
  .responsive2 {
    width: 28%;
    padding-top:1px;

    
      }
       
      div.desc2 {
  padding-top:5px;
  padding-bottom:1px;
 padding-right:1px;
  text-align: center;
  font-size: 12px;
  display: inline-block; 
  vertical-align: top;
  

}
 }

 

div.gallery3 {
  border: 1px solid #fff;
  box-sizing: border-box;
}

div.gallery3:hover {
  border: 1px solid #777;
  
  
}


div.gallery3 img {
  width: 100%;
  height: 130px;      /* Set same height for all images */
  object-fit: cover;  /* Crops images nicely without distortion */
  border: 1px solid #fff;
}

div.desc3 {
 padding-top: 5px;
  padding-bottom: 2px;
  margin-bottom: 4px;
  text-align: center;
  font-size: 13px;     
}

.responsive3 {
  padding: 0 6px;
  float: left;
  width: 30%;
  
}

@media only screen and (max-width: 700px) {
   .responsive3 {
    width: 100%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive3 {
    width: 46%;
      }
}



div.gallery4 {
  border: 1px solid #fff;
  
}

div.gallery4 img {
  width: 100%;
  height: auto;
  float: center;
  padding-top:14px;
  padding-left:5px;

  padding-bottom:5px;
}

div.desc4 {
  padding-top:5px;
  padding-bottom:5px;
  background-color: white;
  font-style: italic;
    text-align: center;
  font-size: 12px;
}

.responsive4 {
  padding-top:0px;
  padding-bottom:0px;
    float:right;
  width:45%;
}

@media only screen and (max-width: 700px) {
   .responsive4 {
    width: 100%;
    margin: 6px 0;
   
  }
}

@media only screen and (max-width: 500px) {
  .responsive4 {
    width:95%;
    padding-top:0px;
    padding-bottom:0px;
    padding-right:20px;


      }
}


div.gallery5 {
  border: 1px solid #fff;
  box-sizing: border-box;
}


div.gallery5 img {
  width: 100%;
  height: auto;      /* Set same height for all images */
  object-fit: cover;  /* Crops images nicely without distortion */
  border: 1px solid #fff;
}

div.desc5 {
  padding-top: 5px;
  padding-bottom: 2px;
  margin-bottom: 4px;
  text-align: center;
  font-size: 13px;
  font-style: italic;   
}

.responsive5 {
  padding: 0 6px;
  float: left;
  width: 50%;
}

@media only screen and (max-width: 700px) {
   .responsive5 {
    width: 100%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive5 {
   width: 50%;
      }
}

div.gallery6 {
  border: 1px solid #fff;
 
 }

div.gallery6:hover {
  border: 1px solid #777;
  padding-right: 1px;

  
}

div.gallery6 img {
  width: 100%;         /* fill the width of the container */
  height: 100px;       /* fixed height for all images */
  object-fit: cover;   /* crops image nicely without distortion */
  border: 1px solid #fff;
  display: block;      /* remove inline spacing issues */
 }

 div.desc6 {
  padding-top:5px;
  padding-bottom:1px;
 padding-right:1px;
  text-align: center;
     font-size: 13px;
  display: inline-block; 
  vertical-align: top;
   
}


.responsive6 {
  padding-top:12px;
  padding-bottom:4px;
  padding-right:4px;
  width:25%;
  display: inline-block;
  text-align: center;
  font-size: 12px;
  vertical-align: top;
}  

@media only screen and (max-width: 700px) {
  .responsive6 {
    width: 49.99999%;
    margin: 6px 0;
    padding-top:1px;
  }
}

@media only screen and (max-width: 500px) {
  .responsive6 {
    width: 31%;
    padding-top:1px;
    
      }
       
      div.desc6 {
  padding-top:5px;
  padding-bottom:1px;
 padding-right:1px;
  text-align: center;
  font-size: 12px;
  display: inline-block; 
  vertical-align: top;
  

}
 }
 
div.gallery7 {
    border: 1px solid #fff;
}

.gallery7 iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
}

.responsive7 {
    width: 560px;      /* PC width */
    max-width: 100%;   /* Never exceed screen width */
}

@media only screen and (max-width:700px) {
    .responsive7 {
        width:100%;
        margin:6px 0;
    }
}

@media only screen and (max-width:500px) {
    .responsive7 {
        width:95%;
        padding-right:20px;
    }
}

 
/* Basic Responsive Image */
img {
  width: 100%;
   height: auto;
 
 }
 

  
/* Responsive Images in Columns */
.two-columns {
  width: 48%;
  display: inline-block;
  margin: 3px;
  
}
.three-columns {
  width: 24%;
  display: inline-block;
  margin: 3px;
  }
  
    .map-container {
  float: left;
  margin: 0 20px 20px 0; /* space to the right and below */
  width: 80%;           /* or your desired width */
}

.map-container .office-map {
  width: 100%;   /* fill the container */
  height: 300px; /* adjust as needed */
 border: 1px solid #ccc;  /* correctly shows border on all four sides */
  box-sizing: border-box;  /* optional, ensures padding/border included in width/height */
  }
  
  /* Zoom container */
.zoom-frame {
  width: 80%;
  height: 200px;          /* ? fixed height (adjust as needed) */
  overflow: hidden;       /* keeps zoom inside */
}

/* Image */
.zoom-frame img {
  width: 100%;
  height: 100%;           /* fill the frame */
  object-fit: cover;      /* crop evenly */
  transition: transform 0.3s ease;
}

/* Hover zoom INSIDE frame */
.zoom-frame:hover img {
  transform: scale(1.1);
}


/*--------------------------html click pointer------------------------*/

 html {
      scroll-behavior: smooth;
    }
    .section {
      margin-top: 50px;
    }