.container {
	width:100%;
	border:0px;
	border-radius:0px;
	background:transparent;
}

.blue-event-container {
	box-sizing: border-box;
	margin: 0px 0px 20px;
	max-width: 800px;
	padding: 0px 20px;
	width: 100%;
	text-align:left;
}

.blue-event-container .header {
	max-width: 760px;
	width: 100%;
	background-color:#01396c;
	background-image:url('../../img/template/blue/header.jpg');
	background-repeat:no-repeat;
	background-size: contain;
	height: 380px;
	color:#fff;
}
.blue-event-container .header .title {
	margin-top:60px;
}
.blue-event-container .header .title h1 {
	color:#01396c;
}

.blue-event-container .content .registration {
	background:#84c245;
	padding:10px;
	text-align:left;
	min-height:40px;
}
.blue-event-container .content .registration ul#race_list a.btn {
	border:0px;
	margin-left:10px;
	width:120px;
	white-space: normal;
	background:transparent;
	color:#000;
}
.blue-event-container .contents {
	margin-top:20px;
	background:#fff;
}
.blue-event-container .registration_fees {
	text-align:left;
	list-style: none;
	padding:0px;
	margin:0px;
}
.blue-event-container .registration_fees li {
	padding:10px;
	border-bottom:5px solid #fff;
	font: 700 20px/24px lato, arial, sans-serif;
}
.blue-event-container .registration_fees li:nth-child(odd) {
	background:#929297;
	color:#fff;
}
.blue-event-container .registration_fees li:nth-child(odd) .name h4 {
	font:700 16px/18px lato, arial, sans-serif;
	color:#fff;
}
.blue-event-container .registration_fees li:nth-child(even) {
	background:#e6e6e6;
	color:#929297;
}
.blue-event-container .registration_fees li:nth-child(even) .name h4 {
	font:700 16px/18px lato, arial, sans-serif;
	color:#929297;
}
.clear {
	clear:both;
}
.blue-event-container .button-container {
	background:#01396c;
}

.blue-event-container .button-container a{
	background: #929297;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font: 700 25px/30px lato, arial, sans-serif;
  margin: 0px;
  padding: 10px 30px;
  text-align: center;
  text-shadow: 1px 1px 0px rgba(0,0,0,0.50);
  text-transform: uppercase;
}

input[type=text], input[type=submit], input[type=email], input[type=number], textarea {
    -webkit-appearance: none;
    -webkit-border-radius: 0;
}

.modal-sm {
    box-sizing: border-box;
}

.modal-content {
    border: none !important;
}

.modal-body {
    color: #282828;
    font: 700 16px/20px lato, arial, sans-serif;
    padding: 30px;
}

.modal-body h2 {
    color: #054a73;
    font: 400 24px/28px lato, arial, sans-serif;
    margin: 0px 0px 20px;
    padding: 0px;
    text-transform: uppercase;
}

.modal-body label {
    display: block;
    margin: 0px 0px 5px !important;
    padding: 0px !important;
    text-align: left !important;
}

.modal-body input[type=text], .modal-body input[type=password] {
    border: 1px solid #c8c8c8;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    box-shadow: none;
    box-sizing: border-box;
    font: 400 15px/19px lato, arial, sans-serif;
    height: 35px;
    margin: 0px 0px 15px;
    padding: 7px 10px;
    width: 100%;
}

.modal-body .required {
    float: right;
    font: 400 italic 16px/20px lato, arial, sans-serif;
}

.modal-body .forgot-password {
    color: #167ab5;
    display: block;
    font: 700 16px/20px lato, arial, sans-serif;
    margin: -10px 0px 20px;
    text-align: right;
    text-decoration: none;
}

#signup, #signin, #btn-continue {
    background: #167ab5;
    border: none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    color: #ffffff;
    cursor: pointer;
    display: block;
    float: left !important;
    font: 400 18px/40px lato, arial, sans-serif;
    height: 40px;
    margin: 0px 15px 0px 0px !important;
    padding: 0px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    width: 100px;
}

#btn-continue {
    margin: 0px !important;
    width: 210px;
}

.alert-danger {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    margin: 0px 0px 15px !important;
    padding: 10px !important;
}

#races {
    margin: 0 0 10px;
    width: 100%;
}
#races tr td {
    background: #aaa none repeat scroll 0 0;
    border-bottom: 5px solid #ffffff;
    box-sizing: border-box;
    color: #01396c;
    font: 700 18px/20px lato,arial,sans-serif;
    margin: 0 0 5px;
    min-height: 40px;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}
#races tr td div {
    font: 700 16px/18px lato,arial,sans-serif;
    margin: 5px 0 0;
}
#races tr:nth-of-type(2n) td {
    background: #e6e6e6 none repeat scroll 0 0;
    color: #01396c;
}
#races tr:nth-of-type(2n) td div {
    color: #929297;
}
#races tr:last-of-type td {
    border: medium none;
}
#races tr td:first-of-type {
    max-width: 40px;
    padding: 10px 0 10px 30px;
}
#races tr td:last-of-type {
    padding: 10px 30px 10px 10px;
    text-align: right;
}
#races tr.registration_fees_title td {
	text-align: left;
	background: #929297;
	color: #ffffff;
}
#races input[type="radio"] {
    height: 20px;
    margin: 0;
    padding: 0;
}

.panel {
	margin: 0px 0px 5px;
}

.panel-body {
	padding: 2px 3px;
}

legend {
	border-right: 15px solid transparent;
	box-sizing: border-box;
	font-size: 17px;
	line-height: 22px;
	margin: 0px 0px 10px;
	border-bottom: 0;
}

.panel-odd legend {
	margin: 0px 0px 10px;
}

.form-group, .col-sm-12 {
	padding: 0px 0px 0px 0px;
}

.form-group {
	margin-bottom: 0px;
}

label.radio {
	margin: 0px;
}

.date-wrapper {
	margin: 0px 0px 10px;
}

.checkbox {
	margin-bottom: 0px;
}

.thebuttons input[type=submit] {
	background: #929297;
	border: none;
	color: #ffffff;
	cursor: pointer;
	display: inline-block;
	font: 400 20px/30px lato, arial, sans-serif;
	margin: -5px 15px 0px 0px;
	padding: 0px 15px;
	text-align: center;
	text-shadow: 1px 1px 0px rgba(0,0,0,0.25);
}

.reg-left {
	padding: 5px 0px 15px 0px;
}

.reg-right {
	padding: 5px 15px 15px 0px;
}

.reg-left h4, .formelements h4 {
	margin: 0px 0px 10px;
}

.reg-left p, .formelements p {
	color: #333333;
}

.formelements {
	margin: 0px 0px 5px;
	padding: 5px 15px 0px 0px;
}

.panel hr {
	margin-top: 0px;
}

@media (min-width: 768px) {
    .modal-sm {
        width: 500px;
    }
}

@media (max-width: 540px) {
    .modal-body {
        padding: 20px ;
    }

    #signup, #signin, #btn-continue {
        margin: 0px 10px 10px 0px !important;
    }

    #btn-continue {
        margin: 0px;
    }
}

@media (max-width: 380px) {
    .modal-body .required {
        font-size: 14px;
    }
}

@media (max-width: 340px) {
    .modal-body .required {
        font-size: 12px;
    }
}

@media (max-width: 640px) {
	.blue-event-container .header {
		background-image:url(../../img/template/blue/header-mobile.png) !important;
	}
}

.blue-event-container .content .contents .panel-default {
    background:#01396c;
    color:#fff;
}
.blue-event-container .content .contents .panel-default legend {
    color:#fff;
}
.blue-event-container .content .contents .panel-default.panel-odd {
    background:#e6e6e6;
    border-color:#01396c;
    color:#01396c;
}

.blue-event-container .content .contents .panel-default.panel-odd legend{
    color:#01396c;
}

h2 {
	font-size: 26px;
}

.radio-inline, .checkbox-inline {
	margin-bottom: 2px;
}
