body {
    background: #0088ce;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
    padding-top: 70px;
}

/* ==========================================================================
Hide ng-cloak on page load, https://docs.angularjs.org/api/ng/directive/ngCloak
========================================================================== */
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

/* ==========================================================================
Development Ribbon
========================================================================== */
.ribbon {
    background-color: #a00;
    box-shadow: 0 0 10px #888;
    left: -3.5em;
    moz-box-shadow: 0 0 10px #888;
    moz-transform: rotate(-45deg);
    ms-transform: rotate(-45deg);
    o-transform: rotate(-45deg);
    overflow: hidden;
    position: absolute;
    top: 40px;
    transform: rotate(-45deg);
    webkit-box-shadow: 0 0 10px #888;
    webkit-transform: rotate(-45deg);
    white-space: nowrap;
    width: 15em;
    z-index: 9999;
    pointer-events: none;
}

.ribbon a {
    border: 1px solid #faa;
    color: #fff;
    display: block;
    font: bold 81.25% 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 1px 0;
    padding: 10px 50px;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 0 5px #444;
    pointer-events: none;
}

/* ==========================================================================
Version number in navbar
========================================================================== */
.navbar-version {
    font-size: 12px;
    color: #0088ce;
    letter-spacing: 0.02em;
}

/* ==========================================================================
navbar text
========================================================================== */
.navbar-default .navbar-brand {
    font-size: 12px;
    color: #0088ce;
    letter-spacing: 0.02em;
}

.navbar-default {
    background-color: #FFFFFF;
    border-color: #f8f8f8;
}

/* ==========================================================================
Navbar font
========================================================================== */
.navbar > div > div > ul > li > a,
.navbar > div > div > ul > li > ul > li > a > span {
    color: #0088ce !important;
}

.dropdown-menu > li > a{
    color: #0088ce;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    color: #0088ce;
    text-decoration: none;
    background-color: #e7e7e7;
    outline: 0;
}

/* ==========================================================================
Layout change
========================================================================== */
a {
    color: #0088ce;
}

.well {
    margin-bottom: 0px;
    border-radius: 0px;
    min-height: 20px;
    padding: 14px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
}

.footer {
    background: #2e6da4;
    padding: 10px;
    color: #f5f5f5;
    font-size: 12px;
    letter-spacing: .02em;
}

.footer a {
    color: #8EBAE5;
}
.footer a:hover {
    color: #FFFFFF;
}

/* ==========================================================================
========================================================================== */

/* ==========================================================================
Browser Upgrade Prompt
========================================================================== */
.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
Logo styles
========================================================================== */
.navbar-brand.logo {
    padding: 5px 15px;
}

.logo .logo-img {
    height: 45px;
    display: inline-block;
}

/* ==========================================================================
Main page styles
========================================================================== */
.hero-unit {
    margin: 50px auto 0 auto;
    width: 300px;
    font-size: 18px;
    font-weight: 200;
    line-height: 30px;
    background-color: #eee;
    border-radius: 6px;
    padding: 60px;
}

.hero-unit h1 {
    font-size: 60px;
    line-height: 1;
    letter-spacing: -1px;
}

.hipster {
    display: inline-block;
    width: 347px;
    height: 497px;
    background: url("../images/hipster.png") no-repeat center top;
    background-size: contain;
}

/* wait autoprefixer update to allow simple generation of high pixel density media query */
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {
    .hipster {
        background: url("../images/hipster2x.png") no-repeat center top;
        background-size: contain;
    }
}

/* ==========================================================================
Generic styles
========================================================================== */
.error {
    color: white;
    background-color: red;
}

.pad {
    padding: 10px;
}

.break {
    white-space: normal;
    word-break:break-all;
}

.voffset  { margin-top: 2px; }
.voffset1 { margin-top: 5px; }
.voffset2 { margin-top: 10px; }
.voffset3 { margin-top: 15px; }
.voffset4 { margin-top: 30px; }
.voffset5 { margin-top: 40px; }
.voffset6 { margin-top: 60px; }
.voffset7 { margin-top: 80px; }
.voffset8 { margin-top: 100px; }
.voffset9 { margin-top: 150px; }

.readonly {
    background-color: #eee;
    opacity: 1;
}

/* ==========================================================================
make sure browsers use the pointer cursor for anchors, even with no href
========================================================================== */
a:hover, .hand, [jh-sort-by] {
    cursor: pointer;
}

/* ==========================================================================
Metrics and Health styles
========================================================================== */
#threadDump .popover, #healthCheck .popover {
    top: inherit;
    display: block;
    font-size: 10px;
    max-width: 1024px;
}

#healthCheck .popover {
    margin-left: -50px;
}

.health-details {
    min-width: 400px;
}

/* ==========================================================================
start Password strength bar style
========================================================================== */
ul#strengthBar {
    display:inline;
    list-style:none;
    margin:0;
    margin-left:15px;
    padding:0;
    vertical-align:2px;
}

.point:last {
    margin:0 !important;
}

.point {
    background:#DDD;
    border-radius:2px;
    display:inline-block;
    height:5px;
    margin-right:1px;
    width:20px;
}

/* ==========================================================================
Custom alerts for notification
========================================================================== */
.alerts .alert{
    text-overflow: ellipsis;
}
.alert pre{
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    padding: 0;
    margin: 0;
    white-space: pre-wrap;
}

.alert .popover pre {
    font-size: 10px;
}

.alerts .toast {
    position: fixed;
    width: 100%;
}

.alerts .toast.left {
    left: 5px;
}

.alerts .toast.right {
    right: 5px;
}

.alerts .toast.top {
    top: 55px;
}

.alerts .toast.bottom {
    bottom: 55px;
}

@media screen and (min-width: 480px) {
    .alerts .toast {
        width: 50%;
    }
}

.modal-open .alert {
    display: none;
}

.modal-open .modal-dialog .alert {
    display: block;
}

/* ==========================================================================
entity tables helpers
========================================================================== */
/* Remove Bootstrap padding from the element
   http://stackoverflow.com/questions/19562903/remove-padding-from-columns-in-bootstrap-3 */
.no-padding-left { padding-left: 0 !important; }
.no-padding-right { padding-right: 0 !important; }
.no-padding-top { padding-top: 0 !important; }
.no-padding-bottom { padding-bottom: 0 !important; }
.no-padding { padding: 0 !important; }

/* bootstrap 3 input-group 100% width
   http://stackoverflow.com/questions/23436430/bootstrap-3-input-group-100-width */
.width-min { width: 1% !important; }

/* Makes toolbar not wrap on smaller screens
 http://www.sketchingwithcss.com/samplechapter/cheatsheet.html#right */
.flex-btn-group-container {
   display: -webkit-flex;
   display: flex;
   -webkit-flex-direction: row;
   flex-direction: row;
   -webkit-justify-content: flex-end;
   justify-content: flex-end;
}

.jh-table > tbody > tr > td {
    /* Align text in td vertically (top aligned by Bootstrap) */
    vertical-align: middle;
}

.jh-table > thead > tr > th > .glyphicon-sort, .jh-table > thead > tr > th > .glyphicon-sort-by-attributes, .jh-table > thead > tr > th > .glyphicon-sort-by-attributes-alt {
    /* less visible sorting icons */
    opacity: 0.5;
}

.jh-table > thead > tr > th > .glyphicon-sort:hover, .jh-table > thead > tr > th > .glyphicon-sort-by-attributes:hover, .jh-table > thead > tr > th > .glyphicon-sort-by-attributes-alt:hover {
    /* full visible sorting icons and pointer when mouse is over them */
    opacity: 1;
    cursor: pointer;
}

/* ==========================================================================
entity detail page css
========================================================================== */
.dl-horizontal.jh-entity-details > dd {
    margin-bottom: 15px;
}

@media screen and (min-width: 768px) {
    .dl-horizontal.jh-entity-details > dt {
        margin-bottom: 15px;
        white-space: normal;
    }

    .dl-horizontal.jh-entity-details > dd {
        border-bottom: 1px solid #eee;
        padding-left: 180px;
        margin-left: 0;
    }
}

/* ==========================================================================
ui bootstrap tweaks
========================================================================== */
.nav, .pagination, .carousel, .panel-title a {
    cursor: pointer;
}

.datetime-picker-dropdown > li.date-picker-menu div > table .btn-default,
.uib-datepicker-popup  > li > div.uib-datepicker > table .btn-default {
    border: 0;
}

.datetime-picker-dropdown > li.date-picker-menu div > table:focus,
.uib-datepicker-popup  > li > div.uib-datepicker > table:focus {
    outline: none;
}

.uib-datepicker-wrapper {
    width: 10em;
}

/* ==========================================================================
Social Buttons
========================================================================== */
.jh-btn-social {
    margin-bottom: 5px;
}

.jh-btn-google {
    background-color: #dd4b39;
    border-color: rgba(0, 0, 0, 0.2);
    color: #fff;
}

.jh-btn-google:hover, .jh-btn-google:focus, .jh-btn-google:active, .jh-btn-google.active, .open > .dropdown-toggle.jh-btn-google {
    background-color: #c23321;
    border-color: rgba(0, 0, 0, 0.2);
    color: #fff;
}

.jh-btn-facebook {
    background-color: #3b5998;
    border-color: rgba(0, 0, 0, 0.2);
    color: #fff;
}

.jh-btn-facebook:hover, .jh-btn-facebook:focus, .jh-btn-facebook:active, .jh-btn-facebook.active, .open > .dropdown-toggle.jh-btn-facebook {
    background-color: #2d4373;
    border-color: rgba(0, 0, 0, 0.2);
    color: #fff;
}

.jh-btn-twitter {
    background-color: #55acee;
    border-color: rgba(0, 0, 0, 0.2);
    color: #fff;
}

.jh-btn-twitter:hover, .jh-btn-twitter:focus, .jh-btn-twitter:active, .jh-btn-twitter.active, .open > .dropdown-toggle.jh-btn-twitter {
    background-color: #2795e9;
    border-color: rgba(0, 0, 0, 0.2);
    color: #fff;
}

.btn-round {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.btn-round.btn-lg {
    width: 48px;
    height: 48px;
}

.btn-round.btn-sm {
    width: 34px;
    height: 34px;
}

.btn-round.btn-xs {
    width: 24px;
    height: 24px;
}

/* jhipster-needle-css-add-main JHipster will add new css style */

/* setting main container to fit device size without wasting space for huge margins on small screens. */
body > div.container{
    max-width: 1580px;
}

/* extra small device */
@media (max-width: 767px) {
    body > div.container{
        /*removing padding to have more room on mobile device*/
        padding-left: 0px;
        padding-right: 0px;
    }
}

@media (min-width: 992px) {
    body > div.container {
        width:auto  !important;
    }
}

@media (min-width: 768px){
    body > div.container {
        width:auto !important;
    }
}

/* ==========================================================================
Wizard tweaks
========================================================================== */
.steps-indicator {
   padding-top: 30px;
   padding-bottom: 30px;
}

.steps-indicator:before {
   display: none;
}

.steps-indicator > li > a {
   pointer-events: none;
   cursor: default;
}

/* ==========================================================================
========================================================================== */

/* ==========================================================================
tab component tweaks to remove gross blue color
========================================================================== */
.nav-tabs > li > a{
    color:#545454;
}

.nav-tabs > li.active > a{
    color:black;
    font-weight: bold;
}

/* ==========================================================================
========================================================================== */

/* ==========================================================================
Race registration tweaks
========================================================================== */
table.race-registration table.race-digest td{
    padding-right: 2em;
}

/* ==========================================================================
========================================================================== */

/* ==========================================================================
Home grid
========================================================================== */
.home-grid>div>div {
    text-align: center;
    padding-bottom: 3em;
}

.home-grid>div>div>a>h2,
.home-grid>div>div>a:hover{
    color:black;
    text-decoration: none;
}

/* ==========================================================================
========================================================================== */

/* ==========================================================================
competition.css
========================================================================== */
.competition .compact-track-date-list td{
    font-size: smaller;
    padding-left: 2em;
}

.competition-race-add-dialog .race-select-table{
}

.competition-race-add-dialog .race-select-table > tbody {
    display:block;
    max-height:30em;
    overflow-y:scroll;
}

.competition-race-add-dialog .race-select-table > thead,
.competition-race-add-dialog .race-select-tablet > body tr {
    display:table;
    table-layout:fixed;
}

.competition-race-add-dialog .filters .date-select{
    max-width:12em;
}

.competition-race-add-dialog .filters .club-select{
    max-width:20em;
}

.competition-race-add-dialog .filters > *{
    display: inline-block;
    margin-bottom: 0.5em;
    margin-right:1em;
    vertical-align: top;
}

.competition-race-add-dialog .race-select-table{
    margin-bottom:0em;
}
.competition-race-add-dialog .race-select-table tfoot td{
    text-align: center;
    padding-bottom:0em;
}

.competition-race-add-dialog .pagination-controls{
    list-style: none;
    display: inline-block;
    padding:0em;
    margin:0em;
}

.competition-race-add-dialog .pagination-controls li{
    display: inline-block;
}
.competition-race-add-dialog .pagination-controls li:nth-child(2){
    margin-left:1em;
    margin-right:1em;
}

.competition .loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #04a4e233;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin-left: 3em;
    animation: competition-race-add-dialog-loader-spin 2s linear infinite;
}

@keyframes competition-race-add-dialog-loader-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.competition-race-add-dialog .cancel-button{
    margin-right:2em;
}

.competition .race-table tfoot td{
    text-align: right;
}

.competition .index-row-tracks-table tr>*:first-child{
    text-align: right;
}
.competition .index-row-tracks-table tr> *{
    padding-right:1em;
    padding-bottom: 0.2em;
}

.competition .track-start-order th:first-child,
.competition .track-start-order td:first-child{
    width: 3em;
    text-align: right;
}

.competition .track-start-order tr.invalidStartOrder td.startTime >span{
    color:red;
    text-decoration: underline;
}

.competition .track-start-order tr.invalidStartOrder td.startTime input{
    border-color: red;
}

.competition .time-select{
    width: 5em;
    text-align: right;
}

.competition .time-select.ng-invalid{
    border-color: red;
}

.competition .track-participants .track-title{
    font-weight:bold;
    white-space: nowrap;
}

.competition input.participant-number{
    text-align: right;
    width: 6em;
}

.competition input.participant-number.ng-invalid,
.competition input.participant-number.invalid{
    border-color: red;
}

.competition .track-participants .participant-table .participantNumber{
    width: 3em;
}
.competition .track-participants .participant-table .dog{
    width: 20em;
}
.competition .track-participants .participant-table .handler{

}

.competition .track-participants .trackBasedParticipantNumbering{
}
.competition .track-participants .trackBasedParticipantNumbering input{
    display: inline-block;
}

.competition .track-participants .no-participants-for-track{
    margin-left: 3em;
    margin-bottom: 1em;
    display: inline-block;
}

.competition .form-group.row {
    margin-left:  0em;
    margin-right: 0em;
}

.competition .modal-body >div{
    margin-top:1em;
}

.competition .participantNumbering > *{
    vertical-align: top;
    display: inline-block;
}
.competition .participantNumbering select{
    max-width: 15em;
}

.competition table.size-class-participant-numbering{
    width: auto !important;
    display: inline-block;
    margin-left:1.5em;
}
.competition table.size-class-participant-numbering input{
    display: inline-block;
}
.competition table.size-class-participant-numbering tr>*{
    white-space:nowrap;
    vertical-align: middle;
}

.competition table.table.headerless > tbody > tr:first-child >td{
    border-top:none;
}

.competition tr.movingRow >td{
    background-color: #04a4e233;
    border-bottom: 2px solid #2e6da4;
    border-top: 2px solid white;

}

.competition tr.movingRow >td:last-child{
    border-right: 2px solid #2e6da4;
}
.competition tr.movingRow >td:first-child{
    border-left: 2px solid white;
}

/* ==========================================================================
contact-component.css
========================================================================== */
.contact-component{
    max-width: 22em;
    min-width: 15em;
}
.contact-component .edit-mode > div{
    margin-bottom:0.5em;
}
.contact-component .edit-mode > div >div{
    margin-bottom:0.2em;
    width: 100%;
}

.contact-component .edit-mode input.zip-code{
    width: 8em;
    margin-right:1em;
    display: inline-block;
}
.contact-component .edit-mode input.city{
    width: 16em;
    display: inline-block;
}

.contact-component .view-mode > div.form-control{
    height: auto !important;
    min-height: 34px;
}

.contact-display-component .view-mode ul,
.contact-component .view-mode ul{
    list-style: none;
    padding:0em;
}

.contact-display-component .view-mode li > *,
.contact-component .view-mode li > *{
    display: inline-block;
    vertical-align: text-top;
}

.contact-component .show-hide-toggle{
    width: 100%;

}

/* ==========================================================================
officer-person.css
========================================================================== */
.officer-person .validity-time-period-edit > div:first-child{
    margin-bottom:0.5em;
}


.officer-person .validity-time-period-edit{
    max-width: 15em;
}

.officer-person ul.delete-options{
    list-style: none;
}
.officer-person ul.delete-options li{
    margin-bottom:1em;
}

.officer-person ul.addingMode{
    list-style: none;
}

.officer-person table.addingMode td >*{
    display: inline-block;
}

.officer-person table.addingMode tbody >tr>td{
    padding-bottom: 1em;
}

.officer-person table.addingMode tfoot >tr>td{
    text-align: right;
}

/* ==========================================================================
person.css
========================================================================== */
.person .lang-select select{
    max-width: 20em;
    display: inline-block;
}

.person .lang-select label{
    padding-right:2em;
}

.person .find-person-select{
    max-width: 20em;
    margin-top: 1em;
}

.person .user-input > input {
    width: auto;
}

/* ==========================================================================
race-calendar.css
========================================================================== */
.race-calendar th,
.race-calendar td{
    vertical-align: top !important;
}

.race-calendar .nowrap{
    white-space: nowrap;
}

.race-calendar .race-filters .year-select {
    width: 5em;
    text-align: right;
    display: inline-block;
}

.race-calendar .race-filters .month-select {
    width: 15em;
    display: inline-block;

}

.race-calendar .race-filters .year-month-select{

}

.race-calendar .race-filters >*{
    display: inline-block;
    margin-right:1em;
    margin-bottom: 0.3em;
}

.race-calendar .race-filters .club-select,
.race-calendar .race-filters .district-select{
    width: auto;
    max-width: 20em;
}

.race-calendar table.race-calendar-days table.race-digest td{
    padding-right: 1em;
    font-size:smaller;
}

.race-application table.race-applications table.race-digest td{
    padding-right: 1em;
    font-size:smaller;
}

.race-calendar table.race-calendar-days > tbody:nth-of-type(odd) td {
    background-color: #f9f9f9;
}

.race-calendar .day-details .event-details{
    margin-left: 1em;
}

.race-calendar .day-details .event-details .race-name{
    font-weight: bold;
    font-size: 120%;
    color: #656565;
}

.race-calendar .day-details .event-details  .championshipRaceMarker{
    display: block;
    font-size: 120%;
    color: #656565;
    margin-top: 0.5em;
}

.race-calendar .day-details .event-details a.go-to-race-details{

}

.race-calendar .day-details .event-details > div{
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    border-bottom: thin solid #04a4e233;
}
.race-calendar .day-details .event-details > div:first-child{
    border-bottom:none;
}

.race-calendar .day-details .event-details  label{
    color: #04a4e2;
    font-weight: normal;
}

.race-calendar .day-details .event-details > div > div> *{
    vertical-align: top;
}

.race-calendar .day-details .event-details > div.row {
    margin-right: 0;
}

.race-calendar .day-details .event-details .registration >*{
    display: inline-block;
}
.race-calendar .day-details .event-details .registration >button{
    margin-left:2em;
}

.race-calendar .day-details .event-details{
    margin-bottom: 2em;
}

.race-calendar .day-details table.tracks{
    font-size: 90%;
}
.race-calendar .day-details table.tracks > *{
    white-space: nowrap;
}

.race-calendar .day-details table.tracks tbody > tr>*{
    border-bottom: thin solid silver;
}
.race-calendar .day-details table.tracks th,
.race-calendar .day-details table.tracks td{
    padding-right:1em;
    padding-left:1em;
}

.race-calendar .day-details table.tracks td:nth-child(3){
    text-align: right;
}

.race-calendar .loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #04a4e233;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: race-calendar-loader-spin 2s linear infinite;
}



.race-calendar .day-details ul{
    list-style: none;
    margin-bottom: 0em;
    padding:0em;
}

/* ==========================================================================
generic loader spinner
========================================================================== */
.generic-loader-spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #04a4e233;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: generic-loader-spin 2s linear infinite;
}
@keyframes generic-loader-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
race.css
========================================================================== */
.race table.tracks{
    margin-bottom: 1.5em;
}

.race table.tracks> tbody > tr > td{
    padding-bottom: 0.4em;
    padding-right: 1em;
}


.race .payment,
.race .registration{
    margin-bottom:1em;
}

.race .payment > div,
.race .registration >div{
    margin-bottom:0.5em;
}

.race .payment label,
.race .registration label{
    font-weight:normal;
}

.race .payment .date-select,
.race .registration .date-select{
    width: 15em;
    display: inline-block;
}

.race .payment .side-by-side > label,
.race .registration .side-by-side > label{
    width: 12em;
    display: inline-block;
}
.race .payment .side-by-side > input{
    max-width: 20em;
    display: inline-block;
}

.race .payment .amount input{
    text-align: right;
    width:8em;
    display: inline-block;
}
.race .payment .amount .unit{
    vertical-align: bottom;
}

.race .tracks-for-size-class-title{
    font-size:larger;
    padding-right:2em;
}

.race-application .track-start-date.ng-invalid{
    /*this is for copying has-error behaviour except that show before touching*/
    border-color: #a94442;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.race-application .write-in-judge-name{
    display: inline-block;
    width: 100%;
}

.race-application .track-judge-selection{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
}
.race-application .track-judge-selection .judge-select-mode-drowdown{
    margin-left:0.2em;
}


.race-application .tracks .btn-group{
    /* This is for keeping buttons horzonal */
    display: flex;
}

.race-application .tracks-container{
    margin-left: 0em;
}

.race-application .tracks .date-select{
    max-width: 12em;
}

.race-application .add-class-level-select,
.race-application .add-size-level-select{
    max-width: 15em;
}

.race-application table.tracks{
    margin-right: 1em;
}

.race-application table.tracks .group-delete-button{
    float:right;
}

.race-application table.tracks> tbody > tr > td:last-child{
    padding-right: 0em;
}


.race-application .official-contact-override{
    max-width: 30em;
}

.race-application .official-contact-override > div{
    margin-bottom: 0.3em;
}

.race-application .info-contact-wrapper{
    display: flex;
    align-items: flex-start;
}
.race-application .info-contact-wrapper .info-contact{
    margin-right: 1em;
}


/* ==========================================================================
results.css
========================================================================== */
.results .race-filters .year-select {
    width: 5em;
    text-align: right;
    display: inline-block;
}

.results .race-filters .month-select {
    width: 15em;
    display: inline-block;

}

.results .race-filters .year-month-select{

}

.results .race-filters >*{
    display: inline-block;
    margin-right:1em;
    margin-bottom: 0.3em;
}

.results .results-table a{
    display:block;
    text-decoration:none;
}

.results .results-table th.track-result,
.results .results-table td.track-result{
    text-align: right;
}

.track-results .btn-track{
    margin-right: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.track-results .btn-track-selected{
    background-color: #337ab7;
    border-color: #2e6da4;
}

/* ==========================================================================
========================================================================== */
.ranking .btn-size{
    margin-right: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.ranking .btn-size-selected{
    background-color: #337ab7;
    border-color: #2e6da4;
}

/* ==========================================================================
bootstrap 4 checkbox styling
========================================================================== */


.checkbox label:after {
content: '';
display: table;
clear: both;
}

.checkbox .cr {
position: relative;
display: inline-block;
border: 1px solid #a9a9a9;
border-radius: .25em;
width: 1.3em;
height: 1.3em;
float: left;
margin-right: .5em;
}

.checkbox .cr .cr-icon {
position: absolute;
font-size: .8em;
line-height: 0;
top: 50%;
left: 15%;
}

.checkbox label input[type="checkbox"] {
display: none;
}

.checkbox label input[type="checkbox"]+.cr>.cr-icon {
opacity: 0;
}

.checkbox label input[type="checkbox"]:checked+.cr>.cr-icon {
opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled+.cr {
opacity: .5;
}

/* ==========================================================================
bootstrap 4 style spacing
========================================================================== */


.mt-0{
    margin-top: 0!important;
}

.mt-1{
     margin-top: 0.25rem!important;
}

.mt-2{
      margin-top: 0.5rem!important;
}

.mt-3{
       margin-top: 1rem!important;
}

.mt-4{
    margin-top: 1.5rem!important;
}

.mt-5{
    margin-top: 3rem!important;
}

.mr-0{
    margin-right: 0!important;
}

.mr-1{
    margin-right: 0.25rem!important;
}

.mr-2{
    margin-right: 0.5rem!important;
}

.mr-3{
    margin-right: 1rem!important;
}

.mr-4{
    margin-right: 1.5rem!important;
}

.mr-5{
    margin-right: 3rem!important;
}

.mb-0{
    margin-bottom: 0!important;
}

.mb-1{
    margin-bottom: 0.25rem!important;
}

.mb-2{
    margin-bottom: 0.5rem!important;
}

.mb-3{
    margin-bottom: 1rem!important;
}

.mb-4{
    margin-bottom: 1.5rem!important;
}

.mb-5{
    margin-bottom: 3rem!important;
}

.ml-0{
    margin-left: 0!important;
}

.ml-1{
    margin-left: 0.25rem!important;
}

.ml-2{
    margin-left: 0.5rem!important;
}

.ml-3{
    margin-left: 1rem!important;
}

.ml-4{
    margin-left: 1.5rem!important;
}

.ml-5{
    margin-left: 3rem!important;
}

/* ==========================================================================
small inputs
========================================================================== */

.input-medium {
    max-width: 15em;
}

/* ==========================================================================
hack for mirroring glyphicons
========================================================================== */

.icon-mirror {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}


/* ==========================================================================
Custom button on race results page status button
========================================================================== */
.btn-status-waiting-results-disabled {

    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;

    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    opacity: 0.6;
    pointer-events: none;



    color: #fff;
    background-color: #5e5e5e;
    border-color: #5e5e5e;
}
.btn-status-declared-results-disabled {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;

    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    opacity: 0.6;
    pointer-events: none;
    color: #fff;
    background-color: #f0ad4e;
    border-color: #eea236;
}

.progress-bar-animated-result-status {
    animation: progress-bar-stripes 1s linear infinite;
    animation-name: progress-bar-stripes;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-delay: initial;
    animation-iteration-count: infinite;
    animation-direction: initial;
    animation-fill-mode: initial;
    animation-play-state: initial;
}

.race-result-transfer-json-log .description-index-sample{
    max-height: 6em;
    max-width: 70em;
    overflow: hidden;
}

/* Joukkueilmoittautuminen */

.team-registration .pl-1 {
    padding-bottom: 1rem!important;
    display:inline;
}

.team-registration .pb-3 {
    padding-left: 3rem!important;
}

.form-group .short {
    max-width: 15em;
}

@media (max-width: 991px) {
    /*Fixing insanity of dialogs width shrinking to 600px and growing as width as screen can show while browser window narrows*/
    .modal-dialog {
        width: auto;
        margin: 10px;
    }
}

.compact-modal {
    max-height: 500px;
    overflow-y: scroll;
}
