@import url("https://nu-scptheme.github.io/Black-Highlighter/css/min/normalize.min.css");
@import url("https://nu-scptheme.github.io/Black-Highlighter/css/min/black-highlighter.min.css");

@import url('https://fonts.googleapis.com/css?family=Play|Tomorrow:500,700&display=swap&subset=latin-ext');
:root {
	
		/* Typefaces */
		--body-font: 'tomorrow', monospace;
		--header-font: 'tomorrow', sans-serif;
		--title-font: 'play', monospace;
		--mono-font: "tomorrow", monospace;

		/* Standard Colors */

		--white-monochrome: 218, 218, 216; /* Chilled Slate */
		--pale-gray-monochrome: 223, 221, 190; /* Thrilla in Manilla */
		--light-gray-monochrome: 140, 149, 143; /* Underway Grey */
		--gray-monochrome: 127, 127, 127; /* Jumbo */
		--dark-gray-monochrome: 101, 101, 101; /* Dove Gray */
		--black-monochrome: 25, 20, 16; /* Zeus */
		--bright-accent: 140, 149, 183; /* January Snow */
		--medium-accent: 130, 130, 150; /* Magic Slush */
		--dark-accent: 75, 83, 105; /* Old World Blue */
		
		/* Header */
		--logo-image: url("https://raw.githubusercontent.com/Jet-Savage/EC-Director/master/EthicsCommitteeTRSP-XLRG.png");
		--header-title:"Ethics Committee HQ";
		--header-subtitle:"Ad Praesidio Speculatores";
        repeating-linear-gradient(180deg,
		hsla(0, 0%, 100%, 0),
        hsla(0, 0%, 100%, 0) 0.25vh,
        rgba(88, 88, 88, 0.1) 0.35vh,
        rgba(88, 88, 88, 0.2) 0.5vh),   

        linear-gradient(to bottom,
        rgba(var(--black-monochrome), 1) 7.5rem,
        rgba(var(--black-monochrome), 1) 7.625rem,
        rgba(var(--black-monochrome), 1) calc(100% - 0.025rem),
        rgba(var(--black-monochrome), 1) calc(100% - 0.025rem),
        rgba(var(--black-monochrome), 1) 100%);
    /* Primary Menu Colors */
	   --swatch-menubg-color: var(--black-monochrome);
	   --swatch-menubg-light-color: var(--pale-gray-monochrome);
	   --swatch-menubg-medium-color: var(--dark-gray-monochrome);
	   --swatch-menubg-medium-dark-color: var(--gray-monochrome);
	   --swatch-menubg-dark-color: var(--dark-gray-monochrome);
	   --swatch-menubg-black-color: var(--black-monochrome);
	   --swatch-menubg-hover-color: var(--bright-accent);
	   --swatch-menutxt-dark-color: var(--black-monochrome);
	   --swatch-menutxt-light-color: var(--white-monochrome);
	   --swatch-border-color: var(--bright-accent);

		/* Primary Theme Colors */
		--swatch-background: var(--black-monochrome, 26, 25, 24);

		/* Rating Module Colors */
		--rating-module-button-color: var(--bright-accent);
		--rating-module-button-plus-color: 45, 65, 25;
		--rating-module-button-negative-color: 70, 35, 30;
		--rating-module-button-cancel-color: 50, 45, 50;
		--rating-module-button-credit-color: 50, 45, 50;
		--rating-module-text-color: var(--bright-accent);
		--rating-module-text-hover-color: var(--swatch-menutxt-light-color);

		/* Background and Header Colors */
		--background-gradient-color: var(--dark-gray-monochrome, 40, 36, 53);
		--header-gradient-color-bottom: var(--medium-accent);
		--header-gradient-color-middle: var(--black-monochrome);
		--header-gradient-color-top: var(--black-monochrome);

		--gradient-header: linear-gradient(1deg,
			rgb(var(--header-gradient-color-bottom)) 100%,
			rgb(var(--header-gradient-color-middle)) 90%,
			rgb(var(--header-gradient-color-top)) 100%);

		--scrollbar-width: 0.5rem;


		scrollbar-color: rgba(var(--dark-gray-monochrome), 1) rgba(var(--black-monochrome), 1);
	}

	html,
	body {
		color: rgb(var(--swatch-text-light));
	}

	a {
		color: rgb(var(--swatch-primary-darker));
	}

	@supports (background-blend-mode: screen) {
		#extrac-div-1 {
			width: 100%;
			height: var(--header-height-on-desktop);
			position: absolute;
			top: 0;
			left: 0;
			background-image: url(https://raw.githubusercontent.com/Jet-Savage/EC-Director/master/BlackMarble.jpg);
			background-size: 100% 7.5rem, 100% 9.375rem;
      background-repeat: repeat-x;
			pointer-events: none;
		}
	}

#side-bar {
	background-color: rgba(var(--swatch-menubg-dark-color), 0.1);
}

#side-bar:hover {
	background-color: rgba(var(--swatch-menubg-color),0.1);;
}

#side-bar .side-block {
	background-color: inherit;
}

#side-bar div.menu-item a,
#side-bar div.menu-item a:visited,
#side-bar div.menu-item a:active,
#side-bar div.menu-item .text {
	color: rgb(var(--swatch-menutxt-light-color));
	font-weight: 500;
}

#side-bar .heading p,
#side-bar .side-block > .collapsible-block .collapsible-block-link {
	text-shadow: inherit;
	font-weight: 500;
	padding-right: 0.5rem;
}

	iframe.scpnet-interwiki-frame {
		 filter: invert(0.9) hue-rotate(222deg) saturate(1.5) contrast(1);
	}

	#page-title {
		color: rgb(var(--swatch-menutxt-light-color));
	}

	blockquote {
		background-color: rgba(var(--swatch-menubg-dark-color), 0.25);
	}

	.yui-navset .yui-content {
		background-color: rgba(var(--swatch-menubg-dark-color), 0.25);
	}

	.yui-navset .yui-content,
	.yui-navset .yui-navset-top .yui-content {
		border-color: rgb(var(--swatch-menubg-dark-color));
	}

	.yui-navset .yui-nav a,
	.yui-navset .yui-navset-top .yui-nav a {
		background-color: rgb(var(--swatch-menubg-black-color));
		color: rgb(var(--swatch-text-light));
	}

	table.wiki-content-table th {
		background: rgb(var(--swatch-primary-darkest));
	}

	.code {
		background-color: rgba(var(--swatch-menubg-dark-color), 0.25);
	}

	.hl-main {
		filter: invert(1) hue-rotate(180deg);
	}

	.scp-image-block .scp-image-caption {
		background-color: rgba(var(--swatch-menubg-dark-color), 0.25);
	}

	.scp-image-block img {
		border: 0.5rem solid rgba(var(--white-monochrome));
	}

	a:visited {
		color: rgb(var(--white-monochrome));
	}

	h1 {
		color: rgb(var(--swatch-primary)) !important;
	}

	hr {
		border-top: none;
		position: relative;
		height: 0.35rem;
		background: rgba(0, 0, 0, 0);
		display: flex;
	}

	hr::before {
		content: " ";
		position: absolute;
		top: 0.1125rem;
		left: 0;
		border-top: none;
		width: 100%;
		height: 0.125rem;
		background: -webkit-linear-gradient(80deg, rgba(var(--bright-accent), 0.15) 0%, rgba(var(--bright-accent), 1) 50%, rgba(var(--bright-accent), 0.15) 100%);
		background: -o-linear-gradient(80deg, rgba(var(--bright-accent), 0.15) 0%, rgba(var(--bright-accent), 1) 50%, rgba(var(--bright-accent), 0.15) 100%);
		background: -moz-linear-gradient(80deg, rgba(var(--bright-accent), 0.15) 0%, rgba(var(--bright-accent), 1) 50%, rgba(var(--bright-accent), 0.15) 100%);
		background: linear-gradient(10deg, rgba(var(--bright-accent), 0.15) 0%, rgba(var(--bright-accent), 1) 50%, rgba(var(--bright-accent), 0.15) 100%);
		background-position: center center;
		-webkit-filter: blur(0.04rem);
		filter: blur(0.04rem);
	}



	.page-rate-widget-box {
		background: linear-gradient(to top, rgba(var(--swatch-primary), 0.25) 0, rgba(var(--swatch-primary-darker), 0.15) 100%) !important;
	}

	form#edit-page-form {
		background-color: rgba(var(--dark-accent), 0.25);
	}

	textarea,
	input.text {
		background-color: rgb(var(--black-monochrome));
		color: rgb(var(--white-monochrome));
		padding: 0.2em;
	}


	#lock-info {
		background-color: rgb(var(--dark-accent));
	}

	div.buttons input,
	input.button,
	button,
	file,
	a.button {
		background-color: rgb(var(--medium-accent));
		color: rgb(var(-black-monochrome));
		border-color: rgb(var(--black-monochrome))
	}

	div.buttons input:hover,
	input.button:hover,
	button:hover,
	a.button:hover {
		background-color: rgb(var(--bright-accent));
	}

	div#page-info,
	div.page-watch-options {
		padding: 0.1em;
	}

	div#page-options-bottom {
		width: 90%;
		margin-bottom: 2.125rem;
		margin-left: auto;
		margin-right: auto;
	}

	div#page-options-bottom-2 {
		width: 90%;
		margin-top: -2.125rem;
		margin-left: auto;
		margin-right: auto;
	}

	div#page-options-bottom,
	div#page-options-bottom-2 {
		text-align: left;
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}

	div#page-options-bottom,
	div#page-options-bottom-2,
	div#page-options-bottom > a {
		display: -webkit-box;
		display: -webkit-flex;
		display: -moz-box;
		display: -ms-flexbox;
		display: flex;
	}

	div#page-options-bottom > a,
	div#page-options-bottom-2 > a {
		-webkit-box-flex: 2;
		-webkit-flex-grow: 2;
		-moz-box-flex: 2;
		-ms-flex-positive: 2;
		flex-grow: 2;
		padding: .25rem;
		-webkit-border-radius: .25rem;
		border-radius: .25rem;
		background-color: rgba(var(--swatch-menubg-dark-color), .25);
		border: 0.0625rem solid rgba(var(--swatch-primary), 0.25);
		font-weight: 700;
		-webkit-box-pack: center;
		-webkit-justify-content: center;
		-moz-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		-webkit-transition: background-color 300ms cubic-bezier(0.4, 0.0, 0.2, 1), color 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
		-o-transition: background-color 300ms cubic-bezier(0.4, 0.0, 0.2, 1), color 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
		transition: background-color 300ms cubic-bezier(0.4, 0.0, 0.2, 1), color 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
	}

	div#page-options-bottom-2 > a {
		display: -webkit-box;
		display: -webkit-flex;
		display: -moz-box;
		display: -ms-flexbox;
		display: flex;
	}

	div#page-options-bottom > a:hover,
	div#page-options-bottom > a:active,
	div#page-options-bottom-2 > a:hover,
	div#page-options-bottom-2 > a:active {
		text-decoration: none;
		background-color: rgba(var(--swatch-menubg-dark-color), 1);
		color: rgba(var(--swatch-primary), 1);
	}

	.owindow .title {
		background-color: rgb(var(--swatch-menubg-dark-color));
	}

	#odialog-container,
	.title.modal-header,
	.owindow,
	.hovertip {
		background-color: rgb(var(--swatch-primary-darkest));
	}

	.owindow .button-bar a {
		background-color: rgb(var(--swatch-menubg-dark-color));
		color: rgb(var(--white-monochrome));
	}

	@media only screen and (max-width: 768px) {
		#header {
			--size: calc(var(--final-header-height-on-mobile) - 0.875rem);
			--y-offset: 1.5rem;
			background-position:
				calc((var(--header-height-on-mobile) - 3.75rem) - var(--size)) calc(((var(--size) * -1) + var(--header-height-on-mobile) + var(--y-offset)) / 2);
			background-size: var(--size), 100% var(--header-height-on-mobile);
			background-repeat: no-repeat, repeat;
		}

		#header > h1 > a > span {
			height: var(--header-height-on-mobile);
		}


		#header h1 a {
			line-height: 1;
		}

		#header h2 span {
			line-height: 1.1;
		}
	}

	@media only screen and (min-width: 600px) and (max-width: 768px) {
		#header {
			--size: calc(var(--final-header-height-on-mobile) - 0.875rem);
			--y-offset: 1.5rem;
			background-position:
                calc((var(--header-height-on-mobile) - 3.75rem) - var(--size)) 
                calc(((var(--size) * -1) + var(--header-height-on-mobile) + var(--y-offset)) / 2);
			background-size: var(--size), 100% var(--header-height-on-mobile);
			background-repeat: no-repeat, repeat;
		}

		#header h1 a {
			margin-left: calc(var(--header-height-on-mobile) - 3.5rem);
			margin-top: calc(((var(--header-height-on-mobile) / 2)) - 0.75em);
			line-height: 1;
			font-size: 300%;
		}

		#header h2 span {
			margin-left: calc(var(--header-height-on-mobile) - 3.5rem);
			margin-top: calc(((var(--header-height-on-mobile) / 2) + 0.5em));
			line-height: 1.1;
			font-size: 120%;
		}
	}


	@media only screen and (min-width: 400px) and (max-width: 600px) {
		#header h1 a {
			margin-left: calc(var(--header-height-on-mobile) - 3.5rem);
			margin-top: calc(((var(--header-height-on-mobile) / 2)) - 1em);
			font-size: 140%;
		}


		#header h2 span {
			margin-left: calc(var(--header-height-on-mobile) - 3.5rem);
			margin-top: calc(((var(--header-height-on-mobile) / 2) + 0.5em));
			font-size: 60%;
		}
	}

	@media only screen and (max-width: 400px) {
		#header h1 a {
			margin-left: calc(var(--header-height-on-mobile) - 3.5rem);
			margin-top: calc(((var(--header-height-on-mobile) / 2)) - 1em);
			font-size: 125%;
		}


		#header h2 span {
			margin-left: calc(var(--header-height-on-mobile) - 3.5rem);
			margin-top: calc(((var(--header-height-on-mobile) / 2) + 3.5em));
			font-size: 35%;
		}
	}
}
