/**
 * Styles for content shortcodes
 */

/* Spindustry benefits table */
.benefits p {
	font-size: 14px;
	font-weight: bold;
	color: #5e514e;
	text-align: center;
	text-transform: uppercase;
}
.benefits h3 {
	font-size: 18px;
	padding: 10px 0;
	margin: 0;
	font-weight: bold;
	color: #ffffff;
	text-align: center;
	text-transform: uppercase;
}
.benefits h5 {
	color: #ffffff;
	text-align: center;
}
table.benefits {
	border-collapse: collapse;
	border: 0px !important;
	margin: 0 0 15px 0;
	font-size: 12px;
}
.benefits td {
	font-size: 14px;
	padding: 10px;
	margin: 0;
	border-top: 0px !important;
	border-bottom: 2px solid #000000;
	border-right: 1px solid #ffffff;
	border-left: 1px solid #ffffff;
}
.benefits tr td:nth-of-type(3) {
	width: 30%;
}
.benefits th {
	font:16px;
	padding:10px;
	margin:0;
	color:#ffca38;
	text-transform:uppercase;
	text-align: center;
}
.benefits ul {
	margin: 0;
	padding: 0 0 0 20px;
	line-height: 16px !important;
}
.benefits h3 a {
	color: #ffffff;
}
.benefits li a {
	color: #5E514E;
}
.benefits .light-grey {
	background: #DBD6D2;
}
.benefits .dark-blue {
	background: #004E85;
}
.benefits .light-blue {
	background: #00AAE7;
}
.benefits .lighter-grey {
	background: #EEEEEE;
}
.benefits i {
	color: white;
	font-size: 28px;
}
.benefits .thick-row {
	border-bottom: 4px solid #000000;
}
.benefits .thick-column {
	border-right: 4px solid #000000;
}

@media screen and (max-width: 991px) {
	.benefits h2 {
		font-size: 12px;
	}
	.benefits h3 {
		font-size: 14px;
		padding: 10px 0;
		margin: 0;
	}
	.benefits td {
		font-size: 12px;
		padding: 10px;
		margin: 0;
		border-bottom: 2px solid #000000;
		border-right: 1px solid #ffffff;
		border-left: 1px solid #ffffff;
	}
}

@media screen and (max-width: 600px) {
	.benefits .mobile-collapse {
		display: none;
	}
	.benefits h2 {
		font-size: 11px;
	}
	.benefits h3 {
		font-size: 11px;
		padding: 10px 0;
		margin: 0;
	}
	.benefits td {
		font-size: 11px;
		padding: 3px;
		margin: 0;
		border-bottom: 2px solid #000000;
		border-right: 1px solid #ffffff;
		border-left: 1px solid #ffffff;
	}
}	

/* Section toggles - change button to collapse */
.nsda-section-collapse {
    background-color: #00AAE7 !important;
    color: white !important;
}
.nsda-section-collapse:after {
    content: "\3a" !important;
}

/* Section jump links */
.nsda-section-links {
	text-align: center;
	margin-bottom: 0px !important;
    font-weight: bold;
}

.nsda-section-links li {
	list-style-type: none;
	display: inline;
	padding-right: 10px;
	padding-left: 10px;
	border-right: 1px solid #00AAE7;
}

.nsda-section-links li:last-of-type {
	border-right: none;
}

/* Point values tables */
.nsda-points-table {
	color: white;
}
.nsda-points-table th {
	background-color: #948A85;
	color: white !important;
	font-size: 12px;
	text-align: center;
	padding: 5px !important;
}
.nsda-points-table td {
	background-color: #948A85;
	font-size: 10px;
	line-height: 1em;
	padding: 5px !important;
}
.nsda-points-table .light-blue {
	background-color: #00AAE7;
	color: white;
}
.nsda-points-table .lighter-grey {
	background-color: #EEEEEE;
	color: #5E514E;
}

.nsda-points-table td.light-blue {
	text-align: center;
}

.nsda-points-table .light-grey {
	background-color: #5E514E;
}

.nsda-points-table th:last-of-type, .nsda-points-table td:last-of-type {
	font-size: 12px;
	border-left: 2px solid;
	min-width: 175px;
}
.nsda-points-table .table-note {
	font-size: 10px;
}

/* Degrees table */
.nsda-degrees-table th {
	background-color: #00AAE7;
	color: white !important;
}

.nsda-degrees-table img {
	width: 50px;
	height: 50px;
}

/* Rankings tables */
.nsda-rankings-table th {
	background-color: #00AAE7;
	color: white !important;
	padding: 10px;
}
.nsda-rankings-table td {
	padding: 10 !important;
}
.nsda-rankings-table {
	font-size: 12px;
}
.nsda-rankings-table.hidden {
	display: none;
}
.rankings-district, .rankings-event {
	margin-bottom: 20px;
	font-size: 14px;
	width: 100%;
	height: 30px;
	padding: 2px;
}

/* Spindustry history timeline*/
.timeline {
	list-style-type: none !important;
}
.timeline .fa {
	top: 12px;
	left: 12px;
    font-size: 24px;
	padding-left: 5px;
}
.timeline {
	list-style: none;
	padding: 20px 0 20px;
	position: relative;
}
.timeline h4{
	margin:0 0 5px 0;
}
.timeline:before {
	top: 0;
	bottom: 0;
	position: absolute;
	content: " ";
	width: 3px;
	background-color: #eeeeee;
	left: 50%;
	margin-left: -1.5px;
}

.timeline > li {
	margin-bottom: 10px;
	position: relative;
}

.timeline > li:before,
.timeline > li:after {
	content: " ";
	display: table;
}

.timeline > li:after {
	clear: both;
}

.timeline > li > .timeline-panel {
	width: 46%;
	float: left;
	border: 1px solid #d4d4d4;
	border-radius: 2px;
	padding: 20px;
	position: relative;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.timeline > li > .timeline-panel:before {
	position: absolute;
	top: 26px;
	right: -15px;
	display: inline-block;
	border-top: 15px solid transparent;
	border-left: 15px solid #ccc;
	border-right: 0 solid #ccc;
	border-bottom: 15px solid transparent;
	content: " ";
}

.timeline > li > .timeline-panel:after {
	position: absolute;
	top: 27px;
	right: -14px;
	display: inline-block;
	border-top: 14px solid transparent;
	border-left: 14px solid #fff;
	border-right: 0 solid #fff;
	border-bottom: 14px solid transparent;
	content: " ";
}

.timeline > li > .timeline-badge {
	color: #fff;
	width: 50px;
	height: 50px;
	line-height: 50px;
	font-size: 1.4em;
	text-align: center;
	position: absolute;
	top: 16px;
	left: 50%;
	margin-left: -25px;
	background-color: #999999;
	z-index: 100;
	border-top-right-radius: 50%;
	border-top-left-radius: 50%;
	border-bottom-right-radius: 50%;
	border-bottom-left-radius: 50%;
}

.timeline > li.timeline-inverted > .timeline-panel {
	float: right;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
	border-left-width: 0;
	border-right-width: 15px;
	left: -15px;
	right: auto;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
	border-left-width: 0;
	border-right-width: 14px;
	left: -14px;
	right: auto;
}

.timeline-badge.primary {
	background-color: #2e6da4 !important;
}

.timeline-badge.success {
	background-color: #3f903f !important;
}

.timeline-badge.warning {
	background-color: #f0ad4e !important;
}

.timeline-badge.danger {
	background-color: #d9534f !important;
}

.timeline-badge.info {
	background-color: #00aae7 !important;
}

.timeline-title {
	margin-top: 0;
	color: inherit;
}

.timeline-body > p,
.timeline-body > ul {
	margin-bottom: 0;
}

.timeline-body > p + p {
	margin-top: 5px;
}
.end-button{
	text-align: center;
}
@media (max-width: 991px) {
	.end-button{
		text-align: left;
	}
	.timeline > li > .timeline-panel {
		float: right;
	}

	.timeline > li > .timeline-panel:before {
		position: absolute;
		top: 26px;
		left: -15px;
		display: inline-block;
		border-top: 15px solid transparent;
		border-left: 0px solid #ccc;
		border-right: 15px solid #ccc;
		border-bottom: 15px solid transparent;
		content: " ";
		right: auto;
	}

	.timeline > li > .timeline-panel:after {
		position: absolute;
		top: 27px;
		left: -14px;
		display: inline-block;
		border-top: 14px solid transparent;
		border-left: 0 solid #fff;
		border-right: 14px solid #fff;
		border-bottom: 14px solid transparent;
		content: " ";
		right: auto;
	}
	.timeline > li > .timeline-badge {
		color: #fff;
		width: 50px;
		height: 50px;
		line-height: 50px;
		font-size: 1.4em;
		text-align: center;
		position: absolute;
		top: 16px;
		left: 5%;
		margin-left: -25px;
		background-color: #999999;
		z-index: 100;
		border-top-right-radius: 50%;
		border-top-left-radius: 50%;
		border-bottom-right-radius: 50%;
		border-bottom-left-radius: 50%;
	}
	.timeline:before {
		top: 0;
		bottom: 0;
		left: 5%;
	    margin-left: -1.5px;
	}
	.timeline > li > .timeline-panel {
		width: 86%;
	}
}
