
/* ============================================
   12ANDUS COSMIC DESIGN SYSTEM
   ============================================ */

:root {
    /* ========================================
       COLOR PALETTE - DEEP SPACE
       ======================================== */

    /* Primary: Deep Space Backgrounds */
    --color-void: #0a0a12;
    --color-cosmos: #0d1321;
    --color-nebula: #151b2d;
    --color-twilight: #1d2541;

    /* Secondary: Celestial Accents */
    --color-stardust: #c9b8ff;
    --color-moonbeam: #e8e4f0;
    --color-aurora-teal: #00d4aa;
    --color-aurora-pink: #ff6b9d;
    --color-solar-gold: #ffd700;
    --color-solar-amber: #ffb347;

    /* Accent: Cosmic Highlights */
    --color-supernova: #ff4757;
    --color-comet: #5f9ea0;
    --color-mercury: #b8c5d6;

    /* Functional Colors */
    --color-text-primary: #e8e4f0;
    --color-text-secondary: #9ca3b0;
    --color-text-muted: #6b7280;
    --color-link: #c9b8ff;
    --color-link-hover: #00d4aa;

    /* Surface Colors */
    --color-surface-dark: rgba(13, 19, 33, 0.95);
    --color-surface-card: rgba(29, 37, 65, 0.85);
    --color-surface-elevated: rgba(45, 55, 85, 0.9);
    --color-glass: rgba(200, 200, 220, 0.08);
    --color-glass-border: rgba(200, 200, 220, 0.15);

    /* State Colors */
    --color-success: #00d4aa;
    --color-warning: #ffb347;
    --color-error: #ff4757;
    --color-info: #c9b8ff;

    /* ========================================
       TYPOGRAPHY
       ======================================== */

    /* Font Families */
    --font-display: 'Playfair Display', 'EB Garamond', Georgia, serif;
    --font-body: 'Source Sans Pro', 'Asap', system-ui, -apple-system, sans-serif;
    --font-accent: 'Sacramento', 'Dancing Script', cursive;
    --font-mono: Monaco, 'Courier New', Courier, monospace;
    --font-astro: 'HamburgSymbols', sans-serif;

    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
    --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
    --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
    --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
    --text-xl: clamp(1.3rem, 1.15rem + 0.75vw, 1.6rem);
    --text-2xl: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
    --text-3xl: clamp(2rem, 1.7rem + 1.5vw, 3rem);
    --text-4xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
    --text-5xl: clamp(3rem, 2.5rem + 3vw, 5rem);

    /* Font Weights */
    --weight-light: 300;
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.2;
    --leading-snug: 1.35;
    --leading-normal: 1.5;
    --leading-relaxed: 1.7;
    --leading-loose: 2;

    /* Letter Spacing */
    --tracking-tighter: -0.05em;
    --tracking-tight: -0.02em;
    --tracking-normal: 0;
    --tracking-wide: 0.05em;
    --tracking-wider: 0.1em;
    --tracking-widest: 0.2em;

    /* ========================================
       SPACING SCALE
       ======================================== */

    --space-0: 0;
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */
    --space-32: 8rem;     /* 128px */

    /* ========================================
       BORDERS & RADII
       ======================================== */

    --radius-none: 0;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    --border-thin: 1px;
    --border-medium: 2px;
    --border-thick: 4px;

    /* ========================================
       SHADOWS & GLOWS
       ======================================== */

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5), 0 6px 10px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.6), 0 12px 20px rgba(0, 0, 0, 0.5);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.3);

    /* Glows */
    --glow-stardust: 0 0 20px rgba(201, 184, 255, 0.3), 0 0 40px rgba(201, 184, 255, 0.15);
    --glow-aurora: 0 0 20px rgba(0, 212, 170, 0.4), 0 0 40px rgba(0, 212, 170, 0.2);
    --glow-solar: 0 0 20px rgba(255, 215, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.2);
    --glow-cosmic: 0 0 30px rgba(255, 107, 157, 0.3), 0 0 60px rgba(95, 158, 160, 0.2);
    --glow-supernova: 0 0 20px rgba(255, 71, 87, 0.4), 0 0 40px rgba(255, 71, 87, 0.2);

    /* ========================================
       TRANSITIONS & ANIMATIONS
       ======================================== */

    /* Durations */
    --duration-instant: 50ms;
    --duration-fast: 150ms;
    --duration-base: 250ms;
    --duration-slow: 400ms;
    --duration-slower: 600ms;
    --duration-slowest: 1000ms;

    /* Easing Functions */
    --ease-linear: linear;
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-in-expo: cubic-bezier(0.7, 0, 0.84, 0);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

    /* Transition Presets */
    --transition-fast: 150ms ease-out;
    --transition-base: 250ms ease-out;
    --transition-slow: 400ms ease-out;
    --transition-slower: 600ms ease-out;

    /* ========================================
       Z-INDEX SCALE
       ======================================== */

    --z-behind: -1;
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-notification: 800;
    --z-stars: -1;

    /* ========================================
       LAYOUT
       ======================================== */

    /* Container Widths */
    --container-xs: 480px;
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;

    /* Component Sizes */
    --header-height: 80px;
    --header-height-mobile: 60px;
    --sidebar-width: 280px;
    --sidebar-width-collapsed: 64px;
    --footer-height: 200px;

    /* ========================================
       BREAKPOINTS (for reference in JS)
       ======================================== */

    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;
}

/* ============================================
   DARK THEME OVERRIDES (future-proof)
   ============================================ */

[data-theme="dark"],
.theme-dark {
    /* Already dark by default, but here for completeness */
    --color-bg-primary: var(--color-void);
    --color-bg-secondary: var(--color-cosmos);
}

/* ============================================
   REDUCED MOTION SUPPORT
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    :root {
        --duration-instant: 0ms;
        --duration-fast: 0ms;
        --duration-base: 0ms;
        --duration-slow: 0ms;
        --duration-slower: 0ms;
        --duration-slowest: 0ms;
        --transition-fast: 0ms;
        --transition-base: 0ms;
        --transition-slow: 0ms;
        --transition-slower: 0ms;
    }
}

/* ============================================
   COSMIC TYPOGRAPHY SYSTEM
   ============================================ */

/* ========================================
   BASE TYPOGRAPHY
   ======================================== */

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-normal);
    line-height: var(--leading-normal);
    color: var(--color-text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ========================================
   HEADINGS
   ======================================== */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-display);
    font-weight: var(--weight-normal);
    line-height: var(--leading-tight);
    color: var(--color-moonbeam);
    margin-top: 0;
    margin-bottom: var(--space-4);
}

h1, .h1 {
    font-size: var(--text-4xl);
    letter-spacing: var(--tracking-tight);
    text-shadow: 0 0 40px rgba(201, 184, 255, 0.2);
}

h2, .h2 {
    font-size: var(--text-3xl);
    letter-spacing: var(--tracking-tight);
}

h3, .h3 {
    font-size: var(--text-2xl);
}

h4, .h4 {
    font-size: var(--text-xl);
}

h5, .h5 {
    font-size: var(--text-lg);
    font-family: var(--font-body);
    font-weight: var(--weight-semibold);
}

h6, .h6 {
    font-size: var(--text-base);
    font-family: var(--font-body);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

/* Heading links */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
.h1 a, .h2 a, .h3 a, .h4 a, .h5 a, .h6 a {
    color: inherit;
    text-decoration: none;
}

h1 a:hover, h2 a:hover, h3 a:hover,
h4 a:hover, h5 a:hover, h6 a:hover {
    color: var(--color-stardust);
}

/* ========================================
   SPECIAL HEADLINE STYLES
   ======================================== */

/* Gradient headline with shimmer */
.headline-cosmic {
    font-family: var(--font-display);
    font-style: italic;
    background: linear-gradient(90deg,
        var(--color-solar-gold) 0%,
        var(--color-aurora-pink) 50%,
        var(--color-stardust) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Script accent headline */
.headline-accent {
    font-family: var(--font-accent);
    font-size: var(--text-3xl);
    font-weight: var(--weight-normal);
    color: var(--color-stardust);
}

/* Stardust glow headline */
.headline-glow {
    text-shadow:
        0 0 10px rgba(201, 184, 255, 0.5),
        0 0 20px rgba(201, 184, 255, 0.3),
        0 0 40px rgba(201, 184, 255, 0.2);
}

/* ========================================
   BODY TEXT
   ======================================== */

p {
    margin-top: 0;
    margin-bottom: var(--space-4);
    color: var(--color-text-primary);
}

p:last-child {
    margin-bottom: 0;
}

/* Lead paragraph */
.lead,
.text-lead {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
}

/* Small text */
small,
.small,
.text-small {
    font-size: var(--text-sm);
}

.text-xs {
    font-size: var(--text-xs);
}

/* Muted text */
.text-muted,
.elgg-subtext {
    color: var(--color-text-muted);
}

.elgg-subtext {
    font-size: var(--text-sm);
    font-style: italic;
}

/* Secondary text */
.text-secondary {
    color: var(--color-text-secondary);
}

/* ========================================
   LINKS
   ======================================== */

a {
    color: var(--color-link);
    text-decoration: none;
    transition: color var(--transition-fast),
                text-shadow var(--transition-fast);
}

a:hover,
a:focus {
    color: var(--color-link-hover);
    text-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
}

a:active {
    color: var(--color-aurora-teal);
}

/* Quiet links (inherit color) */
.elgg-quiet a,
a.elgg-quiet {
    color: var(--color-text-muted);
}

.elgg-quiet a:hover,
a.elgg-quiet:hover {
    color: var(--color-stardust);
}

/* Loud links (accent color) */
.elgg-loud,
a.elgg-loud {
    color: var(--color-stardust);
}

/* ========================================
   LISTS
   ======================================== */

ul, ol {
    margin-top: 0;
    margin-bottom: var(--space-4);
    padding-left: var(--space-6);
}

li {
    margin-bottom: var(--space-2);
}

/* Unstyled list */
.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.list-unstyled li {
    margin-bottom: 0;
}

/* Inline list */
.list-inline {
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

/* ========================================
   BLOCKQUOTES
   ======================================== */

blockquote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-stardust);
    border-left: 3px solid var(--color-aurora-teal);
    padding: var(--space-4) var(--space-6);
    margin: var(--space-6) 0;
    background: var(--color-glass);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    position: relative;
}

blockquote::before {
    content: '\201C';
    font-size: var(--text-5xl);
    color: var(--color-aurora-teal);
    opacity: 0.3;
    position: absolute;
    left: var(--space-3);
    top: 0;
    line-height: 1;
}

blockquote p {
    margin-bottom: 0;
}

blockquote cite,
blockquote footer {
    display: block;
    margin-top: var(--space-3);
    font-size: var(--text-sm);
    font-style: normal;
    color: var(--color-text-muted);
}

blockquote cite::before,
blockquote footer::before {
    content: '\2014\00a0';
}

/* ========================================
   CODE & PREFORMATTED
   ======================================== */

code, kbd, pre, samp {
    font-family: var(--font-mono);
}

code {
    padding: var(--space-1) var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-aurora-teal);
    background: var(--color-surface-dark);
    border-radius: var(--radius-sm);
}

pre {
    padding: var(--space-4);
    margin: var(--space-4) 0;
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-text-primary);
    background: var(--color-surface-dark);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-md);
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

pre code {
    padding: 0;
    background: transparent;
    border-radius: 0;
    color: inherit;
}

kbd {
    padding: var(--space-1) var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-moonbeam);
    background: var(--color-twilight);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-sm);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}

/* ========================================
   HORIZONTAL RULES
   ======================================== */

hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        var(--color-glass-border),
        var(--color-stardust),
        var(--color-glass-border),
        transparent);
    margin: var(--space-8) 0;
}

/* Decorative divider */
hr.divider-cosmic {
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        var(--color-aurora-teal),
        var(--color-stardust),
        var(--color-aurora-pink),
        transparent);
}

/* ========================================
   TEXT UTILITIES
   ======================================== */

/* Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

/* Transforms */
.text-lowercase { text-transform: lowercase; }
.text-uppercase { text-transform: uppercase; }
.text-capitalize { text-transform: capitalize; }

/* Weight */
.font-light { font-weight: var(--weight-light); }
.font-normal { font-weight: var(--weight-normal); }
.font-medium { font-weight: var(--weight-medium); }
.font-semibold { font-weight: var(--weight-semibold); }
.font-bold { font-weight: var(--weight-bold); }

/* Style */
.font-italic { font-style: italic; }
.font-normal-style { font-style: normal; }

/* Line height */
.leading-none { line-height: var(--leading-none); }
.leading-tight { line-height: var(--leading-tight); }
.leading-normal { line-height: var(--leading-normal); }
.leading-relaxed { line-height: var(--leading-relaxed); }
.leading-loose { line-height: var(--leading-loose); }

/* Letter spacing */
.tracking-tight { letter-spacing: var(--tracking-tight); }
.tracking-normal { letter-spacing: var(--tracking-normal); }
.tracking-wide { letter-spacing: var(--tracking-wide); }
.tracking-wider { letter-spacing: var(--tracking-wider); }

/* Truncation */
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   SELECTION STYLING
   ======================================== */

::selection {
    background: rgba(201, 184, 255, 0.3);
    color: var(--color-moonbeam);
}

::-moz-selection {
    background: rgba(201, 184, 255, 0.3);
    color: var(--color-moonbeam);
}

/* ========================================
   ELGG SPECIFIC TYPOGRAPHY OVERRIDES
   ======================================== */

/* Main page heading */
.elgg-heading-main {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--color-moonbeam);
    margin-bottom: var(--space-4);
}

/* Basic headings */
.elgg-heading-basic {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--color-stardust);
    font-weight: var(--weight-normal);
}

/* Site heading/logo area */
.elgg-heading-site,
.elgg-heading-site:hover {
    font-family: var(--font-display);
}

.elgg-heading-site a {
    color: var(--color-moonbeam);
    text-shadow: 0 0 20px rgba(201, 184, 255, 0.3);
}

/* Help text */
.elgg-text-help {
    display: block;
    font-size: var(--text-sm);
    font-style: italic;
    color: var(--color-text-muted);
    margin-top: var(--space-2);
}

/* Output container (user content) */
.elgg-output {
    margin-top: var(--space-4);
    line-height: var(--leading-relaxed);
}

.elgg-output ul,
.elgg-output ol {
    margin: 0 0 var(--space-4) var(--space-6);
    padding-left: var(--space-4);
}

.elgg-output ul {
    list-style-type: disc;
}

.elgg-output ol {
    list-style-type: decimal;
}

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

body {
	font-weight: 400 !important;
}

.working {
    background: url('https://new2.12andus.com/mod/theme_extension/img/ui-anim_basic_16x16.gif') no-repeat left !important;
    font-style: italic;
}

ul.nav-tabs li.info-thumbnail-link img {
    max-width: 140px;
}

div.report-bigbuttons .description {
    min-height: 110px;
}

div.report-bar label {
    text-transform: capitalize;
    width: 125px;
}

div.report-bar {
    margin-bottom: 5px;
}

div.report-bar td.label {
    width: 165px;
    text-align: right;
    padding-right: 5px;
}

div.report-bar td.label label {
    /*overflow: hidden;
    text-overflow: ellipsis;*/
    vertical-align: middle;
    white-space: normal;
}

div.report-bar td.value {
    padding-left: 3px;
}

div.general-report-link {
    padding: 15px;
    clear: both;
}

div.run-general-report {
    /* margin-top: 15px; */
    margin-left: 10px;
}

div.user-meta-bottom {
    float: left;
    display: none;
}

div.quality-links {
    width: 100%;
}

div.explanation-text {
    clear: both;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    margin-bottom: 15px;
    
}

@media screen and (max-width:650px){
    div.user-meta-top {
	display: none;
    }
    div.user-meta-bottom {
	display: block;
    }
    ul.elgg-menu-entity-default {
	margin-top: 0px;
    }
    div.run-general-report {
    }
    
    ul.elgg-menu-entity-default li {
	margin-left: 5px;
    }
    
    ul.elgg-menu-entity-default {
	margin-right: 0px;
    }
    
    body.friends  ul.elgg-menu-entity-default li,
    #search-results ul.elgg-menu-entity-default li {
	display: inline-block;
	margin-left: 0px;
    }
    
    body.friends  ul.elgg-menu-entity-default,
    #search-results ul.elgg-menu-entity-default {
	margin-left: auto;
	margin-right: auto;
	float: left;
    }
    
    body.friends li.elgg-menu-item-befriend,
    #search-results li.elgg-menu-item-befriend {
	margin-left: 5px;
    }
    
    body.friends  .instagram div.instagram-entry,
    #search-results .instagram div.instagram-entry {
	width: 75px;
	height: 75px;
    }
    body.friends .instagram div.instagram-entry img,
    #search-results .instagram div.instagram-entry img {
	width: 75px;
	height: 75px;
    }
}



@media screen and (max-width:992px){

    div.profile-ownerblock div#profile-owner-block {
	width: 100%;
    
    }

    div.profile-body {
	clear: both;
    }
}

span.elgg-icon-icon-overlay {
    background: url("https://new2.12andus.com/mod/theme_extension/img/12andus-logo_RGB_16x16 optimized.gif") no-repeat scroll left bottom rgba(0, 0, 0, 0) !important;
    height: 100%;
    position: absolute;
    width: 100%;
}

span.elgg-icon-icon-overlay-large {
    background: url("https://new2.12andus.com/mod/theme_extension/img/12andus-logo_RGB_large.gif") no-repeat scroll left bottom rgba(0, 0, 0, 0) !important;
    height: 100%;
    position: absolute;
    width: 100%;
}


span.elgg-icon-premium-icon-overlay {
    background: url("https://new2.12andus.com/mod/theme_extension/img/user-premium-band-small.png") no-repeat scroll bottom rgba(0, 0, 0, 0) !important;
    height: 100%;
    position: absolute;
    width: 100%;
}

div.members-search-list span.elgg-icon-premium-icon-overlay-large {
    width: 56px;
}

div.members-search-list span.elgg-icon-hover-menu {
    right: 10px;
}

span.elgg-icon-premium-icon-overlay-large {
    background: url("https://new2.12andus.com/mod/theme_extension/img/user-premium-band-small.png") no-repeat scroll bottom rgba(0, 0, 0, 0) !important;
    height: 100%;
    position: absolute;
    width: 100%;
}



.elgg-heading-site, .elgg-heading-site:hover {
    float: left;
	width: 261px;
	height: 100px;
	margin-bottom: 20px;
}

.birthdata-incomplete {
    font-style: italic;
    color: grey;
}

.birthdata-details .text {
	float: left;
	max-width: 60%;
	line-height: 22px;
}

.birthdata-mine .elgg-menu-item-edit {
	margin-right: 50px;
}

a.advanced-search-link {
    font-size: xx-small;
}


form.advanced-search div.option-box {
    margin-top: 10px;
}

div.qualities-dropdown input.date-ctl {
    width: 150px;
}

div.advanced-search-box {
    padding: 10px;
    margin-top: 5px;
}

div.advanced-search-box .elgg-search input[type="submit"] {
    float: right;
    position: inherit;
    margin-top: 5px;
    width: 200px;
    display: block;
}

div.advanced-search-box label.btn {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 100%;
}

div.advanced-search-box label {
    font-size: 100%;
}

div.advanced-search-box h2 {
    display: inline-block;
        top: 5px;
    position: relative;
}

div.advanced-search-box div.planet-selector-row-item {
    /*margin: 5px;*/
    display: inline;
    width: 30px;
}

div.advanced-search-box div.planet-selector-row-item img {
    max-width: 30px;
}

div.advanced-search-box .option-box-gender .btn,
div.advanced-search-box .option-box-gender .btn.active {
    -webkit-box-shadow: none;
    box-shadow: none;
    padding-left: 0px;
    padding-right: 2px;
}

@media screen and (max-width: 667px) {
    div.advanced-search-box .city-control {
	height: 68px !important;
    }
}

label > input + img { /* IMAGE STYLES */
  cursor:pointer;
  border: 2px solid #f5f5f5;
}

div.planet-selector-disabled img {
    opacity: 0.4;
    cursor: not-allowed;
}


label > input:checked + img { /* (RADIO CHECKED) IMAGE STYLES */
  border:2px solid #f00;
}

select.distance-control, input.city-control {
    width: inherit;
    display: inline;
}

select.distance-control {
    margin-bottom: 5px;
}

input.city-control {
    min-width: 200px;
}



div.sharebuttons {
    height: 25px;
}
div.sharebuttons div.sharebutton {
    margin:5px;
    float: left;
}
div.sharebuttons div.sharebutton div.email {
    margin-top: 2px;
}


div#harmonic div.sharing-form {
    margin-top: 10px;
    margin-bottom: 20px;
    clear: both;
}

div#harmonic div.post-qualities-form {
    
    padding: 5px;
    border: 1px solid #555;
    
}


div#harmonic div.sharing-form h1,
div#harmonic div.sharing-form div.buttons,
div#harmonic div.sharing-form textarea {
    padding: 5px;
    border: 1px solid #555;
}






div.warning_dialog, div#number-studies {

    clear: both;
    margin-top: 60px;
    margin-bottom: 40px;
    
    margin-left: 100px;
    margin-right: 100px;
    
    padding: 15px;
    
    font-weight: bold;
    
    /* border: 1px solid red; */
}

div.warning_dialog, div#number-studies a {
    color: red;
}

@media screen and (max-width: 768px) {
    div.warning_dialog, div#number-studies {
	margin-left: 5px;
	margin-right: 5px;
    }
    
    ul.elgg-menu-entity-default {
	margin-top: 0px;
	margin-right: 0px;
    }
    
    #search-results ul.elgg-menu-entity-default li {
	display: inline-block;
    }
    
    #search-results ul.elgg-menu-entity-default {
	margin-left: auto;
	margin-right: auto;
    }
    
    
}

span.message-on-topbar {
    left: auto;
    margin-left: 2px;
    
}

#profile-owner-block {
 width: 230px;
 }
 
 
 
 
 /**  Modifications **/
 nav#mainMenu .fa {
    font-size: 125%;
 }
 
 
 .navbar .navbar-brand {
    text-transform: none !important;
 }
 
 #elgg-river-selector {
    display: none;
 }
 
 li.elgg-menu-item-rss {
    display: none !important;
 }
 
 .elgg-module {
    padding: 10px 15px;
}

div.sharebuttons div.facebook {
    margin-top: 2px;
}

div.sharebuttons div.email i {
    font-size: 1.3em;
}

form label {
    width: 100%;
}

form.advanced-search label {
    width: inherit;
}

.get-premium:hover {
    background-color: #eee;
}

.get-premium h3 {
    font-size: 100%;
    margin-top: 0px;
    line-height: 1.42857;
}

.get-premium {
    margin-top: 10px;
}

input[type="button"],
input[type="submit"] {
    /*font-size: 1.2em;*/
    padding-left: 10px;
    padding-right: 10px;
    width: auto;
}

input[type="checkbox"] {
    height: inherit;
    display: inline;
}

div#contactform div.blurb {
    margin-bottom: 20px;
}

div#contactform div.formfield {
    margin-top: 30px;
}

div#contactform div.body {
    margin-top: 40px;
}

div#contactform input[type="submit"] {
    padding-left: 10px;
    padding-right: 10px;
}

footer div.social_connect_site_connect div {
display: none;
}

footer div.social_connect_site_connect {
    float: right;
}


div.mutual-attraction div.mutual-label {
    text-align: center;
    font-size: 1.3em;
    margin-bottom: 10px;
}



/* Tweak admin menu */
div.elgg-module-widget div.elgg-head {
    height: 50px;
}

div.elgg-module-widget div.elgg-head h3 {
    margin-top: 5px;
}

/* Tweak error messages */
div.report-error {
    color: #f00;
    font-weight: bold;
}


div.register-footer {
    margin-top: 20px;
}


div#innate-predispositions td.label {
    font-size: 100%;
}

div#innate-predispositions div.quality_container {
    /*cursor: pointer;*/

}


li.elgg-menu-item-register a.btn,
li.elgg-menu-item-add a.btn {
    font-size: 1.2em;
}


div.nextreport {
    clear: both;
}

div.nextreport a {
    font-size: 2em;
}


div.messages-buttonbank .btn {
    background-color: #bababa;
}

div.messages-buttonbank .btn:hover {
    background-color: #ddd;
}

.elgg-menu-title-default {
    margin-bottom: 10px !important;
}

.elgg-menu-title-default li {
    margin-left: 5px;
}




.nav-members li {
    
}
.nav-members li a {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

div.field-languages label {
    width: auto;
    margin-right: 10px;
    min-width: 0;
    width: auto;
}
	

/* Report titles */
.astro-title-main {
    margin: 1em 0 0.5em 0;
    font-weight: 500;
    font-family: 'Arial', sans-serif;
    position: relative;
    font-size: 32px;
    line-height: 40px;
    padding: 15px 15px 15px 78px;
    color: #355681;
    box-shadow: inset 0 0 0 1px rgba(53,86,129, 0.4), inset 0 0 5px rgba(53,86,129, 0.5);
    border-radius: 0 10px 0 10px;
}

.astro-title-sub {
    margin: 1em 0 0.5em 0;
    font-weight: 300;
    font-family: 'Arial', sans-serif;
    position: relative;
    font-size: 22px;
    line-height: 40px;
    padding: 15px 15px 15px 68px;
    color: #355681;
    box-shadow: inset 0 0 0 1px rgba(53,86,129, 0.4), inset 0 0 5px rgba(53,86,129, 0.5);
    border-radius: 0 10px 0 10px;
}

div.astro-controls div.info-thumbnail-link div.caption {
    min-height: 380px;
}


@media screen and (max-width:995px){
        div.col-md-3 {
                clear: both !important;
        }
}



.button-hover {
    font-size: small;
}


div.tab-contents {
    min-height: 700px;
}

div#qualities-content .nav-tabs {
    margin-bottom: 60px;
}




#number-studies a,
#number-studies a:hover {
    color: #2a4d63;
}


/** Tweak object titles */
li.elgg-item-object-blog h3 {
	margin-top: 0px;
}

li.elgg-item-object-blog .elgg-content {
	margin-left: 0px;
}

li.elgg-item-object-blog .elgg-tags {
    display: none;
}

/** Tweak admin menus (bit of a crufty hack) */
div.elgg-admin-sidebar-menu {
    height: inherit;
}

div.elgg-admin-sidebar-menu div.elgg-body {
    height: 100%;
}

/** Tweak to invite message boxes */
textarea#invitefriends-emails,
textarea#invitefriends-emailmessage {
    height: 120px;
}



/** Tweaks to ownerblock menu */
ul.owner-block {
    
}

ul.owner-block li {
    min-width: 150px;
}


/** Menu tweaks */
li.elgg-menu-item-birthdata-edit a.btn {
    font-size: 1.2em;
}


div.object-share {
	margin-top: 15px;
}


/** Hide language selector on small screens */
@media screen and (max-width:600px){
        div.navbar-header div.language_selector img {
	    max-width: 16px;
	    display: inline;
	}
	
	div.navbar-header div.language_selector {
	    padding-top: 12px;
	}
}

@media screen and (max-width:767px){
        
	div.navbar-header div.language_selector {
	    padding-top: 12px;
	}
}

@media screen and (max-width:600px){
    #search-results .elgg-image-block .elgg-image {
	margin-right: auto;
	margin-left: auto;
	width: 160px;
	float: none;
    }
    
    #search-results .symbol-planet {
	margin-top:10px;
    }
}


/** Dialogs always on top */
.ui-dialog { z-index: 1100 !important ;}


/** Message button tweaks */
ul.elgg-menu-message-ex-default li.elgg-menu-item-block {
    margin-right: 5px;
}


div.poll-comments {
    display: none;
}


.elgg-avatar-medium > a > img {
	width: 120px;
	height: 120px;
}

div.blog-comments li.elgg-menu-item-embed,
body.messages li.elgg-menu-item-embed {
    display:none;
}


li.elgg-menu-item-forward {
    display: none;
}


div#qualities-content li.info-thumbnail-link span {
    min-height: 70px;
}

div#qualities-content li.info-thumbnail-link a {
    min-height: 240px;
}

div.chart img {
    margin-bottom: 20px;
}


/* Tweak user card display */
li.elgg-menu-item-befriend a {
    padding: 0px !important;
    margin-left: 10px;
}
div.profile-menu li.elgg-menu-item-befriend a {
    margin-left: 0px;
}

div.blog-post {
    font-size: 120%;
    font-family: Sans-Serif;
}

div.blog-post p {
    font-size: 100%;
    line-height: 1.5em;
}

div.blog-post h1 {
    border-bottom: none;
    font-size: 160%;
}

div.blog-post h2 {
    border-bottom: none;
    font-size: 140%;
}




div.elgg-item-object-question h3 {
    margin-top: 5px;
}

body.questions div.elgg-module elgg-head {
}

div#question-answers {
    padding-bottom: 0px;
    margin-bottom: 5px;
}

body.questions div.elgg-module h3 {
    margin-bottom: 0px;
    margin-top: 0px;
}

ul.search-list .elgg-item .elgg-body h3 {
    margin-top: 0px;
}

/* Hide captcha */
.grecaptcha-badge { visibility: hidden; }

/* Add bottom padding to footer on mobile to avoid browser UI overlap */
@media screen and (max-width: 768px) {
    footer.site-footer {
        padding-bottom: 70px;
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    }
}


nav.sidebar {
    width: 100%;
}


nav.sidebar ul {
    width: 100%;
}

nav.sidebar li  a {
    padding-top: 15px !important;
    padding-bottom: 15px !important;

}

nav.sidebar li a:hover {
    padding-top: 25px !important;
    padding-bottom: 5px !important;

}

nav.sidebar { 
    margin-bottom: 10px;
}

/* remove outer padding */
.main .row{
	padding: 0px;
	margin: 0px;
}

/*Remove rounded coners*/

nav.sidebar.navbar {
	border-radius: 0px;
}

nav.sidebar, .main{
	-webkit-transition: margin 200ms ease-out;
    -moz-transition: margin 200ms ease-out;
    -o-transition: margin 200ms ease-out;
    transition: margin 200ms ease-out;
}

/* Add gap to nav and right windows.*/
.main{
	padding: 10px 10px 0 10px;
}

/* .....NavBar: Icon only with coloring/layout.....*/

/*small/medium side display*/
@media (min-width: 768px) {

	/*Allow main to be next to Nav*/
	.main{
		position: absolute;
		width: calc(100% - 40px); /*keeps 100% minus nav size*/
		margin-left: 40px;
		float: right;
	}

	/*lets nav bar to be showed on mouseover*/
	nav.sidebar:hover + .main{
		margin-left: 200px;
	}

	/*Center Brand*/
	nav.sidebar.navbar.sidebar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
		margin-left: 0px;
	}
	/*Center Brand*/
	nav.sidebar .navbar-brand, nav.sidebar .navbar-header{
		text-align: center;
		width: 100%;
		margin-left: 0px;
	}

	/*Center Icons*/
	nav.sidebar a{
		padding-right: 13px;
	}

	/*adds border top to first nav box */
	nav.sidebar .navbar-nav > li:first-child{
		border-top: 1px #e5e5e5 solid;
	}

	/*adds border to bottom nav boxes*/
	nav.sidebar .navbar-nav > li{
		border-bottom: 1px #e5e5e5 solid;
	}

	/* Colors/style dropdown box*/
	nav.sidebar .navbar-nav .open .dropdown-menu {
		position: static;
		float: none;
		width: auto;
		margin-top: 0;
		background-color: transparent;
		border: 0;
		-webkit-box-shadow: none;
		box-shadow: none;
	}

	/*allows nav box to use 100% width*/
	nav.sidebar .navbar-collapse, nav.sidebar .container-fluid{
		padding: 0 0px 0 0px;
	}

	/*colors dropdown box text */
	.navbar-inverse .navbar-nav .open .dropdown-menu>li>a {
		color: #777;
	}

	/*gives sidebar width/height*/
	nav.sidebar{
		/*width: 200px;*/
		height: 100%;
		/*margin-left: -160px;*/
		float: left;
		z-index: 8000;
		margin-bottom: 0px;
	}

	/*give sidebar 100% width;*/
	nav.sidebar li {
		width: 100%;
	}

	/* Move nav to full on mouse over*/
	nav.sidebar:hover{
		margin-left: 0px;
	}
	/*for hiden things when navbar hidden*/
	.forAnimate{
		opacity: 0;
	}
}

/* .....NavBar: Fully showing nav bar..... */

@media (min-width: 1330px) {

	/*Allow main to be next to Nav*/
	.main{
		width: calc(100% - 200px); /*keeps 100% minus nav size*/
		margin-left: 200px;
	}

	/*Show all nav*/
	nav.sidebar{
		margin-left: 0px;
		float: left;
	}
	/*Show hidden items on nav*/
	nav.sidebar .forAnimate{
		opacity: 1;
	}
}

nav.sidebar .navbar-nav .open .dropdown-menu>li>a:hover, nav.sidebar .navbar-nav .open .dropdown-menu>li>a:focus {
	color: #CCC;
	background-color: transparent;
}

nav:hover .forAnimate{
	opacity: 1;
}
section{
	padding-left: 15px;
}

#loading {
    /*background: #f4f4f2 url("img/page-bg.png") repeat scroll 0 0;*/
    height: 100%;
    left: 0;
    margin: auto;
    /*position: fixed;*/
    top: 0;
    width: 100%;
}
.bokeh {
    border: 0.01em solid rgba(150, 150, 150, 0.1);
    border-radius: 50%;
    font-size: 100px;
    height: 1em;
    list-style: outside none none;
    margin: 0 auto;
    position: relative;
    top: 35%;
    width: 1em;
    z-index: 2147483647;
}
.bokeh li {
    border-radius: 50%;
    height: 0.2em;
    position: absolute;
    width: 0.2em;
}
.bokeh li:nth-child(1) {
    animation: 1.13s linear 0s normal none infinite running rota, 3.67s ease-in-out 0s alternate none infinite running opa;
    background: #00c176 none repeat scroll 0 0;
    left: 50%;
    margin: 0 0 0 -0.1em;
    top: 0;
    transform-origin: 50% 250% 0;
}
.bokeh li:nth-child(2) {
    animation: 1.86s linear 0s normal none infinite running rota, 4.29s ease-in-out 0s alternate none infinite running opa;
    background: #ff003c none repeat scroll 0 0;
    margin: -0.1em 0 0;
    right: 0;
    top: 50%;
    transform-origin: -150% 50% 0;
}
.bokeh li:nth-child(3) {
    animation: 1.45s linear 0s normal none infinite running rota, 5.12s ease-in-out 0s alternate none infinite running opa;
    background: #fabe28 none repeat scroll 0 0;
    bottom: 0;
    left: 50%;
    margin: 0 0 0 -0.1em;
    transform-origin: 50% -150% 0;
}
.bokeh li:nth-child(4) {
    animation: 1.72s linear 0s normal none infinite running rota, 5.25s ease-in-out 0s alternate none infinite running opa;
    background: #88c100 none repeat scroll 0 0;
    margin: -0.1em 0 0;
    top: 50%;
    transform-origin: 250% 50% 0;
}
@keyframes opa {
12% {
    opacity: 0.8;
}
19.5% {
    opacity: 0.88;
}
37.2% {
    opacity: 0.64;
}
40.5% {
    opacity: 0.52;
}
52.7% {
    opacity: 0.69;
}
60.2% {
    opacity: 0.6;
}
66.6% {
    opacity: 0.52;
}
70% {
    opacity: 0.63;
}
79.9% {
    opacity: 0.6;
}
84.2% {
    opacity: 0.75;
}
91% {
    opacity: 0.87;
}
}

@keyframes rota {
100% {
    transform: rotate(360deg);
}
}

}.lds-ripple,
.lds-ripple div {
  box-sizing: border-box;
}
.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid currentColor;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }
  4.9% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }
  5% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 1;
  }
  100% {
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    opacity: 0;
  }
}

