div.legend {
	font-size:11px;
	border:1px solid #777;
	float:right;
	width:auto;
	background:#ededed;
	margin:10px 0 10px 0;
	padding:0;
}

div.legend div.header {
	background: #777;
	color: #fff;
	font-weight:bold;
	font-size:12px;
	width:100%;	
	padding:3px 0 3px 3px;
	margin:0;
}

div.legend ul {
	list-style:none;
	margin:0;
	padding:0;
	width:100%;
	min-height:25px;
}

div.legend ul li {
	margin:5px 0 0 7px;
	padding:2px 7px 0 20px;
	min-height:15px;
	float:left;
}

div.legend ul li.edit {
	background:url('/assets/images/icons/edit.gif') no-repeat 0 6px;	
}

div.legend ul li.approved {
	background:url('/assets/images/icons/check.gif') no-repeat 0 6px;	
}

div.legend ul li.received {
	background:url('/assets/images/icons/gear.gif') no-repeat 0 6px;	
}

div.legend ul li.view {
	background:url('/assets/images/icons/view.gif') no-repeat 0 6px;
}

div.legend ul li.addChapter {
	background:url('/assets/images/icons/addChapter16.gif') no-repeat 0 6px;
}

table tr td.expander {
	cursor:pointer;	
}

table.datagrid {
	width:100%;
	margin:10px 0 10px 0;
	padding:0;
	border-left:1px solid #555;
	border-top:1px solid #555;
	font-size: 12px;
}

table.datagrid tr td, table.datagrid tr th {
	border-right: 1px solid #555;
	border-bottom: 1px solid #555;
	padding: 3px 5px;
}

table.datagrid tr th, table.datagrid tfoot tr td {
	background-color:#555;
	vertical-align:middle;	
}

table.datagrid tr.subheader th {
	/* making background-color the same as for td since the red links are hard to read on dark gray */
	background-color:#999;
	color: white;
	vertical-align:bottom;
	font-size: 14px;
}

table.datagrid tr.subheader td {
	background-color: #999;
	color: white;
	vertical-align: bottom;
	font-weight: bold;
	font-size: 14px;
}


table.zebra tr:nth-child(even) {
	background-color:#ededed;	
}

table.zebra tr.highlight td, table tr.highlight td {
	background-color:#ccc;
}


table.datagrid tr.collapsible-row {
	display:none;
}

table.datagrid tr.collapsible-row td {
	color:#333;	
}

table.datagrid tr td p, table.datagrid tr td table{
	margin:5px 5px 0 0;
	padding:0;	
}

table.datagrid tr td table {
	width:100%;	
}

table.datagrid tr td a.collapse {
	color:#333;
	font-size:10px;
	font-weight:bold;
	float:right;
}

table thead tr th a.sortResults {
	color:#fff;
	text-decoration:none;
	font-weight:bold;
}

table.hq-order-detail-table {
	border-left:1px solid #a4b57f;
	border-top:1px solid #a4b57f;	
}

table.hq-order-detail-table thead tr th {
	background-color:#a4b57f;
	color:#fff;	
}

table.hq-order-detail-table tbody tr td {
	background-color:#ebf2de;
}

table.hq-order-detail-table tbody tr td, table.hq-order-detail-table thead tr th {
	border-right:1px solid #a4b57f;
	border-bottom:1px solid #a4b57f;
	vertical-align:top;
}

table.hq-order-detail-table tr th, table.hq-order-detail-table tr td {
	font-size:11px;	
}

table thead tr th img.sort-image {
	border:none;
	float:right;
	margin:5px 0 0 0;
}

table.datagrid tr td{
	vertical-align:top;
}

table.datagrid tr td a {
	color:#333;	
}

.modal.modal-wide .modal-dialog {
    width: 70%;
}
.modal-wide .modal-body {
    overflow-y: auto;
}

/* DataTables doesn't have an option to allow searching but provide our own UI, so we have to hide their UI through CSS */
.dataTables_filter {
    display: none;
}

/* some fields end up way too big in the table, so shrink them relative to the size of the column */
.form-inline .form-control.cpc-member-middle-name {
    width: 75%;
}
.form-inline .form-control.cpc-member-initials {
    width: 80%;
}
.form-inline .form-control.cpc-member-number {
    width: 60%;
}

/* make sure the bootstrap icons we use in the members table are styled correctly */
i.bi.bi-trash {
    color: black;
}


#frmMember {
	width: 90%;
}

#frmMember label, #frmMember input, #frmMember button {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.42857143;
}

div.csv-instructions div {
	font-size: 10pt;
	margin-bottom: 15px;
}

div.edit-member-buttons button {
	margin-top: 10px;
	margin-bottom: 10px;
}

div.edit-member-buttons button.pull-left {
	margin-left: 10px;
}

div.edit-member-buttons button.pull-right {
	margin-right: 10px;
}

div.login-container {
	background-color: #eeeeee;
}

div.preset-login-container {
	background-color: white;
	padding-top: 20px;
	padding-bottom: 20px;
}

div.login-container div.collegian-agree-text {
	font-family: Oswald, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

div.select-name-container {
	background-color: white;
	min-height: 400px;
	padding-top: 45px;
	padding-bottom: 20px;
}

div.chapter-display-notes {
	color: red;
	font-weight: bold;
	margin-bottom: 15px;
	padding: 5px;
}

hr.chapter-info-separator {
	border-top: 1px solid #dddddd;
	margin: 0 15px 5px 15px;
}

div.guide-box, div.guide-box-no-border {
    padding: 2px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
}

div.guide-box {
    border: 1px solid #dddddd;
}

div.guide-box a + a {
    padding-left: 10px;
}

.member-table, .bulk-order-total-table {
    border: 1px solid #dddddd;
    width: 100%;
}

.member-table tr + tr {
	border-top: 1px solid #dddddd;
}

.member-table th {
    text-align: center;
}

.member-table td + td {
	border-left: 1px solid #dddddd;
}

.member-table td {
	padding: 3px 10px 3px 5px;
}

.bulk-order-total-table td {
	padding: 5px 10px 0 5px;
}

.bulk-order-total-table tr + tr td {
	padding-top: 0;
}

.member-list li {
	list-style: none;
	margin: 5px -30px;
}

.collegian-item {
	color: rgb(124,192,75);
	cursor: pointer;
}

.collegian-item-label {
	font-weight: bold;
	width: 25%;
}

.table.collegian-detail-table {
	width: 75%;
}

.table.cpc-orders-header {
	background-color: #333333;
}

table.datagrid tr td.checkbox-column {
	width: 25px;
}

table.datagrid tr td.inner-header-cell {
	border-right: none;
}

/* hide the pagination totals, we'll do it ourselves */
.pagingTabsTotals {
	display: none;
}

/* make the page controls smaller */
.pagination > li > a, .pagination > li > span, .page-controls {
	font-size: 12px;
}

/* and remove the top margin so that it aligns with our other controls */
ul.pagination {
	margin-top: 0;
}

/* make the active page match our other buttons */
.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
#content-body .pagination > .active > a {
	background-color: black;
	border-color: black;
	color: white;
}

/* same for on hover */
.pagination > li > a:focus,
.pagination > li > a:hover,
#content-body .pagination > li > a:hover {
	background-color: #939391;
	border-color: #939391;
	color: white;
	text-decoration: none;
}

.page-view-controls {
	margin: 10px 0 0 0;
}

div.hq-orders-container {
	margin-left: 0;
	margin-right: 0;
}

.form-control.required{
	color: black;
}