/* h styling fixes */

@media only screen and (min-width: 40.0625em) {
	
h1, .alpha {
    font-size: 2.5rem;
}

h2, .section-heading, .beta {
    font-size: 1.85rem;
    line-height: 2.25rem;
}

h4 {
	font-family: "Raleway",sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: none; 
}

h5 {
	font-family: "Raleway",sans-serif;
    font-size: .875rem;
    font-weight: 700;
    text-transform: uppercase;
}

h6 {
	font-family: "Raleway",sans-serif;
    font-size: .85rem;
    font-weight: 700;
}
} /* do not delete me - there for h media query styling only */

/* accessibility homepage links */
.simple-carousel .overlay a {
text-decoration: underline !important;
}

/* general table fixes */

table {
	font-size:.8rem !important;
	margin-bottom: 0.25rem;
	border-collapse: collapse;
	border: none;
}

table p {
	font-size:.8rem !important;
	margin-bottom: 0rem;
	line-height: 1rem;
}

table li {
	font-size:.8rem !important;
	padding-bottom: 0rem !important;
}

table ul {
	margin-left:.25rem !important;

}

th a {
	color: #577935;
}

table th {
	background-color: #fff;
	font-size: .95rem;
	color: #262626;
	font-weight: 800;
	padding: .5rem .5rem .25rem .5rem;
	border: none;
}

table td {
	padding: .5rem;
}

table tbody td {
	border: 1px solid #d3d3d3;
}

table tr:first-child th {
	border-top: 0;
}

table tr:last-child td {
	border-bottom: 0;
}

table tr td:first-child,
table tr th:first-child {
	border-left: 0;
}

table tr td:last-child,
table tr th:last-child {
	border-right: 0;
}

/* general tab fixes */

.tabs .tab-title>a {
    background-color: #EFEFEF;
}

.tabs .active.tab-title>a {
    background-color: #00533e;
}

.tabs .active.tab-title>a:after {
    border-top: .5rem solid #003a2b;
}

.tabs .tab-title>a:hover {
    color:#ffffff;
}

/* ul fixes */
article li {
	margin-left: 1.5rem;
	padding-bottom: .4rem;
}

ul.call_to_action_list li {
	margin-left: 0px;
}

li.accordion-navigation {
	margin-left: 0px;
}

article ul.medium-block-grid-2 li {
	margin-left: 0;
}

article ul.margin-fix li {
	margin-left: 0;
}

article ul, ol {
	margin: .25rem 0 1.25rem 1.5rem;
	line-height: 1.2rem;
}

article li>p {
	line-height: 1.2rem;
}

ul.homepage-button-list {
	margin-bottom: 0;
}

ul.homepage-button-list li {
	margin-left: .125rem;
	margin-right: .125rem;	
}

article ul.inline {
	margin-left: 0rem;
}

article ul.link-list {
	margin-left: -1.5rem;
}

article ul.callout-list {
	margin-left: -1.5rem;
}

article div.unbreakable {
	margin-left: 1.5rem;
}


/* alert styles contrast fixes */
.alert-box.info {
    background-color: #f5f1e3;
}

.alert-box.info a {
	color: #00533e;
}

.alert-box.info a:hover {
	color: #577935;
}

/* font awesome styling */
.download:after {
	content: '\f019';
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	margin:0px 0px 0px 3px;
	text-decoration:none;  
}

/*  moved to _icons.scss
.time:before{
	content: '\f017';
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	margin:0px 5px 0px 0px;
	text-decoration:none;  
}

.location:before{
	content: '\f041';
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	margin:0px 5px 0px 0px;
	text-decoration:none;  
}
*/

.video-thumbnail::after {
    opacity: .7;
}

.offsite:after {
	content: '\f08e';
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	margin:0px 0px 0px 3px;
	text-decoration:none;  
}

.ticket:before{
	content: '\f145';
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	margin:0px 5px 0px 0px;
	text-decoration:none;  
}

.car:before{
	content: '\f1b9';
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	margin:0px 5px 0px 0px;
	text-decoration:none;  
}



/* callout-list gray background */

.callout-list li {
	background-color: #f7f7f7;
	padding: 1rem;
	margin-bottom: 1rem;
	/* for chrome breaking columns */
	-webkit-column-break-inside: avoid; 
    -moz-column-break-inside:avoid;
    -moz-page-break-inside:avoid;
    page-break-inside: avoid;
    break-inside: avoid-column;
}
	
.callout-list div {
	background-color: #f7f7f7;
	padding: 1rem;
	margin-bottom: 1rem;
}

.small-callout-list-title {
	font-family: "Raleway", sans-serif;
	font-size: 1rem;
	padding: 0rem !important;
	margin-bottom: 0rem !important;
}
		

/* small-block-title (homepage) fix */
	
.small-block-title {
    display: block;
}

/* accordian content padding */
.accordion {
	padding: 0;
}

/* main nav center fix */
#primary-nav>ul>li {
    margin-right: 1rem !important;
    margin-top: .125rem;
}

/* styles for office hours table on directory pages */

p.office_hours {
	font-family: "Raleway", sans-serif;
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: .25em;
}

table.office_hours {
	font-size: .75rem;
	margin-bottom: 1.5rem;
	color: #666666;
	border: 0px;
}

table.office_hours td {
	padding: .5rem;
	border: 0px;
	border-bottom: 1px solid #ddd;
}

@media only screen and (min-width:640px) {
	
	table.office_hours {
	width: 50%;
	}
}

/* policy flavor styles bpfl_policy */
.policy_audit {
	border: 1px solid #f2ece1;
	padding: .25rem;	
}
	
.policy_audit table, .policy_audit tbody, .policy_audit td {
	padding: 0px !important;
	border-style: none !important;
	line-height: 1rem;
	vertical-align: top;
}

div.policy_audit td.audit_label {
	width: 8rem;
}

.bpfl_policy h2 {
	font-size: 1.5rem;
    line-height: 1.75rem;
}

.bpfl_policy h3 {
	font-size: 1.25rem;
    line-height: 1.5rem;
}

.bpfl_policy h4 {
	font-size: 1.1rem;
	text-transform: none;
}

.bpfl_policy h5 {
	font-size: .75rem;	
}

.bpfl_policy article li a {
	text-decoration: underline;	
}

/* table styling */
table.bport_data_table {
	font-size:.8rem !important;
	margin-bottom: 0.25rem;
/*	margin-top:  -0.75rem; */
}

h3 ~ bport.bwa_data_table {
	margin-top: 0px;
}

table.bport_data_table td {
	padding:.5rem;
}

table.bport_data_table th {
	padding:.5rem;
}

table.bport_data_table th a:link {
	color: #d8e4cc;
}

/* for sidebar info blocks (purple and red boxes) */
div.bport_info_block dd {
	margin-left: 1rem;
}

/* budget tables */

table.bport_budget td {		
	text-align: right;
}

table.bport_budget tr.budget_heading {
	font-weight: bold;
}

table.bport_budget tr.budget_heading td:first-of-type {
	text-align: left;
}

/* XY headers table */

/*
	table.bport_xy_table {
	margin-bottom: 1.5rem;
}
*/

table.bport_xy_table tr th:first-of-type {
	text-align: right;
	font-weight: normal;
}

table.bport_xy_table tr.row_numeric td {
	text-align: right;
}


	table.bport_xy_table tr:first-of-type td:first-of-type {
	background-color: #262626;
}

table.bport_xy_table tr:first-of-type th {
	vertical-align: bottom;
}

table.bport_xy_table tr:first-of-type th:first-of-type {
	text-align: left
	;
}
table.bport_xy_table tr.section_heading td {
	border-right-style: none;
	border-left-style: none;
}

table.bport_xy_table tr.section_heading th,
table.bport_xy_table tr.row_heading th,
table.bport_xy_table tr.row_subtotal th {
	text-align: left;
}

table.bport_xy_table tr.section_heading th,
table.bport_xy_table tr.row_heading th,
table.bport_xy_table tr.row_subtotal th {
	font-weight:  bold;
}

table.bport_xy_table tr.row_heading,
table.bport_xy_table tr.row_subtotal {
	font-weight: bold;
}

/* accessibility */
div.slick-preview button {
	color: black;
}

/* new flexbox stuff */
.bport_flex-container {
  list-style: none;
  -ms-box-orient: horizontal;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
}

.bport_wrap { 
	  -webkit-flex-wrap: wrap;
	  flex-wrap: wrap;
}  

.directory_index .bport_flex-container li {
	width: 224px !important;
}
	
.bport_flex-container li {
	flex-basis: 1;
	margin-right: 2%;
	margin-left: 0;
}

.bport_flex-contatiner .simple-callout {
	margin-top: 0;
}

/* directory index */

.directory_index .flex-container li {
	flex-basis: 29%;
	margin-right: 2%;
	margin-left: 0;
}

.directory_index .flex-contatiner {
	margin-top: 0;
}

div.directory_index dd {
	margin-bottom: 0px;
}

div.directory_index dl {
	margin-bottom: 1rem;
}

.fitty_fit {
  display: inline-block;
  white-space: nowrap;
}

/* Kaltura player element */
div.kaltura_wrapper {
	margin-bottom: 1rem;
}

/* big number callout edits */
.big-number-callout h2 {
	text-transform: uppercase;
	font-size: .9rem;
	border-bottom: 1px solid #cab388;
	display: inline-block;
	line-height: 1.5rem;
}
			
.big-number-callout .section-heading {
	text-transform: uppercase;
	font-size: 1.25rem;
	border-bottom: 1px solid #cab388;
	display: inline-block;
	color: #ffffff;
}

.big-number-callout img:hover {
	opacity: .5;
	filter: alpha(opacity=50); /* For IE8 and earlier */
}  

/* Flex Container */
.flex-container {
	  list-style: none;
	  -ms-box-orient: horizontal;
	  display: -webkit-box;
	  display: -moz-box;
	  display: -ms-flexbox;
	  display: -moz-flex;
	  display: -webkit-flex;
	  display: flex;
}

.wrap { 
	  -webkit-flex-wrap: wrap;
	  flex-wrap: wrap;
}  

.flex-contatiner .simple-callout {
	margin-top: 0;
}

/* homepage arrows */

div#hp_carousel button {
	z-index: 8;
}

/* boxes w/colored background */

.boxes a:hover{
		color: #ffffff !important;
		opacity: .5;
		filter: alpha(opacity=50); /* For IE8 and earlier */;
}

/* Event Calendars */

div.br_events_calendar ul {
	margin-left: 0;
}

div.br_events_calendar li {
	margin-left: 0;
	list-style: none;
}


p.editor_notes {
	font-size: 80%; 
	font-family: sans-serif; 
	line-height: .875rem;
	color: #238dac;
}

div.quote_overlay {
	position:  absolute;
	left:  2rem;
	right: 2rem;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
}

div.quote_overlay * {
	color: white;
}

span.alert_icon {
	font-size: 2rem;
	line-height: 1.4;
	aria-hidden: true;
}

.inner .button {
	background-color: #262626 !important;
}

.quote_overlay .button {
	background-color: #262626 !important;
}

/* labels */
.directory_label {
	background-color: #004159;
	font-family: "Raleway", sans-serif;
	font-weight: 700 !important;
	color: #ffffff;
	display: inline-block;
	font-weight: normal;
	position: relative;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	padding: 0.22222rem 0.44444rem 0.22222rem;
	font-size: 0.61111rem;
	border-radius: 3px;
	margin-right: .25rem;
	margin-bottom: 1rem;
}

/* tiny button list added for v3 elements made from button-list class 
li.tiny-button-list {
	tiny button class  .
}*/

/* manual iframe code responsiveness fix */

.iframe-container-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; 
  height: 0;
}
.iframe-container-video iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* main nav search box */
/* moved to patternlab sass
#search-q_label {
	display: inline-block; 
	float: left; 
	margin-right: 0.5rem;
}

#mobile-search-q_label {
	color: white;
}

#search-q {
	padding: 0px; 
	padding-left: 0.25rem;	
}

#search_submit {
	padding: 0.5rem; 
	top:15%; 
	right: 0px;
}

#mobile_search_submit {
	padding: 0.5rem; 
	top:55%; 
	right: 0px;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	#search-q {
		padding: 0px 0.25rem 0.25rem;
	}
} }
*/

/* fix for caption sizing */
figure.reveal-caption img {
	width: unset;
}

@media only screen and (min-width: 64.0625em) {
	article figure.reveal-caption div.overlay {
		width: 810px;
	}
/* margin fix when callout-list elements have to be in rows */
div.row_margin_fix {
	margin: 0px !important;
} }

/* ----------------- New Port Styles ----------------- */

/* image float styles for port */
.image-right {   
    float: right;
    margin-left: 1rem;
    margin: .5rem 0rem .5rem 1.5rem;
} 
    
.image-left {
	float: left;
    margin-left: 1rem;
    margin: .5rem 1.5rem .5rem 0rem;
}

/*faq dropdown element */
.faq>a {
	font-family: "Raleway",sans-serif;
	display: block;
	padding: .625rem .9375rem;
	line-height: 1.5rem;
	font-size: 1.25rem !important;
	color: #577935 !important;
	background: none !important;
}
	
.faq>a::after {
	content: '\f0d7' !important;
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	float: right;
	text-decoration:none; 
	margin-top: .25rem;
	color: #577935 !important;
	}
	
.active.faq>a::after {
	content: '\f0d8' !important;
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	float: right;
	text-decoration:none; 
	margin-top: .25rem;
	color: #577935 !important;
	}
	
li.accordion-navigation.faq{
	border: 1px solid black;
	margin-bottom: .4rem !important;
	padding-bottom: 0;
	}
	
/* policies */
p.scope_notes {
	font-size: .8rem;
	font-style: italic;
	line-height: 1rem;
}

/* footnote styles (title IX notes) */
p.footnote {
	font-size: .75rem;
	line-height: 1rem;
}

h3.footnote {
	text-transform: uppercase;
	font-size: .9rem;
	margin-bottom: 0rem;
}

.go-list {
	list-style-type: none;
}

/* ----------------- Newsletter Styles ----------------- */
.newsletter-tag {
	background-color: #ffc726;
	font-size: 1rem;
	font-weight: bold;
	padding: .5em .75em;
	display: inline;
	margin-bottom: .25em;
	line-height: 3em;
}
.newsletter-title {
	padding-left: .4em;
	font-size: 2em;
	padding-bottom: .25em;
}
.written-by {
	font-weight: bold;
}
.yellow-left {
	border-left: .25em solid #FFC726;
	padding-left: .75em;
} 
.newsletter-byline {
	font-size: 1.125em !important;
}

/* temp fix for department events feed - should really be added into main along with .list-item .date etc. */
.list-item .location {
	margin-bottom: 0;
	margin-top: 0.5 rem;
	font-family: 'Raleway', sans-serif;
	font-size: .875rem;
	color: #695d54;
}

/* LiveWhale Department page */

section#upcoming_events h2 {
	display: inline-block;
}

section#upcoming_events a.show_more {
	display: inline-block;
	width: 10rem;
	margin-left: 2rem;
}

section#upcoming_events div.outer {
	height: 117px;
}

@media only screen and (max-width: 420px) 
{
	section#upcoming_events a.show_more {
		display: block;
		margin-left: 0px;
	}