/****************
*** DEFAULTS
*****************/
* { margin: 0px; padding: 0px; box-sizing: border-box;}

html { height: 100%; }
body {
  position: relative;
  margin: 0;
  padding-bottom: 6rem;
  min-height: 100%;
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

.map {
	height: 400px;
    width: 100%;
	
}

.post_image {
  max-width: 300px; /* Set maximum width */
  max-height: 300px; /* Set maximum height */
  /* For example, to ensure the image maintains its aspect ratio, you can use: */
  width: auto;
  height: auto;
}


/* SINGLE IMAGE */
.single_image {
  max-width: 1100px; /* Set maximum width */
  max-height: 1100px; /* Set maximum height */
  /* For example, to ensure the image maintains its aspect ratio, you can use: */
  width: auto;
  height: auto;

}

.photo-feedback-buttons {
  margin-top: 20px; /* Adjust spacing as needed */
}

.photo-feedback-buttons button {
  padding: 10px 20px;
  margin-right: 10px; /* Adjust spacing between buttons */
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.photo-feedback-buttons button:hover {
  background-color: #45a049; /* Darker green on hover */
}

/* FAQ */
 .accordion { 
  padding: 10px; 
  margin-top: 10px; 
  margin-bottom: 10px; 
  background: #5F7D8B;
  border-radius: 10px; 
} 
.accordion__question p { 
  margin: 5px; 
  padding: 0; 
  font-family: Verdana; 
  font-size: 20px; 
} 
.accordion__answer p { 
  margin: 5px; 
  padding: 10px; 
  font-size: large; 
  font-family: Verdana, Geneva, Tahoma, sans-serif; 
  color: rgb(255, 255, 255); 
  background: #7B99A5; 
  border-radius: 10px; 
} 
.accordion:hover { 
  cursor: pointer; 
} 
.accordion__answer { 
  display: none; 
} 
.accordion.active .accordion__answer { 
  display: block; 
}




/* HEADINGS DEFAULT */
h1, h2, h3, h4, h5, h6 { color: #444; font-family: 'Averia Serif Libre', cursive; }
a { text-decoration: none; }
ul, ol { margin-left: 40px; }
hr { margin: 10px 0px; opacity: .25; }
p {margin-bottom: 20px;}

/* FORM DEFAULTS */
form h2 {
	margin: 25px auto;
	text-align: center;
	font-family: 'Averia Serif Libre', cursive;
}
form input {
	width: 100%;
	display: block;
	padding: 13px 13px;
	font-size: 1em;
	margin: 5px auto 10px;
	border-radius: 3px;
	box-sizing : border-box;
	background: transparent;
	border: 1px solid #3E606F;
}
form input:focus {
	outline: none;
}

.container {
	max-width: 100%;
    margin-bottom: 40 px;
    padding: 60px;
}
/* NAVBAR */
.navbar {
	margin: 0 auto;
    background-color: #3E606F;
    border-radius: 0;
height: auto;
	
}
.navbar ul {
    list-style-type: none;
    float: right;
}
.navbar ul li {
    float: left;
    font-family: 'Noto Serif', serif;
}
.navbar ul li a {
    display: block;
    color: white;
    text-align: center;
    padding: 20px 28px;
    text-decoration: none;
}
.navbar ul li a:hover {
	color: #B9E6F2;
    background-color: #334F5C;
}

/* LOGO */
.navbar .logo_div {
	float: left; 
	padding-top: 5px;
	padding-left: 40px;
}
.navbar .logo_div h1 {
	color: #B9E6F2;
	font-size: 3em;
	letter-spacing: 5px;
	font-weight: 100;
	font-family: 'Tangerine', cursive;
}

/* FOOTER */
.footer {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	color: white;
	background-color: #73707D;
	text-align: center;
	width: 100%;
	margin: 20px auto 0px;
	padding: 20px 0px;
  
  
}




/* BANNER: Welcome message; */
.banner {
	margin: 5px auto;
	min-height: 350px;
	color: white;
	border-radius: 5px;
	background-image: url('../siteimages/shark.jpg');
	background-size: 100% 100%;
}
.banner .welcome_msg {
	width: 40%;
	float: left;
	padding: 20px;
}
.banner .welcome_msg h1 {
	color: #B9E6F2;
	margin: 10px 0px;
	font-size: 2.4em;
	font-family: 'Averia Serif Libre', cursive;
}
.banner .welcome_msg p {
	color: white;
	font-size: 1.5em;
	line-height: 1.8em;
    font-family: 'Noto Serif', serif;
}
.banner .welcome_msg p span {
	font-size: .81em; 
	color: #3E606F;
}
.banner .welcome_msg a {
	width: 30%;
	margin: 20px 0px;
	padding: 12px 15px;
	font-size: 1.2em;
	text-decoration: none;
}
.banner .welcome_msg a:hover {
	background: #374447;
}

.banner .welcome_msg a.btn.link {
	width: 50%;
	margin: 20px 0px;
	padding: 12px 15px;
	font-size: 1.2em;
	text-decoration: none;
}
.banner .welcome_msg a.btn.link:hover {
	background: #374447;
}





/* CONTENT */
.content {
	border-radius: 5px;
	min-height: 400px;
}
.content:after {
	content: "";
	display: block;
	clear: both;
}
.content .content-title {
	margin: 10px 0px;
	color: #374447;
	font-family: 'Averia Serif Libre', cursive;
}
.content .post {
	width: 335px;
	margin: 9px;
	min-height: 320px;
	float: left;
	border-radius: 2px;
	border: 1px solid #b3b3b3;
	position: relative;
}
.content .post .category {
	margin-top: 0px;
	padding: 3px 8px;
	color: #374447;
	background: white;
	display: inline-block;
	border-radius: 2px;
	border: 1px solid #374447;
	box-shadow: 3px 2px 2px;
	position: absolute;
	left: 5px; top: 5px;
	z-index: 3;
}
.content .post .category:hover {
	box-shadow: 3px 2px 2px;
	color: white;
	background: #374447;
	transition: .4s;
	opacity: 1;
}
.content .post .post_image {
	height: 260px;
	width: 100%;
	background-size: 100%;
}
.content .post .post_image {
	width: 100%;
	height: 260px;
}
.content .post .post_info {
	height: 100%;
	padding: 0px 5px;
	font-weight: 200;
    font-family: 'Noto Serif', serif;
}
.content .post .post_info {
	color: #222;
}
.content .post .post_info span {
	color: #A6A6A6;
	font-style: italic;
}
.content .post .post_info span.read_more {
	position: absolute;
	right: 5px; bottom: 5px;
}


/* * * * * * * * *
* ABOUT US PAGE 
* * * * * * * * */
/* Target the about_us class */
.about_us {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 800px;
  padding: 20px;
 text-align: justify; /* Justify the text */
}

/* Style the heading elements */
.about_us h3 {
  color: #333;
  margin-top: 20px;
}

/* Style paragraphs */
.about_us p {
  color: #555;
}

/* Style strong tags */
.about_us strong {
  color: #000;
  font-weight: bold;
}

/* Style the mail link */
.about_us a {
  color: #0066cc;
  text-decoration: none;
}

.about_us a:hover {
  text-decoration: underline;
}

/* * * * * * * * *
* SINGLE PAGE 
* * * * * * * * */
.content .post-wrapper {
	width: 100%;
	float: left;
	min-height: 250px;
}
.full-post-div {
	min-height: 300px;
	padding: 20px;
	border: 1px solid #e4e1e1;
	border-radius: 2px;
}
.full-post-div h2.post-title {
	margin: 10px auto 20px;
	text-align: center;
}
.post-body-div {
	font-family: 'Noto Serif', serif;
	font-size: 1.2em;
}
.post-body-div p {
	margin:20px 0px;
}
.post-sidebar {
	width: 24%;
	float: right;
	min-height: 400px;
}
.content .post-comments {
	margin-top: 25px;
	border-radius: 2px;
	border-top: 1px solid #e4e1e1;
	padding: 10px;
}
.post-sidebar .card {
	width: 100%;
	margin: 10px auto;
	border: 1px solid #e4e1e1;
	border-radius: 10px 10px 0px 0px;
}


.post-sidebar .card .card-header {
	padding: 10px;
	text-align: center;
	border-radius: 3px 3px 0px 0px;
	background: #3E606F;
}
.post-sidebar .card .card-header h2 {
	color: white;
}
.post-sidebar .card .card-content a {
	display: block;
	box-sizing: border-box;
	padding: 8px 10px;
	border-bottom: 1px solid #e4e1e1;
	color: #444;
}
.post-sidebar .card .card-content a:hover {
	padding-left: 20px;
	background: #F9F9F9;
	transition: 0.1s;
}

/* For desktop devices (e.g., screens wider than 768px), set a larger image size */
.post_image {
  max-width: 100%; /* The image will not exceed its original width */
  height: auto; /* Maintain the aspect ratio */
}

/* NOTIFICATION MESSAGES */
.message {
    width: 100%;
    margin: 0px auto;
    padding: 10px 0px;
    border-radius: 5px;
    text-align: center;
}

.error {
    color: #a94442;
    background: #f2dede;
    border: 1px solid #a94442;
    margin-bottom: 20px;
}

.success {
    color: #3c763d;
    background: #dff0d8;
    border: 1px solid #3c763d;
    margin-bottom: 20px;
}

.validation_errors p {
    text-align: left;
    margin-left: 10px;
}
.logged_in_info {
    text-align: right;
    padding: 10px;
}



/* Index page */

.content {
    max-width: 100%;
    margin: 0 auto;
}
.content h2 {
    margin: 0;
    padding: 25px 0;
    font-size: 22px;
    border-bottom: 1px solid #ebebeb;
    color: #666666;
}

.gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
  }

.gallery_1 {
    display: inline-block;
    flex-wrap: wrap;
	
}

.post {
	width: 30%; /* Adjust this as per your design */
	height: 320px;
	margin-bottom: 20px;
	border: 1px solid #ddd;
	padding: 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	
  }

  .post img {
	width:100%;
	height: 300px;
  }

.info {
	display: flex;
	flex-direction: column; /* Make items stack vertically */
	font-size: 14px;
	color: #555;
	margin-top: 20px;
	
  }
 
  .info p {
	margin: 0;
    padding: 0;
  }
  
  
  .info span {
	margin-right: 10px;
  }
  
  .read_more {
	padding: 5px 10px;
	background-color: #3498db;
	color: #fff;
	border-radius: 3px;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 1px;
	transition: all 0.3s ease-in-out;
  }
  
  .post_info h3 {
	font-size: 1.6rem;
	margin-top: 10px;
	margin-bottom: 0;
  }
  .read_more:hover {
	background-color: #2980b9;
  }
  
.gallery a {
    display: block;
    text-decoration: none;
}
 

.container_info {
	width: 100%;
	margin: 5px auto 50px;
	padding: 10px 0px 50px;
}

/* my account user info */

.profile div {
    background-color: #ffffff; /* Background color */
    padding: 20px; /* Padding around the content */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Box shadow */
    margin-top: 10px; /* Margin at the top */
    margin-bottom: 10px; /* Margin at the bottom */
	margin-left: 20%;
}

.profile h2 {
	margin-left: 20%;
}

.form_info {

	margin-left: 20%;

}
.container content .container .profile .info {
	margin-top: 20px;
	
}

.container content .container .profile .info p {
	margin: 10px 0;
}
.profile-pic {
	width: 200px; /* set the width to 100 pixels */
	height: 200px; /* set the height to 100 pixels */
	margin: 20px auto 20px 0;
}

.avatar {

	width: 230px;

}
.profile-avatar-pic {
	width: 200px; /* set the width to 100 pixels */
	height: 200px; /* set the height to 100 pixels */
	margin: 20px auto 20px 0;
}

/* for profile image upload*/
.profile-image-upload-form {
    width: 300px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.profile-image-upload input[type="file"] {
	margin-bottom: 10px;
}

.profile-image-upload label {
	display: block;
    margin-bottom: 10px;
}

.profile-image-upload input[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
	width: 160px;
}

.profile-image-upload input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Define the CSS class for the current location marker */
.current-location-marker {
    background-color: #f00;
    border: 2px solid #000;
    border-radius: 50%;
    height: 20px;
    width: 20px;
}

/* to make the image zoom out when hovering over it*/
 .post_image {
    transition: transform 0.3s ease-in-out;
}

.gallery .post_image:hover {
    transform: scale(0.95);
}

/*For the form in manage_account*/

/* Style the form container */
.profile-form {
	max-width: 650px;
	margin: 0 auto;
	padding: 20px;
	background-color: #f7f7f7;
	border: 1px solid #ccc;
	border-radius: 5px;
	margin-top: 20px;
}

/* Style form labels */
.profile-form label {
	display: block;
	margin-bottom: 10px;
	font-weight: bold;
}

/* Style form input fields */
.profile-form input[type="text"],
.profile-form input[type="email"],
.profile-form input[type="tel"] {
	width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 16px;
	margin-left: 10px;
}

/* Style the "Save Changes" button */
#submit-button {
    /* Your custom styles for the submit button here */
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 18px;
	margin-left: 40%;
	width: 25%;
}

/* Style the "Save Changes" button on hover */
.profile-form input[type="submit"]:hover {
	background-color: #0056b3;
}

/* Styles for larger screens */
.navbar ul {
    list-style-type: none;
    float: right;
}





/* Styles for contact form */
/* Common styles for the form elements */
.form-container {
    margin: 20px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    max-width: 500px; /* Adjust max-width as needed */
    margin: 0 auto; /* Center the form */
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

textarea {
    resize: vertical;
}

input[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    padding: 10px 20px;
    cursor: pointer;
    width: 100%;
}

/* * * * * * * * * *
* PAGE CONTENT
* * * * * * * * * */
.container.content .menu { width: 16%; float: left; padding: 40px 10px; }
		
/* Menu card */
.container.content .menu .card .card-header {
	padding: 10px;
	text-align: center;
	border-radius: 3px 3px 0px 0px;
	background: #3E606F;
}
.container.content .menu .card .card-header h2 { color: white; }
.container.content .menu .card .card-content a {
	display: block;
	box-sizing: border-box;
	padding: 8px 10px;
	border-bottom: 1px solid #e4e1e1;
	color: #444;
}
.container.content .menu .card .card-content a:hover {
	padding-left: 20px; background: #F9F9F9; transition: 0.1s;
}
/* Actions div (at the middle) */
.container.content .action { width: 35%; float: left; text-align: center; }
.container.content .action form { width: 90%; }
.container.content .action .page-title { margin: 25px; }
.container.content .action.create-post-div { width: 80%; }
/* Table div (Displaying records from DB) */
.table-div { float: left; width: 47%; }
.table-div .message { width: 90%; margin-top: 20px; }
.table-div table { width: 90%; }
.table-div a.fa { color: white; padding: 3px; }
.table-div .edit { background: #004220; }
.table-div .delete { background: #F70E1A; }
.table-div .publish { background: red; }
.table-div .unpublish { background: green; }
/* * * * * * * * * *
* VALIDATION ERRORS
* * * * * * * * * */
.message {
	width: 100%; 
	margin: 0px auto; 
	padding: 10px 0px; 
	color: #3c763d; 
	background: #dff0d8; 
	border: 1px solid #3c763d;
	border-radius: 5px; 
	text-align: center;
}
.error {color: #a94442; background: #f2dede; border: 1px solid #a94442; margin-bottom: 20px; }
.validation_errors p {text-align: left;margin-left: 10px;}



/* search form */
.search-container {
    text-align: center;
    margin-top: 50px;
}

.search-container h1 {
    font-size: 24px;
}

.search-container input[type="text"] {
    padding: 10px;
    width: 500px;
}

.search-container input[type="submit"] {
    padding: 10px 20px;
    background-color: #3E606F;
    color: #fff;
    border: none;
    cursor: pointer;
	width: 20%;
}

.search-container button:hover {
    background-color: #0056b3;
}

/* Media Query for screens with a maximum width of 768px */
@media screen and (max-width: 768px) {
  /* Adjust the styles for smaller screens here */
  .post_image {
    /* Adjust styles for smaller screens */
    max-width: 100%; /* Set maximum width to 100% of the container */
    height: auto; /* Allow height to adjust proportionally */
    /* Other adjustments for smaller screens if needed */
  }
  
 /* SINGLE IMAGE */
  .single_image {
    /* Adjust styles for smaller screens */
    max-width: 100%; /* Set maximum width to 100% of the container */
    width: auto;
    
    /* Other adjustments for smaller screens if needed */
   
  }
   .photo-feedback-buttons {
    margin-top: 20px; /* Adjust spacing as needed */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
   .photo-feedback-buttons button {
    margin: 5px; /* Adjust spacing between buttons */
    width: calc(50% - 10px); /* Adjust button width as needed */
  }


  /* BANNER: Welcome message */
  .banner {
    min-height: auto;
    text-align: center;
  }
  .banner .welcome_msg {
    width: 100%;
    float: none;
    padding: 20px 0;
  }
  .banner .welcome_msg h1 {
    font-size: 2em;
  }
  .banner .welcome_msg p {
    font-size: 1.2em;
  }

   .banner .welcome_msg a {
    width: 30%; /* Change width for normal links */
  }

  .banner .welcome_msg a.btn.link {
    width: 60%; /* Adjust width for .btn.link */
    
  }

  .banner .login_div {
    width: 100%;
    float: none;
  }
  .banner .login_div form input {
    width: 100%;
  }
  .banner .login_div form button {
    margin-left: 0;
  }
  .banner .login_div .button-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .search-container input[type="text"] {
    width: 100%; /* Make the input width 100% for smaller screens */
  }

  .search-container input[type="submit"] {
    width: 100%; /* Make the input width 100% for smaller screens */
  }

/* the images in the index page */

.gallery {
    display: block;
  }

  .gallery_1 {
    display: block;
  }

  .post {
    width: 100%; /* Adjust this as needed for full width */
    height: auto; /* Adjust height as needed */
    margin-bottom: 20px;
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .post img {
    width: 100%;
    height: auto;
  }

/* single page */
  .content .post-wrapper {
    width: 100%;
    float: none; /* Remove the float for better stacking on small screens */
  }

  .full-post-div {
    min-height: 300px;
    padding: 15px; /* Adjust padding for smaller screens */
    border: 1px solid #e4e1e1;
    border-radius: 2px;
  }

  .full-post-div h2.post-title {
    margin: 10px auto 15px; /* Adjust margins for smaller screens */
    text-align: center;
  }

  .post-body-div {
    font-size: 1em; /* Adjust font size for smaller screens */
  }

  .post-body-div p {
    margin: 15px 0; /* Adjust margins for smaller screens */
  }

  .post-sidebar {
    width: 100%; /* Expand the sidebar to full width on smaller screens */
    float: none; /* Remove the float */
  }

  .content .post-comments {
    margin-top: 20px; /* Adjust margin for smaller screens */
  }

  .post-sidebar .card {
    width: 100%;
    margin: 10px auto;
    border: 1px solid #e4e1e1;
    border-radius: 10px;
  }

  .post-sidebar .card .card-header {
    padding: 10px;
    text-align: center;
    border-radius: 3px 3px 0 0;
    background: #3E606F;
  }

  .post-sidebar .card .card-header h2 {
    color: white;
  }

  .post-sidebar .card .card-content a {
    display: block;
    box-sizing: border-box;
    padding: 8px 10px;
    border-bottom: 1px solid #e4e1e1;
    color: #444;
  }

  .post-sidebar .card .card-content a:hover {
    padding-left: 20px;
    background: #F9F9F9;
    transition: 0.1s;
  }

  .post_image {   /* For mobile devices, set a smaller image size */
    width: 600px; /* Set the desired width for mobile screens */
    height: auto; /* Maintain the aspect ratio */
  }
 
  /* For contact form in contact page */
  .form-container {
        margin: 10 px; /* Adjust margins for smaller screens */
        padding: 10 px; /* Adjust padding for smaller screens */
        max-width: 100%; /* Allow the form to take full width on mobile */
        width: 100%;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        width: 100%; /* Ensure full width for form elements on mobile */
    }

    /* Upload image page */
    .container.content {
    display: flex;
    flex-direction: column;
  }

  /* Example: Adjustments for the form or inputs */
  input[type="text"],
  input[type="file"],
  textarea {
    /* Your smaller screen input styles here */
    width: 100%;
    /* Add additional styles as needed */
  }

  /* Example: Adjustments for the image wrapper */
  .image-wrapper img {
    /* Adjust image size or responsiveness */
    max-width: 100%;
    height: auto;
  }
}
/* Default desktop menu */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
 max-height: none;     /* allow full height */
    height: auto;         /* allow full height */
}

/* Hamburger button */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 30px;
    user-select: none;
}

/* MOBILE VIEW */
@media (max-width: 768px) {

    .hamburger {
        display: block;
 z-index: 10000;
    }

    .nav-menu {
        display: none; /* hidden on mobile */
        flex-direction: column;
        background: #333;
        padding: 10px;
        position: absolute;
        right: 10px;
        top: 60px;
        width: 200px;
        border-radius: 6px;
        overflow: visible;
        max-height: none;     /* allow full height */
        height: auto;         /* allow full height */
        z-index: 9999;
    }

    .nav-menu.show {
        display: flex; /* show when toggled */
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .nav-menu a {
        color: #fff;
    }

    .logged_in_info {
        color: #fff;
        margin-top: 10px;
    }
}
