﻿/* Utility classes */
hr {
	margin-top: 2px;
	margin-bottom: 6px;
	float:none !important;
}
img {
	max-width: 500px;
}
.blocklabel {
	display: block;
}
.inline-block{
	display:inline-block;
}
.left-padded {
	margin-left: 16px;
}
.margin1{
	margin:1em;
}
.marginTop1{
	margin-top:1em;
}
.padding1{
	padding:1em;
}
.fontSize85{
	font-size:85%;
}
.flex-items-left{
	display:flex;
	flex-direction:row;
	justify-content:flex-start;
}
.flex-items-right{
	display:flex;
	flex-direction:row;
	justify-content:flex-end;
}
.flex-items-center{
	display:flex;
	flex-direction:row;
	justify-content:center;
}
.flex-items-valign{
	display:flex;
	align-items:center;
	flex-wrap:wrap;
}
.text-align-left{
	text-align:left !important;
}
.text-align-center{
	text-align:center;
}
.text-align-right{
	text-align:right;
}
.moveUpDownCell{
	display:inline-block;
	width:3.5em;
}
.moveUpDownCell a, .moveUpDownCell div{
	display:inline-block;
	width:1.25em;
	padding:.25em;
	margin-left:.25em;
	border:1px transparent solid;
}
.moveUpDownCell a:hover{
	border:1px gray dotted;
	border-radius:25%;
}
/* end Utilities */

.logo-footer{
	margin-top:24px;
}

#selectdbform .list-group-item{
	max-width:600px;
}
#selectdbform .input-group{
	margin-bottom:16px;
}
.eventTitleHeader {
	display: block;
	margin: 0;
	overflow: hidden;
	background-color: white;
}

.eventTitleHeader img {
	max-width: 99%;
}

#UserToolBar{
	margin-bottom:0;
}
#UserToolBar.navbar li,#UserToolBar.navbar span,#UserToolBar.navbar div/*,#UserToolBar .navbar-brand*/ {
	font-size: 16px;
}
#contentbody{
	/* add bottom margin so nothing is covered by the footerBar*/
	margin-bottom:32px;
}
.policy-accept-bar{
	position: fixed;
    bottom: 32px;
    width: 100%;
    height: 80px;
	padding:16px;
	font-size:16px;
    border-width:1px;
	border-color:gray;
	border-style:solid;
	border-radius:0;
	display:flex;
	justify-content:center;
	align-items:center;
}
.policy-accept-bar>div{
	padding:16px;
}
.acceptPoliciesLink{
	/*empty*/
}
.footerBar{
	position: fixed;
    bottom: 0;
    width: 100%;
	font-size:12px;
    height: 32px;
	padding:8px;
    border-radius:0;
	display:flex;
	justify-content:space-between;
	align-items:center;
}

.footerBar .footerItem{
	flex-grow:1;
}
.footerItem a{
	color:#333;
	padding:3px;
	margin:1px;
	text-decoration:none;
}
.footerItem a:hover{
	text-decoration:underline;
}
.DataPagerLinks {
	font-size: 1.25em;
	margin-left: 1em;
}
.dbnav-dropdown li {
	min-width: 17em;
	border-bottom-color: rgb(0,0,0);
	border-bottom-color: rgba(0,0,0,.2);
	border-bottom-style: solid;
	border-bottom-width: 1px;
}

.dropdown-menu.navbar-inverse a {
	color: #9d9d9d;
}

.dropdown-menu.navbar-inverse a:hover {
	color: #000000;
}

/* dashboard  **************************************************************** */
.dashboard-name-panel{
	margin-bottom:8px;
}
/* dashboard-items-container is used only if the announcements panel is visible */
.dashboard-items-container{
	padding-left:15px;
	display:flex;
	flex-wrap:wrap;
	justify-content:flex-start;
}
.dashboard-group{
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
}
.dashboard-item{
	display:inline-block;
	height:121px;
	width:170px;
	margin-right:8px;
	margin-bottom:8px;
}
/* dashboard-sidebar is used if the announcements panel is NOT visible */
.dashboard-sidebar {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
}
@media (min-width: 992px){
	.dashboard-sidebar {
		flex-direction:column;
		flex-wrap:nowrap;
		align-content:center;
	}
}
.dashboard-item:hover{
	/*opacity:.75;*/
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.dashboard-item .panel-footer{
	font-size:90%;
}
/* badge alerts and tiles **************************************************** */
.badge-number{
	font-size:30px;
}
.badge-number-sm{
	font-size:16px;
}
.badge-caption{
	display:inline-block;
	white-space:nowrap;
}
#dbMetricsPage .badge-caption{
	top:90px;
}

#dbsite a.fa span{
	padding-left:.25em;
}
/* tasks tiles  */
.tasklinks-container{
	display:flex;
	justify-content: flex-start;
	flex-wrap:wrap;
}
.tile-tasklink{
    width: 140px;
    height: 90px;
    margin-bottom: 10px;
	margin-left:1em;
}
.tile-tasklink span.glyphicon{
	display:block;
}
.tile-tasklink span.glyphicon~span,.tile-tasklink span.fa~span{
	width:110px;
	white-space:pre-wrap;
	font-size:16px;
	display:table-cell;
}
#linksPanel .panel-footer a{
	margin-left:1em;
}
.task-checkmark{
	float:right;
	margin-right:-10px;
	margin-left:-10px;
	opacity:.5;
}

/*  ---  Forms ----------------------------*/
.pageIcon{
	/*empty*/
}
.form-actions div[class|=col]{
	text-align:center;
	padding-top:.5em;
	padding-bottom:.5em;
}
.form-actions>div:first-child{
	border-color:silver;
	border-style:solid;
	border-top-width:1px;
	border-bottom-width:1px;
	border-left-width:0;
	border-right-width:0;
	text-align:center;
	padding:5px;
}
/* for single button forms */
.form-actions .single-btn {
	min-width:200px;
}
.form-actions .btn{
	margin-right:1em;
}
.form-actions input[type=checkbox] {
	margin-right:.4em;
}
.data-form-width{
	/* empty*/
}
@media(min-width:992px) {
	.data-form-width {
		width: 66.66%;
	}
}
.data-entry-header{
	border-bottom:none;
	margin-top:20px;
	margin-bottom:-10px;
}
.data-entry-header .panel-heading h2{
	margin-top:0;
	margin-bottom:0;
}
.dbSubtitle {
	font-size:1.2em;
	margin-bottom:1em;
	color:#999;
}
.panel.dbSectionHeading{
	margin-bottom:0;
}
.required-label{
	font-weight:bold;
}
.required-label:before{
	content: "* ";
	color:red;
}
/* dbhome announcements panel */
.announcement-group{
	vertical-align:top;
	display:inline-block;
	width:100%;
}
.announcement-item{
	width:80%;
	display:inline-block;
}
.announcement-item-badge{
	width:20%;
	display:inline-block;
	text-align:right;
	vertical-align:top;
	font-style:italic;
	font-weight:bold;
}
.db-chart{
	height:160px;/*match to .dashboard-item*/
}

.dbCatSelector label{
	font-weight:normal;
	margin:1px;
}
.dbCatSelector label:hover{
	border:1px dotted silver;
	margin:0;
}
/* questionnaire styles */
.well h1, .well h2, .well h3,.well h4,.well h5{
	margin-top: 1em;
	margin-bottom: 1em;
}
.exclusiveChkContainer {
}

.exclusiveChkItem {
}
.qnr-text-answer {
	width: 100%;
}
.qnr-num {
	min-width: 2em;
	display:inline-block;
	vertical-align:top;
	font-weight:bold;
}
.qnr-text {
	display:inline-block;
	vertical-align:top;
}
.qnr-list-item{
	display:flex;
	align-items:flex-start;
	justify-content:flex-start;
}
.pager li > input[type=submit] {
	/* copy bootstrap pager control from anchors to buttons */
	/* allow buttons as pagers so that html5 tel type will be validated*/
	display: inline-block;
	padding: 5px 14px;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 15px;
	color:#337ab7;
}
.max-exceeded{
	text-decoration:line-through;
}