/* layout */
body {
	color: #666;
	background-color: #f3f3f3; /* fallback for old browsers */
}
a.anchor {
	display: block;
	position: relative;
	top: -50px;
	visibility: hidden;
}
pre { 
	margin: 0;
	padding: 10px 20px !important;
}
html, body {
	height: 100%;
}
hr {
	border-top: 1px solid #bebebe;
}
h4 {
	font-size: 1.5em;
	margin: 30px 0px 5px 0px;
}
h5 {
/* JTH 28Oct2022
	font-size: 1.1em;
	font-weight: bold;
*/
	font-size: 1.3em;
	font-weight: normal;
	margin-bottom: 2px;
}
/* JTH 09Nov2022 */
h6 {
	font-size: 1.2em;
}
.short-text {
	display: none;
}
/* JTH 18Oct2022 - Style labels for toggle checkboxes */
label:has(> div[data-toggle=toggle]) {
    display: flex;
}
label > div[data-toggle=toggle] {
    margin-right: 8px;
}
/* JTH 18Oct2022 - Set bootstrap buttons to truncate text using ellipses. Specify tag type (e.g., "button") to avoid affecting toggle checkboxes */
a.btn, button.btn, input.btn {
	display: inline-block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.btn-wrap-text {
	white-space: normal;
}
/* JTH 29Nov2022 - Icons for bootstrap alerts */
.alert-with-icon span {
    display: table-cell;
	font-size: 20px;
	vertical-align: middle;
}
.alert-with-icon div {
    display: table-cell;
	padding-left: 10px;
}
/* JTH 12Jul2022 - Icons before content */
.info-icon:before {
	background: transparent url("/images/icons/information.png?t=<%= Now() %>") no-repeat;
	display: inline-block;
	content: "";
	height: 12px;
	margin: -2px 4px 0px 0px;
	vertical-align: middle;
	width: 12px;
}
.warning-icon:before {
	background: transparent url("/images/icons/warning.png?t=<%= Now() %>") no-repeat;
	display: inline-block;
	content: "";
	height: 11px;
	margin: -2px 3px 0px 0px;
	vertical-align: middle;
	width: 12px;
}
.icon-alignment {
	vertical-align: middle;
}
.excel-icon:after {
	background: transparent url("/images/icons/excel.png?t=<%= Now() %>") no-repeat;
	display: inline-block;
	content: "";
	height: 14px;
	margin: 3px 0px 0px 3px;
	vertical-align: top;
	width: 14px;
}
/* JTH 12Jul2022 - PDF icon after content */
.pdf-icon:after {
	background: url("/images/icons/pdf.png?t=<%= Now() %>");
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center center;
	content: "";
	margin-left: 0.3em; /* spacing*/
	padding-right: 0.75em; /* sizing */
}
.pdf-fillable-icon:after {
	background: url("/images/icons/editpdf.png?t=<%= Now() %>");
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center center;
	content: "";
	margin-left: 0.3em; /* spacing*/
	padding-right: 0.75em; /* sizing */
}
.zip-icon:after {
	color: #E2B01C;
	content: "\f1c6";
	display: inline-block;
	font-family: "Font Awesome 5 Free";
	font-size: inherit;
	font-weight: 900;
	margin-left: 0.3em;
	text-rendering: auto;
	transform: translate(0, 0);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;

}
/* JTH 15Jun2022 - Alternating rowcolor for table */
.striped-table tr:nth-of-type(odd) { 
	background-color: #F3F3F3; 
}
/* JTH 26May2021 - Required indicator for text */
.required::after {
	content: "*";
	color: red;
	font-size: 15px;
	font-weight: bold;
	margin-left: 0.3em; /* spacing*/
}
/* JTH 07Jul2020 - Popovers */
.popover-danger {
	background-color: #d9534f;
	border-color: #d43f3a;
	color: white;
}
.popover-danger.top .arrow:after {
	border-top-color: #d9534f;
}
.popover-danger.right .arrow:after {
	border-right-color: #d9534f;
}
.popover-danger.bottom .arrow:after {
	border-bottom-color: #d9534f;
}
.popover-danger.left .arrow:after {
	border-left-color: #d9534f;
}
.popover-warning {
	background-color: yellow;
	border-color: yellow;
}
.popover-warning.top .arrow:after {
	border-top-color: yellow;
}
.popover-warning.right .arrow:after {
	border-right-color: yellow;
}
.popover-warning.bottom .arrow:after {
	border-bottom-color: yellow;
}
.popover-warning.left .arrow:after {
	border-left-color: yellow;
}
/*Chevron turn, used on transaction apps /online-services/transactions/getaddress.asp*/
.panel-heading .accordion-toggle > .panel-title:after {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings';  /* essential for enabling glyphicon */
    content: "\e114";    /* adjust as needed, taken from bootstrap.css */
    float: right;        /* adjust as needed */
    color: grey;         /* adjust as needed */
}
.panel-heading .accordion-toggle.collapsed > .panel-title:after {
    /* symbol for "collapsed" panels */
    content: "\e080";    /* adjust as needed, taken from bootstrap.css */
}
/* JTH 27Jan2023 - Added panel-title-primary class to change arrow to white */
.panel-heading .accordion-toggle > .panel-title-primary:after {
    /* symbol for "opening" panels */
    color: white;         /* adjust as needed */
}
/*tables*/
tr.altrow {
/* JTH 26May2022 - Changed background color to lighter color to increase readability
	background-color: #eee;
*/
	background-color: #f9f9f9 !important;
}
.usdf-table {
	font-size: 85%;
}
.usdf-table > tbody > tr > th {
	background-color: #ccc;
	border-bottom: 0 none transparent !important;
	padding: 4px;
}
.usdf-table > tbody > tr > td {
	padding: 4px;
}
.usdf-sub-table {
	font-size: 12px;
	margin-bottom: 0px;
	margin-top: 5px;
}
.usdf-sub-table > tbody > tr > td {
	font-size: 12px;
	padding: 4px;
}
.usdf-sub-table > tbody > tr > th, .usdf-sub-table > tr > th {
	/* Set background color to darker color to indicate header */
	background-color: #E4E4E4;
	border-bottom: 0 none transparent;
	font-weight: normal;
	padding: 4px;
}
.table-responsive {
/* JTH 26Sep2022 - Changed border and padding
	border: 0px;
*/
	border-bottom: 1px solid #ddd !important;
	border-top: 1px solid #ddd !important;
	padding: 0px !important;
}
/* JTH 26Sep2022 - Added .table-responsive > table ... */
.table-responsive > table {
	border-bottom: 0 none transparent !important;
	border-top: 0 none transparent !important;
	margin: 0px !important;
	width: 100%;
}
.table-responsive > table > tr > td,
.table-responsive > table > tbody > tr > td {
	white-space: normal !important; 
	word-wrap: break-word;
}
/* JTH 26Sep2022 - Remove left border on first <td> of every <tr> */
/*
.table-responsive > table > tr > td:nth-child(1),
.table-responsive > table > tbody > tr > td:nth-child(1) {
	border-left: 0 none transparent !important;
}
*/
/* JTH 26Sep2022 - Remove bottom border on last row */
.table-responsive > table > tr:last-child, 
.table-responsive > table > tbody > tr:last-child,
.table-responsive > table > tr:last-child > td, 
.table-responsive > table > tbody > tr:last-child > td {
	border-bottom: 0 none transparent !important;
}
.table-responsive > table > tr:last-child > td,
.table-responsive > table > tbody > tr:last-child > td {
	border-bottom: 0 none transparent !important;
}
/* JTH 26Sep2022 - Safari 11+ */
@media not all and (min-resolution:.001dpcm) {
	@supports (-webkit-appearance:none) and (stroke-color:transparent) {
		.table-responsive {
			overflow: scroll;
		}
	}
}
/* JTH 26Sep2022 - Safari 10.1 */
@media not all and (min-resolution:.001dpcm) {
	@supports (-webkit-appearance:none) and (not (stroke-color:transparent)) {
		.table-responsive {
			overflow: scroll;
		}
	}
}
/*sidebar menus */
#side-menu {
	font-size: .95em;
}
.sublinks > li {
	padding-left: 20px;
}
.sublinks > .sublinks > li {
	padding-left: 30px;
}
#side-menu > li,active {
	padding-right:25px;
}
#side-menu > li > a {
	margin-right:20px;
}
.list-group-item {
	background: #fafafa;
/*
	border: 0px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
*/
}
.list-group-item:first-child {
	border-top-right-radius: 0px;
    border-top-left-radius: 0px; 
}
.list-group-item:last-child {
	border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px; 
}
#sm.sublinks.collapse.in > .list-group-item:last-child {
	border-bottom:0px;
}
#side-menu.list-group.panel {
	border-bottom: 1px solid #ddd;
}
.usdf-navicon {
	position:absolute;
    right: 10px;
    top: 12px;
}
.caption {
	font-size: .8em;
	padding:2px !important;
}
.caption > p {
	margin: 0;
}
.wrapper {
	min-height: 100%;	
	height: auto !important;
	height: 100%;
	margin: 0 auto -4em;
	width:100%;
	max-width:1320px;
	background: url('https://www.usdf.org/includes/images/website/home.jpg?t=<%= Now() %>') no-repeat center top; 
	background-color: #fff; 
	background-size: 100% auto;
	box-shadow: 0px 0px 15px #606060;
/* JTH 05Apr2023 - No clue why this was here and only started showing on some browsers in the office.
	&:before {
		content: '';
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background-image: linear-gradient(to top left,#002f4b,#dc4225);
		opacity: .6; 
	}
*/
}
.wrapper_new_menu {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -4em;
	width:100%;
	max-width:1320px;
	background: url('https://www.usdf.org/includes/images/website/home_page.jpg?t=<%= Now() %>') no-repeat center top; 
	background-color: #fff; 
	background-size: 100% auto;
	box-shadow: 0px 0px 15px #606060;
}
.footer, .push {
	height: 4em;
}
footer {
	background-color: #efefef;
	bottom: 0px;
	color: #222;
	padding:0 10px;
	width: 100%;
    max-width: 1320px;
    margin: 40px auto;
}
.container, .jumbotron .container {
	width: auto;
	max-width: 1340px;
}
.jumbotron {
	margin: 60px 0;
	padding-left: 0;
	padding-right: 0;
}
.jumbotron.intro {
    margin-top: 0;
}
.jumbotron .navbar {
    font-size: 14px;
    line-height: 1.6;
}
/* menu styes */
.list-unstyled, .list-unstyled ul {
	min-width: 120px
}
@media (min-width: 767px) {
	.panel-group {
		width: 400px;
	}
	.thumbnail {
		margin: 0;
	}
}
/* Grid demo styles */
.grid-demo {
	padding: 0px 30px;
}
.grid-demo [class*="col-"] {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 1em;
    text-align: left;
    line-height: 1;
    background-color: white;
    border: 0px solid #d1d1d1;
}
.grid-demo li {
	margin-bottom: 8px;
}
.topnav {
	margin-top:1.2em;
}
.topnav a{
  font-weight:bold;
/*  color: #666;*/
	color:#337ab7;
}
.topnav a:focus, .topnav a:hover {
	color:#23527c;
	text-decoration:underline
}
.topnav a:focus {
	outline:thin dotted;
	outline:5px auto -webkit-focus-ring-color;
	outline-offset: -2px
}
.subnav > li > a {
	padding: 15px 7px 15px 7px;
}
/* JTH 01Oct2021 */
.well-info {
	background-color: #d9edf7;
	border-color: #bce8f1;
	border-radius: 4px;
	color: #31708f;
	margin-bottom: 20px;
	min-height: 20px;
	padding: 19px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}
@media (min-width: 690px) and (max-width: 940px) {
	.subnav>li>a{
		font-size:11px;
		padding: 15px 7px 15px 6px;
	}
}
@media (max-width:689px){
	.subnav>li>a{
		font-size:12px;
		padding: 5px 15px;
   }
}
article {
	line-height: 1.2em;
	border: 1px solid #eee;
	margin: 2px 5px 10px 0px;
	padding: 10px;
	background-color: gainsboro;
	border-radius: 4px;
}
#homelinks .btn {
    margin:2px;
	min-height: 40px;
}
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
/* Carousel base class */
.carousel {
	width: 100%;
	margin: 0px !important;
	padding: 0px 15px;
}
.carousel-control {
	height: 80px;
	margin-top: 60px;
	font-size: 120px;
	text-shadow: 0 1px 1px rgba(0,0,0,.4);
	background-color: transparent;
	border: 0;
	z-index: 10;
}
.carousel .item {
	background: #222;
}
.carousel .item > a > img {
	margin: 0 auto;
}
.carousel .item .container img {
	top: 0;
	left: 0;
	width:100%;
}
/* RESPONSIVE CSS
-------------------------------------------------- */
@media (max-width: 979px) {
    .carousel img {
		width: auto;
    }
}
@media (max-width: 767px) {
    .carousel {
        margin-left: -20px;
        margin-right: -20px;
    }
	.carousel .container {
    }
    .carousel img {
		max-width: 100%;
    }
	.carousel-control {
		position: absolute;
		margin-top: -10px;
		font-size: 50px;
		text-shadow: 0 1px 1px rgba(0,0,0,.4);
		background-color: transparent;
		border: 0;
		z-index: 10;
	}
}
@media print {
	body {
		margin-top:0px;
	}
	no-print {
		display: none;
	}
}
h2 {
	margin-top: 0px;
	background: white;
	padding: 20px 0px 20px 0px;
	border-radius: 4px;
}
.navbar-inverse, .navbar-inverse .navbar-brand, .navbar-inverse .navbar-nav > li > a {
	color: #D9D9D9
}
@media (max-width: 600px) {
    #homelinks h4 {
		font-size: 12px;
	}
	#maincontainer {
		padding: 0px 5px;
	}
	#homelinks .btn {
		width: 100%;
		word-break: break-word;
		overflow: hidden;
		white-space: normal;
	} 
}
@media (min-width: 600px) {
	#homelinks .btn {
		width: 100%;
		word-break: break-word;
		overflow: hidden;
		white-space: normal;
	}
	h2 {
	 /*padding-left:20px;*/
	}
}
@media (min-width: 991px) {
	#maincontainer {
		margin-bottom: 8em;
	}
}
.list-group .active > a {
	color: white;
}
