/********************* MAIN PAGE FORMATTING *********************/

/*NOTE: printable-page uses print_csdn.css, not this CSS file */

body {
	/* background-color: #ffffff; */
	background-image: url(/bkgnd_left_blu.gif);
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
	line-height: 1.5em;
	border: 0;
	padding: 0;
	margin: 0;
}
.maintext {
	padding-left: 220px;
	padding-right: 1em;
	max-width: 42em;
	margin: 1em  0;
}

p {
	text-align: justify;
}

@media screen and (max-device-width: 45em) {
	body {
		background-color: #ffffff;
		background-image: none;
		font-size: medium;
	}
	.maintext {
		max-width: 95%;
		width: 95%;
		line-height: 1.5em;
		margin: 1em 2.5%;
		padding-left: 0;
	}
	.maintext a {
		word-wrap: break-word;
	}
	p {
		text-align: left;
	}

}

/********************* HEADER AND MENU *********************/

.hdr {
	/*background-color: #202060;*/
	background-image: url(/blu_vert_grad6.jpg);
	color: #ffffc0;
	padding-top: 10px;
	position: relative;
	white-space: nowrap;
}
#logo {
	position: relative;
	left: 40px;
}
#csdnname {
	position: relative;
	left: 45px;
	top: 5px;
}
#searchform {
	display: inline;
}

@media screen and (max-device-width: 45em) {
	#logo {
		display: none;
	}
	#csdnname {
		max-width: 100%;
		position: relative;
		display: block;
		margin: auto;
		left: 0;
		top: 0;
	}
	#searchform {
		display: inline;
	}
	.srch {
		/*font-size: 1.4em;*/
		display: inline;
	}
}

.menu {
	background-color: #45458D;
	top: auto;
	font-family: Arial, Helvetica, sans-serif;
}
.menu td {
	min-width: 80px;
	background-color: #202060;
	color: #ffffc0;
	text-align: center;
	border-left: 1px solid #45458D;
	border-right: 1px solid #45458D;
}
.menu td#current {
	background-color: #6060c0;
}
.menu td:hover {
	background-color: #7070e0;
}
.menu td#current:hover {
	background-color: #7070e0;
}
.menu a {
	color: #ffffc0;
	background-color: transparent;
	display: block;
}
.menu td#current a{
	color: #ffffc0;
}
#menufiller {
	background-color: transparent;
	width: 196px;
	color: #ffffc0;
}

#bottommenu {
	background-color: #202060;
	font-family: Arial, Helvetica, sans-serif;

	position: fixed;
	bottom: 0;
	border-top: 2px solid #202060;
}

@media screen and (max-device-width: 45em) {
	#topmenu {
		display: none;
	}
	.menu table {
		width: 100%;
	}
	.menu td {
		min-width: 0;
	}
	#menufiller {
		display: none;
	}
	#bottommenu {
		width: 100%;
	}
}

/*.dropmenu {
	border:  1px solid #202060;
	width: 80px;
    	line-height: 140%;
    	position: absolute;
    	/*background-color: #fff8f0;
    	color: #202060;*/
    	background-color: #202060;
    	color: #ffffc0;
    	text-align: left;
    	left: 200px;
}*/

/********************* BOX TEXT *********************/

#tocinstr {
	display: none;
}
@media screen and (max-device-width: 45em) {
	#tocinstr {
		display: block;
		background-color: #404090;
		color: #ffffc0;
		line-height: 1.2em;
	}
}

.fixedboxtxt {
	position: fixed;
	left: 8px;
	top: 200px;
	bottom: 0;
	width: 180px;
	background-color: transparent;
	color: #ffffc0;
	overflow: auto;
	overflow-y: auto;
	z-index: 5;
	padding-left: 1em;
	text-indent: -1em;
}

@media screen and (max-device-width: 45em) {
	.fixedboxtxt {
		position: fixed;
		left: 8px;
		/*top: 260px;*/
		top: 0;
		/*bottom: 0;*/
		width: auto;
		background-color: rgba(32, 32, 96, 0.9);  /*#202060;*/
		color: #ffffc0;
		overflow: auto;
		overflow-y: auto;
		z-index: 50;
		visibility: hidden;
		line-height: 1.5em;
		padding-left: 1em;
		text-indent: -1em;
	}
}

@media print { /*when printing from web display, not from "printable-page" */
	.fixedboxtxt {
		position: absolute;
		left: 8px;
		top: 220px;
		background-color: transparent;
		color: #ffffc0;
	}
}

.fixedboxtxt a:link {
	color: #ffffc0;
	text-decoration: none;
	display: block;
}
.fixedboxtxt a:visited {
	color: #ffffc0;
	text-decoration: none;
	display: block;
}
.fixedboxtxt a:hover {
	color: #ffc0ff;
	text-decoration: none;
	display: block;
}

.fixedboxtxt br {
	display: none;
}

.fixedboxtxt p {
	text-align: left;
}

.fixedboxtxt ul {
	list-style-type: none;
	margin-left: 0;
	padding-left: 0;
}
.fixedboxtxt li {
	padding-left: 1em;
	text-indent: -1em;
}

.fixedboxsubtxt {
	font-size: smaller;
	line-height: 1.5em;
	padding-left: 1em;
	text-indent: -1em;
}

@media screen and (max-device-width: 45em) {
	.fixedboxsubtxt {
		display: none;
	}
}


/********************* SPECIAL TEXT FORMATS *********************/
.printable {  /* this is for the "printer-friendly page" message */
	margin: 0;
	font-style: italic;
	text-align: right;
	float: right;
}
.printable A {
	/*font-size: smaller;*/
	color: #888;
}
.printable:before {
	content: url(/print_icon.png);
	vertical-align: text-top;
}

@media screen and (max-device-width: 45em) {
	.printable {
		display: none;
	}
	.printable A {
		display: none;
	}
	.printable:before {
		display: none;
	}

}

img {
	max-width: 100%;
}
.imgright {
	padding: 0px 0px 0px 10px;
	float: right;
}
.imgleft {
	padding: 0px 10px 0px 0px;
	float: left;
}
.imgcenter {
	padding: 0;
	margin 0;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.preserve-aspect {
	width: 100%;
	height: auto;
}

.justify {
	text-align: justify;
}
.nojustify {
	text-align: left;
}
.center {
	text-align: center;
}
.left {
	text-align: left;
}
.narrow_line_spacing {
	line-height: 1.2em;
}
blockquote, blockquote p {
	line-height: 1.2em;
	text-align: justify;
	font-size: inherit;
}

h1 {
	line-height: 1.2em;
	text-align: center;
}
h2 {
	padding-top: 1em;
}
h3 {
	padding-top: 0.5em;
}
h4 {
	margin-bottom: 0;
}
.no_space_below {   /* use with H2, etc */
	margin-bottom: 0;
	padding-bottom: 0;
}
.no_space_above {   /* use with H2, etc */
	margin-top: 0;
	padding-top: 0;
}
.no_space_around {   /* use with H2, etc */
	margin-bottom: 0;
	padding-bottom: 0;
	margin-top: 0;
	padding-top: 0;
}

.indent {
	padding-left: 2em;
}
.indent_rest {
	margin-left: 2em;
	text-indent: -2em;
}

@media screen and (max-device-width: 45em) {
	h1 {
		font-size: x-large;  /* equivalent to H2 */
	}
}

.a_long {  /* long anchor or phrase (more than one line) - use div class="a_long" */ /* for refs, replace with .refs li */
	margin-left: 1em;
	text-indent: -1em;
	line-height: 1.1em;
	margin-top: 0;
}

.lastmod {
	color: #808080;
	font-size: smaller;
	line-height: 1.1em;
	margin: 3em  0  1em  0;
}
.lastmod a {
	color: #808080;
	text-decoration: none;
}
.disclaimer {
	font-size: 110%;
	font-style: italic;
	font-family: 'Times New Roman', Times, serif;
}
.small_disclaimer {
	font-style: italic;
	line-height: 1.1em;
	font-family: 'Times New Roman', Times, serif;
}
.small {
	font-size: smaller;
}
.smaller {
	font-size: smaller;
	line-height: 1.2em;
}
.not_in_effect {
	color: #a0a0a0;
}


.socialbg {
	background-color: #f0f0ff;
	width: 100%;
}
.social {
	background-color: inherit;
	padding-right: 20px;
	float: left;
}
.visitus {
	margin-top: -10px;
	margin-bottom: 20px;
}
/*.ex40 { text-align: center; width: 40ex; }
.em21 { text-align: center; width: 21em; }*/

/********************* MISC *********************/

table, tr, td {
	color: inherit;
	font-size: inherit;
	line-height: inherit;
	max-width: inherit;
}
@media screen and (max-device-width: 45em) {
	#BofDtable {
		border-collapse: collapse;
	}
	#BofDtable tr {
		display: table-row-group;
		border-bottom: 1.5em solid #f8f8f8;
	}
	#BofDtable td {
		display: table-row;
		line-height: 1.2em;
	}

	#CampaignExample {
		max-width: 100%;
		width: 100%;
		table-layout: fixed;
	}
	/*#CampaignExample td {
		font-size: small;
	}
	#CampaignExample td[contentEditable] {
		font-size: small;
	}*/
	/*#CampaignExample #to, #CampaignExample #cc {
		font-size: small;
	}*/
	#CampaignExample #subject {
		max-width: 100%;
	}
	#CampaignExample #body {
		max-width: 100%;
	}
	#CampaignExample tr {
		display: table-row-group;
		border-bottom: 1em solid #fff;
	}
	#CampaignExample td {
		display: table-row;
		word-wrap: break-word;
	}
	#CampaignExample ul {
		margin-left: 1em;
		padding-left: 0;
		word-wrap: break-word;
	}
	#CampaignExample li {
		word-wrap: break-word;
	}
}

dt {
	font-weight: bold;
	text-decoration: underline;
}
.printpage {
	background-color: #ffffff;
	background-image: none;
	border: 0;
	padding: 0;
	margin: 0.5in;
	font-size: medium;
}

/********************* REFERENCES *********************/

.refs {
	line-height: 1.5em;
}
.refs ul {
	list-style-type: none;
	margin-left: 0;
	padding-left: 0;
}
.refs ol {
	list-style-type: decimal;
	margin-left: 0;
	padding-left: 0;
}
.refs li {
	/*margin-left: 1em;*/
	padding-left: 1em;
	text-indent: -1em;
}
.refs h4 {
	margin-bottom: 0;
}
.refs h4 + ul {
	margin-top: 0;
}
.refnum { /* use for [1] within <A> */
	text-decoration: none; /* turn off underline */
	/*font-size: smaller;*/
	vertical-align: top;
}

/********************* GNUCASH REPORTS *********************/

/* The following are used in the gnucash reports: */
h3.gnucash { font-size: larger; }
table.gnucash {min-width: 60%;}
td.neg { color: red;  }
td.anchor-cell, td.total-label-cell, td.text-cell, td.header-label-cell { vertical-align: top; line-height: 1.2em; }
td.total-label-cell, td.text-cell, td.header-label-cell { font-size: larger; font-weight: bold; }
td.anchor-cell { padding-left: 2em;}
td.number-cell, td.total-number-cell { text-align: right; vertical-align: bottom; width: 10ex;}
td.total-number-cell { font-size: larger; font-weight: bold;}

