 body{	 
	 font-family: calibri;
	 font-size: 14pt;
	 margin:0;
	 padding:0;
	
 }
 
/*****DIVS*****/
div.headerdiv{
	padding:10px;	
	background-color:#g2g2g2;
} 
  
div.rowdiv{
	display:flex;
	flex-direction:row;
	margin:auto;
}
div.coldiv{
	display:flex;
	flex-direction:column;
}

highlight{
  padding: 10px;  
  text-align:left;
  font-size:1.5em;
}

.rightmarg{
	margin-right:30px;
}


.example{	
	padding:20px;
	border-radius: 5px;
	border: solid 1pt #ecf9ec;
	margin:30px;	
	clear:both;
}
.title{
	font-weight:700;
	color:grey;
}
.consider{	
	background-color:#BEE3DB;
	padding:20px;
	border-radius: 5px;
	margin:30px;	
	clear:both;
}
.importantinfo{
  border-left:1px solid #f4920b ;
  padding: 10px;
  margin:30px;
  margin-left:50px;
  display:inline-block;
}
.formula{
  border-left:2px solid #008000 ;
  margin: 30px;
  display:inline-block;
  padding-left:10px;
}
.card{
	width: 250px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	text-align: center;
	padding:10px;
	margin:30px;
}

.dyk{ /*Did you know? (Like card for now).*/
	width: 250px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	text-align: center;
	padding:10px;
	margin:0px 10px 20px 20px;
	font-size:.9em;
}
.dyklabel{
	font-weight:600;
	
}
.calculator{
	border: 3px solid darkgray;
	margin:10px;
	padding:1%;
	font-size:0.9em;
}
.calckey{
	border:1px solid gray;
	padding: 0px 3px 0px 3px;
}
.calclab{
	background-color:darkgray;
	color:white;
	font-size:0.8em;
	margin:1px;
}

/*Used to set apart motivating examples (hooks).*/
.hook{ 	
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	text-align: left;
	padding:1em;
	margin:0;
	margin-bottom:3em;
}

/* Style page content */


.main {
  margin:2% 20%; /* Same as the width of the sidebar */
  padding: 0% 1%;
  /*width:60%;*/
}
/*blockquote*/
div.sectiontitle{
	font-size:1.3em;
	border-left: 2px solid orange;
	padding-left:5px;
	margin-left:20px;
	float: bottom;
	color: A9CDDE;
}
.takenote{
	border: 1px solid orange;
	display:inline-block;
	border-radius: 5px;
	padding:20px;
	margin:20px;
}
footer{
	font-size:0.75em;
	color:white;
}
/******LABELS******/
label{
	font-weight:700;
}
	
.titlelabel{
	color:#00263a;	
}

.examplelabel{
	color:#003666;
}
/*****PARAGRAPHS*****/
p.textp{	
	margin-top:30px;
}
.definition{
	border-top: 1px solid #89B0AE;
	border-bottom: 1px solid #89B0AE;
	
	clear:both;
	padding: 10px;
	color:black;
	margin-top:40px;
	
}

.notation{
  border:2px solid lightgray ;
  margin: 3em; 
  display:inline-block;
  padding:10px;
  font-size:0.9em;
}

.vennimg{
	float:right; 
	width:200px; 
	margin: 0px 0px 10px 5px;
}


/*Next and previous buttons*/
a.prevbtn{
	 padding: 6px 20px 6px 15px;	 
}
a.nextbtn{
	 padding: 6px 15px 6px 20px;
}
a.prevbtn:link, a.nextbtn:link, a.prevbtn:visited, a.nextbtn:visited {
  color: #00263a;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
a.prevbtn:hover, a.nextbtn:hover {
  text-decoration: underline;
}
a.prevbtn:active,a.nextbtn:active{
	
}
ul.navlist{
	list-style-type: none;
	margin-bottom:10px;
}
.nextbtn{/*Used to postion the 'next' link.*/
  position:fixed;
  right:1%;
  top:80%;
  width:75px;
  font-size:0.85em;
  text-align:center;
}
.prevbtn{/*Used to postion the 'next' link.*/
  position:fixed;
  left:1%;
  top:80%;
  width:75px;
  font-size:0.85em;
  text-align:center;
}



 
 /*****HEADERS*****/

 h1{
	 color:#003666;
	 font-size:30pt;
	 font-weight:900;
 }
 h2{
	 color:#00263a;
	 font-weight:900;
 }
 h3{
	 margin-top:4em;
	 color:#00263a;
	 font-weight:900;
	 clear:both;
 }
 h4{
	  margin-top:4em;
	 color:#00263a;
	 font-weight:900;
	 clear:both;
 }
  /*****HEADERS*****/
  
  
/*****COLLAPSIBLE*****/ 
  /* Style the button that is used to open and close the collapsible content */
.collapsible {
  margin:10px 10px 0px 10px;
  background-color: white;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size:1rem;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
  background-color: #eee;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

.collapsible:after {
  color: white;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}

/* Style the collapsible content. Note: hidden by default */
.content {
  margin:10px 10px 10px 10px;
  padding: 10px 18px;
  display: none;
  overflow: hidden;
  background-color: white;
  color: #444;
} 
/*****COLLAPSIBLE*****/

button.calcbutton{
	background-color:darkgray;
	margin-left:5%;	
}
button.calcbutton:hover{
	background-color:darkblue;
}

/********EXPAND************/
.expand {
	margin-bottom:10px;
  background-color: #8cc084;
  color: white;
  cursor: pointer;
  padding: 5px;
  width: 65px;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.expand:hover {
  background-color: #4e8745;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

/* Style the expand content. Note: hidden by default */
.expandcontent {
  margin:0px 10px 10px 10px;
  padding: 0 18px;
  display: none;
  overflow: hidden;
} 
/********EXPAND************/

/********SHOW************/
.show {	
  width: 100%;  
  text-align:center;
  margin-top:20px;
}

/********SHOW************/

.oneway td{
	border-spacing:10px;
	 border: 1px solid black;
}
 
.sectionhr{
	margin-top:50px;
}
.question{
	font-weight:600;
}
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width:70%;
  margin-top:10px;
  margin-bottom:10px;
}


.MathJax { font-size: 0.5em !important; }

/********APPLETS*******/
.appletbox{
	border: 2px solid gray;
	display:inline-block;
	padding:20px;
}

.applet{
	border: 5px solid lightgray;
	padding:20px;
	margin:20px;
	overflow: hidden;	
	
}

.applet iframe {
        width: 100%;
        height: 100%;
        border: none; /* Remove iframe border */
    }

.appletlabel{
	font-weight:700;
	color:#00263a;	
	margin:auto;
}

/*******LINKS*******/
a.textlink{ /* Use this for any non-menu links*/
	text-decoration: none;
	color:orange;
}
 /* unvisited link */
a.textlink:link {
  color: red;
}

/* visited link */
a.textlink:visited {
  color: darkorange;
}

/* mouse over link */
a.textlink:hover {
  color: #0e0b5b;
}

/* selected link */
a.textlink:active {
  color: blue;
} 
/*******LINKS*******/ 

/***** TOP AND SITE MENU LINKS*******/
a.sidelink{ 
	text-decoration: none;
	color:#0b0947;
	font-weight:700;
}
 /* unvisited link */
a.sidelink:link {
  color: #0b0947;
  font-weight:700;
}

/* visited link */
a.sidelink:visited {
  color: #0b0947;
  font-weight:700;
}

/* mouse over link */
a.sidelink:hover {
  color: gray;
}

/* selected link */
a.sidelink:active {
  color: blue;
} 
/*******LINKS*******/ 


/*******LINKS*******/ 

#toplink{/*Used to postion the 'top' link.*/
  position:fixed;
  right:1%;
  top:47%;
  width:75px;
  font-size:0.85em;
  text-align:center;
}
#sidelinkhr{
  position:fixed;
  right:1%;
  top:51%;
  width:75px;
  border: 1px solid lightgray;
  display:block;
}

#menulink{/*Used to postion the 'menu' link.*/
  position:fixed;
  right:1%;
  top:53%;
  font-size:0.85em;
  text-align:center;
}

.arrow {
  border: solid #0b0947;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

/***** TOP AND SITE MENU LINKS*******/

div.headerdiv{
	padding:10px;	
	background-color:#00263a;
	height:80px;
} 
  
div.rowdiv{
	display:flex;
	flex-direction:row;
	margin:auto;
}

.pageheader{
	 color:white;
	 font-size:30pt;
	 font-weight:900;
	 text-decoration:none;
 }
 
 .pageheader:hover{
	 color:orange;
 }
 
 /*blockquote*/
.quote{
	font-size:3em;
	border-left: .5px solid orange;
	padding-left:5px;
	margin-left:20px;
	color:white;
}/*quote*/

figure{
	float:center; 
	width: auto;
	border: 5px solid lightgray;
	padding:20px;
	margin:20px;	
	text-align: center;
}
figcaption{
	font-size: 10pt;
}

img{
	float:center;
	padding: 10px;
}

.skinny{
	width: 65%;
	text-align: center;
	margin:auto;
}
.sskinny{
	width: 30%;
	text-align:center;
	margin:auto;
}





.hang {
  padding-left: 22px ;
  text-indent: -22px ;
}

.ref{
	color: #00263a;
}

.ref:hover{
	color:#219ebc;
}