body {
	/*  font-family: arial,"trebuchet ms", sans-serif; */
	font-size: 84% ;
	background-color: #ffffff; 
	color: #000000;
}

td {
	/*  font-family: arial,"trebuchet ms", sans-serif; */
	font-size: 84% ;
	background-color: #ffffff; 
	color: #000000;
}

div {
	/*  font-family: arial,"trebuchet ms", sans-serif; */
} 

a:link {
	color: #003399; 
	background-color: transparent;
}

a:active {
	color: #003399; 
	background-color: transparent;
}

a:visited {
	color: #003399; 
	background-color: transparent;
}

.letter {
	display:block;
	background:#e9e9e9;
	padding-left:3px;
	font-size:11px;
	font-weight:bold;
}

.wrapper {
	width: 680px;
}
    
.images {
	border-width: 0; 
	border-spacing: 0;
	text-align: center;
}

.center {
	/*  font-family: arial,"trebuchet ms", sans-serif; */
	font-size: 84% ;
	background-color: #ffffff; 
	color: #000000;
	text-align: center;
}

.navbar {
	width: 100%;
	/*  font-family: arial,"trebuchet ms", sans-serif; */
	font-size: 84%;
	background-color: #cccccc;
	color: #000000;
	text-align: center;
	border: 1px;
}

.smaller {
	/*  font-family: arial,"trebuchet ms", sans-serif; */
/*	font-size: 84%;*/
        font-size: .8em;
	text-align: left;
}

.rel_smaller {
	/*  font-family: arial,"trebuchet ms", sans-serif; */
	font-size: 84%;
	text-align: left;
}

.normal {
	/*  font-family: arial,"trebuchet ms", sans-serif; */
	text-align: left;
}

.tiny {
	/*  font-family: arial,"trebuchet ms", sans-serif; */
	font-size: 75%;
	text-align: left;
}

.rsmaller {
	/*  font-family: arial,"trebuchet ms", sans-serif; */
	font-size: 84%;
	text-align: right;
}

.subhead {
	/*  font-family: arial,"trebuchet ms", sans-serif; */
	font-size: 100%;
	text-align: left;
}

.tsubhead {
	/*  font-family: arial,"trebuchet ms", sans-serif; */
	font-size: 120%;
	text-align: left;
	font-weight: bold;
}
				 
.csubhead {
	/*  font-family: arial,"trebuchet ms", sans-serif; */
	font-size: 100%;
	text-align: center;
}

.isubhead {
	text-align: left;
	/*  font-family: arial,"trebuchet ms", sans-serif; */
	font-size: 100%;
	margin-left: +2%;
}

.ismaller {
	text-align: left;
	/*  font-family: arial,"trebuchet ms", sans-serif; */
	font-size: 84%;
	margin-left: +7%;
        line-height: 1.2em;
        margin-top: .3em;
        
}

.csmaller {
	/*  font-family: arial,"trebuchet ms", sans-serif; */
	font-size: 84%;
	text-align: center;
}

.bestbet {
	background-color: #d3d3d3;
}

.trial {
	color: #ff0000;
}

.myindent {
	margin-left: +5%;
	font-size:11px;
        margin-top: 1em;
}

.myindent a {
	font-size:11px;
}

.broad  {
	background-color: #0066cc;
	background-color: #77abdd;
}   

.map {
	border-style: solid;
	border-right-width: 2px;
	border-left-width: 2px;
	border-top-width: 2px;
	border-bottom-width: 2px;
	border-color:  #0066cc;  
	border-color:  #77abdd;
}

.chosen {
	border-style: solid; 
	border-right-width: 2px;
	border-left-width: 2px;
	border-top-width: 2px;
	border-bottom-width: 0px; 
	border-color: #045eac;  
	color: black;
	height: 30px; 
	font-family: arial;
	font-size: 14px;
	font-weight: bold;
	text-align: center; 
}
					
.rtab {
	border-style: solid;
	border-left-width: 0px;
	border-right-width: 0px;
	border-top-width: 0px;
	border-bottom-width: 2px;
	background-image: url(http://imageserv.lib.unc.edu/rtab.gif);
	background-repeat: no-repeat;
	background-position: right top;
	background-attachment: scroll; 
	border-color: #045eac;
	background-color: #045eac;
}

.ltab {      
	border-style: solid;
	border-left-width: 0px;
	border-right-width: 0px;        
	border-top-width: 0px;
	border-bottom-width: 2px;
	background-image: url(http://imageserv.lib.unc.edu/ltab.gif);
	background-repeat: no-repeat;
	background-position: left top;
	background-attachment: scroll;
	border-color: #045eac;
	background-color: #045eac;
}

.ctab {  
	border-style: solid;
	border-left-width: 0px; 
	border-right-width: 0px; 
	border-top-width: 0px;   
	border-bottom-width: 2px;
	border-color: #045eac;
}

.octab { 
	border-style: solid;
	border-left-width: 0px;
	border-right-width: 0px; 
	border-top-width: 0px;   
	border-bottom-width: 2px;
	border-color: #b08a3e;   
	background-color: #ffffff;
}

.ortab {  
	border-style: solid;     
	border-left-width: 0px;  
	border-right-width: 0px; 
	border-top-width: 0px;
	border-bottom-width: 2px;
	border-color: #b08a3e; 
	background-color: #ede3bf;
}

.not {
	border-style: solid; 
	border-left-width: 0px;
	border-right-width: 0px;
	border-top-width: 0px;
	border-bottom-width: 2px;       
	border-color: #045eac; 
	background-color: #045eac;
	color: black;
	height: 30px; 
	font-family: arial;
	font-size: 14px;
	text-align: center;
}
	
.sidebox {
	width: 20em;
	background: url(http://www.lib.unc.edu/images/bottomright2-big.gif) no-repeat bottom right;
	font-size: 12px;
}

.boxhead {
	background: url(http://www.lib.unc.edu/images/topright.gif) no-repeat top right;
	margin: 0;
	padding: 0;
}

.boxhead h2 {
	background: url(http://www.lib.unc.edu/images/topleft.gif) no-repeat top left;
	font-size: larger;
	font-weight: bold;
	margin: 0;
	padding: 15px 20px 10px;
	line-height: .9em;
}

.boxbody {
	background: url(http://www.lib.unc.edu/images/bottomleft2-big.gif) no-repeat bottom left;
	margin: 0;
	padding: 1px 20px 21px;
	line-height: .8em;
	font-size: 12px;
}

.boxbody a {
    text-decoration: none;
}

.boxbody h2 {
    font-size: larger;
	font-weight: bold;
	line-height: .9em;
	margin: 0;
	padding: 0px 0px 10px;
}

.sidebox2 {
	width: 26em;
	background: url(http://www.lib.unc.edu/images/bottomright.gif) no-repeat bottom right;
	font-size: 12px;
	float: right;
}

.boxhead2 {
	background: url(http://www.lib.unc.edu/images/topright.gif) no-repeat top right;
	margin: 0;
	padding: 0;
}

.boxhead2 h2 {
	background: url(http://www.lib.unc.edu/images/topleft.gif) no-repeat top left;
	font-size: larger;
	font-weight: bold;
	margin: 0;
	padding: 15px 20px 10px;
	
}

.boxbody2 {
	background: url(http://www.lib.unc.edu/images/bottomleft.gif) no-repeat bottom left;
	margin: 0;
	padding: 1px 20px 21px;
	font-size: 12px;
}

.boxbody2 h2 {
    font-size: larger;
	font-weight: bold;
	line-height: .9em;
	margin: 0;
	padding: 0px 0px 10px;
}

.xwrapper {
	float:left;
	width: 70%;
	margin:0;
	padding:0;
}

.xwrapper2 {
	width: 495px;
}

.xwrapper3 {
/*	float:left;
	width: 70%;
	height:auto;
	margin:0;
	padding:0;*/
	border: 1px dashed #0c8000;
	overflow: auto;
}

#xwrapper3 {
/*	float:left;
	width: 70%;
	height:auto;
	margin:0;
	padding:0;
	border: 1px dashed #0c8000;
	overflow: auto;*/
}

p {
	font-size:11px;
	font-weight:normal;
}

.xsidebox {
	float: left;
	margin:0px 5px;
	width:35%;
	padding:5px;
}

/*.xsidebox2 {
	float: right;
	margin:0px 0px;
	width:28%;
	padding:0px;
}*/

/*rounded box courtesy of http://www.cssplay.co.uk/ */
#xsnazzy h1, #xsnazzy h2, #xsnazzy p {
	margin:0 10px;
	letter-spacing:1px;
}

#xsnazzy h1 {
	font-size:14px;
	color:#333;
	font-weight:bold;
	padding:5px 0px 2px 2px;
}

#xsnazzy h2 {
	font-size:11px;
	color:#444;
	font-weight:bold;
	padding:5px 0px 0px 2px;
	margin-bottom:-2px;
}

#xsnazzy p {
	padding:5px;
}

#xsnazzy h2 {
	padding-top:0.5em;
}

#xsnazzy {
	background: transparent;
	margin:1em 1em 1em 0px;
	width:100%; 
	font-family:arial, "trebuchet ms", sans-serif;
}

#xsnazzy2 h1, #xsnazzy2 h2, #xsnazzy2 p {
	margin:0 10px;
	letter-spacing:1px;
}

#xsnazzy2 h1 {
	font-size:14px;
	color:#333;
	font-weight:bold;
	padding:5px 0px 2px 2px;
}

#xsnazzy2 h2 {
	font-size:11px;
	color:#444;
	font-weight:bold;
	padding:5px 0px 0px 2px;
	margin-bottom:-2px;
}

#xsnazzy2 p {
	padding:5px;
}

#xsnazzy2 h2 {
	padding-top:0.5em;
}

#xsnazzy2 {
	background: transparent;
	margin:1em 1em 1em 0px;
	width:100%;
	font-family:Arial, "Trebuchet MS", sans-serif;
}

.xtop, .xbottom {
	display:block;
	background:transparent;
	font-size:1px;
}

.xb1, .xb2, .xb3, .xb4 {
	display:block;
	overflow:hidden;
}

.xb1, .xb2, .xb3 {
	height:1px;
}

.xb2, .xb3, .xb4 {
	background:#fff;
	border-left:1px solid #ccc;
	border-right:1px solid #ccc;
}

.xb1 {
	margin:0 5px;
	background:#ccc;
}

.xb2 {
	margin:0 3px;
	border-width:0 2px;
}

.xb3 {
	margin:0 2px;
}

.xb4 {
	height:2px;
	margin:0 1px;
}

.xboxcontent {
	display:block;
	background:#fff;
	border:0 solid #ccc;
	border-width:0 1px;
	width:100%;
        margin-top: 1em;
        border-radius: 4px;
}

.xboxcontent3 {
	display:block;
	background:#fff;
	border: 1px dashed #0c8000;
	width:100%;
	padding:5px;
	margin:1em 1em 1em 0px;
}

.xboxcontent4 {
	display:block;
	background:#fff;
	border: 1px dashed #0c8000;
	width:100%;
	padding:5px;
	margin:0px 1em 1em 0px;
}

/*shade tabs */
.xboxcontent2 {
	padding: 0;
	margin-left: 30px;
	margin-bottom: -11px;
	margin-top: 0.1em;
	font: bold 12px verdana;
}

.xboxcontent2 ul {
	margin-bottom:0px;
}

.xboxcontent2 li {
	display: inline;
	margin: 0px;
	font: bold 12px verdana;
}

.xboxcontent2 li a {
	text-decoration: none;
	padding: 3px 7px;
	margin-right: 3px;
	border: 1px solid #ccc;
	color:#03395e;
	background-color:#4596df;
	background: url(images/shade.gif) top left repeat-x;
}

.xboxcontent2 li a:hover {
	text-decoration: underline;
	color: #2d2b2b;
}

.xboxcontent2 li.selected {
	position: relative;
	top: 1px;
}

.xboxcontent2 li.selected a { /*selected main tab style */
	background-image:none;
	color:#fff;
	background-color:#4786bf;
	border-bottom-color: white;
}

.xboxcontent2 li.selected a:hover { /*selected main tab style */
	text-decoration: underline;
}


.desc_heading {
	font-size: 24px;
	line-height:24px;
}

.resource_link {
	font-size:12px;
}
.xsidebox2 h1 {  /* right sidebar */
    font-size: 18px;
}
.xsidebox2 br {
    line-height: 1.2em;
}
select#search_type {
    width: 40%;
    border-radius: 5px;
}
.xsidebox2 form {
      font-size: .8em;
}
.xsidebox2 {}
li.cat-header { 
    font-size:14px; 
    font-weight: bold; 
    text-transform:uppercase;
    margin-top: 1em;
 }
 li.cat-header:first-child {
     margin-top: 0;
 }
 ul#tabnav2 {
     width: auto;
 }
 /**** Edits by egb to acommodate Wordpress styles *****/
/* Mostly to get rid of excess space */

/* HEADERS */ 
 .page-template-headershare-php h2, .page-template-headershare-php h3 { margin-bottom: 0; margin-top: .5em;}
/* if title is generated by new.inc it will be outside of responsive grid */
/* and our h2 will need some space below */
.page-template-headershare-php #wrapper > h2  { margin-bottom: .5em;} 
.page-template-headershare-php h4 {margin-bottom: 1em;}
.page-template-headershare-php .grid-right h4 { margin-bottom: 0 !important; 	margin-left: +5%; }


/* FORM ELEMENTS */
.page-template-headershare-php input[type='radio'] { margin-right: .5em; margin-left: 1em; }

.page-template-headershare-php input[type='submit'] {
    font-size: .9em;
    line-height: 1.5em;
}
form[name='Summon'] input, form[name='Summon'] select {  /* search form on index.php */
    margin-bottom: 1em;
}
form[name='Summon'] input[type='text'], input[type='text'][name='citation1'], input[type='text'][name='Ntt'] {
    width: 70%;
}
form[name='Summon'] input[type='checkbox'] {
    margin-right: .5em;
}

form[name='subject2'] table, form[name='subject2'] td {   /** form at top of subject.php */
    border: none;
    padding: 0;
}
input[name='submit'][type='submit'] { font-size: .8em;} /* subject.php */
select[name='broadID'] {   /* subject.php */
 width: 60%;
 font-size: .8em;
 line-height: 1.5em;
}

/* Replaced a few inline styles with classes */
.subjectlist  { margin-left: 30px;}
.info {color:  #0c8000 !important; size: .8em;}
.bookmark { float: right; text-align: right; margin-top: .5em; }
.align-right { text-align: right; }

/*p.section {
 font-weight: bold;
 margin-bottom: 0;
}*/
/* Spacing in Main Content Area */
/* br tags are creating too much space and are hard to remove from code */
/* ignore br tags in main content area (left column) */
div.subject:not(.grid-right) br , div.ebook:not(.grid-right) br { display:none;}
.subject br { line-height: .5em !important; font-size: .5em;}
.ismaller > br { margin-bottom: -.3em;}
.subjectlist > div, .ebook > div {
    margin-top: 1em;
}
/* Right Sidebar */
.freq p { /* "Frequently Used" */
    margin-top: 0;
}
.freq a, .freq a.smaller {
 line-height: 1.2em;
}
.grid-right { font-size: .8em;} /* right column */

/** END EDITS BY EGB **/

