html {
}
* {
	/* no... really?
	transition: none !important;
	-webkit-transition: none !important;
	*/
}
body {
	overflow-y:scroll;
}
body, input {
	text-align:right;
	font-size:18px;
	line-height:1.5em;
	font-family: HelveticaNeueLt, Helvetica, Arial;
}
p {
	margin: 2px 0 6px 0;
}
.stl-td p {
	margin: 0 0 1px 0;
}
#wrapper {
	margin:4px 12px 2px 12px;
	position:relative;
}
#body-vcenter,
.body-vcenter,
#centerimage,
#lefttext, #footer, #search-body,
input {
	font-size: .85em;
	line-height: 1.2em;
	margin: 8px 0 8px 0;
}
a, .members .item .title, #lefttext h2, .rowhead {
	color: #9aa5af;
}
.member .item {
	float:right;
	margin-left:8px;
}

#mc-embedded-subscribe-form .mc-field-group  {
	margin-top: 1em;
}

#mc-embedded-subscribe-form .mc-field-group label,
#mc-embedded-subscribe-form .mc-field-group input[type=text],
#mc-embedded-subscribe-form .mc-field-group input[type=email],
#mc-embedded-subscribe-form .mc-field-group input[type=password] {
	display: block;
	width:100%;
	box-sizing: border-box;
	text-align: left;
}

#mc-embedded-subscribe-form .mc-field-group input[type=text],
#mc-embedded-subscribe-form .mc-field-group input[type=email],
#mc-embedded-subscribe-form .mc-field-group input[type=password] {
	border-bottom: 1px solid #9aa5af;
}

#topright-logo {
    margin-right: -10px;
    width: 272px;
    padding-top: 4px;
    margin-bottom: -6px;
}
body, a[href]:hover, a[onclick]:hover, input,
.stl-td.project-title {
	color:#002d72;
}
#menu > .item.selected .menu-title,
#menu .submenu .item .selected,
#menu .submenu .item.selected {
	/* blue */
	font-weight:bold;
	color:#002d72;
}
.desktop-only, .ssb_up, .ssb_down, .ssb_sb, .ssb_st, .search-map, .slidebox2 {
	visibility:hidden !important;
	display:none !important;
}
/* override forced content height */
.body-vcenter:not(.fullheight), .search-results {
	height:auto !important;
}
.stl-thead, .bottomnav,
.thumbs-gallery .item > img {
	visibility:hidden;
	display:none;
}
#project-next-arrow, #project-prev-arrow {
	display:none;
}
.slideshow {
	position:relative;
}

.slidebox {
	overflow:hidden;
	position:relative;
	height:300px;
}

.slidebox {
	max-height: 100%;
	top:0;
	bottom:0;
	right: 0;
	left: 0;
	overflow: hidden;
	white-space: nowrap;
}
.slidebox .page {
	width: 100%;
}

.slidebox .page,
.slidebox .page IMG
 {
	max-width: 100%;
	text-align: right;
}

.slidebox .page IMG {
	max-height: 100%;
}

.slideshow .click-area {
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	width:0%;
	cursor:pointer;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-tap-highlight-color: transparent;
}
.slideshow .click-area.left {
	right:100%;
}
.slideshow .click-area.right {
	left:100%;
}
#menu, #header, #body {
	display:block;
	clear:both;
}
#header {
	position: sticky;
	top: -35px;
	background-color: rgba(255,255,255,.95);
    padding-bottom: 5px;
    margin-bottom: -5px;
    z-index: 200;
}
#menu > div, #menu > a {
	float:right;
	margin-left:16px;
	display:block;
}
#search-button {
	float:none !important;
	display:inline !important;
}
#search-button > img{
	height:.9em;
}
#menu > .item .submenu-area {
	visibility:hidden;
	opacity:0;
	width:100%;
	min-height: 400px;
	background-image: url(img/white90.png);
}

#menu.on.section-1> .item.section-1 .submenu-area ,
#menu.on.section-2> .item.section-2 .submenu-area ,
#menu.on.section-3> .item.section-3 .submenu-area ,
#menu.on.section-4> .item.section-4 .submenu-area  {
	visibility:visible;
	opacity:1;
}

.submenu-area {
	position:absolute;
	right:0;
	padding-bottom:16px;
    z-index: 10;
}
.submenu .item {
	display:block;
    float: right;
    clear: both;
}
#bg .bg {
	min-height:180px;
	margin-bottom:8px;
	background-size:cover;
	background-position: center center;
	display: block;
}
.thumbs-gallery .item .popout img {

}
.grid-icon-img {
	height:1em;
	margin-bottom:-2px;
}
.btl-tr, .stl-tr, h2, #lefttext, 
#search-settings, 
.team-list .row,
.body-vcenter .members, 
.body-vcenter .small-list, 
.thumbs-gallery .item,
.rowhead {
	padding:10px 0 14px 0 ;
	display:block;
}
.btl-td.thumb,
.stl-td.thumb {
	margin:8px 0 8px 0;
}
.btl-td.description .big b, h2, .rowhead b {
	font-weight:normal;
	font-size:1.25em;
	line-height: 1.25em;
	color:#002d72;
}
.btl-td.thumb > img {
	max-width:100%;
}
#bottomnotice {
	float:left;
}
.social-icons {
	margin:16px 0 8px 0;
}
.social-icons img {
	height:1.6em;
	margin-left:16px;
}
.grid-icon img {
	height: 1em;
	margin-left: 8px;
	margin-bottom: -1px;
}
#footer {
	margin:8px 0 8px 0;
	/* break in float */
	overflow:hidden;
}
.stl {
	display: table;
	width: 100%;
}
.stl-tr {
	width: 140px;
	margin-left:32px;
	margin-bottom: 8px;
	display: inline-block;
	vertical-align: bottom;
}
.thumbs-gallery .item {
	width:auto !important;
	direction:rtl;
}
.thumbs-gallery .item .popout {
	display:table;
}
.thumbs-gallery .item .caption .left {
	float:left;
	margin-right:16px;
}
.thumbs-gallery .item .caption .right {
	float:right;
	margin-left:16px;
}
.portrait-container .portrait {
	width: 150px;
}

.bottom-banner {
	font-size: 15px;
	line-height: 22px;
	padding: 10px;
	padding-top:0;
	text-align: left;
	border-top: 1px solid rgba(0, 45, 114, 0.5);
}


.bottom-banner .button { 
	display: inline-block;
	padding:2px;
}



/* stick to bottom of viewport scrolling content */

.bottom-banner {
	position: sticky;
	background-color: white;
	bottom:0px;
}


/* always stick to bottom of page even if content is smaller */

#flex-wrapper {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}

#wrapper {
	flex: 1;
}

/* ------ */

#cookie-warning-banner {
	text-align: right;
	line-height: 1.6em;
	padding-top: .5em;
}

#cookie-warning-banner .action {
	float: right;
	padding-left: .8em;
}

#cookie-warning-banner .notice {
	display: block;
}

#cookie-warning-agree-button {
	font-weight: bold;
}

/* form */

button, input[type=submit] {
    padding: .25em;
    line-height: 1em;
}