﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}
/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}
/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.table tr.deleted {
    background-color: lightgray;
}

.table tr.uncompleted {
    background-color: red;
    color: white;
    font-weight: bold;
}

.table tr.completed {
    background-color: green;
    color: white;
    font-weight: bold;
}

h2 button {
    float: right;
}

.scrollup {
    width: 40px;
    height: 40px;
    position: fixed;
    bottom: 50px;
    right: 20px;
    color: white;
    background-color: lightgray;
    padding: 5px;
    text-align: center;
    font-size: 20px;
    display: none;
}

.search-container {
    width: 100%;
}

.sailing-start .teamclasses {
    font-weight: bold;
}

td.teamcolor {
    width: 20px;
}

div.teamcolor {
    width: 20px;
    height: 20px;
    display: inline-block;
}

.sailing-buoy .buttons div {
    width: 160px;
}

.event-short-start .left {
    float: left;
}

.event-short-start .right {
    width: 112px;
    float: left;
    clear: right;
    margin-left: 50px;
    margin-top: 50px;
}

    .event-short-start .right .team-grid {
        border: 1px solid black;
        padding-left: 10px;
        padding-top: 10px;
        min-height: 100px;
    }

        .event-short-start .right .team-grid .team {
            margin-right: 10px;
            width: 90px;
            height: 90px;
            float: left;
            margin-bottom: 10px;
        }

.event-short-start .lane-descriptions {
    margin-top: 20px;
}

    .event-short-start .lane-descriptions .lane-description {
        float: left;
        width: 100px;
        margin-right: 20px;
        font-weight: bold;
        text-align: center;
        height: 20px;
    }

.event-short-start .event-grid {
    margin-bottom: 20px;
}

    .event-short-start .event-grid .heat-container {
        width: 100%;
        clear: both;
    }

        .event-short-start .event-grid .heat-container.inactive-buttons .button-container {
            display: none;
        }

        .event-short-start .event-grid .heat-container .heat {
            border-bottom: 1px solid black;
            padding-bottom: 10px;
            padding-top: 10px;
            display: inline-block;
        }

            .event-short-start .event-grid .heat-container .heat .heat-description {
                font-weight: bold;
            }

            .event-short-start .event-grid .heat-container .heat .lanes .lane {
                border-style: dashed;
                border-color: black;
                border-width: 1px;
                width: 100px;
                height: 100px;
                float: left;
                margin-right: 20px;
                padding: 10px;
            }

                .event-short-start .event-grid .heat-container .heat .lanes .lane:nth-last-child(2) {
                    margin-right: 0px;
                }

.event-short-start .team {
    border: 1px solid black;
    background-color: lightblue;
    width: 100%;
    height: 100%;
}

.event-short-start .ui-droppable-hover {
    background-color: purple;
}

.event-short-start .executed {
    background-color: lightgray;
}

    .event-short-start .executed .ui-droppable-hover {
        background-color: transparent !important;
    }

.team-abbrev {
    font-weight: bold;
}

.ui-draggable,
.ui-droppable {
    -ms-touch-action: none;
    touch-action: none;
}

.alert .fa {
    margin-right: 10px;
}

.data-notification {
    font-weight: bold;
    color: green;
}

    .data-notification #notification-data-pending {
        color: red;
    }

.action-button {
    width: 37px;
    height: 37px;
}

.modal textarea {
    width: 100%;
    height: 100%;
    max-width: none;
}

.notes {
    background-color: yellow;
}

td.identifier {
    font-weight: bold;
}

    td.identifier .last-seen {
        font-weight: normal;
        display: block;
        font-style: italic;
    }

@keyframes highlight {
    0% {
        background: none;
    }

    100% {
        background: #4BB543;
    }
}

.highlight {
    animation: highlight 0.5s;
}

.startlist .heat {
    font-weight: bold;
}

.startlist .lane .team-class {
    display: block;
    font-style: italic;
}

.startlist .lane .team-name {
    font-weight: bold;
}

.sailing-progress .fa-times {
    color: red;
}

.sailing-progress .fa-check {
    color: green;
}

.sailing-progress .fa-warning {
    color: orange;
    float: right;
}

.sailing-progress .identifier {
    font-weight: bold;
}

.sailing-progress .group {
    font-weight: bold;
}

.sailing-progress .row {
    margin-bottom: 10px;
}

    .sailing-progress .row:nth-child(even) {
        background-color: #f9f9f9;
    }

.sailing-progress .checkpoint-name {
    float: left;
    clear: left;
    width: 60px;
}

.sailing-progress .checkpoint-data {
    float: left;
}

.checkpoint-color-container button {
    width: 55px;
    height: 55px;
    border: 1px solid black;
}

    .checkpoint-color-container button.active {
        border: 5px solid black;
    }

.checkpoint-color-container {
    margin-top: 10px;
    margin-bottom: 10px;
}
