/*

Reponsive CSS by Daniel Kohler
For www.hkhikersclub.com

*/

* {
    box-sizing: border-box;
}

body, html {
    box-sizing: border-box;
    font-size: 1em;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0 auto;
    height: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    display: grid;
    grid-template-areas:
    "banner banner"
    "header header"
    "main main"
    "admin admin"
    "newsletter newsletter"
    "footer footer"
    "branding branding";
    /* Add this if needed to have two sepearte columns in the grid
    grid-template-columns: auto auto;
    */
    /* Increase the gap for design purposes
    gap: 0px;
    padding: 5px;
    */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)) ,url("../images/HKHikingSceneBackgorund.jpg");
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    align-self: center;
}

.container > div {
    padding: 10px;
    background-color: #f1f1f1b8;
}

.container > div.banner {
    grid-area: banner;
    text-align: start;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/HKHikerClubBanner.jpg");
    /* height: 50%; */
    min-height: 250px;
    /* max-height: 300px; */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.banner_table {
    width: 100%;
    height: 100%;
}

.banner_table_column {
    min-width: 20px;
}

.page_title {
    color: rgb(255, 255, 255);
    font-size: 30px;
    padding: 10px;
    text-align: center;
    text-transform: capitalize;
    text-decoration: none;
}

.container > div.header {
    grid-area: header;
    text-align: center;
    background-color: #faef8d7e;
    color: rgb(23, 13, 59);
}

.container > div.main {
    grid-area: main;
    width: 100%;
    max-width: 100vw;
}

.container > div.admin {
    grid-area: admin;
    width: 100%;
    max-width: 100vw;
}

.grid-container {
    margin: 0 auto;
    display: grid;
    /* grid-template-columns: auto auto auto; */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    /* grid-template-columns: repeat(auto-fit);*/
    column-gap: 20px;
    row-gap: 10px;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
}
.grid-item {
    /* border: 1px solid #1b1a1a; */
    font-size: 16px;
    text-align: left;
    /* Used for designing the frame not for production
    border-width: 1px;
    border-style: solid;
    border-color: #496195;
    */
}

.row {
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f8f8f890;
}
/* This section defines the grid content formatting */
.image_body {
    background-color: #f1f1f1;
    min-width: 150px;
    background-color: transparent;
    margin: 0 auto;
}

.td_image {
    vertical-align: top;
}

.context_title_1 {
    color: #0d214a;
    font-size: 1.3rem;
    font-weight: bold;
    padding-bottom: 5px;
    text-transform: uppercase;
}

.context_text_1 {
    color: #000000;
    font-size: 1.1rem;
    padding-bottom: 10px;
}

.container > div.newletter {
    grid-area: newsletter;
}
.email_confirmation {
    width: 100%;
    min-height: 200px;
    vertical-align: center;
}
.Blog-Content {
    max-width: 1200px;
    vertical-align: top;
    margin: auto;
    border-width: 1px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f8f8f890;
    resize: none;
}
.BlogHeader {
    padding-left: 5px;
    padding-right: 5px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f8f8f890;
}

.ContentTitle {
    color: #0d214a;
    font-size: 1.3rem;
    font-weight: bold;
    padding-bottom: 5px;
}
.ContentTitleSecurity {
    color: #0d214a;
    font-size: 1.3rem;
    font-weight: bold;
    padding-bottom: 5px;
}

.BlogTitle {
    color: #0d214a;
    font-size: 1.3rem;
    font-weight: bold;
    padding-bottom: 5px;
}
.Blog {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: fit-content;
    max-width: 100%;
}
.BlogGalleryLink {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    margin-left: auto;
    margin-right: 0;
    padding: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-style: solid;
    border-width: 1px;
    border-color: #000000;
    border-radius: 5px;
    color: white;
    background-color: black;
    max-width: fit-content;
    width: 100%;
}
.BlogGalleryLink:hover {
    background-color: #c5c0c0;
    color: rgb(3, 3, 3);
}
.BlogGalleryLinkBottom {
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-style: solid;
    border-width: 1px;
    border-color: #000000;
    border-radius: 5px;
    display: inline-block;
    color: white;
    background-color: black;
}
.BlogGalleryLinkBottom:hover {
    background-color: #c5c0c0;
    color: rgb(3, 3, 3);
}
.BlogEntry .row {
    padding: 10px;
}
.BlogEntry img {
    padding-top: 10px;
}
.BlogEntry .BlogTitle {
    color: #0d214a;
    font-size: 1.3rem;
    font-weight: bold;
}
.BlogText {
    color: #000000;
    font-size: 1.1rem;
}
.BlogDate {
    color: #000000;
    font-size: 1rem;
    text-align: right;
    font-weight: normal;
}
.BlogListing {
    width: 100%;
    vertical-align: top;
    margin: auto;
    border-width: 1px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f8f8f890;
    resize: none;
}
.BlogListing .back-button {
    border: none;
    color: white;
    font-size: 1rem;
    background-color: #b1872e;
    padding: 10px 10px;
    display: inline-block;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    margin: 5px;
    align-content: center;
}
.BlogListing .back-button:hover {
    background-color: #000000;
}
.BlogListing .grid-container {
    margin: 0 auto;
    display: grid;
    /* grid-template-columns: auto auto auto; */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* grid-template-columns: repeat(auto-fit);*/
    column-gap: 10px;
    row-gap: 10px;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
}
.BlogListing .grid-item {
    /* border: 1px solid #1b1a1a; */
    font-size: 1rem;
    text-align: left;
    /* Used for designing the frame not for production
    border-width: 1px;
    border-style: solid;
    border-color: #496195;
    */
}
.BlogEntry {
    width: 100%;
    vertical-align: top;
    margin-bottom: 20px;
    padding: 12px 20px;
    border-radius: 15px;
    background-color: rgba(236, 238, 240, 0.656);
}
.BlogEntry .back-button {
    border: none;
    color: white;
    font-size: 1rem;
    background-color: #b1872e;
    padding: 10px 10px;
    display: inline-block;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    margin: 5px;
    align-content: center;
}
.BlogEntry .back-button:hover {
    background-color: #000000;
}
.BlogEntry .flex-container {
    display: flex;
    flex-direction: row;
    margin: 0px;
    row-gap: 0;
} 
.BlogEntry .flex-item-left-img {
    padding-right: 10px;
    flex: 20%;
}
.BlogEntry .flex-item-left {
    flex: 70%;
}
.BlogEntry .flex-item-right {
    flex: 70%;
}
.BlogEntry .flex-item-right-img {
    padding-left: 10px;
    flex: 20%;
}
.BlogEntry .flex-item-100 {
    flex: 100%;
}
.BlogEntry .image-center {
    text-align: center;
}
.BlogEntry .blogImage {
    padding: 0px;
    border-width: 2px;
    border-color: rgb(181, 175, 175);
    border-style: solid;
    margin: 0px;
    border-radius: 15px;
    max-height: 400px;
    width: auto;
}
.blogImage {
    padding: 0px;
    border-width: 2px;
    border-color: rgb(181, 175, 175);
    border-style: solid;
    margin: 0px;
    border-radius: 15px;
    max-height: 400px;
    width: auto;
}
/* Responsive layout - makes a one column-layout instead of two-column layout */
@media (max-width: 600px) {
    .BlogEntry .flex-container {
      flex-direction: column;
    }
}
.BlogEntry .like-section {
    font-size: 1rem;
    color: rgb(208, 8, 8);
    padding: 0;
    margin: 0 auto;
    background: inherit;
    width: fit-content;
    display:contents;
}
.BlogEntry .like-section-button {
    cursor: pointer;
    background-color: white;
    width:max-content;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
    margin: 0 auto;
    border-style: solid;
    border-width: 2px;
    border-color: #d0b8b8;
    border-radius: 20px;
    display: inline-block;
}
.BlogEntry .like-section-button:hover {
    background-color: rgb(241, 203, 203);
    border-color: #f2dede;
}
.BlogEntry .like-text {
    font-size: 1rem;
    color: #000000;
    font-weight: normal;
    text-transform: uppercase;
    text-decoration: none;
}
.BlogEntry .like-heart {
    font-size: 1rem;
    font-family: 'Courier New', Courier, monospace;
    color: red;
    font-weight: bold;
    text-decoration: none;
 }
.BlogEntry .like-section-form {
    width: fit-content;
    display:contents;
    padding: 0;
    margin: 0 auto;
}
.hr-Bloglines{
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}
.hr-Bloglines:before{
    content:" ";
    height: 2px;
    width: 35%;
    background: rgb(86, 68, 10);
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
}
.hr-Bloglines:after{
    content:" ";
    height: 2px;
    width: 35%;
    background: rgb(86, 68, 10);
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
}
.icon-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 12px;
}  
  .icon-button > * {
    flex: none;
}
/* Container holding the image and the text */
.container-blog {
    position: relative;
    max-width: 250px; /* Maximum width */
    margin: 0 auto; /* Center it */
}
.container-blog a:hover {
    opacity: 0.8;
}
/* Bottom right text */
.container-blog .content {
    position: absolute; /* Position the background text */
    bottom: 30px; /* At the bottom. Use top:0 to append it to the top */
    background: rgb(0, 0, 0); /* Fallback color */
    background: rgba(59, 51, 2, 0.6); /* Black background with 0.5 opacity */
    width: 100%; /* Full width */
    padding: 15px; /* Some padding */
}
.container-blog .blogtitle {
    color: #ffffff;
    font-size: 1.3rem;
    /* text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff; */
    font-weight: bold;
    text-decoration: solid;
    padding-bottom: 5px;
}
.container-blog .blogdate {
    font-size: .75rem;
    color: white;
}
.BlogImageDisplay {
    max-width: 450px;
    min-width: 100px;
    padding-top: 20px; 
    padding-right: 5px;
}
.BlogContentDisplay {
    max-width: 1200px;
}
.blog-text-block {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: black;
    color: white;
    padding-left: 20px;
    padding-right: 20px;
}
/* Blog Comment Formatting section */
.comment-form-container {
	background: #d0cbcb;
	border: #e0dfdf 1px solid;
	padding: 20px;
	border-radius: 4px;
}
.form-title-comment {
    color: #000000;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.input-row {
	margin-bottom: 5px;
}

.input-field {
	width: 100%;
	border-radius: 4px;
	padding: 10px;
	border: #e0dfdf 1px solid;
    font-size: 1rem;
}
.input-field-textarea {
	width: 100%;
    height: 100px;
	border-radius: 4px;
	padding: 10px;
	border: #e0dfdf 1px solid;
    font-size: 1rem;
}

.btn-submit {
	padding: 10px 20px;
	background: #333;
	border: #1d1d1d 1px solid;
	color: #f0f0f0;
	font-size: 0.9em;
	width: 100px;
	border-radius: 4px;
	cursor: pointer;
}

ul {
	list-style-type: none;
}

.comment-row ul li {
    color: rgb(99, 77, 22);
    margin: 5px;
}
.comment-row-reply ul li {
    margin: 5px;
    list-style-type: square;
}

.comment-row {
	border-left: #b1872e 1px solid;
	padding: 10px;
    margin: 5px;
}
.comment-row-reply {
    padding-bottom: 5px;
    padding-top: 5px;
    margin-top: 0px;
}

.outer-comment {
    width: 100%;
	background: #F0F0F0;
	padding: 10px;
	border: #dedddd 1px solid;
	border-radius: 4px;
}
.comment-row {
    width: 100%;
    border-width: 1px;
    border-color: #6d1111;
    border-style: solid;
}
span.comment-row-label {
	color: #484848;
}

span.posted-by {
	font-weight: bold;
}

.comment-info {
	font-size: 1rem;
	padding: 0 0 10px 0;
    color: #0d214a;
    text-decoration: none;
}

.comment-text {
	margin-bottom: 20px;
}
.comment-text-reply {
	margin: 0px;
    color: #000000;
    font-style: italic;
}

.btn-reply {
	color: #dadae2;
	cursor: pointer;
	text-decoration: none;
    border: #000000;
    border-radius: 5px;
    background-color: #908b2d;
    padding: 10px 30px;
    border-width: 1px;
}
.btn-reply:hover {
    background-color: #5c5918;
}
.btn-reply-setdraft {
	color: #dadae2;
	cursor: pointer;
	text-decoration: none;
    border: #192f16;
    border-radius: 5px;
    background-color: #192f16;
    padding: 10px 30px;
    border-width: 1px;
}
.btn-reply-setdraft:hover {
    background-color: #576e53;
}
.btn-reply-publish {
	color: #dadae2;
	cursor: pointer;
	text-decoration: none;
    border: #620d0d;
    border-radius: 5px;
    background-color: #620d0d;
    padding: 10px 30px;
    border-width: 1px;
}
.btn-reply-publish:hover {
    background-color: #936c6c;
}
.btn-reply-delete {
	color: #dadae2;
	cursor: pointer;
	text-decoration: none;
    border: #180e0e;
    border-radius: 5px;
    background-color: #b50505;
    padding: 10px 30px;
    border-width: 1px;
}
.btn-reply-delete:hover {
    background-color: #e51a1a;
    color: wite;
}
.button_space {
    display: flex;
    flex-flow: wrap;
}
.button_space > div {
    margin-top: 10px;
    margin-right: 5px;
    margin-bottom: 15px;
}
.button_space_reply {
    display: flex;
    flex-wrap: wrap;
}
.button_space_reply > div {
    margin-top: 20px;
    margin-right: 5px;
    margin-bottom: 15px;
}
.btn-reply:hover {
	text-decoration: underline;
}

#comment-message {
	margin-left: 20px;
	color: #005e00;
	display: none;
}

.label {
	padding: 0 0 4px 0;
}
/* End of Comment Form formatting */
form {
    font-family: Arial, Helvetica, sans-serif;
    vertical-align: center;
}

.newletter_form {
    max-width: 700px;
    vertical-align: top;
    margin: auto;
    border-width: 1px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f8f8f890;
    resize: none;
}

.newsletter_image {
    vertical-align: top;
    display: inline-block;
}

input[type=text], input[type=submit], input[type=button], input[type=email], input[type=password], [type=text]:read-only {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #363434 !important;
    box-sizing: border-box;
    font-size: 15px;
}

input[type=checkbox] {
    height: 20px;
    float: left;
    transform: scale(1.5);
    font-size: 15px;
}

input[type=submit] {
    background-color: #b3a527e4;
    color: black;
    font-size: 15px;
    border: none;
    cursor: pointer;
}

input[type=submit]:hover {
    opacity: 0.8;
}

input[type=button] {
    background-color: #1c6c0ae4;
    color: rgb(255, 255, 255);
    font-size: 15px;
    border: none;
    cursor: pointer;
}

input[type=button]:hover {
    opacity: 0.8;
}

input[type=text]:read-only {
    background-color: rgba(164, 189, 178, 0.844);
    font-style: italic;
}

input[type=email]:read-only {
    background-color: rgba(164, 189, 178, 0.844);
    font-style: italic;
}

/* User Information Form */
.userinfo-form {
    max-width: 700px;
    vertical-align: top;
    margin: auto;
    border-width: 1px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f8f8f890;
    resize: none;
}
.userinfo-table {
    width: 100%;
}
.userinfo-form .namecolumn {
    width: 30%;
}
.userinfo-form .fieldcolumn {
    width: 70%;
}
.userinfo-form textarea {
    width: 100%;
    height: 150px;
    padding: 10px 10px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    font-size: 16px;
    resize: none;
}
/* Registration Form */
.registration-form {
    max-width: 700px;
    vertical-align: top;
    margin: auto;
    border-width: 1px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f8f8f890;
    resize: none;
}

.registration-table {
    width: 100%;
}
.registration-namecolumn {
    width: 30%;
}
.registration-fieldcolumn {
    width: 70%;
}
.registration-pwdcolumn {
    width: 100%;
    color: rgb(90, 77, 3);
    font-style: italic;
}
/* In case we have to add two columns to the grid on the same page
.container > div.menu {
grid-area   : menu;
}

.container > div.content {
    grid-area: content;
}
*/

.container > div.footer {
    grid-area: footer;
    background-color: black;
    padding-left: 10px;
    padding-right: 10px;
}

.container > div.branding {
    grid-area: branding;
    background-color: rgb(57, 54, 54);
    color: antiquewhite;
    text-align: center;
}

/* Utilities for the page such as buttons */
.btn1 {
    background-color: #f1f1f1;
    color: black;
    padding: 5px 15px;
    border: none;
    border-radius: 15px;
    text-align: center;

    text-decoration: none;
    /*
    text-transform: none;
    text-align: right;
    */
    font-size: 1rem;
    font-weight:normal;
    cursor: pointer;
    /* This part is ignored if the float parmeter is triggered
    display: inline-flexs;
     */
    vertical-align: bottom;
    float: right;
}

.btn1:hover {
    background-color: #faef8d7e;
    color: black;
}
.btn2 {
    background-color: #f1f1f1;
    color: black;
    padding: 5px 15px;
    border:#000000;
    border-width: 1px;
    border-style: solid;
    border-radius: 15px;
    text-align: center;

    text-decoration: none;
    /*
    text-transform: none;
    text-align: right;
    */
    font-size: 1rem;
    font-weight:normal;
    cursor: pointer;
    /* This part is ignored if the float parmeter is triggered
    display: inline-flexs;
     */
    vertical-align: bottom;
    float: right;
}

.btn2:hover {
    background-color: #faef8d7e;
    color: black;
}

hr.new1 {
    border-top: 1px solid rgb(96, 86, 86);
}
hr.comment-divider {
    border-top: 1px solid rgb(145, 75, 75);
    margin-top: 20px;
}

ul.footer {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
    position: float;
    bottom: 0;
    width: 100%;
}

li.footer {
float: left;
}

li.footer a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}

li.footer a:hover {
background-color: #111;
}

li.footer .footer-admin {
    color: #8f9d63;
}

.logon_header {
    color: #000000;
    font-size: 20px;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    font-style: italic;
    font-weight: bold;
}

.copywrite {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}
/* Error and Success Messages */
.error-message {
    font-size: 15pt;
    color: rgb(167, 31, 31);
}

.ok-message {
    font-size: 15pt;
    color: rgb(12, 96, 32);
}

.message {
    width: 100%; 
    margin: 5px auto; 
    padding: 5px, 0px; 
    color: #090909; 
    background: #dfe9d3; 
    border: 1px solid #1c221c;
    border-radius: 5px; 
    text-align: center;
}

.error {color: #a94442; background: #f2dede; border: 1px solid #a94442; margin-bottom: 20px; 
}
.alert {color: #a94442; 
}
.validation_errors p {text-align: left;margin-left: 10px;
}

/* Menu formatting */
/* The sidepanel menu */
.sidepanel {
    height: auto; /* Specify a height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    left: 0;
    background-color: #111; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-bottom: 30px;
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidepanel */
}

/* The sidepanel links */
.sidepanel a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 20px;
    color: #818181;
    display: block;
    transition: 0.1s;
    padding-right: 20px;
}

/* When you mouse over the navigation links, change their color */
.sidepanel a:hover {
    color: #f1f1f1;
}

.sidepanel .sidepanel-admin {
    color: #8f9d63;
}

/* Position and style the close button (top right corner) */
.sidepanel .closebtn {
    position: absolute;
    top: 0;
    right: 1px;
    font-size: 36px;
    margin-left: 50px;
}

/* Style the button that is used to open the sidepanel */
.openbtn {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 10px 15px;
    border: none;
}

.openbtn:hover {
    background-color: #4b1414;
}

/* Social Media Libray of Icons */
.fa {
    padding: 20px;
    width: 55px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
}

/* Add a hover effect if you want */
.fa:hover {
opacity: 0.7;
}

/* Set a specific color for each brand */

/* Facebook */
.fa-facebook {
background: #3B5998;
color: white;
}

/* Twitter */
.fa-twitter {
background: #55ACEE;
color: white;
}

/* Instagram */
.fa-instagram {
    background: #125688;
    color: white;
}

/* Youtube */
.fa-youtube {
    background: #bb0000;
    color: white;
}
/* Remove Captcha Badge */
.grecaptcha-badge {
    visibility: visible;
    opacity: 0.5;
}

/* Loader */
.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Optional: Add a semi-transparent background */
    z-index: 9999;
}
.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.Event-Content {
    /* max-width: 1024px; */
    max-width: 1024px;
}
.Event-Content .event-month-group {
    text-align: left;
    width: 100%;
}
.Event-Content .month-separator {
    color: white;
    font-size: 23px;
    background-color: rgba(81, 79, 4, 0.55);
    padding: 10px;
}
.Event-Content .event-month-group_sm {
    text-align: left;
    width: 100%;
}
.Event-Content .month-separator_sm {
    color: white;
    font-size: 18px;
    background-color: rgba(81, 79, 4, 0.55);
    padding: 10px;
}
.Event-Content .event-history {
    flex: 1 1 160px; 
    min-width: 160px; 
    display: flex; 
    flex-direction: column; 
    align-items: flex-end; 
    justify-content: flex-start; 
    gap: 0.5em; 
    margin-left: auto;
}
.Event-Content ul {
    max-width: 1024px;
}
.Event-Content li {   
    padding: 10px;
    background-color: #f8f8f890;
    display: flex; flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 1em;
    gap: 1em;
    border: 1px solid #757171;
    border-radius: 15px;
    color: #000000;
}
.Event-Content .event-list-sm li {   
    padding: 5px;
    background-color: #f8f8f890;
    display: flex; flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 1em;
    gap: 1em;
    border: 1px solid #757171;
    border-radius: 15px;
    color: #000000;
}
.Event-Content .event-title {
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: bold;
    font-size: 1.2em;
    color: #7d0606;
    text-transform: uppercase;
}
.Event-Content .event-attributes {
    display: flex;
    gap: 2em;
    padding-bottom: 10px;
}
.Event-Content .event-attributes .att-lable {
    min-width: 140px; 
    font-weight: normal;
}
.Event-Content .event-attributes .att-text {
    font-weight: normal;
}
.Event-Content .event-date {
    min-width: 80px; 
    text-align: right; 
    font-weight: bold; 
    margin-right: 40px;
    color: rgb(101, 5, 5);
    padding: 5px;
}
.Event-Content .event-date .event-day-num {
    font-size: 1.5em;
}
.Event-Content .event-date .event-day-text {
    font-size: 1em;
}
.Event-Content .event-details {
    flex: 2 1 300px; 
    min-width: 250px;
}
.Event-Content .event-image {
    max-width: 450px;
}
.Event-Content .event-image img {
    border-radius: 10px;
}
.Event-Content .event-actions {
    padding: 15px;
    flex: 1 1 160px; 
    display: flex;
    white-space: nowrap;
    width: 100%;
    flex-direction: column; 
    align-items: flex-end; 
    justify-content: flex-start; 
    gap: 0.5em; 
    margin-left: auto;
    flex-wrap: nowrap;
}
.Event-Content .ql-editor {
    box-sizing: border-box;
    counter-reset: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
    line-height: 1.42;
    height: 100%;
    outline: none;
    overflow-y: auto;
    tab-size: 4;
    -moz-tab-size: 4;
    text-align: left;
    white-space: pre-wrap;
    word-wrap:break-word;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 0px;
    padding-right: 5px;
}
.Event-Content .enroll-btn {
    padding: 10px 20px;
    background-color: #b3a527e4;
    color: black;
    font-size: 15px;
	border: #1d1d1d 1px solid;
	/* background-color: #7d0606; */
	min-width: 100px;
	border-radius: 4px;
	cursor: pointer;
    text-decoration: none   ;
}
.Event-Content .enroll-btn:hover {
    background-color: #b3a5275a;
}
.Event-Content .event-btn {
    padding: 10px 20px;
	background-color: #7d0606;
	border: #a10000 1px solid;
	color: #f0f0f0;
	font-size: 0.9em;
	min-width: 100px;
	border-radius: 4px;
	cursor: pointer;
    text-decoration: none;
}
.Event-Content .event-btn:hover {
    background-color: #7d060670;
}
.card {
    padding: 15px;
    gap: 0.5em;
    width: 250px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.card .upper-side {
    padding: 15px;
    background-color: #c4cf7d;
    color: #000000;
    white-space: wrap;
}
.card .status {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
}
/* User Profile Page CSS */
.profile-container {
    max-width: 100%;
    vertical-align: top;
    margin: 10px;
    border-width: 1px;
    padding: 0px 12px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f8f8f890;
    resize: none;
}
.profile-header {
    text-align: center;
    margin-bottom: 20px;
}
.profile-header h1 {
    color: #0d214a;
    font-size: 2rem;
    font-weight: bold;
}
.profile-header p {
    color: #000000;
    font-size: 1.2rem;
}
.userinfo-form .select_type {
    padding: 10px;
    margin: 5px 0;
    display: inline-block;
    border: 1px solid #363434;
    box-sizing: border-box;
    font-size: 1rem;
    max-width: fit-content;
}
.userinfo-form .date-select {
    padding: 5px;
    margin: 5px 0;
    display: inline-block;
    border: 1px solid #363434;
    box-sizing: border-box;
    font-size: 1rem;
    max-width: fit-content;
}
.userinfo-form-add {
    max-width: 700px;
    vertical-align: top;
    margin: auto;
    border-width: 1px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f8f8f890;
    resize: none;
}
.profile-mfa-section {
    max-width: 700px;
    vertical-align: top;
    margin-top: 5px;
    margin-bottom: 20px;
    border-width: 1px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f8f8f890;
    resize: none;
}
.profile-mfa-section button {
    background-color: #bc4f4f;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 10px;
    transition: background 0.2s;
}
.profile-mfa-section .confirm-mfa-submit {
    background: #386d4e !important;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    padding: 0.5em 1.2em;
    cursor: pointer;
    transition: background 0.2s;
}
.profile-mfa-section button:hover {
    background-color: #773333;
}
.userinfo-form-add .namecolumn {
    width: 30%;
}
.userinfo-form-add .fieldcolumn {
    width: 70%;
}
.userinfo-form-add .userinfo-table {
    width: 100%;
}
.userinfo-form-add .select_type {
    padding: 10px;
    margin: 5px 0;
    display: inline-block;
    border: 1px solid #363434;
    box-sizing: border-box;
    font-size: 1rem;
    max-width: 200px;
}
.AboutUs-Content {
    max-width: 1200px;
    vertical-align: top;
    margin: auto;
    border-width: 1px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f8f8f890;
    resize: none;
}
/* -------------------------- Fullscreen Map Resize -------------------------- */
.trail-preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 16px;
}

/* Map and info side by side on desktop, stacked on mobile */
.trail-map-section, .trail-info-section {
  flex: 1 1 400px;
  min-width: 320px;
  max-width: 600px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  margin-bottom: 16px;
  padding: 16px;
}

/* Responsive map */
#map {
  width: 100%;
  min-height: 300px;
  height: 45vh;
  border-radius: 8px;
  margin-bottom: 16px;
}

/* Responsive table for waypoints */
.waypoints-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.waypoints-table th, .waypoints-table td {
  padding: 8px 6px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.waypoints-table th {
  background: #f5f5f5;
  font-weight: bold;
}
.trail-map-section:fullscreen #map,
.trail-map-section:-webkit-full-screen #map {
    min-height: 100vh !important;
    height: 100vh !important;
    width: 100vw !important;
    border-radius: 0 !important;
    margin: 0 !important;
}
.trail-map-section:fullscreen,
.trail-map-section:-webkit-full-screen {
    background: #fff;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100vw !important;
    width: 100vw !important;
}
#map.fullscreen-fake {
  position: fixed !important;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9999;
  border-radius: 0 !important;
  margin: 0 !important;
  background: #fff;
}
#map-exit-fullscreen {
  display: none;
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 10000;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px 14px;
  font-size: 1.2em;
  cursor: pointer;
}
#map.fullscreen-fake + #map-exit-fullscreen {
  display: block;
}
@media (max-width: 900px) {
  .trail-preview-container {
    flex-direction: column;
    gap: 0;
    padding: 8px;
  }
  .trail-map-section, .trail-info-section {
    max-width: 100%;
    margin-bottom: 12px;
    padding: 10px;
  }
  #map {
    min-height: 220px;
    height: 35vh;
  }
  .waypoints-table {
    font-size: 0.95rem;
  }
}
@media (max-width: 600px) {
  .trail-map-section, .trail-info-section {
    padding: 6px;
  }
  #map {
    min-height: 160px;
    height: 28vh;
  }
  .waypoints-table th, .waypoints-table td {
    padding: 5px 3px;
  }
  #maximizeMapBtn {
    padding: 14px 18px;
    font-size: 1.5em;
    /* right: 8px; */
    /* top: 8px; */
  }
}

#maximizeMapBtn {
    /* position: absolute; */
    /* right: 16px; */
    /* top: 16px; */
    z-index: 10;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 1.2em;
}
/* ------------------------------------------------------------------------- */
/* Reponsive design for the Trail Main Page */
/* ------------------------------------------------------------------------- */
.location-title-grid {
    max-width: 1024px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 auto;
    justify-content: center;
    padding: 10px 10px;
    border-radius: 15px;
}
.locations-grid {
    max-width: 1024px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 0 auto;
    justify-content: center;
    background-color: #f8f8f890;
    padding: 10px 10px;
    border-radius: 15px;
}

@media (max-width: 600px) {
    .locations-grid {
        grid-template-columns: 1fr;
    }
}
.locations-map-grid {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    background-color: #f8f8f890;
    border-radius: 15px;
}
.location-card {
    background: #f8f8f8ab;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 20px;
    width: 100%;
    margin-bottom: 16px;
    text-align: left;
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
}
.trail-title {
    font-size: 28px;
    font-weight: bold;
    color: #000000;
    width: 100%;
}
.location-header {
    font-size: 1.2em;
    color: #0f2435;
}
.trail-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}
.trail-cell {
    padding: 5px;
}
.trail-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}
.trail-btn {
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 18px;
    width: 100%;
    text-align: center;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(41,128,185,0.08);
    background-color: #b3a527e4;
	border: #1d1d1d 1px solid;
    border-radius: 4px;
	color: black;
	font-size: 16px;
	cursor: pointer;
}
.trail-btn:hover {
    box-shadow: 0 4px 16px rgba(41,128,185,0.13);
    opacity: 0.8;
}
.trail-back-btn {
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 18px;
    width: 100%;
    text-align: center;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(41,128,185,0.08);
    background-color: #b3a527e4;
	border: #1d1d1d 1px solid;
    border-radius: 4px;
	color: black;
	font-size: 16px;
	cursor: pointer;
}
.trail-back-btn:hover {
    box-shadow: 0 4px 16px rgba(41,128,185,0.13);
    opacity: 0.8;
}
.trail-blog-btn {
    display: inline-block;
    padding: 5px;
    margin: 10px 10px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-style: solid;
    border-width: 1px;
    border-color: #000000;
    border-radius: 5px;
    color: white;
    background-color: black;
    max-width: fit-content;
    width: 100%;
}
.trail-blog-btn:hover {
    background-color: #c5c0c0;
    color: rgb(3, 3, 3);
}
@media (max-width: 900px) {
    .location-card {
    min-width: unset;
    flex: 1 1 100%;
    }
}
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #5a5757;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
  padding: 10px;
  margin: 5px;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  gap: 1em;
  align-items: center;
  justify-content: center;
}
#cookie-banner button {
  margin: 0.5em;
  padding: 0.5em 1.2em;
  border: none;
  border-radius: 4px;
  background: #1976d2;
  color: #fff;
  cursor: pointer;
}
#cookie-banner button:nth-child(3) {
  background: #eee;
  color: #333;
}
@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 10px;
    gap: 0;
    font-size: 1em;
    margin: 0;
    border-radius: 0;
  }
  #cookie-banner h2,
  #cookie-banner p {
    text-align: center;
    margin: 0.5em 0;
  }
  #cookie-banner button {
    width: 100%;
    margin: 0.3em 0;
    font-size: 1.1em;
    padding: 0.8em 0;
  }
}
.apple-wallet-section {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 5px;
    margin: 1em 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.apple-wallet-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-block;
}
.apple-wallet-badge {
    height: 48px;
    max-width: 100%;
}
.google-wallet-badge {
    height: 48px;
    max-width: 100%;
}
@media (min-width: 600px) {
    .apple-wallet-badge {
        height: 60px; /* Smaller on desktop */
    }
    .google-wallet-badge {
        height: 60px; /* Smaller on desktop */
    }
}