/**
 * @file
 * Subtheme specific CSS.
 */
.region-top-header,
.site-header{
	width: 100%;
}
#main{
	padding-top: 2rem;
    padding-bottom: 2rem;
}
tbody, td, tfoot, th, thead, tr{
	background: transparent;
	vertical-align: top !important;
    border: inherit !important;
}
.h5, h5 {
    font-size: 1rem;
}
.node__content li{
	line-height: 20px;
	margin-bottom: 15px;
}
.region-sidebar-first  .nav-item a{
	padding: 5px 15px;
	text-wrap: auto;
	color: #0071b3;
}
.region-sidebar-first  .navbar-nav .dropdown-menu {
    position: relative;
    width: 100%;
    display: inline;
    z-index: 0;
    border: 0px;
}
.region-sidebar-first .nav-item{
    list-style-position: inside;
    padding: 15px 0 15px 0;
    margin: 0;
    border-bottom: 1px dashed #ddd;
}
.region-sidebar-first  .navbar-nav .dropdown-menu a{
	display: inline-block;
}
.field--name-field-media-image img{
	width: 100%;
}
.imagefield_slideshow-wrapper{
	border: 0px;
}

.imagefield_slideshow-wrapper #image-pager{
	max-width: 815px;
}

.imagefield_slideshow-wrapper #image-pager img {
    display: inline-block;
    width: auto !important;
}
.imagefield_slideshow-wrapper .cycle-overlay{
	text-align: center;
	font-weight: bold;
	color: #002a5c;
	padding: 10px;
}

.path-frontpage .cycle-slideshow .cycle-slide,
.path-frontpage .imagefield_slideshow-wrapper,
.path-frontpage  .field--type-image {
   /* min-width: 800px;*/
}
.navbar-toggler {
   
    color: #fff;
    background-color: #fff;
    border: #fff;
    border-radius: 0;
}
.prev-next {
  display: flex;
  justify-content: space-between;
  width: 100%; /* Ensure full width */
}

.prev-next a:first-child {
  float: left;
}

.prev-next a:last-child {
  float: right;
}
.node .field--type-image{
    margin-bottom: 1rem;
}
.align-left {
    padding: 10px;
}
.field--name-field-content img{
    max-width: 100%;
    height: auto !important;
}

.path-frontpage .field--name-field-content img{
    max-width: inherit !important;

}

.imagefield_slideshow-wrapper {
  overflow-y: auto;              /* allow scroll if content overflows */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;   /* align to top so Prev/Next always appear */
  padding-bottom: 2rem;          /* space for Prev/Next */
  box-sizing: border-box;
}


.cycle-slide {
  max-height: 85vh;              /* leave space for caption/nav */
  width: auto;
  height: auto;
  max-width: 90vw;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}


.prev-next {
  margin-top: 1rem;
  text-align: center;
}


@media (max-width: 1400px) { 
    .cycle-slide{
        max-height: 35vh;
        max-width: 40vw;
    }

}
@media (max-width: 768px) { /* Target mobile screens */
    .order-first {
        width: 100% !important;  /* Full width */
    }
    .node--type-photo-gallery .field--type-image{margin-left: 0rem !important;}
     .cycle-slide{
        max-height: 35vh;
        max-width: 100vw;
        width: 100%;
    }
}

.node--type-photo-gallery .field--type-image{margin-left: 5rem;}
.site-footer {
  background: #001228;
  margin-top: 3rem;
}
.path-frontpage .site-footer{margin-top: 0rem;}