/*
Theme Name: 	Academic Small (Flagship Style) Foundation 5
Description: 	For small academic departments with very few sub-pages and limited content for sidebars.  This is a child theme of Academic Small, the only difference being the navigation style.
Author: 		Cara Peckens
Author URI: 	http://krieger.jhu.edu/communications/web
Version: 		3.0
Template: ksas_flagship_academic_f5
*/


.textwidget {margin: 0;}
.textwidget a {border-bottom: .125em dotted;border-bottom-color: rgba(0,0,0,.2);}
.textwidget a:hover {color: #2C2C33 !important; border-bottom-style: solid;}
.textwidget li a {font-family: 'gentona-light', Arial, sans-serif !important; font-weight: 300!important; }
.grey {color: #ccc;}
#page {
	margin-top: 15px;
}
#main_nav ul li {
	padding: 0 5px;
}
#main_nav ul li ul li {
	padding: 0;
}
#main_nav ul li ul li {padding:0;}
.nav-bar > li.has-flyout > a:first-child {
	padding-right: 0;
}

a.button {
  color: white!important;
}

.nav-bar > li { float: left; display: block; position: relative; padding: 0; margin: 0;  line-height: 72px;  }
.nav-bar > li.active { background: #255682; }
.nav-bar > li.active > a { color: white; cursor: default; }
.nav-bar > li.active:hover { background: #255682; cursor: default; }
.nav-bar > li:hover { background: #255682; }
.nav-bar > li > a { color: #FFF; }
.nav-bar > li ul { margin-bottom: 0; }
.nav-bar > li.flyout { display: none; }
.nav-bar > li.has-flyout > a:first-child { padding-right: 25px; position: relative; }
.nav-bar > li.has-flyout > a:first-child:after { content: ""; display: block; width: 0; height: 0; border: none; }
.nav-bar > li.has-flyout > a.flyout-toggle { border-left: 0 !important; position: absolute; right: 0; top: 0; padding: 20px; z-index: 2; display: block; }
.nav-bar > li.has-flyout.is-touch > a:first-child { padding-right: 55px; }
.nav-bar > li.has-flyout.is-touch > a.flyout-toggle { border-left: 1px dashed #666; }
.nav-bar > li > a:first-child { position: relative; padding: 0 20px; display: block; text-decoration: none; font-size: 14px; }
.nav-bar > li > input { margin: 0 10px; }

#main_nav ul.flyout { background: rgb(0,0,0); background: rgba(0,0,0,.75); padding: 0px; margin: 0; border: 1px solid #000; position: absolute; top: 60px; left: 0px; width: 300px; z-index: 40 !important; -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1); height: auto; /* remove margin on any first-child element */ /* remove margin on last element */ }
#main_nav ul.flyout p { line-height: 1.2; font-size: 13px; }
#main_nav ul.flyout *:first-child { margin-top: 0; }
#main_nav ul.flyout *:last-child { margin-bottom: 0; }
#main_nav ul.flyout.small { width: 166.66667px; }
#main_nav ul.flyout.large { width: 437.5px; }
#main_nav ul.flyout.right { left: auto; right: -2px; }
#main_nav ul.flyout.left { right: auto; left: -2px; }
#main_nav ul.flyout.up { bottom: auto; }
#main_nav ul.flyout li {float:none;}
ul.flyout, .nav-bar li ul { padding: 0; list-style: none; }
ul.flyout li, .nav-bar li ul li { border-left: solid 3px #000; }
ul.flyout li a, .nav-bar li ul li a { background: rgb(0,0,0); background: rgba(0,0,0,.75); border: 1px solid #000; }
ul.flyout li a:hover, .nav-bar li ul li a:hover { background: #333; background: rgba(255,255,255,.1); color: #333; }
ul.flyout li.active, .nav-bar li ul li.active { margin-top: 0; border-top: 1px solid #4d4d4d; border-left: 4px solid #1a1a1a; }
ul.flyout li.active a, .nav-bar li ul li.active a { background: #4d4d4d; border: none; color: #fff; height: auto; margin: 0; position: static; top: 0; box-shadow: 0 0 0; }

#main_nav ul li:hover ul,
#main_nav ul li a:hover ul,
#main_nav ul li.current_page_ancestor ul,
#main_nav ul li.current_page_item ul { visibility:visible; background: rgb(0,0,0); background: rgba(0,0,0,.75);  width: 300px; min-height:auto; border-radius: 	0px; z-index: 1;
}

#main_nav ul li:hover ul li a:hover,
#main_nav ul li a:hover ul li a:hover {  
	background: none;
	color:#FFF;
}

#main_nav ul li ul li.current_page_item a,
#main_nav ul li ul li.current_page_ancestor a,
#main_nav ul li ul li.current_page_parent a,
#main_nav ul li ul li a:hover {
	color:#FFF;
}

#quicklinks li.has-flyout {
	line-height: 38px;
}

#quicklinks ul.flyout li a, #quicklinks .nav-bar li ul li a {
	border: 1px solid #CCC;
}

#sidebar ul.sub-menu {display: none;}

#main_nav ul li.current_page_ancestor ul,
#main_nav ul li.current_page_item ul {
	display: none;
}
li.external a::after {
	line-height: normal;
	float: none;
}
.wrapper {
	margin-top: 12px;
}

#sidebar li.external a::after {
	color: #336699;
}

#main_nav .exclude {
	display: none !important;
}

#calendar_container iframe {
height: 785px!important;
}

#SECalendarTable>td {
border: 5px solid #ddd;
}

.frm_form_field.frm_total input, .frm_form_field.frm_total textarea {
border-color: rgb(204, 204, 204) !important;
border-width: 1px !important;
border-style: solid !important;
}

.visible-img img {
height: 90%;
}

li.nowrap {
    margin-left: 0px;
}

.th:hover, .th:focus {
  box-shadow: 0 0 6px 1px rgba(0,94,184,1);
}

.tabs dd>a, .tabs .tab-title>a {	 	 
font-size: 0.85rem;	 	 
}

#menu-footer-links a,
.white {
    color: #FFF!important;
}

#menu-footer-links a, #copyright a {
    color: #fff!important;
    border-bottom: .125em dotted;
    border-bottom-color: rgba(255,255,255,0.9);
}

body.purple footer a {
    color: white;
}

.content > .accordion .accordion-navigation > a,
.accordion dd > a {
    font-size: 1.1rem;
    font-family: 'gentona-book', Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
}

.tabs-content .content li {
    margin-bottom: 16px;
}

main {
    display: block
}

.orbit-container .orbit-prev, .orbit-container .orbit-next {
background-color: rgba(0, 0, 0, .5);
position: absolute;
top: 25px;
}

div.orbit-wrapper div.slider-nav span {
margin-top: inherit;
}

.ksas_profile h5, p {
    line-height: 1.4;
}

.ksas_profile h5 {
    padding-left: 0px !important;
    margin-bottom: 10px !important;
}

.metaslider .caption {
    font-size: 16px;
    line-height: 1.2;
}

a.field img {
margin-left: 0px !important;
}

.fields p {
font-size: 16px;
}

.mobile-field {margin-bottom: 30px;}
div.field {
    min-height: 355px;
    margin-bottom: 30px;
    max-width: 305px;
    min-width: 240px;
    border: .1875em solid black;
}
div.field img {
    height: 100%;
}

.field h3 {
    color: #ffffff;
}

.exhibit-slide {
max-height: 500px;
overflow: hidden;
}

.exhibit img {
    display: block;
    margin-left: auto;
    margin-right: auto; 
}

@media only screen and (min-width: 40.063em) and (max-width: 64em) {
.nav-bar > li.has-flyout.is-touch > a:first-child { padding-right: 25px; }	
}