.wrapBtns:after, .TB_ajaxContent .row:after { content: "\00A0"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.TB_title::after { content: none; }
.TB_window { color: var(--text, #0f1416); box-sizing: content-box; border: none; border-radius: var(--radius-lg, 12px); position: fixed; z-index: 102; display: none; text-align: left; top: 50% !important; left: 50% !important; margin: 0 !important; transform: translate(-50%, -50%); background: var(--surface, #fff); box-shadow: 0 4px 24px rgba(15,30,40,.10), 0 24px 64px rgba(15,30,40,.16); min-width: 80px; min-height: 80px; font-size: 14px; overflow: hidden; height: auto !important; max-height: 90vh; }
#TB_secondLine { color: #666666; font-size: 10px; }
.TB_window a:link, .TB_window a:visited { border: 0px; color: #666666; }
/*.TB_window a:hover { color: #000; }*/
.TB_window a:active, .TB_window a:focus { color: #666666; }
#TB_ImageOff { cursor: pointer; }

.TB_overlay { position: fixed; z-index: 100; top: 0px; left: 0px; height: 100%; width: 100%; }
.TB_overlayBG { background-color: rgba(15, 20, 30, 0.85); filter: none; -moz-opacity: 1; opacity: 1; }
.TB_window img#TB_Image { display: block; margin: 15px 0 0 15px; }
#TB_Over { position: absolute; z-index: 101; }
img#TB_next, img#TB_prev { cursor: pointer; position: relative; top: -53px; }
img#TB_next { float: right; }
img#TB_prev { float: left; }
div#TB_prev, div#TB_dprev, div#TB_next, div#TB_dnext { z-index: 105; cursor: pointer; position: absolute; }
div#TB_prev, div#TB_next { top: 70%; width: 54px; height: 54px; -webkit-border-radius: 100%; -moz-border-radius: 100%; border-radius: 100%; display: block; }
    div#TB_prev:hover, div#TB_next:hover { opacity: .8; }
div#TB_prev { left: -60px; }
div#TB_next { right: -60px; }
div#TB_dprev { top: 20px; left: 0; width: 48%; height: 90%; }
div#TB_dnext { top: 20px; right: 0; width: 48%; height: 90%; }
div#TB_prev { background: #e2e2e2 url("https://cnt.sk/25/images/thickbox/arrow-left.png"); background-size: 40%; background-repeat: no-repeat; background-position: center center; }
div#TB_next { background: #e2e2e2 url("https://cnt.sk/25/images/thickbox/arrow-right.png"); background-size: 40%; background-repeat: no-repeat; background-position: center center; }
div#TB_dprev { background: url(https://cnt.sk/25/images/s.gif) center center no-repeat; }
div#TB_dnext { background: url(https://cnt.sk/25/images/s.gif) center center no-repeat; }

.TB_closeButton { cursor: pointer; background: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border-radius: var(--radius-sm, 7px); color: var(--text-muted, #828a8e); transition: background .12s, color .12s; flex-shrink: 0; }
.TB_closeAjaxWindow .TB_closeButton { background: none; margin-top: 0; }
.TB_closeButton:hover { background: var(--surface-hover, #ecf0f1) !important; color: var(--text, #0f1416); opacity: 1; }
.TB_closeButton img { display: none; }
.TB_closeButton::after { content: ''; display: block; width: 16px; height: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23828a8e' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m5 5 10 10M15 5 5 15'/%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; }
.TB_closeButton:hover::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230f1416' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m5 5 10 10M15 5 5 15'/%3E%3C/svg%3E"); }
#TB_caption { height: 27px; padding: 7px 10px 10px 10px; }
#TB_closeWindow { width: 54px; height: 54px; float: right; position: absolute; top: 0; right: -60px; }
.TB_closeAjaxWindow { float: none; margin-right: 0; display: flex; align-items: center; }
    .TB_closeAjaxWindow img { border: 0px; }
.TB_ajaxTitle { float: none; margin-left: 0; font-size: 15px; font-weight: 600; color: var(--text, #0f1416); font-family: var(--font-display, system-ui, sans-serif); line-height: 1.3; }
.TB_title { height: auto; cursor: default; border-bottom: 1px solid var(--border, #e3e6e8); padding: 14px 16px; line-height: 1; margin-bottom: 0; background: var(--surface, #fff); filter: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hrLine { border-top: 1px solid #e2e2e2; }
.wrapBtns { margin-top: 10px; width: 100%; text-align: center; box-sizing: border-box; float: left; }
.TB_ajaxContent { clear: both; padding: 20px 20px 0; overflow-y: auto; overflow-x: hidden; text-align: left; box-sizing: content-box; font-size: 1em; width: auto !important; height: auto !important; max-height: calc(90vh - 56px); }
    .TB_ajaxContent.TB_modal { padding: 20px 20px 0; }
.TB_ajaxContent::-webkit-scrollbar { width: 6px; }
.TB_ajaxContent::-webkit-scrollbar-track { background: transparent; }
.TB_ajaxContent::-webkit-scrollbar-thumb { background: var(--border-strong, #c6cbcf); border-radius: 3px; }
.TB_ajaxContent::-webkit-scrollbar-thumb:hover { background: var(--text-muted, #828a8e); }
    .TB_ajaxContent p { padding: 5px 0px 5px 0px; }
    .TB_ajaxContent table, .TB_ajaxContent .row, #manForm .row input, .TB_ajaxContent .row textarea, .TB_ajaxContent table tr td select { width: 100%; box-sizing: border-box; }
        .TB_ajaxContent .row input, .TB_ajaxContent .row select, .TB_ajaxContent #divPaymentForm .row textarea { width: 70%; box-sizing: border-box; }
        .TB_ajaxContent table tr td select:not(.tw-select):not(.tw-input), .TB_ajaxContent table tr td input:not(.tw-input):not(.tw-select), .TB_ajaxContent table tr td textarea:not(.tw-textarea):not(.tw-input),
        .TB_ajaxContent .row select:not(.tw-select):not(.tw-input), .TB_ajaxContent .row input:not(.tw-input):not(.tw-select), .TB_ajaxContent .row textarea:not(.tw-textarea):not(.tw-input) { padding: 1em; }
    .TB_ajaxContent .row { margin-bottom: 10px; }
        .TB_ajaxContent .row .hrLine { margin: 1.5em 0; }
        .TB_ajaxContent .row.padding-none, .wrapBtns.padding-none { padding: 0; }
        .TB_ajaxContent .row.margin-none, .wrapBtns.margin-none { margin: 0; }
    .TB_ajaxContent table tr td { padding: 3px; }
    .TB_ajaxContent h3, .e_m_subtitle { text-transform: uppercase; border-bottom: 1px solid #c7c7c7; padding-bottom: 5px; font-size: 1em; }
    .TB_ajaxContent table tr td input, .TB_ajaxContent table tr td textarea { width: 100%; box-sizing: border-box; height: auto; }
        .TB_ajaxContent table tr td input[type=checkbox], .TB_ajaxContent table tr td input[type=radio] { width: 20px; }
#TB_load { position: fixed; display: none; height: 13px; width: 208px; z-index: 103; top: 48%; left: 48%; }
.TB_HideSelect { z-index: 95; position: fixed; top: 0; left: 0; background-color: #fff; border: none; filter: alpha(opacity=0); -moz-opacity: 0; opacity: 0; height: 100%; width: 100%; }
#TB_iframeContent { clear: both; margin-bottom: -1px; margin-top: 1px; margin-bottom: 1px; /*background: #C7C7C7;*/ }
.tb_alert { font-family: verdana,arial; font-size: 14px; line-height: normal; color: #333333; }
    .tb_alert .inputWrap { border-top: 1px solid #9f9f9f; margin-top: 1em; padding-top: 1em; text-align: center; }
        .tb_alert .inputWrap input { display: inline-block; }
.tb_info, .tb_error, .tb_warn { width: 35px; height: 35px; float: left; margin: 15px 15px 0px 5px; vertical-align: middle; }
.tb_info { background-image: url('https://cnt.sk/25/images/icoinfo-alert.png'); background-repeat: no-repeat; }
.tb_error { background-image: url('https://cnt.sk/25/images/icoerror-alert.png'); background-repeat: no-repeat; }
.tb_warn { background-image: url('https://cnt.sk/25/images/icowar-alert.png'); background-repeat: no-repeat; }
#tb_dialog { text-align: center; margin-top: 10px; }
#tb_a2 { margin-left: 3px; }
.ld_overlay { background-color: #fff; filter: alpha(opacity=20); -moz-opacity: .2; opacity: .2; z-index: 5; }
.ld_loader { position: absolute; width: 64px; height: 64px; left: 0; background-image: url(https://cnt.sk/25/images/loader.gif); z-index: 6; }
.editNote { font-weight: bold; margin-bottom: 10px; }
/*alerts*/
.inputWrap .btn:hover { background-color: #d8d8d8; }

#tb_dialog_buttons { padding: 15px 0; }
    #tb_dialog_buttons input { border: 0px; color: white; padding: 6px 8px 6px 32px; display: inline-block; cursor: pointer; }
    #tb_dialog_buttons #tb_a1 { background: #4F88FF url(https://cnt.sk/25/images/save.png) no-repeat 8px center; color: #fff; }
    #tb_dialog_buttons #tb_a2 { background: #EC0006 url(https://cnt.sk/25/images/cancel.png) no-repeat 8px center; }
#tb_msg { display: block; }

#buttons { text-align: center; }
    #buttons a { display: inline-block; }

.ui-draggable-handle { -ms-touch-action: none; touch-action: none; }
