

/* overrides of the styling from the TRS.mt.gov site*/
main h1 {
	font-size: 38px;
}

main h2 {
	font-size: 28px;
}

h4 {
	font-size: 24px;
}


/* only prints the contents of the specified div ID */
@media print {
  body {
    visibility: hidden;
  }
  #section-to-print {
    visibility: visible;
    position: absolute;
    left: 0;
    top: 0;
  }
}

/* DivTable.com */
.divTable{
	display: table;
	width: 100%;
	padding-left: 1em;
	padding-right: 1em;
}

@media (max-width:768px) {
	.divTable {
		padding-left: 0;
		padding-right: 0;
	}
	
	.row {
		padding-left: 0;
		padding-right: 0;
	}
}
.divTableRow {
	display: table-row;
}

.divTableCell, .divTableHead {
	/*border: 1px solid #999999;*/
	display: table-cell;
	padding: 3px 10px;
}

	/* styling for working retiree info */
.divTableCell.workretire, .divTableHead.workretire {
	line-height: 125%;
	padding: 0.6rem 0;
}

.divTableCell.ra {
	text-align: right;
}
.divTableCell.oneThird {
	width: 33%;
}
.divTableHeading {
	/*background-color: #EEE;*/
	display: table-header-group;
	font-weight: bold;
}
.divTableFoot {
	/*background-color: #EEE;*/
	display: table-footer-group;
	font-weight: bold;
}
.divTableBody {
	display: table-row-group;
}

/*formatting for buttons */
.button-container {
	display: flex !important;
	padding-left: .4em;
}
.button-container-center {
	/*left: 40%;*/
	justify-content: center;
}
.button-mytrs {
	 display: flex;
	 border: 1px solid;
	 border-radius: 4px;
	 background: var(--brand-color2);
	 color: white;
}
.button2 {
	margin-left: 5%;
}
.button-link {
	border-width: 1px;
}

.button16 {
	background: var(--brand-color2);
	border: 2px solid  var(--brand-color2);
}

/* fill color for font-awesome circle button */
.fa-stack-2x {
	color: var(--brand-color2);
}

.button-taxwithhold {
	background: var(--brand-color2);
	border: 3px solid var(--brand-color2);
	border-radius: 2.5rem;
	padding: 7px 28px;
	color: var(--brand-color4);
	height: 3rem;
	width: 18rem;
	margin-bottom: .5rem;
}

.btn-tax-label {
	font-size: .9em;
	padding-left: .5em;
}


/* styling for boostrap grid */
.colright {
	text-align: right;
}
.colbold {
	font-weight: bold;
}

.colred {
	color: red;
}

.col-double {
	flex:2;
}

/* margins for data-entry form fields */
.de-mar {
	margin-bottom: 1em;
}

/* vert alignment for form field labels */
.field-label {
	padding-top: .3em;
}

label.form-field {
	font-size: .9rem !important;
}

/* text/input fields for BR tax withholding form */
.inputwidth {
	width: 6em;
}

/* select field width for date selectors */
.date-select {
	width: 30%;
}

/* date select margin override */
span.ds {
	margin-left:0;
}

.form-control.narrow {
	width: 40%;
}

/* override for form-control form fields */
@media (min-width:480px) {
	.form-control.colfield {
		width: 150%;
	}
	.form-select.colfield {
		width: 150%;
	}
}

label {
	/*font-size: .9rem;*/
}

/* alert message format */
.infoMessage {
	font-weight: bold;
	font-size: 1.125rem;
	padding-top: 1em;
	padding-bottom: 1em;
	font-family: 'Roboto', sans-serif;
	color: #A03641;
}

/* error message format */
.errorMessage {
	font-weight: bold;
	font-size: 1.125rem;
	/*color: red;*/
	color: #EB0000;
	font-family: 'Roboto', sans-serif;
}

/* override for CFWheels error message ul format */
ul.error-messages {
	list-style-type: none !important;
}

.itBold {
	font-weight: bold;
	font-style: italic;
}


/*styling for layout header logo */
.top_logo_bar {
	justify-content: flex-start;
}

#logoSVG {
	width: 10rem;
	height: 10rem;
	margin-left: 7rem;
	margin-top: 2.75rem;
	margin-bottom: 1.75rem;
}

#logoSVG img {
	width: 100%;
	height: auto;
	display: block;
}

@media (max-width:1280px) {
	#logoSVG {
		width: 10rem;
		height: 10rem;
		margin-top: 4rem;
	}
}

@media (max-width:1024px) {
	#logoSVG {
		width: 10rem;
		height: 10rem;
		margin-top: 4.25rem;
		margin-bottom: 1.7rem;
	}
}

@media (max-width:992px) {
	#logoSVG {
		width: 8rem;
		height: 8rem;
		margin-top: 3.75rem;
		margin-bottom: 0.65rem;
		margin-left: 2.5rem;
	}
	.top_logo_bar {
		margin-top: -5.5rem;
		margin-bottom: -3.5rem;
		left: -1rem;
	}
	.navbar-toggler {
		margin-top: -8rem;
	}
	/* styling to force sub-menu to be open */
	#hasSubMenu {
		display: block;
	}
}

@media (max-width:768px) {
	#logoSVG {
		width: 8rem;
		height: 8rem;
		margin-top: 3.75rem;
		margin-bottom: .7rem;
	}
}

@media (max-width:576px) {
	#logoSVG {
		width: 8rem;
		height: 8rem;
		margin-top: 4.5rem;
		margin-bottom: .75rem;
		margin-left: 2rem;
	}
}

#template-header-nav {
	margin-right:2em;
}


#layout-top-pad {
	margin-top: 3%;
}

/* formatting for shared header person */
.sharedHeader {
	font-size: 14pt;
}

/* layout template header text */
.template-header {
	font-weight: bold;
	color: white;
}

.template-header.member {
	height: 40px;
	display: inline-block;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
}

/* formatting for expand/contract icon container */
.exp-con {
	float: right;
	margin-left: 10px;
}

/* printer icon in shared person view */
img.print {
	display: block;
	width: 24px;
	z-index: 99;
}

/* override for block-wrapper border */
.block-wrapper {
	border-top: none;
}

/* horizontal line styling for separation of data blocks in divTables */
.separator {
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
}

/* provide top and bottom margin for dialog in flexgrid rows */
.separate {
	margin-top: 1em;
	margin-bottom: 1em;
}

/* horizontal line styling for thick red separator */
.redbold {
	border: 3px solid var(--brand-color3);
	/*background-color: red;*/
	opacity: .75;
}

/*override for form-select styling*/
.form-select {
	display:flex;
}

/* override for h4 positioning */
h4.myTRS {
	text-align: left;
}

/* font size 80% for Benefit History table header */
.font-80 {
	/*font-size: 80%;*/
	font-size: 1rem;
}

/* text styling for last login on access page */
.accessh5 {
	margin-bottom: .9rem;
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--bs-heading-color);
	display: block;
}

/* styling for accessibility and 508-compliance */
.trslinks {
	display: flex;
	line-height: 44px;
	min-height: 44px;
	min-width: 44px;
}

.trslinks.center {
	justify-content: center;
}

h3 {
	text-align: center;
}

a {
	/* color: #0250C5; */
}

.netAmount {
	font-weight:bold;
}

/* styling for staff access tertiary bar */
.tert-bar-staff {
    z-index: -1;
    background-color: #112f60;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

span.tert-bar-staff {
	height: 32px;
	color: white;
	float: right;
	padding-right: 1rem;
}

span.voided {
	margin-left: 1rem;
}

/*styling for my benefit history section headers */
.mbh-header {
	margin-left: 1.25em;
}

@media (max-width:480px) {
	.mbh-header {
		margin-left: .5em;
	}
}

/* styling for TrsEmpGasb page */
ul.gasb {
	list-style: none;
}

summary {
	color: var(--brand-color2);
	font-size: 1.5rem;
	font-weight: bold:
}

li.gasbcom {
	font-size: 0.9rem;
	font-style: italic;
}

div.gasb {
	margin-bottom: 1.2rem;
}
