/** 
 * main.css
 * 
 * 1. General HTML tags
 * 2. Masthead area
 * 3. Main content and sidebar
 * 4. Footer
 * 5. Media queries for responsive layout
 * 6. Accessibility helpers
 * 
 */

/*********************************************************************
 * 1. General HTML tags
 *
 */
 
@font-face {
	font-family: UnrealTournament;
	src:
		url('../fonts/UnrealT.woff2') format('woff2'),
		url('../templates/fonts/UnrealT.woff') format('woff');
}

@font-face {
	font-family:'FontAwesome';
		 src:url('../fonts/fontawesome-webfont.eot?v=4.7.0');
		 src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),
		 url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),
		 url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),
		 url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),
		 url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
}

* {
	box-sizing: border-box; 
}

body {
	padding: 20px,5%;
	max-width: 1600px; 
	margin: 5px; 
	background-color: #000000;
	color: #FFFFFF;
	font-family: verdana, arial, sans-serif;
}

body, td, input[type=text], textarea {
	font-family: verdana, arial, sans-serif;
	font-size: 105%; 
	line-height: 1.8em;
	color: #FFFFFF; 
}

img {
	max-width: 100%; 
}

h1 {
	font-size: 24px;
	color: #FFFFFF; 
}

h2 {
	font-size: 20px;
	font-weight: normal;
	color: #00FF00; 
}

h3 {
	border-top: 1px solid #eee; 
	padding-top: 1em;
	color: #00FF00; 
}

a {
	color: #00FF00;
	text-decoration: none;
}
a:hover, .nav a:hover {
	color: #0000FF;
	text-decoration: underline;
}

blockquote {
	padding-left:20px;
	padding-right:20px;
	margin-left:10px;
	margin-right: 20px;
	background-color: #222222;
	color: #FFFFFF;
	border-style=dotted;
	border-color: #FFFFFF;
	border-radius: 3px;
	font-size: 12px;
    text-decoration:none;
}

pre, code {
	background: #eee; 
	border: 1px solid #ddd; 
}

pre {
	margin-left:10px;
	margin-right: 20px;
	background-color: #111111;
	color: #FFFFFF;
	border-style=dotted;
	border-color: #111111;
	border-radius: 3px;
	font-size: 12px;
    text-decoration:none;
    line-height: normal;
    width:100%;
}

#directorycontent a{
	font-size: 100%;
	line-height: normal;	
}
#directorycontent li{
	font-size: 100%;
	line-height: normal;
}

/*********************************************************************
 * 2. Masthead area
 *
 */
 #toggle {
  display: none;
}
.navbar-label{
  background-color:transparent;
}
@media only screen and (max-width: 1023px) {
	
/* Mobile Nav */
.nav-menu {
  position: relative;
  background-color: #050505;
  overflow: hidden;
}
.navbar-label{
  position: absolute;
	margin-top:10px;
  width: 50px;
  height: 110px;
  background-color: transparent;
  cursor: pointer;
  border-radius: 50%;
  transition: 0.6s;
}
.navbar-label:hover {
  box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.1), inset 0 0 0 20px rgba(0, 0, 0, 0.1);
}

nav {
  display: inline-block;
  margin: 25px 5px 10px;
  pointer-events: none;
  transition: 0.5s; 
}

nav a {
  text-decoration: none;
  /*display:block;*/
  display: inline-block;
  float: left;
  clear: both;
  color: transparent;
  font-size: 14px;
  letter-spacing: -6px;
  height: 7px;
  line-height: 7px;
  text-transform: uppercase;
  transform: scaleY(0.2);
  transition: 0.5s, opacity 0.1s;
}
nav a:before {
  position: absolute;
  content: '';

  top: 50%;
  transform: translateY(-50%) scaleY(5);

  width: 100%;
  height: 2px;
  background-color: #FFFFFF;
  transition:0.5s;
}

#toggle:checked ~ nav {
  margin-bottom: 100px;
  pointer-events: auto;
  transform: translate(50px, 50px);
  
}
#toggle:checked ~ nav a {
  color: #FFFFFF;
  letter-spacing: 0;
  height: 40px;
  line-height: 40px;
  margin-top: 0;
  opacity: 1;
  transform: scaleY(1);
  
}
#toggle:checked ~ nav a:before {
  opacity: 0;
}
.navbar-label:hover {
  box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.1), inset 0 0 0 20px rgba(0, 0, 0, 0.1);
}

.navbar-label:before, .navbar-label:after {
  position: absolute;
  content: '';
  top:50%;
  left: 0;
  width: 100%;
  height: 1px;
  /*transform:translateY(-25%);*/
  background-color: #00FF00;
  border-radius: 5px;
  transition: 0.5s;
}
#toggle:checked ~ .navbar-label:before {
  height: 2px;
  transform: translateY(-50%) rotate(45deg) scale(1);
}
#toggle:checked ~ .navbar-label:after {
  height: 2px;
  transform: translateY(-50%) rotate(-45deg) scale(1);
}

.navbar-label:before {
  transform: translateY(-50%) rotate(45deg) scale(0);
}
.navbar-label:after {
  transform: translateY(50%) rotate(-45deg) scale(0);
}
	
.topnav, .topnav li {
	font-size: 100%;
	list-style: none; 
	padding: 0;
	margin: 0;
}
	.topnav li {
	}
	.topnav a {
		text-decoration: none; 
		display: inline-block;
		color: transparent;
		border: none;
		text-transform: uppercase;
  		float: left;
  		clear: both;
	}
	.topnav a:hover {
		background: #111111;
		text-decoration: underline; 
	}
	.topnav li.current a {
		background: #111111;
		text-decoration: underline; 
	}
	.topnav li a.redirect{
		font-size: 90%;
		line-height: 1.8em;
	}
	.topnav li.edit a {
		background: none; 
	}
	
form.search {
	float: right; 
	margin-top: 50px;
	width: 200px; 
	position: absolute;
	top: 20px;
	padding-left:5px;
	padding-right:5px;
}
	form.search input {
		border: 1px solid #ccc; 
		width: 100%; 
		color: #000000;
	}

.breadcrumbs {
	visibility:hidden;
}

iframe {
      position: fixed;
	    top: 0px;
	    bottom: 0px;
	    right: 0px;
	    width: 100%;
	    border: none;
	    padding: 0;
	    overflow: hidden;
	    z-index: 999999;
	    height: 100%;
	}
}	

@media only screen and (min-width: 767px) {
	
.topnav, .topnav li {
	font-size: 100%;
	list-style: none; 
	padding: 0;
	margin: 0;
}
	.topnav li {
	}
	.topnav a {
		text-decoration: none; 
		display: block;
		color: #FFF; 
		border: none;
	}
	.topnav a:hover {
		background: #111111;
		text-decoration: underline; 
	}
	.topnav li.current a {
		background: #111111;
		text-decoration: underline; 
	}
	.topnav li a.redirect{
		font-size: 90%;
		line-height: 1.8em;
	}
	.topnav li.edit a {
		background: none; 
	}
		
form.search {
	float: right; 
	margin-top: 50px;
	width: 280px; 
	position: fixed;
	right: 10px;
	top: 20px;
}
	form.search input {
		margin: 0;
		padding: 0.25em 0.5em;
		border: 1px solid #ccc; 
		width: 100%; 
		color: #000000;
	}

.breadcrumbs {
	clear: both; 
	padding-top: 1em; 
	font-size: 10px;
	color: #00FF00;
}
	.breadcrumbs span:after {
		content: ">";
		color: #999; 
		padding-left: 0.5em;
		padding-right: 0.25em; 
	}
}

.privacywire {
 position:fixed;
 bottom:-250%;
 left:0;
 right:0;
 box-shadow:0 -1px 3px rgba(0,0,0,.3);
 opacity:0;
 background:#111111;
 z-index:1;
 padding:1rem;
 transition:bottom .3s ease-in,opacity .3s ease
}
.privacywire-header {
 font-weight:700
}
.show-banner .privacywire-banner,
.show-message .privacywire-message,
.show-options .privacywire-options {
 bottom:0;
 opacity:1
}
.privacywire button[hidden],
[data-ask-consent-rendered="1"],
div.privacywire-ask-consent-blueprint {
 display:none
}


/*********************************************************************
 * 3. Main content and sidebar
 *
 */

#main {
	clear: both; 
}

#content {
	width: 85%; 
}

#content, #sidebar {
	padding-bottom: 2em; 
}

body.has-sidebar #content {
	width: 65%; 
	float: left;
}

body.has-sidebar #sidebar {
	width: 35%;
	padding-left: 5%; 
	padding-right: 5%; 
	float: left; 
	font-size: 75%;
}

.nav {
	margin-left: 0;
	padding-left: 0;
	list-style: none; 
	line-height: 1.5em;
}
	.nav .nav {
		padding-left: 1.5em;
		list-style: none;
	}
	.nav li {
		margin: 1em 0;
	}

	.nav-tree li {
		margin-top: 0;
		margin-bottom: 0;
		list-style: none; 
	}

	.nav a {
		font-weight: bold;
	}

	.nav-tree li a {
		color: #00FF00;
    	display:none;
	}
	
	.nav-tree .childnav {
		color: #00FF00; 
		display: unset;
	}

	.nav-tree .parentnav {
		color: #00FF00; 
		display: unset;
	}

	.nav-tree .siblingnav {
		color: #00FF00; 
		display: unset;
	}

	.nav-tree .nohide {
		color: #00FF00; 
		display: unset;
	}

	.nav .current > a {
		color: #FFFFFF; 
		text-decoration: underline; 
		display: unset;
	}

.align_left {
	/* for images placed in rich text editor */ 
	float: left;
	margin: 0 1em 0.5em 0; 
	position: relative;
	top: 0.5em;
	max-width: 50%; 
}

.align_right {
	/* for images placed in rich text editor */ 
	float: right;
	margin: 0 0 0.5em 1em;
	max-width: 50%; 
}

.align_center {
	/* for images placed in rich text editor */ 
	display: block;
	margin: 1em auto; 
	position: relative;
	top: 0.5em;
}

figure {
	display: table;
	width: 1px;
	margin: 1em 0;
}

figure img {
	display: table-row;
	margin-bottom: 0.5em;
}

figure figcaption {
	display: table-row;
	font-size: smaller;
	color: #777;
	line-height: 1.4em;
}

/*********************************************************************
 * 4. Footer
 *
 */

#footer {
	clear: both; 
	border-top: 1px solid #eee; 
	font-size: 80%; 
}

/*********************************************************************
 * 5. Media queries for responsive layout
 *
 */

@media only screen and (max-width: 1023px) {
	/* mobile layout */ 

	body, td, textarea {
		font-size: 100%; 
	}
	body.has-sidebar #content, 
	body.has-sidebar #sidebar {
		float: none;
		width: 100%; 
		padding: 0; 
	}
	form.search {
		position: absolute;
		float: none; 
		width: 100%; 
	}
	#content {
		width: 100%; 
	}
	#sidebar {
		border-top: 1px solid #eee;
		padding-top: 1em; 
	}
	.align_left, .align_right, .align_center {
		display: block;
		float: none; 
		margin: 1em auto;
		max-width: 100%; 
	}

}

@media only screen and (min-width: 1200px) {
	/* extra-wide desktop layout */ 
	
	body, td, textarea {
		font-size: 115%; 
	}
}
/*********************************************************************
 * 6. Accessibility helpers
 *
 */

/* Hide visually, but remain approachable for screenreader */

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	white-space: nowrap;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	border: 0;
}

/* Show bypass link on hover */

.element-focusable:focus {
	clip: auto;
	overflow: visible;
	height: auto;
}

/* Sample styling for bypass link */

.bypass-to-main:focus {
	top: 0;
	left: 0;
	width: 100%;
	height: 40px;
	line-height: 40px;
	text-align: center;
	background: #333;
	color: #fff;
}

/* OldUnreal style */
@media only screen and (min-width: 1024px) {
	div.left,div.bottom,div.top {
	  position: absolute;  
	  margin: 0;
	
	  /* Debuglines */
	  /*  border: 1px dotted #aaa;*/
	
	  /* If scrolling is needed: */
	  overflow: auto; 
	}
	div.left {
	  /* Placed on the left side */
	  top: 70px;
	  left: 0;
	  /* Width of left */
	  width: 160px;
	  height: 100%;
	  text-align: center;
	}
	div.left div {
		position: static; 
		/* Restore to normal values */
		width: auto;
		height: auto;
	}
	
	div.bottom  {
		bottom: 0; /* Don't overlap the left-side */
		left: 165px; /* Full width, this doesn't work completely with IE, but see
	     fixed_ie5.css for details. */
		right: 0px; /* Height of bottom part */
		top: 120px;
		font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
		overflow: auto;
		word-wrap: break-word;
	}
	div.bottom div {
		/* Reset to normal values */
		left: 0;
		right: auto;
		height: auto;
	}
	
	div.top {
		top: 10px; /* width of .left */
		right: 0; /* 100% - height of .bottom  */
		height: 120px;
		font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
		left: 170px;
	}
	div.top div {
	  /* Reset to normal values */  
	  position: static; 
	  left: 0;
	  right: auto;
	  height: auto;
	}
	
	/* This trick is to fix something i IE 5 on Mac..  */
	@media screen {
	  body>div.left,body>div.bottom,body>div.top {
	    position: fixed;
	  }
	}
	div.inner{
		padding-right: 15px;
	}
	
	/* custom acrollbar */
	#customscroll {
	/* Typical fixed height and fixed width example */
		width: auto;
		height: 98%;
		overflow: auto;
		/* IE overflow fix, position must be relative or absolute*/
		position: relative;
		/*background-color: #E7EADE;*/
		margin: 0.3em auto;
	}
	
	iframe {
	    position: absolute;
	    top: 0px;
	    bottom: 0px;
	    right: 0px;
	    width: 100%;
	    border: none;
	    margin: 0;
	    padding: 0;
	    overflow: hidden;
	    z-index: 999999;
	    height: 100%;
	}
}
