body {
    max-width: 1200px; /* Set maximum width for the body */
    margin: 0 auto; /* Center the body horizontally */
	font-family: 'Roboto', sans-serif; 
	font-size: clamp(1.3em, 1.5vw, 1.3em);  /* Responsive font size */	
	line-height: 1.25em;	
	
    font-synthesis: none;
    font-kerning: none;
    font-variant-ligatures: none;
    font-feature-settings: "kern" 0, "calt" 0, "liga" 0, "clig" 0, "dlig" 0, "hlig" 0;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricprecision;
    white-space: normal;
}

.main{
    background-image: url("images/background3.jpg");
	background-color: #ffffff;
    background-position: center; /* Center the image */
	background-size: 100%;
	background-repeat: repeat-y;
	background-attachment: fixed;
}

.title-text{
	padding: 20px 20px;
	font-size: 2.5em;
	line-height: 1em;	
}

.header-text{
	padding: 20px 20px;
	font-size: 1.25em;
	font-weight: bold;
	text-align: center;
	line-height: 1em;	
}

.header-text-tall{
	padding:20px 20px;
	font-size: 1.2em;
	font-weight: lighter;
	text-align: center;
	transform: scaleX(.9);	
	transform: scaleY(1.2);
	line-height: 1em;	
}

.header-image{
	background-color: #ffffff;
  	width: 100%;
	height: 100%;
	min-width: 100px;
  	max-width: 1200px; /* Set maximum width for the body */
	max-height: 386px;
  	height: auto; 
  	display: block; 
}

.header-image img{
  	width: 100%;
	min-width: 100px;
  	max-width: 1200px; /* Set maximum width for the body */
  	height: auto; 
}

/* ccarousel Container */
.ccarousel-container {
  position: relative;
  width: 100%; /* Take up full width of the page */
  max-width: 1200px; /* Set maximum width for the body */
  margin: 0 auto; 
  overflow: hidden; 
}

/* ccarousel Track (Holds the images) */
.ccarousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out; 
}

/* ccarousel Images */
.ccarousel-item {
  width: 100vw; /* Each image takes up the full viewport width */
  max-width: 1200px; /* Set maximum width for the body */
  flex-shrink: 0; 
}

.ccarousel-item img {
  width: 100%;
  max-width: 1200px; /* Set maximum width for the body */
  height: auto; 
  display: block; 
}

.ccarousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 15px 15px;
  border: none;
  cursor: pointer;
}

.ccarousel-button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.ccarousel-button.prev {
  left: 20px;
}

.ccarousel-button.next {
  right: 20px;
}

.box-white{
	background-color: #ffffff; 
	padding:20px 20px;
}

.box-purple{
	background-color: rgb(70, 75, 100); 
	padding:20px 20px;
}

.box-purple2{
	background-color: rgb(70, 75, 100); 
	color: rgb(239,218,218);
	display: grid;  
	grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
	justify-content: center; 
	align-items: center; 
	text-align: center;
	padding: 20px 20px;
}

.box-orange {
	background-color: rgb(250, 154, 0); 
	color: rgb(239,218,218);
	display: grid;  
	grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
	justify-content: center; 
	align-items: center; 
	text-align: center;
	padding: 20px 20px;
}

.box-orange-norm {
	background-color: rgb(250, 154, 0); 
	color: rgb(239,218,218);
	width: 100%;
	text-align: center;
}

.box-orange-dark {
	background-color: rgb(197,122,6);
	color: rgb(239,218,218);
	width: 100%;
	text-align: center;
}

.box-orange-dark img{
	width: 100%;
	min-width: 100px;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
	object-fit: contain;
	padding: 20px 20px;
}

.box-clear {
	color: rgb(239,218,218);
	width: 100%;
	text-align: center;
	margin: 10px 10px;
}

.box-cyan {
	background-color: rgb(45, 95, 130);
	color: rgb(239,218,218);
	width: 100%;
	text-align: center;
	margin: 10px 10px;
}

.colour-black{
	color: black;
}

.colour-gold{
	color: rgb(255, 190,57);
}

.colour-whiteish{
	color: #eeeeee;
}

.colour-darkgrey{
	color: #777777;
}

.colour-cyan{
	color: cyan;
}

.colour-purple{
	color: purple; 
}

.colour-green{
	color: green;
}

.colour-red{
	color: red;
}

.a-whiteish{
	color: #eeeeee;
}

.a-whiteish:link {
	color: #eeeeee;
	text-decoration: none;
}

.a-whiteish:visited {
	color: #eeeeee;
	text-decoration: none;
}

.a-whiteish:hover {
	color: rgb(255, 190,57);
}
.a-whiteish:active {
	color: #eeeeee;
	text-decoration: none;
}

.a-purple{
	color: purple;
	text-decoration: none;
}

.a-purple:link {
	color: purple;
	text-decoration: none;
}

.a-purple:visited {
	color: purple;
	text-decoration: none;
}

.a-purple:hover {
	color: green;
	text-decoration: underline;
}

.a-purple:active {
	color: purple;
	text-decoration: none;
}

.a-dummy{
	background-color: transparent;
	text-decoration: none;
	padding: 0px 0px; 
	color: inherit;
}	

.a-dummy:link {
	background-color: transparent;
	text-decoration: none;
	padding: 0px 0px; 
	color: inherit;
}

.a-dummy:visited {
	background-color: transparent;
	text-decoration: none;
	padding: 0px 0px; 
	color: inherit;
}

.a-dummy:hover {
	background-color: transparent;
	text-decoration: none;
	padding: 0px 0px; 
	color: inherit;
}

.a-dummy:active {
	background-color: transparent;
	text-decoration: none;
	padding: 0px 0px; 
	color: inherit;
}

.a-standard{
	background-color: transparent;
	text-decoration: none;
	padding: 0px 0px; 
	color: inherit;
}	

.a-standard:link {
	background-color: transparent;
	text-decoration: none;
	padding: 0px 0px; 
	color: inherit;
}

.a-standard:visited {
	background-color: transparent;
	text-decoration: none;
	padding: 0px 0px; 
	color: inherit;
}

.a-standard:hover {
	background-color: transparent;
	text-decoration: underline;
	padding: 0px 0px; 
	color: inherit;
}

.a-standard:active {
	background-color: transparent;
	text-decoration: none;
	padding: 0px 0px; 
	color: inherit;
}

.navbar {
    margin-bottom: 10px;
}

.image-gallery {
    display: flex; /* Arrange items in a row */
	justify-content: right;
	height: 90px;
	min-height: 10px;
    max-height: 80px;	
}

.image-container {
    position: relative; /* Necessary for absolute positioning of the hover image */
	width:100%;
	height:100%;
	min-height: 10px;
	max-width: 80px;
    max-height: 80px;
}

.main-image, .hover-image {
	width:100%;
	height:100%;
	min-width: 10px;
	max-width: 80px;
    max-height: 80px;
    object-fit: cover; /* Or contain, depending on your preference */
    position: absolute;
    top: 0;
    left: 0;
}

.hover-image {
    opacity: 0; /* Initially hide the hover image */
    transition: opacity 0.3s ease; /* Smooth transition for the opacity */
}

.image-container:hover .hover-image {
    opacity: 1; /* Show the hover image on hover */
}

/* Basic styling for the image gallery */
.lightbox-gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.lightbox-gallery-item {
  margin: 10px;
  overflow: hidden; /* Hide overflow for zoom effect */
  width: 300px; /* Adjust image size as needed */
  height: 250px;
}

.lightbox-gallery-item img {
  width: 300px; /* Adjust image size as needed */
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease; /* Smooth zoom transition */
}

.lightbox-gallery-item:hover img {
  transform: scale(1.2); /* Zoom on hover */
}

.lightbox-gallery-item-2 {
  margin: 10px;
  font-size: 1em;
  overflow: hidden; /* Hide overflow for zoom effect */
  align-items: center; /* Vertically center items */
  justify-content: center; /* Horizontally center items */
  text-align: center; /* Center the text within its container */
  position: relative; /* To position the caption absolutely */
  width: 400px; /* Adjust image size as needed */
  height: 266px;
}

.lightbox-gallery-item-2 img {
  width: 400px; /* Adjust image size as needed */
  height: 266px;
  font-size: 1em;
  object-fit: cover;
  transition: transform 0.3s ease; /* Smooth zoom transition */
}

.lightbox-gallery-item-2 p {
    position: absolute;
    top: 80%;
    left: 50%;
	width: 400px;
	font-size: 1em;
	font-weight: bold;
    transform: translate(-50%, -50%); /* Center the caption */
    color: white;
    background-color: rgba(0, 0, 0, 0.15);
    padding: 5px 10px;
}

.lightbox-gallery-item-2:hover img {
  transform: scale(1.2); /* Zoom on hover */
  font-size: 1em;
}

.lightbox-gallery-item-3 {
  margin: 10px;
  overflow: hidden; /* Hide overflow for zoom effect */
  width: calc(50% - 20px);
  height: auto;
  max-height: 200px;
}

.lightbox-gallery-item-3 img {
  min-width: 150px;
  max-width: 240px;
  width: 100%; /* Adjust image size as needed */
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease; /* Smooth zoom transition */
}

.lightbox-gallery-item-3:hover img {
  transform: scale(1.2); /* Zoom on hover */
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000; /* Ensure it's on top */
}

.lightbox-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  width: 100%;
  height: auto;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    gap: 10px;
    padding: 10px;
}

.grid-item {
    text-align: center;
}

.grid-item img {
	width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
	object-fit: contain;
}

.infoTitle {
	font-size: 1.1em;
	transform: scaleX(.9);	
	transform: scaleY(1.2);	
	font-weight: bold;
	color: #555599;
	padding: 10px;
}	
		
.infoText {
	font-size: 1em;
	line-height: 1.5em;
	text-align: justify;
	padding: 20px 20px;
}	

.simple-container {
    flex-direction: column;
    justify-content: flex-end;
	text-align: left;
}

.simple-image {
	width: 100%;
	min-width: 20vh;
	max-width: 50vh;
    padding: 20px; 
    object-fit: contain;
    float: right; /* Allow the text to wrap around the image */
}

p {
  flex: 1; 
}

.button {
  /* Basic button styling */
  background-color: #FFFFFF;
  border: 2px;
  border-style: solid;
  border-color: rgb(80,150,150);
  color: rgb(80,150,150);
  padding: 15px 32px;
  float: left;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: inherit;
  cursor: pointer; /* Indicate it's clickable */

  /* Optional hover effect */
  transition: background-color 0.3s; /* Smooth transition */
}

.button:hover {
  background-color: rgb(80,150,150);
  color: white;
}

.button-black {
  /* Basic button styling */
  background-color: #000000;
  border: 2px;
  border-style: solid;
  border-color: rgb(100,100,100);
  color: rgb(255,255,255);
  padding: 15px 32px;
  float: center;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: inherit;
  min-width: 100px;
  max-width: 360px;
  width: 100%;
  cursor: pointer; /* Indicate it's clickable */

  /* Optional hover effect */
  transition: background-color 0.3s; /* Smooth transition */
}

.button-black:hover {
  background-color: rgb(70, 75, 100); 
  color: white;
}

.expandable-text .hidden-text {
  max-height: 0; 
  overflow: hidden; 
  transition: max-height 0.5s ease-in-out; 
}

.expandable-text.expanded .hidden-text {
  max-height: 3000px; /* Or adjust to a value larger than your expected content height */
}

.ruler-box{
	display: flex; 
	align-items: 
	center; height: 54px;
}

.ruler-line{
	margin: 0 auto;
	width: 85%; 
	height: 3px; 
	background-color: rgb(80,150,150);
}

/* Basic styling for the form. You can customize this further */
form {
    width: 500px; /* Adjust width as needed */
    margin: 0 auto;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"], 
input[type="email"], 
input[type="tel"], 
select, 
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom:  10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

input[type="submit"] {
    background-color: #FFFFFF;
    border: 2px;
    border-style: solid;
    border-color: rgb(80,150,150);
    color: rgb(80,150,150);
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: inherit;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
  background-color: rgb(80,150,150);
  color: white;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid #ccc;
    padding: 10px 15px; /* Add some extra padding on the right for the arrow */
    font-size: inherit;
    color: #333;
    background-color: #ffffff;
	background-repeat: no-repeat;
 	background-position: right 10px center;
    background-image: url("images/down-arrow.png");
   
}

input{
	font-size: inherit;
}

textarea{
	font-size: inherit;
}

.footer {
	color: rgb(200, 200, 200);
	background-color: rgb(70, 75, 100); 
	padding: 20px 20px;
}

.footer-text {
	color: rgb(200, 200, 200);	
	text-align: right;
}

.backgroundPurple {
	background-color: rgb(70, 75, 100); 
	padding:20px 20px;
	color: #eeeeee;
}

.responsive-div {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.responsive-footer {
    display: flex;
    flex-direction: row;
    justify-content: justify; 
    align-items: center;
}

.responsive-footer span {
	width: 100%;
	text-align: right;
    font-size: 1.0em;        
}

.image-group-social {
    display: flex;
    flex-direction: row;       
}

.image-group-social img {
    width: 80px;                 
    height: auto;
    margin: 0 0px;   
	min-width: 40px;
	max-width: 80px;           
}

.image-group-logoMPH {
    display: flex;
    flex-direction: row;         
}

.image-group-logoMPH img {
    height: 109px;                
    width: auto;
    margin: 0 0px; 
	max-height: 109px;
	min-height: 50px;               
}

.left-group {
    margin-right: 10px;          
}

.right-group {
    margin-left: 10px;           
}


/* Navigation menu styling */
nav {
    display: flex;
    flex-direction: column;
    align-items: center;
	margin: 0px 0;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
  --bd-violet-bg: #712cf9;
  --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: #6528e0;
  --bs-btn-hover-border-color: #6528e0;
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: #5a23c8;
  --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
  z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}


/* Mobile Styling */
@media screen and (max-width: 1000px) { 
    .bd-placeholder-img-lg {
            font-size: 3.5rem;
        }

	.simple-container {
		display: flex;
	}
	
	.simple-image {
	    object-fit: contain;	
		float: left;	
	    align-items: center; 
		text-align: center;
	    display: block;
	}	
	
    ul li {
        display: block; 
    }

    ul ul {
        position: static; 
        width: 100%; 
    }
	
	.expandable-text.expanded .hidden-text {
		width: 100%;
	}
	
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #f8f8f8;
        align-items: center;
    }

    .menu li {
        margin: 20px 0;
    }

    .submenu {
        position: static;
        transform: none;
        border: none;
        text-align: center;
    }

    .menu-icon {
        display: flex;
    }

    .menu.menu-active {
        display: flex;
    }

    .imgHeader {
        min-width: 100%;
        max-width: 100%;
    }
	
    .responsive-div {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .responsive-footer {
        flex-direction: column;
        align-items: center; 
        text-align: center;    
    }

    .left-group, .right-group {
        flex-direction: row;
        margin: 10px 0;         
    }

    .left-group {
        order: 1;                
    }

    .responsive-footer span {
		text-align: center;
        order: 2;               
    }

    .right-group {
        order: 3;              
    }	
	
	.footer-text{
		text-align: center;
	}
}