.cornucopia-scorecard {
	margin-top: 15px;
	position: relative;
}

.cornucopia-scorecard td {
	padding: 5px;
}

.cornucopia-scorecard th,
.cornucopia-scorecard td {
	border: 1px solid #ddd;
}

.cornucopia-scorecard.tablesaw th.tablesaw-sortable-head.tablesaw-sortable-head {
	padding: 0;
}

.cornucopia-scorecard.tablesaw th.tablesaw-sortable-head button {
  padding-top: .9em;
  padding-bottom: .7em;
  padding-left: .6em;
  padding-right: .6em;
}

.cornucopia-scorecard.tablesaw .tablesaw-sortable-head button {
  min-width: 100%;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  font: inherit;
  text-transform: inherit;
}

.cornucopia-scorecard th.tablesaw-sortable-head button:after {
	color: #ddd;
	content: '\02193';
	padding-left: 5px;
}

.cornucopia-scorecard th.tablesaw-sortable-ascending button:after {
	color: #000;
	content: '\02191';
}

.cornucopia-scorecard th.tablesaw-sortable-descending button:after {
	color: #000;
	content: '\02193'
}

.cornucopia-scorecard-criteria .tooltip-text,
.cornucopia-scorecard .tooltip-text,
.cornucopia-scorecard .hide-this-row {
	display: none;
}

.tooltipster-box {
	background-color: #E06D1C !important;
}

.cornucopia-rating {
	min-width: 135px;
}

th.market-area {
	width: 100px;
}

.cornucopia-rating span {
	white-space: nowrap;
}

.cornucopia-print {
	float: right;
}

/*.cornucopia-scorecard .tooltip-text:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba( 0, 0, 0, 0.75 );
	color: #000;
	padding: 20px;
}*/

.cornucopia-scorecard .tooltip:hover .tooltip-text {
	display: block;
}

.segment-breakout {
	background-color: #7C8130;
	color: #fff;
	font-weight: bold;
}

.segment-breakout td {
    border: none;
}

.segment-breakout td:first-child {
    border-left: 1px solid #ddd;
}

.segment-breakout td:last-child {
    border-right: 1px solid #ddd;
}

.label-and-tooltip {
    white-space: nowrap;
}

.label-and-tooltip .tooltip img {
	display: inline-block;
	margin: -1px 0 1px 4px;
	vertical-align: middle;
	height: 12px;
	width: auto;
}

.tooltip img,
.segment-breakout img{
	/* display: block; */
	/* max-height: 12px; */
	vertical-align: middle;
}

.segment-breakout .tooltip,
.criteria-wrapper .tooltip {
	margin-top: 1px;
}

.tooltip-and-criteria span {
	display: table-cell;
}

.segment-breakout .tooltip {
	/*float: right;*/
}
.cornucopia-scorecard-criteria .tooltip {
	width: 20px;
	vertical-align: middle;
}

.entry ul.tablesaw-advance-dots li {
	background: none;
	margin: 0;
	padding: .4em .2em;
}

.tablesaw-all-cols-visible .tablesaw-advance {
	display: none !important;
}

.tablesaw-swipe .tablesaw-cell-persist {
	border-right: 0;
	padding-right: 20px;
}

.tablesaw-swipe tr th:last-of-type,
.tablesaw-swipe tr td:last-of-type {
	border-right: 1px solid #e4e1de;
}

.tablesaw-bar {
	font-size: 16px;
}

.skip-filter {
	display: none;
}

/*
.tablesaw-advance-dots li i {
	width: 4px;
	height: 4px;
}*/

.scorecard-criteria-description-link * {
	font-weight: bold !important;
}

div.cornucopia-scorecard-footer {
	background-color: #7C8130;
	border-radius: 10px;
	margin-top: 20px;
	padding: 20px;
}

div.cornucopia-scorecard-footer p {
	margin: 0 0 1.2em;
}

div.cornucopia-scorecard-footer p a,
div.cornucopia-scorecard-footer p a:link,
div.cornucopia-scorecard-footer p a:visited,
div.cornucopia-scorecard-footer p a:hover,
div.cornucopia-scorecard-footer p a:focus,
div.cornucopia-scorecard-footer p a:active,
div.cornucopia-scorecard-footer p a span {
	color: #fff !important;
	text-decoration: underline;
	text-transform: upper
}

div.cornucopia-scorecard-footer p:last-of-type {
	margin-bottom: 0;
}

div.cornucopia-scorecard-footer p:empty {
	display: none;
}

.scorecard-criteria-description-link * {
	color: #545454 !important;
	font-family: Trebuchet, "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif !important;
	font-size: 1em !important;
}

div.cornucopia-scorecard-footer * {
	color: #fff !important;
	font-family: Trebuchet, "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif !important;
	font-size: 14px !important;
}

.scorecard-criteria-description-link a,
.scorecard-criteria-description-link * a,
.scorecard-criteria-description-link a *,
.scorecard-criteria-description-link * a * {
	color: #e06d1c !important;
}

.scorecard-criteria-description-link a:visited,
.scorecard-criteria-description-link * a:visited,
.scorecard-criteria-description-link * a:visited *,
.scorecard-criteria-description-link a:visited * {
	color: #b85b5a !important;
}

@media (max-width: 40em) {

	.cornucopia-scorecard td {
		padding-right: 0;
		padding-bottom: 5px;
	}
}

/* Single Scorecard CSS */

.single-scorecard .post h1 {
	border: none;
	margin: 5px 0;
}

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

.scorecard-top:before,
.scorecard-top:after {
	content: '';
	display: table;
}

.scorecard-top:after {
	clear: both;
}

.scorecard-details {
	flex: 1;
}

.scorecard-details table {
	float: left;
	width: 50%;
}

.scorecard-details table tr td {
	padding: 2px 0;
	vertical-align: top;
}

.scorecard-details table tr:first-of-type td {
	vertical-align: middle;
}

.scorecard-details table tr td:first-of-type {
	font-weight: bold;
	white-space: nowrap;
	width: 30%;
}

.scorecard-details table tr td:nth-of-type( 2 ) {
	/* These are technically the same, but use both */
	overflow-wrap: break-word;
	word-wrap: break-word;
	-ms-word-break: break-all;
	/* This is the dangerous one in WebKit, as it breaks things wherever */
	word-break: break-all;
	/* Instead use this non-standard one: */
	word-break: break-word;
	/* Adds a hyphen where the word breaks, if supported (No Blink) */
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
	padding-left: 20px;
}

.scorecard-image {
	box-sizing: border-box;
	float: right;
	padding-left: 20px;
	width: 50%;
	text-align: center;
}

.scorecard-image img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 200px;
}

.cornucopia-scorecard-criteria thead {
	box-shadow: 0px 2px #ddd;
}

.cornucopia-scorecard-criteria thead th,
.cornucopia-scorecard-criteria tfoot td {
	border: 1px solid #ddd;
	font-weight: bold;
	padding: 1em 0.7em;
}

.cornucopia-scorecard-criteria tbody td {
	border: 1px solid #ddd;
}

.cornucopia-scorecard-criteria tfoot {
	background-color: #F5F5F5;
}

.mobile-scorecard-score-label {
	display: none; /* JS will display this when needed */
}

@media only screen and ( max-width: 639px ) {
	.scorecard-details {
		flex: 3;
	}

	.scorecard-image {
		flex: 2;
	}
}

@media only screen and ( max-width: 519px ) {

	.scorecard-back {
		display: none;
	}

	.scorecard-top {
		flex-direction: column-reverse;
	}

	.single-scorecard .post h1 {
		margin: 10px 0;
	}

	.scorecard-image {
		padding-left: 0;
		margin-bottom: 10px;
		width: 100%;
	}

	.scorecard-details table {
		text-align: center;
		width: 100%;
	}

	.scorecard-details table tr td {
		display: block;
		line-height: 1.363636364;
		padding: 0;
	}

	.scorecard-details table tr td:first-of-type {
		width: 100%;
	}

	.scorecard-details table tr td:nth-of-type( even ) {
		margin-bottom: 15px;
		padding-left: 0;
	}


}
