.input-group-addon {
    padding: 5px 10px;
}

.ui-datepicker {
    z-index: 99999!important;
}

    .ui-datepicker .ui-datepicker-title select {
        display: inline-block;
    }

/*Write your custom CSS*/
.valiidation-summary.alert-danger {
    color: #421918 !important;
}

.fix-body {
    height: 100%;
    position: fixed;
    overflow: hidden;
    width: 100%;
}

.hide-main-header {
    z-index: -1
}

.custom-pagination {
    display: inline-block;
    padding-left: 0;
    -ms-border-radius: 4px;
    border-radius: 6px;
    font-size: 0.75em;
    font-style: italic;
    /*background-color: #FFF2E9;*/
    background-color: #FAFAFA;
    padding: 4px;
    /*color: #FF6600;*/
    color: #333;
    margin-bottom: 1px;
}

    .custom-pagination > li {
        display: inline;
        padding: 0 1px;
    }

        .custom-pagination > li:first-child > a {
            margin-left: 0;
            -ms-border-top-left-radius: 4px;
            border-top-left-radius: 4px;
            -ms-border-bottom-left-radius: 4px;
            border-bottom-left-radius: 4px;
        }

        .custom-pagination > li:last-child > a {
            -ms-border-top-right-radius: 4px;
            border-top-right-radius: 4px;
            -ms-border-bottom-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }

        .custom-pagination > li > a {
            position: relative;
            /*padding: 6px 12px;*/
            padding: 4px 8px;
            margin-left: -1px;
            line-height: 1.42857143;
            text-decoration: none;
            /*background-color: #FF6600;
            border: 1px solid #FF6600;*/
            background-color: #ddd;
            border: 1px solid #ddd;
            color: #333;
            /*color: #fff;*/
            font-size: 1.25em;
            cursor: pointer;
        }

    .custom-pagination input[type=text] {
        width: 40px;
        padding: 4px 10px;
        font-size: 12px;
        line-height: 1.42857143;
        color: #555;
        background-color: #fff;
        background-image: none;
        border: 1px solid #ccc;
        -ms-border-radius: 4px;
        border-radius: 4px;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
        -ms-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
        -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
        -moz-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
        -ms-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
        -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
        transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    }
.main{
    position: relative;
    z-index: 1;
}
.main .table {
    font-size: 0.85em;
}

    .main .table .form-control {
        font-size: 0.85em;
        padding: 2px;
        height: auto;
    }

.table-mrl > tbody > tr:nth-child(odd) > th {
    /*background-color: #FF6600;
    color: #fff;*/
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
    /*background-color: #FAFAFA;*/
    background: -webkit-linear-gradient(top,#FFF,#F7F7F7);
    background: -moz-linear-gradient(top,#fff,#f9f9f9);
    background: -ms-linear-gradient(top,#fff,#f9f9f9);
    background: -o-linear-gradient(top,#fff,#f9f9f9);
}

.table-mrl > tbody > tr:nth-child(odd) > td {
    /*background-color: #FFF2E9;*/
}

.table-mrl th a {
    /*color: #fff;*/
    color: #333;
}

.table-mrl .footer td {
    background-color: #f5f5f5 !important;
}

/*mobile view*/
.mobile-view-header,
.mobile-view-footer {
    text-align: center;
    -ms-border-radius: 8px;
    border-radius: 8px;
    border: none !important;
}

.mobile-view {
    -ms-border-radius: 10px;
    border-radius: 10px;
    border: none !important;
}

.mobile-view-item {
    margin-bottom: 5px;
}

.mobile-view-title {
    /*color: #FF6600;*/
    color: #333;
    font-weight: bold;
}

/*data tables*/
.dataTables_length select {
    display: inline-block;
}

.dataTables_paginate .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    margin-right: 1px !important;
    padding: 5px 8px;
}

.form-control {
    z-index: 9999 !important;
}

.ui-datepicker td span, .ui-datepicker td a {
    padding: .2em !important;
}

/*event menu*/
table.event-menu {
    margin: 0 auto;
    border: none;
    border-bottom: 1px #a89fa9 solid;
    width: 100%;
    margin-bottom: 20px;
}

    table.event-menu th {
        /*background-color: #FF6600;
        color: #fff;*/
        color: #333;
        background-color: #f5f5f5;
        border-color: #ddd;
        background-color: #FAFAFA;
        background: -webkit-linear-gradient(top,#FFF,#F7F7F7);
        background: -moz-linear-gradient(top,#fff,#f9f9f9);
        background: -ms-linear-gradient(top,#fff,#f9f9f9);
        background: -o-linear-gradient(top,#fff,#f9f9f9);
        padding: 10px 4px 6px 6px;
        font-size: 0.85em;
    }

    table.event-menu table {
        width: 100%;
    }

        table.event-menu table td {
            padding: 5px;
            font-size: 0.85em;
        }

.event-menu ul.dropdown-menu {
    z-index: 99999;
}

.event-menu ul.dropdown-menu li {
    border-bottom: 1px solid #f5f5f5;
}

.event-menu ul.dropdown-menu li a {
    padding: 6px 20px;
}

.actions .dropdown-menu li {
    font-size: 12px;
}
.event-menu .mobile-view .dropdown-menu > li > a,
.events-table .dropdown-menu > li > a {
    padding: 8px 20px 8px 40px;
    position: relative;
}

.event-menu .icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.event-menu .mobile-view .icon,
.events-table .icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    position: absolute;
    top: 4px;
    left: 10px;
}

.show-list-icon {
    background: url(../images/EventMenu/show-list-icon.svg) center center no-repeat;
}
.show-list-icon.active {
    background: url(../images/EventMenu/show-list-icon-active.svg) center center no-repeat;
}

.class-list-icon {
    background: url(../images/EventMenu/class-list-icon.svg) center center no-repeat;
}
.class-list-icon.active {
    background: url(../images/EventMenu/class-list-icon-active.svg) center center no-repeat;
}

.stabling-icon {
    background: url(../images/EventMenu/stabling-icon.svg) center center no-repeat;
}
.stabling-icon.active {
    background: url(../images/EventMenu/stabling-icon-active.svg) center center no-repeat;
}

.add-entries-icon {
    background: url(../images/EventMenu/add-entries-icon.svg) center center no-repeat;
}
.add-entries-icon.active {
    background: url(../images/EventMenu/add-entries-icon-active.svg) center center no-repeat;
}

.fast-track-icon {
    background: url(../images/EventMenu/fast-track-icon.svg) center center no-repeat;
}
.fast-track-icon.active {
    background: url(../images/EventMenu/fast-track-icon-active.svg) center center no-repeat;
}

.starters-icon {
    background: url(../images/EventMenu/starters-icon.svg) center center no-repeat;
}
.starters-icon.active {
    background: url(../images/EventMenu/starters-icon-active.svg) center center no-repeat;
}

.start-times-icon {
    background: url(../images/EventMenu/start-times-icon.svg) center center no-repeat;
}
.start-times-icon.active {
    background: url(../images/EventMenu/start-times-icon-active.svg) center center no-repeat;
}

.upload-times-icon {
    background: url(../images/EventMenu/upload-times-icon.svg) center center no-repeat;
}
.upload-times-icon.active {
    background: url(../images/EventMenu/upload-times-icon-active.svg) center center no-repeat;
}

.live-stream-icon {
    background: url(../images/EventMenu/live-stream-icon.svg) center center no-repeat;
}
.live-stream-icon.active {
    background: url(../images/EventMenu/live-stream-icon-active.svg) center center no-repeat;
}

.results-icon {
    background: url(../images/EventMenu/results-icon.svg) center center no-repeat;
}
.results-icon.active {
    background: url(../images/EventMenu/results-icon-active.svg) center center no-repeat;
}

.upload-results-icon {
    background: url(../images/EventMenu/upload-results-icon.svg) center center no-repeat;
}
.upload-results-icon.active {
    background: url(../images/EventMenu/upload-results-icon-active.svg) center center no-repeat;
}

.settings-icon {
    background: url(../images/EventMenu/settings-icon.svg) center center no-repeat;
}
.settings-icon.active {
    background: url(../images/EventMenu/settings-icon-active.svg) center center no-repeat;
}

.accounts-icon {
    background: url(../images/EventMenu/accounts-icon.svg) center center no-repeat;
}
.accounts-icon.active {
    background: url(../images/EventMenu/accounts-icon-active.svg) center center no-repeat;
}

.exports-icon {
    background: url(../images/EventMenu/exports-icon.svg) center center no-repeat;
}
.exports-icon.active {
    background: url(../images/EventMenu/exports-icon-active.svg) center center no-repeat;
}

.bedding-icon {
    background: url(../images/EventMenu/bedding-icon.svg) center center no-repeat;
}

.schedule-settings-icon {
    background: url(../images/EventMenu/schedule-settings-icon.svg) center center no-repeat;
}

.credit-card-icon {
    background: url(../images/EventMenu/credit-card-icon.svg) center center no-repeat;
}

.profit-icon {
    background: url(../images/EventMenu/profit-icon.svg) center center no-repeat;
}


/*inline buttons*/
.buttons-container .inline-button {
    margin: 0 10px 10px 0;
    display: inline-block;
    float: left;
}

/*model popup*/
.detail {
    width: 80%;
    max-width: 350px;
}

/*Misc*/
.inline-block {
    display: inline-block;
}

.full-width {
    width: 100%;
}

.list-nostyle {
    list-style-type: none;
}

.red-color {
    color: red;
}

fieldset legend {
    color: #F60;
    font-size: 1.3em;
}

.dropdown-menu {
    -moz-min-width: 205px;
    -ms-min-width: 205px;
    -o-min-width: 205px;
    -webkit-min-width: 205px;
    min-width: 205px;
}

section.featured {
    position: static;
}

section.call-to-action:before {
    top: -60px;
    position: relative !important;
}

@media (max-width: 767px) {
    .table-mrl {
        border: none;
    }
}

@media (max-width: 767px) {
    .input-group {
        display: block;
    }

    .input-group-search {
        display: table;
    }
}


.mr-0 {
    margin-right: 0 !important;
}

.mb-0{
    margin-bottom: 0!important;
}
.mt-1{
    margin-top: 10px!important;
}
.mt-2{
    margin-top: 20px!important;
}
.mb-1{
    margin-bottom: 10px!important;
}
.mb-2{
    margin-bottom: 20px!important;
}
.mr-2 {
    margin-right: 20px !important;
}

.form-no-label{
  margin-top: 27px;
}
.color-primary{
    color: #F60;
}
.label{
    padding: 6px 10px;
    font-size: 14px;
    font-weight: normal;
}
.label.label-primary:hover,
.label.label-primary{
    background-color: #ff6600;
    cursor: default;
}

label.custom-checkbox{
    position: relative;
    overflow: hidden;
    cursor: pointer;
    font-size: 12px;
    color: #333;
}
label.custom-checkbox > *{
    display: inline-block;
    vertical-align: middle;
    user-select: none;
}
label.custom-checkbox span{
    height: 18px;
    width: 18px;
    margin-right: 5px;
    border: 1px solid #cfd1d4;
    position: relative;
}
label.custom-checkbox input[type="checkbox"]{
    position: absolute;
    left: -9999px;
}
label.custom-checkbox input[type="checkbox"]:checked + span:after{
    content: "✔";
    position: absolute;
    top: 0;
    left: 3px;
    color: #F60;
    font-size: 12px;
    line-height: 17px;
}


.form-group.has-units{
    position: relative;
    padding-right: 40px;

}

.form-group.has-units .form-units{
    position: absolute;
    right: 0;
    bottom: 5px;
}


/*RESULT-MANAGEMENT*/
.phase-panel{
    margin-left: 0!important;
    margin-right: 0!important;
    background: #f7f7f7;
    border: 1px solid #ccc;
}

.phase-panel-left{
    padding: 0;
    display: flex;
    /*flex-flow: row nowrap;*/
    flex-flow: row wrap;
    border-bottom: 1px solid #ccc;
    margin-bottom: -1px;
}
.phase-panel-right{
    padding: 10px 0 0;
}
.phase-item{
  padding: 10px 20px;
  flex: 1 1 auto;
}
.phase-item{border-right: 1px solid #ccc;}
.phase-item:last-child{margin-right: -1px}
.phase-item-title{
    margin-bottom: 3px;
    font-size: 12px;
    text-transform: uppercase;
    position: relative;
}
.phase-item .form-units{
    font-size: 13px;
    margin-left: 5px;
}


.live-entry-total{
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
}
.live-entry-total strong{
    text-transform: uppercase;
    color: #333;
}
.live-entry-total .totals{
    
}
.live-entry-total .totals-item{
    display: inline-block;
    vertical-align: middle;
}

.live-entry-total .totals-item + .totals-item{
    margin-left: 30px;
} 

.live-entry-total .totals-item strong{
    margin-right: 5px;
    font-size: 12px;
    text-transform: none;
}

/*ACTIVE-TAG*/
.phase-item .active-tag{
    text-transform: uppercase;
    color: #c2c2c2;
    font-size: 10px;
    position: absolute;
    font-weight: normal;
    right: -10px;
    top: 0;
}
.phase-item .active-tag i{
    width: 12px;
    height: 12px;
    border: 1px solid #ebebeb;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}
.phase-item .active-tag i:after{
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c2c2c2;
    position: absolute;
    top: 2px;
    left: 2px;
}

.phase-item.edited{background: palegoldenrod;}
.phase-item.active{background: #f7eee6;}
.phase-item.active .phase-item-title{font-weight: bold;}
.phase-item.active .active-tag{color: #ff6600;}
.phase-item.active .active-tag i{border-color: #f9d3b9;}
.phase-item.active .active-tag i:after{background: #ff6600;}

.search-input{
    position: relative;    
}
.search-input .form-control{
    padding-left: 30px;
}
.search-input .fa-search{
    position: absolute;
    left: 8px;
    top: 8px;
    font-size: 17px;
    color: #ccc;
}

.no-border-right{border-right: 0!important;}
.no-border-left{border-left: 0!important;}
.table-select{
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}

table.table.text-center th,
table.table.text-center td{text-align: center;}
table.table.align-center th,
table.table.align-center td{vertical-align: middle;}


table.table.entries-table tr:hover td {
    background: #dddddd;
}

table.table.current-competitor-table td{
    color: #f60;
}
/* Select row from SecretaryEvents */

.table-striped > tbody > tr.selected > td,
.table-striped > tbody > tr.selected:nth-child(odd) > td {
    background: #dddddd;
}

.table-striped > tbody > tr.selected > td,
.table-striped > tbody > tr.selected:nth-child(odd) > td {
    background: #dddddd;
}

.done-entry-row.selected {
    background: #dddddd;
}



table.table.phase-table th{
    background: #f7eee6!important;
}

table.table.phase-table td{
    background: #f5f5f5;
    font-weight: bold;
}

table.table.phase-table .result-row td{
    background: white;
    color: #f60;
}

table.table.phase-table .total-row td{
    background: #f5f5f5;
    font-weight: bold;
    color: #333;
}

table.table.phase-table .form-control{
    text-align: center;
}

/*NUMBER-SPINNER*/
.number-spinner input:disabled,
.number-spinner input{
    background: white;
    cursor: default;
}
.main .result-management .table .form-control,
.number-spinner .form-control{
    padding: 0 8px;
    font-size: 14px;
    height: 28px;
}

.number-spinner .btn{
    padding: 3px 9px;
}

.main .number-spinner a i.fa{
    margin-right: 0;
    font-size: 10px;
}

.comment-icon{
    font-size: 22px;
    color: #3a90ca;
}

.edit-invoce-btn {
    color: #101010;
}

.edit-invoce-icon {
    font-size: 20px;
}

input.form-control[type='number'] {
    -moz-appearance: textfield;
}
/* Webkit browsers like Safari and Chrome */
input.form-control[type=number]::-webkit-inner-spin-button,
input.form-control[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.live_class_type {
    color: green;
}

.prov_class_type {
    font-weight: bold;
    color: red;
}

.password-expired-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    background: rgba(0, 0, 0, 0.45);
    z-index: 12000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.password-expired-dialog {
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.password-expired-header {
    padding: 16px 20px;
    border-bottom: 1px solid #ececec;
}

.password-expired-header h4 {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
}

.password-expired-body {
    padding: 20px;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}

.password-expired-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 20px 20px;
    border-top: 1px solid #ececec;
}
