@media screen and (hover: hover){ /* All Hover States - At top so that :active (in main code) cascades over :hover */
	nav a:hover{
		background-color: var(--color-b-1);
		box-shadow: 0 0 .5rem var(--color-b-3);
	}
	.subnav .opt:hover{
		width: 20rem;
		background: var(--color-b-1);
		cursor: pointer;
	}
	.subnav .opt.active:hover{
		color: var(--color-b-1);
	}
	.subnav .opt .subSelect span:hover{
		color: var(--color-f-2);
		background: var(--color-b-1);
	}

	.subnav .opt:hover span{
		color: var(--color-f-1);
		background: var(--color-b-2);
	}
	.subnav .opt:hover:active{
		background: var(--color-h);
		color: var(--color-b-1);
	}
	.bn:not(.d):hover,.ctrl:not(.d):hover{
		color: var(--color-h);
		background: var(--color-b-1);
	}
	a.bn:not(.d):hover i,*.ctrl:not(.d):hover i,h3 a:not(.d):hover i{
		background: var(--color-l);
		box-shadow: 0 0 0.5rem var(--color-ll) inset;
		color: var(--color-e);
	}

	input:hover{
		border-color: var(--color-b-1);
		background: var(--color-b-2);
		color: var(--color-f-2);
	}
	main.g section p a:hover{
		color: var(--color-e);
		text-decoration: underline;
	}
} /* End of Hover States */

/* GENERAL */
html{
	min-height: 100%;
	height: 100%;
	font-size: 14px;
	background: var(--color-b-2);
	color: var(--color-f-2);
	font-family: "Nunito Sans",sans-serif;
	letter-spacing: .02rem;
}
html,body{
	min-width: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}
body{
	min-height: calc(100% - 4rem);
	height: calc(100% - 4rem);
}
html *{
	font-family: "Nunito Sans",sans-serif;
	transition: background .1s ease-out, color .1s ease-out, border .1s ease-out;
}
html h1,html h2,html h3,html h4,html h5,html h6{
	font-family: "Poppins",sans-serif;
	color: var(--color-n);
	font-weight: 200;
	letter-spacing: .05rem;
}
p{
	margin: 1rem 0;
	padding: 0;
}
form{
	margin: 0;
	padding: 0;
	width: 100%;
}
.dial form{
	background:var(--color-b-3);
}

/* NAV */
nav{
	width: 100%;
	height: 4rem;
	position: fixed;
	top: 0;
	left: 0;
	background: var(--color-b-2);
	text-align: left;
	z-index: 100;
}

nav>a,nav>*>a{
	width: 4rem;
	height: 100%;
	display: block;
	cursor: pointer;
	background-color: transparent;
	background-image: url('/static/img/i/blank.png');
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: 4rem;
	display: inline-block;
	border-radius: 0 0 .25rem .25rem;
	text-decoration: none;
}

nav h1{
	max-width: calc(100% - 15rem);
	height: 2.5rem;
	line-height: 2.5rem;
    max-height: 2.5rem;
    padding: 0.25rem 1rem 0.25rem 5rem;
    margin: 0.5rem;
	border-radius:.5rem;
    float: left;
	background: var(--color-b-4) var(--theme-logo-url) .25rem 50% no-repeat;
	background-size: auto 80%;
	color: var(--color-n);
    font-family: "Roboto Condensed",sans-serif;
    font-size: 1.35rem;
    text-transform: uppercase;
	display: flex;
	flex-flow: row wrap;
    overflow:hidden;
    box-shadow: 0 0 .5rem var(--color-b-5) inset;
    text-shadow: 0 0 .25rem var(--color-b-5);
}
nav h1 *{
	text-shadow: 0 0 .25rem var(--color-b-5);
}

.niion nav h1 *:not(i){
    font-family: "Roboto Condensed",sans-serif;
	height: 2.5rem;
    max-height: 3rem;
}
.niion nav h1 i{
	padding:0 .375rem;
	line-height: 2.5rem;
	color: var(--color-b-2);
	display:inline-block;
	text-align:center;
}
nav h1 i.picon{
	width: 1.5rem;
	color: var(--color-n);
}

nav h1 a,nav h1 a .picon{
	line-height: 2.5rem;
	display: inline-block;
	text-decoration: none;
	color: var(--color-h);
}
nav h1 a{
    padding: 0 0.25rem 0 0;
    margin: 0 -0.25rem 0 0;
    border-radius: .5rem;
}

#niion{
	float: left;
	border-radius: 0 0 .25rem 0;
}
#user{
	border-radius: 0 0 0 .25rem;
}
nav .r{
	height: 100%;
	float: right;
}

.subnav{
	width: 4rem;
	height: calc(100% - 4rem);
	position: fixed;
	top: 4rem;
	background: var(--color-b-2);
	z-index: 2;
	opacity: 0.5;
	transition: .2s ease-out;
}

#sitenav{
	left: -4rem;
}
.sitenav #sitenav{
	left: 0rem;
	opacity: 1;
}
.sitenav main.g{
	width: calc(100% - 4rem);
	margin-left: 4rem;
}
.sitenav #desktop,.usernav #desktop{
	width: calc(100% - 4rem);
}
#usernav{
	right: -4rem;
}
.usernav #usernav{
	right: 0rem;
	opacity: 1;
}
.usernav main.g{
	width: calc(100% - 4rem);
	margin-right: 4rem;
}
.usernav.sitenav main.g,.usernav.sitenav #desktop{
	width: calc(100% - 8rem);
}

.subnav .opt{
	width: 4rem;
	height: 4rem;
	line-height: 4rem;
	background: var(--color-b-2);
	color: var(--color-h);
	display: block;
	white-space: nowrap;
	overflow: hidden;
	font-size: 1.25rem;
	text-transform: uppercase;
	font-family: "Roboto Condensed", sans-serif;
	transition: width .1s ease-out;
	border-radius: .25rem;
}
.subnav .opt.sub.on{
	width: 20rem;
	background: var(--color-b-1);
	cursor: pointer;
}
.subnav .opt.sub.on:active{
	background: var(--color-h);
}
.subnav .opt.sub.on{
	transition: height .1s ease-out;
	height:12rem;
}
.subnav .opt i{
	width: 4rem;
	line-height: 4rem;
	font-size: 1.75rem;
	text-align: center;
	display: block;
}
.subnav .opt .subSelect{width:100%;height:auto;min-height:4rem;}
.subnav .opt .subSelect span{width:100%;height:4rem;text-indent:2px;}
.subnav .opt span img{float:left;width:4rem;height:4rem;}


.subnav .opt:active,.subnav .opt.active{
	background: var(--color-h);
	color: var(--color-b-2);
}

.subnav .opt span{
	font-family: "Roboto Condensed", sans-serif;
	color: var(--color-f-2);
}
.subnav .opt>span{
	background: var(--color-b-3);
	padding: 0 0.5rem;
    height: 3rem;
    line-height: 3rem;
    margin: 0.5rem 0 0.5rem 0.5rem;
    width: calc(50% - 1rem);
    border-radius: 0.5rem 0 0 0.5rem;
    text-indent: 0.5rem;
}
.subnav .opt>span i{
	line-height: 3rem;
    width: 2.5rem;
}


#sitenav .opt i,#sitenav .opt span,#usernav .opt span i{
	float: left;
}
#usernav .opt i,#sitenav .opt span,#sitenav .opt span i{
	float: right;
}



#switch-auto,#switch-light,#switch-dark{
	display: none;
}
.automode #switch-auto{
	display: block;
}
.lightmode #switch-light{
	display: block;
}
.darkmode #switch-dark{
	display: block;
}

/* main.g */
main.g{
	width: 100%;
	min-height: 100%;
	margin-top: 4rem;
	padding: 0.01rem;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
}
#desktop{
	width: 100%;
	height: 100%;
	position: fixed;

	top:4rem;

	border-radius: 1rem 1rem 0 0;
	box-shadow: 0 0.25rem 0.5rem var(--color-b-5) inset;
	flex:0 0 100%;
	z-index: 0;
	transition: none;
	display: block;
	overflow:hidden;

	background: transparent url() 0 0 repeat;
	/*background-image: var(--prlxUrl), url('/static/img/noise.png'), linear-gradient(to bottom, rgba(128,128,128,.01), var(--color-l)), linear-gradient(to right, var(--color-b-5), var(--color-ll), var(--color-ll), var(--color-b-5));*/
	/*background-image: var(--prlxUrl), url('/static/img/noise.png'), linear-gradient(to bottom, rgba(128,128,128,.01), var(--color-ll)), linear-gradient(to right, var(--color-b-5), var(--color-l), var(--color-l), var(--color-b-5));*/
	background-image: var(--prlxUrl), url('/static/img/noise.png'), linear-gradient(to right, var(--color-ll), rgba(128,128,128,.01), rgba(128,128,128,.01), var(--color-ll)), linear-gradient(to bottom, var(--color-b-5), var(--color-l));
	background-size: 6rem auto, auto, auto, auto;
	background-position: 0 0;
}

main.g *{
	position: relative;
	z-index: 1;
}
section{
	border: 0;
	padding: 2rem;
	border-radius: 1rem;
	box-shadow: 0 0.1rem 0.5rem var(--color-b-5);
}
section>*:first-child{
	margin-top: 0;
	padding-top: 0;
}
section>*:last-child{
	margin-bottom: 0;
	padding-bottom: 0;
}

section p{
	letter-spacing: .025rem;
}

section p img{
	width:100%;
	border-radius:.3rem;
}

main.g section{
	margin: 2rem;
	background: var(--color-b-3);
	color: var(--color-f-3);
}
main.g section+section{
	margin-top: 0;
}

main.g section code{
	background: var(--color-b-2);
	padding: 0.25rem;
	font-family: monospace;
}
#setpw code{
	font-family: inherit;
}
main.g section code.h{
	background: var(--color-h);
	color: var(--color-b-2);
}

/* FORMS, INPUTS, and CONTROLS */
div.bnset{
	width: 100%;
	display: flex;

	text-align: center;

	border-radius: 0 0 .5rem .5rem;
	overflow: hidden;
	box-shadow: 0 0 0.5rem var(--color-b-4);
}
div.bnset:last-child{
	margin-bottom:0;
}
main.g .bnset .bn{
	flex: 1 1 0;
	margin: 0;
	box-shadow: none;
	border: 1px solid var(--color-b-3);
	border-top: 0;
	border-bottom: 0;
}
main.g .bnset .bn:first-child{
	border-left:0;
}
main.g .bnset .bn:last-child{
	border-right:0;
}

.bn,.ctrl{
	color: var(--color-h);
	background: var(--color-b-2);
	font-family: "Roboto Condensed", sans-serif;
	text-transform: uppercase;
	font-size: 1.25rem;
	cursor: pointer;
	text-decoration: none;
}
.bn.d,.ctrl.d{
	background: var(--color-b-4);
	color: var(--color-l);
	cursor: default;
}

.bn:not(.d):active,.ctrl:not(.d):active{
	color: var(--color-b-1);
	background: var(--color-h);
}
:not(.bnset) > a.bn{
	width: 100%;
	max-width:50%;
	line-height: 2rem;
	margin: 1rem 0;
	border-radius: .5rem;
	display: block;
	text-align: center;
}
a.bn i,h3 a i{
	width: 2rem;
	float: left;
   height: 2rem;
   line-height: 2rem;
   padding: 0.5rem;
   margin: -.5rem;
   background: var(--color-b-3);
   border-radius: 0.5rem;
	box-shadow: 0 0 0.5rem var(--color-b-5) inset;
	text-indent:0;
}

a.bn:not(.d):active i,*.ctrl:not(.d):active i,h3 a:not(.d):active i{
	background: var(--color-e);
	box-shadow: 0 0 0.5rem var(--color-ee) inset;
}

form section{
	background-color: var(--color-b-3);
}
form label{
	width: 100%;
	line-height: 3rem;
	font-size: 1.25rem;
	padding: 0;
	margin: 1rem 0;
	background: var(--color-b-2);
	display: block;
	border-radius: .5rem;
	text-align: center;
}
input{
	line-height: 2rem;
	padding: 0.25rem;
	box-sizing: border-box;
	margin: 0;
	background: var(--color-b-3);
	border: .25rem solid var(--color-b-2);
	outline: 0 !important;
	font-size: 1.25rem;
	color: var(--color-f-2);
}
#ai-pass{
	padding-right: 3rem;
}

input:focus{
	border-color: var(--color-h);
	background: var(--color-b-2);
	color: var(--color-h);
}
form label input{
	width: 50%;
	float: right;
	border-radius: 0 .5rem .5rem 0;
	box-shadow: 0 0 0.5rem var(--color-b-4) inset;
}

/* DIALOG */
.abscent{
	display: block;
	margin: 0 auto;
	position: relative;
	opacity: 1;
}
.abscent-h{
	display: block;
	margin: 0 auto;
	position: relative;
	opacity: 1;
}

.abscent-v{
	display: block;
	margin: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	opacity: 1;
}

.dial{
	width: 40%;
	max-width: 40%;
	height: auto;
	padding: 0;
	background: var(--color-b-3);
	color: var(--color-f-3);
	border-radius: .5rem;
	overflow:auto;
}

.dial.promo{
	width: calc(100% - 4rem);
	max-width: calc(100% - 4rem);
}

.dial.proc{
	background: var(--color-b-3) url(/static/img/load-a.gif) 50% 50% no-repeat;
}

.dial h3{
	padding: 0 2rem;
	margin: 0;
	line-height: 4rem;
	font-size: 2rem;
	border-radius: .5rem .5rem 0 0;
	/*background:var(--color-b-3);*/
}

main .dial h3 a.bn{
	width: 4rem;
	height: 4rem;
	line-height: 4rem;
	float: left;
	margin: .5rem 0rem .5rem -1.5rem;
	font-size: inherit;
}
main .dial h3 a.bn i{
	margin: .5rem;
}

/* AUTH OVERRIDES */
main#auth{
	margin-top:0;

}
#auth section{
	height:auto;
	margin-top:1rem;
}

#auth #desktop{
	height: 100%;
	margin-top: 0;
	top:0;
}

#auth .dial h3{
	margin-top:0;
	text-indent: 2rem;
	background-size: auto 60%;
   background-repeat: no-repeat;
   background-position: right 1rem center;
}
#auth .ghost1{
	/*position: absolute;
	z-index: 3;*/
	transition: .2s ease-out;
}
#auth .ghost1.proc{
	opacity: 0;
	display: none;
}
#auth .ghost2{
	opacity: 0;
	/*z-index: 2;*/
	display:none;
	transition: .2s ease-out;
}
#auth .ghost2.show{
	opacity: 1;
	display: block;
}
#auth h3{
	line-height:5rem;
}
#return{
	display: block;
}
#reenter{
	display: none;
}
.proc #return{
	display: none;
}
.proc #reenter{
	display: block;
}

#unhide{
	cursor: pointer;
	position: absolute;
	right: 1.5rem;
	bottom: 1.5rem;
	color: var(--color-h);
	border-radius: .5rem;
	overflow: hidden;
}
#unhide,#unhide .fa-eye,#unhide .fa-eye-slash{
	width: 3rem;
	height: 3rem;
	line-height: 3rem;
	text-align: center;
}
#unhide .fa-eye{
	display: none;
}
#unhide .fa-eye-slash{
	display: block;
}
#unhide.on .fa-eye{
	display: block;
}
#unhide.on .fa-eye-slash{
	display: none;
}


.niion #endcap{
	padding: 0.5rem 4rem !important;
	text-indent: -3rem;
    margin: 0;
    border-radius: 0 0 0.5rem 0.5rem;
    font-size: .9rem;
    /*font-family: 'Poppins',sans-serif;*/
    font-weight: 400;
    color: var(--color-f-5);
    box-shadow: none;
    background: var(--color-b-2);
    letter-spacing: 0;
}

/* PROMO */
:root{
	--sGrad: linear-gradient(to bottom, var(--color-b-3), rgba(128,128,128,0.1), var(--color-b-2));
}
main.g section{
	width:70%;
	padding:0;
	overflow-x:hidden;
	margin-left:auto;
	margin-right:auto;
}
main.g section h2,main.g section h3,main.g section h4{
	background: transparent url() 35% 65% no-repeat;
	background-image: var(--sGrad), var(--spiresUrl);
	background-size:cover;
	text-align:left;
	color:var(--color-f-3);
	font-weight:100;
	text-shadow: 0 0 .5rem var(--color-b-2), 0 0 .25rem var(--color-b-4);
	filter: blur(.025rem);
}

main.g section h2{
	width:100%;
	height:7rem;
	line-height:6rem;
	padding-top:6rem;
	margin-bottom:0;
	text-indent:2rem;
	font-size:2.5rem;
}
main.g section h3{
    width: 50%;
    padding: 2rem;
    margin: 0 calc(25% - 2rem);
    box-shadow: 0 0 0.5rem var(--color-b-5) inset;
    border-radius: .5rem;
    display: block;
	font-size: 1.75rem;
}
main.g section h4{
    width: 50%;
    padding: 1rem 2rem;
    margin: 0 calc(25% - 2rem);
    line-height: 2.5rem;
    box-shadow: 0 0 0.5rem var(--color-b-5) inset;
    border-radius: .5rem;
    display: block;
	font-size: 1.5rem;
}
main.g section h3:first-child{
	width: calc(100% - 4rem);
	padding: 2rem;
	margin: 0;
	border-radius: .5rem .5rem 0 0;
	box-shadow: none;
}
main.g section h3 a{
	margin:0;
	float:left;
	text-align: center;
    text-indent: 0;
}
main.g section h3 a i{
	display:block;
	width:4rem;
	line-height:4rem;
	height:4rem;
	color:var(--color-h);
	text-shadow:0 0 .5rem var(--color-b-5);
}
main.g section p a{
	color: var(--color-h);
	text-decoration:none;
}
main.g section p a:active{
	color: var(--color-l);
}

/* Standard page module, margins */
main.g section p, main.g :not(h3)>a.bn, main.g *.ctrl, section>audio{
	width: calc(100% - 8rem);
	padding: 2rem;
	margin: 2rem;
}
main.g section a.bn{
	margin: 1rem auto;
}
main.g label.ctrl{
	width: calc(100% - 7rem);
	padding: 1.5rem 1.5rem;
}
main.g section p{
	padding-top: 2rem;
	padding-bottom: 2rem;
    border-radius: 0.5rem;
	font-size: 1.15rem;
	line-height: 1.75rem;
	background: var(--color-b-4);
    box-shadow: 0 0 0.25rem var(--color-b-5) inset;
}

main.g section p.cap:first-letter{
	padding:.3rem;
	margin-right:.5rem;
	font-size:3.5rem;
	float:left;
	border-radius:.5rem;
	line-height:2.75rem;
	background: var(--color-b-4);
	color: var(--color-f-3);
	text-shadow: 0 0 .25rem var(--color-b-1), 0 0 .5rem var(--color-b-4);
	background: transparent url() 45% 80% no-repeat;
	background-image: radial-gradient(rgba(128,128,128,0.25), var(--color-b-3)), url('/static/img/mc.jpg');
	background-size: auto 400%;

}

h4#audioTitle{
	width: calc(100% - 6rem);
	padding: 0.5rem 1rem;
	margin: 0 2rem;
	border-radius: 0.5rem 0.5rem 0 0;
	font-family: "Roboto Condensed", sans-serif;
	text-shadow: 0.125rem 0.125rem 0.025rem var(--color-b-5);
}
h4#audioTitle i{
	margin-right:.4rem;
}
h4#audioTitle:before,h4#audioTitle:after{
	content:'';
	display:none;
}
section audio{
    border-radius: 0 0 .5rem .5rem;
	background: var(--color-b-2);
	box-shadow: 0 0 0.5rem var(--color-b-4);
	display: block;
	margin-top:0;
}

section audio::-webkit-media-controls-panel{
	filter: invert(100%) brightness(0.46) sepia(100%) hue-rotate(var(--hue-rotate)) saturate(3.8);
}

section audio::-webkit-media-controls-current-time-display, section audio::-webkit-media-controls-time-remaining-display{
	font-family: "Roboto Condensed", sans-serif;
	font-size: 1.5rem;
	text-indent: .25rem;
	text-shadow: none;/* 0 0 .2rem var(--color-b-1), 0 0 .5rem var(--color-b-4);*/
}
section audio::-webkit-media-controls-enclosure{
	background:transparent;
}
section audio::-webkit-media-controls-panel{
    color: var(--color-h);
    border: 0;
    border-radius: 0;
	text-shadow: none !important;
	box-shadow: none !important
}
section audio::-webkit-media-controls-panel *{
	text-shadow: none !important;
	box-shadow: none !important
}
section audio::-webkit-media-controls-play-button{
	/*background: var(--color-b-2);*/
	color: var(--color-h);
	border-radius: .25rem;
	transform: scale(1.5);
}
main.g a.bn,main.g *.ctrl{
	height:auto;
	box-shadow: 0 0 0.5rem var(--color-b-4);
}
main.g a.bn{
	line-height:2rem;
	margin-left:auto;
	margin-right:auto;
}

main.g section .bn:before,main.g section .bn:after,main.g section h3:before,main.g section h3:after,main.g section h4:before,main.g section h4:after{
	content:' ';
    width: calc(50% - 7rem);
    height: 0.5rem;
    background: var(--color-b-4);
    display:block;
    position:absolute;
    top: calc(50% - 0.25rem);
    border-radius:.25rem;
    box-shadow: 0 0 0.25rem var(--color-b-5) inset;
    pointer-events:none;
}
main.g section .bnset>*.bn:before,main.g section .bnset>*.bn:after{
	content:'';
	display:none;
}
main.g section .bn:before,main.g section h3:before,main.g section h4:before{
	left: calc(-50% + 6rem);
}
main.g section .bn:after,main.g section h3:after,main.g section h4:after{
	right: calc(-50% + 6rem);
}
#ltrForm{

}
#ltrA,#ltrW,#ltrR{
	display:none;
}
#ltrA{

}
#ltrW{

}
#ltrR{

}
#ltrForm.init #ltrA{
	display:block;
}
#ltrForm.wait #ltrW{
	display:block;
}
#ltrForm.done #ltrR{
	display:block;
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  } to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
a i.fas.fa-spinner{
	/*background: transparent;
	box-shadow: none;*/
	border-radius:50%;
	-webkit-animation: rotating 2s linear infinite;
	-moz-animation: rotating 2s linear infinite;
	-ms-animation: rotating 2s linear infinite;
	-o-animation: rotating 2s linear infinite;
	animation: rotating 2s linear infinite;
}

/* READER */
#reader section{
	width: 50%;
/*	height: calc(100vh - 8rem); */
	padding: 0;
	/*overflow-x: scroll;*/
	margin-left: auto;
	margin-right: auto;
/*	display:flex;
	flex-direction:column;
	flex-wrap:wrap;*/
	background:transparent;
	box-shadow:none;
	background:var(--color-b-4);
	border-radius:.5rem;
}
#reader section p{
	width:calc(100% - 4rem);
	padding: 1.5rem 2rem;
  margin: -.5rem calc(25% - 4rem) 0 0;
  border-radius: 0.5rem;
	font-size:1.2rem;
	line-height:1.8rem;
	letter-spacing:0.03rem;
	box-shadow:none;
}

#reader section p.cap:first-letter{
	padding:.3rem;
	margin-right:.5rem;
	font-size:3.5rem;
	float:left;
	border-radius:.5rem;
	line-height:3rem;
	background: var(--color-b-4);
	color: var(--color-f-3);
	text-shadow: 0 0 .25rem var(--color-b-1), 0 0 .5rem var(--color-b-4);
	background: transparent url() 45% 80% no-repeat;
	background-image: radial-gradient(rgba(128,128,128,0.25), var(--color-b-3)), url('/static/img/mc.jpg');
	background-size: auto 400%;

}

#reader section p:nth-last-child(2){
	padding-bottom:2rem;
}

#reader #endcap{
	max-height: 2.5rem;
	line-height:2.5rem;
	width:calc(100% - 8rem);
}
#reader section h2{
	/*
	width:100%;
	*/
	height:8rem;
	line-height:6rem;
	/*
	padding-top:6rem !important;

	margin-bottom:0;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-image: linear-gradient(to bottom, var(--color-b-5), rgba(128,128,128,0.1), var(--color-b-4)), url('/static/img/mc.jpg');

	color:var(--color-f-3);
	*/
	text-indent:2rem;
	font-size:3.5rem;
	/*
	text-shadow: 0 0 .2rem var(--color-b-1), 0 0 .5rem var(--color-b-4);
	*/
}

#reader section h2 aside{
	position:absolute;
	left:.3rem;
	bottom:0;
	line-height:3.4rem;
	font-size:1.5rem;
}

#reader section h2 aside small{
	font-size: 0.8rem;
    top: -0.5rem;
}

/* CUSTOM HEADER BGS */

main section h2.promo1,main section h3.promo1,main section h4.promo1{
	background-image: var(--sGrad), url('/static/img/mc-d.jpg');
}
.lightmode main section h2.promo1, .lightmode main section h3.promo1, .lightmode main section h4.promo1{
	background-image: var(--sGrad), url('/static/img/mc-l.jpg');
}
@media screen and (prefers-color-scheme: light){
	.automode main section h2.promo1, .automode main section h3.promo1, .automode main section h4.promo1{
		background-image: var(--sGrad), url('/static/img/mc-l.jpg');
	}
}

.terra .forEarth{display:none;}
.terra .forTerra{display:block;}
.earth .forEarth{display:block;}
.earth .forTerra{display:none;}

/* MEDIA OVERRIDES */

@media all{
	/* Default */
	html{
		font-size: 12px;
	}
}

@media screen and (min-width : 1440.1px) and (orientation: portrait), screen and (min-height: 1440.1px) and (orientation: landscape){
	html{
		font-size: 16px;
	}
}
@media screen and (max-width : 1440px) and (orientation: portrait), screen and (max-height: 1440px) and (orientation: landscape){
	html{
		font-size: 15px;
	}
}
@media screen and (max-width : 1080px) and (orientation: portrait), screen and (max-height: 1080px) and (orientation: landscape){
	html{
		font-size: 14px;
	}
}
@media screen and (max-width : 720px) and (orientation: portrait), screen and (max-height: 720px) and (orientation: landscape){
	html{
		font-size: 12px;
	}
}

@media screen and (orientation: portrait){
	form label input{
		width: 100%;
		float: none;
		border-radius: 0 0 .5rem .5rem;
	}

	main.g section .ctrl{
		line-height: 4.5rem;
		padding-top: 0.5rem;
		height: auto;
	}
	main.g section h2,main.g section h3,main.g section h4{
		background-size: 150% auto;
	}

	h4#audioTitle{
		font-size: 1.5rem;
		letter-spacing: .01rem;
		white-space: nowrap;
		text-overflow:ellipsis;
		overflow:hidden;
	}
	.sitenav #sitenav{
		width:100%;
	}
	.sitenav main,.sitenav #desktop,.usernav #desktop{
	    width: inherit;
	    margin-left: inherit;
	}
	.subnav .opt,.subnav .opt,.subnav .opt:hover, .subnav .opt.sub.on{
		width:100%;
	}
	#reader section p, #reader section .bn, #reader section .ctrl, #reader section h2, #reader section h3, #reader section h4{
		padding: 1.5rem 1rem .5rem;
		/*margin:  0 calc(25% - 4rem) 0 1rem;*/
		width: calc(100% - 2rem);
		max-width: calc(100% - 2rem);
	}
	#reader section h2{
		padding-top: 3rem;
	}
}

@media screen and (orientation: portrait), screen and (max-height: 720px) and (orientation: landscape), screen and (max-width: 1280px) and (orientation: landscape){
	.dial,main.g section{
		width: calc(100% - 4rem);
		max-width: 800px;
	}
	#reader section{
		width: calc(100% - 2rem);
		max-width: 800px;
	}
	#reader section p, #reader section .bn, #reader section .ctrl, #reader section h2, #reader section h3, #reader section h4{
		padding: 1rem 1.5rem .5rem;
		width: calc(100% - 3rem);
		max-width: calc(100% - 3rem);
	}
	#reader section h2{
		padding-top: 2rem;
	}
	main.g section p, main.g section .bn, main.g section .ctrl, main.g section h3, main.g section h4, section audio{
		padding: 1rem;
		margin: 1rem;
		width: calc(100% - 4rem);
		max-width: calc(100% - 4rem);
	}
	h4#audioTitle{
		width: calc(100% - 2rem);
		margin: 1rem 1rem 0;
	}
	section audio{
		margin-top: 0;
	}
	main.g section p{
		padding: 1rem;
	}
	main.g section .bn, main.g section h3{
		line-height: 4rem;
		height: auto;
	}
	main.g section h4{
		line-height: 2.5rem;
		height: auto;
	}
	main.g section .ctrl{
		height: auto;
	    line-height: 4rem;
	}
	main.g section label input{
		line-height:3rem;
	}
	#unhide{
		right: 1.5rem;
		bottom: 1.5rem;
	}
	main.g section .bn i{
		margin: 0.5rem;
	}
	main.g section .bn:before,main.g section .bn:after,main.g section h3:before,main.g section h3:after,main.g section h4:before,main.g section h4:after{
		content:none;
	}
	section{
		padding: 1rem;
	}
	/*main.g section {
		margin: 1rem;
	}*/
}

@media screen and (hover: none){

}
