
/* Mobile Hide and Show */
.mobileShow {display:none;}
@media screen and (max-width: 900px) {
.mobileShow {display:block;}
}

.mobileHide {display: flex; justify-content: center;}
@media screen and (max-width: 900px) {
.mobileHide {display: none;}
}
/* ADA */
.screenreader-text {position:absolute; left:-999px; width:1px; height:1px; top:auto;}
.screenreader-text:focus {color:black; display:inline-block; height:auto; width:auto; position:static; margin:auto;}

/* Fading animation */
.fade {
animation-name: fade;
animation-duration: 1.5s;
}

@keyframes fade {
from {opacity: .4} 
to {opacity: 1}
}

* {
box-sizing: border-box;
border-radius: 4px;
}

html, body {
margin: 0;
padding: 0;
}

html {
font-family: Open Sans, sans-serif; 
background-color: #2d2d2d; 
color: white;
}

/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; 
top: 0;
left: 0;
z-index: 1000; 
width: 100%; 
height: 100%; 
max-height: 100%; 
overflow: hidden; 
background-color: rgb(0,0,0); 
}

/* Modal Content (image) */
.modal-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 5%; 
max-width: 100%; 
height: 100%; 
max-height: 100%; 
display: flex;
justify-content: center;
align-items: center;
}

/* Caption of Modal Image */
#caption {
margin: auto;
display: block;
width: 100%;
text-align: center;
color: #ccc;
padding: 2rem 0 0 0;
height: 2rem;
font-size: 2rem;
}

/* The Close Button */
.close {
position: absolute;
top: 15px;
right: 35px;
color: white;
font-size: 40px;
font-weight: bold;
transition: 0.3s;
background: red;
padding: 0 1rem;
}

.close:hover,
.close:focus {
color: red;
background: orange;
text-decoration: none;
cursor: pointer;
}

#colorOptions {
position: absolute;
top: 180px;
right: 30px;
transform: translateY(-50%);
display: flex;
flex-direction: column;
align-items: center;
gap: .5rem;
background: #336699;
padding: 1rem;
border-radius: 10px;

}

.colorBox {
width: 2rem;/* Adjust size as needed */
height: 2rem; /* Adjust size as needed */
border-radius: 5px; /* Optional for rounded corners */
}

html {
--box-bg1: #292929;
--box-bg2: white;
--box-bg3: #7F8C8D;
--box-bg4: red;
}

#Box_1 { background-color: var(--box-bg1); }
#Box_2 { background-color: var(--box-bg2); }
#Box_3 { background-color: var(--box-bg3); }
#Box_4 { background-color: var(--box-bg4); }

ul {
list-style-type: none;
margin: 2rem 0 .5rem 0;
text-align: left;
/*
padding: 0 .5rem 0 2rem;
margin-bottom: 1.5rem;
*/
}

ul li {
margin-bottom: .5rem;
}

p {
display: flex;
justify-content: left;
text-align:justify;
}

.data-center {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
width: 100%;
padding: 0 1rem;
box-sizing: border-box;
}

.thumbnail-container {
display: flex;
align-items: center;
justify-content: flex-start;
flex-wrap: wrap;
max-width: 100%;
width: 100%;
margin: 4.5rem auto 2rem auto;
flex-direction: row;
}
.tile {
display: flex;
flex-direction: column;
align-items: center; 
text-align: center;
overflow: hidden;
min-height: calc(25vh + 4rem); 
width: calc(20%);
max-width: calc(20%);
}

.image-wrapper {
width: calc(100% - 20px);
max-width: calc(100% - 20px);
height: 25vh;
margin: 1rem 1rem 0 1rem;
padding: 1rem;
display: flex;
align-items: center; /* Keeps content vertically centered in each .image-wrapper */
justify-content: center; /* Changed from flex-start to center to horizontally center the content within each .image-wrapper */
overflow: hidden; /* Hide any overflow */
box-shadow: #00A9E0 0 0 10px 2px;
text-align: center;
flex-direction: column;
box-sizing: border-box;
}

.image-container {
display: flex; /* Utilize flexbox for centering */
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
width: 100%!important; /* Take full width of the parent */
height: 100%!important; /* Take full height of the parent */
position: relative; /* This makes it a reference for absolutely positioned inner elements */
padding: .5rem;
}

.image-container img:hover {
transform: scale(1.1);
}

.image-wrapper:hover {
box-shadow: #B9DCD2 0 0 10px 2px;
background-color: #00A9E0;
}

.image-wrapper:active {
box-shadow: #F39C12 0 0 10px 2px;
background-color: #C0392B;
}

.thumb {
opacity: 0.85;
box-shadow: transparent 0 0 4px 4px;
cursor: pointer;
max-width: 100%!important; /* Max width to the container width */
max-height: 100%!important; /* Max height to the container height */
object-fit: contain; /* Maintain aspect ratio without cropping */
}

.thumbnail-title {
font-size: 1.2rem;
padding: .5rem 0 .5rem 0;
height: 4rem;
max-height: 4rem;
display: flex; /* Utilize flexbox for centering */
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
box-sizing: border-box;
max-width: 100%;
width: 100%;
}

.thumbnail-icon {
position: absolute;
bottom: 5px; /* Adjust as necessary */
right: 5px; /* Adjust as necessary */
width: 1.4rem; /* Icon size */
height: 1.4rem; /* Icon size */
z-index: 1; /* Ensure it's above other content */
background-color: #336699;
padding: .2rem;
border: 1px solid #B9DCD2;
}


.pagination {
display: flex;
flex-wrap: wrap;
justify-content: left;
align-items: center;
width: fit-content;
margin: 0;
gap: .5rem 0;
position: fixed;
top: 1rem;
left: 1.7rem;
border: 1px solid #ccc;
box-shadow: #fff 0 0 5px 2px;
border-radius: 4px;
background-color: rgba(0,133,62,.5);
padding: .25rem .5rem;
z-index: 998;
}

.page-link {
margin: 0 5px;
padding: 5px;
color: white;
background-color: #2d2c2c;
border: 1px solid #ccc;
border-radius: 4px;
text-decoration-color: transparent !important;
}

a.page-link:link,
a.page-link:visited,
a.page-link:hover,
a.page-link:active {
text-decoration-color: transparent !important;
}

button.page-link:hover {
background-color: #B9DCD2 !important;
color: black !important;
}

button.page-link.active {
background-color: #00853e;
text-decoration-color: transparent !important;
color: white;
}

.spacer {
display: inline-block; /* Or flex, depending on your layout */
width: 30px; /* Match your button width */
height: 30px; /* Match your button height */
background: transparent; /* Optionally make it transparent or match the background */
}

#prevPage,
#nextPage {
background-color: #00853e;
color: white;
font-size: 2.35rem;
border: 0;
border-radius: 4px;
padding: .0 0 0 0!important;
margin: 0!important;
line-height: 1;
}

#prevPage:active,
#nextPage:active {
background-color: #C0392B;
color: #ffa500;
}

#prevPage:hover,
#nextPage:hover {
background-color: #B9DCD2;
color: black;
}

@media screen and (max-width: 1400px) {
.tile {
max-width: calc(33%);
width: calc(33%);
}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
.text {font-size: 11px}
}

@media screen and (max-width: 900px) {
.pagination {
justify-content: center;
}

#thumbnails {
justify-content: center;
}

.tile {
max-width: calc(50%);
width: calc(50%);
}
}
body, html {
width: 100%;
height: auto;
overflow: visible;
}

.slideshow-container {
height: 25rem;
padding: 3.5rem;
}

.page-container {
max-width:100%;
width: 100%;
margin-top: 1.5rem;
}

.flex-container {
flex-direction: column;
width: 100%!important;
gap: 1.5rem 0;
}

#thumbnails {
/* display: none!important; */
}

.flex-item h1 {
width: 100%;
}

 .flex-item-50 {
width: 95%!important;
margin: 0 auto;
padding: 0;
height: 60%;
}
.icon-container {
margin: 1rem 0 2rem 0;
}
.icon-container .icon {
width: 3rem;
height: 3rem;
padding: .5rem;
background-color: #336699;
box-shadow: transparent 0 0 2px 2px;
margin: 0 .5rem; 
}
.kiosktitle-container {
width: 90%;
text-align: center;
margin:auto;
}
ul {
margin-bottom: 1.5rem;
}
}
