:root {
  --color-spd: #D1735E;
  --color-union: #141D26;
  --color-gruene: #518348;
  --color-fdp: #CEB24C;
  --color-afd: #3B72A9;
  --color-linke: #833E74;

  --bs-blue: #3B72A9;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #833E74;
  --bs-red: #D1735E;
  --bs-orange: #fd7e14;
  --bs-yellow: #C0B552;
  --bs-green: #518348;
  --bs-teal: #20c997;
  --bs-cyan: #3498db;
  --bs-black: #141D26;
  --bs-white: #fff;
  --bs-gray: #95a5a6;
  --bs-gray-dark: #141D26;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #ecf0f1;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #b4bcc2;
  --bs-gray-600: #95a5a6;
  --bs-gray-700: #7b8a8b;
  --bs-gray-800: #141D26;
  --bs-gray-900: #141D26;
  --bs-primary: #141D26;
  --bs-secondary: #E7F3FC;
  --bs-success: var(--color-gruene);
  --bs-info: var(--color-afd);
  --bs-warning: var(--color-fdp);
  --bs-danger: var(--color-spd);
  --bs-light: var(--color-linke);
  --bs-dark: var(--color-union);
  --bs-primary-rgb: 20, 29, 38;
  --bs-secondary-rgb: 149, 165, 166;
  --bs-success-rgb: 24, 188, 156;
  --bs-info-rgb: 52, 152, 219;
  --bs-warning-rgb: 243, 156, 18;
  --bs-danger-rgb: 231, 76, 60;
  --bs-light-rgb: 236, 240, 241;
  --bs-dark-rgb: 123, 138, 139;
  --bs-primary-text-emphasis: #141D26;
  --bs-secondary-text-emphasis: #141D26;
  --bs-success-text-emphasis: #0a4b3e;
  --bs-info-text-emphasis: #153d58;
  --bs-warning-text-emphasis: #613e07;
  --bs-danger-text-emphasis: #5c1e18;
  --bs-light-text-emphasis: #7b8a8b;
  --bs-dark-text-emphasis: #7b8a8b;
  --bs-primary-bg-subtle: #d5d8dc;
  --bs-secondary-bg-subtle: #eaeded;
  --bs-success-bg-subtle: #d1f2eb;
  --bs-info-bg-subtle: #d6eaf8;
  --bs-warning-bg-subtle: #fdebd0;
  --bs-danger-bg-subtle: #fadbd8;
  --bs-light-bg-subtle: #fcfcfd;
  --bs-dark-bg-subtle: #ced4da;
  --bs-primary-border-subtle: #abb2b9;
  --bs-secondary-border-subtle: #d5dbdb;
  --bs-success-border-subtle: #a3e4d7;
  --bs-info-border-subtle: #aed6f1;
  --bs-warning-border-subtle: #fad7a0;
  --bs-danger-border-subtle: #f5b7b1;
  --bs-light-border-subtle: #ecf0f1;
  --bs-dark-border-subtle: #b4bcc2;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-font-sans-serif: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  /* --bs-body-color: #212529; */
  /* --bs-body-color-rgb: 33, 37, 41; */
  --bs-body-bg: #fff;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-emphasis-color: #141D26;
  --bs-emphasis-color-rgb: 20, 29, 38;
  --bs-secondary-color: rgba(33, 37, 41, 0.75);
  --bs-secondary-color-rgb: 33, 37, 41;
  --bs-secondary-bg: #ecf0f1;
  --bs-secondary-bg-rgb: 236, 240, 241;
  --bs-tertiary-color: rgba(33, 37, 41, 0.5);
  --bs-tertiary-color-rgb: 33, 37, 41;
  --bs-tertiary-bg: #f8f9fa;
  --bs-tertiary-bg-rgb: 248, 249, 250;
  --bs-heading-color: inherit;
  --bs-link-color: #141D26;
  --bs-link-color-rgb: 20, 29, 38;
  --bs-link-decoration: underline;
  --bs-link-hover-color: #13967d;
  --bs-link-hover-color-rgb: 19, 150, 125;
  --bs-code-color: #e83e8c;
  --bs-highlight-color: #141D26;
  --bs-highlight-bg: #fdebd0;
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --bs-border-color: #dee2e6;
  --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
  --bs-border-radius: 0.375rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-xxl: 2rem;
  --bs-border-radius-2xl: var(--bs-border-radius-xxl);
  --bs-border-radius-pill: 50rem;
  --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
  --bs-focus-ring-width: 0.25rem;
  --bs-focus-ring-opacity: 0.25;
  --bs-focus-ring-color: rgba(44, 62, 80, 0.25);
  --bs-form-valid-color: #18bc9c;
  --bs-form-valid-border-color: #18bc9c;
  --bs-form-invalid-color: #e74c3c;
  --bs-form-invalid-border-color: #e74c3c;
}

@font-face {
  font-family: 'Roboto Mono';
  src: url('RobotoMono-Regular.ttf') format('truetype');
  font-weight: lighter;
  font-style: normal;
}

body {
  margin-top: 0px;
  overflow-x: hidden;
  }

  .tweets-section-container {
    background-color: #141D26;
    padding-left: 0px;
    padding-right: 0px;
  }

  @font-face {
    font-family: 'GT America';
    src: url('/fonts/GT-America-Standard-Regular-Trial.ttf') format('truetype');
  }

  .tweet {
    position: relative;
    background-color: #141D26;
    border: .5px solid #4a5056;
    border-radius: 0px;
    margin-bottom: 0px;
    padding: 10px;
    width: 100%;
    height: auto;
    font-family: 'GT America', Arial, Helvetica, sans-serif;
    display: flex;
    margin-top: 0px;
    margin-left: -8px;
  }


  .tweet-profile {
    width: 55px;
  }

  .tweet-profile img {
    border-radius: 50%;
    height: 35;
    width: 35;  
    margin-right: 0px;
    display: inline-block;
    margin-top: 0px;
    margin-left: 3px;
  }

  .party-color-container {
    position: absolute;
    bottom: 5px;
    left: 25px;
    border-radius: 50%;
    display: inline-block; /* Adjust as needed */
  }

.party-color {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    border: 1.5px solid rgba(231, 243, 252, 1);
    font-family: 'Public Sans', sans-serif;
}

.party-name {
    position: absolute;
    bottom: 18px;
    left: -10px;
    /* transform: translateX(-50%); */
    background-color: #141D26; /* Tooltip background */
    border: 1px solid rgba(231, 243, 252, 1); /* Tooltip border */
    padding: 1px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 100; /* Ensure it's above other content */
    white-space: nowrap;
    font-size: 2;
    font-family: 'Roboto Mono';
    color: rgba(231, 243, 252, 1);
    opacity: 0;
    transition: opacity 0s;
    pointer-events: none; /* Prevents the span from blocking clicks */
}

.party-color-container:hover::before {
  content: "";
  position: absolute;
  bottom: 14px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(231, 243, 252, 1); /* Arrow pointing right */
  font-family: 'Public Sans', sans-serif;
}


.party-color-container:hover .party-name {
    opacity: 1; /* Show the party name on hover */
    font-family: 'Public Sans', sans-serif;
    font-size: small;
}

  .hashtag {
    color: #1DA1F2;
  }

  .links {
    text-decoration: none;
    color: #1DA1F2;
  }

  .links:hover {
      text-decoration: underline;
  }


  .tweet:hover {
    background-color: #1e2e3d;
  } 
  
  a:hover img {
    filter: brightness(85%);
  }

  .tweet-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    
  }

  .tweet-header {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
  }

  .tweet-header-content {
    display: flex;
    align-items: center;
  }

  .tweet-header-content img {
    border-radius: 50%;
    height: 15px;
    margin-left: 2px;
    width: 15px;
  }

  .tweet-header-content h3 {
    margin: 0;
    font-size: 12px;
    font-weight: bold;
    font-family: 'GT America', Arial, Helvetica, sans-serif;
    color: #F7F9F9;
    text-decoration: none;
  }

  .tweet-username p {
    color: #8B98A5;
    font-family: 'GT America', Arial, Helvetica, sans-serif;
    margin: 0;
    font-size: 12px;
    margin-left: 2px;
  }

  .tweet-body p {
    font-size: 12px;
    margin: 0;
    color: #F7F9F9;
    line-height: 1.3;
  }

  .tweet-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1px;
  }

  .stat {
    display: flex;
    align-items: center;
    color: #8B98A5;
    font-size: 12px;
    margin-bottom: -12px;
    margin-top: -5px;
  }

  .stat img {
    height: 20px;
    margin-right: 5px;
    margin-left: -3px;
    width: 20px;
  }
  
  .tweet-header-content h3 a {
    text-decoration: none !important;
}

  a:hover .profile-name {
  text-decoration: underline;
}

  a:link {
  text-decoration: none; 
}

  a:visited {
  text-decoration: none; 
}

.tweet-spinner {
  position: absolute;
  display: inline;
  top: 520px;
}

#tweet-card {
  height: 100%;
}

#top-25-tweets{
  height: calc(100% - 50px);
  overflow-y: hidden;
  width: 100%; 
}

#tweet-div-id {
  overflow-y: hidden; 
  position: relative;
  width: 100%;
  height: calc(100% - 50px);
}

.tweet-ride{
  height:100%;
}

/* div {
  height: 100%
} */

#tweet-spinner-id{
  height: 100%;
}

@media (max-width: 991px) {
  .tweet-ride {
    height: 1000px;
  }
}