﻿
html { font-size: 100%; /* IE hack */
       scroll-padding-top: 70px;
}


body {
	margin: 0px;
	padding: 0px;
	border: 0px;
	background-image: url('../calc/images/bkgnds/bk_grid.gif');
	background-attachment: scroll;
	text-align: center; /* IE needs this to center the pictureframe */
	font-size: 100%;
}


/***************************** overall wrapper *************************/

.pictureframe {
	padding: 0px;
	width: 100%;
	max-width: 640px;
	min-width: 315px;  /* calculators need about 475px*/
	margin-left: auto;
	margin-right: auto;
	margin-top: 40px;
	margin-bottom: 12px;
}


/**************************** nav menu button **********************/


.cssFlag{
	content:"small";
}

.navButtonTop{
	position:fixed;
	top:8px;
	right:7px;
}

.closeButtonTop{
	position:fixed;
	top:8px;
	right:7px;	
}


.menuNavButton{
    background-color: black;   
    border-radius: 8px;
    border: 1px solid white;
    color: white;     
}

.menuCloseButton{
    background-color: black;   
    border-radius: 8px;
    border: 1px solid white;
    color: white;}


.left_off {
	display:none;	
}

.center_off {
	display:none;	
}

.right_off {
	display:none;
}

#toolbar {
	display:none;	
}




/*************************** mobile top menu bar *****************/

.mobileMenu {
	background: rgba(0,0,0,0.2);
	height: 40px;
	position:fixed;
	top:0px; 	
	width: 100%;
}





/****************************** page headers ******************************/

img#headerPicCalc{
	display:none;
}



/* header image for calc pages */
.headerGraphicsCalc {
	/*background-image: url('../images/header/wahiduddins_web_bk_200w.jpg');*/
	background-color: #2B5D92;
	height: 55px;
	border:0px;
	margin:0px;
	padding:0px;
}


.headerGraphicsCalc .headerTitle{
	width: 100%;
	max-width: 280px;
}



/* header nav bar for top of w web pages */
.headernavbarCalc {
	/*display: block;*/
	/*background-image: url('../images/header/wahiduddins_web_bk_200w.jpg');*/
	background-color: #2B5D92;
	text-align: left;
	margin: 0px;
	padding: 0px;
	border: 0px;
	height: 34px;
}

.headernavbarCalc a {
	display: inline;
	text-decoration: none;
	background-color: #2B5D92;
	margin: 5px 5px 0px 5px;
	padding: 0px;
	float: left;
	border: 0px;
	height: 24px;
	width: 90px;
}

.headernavbarCalc a.imgsl {
	background-image: url('../images_i_q/header/nav_sl.gif');
}

.headernavbarCalc a.imgpl {
	background-image: url('../images_i_q/header/nav_pl.gif');
}

.headernavbarCalc a.imgcl {
	background-image: url('../images_i_q/header/nav_cl.gif');
}

.headernavbarCalc a:hover {
	background-color: #B68809;
}

.headernavbarCalc img {
	/* note that this image is inside of div.headernavbar a */
	
	margin: 0px;
	padding: 0px;
	border: 0px;
	height: 24px;
}




/*********** main table to contain leftCol, textBodyCol, rightCol ************/

.mainTable {
	margin: 0px;
	padding: 0px;
	border: 0px;
	width: 100%;
	border-spacing: 0px;
 	border-collapse: collapse;
 	vertical-align:top;
}


/****************************** left column **********************************/

.leftCol {
	font-family: "Trebuchet MS", Arial, Geneva, sans-serif;
	font-size: 100%;
	width: 250px;
	min-width: 250px;
	max-width: 250px;
	background-color: #E3E4EC;
	border-right: 1px #D99702 solid;
	padding-top: 8px;
	padding-left: 40px;
	vertical-align:top;
	text-align: left;
	border-top: 2px #fff solid;
}



.leftCol a {
	display: block;  /* block and width are keys to full width highlighting */
	font-family: "Trebuchet MS", Arial, Geneva, sans-serif;
	font-size: 0.77em;
	color: #00f;
	padding: 2px 0px 2px 10px;
	margin: 0px;
	text-align: left;
	text-decoration: none;
	line-height: 2em;
}

.leftCol .mvIndex a {
	text-align:center;
}

.leftCol a:hover {
	color: #fff;
	background-color: #B68809;
}


.leftCol img {
	margin: 0px;
	padding: 0px;
	border: 0px;
	text-align: center;
	display:none;	
}

.leftCol .spacer {
	border-top: 2px #fff solid;
	text-align: center;
	margin: 10px 15px 6px 15px; 
	height: 2px; /* fix for IE not displaying spacers, hasLayout */
}

.leftCol h6 {
	font-size: 0.77em;
	font-weight: bold;
	padding: 12px 0px 0px 2px;
	margin: 0px;
}

.leftCol ul {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

.leftCol li {
	margin: 0px;
	padding: 0px;
}

.leftCol li  a{
	margin: 0px;
	padding: 1px 0px 1px 10px;
	text-align: left;
	width: 100%; /* fix for IE hasLayout adding extra space */
}

/* side by side inline (homepage/rss) */
.sideBySide {
	display: inline;
	text-align: center;
	font-weight: bold;
}

.sideBySide a{
	display: inline;
	padding: 2px;
	margin: 14px;
	font-weight: bold;	
}




/* site search form */
.leftCol form {
	padding: 0;
	margin: 0;
	text-align: center;
}


.searchform .spacer {
	border-top: 2px #fff solid;
	text-align: center;
	margin: 20px 15px 10px 15px; 
	height: 2px; /* fix for IE not displaying spacers, hasLayout */

}
 
/* input affects both the queryBox and submitButton, including their text */
.searchform input {
	/*background-color: #DE9D05;*/
	display: block;
	font-family: "Trebuchet MS", Arial, Geneva, sans-serif;
	font-size: 0.77em;
	color: blue;
	text-align: center; /* positons text in the search box and button*/
	margin-left:15px;
	margin-top:1em;
	margin-bottom:1.5em;

}





/******************************* main text column, overall setup*****************************/

.textBodyCol {
	background-color: #fff;
	padding: 0px;
	margin: 0px;
	border: 0px;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size: 100%;
	text-align: left;
	vertical-align:top;
}



.textBodyCol h1 {
	font-size: 1.50em;
	text-align:center;
	font-weight: normal;
}

.textBodyCol h2 {
	font-size: 1.33em;
	text-align:center;
	font-weight: normal;
}

.textBodyCol h3 {
	font-size: 1.00em;
	font-weight: 700;
	text-align:center;
	/*margin: 1em 0em 1em 0em;*/
}


.textBodyCol h4 {
	font-size: 1.00em;
	font-weight: 700;
	text-align:center;
	/*margin: 1em 0em 1em 0em;*/
	
}

.textBodyCol h5 {
	font-size: 1.00em;
	font-weight: bold;
	text-align:center;
	margin: 1em 0em 2em 0em;
}

.textBodyCol h6 {
	font-size: 1.00em;
	text-align: center;
	font-weight: bold;
}


.textBodyCol p {
	font-size: 0.9375em;
	line-height: 1.4em;
}

.textBodyCol td {
	font-size: 0.9375em;
}

.textBodyCol .smallerCentered {
	font-size: smaller;
	text-align:center;		
}


.textBodyCol a[href] {
	color: #00f;
	text-decoration: none;
	border-bottom: 1px #00f dotted;
}

.textBodyCol a:hover {
	color: #fff;
	background-color: #B68809;
}



.searchformInline input {
	/*background-color: #DE9D05;*/
	display: inline;
	font-family: "Trebuchet MS", Arial, Geneva, sans-serif;
	font-size: 0.77em;
	color: blue;
	text-align: center; /* positons text in the search box and button*/
	margin-left:auto;
	margin-right:auto;
}



.left {
	text-align: left;
}


.indent20 {
	margin: 15px 20px 10px 20px;
}

.indent40 {
	margin: 15px 20px 10px 40px;
}


.highlight_text{
	background-color: #FFFFCC;
	font-weight: bold;
	color:#CC1051;	
}

.calc_top_col_1{
	width: auto;
}

.calc_top_col_2{
	width: 6em;
}

.calc_top_col_3{
	width: 6em;
}

.calc_top_col_4{
	width: 4em;
}


.calc_top_col_23{
	width: 50%;
}

.calcTableWidth{
	width: 100%;
}




/***************************** wahid_web page setup *********************/

.wweb {
	margin: 10px 12px 35px 12px;
}

/*
.wweb h2{
	font-size: 1.50em;
	font-weight: normal;
	text-align: left;
	line-height: 28pt;
}
*/
.wweb .footnote {
	font-size: 0.83em;
	border-top: 1px #ddd solid;
	margin: 4em 2em 1em 2em;
}

.wweb .footnote p {
	font-size: 0.83em;
}

.wweb .notes {
	margin: 20px 40px 20px 40px;
	font-size: 0.83em;
}

.quotetext {
	margin: 5em 4em 1em 4em;
}

.quotesource {
	margin: 1em 4em 3.5em 7em;
	font-style: italic;
	font-size: smaller;
}

.wweb .updated  {
	font-size: 0.69em;
	font-style: italic;
	text-align: right;
	color: #bbb;
}

.wweb .smaller p{
	font-size: smaller;
}


.bookBody .smaller {
	font-size: smaller;
}

.smaller {
	font-size: smaller;
}


.centered {
	text-align: center;
}

.center_margins {
	margin-left:auto;
	margin-right:auto;
}


.wweb .checked  {
	font-size: 0.69em;
	font-style: italic;
	text-align: right;
	color: #bbb;
}


.wweb .two_lines h2{
	text-align: left;
	line-height: 1.7em;
	margin-left: 10%;
}




.wweb .indented {
	margin: 40px;
}




/**************************** body using fine text *****************/

.fineBody {
	padding: 15px 15px 30px 15px;
}


/***************************** right column *************************/

.rightCol {
	width: 0px;
	padding: 0px;
	margin: 0px;
	border: 0px;
	background-color: #fff;	
}

.rightCol a {
	color: #00f;
	text-decoration: none;
}

.rightCol a:hover {
	color: #fff;
	background-color: #B68809;
}



/*********************** footer for name and address ************************/

.footerCalc {
	background-color: #2B5D92;
	font-family: "Trebuchet MS", Arial, Geneva, sans-serif;
	font-size: 0.77em;
	color: #ccc;
	text-align: center;
	margin: 0px;
	padding: 4px;
	border-top: 1px #D99702 solid;
}

/********* class to prevent on-screen display of "print-only" items **************/

.noscreen {
	display: none;
}






