/* Use this CSS file to override theme CSS rules */

/* Fixes top logo in fixed header */
.site-name a {
	font-size:13.75px;
	text-transform:uppercase;
	line-height: 0.75;
}
.onscroll .site-name a {
	display:block;
	font-size:19px;
	text-transform:none;
	line-height:1.1;
}

/*fix fixed header breaking in-page nav links */
:target::before { 
  display: block; 
  content: " "; 
  margin-top: -79px; 
  height: 79px; 
  visibility: hidden; 
}

/*resize top nav to fit more items */
div#header-inside div.row div.col-md-4 {
	width: 30%;
}
div#header-inside div.row div.col-md-8 {
	width: 70%;
}
#main-navigation ul.menu li a, #main-navigation ul.menu li span {
	font-size: 13px;
}

/* Fix lists */
ul.links {
	padding-left: 0px;
}
ul.links li {
	list-style-type: none;
}
/* fixes grouping list on staff and trustee view pages */
.block-system .view-mt-faculty-staff .view-content > h3, .block-system .view-mt-students .view-content > h3 {
	width: 100%;
}

/* fix Research Guide Articles lists */
div.field--name-field-rg-articles ul li {
	margin-bottom: 15px;
}
/* Give "A Brief History" title same style as h3 on research guides */
article.node--type-research-guide div.field--name-field-brief-history div.field__label {
	font-size: 21px;
	line-height: 1.20;
	padding: 0;
	margin: 20px 0 10px 0;
	font-weight:700;
	text-transform: uppercase;
}
/* match Research Gude lists to common display, remove bold, fix color */
div.block-views-blockresearch-guides-block-1 .views-field-title a {
	font-weight: 500;
}

/* Fix table padding */
table th, table td {
	padding: 5px 10px;
}
table {
	margin: 15px 0 25px;
}


/*style word "starting" for events with date ranges */
article.node--type-calendar-event div.event-range-beg {
	font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
}

/*styles from theme view mt-events on calendar view */
.view-calendar .views-field-field-mt-event-date {
    position: absolute;
    width: 75px;
    height: 75px;
    background-color: #252525;
    top: 4px;
    left: 0;
}
.view-calendar .views-field-field-mt-event-date time:last-of-type {
    display: none;
}
.view-calendar .views-field-field-mt-event-date time:first-of-type {
	display:block;
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    position: absolute;
    bottom: -4px;
    right: -2px;
    text-transform: uppercase;
    text-align: right;
    line-height: 1;
}
.view-calendar .view-event-wrapper .views-field-title, .view-calendar .view-event-wrapper .views-field-body, .view-calendar .view-event-wrapper .views-field-view-node, .view-calendar .more-link {
	margin-left: 95px;
}
.view-calendar .views-field-body {
	line-height: 1.375;
}
.view-calendar .views-field-body p {
	padding: 0;
}
.view-calendar .views-field-view-node, .view-calendar .more-link {
	margin-top: 5px;
}
.view-calendar .views-row .more-link a {
	text-transform: none;
}
.view-calendar .views-row {
	position: relative;
    min-height: 95px;
    padding-bottom: 10px;
    margin-bottom: 35px;
    border-bottom: 1px solid #acacac;
}
.block-views .view-calendar .views-row {
	margin-bottom: 20px;
}


/*styles from theme view mt-events on AfAmExp, Speakers Bureau, and NHD pages */
#block-views-block-african-american-experience-block-3 .views-field-field-mt-event-date, #block-views-block-speakers-bureau-block-2 .views-field-field-mt-event-date, .view-nhd .views-field-field-mt-event-date {
    position: absolute;
    width: 75px;
    height: 75px;
    background-color: #252525;
    top: 4px;
    left: 0;
}
#block-views-block-african-american-experience-block-3 .views-field-field-mt-event-date time:last-of-type, #block-views-block-speakers-bureau-block-2 .views-field-field-mt-event-date time:last-of-type, .view-nhd .views-field-field-mt-event-date time:last-of-type {
    display: none;
}
#block-views-block-african-american-experience-block-3 .views-field-field-mt-event-date time:first-of-type, #block-views-block-speakers-bureau-block-2 .views-field-field-mt-event-date time:first-of-type, .view-nhd .views-field-field-mt-event-date time:first-of-type {
	display:block;
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    position: absolute;
    bottom: -4px;
    right: -2px;
    text-transform: uppercase;
    text-align: right;
    line-height: 1;
}
/*Af Am Exp */
#block-views-block-african-american-experience-block-3 .view-event-wrapper .views-field-title, #block-views-block-african-american-experience-block-3 .view-event-wrapper .views-field-body, #block-views-block-african-american-experience-block-3 .view-event-wrapper .views-field-view-node, #block-views-block-african-american-experience-block-3 .more-link {
	margin-left: 95px;
}
/*Speakers Bureau*/
#block-views-block-speakers-bureau-block-2 .view-event-wrapper .views-field-title, #block-views-block-speakers-bureau-block-2 .view-event-wrapper .views-field-body, #block-views-block-speakers-bureau-block-2 .view-event-wrapper .views-field-view-node, #block-views-block-speakers-bureau-block-2 .more-link {
	margin-left: 95px;
}
/*NHDMO*/
.view-nhd .view-event-wrapper .views-field-title, .view-nhd .view-event-wrapper .views-field-body, .view-nhd .view-event-wrapper .views-field-view-node, .view-nhd .more-link {
	margin-left: 95px;
}
#block-views-block-african-american-experience-block-3 .views-field-body, #block-views-block-speakers-bureau-block-2 .views-field-body, .view-nhd .views-field-body {
	line-height: 1.375;
}
#block-views-block-african-american-experience-block-3 .views-field-body p, #block-views-block-speakers-bureau-block-2 .views-field-body p, .view-nhd .views-field-body p {
	padding: 0;
}
#block-views-block-african-american-experience-block-3 .views-field-view-node, .view-calendar .more-link, #block-views-block-speakers-bureau-block-2 .views-field-view-node, .view-calendar .more-link, .view-nhd .views-field-view-node {
	margin-top: 5px;
}
#block-views-block-african-american-experience-block-3 .views-row .more-link a, #block-views-block-speakers-bureau-block-2 .views-row .more-link a, .view-nhd .views-row .more-link a {
	text-transform: none;
}
#block-views-block-african-american-experience-block-3 .views-row, #block-views-block-speakers-bureau-block-2 .views-row, .view-nhd .views-row {
	position: relative;
    min-height: 95px;
    padding-bottom: 10px;
    margin-bottom: 35px;
    border-bottom: 1px solid #acacac;
}
#block-views-block-african-american-experience-block-3 .view-calendar .views-row, #block-views-block-speakers-bureau-block-2 .view-calendar .views-row, .view-nhd .view-calendar .views-row {
	margin-bottom: 20px;
}

/*individual event and exhibition page - fix content to wrap around event-info left-floated div */
article.node--type-calendar-event .event-info, article.node--type-calendar-exhibition .event-info  {
	margin-right: 25px;
}
article.node--type-calendar-event .event-content.custom-width, article.node--type-calendar-exhibition .event-content.custom-width {
	margin-left: 0px;
}

article.node--type-calendar-event div.field--name-field-image, article.node--type-calendar-exhibition div.field--name-field-image {
	float:none;
}
/* individual exhibitions pages - change related event/exhibition titles to look like h3 */
article.node--type-calendar-exhibition div.ui-widget-content div.field--name-field-related-ev-ex ul.links li article.node--view-mode-teaser h2.node__title a {
	font-size: 21px;
	color: #1e1e1e;
}
article.node--type-calendar-exhibition div.ui-widget-content div.field--name-field-related-ev-ex ul.links li article.node--view-mode-teaser h2.node__title a:hover {
	text-decoration: underline;
}
/* individual events pages - change related event/exhibition titles to look like h3 */
article.node--type-calendar-event div.ui-widget-content div.field--name-field-related-ev-ex ul.links li article.node--view-mode-teaser h2.node__title a {
	font-size: 21px;
	color: #1e1e1e;
}
article.node--type-calendar-event div.ui-widget-content div.field--name-field-related-ev-ex ul.links li article.node--view-mode-teaser h2.node__title a:hover {
	text-decoration: underline;
}
/* keep summary text together on event/exhibition pages */
article.node--type-calendar-event div.field--name-body, article.node--type-calendar-exhibition div.field--name-body {
	overflow: auto;
}

/* individual exhibitions pages - change center gallery hours heading to look like h3 */
article.node--type-calendar-exhibition div.field-group-accordion-wrapper div.block-views-blockresearch-centers-block-4 h2.title {
	font-size: 21px;
}

/* fix manuscript subjects list links */
ul.manu-subjects .views-field-title a {
	font-weight: normal;
}/* fix manuscript subjects list links */
ul.rg-subjects .views-field-title a {
	font-weight: normal;
}
/* Fix research services list */
div.view-id-research_services div.view-content div.views-row {
	margin-bottom: 60px;
	padding: 0 0 30px 0;
	border-bottom: 1px solid #acacac !important;
}

/* Fix buttons within accordions */
a.button, a.more, li.node-readmore a {
	font-size: 14px  !important;
    text-transform: uppercase  !important;
    padding: 15px 23px  !important;
    display: inline-block  !important;
    line-height: 1  !important;
    border: none  !important;
    min-width: 130px  !important;
    color: #fff  !important;
    text-decoration: none  !important;
    -webkit-transition: all 0.2s ease-in-out  !important;
    -moz-transition: all 0.2s ease-in-out  !important;
    -ms-transition: all 0.2s ease-in-out  !important;
    -o-transition: all 0.2s ease-in-out  !important;
    transition: all 0.2s ease-in-out  !important;
    margin: 10px 0  !important;
    text-align: center  !important;
    -webkit-border-radius: 0px  !important;
    -moz-border-radius: 0px  !important;
    border-radius: 0px  !important;
}

/* Fix button content type */
article.node--type-button header {
	display: none;
}
/* Fix snippets content type */
article.node--type-snippets header {
	display:none;
}

/* remove list bullets and padding from entity  reference */
ul.field__items {
	list-style-type: none;
	padding-left: 0px;
}
/* Fix floats on news block on main page */
div.view-id-mt_latest_news div.views-row:after {
	content: "";
	clear: both;
	display:block;
}

/*fix image captions not wrapping on basic pages */
article.node--type-page div.field--type-image div.image-preview {
	max-width:270px;
}

/* full size images for photo galleries */
article.node--type-photo-gallery div.field--type-image div.image-preview {
	max-width:750px;
}

/* fix padding on search box */
.header-top-area .block:first-child:last-child, .header-top-area .block {
	padding: 5px 0px;
}

/* RC page specific CSS */
article.node--type-research-center div.node--content-container div.node--content div.images-container {
	margin-right: 25px;
}
article.node--type-research-center div.ui-accordion-content > div.field {
	margin: 15px 0px;
}
/* RC list and hours blocks for visit page */
div.block-views-blockresearch-centers-block-2 h2.node__title {
	font-size: 16px;
}
section.col-md-8 div.block-views-blockresearch-centers-block-1 div.view-id-research_centers {
	border: 0px;
}

/* MHR issues page specific CSS */
article.node--type-missouri-historical-review-issue div.node--content-container div.node--content div.images-container {
	margin-left: 15px;
}
/* MHR page specific CSS */
article.node--type-missouri-historical-review div.node--content-container div.node--content div.field-group-accordion-wrapper article.node--view-mode-teaser {
	border-bottom: none;
	margin: 0px;
	padding: 0px;
}
article.node--type-missouri-historical-review div.node--content-container div.node--content div.field-group-accordion-wrapper article.node--view-mode-teaser h2.node__title {
	display: none;
}
article.node--type-missouri-historical-review article.node--view-mode-default ul li {
	list-style-type: disc;
}
article.node--type-missouri-historical-review div.node--content-container div.node--content div.field-group-accordion-wrapper {
	margin-top: 0px;
	margin-bottom: 40px !important;
}
div.field-group-accordion-wrapper article.node--type-missouri-historical-review-issue h2.node__title a span {
	font-size: 21px;
}
div.field-group-accordion-wrapper div#ui-id-6 article.node--type-missouri-historical-review-issue {
  margin-bottom: 25px;
}

/* AfAmExp Lecture page - add space under presented on date */
article.node--type-lecture div.field--name-field-published-date {
	margin-bottom: 25px;
}
/* AfAmExp Lecture page - about series title as linked h3 */
article.node--type-lecture div.field-group-format-wrapper div.field--name-field-about-the-lecture-series ul.field__items span.field--name-title {
	font-size: 21px;
	line-height: 1.20;
}
article.node--type-lecture div.field-group-format-wrapper div.field--name-field-about-the-lecture-series ul.field__items span.field--name-title a:hover {
	text-decoration: underline;
}
/* AfAmExp Lecture page - remove border and space from bottom of about series block */
article.node--type-lecture div.field-group-format-wrapper div.field--name-field-about-the-lecture-series ul.field__items article.node--view-mode-teaser {
	border-bottom: 0px;
	padding: 0px;
}
/* AfAmExp Lecture page - remove float from video so it displays */
article.node--type-lecture div.field--name-field-mt-video {
	float: none;
}
/* AfAmExp Series main page - lecture titles as h3 */
div#block-views-block-african-american-experience-block-1 div.view-id-african_american_experience h2.node__title {
	font-size: 21px;
}
/* AfAmExp Series main page - remove bottom border and padding from block */
div#block-views-block-african-american-experience-block-1 div.view-id-african_american_experience {
	border-bottom: 0px;
	padding: 0px;
}

/* Print pub specific CSS - add margin to cover image */
article.node--type-print-publication div.node--content-container div.node--content div.images-container {
	margin-right: 25px;
}

/*remove lines between eps and seasons on Our MO page */
div#block-views-block-our-missouri-taxonomy-block-1 .view, div#block-views-block-our-missouri-block-1 .view {
	border-bottom: 0px;
}
/*add space between ep desc and player on Our MO page */
div#block-views-block-our-missouri-block-1 article.node--view-mode-teaser div.field--name-body, div.view-taxonomy-term article.node--type-our-missouri-episode div.field--name-body {
	margin-bottom: 25px;
}
/*remove line below season desc and remove space on Our MO ep page */
div#block-views-block-our-missouri-taxonomy-block-2 .view, div#block-views-block-our-missouri-block-1 .view {
	border-bottom: 0px;
	margin-bottom: -50px;
}
/* Our Missouri episode page - format Season Description and Episode Description headings to h2 and add space */
article.node--type-our-missouri-episode div.field--name-body div.field__label, div#block-views-block-our-missouri-taxonomy-block-2 div.view-our-missouri-taxonomy div.view-content div.views-row span.views-label-description__value {
	font-size: 28px;
	font-weight: 400;
	line-height: 1.20;
	padding: 0;
	margin: 20px 0 10px 0;
	text-transform: uppercase;
	display:block;
}

/*Manuscript page list blocks remove bottom border*/
section.col-md-8 div.block-views-blockmanuscripts-block-1 div.view-id-manuscripts {
	border: 0px;
}
section.col-md-8 div.block-views-blockmanuscripts-block-2 div.view-id-manuscripts {
	border: 0px;
}
section.col-md-8 div.block-views-blockmanuscripts-block-3 div.view-id-manuscripts {
	border: 0px;
}

/* "Basic page" specific CSS - add margin to image */
article.node--type-page div.node--content-container div.node--content div.images-container {
	margin-right: 25px;
}

/* individual trustee pages */
div.student-content-wrapper div.article-content div.text-formatted {
	margin: 0px 0 15px;
}
/* trustee individual page - fix space between name and title */
div.field--name-field-trustee-board-title {
	margin: -10px 0 15px !important;
}
/* trustee view page */
div.view-mt-students div.view-content div.views-field {
	margin: 0px 0px 15px 0px;
}

/* Press Room do-don't lists remove bullets */
ul.do-list li, ul.dont-list li {
	list-style-type: none;
}
/* Press Room do-don't lists add checks to do list */
ul.do-list li:before {
  content: '\f00c';
  font-family: 'FontAwesome';
  float: left;
  margin-left: -1.5em;
}
/* Press Room do-don't lists add x's to don't list */
ul.dont-list li:before {
  content: '\f00d';
  font-family: 'FontAwesome';
  float: left;
  margin-left: -1.5em;
}

/*fix footer logo -left align it*/
.footer-area .logo {
	text-align: left;
}
/* Manuscript and Ramsay page specific CSS - make columns of county list */
.counties-list {
	columns: 2;
}
div.block-views-blockmissouri-times-block-2 .views-field-title a, #block-views-block-ramsay-block-1  .views-field-title a, #block-views-block-ramsay-block-2  .views-field-title a, #block-views-block-ramsay-block-3  .views-field-title a  {
	color: #00968f;
	font-weight: normal;
}
/* remove block border from Ramsay page */
#block-views-block-ramsay-block-3.block-views .view, .block-views-blockramsay-block-2.block-views .view, .block-views-blockramsay-block-1.block-views .view {
	border-bottom: 0px !important;
}

/* Past MO Times issue -past issues links in columns */
div#motimespast {
	-webkit-column-count: 3;
	-moz-column-count: 3;
	column-count: 3;
	margin-bottom: 25px;
}
/*give past issues list links color on MO Times page */


/* Publications page - remove lines between books on block view */
div.block-views-blockpublications-block-3 article.node--type-print-publication {
	border-bottom: 0px;
}

/* contact page - add space between RC locations */
div.block-views-blockresearch-centers-block-3 div.views-row {
	margin-bottom: 25px;
}
/* contact page - remove bottom border on block */
div#block-views-block-research-centers-block-3 div.content div div.view {
	border-bottom: 0px !important;
}
/* contact page - fix typography hierachy */
div#block-views-block-research-centers-block-3 h2.node__title {
	font-size: 21px;
}
/* contact page - fix spacing between RC contact fields */
div#block-views-block-research-centers-block-3 div.views-row article div.field {
	margin-bottom: 10px;
}

/* fix padding on footer menus when no submenu */
footer#footer li.menu-item a {
	padding-left: 0px !important;
}
footer#footer li.menu-item--collapsed a, footer#footer li.menu-item--expanded a {
	padding-left: 25px !important;
}

/* Speaker's Bureau speakers page - add space between plain text fields (title, affil, loc) */
article.node--type-speaker div.field--type-string {
	margin: 5px 0px;
}
/* Speaker's Bureau speakers page - format About Speaker heading and add space */
article.node--type-speaker div.field--name-body div.field__label {
	font-size: 28px;
	font-weight: 400;
	line-height: 1.20;
	padding: 0;
	margin: 20px 0 10px 0;
	text-transform: uppercase;
}
/* Speaker's Bureau speakers page - add margin to image */
article.node--type-speaker div.node--content-container div.node--content div.images-container {
	margin-right: 25px;
}
/* Speaker's Bureau speakers page - center the request speaker button */
div#block-requestthisspeakerbutton div.content div.field p {
	text-align: center;
}
/* Speaker's Bureau speakers page - clear float after image and bio */
article.node--type-speaker article.node--type-snippets div.node--content-container div.node--content {
	clear: both;
}
/* for speakers bureau page speakers list - add margins */
div.view-display-id-page_1 div.view-content div.views-row {
  margin-top: 25px;
}

/*front page notices */
.view-notices.view-display-id-block_1 span.field-content {
	font-weight: bold;
	font-size: 21px;
}


/*admin interface styles (content editor) */
.block-system.block-system-main-block .content .node-type-list dd {
	margin-bottom: 25px;
}
.block-system.block-system-main-block .content .node-type-list dt a {
	font-size: 19px;
}
/*  edit content stlyes */
/* table headings should be white */
form.node-form table thead .label {
	color: #ffffff;
}
/* icrease size of drag handles so they can be seen */
form.node-form a.tabledrag-handle .handle {
	width: 25px;
	height: 25px;
}
/* allow selectable list for taxonomy terms to be resizeable */
form.node-form select.form-select {
	resize: both;
}

@media (min-width: 560px) {
	article.node--type-missouri-historical-review-issue div.node--content-container div.node--content div.field--type-image, article.node--type-missouri-times-issue div.node--content-container div.node--content div.field--type-image  {
		float: right !important;
		margin-left: 25px !important;
	}
}
@media (min-width: 768px) {
	/*fixes spacing on the staff and trustee view pages */
	.block-system .view-mt-faculty-staff h3 + .views-row.group, .block-system .view-mt-students h3 + .views-row.group {
	    margin-top: 15px;
	}
	.block-system .view-mt-faculty-staff .views-row.group, .block-system .view-mt-students .views-row.group {
		margin-left: 15px;
	}
	.block-system .view-mt-faculty-staff .views-row.group:before, .block-system .view-mt-students .views-row.group:before {
		display: none;
	}
}