:root {
	--education-color: #b85c4c;
	--freedom-color: #548155;
	--spending-color: #d0ac58;

	--education-color-bg: #e6cfcb;
	--freedom-color-bg: #cdd8cd;
	--spending-color-bg: #ebe3ce;

    --republican-party: #b85c4c;
    --democratic-party: blue;
    --regalia: #552F7F;
    --border-color: #ccc;
    
    --bill-passed: #548155;
    --bill-failed: #ab1d1d;
}

.bt-bill-pending {
	background: #979797;
}

.bt-bill-crossed {
	background: #1da4ab;
}

.idaho-index-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.idaho-index-table thead tr {
    background-color: #662D91;
    color: #ffffff;
    text-align: left;
}
.idaho-index-table th,
.idaho-index-table td {
    padding: 12px 15px;
}
.idaho-index-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.idaho-index-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.idaho-index-table tbody tr:last-of-type {
    border-bottom: 2px solid #662D91;
}

/* Index Sidebar */

.index-sidebar-card-container ul {
	list-style: none;
    padding-left: 0px;
}

.index-sidebar-card-container ul li {
	margin-bottom:10px;
	padding: 10px 0;
	border-bottom: 1px solid #ffffff26;
	
}

.index-sidebar-card-container ul li a {
	color:#fff;	
}

.idaho_bt_form_selector form {
	display: flex;
	flex-wrap: wrap;
}

.idaho_bt_form_selector .bt-search,
.idaho_bt_form_selector .bt-dropdown {
    padding: 12px 10px;
	margin-right: 10px;
	margin-bottom: 20px;
}

/* Leaderboard Shortcode */

.idaho_bt_leaderboard h3 {
	border-bottom: 3px solid #ddd;
    text-transform: uppercase;
    margin-bottom: 30px;
    padding-top: 20px;
}
.bt-legislator-summary {
	display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}
.bt-col1 a {
	display: flex;
    align-items: center;
}
.bt-legislator-id {
	display:none;
}
.bt-legislator-summary {
	padding-bottom:20px;
}
.bt-col1 {
    width: 100%;
    max-width: 280px;
}
.bt-col2 {
	display: flex;
    align-items: center;
    flex-wrap: wrap;
	align-content: center;
}
.bt-legislator-votes {
	padding-right:5px;
}
.bt-legislator-year {
	padding-left:5px;
}
.bt-col3 {
	width: 245px;
    display: flex;
    flex-wrap: wrap;
    line-height: 1.5;
    align-items: flex-start;
    justify-content: flex-start;
    align-content: center;
	font-style: italic;
    color: #6e6e6e;
}
.bt-col3 .progressbar {
	width:198px;
	max-width:100%;
	position: relative;
	border-radius: 40px;
	border: 0px;
}
.bt-col3 .ui-widget-header {
	background: #662D91;
}
.bt-legislator-rating {
	padding:4px 0 0 7px;
	font-style: normal;
    color: #000000;
}
.bt-legislator-year {
	padding-right:5px;
}
.idaho_bt_leaderboard .bt-legislator-summary .bt-col1 {
	display: flex;
	flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.idaho_bt_leaderboard .bt-legislator-summary .bt-col1 div.bt-legislator-image {
	width: 100%;
	position: relative;
}
.idaho_bt_leaderboard .bt-legislator-summary .bt-col1 div.bt-legislator-image img {
	width: 100%;
	max-width: 150px;
	max-height: 150px;
	object-fit: cover;
	object-position: center 8%;
	border-radius: 100%;
}
.idaho_bt_leaderboard .bt-legislator-summary .bt-party {
	position: absolute;
    color: #ffffff;
    border-radius: 100%;
    width: 20px;
    height: 20px;
    text-align: center;
    top: 0px;
    left: 100px;
	font-size: small;
}
.idaho_bt_leaderboard .bt-legislator-summary .bt-party.bt-party-republican {
    background-color: var(--republican-party);
}
.idaho_bt_leaderboard .bt-legislator-summary .bt-party.bt-party-democrat {
    background-color: var(--democratic-party);
}
.idaho_bt_leaderboard .bt-legislator-summary .bt-legislator-name {
	text-decoration: none;
}

.idaho_bt_leaderboard .bt-legislator-summary .bt-legislator-social {
	display: flex;
	flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
}
.idaho_bt_leaderboard .bt-legislator-summary .bt-legislator-social div.bt-contact img {
	width: 20px;
	height: 20px;
}

.ui-progressbar .ui-progressbar-value {
	margin: 0px !important;
	border-radius: 40px;
}
.bt-legislator-name {
    text-decoration: underline;
    margin-left: 10px;
}

.progressbar > .progress-label {
    position: absolute;
    left: 45%;
    top: 15%;
	font-size: smaller;
}

.bt-col3 .bt-index-name-education .progressbar {
	background: var(--education-color-bg) !important;
}
.bt-col3 .bt-index-name-freedom .progressbar {
	background: var(--freedom-color-bg) !important;
}
.bt-col3 .bt-index-name-spending .progressbar {
	background: var(--spending-color-bg) !important;
}

.bt-col3 .bt-index-name-education .ui-widget-header {
	background: var(--education-color) !important;
}
.bt-col3 .bt-index-name-freedom .ui-widget-header {
	background: var(--freedom-color) !important;
}
.bt-col3 .bt-index-name-spending .ui-widget-header {
	background: var(--spending-color) !important;
}
.bt-col3 .bt-index-progress-bar {
	display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
	font-size: smaller;
}
.bt-index-grade {
	margin-right: 5%;
}

.bt-bill-voters h4 {
    border-bottom: 2px solid #ccc;
    padding: 20px 0;
    margin: 0 0 20px 0;
}

.idaho_bt_bill_details .bt-bill-voters {
    gap: 15px;
}

.bt-bill-voters .idaho_bt_leaderboard {
    overflow-x: hidden;
}

.bt-bill-voters .bt-col3 {
    width: 300px;
}

.idaho_bt_leaderboard .bt-col3 {
    width: 245px;
}

.ct-shortcode:not(.idaho_toggle_view) .bt-view-toggle {
	display: none;
}

.idaho_toggle_view .idaho_bt_form_selector {
	display: flex;
	justify-content: space-between;
}

.idaho_toggle_view .bt-toggle-btn {
	display: flex;
    align-items: center;
    justify-content: center;
	border: 1px solid rgb(133, 133, 133);
}

.idaho_toggle_view .bt-toggle-btn span {
	padding: 12px 30px;
	line-height: 1.2;
	font-family: Arial;
	cursor: pointer;
}

.idaho_toggle_view .bt-toggle-btn span:hover,
.idaho_toggle_view .bt-toggle-btn span.active {
	background-color: #662D91;
	color: #FFFFFF;
}

.bt-legislator-chamber {
	padding-bottom: 0;
	color: #818181;
	text-transform: uppercase;
	font-size: 1.2rem;
}

.idaho_bt_leaderboard.card-view > div {
	display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.idaho_bt_leaderboard.card-view .bt-legislator-summary {
    justify-content: center;
    flex-direction: column;
    align-items: center;
	background: #f2f2f2;
	padding: 20px;
}

.idaho_bt_leaderboard.card-view .bt-legislator-summary .bt-col1 {
    flex-direction: column;
}

.idaho_bt_leaderboard.card-view .bt-legislator-summary .bt-party {
	/* left: 160px; */
	left: calc(50% + 35px);
}

.idaho_bt_leaderboard.card-view .bt-legislator-summary .bt-col1 a {
	flex-direction: column;
	position: relative;
}

.idaho_bt_leaderboard.card-view .bt-legislator-summary .bt-legislator-name {
	margin: 10px 0px;
}

.idaho_bt_leaderboard.card-view .bt-legislator-summary .bt-col2 {
	margin-bottom: 10px;
}

.idaho_bt_leaderboard.card-view .bt-legislator-summary .bt-col3 {
	justify-content: center;
}

.idaho_bt_leaderboard.card-view .bt-legislator-summary .bt-legislator-chamber {
	text-align: center;
}



/* Bills Shortcode */

.bt-bill-detail-box > div:nth-child(2) {
	padding-top:20px;
}

.bt-bill {
	display: grid;
    margin-bottom: 15px;
	padding-bottom: 15px;
    border-bottom: 2px solid #ccc;
    grid-template-columns: 90px 90px auto 90px 100px 150px 150px;
}

.bt-bill-status {
	width: 120px;
	font-family: 'Oswald';
}
.bt-bill-status-footer {
	font-family: 'Lora';
    font-size: 14px;
}
.bt-bill-failed, .bt-bill-passed, .bt-bill-pending,.bt-bill-crossed  {
    padding: 4px 8px;
    border-radius: 3px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
}
.bt-bill-failed {
	background: #ab1d1d;
}
.bt-bill-passed {
	background: #1dab3c;
}
.bt-bill-analysis a {
    color: #fff;
    background: #662d91;
    padding: 20px;
    display: flex;
    text-align: center;
    justify-content: center;
    margin-top: 20px;
}
.bt-bill-district-filter form label {
    padding-top: 10px;
    padding-bottom: 5px;
    display: block;
}
.bt-bill-header {
    padding: 4px 0;
    margin: 10px 0;
    background: #cdcdcd;
    border-radius: 3px;
}

/* Lawmaker Comparison */

.bt-compare-container {
	display:grid;
	grid-template-columns: 1fr 1fr 1fr;
	column-gap: 20px;
	margin-bottom: 20px;
}
.bt-compare-card {
    background: #f3f3f3;
    display: flex;
    border-radius: 3px;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
	padding: 30px;
}
.bt-compare-search label {
	margin-right: 20px;
}
.bt-image img {
	height: 270px;
    width: 210px;
    object-fit: cover;
	border-radius: 3px;
}

.bt-card-details {
	margin-top: 20px;
}

.bt-legislator-score {
	font-family: 'Oswald';
    font-weight: 800;
    font-size: 72px;
    color: #662D91;
    text-align: center;
    line-height: 1;
    margin: 0px;
    display: block;
}

.bt-legislator-score span {
	font-family: 'Oswald';
    font-size: 18px;
    font-weight: 500;
	color: #404040;
	display: block;
}

.idaho_bt_bill_details {
	display: flex;
    flex-direction: column;
    align-items: center;
}
.idaho_bt_bill_details h3 {
    font-family: 'Lora';
    font-style: italic;
    text-align: center;
    font-size: 28px;
	width: 850px;
    max-width: 100%;
	margin-bottom: 60px;
}

.bt-scoreboard-bills-details {
	display: grid;
	grid-gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 60px;
}

.bt-bill-detail-box {
    padding: 30px;
    background: #f2f2f2;
    border-radius: 3px;
}

.bt-scoreboard-bills-summary {
	width: 100%;
	max-width: 900px;
}

.bt-bill-stages {
	margin-bottom: 30px;
}

.bt-bill-stages ul {
	display: flex;
    flex-direction: row;
	list-style: none;
	padding: 0px;
	margin: 0px;
	overflow: hidden;
}

.bt-bill-stages ul li.bt-stage {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 0px;
	padding: 10px 30px;
	text-align: center;
	background-color: #f2f2f2;
	font-family: 'Oswald';
	font-size: 14px;
	letter-spacing: 1px;
	position: relative;
	margin: 0 3px;
}

.bt-bill-stages ul li.bt-stage.bt-stage-active {
	background-color: #662D91;
	color: #FFFFFF;
	font-weight: 500;
}

.bt-bill-stages ul li.bt-stage:first-child::before,
.bt-bill-stages ul li.bt-stage:last-child::after {
	display: none;
}

.bt-bill-stages ul li.bt-stage::before,
.bt-bill-stages ul li.bt-stage::after {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
    right: -16px;
	transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 23px solid transparent;
    border-bottom: 23px solid transparent;
    border-left: 16px solid #f2f2f2;
    z-index: 2;
}

.bt-bill-stages ul li.bt-stage::before {
	right: auto;
    left: 0;
    border-left: 16px solid #fff;
	z-index: 0;
}

.bt-bill-stages ul li.bt-stage.bt-stage-active::after {
    border-left: 16px solid #662D91;
}

.idaho_bt_bill_details .bt-bill-voters {
    display: grid;
	grid-gap: 40px;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
	
	width: 1200px;
    max-width: 100%;
    background: #f2f2f2;
    padding: 20px;
    border-radius: 3px;
}

.idaho_bt_bill_details .bt-bill-summary > div {
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: space-around;
    justify-content: space-around;
    align-items: center;
    border-bottom: 1px solid #cdcdcd;
    padding: 3px 0;
}

.idaho_bt_bill_details .bt-bill-voters .bt-bill-voter-yea .idaho_bt_leaderboard .bt-legislator-summary .bt-col2,
.idaho_bt_bill_details .bt-bill-voters .bt-bill-voter-nay .idaho_bt_leaderboard .bt-legislator-summary .bt-col2,
.idaho_bt_bill_details .bt-bill-voters .bt-bill-voter-abstain .idaho_bt_leaderboard .bt-legislator-summary .bt-col2 {
	display: none;
}

.bt-bill-voters .idaho_bt_leaderboard {
    overflow: scroll;
    max-height: 500px;
}

.bt-bill-voters .idaho_bt_leaderboard .bt-legislator-summary {
	display: flex;
    flex-direction: column;
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: 20px;
}

.bt-bill-voters .idaho_bt_leaderboard .bt-legislator-summary .bt-col1 {
	margin-bottom: 10px;
}

.bt-bill-voters .idaho_bt_leaderboard .bt-legislator-summary .bt-col1 img {
    max-width: 30%;
}

.bt-bill-header div {
    font-weight: bold;
}
.bt-compare-card .bt-card-header .bt-legislator-remove {
    background-color: #662d91;
    text-align: center;
    padding: 5px 20px;
    color: #FFFFFF;
    font-family: 'Oswald';
    text-transform: uppercase;
    display: inline-block;
}

/* Legislator Profile */

.idaho_bt_legislator .bt-row1 {
	width: 100%;
    background-color: #f2f2f2;
	border: 1px solid #e5e5e5;
	box-shadow: 0 0 20px rgba(0,0,0, 0.1);
	padding: 30px;
	margin-bottom: 50px;
}

.legislator_profile h3 {
	font-size: 38px;
    text-transform: uppercase;
}

.bt-row1.bt-legislator-profile {
	padding: 0px;
	margin-top: 20px;
}

.bt-ratings-offices, .bt-ratings, .bt-offices {
	flex-grow:1;
}

.bt-row1.bt-legislator-profile,
.bt-row1.bt-legislator-profile .bt-ratings {
	display: flex;
    flex-direction: row;
    align-items: center;
}
.bt-legislator-profile .bt-ratings > div {
	padding: 20px;
	text-align: center;
	min-width: 200px;
}

.bt-ratings .bt-rating-header {
	font-family: 'Oswald';
	font-size: 18px;
	font-weight: 500;
}

.bt-ratings .bt-rating-number {
	font-family: 'Oswald';
	font-weight: 800;
	font-size: 72px;
	color: #662D91;
}

.bt-legislator-profile .bt-image img {
	display: block;
}

.bt-legislator-profile {
	display: flex;
    flex-direction: row;
    align-items: center;
}

.idaho_bt_legislator_bills h3 {
	margin-bottom: 24px;
	font-size: 36px;
}

.bt-legislator-profile .bt-ratings-offices {
	display: flex;
	align-items: flex-start;
}

.bt-ratings-offices .bt-contacts,
.bt-ratings-offices .bt-offices {
	padding: 20px;
}

.bt-ratings-offices .bt-offices h5, .bt-contacts h5 {
	font-weight: 500;
	font-size:18px;
	padding-bottom: 12px;
}

.legislator_profile .idaho_bt_form_selector #bt-scorecard-year {
	margin-left: 190px;
	margin-bottom: 0px;
}

#_posts_grid-102-11565 .oxy-post {
	align-items: flex-start;
}

.bt-dropdown {
	padding: 12px 10px;
    margin-right: 10px;
    margin-bottom: 20px;
}

.bt-stage-active {
    font-weight: 800;
}

.idaho-bt-back-button {
	font-size: 1.25rem;
	padding: 10px 20px;
	letter-spacing: 2px;
	line-height: 1.5em;
	border: 2px solid #FFF;
	background: #FFF;
	font-family: Oswald;
	color: #662D91;
	font-weight: 500;
	cursor: pointer;
    transition-duration: 0.4s;
	text-transform: uppercase;
}

.idaho-bt-back-button:hover {
	color: #FFF;
	background-color: transparent;
}

.idaho_bt_form_selector {
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
}

.idaho-bt-compare-legislator {
	font-size: 1.25rem;
	padding: 10px 20px;
	letter-spacing: 2px;
	line-height: 1.5em;
	border: 2px solid #662D91;
	color: #FFF;
	font-family: Oswald;
	background-color: #662D91;
	font-weight: 500;
	cursor: pointer;
    transition-duration: 0.4s;
	text-transform: uppercase;
	text-decoration: none;
}

.idaho-bt-compare-legislator:hover {
	background-color: transparent;
	color: #662D91;
}

.bt-bill-sort {
	cursor: pointer;
}

.idaho_bt_bills.list-view .bt-bill-score {
	padding: 5px;
}

.bt-bill-score > span {
	display: none;
}

.idaho_bt_bills.card-view > .bt-bills,
.idaho_bt_bills_v2.card-view > .bt-bills {
	display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.idaho_bt_bills.card-view .bt-bill-heading,
.idaho_bt_bills_v2.card-view .bt-bill-heading {
	display: none !important;
}

.idaho_bt_bills.card-view > .bt-bills > .bt-bill,
.idaho_bt_bills_v2.card-view > .bt-bills > .bt-bill {
	display: flex;
	flex-direction: column;
	border-bottom: 0px;
	position:relative;
}

.idaho_bt_bills .bt-bill-title div,
.idaho_bt_bills_v2 .bt-bill-title div {
	display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.idaho_bt_bills.card-view .bt-bill-title div,
.idaho_bt_bills_v2.card-view .bt-bill-title div {
    -webkit-line-clamp: 3;
	height: 86px;
}

.idaho_bt_bills.card-view .bt-bill-index,
.idaho_bt_bills_v2.card-view .bt-bill-index {
	display: none !important;
}

.idaho_bt_bills.card-view .bt-bill-score > span,
.idaho_bt_bills_v2.card-view .bt-bill-score > span {
	display: inline-block;
}

.idaho_bt_bills .bt-bill.bt-index-name {
	border-left-style: inset;
	border-left-width: 5px;
	padding: 5px;
}

.idaho_bt_bills .bt-bill.bt-index-name-freedom {
	border-left-color: var(--freedom-color);
	background-image: linear-gradient(#ffffff, var(--freedom-color))
}
.idaho_bt_bills .bt-bill.bt-index-name-education {
	border-left-color: var(--education-color);
	background-image: linear-gradient(#ffffff, var(--education-color))
}
.idaho_bt_bills .bt-bill.bt-index-name-spending {
	border-left-color: var(--spending-color);
	background-image: linear-gradient(#ffffff, var(--spending-color))
}


@media all and (max-width: 992px) {
	.idaho_bt_bill_details.bt-shortcode .bt-bill-voters {
		flex-direction: column;
	}
	
	.idaho_bt_leaderboard .bt-col3 {
		max-width: 200px;
		width: 100%;
	}
	
	.idaho_bt_leaderboard .bt-col3 .progressbar {
		max-width: 165px;
	}
	
	.idaho_bt_leaderboard .bt-legislator-rating {
		width: 35px;
	}
	
	.bt-legislator-profile .bt-ratings > div {
		padding: 10px;
		min-width: 150px;
	}
	
	.bt-ratings-offices .bt-contacts,
	.bt-ratings-offices .bt-offices {
		padding: 10px;
	}
	
	.bt-ratings .bt-rating-number {
		font-size: 50px;
	}
	
	.idaho_bt_leaderboard.card-view > div {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	
	.idaho_bt_bill_details .bt-bill-voters {
		display: grid;
		grid-gap: 40px;
	    grid-auto-flow: row;
	}
	
	.bt-bill-voters .idaho_bt_leaderboard .bt-legislator-summary {
		flex-direction: row;
	}
	
	.idaho_bt_legislator_bills .bt-bills {
		overflow-x: auto;
	}
	
	.idaho_bt_legislator_bills .bt-bill {
		padding-right: 0px;
		padding-bottom: 0px;
		border-bottom: 0px;
		grid-template-columns: 90px 250px 90px 110px 140px 130px 125px;
	}
	
	.idaho_bt_legislator_bills .bt-bill-title {
		max-width: 100%;
	}
	
	.idaho_bt_legislator_bills .bt-bill > div {
		padding-right: 15px;
		padding-bottom: 15px;
		border-bottom: 2px solid #ccc;
	}
}

@media all and (max-width: 768px) {
	.idaho_bt_leaderboard .bt-legislator-summary .bt-col1 {
		flex-direction: column;
	}

	.idaho_bt_leaderboard .bt-col1 {
		max-width: 100%;
		width: 100%;
	}
	.idaho-index-table {
		min-width: unset;
		width: 100%;
	}
	.bt-legislator-summary {
		flex-direction: row;
		flex-wrap: wrap;
	}
	
	.idaho_bt_leaderboard .bt-col1 {
		margin-bottom: 10px;
	}
	
	.idaho_bt_bill_details h3 {
		font-size: 18px;
	}
	
	.bt-row1.bt-legislator-profile {
		flex-direction: column;
		padding: 30px;
	}
	
	.bt-image img {
		object-fit: contain;
	}
	
	.bt-row1.bt-legislator-profile .bt-ratings {
		flex-direction: column;
	}
	
	.bt-ratings .bt-rating-number {
		font-size: 35px;
		line-height: 1.2em;
	}
	
	.bt-bills {
		overflow-x: auto;
	}
	
	.bt-bill {
		padding-right: 0px;
		padding-bottom: 0px;
		border-bottom: 0px;
		grid-template-columns: 90px auto 105px 150px 110px 130px;
	}
	
	.bt-bill > div {
		padding-right: 15px;
		padding-bottom: 15px;
		border-bottom: 2px solid #ccc;
	}
	
	.bt-bill-title {
		max-width: 100%;
		padding-bottom: 10px;
	}
	
	.bt-bill-status {
		text-align: center;
		width: 100%;
	}
	
	.bt-bill-status-footer {
		margin-top: 5px;
	}
	
	.bt-legislator-profile .bt-ratings-offices {
		flex-direction: row;
		flex-grow: 1;
		justify-content: center;
		margin-top: 20px;
	}
	
	.idaho_bt_leaderboard.card-view > div {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media all and (max-width: 600px) {
	.idaho_bt_legislator .bt-row1.bt-legislator-profile {
		flex-direction: column;
		padding: 40px;
	}
	
	.idaho_bt_legislator .bt-legislator-profile .bt-image {
		margin-bottom: 20px;
	}
	
	.bt-scoreboard-bills-details,
	.idaho_bt_leaderboard.card-view > div {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
	
	.bt-bill-stages ul .bt-stage:not(.bt-stage-active) {
		display: none;
	}
	
	.bt-bill-stages ul .bt-stage.bt-stage-active::before,
	.bt-bill-stages ul .bt-stage.bt-stage-active::after {
		display: none;
	}
	
	.bt-legislator-profile .bt-ratings-offices {
		flex-direction: column;
	}
	
	.bt-row1.bt-legislator-profile .bt-ratings {
		flex-direction: row;
	}
	
	.legislator_profile .idaho_bt_form_selector #bt-scorecard-year {
		margin-left: 150px;
	}
	
	.idaho-bt-compare-legislator {
		font-size: 1rem;
	}
}

@media all and (max-width: 480px) {
	.legislator_profile .idaho_bt_form_selector #bt-scorecard-year {
		margin-left: 0px;
	}
}


/*********************************************** 
* CSS Fixes 
*************************************************/


/* fix alignment: https://prnt.sc/cY8E1wqNPWEf */
.idaho_bt_leaderboard .bt-legislator-summary .bt-legislator-social {
    min-height: 25px;
    width: 120px;
    max-width: 100%;
}

.idaho_bt_leaderboard.bt-shortcode:not(.list-view) .bt-legislator-name{
    text-align: center;
}
.idaho_bt_leaderboard.bt-shortcode:not(.list-view)  .bt-legislator-district {
    text-align: center;
}
.idaho_bt_leaderboard.bt-shortcode .bt-legislator-social{
    min-width: 120px;
   
}
.idaho_bt_leaderboard.bt-shortcode:not(.list-view) .bt-legislator-social{
    margin: 0 auto;
}
.idaho_bt_leaderboard.bt-shortcode:not(.list-view) .bt-col3 {
    margin-top: 1rem;
}

/* fix alignment issue in listview: https://prnt.sc/KTStuUPdIhMx */
.idaho_bt_leaderboard.bt-shortcode.list-view .bt-legislator-name{
    margin-left:0px;
}
.idaho_bt_leaderboard.bt-shortcode.list-view .bt-legislator-district {
    text-align: left;
    margin-bottom: 15px;
}
.idaho_bt_leaderboard.bt-shortcode.list-view .bt-legislator-image {
    flex: 1 1 210px;
}


/** some typography and color fixes **/
.bt-legislator-summary{
    font-family: 'Montserrat', sans-serif;
}

.bt-legislator-name{
    color: var(--regalia);
    text-transform:uppercase;
    line-height: 2.5rem;
    font-size: 2.3rem;
}
.bt-legislator-details {
    min-width: 225px;
}
.idaho_bt_leaderboard .bt-legislator-summary .bt-col1 {
    gap: 25px;
    width: 100%;
    max-width: 410px;
    align-items: center;
}
.bt-index-progress-bar {
    width: 100%;
    justify-content: space-evenly;
}
.idaho_bt_bills .bt-bill{
    font-family: 'Montserrat', sans-serif;
    background:none!important;
    position:relative;
}

.idaho_bt_leaderboard.card-view .bt-legislator-summary {
    background: #fffefe;
    border-radius: 8px;
}
.idaho_bt_leaderboard:not(.card-view) .bt-legislator-summary{
    padding:8px;
}
.idaho_bt_leaderboard:not(.card-view) .bt-legislator-summary:nth-child(even) {
    background: #f9f9f9!important;
}

/**************************************************************
* CARD VIEW
***************************************************************/

.idaho_bt_bills.card-view > .bt-bills,
.idaho_bt_bills_v2.card-view > .bt-bills {
    grid-template-columns: repeat(3, minmax(0, 1fr))!important;
}
.idaho_bt_bills.card-view .bt-bill-index,
.idaho_bt_bills_v2.card-view .bt-bill-index {

    display: block !important;
    font-size: 12px;
    position: absolute;
    right: 15px;
    padding: 5px 10px;
    background-image:none;
}
.idaho_bt_bills.card-view .bt-bill.bt-index-name,
.idaho_bt_bills_v2.card-view .bt-bill.bt-index-name{
    border-left: none;
    border: 1px solid #ececec!important;
    padding: 15px;
    border-radius: 8px;
    background: #fff!important;
}
.idaho_bt_bills.card-view .bt-index-name-freedom .bt-bill-index,
.idaho_bt_bills_v2.card-view .bt-index-name-freedom .bt-bill-index{
    background: var(--freedom-color)!important;
    color:#fff;
}
.idaho_bt_bills.card-view .bt-index-name-spending .bt-bill-index,
.idaho_bt_bills_v2.card-view .bt-index-name-spending .bt-bill-index{
    background: var(--spending-color)!important;
    color:#fff
}
.idaho_bt_bills.card-view .bt-index-name-education .bt-bill-index,
.idaho_bt_bills_v2.card-view .bt-index-name-education .bt-bill-index{
    background: var(--education-color)!important;
    color:#fff;
}
.idaho_bt_bills.card-view .bt-bill-status,
.idaho_bt_bills_v2.card-view .bt-bill-status {	
    margin-top: 1rem;
}
.idaho_bt_bills.card-view .bt-bill-title,
.idaho_bt_bills_v2.card-view .bt-bill-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
    text-align: center;
}
.idaho_bt_bills.card-view  .bt-bill-status,
.idaho_bt_bills_v2.card-view  .bt-bill-status{
    margin: 0 auto;
}
.idaho_bt_bills.card-view .bt-bill-score, 
.idaho_bt_bills.card-view .bt-bill-date,
.idaho_bt_bills.card-view .bt-bill-status,
.idaho_bt_bills.card-view .bt-bill-motion,
.idaho_bt_bills_v2.card-view .bt-bill-score, 
.idaho_bt_bills_v2.card-view .bt-bill-date,
.idaho_bt_bills_v2.card-view .bt-bill-status,
.idaho_bt_bills_v2.card-view .bt-bill-motion
{
    font-size: 1.5rem;
    text-align: center;
    margin-bottom:1rem;
    
}

/**************************************************************
* LIST VIEW
***************************************************************/
.idaho_bt_bills:not(.card-view) .bt-bill-heading,
.idaho_bt_bills_v2:not(.card-view) .bt-bill-heading{
    padding:0px;
}
.idaho_bt_bills:not(.card-view) .bt-bill:not(.bt-bill-heading),
.idaho_bt_bills_v2:not(.card-view) .bt-bill:not(.bt-bill-heading){
    border-top: 2px solid var(--border-color);
    border-right: 2px solid var(--border-color);
}
.idaho_bt_bills:not(.card-view) .bt-bill-score, 
.idaho_bt_bills:not(.card-view) .bt-bill-date,
.idaho_bt_bills:not(.card-view) .bt-bill-status,
.idaho_bt_bills:not(.card-view) .bt-bill-motion,
.idaho_bt_bills_v2:not(.card-view) .bt-bill-score, 
.idaho_bt_bills_v2:not(.card-view) .bt-bill-date,
.idaho_bt_bills_v2:not(.card-view) .bt-bill-status,
.idaho_bt_bills_v2:not(.card-view) .bt-bill-motion{

    font-size: 1.5rem;
}
.idaho_bt_bills:not(.card-view) .bt-bill .bt-bill-score,
.idaho_bt_bills:not(.card-view) .bt-bill-date,
.idaho_bt_bills_v2:not(.card-view) .bt-bill .bt-bill-score,
.idaho_bt_bills_v2:not(.card-view) .bt-bill-date{
    text-align: center;
}

.idaho_bt_bills:not(.card-view) .bt-bill,
.idaho_bt_bills_v2:not(.card-view) .bt-bill {
    grid-template-columns: 90px 90px auto 90px 160px 150px 130px;
    gap: 5px;
    padding:0px;
    margin-bottom: 0px;
}
.idaho_bt_bills:not(.card-view) .bt-bill.bt-legislator,
.idaho_bt_bills_v2:not(.card-view) .bt-bill.bt-legislator{
    grid-template-columns: 90px 90px minmax(175px, auto) 90px 160px 150px 130px 120px;
}
.idaho_bt_bills:not(.card-view) .bt-bill,
.idaho_bt_bills_v2:not(.card-view) .bt-bill{
    /* border:1px solid var(--border-color); */
    border:none!important;
    padding:10px;
}
.idaho_bt_bills:not(.card-view) .bt-bill-index,
.idaho_bt_bills_v2:not(.card-view) .bt-bill-index{
    font-size:1.5rem;
    font-weight: 700;
}
.idaho_bt_bills:not(.card-view) .bt-index-name-freedom .bt-bill-index,
.idaho_bt_bills_v2:not(.card-view) .bt-index-name-freedom .bt-bill-index{
    color: var(--freedom-color)!important;
}
.idaho_bt_bills:not(.card-view) .bt-index-name-spending .bt-bill-index,
.idaho_bt_bills_v2:not(.card-view) .bt-index-name-spending .bt-bill-index{
    color: var(--spending-color)!important;
}
.idaho_bt_bills:not(.card-view) .bt-index-name-education .bt-bill-index,
.idaho_bt_bills_v2:not(.card-view) .bt-index-name-education .bt-bill-index{
    color: var(--education-color)!important;
}

.idaho_bt_bills:not(.card-view) .bt-bill.bt-index-name:nth-child(even),
.idaho_bt_bills_v2:not(.card-view) .bt-bill.bt-index-name:nth-child(even) {
    background: #f9f9f9!important;
}

.idaho_bt_bills:not(.card-view) .bt-bill-score,
.idaho_bt_bills_v2:not(.card-view) .bt-bill-score {
    padding: 0px;
}
/**************************************************************
* GENERIC
***************************************************************/
.bt-bill.bt-bill-heading .bt-bill-index,
.bt-bill.bt-bill-heading .bt-bill-name,
.bt-bill.bt-bill-heading .bt-bill-title,
.bt-bill.bt-bill-heading .bt-bill-title a,
.bt-bill.bt-bill-heading .bt-bill-score, 
.bt-bill.bt-bill-heading .bt-bill-date,
.bt-bill.bt-bill-heading .bt-bill-status,
.bt-bill.bt-bill-heading .bt-bill-motion,
.bt-bill.bt-bill-heading .bt-bill-vote{
    font-size: 1.5rem;
    font-weight: 700;
}


.bt-bill-passed{
    background-color: var(--bill-passed);
}
.bt-bill-failed{
    background-color: var(--bill-failed);
}
.bt-bill-score{
    font-weight: bolder;
    font-size: 2rem;
}
.bt-bill-score span{
    font-weight: normal;
}
.bt-bill .bt-bill-title a{
    color: var(--regalia);
}

.bt-search-hide {
	display: none !important;
}

.bt-hidden {
	display: none !important;
}

.bt-bill-voters .idaho_bt_leaderboard.card-view > div {
    grid-template-columns: repeat(1, minmax(0, 1fr))!important;
}
.bt-bill-voters .idaho_bt_leaderboard .bt-legislator-summary .bt-legislator-social img {
    max-width: 100%;
}


@media(max-width:992px){
    .idaho_bt_bills.card-view > .bt-bills,
	.idaho_bt_bills_v2.card-view > .bt-bills {
        grid-template-columns: repeat(2, minmax(0, 1fr))!important;
    }
}
@media(max-width:480px){
    .idaho_bt_bills.card-view > .bt-bills,
	.idaho_bt_bills_v2.card-view > .bt-bills {
        grid-template-columns: repeat(1, minmax(0, 1fr))!important;
    }
}