/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

/*
694e33 dark brown
e2d3b9 light brown
*/

html {
  position: relative;
  min-height: 100%;
}

body {
  color: #5a5a5a;
  font-family: 'Ubuntu', sans-serif;
    display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
    flex: 1;
}

.footer {
  width: 100%;
  border-top: 1px solid #694e33;
  padding-top: 1px;
  margin-top: 20px;
}

/* Customise the navbar */

.navbar-collapse {
    z-index: 10;
}

.navbar-light {
	background-color: #fff;
  	height: 120px;
}

.navbar-light .navbar-brand {
	color: #5a5a5a;
	font-size: 160%;
	line-height: 1;
}

.navbar-brand > img {
    float:left;
    margin-right: 10px;
}

.site-name {
    margin-top: 10px;
}

.navbar-light .navbar-nav > .nav-item > a:focus,
.navbar-light .navbar-nav > .nav-item > a:hover 
{
	color: #694e33;
}

.navbar-light .navbar-nav > .active  a.nav-link, 
.navbar-light .navbar-nav > .nav-item .active > a.nav-link:focus, 
.navbar-light .navbar-nav > .nav-item .active > a.nav-link:hover {
    color: #694e33;
    
}

.navbar-light .navbar-nav .nav-link {
    background-color: #fff;
}

.nav-item {
	background-color: #fff;
	padding-left: 15px;
}

/* Mapping
-------------------------------------------------- */
#mapid { height: 300px; }


/* h tags
-------------------------------------------------- */

.h1, .h2, h1, h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

h1 {
	color: #694e33;
	font-size: 150%;
}

h2 {
	color: #694e33;
	font-size: 130%;
}

h3 {
	color: #694e33;
	font-size: 120%;
}

a {
	color: #694e33;
	text-decoration: none;
}
a:hover, a:focus {
	text-decoration: none;
	color: #694e33;
}

div.content-page a, div.global-message a {
	color: #694e33;
	text-decoration: underline;
}

#mapid a {
	text-decoration: none;
}

div.banner {
	width: 100%;
	background-image: url('/static/design/images/banner03a.jpg');
	background-position: center;
	height: 50px;
	border-top: 1px solid #694e33;
	border-bottom: 1px solid #694e33;
}

div.banner-stripe {
	width: 100%;
	margin: 1px 0px;
	border-bottom: 1px solid #694e33;
	height: 3px;
}

.clearfix {
	clear:both; 
	float: none;
	content: "";
  	display: table;
}

h1.strapline {
	text-align: center;
}

div.home-text {
    margin-bottom: 40px;
    text-align: center;
}

h2 > a, p > a {
	text-decoration: underline;
}

div.centered {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 500px) {
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 500px) {
  .container, .container-fluid {
    max-width: 1100px;
  }
}

@media (max-width: 500px) {
    .project-row {
        flex-direction: column;
        align-items: center;
    }

    .project-row-image {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
        justify-content: center;
    }

    .project-row-image img {
        max-width: 100%;

    }

    .project-details {
        width: 100%;
        text-align: center;
    }
}

.breadcrumb {
	padding-left: 0;
	color: #694e33;
	background-color: #fff;
}

.breadcrumb-item > a:hover,
.breadcrumb-item > a:focus,
.list-unstyled > li > a:hover,
.list-unstyled > li > a:focus {
	text-decoration: underline;
}

.footer-row {
	margin-top: 20px;
}

/* page specific
*/

p.indent {
	margin-left: 40px;
}

/* Pagination
*/
.page-link {
    color: #694e33;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.page-link:hover {
    color: #694e33;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #694e33;
    border-color: #694e33;
}




 /* Admin actions
 */

.admin-actions {
    float: right;
 }

.btn-primary {
    background-color: #694e33;
    border-color: #694e33;
 }

.btn-primary:hover {
    background-color: #694e33;
    border-color: #694e33;
 }

.container-md {
    max-width: 700px;

 }
.project-page {
    margin-top: 2rem;
 }

.project-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
}

.project-row-image {
    margin-right: 20px; /* Add spacing between image and text */
    flex-shrink: 0; /* Prevent image from shrinking */
    display: flex; /* Enable flexbox on the image container */
    justify-content: center; /* Center the image horizontally */
}

.project-row-image img {
    max-width: 250px; /* Set max width for the image */
    height: auto;
    object-fit: cover;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    padding: 0;
}

.project-details {
    flex-grow: 1; /* Allow text to take up remaining space */
}

.project-details h5 {
    margin-bottom: 5px; /* Adjust spacing between title and date */
}

.project-details p.project-date {
    margin-bottom: 10px; /* Adjust spacing between date and body */
}

.project-image-thumbnail-container {
    text-align: center;
    padding: 10px;
}

.project-image-thumbnail img {
    min-width: 150px;
    max-width: 150px;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    padding: 0;
    margin-bottom: 5px;
}

.thumbnail-caption {
    margin-top: 5px;
    font-size: 0.9em;
    color: #555;
}


.lightbox.row.col-auto > .col {
    padding-left: 0;
    padding-right: 0;
    margin-left: 20px; /* Override bootstrap column margins */
    margin-right: 20px; /* Override bootstrap column margins */
    flex: 0 0 auto; /* Stop col from taking up extra space */
    width: auto; /* Allow col to shrink to content width */
}



.lightbox.row.col-auto {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    }

.project-details {
  max-width: 500px;
}

.project-details h5 {
  margin-bottom: 0.5rem;
}

.project-date {
  color: #6c757d;
  font-size: 0.9rem;
}

div.lightbox {
    margin-top: 20px;
}