
body {
    font-size: 14px;
    margin: 0;
}
form {
}
h1 {
}

#texts h2{margin-top:3em; text-align:center;}

#pagetop{
    z-index:1;
    height: 65px;
    position: absolute;
    width: 100%;
}
#content {
    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 {
    font-size: 26px;
    font-weight: bold;
    line-height: 52px;
    text-transform: uppercase;
	text-align:right;
}
#h_title {
    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;
}
#top {
	margin-bottom: 3em;
}

#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 {
    clear: both;
    padding: 0.5em 1em;
    text-align: center;
    margin-bottom:0;
}
#examples th {
    font-weight: normal;
}
#exercises_title {
    padding: 0.5em 1em;
    text-align: center;
    margin-bottom:0;
	clear:both;
}
#exercises {
    clear: both;
}
#helpbutton{
    float: right;
    margin-right: 5px;
    margin-top: -22px;
    cursor:pointer;
}
#exercise_intro {
    font-size: small;
    /*margin: 1em 0;*/
    padding: 0 4em;
    text-align: justify;
}
#exercise_intro img {
    vertical-align: sub;
}
#exercises form {
    border-top: 2px solid black;
    clear: both;
    margin-bottom: 2em;
}
#exercises th {
    font-weight: normal;
}

div.general{font-family:Arial sans-serif; padding: 1.5em; text-align:center;}



/************************ footer *******************************/

#stat {
    margin-top: 2em;
    padding: 1em 0;
    text-align: center;
}
#foot {
    padding-bottom: 20px;
    padding-top: 10px;
    text-align: center;
}
#result {
    margin: 1em auto;
    text-align: left;
}
#result tr td {
    padding: 0.5em;
}
#result input{
    width:3em;
}
#copyright {
    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 {
    font-style: italic;
}
.notetitle {
}
/*.help{color:green; padding-bottom:10px;}*/
.helpbutton{margin:0 3px; cursor:pointer;}
.helpbox{border: 1px solid black; box-shadow: 7px 7px 5px lightgrey;display: none;
    margin: 0.5em;padding: 0.5em 1em;position: absolute;cursor:pointer;}
.other{
	font-style:italic;
	padding-bottom: 1em;
}
.other h3{
}
.center {
    margin: 0 auto;
}
.centerc {
    text-align: center;
}
.centerc .centerb, .indent .centerb {
    border: 1px solid black;
    display: inline-block;
    padding: 0.5em 1em;
}
.right {
    float: right;
}
.rightc{text-align:right;}
.leftc{text-align:left;}
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;
}
.pre{white-space:pre;}


/********************** examples **************************/

.showbut {
    cursor: pointer;
    vertical-align: middle;
}
.example {
    padding-bottom: 1em;
    padding-top: 1em;
    position: relative;
}
.examplec {
    border-top: 2px solid black;
	clear: both;
}
.show {
    display: none;
}
.show th {
    font-weight: normal;
}
.ex {
    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 ****************************/

.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;
}
.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;
}

.type-ineq {vertical-align: middle; }
.type-ineq.w{border:1px solid tomato;}

.iv{
	background:url("../common/interval/sze.png") no-repeat 2px 2px; 
	height:40px; 
	padding-left:15px; 
	padding-top:2px;
	display:inline-block;
}
.type-iv{border:2px solid transparent;}
.type-iv.w{border:2px solid tomato; background-color:transparent;}
.iv .szei{cursor:pointer; width:21px;}

sup {
    font-size: 11px;
}
sup.hisup {
    vertical-align: 1.5em;
}
sup.fr{
	vertical-align: top;
}
sup input {
    font-size: x-small;
    height: 1.1em;
    width: 1.5em;
}
.eq {
    padding: 0 5px;
}
.eqt td {
    vertical-align: text-bottom;
}
.equation .lside {
    text-align: right;
}
.equation .eq {
    text-align: center;
}
.equation .comment {
    padding-left: 3em;
}
.eqt .lside {
    text-align: right;
}
.eqt .cside {
    text-align: center;
}
.eqt .comment {
    padding-left: 3em;
}
#examples .eqt {
    margin-bottom: 0.5em;
    margin-top: 0.5em;
}
.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;
}
.ex .uppoint {
    background: url("uppointr.png") no-repeat scroll 0 0 transparent;
}
.solution .uppoint {
    background: url("uppoint.png") no-repeat scroll 0 0 transparent;
}
.rootsym {
    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;
	padding:0 0.1em;
}

.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;
}

/* <span class="sum"><em>n</em><span class="sumsign">Σ</span><em>i</em>=1</span> */
.sum {
    display: inline-block;
    font-size: x-small;
    line-height: 1.8em;
    margin-right: 0.5em;
    text-align: center;
    vertical-align: middle;
}
.sum .sumsign{
	display: block;
    font-size: 300%;
}

.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;
}
.cbuttonb{
	border:1px solid black; 
	padding:0.1em 0.3em;
	border-radius:0.5em;
}
.example .cbutton{background:url("cbutr.png") no-repeat;}
.example .cbutton2{background:url("cbut2r.png") no-repeat;}
.ex .cbuttonb{
	border-color:red;
}

.vkbracket {float: left; margin-right:0.3em;}
.br{display:inline-block; vertical-align:middle;line-height:120%;}

/* 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{}
table td.but{width:80px;}

/* finput */
.finput{
	border:1px solid gray;
	padding: 0.1em 0.2em;
	min-height: 1em;
	min-width:3em;
	cursor: text;
	vertical-align: middle;
	display:none;
}

/* ul */
.type-ul{display:inline-block;}
.ul{cursor:pointer; display: inline-block; padding:0 0.1em; border:0px solid transparent; border-bottom-width: 3px;}
.ul .fractioni{display: inline-block;}

/* probability-scale */
.type-ps.w {
    background-color: transparent;
    border: 1px solid tomato;
}

/* dnd */

.dndarea{
	position:relative;
}

.dndobj, .dndobj_pos, .dndobj_hl{
	width:10px;
	height:10px; 
	position:absolute; 
	left:0px; top:0px;
}
.dndobj:hover{
}
.dndobj_hl{
}
.dndobj_pos{
}











/***************************************** COLORS ***********************************************/



#texts h2{color:#004a8d;}
#texts h3{color:#004a8d;}
#texts a.indent{color: #00BCE4;}

#pagetop{background-color: #00bce4;}

#h_page { color: white; }
#top { color:#004a8d; }

#examples_title {background-color: #00BCE4; color: white;}

#exercises_title { background-color: #004A8D; color: white;}

#helpbutton{ color: #00BCE4;}

#exercise_intro { color: gray;}

#exercises form {border-top-color:#004A8D;}

div.general{color:#00bce4;}


/***************** footer ***********************/

#stat { background-color: antiquewhite;}
#result { background-color: burlywood;}
#copyright { color: gray;}

/***********************************/


.note { color: gray;}
.help { color: #999; }
.helpbox{background-color: white;border-color: #00bce4;box-shadow: 7px 7px 5px #888888;}
.helpbox .help_light{color:lightgrey;}

.other{ color:peru;}

.centerc .centerb, .indent .centerb { border-color: black;}
.ex .centerc .centerb, .ex .indent .centerb { border-color:red; }


/**************** examples ********************/

#examples .parttitle { color: #00BCE4; }

.examplec { border-top-color: #00BCE4;}
.ex { background-color: cornsilk;color: red;}


/*************** exercises *********************/

#exercises .parttitle { color: #004A8D; }
#exercises .other .parttitle { color: #CD853F; }
.qnum, .enum { color: #004a8d;}
.enum { color: #00BCE4; }
.qnum { color: #004A8D; }
.question input { border-color: lightgray;}



/*************************** elements ******************************/


.type-ineq.w{border-color:tomato;}

.iv{ background:url("../common/interval/sze.png") no-repeat 2px 2px; }

.type-iv.w{border-color:tomato; background-color:transparent;}

.type-rel { border-color:white; }

.uppoint { background: url("uppoint.png") no-repeat scroll 0 0 transparent; }
.ex .uppoint { background: url("uppointr.png") no-repeat scroll 0 0 transparent; }
.solution .uppoint { background: url("uppoint.png") no-repeat scroll 0 0 transparent; }


.rootb { background: url("fracsq.png") no-repeat scroll 0 0 transparent;}
.rbbody { border-top-color: black;}
.question .rootb { background: url("fracsqbq.png") no-repeat scroll 0 0 transparent; }
.question .rbbody { border-top-color: blue; }
.ex .rootb { background: url("fracsqr.png") no-repeat scroll 0 0 transparent; }
.ex .rbbody { border-top-color: red; }


.cbutton{ background:url("cbut.png") no-repeat; }
.cbutton2{ background:url("cbut2.png") no-repeat; }
.cbuttonb{ border-color: black; }
.example .cbutton{background:url("cbutr.png") no-repeat;}
.example .cbutton2{background:url("cbut2r.png") no-repeat;}
.ex .cbuttonb{ border-color:red;}


.w{	background-color:tomato; }
.fractioni.w{background-color:white;}
.fractioni.w input{background-color:tomato;}



.ul{color: #004a8d;}
.ul:hover{border-color:#bbdde4;}
.uls{border-color:#004A8D;}
.uls:hover{border-color:#65a5b3;}

.type-ps.w { border-color: tomato;}



/*.finput{ border-color: gray;}*/

/* finput */
.type-form .finput{
	border:1px solid lightgray;
	padding: 0.1em 0.2em;
	min-height: 1em;
	min-width: 1em;
	cursor: text;
	vertical-align: middle;
	display:none;
}

.fractioni .finput{
	font-size:small;
	margin: 1px 1px 0;
}



.fbuttons {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 0.2em;
    box-shadow: 0 0 0.3em gray;
    margin-top: 0.5em;
    padding: 0.2em 0.3em;
    z-index: 1000;
	display:inline-block;
}

.fbuttons.fbhidden{
	display:none;
}

.fbuttons > span > span {
    background-color: lightgrey;
    border-radius: 0.2em;
    cursor: pointer;
    display: inline-block;
    line-height: 1.8em;
    margin: 0.1em 0;
    min-height: 1.8em;
    text-align: center;
    vertical-align: middle;
    width: 1.8em;
}
.fbuttons > span > span:hover {background-color: white;}
.fbuttons .fbp2 {
    display: none;
}
.fbuttons .n, .fbuttons .sz {
    line-height: 1.3em;
}
.fbuttons .rootsym {
    display: inline-block;
    height: 1.2em;
    padding-bottom: 0;
    transform: scale(1, 1.2);
    vertical-align: top;
}



.type-form{display:inline-block;}

