/**
 * Owl Carousel v2.2.1
 * Copyright 2013-2017 David Deutsch
 * Licensed under  ()
 */
/*
 *  Owl Carousel - Core
 */
.owl-carousel {
  display: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  /* position relative and z-index fix webkit rendering fonts issue */
  position: relative;
  z-index: 1;
}

.owl-carousel .owl-stage {
  position: relative;
  -ms-touch-action: pan-Y;
  -moz-backface-visibility: hidden;
  /* fix firefox animation glitch */
}

.owl-carousel .owl-stage:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
  /* fix for flashing background */
  -webkit-transform: translate3d(0px, 0px, 0px);
}

.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
}

.owl-carousel .owl-item {
  position: relative;
  min-height: 1px;
  float: left;
  -webkit-backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

.owl-carousel .owl-item img {
  display: block;
  width: 100%;
}

.owl-carousel .owl-nav.disabled,
.owl-carousel .owl-dots.disabled {
  display: none;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-dot {
  cursor: pointer;
  cursor: hand;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.owl-carousel.owl-loaded {
  display: block;
}

.owl-carousel.owl-loading {
  opacity: 0;
  display: block;
}

.owl-carousel.owl-hidden {
  opacity: 0;
}

.owl-carousel.owl-refresh .owl-item {
  visibility: hidden;
}

.owl-carousel.owl-drag .owl-item {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.owl-carousel.owl-grab {
  cursor: move;
  cursor: grab;
}

.owl-carousel.owl-rtl {
  direction: rtl;
}

.owl-carousel.owl-rtl .owl-item {
  float: right;
}

/* No Js */
.no-js .owl-carousel {
  display: block;
}

/*
 *  Owl Carousel - Animate Plugin
 */
.owl-carousel .animated {
  animation-duration: 1000ms;
  animation-fill-mode: both;
}

.owl-carousel .owl-animated-in {
  z-index: 0;
}

.owl-carousel .owl-animated-out {
  z-index: 1;
}

.owl-carousel .fadeOut {
  animation-name: fadeOut;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/*
 * 	Owl Carousel - Auto Height Plugin
 */
.owl-height {
  transition: height 500ms ease-in-out;
}

/*
 * 	Owl Carousel - Lazy Load Plugin
 */
.owl-carousel .owl-item .owl-lazy {
  opacity: 0;
  transition: opacity 400ms ease;
}

.owl-carousel .owl-item img.owl-lazy {
  transform-style: preserve-3d;
}

/*
 * 	Owl Carousel - Video Plugin
 */
.owl-carousel .owl-video-wrapper {
  position: relative;
  height: 100%;
  background: #000;
}

.owl-carousel .owl-video-play-icon {
  position: absolute;
  height: 80px;
  width: 80px;
  left: 50%;
  top: 50%;
  margin-left: -40px;
  margin-top: -40px;
  background: url("owl.video.play.png") no-repeat;
  cursor: pointer;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  transition: transform 100ms ease;
}

.owl-carousel .owl-video-play-icon:hover {
  -ms-transform: scale(1.3, 1.3);
  transform: scale(1.3, 1.3);
}

.owl-carousel .owl-video-playing .owl-video-tn,
.owl-carousel .owl-video-playing .owl-video-play-icon {
  display: none;
}

.owl-carousel .owl-video-tn {
  opacity: 0;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 400ms ease;
}

.owl-carousel .owl-video-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
}
.highlighted-row {
  background-color: #f0f0f0; /* Example background color */
  font-weight: bold; /* Example styling */
}

/* Custom CSS for Photo Upload  */

    .photo-upload {
        position: relative;
        display: inline-block;
        cursor: pointer;
    }

    .photo-placeholder {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 120px;
        height: 120px;
        border: 2px dashed #ccc;
        border-radius: 50%;
        font-size: 16px;
        color: #ccc;
    }

    .photo-placeholder:hover {
        background-color: #f0f0f0;
    }

    .photo-placeholder i {
        margin-bottom: 5px;
    }

    /* NEWS-DETAIL CSS STYING */
    .news-sidebar {
      margin-top: 30px;
  }
  
  .news-author {
      margin-bottom: 30px;
  }
  
  .author-info {
      display: flex;
  }
  
  .author-image {
      width: 30%;
      margin-right: 15px;
  }
  
  .author-image img {
      width: 100%;
      height: auto;
  }
  
  .author-details {
      width: 70%;
  }
  
  .author-details h4 {
      margin-bottom: 15px;
  }
  
  .author-details p {
      margin: 5px 0;
  }
  
  .recent-news {
      margin-top: 30px;
  }
  
  .recent-news-title {
      font-size: 20px;
      font-weight: bold;
      margin-bottom: 20px;
  }
  
  .latest-stories {
      display: flex;
      margin-bottom: 20px;
  }
  
  .stories-image {
      width: 30%;
      margin-right: 15px;
  }
  
  .stories-image img {
      width: 100%;
      height: auto;
  }
  
  .stories-info {
      width: 70%;
  }
  
  .stories-info h5 {
      font-size: 16px;
      margin: 0;
      color: #333;
  }
  
  .stories-info h5 a {
      color: inherit;
      text-decoration: none;
  }
  
  .stories-info h5 a:hover {
      text-decoration: underline;
  }
  
  .stories-info span {
      display: block;
      color: #666;
      font-size: 14px;
      margin-top: 5px;
  }
  

  /* Contact Us Section */
#contact-us {
  background-color: #f8f9fa;
}

.contact-card {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-top: 20px;
}

.contact-card-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #343a40;
}

.contact-card .form-control {
  border-radius: 5px;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.contact-card .btn-primary {
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  padding: 12px 24px;
  color: #ffffff;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.contact-card .btn-primary:hover {
  background-color: #0056b3;
  color: #ffffff;
}

.alert {
  border-radius: 5px;
  font-size: 16px;
}

/* Image Styles */
.img-fluid {
  max-width: 100%;
  height: auto;
}

.rounded {
  border-radius: 8px;
}

.shadow {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Google Map Styles */
#google-map iframe {
  border-radius: 8px;
}
/* validation for java script ERROR style */
.error-message {
  color: red;
  font-size: 0.8em;
  margin-top: 5px;
}
.popup {
  display: none; /* Hidden by default */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  z-index: 1000; /* Ensure it's on top of other content */
  max-width: 90%; /* Adjust the max-width to control the size of the popup */
  max-height: 90%; /* Adjust the max-height to control the size of the popup */
  overflow: auto; /* Add scrollbars if content exceeds the popup dimensions */
}

.popup-image {
  max-width: 100%; /* Ensure the image scales with the popup */
  max-height: 80vh; /* Adjust to control the height of the image relative to viewport height */
  height: auto;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff0000;
  color: #fff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 50%;
}
/* notice board  */
.notice-container {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 5px;
  max-width: 850px;
  margin: 20px auto;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.notice-header {
  text-align: center;
  margin-bottom: 20px;
}

.notice-header h1 {
  font-size: 24px;
  margin: 0;
}

.notice-header p {
  margin: 5px 0;
  font-size: 16px;
}

.notice-body {
  font-size: 16px;
  line-height: 1.6;
}

.notice-body h2 {
  font-size: 20px;
  margin-top: 0;
  color: red;
}

.note {
  font-style: italic;
  color: #555;
}

/* Table styling */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px; /* Adds spacing above the table */
}

.schedule-table th, .schedule-table td {
    border: 1px solid #ddd; /* Light grey border */
    padding: 8px; /* Padding inside table cells */
    text-align: left; /* Aligns text to the left */
}

.schedule-table th {
    background-color: #f4f4f4; /* Light grey background for header cells */
    font-weight: bold; /* Makes header text bold */
}

.schedule-table tr:nth-child(even) {
    background-color: #f9f9f9; /* Alternates row color for better readability */
}

.schedule-table tr:hover {
    background-color: #f1f1f1; /* Light grey background on hover */
}
.notice-footer {
  text-align: right; /* Aligns text to the right */
  font-size: 18px; /* Increases font size */
  margin-top: 20px; /* Adds some space above the text */
}

.notice-footer p {
  margin: 0; /* Removes default margin from paragraphs */
  font-weight: bold; /* Ensures text is bold */
  color: red;
}




/* Modal styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgba(0, 0, 0, 0.4); /* Black with opacity */
  overflow: hidden; /* Prevent scrolling of modal container */
}

/* Modal content */
.modal-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 5px; /* Rounded corners */
  width: 90%; /* Adjust width as needed */
  max-width: 900px; /* Max width of modal content */
  position: absolute; /* Use absolute positioning */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the modal */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Optional: add shadow */
  overflow: auto; /* Scroll inside modal if content is too large */
}

/* Center and style the modal header */
.modal-content h2 {
  text-align: center; /* Center the text */
  margin-bottom: 20px; /* Space below the heading */
  font-size: 24px; /* Adjust font size as needed */
}

/* Close button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute; /* Position it inside the modal content */
  top: 10px;
  right: 10px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Blinking notice */
.blinking-notice {
  animation: blink 3s step-start infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Notice container styling */
.notice-container {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.notice-header {
  text-align: center;
  margin-bottom: 20px;
}

.notice-header h1 {
  font-size: 24px;
  margin: 0;
}

.notice-body {
  font-size: 16px;
  line-height: 1.6;
}

.notice-body h2 {
  font-size: 20px;
  margin-top: 0;
  color: red;
}

.note {
  font-style: italic;
  color: #555;
}


