:root {
    --animate-duration: 1s;
    --animate-delay: 1s;
    --animate-repeat: 1;
}

body {
    background-size: cover;
}

.side-header.side-content {
    overflow: visible;
    background-color: #ffffff;
    border-right: 1px solid #f5f5f5;
}

.side-header img {
    display: inline-block;
    margin-top: -6px;
    height: 48px;
}

#header-navbar {
    z-index: 10000 !important;
}

#sidebar {
    z-index: 10001 !important;
}

#main-container.block-opt-fullscreen {
    padding: 0 !important;
    z-index: 10001 !important;
}

#account_fullname.hasPicture {
    display: inline-block;
    position: relative;
    margin-left: 50px;
}

#account_fullname.hasPicture img {
    width: 42px;
    height: 41px;
    position: absolute;
    top: -10px;
    left: -47px;
}

#account_fullname.hasPicture::before {
    content: ' ';
    display: block;
    width: 47px;
    height: 46px;
    position: absolute;
    top: -13px;
    left: -50px;
    background-color: #fff;
    border-radius: 23px;
}

.extra-field select {
    padding: 0;
    font-family: "Source Sans Pro", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    background: none;
    height: 21px;
    line-height: 21px;
    width: auto;
    margin-right: 15px;
}

.extra-field .select2-container {
    max-width: calc(100% - 30px);
    z-index: 9999 !important;
}

.required::after {
    content: '*';
    color: #d26a5c;
    text-shadow: -1px -1px 1px #fff !important;
    position: relative;
    left: 0;
    top: -2px;
}

.required:empty {
    position: absolute;
    top: -2px;
    right: 5px;
}

.ucfirst {
    text-transform: lowercase;
}

.ucfirst:first-letter {
    text-transform: uppercase;
}

.discrete {
    opacity: 0.25;
}

.discrete:hover,
.discrete:active {
    opacity: 1;
}

.modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.25);
    box-shadow: 0 5px 15px rgba(0,0,0,.25);
}

.modal-content .block-content .block-header {
    padding: 5px 20px;
}

.modal-backdrop {
    opacity: 0.7 !important;
}

.table-bordered {
    border: none !important;
}

.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
    border: 1px solid #e7e7e7;
}

.table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
    font-size: 13px;
}

.table-bordered > tbody > tr > td {
    vertical-align: middle;
    position: relative;
}

.table-bordered > tbody > tr > td > div.ribbon {
    position: absolute;
    top: 0;
    left: 0;
}

.table-bordered > thead > tr > td[onclick], .table-bordered > tbody > tr > td[onclick], .table-bordered > tfoot > tr > td[onclick] {
    cursor: pointer;
}

.no-border {
    border: none;
}

.border-gray {
    border: 1px solid #aeaeae;
}

table {
    counter-reset: section;
}

table td.count:before {
    counter-increment: section;
    content: counter(section) '.';
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: searchfield-cancel-button;
    text-overflow: ellipsis;
}

input.form-control {
    text-overflow: ellipsis !important;
}

input.form-control::-webkit-input-placeholder {
    font-weight: 100;
    text-overflow: ellipsis !important;
}

input.form-control:-ms-input-placeholder {
    font-weight: 100;
    text-overflow: ellipsis !important;
}

input.form-control:-moz-placeholder {
    font-weight: 100;
    text-overflow: ellipsis !important;
}

.table-hover > tbody > tr:hover {
    background-color: rgba(0,0,0,0.05);
}

.table thead th {
    position: relative;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th {
    padding: 16px 10px 12px;
    font-family: "Source Sans Pro", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.table thead th.ordered.desc:after {
    content: '\f160';
    position: absolute;
    top: calc(50% - 10px);
    right: 10px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-style: normal;
}

.table thead th.ordered.asc:after {
    content: '\f161';
    position: absolute;
    top: calc(50% - 10px);
    right: 10px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-style: normal;
}

.table thead tr:first-of-type th:not(.no-order) {
    cursor: pointer;
    white-space: nowrap;
    height: 1em;
    margin: 0;
    padding: 3px 30px 3px 8px;
    vertical-align: middle;
}

.table thead tr:first-of-type th.extra-field {
    padding: 3px 8px;
}

.table thead tr:first-of-type th:not(.no-order):hover {
    background-color: rgba(0,0,0,0.05);
}

.table thead tr:first-of-type th:not(.ordered):hover:after {
    content: '\f161';
    position: absolute;
    top: calc(50% - 10px);
    right: 10px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-style: normal;
    opacity: 0.3;
}

.table thead th.no-order:after {
    display: none;
}

.table thead tr.filters th {
    height: 1em;
    margin: 0;
    padding: 3px 8px;
    vertical-align: middle;
}

.table thead tr.filters th > div.input-group  {
    width: -webkit-fill-available;
}

.table thead tr.filters th.text-right input[type="search"]  {
    text-align: right;
}

.table tbody td.visible-on-hover .visible-on-hover {
    visibility: hidden;
}

.table tbody td.visible-on-hover:hover .visible-on-hover {
    visibility: visible;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 12px;
    line-height: 32px;
}

.select2-small .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 6px;
    line-height: 24px;
}

.select2-small .select2-container .select2-selection--single {
    height: 26px;
}

.select2-small .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -6px;
    position: absolute;
    top: 50%;
    width: 0;
}

#functionTitle .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 12px;
    line-height: 32px;
    font-size: 18px;
}

#functionTitle small {
    color: inherit;
    font-size: 16px;
}

.filters .input-group-addon {
    padding: 3px;
}

.filters .input-group-addon {
    padding: 3px;
    opacity: 0.3;
    cursor: pointer;
}

.filters .input-group-addon.on {
    opacity: 1;
}

.filters .input-group-addon:hover {
    opacity: 1;
}

.node-tree {
    color: #555;
    font-size: 13px;
}

modal.disabled::after {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1050;
}

.modal { overflow: auto !important; }

html.backgroundBlendMode .modal-content > .block > .block-header {
    /*background-image: url(/Application/1.3.1/Frontend/assets/img/background.webp);*/
    background-blend-mode: luminosity;
    background-size: cover;
    background-position-y: 28%;
}

html.backgroundBlendMode #main-container > .content:first-of-type {
    /*background-image: url(/Application/1.3.1/Frontend/assets/img/background.webp);*/
    background-blend-mode: luminosity;
    background-size: cover;
    background-position-y: 2%;
}

.pagination > li {
    position: relative;
}

.pagination > li > a, .pagination > li > span {
    margin: 0 1px 2px 0 !important;
}

.z-top {
    z-index: 999999;
}

.popover {
    z-index: 1000000;
}

.rounded {
    border-radius: 4px;
}

.treeview .node-tree .badge {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
    background-color: #a2a2a2;
    font-weight: normal;
}

.treeview .node-selected {
    font-weight: 600;
}

.treeview .node-icon {
    margin-right: 7px !important;
}

.dropdown-menu,
.select2-container,
.datepicker,
.tooltip {
    z-index: 999999 !important;
}

#functionTitle .select2-container,
#f0004gi .select2-container
{
    z-index: 9999 !important;
}

.colorpicker-2x .colorpicker-saturation {
    width: 200px;
    height: 200px;
}

.colorpicker-2x .colorpicker-hue,
.colorpicker-2x .colorpicker-alpha {
    width: 30px;
    height: 200px;
}

.colorpicker-2x .colorpicker-color,
.colorpicker-2x .colorpicker-color div {
    height: 30px;
}

.has-error > label, .has-error > div > label, .has-error .help-block, .has-error .control-label, .has-error .radio, .has-error .checkbox, .has-error .radio-inline, .has-error .checkbox-inline, .has-error.radio label, .has-error.checkbox label, .has-error.radio-inline label, .has-error.checkbox-inline label {
    color: #d26a5c;
}

.has-error .help-block {
    line-height: 1.2em;
    margin-top: 0.1em;
    text-shadow: -1px -1px 1px #fff !important;
    position: absolute;
    right: 15px;
}

.block > .nav-tabs > li > a {
    margin-right: 2px;
    padding: 10px;
    font-weight: 400;
    font-size: 13px;
}

.block > .nav-tabs > li > a.has-error {
    color: #d26a5c !important;
    background-color: rgba(210, 106, 92, 0.15) !important;
}

.block > .nav-tabs > li > a.has-error:after {
    content: "\f071";
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    font-size: 12px;
    position: absolute;
    top: -4px;
    right: -3px;
}

.block-title > .label {
   max-width: 50%;
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
    float: left;
    margin-right: 5px;
    padding: .3em .6em .2em;
}

.block-header .form-group .text-danger {
    position: absolute;
    top: 0;
    right: 5px;
    text-shadow: -1px -1px 1px #fff !important;
}

.block-content .form-group .text-danger {
    text-shadow: -1px -1px 1px #fff !important;
}

input:disabled::-webkit-input-placeholder {
    color: transparent !important;
}
input:disabled::-moz-placeholder {
    color: transparent !important;
}
input:disabled::placeholder {
    color: transparent !important;
}

.irs-shadow {
    height: 27px;
    top: 22px;
    background: #46c37b;
    opacity: .25;
    border-radius: 5px;
    -moz-border-radius: 5px;
    padding: 0;
    border-right: 24px solid #46c37b;
    box-sizing: content-box;
    margin-left: -12px;
    z-index: 1;
}

.irs-bar,
.irs-bar-edge {
    z-index: 2;
}

.irs-slider {
    z-index: 3;
}

.list-subitem > td {
    transition: 0.3s;
    border: none !important;
    border-bottom: 1px solid #e8e8e8 !important;
}

.list-subitem.closed td {
    display: none;
    /*
    font-size: 0 !important;
    height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-width: 0 !important;
    */
}

.list-subitem.closed td .btn {
    font-size: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.list-subitem > td:first-of-type {
    padding-left: 25px;
}

.list-subitem > td td {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.list-subitem > td td:first-of-type {
    padding-left: 0;
}

.list-subitem > td td:last-of-type {
    overflow: visible;
}

.list-subitem input.quick-edit {
    width: calc(100% - 25px);
    display: inline-block;
}

.list-subitem input.quick-edit.form-control[disabled] {
    cursor: default;
}

.tooltip ol {
    margin: 0;
    padding: 0 0 0 15px;
}

.list-subitem .quick-edit.disabled {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    background: transparent;
    border-color: transparent;
}

.list-subitem .form-control {
    color: unset;
    padding: 6px;
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
  }

.list-subitem td:first-of-type {
    padding-left: 25px;
}

.btn-group, .btn-group-vertical {
    display: inline-flex;
}

.block-options {
    float: right;
    margin: -3px -5px -3px 15px;
    padding: 0;
    height: 24px;
    list-style: none;
}

.modal i.si.si-close {
    font-size: 20px;
}

.nav-main ul {
    padding: 0 0 0 0;
}

.nav-main ul a {
    padding: 8px 8px 8px 50px;
}

.nav-main a {
    cursor: pointer;
}

.nav-main a:hover, .nav-main a:focus {
    color: #fff;
    background-color: unset !important;
}

.nav-main a.loaded {
    background-color: #48505b !important;
}

.nav-main a > i {
    margin-right: 0;
    color: rgba(255, 255, 255, 0.2);
    min-width: 25px;
    display: inline-block;
}

.nav-main li.always-open > a.nav-submenu:before {
    display: none;
}

.nav-main .badge {
    color: #252c36;
}

.progress {
    background-color: #cdcdcd;
    border: none !important;
}

.pie-chart > span {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-top: -2px;
    right: 0;
    left: 0;
    text-align: center;
    padding: 0 40px;
}

.list-url-icon {
    font-size: 20px;
}

.croppie-container .cr-boundary {
    border-radius: 2px;
}

.croppie-container .cr-slider-wrap {
    margin: 5px auto;
}

.croppie-container .cr-viewport {
    border: 1px dashed rgb(214, 214, 214);
}

.switch.switch-sm {
    margin: 8px 0 7px;
    font-size: 13px;
}

#objectList .ribbon-box {
    position: absolute;
    top: -1px;
    left: -1px;
    padding: 0 0 0 3px;
    height: 10px;
    line-height: 10px;
    color: #fff;
    z-index: 500;
    font-size: 7px;
    width: fit-content;
    margin-bottom: 10px;
    white-space: nowrap;
}

#objectList .ribbon-modern .ribbon-box:before {
    border-width: 5px;
}

@-webkit-keyframes heartBeat {
    0% {
      -webkit-transform: scale(1);
      transform: scale(1);
    }
  
    14% {
      -webkit-transform: scale(1.3);
      transform: scale(1.3);
    }
  
    28% {
      -webkit-transform: scale(1);
      transform: scale(1);
    }
  
    42% {
      -webkit-transform: scale(1.3);
      transform: scale(1.3);
    }
  
    70% {
      -webkit-transform: scale(1);
      transform: scale(1);
    }
  }
  @keyframes heartBeat {
    0% {
      -webkit-transform: scale(1);
      transform: scale(1);
    }
  
    14% {
      -webkit-transform: scale(1.3);
      transform: scale(1.3);
    }
  
    28% {
      -webkit-transform: scale(1);
      transform: scale(1);
    }
  
    42% {
      -webkit-transform: scale(1.3);
      transform: scale(1.3);
    }
  
    70% {
      -webkit-transform: scale(1);
      transform: scale(1);
    }
  }

  .heartBeat {
    -webkit-animation-name: heartBeat;
    animation-name: heartBeat;
    -webkit-animation-duration: calc(1s * 1.3);
    animation-duration: calc(1s * 1.3);
    -webkit-animation-duration: calc(var(--animate-duration) * 1.3);
    animation-duration: calc(var(--animate-duration) * 1.3);
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
  }

.mfp-bg {
    z-index: 1000042;
}

.mfp-wrap {
    z-index: 1000043;
}

.note-editor .note-editing-area .note-editable {
    background-color: #ffffff;
}

.note-editor .note-statusbar {
    display: none;
}

.note-editor.note-airframe.fullscreen, .note-editor.note-frame.fullscreen {
    height: calc(100vh - 130px);
    top: 48px;
}

.note-editor.note-airframe.fullscreen .note-editing-area, .note-editor.note-frame.fullscreen .note-editing-area {
    height: 100%;
}

.note-editor.note-airframe .note-editing-area .note-editable, .note-editor.note-frame .note-editing-area .note-editable {
    max-height: 220px;
}

.note-editor.note-airframe.fullscreen .note-editing-area .note-editable, .note-editor.note-frame.fullscreen .note-editing-area .note-editable {
    max-height: none;
    height: calc(100vh - 175px) !important;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.note-modal-footer {
    height: 40px;
    padding: 0 30px 60px;
    text-align: center;
    display: block;
}

.note-modal-backdrop {
    display: none !important;
}

.note-modal-content * {
    font-size: 14px;
    font-family: "Source Sans Pro", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
}

.help-arrow {
    width: 200px;
}

.help-arrow.help-arrow-left {
    transform: translateX(-100%) rotate(-30deg);
}

.help-arrow.help-arrow-top {
    transform: translateX(calc(-50% - 86px)) translateY(calc(-100% - 5px)) rotate(40deg);
}

.help-arrow.help-arrow-topright {
    transform: translateX(calc(-50% - 86px)) translateY(calc(-100% - 5px)) rotate(-40deg) scaleX(-1);
}

.help-arrow.help-arrow-right {
    transform: rotate(30deg) scaleX(-1);
}

.help-arrow.help-arrow-bottom {
    transform: translateX(calc(-50% - 70px)) translateY(23px) rotate(-55deg) scaleY(-1);
}

.help-arrow.help-arrow-bottomright {
    transform: translateX(calc(-50% - 70px)) translateY(23px) rotate(55deg) scaleY(-1) scaleX(-1);
}

:is(#Signup_competitionList, #Signup_programList) tr td:last-of-type {
    position: relative;
}
:is(#Signup_competitionList, #Signup_programList) tr td:last-of-type::before {
    content: "\f0da";
    height: 70px;
    top: 50%;
    position: absolute;
    right: -32px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 70px;
    transform: translateY(-35px);
    margin: 0;
    padding: 0;
    line-height: 70px;
    color: transparent;
}
:is(#Signup_competitionList, #Signup_programList) tr:hover td:last-of-type::before {
    color: #f2f2f2;
    text-shadow: 1px 1px #00000055;
}
:is(#Signup_competitionList, #Signup_programList) tr.highlight td:last-of-type::before {
    color: #dce1ff;
    text-shadow: 1px 1px #00000055;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
  }
  
iframe.note-video-clip {
    max-width: 320px;
    max-height: 180px;
}

.vertical-bottom {
    vertical-align: bottom !important;
}

.text-danger-bright {
    color: #f94026;
}

@media screen and (min-width: 768px) {
    .content-mini {
        padding: 13px 14px 1px;
    }

    .content {
        padding: 16px 14px 1px;
    }
}
