/* welcome */

.welcome-container {
    display: flex;
    margin: 0 0 32px 0;
    padding: 16px 32px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 0;
}

.welcome-background-color {
    background: rgba(0,0,0,.4);
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.welcome-container span {
    flex: 1;
    position: relative;
    z-index: 2;
}

.welcome-logo, .welcome-logo img {
    max-width: 128px;
}

.welcome-title {
    display: flex;
    align-items: center;
    font-size: 64px;
    line-height: 64px;
    padding: 0 64px;
    font-weight: 700;
    color: #fff;
}

.scoreboard-menu-container {
    padding: 0 16px;
}

.scoreboard-menu-title {
    font-size: 24px;
    line-height: 24px;
    font-weight: 700;
    padding: 0 0 24px 0;
}

.scoreboard-menu-links {
    display: flex;
    flex-direction: column;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, .2);
}

.scoreboard-menu-links span {
    flex: 1;
    display: flex;
    padding: 10px 16px;
    border-bottom: 1px solid #f1f1f1;
    background-color: #fff;
    align-items: center;
}

.scoreboard-menu-links span a, .scoreboard-menu-links span img {
    flex: 1;
}

.scoreboard-menu-links span img {
    max-width: 24px;
    text-align: right;
}

.scoreboard-menu-links span:hover {
    background-color: #fefefe;
}

.scoreboard-menu-links span:last-child {
    border-bottom: initial;
}

/*.icon {
    display: inline-flex;
    flex: 1;
    min-width: 16px;
    max-width: 16px;
    height: 16px;
}*/

.icon-arrow-right {
    background: url(../images/ic_arrow-right.svg);
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: left;
}

.buttonLight {
    height: 50px;
    width: 50px;
}

@media screen and ( max-width: 768px ) {
    .welcome-container {
        height: 30px;
        flex-direction: column;
        align-items: center;
    }
    .welcome-title {
        justify-content: center;
        font-size: 32px;
        line-height: 32px;
        align-items: center;
        text-align: center;
    }
    .welcome-logo, .welcome-logo img {
        max-width: initial;
        width: 128px;
    }
    .welcome-logo img {
        margin: 0 0 24px 0;
    }
    .scoreboard-menu-container {
        padding: 0 16px 24px 16px;
    }
}


/* end */

html {
    height: 100%;
}

body {
    background-color: #fefefe;
    height: 100%;
    background-color: #f7f7f7;
}

.navbar {
    margin-bottom: initial;
    border-radius: initial;
}

.container-fluid {

}

header {
    border-bottom: 4px solid rgb(237, 169, 50) !important;
    padding: 18px;
    box-shadow: 0px 5px 10px rgb(221, 215, 215);
}

.page-header {
    color: rgb(72, 144, 136);
    display: inline;
    font-weight: 600;
    border: medium none;
}

.header-icon {
    float: top;
    font-size: 28px;
    padding-right: 8px;
    color: rgb(153, 142, 142);
}


.add-button {
    float: right;
    padding: 5px 29px;
}

.adm-button {
    width: 95%;
    padding: 10px;
}


.red {
    border: solid 1px red;
}

.alert-box {
    box-shadow: 4px 4px 4px #B3AFAF;
    padding: 20px;
    background-color: red;
    color: white;
    margin-bottom: 15px;
}


.connected {
    background-color: greenyellow;
}

.disconnected {
    background-color: floralwhite;
}


.judge {
    color: inherit;
    height: 100%;
    width: 100%;
}

.judge > h1 {
    text-align: center;
    margin: auto;
    width: 80%;
    font-size: 60vh;
}

.judge > h2 {
    text-align: center;
    margin: auto;
    width: 80%;
    font-size: 10vh;
}


.judge > h3 {
    text-align: center;
    margin: auto;
    width: 80%;
    font-size: 5vh;
}

.judge > div {
    text-align: center;
    margin: auto;
}

.judge-select {
    width: 100%
}


.official {
    height:auto;

    padding-top: 0;
    padding-bottom: 0;
    margin: auto;
    color: inherit;
}


.official > h1 {
    text-align: center;
    margin: auto;
    width: 80%;
    font-size: 30vh;
}

.official > h2 {
    text-align: center;
    margin: auto;
    width: 80%;
    font-size: 10vh;
}


.official > h3 {
    text-align: center;
    margin: auto;
    width: 80%;
    font-size: 5vh;
}


.official > button {
    text-align: center;
    margin: auto;
    width: 60%;
}

.official > div {
    text-align: center;
    margin: auto;
}

.official > audio {
    text-align: center;
    margin: auto;
}

span.tick:before {
    content: "\2713";
    color: darkgreen;
}

span.cross:before {
    content: "\2717";
    color: crimson;
}


.currentRoutine {
    background-color: chartreuse;
}

.nextRoutine {
    background-color: #83BD41;
}


.btn-xlarge {
    padding: 18px 28px;
    font-size: 80px;
    line-height: normal;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    width: 100%;
}


.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-xs-5ths {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-5ths {
        width: 20%;
        float: left;
    }
}


.header-fixed {
    width: 100%
}

.header-fixed > thead,
.header-fixed > tbody,
.header-fixed > thead > tr,
.header-fixed > tbody > tr,
.header-fixed > thead > tr > th,
.header-fixed > tbody > tr > td {
    display: block;
    border-bottom: none;
}

.header-fixed > tbody > tr:after,
.header-fixed > thead > tr:after {
    content: ' ';
    display: block;
    visibility: hidden;
    clear: both;
}

.header-fixed > tbody {
    overflow-y: auto;
    height: 500px;
}
.narrow-col > thead > tr > th {
    width: 5%;
    float: none;
}

.header-fixed > tbody > tr > td,
.header-fixed > thead > tr > th {
    width: 15%;
    float: left;
    border-top: 0;
}


.narrow  {
    max-width: 50px;
}

.narrow-x3  {
    max-width: 150px;
}



.thumb {
    width: 24px;
    height: 24px;
    float: none;
    position: relative;
    top: 7px;
}
form .progress {
    line-height: 15px;
}

.progress {
    display: inline-block;
    width: 100px;
    border: 3px groove #CCC;
}
.progress div {
    font-size: smaller;
    background: orange;
    width: 0;
}


.musician-side-panel {
    height: 100%;
    width: 33%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    padding-top: 20px;
    border: double;
}

.musician-side-options {
    height: 10%;
    width: 33%;
    position: fixed;
    z-index: 1;
    bottom: 0;
    left: 0;
}

.musician-center-panel {
    margin-left: 33%;
}

.small-image {
    max-height:300px;
    width:auto
}

.btn-musician {
    padding: 18px 28px;
    font-size: 50px;
    line-height: normal;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    width: 50%;
}

.btn-announcer {
    padding: 18px 28px;
    font-size: 50px;
    line-height: normal;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.btn-settings {
    margin: 2px;
}

.btn-musician-smaller {
    padding: 18px 28px;
    font-size: 30px;
    line-height: normal;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    width: 15%;
}


.score-system-state {
    padding: 6px;
    margin: 3px 0 0 15px;
    border: groove;
    background: #9a97d8;
}

.schedule-ahead {
    padding: 6px;
    margin: 3px 0 0 15px;
    border: groove;
    background: #d9ffdd;
    text-align: center;
}

.schedule-behind {
    padding: 6px;
    margin: 3px 0 0 15px;
    border: groove;
    background: #ffe5e0;
    text-align: center;
}

.score-system-buttons {
    margin: 6px;
}

.button-panel-blue {
    background: lightcyan;
    border: solid blue;
}

.button-panel-red {
    background: pink;
    border: solid red;
}

.judge-id {
    text-transform: capitalize;
    font-style: italic;
    font-weight: bold;
}

.judge-btn {
    font-size: 2.0em;
    align-items: center;
}

.uc-guest {
    font-style: italic;
}

.margin-row {
    margin: 10px;
}

.override-input {
    padding: 5px;
    text-align: center;
}

.first-in-subjury {
    border-left: 2px solid !important;
}

.judge-cluster-difficulty {
    background-color: lightcyan;
}

.judge-cluster-artistry {
    background-color: lightyellow;
}

.judge-cluster-execution {
    background-color: lightpink;
}

.judge-cluster-penalty {
    background-color: lightblue;
}

.judge-cluster-superior {
    background-color: lightgreen;
}

.scrollable-panel {
    max-height: 200px; /* Adjust height as needed */
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
    background: #f9f9f9;
}

.proxy-slot {
    background-color: #f9f9f9 !important;
    font-style: italic;
    color: #999;
}

/* Finals Page Layout */
.finals-top-controls {
    margin: 15px 0;
    display: flex;
    gap: 15px;
    align-items: center;
}

.finals-top-controls > div {
    flex: 1;
}

.finals-top-controls .form-control,
.finals-top-controls .btn {
    height: 46px;
    line-height: 1.3333333;
    font-size: 18px;
}

.finals-panels-row {
    margin-bottom: 20px;
}

.finals-panel-heading-title {
    margin-top: 0;
    margin-bottom: 10px;
}

.finals-panel-heading-title .label {
    margin-left: 10px;
}

.panel-primary .panel-heading,
.panel-warning .panel-heading {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.panel-heading .row {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.panel-heading .row .form-control,
.panel-heading .row .btn {
    height: 30px;
    line-height: 1.5;
}

.finals-panel-body-table {
    padding: 0;
}

.finals-panel-body-table .table {
    margin-bottom: 0;
}



.bg-announced {
    background-color: lightgreen;
}

.bg-not-announced {
    background-color: yellow;
}

.text-announced {
    text-decoration: line-through;
}

.rank-1 {
    background-color: lightgoldenrodyellow;
}

.rank-2 {
    background-color: lightgray;
}

.rank-3 {
    background-color: lightsalmon;
}

.rank-4 {
    background-color: lightblue;
}

.rank-5 {
    background-color: lightpink;
}

.rank-5 {
    background-color: lightseagreen;
}

.rank-6 {
    background-color: #9a97d8;
}

.checkin-routine-cell {
    border: 1px solid #ddd;
}