/* Overlay to change things about foundation we do not like */
body {
	font-family: 'Cardo', serif;, "Book Antiqua", Palatino, serif;
}
/* remove the alternate line coloring on the calendars table */
table.calendars tr:nth-of-type(even), table.calendar tr:nth-of-type(even){
    background-color: #FFFFFF;
}
/* Formatting for headers */
@font-face {
  font-family: '1475HumanisticaCursiva';
  src: url('/css/1475HumanisticaCursiva.eot?#iefix') format('embedded-opentype'),  url('/css/1475HumanisticaCursiva.otf')  format('opentype'),
             url('/css/1475HumanisticaCursiva.woff') format('woff'), url('/css/1475HumanisticaCursiva.ttf')  format('truetype'), url('/css/1475HumanisticaCursiva.svg#1475HumanisticaCursiva') format('svg');
  font-weight: normal;
  font-style: normal;
}
h1, h2, h3 {
	font-family: '1475HumanisticaCursiva', 'Quintessential', serif;
	font-variant-numeric: lining-nums;
	font-size: 24pt;
	margin-left: 1em;
}
h2 {
	font-size: 18pt;
}

h3 {
	font-size: 16pt;
}

/* make the logo work */
img.logo {
	height: 3.15rem;
	width: auto;
}

.top-bar{
	height:3.25rem;
}
/*custom formatting of tables*/

table.calendars tr.headerline, table.calendar tr.headerline, table.manuscripts tr.headerline {
	background-color: #A9A9A9 !important;
}
table.calendars tr.headerline th, table.calendar tr.headerline th, table.manuscripts tr.headerline th{
	font-size: 12pt;
}
table.manuscripts, table.calendars, table.calendar{
	border: none;
}

table.manuscripts tr:nth-of-type(even){
	background-color: #FFE4C4 !important;
}
table.manuscripts tr:nth-of-type(odd){
	background-color: #FFFFFF;
}
tr.manuscript_row td{
	font-size: 12pt;
}
/* make the restriction links slightly different */
.manuscripts a.restriction:link,.manuscripts a.restriction:hover,.manuscripts a.restriction:visited,.manuscripts a.restriction:active {
	color: #802000;
	text-decoration: underline solid rgba(128,32,0,0.2);
}

td.metadata {
	vertical-align: top;
}

/* special formatting for the name of a Book of Hours */
.manuscript-name {
	font-style: italic;
	  display: table;

}

/* space out the metadata, only used during a single manuscript display  */
div.metadata{
	padding-left: 2rem;
}

.shelfmark{
	font-family: 'Cardo', "Book Antiqua", Palatino, serif;
	font-size: 18pt;
	font-variant: small-caps;
}

div.footer{
	font-family: "Quintessential", Courier, monospace;
	font-variant-numeric: lining-nums;
	font-size: 12pt;
	margin-top: 1.5rem;
	padding-left: 1rem;
}

/* Formatting the display of the actual calendar entries */
.calendars .calendar{
	border-collapse: collapse;
}

.calendar_row, .calendar_cell{
	border-color: #A9A9A9;
	border-style: solid;
	border-width: 1px;
}

.day_number {
	font-size: 9pt;
	font-family: "Verdana, Geneva, sans-serif";
	color: CadetBlue;
	text-align: center;	
}

.dominical_letter, .golden_number, .julien_day{
	padding: 0 1em 0 1em;
}
.roman_date{
	padding: 0 3pt 0 3pt;
}

/* make the note text smaller */
.calendars .notes, .calendar .notes, .calendar_entries .notes {
	font-size: 9pt;

}

/*how to display the rank*/
.calendar_entries .rank{
	font-size: 9pt;
	font-family: "Verdana, Geneva, sans-serif";
}

/*format the section name of a list of labels*/
.filter-section-title {
	font-family: 'Cardo', "Book Antiqua", Palatino, serif;
	font-size: 1.1rem;
	margin-left: 1rem;
}

/* pad out the section of the filters */
.all-filters{
	padding-bottom: .5rem;
}

/* All the label formatting overrides */
.label{
	font-size: 0.75rem;
}
/* format the close X on the labels */
.removeable_close{
    text-shadow: 1px 1px 0px #000000;
    font-color: white;
	font-family: Garamond, "Apple Garamond";
    font-weight: 600;
    font-size: 11pt;
    padding: 0 0 0 0.5em;
    cursor:pointer;
}

/*the complex formatting to make sure that the links look right*/
/* the saint_link class will be referenced by the jquery to do the dialog */
.calendars a.saint_link:link,.calendars a.saint_saint:hover,.calendars a.saint_link:visited,.calendars a.saint_link:active,
.calendar a.saint_link:link,.calendar a.saint_saint:hover,.calendar a.saint_link:visited,.calendar a.saint_link:active
 {
	text-decoration:none;
	font-weight: 600;
}
/* spinner on loading */
.loading { background: url(/images/loading.gif) center no-repeat !important}

/*reformat definition lists to not wrap by default*/
dd:after {
  display: block;
  content: '';
  clear: both;
}

/*formatting for the matching saints popup */
p.manuscript_group {
	margin-bottom: 0.5rem;

}

.ranked {
	margin-left: 1rem;
}

/* Formatting hints for the Saints by Date page */
li.month {

}
.month .month-name, .letter-range, .technologies .tech-name{
	font-family: "IM Fell Double Pica SC", "Book Antiqua", Palatino, serif;
	font-size: 14pt;
	margin-left: 1rem;
}
.month .day-number, .saint-name{
	font-family: "IM Fell Double Pica SC", "Book Antiqua", Palatino, serif;
	font-size: 14pt;
}

/*small date in the list of saints by name */
.list-saint .saint-date {
	font-size: 9pt;
	font-family: "Verdana, Geneva, sans-serif";
	font-style: italic;
}

/* formatting tricks for the table in the saint by date/name table */
.even.most_common {
	background-color: #9fc4c6  ;
}

.odd.most_common {
	background-color: #7fb1b3  !important;
}

/*properly format the permlinks*/
.permlink {
	font-size: 12pt;
}
div.permlink a {
	font-family: 'Cutive Mono', Courier, monospace;
}

/*extra bits for the paragraphs in the tech info page */
.tech-text {
	font-family: 'Cardo', serif;, "Book Antiqua", Palatino, serif;
	font-size: 1rem;
}
.tech-text:first-letter { 
	float: left; 
	font-size: 2.6rem; 
	line-height: 2.8rem; 
	padding-top: 4px; 
	padding-right: 2px; 
	padding-left: 3px; 
	font-family: "IM Fell Double Pica SC", "Book Antiqua", Palatino, serif;
}
.db-tablename, .db-colname{
	font-family: 'Cutive Mono', Courier, monospace;
	background-color: whitesmoke;
}

.db-tablename {
	text-transform: uppercase;
	font-size: smaller;
}

/* make the tabs on the technology page more obvious*/

/* none of this works right yet*/

.technologies  li{
    width: 16%;
}

.technologies .tab-title.active{
	border-bottom: 4px #008CBA solid;
	box-sizing: border-box; /* make the border part of the box, not outside it */

}
/* formatting for the saint image area */
.saint-image {
	background-color: whitesmoke;
}

.saint-image img{
	max-width: 100%;
	height: auto;
}

.saint-image.small {
	width: 12rem;
}

.saint-image.medium {
	width: 16rem;
}

.saint-image .source-link{
	text-align: center;
	font-size: smaller;
}

ul.match-entries, ul.match-date {
	list-style-type: none;
}