@media (min-width: 769px) {
    .width-100 {
        min-width: 100px;
    }
    .width-150 {
        min-width: 150px;
    }
    .min-height-40 {
        min-height: 40px;
    }
}
.width-50 {
    width: 50px;
}
.icon-size-md {
    font-size: 32px;
}
.icon-size-lg {
    font-size: 64px;
}

.list-unstyled-margin {
    list-style: none;
}
.list-unstyled-margin li {
    margin: 2px 0;
}

.datepicker-week-select .ui-datepicker-calendar tr {
    transition-delay: 0.1s;
}
.datepicker-week-select .ui-datepicker-calendar tr:hover td:not(.ui-datepicker-unselectable) {
    background-color: #f5f5f5;
}
.datepicker-week-select .ui-datepicker-week-active td:not(.ui-datepicker-unselectable) {
    background-color: #f5f5f5;
}
.ui-datepicker table td.ui-datepicker-today .ui-state-highlight {
    background-color: #e7f4ff;
    color: #333;
}

/* fix modal */
.ui-datepicker {
    z-index: 1051!important;
}

/* Fullcalendar */
.fc-day:hover{
    background: #bce8f1;
    opacity: 0.3;
    cursor: pointer;
}
.fc-event-container {
    cursor: pointer;
}
.fc-event:hover .fc-content {
    color: #bce8f1;
}
.fc-slats,
.fc-content-skeleton,
.fc-bgevent-skeleton{
    pointer-events:none;
}
.fc-bgevent,
.fc-event-container{
    pointer-events:auto;
}
.fc-day-header span {
    text-transform: capitalize;
}
.fc-event-container .event-cancelled, .fc-list-item.event-cancelled  {
    text-decoration: line-through;
    opacity: .20;
}
.event-match-not-called, .event-training-not-called  {
    opacity: .40;
}
.fc-list-item.event-type-season.event-subtype-start {
    background-color: #85ad85a1;
}
.fc-list-item.event-type-match {
    background-color: #ddeadd;
}
.fc-list-item.event-type-season.event-subtype-end {
    background-color: #ffd78e;
}
.fc-list-item:hover td {
    background-color: inherit;
    -webkit-box-shadow:0 0 0 100px rgba(0,0,0,.05) inset;
    box-shadow:0 0 0 100px rgba(0,0,0,.05) inset;
}
.event-type-training-period > .fc-content {
    text-align: center;
}

.datepicker {z-index: 10009 !important;}

/* Left menu */
.navigation .blocked-module a {
    /*opacity: 0.5;*/
    color: rgba(255, 255, 255, 0.4) !important;
}
.blocked-module a .badge {
    display: none;
}
.blocked-module span:not(.lock-icon) {
    margin-right: 5px;
}
.lock-icon {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lock-icon i {
    font-size: 16px;
}

/* Top menu */
.navbar-nav>.dropdown-user .access-image img {
    max-height: inherit;
    border-radius: 0;
}

/* Right nav */
.sidebar-default .navigation li > a small {
    font-weight: normal;
    font-size: 86%;
}

/* Modals */
.modal-dialog-center {
    margin-top: 20%;
}
.modal-open *:focus {
    outline: 0;
}
.modal-table .datatable-header {
    padding: 10px 20px 0 0;
}

.modal-full-width-md-limit {
    width: 100%;
    max-width: 1200px;
}

/* Google map in modal */
.pac-container {
    z-index: 1051 !important;
}

/* Time input FF bug */
input[type=date].form-control, input[type=datetime-local].form-control, input[type=month].form-control, input[type=time].form-control {
    line-height: initial;
}

/* Fileinputs */
.file-drop-zone-title {
    padding: 10px;
}
.file-preview {
    margin-bottom: 10px;
}

/* Checker size */
.checker.xl-checker span {
    border-width: 3px;
}
.checker.xl-checker span:after {
    font-size: 20px;
}
.checker.xl-checker, .checker.xl-checker input, .checker.xl-checker span {
    width: 23px;
    height: 23px;
}

/* Highcharts */
.highcharts-menu hr {
    margin: 0;
}

/* Messenger */
.media-list-linked .media-link-active, .media-list-linked .media-link-active:hover {
    background-color: #2196F3;
    color: #fff;
}

/* Tables */
.col-50 {
    width: 50px;
}
.col-100 {
    width: 100px;
}
.col-150 {
    width: 150px;
}

.dataTable th.focus-orange,
.dataTable td.focus-orange {
    background-color: #efda7c5c;
    outline-color: #4CAF50;
}

/* Mark */
mark.mark-filter {
    background-color: #38d878;
    color: white;
    padding: 0;
    border-radius: 0;
}

/* Fix multiselect checboxes */
.form-horizontal .checkbox .checker, .form-horizontal .checkbox-inline .multiselect-container .checker { top: 50%; }

[v-cloak] {display: none}

/* bs multiselect from newest version ported, remove after full upgrade */
span.multiselect-native-select{
    position:relative
}
span.multiselect-native-select select{
    border :0 !important;
    clip: rect(0 0 0 0) !important;
    height: 1px !important;
    margin: -1px -1px -1px -3px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    left: 50%;
    top: 30px;
}

.multiselect-container > li.multiselect-group > a .checker {
    position: absolute;
}
/* Search input */
/*
.search-global-form input.select2-search__field {
    color: black;
}
.search-global-form .select2-selection--multiple .select2-selection__rendered {
    padding: 0 2px 0 2px;
}
.search-global-form .select2-selection--multiple .select2-selection__choice {
    background: none;
    color: black;
}
.search-global-form select {
    -moz-appearance: none;
    -webkit-appearance:none;
}
.search-global-form select::-ms-expand {
    display: none;
}
.search-global-form .select2-selection__choice__remove {
    display: none;
}
*/


.element-wait {
    cursor: wait;
    pointer-events: none;
}

/* Webix */
.webix_dd_drag .webix_fmanager_icon, .webix_fmanager_table .webix_fmanager_icon_custom {
    /*float: left;*/
    margin-right: 5px;
}
.webix_fmanager_files .webix_fmanager_icon_custom {
    padding-top: 20px;
    line-height: 1;
    width: 40px;
    display: inline-block;
    padding-bottom: 5px;
    font-size: 40px;
    color: #709fbe;
}
.webix_fmanager_files .webix_selected .webix_fmanager_icon_custom {
    color: #fff;
}

.webix_fmanager_table .webix-img-thumb {
    display: none;
}

.webix_fmanager_files .webix-img-thumb {
    display: inline;
    width: 90px;
    height: 66px;
    object-fit: contain;
    object-position: 50% 70%;
}
.webix_fmanager_files .has-thumb {
    display: none;
}

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

/* webix custom view */
.webix_fmanager_files_large .webix-img-thumb {
    width: 256px;
    height: 256px;
}
.webix_fmanager_files .webix_fmanager_file {
    font-size: 15px;
}
.webix_fmanager_files_large .webix_fmanager_data_icon span {
    font-size: 150px;
    width: 250px;
    height: 250px;
    padding-top: 70px;
}
/* jQuery confirm */
.modal-open .jconfirm.jconfirm-modern .jconfirm-box div.jconfirm-content {
    font-size: 13px;
    color: #333;
}
.modal-open .jconfirm.jconfirm-modern .jconfirm-box div.jconfirm-content .checkbox {
    font-size: 13px;
}
.jconfirm.jconfirm-modern .jconfirm-box div.jconfirm-content .select2  {
    font-size: 13px;
}
.jconfirm .jconfirm-box div.jconfirm-content-pane {
    margin-bottom: 5px;
}
.jconfirm.jconfirm-modern .jconfirm-box div.jconfirm-content {
    margin-bottom: 5px;
}
.jconfirm.jconfirm-modern .jconfirm-box div.jconfirm-content .jconfirm-modal  {
    font-size: 13px;
    text-align: left;
    color: #333;
}
.jconfirm.jconfirm-modern .jconfirm-box div.jconfirm-content .jconfirm-modal label {
    font-weight: 500;
}

.show-on-hover {
    visibility: hidden;
}

/* Selectable panels */

.panel-selectable {
    cursor: pointer;
}
.panel-selectable:hover {
    background-color: #f7f7f7;
    transition: all ease-in-out .15s;
}
.panel-selectable.active {
    color: #43A047;
    background-color: #e8f5e9;
    transition: all ease-in-out .15s;
}

/* Flex columns */
.flex-row {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex: auto;
}

.flex-column {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-height: 1px;
    padding-left: 10px;
    padding-right: 10px;
}

/* Webix Manager */
#manager .webix_view {
    font-family: inherit;
    font-size: 13px;
}
#manager .webix_fmanager_file{
    word-break: inherit;
}
#manager .webix_view .webix_column {
    font-size: 14px;
}
#manager .webix_fmanager_save_message {
    display: none;
}
#manager .webix_fmanager_tree .webix_selected {
    background-color: #26a69a;
}
#manager .webix_column .webix_row_select {
    background-color: #26a69a;
}
#manager .webix_blur.webix_fmanager_tree .webix_selected {
    background-color: #d3f6e2;
    border-color: #26a69a;
}

/* Select2 fix width if hidden on init */
.select2-container {
    /* width: 100% !important; cause problems with scroll */
    /* width: 100%; */
}
/* Select2 with icon */
.has-feedback-left .select2-selection--single .select2-selection__rendered {
    padding-left: 36px;
}
.select2-results__option[aria-selected=true] .text-muted {
    color: unset;
}

.fancybox-type-iframe .fancybox-nav {
    width: 60px;
}
.fancybox-type-iframe .fancybox-nav span {
    visibility: visible;
    opacity: 0.5;
}
.fancybox-type-iframe .fancybox-nav:hover span {
    opacity: 1;
}
.fancybox-type-iframe .fancybox-next {
    right: -60px;
}
.fancybox-type-iframe .fancybox-prev {
    left: -60px;
}
.fancybox-tmp {
    position: absolute;
    top: -99999px;
    left: -99999px;
    max-width: 99999px;
    max-height: 99999px;
    overflow: visible !important;
}

/* Fancy tree */
.fancytree-helper-hidden {
    display: none;
}

.need-upgrade i  {
    opacity: 0.3;
    cursor: help;
}

.navbar-brand {padding: 7px 14px;}
.navbar-brand>img {margin-top: 2px; height: 28px;}
.empty {text-align: center;font-size: 20px;}
.club-stream img{-webkit-filter: drop-shadow(0px 0px 12px #fff);filter: drop-shadow(0px 0px 12px #fff)}
textarea.form-control {width: 100%; max-width: 100%; min-width: 100%;}
.players .table>tbody>tr>td, .players .table>tbody>tr>th, .players .table>tfoot>tr>td, .players .table>tfoot>tr>th, .players .table>thead>tr>td, .players .table>thead>tr>th {
    padding: 12px 6px;
}
.overlay {
    position: absolute; /* Sit on top of the page content */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.7); /* Black background with opacity */
    z-index: 10000; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}
.overlay .crest-load {
    position: fixed;
    top: 40%;
    left: 50%;
}
.overlay .crest-load img {
    animation: pulse 2s infinite;
    animation-direction: alternate;
}

@media (max-width: 823px) {
    .search-box {width: 110px;}
}
@media (min-width: 769px) {
    .navbar-nav {margin: 0; }
}
@media (min-width: 824px) {
    .search-box {width: 200px;}
}
@media (min-width: 1280px) {
    .search-box {width: 300px;}
    .table-responsive {
        overflow-x: initial;
    }
}
@media (min-width: 1440px) {
    .search-box {width: 400px;}
}

.btn-custom {
    color: #bdc3c7;
    font-size: 18px;
    border: 1px solid #bdc3c7;
}
.btn-custom:hover {
    color: #ffffff;
    border: 1px solid #ffffff;
}
body .btn-pzpn {
    color: #ffffff;
    background-color: #89131c;
    border-color: #b51824;
}
body .btn-pzpn:hover {
    color: #89131c;
    background-color: #f7f7f7;
}
#pricing-table .pricing {
    margin: 0;
    padding: 0;
    font-family: 'Robot', sans-serif;
}
#pricing-table .pricing .pricing-table {
    padding-bottom: 30px;
}
#pricing-table .pricing .pricing-table .pricing-header {
    position: relative;
    background: #34495e;
    padding: 22px 22px;
    text-align: center;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}
#pricing-table .pricing .pricing-table .pricing-header .pricing-title {
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 20px;
    text-align: center;
    font-weight: 700;
}
#pricing-table .pricing .pricing-table .pricing-header .pricing-rate {
    font-size: 70px;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    text-align: center;
}
#pricing-table .pricing .pricing-table .pricing-header .pricing-rate sup {
    font-size: 24px;
    position: relative;
    top: -30px;
    color: #bdc3c7;
}
#pricing-table .pricing .pricing-table .pricing-header .pricing-rate span {
    font-size: 16px;
    color: #bdc3c7;
    text-transform: uppercase;
}
#pricing-table .pricing .pricing-list {
    padding: 20px 0 40px 0;
    background: #ffffff;
    border: 1px solid #e3e3e3;
}
#pricing-table .pricing .pricing-list ul {
    padding: 0;
    display: table;
    margin: 0 auto;
}
#pricing-table .pricing .pricing-list ul li {
    list-style: none;
    border-bottom: 1px solid #EAECEB;
    color: #bdc3c7;
    font-size: 16px;
    line-height: 20px;
}
#pricing-table .pricing .pricing-list ul li:last-child {
    border: none;
}
#pricing-table .pricing .pricing-list ul li i {
    margin-right: 12px;
    color: #bdc3c7;
}
#pricing-table .pricing .pricing-list ul li span {
    color: #34495e;
}

@media (min-width:979px) {
    table.presence-summary {
        table-layout: fixed;
    }
}

table.presence-summary {
    font-size: 10px;
}
table.presence-summary tr td:first-child, table.presence-summary tr th:first-child {
    width: 100px;
    padding-right: 8px;
}
table.presence-summary td, table.presence-summary th {
    width: auto;
    padding: 8px 0;
    min-width: 20px;
}
table.presence-summary thead a {
    color: #fff;
}
table.presence-summary thead th.day-sunday {
    background-color: #3f7f73!important;
}
table.presence-summary tbody i {
    font-size: 14px;
    color: #666
}
table.presence-summary tbody .fa-user-md {
    font-size: 19px;
}
table.presence-summary tbody>tr.success>td, table.presence-summary tbody>tr.success>th{
    background-color: #49ff571f;
}
table.presence-summary tbody>tr.warning>td,.table-bordered tbody>tr.warning>th{
    background-color: #ffb84642;
}

tr.row-clickable td {
    cursor: pointer;
}

.cut-text {
    text-overflow: ellipsis;
    overflow: hidden;
    width: 90%;
    height: 1.4em;
    white-space: nowrap;
}
.cut-text-message-title {
     text-overflow: ellipsis;
     overflow: hidden;
     width: 70%;
     white-space: nowrap;
 }

.upgrade-bar {
    float: none;
    padding: 10px 20px;
    font-size: 15px;
}
.upgrade-bar a {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
}

.block-with-text {
    overflow: hidden;
    position: relative;
    line-height: 1.2em;
    max-height: 3.6em;
    margin-right: -1em;
    padding-right: 1em;
    text-align: justify;
}

.block-with-text.text-ellipsis{
    max-width: 230px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.block-with-text:before {
    content: '...';
    position: absolute;
    right: 2px;
    bottom: 2px;
}

.block-with-text:after {
    content: '';
    position: absolute;
    right: 0;
    width: 1em;
    height: 1em;
    margin-top: 0.2em;
    background: white;
}

.media-link-active .block-with-text:after, .media-link-active .block-with-text:before {
    background-color: #2196F3;
    text-color: #2196F3;
}
/* Button used to open the chat form - fixed at the bottom of the page */
.open-button {
    background-color: #263238;
    text-align: left;
    color: white;
    padding: 12px 16px;
    border: none;
    cursor: pointer;
    position: fixed;
    bottom: 0;
    right: 80px;
    width: 270px;
    z-index: 9999;
}

.chat-popup {
    display: none;
    position: fixed;
    bottom: 0;
    right: 80px;
    border-radius-topleft: 5px;
    border-radius-topright: 5px;
    z-index: 999999;
    min-width: 270px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.note-popup {
    display: none;
    position: fixed;
    bottom: 65px;
    right: 10px;
    border-radius-top-left: 5px;
    border-radius-top-right: 5px;
    z-index: 999999;
    min-width: 270px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.form-container {
    width: 270px;
    padding: 10px;
    background-color: white;
}

label.required:after {
    content: " *";
    color: red; !important
}

.active-post {
    -webkit-box-shadow: 0 0 30px -13px rgba(232,128,16,1) !important;
    -moz-box-shadow: 0 0 30px -13px rgba(232,128,16,1) !important;
    box-shadow: 0 0 30px -13px rgba(232,128,16,1) !important;
    border-color: rgba(232, 128, 16,0.38);
}

.active-comment  {
    background-color: rgba(232,128,16,0.1) !important;
    border-radius: 6px;
}

.modal-xl {
    width: 1140px; !important;
}

.sidebar-webinars.webinar-info {
    margin-top: 20px!important;
    width: 100%;
}
.sidebar-xs #webinars-carousel  {
    display: none!important;
}
.sidebar-webinars .flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sidebar-webinars .flex-between .text-crop {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar-webinars .flex-between .watch-icon {
    font-size: 12px;
    opacity: 0.7;
}
.sidebar-webinars .img-xxs {
    border: solid 2px white;
    width: 24px!important;
    height: 24px!important;
    border-radius: 50%;
}
.sidebar-webinars .webinar-box {
    background: #212d38;
    padding: 0px 10px 5px 10px;
    border-radius: 6px;
    border: solid #546e7a 2px;
    box-shadow: rgb(0 0 0 / 0%) 0px 0px 0px 3px;
    transition: all 0.3s ease-in-out;
}
.sidebar-webinars .webinar-box:hover {
    border: solid #c2c3c3 2px;
}
.sidebar-webinars .webinar-box .btn {
    width: 100%;
}
.sidebar-webinars .user-box {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sidebar-main {
    overflow: hidden;
}

@media (min-width: 768px) {
    .row.equal {
        display: flex;
        flex-wrap: wrap;
    }
    .row.equal.align-center {
        align-items: center;
    }
}

.mini-field {
    gap: 8%!important;
    padding-top: 15%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;

}
.mini-field > div {
    display: flex;
    align-items: center;
    justify-content: center;
}
.mini-field > div.pos::before, .mini-field > div.alt_pos::before {
    display: flex;
    content: '';
    width: 50%;
    height: 100%;
    border-radius: 100px;
    outline-offset: 1px;
    box-shadow: 0 5px 7px 4px rgb(48 45 45 / 37%);
}
.mini-field .pos::before {
    background: #0ae762;
    outline: solid 3px #0ae76285;
}
.mini-field .alt_pos::before {
    background-color: rgb(255 204 39);
    outline: solid 2px #d9aa18f7;
}
.mini-field-world {
    perspective: 123px;
}
.mini-field-world .mini-field {
    width: 80%;
    margin: auto auto 2%;
}
.mini-field-world .mini-field > div {

}
.badge-pos {
    position: relative;
}
.badge-pos:before {
    content: '';
    position: absolute;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 100px;
    top: 50%;
    transform: translate(0%, -50%);
    outline-offset: 1px;
}
.badge-field_pos, .badge-alt_pos {
    padding-left: 10%;
    font-size: 12px;
}
.badge-alt_pos:before {
    background-color: rgb(255 204 39);
    outline: solid 2px #d9aa1833;
}
.badge-field_pos:before {
    background-color: #0ae762;
    outline: solid 2px #0ae76236;
}
@media print {
    .badge-alt_pos:before {
        background-color: rgb(255 204 39)!important;
    }
    .badge-field_pos:before {
        background-color: #0ae762!important;
    }
}
body .navigation li a {
    display: flex;
}
body .navigation li a span:nth-child(2)
{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.modal-header.bg-primary.dedic-color {
    border-color: transparent;
}

.crest-img.img-block {
    width: 35px;
    margin: auto;
}

.crest-img.img-block:has(> img[data-system_club_id]:is([data-system_club_id=""])) {
    pointer-events: none;
}

.crest-img.img-block:has(> img[data-system_club_id]:not([data-system_club_id=""])) {
    cursor: pointer;
}

.crest-img.img-block img {
    border-radius: 4px;
    transition: all 0.3ms ease;
}

.crest-img.img-block:has(> img[data-system_club_id]:not([data-system_club_id=""])):hover img {
    outline: solid 2px #2196f380;
    outline-offset: 1px;
}

.crest-img.img-block:has(> img[data-system_club_id]:not([data-system_club_id=""]))::before {
    transition: all .2s ease-in;
    position: absolute;
    pointer-events: none;
    font-family: "Icomoon";
    right: -25%;
    top: -20%;
    height: 20px;
    width: 20px;
    display: flex;
    padding-top: 5%;
    z-index: 2;
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    background-color: #2196f3;
    content: "\e911";
    align-items: center;
    justify-content: center;
}
