:root {
    --bulma-link-text: #4074a3!important;    
}

h1 {
  font-size: 2.2rem !important;
}

h2 {
  font-size: 1.8rem !important;
}

h3 {
  font-size: 1.5rem !important;
}

h4 {
  font-size: 1.2rem !important;
}

h5 {
    font-size: 1rem !important;
}

html {
    color: black;
    background-color: whitesmoke;
}
body {
    background-color: whitesmoke;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.nav-content {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    margin-top:20px;
    width: 100%;
    margin-bottom: 20px;
}

.site-logo {
    padding: 0;
    display: block;
    max-width: 700px;
}

.main-content {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 40px;
    flex: 1;
}

.content {
    padding: 40px;
    padding-top: 40px;

}

@media (max-width: 768px) {
    .content {
        padding: 20px;
    }
}

.form-page-content {
    padding-bottom:40px;
    padding-top:20px;

}

.home-image-box {
    border-radius: 10px;
    object-fit: cover;
}

.post-title {
    font-weight: 500;
    font-size: 18px;
    padding:5px;
}

@keyframes get-faded {
    from {opacity:1;}
    to {opacity: 0.6}
  }

.cell{
    opacity:1;
}

.cell:hover {
    cursor: pointer;
    opacity: 0.6;
    animation-name: get-faded;
    animation-duration: 0.7s;
}

.blog-post {
    border: 1px solid darkgray;
    border-radius: 10px;
}

.card {
    box-shadow:none;
}

.box {
    box-shadow: none;
}

.site-logo-container-boxed {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-width: 100%;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 20px;
}

.site-logo-container-main-boxed {
    min-width: 300px;
}

.site-logo-container-main-boxed a img {
    margin-left: auto;
}

.site-logo-container-secondary-boxed {
    max-width: fit-content;
    flex-basis: 25%;
}

.site-logo-container-secondary-boxed a img {
    max-width: 80%;
    margin-right: auto;
    min-width: 200px;
}

@media (max-width: 1023px) {
    
}

.nav-menu-item {
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    color: #333;
    padding: 5px 10px;
    border-radius: 5px;
}

.dropdown-nav-menu-item {
    color: #333;
}

.nav-menu-item:hover {
    background: #f0f0f0;
    color: var(--bulma-link-text)!important;
}

.is-active {
    background: #f0f0f0!important;
    color: var(--bulma-link-text)!important;
}

.is-active:hover {
    background: #f0f0f0!important;
    color: var(--bulma-link-text)!important;
}

.margin-class {
    padding-left: 10px!important;
    padding-right: 10px!important;
}

.file-element {
    width: 100%;
}

.file-element a {
    margin-top:10px;
}

.navbar-search {
    max-width: 1180px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: -40px;
    background-color: #407aa1 !important;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    z-index: 0;
    margin-bottom:20px;
}

.navbar-search i {
    color: white;
    font-size: 20px;
}

.navbar-search input {
    width: 100%;
    background-color: #407aa1 !important;
    color: white;
    border: none;
}

.navbar-search input:focus {
    outline: whitesmoke;
    box-shadow: none;
}

.navbar-search input::placeholder {
    color: white;
}

.navbar-search-toggle-button {
    z-index: 1000;
    cursor: pointer;
}

.navbar-search--closed input {
    display: none;
}

.navbar-search--closed {
    max-height: 40px !important;
    border-start-start-radius: 0 !important;
    border-start-end-radius: 0 !important;
}

#search-toggle-text {
    color: white;
    font-weight: 600;
    font-size: 16px;
    vertical-align: top;
}

#search-button-submit {
    background-color: #407aa1 !important;
    color: white !important;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    display: none;
}

.search-result {
    margin-top: 20px;
}

.search-result-date {
    font-size: 12px;
    color: #666;
}

.buttons-group a {
    text-wrap: auto;
}

/* Mobile dropdown menu fixes */
@media screen and (max-width: 1023px) {
    .mobile-dropdown .mobile-dropdown-content {
        display: none !important;
    }
    
    .mobile-dropdown.is-active .mobile-dropdown-content {
        display: block !important;
    }
    
    .mobile-dropdown:hover .mobile-dropdown-content {
        display: none !important;
    }
    
    .mobile-dropdown.is-active:hover .mobile-dropdown-content {
        display: block !important;
    }
}

.card-image {
    max-height: 100%; 
    width: auto; 
    object-fit: contain;
}

.card-figure {
    height: 100%;
}

.custom-message-content {
    align-items: stretch;
}

.video-block-div {
    margin-bottom: 2rem;
}

.video-block-controls {
    width: 100%;
}

.form-home-button {
    margin-top: 20px;
}

.form-page-box {
    box-shadow: none;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
}

.form-page-button-container {
    margin-top: 20px;
}

.breadcrumb-element {
   margin-bottom: 1rem;
}

.breadcrumb > ul {
    overflow:auto;
}

.breadcrumb-text {
    text-wrap:auto;
}

.header-logo-image {
    margin-left: auto;
}

.navbar-main {
    padding: 5px;
}

.navbar-main-menu {
    margin-left:auto;
    margin-right:auto
}

.custom-box > h4 {
    margin: 0px !important;
    font-size: 1.25rem;
    font-weight: 500;
}

.custom-box {
    margin-bottom:10px !important;
    width: 100%;

}

.title-center > h4 {
    text-align: center;
}

.box-green {
    background-color: #e0f7e0 !important;
}

.box-green > h4 {
    color: #2e7d32 !important;
}

.box-green .custom-box-content > h4 {
    color: #2e7d32 !important;
}

.box-blue {
    background-color: #e0f2f7 !important;
}

.box-blue > h4 {
    color: #1e88e5 !important;
}

.box-blue .custom-box-content > h4 {
    color: #1e88e5 !important;
}

.box-red {
    background-color: #fbe9e9 !important;
}

.box-red > h4 {
    color: #c62828 !important;
}

.box-red .custom-box-content > h4 {
    color: #c62828 !important;
}

.box-yellow {
    background-color: #fff9c4 !important;
}

.box-yellow > h4 {
    color: #f57f17 !important;
}

.box-yellow .custom-box-content > h4 {
    color: #f57f17 !important;
}

.box-white {
    background-color: #ffffff !important;
}

.box-white > h4 {
    color: #000000 !important;
}

.box-white .custom-box-content > h4 {
    color: #000000 !important;
}

.box-gray {
    background-color: #f5f5f5 !important;
}

.box-gray .custom-box-content > h4 {
    color: #757575 !important;
}

.box-gray > h4 {
    color: #757575 !important;
}

.rich-clickable-elements-list--bordered {
    border: 2px solid rgb(231, 231, 231);
    border-radius: 10px;
    padding:10px;
}

.rich-clickable-elements-list {
    padding: 20px;
}

.rich-clickable-elements-list div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.custom-box-with-icon {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px;
}

.custom-box-with-icon i {
    font-size: 20px !important;
}

.custom-box-content {
    flex-grow: 1;
}

.custom-box-content > h4 {
    margin-bottom: 0px !important;
}

.full-size-custom {
    width: 100%;
    max-width: 100%;
    height: 100%;
}

.image-slider-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  max-height: 600px; /* Adjust height as needed */
  border-radius: 10px;

}

.image-slider {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.slide {
  flex: 0 0 100%;
  max-width: 100%;
}

.slide img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 100%;
}

/* Slider Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 50%;
  z-index: 10;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  user-select: none;
}

.slider-arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.slider-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-arrow.prev {
  left: 20px;
}

.slider-arrow.next {
  right: 20px;
}

/* Hide arrows on very small screens */
@media (max-width: 480px) {
  .slider-arrow {
    padding: 12px 15px;
    font-size: 16px;
  }
  
  .slider-arrow.prev {
    left: 10px;
  }
  
  .slider-arrow.next {
    right: 10px;
  }
}

/* Optional: Add slider indicators/dots */
.slider-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-dot.active {
  background-color: rgba(255, 255, 255, 1);
}

.slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Modern Child Pages List */
.child-pages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.child-page-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
  color: #374151;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.child-page-item:hover {
  background: #f9fafb;
  border-color: var(--bulma-link-text);
  color: var(--bulma-link-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.child-page-title {
  font-size: 16px;
  font-weight: 500;
  flex-grow: 1;
}

.child-page-arrow {
  color: #9ca3af;
  font-size: 14px;
  transition: all 0.2s ease;
}

.child-page-item:hover .child-page-arrow {
  color: var(--bulma-link-text);
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .child-page-item {
    padding: 14px 16px;
  }
  
  .child-page-title {
    font-size: 15px;
  }
}

.dynamic-content-section {
    display: none;
}

.dynamic-content-header {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: start!important;
    gap: 20px;
}

.white .dynamic-content-list{
    border-radius: 10px;
}

.personnel-block {
    border: 1px solid rgb(216, 216, 216);
    padding:20px;
    border-radius: 5px;
}

.personnel-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.personnel-name span i {
    color: var(--bulma-link-text)!important;
}

.page-header {
    border: 3px solid #407aa17c ;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.map-container iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

.map-container .place-card {
    display: none;
}

.global-message {
    display:flex;
    flex-direction: row;
    background-color: #407aa1 ;
    color: #ffffff !important;
    padding: 5px 20px;
    align-items: center;
}

.global-message a {
    color: #ffffff !important;
    text-decoration: underline;
}

.global-message a:hover {
    color: #e0e0e0 !important;
}

.global-message-close {
    color: #ffffff !important;
    font-size: 20px;
    cursor: pointer;
    margin-left: 20px;
}

.logo-svb-login {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}