/* support for homegrown icon font */

/* CSS-only loading spinner */
.loading-container {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 100%;
	padding: 10px 15px;
	background-color: #f0ad4e;
	color: #fff;
	border-radius: 4px;
	border: 1px solid #eea236;
	font-size: 14px;
	box-sizing: border-box;
}

.css-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid transparent;
	border-top: 2px solid #fff;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin-right: 8px;
	flex-shrink: 0;
}

.loading-text {
	font-weight: normal;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Glyphicon spinner animation (legacy) */
.glyphicon-refresh-animate {
	-webkit-animation: spin 1s infinite linear;
	-moz-animation: spin 1s infinite linear;
	animation: spin 1s infinite linear;
}

@-webkit-keyframes spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}

@-moz-keyframes spin {
	0% { -moz-transform: rotate(0deg); }
	100% { -moz-transform: rotate(360deg); }
}

@font-face {
    font-family: "icetest-ng";
    src: url("../fonts/icetest-ng.eot");
    src: url("../fonts/icetest-ng.eot?#iefix") format("embedded-opentype"),
        url("../fonts/icetest-ng.woff") format("woff"),
        url("../fonts/icetest-ng.ttf") format("truetype"),
        url("../fonts/icetest-ng.svg#icetest-ng") format("svg");
    font-weight: normal;
    font-style: normal;

}

[data-icon]:before {
    font-family: "icetest-ng" !important;
    content: attr(data-icon);
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[class^="ng-icon-"]:before,
[class*=" ng-icon-"]:before {
    font-family: "icetest-ng" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.ng-icon-data-locally-entered:before {
    content: "\61";
}

.ng-icon-wr-warning:before {
    content: "\62";
}

.ng-icon-drag-starter-order:before {
    content: "\63";
}

.ng-icon-edit:before {
    content: "\64";
}

.ng-icon-enter-marks:before {
    content: "\65";
}

.ng-icon-lookup:before {
    content: "\66";
}

.ng-icon-new:before {
    content: "\67";
}

.ng-icon-confirmation-expired:before {
    content: "\68";
}

.ng-icon-confirmed:before {
    content: "\69";
}

.ng-icon-show-results:before {
    content: "\6a";
}

.ng-icon-show-starting-list:before {
    content: "\6b";
}

.ng-icon-withdraw-from-test:before {
    content: "\6c";
}

.ng-icon-wr:before {
    content: "\6d";
}

/* placeholder for speaker icon */
.Xng-icon-speaker:before {
    font-family: 'Glyphicons Halflings' !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e122";
}

.Xng-icon-payment:before {
    font-family: 'Font Awesome 5 Free' !important;
    font-style: normal !important;
    font-weight: 900 !important;
    font-variant: normal !important;
    text-transform: none !important;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    text-rendering: auto;
    line-height: 1;
    content: "\f3d1";
}

.Xng-icon-secretary:before {
    font-family: 'Font Awesome 5 Free' !important;
    font-style: normal !important;
    font-weight: 900 !important;
    font-variant: normal !important;
    text-transform: none !important;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    text-rendering: auto;
    line-height: 1;
    content: "\f1d8";
}

.Xng-icon-analysis:before {
    font-family: 'Font Awesome 5 Free' !important;
    font-style: normal !important;
    font-weight: 900 !important;
    font-variant: normal !important;
    text-transform: none !important;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    text-rendering: auto;
    line-height: 1;
    content: "\f201";
}

.Xng-icon-excel:before {
    font-family: 'Font Awesome 5 Free' !important;
    font-style: normal !important;
    font-weight: 900 !important;
    font-variant: normal !important;
    text-transform: none !important;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    text-rendering: auto;
    line-height: 1;
    content: "\f1c3";
}

/* placeholder for speaker blank */
.Xng-icon-blank:before {
    font-family: 'Glyphicons Halflings' !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\2122";
    color: transparent !important;
}

.Xng-icon-skip:before {
    font-family: 'Glyphicons Halflings' !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e073";
}

.Xng-icon-change-rider:before {
    font-family: 'Font Awesome 5 Free' !important;
    font-style: normal !important;
    font-weight: 900 !important;
    font-variant: normal !important;
    text-transform: none !important;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    text-rendering: auto;
    line-height: 1;
    content: "\f25d";
}

.Xng-icon-change-rider-disabled:before {
    cursor: not-allowed;
    font-family: 'Font Awesome 5 Free' !important;
    font-style: normal !important;
    font-weight: 900 !important;
    font-variant: normal !important;
    text-transform: none !important;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    text-rendering: auto;
    line-height: 1;
    content: "\f25d";
}

.Xng-icon-fit:before {
    font-family: 'Font Awesome 5 Free' !important;
    font-style: normal !important;
    font-weight: 900 !important;
    font-variant: normal !important;
    text-transform: none !important;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    text-rendering: auto;
    line-height: 1;
    content: "\f058";
}

.Xng-icon-unfit:before {
    cursor: not-allowed;
    font-family: 'Font Awesome 5 Free' !important;
    font-style: normal !important;
    font-weight: 900 !important;
    font-variant: normal !important;
    text-transform: none !important;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    text-rendering: auto;
    line-height: 1;
    content: "\f058";
}

/* end icon font support */

.dt-nowrap {
  white-space: nowrap;
}

body {
    padding-bottom: 40px;
}

.sidebar-nav {
    padding: 9px 0;
    overflow-x: hidden;
}

#dataTables tbody tr.row_selected td {
    background-color: lightyellow;
}

.nav-buttons {
    min-width: 12em;
}


a[class^='ng-icon'],
a[class^='Xng-icon'] {
    font-size: 1.6em;
    text-decoration: none;
}

a[class^='ng-icon']:hover,
a[class^='Xng-icon'] {
    text-decoration: none;
}

.table td {
    font-size: 10pt;
}

.feif-id {
    font-size: 85%;
}

.editPerson {
    font-style: italic;
}

.editHorse {
    font-style: italic;
}

a.ng-icon-edit:visited,
a.glyphicon-edit:visited {
    text-decoration: none;
}

.tiny {
    font-size: 50%;
}

.confirmedData:after {
    padding-left: 15px;
    font-family: "icetest-ng";
    content: "\69";
    color: green;
}

.expiredData:after {
    padding-left: 15px;
    font-family: "icetest-ng";
    content: "\68";
    color: goldenrod;
}

table.sectionmarks {
    width: 100%;
}

td.mark {
    text-align: right;
}

img.card {
    opacity: 0.1;
    filter: alpha(opacity=1);
}

img.card.active {
    opacity: 0.1;
    filter: alpha(opacity=1);
}

.icon-flag-de {
    background-image: url("/img/flags/de.png");
    background-position: 0px 0px;
}

.glyphicon-refresh-animate {
    animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
    -moz-animation: spin2 .7s infinite linear;
}

@-moz-keyframes spin2 {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

.modal.modal-wide .modal-dialog {
    width: 90%;
}

.modal-wide .modal-body {
    overflow-y: auto;
    padding: 10px;
}

.list-group {
    min-height: 300px;
    overflow-y: scroll;
}

.list-group-item {
    cursor: move;
}

.ghost {
    opacity: .5;
    background: #c8ebfb;
}

span.test-list-testcode {
    font-weight: 700;
}

div.list-group-item a.ng-icon-edit {
    padding-right: 10px;
}

span.right-rein {
    font-size: .75em;
    vertical-align: middle;
}

.startlist-header {
    background: #f4fafe;
    font-weight: bold;
}

.results-header {
    padding: 10px 2px 10px 2px;
    background: #f4fafe;
    font-weight: bold;
}

.startlist-withdraw,
.startlist-unwithdraw,
.startlist-skip,
.startlist-unskip,
.startlist-change-rider,
.startlist-fit,
.startlist-unfit {
    font-size: 1.2em;
    width: 2em;
    height: 100%;
    float: left;
    text-align: center;
}

.startlist-sta,
.startlist-position,
.startlist-groupno {
    font-weight: bold;
    font-size: 1.2em;
    width: 5em;
    height: 100%;
    float: left;
    text-align: center;
}

.startlist-status {
    float: right;
    padding-right: 18px;
}

.startlist-right-rein,
.startlist-color {
    font-size: .8em;
    height: 100%;
    width: 7.5em;
    float: right;
    text-align: right;
    padding-right: 8px;
}

.change-rein::before {
    font-family: 'Glyphicons Halflings' !important;
    font-size: 1.5em;
    content: "\e031";
    padding-right: 0.5em;
    padding-top: 0.5em;
    float: left;
}

.change-rein-disabled::before {
    cursor: not-allowed;
    font-family: 'Glyphicons Halflings' !important;
    font-size: 1.5em;
    content: "\e031";
    padding-right: 0.5em;
    padding-top: 0.5em;
    float: left;
}

.startlist-drag-handle {
    cursor: move;
    cursor: -webkit-grabbing;
    float: right;
    height: 100%;
    font-size: 1.5em;
    width: 2em;
}

.startlist-drag-handle-disabled,
.startlist-drag-handle-always-disabled {
    cursor: not-allowed;
    float: right;
    height: 100%;
    font-size: 1.5em;
    width: 2em;
    font-weight: lighter;
}

.startlist-main.break {
    text-align: center;
    line-height: 2.84;
}

.list-group-item.shaded {
    background-color: #f3f3f3;
}

.list-group-item.withdrawn,
.results-WITHDRAW {
    background-color: #ffffe0;
}

.list-group-item.fit {
    background-color: #e3ffcc;
}

.list-group-item.demoRider {
    background-color: #ffe3cc;
}

.list-group-item.startlist-skipped {
    background-color: #f2e0ff;
    text-decoration: line-through;
    opacity: 60%;
}

.breadcrumb-phases .not-allowed {
    cursor: not-allowed;
}

.breadcrumb-phases .active {
    background-color: #d47500;
    border-color: #d47500;
}

span.startlist_comment {
    font-weight: bolder;
    background-color: #ffe3cc;
    color: #000000;
    padding: 0 1.5em 0 1.5em;
}

div.results {
    padding: 3px;
}

div.finalMark {
    text-align: right;
    font-weight: bold;
    white-space: nowrap;
}

.markDetails {}

.markDetails .sectionDetails {
    padding: 2px;
}

.markDetails .sectionMark {
    text-align: right;
    width: 15%;
    padding: 2px;
}

.markDetails .section {
    text-align: center;
    width: 15%;
    padding: 2px;
}

.markDetails .section-name {
    text-align: right;
    width: 40%;
    padding: 2px 6px;
    font-size: smaller;

}

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

.panel-heading .accordion-toggle:after {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings';
    content: "\e114";
    float: right;
    color: grey;
}

.panel-heading .accordion-toggle.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\e080";
}

.panel-heading a {
    text-decoration: none;
}

.label-as-badge {
    border-radius: 1em;
}

.panel-collapse table td {
    padding: 0;
}

.judge-warning:after {
    padding-left: 15px;
    font-family: "Glyphicons Halflings";
    content: "\e107";
    color: goldenrod;
}

.btn-mark,
.btn-mark-decimal,
.btn-card,
.btn-adjust,
.btn-time,
.btn-time-decimal {
    border: 1px solid;
}

.btn-time,
.btn-time-decimal {
    background-color: inherit;
}

.card-stack {
    padding-top: 20px;
    padding-bottom: 20px;

}

/** commented out to enlarge card button size for backflip-2026:
.card-stack .btn-card {
    padding: 0;
    margin-top: 4px;
}
*/

/* Added during backflip-2026 to enlarge card button size */
.btn-card {
  padding: 2px 1px !important; min-width: 0; flex-basis: 0;
  overflow: hidden;
  font-size: 11px;
}


.btn-mark.active,
.btn-mark-decimal.active,
.btn-adjust.active {
    background-color: #a8b0ac;
}


.btn-card-Y.active {
    background-color: #ed9f35;
    color: white;
}

.btn-card-R.active {
    background-color: #d03b3b;
    color: white;
}

.btn-card-B.active {
    background-color: #48b3d8;
    color: white;
}

.btn-card-D.active {
  background-color: #dc10cb;
  color: white;
}

.btn-red-flag {
    background-color: #F0C5CA;
    border-color: #c4152a;
}

.btn-red-flag:hover,
.btn-red-flag:focus,
.btn-red-flag:active,
.btn-red-flag.active {
    background-color: #c4152a;
    border-color: #961020;
}

.btn-red-flag.disabled:hover,
.btn-red-flag.disabled:focus,
.btn-red-flag.disabled:active,
.btn-red-flag.disabled.active,
.btn-red-flag[disabled]:hover,
.btn-red-flag[disabled]:focus,
.btn-red-flag[disabled]:active,
.btn-red-flag[disabled].active,
fieldset[disabled] .btn-red-flag:hover,
fieldset[disabled] .btn-red-flag:focus,
fieldset[disabled] .btn-red-flag:active,
fieldset[disabled] .btn-red-flag.active {
    background-color: #c4152a;
    border-color: #c4152a;
}

.btn-green-flag {
    background-color: #C1EDD3;
    border-color: #08b54d;
}

.btn-green-flag:hover,
.btn-green-flag:focus,
.btn-green-flag:active,
.btn-green-flag.active {
    background-color: #08b54d;
    border-color: #068438;
}

.btn-green-flag.disabled:hover,
.btn-green-flag.disabled:focus,
.btn-green-flag.disabled:active,
.btn-green-flag.disabled.active,
.btn-green-flag[disabled]:hover,
.btn-green-flag[disabled]:focus,
.btn-green-flag[disabled]:active,
.btn-green-flag[disabled].active,
fieldset[disabled] .btn-green-flag:hover,
fieldset[disabled] .btn-green-flag:focus,
fieldset[disabled] .btn-green-flag:active,
fieldset[disabled] .btn-green-flag.active {
    background-color: #08b54d;
    border-color: #08b54d;
}

.btn-yellow-card {
    background-color: #FCF1E1;
    border-color: #ed9f35;
}

.btn-yellow-card:hover,
.btn-yellow-card:focus,
.btn-yellow-card:active,
.btn-yellow-card.active {
    background-color: #ed9f35;
    border-color: #db8714;
}

.btn-yellow-card.disabled:hover,
.btn-yellow-card.disabled:focus,
.btn-yellow-card.disabled:active,
.btn-yellow-card.disabled.active,
.btn-yellow-card[disabled]:hover,
.btn-yellow-card[disabled]:focus,
.btn-yellow-card[disabled]:active,
.btn-yellow-card[disabled].active,
fieldset[disabled] .btn-yellow-card:hover,
fieldset[disabled] .btn-yellow-card:focus,
fieldset[disabled] .btn-yellow-card:active,
fieldset[disabled] .btn-yellow-card.active {
    background-color: #ed9f35;
    border-color: #ed9f35;
}

.btn-red-card {
    background-color: #F6D8D8;
    border-color: #d03b3b;
}

.btn-red-card:hover,
.btn-red-card:focus,
.btn-red-card:active,
.btn-red-card.active {
    background-color: #d03b3b;
    border-color: #ae2a2a;
}

.btn-red-card.disabled:hover,
.btn-red-card.disabled:focus,
.btn-red-card.disabled:active,
.btn-red-card.disabled.active,
.btn-red-card[disabled]:hover,
.btn-red-card[disabled]:focus,
.btn-red-card[disabled]:active,
.btn-red-card[disabled].active,
fieldset[disabled] .btn-red-card:hover,
fieldset[disabled] .btn-red-card:focus,
fieldset[disabled] .btn-red-card:active,
fieldset[disabled] .btn-red-card.active {
    background-color: #d03b3b;
    border-color: #d03b3b;
}

.btn-blue-card {
    background-color: #DAF0F7;
    border-color: #48b3d8;
}

.btn-blue-card:hover,
.btn-blue-card:focus,
.btn-blue-card:active,
.btn-blue-card.active {
    background-color: #48b3d8;
    border-color: #2a9cc3;
}

.btn-blue-card.disabled:hover,
.btn-blue-card.disabled:focus,
.btn-blue-card.disabled:active,
.btn-blue-card.disabled.active,
.btn-blue-card[disabled]:hover,
.btn-blue-card[disabled]:focus,
.btn-blue-card[disabled]:active,
.btn-blue-card[disabled].active,
fieldset[disabled] .btn-blue-card:hover,
fieldset[disabled] .btn-blue-card:focus,
fieldset[disabled] .btn-blue-card:active,
fieldset[disabled] .btn-blue-card.active {
    background-color: #48b3d8;
    border-color: #48b3d8;
}


span.mark-adjust,
span.result {
    display: block;
}

/*  round the corners on the mark entry table */
table.ng-marks-entry {
    border-collapse: separate;
    border-spacing: 0;
}

table.ng-marks-entry tr th,
table.ng-marks-entry tr td {
    border-right: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    padding: 5px;
    max-width: 130px;
}

table.ng-marks-entry tr th:first-child,
table.ng-marks-entry tr td:first-child {
    border-left: 1px solid #bbb;
}

table.ng-marks-entry tr th {
    background: #eee;
    border-top: 1px solid #bbb;
}

/* top-left border-radius */
table.ng-marks-entry tr:first-child th:first-child {
    border-top-left-radius: 4px;
    border-top: 1px solid #bbb;
}

/* top-right border-radius */
table.ng-marks-entry tr:first-child th:last-child {
    border-top-right-radius: 4px;
    border-top: 1px solid #bbb;
}

/* bottom-left border-radius */
table.ng-marks-entry tr:last-child td:first-child {
    border-bottom-left-radius: 4px;
}

/* bottom-right border-radius */
table.ng-marks-entry tr:last-child td:last-child {
    border-bottom-right-radius: 4px;
}

table.ng-marks-entry .text.mark-entry {
    border-radius: 4px;
}

.btn-group {
    white-space: nowrap;
}

.ng-data-entry .btn-group.card-stack {
    /* width: auto !important; */
    width: calc(100% - 45px);
}

.ng-data-entry .btn-group.card-stack .btn {
    width: auto !important;
    /* The flex style reduces the card buttons by a lot, so I switched it off for backflip-2026: */
    /* flex: none !important; */
}

.ng-data-entry .btn-group.flags {
    display: inline-block !important;
    vertical-align: top !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
}

/* Mobile adjustments for flags */
@media (max-width: 767px) {
    /* Prevent flag buttons from wrapping internally */
    .btn-group.flags {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    
    .ng-data-entry .btn-group.flags {
        display: block !important;
        width: 100% !important;
        margin-top: 5px !important;
    }
    
    .ng-data-entry .btn-group.flags .btn {
        width: auto !important;
        min-width: 80px;
    }
    
    .ng-data-entry .btn-group.card-stack {
        width: 100% !important;
    }
    
    .ng-data-entry .btn-group.card-stack .btn {
        flex: 1 !important;
        min-width: 0 !important;
    }
}

div.checkbox.phase-not-used {
    display: none;
}

tbody .dt-body-right {
    text-align: right;
}

tbody .dt-body-center {
    text-align: center;
}

div.marksButtonBar {
    margin-bottom: 10px;
}

div.odd {
    background-color: #efefef;
}

div.oddGrp {
    background-color: #e3fdff;
}

div.oddGrp.odd {
    background-color: #d5f5f7;
}

div.final-AFIN {
    background-color: #ffd3f4;
}

div.final-AFIN.odd {
    background-color: #ffedfa;
}

div.final-BFIN {
    background-color: #d3f8ff;
}

div.final-BFIN.odd {
    background-color: #edfcff;
}

div.final-CFIN {
    background-color: #ffcde2;
}

div.final-CFIN.odd {
    background-color: #ffebf3;
}


span.hold:after {
    padding-left: 5px;
    font-family: "Glyphicons Halflings";
    content: "\e033";
    color: red;
    font-size: small;
}

.multiple-starter-1 {
    background-color: #FE6F5E;
    color: white;
}

.multiple-starter-2 {
    background-color: #7BA05B;
    color: white;
}

.multiple-starter-3 {
    background-color: #2887C8;
    color: white;
}

.multiple-starter-4 {
    background-color: #E29CD2;
    color: white;
}


.multiple-starter-5 {
    background-color: #D27D46;
    color: white;
}

.multiple-starter-6 {
    background-color: #FFCBA4;
    color: white;
}

.multiple-starter-7 {
    background-color: #B5B35C;
    color: white;
}

.multiple-starter-8 {
    background-color: #766EC8;
    color: white;
}

.multiple-starter-9 {
    background-color: #8FD8D8;
    color: white;
}

.multiple-starter-10 {
    background-color: #FFAE42;
    color: white;
}

table#sections tbody td.test-section:after {
    padding-left: 5px;
    font-family: "Glyphicons Halflings";
    content: "\e023";
    color: #99c8fe;
}

table#sections tbody td.test-section-active:after {
    padding-left: 5px;
    font-family: "Glyphicons Halflings";
    content: "\e023";
    color: #0276FD;
}

.phase-state-buttons {
    float: right;
}

.scheduled-day-header {
    background-image: linear-gradient(#6d7070, #474949 50%, #3d3f3f);
    background-repeat: no-repeat;
    color: #ffffff;
    background-color: #474949;
}

.scheduled-dropzone {
    min-height: 30px;
}

.list-group-item.break {
    background-color: #f1cbcb;
}

span.judgename {
    width: 130px;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.panel-heading.panel-collapse a {
    color: #333333;
    font-weight: bold;
}

.panel-heading.panel-collapse a:after {
    font-family: 'Glyphicons Halflings';
    content: "\e114";
    float: right;
    color: grey;
}

.panel-heading.panel-collapse a.collapsed:after {
    content: "\e080";
}

td .radio {
    padding-top: inherit !important;
}

.scheduled-day-header a.day-toggle {
    color: #fff;
    text-decoration: none;
}

.scheduled-day-header .day-toggle:after {
    font-family: 'Glyphicons Halflings' !important;
    content: "\e114";
    float: right;
    color: #fff;

}

.scheduled-day-header .day-toggle.collapsed:after {
    font-family: 'Glyphicons Halflings' !important;
    content: "\e080";
}

.row.break,
.row.break.odd {
    background-color: #f1cbcb;
}

.breakEntry {
    background-color: #f1cbcb;
    padding: 1em;
    font-weight: bold;
}

.breakEntry .btn {
    margin-right: 1em;
}

.outdated:after {
    float: right;
    padding-left: 15px;
    font-family: "Glyphicons Halflings";
    content: "\e107";
    color: goldenrod;
}

.groupno-active {
    color: #3399f3;
}

.move-flag>td {
    background-color: #aef69f !important;
}

.starter-color-red, .starter-color-rot, .starter-color-rød {
    background-color: #ffcccc;
}

.starter-color-yellow, .starter-color-gelb, .starter-color-gul {
    background-color: #ffffcc;
}

.starter-color-green, .starter-color-grün, .starter-color-grøn {
    background-color: #ccffdd;
}

.starter-color-blue, .starter-color-blau, .starter-color-blå {
    background-color: #ccebff;
}

.starter-color-white, .starter-color-weiss, .starter-color-hvid {
    background-color: #efefef;
}

.starter-color-purple, .starter-color-lila, .starter-color-lilla {
    background-color: #ffccf2;
}

.starter-color-orange {
    background-color: #f28313;
}

.starter-color-none {
    background-color: inhert;
}

div[class^="starter-color-"],
div[class*=" starter-color-"] {
    font-size: 2em;
    text-align: center;
    line-height: 2em;
    overflow: hidden;
    border-radius: 5px;
}

div[class^="starter-color-"]>label.small,
div[class*=" starter-color-"]>label.small {
    display: block;
    font-size: small;
    text-align: center;
    line-height: normal;
    padding: 0;
    margin: 0
}

.row.starter,
.row.section {
    padding: 5px;
}

.focussed {
    border: solid 2px blue;
    border-radius: 5px;
}

.unset-pos {
    color: red;
    border: 2px solid red;
}

.unset-pos::after {
    padding-left: 15px;
    font-family: "Glyphicons Halflings";
    content: "\e107";
    color: red;
}


.text.mark-entry {
    font-size: 2.2em !important;
    font-weight: bold !important;
}

/* More specific rule for mark entries in secretary interface */
#secretary-marks-entry .text.mark-entry {
    font-size: 1.8em !important;
    font-weight: bold !important;
}

/* Override Bootstrap form-control for mark entries */
.form-control.text.mark-entry {
    font-size: 1.8em !important;
    font-weight: bold !important;
}

input.form-control.text.mark-entry {
    font-size: 1.2em !important;
    font-weight: bold !important;
}

/* Time entries should match mark entries in size but stay centered - made wider */
.text.mark-entry.time-entry {
    font-size: 1.8em !important;
    font-weight: bold !important;
    text-align: center;
    width: 100px !important;
    min-width: 100px !important;
}

.text.mark-entry.correction {
    font-size: 1.2em;
}

.text.mark-entry.can-correct {
    pointer-events: none;
    /* No cursor */
    background-color: #eee;
    /* Gray background */
}

.marks-panel-body {
    overflow-y: scroll;
}

.webSocketOutput {
    height: 12em;
    overflow-x: hidden;
    overflow-y: scroll;
}

.row.ssm-h {
    background-image: linear-gradient(#7bbdf7, #3399f3 50%, #208ff2);
}

.ssm-h {
    color: white;
    vertical-align: middle;
    text-align: center;
    font-weight: bolder;
    text-decoration: underline;
    padding-bottom: .6em;
}

.ssm-row:nth-child(even) {
    background-color: #efefef;
}

.ssm-sta {
    text-align: center;
}

.ssm-rider {
    overflow-x: scroll;
}

.ssm-marks {
    font-size: 1.5em;
}

.ssm-result {
    text-align: center;
    font-size: 1.5em;
}

.ssm-perspective {
    text-align: center;
}

.ws-disconnected {
    color: red;
}

.ws-connected {
    color: green;
}

/* sidebar control */

.ng-sidebar-ctl-btn,
.ng-sidebar-ctl-btn:visited,
.ng-sidebar-ctl-btn:hover,
.ng-sidebar-ctl-btn:active,
.ng-sidebar-ctl-btn:focus,
.ng-sidebar-ctl-btn:active:hover {
    font-style: inherit;
    color: inherit;
    background-color: transparent;
    font-size: inherit;
    text-decoration: none;
    font-variant: inherit;
    font-weight: inherit;
    line-height: inherit;
    font-family: inherit;
    border-radius: inherit;
    /* border: inherit;*/
    outline: inherit;
    box-shadow: inherit;
    /* padding: inherit; */
    vertical-align: inherit;
}

.ng-top-container {
    /* necessary to hide collapsed sidebar */
    overflow-x: hidden;
}

.ng-content-container {
    /* for the animation */
    transition: width 0.3s ease;
}

.ng-sidebar-container {
    /* for the animation */
    transition: margin 0.3s ease;
}

.ng-sidebar-container.collapsed {
    display: block;
    margin-left: -75%;
}

.source-dropzone.list-group {
    min-height: 0px;
}

.well.tests-block {
    min-height: 300px;
}

label.error {
    color: red;
    font-weight: bold;
    font-variant: small-caps;
}

div#import-results div.alert {
    margin-bottom: 2px;
}

div.offline-lock {
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.collapse.width {
    float: right;
    height: auto;
    width: 100%;
    /*
      -webkit-transition: width 1s ease;
      -moz-transition: width 1s ease;
      -o-transition: width 1s ease;
      transition: width 1s ease;
    */
}

.form-control-inline {
    min-width: 0;
    width: auto;
    display: inline;
}

.form-label {
    display: block;
    width: 100%;
    height: 38px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #666666;
    background-color: #ffffff;
    background-image: none;
}

input[type="range"].labeled-range {
    display: inline-block;
    width: 90%;
    margin: 0 4px 0 4px;
}

input.no-spin::-webkit-outer-spin-button,
input.no-spin::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number].no-spin {
    -moz-appearance: textfield;
    /* Firefox */
}

span.tag {
    font-size: 100%
}

span.tag.editing {
    outline: 2px dashed #5cb85c;
    outline-offset: 1px;
    cursor: text;
    background-color: #fff;
    color: #333;
}

span.tag.editing [data-role=remove] {
    opacity: 0.4;
}

div.binvalue {
    overflow: hidden;
}

div.binvalue img {
    max-height: 200px;
    max-width: 300px;
}

.mark-locked:before {
    font-family: 'Font Awesome 5 Free' !important;
    font-style: normal !important;
    font-weight: 900 !important;
    font-variant: normal !important;
    text-transform: none !important;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    text-rendering: auto;
    line-height: 1;
    color: red;
    content: "\f023";
}

.has-award:before {
    padding-left: 0.5em;
    font-family: 'Font Awesome 5 Free' !important;
    font-style: normal !important;
    font-weight: 900 !important;
    font-variant: normal !important;
    text-transform: none !important;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    text-rendering: auto;
    line-height: 1;
    color: goldenrod;
    content: "\f091";
}

.btn-group.card-stack {
    display: flex;
}

.btn-group.card-stack .btn {
    flex: 1;
}

div.bootstrap-tagsinput {
    min-height: 6em;
    position: relative;
    padding-right: 36px;
}

div.bootstrap-tagsinput .btn-mic {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    padding: 0;
    line-height: 28px;
    border-radius: 50%;
    background: #f0f0f0;
    border: 1px solid #c8c8c8;
    color: #555;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

div.bootstrap-tagsinput .btn-mic:hover {
    background: #e4e4e4;
}

div.bootstrap-tagsinput .btn-mic.recording {
    background: #d9534f;
    border-color: #b94542;
    color: #fff;
    animation: btn-mic-pulse 1s ease-in-out infinite;
}

@keyframes btn-mic-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(217, 83, 79, 0.6); }
    50%      { box-shadow: 0 0 0 6px rgba(217, 83, 79, 0); }
}

div.bootstrap-tagsinput .btn-mic.downloading .fa-microphone {
    visibility: hidden;
}

div.bootstrap-tagsinput .btn-mic.downloading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border: 2px solid #999;
    border-top-color: transparent;
    border-radius: 50%;
    animation: btn-mic-spin 0.8s linear infinite;
}

@keyframes btn-mic-spin {
    to { transform: rotate(360deg); }
}

div.bootstrap-tagsinput .btn-mic.denied {
    background: #eee;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.navbar-inner {
    white-space: nowrap;
}

.navbar-brand {
    width: auto;
}

ul.dropdown-menu {
    overflow-x: scroll;
    max-width: 80vw;
}

#secretary-correction-form .row {
    padding-top: 15px;
}

input.mark-changed {
    background-color: #ffff00;
}

input.dt-col-search {
    float: right;
    border: solid 1px #cccccc;
    border-radius: 4px;
    max-width: 50%;
    color: red;
}

input.dt-col-search::placeholder {
    color: #dcdcdc;
    text-align: right;
}

.dataTables_filter input {
    color: red;
}

.secretary-mode-btn-group .active {
    background-image: linear-gradient(#61dd45, #3cb521 50%, #36a41e);
}

.badge-warning {
    background-color: #d47500;
}

a.fa.disabled {
    color: #6d7070;
    pointer-events: none;
}

.fcm-warning {
    padding: 4px;
    margin-top: 5px;
    margin-bottom: 0px;
}

.main-menu li.active>a,
.main-menu li.active>a:hover,
.main-menu li.active>a:focus {
    color: #ffffff;
    background-color: #446e9b;
    border-radius: 4px;
}

div.speaker-mark-details {
  background-color: #DAF0F7;
  padding: 4px;
}

.speaker-tiebreak-details {
  background-color: #FFD700;
  padding: 4px;
}

span.speaker-section-name {
    display: inline-block;
    font-weight: bold;
    width: 20%;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: right;
    overflow: hidden;
    vertical-align: bottom;
}

span.recent-result {
  background-color:rgba(235, 220, 140, 0.8);
}

/* unvisited link */
a.hasMusic {
    color: #551A8B;
}

.pad-right-1 {
  padding-right: 1em;
}

div#nys_wrapper .glyphicon {
  margin-left: 1.5em;
}

.dropdown-submenu {
    position: relative;
}

ul.dropdown-menu {
  overflow-x: visible;
  overflow-y: visible;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.dropdown-submenu-nohover {
	 position: relative;
}
 .dropdown-submenu-nohover > a::after {
	 display: block;
	 content: "";
	 float: right;
	 width: 0;
	 height: 0;
	 border-color: transparent;
	 border-style: solid;
	 border-width: 4px 0 4px 4px;
	 border-left-color: #000;
	 margin-top: 6px;
	 margin-right: -10px;
}
 .dropdown-submenu-nohover > ul.dropdown-menu {
	 position: absolute;
	 left: 100%;
	 top: 0;
	 margin-left: 5px;
}

span.painter-palette {
  background-image : url(./images/painter-palette.png);
  background-size: cover;
  display: inline-block;
  height: 18px;
  width: 18px;
}

.comment-picker {
  display: inline-block;
  vertical-align: top;
  margin-right: 5px;
}

.mark-entry {
  display: inline-block;
  width: calc(100% - 45px);
}

.comment-picker .comment-fault {
  border-left: solid 1em lightcoral; 
}

.comment-picker .comment-good {
  border-left: solid 1em lightgreen; 
} 

td.secrmark {
    text-align: center !important;
    vertical-align: middle !important;
    /* color: #9900CC !important; */
    font-weight: bold; 
    font-size: large !important;

}

td.secrtotal {
    text-align: center !important;
    vertical-align: middle !important;
    color: #9900CC !important; 
    font-weight: bold; 
    font-size: large !important;

}

th.secrmark {
    text-align: center !important;
}

.nav-buttons {
    min-width: 12em;
}
 
[aria-busy] {
    --loading-size: 64px;
    --loading-stroke: 6px;
    --loading-duration: 1s;
    opacity: .75
}
[aria-busy]:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--loading-size);
    height: var(--loading-size);
    margin-top: calc(var(--loading-size) / 2 * -1);
    margin-left: calc(var(--loading-size) / 2 * -1);
    border: var(--loading-stroke) solid rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    border-top-color: rgba(0, 0, 0, 0.5);
    animation: rotate calc(var(--loading-duration)) linear infinite;
  }
  @keyframes rotate {
    100% { transform: rotate(360deg); }
  }