/* CLEAR ALL STYLES */
* {
	padding:0;
	margin:0;
	font-family: Arial, Helvetica, sans-serif;
	//font-family: Noto Sans, sans-serif;
}

/*  VARIABLES  */
:root {
	--base-font-size: 0.9rem;
	--base-header-size: 2.0rem;
	--base-line-height: 1.3em;
	--header-line-height: 1.5em;
	--background-image: url(../images/background.jpg);
	--header-image: url(../images/milkyway_banner.png);
}
/* END VARIABLES */


/* BASE STYLES */

body {
	background-image: var(--background-image);
	font-size: var(--base-font-size);
}

.background {
	position: fixed;
	width: 30%;
	top: 0;
	bottom: 0;
	z-index: -1;
}

header {
	width:100%;
	height:166px;
	background-image: var(--header-image);
	background-position: center;
	background-size: 100%;
	background-repeat: no-repeat;
	background-color:rgba(0, 0, 0, 1.0);
	margin:0;
}

header a {
	display: block;
	text-align: left;
	line-height: 166px;
	vertical-align: bottom;
	font-size:35pt;
	color: white;
	text-decoration: none;
	font-weight: bolder;
	text-shadow: -2px 0 black, 0 -2px black, 2px 0 black, 0 1pt black;
	//outline-color: black;
	margin-left: 20pt;
}
header a:visited {
	color: white;
}


footer {
	min-height: 100pt; 
	width: 100%;
	background-color:white;
}
footer h3 {line-height: 75pt; width: 100%; text-align: center;}
footer h4 {width: 100%; text-align: center;}

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

P {
	margin: 10pt 0 10pt 0;
}

/* END BASE STYLES */


/*  START CARD STYLES  */


.card-header {
	//color:#8CA3A9;
	color:#044dbc;
	text-decoration: none;
	font-size:var(--base-header-size);
	font-weight:normal;
	margin-left:5pt;
}
.card-header:visited {
	color:#044dbc;
	text-decoration: none;
}

.card {
	background-color: white;
	//min-height: 300pt;
	padding: 0pt 0pt;
	margin: 20pt 0pt;
	flex: 0 0 60%;
	//box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.static-card {
	background-color: white;
	max-height: 300pt;
	padding: 0pt 0pt;
	margin: 20pt 0pt;
	flex: 0 0 60%;
	//box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.card p {
	font-size:var(--base-font-size);
	line-height: var(--base-line-height);
	margin: 10pt 10pt;
}
.card table {
	margin: 10pt 0pt;
}

.card svg {
	margin: 0 10pt 0 10pt;
}

/* END CARD STYLES */

li {
	margin-left: 20pt;
}

/* CONTENT WRAPPERS */

.flex-wrapper {
	background-color:white;
	display:grid;
	grid-template-columns: repeat(2,1fr);
	gap: 10pt;
	//flex-direction: row;
	//flex-wrap: wrap;
	margin:0 1%;
}

#content-wrapper {
	background-color:white;
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin-left: auto;
	margin-right: auto;
	width:70%;
}


.content-left {
	flex:1;
	background-color:#E8E8E8;
	padding: 20pt 1% 100pt 1%;
}

.content-right {
	flex:3;
	min-width:300pt;
	margin: 10pt 10pt;
	background-color:white;
}

.column {
	flex: 1;
	padding: 0 10pt;
	overflow: auto;
}

/* END CONTENT WRAPPERS */





/* START LIST STYLES */

.hlist {
	text-align:right;
	margin:auto auto auto auto
}
.hlist li { display:inline;}
.vlist {
	text-align:left;
	margin:auto auto auto auto
}

/* END LIST STYLES */


/* START BORDERS */

.border-right {
	border-right: 1pt solid rgb(150,150,150);
}
.border-left {
	border-left: 1pt solid rgb(150,150,150);
}
.border-top {
	border-top: 1pt solid rgb(150,150,150);
}
.border-bottom {
	border-bottom: 1pt solid rgb(150,150,150);
}

.bordered-table {
	border-collapse: collapse;
}

.bordered-table th {
	padding: 5pt 2pt 2pt 2pt;
	border-bottom: 1pt solid rgb(150,150,150);
	border-top: 1pt solid rgb(150,150,150);
}
.bordered-table td{
	text-align: left;
	padding: 2pt;
	border-bottom: 1pt solid rgb(150,150,150);
	border-top: 1pt solid rgb(150,150,150);
}


/* END BORDERS */

.post {
	display:flex;
	align-items: flex-start;
}


ul {
	//list-style:none;
	list-style-position: outside;
}


.blue {	background-color:blue;}
.bg-red {background-color:#ff6666;}

.full-width {
	margin-left: 0%;
	margin-right: 0%;
	width:100%;
}
.half-width {
	//margin-left: 20%;
	//margin-right: 20%;
	//max-width:50%;
}
.extra-space {margin: 0 10% 0 10%}
.centered {margin-left: auto; margin-right:auto;}

.full-height {
	min-height:100vh;
}

.scrollbar {
	overflow:auto;
}

.inline {display:inline-block}

.centered {text-align:center}
.align-right {text-align:right}
.align-left {text-align:left}

#data-policy p {
	font-size: 8pt;
}

.linenos {display:none;}

/* WAGTAIL BLOCKS */

[class^="block-"] {
	margin: 10pt 1% ;
}

.block-heading {
	//margin: 20pt 10pt 10pt 10pt;
	margin: 0 10pt;
	font-size:var(--base-header-size);
	font-weight: normal;
    color:black;
	line-height: var(--header-line-height);
}

.block-paragraph {
	word-wrap:break-word;
    margin: 10pt 5%;
}
.block-paragraph p {
	font-size:var(--base-font-size);
	line-height: var(--base-line-height);
}

.rich-text {
	margin-top:10pt;
}
.rich-text hr {
	margin-top:5pt;
	margin-bottom:5pt;
}

.block-image {
	margin: 0 25%;
}

/* code blocks */
.code {
	background-color: #c6c6c6;
	margin: 3pt 50pt 3pt 50pt;
	padding: 2pt;
	border: 1pt solid rgb(150,150,150);
}
.code pre {
	font-family:monospace;
	overflow:auto;
	font-size:0.75em
}
.lineno {display:none}

/* END WAGTAIL BLOCKS */

/* FORMS */
label {
	margin:5pt;
}
input {
	margin:5pt;
}

/* HALF WIDTH ON 1080p */
@media screen  and (max-width: 960px) {
	:root {
		--base-line-height: 1.5;
		--header-line-height: 1.25;
	}
	#content-wrapper {
		margin:0;
		padding:0;
		margin: auto auto;
		width:90%;
	}
	.flex-wrapper {
		display:flex;
		flex-direction:column;
		padding:0;
		margin: 0 0;
	}
	.block-image {
		margin: 0 10%;
	}
	block-paragraph p {
		
	}
	.code pre {
		font-size:0.7em;
	}
	.card {
		border: none;
	}
}

/* END HALF WIDTH */


/* MOBILE */
@media screen and (max-width: 1367px) {
	:root {
		--base-font-size: 1em;
		--base-header-size: 1.75rem;
		--base-line-height: 1.5;
		--header-line-height: 1.25;
	}
#content-wrapper {
	flex-wrap: wrap;
	margin:0;
	width:100%;
}

.content-left {
	background-color:#E8E8E8;
	padding: 0;
}
.content-right {
	margin:0 5pt;
	padding:0;
	background-color:white;
	max-width:90vw;
}
.block-image {
	margin: 0 2%;
}

.column {flex:1;margin: 2% 0; padding:0}
header {width:100%}	
footer {width:100%;}
.card {
	border: none;
}

}
/* END MOBILE */

/* SPECIAL PURPOSE */
#prompt  {
	border: 1px solid blue;
	height: 300pt;
	display:none;
	position:fixed;
	top: 200px;
	left: 20%;
	right: 20%;
	background-color:white;
	overflow: auto;
	padding: 5pt;
}
#prompt .close {
	position: absolute;
	right: 10pt;
	bottom: 10pt;
}

#prompt th {text-align: left;}

/* Special styles */
//.x86 {display: none}
