/*

These are styles for the KBPublisher install under the HECC subsite.  They override normal HECC styles and default KB styles.

version 1.5 12/5/20
john.hardman@nasa.gov

*/


/*add fonts*/
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,600,700,300);
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,400italic,600italic);
@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:400,300,700);


/* font rendering */
@media
only screen and (-webkit-min-device-pixel-ratio: 1.25),
only screen and ( min-device-pixel-ratio: 1.25),
only screen and ( min-resolution: 200dpi),
only screen and ( min-resolution: 1.25dppx)
{
    -webkit-font-smoothing: subpixel-antialiased;
}


/* COMMON */

/*

pre, code {
	color: inherit;
	font-weight: 400;
	font-size: 1em;
}
*/

kbd {
	color: inherit;
	font-family: 'Courier New',Courier,'Lucida Sans Typewriter','Lucida Typewriter',monospace;
	font-size:14px;
	font-weight: bold;
	color: #000;
}


hr {
    height: 1px;
    border-width: 0px;
    background-color: #808080;
}


/*** Page Baseline ***/
/*
html, body {
	height: 100%;
}

div.articleContainer {
	height: 100%;
	background:red;
}

#kbp_article_body {
	height: 100%;
}
*/
body.kb  {
	height: 100%;
	overflow: visible;

}

body.kb #Container {
	height: auto;
	background-color: #fff;
	min-height: 700px;
	overflow: hidden;
}

body.kb #Main {
	color: #000;
	background-color: #fff;
	font-family : 'Open Sans', Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: 1.25em;
	font-weight: 400;
	line-height: 1.3;
	float: left;
	margin-right: 1px;
	min-width: 500px;
	min-height: 700px;
	height: 100%;
	padding: 0 15px 0 10px;
	overflow: visible;

}

body.kb #Main h1, body.kb #Main h2,body.kb #Main h3,body.kb #Main h4 {
	font-family: 'Roboto  Condensed', Tahoma, Verdana, Arial, Helvetica, sans-serif;
	line-height: 1.5;
	letter-spacing: normal;

}

body.kb #Main h1 {
	font-size: 2.074em;
	font-weight: 400;
}

body.kb #Main h2 {
	font-size: 1.728em;
	font-weight: 400;
}

body.kb #Main h3 {
	font-size: 1.44em;
	font-weight: 300;
}

body.kb #Main h4 {
	color: #222;
	font-size: 1.2em;
	font-weight: 400;
}



body.kb #Subordinate{
	padding: 0;
	float: right;
	margin-left: -1px;
	min-height: 500px;
	height: 100%;
	width: 1px;
	margin-top: 0;
	overflow:auto;
}

body.kb #Footer {


}


/*** Top Menu Mods ***/


div.menuBlock {
	text-align: center;
	background-color:transparent;
	border:none;
}

div.menuBlock div.menuItem div.menuItemSpace, div.menuBlock div.menuItemSelected div.menuItemSpace {
	font-family: 'Open Sans', Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: 1.3em;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;



	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}


div.menuBlock div.menuItemSelected div.menuItemSpace {
	color: #fff;
}

div#content_div.content table.sTable tbody tr td {
	padding-top: 0;
}

div.menuBlock .menuItem:hover {
    background: #E0E0E0;
}


/** Breadcrumbs **/

div.navigation {
	background: #fff;
	border:none;
	margin-top: 0;
}

/*** Info Block **/


div.abbBlock {
	background:;

}

body.kb .abBorder
{
  background-color: #fff;
  border: 1px solid #666;
  border-top-width: 2px;
  margin-left: 4px;

}

body.kb .abBgrDarker
{
  background-color: #fff;
  color: #333;
  font-size: 0.9em;
  padding: 7px;
}


/*** Side Menu Mods ***/

div.leftBlock
{
  background-color: #f8f8ff;
  background-color: #fcfcfc;
  border-top-width: medium;
  border-right-width-value: medium;
  border-bottom-width: medium;
  border-left-width-value: medium;
  border-top-style: none;
  border-right-style-value: none;
  border-bottom-style: none;
  border-left-style-value: none;
  border-image-source: none;
  border-image-slice: 100% 100% 100% 100%;
  border-image-width: 1 1 1 1;
  border-image-outset: 0 0 0 0;
  border-image-repeat: stretch stretch;
}

div.searchFormBlock
{
  width: 240px;
  padding: 5px;
  background-color: #f8f8ff;
  background-color: #fcfcfc;
  border: 1px solid #666;
  border-top-width: 8px;
  margin-top: 0px;
  margin-right: -10px;
  margin-bottom: -10px;
  margin-left: -10px;
}

body.kb #menu_content
{
  width: 250px;
  padding-top: 5px;
  background-color: #f8f8ff;
  background-color: #fcfcfc;
  border: 1px solid #666;
  border-top-color: #f8f8ff;
  border-bottom: 3px solid #666;
  margin-left: 1px;
}


/* */

/*** Special Boxes ***/
/* Note that these must be copied into admin/tools/ckeditor_custom/contents.css to show up in wyswig editor in admin area */

/* Inline Note Thingy */

span.notary {
	margin: inherit;
	padding: inherit;
	color: #25a517;
	font-weight: bold;
}

span.notary:not(:empty):before{
    content: '\25BA';
}



/* These are the fancy special boxes */
.kb-box {
	color: #000;
	padding: 10px 10px 10px 42px;
	margin: 20px 0;
	margin-left: -1px;
}
.kb-box span {
	font-weight:bold;
	text-transform: uppercase;
}
.warning {
	background: #ffe3e4 url('../assets/images/template/glyphicons-197-circle-exclamation-mark.png') no-repeat 8px 50%;
	border-width: 1px 1px 1px 5px;
	border-style: solid;
	border-color: #c61c24;
}

.tip {
	background: #dffadd url('../assets/images/template/glyphicons-196-circle-info.png') no-repeat 8px 50%;
	border-width: 1px 1px 1px 5px;
	border-style: solid;
	border-color: #a6ca8a;
	border-color: #25a517;
}

.updatedoc {
	background: #fafafa url('../assets/images/template/glyphicons-219-circle-arrow-top.png') no-repeat 8px 50%;
	border-width: 1px 1px 1px 5px;
	border-style: solid;
	border-color: #333;
}




h2.lineTitle, h2.lineTitle {
	line-height: 150%;
	border-bottom: 1px solid #d4d4d4;
}
h2.lineTitle { font-size: 1.3em; }
h2.lineTitle { font-size: 1.2em; }


/**** Data Table Styles ***/

	#newsTable table, #kbp_article_body table {
	  border-collapse: collapse;
	  border: 1px solid #666;
	  font: normal 11px verdana, arial, helvetica, sans-serif;
	  color: #000;
	  background: #fff;
	  }

	#newsTable td, #newsTable th, #kbp_article_body td, #kbp_article_body th {
	  border: 1px dotted #ccc;
	  padding: .5em 1.2em;
	  color: #000;
	  }

	#newsTable tbody th, #newsTable th,  #kbp_article_body tbody th, #kbp_article_body th {
	  background-color: #666;
	  color: #fffffd;
	  border: 1px solid #666;
	  vertical-align: top;
	  text-align: center;
	  }

	#newsTable tbody td, #newsTable td, #kbp_article_body tbody td, #kbp_article_body td {
	 text-align: left;
	 }
	#newsTable.center tbody td, #kbp_article_body .center tbody td, #kbp_article_body .center td {
	 text-align: center;
	 }

	#newsTable.zebra tbody tr:nth-of-type(2n+1) :not(th), #kbp_article_body .zebra tr:nth-of-type(2n+1) :not(th), #kbp_article_body .zebra tbody tr:nth-of-type(2n+1) :not(th), #kbp_article_body .zebra tr:nth-of-type(2n+1) :not(th)  {
		background-color: #f5f5f5;
	}
	#newsTable.rollover tbody tr:hover :not(th), #kbp_article_body .rollover tr:hover :not(th), #kbp_article_body .rollover tbody tr:hover :not(th), #kbp_article_body .rollover tr:hover :not(th) {
		background-color:#c6e2ff;
	}

	#newsTable td.indent {
		padding-left: 40px;
	}

.tdFormCaption {
	vertical-align:top;
}

/* stupid stoplight table for article 285 et al */

table.stoplight tbody td, table.stoplight thead th {
	/*padding:0 !important;*/
	margin:0 !important;
	padding: 4px 2px !important;
	font-size: 0.875em;
	whitespace: pre-wrap;	
}

/* mtar table for article 291 */

table.mtarble tbody th td, table.mtarble tbody tr td {
	font-size: 1.2em;
}

table.mtarble pre {
	font-family: Consolas, Monaco, 'Andale Mono', monospace;
	direction: ltr;
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
	line-height: 1.6;
	
	margin: 0;
	padding:1em;
}




#fileIcons {
	width: 60%;
}




/** Flexible multiline definition lists with 3 width classes **/

dl {
	width: 100%;
}

dt {
    float: left;
	clear: left;
	text-align: left;
    margin-right: 5%;
    max-width: 15%;
    font-weight: bold;
}



dd {
    color: inherit;
    margin-left: 20%;
    margin-bottom: 0.5em;
}


dd::after {
    content: " ";
    display: block;
    clear: left;
}

dd + dt:not(:first-child) {
	margin-top: 1.5em;
}

dt:not(:first-child) + dd {
	margin-top: 2em;
}




/* dt is 10 percent width */

dl.percent10 dt {
    margin-right: 5%;
    max-width: 10%;
}

dl.percent10 dd {
	margin-left: 15%;
}


/* dt is 20 percent width */

dl.percent20 dt {
    margin-right: 5%;
    max-width: 20%;
}

dl.percent20 dd {
	margin-left: 25%;
}

/* dt is 30 percent width */

dl.percent30 dt {
    margin-right: 5%;
    max-width: 30%;
}

dl.percent30 dd {
	margin-left: 35%;
}

/** definition list with no indent and stacked dt/dd **/

dl.stacklist {
	margin: 0;
	padding: 0;
}

.stacklist dt {
	float:none;
  max-width: 100%;
	margin: 0;
	padding: 0;
	font-weight: bold;
}

.stacklist dd {
	margin: 0 0 1em 0;
	padding: 0;
}

.stacklist dt:not(:first-child) + dd {
	margin-top: 0;
}


.stacklist dd + dt:not(:first-child) {
	margin-top: 0;
}


/**** Scroll to Top Plugin ****/

#toTop {
	width:32px;
  border:1px solid #ccc;
  background:#ccc;
  text-align:center;
  padding:10px 5px 5px 5px;
  position:fixed; /* this is the magic */
  bottom:10px; /* together with this to put the div at the bottom*/
  right:10px;
  cursor:pointer;
  display:none;
  color:#333;
  font-family:verdana;
  font-size:32px;
	z-index: 10000;
}


/** kill glossary highlight **/

.glossaryItem {
	background-color: inherit;
	cursor: normal;
	color: inherit;
}

table.zebra tbody tr th span.glossaryItem {
	cursor: normal;
	background-color: inherit !important;
	color: inherit;
}


/**** Random Stuff ****/

hr.lightrule {
	display: block;
	height: 1px;
	border: none;
	color: silver;
	border-top: 1px solid silver;
	background-color: whitesmoke;
	margin: 1em 0 0 0; padding: 0;
}

/* this fixes a weird error when first para in article is followed by ul */

div.textBlock > p:first-child + ul {
	margin-top: 1.42857em;
}


/* this fixes collision when code box direclty follow h tag */

h2 + pre.language-bash, h3 + pre.language-bash, h4 + pre.language-bash { margin-top: 30px;}


/** removes the broken dropdown when admins are logged in **/

div.login div#drop_menu {
	display:none;
}

div.login span#user_menu ul {
	list-style-type: none;
	float: right;
}

div.login span#user_menu ul li {
	float:right;
	display: inline;
	margin: 0;
	padding: 0 4px;
}


