/* reset white space and set base font */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,select,textarea,p,blockquote,th,td{
	margin:0;padding:0;
	color:#000000;
	font-family:'Inter', 'Roboto',sans-serif;
	font-size: 14pt;
}

html, body {
  height: auto;
	margin: 0;
	padding: 0;
}

/*
 * Page Layout
	*/

.page_container  {
	border: none;
	background-color: var(--brand-page-bg);  /* #e5e5e5; */
	background-image: radial-gradient(#ece9f1 1px, transparent 1px);
	background-size: 20px 20px;
  width: 100%;
	margin: 0;
	min-height: 100vh;  /* optional: ensures full screen if content is short */
  height: auto;       /* allow it to expand beyond viewport */
	display: grid;
	grid-template-rows: 75px 1fr 50px;
	grid-template-columns: 100%;

}

.header_container{
  display: grid;
	grid-row: 1;
  grid-template-columns: 1fr auto; /* left side grows, right side stays tight */
  align-items: center;
  padding: 10px 20px;
  border-bottom: solid var(--brand-primary);
  background-color: var(--neutral-100);
	z-index: 10;
}

.body_container {
  /* border-radius: var(--radius-lg);  */
  /* box-shadow: 0 8px 24px rgba(0,0,0,0.08); */
	max-width: 1750px;
	grid-row: 2;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch; /* iOS momentum scroll */
  padding: 1rem;
}

@media (min-width: 1750px) {
  .body_container {
    margin: auto;
  }
}

@media (max-width: 1750px) {
  .body_container {
    padding: 0;
  }
}

.footer_container {
	display: flex;
	flex-direction: row;
  padding: 5px 10px;
	align-items: center;
	justify-content: space-around;
	border-top: solid var(--brand-primary);
	background-color: var(--neutral-100);
	grid-row: 3;
	z-index: 10;
}

/*
 * Page body layout
*/
.title_container {
	width: 50%;
	margin: auto;
}

/*  Various layout options: auto-fill grid, one-column form/form+report,
 *  two-column form, text-only  */

.dashboard {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   grid-auto-flow: dense;  /* fill gaps if possible */
   gap: 15px;
   padding: 10px;
 }

.form_container {
  max-width: 700px;
  margin: 0 auto 20px auto;
  background: #fdfdfd;
  padding: 20px 10px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.form_container:hover {
 /*transform: translateY(-4px); */
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/*
 * instructor and class dashboards are css grids filled with flex grids
 */
.instructor_dash {
	display: grid;
  grid-template-columns: 325px 1fr;
}

.class_reg_dash {
	display: grid;
  grid-template-columns: 500px 1fr;
	gap: 1.2rem;
	align-items: start;
}

.dash_header {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-bottom: 20px;
}

.dash_column {
	display:flex;
	flex-direction: column;
	align-content: center;
	place-items: center;
	flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem;
}

@media (max-width: 800px) {
  .dash_column {
    padding: 0;
  }
}

.dash_row {
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: flex-start;
  gap: 1rem;
  padding: 1rem;
}

.dash_row.justify {
		justify-content: space-evenly;
}

.centered_row {
	display:flex;
	flex-direction: row;
	justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

@media (max-width: 800px) {
  .dashboard,
	.instructor_dash,
	.class_reg_dash {
    grid-template-columns: 1fr;
  }

	.dash_row,
	.centered_row {
		flex-direction: column;
		align-content: center;
	}
}

/*
 * other layouts I may or may not still need
 */

.two-col-dash {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 20px;
 justify-items: center;
 margin: 20px;
}

@media (max-width: 800px) {
 .dashboard,
 .two-col-dash {
   grid-template-columns: 1fr;
 }
}

/* for menu pages: index, reports, admin */
.nav-page {
 display: flex;
 flex-direction: row;
 flex-wrap: wrap;
 /* grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); */
 gap: 20px;
 margin: 20px;
}

@media (max-width: 800px) {
 .nav-page {
	 flex-direction: column;
	 align-content: center;
 }
}

/*
 * Page components
 */

.report_page,
.centered_page {
	display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

.centered_page {
  align-items: center; /* centers the filter card */
}

.report_container {
	margin: auto;
  margin-bottom: 10px;
	display: grid;
	padding-left: 5px;
	overflow-x: auto;
	background: white;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.1);
	padding: 0.5rem;
	width: 100%;
}

.report_container.wide {
	grid-column: 1;
}

.table_container {
	min-width: 650px;
	overflow-x: scroll;
	margin: 10px auto;
	padding: 0px 10px;
}

/*
 * for pages like logout, confirmation, etc
 */

.text_only_container {
	display: flex;
	flex-direction: column;
	gap: 20px;
	place-items: center;
	min-height: 200px;
}

.text_only_container p {
	font-size: var(--font-size-md);
}

/*
 * expand/collapse button used for responsive stuff
 */
 .close-btn {
   background: none;
   border: none;
   width: 25px;
   height: 25px;
   margin: 5px 15px 10px 5px;
   padding: 10px;
   font-size: 1.2rem;
   color: #666;
   cursor: pointer;
   transition: color 0.2s;
 }

 .close-btn:hover {
   color: #c0392b; /* red hover */
 }

 .close-btn.hide {
 	background-image: url('../images/double-up.png');
	background-repeat: no-repeat;
	background-position: center;
 }

 .close-btn.show {
 	background-image: url('../images/double-down.png');
	background-repeat: no-repeat;
	background-position: center;
 }

/* this is the signin shortcut that only shows up on the main menu on phones */
.signin-btn {
	display: none;
	background: var(--neutral-100);
	border-radius: 8px;
	border: #ccc 1px solid;
	box-shadow: 0 1px 2px #d1d1d1;
	text-align: center;
	grid-column: 1;
	padding: 10px;
}

.signin-btn a {
	  display: block;
	  padding: 10px 14px;
	  background: #f0eef7; /* light purple accent */
	  border-radius: 6px;
	  color: var(--brand-primary-dark);      /* brand purple text */
	  text-decoration: none;
	  font-weight: 700;
	  font-size: var(--font-size-md);
	  transition: background 0.2s, transform 0.1s;
		width: 90%;
		margin: auto;
}

.signin-btn a:hover {
  background: var(--brand-primary-dark);
  color: #fff;
  transform: translateX(3px); /* subtle slide */
}

@media (min-width: 768px) {
 .signin-btn,
 .close-btn {
   display:none;
 }
 .close-btn.always-show {
	 display:flex;
 }
}

@media (max-width: 600px) {
 .close-btn,
 .signin-btn {
   display:block;
 }
}

.announce-btn,
.card-btn {
	display: block;
}

/* Headings */
h1, h2 {
	padding-top: 10px;
   text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--brand-primary);
}

h3 {
	padding-top: 5px;
   text-align: center;
  margin-bottom: 20px;
  font-weight: var(--font-weight-medium);
  color: var(--brand-primary);
}

h4 {
   text-align: left;
  color: var(--brand-primary);
	font-weight: 400;
	font-style: italic;
}

/* Form Layout */

form label {
  display: block;
  /* margin: 0 0 5px; */
  font-weight: var(--font-weight-medium);
	font-size: var(--font-size-sm);
  color: #444;
}

form input,
form textarea {
  padding: 5px 4px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: var(--font-size-sm);
  transition: all 0.25s ease;
  background: var(--brand-field-bg);
}

div.scroll_box,
textarea.scroll_box {
	width: 90%;
	height: 150px;
	margin: 20px;
	overflow-y:scroll;
}

/* used for customizing css */
textarea.cssText{
	width: 100%;
	height: 250px;
}

form select {
  width: fit-content;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: var(--font-size-sm);
  transition: all 0.25s ease;
  background: var(--brand-field-bg);
}

form input:focus,
form select:focus,
form textarea:focus {
  border-color: #4a90e2;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(74,144,226,0.15);
  outline: none;
}

.report-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	justify-items: center;
}

.report-flex-row {
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 1.5rem;
	margin-bottom: 20px;
}

@media (max-width: 600px) {
	.report-flex-row {
	flex-direction: column;
	}
}
/* Form grid */
.form-grid {
  display: grid;
  grid-template-columns: 100px 1fr; /* labels left, inputs right */
  gap: 15px 20px;
  align-items: flex-start;
	padding: 15px;
}

.form-grid label {
  font-weight: var(--font-weight-medium);
  text-align: right;
	/* align-self: center; */
	font-size:  var(--font-size-sm);
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: fit-content;
	max-width: 90%;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.form-grid input.money {
	width: 60px;
	text-align: left;
}

.form-grid input.points {
	width: 80px;
	text-align: left;
}

.form-grid table {
	margin: 2px 0px 15px 10px;
}

.form-grid table td{
	font-size: var(--font-size-sm);
	padding: 3px;
	/* min-width: 20px; */
	vertical-align:top;
}

.form-grid span {
	font-size: var(--font-size-sm);
}

.form-grid ul{
	padding: 5px;
}

.form-grid li{
	font-size:.8em;
	padding-bottom: 5px;
	vertical-align: middle;
	list-style-type: none;
}

.form-grid li span{
	padding-left: 5px;
}

.form-grid p.subhead {
	grid-column: span 2;
	margin:auto;
	color: var(--brand-primary);
	font-weight: 400;
	font-style: italic;
	font-size: var(--font-size-md);
}

.form-grid hr {
	grid-column: span 2;
	width: 90%;
}

.time-row {
	display: grid;
	grid-template-columns: 100px 120px 100px 120px;
	gap: 3px;
}

.prereq-table {
	display: grid;
	grid-template-columns: 100px 20px 100px 20px;
	gap: 3px;
}

.prereq-table.editable {
	grid-template-columns: 100px 60px 100px 60px;
}

.prereq-table select {
	width: fit-content;
}

.prereq-table label {
	font-size: var(--font-size-sm);
}

.cg-table {
	display: grid;
	grid-template-columns: 100px 40px 100px 40px;
	gap: 5px;
	font-style: italic;
}

.refund-table {
	display: grid;
	grid-template-columns: 200px 250px;
	gap: 5px;
}

/* Field grid */
.field-grid {
  display: grid;
  gap: 5px 10px;
  align-items: start;
	margin-bottom: 10px;
}

.field-grid span {
	font-size:  var(--font-size-sm);
}

.start_end {
	grid-template-columns: 100px 140px 70px 140px;
	align-items: center;
	padding-bottom: 0;
}

.field_column {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.form-grid textarea.notes {
	width: 75%;
	margin-left: 5px;
}

.form-grid div.description {
	padding: 15px 10px;
}


/* Mobile */
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr; /* stack everything */
		padding: 5px;
  }

  .form-grid label {
    text-align: left;
    margin-bottom: 5px;
  }
}

/* Mobile */
@media (max-width: 600px) {
	.report-grid {
    grid-template-columns: 1fr; /* stack everything */
  }
}

.subgrid-2 {
	grid-column: span 2;
	display: grid;
	grid-template-columns: 100px 1fr; /* labels left, inputs right */
  gap: 15px 20px;
  align-items: start;
}


@media (max-width: 600px) {
  .subgrid-2 {
		grid-template-columns: 1fr;
    grid-column: span 1;
  }
  .subgrid-4 {
    grid-column: span 1;
  }
}

.top-border {
	border-top: 1px solid;
	padding-top: 20px;
	margin-top: 20px;
}

.bottom-border {
	border-bottom: 1px solid;
	padding-bottom: 20px;
	margin-bottom: 20px;
}

/* Buttons */
button,
input[type="submit"] {
  display: block;
  padding: 10px;
  margin: auto;
	background: linear-gradient(135deg, #836199, #6a3f85);
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--font-size-md);
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
}

button.tight {
	margin: 0px 5px;
}

button:hover, input[type="submit"]:hover {
	background: linear-gradient(135deg, #8a65a4, #5a3572); /* lighter → richer */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Disabled */
button:disabled,
input[type="submit"]:disabled {
  background: linear-gradient(135deg, #cbb6d8, #a38cb8); /* washed out lavender */
  color: #eee;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Special Sections */
.helpText {
  background: var(--brand-link);
  border-left: 4px solid #4a90e2;
  padding: 5px 25px;
  margin: 15px 20px 15px 10px;
  border-radius: 6px;
  color: var(--text-main);
	font-size: var(--font-size-sm);
	font-style: italic;
}

p.helpText {
  margin: 15px 20px 15px 10px;
}

p.helpText.tight {
  margin:0;
}

span.helpText {
	  margin: 3px;
		align-self: center;
		height: fit-content;
}
p.helpText.fit {
	width: fit-content;
  margin: 15px 10;
}

p.helpText.long {
	max-width: 800px;
  margin: auto;
}

.helpTextInline {
  background: #eef5ff;
  border-left: 4px solid #4a90e2;
  padding: 0px 25px;
  margin: 15px 0;
  border-radius: 6px;
  color: #444;
	font-size:0.8em;
	font-style: italic;
}

.footerText {
	font-size: var(--font-size-sm);
	font-style: italic;
	margin-top: auto;
}

div.linkRow,
div.buttonRow {
	margin: 10px 0px;
}

.navLink {
	  font-size: var(--font-size-sm);
	  background: var(--brand-link);
	  padding: 10px 15px;
	  margin: 10px auto;
	  border-radius: var(--radius-sm);
	  color: var(--text-main);
   text-align: center;
	 cursor: pointer;
	  white-space: nowrap;
	 width: fit-content;
}

.navLink.tight {
	  padding: 8px 15px;
	  margin: 5px 5px;
}

.navLink a{
	margin-right: 5px;
}

.navLink a:active,
.navLink a:hover {
    color: var(--brand-primary);
    text-decoration: underline;
}

.navLink:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0,0,0,0.2);
	color: var(--brand-primary);
	text-decoration: underline;
}

div.google_button {
	margin: 20px auto;
	width: fit-content;
}

div.captcha {
	margin: 10px auto;
}

div.flex_page {
	display: flex;
	flex-direction: row;
	flex-wrap:wrap;
	gap: 10px;
	margin: 20px;
	justify-content: space-evenly;
	/* overflow-x: scroll; */
}

div.flex_row {
	display: flex;
	flex-direction: row;
	flex-wrap:wrap;
	gap: .5rem;
	align-items: center;
}

div.title_row {
	flex-wrap:no-wrap;
}

div.flex_column {
	display: flex;
	flex-direction: column;
	flex-wrap:wrap;
	place-items: center;
	gap: 1rem;
	margin: 5px;
}

div.flex_row  span{
	font-size: var(--font-size-sm);
	font-style: italic;
	padding: 4px;
}

div.paymentRow {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-items: flex-start;
	gap: 5px;
}

div.reportBox {
	overflow: scroll;
	max-width: 95%;
	margin: 10px auto;
}

div.reportContent {
	font-size: .9em;
	padding: 3px 5px 10px 10px;
	text-align: left;
	word-wrap:break-word;
	overflow-x: scroll;
	display: block;
}

/* used on dashboards - mabye replace with h4? */
.reportSubtitle {
	/* padding: 0px 0px 8px 10px;  */
	font-size: var(--font-size-sm);
	color: var(--brand-primary);
	font-style: italic;
}

.reportHeading {
	padding: 3px 5px;
	/* font-size: 1em; //asg 12pt;  */
	font-weight: bold;
	text-align: left;
	word-wrap:break-word;
	/* background: lightgrey; */
}

p.centered {
	text-align: center;
	padding-bottom: 20px;
}

.hidden {
	display: none;
}

p.message,
span.error {
	color: var(--highlight);
	padding-bottom: 20px;
	text-align: center;
}

.highlight {
	color: var(--highlight);
}

div.inset {
	  background: var(--neutral-100);
	  border-radius: 8px;
	  border: #ccc 1px solid;
	  box-shadow: 0 1px 2px #d1d1d1;
	  height: fit-content;
	  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	  transition: transform 0.2s, box-shadow 0.2s;
	  padding: 20px 15px;
}

.customText {
	font-style: italic;
	background: var(--brand-link);
}

/*
 * Input fields
/**********************/

input.short {
	width: 50px;
}

input.medium {
	width: 100px;
}

input.longish{
	width: 250px;
	overflow-x: hidden;
}

input.long{
	width: 400px;
}

input.extralong {
	width: 500px;
	max-width: 95%;
}

input.readonly {
	background:rgba(0,0,0,0);
    border:none;
}

input.money {
	width: 60px;
}

input.colorChooser {
	width: 30px;
	height: 30px;
	border: none;
	border-radius: 0;
	padding: 0;
}

input.datepicker {
	margin-right: 5px;
}

input.show {
  height: 17px;
  width: 17px;
  margin-right: 5px;
	  background-image: url('../images/double-down.png');
}
input.hide {
  height: 18px;
  width: 18px;
  background-image: url('../images/double-up.png');
}
input[type="radio"],
input[type="checkbox"] {
	margin-right: 5px;
	accent-color: var(--brand-primary); /* your purple */
	transform: scale(1.2); /* make them slightly bigger */
	cursor: pointer;
}

label.option,
span.option {
  align-items: center;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: var(--brand-field-bg);
  cursor: pointer;
	width: fit-content;
	font-size: var(--font-size-sm);
	margin-right: 5px;
	text-align: left;
}

.option input {
	background: var(--neutral-100);
}

label.tight,
input.tight {
	padding: 3px 2px;
}

input.centered {
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	display: table;
}

form.stripe-card,
div.stripe-card {
	width: 500px;
}
@media (max-width: 600px) {
  .stripe-card {
    width: 250px;
  }
}

div.stripe-element {
	/* margin: 10px;*/
	font-size: 1.1rem;
	padding: 12px;
	border: 2px solid var(--brand-primary); /* purple accent */
	border-radius: 6px;
	background: #fdfcff; /* subtle contrast */
}


textarea.bugDetails {
	width: 90%;
	height: 200px;
	overflow: scroll;
}

/*
 * other controls
 */
select {
  background: var(--neutral-100);
  border: 1px solid var(--neutral-300);
  border-radius: 6px;
  padding: 10px 40px 10px 12px; /* space for custom arrow */
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

select:focus {
  border-color: var(--brand-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(116, 75, 141, 0.25);
}

/*
* lists
*/
ul.member-list {

}

ul.member-list li{
	list-style: none;
  padding: 0;
  margin: 20px 0px;
}


ul.link-list li {
  list-style: none;
  padding: 0;
  margin: 20px;
}

ul.link-list li a {
  display: block;
  padding: 10px 15px;
  background: var(--brand-link);
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s, border 0.3s;
}

ul.link-list li a:hover {
  background: #eef5ff;
  border-color: #4a90e2;
  color: #4a90e2;
}

ol {
 margin: 5px 20px;
 padding: 5px 10px;
}

ol li {
	font-size: var(--font-size-sm);
	padding: 5px 0;
}

/*
* Merch pages
*/

.merch_image_container {
	display: flex;
	place-items: center;
}

.merch_image {
  height: 200px;
	margin: auto;
}

/* Form grid */
.merch-form-grid {
  display: grid;
  grid-template-columns: 50px 1fr; /* labels left, inputs right */
  gap: 15px 20px;
  align-items: start;
  margin: 15px 5px;
  width: fit-content;
  min-width: 300px;
}

.merch-form-grid label {
  font-weight: 600;
  text-align: right;
	font-color: var(--brand-primary);
  font-size: var(--font-size-sm);
}

.merch-form-grid span {
	font-size: var(--font-size-sm);
}

.merch-form-grid input,
.merch-form-grid select {
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 6px;
	font-size: var(--font-size-sm);
	max-width: 150px;
}

@media (max-width: 800px) {
  .merch-form-grid {
    grid-template-columns: 1fr;
  }

  .merch-form-grid label {
    text-align: left;
  }
}

/*
*********************   images   ******************************
*/

img {
	border:0px;
}


img.profile {
	width: 30px;
	vertical-align: top;
	margin-left: 5px;
}

img.popup {
	width: 200px;
	height: auto;
}

img.inline_icon {
	padding: 0 0 0 2;
	vertical-align: middle;
	height: 16px;
	width: 16px;
}


table{
	border-collapse:collapse;
	border-spacing:0;
	margin-top: 5px;
	line-height: normal;
}

/* this is used but could probably be replaced  with 'info' */
p.textBlock {
	font-size:.8em;
	min-width: 100px;
	max-width: 400px;
	padding: 3px 5px 8px 10px;
}

/* used in a few places including announcement boxen */
div.content {
	margin-left: 20px;
}

/* used in html email files */
.emailText {
	padding: 5px 0px 5px 0px;
}

/* used in older headers, can probably get rid of */
.image_container {
    vertical-align:top;
    padding: 0 10px 0 30px;
    display:inline;
    float: left;
    text-align:left;
}

@media (max-width: 600px) {
	.image_container {
		padding: 0 30px 0 10px;
	}
}

/* should go away */
.field_input{
	padding: 0px 0px 8px 10px;
	min-width: 280px;
	vertical-align:top;
	font-size:.8em; // asg 10pt;
}

/* still used in workshop_payment for now */
.field_radio{
	font-size:.8em;
	padding-left: 5px;
	padding-bottom: 5px;
	vertical-align: middle;
}

/* used in a few class list formats */
input.reduced {
	font-size: .9em;
}

input.smallButton,
button.small{
	font-size: .6em;
	padding: 5px;
	margin-left: 15px;
	margin-bottom: 5px;
	height: 25px;
	line-height: 10px;
}


.outlined {
	border-left: 4px groove var(--brand-primary);
	border: #ccc 1px solid;
    border-radius: 1px;
    box-shadow: 0 1px 2px #d1d1d1;
}

table.report {
	margin-bottom:  10px;
	border-width: 1;
	min-width: 250px;
	width: 95%;
	max-width: 1000px;
}


tr.even {
	background: white;
	outline: thin solid;
}

tr.odd {
	background: #ededed;
}

tr.highlight {
	background: white;
}

span.tableLink {
	padding-left: 3px;
	padding-right: 3px;
}
.select_status {
	min-width: 50px;
}


.chzn-container-multi .chzn-choices .search-field input {
  height: 25px;
  padding: 0;
}


.divider {
	width: 90%;
}

/*--------------------- TABLES ----------------*/
/* DivTable.com */
.formTable{
	display: table;
	width: 100%;
}

.formTable.report {
	margin-bottom:  10px;
	border-width: 1;
	min-width: 250px;
}

.formTableData,
.formTableHead {
	display: table-cell;
	padding: 0px 0px 8px 10px;
}

#tableCart {
	width: 98%;
}

#tableCart > thead > th {
	background-color: inherit;
	font-color: inherit;
	font-weight: bold;
}


.card-header {
  display: flex;
  justify-content: start;
  align-items: center;
  margin-bottom: 8px;
}

.card-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-content: flex-start;
}

.card-group.centered {
    justify-items: center;
}

/* Form grid */
.dash-form-grid {
  display: grid;
  grid-template-columns: 50px 1fr; /* labels left, inputs right */
  gap: 15px 20px;
  align-items: start;
  margin: 15px 5px;
  width: fit-content;
  min-width: 300px;
}


.dash-form-grid label {
  font-weight: 500;
  text-align: right;
  font-size: var(--font-size-sm);
}

.dash-form-grid input,
.dash-form-grid select {
  width: auto;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

@media (max-width: 800px) {
  .dash-form-grid {
    grid-template-columns: 1fr;
  }

  .dash-form-grid label {
    text-align: left;
  }
}

.card {
  background: var(--neutral-100);
  border-radius: 8px;
  border: #ccc 1px solid;
  box-shadow: 0 1px 2px #d1d1d1;
  height: fit-content;
  min-width: 250ox;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  padding: 20px 15px;
}

.card.hidden {
  display:none;
}

.card.fit {
  width: fit-content;
}

.card.centered {
  margin: 10px auto;
}
.card:hover {
  /* transform: translate(-4px, -4px); */
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.full {
  grid-column: 1 / -1; /* always spans full width */
  grid-row: 1;
}

/* Make some cards span */
.wide {
  grid-column: span 2; /* spans 2 columns */
}
.extrawide {
  grid-column: span 3; /* spans 2 columns */
}

@media (max-width: 600px) {
  .card-group {
    grid-column: 1;
  }
  .card {
    grid-column: 1;
    /* margin: auto; */
  }
  .card.wide {
    grid-column: span 1;
  }
  .card.extrawide {
    grid-column: span 1;
  }
}

@media (max-width: 1200px) {
  .card.extrawide {
    grid-column: span 2;
  }
}

.card.column {
  max-width: 600px;
}

.card.tall {
  grid-row: span 2; /* spans 2 rows */
}

.card h2 {
  margin-top: 0;
  font-size: var(--font-size-lg);
  color: var(--brand-primary-dark); /* purple brand accent */
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.card h3{
  font-size: var(--font-size-md);
  margin-top: 0;
  color: var(--brand-primary-dark); /* purple brand accent */
  padding-left: 10px;
  margin-bottom: 5px;
}

.card p.heading{
	font-size: var(--font-size-md);
	padding: 3px 10px 3px 0px;
	text-align: left;
	word-wrap:break-word;
	white-space: pre-line;
  max-width: 400px;
}

.card p.info,
.card span.info {
	font-size: var(--font-size-sm);
  padding: 10px 5px;
}

.card p.url {
  font-style: italic;
  margin:10px 20px;
  background: var(--brand-primary-light);
}
.card-item {
	font-size:var(--font-size-sm);
	padding-bottom: 5px;
	vertical-align: middle;
	list-style-type: none;
}

.cardTitle {
	display: flex;
	flex-direction: row;
	flex-wrap:no-wrap;
	gap: .5rem;
	align-items: center;
}

.cardDiv {
	padding: 3px 0 3px 0;
	text-align: left;
	word-wrap:break-word;
  max-width: 400px;
  margin: 10px 0;
}

.cardBasics {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.messageBox {
  height: 200px;
  width: 300px;
}

.messageDiv {
  overflow-y: scroll;
}

.buttonBox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 1rem;
	margin-top: 10px;
  width: 100%;
  justify-content: space-around;
  border-top: 1px solid var(--brand-accent);
}

.buttonBox a {
  display: grid;
  flex: 1; /* all buttons same width inside row */
  max-width: 150px;
  place-items: center;
  text-align: center;
  font-size: var(--font-size-sm);
  padding: 10px 14px;
  background: #f0eef7; /* light purple accent */
  border-radius: 6px;
  color: var(--brand-primary-dark);      /* brand purple text */
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s, transform 0.15s;
}

.buttonBox a:hover {
  background: var(--brand-primary-dark);
  color: #fff;
  transform: translateX(3px); /* subtle slide */
}

.buttonBox a:active {
  background: #371d55;
  transform: translateX(0);
  transform: translateY(0);
  box-shadow: none;
}


.card .actions a.secondary {
  background: #f0eef7;
  color: var(--brand-primary-dark);
}

.card .actions a.secondary:hover {
  background: #e0dcf0;
}

/*
 *  Announcement card
 */
.announcement {
  position: relative;
  height: fit-content;
  padding: 10px;
  width: fit-content;
}

.top-announcement {
  height: fit-content;
  margin: auto;
}


/*
 *  User menu
 */

.menuBox {
	max-width: 220px;
  -webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
	page-break-inside: avoid; /* Firefox */
	break-inside: avoid; /* IE 10+ */
}

/* User menu styles */
.menuBox .header {
  display: grid;
}

.menuBox ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menuBox li {
  margin-bottom: 6px;
  font-size: var(--font-size-lg);
}

.menuBox a {
  display: block;
  padding: 10px 14px;
  background: #f0eef7; /* light purple accent */
  border-radius: 6px;
  color: var(--brand-primary-dark);      /* brand purple text */
  text-decoration: none;
  font-weight: 500;
  font-size: var(--font-size-md);
  transition: background 0.2s, transform 0.1s;
}

.menuBox a:hover {
  background: var(--brand-primary-dark);
  color: #fff;
  transform: translateX(3px); /* subtle slide */
}

.menuBox a:active {
  background: #371d55;
  transform: translateX(0);
}

.menuBox p {
    /*color: #818181;  */
    color: var(--brand-primary);
    font-weight: bold;
    padding: 0px 10px 0px 10px;
    border-bottom: 1px solid #e0e0e0; border-top: 1px solid #fafafa;
    background: #ededed;
    background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#ebebeb));
    background: -moz-linear-gradient(top, #ededed, #ebebeb);
	margin-bottom: 5px;
}

.menuBox span {
		display:block;
    color: var(--brand-primary);
    font-weight: bold;
		/* border-top: 1px solid #fafafa;*/
    padding: 0px 10px 0px 10px;
	margin-bottom: 5px;
}


@media (max-width: 600px) {
	.menuBox {
		margin: 0px 0px 0px 10px;
	}
	.menuBox p {
		margin-bottom: 0px;
	}
  .menuBox .header {
    grid-template-columns: 15% 70%;
  }
  .card h2 {
      border-bottom: 0;
      margin-bottom: 5px;
      padding-bottom: 0;
    }
  }
}

@media (min-width: 768px) {
	.menuBox {
	    max-width: 220px;
		}
  .menu-header a {
      max-width: 220px;
    }
  .menuBox .close-btn {
    display:none;
  }
}

@media (min-width: 1000px) and (max-width: 1100px) {
	.menuBox {
	    min-width: 190px;
		}
}

@media (max-width: 600px) {
  .menuBox ul {
    display: none; /* collapsed by default */
    margin-top: 10px;
  }
  .menuBox.open ul {
    display: block;
  }
  .close-btn {
    display:block;
  }
}

.dashText {
  background: var(--brand-link);
  /* border-left: 4px solid #4a90e2; */
  padding: 10px 25px;
  margin: 15px 20px 15px 0;
  border-radius: 6px;
  color: #444;
	font-size: var(--font-size-sm);
	font-style: italic;
}

img.dash-image {
	display: grid;
	place-items: center;
	margin: 10px auto;
  width: 220px;
  height: auto;
}
