                            /***
British Triathlon theme
***/

a {
	color: #1e428a;
	font-weight: bold;
}

a:hover,a:focus {
	color: #1e428a;
}

a.type_pdf {
	background: url('../../img/icon-pdf.png') no-repeat 0 50%;
	display: inline-block;
	margin-right: 25px;
	padding-left: 25px;
}

a.type_word {
	background: url('../../img/icon-word.png') no-repeat 0 50%;
	display: inline-block;
	margin-right: 25px;
	padding-left: 30px;
}

a.type_excel {
	background: url('../../img/icon-excel.png') no-repeat 0 50%;
	display: inline-block;
	margin-right: 25px;
	padding-left: 30px;
}

.btn {
	font-weight: bold;
}

.btn.first,
.btn.first:focus,
.btn.first:active {
	margin-left: 0;
}

.help-tip {
	color: #1e428a;
	cursor: help;
	font-size: 23px;
	margin-left: 10px;
	vertical-align: middle;
}


/***
Reset and overrides  
***/
body { 
	background: #ffffff url(../../img/bg.gif) repeat 0 0 !important;
	font-family: 'Trebuchet MS', Helvetica, Arial, Sans-serif;
	text-rendering: optimizeLegibility;
	-webkit-text-size-adjust:none;
}

/* Fix weird overflow issue with theme */
.navbar-fixed-top 
.navbar-inner, 
.navbar-fixed-bottom 
.navbar-inner {
	padding: 0 !important;
}

/*---------------------------------------------------------------
 Direct Overrides Styles
 --------------------------------------------------------------*/

.form-wizard .active .step .number {
	background: #1e428a;
}

.control-group.grid label {
	display: inline-block;
	margin-bottom: 15px;
	width: 200px;
}

.m-wrap.large {
	width: 428px !important;
	height: 38px !important;
}

input.m-wrap {
	border: 1px solid #dbdbdb;
	height: 24px !important;
}
	.add-on {
		height: 28px !important;
	}
		.add-on i {
			margin-top: 7px !important;
		}

.m-wrap.large {
	height: 24px !important;
}

textarea.m-wrap.large {
	border-color: #dbdbdb;
	height: auto !important;
}

	textarea.m-wrap.large:focus {
		border-color: #999999;
	}

.m-wrap.med {
	width: 95% !important;
}

.m-wrap.medium-large {
	width: 300px !important;
}


.m-wrap.field-short {
	height: 20px !important;
}

.form-horizontal .form-footer {
	margin-left: 0;
}


.date-custom {
	width: 100%;
}
	.date-custom input {
		width: 90%;
	}


.controls-tools-link {
	display: inline-block;
	font-size: 14px;
	line-height: 30px;
	margin-left: 10px;
	vertical-align: middle;
}


/* General */

.section-head {
	font-size: 14px;
	font-weight: bold;
}


.custom-table-head div.caption{
		float: left;
		width: 40%;
}
	.custom-table-head div.tools a.custom-title-header{
		float: left;
		width: 100%;
	}


.transition, .transition:hover  {
		transition: all 0.25s ease-in-out;
		-webkit-transition: all 0.25s ease-in-out;
		-moz-transition: all 0.25s ease-in-out;
		-ms-transition:  all 0.25s ease-in-out;
		-o-transition: all 0.25s ease-in-out;
}

.transition-fast, .transition-fast:hover  {
		transition: all 0.15s ease-in-out;
		-webkit-transition: all 0.15s ease-in-out;
		-moz-transition: all 0.15s ease-in-out;
		-ms-transition:  all 0.15s ease-in-out;
		-o-transition: all 0.15s ease-in-out;
}

.page-container.page-wrap {
	margin-top: 0;
}

.page-content {
	-webkit-border-radius: 5px !important;
	-webkit-border-top-left-radius: 0 !important;
	-moz-border-radius: 5px !important;
	-moz-border-radius-topleft: 0 !important;
	border-radius: 5px !important;
	border-top-left-radius: 0 !important;
	border: 1px solid #d1d1d1;
}

.page-content.wide {
	border-top-left-radius: 5px !important;
	margin-left: 10px;
}

h4.form-section {
	font-size: 20px;
}

a.small {
	font-size: 14px;
}

a.morelink {
	display: inline-block;
	font-size: 16px;
}

h5 {
	font-weight: bold;
	margin-top: 20px;
}

.form-section {
	border: none !important;
}

.clear {
	clear:both;
}

.divider-bottom {
	border-bottom: 1px solid #ddd;
	margin: 25px 0px;
	padding-bottom: 25px;
}

.divider-top {
	border-top: 1px solid #ddd;
	margin: 25px 0px;
	padding-top: 25px;
}

dl.list-no-indent {
	margin: 0px;
}

	dl.list-no-indent dd {
		margin: 10px 0px;
	}

.hidden {
	display: none;
}

.custom-red,
.custom-red:active,
.custom-red:focus {
	color: #ffffff;
	background-color: #1e428a !important;
	min-width: 120px;
	margin-left: 15px;
}

	.custom-red:hover {
		color: #ffffff;
		background-color: #1e428a !important;
	}

	.custom-red.small {
		min-width: 0 !important;
	}


	.alert-custom {
		background: #f2f2f1 url(../../img/icon-notification.png) no-repeat 10px center;
		background-size: 17px 17px;
		border: 1px solid #dcdbda;
		color: #1e428a;
		font-weight: bold;
		margin-left: 5px;
		margin-right: 5px;
	}


	.news_items {
		list-style-type: none;
		margin: 0;
		padding: 5px;
	}

		.news_items li {
			background: #f1f1f1;
			margin: 0 0 15px 0;
			padding: 15px;			
		}

			.news_items li.last {
				margin-bottom: 0;
			}

			.news_items li .title, 
			.news_items li .readmore {
				font-size: 14px;
			}

			.news_items li .date,
			.news_items li .excerpt {
				color: #434343;
				font-size: 14px;
			}


	.notifications {
		list-style-type: none;
		margin: 0;
		padding: 0;
	}

		.notifications li {
			background: #f1f1f1;
			font-size: 14px;
			margin: 0 0 10px 0;
			padding: 10px 15px;
		}

			.notifications li i {
				color: #1e428a;
				font-size: 18px;
				line-height: 10px;
				margin-right: 5px;
			}

		.notifications li.last {
			margin-bottom: 0;
		}


.information #pages_subnav {

}

	.information #pages_subnav h5 {
		color: #333333;
		font-size: 16px;
		margin-top: 0;
		margin-bottom: 15px;
	}

	.information #pages_subnav ul {
		list-style-type: none;
		margin: 0;
		padding: 0;
	}

		.information #pages_subnav ul li {
			font-size: 14px;
			margin-bottom: 10px;
		}

		.information #pages_subnav ul li.active a {
			color: #333333;
		}


/* New styles */

.page-wrap {
	padding: 10px 10px 0 0;
}

.dash-buttons > div a {
	background: #1e428a;
	display: block;
	color: #fff;
	-webkit-border-radius: 5px !important;
	-moz-border-radius: 5px !important;
	border-radius: 5px !important;
	border: 1px solid #173777;
	font-size: 14px;
	line-height: 20px;
	text-align: center;
	font-weight: bold;
	padding: 50px 0 5px 0;
}
	.dash-buttons > div a:hover {
		background-color: #173777 !important;
		text-decoration: none;
	}

.dash-buttons .button-create a {
	background: #1e428a url(../../img/icon_createevent.png) no-repeat center 8px;
}

.dash-buttons .button-manage a {
	background: #1e428a url(../../img/icon_manageevents.png) no-repeat center 8px;
}

.dash-buttons .button-transactions a {
/*	background: #1e428a url(../../img/icon_transactions.png) no-repeat center 8px;*/
        background: #1e428a url(../../img/icon_finance.png) no-repeat center 8px;
}

.dash-buttons .button-knowledgebase a {
	background: #1e428a url(../../img/icon_knowledgebase.png) no-repeat center 8px;
}

.dash-buttons .button-onlineentry a {
	background: #4ec1e0 url(../../img/icon_transactions.png) no-repeat center 8px;
        border-color: #4ec1e0;
}


#notifications_box {
	border: 1px solid #e3e3e3;
	padding: 14px;
	margin: 0 0 25px 0;
}

#notifications_box h3 {
	color: #333333;
	font-size: 16px;
	font-weight: bold;
	line-height: 25px;
	margin: 0 0 10px 0;
	padding: 0;
}

#notifications_box p.no_notifications {
	color: #777777;
	font-size: 14px;
	margin: 0;
	padding: 0;
}


.portlet.box.brit-tri {
	background: #dfddd0;
	border: 1px solid #dfddd0;
	-webkit-border-top-left-radius: 5px !important;
		-moz-border-radius-top-left: 5px !important;
			border-top-left-radius: 5px !important;
	-webkit-border-top-right-radius: 5px !important;
		-moz-border-radius-top-right: 5px !important;
			border-top-right-radius: 5px !important;

}

	.portlet.box .portlet-title {
		font-weight: bold;
		padding: 6px 15px 5px;
	}
		.portlet.box .portlet-title .caption {
			color: #000;
			font-size: 14px;
			font-weight: bold;
			margin-bottom: 0px;
			padding-top: 5px;
			padding-bottom: 5px;
		}

		.portlet.box .portlet-title .tools {
			font-size: 14px;
		}
		.portlet-title .tools a:hover {
			text-decoration: underline;
			opacity: 1;
		}

		.portlet.box .portlet-title .tools form {
			margin-bottom: 0;
		}

		.portlet.box .portlet-title .tools select {
			margin-bottom: 0;
		}


/* Alternative table layout for tabbed tables */
.portlet.box.brit-tri.tabbed {
	border: none;

}

.portlet.box.brit-tri.tabbed .portlet-body {
		padding-left: 0px !important;
}

.portlet.box.brit-tri.tabbed table{   
	border-collapse: separate;
	border-spacing: 0;

}

.portlet.box.brit-tri.tabbed thead tr {
	 border-top: 1px solid #ddd;

}

.portlet.box.brit-tri.tabbed tr th,
.portlet.box.brit-tri.tabbed tr td {
	border-right: 1px solid #ddd;
	border-top: 1px solid #ddd;
}

	.portlet.box.brit-tri.tabbed table {
			border-bottom: 1px solid #ddd;
	}

.portlet.box.brit-tri.tabbed table tr th {
	/*background: #dfddd0;*/
	border-top: 1px solid #dfddd0;
	text-align: left;
	}

.portlet.box.brit-tri.tabbed tr th:first-child,
.portlet.box.brit-tri.tabbed tr td:first-child {
	border-left: 1px solid #ddd;
}

.portlet.box.brit-tri.tabbed tr th:first-child {
	border-top-left-radius: 6px;
}

.portlet.box.brit-tri.tabbed tr th:last-child {
	border-top-right-radius: 6px;
}

/* Triathlon header */

p.crumbs {
	color: #fff;
	padding-top: 10px;
	display: none;
}

@media (min-width: 480px) {
	p.crumbs {
		display: block;
	}
}

	p.crumbs a {
		color: #fff;
	}

.header .nav > li.dropdown.user .dropdown-toggle {
	padding: 11px 14px;
}

.header .nav > li.dropdown.user .dropdown-toggle .user-avatar {
	margin-right: 5px;
}

.header .nav > li.dropdown.user .dropdown-toggle .username {
	color: #fff;
}

.header .nav > li.dropdown.user .dropdown-toggle i {
	font-size: 14px;
	margin-left: 5px;
	margin-right: 5px;
}

.tri-header {
	padding: 10px 10px 8px 20px;
}

	.tri-header #tri-logo {
		float: left;
		margin-right: 30px;
	}

	.tri-header .back-to-website {
		float: right;
		padding-top: 29px;
	}

	.tri-header h1 {
		font-weight: bold;
		margin: 40px 0 0 20px;
	}

		.tri-header h1 a {
			color: #fff !important;
                        text-shadow: 0 0 10px rgba(0,0,0,0.5) !important;
		}

			.tri-header h1 a:hover {
				text-decoration: none;
			}


	.tri-header .notifications {
		-webkit-border-radius: 5px !important;
			-moz-border-radius: 5px !important;
				border-radius: 5px !important;
		border: 1px solid #dbdbd9;
		margin-left: 122px;
		background: #fff;
	}

		.tri-header .notifications p {
			margin: 0;
			padding: 0;
			line-height: 47px;
		}

		.tri-header .notifications .intro {
			background: #e6e6e6 url(../../img/icon-notification.png) no-repeat 10px center;
			background-size: 17px 17px;
			-webkit-border-top-left-radius: 5px;
			-webkit-border-bottom-left-radius: 5px;
			-moz-border-radius-topleft: 5px;
			-moz-border-radius-bottomleft: 5px;
			border-top-left-radius: 5px;
			border-bottom-left-radius: 5px;
			display: inline-block;
			line-height: 47px;
			padding: 0 15px 0 40px;
			font-weight: bold;
		}

		.tri-header .notifications .message {
			background: #fff;
			padding-left: 10px;
		}



/* Dashboard */

.form-social-feed .input-small {
	margin-bottom: 0;
	height: 22px;
	line-height: 22px;
	padding: 0;
	margin-top: -2px;
}


.add_event {
	margin-top: -3px;
	padding: 5px 20px 8px 20px !important;
	min-width: 0 !important;
	width: auto !important;
}

	.add_event i {
		margin-left: 5px;
	}

	.add_event:hover {
		text-decoration: none !important;
	}

.add_user {
	margin-top: -3px;
	padding: 5px 20px 5px 20px !important;
	min-width: 0 !important;
	width: auto !important;
}

	.add_user i {
		margin-left: 5px;
	}

	.add_user:hover {
		text-decoration: none !important;
	}



/* Social feed */


.social-item {
	margin-bottom: 15px;
}

	.social-item img {
		display: none;
	}

	.social-item .social-item-details {
		background: #f1f1f1;
		padding: 10px;
	}

	.social-item .social-item-details h3 {
		margin-top: 0;
		font-size: 14px;
		line-height: 20px;
	}

	.social-item .social-item-details p.more {
		margin-bottom: 0;
	}

	@media (min-width: 1200px) {

		.social-item img {
			display: block;
			float: left;
			width: 48px;
		}

		.social-item .social-item-details {
			margin-left: 58px;
		}

	}


.form-wizard {
	margin-left: 0 !important;
}

.form-wizard .step {
	text-align: center;
}

.form-wizard .step .number {
	margin-right: 0;
}

.form-wizard .step .desc {
	clear: both;
	display: block;
	margin-top: 10px;
}


/*---------------------------------------------------------------
 Datatable Styles
 --------------------------------------------------------------*/

.dataTable {

}
	.dataTable thead th{
		color: #434343;
	}
	.dataTable tbody {
		color: #434343;
	}

	.tabbed table.table thead .sorting_desc,
	.tabbed table.table thead .sorting_asc,
	.tabbed table.table thead .sorting{
		background-color: #dfddd0 !important;
	}

	.dataTable td.numeric {
		text-align: right;
	}


.table td {
	font-size: 14px;
	vertical-align: middle;
}

.numeric {
	text-align: center !important;
}

.numeric .btn-group {
	margin-top: 5px !important;
}

.numeric .dropdown-menu li {
	text-align: left;
}

.statustext {
	display: inline-block;
	font-weight: bold;
	vertical-align: middle;
}

	.dashboard #upcoming_events_box .statustext,
	.events .statustext {
		cursor: help;
	}

	.statustext img {
		margin-right: 5px;
		margin-top: -1px;
		vertical-align: middle;
	}

	.events.view .statustext {
		cursor: default;
		margin-top: 10px;
	}

.statusdesc {
	display: inline-block;
	font-size: 15px;
	margin-top: 10px;
}

.payment_links .first {
	margin-left: 0;
}


#status-column {
	width: 22%;
}

@media (max-width: 979px) {
	#status-column {
		width: 40%;
	}
}

@media (max-width: 600px) {
	#status-column {
		width: 20px;
	}

		#status-column .header-text {
			display: none;
		}

	.statustext {
		display: block;
		width: 20px;
		height: 20px;
		overflow: hidden !important;
	}
}

.nocontent {
	color: #999;
	font-size: 16px;
	line-height: 32px;
	text-align: center;
	padding: 30px 0;
	margin: 0;
}


/*---------------------------------------------------------------
 Leagues Page
 --------------------------------------------------------------*/

.tabbable-custom > .tab-content {
	border: none !important;
}

.tabbable-custom .nav-tabs > li {

	}

.custom-tabs > li > a  {
	background: #f4f4f4;
	color: #000000;
	border-bottom: 1px solid #dddddd;
	font-weight: bold;
	padding: 5px 15px;
}

	.custom-tabs > li.active > a{
		color: #1e428a;
		transition: all 0.15s ease-in-out;
		-webkit-transition: all 0.15s ease-in-out;
			-moz-transition: all 0.15s ease-in-out;
				-ms-transition:  all 0.15s ease-in-out;
						-o-transition: all 0.15s ease-in-out;
	}


	.custom-tabs > li > a:hover,a:hover b {
		color: #1e428a !important;
		transition: all 0.15s ease-in-out;
		-webkit-transition: all 0.15s ease-in-out;
			-moz-transition: all 0.15s ease-in-out;
				-ms-transition:  all 0.15s ease-in-out;
						-o-transition: all 0.15s ease-in-out;
	}
	.custom-tabs > li > a:focus,a:focus b {
		color: #1e428a !important;
		transition: all 0.15s ease-in-out;
		-webkit-transition: all 0.15s ease-in-out;
			-moz-transition: all 0.15s ease-in-out;
				-ms-transition:  all 0.15s ease-in-out;
						-o-transition: all 0.15s ease-in-out;
	}

.archived-leagues {
	width: 426px;

}
 .archived-leagues button {
		margin-top: 10px;
	}

.search-results .section-head {

}

.form-element-wrapper {
	width: 441px;
}

.search-button-wrapper {
		width: 100%;
		margin-top: 20px;
}

#league-search {
	 /* width: 446px;*/
}
	#league-search button {

		padding: 6px 20px;
	}

#league-ranking-btns{
	margin: 10px 0px;
}


div.search-results{
	border-top: 1px solid #ddd;
	margin: 35px 0px;
	padding-top: 15px;
}

div.leagueDetails {
	border-top: 1px solid #ddd;
	margin: 25px 0px;
	padding-top: 25px;
}

img.league-image {
	margin-right: 15px;
}



/*---------------------------------------------------------------
 Events Pages
 --------------------------------------------------------------*/

div.button-panel {
	margin: 20px 0px;
}
	div.button-panel a,
	.result-button{
		margin-right: 10px;
		margin-bottom: 10px;
	}

	.archived-events {
		width: 426px;
	}
		.archived-events button {
			margin-top: 10px;
		}

/*---------------------------------------------------------------
 Calender Pages
 --------------------------------------------------------------*/

#calendar-wrapper{
	margin-bottom: 50px;
}
	/* Overrider the default calendar control styles */
	.custom-calendar .fc-header tr{
			border: none !important;
	}

	.custom-calendar .fc-header tr .fc-header-title{
		color: #000000;
	}
		.custom-calendar .fc-header tr .fc-header-title h2{
			font-size: 14px;
			color: #9f9f9f;
		}

		.custom-calendar .fc-header tr td span{
				background-color: transparent !important;
				border: none !important;
				text-shadow: none !important;
				box-shadow: none !important;
				background-image: none !important;
				color: #1e428a;
				font-size: 14px;
		}
			.custom-calendar .fc-header tr td span.fc-state-active{
				color: white !important;
				text-shadow: none;
				background-color: #d84a38 !important;
				background-image: none;
				filter: none;
				border: 0;
				text-shadow: none;
				font-family: "Segoe UI", Helvetica, Arial, sans-serif;
				color: #333333;
				cursor: pointer;
				outline: none;
				-webkit-box-shadow: none !important;
				-moz-box-shadow: none !important;
				box-shadow: none !important;
				-webkit-border-radius: 0 !important;
				-moz-border-radius: 0 !important;
				border-radius: 0 !important;
			}


#calendar-controls{
	width: 21%;
	margin-right: 10px;
}


/*---------------------------------------------------------------
 Head to Head Pages
 --------------------------------------------------------------*/

/* Move pagination */
#althele-h2h .dataTables_paginate{
	float: left !important;
}

/* Select athletes for head two head */
#selectedAthletes ul {
	list-style: none;
	margin: 0;
}
	#selectedAthletes ul li{
		display: inline;
		margin-right: 15px;
	}

.go-head2head {
	margin: 20px 0px 0px 0px;
}

#chart_race,
#chart_athlete {
		width: 100%;
		height: 400px;
		overflow: hidden;
}

.portlet-title.empty {
	padding: 17px !important;
}

.back-to-event i {
	padding-right: 5px;
}
.head2head-title i {
	color: #c6c6c6;
	margin-right: 10px;
}

/*---------------------------------------------------------------
Athlete Pages
--------------------------------------------------------------*/

.head-two-head  {
		color: #ffffff !important;
}

.well.athlete-details {
	padding: 0px 19px 0px 0px !important;
}
	.well.athlete-details a{
		margin-top: 19px;
	}

.athlete-name {
	font-weight: bold;
	font-size: 18px;
}

	div.league-header {
			margin-bottom: 19px;
	}

div.leagueProfile {
	margin-left: 0px !important;
	margin-top: 15px;
}
	div.leagueProfile p {
		margin-bottom: 16px;
	}
		div.leagueProfile p:last-child {
			margin-bottom: 0px;
		}

/*---------------------------------------------------------------
Edit Profile Pages
--------------------------------------------------------------*/

#edit-profile {
	padding-bottom: 0px;
}

#edit-profile > div:first-child {
	border-right: 1px solid #ddd;
	padding-right: 30px;
	padding-bottom: 30px;
}

.profile-image {
	margin-bottom: 10px;
}


/*---------------------------------------------------------------
Footer Styles
--------------------------------------------------------------*/

.footer {
	background-color: #373737;
	padding: 8px 0px 40px 0px !important;
	margin-top: 30px;
}
	.footer h4{
		color: #ffffff;
		font-size: 15px;
	}
	.footer ul {
		margin: 0px;
	}
	.footer li {
		list-style: none;
	}
		.footer li a {
			font-size: 13px;
			color: #cccccc;
		}


/***
Page header
***/
.header .navbar-inner {
	filter:none !important;
	background-image: none !important;
	background-color: #1e428a !important;
}

	.header .navbar-inner a {
		font-weight: normal;
	}

.header .btn-navbar {  
	background-color: #1e428a !important;
} 

.header .nav .dropdown-toggle:hover, 
.header .nav .dropdown.open .dropdown-toggle {
	background-color: #333 !important;
}
	.header .nav > li.dropdown .dropdown-toggle {
		margin-top: 0 !important;
	}

.header .nav li.dropdown .dropdown-toggle i {
	color: #fff !important;
}

/***
Page sidebar
***/

.page-sidebar > ul {
	border-top: 1px solid #cccabd;
	border-bottom: 1px solid #cccabd;
}

.page-sidebar > ul > li {
	
}

.page-sidebar > ul > li > a {
	color: #000;
	background: #dfddd0 url(../../img/menu_arrow.png) no-repeat 205px center !important;
	padding: 10px 20px;
	border-bottom: 1px solid #cccabd;
	font-weight: bold;
	transition: background-color 0.15s ease-in-out;
}

.page-sidebar > ul > li:last-child > a {
	 border-bottom: 1px solid transparent !important;
}

.page-sidebar > ul > li a i {
	 color: #808080;
}

.page-sidebar > ul > li.open > a {
	background-image: url('../../img/menu_arrow_open.png') !important;
	background-position: 202px center !important;
	border-bottom: none;
}

.page-sidebar > ul > li.open > a, 
.page-sidebar > ul > li >a:hover, 
.page-sidebar > ul > li:hover >a {  
	background-color: #FFFFFF !important;
	transition: background-color 0.15s ease-in-out;
}

.page-sidebar > ul > li.active {
	border-bottom: 1px solid #CCCABD !important;
}

.page-sidebar > ul > li.active.last {
	border-bottom: none !important;
}

.page-sidebar > ul > li.active > a {
	background-color: #ffffff !important;
	width: 195px;
}  

.page-sidebar > ul > li.active > a i {
	color:#fff;
}

.page-sidebar > ul > li > a.open {
	background: #313131;
}

.page-sidebar ul > li > a > .arrow:before,
.page-sidebar > ul > li > a > .arrow.open:before {  
	 color: #919091 !important;
}

.page-sidebar ul > li.active > a .arrow:before,
.page-sidebar > ul > li.active > a .arrow.open:before {  
	 color: #fff !important;
}

.page-sidebar > ul > li > ul.sub-menu {
	background: #F5F4EF;
	border-bottom: 1px solid #CCCABD !important;
	margin: 0;
}

	.page-sidebar > ul > li.last > ul.sub-menu {
		border-bottom: none !important;
	}

.page-sidebar > ul > li > ul.sub-menu > li > a {
	color: #000;
	margin-left:0px;  
	padding-left: 20px !important; 
}

.page-sidebar > ul > li > ul.sub-menu > li:first-child > a {
	border-top: 0px !important;
}

.page-sidebar > ul > li > ul.sub-menu > li.active > a, 
.page-sidebar > ul > li > ul.sub-menu > li > a:hover {
	color: #fff !important;
	background: #4b4b4b !important;  
}

.page-sidebar > ul > li > ul.sub-menu > li > a:hover {
	background: #4b4b4b !important;
}

/* 3rd level sub menu */
.page-sidebar > ul > li > ul.sub-menu  li > ul.sub-menu > li.active > a, 
.page-sidebar > ul > li > ul.sub-menu  li > ul.sub-menu > li > a:hover,
.page-sidebar > ul > li > ul.sub-menu  li.open > a  {
	color: #fff !important;
	background: #4b4b4b !important;  
}

.page-sidebar > ul > li > ul.sub-menu  a .arrow:before,
.page-sidebar > ul > li > ul.sub-menu  a .arrow.open:before {  
	 color: #626262 !important;
}

/* sidebar search */

.page-sidebar .sidebar-search input{
	background-color: #3d3d3d  !important;  
	color: #bababa !important;
}

.page-sidebar .sidebar-search .input-box {
	border-bottom-color: #959595  !important;
}

.page-sidebar .sidebar-search .submit {
	background-image: url(../../img/search-icon.png);
}

/***
Sidebar toggler
***/
.sidebar-toggler {  
	background-image: url(../../img/sidebar-toggler.jpg);
	background-color: #333;
}

/* search box bg color on expanded */
.sidebar-closed .page-sidebar .sidebar-search.open {
	background-color: #3d3d3d !important;
}

.sidebar-closed .page-sidebar .sidebar-search.open .remove {  
	background-image: url("../../img/sidebar-search-close.png");
}

/* sub menu bg color on hover menu item */
.sidebar-closed .page-sidebar > ul > li:hover .sub-menu {
	background-color: #3d3d3d;
}

/***
Horizontal Menu(new in v1.2)
***/

/*search*/

.header .hor-menu .hor-menu-search-form-toggler.hide {
	background: #101010 url(../../img/hor-menu-search-close.png) no-repeat center;
}

.header .hor-menu .search-form {
	background:#101010;
}

.header .hor-menu .search-form .btn {
	color: #999;
	background: #2d2d2d url(../../img/search-icon.png) no-repeat center;
}

.header .hor-menu .search-form form input {
	color: #999;
}

.header .hor-menu .search-form form input::-webkit-input-placeholder { /* WebKit browsers */
		color: #999;
}
.header .hor-menu .search-form form input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
		color: #999;
}
.header .hor-menu .search-form form input::-moz-placeholder { /* Mozilla Firefox 19+ */
		color: #999;
}
.header .hor-menu .search-form form input:-ms-input-placeholder { /* Internet Explorer 10+ */
		color: #999;
}

/***
Landscape phone to portrait tablet
***/
@media (max-width:979px) { 
	/***
	page sidebar
	***/
	.page-sidebar {
		background-color: #232427 !important;
	}

	.page-sidebar > ul > li > a {
		border-top: 1px solid #2c2d30 !important;
	}

	.page-sidebar > ul > li:last-child > a {
		border-bottom: 0 !important;
	}

	.page-sidebar .sidebar-search input{
		background-color: #232427  !important;  
	}
}


/* Custom select box */
.styled-select select {
	background: transparent;
	-webkit-appearance: none;
	width: 320px;
	height: 38px;
	padding: 5px;
	border:1px solid #ddd;
	-webkit-box-shadow: none !important;
		-moz-box-shadow: none !important;
			box-shadow: none !important;
	-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
			border-radius: 0px;

}
.styled-select {

	width: 300px;
	height: 38px !important;
	overflow: hidden;
	background: url('../../img/icon-selectbox.png') no-repeat 97% center transparent;
	border-right:1px solid #ddd;
}

.styled-select select {
	padding: 7px;
	padding-right: 0px;
	vertical-align:top !important;
	text-align:left;
	line-height:17px;
}


/* Custom select box small */
.styled-select-sm select {
	background: transparent;
	-webkit-appearance: none;
	width: 109%;
	height: 38px;
	padding: 5px;
	border:1px solid #ddd;
	-webkit-box-shadow: none !important;
		-moz-box-shadow: none !important;
			box-shadow: none !important;
	-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
			border-radius: 0px;

}
.styled-select-sm {
	margin-right: 20px;
	width: 299px;
	height: 38px !important;
	overflow: hidden;
	background: url('../../img/icon-selectbox.png') no-repeat 97% center transparent;
	border-right:1px solid #ddd;
}

.styled-select-sm select {
	padding: 7px;
	padding-right: 0px;
	vertical-align:top !important;
	text-align:left;
	line-height:17px;
}


/* Custom select box mid */
.styled-select-mid select {
	display: block;
	background: transparent;
	-webkit-appearance: none;
	width: 109%;
	height: 38px;
	padding: 5px;
	border:1px solid #ddd;
	-webkit-box-shadow: none !important;
		-moz-box-shadow: none !important;
			box-shadow: none !important;
	-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
			border-radius: 0px;

}
.styled-select-mid {
	margin-right: 20px;
	width: 441px;
	height: 38px !important;
	overflow: hidden;
	background: url('../../img/icon-selectbox.png') no-repeat 97% center transparent;
	border-right:1px solid #ddd;
}

.styled-select-mid select {
	padding: 7px;
	padding-right: 0px;
	vertical-align:top !important;
	text-align:left;
	line-height:17px;
}

/* Custom select box mid */
.styled-select-huge select {
	display: block;
	background: transparent;
	-webkit-appearance: none;
	width: 462px;
	height: 50px;
	padding: 5px;
	border:1px solid #ddd;
	-webkit-box-shadow: none !important;
		-moz-box-shadow: none !important;
			box-shadow: none !important;
	-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
			border-radius: 0px;

}
.styled-select-huge {
	margin-right: 20px;
	width: 442px;
	height: 50px !important;
	overflow: hidden;
	background: url('../../img/icon-selectbox.png') no-repeat 97% center transparent;
	border-right:1px solid #ddd;
	line-height: 15px;
}

.styled-select-huge select {
	padding: 10px 7px 7px 7px;
	padding-right: 0px;
	vertical-align:top !important;
	text-align:left;
	line-height:15px;
}


/*---------------------------------------------------------------
 Login Pages
 --------------------------------------------------------------*/
/***
Login page
***/

/* logo page */
.login, .resetpassword, .migrate, .register {
	
}



.login .logo, .resetpassword .logo, .migrate .logo, .register .logo {
	width: 351px;
	margin: 0 auto;
	margin-top: 60px;
	padding: 15px;
	text-align: center;
}  

@media (max-width: 880px) {
	.login .logo, .resetpassword .logo, .migrate .logo, .register .logo {
		margin: 10px auto 0 auto !important;
		padding: 0 0 30px 0 !important;
	}
}

.login .content, .resetpassword .content, .migrate .content, .register .content {
	background-color:#fff; 
	width: 291px;
	margin: 0 auto; 
	margin-bottom: 60px;
	padding: 30px;  
	padding-top: 20px;  
	padding-bottom: 15px; 
}

.login .content h3, .resetpassword .content h3, .migrate .content h3, .register .content h3 {
	color: #000;
}
.login .content h4, .resetpassword .content h4, .migrate .content h4, .register .content h4 {
	color: #555;
}

.login .content p, .resetpassword .content p, .migrate .content p, .register .content p {
	color: #222;
}

.login .content .login-form,
.register .content .register-form,
.resetpassword .content .forget-form,
.migrate .content .forget-form {
	padding: 0px;
	margin: 0px;
}

.login .content .m-wrap, .resetpassword .content .m-wrap, .migrate .content .m-wrap, .register .content .input-icon .m-wrap {
	width: 249px;
	border-left: 0 !important;
}


.register .content .input-select select {
	transition: all 0.25s ease-in-out;
	-webkit-transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
	-ms-transition:  all 0.25s ease-in-out;
	-o-transition: all 0.25s ease-in-out;
}

.register .content .input-select.active select {
	border-color: #999999 !important;
	color: #333 !important;

	transition: all 0.25s ease-in-out;
	-webkit-transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
	-ms-transition:  all 0.25s ease-in-out;
	-o-transition: all 0.25s ease-in-out;
}

.register .content .input-select.highlight select {
	color: #333 !important;

	transition: all 0.25s ease-in-out;
	-webkit-transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
	-ms-transition:  all 0.25s ease-in-out;
	-o-transition: all 0.25s ease-in-out;
}

.register .content .input-icon.input-select i {
	margin-top: 11px !important;
}

.register .content .input-icon select.m-wrap {
	border-color: #DBDBDB;
	color: #999999;
	padding-left: 30px;
	width: 289px;
	height: 38px !important;
}

.register .content .error .input-icon select.m-wrap {
	border-color: #B94A48 !important;
}

.register .content .input {
	height: 38px;
}

.register .content .input .m-wrap {
	border-left: 2px solid #1e428a !important;
	width: 277px;
	height: 38px;
}

.login .content .input-icon, .resetpassword .content .input-icon, .migrate .content .input-icon, .register .content .input-icon {
	border-left: 2px solid #1e428a !important;
}

.login .content .input-icon i, .resetpassword .content .input-icon i, .migrate .content .input-icon i, .register .content .input-icon i {
	line-height: 20px;
}

.login .content .input-icon i.icon-lock, .resetpassword .content .input-icon i.icon-lock, .migrate .content .input-icon i.icon-lock, .register .content .input-icon i.icon-lock {
	line-height: 21px;
}

.login .content .control-group, .resetpassword .content .control-group, .migrate .content .control-group, .register .content .control-group {
	margin-bottom: 20px !important;
}

.login .content .control-group.last, .resetpassword .content .control-group.last, .migrate .content .control-group.last, .register .content .control-group.last {
	margin-bottom: 0px !important;
}

.login .content .input-icon .m-wrap, .resetpassword .content .input-icon .m-wrap, .migrate .content .input-icon .m-wrap, .register .content .input-icon .m-wrap {  
	margin: 0px !important;
}

.login .content .form-title, .resetpassword .content .form-title, .migrate .content .form-title, .register .content .form-title {
	font-weight: 300;
	margin-bottom: 25px;
	margin-top: 0;
}

.login .content h4, .resetpassword .content h4, .migrate .content h4, .register .content h4 {
	color: #333333;
	font-size: 20px;
}

.login .content .form-actions, .resetpassword .content .form-actions, .migrate .content .form-actions, .register .content .form-actions {
	background-color: #fff;
	clear: both;
	border: 0px;
	border-bottom: 1px solid #eee;
	padding: 0px 30px 25px 30px;
	margin-left: -30px;
	margin-right: -30px;
	margin-top: 10px !important;
}

.login .content .form-actions #chk_rememberme_wrapper {
	float: left;
}

.login .content .form-actions #btn_login {
	float: right;
}

.resetpassword .content .forget-form .form-actions, .migrate .content .forget-form .form-actions, .register .content .register-form .form-actions {
	border: 0;
	margin-bottom: 0;
	padding-bottom: 20px;
	padding-top: 10px;
}  

.login .content .register-form .form-actions {
	border: 0;
	margin-bottom: 0;
	padding-bottom: 0px;
}

.login .content .form-actions .checkbox {
	margin-top: 8px;
	display: inline-block;
}

.login .content .form-actions .btn, .resetpassword .content .form-actions .btn, .migrate .content .form-actions .btn, .register .content .form-actions .btn {
	margin-top: 1px;
}

.login .content .forget-password {
	margin-top: 25px;
}

.login .content .create-account {
	border-top: 1px dotted #eee;
	padding-top: 10px;
	margin-top: 15px;
}

.login .content .create-account a {
	display: inline-block;
	margin-top: 5px;
}

.login .copyright, .resetpassword .copyright, .migrate .copyright, .register .copyright {
	text-align: center;
	width: 250px;
	margin: 0 auto; 
	padding: 10px 10px 0 10px;
	color: #999;
	font-size: 11px;
}


div[rel=address_find_output] {
	height: 36px !important;
}

div[rel=address_find_output] .loading-postcode {
	background: url('../../img/loading_small.gif') no-repeat 0 50%;
	font-size: 14px !important;
	margin: 9px 0 !important;
	padding-left: 30px !important;
}

div[rel=address_find_output] .error {
	font-size: 14px !important;
	margin: 9px 0 !important;
}


.faq_item {
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: 30px;
	padding-bottom: 30px;
}

	.faq_item .title {
		color: #333333;
		font-size: 17px;
	}

	.faq_item .date {
		color: #333333;
		font-size: 14px;
	}

	.faq_item .content p {
		line-height: 20px;
	}


.question {
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: 30px;
	padding-bottom: 30px;
}

	.question.last {
		border-bottom: 0;
		padding-bottom: 0;
	}

	.question .title {
		color: #333333;
		font-size: 17px;
	}

	.question .updated {
		color: #333333;
		margin-bottom: 20px;
	}

	.question .answer p {
		font-size: 14px;
		line-height: 20px;
	}

	.question .awaiting_response {
		margin-bottom: 0;
	}


.error select.m-wrap, .error select.m-wrap.large, .error textarea {
	border-color: #B94A48 !important;
}

select.m-wrap {
	border-color: #dbdbdb !important;
}

select.m-wrap.large {
	border-color: #dbdbdb !important;
	height: 34px !important;
}

.register select.m-wrap.large {
	border-color: #dbdbdb !important;
}

.controls .error,
.control-group .error {
	color: #B94A48 !important;
	font-size: 13px;
	margin: 5px 0 0 0;
}

.error_wrap input {
	border-color: #b94a48 !important;
	color: #b94a48 !important;
}

.form-horizontal .control-label {
	text-align: left;
}

.controls p {
	font-size: 16px;
	margin: 6px 0;
}

.controls .actions {
	display: block;
}

.controls .redirect_note {
	font-size: 14px;
	margin-bottom: 30px;
}

.controls .loading {
	display: none;
}

	.controls .loading p {
		background: url('../../img/loading_small.gif') no-repeat 0 50%;
		color: #EF3E36;
		font-size: 15px;
		font-weight: bold;
		float: right;
		padding: 0 0 0 30px;
	}

.overview_table .overview_term {
	color: #777777;
	width: 33%;
}

.overview_table .edit_step_link {
	float: right;
}

.alert p, .alert p.error_msg {
	margin: 3px 0;
}

.alert a {
	color: #2b84d8;
}

.divider.double {
	margin: 40px 0;
}

.datepicker-dropdown {
	margin-top: -40px !important;
}


#stage_edit h4.form-section {
	margin-top: 0 !important;
}

#stage_edit form {
	margin-bottom: 0 !important;
}

#stage_edit form .control-group.last {
	margin-bottom: 0 !important;
}

#stage_edit #num_stage_distance {
	padding: 4px !important;
}

.stage_count {
	color: #999;
	display: inline-block;
	font-size: 80%;
	margin-left: 15px;
}

option[disabled] {
	color: #b7b7b7 !important;
}

.modal-body {
	/*max-height: 900px !important;*/
}



.terms_box {
	background: #fff5d5;
	border: 1px solid #ffd249;
	margin-top: 20px;
	padding: 15px;
}





/*---------------------------------------------------------------
 Phone Specific Styles
 --------------------------------------------------------------*/


/*@media screen and (device-aspect-ratio: 40/71) {*/

/* Portrait only styles */
@media (max-width: 320px) {

	.hidden-phone-portriat {
		display: none;
	}

	.fc-header td {
		display: table-row;
	}
	.fc-header-right {
		float: right;
		width: 100% !important;
	}

	.fc-button-prev .fc-text-arrow, .fc-button-next .fc-text-arrow {
		padding-top: 5px !important;
		display: block;
	}

	.styled-select-mid,
	.styled-select-sm {
		width: 99% !important;
	}

	#headtwohead-btn {
		float: left;
		margin: 20px 0px;
	}

	.join-league {
		float: left;
	}

	.nav-tabs>li a {
		font-size: 11px !important;
		padding: 9px;
	}

} /* End Portrait Phone */




/* Smaller Phone styles */
@media (max-width: 480px) {
		.fc-button-prev .fc-text-arrow, .fc-button-next .fc-text-arrow {
			padding-top: 5px !important;
			display: block;
		}

	.styled-select-mid,
	.styled-select-sm {
		width: 99% !important;
	}

	.league-ranking-btns a,
	.league-ranking-btns button{
		margin-top: 20px;
	}


}


/* Devices upto iPads, including portrait iPhone 5 */
@media (max-width: 767px) {

	.content {
		margin-bottom: 30px !important;
	}

	.back-to-event {
		float: left;
	}


	/* Reset margins for form elements */
	.row-fluid .controls-row [class*="span"]+[class*="span"] {
		margin-left: 0;
	}

		/* Overrides for form elements on mobile devices */
	.m-wrap.large,
	.m-wrap.medium {
		width: 95% !important;
	}


	#calendar-wrapper{
		margin-top: 20px;
		padding-top: 20px;
		border-top: 1px solid #dbdbd9;
	}


	.styled-select-mid,
	.styled-select-sm {
		width: 97%;
		margin-right: 0px;
	}


	h1.main-head {
		font-size: 28px;
		margin-top: 15px;
		margin-bottom: 10px;
		padding-left: 10px;
	}
	/***
	Dashboard
	***/
	.dash-buttons .button-events a {
		background: url(../../img/icon-dash-events-small.png) no-repeat left center;
		background-size: 26px 29px;
	}

	.dash-buttons .button-compare a {
		background: url(../../img/icon-dash-compare-small.png) no-repeat left center;
		background-size: 29px 26px;
	}

	.dash-buttons .button-joinleague a {
		background: url(../../img/icon-dash-joinleague-small.png) no-repeat left center;
		background-size: 20px 20px;
	}

	.dash-buttons .button-howtouse a {
		background: url(../../img/icon-dash-howtouse-small.png) no-repeat left center;
		background-size: 29px 20px;
	}

	.dash-buttons > div h2 {
		padding: 5px;
		border: none;
		 background: #1e428a;
		-webkit-border-radius: 5px !important;
			-moz-border-radius: 5px !important;
				border-radius: 5px !important;
	}
	.dash-buttons > div h2:hover {
		background-color: #1e428a !important;
	}


	.dash-buttons > div a {
		background: #1e428a;
		display: block;
		color: #fff;
		border: none;
		font-size: 14px;
		line-height: 20px;
		text-align: center;
		font-weight: bold;
		padding: 5px 5px 5px 0;
		margin:0;
	}

	.dash-buttons > div a:hover {
		text-decoration: none;
	}
		.dash-buttons > div a i {
			float: right;
			padding-top: 2px;
		}

	/***
	Leagues 
	***/

	#league-search {
		width: auto;
	}

	.form-element-wrapper {
		width: auto;
	}


	/***
	Events 
	***/
	.search-form-element-wrapper .controls.controls-row  {
			margin-top: 0px;
	}

	.search-form-element-wrapper .controls.controls-row [class*="span"] {
		margin-top: 10px;
	}

	.search-form-element-wrapper .controls.controls-row [class*="span"] input{
		margin-bottom: 0;
	}


	/***
	Footer
	***/

	.footer {
		padding: 20px 10px 10px 10px !important; 
	}
			.footer a{
				color: #ffffff;
				font-weight: bold;
			}
			.footer .copyright {
				font-weight: bold;
			}

	.portlet.box .portlet-title .caption {
		font-size: 13px;
	}

	.portlet.box .portlet-title .tools {
		font-size: 13px;
		margin-top: 5px;
	}
		.portlet.box .portlet-title .tools.calender-wrap {
			margin-top: 0px;
		}

	/* Updates to calender */
	.custom-calendar .fc-header tr .fc-header-title h2 {
		font-size: 18px;
	}
		.fc-button-prev .fc-text-arrow, .fc-button-next .fc-text-arrow {
			font-size: 22px !important;
		}
	.fc-button.fc-button-next,
	.fc-button.fc-button-prev {
			padding: 0 !important;
	}
	.fc-header-right {
		padding-top: 5px !important;
	}


	/***
	Login page
	***/
	.login .logo, .resetpassword .logo, .migrate .logo, .register .logo {
		
	}

	.login .content, .resetpassword .content, .migrate .content, .register .content {
		max-width: 100%;
	}

	.login .content h3, .resetpassword .content h3, .migrate .content h3, .register .content h3 {
		font-size: 22px;
	}

	.login .content .m-wrap, .resetpassword .content .m-wrap, .migrate .content .m-wrap, .register .content .m-wrap {
		
	}

	.login .checkbox {
		font-size: 13px;
	}

	.athlete-h2h {
		float: left;
	}

	.well.athlete-details {
		padding: 19px !important;
	}

	#edit-profile > div:first-child {
		border: none;
	}
	#edit-profile {
		padding-bottom: 20px;
	}


}/* End 767px */


/* All devices except desktop */
@media (max-width: 979px){

	body.login .content,
	body.login .content .form-actions,
	body.resetpassword .content,
	body.resetpassword .content .form-actions,
	body.migrate .content,
	body.migrate .content .form-actions,
	body.register .content,
	body.register .content .form-actions {
		/*background-color: transparent !important;*/
	}

	body.login .content .controls input, body.resetpassword .content .controls input, body.migrate .content .controls input, body.register .content .controls input {
		/*background: #ffffff !important;*/
	}

	.page-content {
		border: none;
		border-top: 1px solid #dbdbd9;
		-webkit-border-radius: 0px !important;
			-moz-border-radius: 0px !important;
				border-radius: 0px !important;
	}

	.leagueProfile {
		float: left;
	}

	.league-image {
		margin-bottom: 20px;
	}

	div.leagueDetails {
		margin: 10px 0px;
	}

	.league-image {
		margin-bottom: 0px;
	}

	.profile-save{
		margin-bottom: 25px;
	}

	.login .logo, .resetpassword .logo, .migrate .logo, .register .logo {  
		margin-bottom: 0px !important;
	}

}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 979px) {


	.tri-header h1 {
		margin-top: 20px;
	}

	#tri-logo {
		padding: 10px 10px 10px 20px;
	}

	.tri-header .notifications {
		float: left;
		margin-left: 0px;
		padding-right: 10px;
	}

	.notification-desktop {
		margin-left: 151px;
	}


} /* Tablet styles End */


.login .logo, .resetpassword .logo, .migrate .logo, .register .logo {  
	background: transparent url('../../img/nation_logos.png') center center no-repeat; 
	height: 97px; 
	margin-top: 30px;
	margin-bottom: 20px;
}


@media (min-width: 979px) {

	.notification-desktop {
		margin-left: 123px;
	}

	
}


/* Retina Specific Styles */
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi) { 

	.login .logo, .resetpassword .logo, .migrate .logo, .register .logo {  background: url('../../img/nation_logos.png') center center no-repeat;  }

	.dash-buttons .button-events a { background: url(../../img/retina/icon-dash-events-retina.png) no-repeat left center; }

	.dash-buttons .button-compare a {background: url(../../img/retina/icon-dash-compare-retina.png) no-repeat left center; }

	.dash-buttons .button-joinleague a { background: url(../../img/retina/icon-dash-joinleague-retina.png) no-repeat left center; }

	.dash-buttons .button-howtouse a { background: url(../../img/retina/icon-dash-howtouse-retina.png) no-repeat left center; }

	.notification .intro,
	.notification-phone { background: #e6e6e6 url(../../img/retina/icon-notification-retina.png) no-repeat 10px center; }

}


.notification-time{display:inline-block;float:right;color:#444}
#threed {border:1px solid #e0dfdf;width:800px;height:600px;margin-bottom:20px;}
/*.iframe-bg{background:url(../../img/preloader.gif) no-repeat center center;}*/
#emem-yes{display:none;margin-bottom:10px}
#emem-no{display:none;margin-bottom:10px}




.switch-toggle a, .switch-light span span {
  display: none; }

/* We can't test for a specific feature,
* so we only target browsers with support for media queries.
*/
@media only screen {
  /* Checkbox switch
  */
  .switch-light {
    display: block;
    min-height: 1.875em;
    /* Outline the toggles when the inputs are focused
  */
    position: relative;
    overflow: visible;
    padding: 0;

    /* Position the label over all the elements, except the slide-button (<a>)
  * Clicking anywhere on the label will change the switch-state
  */
    /* Don't hide the input from screen-readers and keyboard access
  */ }
    .switch-light * {
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box; }
    .switch-light a {
      display: block;
      -webkit-transition: all 0.2s ease-out;
      -moz-transition: all 0.2s ease-out;
      transition: all 0.2s ease-out; }
    .switch-light label, .switch-light > span {
      line-height: 1.875em;
      vertical-align: middle; }
    .switch-light input:focus ~ a, .switch-light input:focus + label {
      outline: none; }
    .switch-light label {
      position: relative;
      z-index: 3;
      display: block;
      width: 100%; }
    .switch-light input {
      position: absolute;
      opacity: 0;
      z-index: 5; }
      .switch-light input:checked ~ a {
        right: 0%; }
    .switch-light > span {
      position: absolute;
      left: -6.25em;
      width: 100%;
      margin: 0;
      padding-right: 6.25em;
      text-align: left; }
      .switch-light > span span {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 5;
        display: block;
        width: 50%;
        margin-left: 6.25em;
        text-align: center; }
        .switch-light > span span:last-child {
          left: 50%; }
    .switch-light a {
      position: absolute;
      right: 50%;
      top: 0;
      z-index: 4;
      display: block;
      width: 50%;
      height: 100%;
      padding: 0; }


  /* Standalone Themes */
  /* Candy Theme
  * Based on the "Sort Switches / Toggles (PSD)" by Ormal Clarck
  * http://www.premiumpixels.com/freebies/sort-switches-toggles-psd/
  */
  .switch-candy {
    background-color: #2d3035;
    border-radius: 3px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 1px #191b1e;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.2); }
    .switch-candy label {
      color: #fff;
      -webkit-transition: color 0.2s ease-out;
      -moz-transition: color 0.2s ease-out;
      transition: color 0.2s ease-out; }
    .switch-candy input:checked + label {
      color: #333;
      text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); }
    .switch-candy a {
      border: 1px solid #333;
      background-color: #70c66b;
      border-radius: 3px;
      background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0));
      background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0));
      box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.45); }
    .switch-candy > span {
      color: #333;
      text-shadow: none; }
    .switch-candy span {
      color: #fff; }
    .switch-candy.switch-candy-blue a {
      background-color: #38a3d4; }
    .switch-candy.switch-candy-yellow a {
      background-color: #f5e560; }


  }

/* Bugfix for older Webkit, including mobile Webkit. Adapted from
* http://css-tricks.com/webkit-sibling-bug/
*/
@media only screen and (-webkit-max-device-pixel-ratio: 2) and (max-device-width: 80em) {
  .switch-light, .switch-toggle {
    -webkit-animation: webkitSiblingBugfix infinite 1s; } }

@-webkit-keyframes webkitSiblingBugfix {
  from {
    -webkit-transform: translate3d(0, 0, 0); }

  to {
    -webkit-transform: translate3d(0, 0, 0); } }

@font-face{font-family:'Glyphicons Halflings';src:url(https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/fonts/glyphicons-halflings-regular.eot);src:url(https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/fonts/glyphicons-halflings-regular.woff) format('woff'),url(https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}

.control-group.error .mce-tinymce.mce-container.mce-panel {
    border-color: #b94a48;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
}

#uniform-discount_modal_available_unlimited{vertical-align:top}
#discount_modal_code,.table_discount_code,#discount_modal_prefix{text-transform:uppercase}
.table_discount_code span{text-transform:none}
#discount_modal_code:-moz-placeholder,#discount_modal_prefix:-moz-placeholder {text-transform: none}
#discount_modal_code::-moz-placeholder ,#discount_modal_prefix::-moz-placeholder {text-transform: none}
#discount_modal_code:-ms-input-placeholder, #discount_modal_prefix:-ms-input-placeholder {text-transform: none}
#discount_modal_code::-webkit-input-placeholder, #discount_modal_prefix::-webkit-input-placeholder {text-transform: none}

#new_onlineentry_form{font-size:110%}
#event_logo_icon{width:50px;height:50px;background:#1e428a;padding:25px;margin-right:20px;float:left;font-size:350%;color:#f9f9f9;text-align:center; }
#event_logo_upload_message{display:none;margin-left:10px}
#logo-upload-yes{display:none;font-size:150%;vertical-align:middle}
#event_logo,#merchandise_image{float:left;}
.event_logo_delete{clear:both;}
.event_logo_delete_wrap{margin-top:20px;clear:both}
#graph_race_entrants{height:400px}
.nvd3-tooltip-key{display:block;border-bottom:1px solid #eee;background:#f9f9f9;font-size:120%;}
#event_status{font-size:14px}

.nav-tabs .open .dropdown-toggle, .nav-pills .open .dropdown-toggle, .nav > li.dropdown.open.active > a:hover, .nav > li.dropdown.open.active > a:focus {
  background-color: #fff;
  border-color:#ddd #ddd transparent;
  color: #1e428a;
}
.nav .dropdown-toggle:hover .caret, .nav .dropdown-toggle:focus .caret {
  border-bottom-color: #1e428a;
  border-top-color: #1e428a;
}
.nav li.dropdown.open .caret, .nav li.dropdown.open.active .caret, .nav li.dropdown.open a:hover .caret, .nav li.dropdown.open a:focus .caret {
  border-bottom-color: #1e428a;
  border-top-color: #1e428a;
  opacity: 1;
}
.nav-tabs .active .dropdown-toggle .caret {
  border-bottom-color: #1e428a;
  border-top-color: #1e428a;
}
.nav .dropdown-toggle .caret {
  border-bottom-color: #000;
  border-top-color: #000;
}
#promote-social-facebook{width:100%;height:64px;line-height:44px;background:url('../../img/64-facebook.png') no-repeat 0 0;padding:10px 10px 10px 74px}
#promote-social-twitter{width:100%;height:64px;line-height:44px;background:url('../../img/64-twitter.png') no-repeat 0 0;padding:10px 10px 10px 74px}

#datatable td{white-space:nowrap}
#datatable th{text-align:left}
table.dataTable.dtr-inline.collapsed tbody td:first-child::before, table.dataTable.dtr-inline.collapsed tbody th:first-child::before {top:25%;line-height:13px;border-radius:0;box-shadow:none}



.entry_form_panel {
    border: 1px solid #e3e3e3;
    margin: 0 0 35px;

}
.entry_form_panel h3,.discount_modal_h3 {
    color: #333333;
    font-size: 16px;
    font-weight: bold;
    line-height: 25px;
    margin: 0;
    padding: 0;
    cursor:pointer;
    background: url(../../img/bg.gif) repeat 0 0 #fff;
    padding: 14px;
}
.entry_form_panel div.entry_form_panel_content{    padding: 14px;}
.entry_form_panel ul {
    list-style-type: none;
    margin: 10px 0 0;
    padding: 0;
}
.entry_form_panel ul li {
    font-size: 14px;
    padding: 10px 15px;
}
.entry_form_panel ul li i {

    margin-right: 10px;
}
.entry_form_panel h3 i::before{cursor:pointer!important;line-height:25px}

.insight_panel {
    border: 1px solid #e3e3e3;
    margin: 0 0 25px;
    padding: 0;
}
.insight_panel h3 {
    color: #333333;
    font-size: 16px;
    font-weight: bold;
    line-height: 25px;
    margin: 0;
    padding: 14px;
    cursor:pointer;
}
.insight_panel h3 i::before{cursor:pointer!important;line-height:25px}


#nav-onlineentry .dropdown-menu{box-shadow:0px 5px 8px rgba(0, 0, 0, 0.1);border-top:0}
#nav-onlineentry .dropdown-menu li > a, ul#entrants_download_dropdown li > a, ul#entrants_add_dropdown li > a{font-weight:bold;line-height:20px;font-size:13px;padding:6px 13px}
#nav-onlineentry .dropdown-menu i, ul#entrants_download_dropdown i, ul#entrants_add_dropdown i{margin-right:10px;width:15px;display:inline-block;text-align:center}
#discount_modal .control-group label.control-label{font-weight:bold}
#race_modal .control-group label.control-label{
    font-weight: bold;
    margin: 0;
    width: 150px;}
.controls .error, .control-group .error {font-size:14px;margin:0}
#race_modal .control-group label .popover, th .popover{font-size:100%;font-weight:normal;}
#race_modal .tab-pane p{font-size:110%}

#datatable_length select{width:75px}
#insight_entered_each_day .insight_graph {min-height:420px}
#insight_entered_each_day .insight_graph svg{margin:10px 0}
.insight_graph_wrap{width:100%;display:none;position:relative;overflow:auto}
.insight_graph_controls{line-height:30px;font-size:120%;padding:0 14px 14px;background: url(../../img/bg.gif) repeat 0 0 #fff;}
.insight_graph{width:100%;min-height:440px;text-align:center;position:relative}
.insight_background_active{background: url(../../img/bg.gif) repeat 0 0 #fff;}
.insight_background_inactive{background: #ffffff;}

.insight_graph .axis line, .insight_graph .axis path {
    fill: transparent;
    shape-rendering: crispedges;
    stroke: #555;
}
#bank_wrapper p{font-size:110%}

#insight_heatmap .insight_graph {height:660px;cursor:move}
#insight_age_distribution .insight_graph{height:460px}

.insight_graph_controls select{display:block}
@media (min-width: 768px) {
    .insight_graph_controls select{float:right;width:inherit}
}

.insight_pie_4{width:50%;float:left}
@media (min-width: 900px) {
    .insight_pie_4{width:25%;float:left}
}
.insight_pie_4 h4{margin:10px 0 0}
#merchandise_add_browse{margin:10px 0 0;clear:both;float:left}
#race_modal_helper{display:none;clear:both;}
@media (min-width:481px) {
    #race_modal_helper{margin-left:150px}
    #merchandise_add_browse{margin:10px 0 0 160px;}
}


#entry_form_panel_charity .output{font-size:120%;font-weight:bold;margin-top:15px}


#merchandise_image_upload_file,#event_logo_upload_file {position: absolute;top: 0;right: 0;min-width: 100%;min-height: 100%;font-size: 100px;text-align: right;filter: alpha(opacity=0);opacity: 0;background: red;cursor: inherit;display: block}
#merchandise_image_icon{width:50px;height:50px;background:#1e428a;padding:25px;margin-right:20px;float:left;font-size:350%;color:#f9f9f9;text-align:center; }
#merchandise_add{margin-bottom:10px}
#merchandise_add_wrap{border:1px solid #ddd;background:#f9f9f9;padding:20px}
#merchandise_add_wrap input{background:#fff}
#entry_form_panel_merchandise .control-group i{line-height:35px}

#merchandise_colours_options,#merchandise_sizes_options{margin-left:25px}

#add_question{margin:10px 0}
.merchandise_table_image img,.merchandise_table_image span{display:block;height:40px;}
.merchandise_table_image span{background:#eee;border:1px #ccc dashed;width:40px;color: #333;font-size: 30px;line-height: 40px;text-align: center;}

.nvtooltip{font-weight:bold!important;background:#000!important;color:#FFF!important;text-align: center!important;}
.nvtooltip span{color:#1e428a}
.tipsy { font-size: 13px; position: absolute; padding: 5px; z-index: 100000; }
.tipsy-inner { background-color: #000; color: #FFF; max-width: 200px; padding: 5px 8px 4px 8px; text-align: center; }

/* Rounded corners */
.tipsy-inner { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; font-weight:bold }
.tipsy-inner span{color:#1e428a}

/* Uncomment for shadow */
/*.tipsy-inner { box-shadow: 0 0 5px #000000; -webkit-box-shadow: 0 0 5px #000000; -moz-box-shadow: 0 0 5px #000000; }*/

.tipsy-arrow { position: absolute; width: 0; height: 0; line-height: 0; border: 5px dashed #000; }

/* Rules to colour arrows */
.tipsy-arrow-n { border-bottom-color: #000; }
.tipsy-arrow-s { border-top-color: #000; }
.tipsy-arrow-e { border-left-color: #000; }
.tipsy-arrow-w { border-right-color: #000; }

.tipsy-n .tipsy-arrow { top: 0px; left: 50%; margin-left: -5px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent; }
.tipsy-nw .tipsy-arrow { top: 0; left: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;}
.tipsy-ne .tipsy-arrow { top: 0; right: 10px; border-bottom-style: solid; border-top: none;  border-left-color: transparent; border-right-color: transparent;}
.tipsy-s .tipsy-arrow { bottom: 0; left: 50%; margin-left: -5px; border-top-style: solid; border-bottom: none;  border-left-color: transparent; border-right-color: transparent; }
.tipsy-sw .tipsy-arrow { bottom: 0; left: 10px; border-top-style: solid; border-bottom: none;  border-left-color: transparent; border-right-color: transparent; }
.tipsy-se .tipsy-arrow { bottom: 0; right: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
.tipsy-e .tipsy-arrow { right: 0; top: 50%; margin-top: -5px; border-left-style: solid; border-right: none; border-top-color: transparent; border-bottom-color: transparent; }
.tipsy-w .tipsy-arrow { left: 0; top: 50%; margin-top: -5px; border-right-style: solid; border-left: none; border-top-color: transparent; border-bottom-color: transparent; }

#discount_modal_helper_races span{font-weight:bold}
#discount_modal_helper, #discount_modal_helper_races{font-size:14px}
#discount_modal .modal-header {background: url(../../img/bg.gif) repeat 0 0 #fff;text-transform:uppercase}

#discount_modal .radio input[type="radio"], #discount_modal .checkbox input[type="checkbox"] {margin-left:0}

#merchandise_colours_options label{text-transform: capitalize}

.sparkline{display:inline-block;margin-left:15px;vertical-align:middle}

ul#online_entry_status li{margin:10px 0}

.confirm-wrap{text-align:center;background:#ffffff url("../../img/bg.gif") repeat scroll 0 0 !important;padding:40px;margin:0!important}
.save-png{font-size:130%;margin-left:5px}
.save-png:hover{color:#1e428a}
.save-png i::before{cursor:pointer!important}
                        
#datatable .withdrawn td {background-color:#efd6d6!important}

#entrant_payment_breakdown_table tr th:last-child,#entrant_payment_breakdown_table tr td:last-child{text-align:right}

.d3-tooltips{font-weight:bold}

.required:after { content:" *"; color: #1e428a;}

.portlet .racetabs .control-group label{margin:0}
.portlet .racetabs .control-group .race-margin{margin-left:0px}
@media (min-width: 768px) {
    .portlet .racetabs .control-group .race-margin{margin-left:160px}
}


ul#payments-filter{color:#444;margin:0 0 20px;list-style:none;overflow:auto;float:right}
ul#payments-filter li{float:left;margin:0 10px}
ul#payments-filter li input[type="text"]{margin:0;height:20px;width:120px;border:1px solid #dbdbdb;padding:6px}

.custom-alert {background:#1e428a;color:#fff;text-align:center;padding:15px 10px;font-size:120%}
.custom-alert a:link, .custom-alert a:hover, .custom-alert a:visited { color:#fff;text-decoration:underline;}

.entrant_display_extra{margin-top:5px}

.oepopup.fade.in{top:30%!important}
body.modal-open {overflow: hidden;}

.payment-week-total{font-weight:bold;cursor:pointer}
.payment-week-total.row-open{background:#f1f0ee url("../../img/menu_arrow_open.png") no-repeat scroll right 15px center;}
.payment-week-total.row-close{background:#f1f0ee url("../../img/menu_arrow.png") no-repeat scroll right 15px center;}

.footer a {
	color:#ffffff
}