.rekreacija{
    background-color: #009393 !important;
    color: #fff;
    padding: 10px;
}

.nav_btns {
    line-height: 0;
    display: flex;
    align-items: center;

}


.nBtn {
    padding: 0 0;
    height: 25px;
    width: 35px;
    background-color: #fff;

    color: #fb5607;
    font-size: 22px;
    line-height: 0;
    border: none;

    cursor: pointer;
    margin: 0;
    line-height: 0;
    touch-action: manipulation;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Optionally, to prevent text selection on double-tap */
    transition: .5s all;
}

.no_date {
    opacity: .5;
    color: #91A3B0;
}

.omm {
    margin: 0 0 20px 0 !important;
    display: none;
}

.omm i {
    color: #fb5607;
}

.cmm {
    display: flex !important;
    align-items: center !important;
    line-height: 0;

}


/* MM styles → matchmaker.css */

.turnir_act {
    margin-top: 10px;
}

.hide_d {
    width: 0 !important;

    border: none !important;

    text-overflow: ellipsis;
    white-space: nowrap;
    transition: .5s all;
}

.placilo_obvestilo {
    font-size: 13px;
    line-height: 17px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    font-weight: 400;
    color: #d61f2c;
    position: relative;
}

.placilo_note {
    float: left;
    padding-right: 50px;
}

.placilo_obvestilo i {
    color: #d61f2c;
    margin: 2px 10px 0 0 !important;
}

#price_info {
    position: absolute;
    right: 0;
    top: 0px;
    color: #d61f2c;
    font-weight: 600;
    font-size: 14px;
}

.mcal-loader { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 10; background: #f4f7fa; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 20px 24px; opacity: 1; transition: opacity .35s ease; pointer-events: none; }
.mcal-loader.mcal-loader-out { opacity: 0; }
.mcal-skel-row { height: 40px; border-radius: 9px; flex-shrink: 0; background: linear-gradient(90deg, #dde8ef 0%, #eaf0f5 40%, #dde8ef 80%); background-size: 300% 100%; animation: mcalShimmer 1.5s ease-in-out infinite; }
.mcal-skel-row:nth-child(1){width:100%} .mcal-skel-row:nth-child(2){width:88%;animation-delay:.12s} .mcal-skel-row:nth-child(3){width:94%;animation-delay:.24s} .mcal-skel-row:nth-child(4){width:82%;animation-delay:.08s} .mcal-skel-row:nth-child(5){width:96%;animation-delay:.18s} .mcal-skel-row:nth-child(6){width:86%;animation-delay:.30s}
@keyframes mcalShimmer { 0%{background-position:100% 0} 100%{background-position:-100% 0} }

.calendar-container {
    position: relative;
    user-select: none;
    display: flex;

    /* Disable user scroll */
    width: 100%;
    /* Set the desired height */
    overflow-y: scroll;
    overscroll-behavior: contain;
    /* Enable vertical scrolling */
    background-color: #91A3B0;
    /* Prevents content from wrapping */
    transition: transform 0.3s ease;
    /* Add smooth transition effect */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

}

.calendar {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    padding-bottom: 200px;


}

.soigralec {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cHead {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 10px 0 10px 0;
    overflow: hidden;
    height: auto;
}

.teden-dp-label {
    font-size: 12px;
    font-weight: 500;
    color: #91A3B0;
    margin-right: 6px;
    white-space: nowrap;
}

.teden-dp {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #547186 !important;
    width: 150px !important;
    height: 28px !important;
    background: #eef2f5 !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 0 12px !important;
    cursor: pointer;
}

.dp {
    border: none;
    color: #000;
    border-top: 1px solid #fff;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600 !important;
    width: 170px;
    text-align: center;
    height: 25px;
    padding: 0;
    margin: 0 10px;
    border-radius: 0px;

}


.time-column,
.day-column {
    position: sticky;
    top: 0;
    background-color: #91A3B0;
    color: #fff;
    z-index: 2;
    font-size: 15px;
    line-height: 18px;
    font-weight: 600 !important;
    box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
}

.court_type {
    font-weight: 500;
    font-size: 14px;
    color: #d1e2ee;

}


.time-column {
    width: 60px;
    text-align: center;
    font-weight: bold;
    padding: 0 10px;
    left: 0;
    z-index: 3;
    font-size: 13px;
    box-shadow: none;
  display: none;


}

.event:hover {
    background-color: #91A3B0 !important;
    transition: .2s all;
    color:#fff !important;
}
.minify {
    font-size: .7em;
    color: #d1e2ee;
}
.unit_show{
    width: 100%;
    display: flex;

}
.unit_item{
    flex: 1;
    text-align: center;
    font-size: 12px;
   height: 12px;
   line-height: 12px;
margin-top: 3px;
}
.day-column h4{
   
    font-weight: unset;
 letter-spacing: 1px;
font-size: 14px;
display: inline-block;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
padding: 0 10px;




}
.day-column {
font-size: 14px;
    width: calc((100vw) / 6);
    text-align: center;
    font-weight: bold;
    padding: 0;
    height: 50px !important;
    transition: .5s all;
    text-overflow: ellipsis;
    white-space: nowrap;
  line-height: 25px;
    margin: 0 !important;
}

#infoTime small {
    display: block;
    font-size: 15px;
    margin-top: 10px;
}
.weatherInfo{
    position: absolute;
right: 15px;
top: 38px;
font-size: 13px;
color:#fb5607;
}
.weatherInfo .weather-icon{
    margin: 0 8px 0 0 !important;
}

.mark {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.mark p {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mark span {

    width: 23px;
    height: 15px;
    margin: 0 8px 0 0;
    padding: 0;
    background-color: #fff;
    color: #91A3B0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 13px;

    font-size: 13px;
    font-weight: 600 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.e_info {
    display: flex;
    align-items: center;
    position: relative;
    width: 35px;
}

.show_i {
    display: none;
}

.e_info i {
    color: #000;
    top: 0px;
    right: -25px;
    position: absolute;
    cursor: pointer;
}

.show_e_info {
    display: none;
    position: absolute;
    width: 270px;
    background-color: #fff;
    border: 1px solid #000;
    padding: 8px;
    font-size: 12px;
    margin-top: 0;
    z-index: 15;
}

.view_e {
    display: block;
}

.today {
    color: #fff;
}

.hour {
    width: calc(100vw / 5);
    position: relative;

    padding: 0 1px 1px 0;
    text-overflow: ellipsis;
    white-space: nowrap;

}

.hour30 { width: calc(100vw / 5);
  
 
    font-size: 12px;
}
.hx{
 
flex-wrap: nowrap;

}
.hf30 {
   height: 20px !important;
}


.hour30 .price {
    top: 5px;
}
.weather-icon {
   
    margin-left: 10px;
    margin-right: 8px;
   
  
}
.wind_i{
    margin-left: 0;
}
.price {
    position: absolute;
    z-index: 0;
    top: 20px;
    left: 10px;
    font-size: 11px;
    color: #64737e;

    font-weight: 400;

}

.past .price {
    display: none;

}

.over .price {
    display: none;
}

.holiday {
    background-color: pink;
}

.gap_blocked {
    background-color: #fff !important;
    cursor: not-allowed;
    position: relative;
}
.gap_blocked::after {
    content: "\f023";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8px;
    color: #94A2AF;
}

.event {
    background-color: #fff;
    color:#91A3B0;
   height: 35px;
    margin: 0;
  border-right: 1px solid #91A3B0;
   flex: 1;

 line-height: 11px;
    display:flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    font-size: 11px;
    transition: .2s all;

}

.past {
    background-color: #e4e8ea;
    color: #a9a9a9;
    margin: 0;
    height: 35px;
    position: relative;
    flex: 1;
    cursor: pointer;
font-weight: 400;
    box-sizing: border-box;
    border-right: 1px solid #91A3B0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: not-allowed;


}

.blink::before {
    content: "";
    display: inline-block;
    height: 2px;
    width: 100%;
    background-size: 100%;
    position: absolute;
    left: 0;
    top: 0px;
    color: #000;
   background-color: #000;
}

.for_pay {
position:absolute;
right: 0;
    width: 100%;
    background-color: #009393;
    height: 3px;
    bottom: 0;
}

.red_pay {
    background-color: #d61f2c;
}

.green_txt {
    color: #009393 !important;
}

.green_txt i {
    color: #009393 !important;
}


.mm::after {
    content: "\e2ca";
    display: inline-block;
    height: 15px;
    width: 15px;
    font-family: FontAwesome;
    background-size: 100%;
    position: absolute;
    left: 10px;
    top: 2px;
    color: #000;
    background-repeat: no-repeat
}

.mm2::after {
    content: "\e2ca";
    display: inline-block;
    height: 15px;
    width: 15px;
    font-family: FontAwesome;
    background-size: 100%;
    position: absolute;
    left: 30px !important;
    top: 5px;
    color: #000;
    background-repeat: no-repeat
}

.past .mm2::after {
    left: 5px !important;
}

.past .blink::before {
    display: none;
}


.w1 {
    width: 100%;
}

.w2 {
    width: calc(100% / 2);
}

.w3 {
    width: calc(100% / 3);
}

.w4 {
    width: calc(100% / 4);
}

.w5 {
    width: calc(100% / 5);
}

.event:hover {
    color: #a9a9a9;
}

.past :hover {}

.booked {
    background-color: #fff;
    color: rgb(87, 111, 137);
   height: 35px;
    margin: 0;
  border-right: 1px solid #91A3B0;
  flex: 1;
  font-size: 0;
    display:flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    cursor: pointer;
   
}


.over {

    position: relative !important;
    z-index: 1;

}

.event .over_inner {
    display: none;
    overflow-x: hidden;
}

.over_inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    color: #000;
    height: 100%;
    width: 100%;
    font-weight: 500;
    font-size: 8px;
    text-align: center;
    line-height: 11px;
    overflow-x: hidden;

}

.dragging:active {
    background-color: inherit !important;
    color: #000;
    cursor: grabbing;


}

.over_inner i {
    margin: 0 5px 0 0;
    color: #000;
}

.center_i {
    margin: 0 5px !important;
}

.over .over_inner,
.past .over_inner {
    position: absolute !important;
    width: 100%;
    top: 0;
    bottom: 0;
    z-index: 2;

    border: none;
}

/*
    .calendar tr:hover td {

        background-color: #8ebc8e;
        color: #000;

    }*/

.p_hid_div {
    display: none !important;
}

.prx1 {
    width: 100%;
    max-width: 350px;
}

.prx2 {
    width: 100% !important;
    margin: 0 !important;
    display: flex;

}

.prx3 {
    width: 100%;
    margin-bottom: 5px !important;
}

.bInfo {
    padding: 0;
    background-color: transparent;
    color: #009393;

}

.bInfo:hover {
    background-color: transparent;
    color: #009393 !important;
}

.reservation_form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.rez_input {
    position: relative;
    width: 100%;
    margin: 10px 0;

}

.min_mm {
    width: 170px;
}

.minS {
    width: 125px;
}

.minT {
    width: 70px;

}

.mm_col {
    color: #fb5607;
}

.minH {
    width: 115px;
}

.medS {
    display: none;
}

.add_mm {
    position: absolute;
    top: 5px;
    right: 10px;
    padding: 2px 8px;
    font-size: 13px;
    background-color: #009393;
}

.add_mm:hover {
    background-color: #007070;
}

.reservation_form .input_field {
    width: 100% !important;
    height: 35px;
    margin: 0 !important;
    padding: 5px 10px;
    border-radius: 0 !important;
    border: 1px solid #ddd;
    font-weight: 600 !important;
    font-size: 15px !important;
    background-color: #fff;
    color: #000 !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

}


.a_field {
    height: 150px !important;
    padding: 15px 10px !important;
}

.skrit {
    height: 0;
    overflow: hidden;
    padding: 0;
    border: none;
    position: absolute;
}

.r_btns {
    display: flex;
    align-items: center;

}

.rez_btn {
    color: #fff;
    background-color: #009393;
    width: auto;
    height: 35px;
    padding: 0 10px 0 5px;
    margin: 0;

    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500 !important;
    transition: .5s all;
    cursor: pointer;
    border-radius: 0px;
    font-size: 15px !important;
    line-height: 15px;
    transition: .5s all;
    text-align: center !important;

}

.rez_btn:hover {
    background-color: #007070;
}

.rez_btn i {
    font-size: 12px !important;
}

.match_col {
    background-color: #009393;
}

.match_col:hover {
    background-color: #007070;
}

.d_btn {

    color: #ff6961;
    width: auto;
    padding: 0;
    height: 30px;
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: 500 !important;
    transition: .5s all;
    cursor: pointer;
    border-radius: 0px;
    font-size: 12px !important;
    transition: .5s all;
    text-align: center !important;
}

.rem {
    margin-left: auto;
}

.remAll {
    margin-left: 15px;
}

.d_btn i {
    font-size: 10px !important;
    margin: 0 5px 0 5px !important;
}

.floating_label {
    position: absolute;
    padding: 2px 10px 2px 5px;
    z-index: 1;
    top: -10px;
    background-color: #fff;
    left: 5px;
    color: #91A3B0;
}

.clear {
    position: absolute;
    right: 10px;
    top: 12px;
    color: #8f96a5;
    cursor: pointer;
}

.split_rez {
    display: flex;
    justify-content: space-between;
}

.split_rez_mm {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 15px;
}

.split_rez_mm .rez_input {
    margin: 0 5px;
}

.split_rez_mm p {
    font-size: .9em;
    color: #8f96a5;
}

.time_options {
    justify-content: flex-start;
}

.show_time {
    display: flex;
    justify-content: space-between;
}

.ui-timepicker-input {
    background: white;
    cursor: pointer;
}

.oznaka {
    display: none;
}

.msg {
    background-color: #ff6961;
    color: #fff;
    padding: 10px;
    text-align: center;
    margin-bottom: 10px;
    display: none;
    font-size: 13px;
    font-weight: 500 !important;
}

.rpt {
    display: none;
}

.ponavljaj {
    display: none;
}

.vsb {
    display: block;
}

.pari {
    display: flex;
    flex-direction: column;
}


/*
.navi {
    background-color: #fff;
    color: #91A3B0;
    width: 40px;
    min-width: 40px;
    padding: 0;
    height: 40px;
    font-size: 16px;

    z-index: 4;
    margin: 0;
  
}

.lft {
    left: 0;
}

.rgt {
    right: 0;
}
*/
.lft {

    position: fixed;
    left: 0;
    top: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    z-index: 5;
    color: #fff !important;
    background-color: #91A3B0 !important;

    height: 50px !important;
    cursor: pointer;
    font-size: 22px;
    line-height: 0 !important;
}

.rgt {

    position: absolute;
    right: 0;
    font-size: 22px;
    top: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px !important;

    z-index: 5;
    color: #fff !important;
    background-color: #91A3B0 !important;

    height: 50px !important;
    cursor: pointer;
    line-height: 0 !important;
}

.hidden_nv {
    background-color: #91A3B0 !important;
    opacity: .3;
    transition: .5s all;
}

.shrinked .rgt {
    right: 420px;
}

.navi {
    transition: .5s all;
}



.shrinked .day-column {
    width: calc((100vw - 420px) / 5);
}



.no-scroll {
    overflow: hidden;
}

@media (max-width: 1680px) {
    .day-column {
        width: calc((100vw) / 4);
    }
}

@media (max-width: 1280px) {
    .day-column {
        width: calc((100vw) / 3);
    }
}
@media (max-width: 980px) {
    .day-column {
        width: calc((100vw) / 2);
    }
}
@media (max-width: 680px) {
    .day-column {
        width: calc((100vw) / 1);
    }

    #calendarBody tr:hover .event {
      
    }
    .event:hover {
        background-color: unset !important;
    }
    .tgl{
        width: 30px;
        font-size: 15px;
    }
}


@media (max-width: 480px) {
    .cusDp {
        max-width: 100%;
    }

    .ui-datepicker table {
        width: 100%;
        max-width: 100%;
        table-layout: fixed
    }
}

/* ══════════════════════════════════════════════════════════
   UX: mobilni prikaz — večje celice, boljša čitljivost
══════════════════════════════════════════════════════════ */

/* ── CSS tokeni za višine celic ─────────────────────────── */
:root {
    --cell-h:   35px;  /* desktop: enako kot prej */
    --cell-h30: 24px;  /* 30-min: povečano od 20px */
}

/* Višine celic z variablami namesto hard-coded px */
.event, .past, .booked { height: var(--cell-h); }
.hf30                  { height: var(--cell-h30) !important; }

/* ── Font refinements: manjši, z razmikom od roba ────────── */
.event { font-size: 10px; }
.day-column { font-size: 13px; }
.court_type  { font-size: 12px; }

/* ── Tablet (≤ 900px) ────────────────────────────────────── */
@media (max-width: 900px) {
    :root { --cell-h: 32px; --cell-h30: 22px; }

    .over_inner {
        font-size: 9px;
        line-height: 12px;
    }
}

/* ── Mobile (≤ 680px) ────────────────────────────────────── */
@media (max-width: 680px) {
    :root { --cell-h: 34px; --cell-h30: 24px; }

    /* Ura v prosti celici */
    .event {
        font-size: 11px;
        color: #8fa0aa;
        font-weight: 600;
    }

    /* Rezerviran termin */
    .over_inner {
        font-size: 9px;
        line-height: 12px;
    }

    /* Plačilni indikator — debelejši */
    .for_pay { height: 4px; }

    /* Tactile feedback pri dotiku */
    .event:active {
        background-color: #d8e5ec !important;
        transition: none !important;
    }

    /* Boljša ločitev med stolpci */
    .event, .past, .booked {
        border-right: 1.5px solid #91A3B0;
    }

    /* MM ikona — nekoliko višje, da se ne odreže */
    .mm::after  { top: 4px; font-size: 9px; }
    .mm2::after { top: 4px; font-size: 9px; }

    /* Lock ikona za gap_blocked */
    .gap_blocked::after { font-size: 10px; right: 4px; }
}

/* ── Mali mobilni (≤ 420px) ─────────────────────────────── */
@media (max-width: 420px) {
    :root { --cell-h: 36px; --cell-h30: 26px; }

    .over_inner {
        font-size: 9px;
        line-height: 12px;
    }

    /* Ura v prosti celici — vedno vidna (dovolj prostora) */
    .hf30.event:not(.over) {
        font-size: 11px;
        color: #8fa0aa;
        font-weight: 600;
    }

    /* Dan-stolpec header — nekoliko višji za boljšo preglednost */
    .day-column { height: 56px !important; }
}