
/* FONTS --------------------------------------- */
	@font-face {
	font-family: "LinuxLibertine";
	src: url(LinLibertine_R.woff);
	font-display: swap;
	}

	@font-face {
	font-family: 'LinuxLibertineSmallcaps';
	src: url(LinLibertine_aS.woff);
	font-display: swap;
	}

	@font-face {
	font-family: 'LinuxLibertineItalics';
	src: url(LinLibertine_RI.woff);
	font-display: swap;
	}

/* BASIC TEXT ELEMENTS ----------------------------- */

	html{
		font-size:21px;
		
    	margin-left:auto;
    	margin-right:auto;
		}

	body{
		line-height: 1.6em;
		text-align: left;
		font-size: 1.0em;
		color: #000;
		background-color: #fff;
		font-family: "LinuxLibertine", "Times New Roman", serif;
		word-wrap: break-word;
		}
		
	p 	{
		margin-top: 0em;
		margin-bottom:0em;
		/* this is a reset for all other margins*/
		}
	
		.body_region p, .content_bottom p {
			margin-left:2.5%;
			margin-right: 15%;
			margin-bottom:1.0em;
			margin-top:1em;
			}
		
	
	
	em {
		letter-spacing:0.3px;
		font-family: LinuxLibertineItalics;
		}
		
/* LISTS ----------------------------- */
		ul {
		margin-left:5%;
		margin-right:15%;
		margin-bottom:5px;
		margin-top:5px;
		} 

		ul:first-child{
		margin-left:2.5%;
		margin-right:0%;
		}

		ul ul {
		  margin-left:2.5%;
		  margin-right:0%;
		  }


		ol {
		margin-left:5%;
		margin-right:0%;
		} 

		ol:first-child{
		margin-left:2.5%;
		}
		
		.sidebar_area ul {
		margin-left:0%;
		}
		.sidebar_area ul ul{
		margin-left:0%;
		}
		
		.sidebar_area entity-pager-item {
		text-align:right;
		}
		

/* LINKS ----------------------------- */
		a {
			text-decoration: none;
			}

		a:link{
			color:#C00;
			text-decoration: none; 
			}

		a:visited {
			color:#6A0000;
			text-decoration: none;
			}

		a:hover {
			color:#F00  !important;
			text-decoration: underline;
			}

		a:active {
			color:#F00;
			text-decoration: none;
			}

/* HEADINGS ----------------------------- */

	h1 {
	   font-weight: normal;
		}

	h2 {
		font-size:1.5em; 
		margin-left:0%;
		margin-right:10%;
		border-top: 1px solid #CCC;
		margin-top:1.5em;
		padding-top:0.5em;
		padding-bottom:0.75em;
		font-weight:100;
		kerning-mode:pair;
	   }


	h3 {
		font-size:1.3em;
		margin-left:0%;
		margin-right:0%;  
		font-weight:100;
		font-family: "LinuxLibertineItalics";
		}
		
		

/* this is a kludge to make the references block look like a Heading 2 */
h3.block-title {
    font-size:1.5em; 
    margin-left:0%;
    border-top: 1px solid #CCC;
    margin-top:1.5em;
    padding-top:0.5em;
    padding-bottom:0.75em;
    font-weight:100;
    kerning-mode:pair;
    font-family: "LinuxLibertine";
   
}

h4 {
    font-size:1.2em;
    margin-left:0%;
    margin-right:0%;
    
}

h5 {
    font-size:1.15em;
    margin-left:0%;
    margin-right:0%;
    
    font-style: italic;
    font-weight:100;
    
}

h6 {

    font-size:1.1em;
    font-style: italic;
    font-weight:800;
    width:100% !important;
}

/* IMAGES ----------------------------- */

	img {
		min-width: 50% !important;
		max-width:100% !important;
		height: auto;
		vertical-align:bottom;
		
		}
		

/* REGION CONTAINERS -------------------------- */

	.everything {
		max-width: 1000px;
		margin:auto;
		}
		
	.frontpage_logo, .frontpage_blurb, .frontpage_byline, .frontpage_search, .frontpage_toc {
		margin-top:2em;
		margin-bottom:2em;
		}
		
	.frontpage_logo {
		margin-left:5%;
		margin-right:5%;
		width:auto;
		}
		
	.frontpage_blurb {
		margin-left:10%;
		margin-right:10%;
		}

	.frontpage_byline {
		margin-left:30%;
		margin-right:30%;
		}

	.frontpage_search {
		margin-left:30%;
		margin-right:30%;
		}

	.frontpage_menu {
		margin-left:0%;
		margin-right:0%;
		width:100%;
		}
	
	.frontpage_toc {
		margin-left:10%;
		margin-right:10%;
		}
		
	.frontpage_recent {
		margin-left:10%;
		margin-right:10%;
		}
			
	.frontpage_footer {
		margin-left:10%;
		margin-right:10%;
		margin-top:3em;
		padding-top:1em;
		margin-bottom:1em;
		font-size: 120%;
		line-height:1.5em;
		border-top:2px solid black;
		text-align:center;
		}
	
	.frontpage_mobile_menu {
		display:none;
		}
		
	.banner_area {
		display:block;
		}
		.banner_area li{
			display:inline;
			}
			.banner_area li::after {
				content: " | "
				}
		
	.header_left {
		width:75%;
		display:block;
		float:left;
		padding-bottom:0em;
		border-bottom: 1px solid black;
		height:2.5em;
		}
	
	.header_right {
		margin-left:0%;
		width:25%;
		display:block;
		float:right;
		height:2.5em;
		}
		
	.page_title {
		margin-left:2.5%;
		margin-right:2.5%;
		clear:both;
		margin-top:3em;
		margin-bottom:5em;
		}
	
	
	.sidebar_area {
		width: 30%;
		margin-right:5%;
		padding-left: 3em;
		padding-right: 15px;
		padding-bottom: 3em; 
		float: right;
		position: relative; 
		font-size: 80%; 
		z-index:10;
		line-height: 1.2em;
		color:grey;
		list-style: none;
		}
		

	
	.body_region {
		margin-left:5%;
		margin-bottom: 1em;
		margin-right: 5%;
		
	}
	
	
	.page_content {
		display:block;
		}
	
	
	
	.content_bottom {
		margin-left:5%;
		margin-bottom: 1em;
		margin-right: 5%;
		}
	
	
	.everypage_footer {
		margin-left:5%;
		margin-bottom: 1em;
		margin-top:5em;
		margin-right: 5%;
		line-height:1.5em;
		border-top:2px solid black;
		text-align:center;
		clear:both;
		
	}
	
/* BLOCK CSS -------------------------- */


	.frontpage-blurbstyle {
		font-size: 175%;
		text-align: center;
		}
		
	.byline-style {
		font-size: 125%;
		text-align: center;
		font-family: LinuxLibertineSmallcaps;
		}
	
	.frontpage-searchstyle {
		font-size: 125%;
		text-align: center;
		}

	.frontpage-menustyle {
		font-size: 115%;
		border-top:2px solid black;
		border-bottom:2px solid black;
		padding: 0.5em;
		text-align: center;
		}

	.mobile-menustyle {
		display:none;
		}
	
	.frontpage-tocstyle {
		margin-top:2em;
		margin-bottom:2em;
		}
	
	.frontpage-toc-titlestyle {
		font-size: 150%;
		margin-left:2.5%;
		margin-right:2.5%;
		margin-top:1em;
		margin-bottom:1em;
		text-align:center;
		word-spacing:0.25px;
		}
	
	
	.frontpage-cicm-saq-view {
		margin-left:7.5%;
		margin-right:7.5%;
		margin-top:1em;
		margin-bottom:1em;
		font-size: 120%;
		line-height:1.5em;
		}
		
		.frontpage-cicm-saq-view table.cols-0{
			margin-right:0%;
			width:100%;
			}
			
		.frontpage-cicm-saq-view td.views-field-nid{
			text-align:right;
			min-width:110px;
			}

		.frontpage-cicm-saq-view a:link {	
			background-color:white;
			z-index:100;
			padding-right:3px;
			}

		.frontpage-cicm-saq-view td.views-field-field-topic {			
			background-image:radial-gradient(black 1px, white 0px);
			background-size: 8px 8px;
			background-repeat:repeat-x;
			background-position: 100% 70%;
			z-index:-1;
			
			}

		.frontpage-cicm-saq-view td.views-field-field-topic {			
			background-color:white;
			margin-left:-3px;
			width:100%;
			
			}
		
	.frontpage-recently-updated-material-view {
		margin-left:10%;
		margin-right:10%;
		margin-top:1em;
		margin-bottom:1em;
		font-size: 100%;
		line-height:1.5em;
		}
		
		.frontpage-recently-updated-material-view h4{
		margin-left:-5%;
		margin-right:-5%;
		margin-top:1em;
		margin-bottom:1em;
		font-size: 120%;
		line-height:1.5em;
		font-weight:normal;
		}
		
	.page-title-style {
		line-height:1.5em;
		margin-top:2.5em;
		}
		
	.bottom-pager {
		margin-left:40%;
		margin-right:10%;
		margin-top:2em;
		}
		
	.bottom-pager .entity-pager-item {
			text-align:right;
			list-style: none;
			}

/* This is the "search" boxes  */

		.searchform-box {
			margin-left:2%;
			margin-right:2%;
			margin-top:0.57em;
			height:1.2em;			
			width:80%;
			}
			
		.searchform-frontbox {
			margin-left:auto;
			margin-right:auto;
			width: 115%;
			text-align:centre;
			}



/* this is show and hide for the "submit a comment or correction" */
	
	.hidden-contact-form {display:none;}
	
	.hidden-answer-and-references {display:none;}
	
	.formfield0 {color:white; border:0;}
	.formfield1 {
		margin-top:1em;
		margin-bottom:1em;
		}
	.formtext {
		margin-top:1em;
		margin-bottom:1em;
		width:80%;
		height:7em;
		}
	
	
/* this makes the breadcrumbs look nice */
	.breadcrumbs {
		height: 1.5em;
		}
	
	.breadcrumbs ol{
		padding-inline-start: 0px;
		margin-left:0%;
		}
	
	.breadcrumbs li{
		display: inline-block;
		font-size: 0.8em;
		}
	
	.breadcrumbs li+li:before {
		padding: 0 5px;
		color: #bbb;
		content: "»";
		}

	.visually-hidden {
		display:none;
	}


/* TABLES ----------------------------------*/




	table {
		padding:5px;
		text-align:left;	
		margin-bottom:1em;
		clear:both;
		vertical-align: top;
		display:block;
		overflow:auto;
		
		  }
		  
	table,
	thead,
	tbody,
	tr,
	th,
	td {
	  border-bottom: none;
	  border-left: none;
	  border-right: none;
	  border-top: none;
	  
		}

	
	.body_region table {
		font-size: 0.9em;
		border-top: 1px solid black;
		border-bottom: 1px solid black;
		margin-left:2.5%;
		margin-right:2.5%;
		margin-top:1.5em;
		margin-bottom: 1.5em;
		vertical-align: top;
		width:auto;

		
		}
	
		.body_region td p {
    	margin-left: 1%;
   		margin-right: 1%;
    	margin-bottom: 0em;
    	margin-top: 0em;
		}
		
		.body_region tr:hover {
    	background-color: #ececec;
		}

	body_region table,thead,tbody,tr,th,td {
	  border-bottom: 1px solid #c4c4c4;
	  border-left: none;
	  border-right: none;
	  border-top: none;
	  vertical-align: top;
	  

		}
	
	frontpage_toc table,thead,tbody,tr,th,td {
	  border-bottom: none;
	  border-left: none;
	  border-right: none;
	  border-top: none;
	  vertical-align: top;
		}
		
	caption {
		font-family:"LinuxLibertineSmallCaps";
		font-size: 1.2em;
		text-align:center;
		color: #000;
		letter-spacing:1.3px;
		border-top: 1px solid black;
		background-color: #ececec;
		width:100%;
		}
		
		
		table ul {
				margin-left:4%;
				margin-right:0%;
				} 




		.saq-topic-table {
		  width:90%;
		  }

		.saq-topic-table-heading {
			  letter-spacing:1.5px;
			  }

		.minimalist-table {clear:both;}

		.minimalist-table, .minimalist-table tbody tr, .minimalist-table td {  
		  border-bottom: none !important;
		  border-left: none;
		  border-right: none;
		  border-top: none !important;
		  vertical-align: top;

		 }

			.minimalist-table .views-field-body  p {
			margin-left: 0%;
			margin-right: 0%;
			margin-bottom: 0em; 
			margin-top: 0em; 
		}

			.minimalist-table .views-field-nothing  p {
			margin-left: 0%;
			margin-right: 0%;
			margin-bottom: 0em; 
			margin-top: 0em; 
		}



		.minimalist-table caption {
		   border-top: none !important;	
		   border-bottom: none !important;
		   background:#ffffff;
		   text-align:left !important;
		   display: block;
		  }
		
		.minimalist-table header {
           clear:both;
		   padding-top:1.5em;	   
   		   
		  }

	//	.body_region .minimalist-table {margin-right:15%;}


	.views-view-grid .views-col {
		float: left;
	}

	
	
	

	.questioncolumn {width:145px;}
	
	.views-field p {margin-right:0%;font-size:0.9em;}


/* RANDOM GENERATORS ----------------------------- */

.random-paper-generator-form {disply:inline; margin-top:2em;}
	
.js-form-item-field-topic-target-id label {display:block;margin-top:2em;} 
	
.js-form-item-field-which-paper__target-id label {display:block;margin-top:2em;} 

.js-form-item-body-value {display:block;margin-top:2em;} 

.form-actions {display:block; margin-top:2em; margin-bottom:2em;} 


/* PRETTYNESS ----------------------------- */

	.blacklinks a:link {
	  color:black; 
	  text-decoration: none;
	}

	.blacklinks a:visited {
		color:black;
		text-decoration: none;
	}

	.blacklinks a:hover {
		color:#000;
		text-decoration: underline;
	}

	.blacklinks a:active {
		color:red;
		text-decoration: none;
	}
	
	
	
	.greylinks a:link {
	  color:grey; 
	  text-decoration: none;
	}

	.greylinks a:visited {
		color:grey;
		text-decoration: none;
	}

	.greylinks a:hover {
		color:#000;
		text-decoration: underline;
	}

	.greylinks a:active {
		color:red;
		text-decoration: none;
	}


	.greytext {
		color: #888;
		}



	blockquote {
		margin-left:5%;
		margin-right:5%;
		color:#666;
		font-size:0.9em;	
		}
	  
	.shortclassybox {
		background-color:#EEEEEE;
		border-bottom:#CCC double;
		border-top:#CCC double;
		margin-left:1em;
		margin-right:1em;
		margin-bottom: 1em;
		clear:both;
		overflow-x:auto;
	}

	.shortclassybox blockquote {
		margin-left:0%;
		margin-right:0%;
		margin-bottom:5px;
		margin-top:5px;
		line-height: 1.2;
		}

	.shortclassybox blockquote {
		margin-left:0%;
		margin-right:0%;
		margin-bottom:5px;
		margin-top:5px;
		line-height: 1.2;
		}
		
		#block-deranged-togglehisorshow {
			clear:both;
		}
	
	.cols-4 {margin-left: auto; margin-right:auto; width:70%; clear:both;}

	.col-1, .col-2, col-3, col-4 {width:140px;}

	

/* for printing------------------------------------------------------------------------------ */

.page-break {
  display: block; 
  page-break-before: always !important;
  page-break-after: always !important;
  break-after: always;
  break-before:always;
  
}

@media print {
	
	/* this removes urls from printed documents */
		a[href]:after {
		content: "" !important;
		display:none !important;
		}
	
	/* this removes the nav bar and various pointless tab elements when printing while logged in */

		.banner_area, .alert, #block-deranged-togglehisorshow, .sidebar_area, .header_right, .block-commentformtoggle{
		display:none !important;
		}




}

/* for CKeditor ----------------------------------------------------------------------------- */
.layout-region layout-region-node-main {
 float:left;
 clear:both;
 width:100%;

}

.layout-region .layout-region-node-secondary {
 float:right;
 clear:both;
width:100%;
}

/* MEDIA QUERIES ------------------------------------------------------------------------------ */

	

@media (max-width: 800px) {
		html{
		font-size:100%;
		}
	
		.frontpage_blurb {
		display:none;
		}

		.frontpage_byline {
		display:none;
		}
		

		.frontpage_search {
		margin-left:0%;
		margin-right:0%;
		}

		.frontpage_logo {
		margin-top:120px;
		}

		.frontpage_menu {
		margin-left:0%;
		margin-right:0%;
		}
	
		.frontpage_toc {
		margin-left:0%;
		margin-right:0%;
		}
	
		.frontpage_mobile_menu {
		display:block;
		clear:both;
		font-size: 140%;
		width:100%;
		border-top:2px solid black;
		border-bottom:2px solid black;
		padding: 1em;
		margin-bottom:1em;
		margin-left:0%;
		margin-right:0%;
		position: fixed;
		top: 0;
		background-color:white;
		}
		
		.mobile_menu_div {
		display:inline;
		clear:none;
		margin-left:5%; margin-right:5%;
		width:15%;
		}
	
		.frontpage-menustyle {
		display:none;
		}
		
		.header_left {
		width:65%;
		display:block;
		float:left;
		height:2.5em;
		}
		
		.header_left ol {
			margin-top:0em;
			line-height:1.2em;
			}
			
		.breadcrumbs li{
			display: inline-block;
			font-size: 1.0em;
			}
	
		.header_right {
		margin-left:0%;
		width:35%;
		display:block;
		float:right;
		height:2.5em;
		}
		
		.sidebar_area {
		display:none;
		}
		
		.searchform-frontbox {
			margin-left:15%;
			margin-right:15%;
			width:90%;
			}

		}


@media (max-width: 600px) {
	
		html{
		font-size:16px;
		}
	
		body {
		font-family: "Times New Roman", serif;
		}

	em {
		font-family: "Times New Roman", serif;
		font-style:italic;
		}

		.byline-style {
		font-size: 125%;
		text-align: center;
		font-family: "Times New Roman", serif;
		font-variant: small-caps;
		}

		caption {
		font-family: "Times New Roman", serif;
		font-variant: small-caps;
		}


		h1 {
		font-family: "Times New Roman", serif;
		font-variant: small-caps;
		}

		h2 {
		margin-right:2.5%;
		}
		
		h3 {
		font-family: "Times New Roman", serif;
		font-style:italic;
		}

		
		.body_region p, .content_bottom p {
		margin-right:2.5%;
		}
		
	.frontpage_blurb {
		display:none;
		}

	.frontpage_byline {
		display:none;
		}
		

	.frontpage_search {
		margin-left:0%;
		margin-right:0%;
		}

	.frontpage_logo {
		margin-top:50px;
		}

	.frontpage_menu {
		margin-left:0%;
		margin-right:0%;
		}
	
	.frontpage_toc {
		margin-left:0%;
		margin-right:0%;
		}
		
	.frontpage-menustyle {
		display:none;
		}
	
	.frontpage_mobile_menu {
		display:block;
		clear:both;
		font-size: 18px;
		width:100%;
		border-top:2px solid black;
		border-bottom:2px solid black;
		padding: 1em;
		margin-bottom:1em;
		margin-left:0%;
		margin-right:0%;
		position: fixed;
		top: 0;
		background-color:white;
		}
		
	
		.mobile_menu_div {
		display:inline;
		clear:none;
		margin-left:5%; margin-right:5%;
		width:15%;
		text-align:center;
		}

			


	.frontpage-tocstyle {
		font-size: 100%;
		}
		
	.frontpage-toc-titlestyle {
		font-size: 21px;
		margin-left:0%;
		margin-right:0%;
		margin-top:1em;
		margin-bottom:1em;
		text-align:center;
		}
		
	.frontpage-cicm-saq-view {
		margin-left:2%;
		margin-right:2%;
		margin-top:1em;
		margin-bottom:1em;
		font-size: 17px;
		line-height:2.0em;
		}
			.frontpage-cicm-saq-view td.views-field-nid{
			text-align:right;
			min-width:74px;
		
			}
			
	.frontpage_recent {
		margin-left:0%;
		margin-right:0%;
		margin-bottom:1em;
		font-size: 150%;
		line-height:2.0em;
		}
	
	.header_left {
		font-size:16px;
		line-height:1.2em;
		height:4em;
		}
		
		.breadcrumbs li{
		display: inline-block;
		font-size: 1.0em;
		}
	
	.header_right {
		font-size:16px;
		}

	.bottom-pager {
		margin-left:10%;
		margin-right:10%;
		margin-top:2em;
		text-align:centre;
		}
	
	.body_region .minimalist-table {margin-right:2.5%;}

	.questioncolumn {width:100px;}
	
	
}

@media (max-width: 450px) {
	
	.breadcrumbs li{
		display: inline-block;
		font-size: 0.8em;
		}

