
body
{
	background: #232424 url("page_cold.jpg") 50% 50% fixed repeat;
}

#header .headerbar
{
	padding-bottom: 0;
	margin-bottom: 3px;
}

#header .headerbar img
{
	max-width: 100%;
}

.button-primary
{
	background-color: #CEEDFF;
	box-shadow: inset 0 0 12px rgba(39,81,150,0.8), inset 0 0 8px rgba(0,0,0,0.3), 0 1px 1px rgba(0,0,0,0.3);
}

.menu-dropdown li.active a
{
	color: #E6F5FF;
	text-shadow: 0 0 6px rgba(64,159,255,0.5);
}

.menu-dropdown li.active a:before
{
	background-image: url("menu_dropdown_level1_active_color.png");
}

.menu-dropdown li:hover
{
	color: #2D384A;
	background-color: #CEEDFF;
	box-shadow: inset 0 0 12px rgba(39,81,150,0.8), inset 0 0 8px rgba(0,0,0,0.3);
}

.menu-dropdown li:hover a
{
	color: #2D384A !important;
}

#menubar .social-container .phone
{
	margin-right: 2px;
}

#menubar .social-container .phone a:hover
{
	color: #0596CD;
}

#sidebar-b
{
	width: 35%;
}

/* --------------------------------- */

.slideshow.team-members .slides
{
	background: rgba(0, 0, 0, 0.25);
}

.slideshow.team-members .slides .slide.team-member
{
	display: flex;
	width: 100%;
	height: max-content;
}

.slideshow.team-members .slides li.active .slide.team-member
{
	pointer-events: auto;
}

.slideshow.team-members .slides .slide.team-member > *:first-child
{
	flex-shrink: 0;
}

.slideshow.team-members .slides .slide.team-member > *:last-child
{
	flex: 1;
}

.slideshow.team-members .slides .slide.team-member p
{
	text-align: center;
}

.slideshow.team-members .slides .slide.team-member p .button-primary
{
	margin-left: auto;
	margin-right: auto;
}

.slideshow.team-members .slides .slide.team-member div img
{
	display: inline-block;
	width: 100%;
	max-width: 98px;
	margin: 0 auto 20px auto;
	height: auto;
	border-radius: 4px;
	/* Opacity on the content of a slide causes Firefox to do weird things when animating the slide */
	/*opacity: 0.7;
	transition: all 0.2s linear;*/
}

/*.slideshow.team-members .slides .slide.team-member div img:hover
{
	opacity: 1;
}*/

.slideshow.team-members .nav.captions
{
	grid-gap: 2px;
	margin-top: 2px;
}

.slideshow.team-members .nav li.active
{
	color: #E6F5FF;
	text-shadow: 0 0 6px rgba(64,159,255,0.5);
}

.slideshow.team-members .nav li.active::before
{
	background-image: url("color_line.png");
}

/* --------------------------------- */

.grid-box h3.module-title
{
	color: #E6F5FF;
	text-shadow: 0 0 6px rgba(64,159,255,0.5);
}

.grid-box .icons
{
	display: flex;
	grid-gap: 4px;
}

.grid-box .icons > *
{
	flex: 1;
}

.grid-box .icons img
{
	display: block;
	width: auto;
	height: auto;
	border-radius: 5px;
}

/* --------------------------------- */

article.item
{
	background: #f4f4f4;
	box-shadow: inset 0 0 30px rgba(0,0,0,0.2);
	color: #545454;
	text-shadow: none;
	padding: 20px;
}

article img
{
	max-width: 100%;
}

article.item h1
{
	margin: 0;
	color: #333;
	font-size: 38px;
	line-height: 38px;
}

article.item header
{
	margin-bottom: 15px;
}

article.item .content > *:first-child
{
	margin-top: 0;
}

article.item .content > *:last-child
{
	margin-bottom: 0;
}

article .block
{
	margin: 1rem;
}

article .block p
{
	margin: 0;
}

/* --------------------------------- */

label,
input,
button,
select,
textarea
{
	font-size: 14px;
	font-weight: normal;
	line-height: 20px;
}

input,
button,
select,
textarea
{
	font-family: Arial, Helvetica, "Helvetica Neue", sans-serif;
}

label
{
	display: block;
	margin-bottom: 5px;
}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"]
{
	display: inline-block;
	height: 20px;
	padding: 4px 6px;
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 20px;
	color: #cccccc;
	border-radius: 4px;
	vertical-align: middle;
	transition: border linear .2s, box-shadow linear .2s;
}

input,
textarea
{
	width: 206px;
}

textarea
{
	height: auto;
}

textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"]
{
	background-color: #444444;
	border: 1px solid #191919;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

select:focus,
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus
{
	border-color: rgba(82, 168, 236, 0.8);
	outline: 0;
	outline: thin dotted \9;
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
}

input[type="radio"],
input[type="checkbox"]
{
	margin: 4px 0 0;
	line-height: normal;
}

input[type="file"],
input[type="image"],
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="radio"],
input[type="checkbox"]
{
	width: auto;
}

select,
input[type="file"]
{
	height: 30px;
	line-height: 30px;
}

select
{
	width: 220px;
	border: 1px solid #191919;
	background-color: #444444;
}

select[multiple],
select[size]
{
	height: auto;
}

input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus
{
	outline: thin dotted #333;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
	outline: thin dotted #444;
}

input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly]
{
	cursor: not-allowed;
	background-color: #303030;
}

input[type="radio"][disabled],
input[type="checkbox"][disabled],
input[type="radio"][readonly],
input[type="checkbox"][readonly]
{
	background-color: transparent;
}

::selection
{
	background: rgba(64,159,255,0.3);
	color: #E6F5FF;
}

.bfQuickMode select:focus,
.bfQuickMode textarea:focus,
.bfQuickMode input[type="text"]:focus,
.bfQuickMode input[type="password"]:focus,
.bfQuickMode input[type="datetime"]:focus,
.bfQuickMode input[type="datetime-local"]:focus,
.bfQuickMode input[type="date"]:focus,
.bfQuickMode input[type="month"]:focus,
.bfQuickMode input[type="time"]:focus,
.bfQuickMode input[type="week"]:focus,
.bfQuickMode input[type="number"]:focus,
.bfQuickMode input[type="email"]:focus,
.bfQuickMode input[type="url"]:focus,
.bfQuickMode input[type="search"]:focus,
.bfQuickMode input[type="tel"]:focus,
.bfQuickMode input[type="color"]:focus
{
	box-shadow: none;
	outline: 0 none;
}

.bfQuickMode
{
	width: 100%;
	padding: 0px;
	margin: 0px;
}

.bfQuickMode .bfNoSection
{
	margin: 10px 0;
}

.bfQuickMode p.bfElemWrap
{
	padding: 5px;
	margin: 0px 0px 0px 0px;
	position: relative;
	overflow: hidden;
}

.bfQuickMode p.bfElemWrap:hover,
.bfQuickMode p.bfElemWrap:focus-within
{
	background-color: rgba(94, 94, 94);
}

.bfQuickMode .bfLabelLeft label
{
	display: block;
	width: 45%;
	float: left;
	margin: 0px 10px 0px 0px;
}

.bfQuickMode .bfLabelLeft input,
.bfQuickMode .bfLabelLeft textarea,
.bfQuickMode .bfLabelLeft select,
.bfQuickMode .bfLabelLeft button
{
	float: left;
	margin: 0px;
}

.bfQuickMode p input[type='text'],
.bfQuickMode p textarea,
.bfQuickMode p select
{
	width: 45%;
}

.bfQuickMode .bfNextButton,
.bfQuickMode .bfSubmitButton,
.bfQuickMode .bfCancelButton
{
	float: right;
}

.bfQuickMode .bfPrevButton
{
	float: left;
}

/* --------------------------------- */

@media (max-width: 1000px)
{
	#menubar
	{
		display: block;
	}
	#menubar .social-container
	{
		margin-left: 0;
		width: 100%;
	}
	#menubar .social-container .phone
	{
		margin-right: auto;
	}
	#menubar .social-container .socialone
	{
		margin-left: auto;
	}
	#sidebar-b
	{
		width: 100%;
	}
	.slideshow .nav.captions li
	{
		margin-top: 1px;
	}
}
