/*
Theme Name: Iditarod Theme
Theme URI: http://iditarod.com
Author: Jeff Brand
Description: Template for Iditarod
Version: 1.5
Tags: buddypress
*/

/* Tags */

body { margin: 0; padding: 0; background-color: #fff; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
textarea { font-family: Arial; font-size: 12px; }

/* For IE 7 spacing */
form { margin: 0; }
p { margin: 1em 0; }
img { border: none; } /* Seriously, Internet Explorer?? */

.flex-row {
	display: flex;
}

.flex-row > * {
	flex: 1 1 auto;
}

.sidebar-container img,
.textwidget img {
	max-width: 100%;
	height: auto;
	display:block;
}

.unselectable {
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Layout */

#accountbar-full {
	background-color: #015478;
	position: relative;
	z-index: 1001;
}

#accountbar {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	justify-content: space-between;
}

@media screen and (max-width: 640px) {
	#accountbar {
		flex-direction: column;
	}

	div#sidebar-top {
		flex-direction: column;
		align-items: center;
	}

}

.datestamp {
	color: #fff;
	font-weight: bold;
}

@media screen and (max-width: 1200px) {
	.datestamp {
		padding-left: 15px;
	}
}

@media screen and ( max-width: 922px ) {
	.datestamp {
		display: none;
	}
}


#accountbar > * {
	line-height: 28px;
	height: 28px;
}

#header-full {
	position: relative;
	z-index: 1000;
	clear: both;
}

.teacher #header-full {
	background-color: #3b7856; /* 3b7856 */
}

#main-full {
	overflow: hidden;
	padding-bottom: 20px;
}

/* Set main page area width */

#page, #primary, #content, .sidebar, .sidebar-container, .widget,
.container {
	box-sizing: border-box;
}

.container {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
}

.pull-right {
	float: right !important;
}

.pull-left {
	float: left !important;
}

/* Minimalist grid system */
.row {
	clear: left;
	overflow: hidden;
}

.margin-row {
	margin-left: -15px;
	margin-right: -15px;
}


.margin-row .col-md-1,
.margin-row .col-md-2,
.margin-row .col-md-3,
.margin-row .col-md-4,
.margin-row .col-md-5,
.margin-row .col-md-6,
.margin-row .col-md-7,
.margin-row .col-md-8,
.margin-row .col-md-9,
.margin-row .col-md-10,
.margin-row .col-md-11,
.margin-row .col-md-12,
.margin-row .col-sm-1,
.margin-row .col-sm-2,
.margin-row .col-sm-3,
.margin-row .col-sm-4,
.margin-row .col-sm-5,
.margin-row .col-sm-6,
.margin-row .col-sm-7,
.margin-row .col-sm-8,
.margin-row .col-sm-9,
.margin-row .col-sm-10,
.margin-row .col-sm-11,
.margin-row .col-sm-12 {
	padding-left: 15px;
	padding-right: 15px;
}

.col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9,
.col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9 {
	min-height: 1px;
	position: relative;
	box-sizing: border-box;
}

img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto !important;
}

iframe {
	max-width: 100%;
	max-height: 100%;
}

.img-responsive {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto !important;
}

.woocommerce #content div.product div.images img {
	width: auto;
}

.img-responsive-fill {
	width: 100% !important;
}

.welcome-visitor {
	text-align: center;
	background-color: #80a8b9;
	color: #fff;
	padding: 0 1em;
}

@media ( min-width: 768px ) {

	/* Common grid styles */
	.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
		float: left;
	}

	.col-sm-1  { width: 8.3%; }
	.col-sm-2  { width: 16.6%; }
	.col-sm-3  { width: 25%; }
	.col-sm-4  { width: 33%; }
	.col-sm-5  { width: 41.3%; }
	.col-sm-6  { width: 50%; }
	.col-sm-7  { width: 58.3%; }
	.col-sm-8  { width: 66%; }
	.col-sm-9  { width: 75%; }
	.col-sm-10 { width: 83.3%; }
	.col-sm-11 { width: 91.6%; }
	.col-sm-12 { width: 100%; }

}

@media ( min-width: 992px ) {

	/* Common grid styles */
	.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
		float: left;
	}

	.col-md-1  { width: 8.3%; }
	.col-md-2  { width: 16.6%; }
	.col-md-3  { width: 25%; }
	.col-md-4  { width: 33%; }
	.col-md-5  { width: 41.3%; }
	.col-md-6  { width: 50%; }
	.col-md-7  { width: 58.3%; }
	.col-md-8  { width: 66%; }
	.col-md-9  { width: 75%; }
	.col-md-10 { width: 83.3% }
	.col-md-11 { width: 91.6% }
	.col-md-12 { width: 100%; }
}


body.mobile #primary, body.mobile #main, body.mobile #header, body.mobile #topmargin, body.mobile #footer {
	margin: 0 auto;
	width: 100%;
}

.sidebar-container {
	float: right;
	display: inline-block;
	vertical-align: top;
	max-width: 320px;
	width: 27%;
	margin-top: 22px;
}

.sidebar-container .sidebar {
	padding-left: 16px;
}

#rightcolumn {
	float: right;
	width: 120px;
}

#primary {
	display: inline-block;
	vertical-align: top;
	width: 73%;
	max-width: 880px;
	padding-bottom: 15px;
}

#home-header.one-columns,
#primary.one-column {
	width: 100%;
	max-width: 100%;
}

#primary.three-column {
	width: 534px;
}

#content {
	border: solid 2px white;
	overflow: hidden;
}

#content.store {
	padding-top: 10px;
}

#header .banner {
	text-align: right;
	margin: 0;
	padding: 16px 0 16px 16px;
	width: 100%;
	max-width: 588px;
}

#site-title a { text-decoration: none; }

#site-title-container {
	display: inline-block;
	padding: 15px 0;
	font-family: serif;
}

#site-title img,
#site-title-container h1 {
	display: block;
	margin: 0;
}

#race-begins {
	position: absolute;
	top: 196px;
	right: 150px;
}

#the-last-great-race {
	display: inline-block;
}

/*
.account-settings {
	display: inline-block;
	font-weight: bold;

	background-color: rgba(0, 96, 136, 0.6 );
}

.account-settings a {
	color: #6fc0e1;
}

.account-settings .title {
	text-transform: uppercase;
	color: #6fc0e1;
	background-color: #004D6D;
	height: 20px;
	line-height: 18px;
	font-size: 9px;
	text-align: center;
}

.account-settings .username {
	color: white;
}

/*
.account-settings-link {
	display: block;
	position: absolute;
	left: 0;
	bottom: 5px;
	width: 135px;
	font-size: 9px;
}
*/

.iditarod-nav-menu {
	position: relative;
}

.iditarod-nav-menu ul {
	list-style-type: none;
	padding: 0;
	margin: 0 auto;
	font-size: 0;
}

.iditarod-nav-menu .menu li a {
	display: block;
	line-height: 28px;
	padding: 0 10px;
	font-size: 13px;
	color: #000;
	font-weight: bold;
	text-decoration: none;
	position: relative;
}

.iditarod-nav-toggle {
	display: none;
	font-size: 16px;
	line-height: 28px;
	color: white;
	font-weight: normal;
	padding: 0 15px;

	cursor: pointer;
}

#nav-menu .iditarod-nav-toggle {
	color: #000;
}

#nav-menu-bg-full {
	width: 100%;
	background-color: #e8e8e8;
}

/* All of the top menu */
#nav-menu {
	width: 100%;
}

/* Top level */

/* Top level menu items, not sub-menus */
.iditarod-nav-menu .menu > li {
	display: inline-block;
	border-right: solid 1px #d0d0d0;
}

#menu-account-menu.menu > li {
	border-right: solid 1px #015478;
}

.iditarod-nav-menu .menu-item.hover > .sub-menu {
	display: block;
}

/* Sub menu */
.iditarod-nav-menu .sub-menu {
	position: absolute;
	display: none;
	z-index: 50;
	background-color: #d0d0d0;
}

.iditarod-nav-menu .sub-menu li a {
	margin: 0;
	padding: 0 15px;
}

.iditarod-nav-menu .sub-menu li a:hover,
.iditarod-nav-menu .sub-menu .sub-menu li a:hover {
	background-color: #ccc;
}

.iditarod-nav-menu .sub-menu li {
	position: relative;
}

.iditarod-nav-menu li.current-menu-item > a,
.iditarod-nav-menu li a:hover {
	background-color: #d0d0d0;
}

/* Sub-sub menu */
.iditarod-nav-menu .sub-menu .sub-menu {
	display: none;
	position: absolute;
	left: 95%;
	top: 1px;
	width: 170px;
	z-index: 50;
	background-color: #c0c0c0;
}

/* Nav menu has children - Arrows */
.iditarod-nav-menu .menu-item-has-children > a:after {
	padding-left: 0.5em;
	content: '\25BE';
	color: #215098;
}

#menu-account-menu > .menu-item > a {
	color: #fff;
}

.account-menu-newsletter { background-color: #51798c; }
.account-menu-subscriptions { background-color: #617873; }
.account-menu-cart { background-color: #756c58; }
.account-menu-my-account { background-color: #67453b; }
.account-menu-logout { background-color: #4f79a2; }

/* Notification numbers */
#nav-menu .menu-item a span {
	border-radius: 8px;
	padding: 0 3px;
	background-color: #bbb;
}

/* IE Menus */
.oldIE ul.tabs li,
.oldIE .iditarod-nav-menu .menu > li {
	float: left;
}

#topmargin {
	position: relative;
	overflow: hidden;
	padding: 10px 1px 0;
}

#topmargin img {
	display: block;
	margin: auto;
}

#topmargin-left {
	float: left;
	padding-bottom: 10px;
}

#topmargin-right {
	float: right;
	padding-bottom: 10px;
}

.ad-wrapper {
	position: relative;
	height: 0;
	overflow: hidden;
	max-width: 99%;
}

.ad-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Widgets */
.widget {
	position: relative;
	padding: 5px 13px;
	margin-bottom: 20px;
}

.widget ul { padding-left: 14px; }
.widget a { color: #abdbff; }
#sidebar-right .widget a { color: #abdbff; }

/* Default left widget is dark version */
#sidebar-left .widget,
#sidebar-left-teacher .widget {
	border: solid #015378 2px;
	padding: 0;
}

#sidebar-left .widget.widget_search {
	border: none;
}

/* Left widgets, light version */
#sidebar-left2 .widget,
#sidebar-left2-teacher .widget {
	background-color: #015478;
	color: #fff;
}

.widgettitle {
	font-size: 15px;
	margin: 0 0 13px 0;
}

ul.irw-slider { padding-left: 0; }

#sidebar-left2 .widgettitle, #sidebar-left2-teacher .widgettitle { color: #fff; }
#sidebar-right .widgettitle { color: #041d3d; text-align: center; }

#sidebar-top {
	margin: 15px auto;

	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
}

#sidebar-top .widget {
	flex: 0 0 auto;
	color: #015478;
	font-size: 14px;
	border: solid 1px #d2d0d0;
	display: block;
	margin-left: 5px;
	margin-right: 5px;

	padding: 0;
	min-height: 40px;
}

#sidebar-top .widget a {
	color: #015478;
}

@media (max-width: 1024px) {

	#sidebar-top {
		display: none;
	}
}

/* Countdown widget */
.itccountdown-container {
	text-align: center;
	margin-top: 2px;
	padding-right: 10px;
}

.itccountdown-container .countdownslot {
	width: 34px;
	font-size: 20px;
	line-height: 1;
	text-align: center;
}

.itccountdown-container .units {
	font-size: 10px;
	line-height: 1;
}

#sidebar-top .widget_itccountdown_widget {
	padding-top: 2px;
}

.itccountdown-label {
	display: inline-block;
	float: left;
	padding: 0 10px;
	font-size: 14px;
	font-weight: bold;
	color: #bc7d3a;
	text-align: center;
}

#sidebar-left .widget_itccountdown_widget,
#sidebar-left2 .widget_itccountdown_widget {
	padding: 8px;
}

#sidebar-left .widget_itccountdown_widget .itccountdown-label,
#sidebar-left2 .widget_itccountdown_widget .itccountdown-label {
	font-size: 16px;
}

#sidebar-left .itccountdown-container .countdownslot,
#sidebar-left2 .itccountdown-container .countdownslot {
	font-size: 24px;
	width: 2em;
}

/*
#sidebar-left .itccountdown-container,
#sidebar-left .itccountdown-container .countdownslot {
	width: 100%;
}
*/

#sidebar-left .widget.widget_itcwidget_social {
	border: none;
}

.widget.widget_itcwidget_social ul {
	list-style-type: none;
	padding-left: 0;
	margin: 0;
	display: flex;
	justify-content: space-between;
}

.widget_itcwidget_social li {
	margin-right: 10px;
}

.widget_itcwidget_social li:last-child {
	margin-right: 0;
}

.sidebar .widget.widget_itcwidget_newracestandings,
.sidebar .widget.widget_itcfavoritemusher_widget {
	font-size: 12px;
}

#sidebar-left .widget.widget_itcwidget_newracestandings,
#sidebar-left .widget.widget_itcfavoritemusher_widget,
#sidebar-left2 .widget.widget_itcwidget_newracestandings,
#sidebar-left2 .widget.widget_itcfavoritemusher_widget {
	padding: 10px;
}

#sidebar-left .widget.widget_itcwidget_newracestandings,
#sidebar-left .widget.widget_itcfavoritemusher_widget {
	background-color: #eaf9ff;
}

#sidebar-left .widget.widget_itcwidget_newracestandings a,
#sidebar-left .widget.widget_itcfavoritemusher_widget a {
	color: #024a6d;
}


#bottombanner {
	clear: both;
	width: 677px;
	height: 92px;
	margin: 20px auto 0 auto;
	background-color: #00344c;
}

#footer-full {
	background-color: #00344C;
	overflow: hidden;
	clear: both;
}

#footer {
	clear: both;
	padding: 20px 0;
	color: #fff;
	font-size: 15px;
}

#footer h3,
#footer h2 {
	color: #fff;
}

#sidebar-footer1 {
	text-align: center;
}

#sidebar-footer1 .widget {
	text-align: left;
}

#sidebar-footer1 .widget {
	display: inline-block;
}

.widget ul.partner-logos {
	list-style-type: none;
	padding-left: 0;
}

.widget .partner-logos li {
	display: inline-block;
	padding: .5em 1em;
}
#sidebar-footer2 {
	display: flex;
	justify-content: space-between;
}

#sidebar-footer2 .widget {
	vertical-align: top;
}

#leftbottom {
	float: left;
	width: 27%;
	max-width: 319px;
	padding-left: 5px;
	box-sizing: border-box;
}

body.mobile #leftbottom {
	padding-left: 2em;
}

#sidebar-footer2 .widget_nav_menu .menu {
	list-style-type: none;
	padding-left: 0;
}

#bottom-menu {
	float: left;
	width: 73%;
	margin: 0 auto;
	text-align: center;
}

#bottom-menu .menu {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#bottom-menu .menu li {
	display: inline;
	padding: 0 11px;
}

#bottom-menu li a {
	text-decoration: none;
	color: #fff;
}

#copyright-full {
	background-color: #000;
	overflow: hidden;
	clear: both;
}

#copyright {
	background-color: #000;
	color: #fff;
	margin: 1em 20px;
}

/* User profile form */
.user-form label { display: block; float: left; width: 130px; }
/* Align error message properly, when presented. This should equal the width in the rule: #registration_form label */
.user-form .indent { padding-left: 130px; }
.user-form .required { color: red; font-size: 0.8em; }
.req { color: red; }
#payment_info { display: none; }

#free_membership { margin: 15px; }
#free_membership label,
#subscription_types label {
	display: inline;
	float: none;
	width: auto;
}

/* Special widgets */
.racestandings {
	width: 100%;
}
.racestandings td {
	font-weight: bold;
	text-align: left;
}

.widget .moreinfo {
	text-align: right;
	font-size: 11px;
	margin: -2px -6px;
}

.widget .moreinfo a {
	color: #5cbaff;
}

.widget_itcphotooftheday_widget .photo {
	border: 4px solid #fff;
}

.widget_itcphotooftheday_widget .credit {
	text-align: center;
	font-size: 10px;
}

a.musher-link {
	text-decoration: underline;
}

/* Not currently used */
.musher-number {
	width: 100%;
	font-weight: bold;
}
.musher-number .num {
	color: #aadbff;
}

.moreinfo a {
	color: #5cbaff;
	font-weight: bold;
}

.more-videos .nav-links {
	text-align: right !important;
}

.more-videos a {
	color: #082239 !important;
}

.video-thumbs-container .moreinfo {
	background-color: #80a8b9;
	text-align: right;
	position: relative;
	right: auto;
	bottom: auto;
	padding: .5em 1em;
}

.video-thumbs-container .moreinfo a {
	color: #000;
	font-weight: bold;
	text-transform: uppercase;
}

/* Bottom placement of moreinfo link */
.post-list .moreinfo {
	position: absolute;
	right: 6px;
	bottom: 5px;
	font-size: 11px;
}

/* colors: */
.lightblue { color: #aadbff; }
.brightblue { color: #5cbaff; }
.anotherblue { color: #84bbe5; }
.darkblue { color: #001537; }

.nobr { white-space: nowrap; }
.clear { clear: both; }
.clear0 { clear: both; height: 0; display: block; }
/*.shadowbox { margin-bottom: 2em; box-shadow: 8px 8px 10px -5px #222; } */
.shadowbox { box-shadow: 8px 8px 10px -5px #222; }

/* Homepage */
.home h1,
.home h2,
.home h3,
.home h4,
.home h5 {
	color: #024a6d;
}

.home #content {
	border: none;
	background: none;
	padding: 10px 0 0 0;
}

/* Homepage videos */
.video-thumbs-container.home-video-thumbs-container {
	margin-bottom: 2em;
}

.home-video-thumbs-container .video-thumbs {
	background-color: #51798c;
	height: auto;
	padding-bottom: 14px;

	display: flex;
	flex: 1 1 auto;
	justify-content: space-around;
	flex-wrap: wrap;
}

.home-video-thumbs-container .video { margin: 0 11px; }
.home-video-thumbs-container .vidtitle { color: white; }
.home-video-thumbs-container .viddesc { color: #abdbff; }

.video-thumbs {
	position: relative;
	padding: 0 4px;
	background-repeat: repeat-x;
	background-color: #001e37;
}

/* Video */
.video-thumbs .video {
	width: 113px;
	height: 120px;
	overflow: hidden;
	font-size: 9px;
	font-weight: bold;
	margin: 12px 8px 0;
	text-align: center;
}

.video-thumbs .vidtitle   { font-size: 11px; font-weight: bold; color: white; }
.video-thumbs .viddesc    { font-size: 9px; color: #abdbff; }
.video-thumbs .vidthumb   { display: block; width: 109px; height: 62px; margin-bottom: 5px; background-color: #888; }

.video-list .video {
	margin-top: 20px;
}

.video-list .vidthumb {
	width: 100px;
	height: 63px;
	background-color: #888;
	margin-right: 15px;
	float: left;
}

.videoplayer-container {
	position: relative;
	margin: 0 28px;
	overflow: hidden;
}

.videoplayer {
	background-size: cover;
	width: 100%;
	height: 54%;
}

.videoplayer-prethumb {
	width: 100%;
	height: auto;
}

.videoplayer-description {
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 10px 2px 10px;
	max-height: 100px;
	overflow-y: auto;
}

.video-thumbs div.video:hover .vidtitle,
.videoplayer-description.hover {
	color: #ffff00;
}

.videoplayer-heading {
	margin: 0;
}

.videoplayer-title {
	font-weight: bold;
}

#content ul.itc-tabs {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

/* Top level menu items, not sub-menus */
ul.itc-tabs li {
	display: inline-block;
	font-weight: bold;
	font-size: 13px;
	height: 28px;
	margin-right: 5px;
	margin-bottom: 5px;
	line-height: 28px;
	color: #ffffff;
	background-color: #888;
}

ul.itc-tabs li.label {
	background-color: inherit;
	color: inherit;
}

ul.itc-tabs li a {
	color: inherit;
	padding: 0 16px;
	display: block;
	text-decoration: none;
}

ul.itc-tabs li.current a,
ul.itc-tabs li a:hover {
	background-color: #006C7F;
}

/* 2019 new design post listings, brought over from edu */

.post-listing {
	background-color: #eaf9ff;
	font-size: 12px;
	overflow: hidden;
	margin: 0 0 30px 0;
}

.post-listing.post-listing-even {
	background-color: #f8f8f8;
}

.post-listing-head {
	background-color: #5b81b4;
	position: relative;
}

.featured-post {
	display: inline-block;
	background-color: #0099ff;
	color: #fff;
	border-radius: 5px;
	font-weight: bold;
	padding: 5px;
	margin: 3px;

	float: right;
}

#content h1.post-title {
	margin-top: 20px;
}

#content .post-listing .post-title {
	padding: 5px 15px;
	margin: 0;
	font-size: 18px;
}

.post-listing .post-title a {
	color: #fff;
}

.post-listing .post-meta {
	padding: 10px 15px;
	color: #000;
}

.post-listing .post-excerpt {
	padding: 5px 15px;
	color: #4C6C96;
}

.post-listing .read-more a {
	display: block;
	float: right;
	font-size: 12px;
	color: white;
	font-weight: bold;
	background-color: #5b81b4;
	border-radius: 2px;
	padding: 10px 12px;
	margin-right: 15px;
	margin-bottom: 10px;
}

.post-single .post-meta {
	font-weight: bold;
	font-style: italic;
}

/* Used with category_posts shortcode */
.post-single .post-listing .post-meta {
	font-weight: normal;
	font-style: normal;
}

.post-edit-link {
	color: #fff;
	background-color: #668CBC;
	border-radius: 4px;
	padding: 4px 10px;
	position: absolute;
	top: 5px;
	right: 5px;
}


/* Post list, was #home-news */
/*
.post-list                { position: relative; padding: 12px 8px; }
.post-list .entry-title   { font-weight: bold; text-decoration: underline; font-size: 13px; }
.post-list .entry-date    { font-size: 11px; }
.post-list .entry-excerpt { font-size: 11px; }
*/

/* Musher page */
#musher-pic {
	float: left;
	margin: 15px 20px 15px 0;
}

.musher {
	float: left;
	margin: 10px 15px;
	font-size: 10px;
	text-align: center;
	height: 135px;
	width: 90px;
}

.musher img { width: 90px; }

.paging { font-weight: bold; margin-top: 1em; }
.paging-next { float: right; }
.paging-previous { float: left; }

/* Checkpoint detail */
.map {
	margin-left: 10px;
	text-align: center;
}

/* Race/Archive listings */

.stats-table-wrapper {
	overflow-x: auto;
}

.stats-table {
	width: 100%;
	min-width: 700px;
	border-collapse: collapse;
}

.racepage-standings .stats-table {
	/* No select - disabled post-race.
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	 */
}

.stats-table th, .stats-table td { padding: 5px; }
.stats-table tr.statusupdated, .statusupdated { background-color: #FFE180 !important; }

.show-insight {
	position: relative;
	cursor: pointer;

}

.insights { border-collapse: collapse; }
.insights td { border: none !important; padding: 10px; }
.insights th { border: none !important; text-align: left !important; font-size: 12px !important; }

#insight-bubble {
	position: absolute;
	border: 1px solid #55db55;
	background-color: #e0ffe0;
	padding: 5px;
	right: 30px;
	z-index: 10;
	min-width: 405px;
}

#insight-bubble-close {
	float: right;
	background: url(images/icon-close.png) no-repeat;
	height: 16px;
	width: 16px;
}

/* Current Standings specific */
.current-standings.stats-table th {
	vertical-align: bottom;
	text-align: center;
	border: solid 1px #fff;
}
.current-standings.stats-table td {
	font-size: 11px;
	border: solid 1px #fff;
	text-align: center;
}

div.success, p.success {
	padding: 5px;
	border: 1px solid #55db55;
	background-color: #e0ffe0;
	color: #333;
}

div.error, p.error {
	padding: 5px;
	margin-bottom: 5px;
	border: 1px solid #e6db55;
	background-color: #ffffe0;
	color: #333;
}

/* Career archive table */
.career.stats-table th,
.stats-table.career td {
	text-align: center;
}

.career.stats-table td.label-prize,
.career.stats-table td.label-champion,
.career.stats-table td.label-top10 {
	text-align: right;
	font-weight: bold;
}

td.place-first, tr.place-first td {
	background-color: #DE8900;
	color: white;
}
td.place-first a, tr.place-first td a {
	color: #eee;
}

td.place-top10, tr.place-top10 td {
	background-color: #EDA532;
}

/* Registration forms, etc. */
fieldset {
	margin: 10px 0;
	padding: 10px 15px;
	border: solid #006088 2px;
}

legend {
	font-weight: bold;
}

/* Button Customizations */


/* Counters, etc. in activity feeds but probably elsewhere */

a.button span {
	border-radius: 8px;
	padding: 0 3px;
	margin-left: 5px;
	text-align: center;
	background-color: #bbb;
}


#volunteerform td,
.volunteerform td {
	padding: .5em;
}

#race-breadcrumbs {
	margin: 1em 0;
	font-weight: bold;
}

.race-header-container {
	margin: 1em 0;
}

.checkpoint-nav {
	font-size: 1.5em;
	font-weight: bold;
	margin: 1em 0;
}

.checkpoint-nav-prev { float: left; }
.checkpoint-nav-next { float: right; }

/* Author bio template */
.authorbox { background-color: #006088; color: white; padding: 1em; margin-top: 1em; margin-bottom: 2em; }
.authorbox a { color: white; }
.authorbox h1 { color: #EAF8FE; margin: 0; font-size: 1.5em; }
.authorbox .avatar { float: left; margin-right: 1em; }
.authorbox .social-container {
	float: right;
	margin: 0 .5em 0 1em;
	padding: .7em;
	border: solid #004D6D 2px;
	background-image: url( images/gradient-146px.png );
	background-repeat: repeat-x;
	background-color: #001e37;

}
.authorbox .social { padding-left: 1.8em !important; }
.authorbox .social-container h3 { margin: 0; color: #ccc; font-size: 1.1em; }
.authorbox .biography { font-size: 0.9em; display: block; }

.ui-tooltip {
	position: absolute;
	background-color: #ffffcc;
	padding: .4em;
	margin: 0;
	border: solid #ccc 1px;
	border-radius: 6px;
}

.shadowbox .openx { display: block }

#content .wooslider ol, #content .wooslider ul { padding: 0 !important; }
.slide-title a {color: white}
.home .wooslider { border: none; border-radius: 0; margin-bottom: 2em; }

/* Used by empty images */
/*.home .slider, .home .wooslider li.slide > div { min-height: 200px; }*/

.wooslider-control-paging li a { background-color: rgba( 255, 255, 255, .6 ) !important; }
.wooslider-control-paging li a.wooslider-active { background-color: rgba( 255, 255, 255, .8 ) !important; }

/* Wooslider Iditarod Panels */

.wooslider-type-iditarod-panels {
	display: flex;
	flex-wrap: wrap;
	background-color: #b0c9d5;
}

.wooslider-type-iditarod-panels .slide-num-1 {
	flex: 3 1 auto;
	margin-right: 5px;
}

body .wooslider.wooslider-type-iditarod-panels ul.slides {
	flex: 2 1 auto;
	max-width: 40%;
	display: flex;
	flex-wrap: wrap;
	margin: -3px;
}

.wooslider-type-iditarod-panels .slides::after {
	content: unset;
}

.wooslider.wooslider-type-iditarod-panels .slides > li {
	display: block;
	float: none;
	flex: 1 1 200px;
	margin: 3px;
}

.wooslider.wooslider-type-iditarod-panels .slides .slide-title {
	font-size: 12px;
}

.wooslider-type-iditarod-panels .has-featured-image {
	max-height: unset;
	min-height: unset;
	height: 100%;
}

.wooslider-type-iditarod-panels .overlay-full img {
	height: 100% !important;
	width: 100%;
}

@media ( max-width: 1029px ) {

	.wooslider-type-iditarod-panels .slide-num-1 {
		margin-right: 0;
	}

	body .wooslider.wooslider-type-iditarod-panels ul.slides {
		max-width: 100%;
		margin: 0;
	}

	.wooslider.wooslider-type-iditarod-panels .slides > li {
		flex-basis: 47%;
	}
}
/*
@media (max-width: 768px) {
	.wooslider.wooslider-type-iditarod-panels .slides > li {
		flex-basis: 260px;
	}

}
*/

/* Search widget */

#searchform > div {
	display: flex;
	justify-content: space-between;
}

.widget #s {
	width: 65%;
	line-height: 20px;
	font-family: Arial;
	border: solid 1px #eee;
	padding-left: 10px;
	box-sizing: border-box;
}

.widget #searchsubmit {
	width: 30%;
	border: none;
	line-height: 26px;
	font-family: Arial;
	background-color: #eee;
}

/* Search page */
.page-search-text { width: 20em; }

/* Standings table sort */
.tablesorter-default .header,
.tablesorter-default .tablesorter-header {
	cursor: pointer;
	white-space: normal;
}

.tablesorter-default thead .headerSortUp .tablesorter-header-inner,
.tablesorter-default thead .tablesorter-headerSortUp .tablesorter-header-inner,
.tablesorter-default thead .tablesorter-headerAsc .tablesorter-header-inner {
	background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);
	background-position: center right;
	background-repeat: no-repeat;
	padding-right: 20px;
}

.tablesorter-default thead .headerSortDown .tablesorter-header-inner,
.tablesorter-default thead .tablesorter-headerSortDown .tablesorter-header-inner,
.tablesorter-default thead .tablesorter-headerDesc .tablesorter-header-inner {
	background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);
	background-position: center right;
	background-repeat: no-repeat;
	padding-right: 20px;
}

/* Slider */
.has-featured-image {
	max-height: 500px;
	overflow: hidden;
}

/* bbPress */
#bbpress-forums {
	padding-top: 10px;
}

#bbp-your-profile {
	padding-left: 180px;
}


#bbpress-forums fieldset.bbp-form {
	clear: none;
	border: none;
}

#bbp-your-profile fieldset {
	border: none;
}

#bbpress-forums .avatar {
	display: none;
}

#bbp-single-user-details {
	padding-top: 20px;
}


.itc-required-field:after {
	content: '*';
	color: red;
}

.itc-form-row {
	margin-bottom: 1em;
}

.wpcf7-list-item {
	display: block;
}

span.wpcf7-list-item {
	min-width: 30px;
}

.media-survey li {
	margin-bottom: 1em;
}

.full-width {
	width: 100%;
	box-sizing: border-box;
}

.hidelabel .wpcf7-list-item-label {
	display: none;
}

.inline-checkbox .wpcf7-list-item {
	display: inline !important;
}

.itc-form-notice {
	border: solid 2px orange;
	background-color: #ffffcc;
	padding: 1em;
	margin: 1em;
}

.itc-form-response-wrapper {
	display: inline-block;
}

div.wpcf7-response-output {
	padding: 2em !important;
	background-color: white;
	font-weight: bold;
}

/*
.racecenter #sidebar-left .widget {
	background: none;
	border: none;
	padding-left: 0;
	padding-right: 0;
}

.racecenter .widgettitle {
	margin-bottom: 5px;
}

*/
/* Dashboard and New layout */

#content.racecenter h1,
#content.racecenter h2,
#content.racecenter h3,
#content.racecenter h4,
#content.racecenter h5 {
	margin-top: 0;
	margin-bottom: 5px;
}

.racecenter .sectiontitle {
	font-size: 15px !important;
}

.racecenter h2 {
	font-size: 18px;
}

#content.racecenter {
	padding: 5px 0 0 0;
}

/* New style tabs, leave .itc-tabs alone in case it's used elsewhere (products?) */
#content ul.video-category-tabs {
	list-style-type: none;
	padding: 0 28px;
	margin: 0;

	background-color: #AFE4F2;

	text-transform: uppercase;
	font-size: 14px;
	font-weight: bold;
	line-height: 2;

}

ul.video-category-tabs li {
	display: inline-block;
}

ul.video-category-tabs li:after {
	content: '|';
	padding: 0 15px;
}

ul.video-category-tabs li:last-child:after {
	content: '';
	padding-left: 0;
}

ul.video-category-tabs li a {
	color: black;
}

ul.video-category-tabs li.current a {
	color: #0A668D;
}

.racecenter .racestandings {
	width: 100%;
	border-spacing: 0;
	font-size: 0.9em;
}

.racecenter .racestandings thead {
	background-color: #8BACBD;
	color: black;
}

.racecenter .racestandings tfoot,
.racecenter .racestandings tbody {
	background-color: #ADC8D9;
}

.racecenter .racestandings tbody td {
	border-bottom: solid 1px #8BACBD;
}

.racecenter .racestandings {
	border-bottom: solid 12px #8BACBD;
}

.racecenter .racestandings th {
	padding: 10px 10px;
}

.racecenter .racestandings td {
	padding: 6px 10px;
	font-weight: normal;
	color: #555;
}

.racecenter .racestandings .col-pos {
	text-align: center;
	color: black;
}

.racecenter .racestandings td a {
	color: black;
}

.racecenter .racestandings .moreinfo {
	text-align: right;
	margin: 0;
}

.video-library {
	background-color: #CAEAF5;
}

.main-video-player {
	background-color: #94B2CE;
}

.main-video-player.no-videos {
	text-align: center;
	padding: 50px 0;
	font-weight: bold;
	font-size: 2em;
	color: white;
}

.itcv-video-thumbs .video {
	overflow: hidden;
	margin-bottom: 15px;
	margin-top: 15px;
}

.itcv-video-thumbs .vidtitle {
	color: black;
	font-size: 1.1em;
	font-weight: bold;
	display: block;
}

.itcv-video-thumbs .vidtitle a {
	color: black;
}

.itcv-video-thumbs .viddesc {
	overflow: hidden;
	font-size: .9em;
}

.itcv-video-thumbs .viddate {
	color: #4F98BC;
}

.video-library .navigation {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1.1em;
	overflow: hidden;
}

.video-library .navigation .nav-links {
	margin: 10px;
	text-align: center;
}

.video-library .navigation .nav-links > * {
	padding: 5px 10px;
}

.video-library .navigation .nav-links > a {
	color: #90adbb;
}

.video-library .navigation .nav-links > a:hover,
.video-library .navigation .current {
	color: #082239;
}

/* Video Library widget */
.widget_itcwidget_videolibrary .widget-container {
	background: #CCEAF6;
	color: #555;
}

.widget_itcwidget_videolibrary .widget-container a {
	color: black;
}

.widget_itcwidget_videolibrary .video-list {
	padding: 5px;
}

.widget_itcwidget_videolibrary .video-list .row {
	max-height: 70px;
}

.widget_itcwidget_videolibrary .widget-container .col-md-8 {
	padding-left: 10px;
}

.widget_itcwidget_videolibrary .widget-container .vidtitle {
	font-weight: bold;
	font-size: 1.1em;
}

.widget_itcwidget_videolibrary .widget-container .viddesc {
	font-size: 0.9em;
}

.widget_itcwidget_videolibrary .videoplayer-container {
	margin: 0;
}

.widget_itcwidget_videolibrary .moreinfo {
	margin: 0;
}

/*
.racecenter .video-thumbs .video {
	display: inline-block;
}

*/

/* WP Core style */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* CTA in player */
#video_iditarod_cta {
	position: absolute;
	bottom: 30px;
	left: 0;
	right: 0;
	text-align: center;
}

#video_iditarod_cta.jw-hidden {
	display: none;
}

#video_iditarod_cta img {
	max-width: 100%;
}

.video_popup_click {
	cursor: pointer;
}

.standings-banner {
	max-height: 100px;
	background-color: #fff !important;
}

@media print {
	.standings-banner {
		display: none;
	}

	.no-print {
		display: none !important;
	}
}

.video-banner-hide {
	position: absolute;
	right: 5px;
	top: 5px;
	display: block;
	width: 16px;
	height: 16px;
	background: url( 'images/icon-close.png' ) no-repeat;
	text-indent: -9999px;
}

.video-banner-row {
	position: relative;
}

.video-banner-header {
	background-color: #004D6D;
	font-weight: bold;
	color: white;
	font-size: 16px;
	margin: -5px -5px 5px -5px;
	padding: 10px;
	text-align: left;
}

.video-banner-header a {
	color: white;
}

.video-banner-col {
	width: 50%;
	float: left;
	padding: 0 30px;
	box-sizing: border-box;
}

.video-banner-image {
	float: left;
	max-width: 50%;
	max-height: 100px;
	margin-right: 10px;
}

.video-banner-details {
	text-align: left;
	max-height: 100px;
	overflow: hidden;
}

.video-banner-title {
	font-weight: bold;
	font-size: 1.7em;
}


/* Container of all elements */
.popup-wrapper {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;

	text-align: center;
}

/* Container visibility toggle */
.popup-active {
	display: block;
}

/* Backdrop */
.popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 10001;
	background-color: rgba( 0,0,0,0.8 );
}

/* Container for content area */
.popup-container {
	position: relative;
	z-index: 10002;
	box-sizing: border-box;
	margin: 50px auto 0;
	padding: 0;
	max-width: 90%;

	display: inline-block;
	text-align: left;
}

.popup-content {
	border-radius: 10px;
	padding: 10px;
	background-color: #fff;
	overflow: hidden;
}

.popup-close {
	position: absolute;
	top: -10px;
	right: -10px;

	display: block;
	width: 28px;
	height: 28px;
	line-height: 28px;
	border-radius: 50%;
	border: solid #888 1px;
	background-color: #ccc;
	color: #000;
	text-align: center;

}

a.popup-close:hover {
	text-decoration: none;
	background-color: #35A8DF;
}

#jb_popup_overlay {
	display: none;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 10000;
	background-color: rgba( 0,0,0,0.8 );
}

#jb_popup_container {
	position: relative;
	margin: 50px auto;
	padding: 45px 20px 20px;
	max-width: 90%;
	width: 900px;

	background-color: #fff;
	border-radius: 10px;
	box-sizing: border-box;
}

#jb_popup_close {
	position: absolute;
	display: block;
	top: 10px;
	right: 10px;
	border-radius: 6px;
	padding: 5px;
	background-color: #327FA2;
	color: white;
	font-size: 14px;
}




/* Responsive main content area */
@media ( max-width: 1023px ) {

	.sidebar-container {
		display: block;
		float: none;
		width: 100%;
		max-width: none;

	}

	.sidebar-container .sidebar {
		display: inline-block;
		vertical-align: top;
		max-width: 318px;
		padding-right: 15px;
	}

	#primary {
		display: block;
		width: 100%;
		padding-left: 15px;
		padding-right: 15px;
	}

	#content {

	}

	#topmargin {
		padding: 10px 5px 0;
		float: none;
	}

	#topmargin #topmargin-left,
	#topmargin #topmargin-right {
		float: none;
		text-align: center;
	}

	#header .banner {
		padding-left: 0;
	}

}

@media ( max-width:640px ) {
	/*
	#header .banner {
		padding: 0;
		border-top: solid 2px #004D6D;
		border-bottom: solid 2px #004D6D;
	}
	*/
}

/* Menus */

/* Dropdown menu
@media screen and (min-width: 641px) {
	#account-menu .menu-item:hover > .sub-menu,
	#nav-menu .menu-item:hover > .sub-menu {
		display: block;
	}
}
*/

@media ( max-width: 640px ) {

/*
	#header {
		padding-left: 15px;
		padding-right: 15px;
	}
*/
	.account-settings {
		display: block;
	}

	.iditarod-nav-toggle {
		display: block;
	}

	.iditarod-nav-menu .menu {
		display: none;
	}

	.iditarod-nav-menu.iditarod-nav-toggle-on .menu {
		display: block;
	}

	.iditarod-nav-menu .menu > li.menu-item {
		display: block;
		/*background-color: #006088; */
	}


	.iditarod-nav-menu .sub-menu {
		position: relative;
		display: none;
		margin-left: 15px;
	}

	.iditarod-nav-menu .sub-menu .menu-item {
/*		padding-left: 10px; */
	}

	/* Sub-sub menu */
	.iditarod-nav-menu .sub-menu .sub-menu {
		position: relative;
		top: 0;
		left: 0;
		width: auto;

	}

	.iditarod-nav-menu li.current-menu-item > a,
	.iditarod-nav-menu li a:hover {
		background-color: #ccc;
	}

	.iditarod-nav-menu .menu-item-has-children > a:after {
		content: '\25B8';
		display: block;
		position: absolute;
		top: 0;
		right: 15px;
	}

	.iditarod-nav-menu .menu-item-has-children.hover > a:after {
		content: '\25BE';
	}
}

/* Insider package styles */
.insider-pkg {
	padding-right: 5px;
	padding-bottom: 2em;
}

.insider-pkg-heading {
	background-color: #09c;
	height: 60px;
	padding: 10px;
	margin-bottom: 10px;
	text-align: center;
}

.insider-pkg-edu .insider-pkg-heading {
	height: 150px;
}

.insider-pkg-price {
	text-align: center;
	font-size: x-large;
	font-weight: bold;
	color: #008000;
}

.insider-pkg-price-free {
	color: #3366ff;
}

@media screen and (min-width: 1024px) {
	.insider-pkg-details {
		min-height: 150px;
	}
}

#content .insider-pkg-highlights {
	color: #36f;
}

.iditarodalerts-form {
	padding: 10px;
	line-height: 2;
	margin: 1em 0;
}

.iditarodalerts-message {
	background-color: #eaf9ff;
	padding: .2em .5em;
	margin: 1em 0;
	border: solid black 1px;
}

.iditarodalerts-message p {
	margin: 10px 0;
}

.iditarodalerts-message p::before {
	display: inline-block;
	content: '➤';
	padding-right: .5em;
}

.iditarodalerts-message-error {
	border-color: red;
	color: red;
}

.iditarodalerts-message-warning {
	border-color: #ce873b;
	color: #ce873b;
}

.iditarodalerts-form .button {
	border-radius: 2px;
	border: solid 1px #222;
	padding: 3px 5px;
	margin-left: 5px;
	text-align: center;
	background-color: #eee;
}

.iditarodalerts_phonenumber label {
	font-weight: bold;
	padding-right: 2em;
}

.iditarodalerts_phonenumber input {
	padding: .2em .5em;
}


/* Override WC Subscriptions responsive table styling. Float isn't necessary. */
@media only screen and (max-width: 850px), (min-device-width: 768px) and (max-device-width: 1024px) {

	/* Force table to not be like a table anymore */
	html .woocommerce table.my_account_subscriptions,
	html .woocommerce table.my_account_subscriptions thead,
	html .woocommerce table.my_account_subscriptions tbody,
	html .woocommerce table.my_account_subscriptions th,
	html .woocommerce table.my_account_subscriptions td,
	html .woocommerce table.my_account_subscriptions tr { 
		float: none;
	}
}

/* Easy toggle switch */

/*
Markup example:
<label class="toggle-switch">
	<input type="checkbox" class="assignment-toggle" checked="checked">
	<span class="slider round"></span>
</label>
*/

 /* The switch - the box around the slider */


.toggle-switch {
	position: relative;
	display: inline-block;
	width: 34px;
	height: 20px;

	--default-bgcolor: #666;
	--checked-bgcolor: #2196F3;
	--disabled-bgcolor: #ccc;
}

/* Hide default HTML checkbox */
.toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

/* The slider */
.toggle-switch .slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--default-bgcolor);
	-webkit-transition: .4s;
	transition: .4s;
}

.toggle-switch .slider:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

.toggle-switch input:checked + .slider {
	background-color: var(--checked-bgcolor);
}

.toggle-switch input:disabled + .slider {
	background-color: var(--disabled-bgcolor);
}

.toggle-switch input.processing + .slider {
	opacity: .5;
}


.toggle-switch input:focus + .slider {
	box-shadow: 0 0 1px var(--checked-bgcolor);
}

.toggle-switch input:checked + .slider:before {
	-webkit-transform: translateX(14px);
	-ms-transform: translateX(14px);
	transform: translateX(14px);
}

/* Rounded sliders */
.toggle-switch .slider.round {
	border-radius: 10px;
}

.toggle-switch .slider.round:before {
	border-radius: 50%;
}

/* Large styling of toggle */
.toggle-switch.toggle-switch-large {
	width: 60px;
	height: 34px;
}

.toggle-switch.toggle-switch-large .slider.round {
	border-radius: 34px;
}

.toggle-switch.toggle-switch-large .slider:before {
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
}

.toggle-switch.toggle-switch-large input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}
