@media (prefers-color-scheme: dark) {

    body, #m-site-wrap, .hp_controls, .sticky_top  { background-color: #202124; }
    .ursresultstiny_b a img { border: none; }

	.container-wrap, #site-wrap, .comppart, .comppart_important, .modal, .modal .modal-footer, #paging_more { background: #293145 !important; }
	
	
	div:not(.rec_bubble), a, a:visited, .userresult_title a { color: #e0e0e0 !important;}
	.icons_plain_dark { color: #e0e0e0 !important; }
	/* muted/secondary text: keep it dimmer than primary text (the blanket rule above flattened it to #e0e0e0) */
	div.text-grey-500, span.text-grey-500 { color: #98a2b0 !important; }

	#guest_footer { color: #ccc !important; }
	#guest_footer a.footerlink, #guest_footer .c_data { color: #e0e0e0 !important; }

	.inside_footer { background-color:unset; }

	.modal { border: 1px solid gray;}

	input:not([type]), input[type="date"], input[type="datetime-local"], input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="time"], input[type="text"], input[type="url"], textarea, select, .form-control {
		background-color: #202124 !important;
		color: #e0e0e0 !important;
    }

	select {
		border:2px solid #555 !important;
	}

	.form-check-input {
		background-color: transparent;
		border-color:#999;
	}

	.ads-wrap {
		background:none !important; 
	}
    
    .mailbox_row:hover, .mailbox_row_unread:hover, .oddrow, .evenrow {
		background-color:inherit;
	}
	.mailbox_row_unread {
		background-color:#403e3e;
	}
    
	#top_notifier *, #top_notifier a, #top_notifier a:visited, .no_dark {
		color : #434548 !important;
	}
	.linkc, a.linkc:hover, a.linkc:visited {
		color: var(--theme-color) !important;
	}
	
	.nopic {
		opacity: 0.7;
	}

	.display_error, .display_error div, .errors, .notifications { color: #fff !important; }

	.img_horo { -webkit-filter: invert(1);
		filter: invert(1); }

	.modal-content { 
		background-color:unset; 
	}
	i.grey {
		color:unset !important;
	}

	.topnav-wrap-bg {
		background-color: #293145!important;
	}

	.a_btn { border: none !important;  background-color: #fff !important;  }

	.bg-twiiter {
		background-color: #3b5999 !important;
	}

	.bg-facebook {
		background-color: #0d66ff !important;
	}

	/* close button for privacy/terms modals */
	.mfp-close-btn-in .mfp-close {
		color: unset !important;
	}

	
}
