/* Copyright 2015, Matt Bognar */
/* Dept. of Statistics and Actuarial Science */
/* Univ. of Iowa */



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

body {
	color: black; 
	background-image: url('backgrounds/grunge.png');
	font-family: 'Helvetica';
	}



/******************/
/* crumbs & clock */
/******************/

#crumbs, #timedate {
	display:inline;
	color: #555;
	margin-bottom: 10px;
	font-weight:bold;
	font-size:80%;
	width:inherit;
	vertical-align:middle;
	}

#crumbs {
	float:left;
	margin-left: 0px;
	text-align: left;
	}

#timedate {
	float:right;
	margin-right: 0px;
	text-align: right;
	}



/*********************************/
/* section and left/right panels */
/*********************************/

section {
	display: table;
	margin-bottom: 10px;
	margin-top: 10px;
	width: 100%;
	border: 0px solid;
	border-radius: 5px;
	background-clip: padding-box;
	box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.2);
	max-height: 999999px;
	}

#leftpanel,#leftpanel2 {
	width: 50%;
	float: left;
	border-right: 1px solid rgb(230,230,230);
	}

#rightpanel,#rightpanel2 {
	width:50%;
	margin-left: 50%;
	border-left: 1px solid rgb(230,230,230);
	}




/***************************/
/* display computer output */
/***************************/

commands,code,output {
	white-space: pre;
	display: block;
	padding: 5px;
	padding-bottom: 16px;
	padding-left: 10px;
	margin: 10px;
	margin-left: 40px;
	width: 70%;
	background-color: rgba(230,230,230,1);
	border-style: solid;
	border-width: 1px;
	}

commands {
	background-color: rgba(240,240,240,1);
	font-family: Courier;
	}

code {
	background-color: rgba(240,240,240,1);
	}

output {
	background-color: rgba(240,240,240,1);
	}



/*******************/
/* drop down menus */
/*******************/

#panel1,#panel2,#panel3,#panel4,#panel5,#panel6,#flip1,#flip2,#flip3,#flip4,#flip5,#flip6 {
	text-align:left;
	font-weight: normal;
	cursor: pointer;
	text-decoration: none;
	margin-left: 50px;
	text-indent: -20px;
	margin-right: 20px;
	}

#panel1,#panel2,#panel3,#panel4,#panel5,#panel6 {
	display:block;
	margin-bottom: 3px;
	}



/*********************/
/* header and footer */
/*********************/

header, footer {
	display: table;
	margin-bottom: 5px;
	width: 100%;
	}

#headerleft {
	display: table-cell;
	width: 10%;
	}

#headerright {
	display: table-cell;
	vertical-align:middle;
	}

#footerleft {
	float: left;
	padding: 10px;
	}

#footerright {
	margin-top: 10px;
	margin-right: -5px;
	text-align: right;
	}



/****************/
/* font styling */
/****************/

b {
	font-weight: bold;
	}

h2 {
	color: #B24532;
	text-shadow: 0px 0px 5px rgb(100,100,100);
	margin-top:-10px;
	margin-bottom:5px; 
	margin-left: 14px;
	font-weight: bold;
	}

h3 {
	color: #B24532;
	text-shadow: 0px 0px 2px rgb(100,100,100);
	margin-top: 12px;
	margin-bottom: 3px;
	margin-left: 14px;
	font-weight: bold;
	}

h4 {
	color: #B24532;
	text-shadow: 0px 0px 2px rgb(100,100,100);
	margin-top: 12px;
	margin-bottom: 3px;
	margin-left: 14px;
	}

.small {
	font-size:80%;
	margin-left: 5px;
	}

hr {
    border: 0;
    border-bottom: 1px solid rgb(230,230,230);
	margin-bottom: 0px;
	width: 100%;
	}

li {
	margin-left: 25px;
	}




/***************************/
/* paragraph & indentation */
/***************************/

p {
	color: black;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 20px;
	margin-right: 20px;
	}

.hanging {
	padding-left: 20px ;
	text-indent: -20px ;
	}

.indent {
	margin-left: 60px;
	text-indent: -30px;
	}

.indent2 {
	margin-left: 60px;
	margin-bottom: 0px;
	}

.indent3 {
	margin-left: 90px;
	}

.hang {
	margin-left: 50px;
	text-indent: -30px;
	}

.noindent {
	margin-left: 0px;
	}



/************************/
/* modify link behavior */
/************************/

a:link {
	color: inherit;
	}

a:visited {
	color: inherit; 
	}

a:hover {
	color: rgb(150,150,150);
	}

a:active {
	color: black; 
	}



/**************************/
/* setup blink animations */
/**************************/

@keyframes myfirst {
	0%   {color:black;}
	33%  {color:rgb(210, 105, 30);}
	66%  {color:rgb(210, 105, 30);}
	100% {color:black;}
	}

@-moz-keyframes myfirst {
	0%   {color:black;}
	33%  {color:rgb(210, 105, 30);}
	66%  {color:rgb(210, 105, 30);}
	100% {color:black;}
	}

@-webkit-keyframes myfirst {
	0%   {color:black;}
	33%  {color:rgb(255, 127, 80);}
	66%  {color:rgb(255, 127, 80);}
	100% {color:black;}
	}

.blink {
	animation:myfirst 1.0s;
	-moz-animation: myfirst 1.0s;
	-webkit-animation:myfirst 1.0s;
	animation-iteration-count:infinite;
	-moz-animation-iteration-count:infinite;
	-webkit-animation-iteration-count:infinite;
	}



/*******************************/
/* shadows underneath sections */
/*******************************/

.shadoweffect {
  	position: relative;
  	background-color: white;
	}

.shadoweffect:before, 
.shadoweffect:after {
	z-index: -1;
	position: absolute;
	content: "";
	bottom: 15px;
	left: 10px;
	width: 10%;
	top: 80%;
	max-width:50%;
	background: #777;
	box-shadow: 0px 15px 15px #777;
	-webkit-box-shadow: 0px 15px 15px #777;
	-moz-box-shadow: 0 15px 10px #777;
	transform: rotate(-2deg);
	-webkit-transform: rotate(-2deg);
	-moz-transform: rotate(-2deg);
	-o-transform: rotate(-2deg);
	-ms-transform: rotate(-2deg);
	}

.shadoweffect:after {
	transform: rotate(2deg);
	-webkit-transform: rotate(2deg);
	-moz-transform: rotate(2deg);
	-o-transform: rotate(2deg);
	-ms-transform: rotate(2deg);
	right: 10px;
	left: auto;
	}

.box {
	background:#FFF;
	}

.box h3 {
	position:relative;
	}
