/* Frontend Auth Plugin Styles */

.frontend-auth-form {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background: #13264e;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.frontend-auth-form input[type="text"],
.frontend-auth-form input[type="email"],
.frontend-auth-form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0 20px;
    border-radius: 4px;
	color: #fff;
	background: #2a2a2a !important;
}

.frontend-auth-form input[type="submit"] {
    width: 100%;
    background-color: #0073aa;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.frontend-auth-form input[type="submit"]:hover {
    background-color: #005177;
}

.frontend-auth-links {
    text-align: center;
    margin-top: 20px;
}

.frontend-auth-links p {
    margin: 8px 0;
    font-size: 14px;
	color: #f9fbd2;
}

.frontend-auth-links a {
    color: #0073aa;
    text-decoration: none;
}

.frontend-auth-links a:hover {
    text-decoration: underline;
}

/* profiles */
.profile-title {
	font-size: 28px;
	font-weight: bold;
	text-align: center;
	margin-bottom:0;
}

.profile-tagline {
	margin-bottom:10px;
}

.profile-details {
	width:100%;
	background-color: #0d1e3b;
	padding: 15px;
	padding-top: 0px;
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.profile-details p, .profile-details ul {
	font-size: 16px;
	margin: 10px 0;
	color: #fff;
}
.profile-details strong {
	color: #dfe6fa !important;
}

.profile-details h3 {
	color: #e0de69 !important;
}

.profile-title h2 {
	color: #e0de69 !important;
}

.profile-header {
	display: flex !important;          /* Force flexbox layout */
	flex-direction: column !important; /* Force stacking of avatar and title */
	justify-content: center !important;/* Ensure vertical centering */
	align-items: center !important;    /* Ensure horizontal centering */
	text-align: center !important;     /* Center text as well */
}

.profile-title {
	margin-top: 10px !important;        /* Add margin above the title */
}

.field-groups-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
}

.field-group {
    flex: 1 1 calc(33.333% - 13.33px); /* 3 columns minus two 20px gaps spread across three items */
    box-sizing: border-box;
    padding: 20px;
    background: #1a1a1a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
}

.section-group {
    flex: 1 1 calc(100% - 20px); /* 50% minus the gap */
    box-sizing: border-box;
    padding: 20px;
    background: #1a1a1a; /* Dark container (adjust color if needed) */
	/*border: 1px solid #ddd;*/
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
	margin-bottom: 8px;
}

.section-group h3, h5 {
    margin-top: 0;
    margin-bottom: 0;
    color: #fff;
}

.section-group h5 {
    font-size: 0.7em; /* 14px/16=0.875em */
}

.field-group h3, h5 {
    margin-top: 0;
    color: #fff;
}

.field-group ul {
    padding-left: 20px;
    color: #ccc;
}

table.wp-list-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

table.wp-list-table th, table.wp-list-table td {
    padding: 5px;
    text-align: left;
    /*/*border: 1px solid #ddd;*/*/
}

table.wp-list-table th {
    font-weight: bold;
}

.profile-header {
    position: relative;
    width: 100%;
    height: 300px; /* Adjust the height to your liking */
    background-size: cover;
    background-position: center;
}

/* The profile header containing the cover image */
.profile-header {
    position: relative;
    width: 100%;
    height: 300px; /* Adjust the height to your liking */
    background-size: cover;
    background-position: center;
	border-radius:10px 10px 0 0;
}

/* Container for avatar and user info (name + tagline) */
.profile-info-container {
    display: flex;
    align-items: flex-end;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Avatar container */
.profile-avatar-container {
    position: relative;
    /*margin-right: 20px; /* Space between the avatar and the details -- maybe will add it back, maybe won't, we will see */
    height: 150px; /* Set the size of the avatar */
    max-height: 150px; /* Set the size of the avatar */
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    border-radius: 50%;
	transform: translateY(25px);
}

.profile-avatar {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 50%;
	background-color: #0d1e3b;
}

/* Profile details (name and tagline) */
.profile-name-tagline {
	margin: 0 0;
    display: block;
    flex-direction: column;
    justify-content: center;
    color: #fff; /* Text color */
	background-color: #0d1e3b;
	padding: 20px;
	border-radius:10% 10% 0 0;
}

.profile-name-tagline h1 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
	color: #e0de69;
}

.profile-name-tagline p {
	margin: 0;
    font-size: 16px;
    font-style: italic;
}

.profile-info-spacer {
	min-height:25px;
	background-color: #0d1e3b;
}

.comments-box {
	background: #13264e;
	border-radius: 8px;
	padding: 15px;
}

/* Base Styles */
.cp-single__comments-list {
    list-style: none;
    padding-left: 0;
    margin-top: 0;
}

.cp-single__comments-list > li {
    margin-bottom: 2em; /* Adds space between comments */
    padding-bottom: 1em;
    border-bottom: 1px solid #eee; /* Optional divider */
}

/* Indentation for nested comments */
.cp-single__comments-list .comment-reply {
    margin-left: 30px; /* Indentation for replies */
    border-left: 3px solid #ccc; /* Optional visual indicator (vertical line) */
    padding-left: 20px; /* Adds padding to give room for the reply */
}

/* Avatar styles */
.cp-single__comments-list .avatar {
    margin-right: 1em; /* Adds spacing between avatar and text */
    float: left;
    border-radius: 50%; /* Circular avatars */
}

/* Meta Data (Date, Edit Link) */
.cp-single__comments-list .comment-meta {
    font-size: 0.9em;
    color: #777; /* Subtle color for date and edit links */
}

/* Styling for the comment body */
.cp-single__comments-list .comment-text {
    font-size: 1em;
    color: #fff; /* Darker color for readability */
}

/* Styling for top-level comments (no indent) */
.cp-single__comments-list > li {
    margin-left: 0; /* Align top-level comments */
}

.cp-single__comments-list ol.children {
	list-style: none;
    padding-left: 30px; /* Indentation for replies in the nested list */
    margin-top: 1rem;
	border-bottom: 1px solid #eee; /* Optional divider */
	margin-bottom: 2em; /* Adds space between comments */
    padding-bottom: 1em;
}

/* Optional: Highlight the 'Reply' link when hovering over a comment */
.cp-single__comments-list > li:hover .reply a {
    color: #005a8c;
    font-weight: bold;
}

#reply-form {
    margin-top: 20px;
    padding: 15px;
	padding-top: 5px;
    background-color: #1a1a1a;
    border-radius: 5px;
}

#reply-form h4 {
    margin-bottom: 10px;
    font-size: 1.2em;
}

#reply-form textarea {
    width: 100%;
	min-height:100px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#reply-form button {
    background-color: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#reply-form button:hover {
    background-color: #005f8f;
}

.custom-comment-pagination {
	width:100%;
    margin-top: 30px;
    text-align: center;
}

.custom-comment-pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    background-color: #f2f2f2;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
	
	font-size: 1.1em;
    font-family: var(--primaryFont) !important;
    font-weight: normal;
    background-color: #0073aa !important;
    border-style: none !important;
    transition: background-color 0.3sease !important;
}

.custom-comment-pagination .page-numbers:hover {
    background-color: #005177 !important;
	transform: scale(1.05);
}

.custom-comment-pagination .current {
    background-color: #333 !important;
    color: #fff;
    font-weight: bold;
}

.cp-single__comments-title {
	margin-top: 0;
}

/* post ratings */
.ratings-box {
	background: #13264e;
	border-radius: 8px;
	padding: 15px;
	margin-top: 10px;
	margin-bottom: 10px;
	text-align:center;
}

.post-rating .star {
	cursor: pointer;
	color: #ccc;
	font-size: 1.5em;
}
.post-rating .star.selected {
	color: gold;
}
.post-rating .readonly .star {
	cursor: default;
	pointer-events: none;
}

.media-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
    gap: 2%;
    padding: 2%;
    max-width: 100%;
    margin-top: 10px;
}

.media-item img {
    width: 100%;
    max-height: 175px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.media-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .media-gallery {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
        padding: 10px;
    }

    .media-item img {
        max-height: 80px;
    }
}


.see-more-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.see-more-button {
	display: inline-block; /* Keep it as inline-block for better control */
	width: auto; /* Or set a max-width or fixed width if needed */
	min-width: 120px;
	text-align: center;
	padding: 10px 20px;
	background: #57cdc9;
	border-radius: 20px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.3s, transform 0.3s;
}

.see-more-button:hover {
	background: #77e6e2;
}

.download-form-wrapper {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    background: #13264e;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.download-form-wrapper form p {
    margin-bottom: 20px;
}

.download-form-wrapper label {
    display: block;
    font-weight: 600;
    margin-bottom: 0px;
    color: #ffe469;
}

.download-form-wrapper input[type="text"],
.download-form-wrapper input[type="url"],
.download-form-wrapper input[type="number"],
.download-form-wrapper input[type="file"],
.download-form-wrapper select,
.download-form-wrapper textarea {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.2s;
	color: #000;
}

.download-form-wrapper input[type="file"] {
	color: #fff;
}

.download-form-wrapper textarea {
    resize: vertical;
    min-height: 100px;
}

.download-form-wrapper input[type="submit"] {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.download-form-wrapper input[type="submit"]:hover {
    background-color: #005f8d;
}

textarea {
  resize: none;
}

.download-form-wrapper fieldset {
	margin-bottom: 15px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}