iframe {
    max-width: 100%;
    /*max-height: 56.25vw;*/ /* 315/560 = .5625 */
    -webkit-box-shadow: 0 16px 28px 0 rgba(0, 0, 0, 0.22), 0 25px 55px 0 rgba(0, 0, 0, 0.21);
    -moz-box-shadow: 0 16px 28px 0 rgba(0, 0, 0, 0.22), 0 25px 55px 0 rgba(0, 0, 0, 0.21);
    box-shadow: 0 16px 28px 0 rgba(0, 0, 0, 0.22), 0 25px 55px 0 rgba(0, 0, 0, 0.21);
}
.tooltip {
    pointer-events: none;
}
.fancybox__nav {
    --carousel-button-bg: #276b6b6e;

    --carousel-button-svg-width: 17px;
    --carousel-button-svg-height: 17px;

    --carousel-button-svg-stroke-width: 3;
}


/* SMS gateway button */
.btn-smsgw { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; cursor:pointer; }

/* SMS gateway modal */
.sms-batt-wrap   { display:flex; align-items:center; gap:4px; }
.sms-batt-body   { width:40px; height:16px; border:2px solid #999; border-radius:3px; padding:2px; flex-shrink:0; }
.sms-batt-fill   { height:100%; border-radius:1px; transition:width .4s; }
.sms-batt-cap    { width:4px; height:8px; background:#999; border-radius:0 2px 2px 0; flex-shrink:0; }
.sms-status-row  { display:flex; align-items:center; gap:8px; margin-bottom:.4rem; font-size:.9rem; }
.sms-status-icon { width:1.2rem; text-align:center; flex-shrink:0; }


/* Keškoměrka-panel s čtverečky */
#km-panel {
    position: absolute;
    right: 100%;
    top: 0;
    bottom: 0;
    margin-right: 8px;
    z-index: 10;
}
#km-panel .hp-km-card {
    height: 100%;
    padding: 8px 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.km-caches-grid {
    flex: 1;
    overflow-y: auto;
    width: 192px;
}
.km-caches-grid::-webkit-scrollbar { width: 4px; }
.km-caches-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.25); border-radius: 2px; }
.h-title { font-size: 80%; display: block; color: #40c8f3; }
.km-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.6em;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
    padding-bottom: 6px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.km-panel-head button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    padding: 0 0 0 6px;
    line-height: 1;
    font-size: 1.8em;
}
.km-panel-head button:hover { color: white; }
.km-caches-grid { line-height: 0; }
.h-caches {
    width: 14px;
    height: 13px;
    margin: 1px;
    border-radius: 4px 2px;
    display: inline-block;
}
