
body {
    font-size: 14px;
    margin: 0;
}
form {
}
h1 {
}
#pagetop{
	z-index:1;
	background-color: #00bce4;
    height: 65px;
    position: absolute;
    width: 100%;
}
#content {
    /*margin: 0em 4em;*/
    font-size: 14px;
	width:750px;
	margin:0 auto;
	position:relative;
	z-index:100;
}
#mainlogo{
	display:inline-block;
	float:right;
	margin-left:3em;
}
#cimtlogo{
	height: 45px;
    margin-left: 10px;
    margin-top: 10px;
}
#h_unit {
    /*background-color: #80a5c6;*/
    font-size: 26px;
    font-weight: bold;
    line-height: 52px;
    text-transform: uppercase;
	text-align:right;
}
#h_title {
    /*background-color: #80a5c6;*/
    font-size: 18px;
    font-style: italic;
    height: 28px;
    line-height: 28px;
	text-align:right;
}
#h_page {
    line-height: 65px;
    height: 65px;
	padding-left:3em;
    text-align: center;
	font-size:20px;
	color: white;
}
#top {
	margin-bottom: 3em; 
	color:#004a8d;
}

#intro {
    font-size: small;
	padding:3em 10% 2em;
	line-height: 1.5em;
}
.intro{
	font-size:small;
    padding: 3em 10% 2em;
	line-height: 1.5em;
}
#intro p{margin:1.2em 0;}
#examples {
}
#examples_title {
    background-color: #00BCE4;
    clear: both;
    color: white;
   /* margin-left: -2.5em;*/
    padding: 0.5em 1em;
    text-align: center;
    margin-bottom:0;
}
#examples th {
    font-weight: normal;
}
#exercises_title {
    background-color: #004A8D;
    color: white;
    /*margin-left: -2.5em;*/
    padding: 0.5em 1em;
    text-align: center;
    margin-bottom:0;
}
#exercises {
    clear: both;
}
#helpbutton{
    color: #00BCE4;
    float: right;
    margin-right: 5px;
    margin-top: -22px;
    cursor:pointer;
}
#exercise_intro {
    color: gray;
    font-size: small;
    margin: 1em 0;
    padding: 0 4em;
    text-align: justify;
}
#exercise_intro img {
    vertical-align: sub;
}
#exercises form {
    border-top: 2px solid #004A8D;
    clear: both;
    margin-bottom: 2em;
}
#exercises th {
    font-weight: normal;
}

/************************ footer *******************************/

#stat {
    background-color: antiquewhite;
    margin-top: 2em;
    padding: 1em 0;
    text-align: center;
}
#foot {
    padding-bottom: 20px;
    padding-top: 10px;
    text-align: center;
}
#result {
    background-color: burlywood;
    margin: 1em auto;
    text-align: left;
}
#result tr td {
    padding: 0.5em;
}
#result input{
    width:3em;
}
#copyright {
    color: gray;
    font-size: x-small;
    padding-left: 2em;
	padding-top:1em;
    text-align: left;
}
#date {
    font-size: 10px;
    padding-bottom: 10px;
}

/*******************************************************/

.indent {
	padding-left: 3em;
}
.partbody p.indent {
}
.note {
    color: gray;
    font-style: italic;
}
.notetitle {
}
.help {
	color: lightgrey;
}
.other{
	color:peru;
	font-style:italic;
	padding-bottom: 1em;
}
.other h3{
}
.center {
    margin: 0 auto;
}
.centerc {
    text-align: center;
}
.centerc .centerb {
    border: 1px solid black;
    display: inline-block;
    padding: 0.5em 1em;
}
.right {
    float: right;
}
img.right{margin-left:1em; margin-bottom:1em;}
.left {
    float: left;
}
img.left{margin-right:1em; margin-bottom:1em;}
.clear {
    clear: both;
}
.em{font-style:italic;}
div.lcol {
}
div.rcol {
}
#exercises .nob {
    border-width: 0;
}
#examples .nob {
    border-width: 0;
}


/********************** examples **************************/


.showbut {
    cursor: pointer;
    vertical-align: middle;
}
#examples .parttitle {
    color: #00BCE4;
}
.example {
    padding-bottom: 1em;
    padding-top: 1em;
    position: relative;
}
.examplec {
    border-top: 2px solid #00BCE4;
	clear: both;
}
.show {
    display: none;
}
.show th {
    font-weight: normal;
}
.ex {
    background-color: cornsilk;
    color: red;
    cursor: default;
    margin: 0.5em 0;
    padding: 1em;
}
.exinline{
	margin:0;
	padding:0 0.3em;
	line-height:20px;
}
#examples .ex th {
    font-weight: bold;
}
#examples .partbody p {
}


/*********************** exercises ****************************/


#exercises .parttitle {
    color: #004A8D;
}
.question {
    clear: both;
}
.qtext{padding-bottom:1em;}
.question th {
}
.qnum, .enum {
    color: #004A8D;
    float: left;
    font-size: 300%;
    margin-left: -2em;
    text-align: right;
    width: 1.5em;
}
.but {
    padding-left: 20px;
}
.enum {
    color: #00BCE4;
}
.qnum {
    color: #004A8D;
}
.but img {
    cursor: pointer;
    vertical-align: text-top;
}
.question input {
    border: 1px solid lightgray;
    width: 3em;
}
.question .wider {
    width: 4em;
}
.question .wider2 {
    width: 6em;
}
.parttitle {
    float: left;
}
.partbody {
    padding-left: 3em;
}
.partdelim {
    clear: both;
    height: 1.5em;
}
.partdelim2 {
}
.vdelim {
}
.cleard {
    clear: both;
}
.partbody p {
    margin: 5px 0;
}
.solution {
}


/***************************************** elements *********************************************/


.question .formulac {
    background-color: white;
    color: black;
    display: inline-block;
    padding: 2px 3px;
}

sup {
    font-size: 11px;
}
sup.fr{
	vertical-align: top;
}
sup input {
    font-size: x-small;
    height: 1.1em;
    width: 1.5em;
}
.eq {
    padding: 0 5px;
}
.equation .lside {
    text-align: right;
}
.equation .eq {
    text-align: center;
}
.equation .comment {
    padding-left: 30px;
}
.eqt .lside {
    text-align: right;
}
.eqt .cside {
    text-align: center;
}
.eqt .comment {
    padding-left: 30px;
}
#examples .eqt {
    margin-bottom: 5px;
    margin-top: 5px;
}
.flash {
    overflow: hidden;
}
.type-rel {
    margin: 0 0.3em;
    vertical-align: middle;
    border:2px solid white;
}
.uppoint {
    background: url("uppoint.png") no-repeat scroll 0 0 transparent;
}
.example .uppoint {
    background: url("uppointb.png") no-repeat scroll 0 0 transparent;
}
.ex .uppoint {
    background: url("uppointr.png") no-repeat scroll 0 0 transparent;
}
.question .uppoint {
    background: url("uppointb.png") no-repeat scroll 0 0 transparent;
}
.solution .uppoint {
    background: url("uppoint.png") no-repeat scroll 0 0 transparent;
}
.rootsym {
/*    padding-bottom: 0.6ex;
    vertical-align: middle;*/
    padding-bottom: 0.3em;
    vertical-align: middle;
    display: inline-block;
}
.root {
    border-top: 1px solid;
}
.rootr {
    font-size: x-small;
    vertical-align: super;
}
.rootb {
    background: url("fracsq.png") no-repeat scroll 0 0 transparent;
    display: inline-block;
    padding-left: 13px;
}
.rbbody {
    border-top: 1px solid black;
    display: inline-block;
}
.question .rootb {
    background: url("fracsqbq.png") no-repeat scroll 0 0 transparent;
}
.question .rbbody {
    border-top: 1px solid blue;
}
.ex .rootb {
    background: url("fracsqr.png") no-repeat scroll 0 0 transparent;
}
.ex .rbbody {
    border-top: 1px solid red;
}
.ilpic {
    vertical-align: middle;
}
.ls {
    display: inline-block;
}
.rs {
    display: inline-block;
}
.wrop .e {
    text-align: right;
}

.cbutton{display:inline-block; 
	vertical-align:middle; 
	width:22px; 
	height:22px; 
	line-height:22px;
	font-size:14px;
	font-family:sans-serif,Arial;
	text-align: center;
	background:url("cbut.png") no-repeat;
}
.cbutton2{display:inline-block; 
	vertical-align:middle; 
	width:36px; 
	height:36px; 
	line-height:36px;
	font-size:16px;
	font-family:sans-serif,Arial;
	text-align: center;
	margin:0 0.3em;
	background:url("cbut2.png") no-repeat;
}
.example .cbutton{background:url("cbutr.png") no-repeat;}
.example .cbutton2{background:url("cbut2r.png") no-repeat;}



/*.w {border: 2px solid red;}
.fractioni.w{border-width:0px;}
.fractioni.w input{border:2px solid red;}*/
.w{	background-color:tomato; }
.fractioni.w{background-color:white;}
.fractioni.w input{background-color:tomato;}

/* tables */
.simpletable, 
.simpletable_nob{margin:0 auto 1em auto; border-collapse:collapse;}
.simpletable td, 
.simpletable_nob td{border-left:1px solid black;border-right:1px solid black;padding: 0.3em 0.5em; text-align:center;}
.simpletable td{border:1px solid black; }
.simpletable td.h, 
.simpletable_nob td.h{text-align:left;}
.simpletable_nob td.h{border:1px solid black;}
.simpletable_nob .h td{border:1px solid black;}
.simpletable .nob{}

