/* Reset some default browser styles for consistency */
body, h1, h2, p, ul, li {
    margin: 0;
    padding: 0;
    font-family: Tahoma, Arial, sans-serif;
}

a {
    color: -webkit-link;
    cursor: pointer;
    text-decoration: none;
}

.medium-font {
	font-size: 18px;
    font-weight: 600;
} 


/* Style the custom tooltips */
/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 100px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 3px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  top: -10px;
  left: 50%;
  margin-left: -60px;
  
  /* Font properties */
  font-size: 10px; /* Adjust the font size */
  font-weight: bold; /* Adjust the font weight if needed */
  font-family: Arial, sans-serif; /* Specify the font family */

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}



/* Default Theme - Light */
body {
	font-family: Tahoma, Arial, sans-serif; /* Consider using a more stylish font from Google Fonts or another source */
    background-color: #f4f4f4;
    color: #333333;
}

body h1 {
    color: #111111;
}

body h2 {
    color: #222222;
}

/* Dark Theme */
body.dark {
    background-color: #393838;
    color: #eeeeee;
}

body.dark h1 {
    color: #b90808;
}

body.dark h2 {
    color: #e7af3f;
}

.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #080036;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f7931e;
    z-index: 1000;
}

.sections {
    display: flex;
    justify-content: space-between; /* Distribute sections evenly across the header */
    align-items: center; /* Align sections vertically in the center */
    width: 100%; /* Occupy the entire width of the header */
}

.section {
    display: flex;
    justify-content: center;
}

.section1 {
    width: 20%;
}

.section2 {
    width: 60%;
    display: flex;
}

.section3 {
    width: 125px;
    flex-direction: column;
}

.section4 {
    width: 10%;
}

.ribbon {
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #080036;
    color: #fff;
    font-size: 14px;
    padding: 3px 10px;
    box-sizing: border-box;
}

.top-ribbon {
    position: absolute;
    top: 0px;
    width: 66%;
    background: linear-gradient(to bottom, #080036, #1e64c1);
    height: 30px;
    overflow: hidden;
}

.bottom-ribbon {
    position: absolute;
    top: 93px;
    right: 172px;
}

.ribbon-label {
    flex: 1 0 auto; /* Each label stays the same width */
    text-align: center;
    padding: 5px;
    position: relative;
    max-height: 11px;
    line-height: 2px;
    float: left;
}



.ribbon-label a {
    color: #f7931e;
    text-decoration: none; /* Remove underline */
    display: block; /* Make the link fill the label */
    padding: 5px; /* Match padding of .ribbon-label */
}

.ribbon-label a:hover {
	color: #080036;
}

.ribbon-label:hover::after {
    content: ''; /* Create a pseudo-element */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f7931e;
    z-index: -1; /* Ensure the pseudo-element is behind the label content */
}

.top-ribbon-label {
    flex: 1;
    text-align: center;
    padding: 5px;
    position: relative;
    max-height: 11px;
    line-height: 2px;
}


.top-ribbon-label a {
    color: #32ccff;
    text-decoration: none; /* Remove underline */
    display: block; /* Make the link fill the label */
    padding: 5px; /* Match padding of .ribbon-label */
    min-width: 67px;
}

.top-ribbon-label a:hover {
	color: #f7931e;
}

#notificationsLink {
	color: #ffffff;
}
/* Optional: Styling for the ribbons 
.top-ribbon::before {
    content: '';
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
}
*/
/*
.top-ribbon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    border-style: solid;
    border-width: 32px 24px 0 39px;
    border-color: #1e64c1 transparent transparent transparent;
    left: 0;
}

.top-ribbon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    border-style: solid;
    border-width: 32px 20px 0 24px;
    border-color: #32ccff transparent transparent transparent;
    top: -32px;
    right: 0;
}
*/
/*
.bottom-ribbon::before {
    border-width: 50px 50px 0 50px;
    border-color: #080036 transparent transparent transparent;
    left: 0;
}
*/

.mc-logo-img {
  position: absolute; /* Position the image absolutely within the section */
  top: 50%; /* Position the top of the image at 50% of the section's height */
  transform: translate(-50%, -50%); /* Center the image horizontally and vertically */
  min-width: 170px; /* Adjust as necessary */
  min-height: 50px;
  max-width: 20%; /* Ensure the image does not exceed the width of its container */
  max-height: 100%; /* Ensure the image does not exceed the height of its container */
  padding: 10px; /* Add padding around the image */
  box-sizing: border-box; /* Include padding in the image's total size */
}




.header-link {
    text-decoration: none; /* Removes the underline from the link */
    color: inherit; /* Keeps the original color for the text */
    display: flex; /* Makes the link a flex container */
    align-items: center; /* Vertically centers the content inside the link */
}

.header-link img.portrait-image {
    margin-right: 10px; /* Add some space between the image and the text */
}

.pointer {
	cursor: pointer;
}

.portrait-image {
    width: 275px; /* Adjust as necessary */
    height: 60px;
    margin-right: 10px;
}

.menu-toggle {
	position: absolute; /* Use absolute positioning */
  	top: 85px;
    right: 50px;
	cursor: pointer;
	float: right;
}

.collapsible-menu {
  position: absolute; /* Use absolute positioning */
  top: 100%; /* Position below the header */
  right: 40px;
  /*width: 132px;*/ /* Adjust width as needed */
  background-color: #999999;
  color: #333333;
  display: none;
  margin-top: 2px;
  z-index: 999;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #f7931e;
  margin: 5px 0;
}

/* Styling the icon in open state */
.menu-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-open span:nth-child(2) {
  opacity: 0;
}

.menu-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.menu-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.menu-list li {
  padding: 4px 16px;
  font-size: 17px;
  border-top: 3px solid #fff;
}

.menu-list a {
    color: #333333;
    text-decoration: none;
    transition: 0.3s;
}

.menu-list a:hover {
    color: #f7931e;
}

.sub-menu {
    position: absolute;
    top: -3px;
    left: -85%;
    background-color: #999999;
    font-size: 17px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    list-style-type: none;
    display: none;
}

.hasSubMenu {
    position: relative; /* Set the parent <li> to relative position */
}

#section-left, #settings-left, #section-down, #settings-down {
	padding: 0 2px;	
}

.welcome-so-so {
	/*margin: 8px 0 0 75px;*/
}

main {
    padding: 20px;
    margin-top: 110px;
}

.intro p {
    margin: 10px 0;
}

.choices {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.panel {
    flex: 1;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    margin: 0 10px;
    text-align: center;
    transition: 0.3s;
}

.panel:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.panel h2 {
    margin-bottom: 10px;
}

.signup-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 15px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.signup-btn:hover {
    background-color: #555;
}

.panel ul {
    list-style-type: disc;
    list-style-position: inside;
    padding-left: 20px;  /* Adds some space to make sure bullets don't touch the panel borders */
    margin: 10px auto 0 auto;
    text-align: left;
    max-width: 485px;
}

.panel li {
    margin-bottom: 5px; /* Adds some space between bullet points */
}


.panel-price {
	font-size: 45px;
	list-style-type: none;  
}

.login-trigger {
	max-width: 50px;
    text-align: center;
    margin-right: 60px;
}


.login-icon {
	max-width: 26px;
}

.tour-panel {
    text-align: center;
    margin: 30px 0;
}

.tour-btn {
    display: inline-block;
    padding: 20px 40px;
    background-color: #333; /* You can change this color to whatever you desire */
    color: #FFF;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn {
	margin: 6px;
}

.tour-btn h2 {
    font-size: 24px;
    margin: 0;
}

.tour-btn p {
    font-size: 18px;
}

.tour-btn:hover {
    background-color: #0056b3; /* Darker shade for hover effect */
}

form {
    font-size: 16px;
    width: 60%;
    margin: 20px auto;
}

fieldset {
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px 0;
}

.details, .payment-details {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10px;
}


.pricing-table {
    padding: 20px 0;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table td {
    text-align: center;
    border: 1px solid #e0e0e0;
    padding: 10px 20px;
}

.pricing-table h2 {
    font-size: 20px;
    text-align: center;
}


.pricing-options {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 0;
}

.pricing-options {
    font-size: 18px;
    margin: 0 20px;
}

.pricing-options input[type="radio"] {
    margin-right: 10px;
}

.pricing-options ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#month, #threeMonths, #sixMonths, #year {
	margin: -1px 3px 0 28px;
}

.plan-choice {
	width: 100%;
    margin-right: 45px;
    max-width: 210px;
}

.plan, .choice, .amount, .payment {
	margin-right: 10px;
	font-size: 17px;
    font-weight: 700;
	color: #2d9b37;
}

.left {
	float: left;
}

input[type="submit"] {
    display: block;
    margin: 20px;
    padding: 10px 20px;
    font-size: 18px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #555;
}

.row {
    margin-bottom: 20px;
}

.half {
    width: 50%;
    float: left;
    box-sizing: border-box;
}

.half:last-child {
    padding-left: 10px;
}

/* Clearfix in case you have other content following the floated elements */
.row::after {
    content: "";
    display: table;
    clear: both;
}

.toggle-switch {
    width: 380px;;
    display: block;
    position: relative;
    margin-left: 50px;
}

.switch-label {
    display: block;
    position: relative;
    cursor: pointer;
    height: 25px;
    background-color: #e0e0e0;
    border-radius: 15px;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 25px;
    background-color: #4ec359;
    border-radius: 12px;
    transition: 0.3s;
    z-index: 1;  /* Set z-index lower than the labels */
}

.switch-label .left-label,
.switch-label .right-label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    z-index: 2;  /* Ensure labels are above the slider */
}

.switch-label .left-label {
    left: 10px;
}

.switch-label .right-label {
    right: 10px;
}

#subTypeToggle:checked + .switch-label .slider {
    left: 50%;
}

#subTypeToggle {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
    min-width: 340px;
}
.toggle-choice {
	color: #0e7e19;
    font-size: 20px;
}
.toggle-choices {
	min-width: 250px;
}

.owl-carousel {
    padding: 0;
    margin: 0;
}

.owl-carousel .item { 
    height: 250px;  /* Should match the max-height you set for the images */
    display: flex;
    align-items: center; 
}

.owl-carousel img {
    max-width: 100%;
    max-height: 250px;  /* You can adjust this value as needed */
    display: block;
    margin: 0 auto; 
}

.owl-item {
	width: 219px!important;
}

.owl-dots {
	display: none;
}

.form-row {
	margin-bottom: 10px;
    font-size: 20px;
}

.profile-image {
	width: 200px;
}

#profileImage {
	width: 150px;
}

#editProfileImage {
	width: 150px;
    cursor: pointer;
}

.update-img-link {
	font-size: 11px;
	margin-left: 20%;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-left: 3px;
}

.tab {
    padding: 4px 15px;
    border: none;
    cursor: pointer;
    border-radius: 15px 15px 0 0;
    background-color: #f1f1f1;
    transition: background-color 0.3s ease; 
}

.tab-content {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    max-width: 929px;
}

.tab.active {
    background-color: #ddd; 
}

.strong {
	font-size: 17px;
	font-weight: 600;
}

.dash-date {
	font-size: 11px;
}

.dash-person {
	min-width: 120px;
}

.dash-message {
	margin-left: 8px;
	font-size: 14px;
}

.profile-form-section {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

h2 {
    width: 100%; /* This will ensure the h2 takes the full width and stays on top */
    margin-bottom: 5px;
}

.panel-label {
	color: #b90808;
}

.profile-panel {
    margin: 5px 8px;
}

/* Adjust widths as necessary */
.profile-image-panel {
    flex: 1 0 150px; /* Adjust the 150px to your preferred width for the image */
    text-align: center;
}
.profile-name-panel, .profile-location-panel, .profile-status-panel {
    flex: 10 0 200px;
}

.display-name {
	font-size: 18px;
	color: #e7af3f;
}

.profile-detail {
	margin-bottom: 3px;
}

.profile-details {
	width: 60%;
}

.activity-panel {
    /* Any styles specific to the container */
    width: 100%; /* adjust as needed */
    box-sizing: border-box; /* ensures padding doesn't increase container size */
}

.activity-panel fieldset {
    max-height: 100px;
    overflow-y: auto; /* This will activate vertical scroll if content height > max-height */
    border: 1px solid #ddd; /* adjust as needed */
    padding: 10px 20px; /* adjust as needed */
}

#create-group, #create-blog {
	cursor: pointer;
}


/* lightbox viewer */
#lightbox, #lightbox2, #gmsg-lightbox, #msg-lightbox {
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
}

#lightbox.open, #lightbox2.open {
  display: block;
}

#lightbox_content, #lightbox_content2, #gmsg_lightbox_content, #msg_lightbox_content {
  position: absolute;
  width: 460px;
  min-height: 345px;
  background: #ffffff;
  border-radius: 8px;
  left: 50%;
  top: 50%;
  margin-left: -250px;
  margin-top: -200px;
  text-align: center;
  padding-bottom: 10px;
}

#lightbox_content2, #gmsg_lightbox_content, #msg_lightbox_content {
	text-align: left;
	color: #333;	
}

#lightbox-title, #displayName {
	max-width: 200px;
    margin-top: 11px;
    float: left;
    color: #e7af3f;
    font-size: 18px;
}


#lightbox-close, #lightbox-close2, #gmsg-close, #msg-close {
  background: rgba(0, 0, 0, 0.2);
  height: 25px;
  width: 25px;
  margin: 8px;
  border-radius: 15px;
  text-align: center;
  line-height: 26px;
  color: #ffffff;
  cursor: pointer;
  float: right;
  z-index: 99999;
}
.lightbox-header, .lightbox-header2 {
	height: 45px;
	background-color: #333333;
	border-radius: 6px 6px 0 0;
	text-align: left;
	padding: 6px 0 0 20px;
}

#lightboxForm, #groupPostForm {
    display: flex;
    flex-direction: column; /* Stack children elements vertically */
    align-items: flex-start; /* Align children to the start (left) */
    color: #111111;
}

#groupPostForm {
    width: 80%;
}

#group-subject {
	width: 100%;
}

#group-message {
	width: 100%;
    height: 200px;
}

#lightboxForm label {
    margin-top: 8px; /* Add margin to the top of labels */
}

#lightboxForm input[type="text"], #lightboxForm textarea {
    margin-bottom: 8px; /* Add margin to the bottom of inputs and textareas */
    width: 260px;
}

#lightboxForm .radio-group {
    display: flex;
    flex-direction: row; /* Align radio button and its label horizontally */
    align-items: center; /* Vertically center align items */
    margin-top: 8px; /* Add margin to the top */
}

#lightboxForm button {
    margin-top: 20px; /* Add margin to the top of the button */
    align-self: center; /* Center the button */
}


/* end lightbox viewer */

.hide {
    display: none !important;
}


/* Container for group panels */
.dash-panel {
    display: flex;
    align-items: start; /* Align items at the top */
    gap: 20px; /* Gap between fieldset and group panels */
}

#group-panels {
    display: flex;
    flex-wrap: wrap; /* Allow the panels to wrap on smaller screens */
    gap: 5px; /* 5px spacing between panels */
}

.dash-panel fieldset {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping for smaller screens */
    align-items: start;
    gap: 20px; /* Adjust spacing between the .strong div and group-panels */
    width: 100%;
}

.dash-panel .info-panel {
    flex: 0 0 auto;
}

#group-panels {
    flex: 1; /* This ensures the group-panels container takes the remaining space */
}
/* Individual group panel styling */
.group-panel {
    max-height: 130px;
    max-width: 200px;
    border: 1px solid #ccc; /* You can modify this as needed */
    padding: 5px; /* Inner padding for the content */
    box-sizing: border-box; /* Ensures padding doesn't affect the overall dimensions */
}

.group-panel-name {
    font-weight: bold; /* Bold for the group name and intro */
    color: #b90808;
}

.group-panel-intro {
    font-weight: bold; /* Bold for the group name and intro */
    color: #e7af3f;
}


.group-panel-name.dark {
	color: #e7af3f;
}

/* Smaller font size for counts and pubpriv fields */
.panel-message-count, 
.panel-comment-count, 
.panel-message-pubpriv {
    font-size: 0.8rem;
}


#member-panels-container {
    /*
    position: relative;
    max-width: 730px;
    overflow: hidden;
    */
    display: flex;
    flex-direction: column; /* Change to column for vertical stacking */
    align-items: center;
    max-width: 660px;
    height: 325px; /* Adjust height as needed */
    overflow-y: auto; /* Enable vertical scrolling */
    margin: auto;
}

#member-panels {
	/*
    display: inline-block; 
    width: 100%; 
    overflow-x: auto;
    white-space: nowrap; 
    position: relative;
    margin: 0 25px;
    */
    display: flex;
    flex-wrap: wrap; /* Wrap items to form rows */
    justify-content: start; /* Align items to the start of the container */
    width: 100%;
}

#member-panels::-webkit-scrollbar {
    display: none;  /* For Chrome, Safari, and Opera */
}

.member-panel {
	/*
    margin-right: 5px;
    width: 130px;
    height: 150px;
    display: inline-block;
    align-items: center;
    overflow: hidden;
    flex-basis: 20%;
    margin: 10px;
    */
    margin: 5px;
    width: 130px;
    height: auto;
    flex: 0 0 auto;
}



.scroll-icon {
    position: absolute;
    top: 33%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 2;
    font-size: 30px;
}

#scroll-left {
    left: 0;
}

#scroll-right {
    right: 0;
}


.member-image {
    width: 70px;  /* Adjust as needed */
    height: 70px; /* Adjust as needed */
    object-fit: cover;  /* This ensures the image covers the dimensions without distortion */
    border-radius: 50%; /* Optional - if you want a circular profile picture */
    margin-left: 28px;
}

.member-name, .member-access, .member-tagline {
    text-align: center;
}

.member-name {
    font-size: 14px;
}

.member-tagline {
    font-size: 11px;
}

.member-access {
    font-size: 12px;
    color: gray;
    margin-bottom: 2px;
}


.profile-content {
    display: flex;
    margin-bottom: 20px;
}

.profile-pic {
    max-width: 100px; 
    max-height: 100px;
    margin-right: 20px;
}

.lightbox-profile-pic {
    max-width: 200px;
    max-height: 188px;
    margin-right: 20px;
}

.personal-data > div {
    margin: 5px 0;
}

.interests-section {
    max-width: 450px;
}

#groups-panels-container {
    width: 70%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.groups-panel {
	width: 100%;
    text-align: left;
    border: 1px solid #ddd;
    padding: 10px;
    margin: 10px 0;
}

.mc-red {
	color: #b90808;
}

.mc-gold {
	color: #e7af3f;
}

.mc-green {
	color: #0c990c;
}

.mc-blue {
	color: #6a6af6;
}

.groups-panel-title {
	font-size: 22px;
	color: #b90808;
}

.groups-panel-details {
	font-size: 12px;
	color: #b6b2b2;
}

.groups-panel-intro {
	font-size: 18px;
	color: #e7af3f;
}

.groups-panel-desc {
	font-size: 18px;
}

.groups-detail {
    margin-right: 15px;  /* adjust the value to your preference */
    display: inline-block;  /* keeps each piece of info in the same line */
}

#message {
	width: 100%;
    height: 200px;
}

.post-panel {
	border: 1px solid #ccc!important;
	padding: 10px;
	border-radius: 6px;
	width: 100%;
}

.comment-post-panel {
	border: 1px solid #ccc!important;
	padding: 10px;
	border-radius: 6px;
	margin: 10px 0;
}

.post-panel-subject {
	font-size: 18px;
}

.group-panel-edit {
	line-height: 18px!important;
    width: 15px;
    font-size: 12px;
    float: right;
}

.gpintro {
	margin: 8px;
	font-size: 19px;
	color: #e7af3f;
}

.desc {
	margin: 0 8px 8px 0;
}

.pubpriv {
	margin-right: 8px;
	float: right;
}

.post-panel-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-actions.action-displayName {
  margin-right: auto; /* This will push all other spans to the right */
}

.post {
	margin: 5px 0;
}

.post-date {
	float: right;
    padding-right: 25px;
    font-size: 14px;
}

.action-comments {
	margin-right: 40px;
}

.action-comment {
	margin-right: 25px;
}

.messages-notices {
	width: 100%;
	margin-bottom: 4px;
}
span.notice-x-btn {
    display: block;
    width: 12px;
    height: 14px;
    border-radius: 50%;
    background-color: #b90808;
    font-size: 14px;
    line-height: 13px;
    margin-top: 2px;
    padding-left: 3px;
    float: right;
    cursor: pointer;
}

.allnotifications {
	margin-top: 20px;
}

.notice-message {
	margin: 8px 14px;
}

.relationship-description {
	padding: 2px 0 10px 35px;
}

.trait-pair {
    width: 68%;
    text-align: center;
    margin: auto;
}

.trait-left, .trait-right {
    display: inline-block;
    width: 49%; /* Adjust width as necessary */
}

.trait-left {
    float: left;
    text-align: left;
}

.trait-right {
    float: right;
    text-align: right;
}

.personality-slider, .personality-search {
    width: 100%;
    clear: both; /* Ensures the slider is below the traits */
}

/* Optional: Clearfix for trait-pair */
.trait-pair::after {
    content: "";
    display: table;
    clear: both;
}

.score-row-container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

.score-label {
    flex-basis: 22%; /* Adjust as needed */
    text-align: left;
    padding-right: 10px;
}

.score-bar-container {
    display: flex;
    align-items: center;
    background-color: #393838; /* Background color for the bar container */
    height: 10px; /* Height of the bar */
    position: relative;
    width: 100%; /* Full width of the container */
}

.score-bar {
    height: 6px;
    background-color: blue;
    transition: width 0.4s ease-in-out; /* Smooth transition for the bar width */
}

.score-percent {
    margin-left: 5px; /* Spacing between the bar and the percentage text */
    white-space: nowrap; /* Keeps the text in a single line */
    font-size: 12px;
}


.preference-scores-panel {
	width: 100%;
}

.is_friend {
	color: rgb(0, 202, 0)
}

/* Style the scrollbar track (background) */
#member-panels-container::-webkit-scrollbar-track {
    background: #f1f1f1; /* Light gray track */
}

/* Style the scrollbar thumb */
#member-panels-container::-webkit-scrollbar-thumb {
    background: #888; /* Darker gray thumb */
    border-radius: 10px; /* Rounded corners for the thumb */
}

/* Style the scrollbar thumb when hovering over it */
#member-panels-container::-webkit-scrollbar-thumb:hover {
    background: #555; /* Even darker color when hovering */
}

/* Adjust the width of the scrollbar */
#member-panels-container::-webkit-scrollbar {
    width: 6px; /* Make the scrollbar thinner */
}

.dj-title {
	font-size: 25px;
}

.chat-main {
	margin: 15px 0 0 50px;
}

#chat-form {
	font-size: 16px;
    width: 60%;
    margin-left: 5%;
}

.chat-messages .message .meta {
	font-size: 13px;
	color: var(--dark-color-b);
	opacity: 0.7;
	margin-bottom: 4px;
}

.chat-messages .message .text {
	font-size: 18px;
	font-weight: bold;
	color: #e7af3f;/* mc-gold */
	margin-bottom: 7px;
}



/* Hide the checkbox */
.acct-state-switch {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.acct-state-switch input[type="checkbox"] {
    display: none;
}

.acct-state-switch input[type="checkbox"] + label {
    cursor: pointer;
    display: inline-block;
    width: 63px;
    height: 18px;
    background-color: #ccc;
    border-radius: 15px;
    position: relative;
}

.acct-state-switch input[type="checkbox"] + label::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: white;
    top: -2px;
    left: 0;
    transition: transform 0.4s ease;
}

.acct-state-switch input[type="checkbox"]:checked + label::after {
    transform: translateX(45px);
}

#acct-state-switch + label {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

.close-acct {
    margin-top: 20px;
}

.delete-acct-text {
	color: #000000;
	padding: 25px;
	margin-top: 30px;
}

#localVideo {
	width: 20%;
	max-width: 200px;
}


@media (max-width: 945px) {
	.post-actions {
    	flex-basis: 100%; /* On small screens, take full width */
		margin-bottom: 5px; /* Add margin for stacked items */
	}
	
	body {
		margin-top: 148px;
	}
	
	.top-header {
		height: 120px;
	}
}

@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
    }
    
    .sections {
        width: auto;
    }
    
    .section {
        width: 100%;
    }
    
    .section1 {
        order: 2; /* Move section 2 to the bottom */
    }
    .section2 {
        order: 1; /* Move section 2 to the bottom */
    }
    .section3 {
        display: none;
    }
    .welcome-so-so {
		display: none;
	}
    .choices {
        flex-direction: column;
        width: 100%;
    }

    .panel {
        margin: 10px 0;
    }
    
    .top-ribbon {
		flex-direction: column;
		left: 173px;
		width: 200px;
		height: auto;
	}
	
	.mc-logo-img {
	    position: absolute;
	    top: 15%;
	    left: 80px;
    }
}

@media screen and (max-width: 600px) {
    .member-panel {
        flex-basis: 50%;
    }
    
    body {
		margin-top: 155px;
	}
    
    .top-header {
		height: 140px;
	}
}

@media (max-width: 480px) {
  .post-actions {
    flex-basis: 100%; /* On small screens, take full width */
    margin-bottom: 5px; /* Add margin for stacked items */
  }
}
