
html,
body {
    height: 100%;
    /* The html and body elements cannot have any padding or margin. */
}



.navbar-brand {
    padding-top: 0;
}

/* Wrapper for page content to push down footer */
#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    padding-top: 60px;
    margin: 0 auto -60px;
    width: 100%;
    overflow: scroll;
}



.navbar-fixed-top .navbar-collapse {
    max-height: calc(100vh - 50px);
}


/* Set the fixed height of the footer here */
#footer {
    height: 60px;
    background-color: #222;
    padding-top: 5px;
}

#push {
    height: 70px;
/ / push needs to be a little big bigger as the footer to create some margin
}

li > a.user {
    white-space: nowrap;overflow: hidden;text-overflow: ellipsis;
}

@media (min-width: 768px) {
    li > a.user {
        max-width: 160px;
    }
}

@media (min-width: 992px) {
    li > a.user {
    max-width: 300px;
    }
}


/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {

    .panel-body {
        padding: 0px;
    }

    #footer {
        padding-left: 15px;
        padding-right: 15px;
        white-space: nowrap;
        overflow: hidden;
        width: 100%;
    }

    #timeline {
        margin-left: -10px;
        margin-right: -10px;
    }
}

.container .credit {
    margin: 20px 0;
    text-align: center;
    color: #9d9d9d;
}

.overlay_play {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.overlay_play img {
    width: 100%;
    vertical-align: top;
}

.overlay_play:after {
    content: '\A';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('/images/play_button.png');
}

/* have split pill with drop down */
a.caret-before {
    padding-right: 6px !important;
    display: inline-block !important;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

a.caret-after {
    padding-left: 6px !important;
    padding-right: 8px !important;
    display: inline-block !important;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.label-profile {
    position: absolute;
    top: 63%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.jsmovie {
    padding: 10px;
    background-color: #1D1D1D;
    text-align: center;
}

.jsmovie .btn:hover, .jsmovie .btn:focus, .jsmovie .btn.focus {
    color: #fff;
}

#timeline {
    position: relative;
}

#timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    height: 100%;
    width: 4px;
    background: #999;
}

.timeline-day {
    min-height: 75px;
    clear:both;
    cursor: pointer;
}

.timeline-day-date {
    float: left;
    margin: 8px 0 0 12px;
    font-size: 16px;
    padding: 7px;
    font-weight: bold;
    color: #999;
}

.timeline-day-count {
    position: absolute;
    border-radius: 50%;
    background-color: beige;
    width: 20px;
    height: 20px;
    left: 37px;
    top: 12px;
    color: #999;
    padding-top: 0px;
    border: solid 2px #999;
    font-size: 12px;
    font-weight: bold;
}

.timeline-day-content-wait {
    padding: 20px 20px 20px 80px;
    clear:both;
}

.timeline-day-content-panel {
    padding: 0 0 0 45px;
    clear:both;
}

.timeline-day-content {
    float:left;
    background-color: #ffff99;
    padding: 10px;
    margin-top: 0px;
    margin-bottom: 4px;
    border: 1px solid #999;
    position: relative;
    min-height: 60px;
    width:100%;
}

.timeline-day-content-inner {
    overflow: hidden;
}

.timeline-day-content:after, .timeline-day-content:before {
    right: 100%;
    top: 30px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.timeline-day-content:after {
    border-color: rgba(136, 183, 213, 0);
    border-right-color: #FFFF99;
    border-width: 12px;
    margin-top: -12px;
}
.timeline-day-content:before {
    border-color: rgba(194, 225, 245, 0);
    border-right-color: #999;
    border-width: 14px;
    margin-top: -14px;
}

.timeline-day-program, .timeline-day-result, .timeline-day-log {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: 2px solid #999;
    box-sizing: border-box;
    color: #fff;
    text-align: center;
    position: relative;
    float: left;
    margin-bottom: -6px;
}

.timeline-day-program {
    background: #CC0000;
}

.timeline-day-program:before, .timeline-day-result:before, .timeline-day-log:before {
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 24px;
    position: absolute;
}

.timeline-day-program:before {
    top: 8px;
    left: 11px;
    content: "\f073";
}

.timeline-day-log:before {
    top: 9px;
    left: 13px;
    content: "\f040";
}

.timeline-day-result:before {
    top: 9px;
    left: 11px;
    content: "\f091";
}


.timeline-day-result {
    background: #00CC00;
}

.timeline-day-log {
    background: #0033FF;
}

.timeline-day-content > table {
    table-layout: fixed;
}

.header-row > td {
    padding: 0 6px 0 0;
}

.header-row > td:nth-child(1n+2) {
    width: 60px;
    text-align: right;
}

.run-row > td {
    text-align: right;
    padding: 0 6px 0 0;
}

.run-row > td:nth-child(1) {
    width: 27px;
}

.run-row > td:nth-child(2) {
    width: 27px;
}

.run-row > td:nth-child(3) {
    width: 32px;
}

.run-row > td:nth-child(4) {
    width: 32px;
}


.power-row > td {
    padding: 0 6px 0 0;
}

.power-row > td:nth-child(1n+3) {
    width: 60px;
    text-align: right;
}

.power-row > td:nth-child(1) {
    width: 100px;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100px;
    text-overflow: ellipsis;
}

.power-row > td:nth-child(2) {
    width: 100px;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100px;
    text-overflow: ellipsis;
}

.power-cell {

}

.power-cell > input {
    width: 47px;
    margin: 0;
    text-align: right;
    border: none;
    border-bottom: 1px solid #ccc;
    background-color: #FFFFD5;
}


.pointer {
    cursor: pointer;
}


form.form-filter  {
    margin: 6px 0 13px 0;
    min-height: 35px;
    float:left;
    width:100%;
}


.form-filter h1, .form-filter h2, .form-filter h3 {
    margin-top: 6px;
}



.form-control-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


.form-horizontal .radio > label, .form-horizontal .checkbox > label {
    margin: 0px 10px 6px 10px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.invalid.form-control {
    background-color: #ffdddd;
    border-color: #e4b5c1;
}

.invalid + .tooltip > .tooltip-inner {
    background-color: #CC0000;
    width: 150px;
}

.invalid + .tooltip > .tooltip-arrow {
    border-right-color: #CC0000;
}

.invalid.form-control:focus {
    border-color: #FF0000;
}

.invalid.radio {
    background-color: #ffdddd;
    border: 1px solid #e4b5c1;
}

.control-label.invalid {
    color: #e03f2d;
}

.form-control-inline {
    display: inline-block;
}

.thumbnail a > img, .thumbnail > img  {
    border-radius: 10px;
}

table.program {
    width: auto;
}

table.program .sets {
    position: relative;
    padding-left: 0;
}
table.program .sets:after {
    content: "";
    position: absolute;
    top: 4px;
    border: 1px solid #000;
    border-right: 0;
    width: 6px;
    height: calc(100% - 10px);
}


.tiles .thumbnail {
    background: #ddd;
}
.tiles .thumbnail:hover {
    background: #def0ff;
}

#accordion-dates {
    margin-bottom: 5px;
}


.panel-title a {
    display: block;
}

.panel-program .panel-body {
    overflow: auto;
}

.panel-program .panel-body > table > tbody > tr > td.s1 {
    position: sticky;
    left:0;
    background: #fff;
    min-width: 27px;
}

.panel-program .panel-body > table > tbody > tr > td.s2 {
    position: sticky;
    left: 27px;
    background: #fff;
    min-width: 6px;
}

.panel-program .panel-body > table > tbody > tr > td.s3 {
    position: sticky;
    left: 33px;
    background: #fff;
    min-width: 32px;
}

.panel-program .panel-body > table > tbody > tr > td.s4 {
    position: sticky;
    left: 65px;
    background: #fff;
    min-width: 35px;
}

.panel-program .panel-body > table > tbody > tr > td.s5 {
    position: sticky;
    left: 100px;
    background: #fff;
}

.panel-program .panel-body > table > tbody > tr > td.sp1 {
    position: sticky;
    white-space: nowrap;
    text-overflow: ellipsis;
    left: 0;
    background: #fff;
    min-width: 75px;
}

.panel-program .panel-body > table > tbody > tr > td.sp2 {
    position: sticky;
    left: 75px;
    background: #fff;
    min-width: 60px;
}


