
html #body .edit_slovnik,
html #body .edit_ostrov,
html #body .edit_zajezd,
html #body .edit_media { position:absolute !important; z-index:10; border-radius:2em; font-size:1.5rem !important; width:1.33em !important; height:1.33em !important; line-height:1em !important; padding:0 !important; transform:translate(-50%,-50%); text-align:right; background:var(--orange) !important;  color:var(--white) !important; text-decoration:none; transition:0.3s all !important; overflow:hidden; box-shadow:0.1rem 0.1rem 0.3rem #000; opacity:0.3; }
html #body .edit_ostrov { background:var(--positive) !important; }
html #body .edit_zajezd { background:var(--positive) !important; }
html #body .edit_media { background:#90f !important; }
html #body .edit_slovnik:before,
html #body .edit_ostrov:before,
html #body .edit_zajezd:before,
html #body .edit_media:before { font-size:inherit; }
html #body .edit_slovnik:hover,
html #body .edit_ostrov:hover,
html #body .edit_zajezd:hover,
html #body .edit_media:hover { font-size:2rem !important; opacity:1; }
html #body .edit_slovnik + .edit_slovnik { margin-left:1.5em !important; }
html #body .edit_slovnik + .edit_slovnik + .edit_slovnik { margin-left:2rem !important; }


html #body #target_header .edit_slovnik { margin-top:3rem; }
html #body #target_footer .edit_slovnik { margin-top:2rem; }


#body .headline nav > a.admin { padding-left:0.5rem; padding-right:0.5rem; }
/*
main #target_aside { position:fixed; left:0; top:0; width:250px; height:100vh; overflow:hidden; overflow-y:auto; }
main #target_admin { margin-left:280px; min-height:calc(100vh - 60px); padding:30px 0; width:calc(100% - 310px); background:#fff; }
footer:empty { display:none; }
*/

#body form div.tox .tox-mbtn,
#body form div.tox .tox-tbtn { font-size:1rem; padding:0.2em; height:1.2em; line-height:1.2em; min-width:1.2em; color:#000 !important; background-color:transparent !important; }
#body form div.tox-tinymce { padding:0; height:auto; border:1px solid var(--blue1); border-radius:0; margin-left:1rem; margin-bottom:1rem; }
#body form .tox .tox-editor-container { height:100%; }
#body textarea.tox-textarea { font-size:14px; line-height:1.2em; min-height:100%; }
/*
#body form div.mce-panel { background:none; border:none; }
#body form div.tox-tinymce iframe { width:calc(100% - 2px) !important; border:1px solid var(--blue1); background:var(--white); color:var(--black); height:50vh !important; min-height:20rem; }
#body form div.mtox-tinymce .tox-ico { font-size:1rem; }
#body form .tox .tox-editor-container { border-bottom:1px solid var(--blue1);  }
#body div.mce-abs-layout label { min-width:140px; }
#body div.mce-abs-layout input,
#body div.mce-abs-layout select {  min-width:300px; }
*/

#body form fieldset.upload { display:block; width:15rem; height:10rem; padding-top:3rem; position:relative; box-sizing:border-box; }
#body form fieldset.upload > label { display:block; margin-top:-3rem; }
#body form fieldset.upload > div { position:absolute; top:3rem; bottom:0; left:0; right:0; box-sizing:border-box; background:url('/../img/upload.svg') 0 0 repeat; background-size:1rem 1rem; border:1px solid var(--blue1); overflow:hidden; }
#body form fieldset.upload > div > img { display:block; width:100%; height:100%; object-fit:cover; position:absolute; left:0; top:0; }
#body form fieldset.upload > div > img:not([src]),
#body form fieldset.upload > div > img[src=""] { display:none; }
#body form fieldset.upload > div > a.edit { display:block; position:absolute; }
#body form fieldset.upload > div > div { display:none; position:absolute; left:0; top:0; width:100%; height:100%; background:var(--white); }
#body form fieldset.upload > div > a.edit,
#body form fieldset.upload > div > div > a.back,
#body form fieldset.upload > div > div > a.remove,
#body form fieldset.upload > div > div > div { display:block; position:absolute; top:0; right:0; width:2rem; height:2rem; background:var(--blue1); text-align:center; line-height:2rem; color:var(--white); cursor:pointer; text-decoration:none; transition:background-color 0.3s, color 0.3s; }
#body form fieldset.upload > div > div > a.remove { right:2rem; }
#body form fieldset.upload > div > div > div { left:0rem; right:auto; overflow:hidden; }
#body form fieldset.upload > div > div > div > input[type="file"] { font-size:4rem; height:auto; opacity:0.01; position:absolute; left:0; top:0; padding:0; margin:0 !important; border:none; cursor:pointer; width:auto; }
#body form fieldset.upload > div > div > input { display:block; position:absolute; left:2rem; right:4rem; top:-1px; height:calc(2rem + 1px) !important; width:calc(100% - 6rem) !important; margin:0 !important; box-sizing: border-box; }
#body form fieldset.upload > div > div > ul { position:absolute; left:0; top:2rem; bottom:0; right:0; padding:0; overflow:hidden; overflow-y:auto; white-space:normal; }
#body form fieldset.upload > div > div > ul > li { display:inline-block; border:3px solid transparent; transition:border-color 0.3s; width:calc(33.33% - 6px); cursor:pointer; padding-left:0; margin-bottom:0; }
#body form fieldset.upload > div > div > ul > li:before { content:none; display:none; }
#body form fieldset.upload > div > div > ul > li > img { display:block; width:100%; }
#body form fieldset.upload > div > div > ul > li:hover { border-color:var(--blue1);  }

#body form fieldset.upload.edit > div > div { display:block; }
#body form fieldset.upload > div > a.edit:hover,
#body form fieldset.upload > div > div > a.back:hover,
#body form fieldset.upload > div > div > div:hover { background-color:var(--blue2); }
#body form fieldset.upload > div > div > a.remove:hover { background-color:var(--negative); }
#body form fieldset.upload > div > img { cursor:crosshair; user-select: none; }
#body form fieldset.upload > div > mark { position:absolute; display:block; z-index:10; width:0; height:0; }
#body form fieldset.upload > div > mark:before { content:''; position:absolute; display:block; top:-0.5rem; left:0; height:1rem; width:0; border-left:1px solid #fff; border-right:1px solid #000; margin-left:-1px; }
#body form fieldset.upload > div > mark:after  { content:''; position:absolute; display:block; left:-0.5rem; top:0; width:1rem; height:0; border-top:1px solid #fff; border-bottom:1px solid #000; margin-top:-1px;}



#target_main .admin_wrapper form input,
#target_main .admin_wrapper form select,
#target_main .admin_wrapper form textarea { font-size:1.25rem; }

/*
#body form fieldset.upload_image { display:block; width:15rem; height:10rem; padding-top:3rem; position:relative; box-sizing:border-box; }
#body form fieldset.upload_image > span { display:block; position:absolute; right:0; top:0; width:3rem; height:3rem; line-height:3rem; text-align:center; cursor:pointer; }
#body form fieldset.upload_image > div { position:absolute; top:3rem; bottom:0; left:0; right:0; box-sizing:border-box; background:url('/../img/upload.svg') 0 0 repeat; background-size:1rem 1rem; border:1px solid var(--blue1); overflow:hidden; }
#body form fieldset.upload_image > div > img { display:block; width:100%; height:100%; object-fit:cover; position:absolute; left:0; top:0; }
#body form fieldset.upload_image > div > img[src=""] { display:none; }
#body form fieldset.upload_image > div > input[type="file"] { font-size:40rem; height:auto; opacity:0.01; position:absolute; left:0; top:0; padding:0; margin:0 !important; border:none; cursor:pointer; width:auto; }
#body form fieldset.upload_image > div > a.remove { display:block; position:absolute; right:0; top:0; width:3rem; height:3rem; line-height:3rem; text-align:center; cursor:pointer; text-shadow:0 0 2px #fff,0 0 1px #fff,0 0 1px #fff; }
#body form fieldset.upload_image > div > img.parent { display:none; }
#body form fieldset.upload_image.swap > div > img.parent { display:block; }
#body form fieldset.upload_image.swap > div > img.parent + img { display:none; }
*/



option[disabled] { color:#999 !important; }
/*
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span { text-indent:0; }
.ui-datepicker .ui-datepicker-prev span:before, 
.ui-datepicker .ui-datepicker-next span:before { display:block; content:'<'; font-family:icomoon; width:16px; height:16px; line-height:16px; text-align:center; }
.ui-datepicker .ui-datepicker-next span:before { content:'>'; }
*/

/*#target_main .admin_wrapper { margin:0 1rem; } */

#target_main .admin_wrapper h1 { text-align:center; margin-top:3rem; }



#target_main .admin_wrapper form { display:block; margin:0 auto; }
#target_main .admin_wrapper form > table { width:100%; }
#target_main .admin_wrapper form label { width:7em; display:inline-block; vertical-align: top; min-height:1.2em; line-height:1.2em; padding:0.4em 0; margin:1px 0 1px 0; height:auto; }
#target_main .admin_wrapper form label > em { font-style:normal; text-align:right; color:#999; }
#target_main .admin_wrapper form input:not([type]),
#target_main .admin_wrapper form input[type="password"],
#target_main .admin_wrapper form input[type="number"],
#target_main .admin_wrapper form input[type="date"],
#target_main .admin_wrapper form select,
#target_main .admin_wrapper form div.mce-tinymce { height:2rem; display:inline-block; vertical-align: top; width:calc(100% - 7.5em - 1em - 2px);  margin:0 -1px 0.5em 0.5em; padding:0 0.5em; box-sizing:border-box; }
#target_main .admin_wrapper form div.mce-tinymce { height:auto; padding:0; width:50rem; margin-left:0; }
#target_main .admin_wrapper form label + div.mce-tinymce { margin-top:-2rem; }
#target_main .admin_wrapper form select { padding:0 2.5em 0 0; text-indent:3px; height:2em; line-height:2em; width:calc(100% - 2.5em - 2px - 0.5em - 7em); }
#target_main .admin_wrapper form select:not([multiple]) { background-size:0.66rem 0.66rem; background-position:right 0.5rem top 50%; padding-right:2rem; }
/*#target_main .admin_wrapper form select[multiple] { width:calc(100% - 19px - 7em); padding:6px 10px; height:calc(3 * 34px - 6px); } */
#target_main .admin_wrapper form textarea { line-height:1.2rem; min-height:6rem; height:auto; padding:0.4rem 0.5rem; box-sizing:border-box; }
#target_main .admin_wrapper form input[type="number"] { height:2em; margin-right:0; }
#target_main .admin_wrapper form fieldset { display:inline-block; margin:1.5rem 0 1rem 0; position:relative; background:var(--light); padding:1rem; border-bottom:1px solid var(--blue1); }
#target_main .admin_wrapper form fieldset > legend { position:absolute; top:-1.5rem; left:0; height:1.5rem; border-bottom:1px solid var(--blue1); width:100%; text-indent:1rem; font-weight:bold; font-size:1.25rem; color:var(--blue1); }



/*
#body #target_main .admin_wrapper form input[type="number"]+label.inc,
#body #target_main .admin_wrapper form input[type="number"]+label.inc+label.dec { height:1rem; min-height:0; line-height:1.4rem; margin-left:-1rem; width:1rem; }
#body #target_main .admin_wrapper form input[type="number"]+label.inc+label.dec { margin-top:1rem; line-height:0.9rem; }
*/
#target_main .admin_wrapper form input.date,
#target_main .admin_wrapper form input[type="date"] { width:8em; text-align:left; background-image: url('/img/date.svg'); background-size:2em auto; background-position:right 0 top 0; background-repeat:no-repeat; }
#target_main .admin_wrapper form select.time { width:50px; }
#target_main .admin_wrapper form input[type="submit"] { float:right; margin-top:1em; padding-left:3rem; padding-right:3rem; }
#target_main .admin_wrapper form a.button.fl { margin:1em 0 1em 2rem; }
#target_main .admin_wrapper form br { clear:both; }
#target_main .admin_wrapper form input[readonly],
#target_main .admin_wrapper form textarea[readonly],
#target_main .admin_wrapper form select[readonly] { background-color:#eee; color:#666; }
#target_main .admin_wrapper form input[disabled],
#target_main .admin_wrapper form textarea[disabled],
#target_main .admin_wrapper form select[disabled] { background-color:#eee; color:#666; }
#target_main .admin_wrapper form input[data-autocomplete][data-array-name] { background-image: url('/img/icomoon-search.svg'); background-size:1em auto; background-position:right 0.5em top 0.5em; background-repeat:no-repeat; }
#target_main .admin_wrapper form input[data-autocomplete][data-array-name] + ul > li { padding:0; margin:0; display:inline; font-weight:normal; cursor:pointer; }
#target_main .admin_wrapper form input[data-autocomplete][data-array-name] + ul > li:hover { text-decoration:line-through; }
#target_main .admin_wrapper form input[data-autocomplete][data-array-name] + ul > li:before { display:none; }
#target_main .admin_wrapper form input[data-autocomplete][data-array-name] + ul > li:not(:last-child):after { content:', '; position:static; display:inline; font-family:inherit; xcolor:inherit; font-size:inherit; text-decoration:none; }
#target_main .admin_wrapper form input[data-autocomplete][data-array-name] + ul:not(:empty) { margin-bottom:10px; }
#target_main .admin_wrapper form input[type="checkbox"] + label,
#target_main .admin_wrapper form input[type="radio"] + label { padding-left:1.75em; width:auto; }
#target_main .admin_wrapper form input[type="radio"] + label + input[type="radio"] + label { margin-left:1em; }

#body #target_main .admin_wrapper form input[data-state="sending"],
#body #target_main .admin_wrapper form input[type="checkbox"][data-state="sending"] + label,
#body #target_main .admin_wrapper form input[type="radio"][data-state="sending"] + label,
#body #target_main .admin_wrapper form textarea[data-state="sending"],
#body #target_main .admin_wrapper form select[data-state="sending"] { background-image: url('/img/icon8-chasing-arrows.svg'); background-size:1em auto; background-position:right 0.5em top 50%; background-repeat:no-repeat; }
#body #target_main .admin_wrapper form input[data-state="saved"],
#body #target_main .admin_wrapper form input[type="checkbox"][data-state="saved"] + label,
#body #target_main .admin_wrapper form input[type="radio"][data-state="saved"] + label,
#body #target_main .admin_wrapper form textarea[data-state="saved"],
#body #target_main .admin_wrapper form select[data-state="saved"] { background-image: url('/img/icomoon-check-green.svg'); background-size:1em auto; background-position:right 0.5em top 50%; background-repeat:no-repeat; }
#body #target_main .admin_wrapper form input[data-state="error"],
#body #target_main .admin_wrapper form input[type="checkbox"][data-state="error"] + label,
#body #target_main .admin_wrapper form input[type="radio"][data-state="error"] + label,
#body #target_main .admin_wrapper form textarea[data-state="error"],
#body #target_main .admin_wrapper form select[data-state="error"] { background-image: url('/img/icomoon-exclamation-circle-red.svg'); background-size:1em auto; background-position:right 0.5em top 50%; background-repeat:no-repeat; }
#body #target_main .admin_wrapper form textarea[data-state],
#body #target_main .admin_wrapper form select[multiple][data-state] { background-position:right 0.5em top 0.5em; }



#target_main .admin_wrapper .admin_table { width:100%; position:relative; -webkit-column-span: all; column-span: all; }
#target_main .admin_wrapper .admin_table > form { display:block; text-align:center; }
#target_main .admin_wrapper .admin_table > form > div { padding:0.5em 0; display:inline-block; }
#target_main .admin_wrapper .admin_table > form > div > label,
#target_main .admin_wrapper .admin_table > form > div > input:not([type]),
#target_main .admin_wrapper .admin_table > form > div > select { display:inline-block; width:auto; margin:0; padding:0 1rem; height:2rem; line-height:2rem; }
#target_main .admin_wrapper .admin_table > form > div > select { padding:0 1.5em 0 0; min-width:6rem; }
#target_main .admin_wrapper .admin_table > form > div > select.admin_table_limit { width:5rem; text-align:right; }
#target_main .admin_wrapper .admin_table > form > div > label { padding-right:0; font-size:0.75rem; margin:0 0.5rem 0; }
#target_main .admin_wrapper .admin_table > form > div > input[type="checkbox"] + label { padding-top:6px; padding-bottom:6px; }
#target_main .admin_wrapper .admin_table > form > div.admin_table_search { float:right; }
#target_main .admin_wrapper .admin_table > form > table,
#target_main .admin_wrapper table.admin_table { border-collapse:collapse; border-bottom:1px solid #ccc; text-align:left; }
#target_main .admin_wrapper .admin_table > form > table th,
#target_main .admin_wrapper table.admin_table th,
#target_main .admin_wrapper .admin_table > form > table td,
#target_main .admin_wrapper table.admin_table td { padding:0.5rem 0.5rem; font-size:0.75rem; }
#target_main .admin_wrapper .admin_table > form > table th,
#target_main .admin_wrapper table.admin_table th { background:var(--blue1); text-align:left; color:#fff; }
#target_main .admin_wrapper .admin_table > form > table th:first-child,
#target_main .admin_wrapper table.admin_table th:first-child,
#target_main .admin_wrapper .admin_table > form > table td:first-child,
#target_main .admin_wrapper table.admin_table td:first-child { padding-left:1rem; }
#target_main .admin_wrapper .admin_table > form > table th:last-child,
#target_main .admin_wrapper table.admin_table th:last-child,
#target_main .admin_wrapper .admin_table > form > table td:last-child,
#target_main .admin_wrapper table.admin_table td:last-child { text-align:right; }

#target_main .admin_wrapper .admin_table > form > table th > a[class^="icon"],
#target_main .admin_wrapper table.admin_table th > a[class^="icon"],
#target_main .admin_wrapper .admin_table > form > table td > a[class^="icon"],
#target_main .admin_wrapper table.admin_table td > a[class^="icon"] { display:inline-block; vertical-align: middle; font-size:1rem; width:1rem; height:1rem; text-align:center; line-height:1rem; margin:0 0.5rem 0 0; text-decoration:none; color:inherit; transition:0.3s color; }

#target_main .admin_wrapper .admin_table > form > table th:last-child > a,
#target_main .admin_wrapper table.admin_table th:last-child > a { display:inline-block; font-size:1rem; margin-right:0.5rem; width:1rem; text-align:center; }

#target_main .admin_wrapper .admin_table > form > table th > label,
#target_main .admin_wrapper table.admin_table th > label { margin:-0.5rem; display:block; width:auto; padding:0.5rem; color:#fff; font-weight:normal; }
#target_main .admin_wrapper .admin_table > form > table th > input[type="radio"] ~ label { position:relative; color:#fff; font-weight:normal; text-align:inherit; }
#target_main .admin_wrapper .admin_table > form > table th > input[type="radio"] ~ label:before { display:none; }
#target_main .admin_wrapper .admin_table > form > table th > input[type="radio"] ~ label:after { display:block; content:"\2c4"; font-family:'icomoon'; font-size:0.5rem; left:-0.3em; width:1em; height:1em; position:absolute; top:0.4em; text-align:middle; line-height:1.5rem; opacity:0; transition:opacity 0.3s; background:none; color:#fff; }
#target_main .admin_wrapper .admin_table > form > table th > input[type="radio"] ~ label:hover:after { opacity:0.5; }
#target_main .admin_wrapper .admin_table > form > table th > input[type="radio"]:checked ~ label:after { opacity:1; }
#target_main .admin_wrapper .admin_table > form > table th > input[type="radio"]:checked + label:after { content:"\2c5"; }
#target_main .admin_wrapper .admin_table > form > table tbody tr:nth-child(2n-1),
#target_main .admin_wrapper table tbody tr:nth-child(2n-1) { background:var(--light); }
#target_main .admin_wrapper table tbody tr:hover > td { background:var(--warning); }
#target_main .admin_wrapper .admin_table > form > table tr > td:first-child > img { display:block; width:3.3rem; height:2.2rem; margin:-0.5rem 0 -0.5rem -1rem; }
#target_main .admin_wrapper .admin_table > form > p { float:left; display:block; padding:0.5em 1em; text-align:left; font-size:0.75rem; text-align:left; }
#target_main .admin_wrapper .admin_table > form > p + p { float:right; text-align:right; }
#target_main .admin_wrapper .admin_table > form > p > a { display:inline-block; font-weight:bold; margin-left:0.25em; text-decoration:none; color:var(--positive); cursor:pointer; transition:color 0.3s; }
#target_main .admin_wrapper .admin_table > form > p > a.active { color:var(--black);  cursor:default; }
#target_main .admin_wrapper .admin_table > form > p > a[data-page]:hover { color:var(--black); }
#target_main .admin_wrapper .admin_table > form > div.admin_table_custom_type_array { display:block; }
#target_main .admin_wrapper .admin_table > form > div.admin_table_custom_type_array > ul:not(:empty) { display:block; }
#target_main .admin_wrapper .admin_table > form > div.admin_table_custom_type_array > ul > li { display:inline-block; cursor:pointer; padding:0;  }
#target_main .admin_wrapper .admin_table > form > div.admin_table_custom_type_ts_range > input,
#target_main .admin_wrapper .admin_table > form > div.admin_table_custom_type_date_range > input { display:inline-block; vertical-align:middle; max-width:calc(50% - 5.75em); margin:0; height:2em; background-size:3em 3em; background-position:top -0.5em right -0.5em; padding-right:2em; }
#target_main .admin_wrapper .admin_table > form > div.admin_table_custom_type_ts_range > input + label,
#target_main .admin_wrapper .admin_table > form > div.admin_table_custom_type_date_range > input + label { display:inline-block; vertical-align:middle; margin:0; width:2em; padding-left:0; text-align:center; }
#target_main .admin_wrapper .admin_table > form > .admin_table_paging { float:left; padding-left:0; }
#target_main .admin_wrapper .admin_table > form > .admin_table_paging > label { padding-left:0; margin-left:0; }
#target_main .admin_wrapper .admin_table > form > .admin_table_paging > select + label { padding-left:0.5rem; }
#target_main .admin_wrapper .admin_table > form > .admin_table_custom_filter { white-space:nowrap; margin-right:0; }


#target_main .admin_wrapper .admin_table.img_first > form > table th:first-child { width:3rem; padding-left:0; padding-right:0; }
#target_main .admin_wrapper .admin_table.img_first > form > table td:first-child { width:3rem; padding:0; }
#target_main .admin_wrapper .admin_table.img_first > form > table td:first-child > img { margin:0; border:none; }



/* table SLOVNIK */
#target_main .admin_table.admin_table_slovnik form > table table td,
#target_main .admin_table.admin_table_slovnik form > table table tr { background:transparent !important; border:1px dashed #000; padding:0.5rem 1rem !important; }

#target_main #form_edit_slovnik fieldset { width:calc(50% - 10px); display:inline-block; }
#target_main #form_edit_slovnik fieldset + fieldset { margin-left:20px; }
#target_main #form_edit_slovnik textarea { height:calc(50vh - 240px); min-height:3.6em; line-height:1.2em; }


/* table UZIVATELE */
#target_main #form_edit_uzivatel fieldset { width:calc(33.33% - 3.333rem); }
#target_main #form_edit_uzivatel fieldset + fieldset { margin-left:2rem; }


/* table OSTROVY */
#target_main .admin_wrapper .admin_table.admin_table_ostrovy table tr > *:nth-child(3),
#target_main .admin_wrapper .admin_table.admin_table_ostrovy table tr > *:nth-child(4),
#target_main .admin_wrapper .admin_table.admin_table_ostrovy table tr > *:nth-child(5) { text-align:center; }
#target_main .admin_wrapper .admin_table.admin_table_ostrovy table tr.souostrovi td { font-weight:bold; }

/*
#target_main .admin_wrapper.admin_ostrov_wrapper { position:relative; }
#target_main .admin_wrapper.admin_ostrov_wrapper fieldset.upload > label { width:auto; }
#target_main .admin_wrapper.admin_ostrov_wrapper fieldset.upload > div { top:0; }
#target_main .admin_wrapper.admin_ostrov_wrapper .ostrov_titul_img_upload { float:right; width:60rem; height:40rem; }
#target_main .admin_wrapper.admin_ostrov_wrapper .ostrov_fotky_img_upload { float:right; width:60rem; height:2rem; margin-top:0; }
#target_main .admin_wrapper.admin_ostrov_wrapper .ostrov_fotky_img_upload > label { display:none; }
#target_main .admin_wrapper.admin_ostrov_wrapper .ostrov_fotky_img_upload[data-search]:not([data-search=""]) { height:30rem; }
#target_main .admin_wrapper.admin_ostrov_wrapper fieldset.upload.ostrov_fotky_img_upload > div > div > input { width:calc(100% - 2rem + 1px) !important; }
#target_main .admin_wrapper.admin_ostrov_wrapper fieldset.upload.ostrov_fotky_img_upload > div > div > a.back,
#target_main .admin_wrapper.admin_ostrov_wrapper fieldset.upload.ostrov_fotky_img_upload > div > div > a.edit,
#target_main .admin_wrapper.admin_ostrov_wrapper fieldset.upload.ostrov_fotky_img_upload > div > div > a.remove { display:none !important; }
#target_main .admin_wrapper.admin_ostrov_wrapper #dalsi_fotky { width:100%; min-height:15rem; float:right; border:1px solid var(--blue1); box-sizing:border-box; }
#target_main .admin_wrapper.admin_ostrov_wrapper #dalsi_fotky > div { display:inline-block; position:relative; }
#target_main .admin_wrapper.admin_ostrov_wrapper #dalsi_fotky > div > a { border:2px solid transparent; }
#target_main .admin_wrapper.admin_ostrov_wrapper #dalsi_fotky > div > a:hover { border-color:var(--blue1); }
#target_main .admin_wrapper.admin_ostrov_wrapper #dalsi_fotky > div > a,
#target_main .admin_wrapper.admin_ostrov_wrapper #dalsi_fotky > div > a > img { display:block; width:auto; height:10rem; }
#target_main .admin_wrapper.admin_ostrov_wrapper #dalsi_fotky > div > a.remove { display:block; width:2rem; height:2rem; position:absolute; right:0; top:0; background:var(--blue1); color:var(--white); text-align:center; line-height:2rem; text-decoration:none; opacity:0; transition:opacity 0.3s, color 0.3s, background-color 0.3s; border:none; }
#target_main .admin_wrapper.admin_ostrov_wrapper #dalsi_fotky > div > a.remove:hover { background-color:#f00; }
#target_main .admin_wrapper.admin_ostrov_wrapper #dalsi_fotky > div.placeholder { background:#ccc; }
#target_main .admin_wrapper.admin_ostrov_wrapper #dalsi_fotky > div:hover > a.remove { opacity:1; }
#target_main .admin_wrapper.admin_ostrov_wrapper #dalsi_fotky > .separator { width:2rem; height:10rem; background:#ccc; margin:2px; }
#target_main .admin_wrapper.admin_ostrov_wrapper fieldset.upload.ostrov_fotky_img_upload > div > div > ul > li { width:auto; }
#target_main .admin_wrapper.admin_ostrov_wrapper .ostrov_fotky_img_upload { float:none; width:100%; margin-top:-1px; border-bottom:none; }
#target_main .admin_wrapper.admin_ostrov_wrapper #dalsi_fotky + fieldset + a.separator { position:absolute; right:1rem; width:2rem; height:2rem; margin-top:-1px; background:var(--blue1); color:var(--white); text-align:center; line-height:2rem; text-decoration:none; transition:color 0.3s, background-color 0.3s; cursor:pointer; }
#target_main .admin_wrapper.admin_ostrov_wrapper #dalsi_fotky + fieldset + a.separator:hover { background:var(--blue2); }
#target_main .admin_wrapper.admin_ostrov_wrapper form div.mce-tinymce { margin:0 7px 0.5em calc(0.5em - 1px); width:calc(100% - 7.5em - 2px); }
#target_main .admin_wrapper.admin_ostrov_wrapper form div#dalsi_fotky,
#target_main .admin_wrapper.admin_ostrov_wrapper .ostrov_fotky_img_upload { float:none; display:inline-block; width:calc(100% - 8.5em - 2px); margin-left:0.5rem; }
#target_main .admin_wrapper.admin_ostrov_wrapper .ostrov_fotky_img_upload { margin-left:7.5rem; }
*/
#target_main .admin_wrapper.admin_ostrov_wrapper { position:relative; }
#target_main .admin_wrapper.admin_ostrov_wrapper form div.mce-tinymce iframe { height:12rem !important; min-height:12rem;}
#target_main .admin_wrapper.admin_ostrov_wrapper label[for="o_popis_cs"],
#target_main .admin_wrapper.admin_ostrov_wrapper label[for="o_komentar_cs"]{ margin-top:3rem; }
#target_main .admin_wrapper.admin_ostrov_wrapper textarea { display:inline-block; width:calc(100% - 7.5em - 1rem - 2px); margin-left:0.5rem; }
#target_main .admin_wrapper.admin_ostrov_wrapper form div.mce-tinymce { margin:0 7px 0.5em calc(0.5em - 1px); width:calc(100% - 7.5em - 2px); }


#target_main .admin_wrapper fieldset.upload.multiple > label { width:auto; }
#target_main .admin_wrapper fieldset.upload.multiple > div { top:0; }
#target_main .admin_wrapper .image_stripe_upload { float:right; width:60rem; min-height:2rem; margin-top:0; float:none; width:100%; margin-top:-1px; border-bottom:none; }
#target_main .admin_wrapper .image_stripe_upload > label { display:none; }
#target_main .admin_wrapper .image_stripe_upload[data-search]:not([data-search=""]) { height:30rem; }
#target_main .admin_wrapper fieldset.upload.image_stripe_upload > div > div > input { width:calc(100% - 2rem + 1px) !important; }
#target_main .admin_wrapper fieldset.upload.image_stripe_upload > div > div > a.back,
#target_main .admin_wrapper fieldset.upload.image_stripe_upload > div > div > a.edit,
#target_main .admin_wrapper fieldset.upload.image_stripe_upload > div > div > a.remove { display:none !important; }
#target_main .admin_wrapper fieldset.upload.image_stripe_upload > div > div > ul > li { width:auto; }
#target_main .admin_wrapper .image_stripe_uploaded { width:100%; min-height:15rem; float:right; border:1px solid var(--blue1); box-sizing:border-box; }
#target_main .admin_wrapper .image_stripe_uploaded > div { display:inline-block; position:relative; }
#target_main .admin_wrapper .image_stripe_uploaded > div > a { border:2px solid transparent; }
#target_main .admin_wrapper .image_stripe_uploaded > div > a:hover { border-color:var(--blue1); }
#target_main .admin_wrapper .image_stripe_uploaded > div > a,
#target_main .admin_wrapper .image_stripe_uploaded > div > a > img { display:block; width:auto; height:10rem; }
#target_main .admin_wrapper .image_stripe_uploaded > div > a.remove { display:block; width:2rem; height:2rem; position:absolute; right:0; top:0; background:var(--blue1); color:var(--white); text-align:center; line-height:2rem; text-decoration:none; opacity:0; transition:opacity 0.3s, color 0.3s, background-color 0.3s; border:none; }
#target_main .admin_wrapper .image_stripe_uploaded > div > a.remove:hover { background-color:#f00; }
#target_main .admin_wrapper .image_stripe_uploaded > div.placeholder { background:#ccc; }
#target_main .admin_wrapper .image_stripe_uploaded > div:hover > a.remove { opacity:1; }
#target_main .admin_wrapper .image_stripe_uploaded > .separator { width:2rem; height:10rem; background:#ccc; margin:2px; }
#target_main .admin_wrapper form div.image_stripe_uploaded,
#target_main .admin_wrapper .image_stripe_upload { float:none; display:inline-block; width:calc(100% - 8.5em - 2px); margin-left:0.5rem; }
#target_main .admin_wrapper .image_stripe_upload { margin-left:7.5rem; }
#target_main .admin_wrapper .image_stripe_uploaded + fieldset + a.separator { position:absolute; right:1rem; width:2rem; height:2rem; margin-top:-1px; background:var(--blue1); color:var(--white); text-align:center; line-height:2rem; text-decoration:none; transition:color 0.3s, background-color 0.3s; cursor:pointer; }
#target_main .admin_wrapper .image_stripe_uploaded + fieldset + a.separator:hover { background:var(--blue2); }




/* table ZAJEZD */
#target_main .admin_wrapper .admin_table.admin_table_zajezdy table tr > *:nth-child(6),
#target_main .admin_wrapper .admin_table.admin_table_zajezdy table tr > *:nth-child(7),
#target_main .admin_wrapper .admin_table.admin_table_zajezdy table tr > *:nth-child(9),
#target_main .admin_wrapper .admin_table.admin_table_zajezdy table tr > *:nth-child(10){ text-align:right; }
#target_main .admin_wrapper .admin_table.admin_table_zajezdy table tr > td > em { font-style:normal; }

/* table VYLET */
#target_main .admin_wrapper .admin_table.admin_table_vylety table tr > *:nth-child(5) { text-align:right; }
#target_main .admin_wrapper .admin_table.admin_table_vylety table tr > *:nth-child(7) { text-align:center; }


/* form ZAJEZD */
#target_main .admin_wrapper.admin_zajezd_wrapper { position:relative; padding-top:4.5rem; }
#target_main .admin_wrapper.admin_zajezd_wrapper #target_aside { position:absolute; top:3.33rem; bottom:0; right:0; width:20rem; margin:0; }
#target_main .admin_wrapper.admin_zajezd_wrapper #form_edit_zajezd { width:calc(100% - 20rem - 2rem);  background:var(--light); margin:0; }
#target_main .admin_wrapper.admin_zajezd_wrapper #admin_zajezdy_filtr > h3,
#target_main .admin_wrapper.admin_zajezd_wrapper #form_edit_zajezd h3 { font-size:1.25rem; height:1.5rem; line-height:1.5rem; padding:0 1rem; margin:-1.5rem 0 1rem 0; width:calc(100% - 2rem); border:none; border-bottom:1px solid var(--blue1); font-weight:bold; color:var(--blue1); background:var(--white); }
#target_main .admin_wrapper.admin_zajezd_wrapper #zajezd_nazev_cs { width:50rem; }

#target_main .admin_wrapper.admin_zajezd_wrapper label { margin:0; }
#target_main .admin_wrapper.admin_zajezd_wrapper fieldset { display:inline; margin:0 0 0.5rem 1rem; position:static; padding:0; border-bottom:none; }
#target_main .admin_wrapper.admin_zajezd_wrapper fieldset > label:first-child { width:100%; display:block; text-indent:0.5rem; padding-bottom:0.25rem; }
#target_main .admin_wrapper.admin_zajezd_wrapper fieldset > input,
#target_main .admin_wrapper.admin_zajezd_wrapper fieldset > select { margin:0; width:10rem; height:2em; }
#body #target_main .admin_wrapper.admin_zajezd_wrapper fieldset > input[type="number"] { width:7rem; text-align:right; padding-right:3rem; }
#target_main .admin_wrapper.admin_zajezd_wrapper fieldset > input[type="number"] + label { width:2.5rem; padding:1px 0; background:none; margin-left:-2.5rem !important; line-height:2rem; margin-bottom:0 !important; }
#target_main .admin_wrapper.admin_zajezd_wrapper fieldset > input[type="date"] { width:10rem; }
#body #target_main .admin_wrapper.admin_zajezd_wrapper fieldset > input#zajezd_nazev_cs { width:39rem; }
#body #target_main .admin_wrapper.admin_zajezd_wrapper fieldset > input#zajezd_ck { width:8rem; }
#body #target_main .admin_wrapper.admin_zajezd_wrapper fieldset > input#zajezd_cena_czk { width:8rem; }
#body #target_main .admin_wrapper.admin_zajezd_wrapper fieldset > select#zajezd_ostrov { width:16rem; }
#body #target_main .admin_wrapper.admin_zajezd_wrapper fieldset #o_fotky_parent { display:none; }
#body #target_main .admin_wrapper.admin_zajezd_wrapper fieldset > select#zajezd_id_pruvodce { width:13rem; }
#body #target_main .admin_wrapper.admin_zajezd_wrapper fieldset > input#zajezd_zdroj { width:21rem; margin-left:0; margin-bottom:0; }
#body #target_main .admin_wrapper.admin_zajezd_wrapper fieldset > input#zajezd_kapacita,
#body #target_main .admin_wrapper.admin_zajezd_wrapper fieldset > input#zajezd_delka_dny { width:6rem; }
#target_main .admin_wrapper.admin_zajezd_wrapper fieldset > select#zajezd_hotel { width:10rem; }
#target_main .admin_wrapper.admin_zajezd_wrapper #admin_zajezdy_filtr fieldset > input,
#target_main .admin_wrapper.admin_zajezd_wrapper #admin_zajezdy_filtr fieldset > select { width:18rem; margin:0; }

#target_main #form_edit_zajezd #zajezd_vylety,
#target_main #admin_zajezdy_filtr_vylety { background:var(--white); display:block; border-top:1px solid var(--blue1); border-bottom:1px solid var(--blue1); margin:0.5rem 0 1rem 0; padding:1rem 1rem 0.5rem 1rem; }
#target_main #admin_zajezdy_filtr_vylety { position:sticky; top:4.5rem; display:block; border-bottom:none; margin-top:0; }
#target_main #admin_zajezdy_filtr { background:var(--light); padding-bottom:calc(0.5rem + 1px); border-bottom:1px solid var(--blue1); margin-bottom:1rem; }

#target_main #admin_zajezdy_filtr_vylety > li > a { display:none; }
#target_main #admin_zajezdy_filtr_vylety > li > span > span:nth-last-child(2),
#target_main #admin_zajezdy_filtr_vylety > li > span > span:last-child { display:none; }
#target_main #admin_zajezdy_filtr_vylety > li > input[type="time"] { display:none; }

#target_main #form_edit_zajezd #zajezd_vylety { padding:1rem 0; max-height:calc(100vh - 6rem); overflow-y:auto; }
#target_main #form_edit_zajezd #zajezd_vylety > li { display:block; position:relative; }
#target_main #form_edit_zajezd #zajezd_vylety > li:before,
#target_main #form_edit_zajezd #zajezd_vylety > li:after { content:attr(data-day)". "attr(data-dayweek); position:absolute; left:-1rem; width:4rem; line-height:1rem; text-align:right; top:50%; margin-top:-1rem;  color:var(--blue1); background:none; }
#target_main #form_edit_zajezd #zajezd_vylety > li:after { content:attr(data-date); margin-top:0rem; color:#999; }

#target_main #form_edit_zajezd #zajezd_vylety > li > ul { display:block; padding:0 0 0 0; min-height:2rem; }
#target_main #form_edit_zajezd #zajezd_vylety > li > ul > li { margin-left:4rem; }
#target_main #form_edit_zajezd #zajezd_vylety > li > ul > li.placeholder { display:block; background:rgba(0,0,0,0.1); height:3rem; padding-bottom:2px; filter:blur(0.25rem); }
#target_main #form_edit_zajezd #zajezd_vylety > li > ul > li.vylet { margin-right:1rem; margin-top:-1px; margin-bottom:0; }
#target_main #form_edit_zajezd #zajezd_vylety > li > ul > li.vylet:last-child { margin-bottom:-1px; }
#target_main #form_edit_zajezd #zajezd_vylety > li + li > ul { border-top:1px dashed var(--blue1); }
#target_main #form_edit_zajezd #zajezd_vylety > li > ul > li.vylet > strong { font-size:1.22rem; line-height:1.5rem; height:1.5rem; font-weight:600; margin-bottom:0.25rem; }
#target_main #form_edit_zajezd #zajezd_vylety > li > ul > li.vylet > input[type="time"],
#target_main #form_edit_zajezd #zajezd_vylety > li > ul > li.vylet > input[type="time"] + em { position:absolute; right:5rem; top:0.5rem; width:4rem; text-align:center; height:2rem; line-height:2rem; padding:0 0 1rem 0; }
#target_main #form_edit_zajezd #zajezd_vylety > li > ul > li.vylet > input[type="time"] + em { height:1rem; line-height:1rem; font-style:normal; top:2.25rem; padding:0 1px; letter-spacing:-0.04rem; color:#999; pointer-events:none; }
#target_main #form_edit_zajezd #zajezd_vylety > li > ul > li.vylet > a { display:block; right:0rem; top:0rem; opacity:0.5; position:absolute; font-size:1.5rem; width:2rem; height:2rem; line-height:2rem; text-align:center; transition:0.3s opacity; text-decoration:none; cursor:pointer; }
#target_main #form_edit_zajezd #zajezd_vylety > li > ul > li.vylet > a:hover { opacity:1; color:var(--blue1); }
#target_main #form_edit_zajezd #zajezd_vylety > li > ul > li.vylet > a.drop { top:2rem; cursor:pointer; font-size:1rem; }
#target_main #form_edit_zajezd #zajezd_vylety > li > ul > li.vylet > a.drop:hover { color:var(--negative); }
#target_main #form_edit_zajezd #zajezd_vylety > li > ul > li.vylet > a.copy { top:2rem; right:2rem; cursor:copy; }
#target_main #form_edit_zajezd #zajezd_vylety > li > ul > li.vylet > a.orig { right:2rem; cursor:alias;  }
#target_main #form_edit_zajezd #zajezd_vylety > li > ul > li.vylet[data-parent] > a.edit { opacity:1; }
#target_main #form_edit_zajezd #zajezd_vylety > li > a.add_vylet { position:absolute; right:1rem; width:2rem; height:2rem; line-height:2rem; text-align:center; opacity:0.25; text-decoration:none; }
#target_main #form_edit_zajezd #zajezd_vylety > li > a.add_vylet:hover { opacity:1; color:var(--blue1); cursor:pointer; }

#target_main .admin_wrapper.admin_zajezd_wrapper .vylet { display:block; position:relative; background:var(--light); padding:0.5rem 0.5rem 0.5rem 5.5rem; height:3.25rem; margin:0 0 -1px 0; user-select:none; border:1px solid var(--blue1); overflow:hidden; cursor:grab; }
#target_main .admin_wrapper.admin_zajezd_wrapper .vylet > img { display:block; position:absolute; left:0; top:0; width:calc(5rem); height:calc(5rem); max-height:calc(100% + 2px); object-fit:cover; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -o-user-select: none; user-select: none; }
#target_main .admin_wrapper.admin_zajezd_wrapper .vylet > strong { display:block; font-size:1rem; line-height:1rem; height:1rem; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
#target_main .admin_wrapper.admin_zajezd_wrapper .vylet > span { display:inline-block; margin-right:1rem; }
#target_main .admin_wrapper.admin_zajezd_wrapper .vylet > *.diff { color:var(--blue1); }
#target_main .admin_wrapper.admin_zajezd_wrapper li.placeholder { display:block; background:rgba(0,0,0,0.1); height:3rem; padding-bottom:2px; filter:blur(0.25rem); }



#target_main .admin_wrapper.admin_zajezd_wrapper label.zajezd_terminy { padding-left:1.5rem; width:calc(100% - 3rem); }
#target_main .admin_wrapper.admin_zajezd_wrapper label.zajezd_terminy > a { display:block; float:right; text-decoration:none; color:var(--gray); cursor:pointer; }
#target_main .admin_wrapper.admin_zajezd_wrapper label.zajezd_terminy > a:hover { color:var(--blue1); }
#target_main .admin_wrapper.admin_zajezd_wrapper #zajezd_terminy { padding-bottom:1px; margin-bottom:1rem; }
#target_main .admin_wrapper.admin_zajezd_wrapper #zajezd_terminy fieldset { margin-bottom:-1px; }
#target_main .admin_wrapper.admin_zajezd_wrapper #zajezd_terminy fieldset > input[type="date"][readonly] { width:8rem; border-color:var(--blue1) !important; }
#target_main .admin_wrapper.admin_zajezd_wrapper #zajezd_terminy fieldset > input[type="date"] + label { width:3rem; position:relative; z-index:2; text-align:right; margin-right:-3rem; pointer-events:none; color:var(--black); }
#target_main .admin_wrapper.admin_zajezd_wrapper #zajezd_terminy fieldset > input[type="number"] { width:7.1rem; }
#target_main .admin_wrapper.admin_zajezd_wrapper #zajezd_terminy fieldset > input[type="number"] + label { display:inline-block; height: 1.2em; line-height: 1.2em; padding: 0.4em 0; margin:0 0 0 -2.5rem; pointer-events:none; }
#target_main .admin_wrapper.admin_zajezd_wrapper #zajezd_terminy fieldset > input { margin-right:-1px; }
#target_main .admin_wrapper.admin_zajezd_wrapper #zajezd_terminy fieldset.focus > input,
#target_main .admin_wrapper.admin_zajezd_wrapper #zajezd_terminy fieldset.focus > select { background-color:var(--light2) !important; }

#target_main .admin_wrapper.admin_zajezd_wrapper .details > fieldset {  }
#target_main .admin_wrapper.admin_zajezd_wrapper .details > fieldset.upload_image { position:relative; width:24rem; height:17.85rem; }
#target_main .admin_wrapper.admin_zajezd_wrapper .details > fieldset.upload_image > div { top:1.85rem; }
#target_main .admin_wrapper.admin_zajezd_wrapper .details > fieldset > select.short { width:7.5rem; }
#target_main .admin_wrapper.admin_zajezd_wrapper .details > fieldset.v_cene_letenka > input { width:25.5rem; margin-left:-1px; padding-right:calc(0.5em + 1px); }
#target_main .admin_wrapper.admin_zajezd_wrapper .details #zajezd_popis_cs { width:25rem; height:16rem; margin-left:0; }
#target_main .admin_wrapper.admin_zajezd_wrapper .details .mce-container-body.mce-flow-layout { text-align:right; }
#target_main .admin_wrapper.admin_zajezd_wrapper input[type="submit"] { margin-right:1rem; }
#target_main .admin_wrapper.admin_zajezd_wrapper input[type="submit"].fl { float:left; margin-left:1rem; }




#target_list { max-height: calc(100% - 21.3rem); overflow:hidden; overflow-y:auto; }
#target_list .vylet > input[type="time"],
#target_list .vylet > input[type="time"] + em,
#target_list .vylet > a { display:none; }
#target_main .admin_wrapper.admin_zajezd_wrapper #target_list .vylet.disabled { pointer-events:none; background-color:#eee; border-color:#999; cursor:not-allowed; }
#target_main .admin_wrapper.admin_zajezd_wrapper #target_list .vylet { min-height:3.25rem; height:auto; font-weight:normal; padding-bottom:0; }
#target_main .admin_wrapper.admin_zajezd_wrapper #target_list .vylet > img { position:static; display:block; float:left; margin:-0.5rem 0 0 -5.5rem; }
#target_main .admin_wrapper.admin_zajezd_wrapper #target_list .vylet > span { font-size:1rem; }
#target_main .admin_wrapper.admin_zajezd_wrapper #target_list .vylet > span.small { font-size:0.8rem; }
#target_main .admin_wrapper.admin_zajezd_wrapper #target_list .vylet p { margin-left:-5rem; font-weight:normal; margin-bottom:0; font-size:0.8rem; clear:left; }
#target_main .admin_wrapper.admin_zajezd_wrapper #target_list .vylet p:empty { display:none; }


/* modal form VYLET */

#target_modal #admin_zajezd_vylet fieldset { display:block; width:max-content; max-width:calc(100vw - 10rem); position:relative; white-space:nowrap; }
#target_modal #admin_zajezd_vylet fieldset > label,
#target_modal #admin_zajezd_vylet fieldset > input,
#target_modal #admin_zajezd_vylet fieldset > select,
#target_modal #admin_zajezd_vylet fieldset > textarea { display:inline-block; box-sizing:border-box; width:calc(100vw - 27rem); margin-left:1rem; }
#target_modal #admin_zajezd_vylet fieldset > textarea { line-height: 1.2rem; padding-top: 0.9rem; padding-bottom: 0.9rem; }
#target_modal #admin_zajezd_vylet fieldset > select { background-image:none; }
#target_modal #admin_zajezd_vylet fieldset > input[type="numeric"] { width:10.5rem; text-align:right; padding-right:4.75rem; }
#target_modal #admin_zajezd_vylet fieldset > input[type="numeric"] ~ label { pointer-events:none; width:4rem; margin-left:-4rem; }
#target_modal #admin_zajezd_vylet fieldset > label { width:6rem; margin-left:0; padding:0; }
#target_modal #admin_zajezd_vylet fieldset > label ~ div.mce-container { display:inline-block; width:calc(100vw - 27rem); margin-left:1rem; margin-bottom:1.5rem; }
#target_modal #admin_zajezd_vylet fieldset > *[disabled],
#target_modal #admin_zajezd_vylet fieldset > label + div.mce-container { display:none; }

#target_modal #admin_zajezd_vylet fieldset > span { position:absolute; right:0; top:0; width:3rem; height:3rem; text-align:center; line-height:3rem; font-size:1.5rem; color:#ccc; }
#target_modal #admin_zajezd_vylet fieldset[data-cmp] > span:before { font-family:inherit; }
#target_modal #admin_zajezd_vylet fieldset[data-cmp="equal"] > span:before { content:"="; font-size:2rem; }
#target_modal #admin_zajezd_vylet fieldset[data-cmp="different"] > span:before { content:"≠"; font-size:2rem; }
#target_modal #admin_zajezd_vylet fieldset[data-cmp="greater"] > span:before { content:">"; font-size:2rem; }
#target_modal #admin_zajezd_vylet fieldset[data-cmp="lesser"] > span:before { content:"<"; font-size:2rem; }
#target_modal #admin_zajezd_vylet fieldset > div.mce-container ~ span { height:2rem; line-height:2rem;  }
#target_modal #admin_zajezd_vylet fieldset.inline { display:inline-block; }
#target_modal #admin_zajezd_vylet #action[value="new"] ~ fieldset > span,
#target_modal #admin_zajezd_vylet #action[value="orig"] ~ fieldset > span{ display:none; }
#target_modal #admin_zajezd_vylet fieldset.upload.swap > div > img.image { display:none; }

#target_modal #admin_zajezd_vylet h3 { padding-left:8rem; max-width:calc(100% - 13rem); }
#target_modal #admin_zajezd_vylet fieldset > span:hover:before,
#target_modal #admin_zajezd_vylet fieldset.swap > span:before{ content:"⟳"; font-size:1.1rem; font-family:'icomoon'; }
#target_modal #admin_zajezd_vylet fieldset.swap > *[disabled],
#target_modal #admin_zajezd_vylet fieldset.swap > label + div.mce-container { display:inline-block;}
#target_modal #admin_zajezd_vylet fieldset.swap > label + div.mce-container iframe { background:var(--disabled); border-color:#ccc; }
#target_modal #admin_zajezd_vylet fieldset.swap > *[disabled] + *,
#target_modal #admin_zajezd_vylet fieldset.swap > label + div.mce-container + textarea + div.mce-container { display:none; }

#target_modal #admin_zajezd_vylet fieldset.upload_image { display:block; float:right; width:40.5rem; height:30rem;  }
#target_modal #admin_zajezd_vylet fieldset.upload_image.vylet_mapa_img_upload { width:17.5rem; height:17.5rem; margin-right:2rem;}
#target_modal #admin_zajezd_vylet fieldset.upload_image.vylet_mapa_img_upload > img { object-fit:contain; }
#target_modal #admin_zajezd_vylet #parent_ostrov,
#target_modal #admin_zajezd_vylet #vylet_ostrov,
#target_modal #admin_zajezd_vylet #parent_narocnost,
#target_modal #admin_zajezd_vylet #vylet_narocnost,
#target_modal #admin_zajezd_vylet #parent_typ,
#target_modal #admin_zajezd_vylet #vylet_typ { width:10.5rem; }
#target_modal #admin_zajezd_vylet #vylet_mapa_url { width:35rem; }

#target_modal #admin_zajezd_vylet #vylet_narocnost_cs { width:calc(100vw - 39.5rem - 1px); margin-left:2rem; }
#target_modal #admin_zajezd_vylet #vylet_trasa { width:10.5rem; }
#target_modal #admin_zajezd_vylet #vylet_trasa_cs { width:40.5rem; margin-left:0; margin-right:-1px; min-height:8.4rem; }
#target_modal #admin_zajezd_vylet #vylet_misto_vychozi_cs,
#target_modal #admin_zajezd_vylet #vylet_misto_cilove_cs,
#target_modal #admin_zajezd_vylet #vylet_mapa_url { width:33.5rem; }

/* editace slovniku medii v modalu */
#target_modal .admin_wrapper { width:80vw; }
#target_modal #form_edit { padding:2rem 2rem 0;  }
#target_modal #form_edit h2 { margin-bottom:0; }
#target_modal #form_edit fieldset.upload { width:100%; height:calc(100vh - 24rem); }
#target_modal #form_edit > label { margin:0; line-height:1em; height:1em; }
#target_modal #form_edit > textarea { min-height:20vh; line-height:1.2em; padding-top:1em; }



#target_main #form_edit_media { width:40rem; }
#target_main #form_edit_media fieldset { display:block; width:40rem; border:none; margin:0; }
#target_main #form_edit_media fieldset > input { width:calc(100% - 7.5em); }
#target_main #form_edit_media fieldset > img { width:100%; }
#target_main #form_edit_media fieldset > ul { display:inline-block; }
#target_main #form_edit_media fieldset > ul > li { display:block; padding-left:1.5rem; }
#target_main #form_edit_media fieldset > ul > li > a {  }
#target_main #form_edit_media fieldset > ul > li:before { background:none; width:1rem; height:1.2rem; top:0; border-radius:0;  }



#target_content .konzultace_wrapper > a.edit_media { left:calc(100% - 4rem); }
#target_content .epruvodce_wrapper > a.edit_media { left:4rem; }
#target_main .banner > a.edit_media { bottom:4rem; top:auto; left:4rem; }
#target_main .banner > a.edit_slovnik.meta { top:4rem; left:calc(100% - 7rem); background-color:#000 !important; }
#target_main .banner > a.edit_slovnik.meta + a.edit_slovnik.meta { left:calc(100% - 4rem); margin-left:0 !important; }
#target_main .zajezd_wrapper .harmonogram ul + a.edit { left:50%; }


#target_main .admin_wrapper .admin_table.admin_table_objednavky > form > table td > a.zaplaceno,
#target_main .admin_wrapper .admin_table.admin_table_objednavky > form > table td > span.zaplaceno { display:inline-block; margin-left:0.25rem; color:#0c0; font-size:1rem; margin-right:0; }
#target_main .admin_wrapper .admin_table.admin_table_objednavky > form > table td > a.zaplaceno { cursor:pointer; color:var(--pink); }
#target_main .admin_wrapper .admin_table.admin_table_objednavky > form > table td > a.zaplaceno:hover { color:#0c0;  }
#target_main .admin_wrapper .admin_table.admin_table_objednavky > form > table td:nth-child(1),
#target_main .admin_wrapper .admin_table.admin_table_objednavky > form > table td:nth-child(3),
#target_main .admin_wrapper .admin_table.admin_table_objednavky > form > table td:nth-child(4),
#target_main .admin_wrapper .admin_table.admin_table_objednavky > form > table td:nth-child(7),
#target_main .admin_wrapper .admin_table.admin_table_objednavky > form > table td:nth-child(10) { text-align:right; }

#target_main #form_edit_objednavka fieldset { min-width:20rem; width:calc(33.33% - 3.33rem); }
#target_main #form_edit_objednavka fieldset + fieldset { margin-left:2rem; }
#target_main #form_edit_objednavka *[data-label] { display:block; padding-left:8rem; position:relative; }
#target_main #form_edit_objednavka *[data-label]:before { content:attr(data-label); display:block; position:absolute; left:0; top:0; }
#target_main #form_edit_objednavka input[type="number"] + label,
#target_main #form_edit_objednavka input[type="number"] + label + label { height:1em; padding:0; min-height:1em; line-height:1em; }
#target_main #form_edit_objednavka input[type="number"] + label + label { margin-top:1em; }
#target_main #form_edit_objednavka input[type="number"] + label:before, 
#target_main #form_edit_objednavka input[type="number"] + label + label:before { height:1em; line-height:1em; }
#target_main #form_edit_objednavka #objednavka_cena { width:7rem; text-align:right; padding-right:2.5rem; }
#target_main #form_edit_objednavka #objednavka_cena + label { width:2rem; text-align:left; margin-left:-1.5rem;}


/* BLOG */

#target_main #form_edit_blog #b_perex + div.tox-tinymce { width:calc(100% - 38.5rem); margin-left:0.5em; display:inline-block; }
#target_main #form_edit_blog fieldset.ikony { width:calc(100% - 38.5rem); margin-left:0.5em; margin-top:0; border:1px solid var(--blue1); padding:0; background:var(--white); }
#target_main #form_edit_blog fieldset.ikony > input[type="radio"] + label { margin:0; padding:0; width:2rem; height:2rem; text-align:center; line-height:2rem; }
#target_main #form_edit_blog fieldset.ikony > input[type="radio"] + label:before,
#target_main #form_edit_blog fieldset.ikony > input[type="radio"] + label:after { display:none; content:none; }
#target_main #form_edit_blog fieldset.ikony > input[type="radio"]:checked + label { background:var(--blue1); }

#target_main #form_edit_blog,
#target_main #form_edit_ostrov { width:74rem; }
#target_main #form_edit_blog > fieldset.upload.upload_image,
#target_main #form_edit_ostrov > fieldset.upload.upload_image { display:block; float:right; width:29rem; height:22rem; padding:3rem 0 0 0; margin-top:0; background:none; }
#target_main #form_edit_blog > fieldset.upload.upload_image > label,
#target_main #form_edit_ostrov > fieldset.upload.upload_image > label { width:max-content; }
#target_main #form_edit_blog > input:not([type="submit"]),
#target_main #form_edit_ostrov > input:not([type="submit"]) { width:calc(100% - 38.5rem); }
#target_main #form_edit_blog div.mce-tinymce,
#target_main #form_edit_ostrov div.mce-tinymce { width:35.5rem; }
#target_main #form_edit_blog div.mce-tinymce ~ div.mce-tinymce,
#target_main #form_edit_ostrov div.mce-tinymce ~ div.mce-tinymce { margin-left:1rem; margin-right:-1rem;}
#target_main #form_edit_blog > fieldset[data-index],
#target_main #form_edit_ostrov > fieldset[data-index]{ padding-top:5rem; position:relative; }
#target_main #form_edit_blog > fieldset[data-index] > label,
#target_main #form_edit_ostrov > fieldset[data-index] > label { position:absolute; left:1.5rem; top:1rem;  }
#target_main #form_edit_blog > fieldset[data-index] > label ~ label,
#target_main #form_edit_ostrov > fieldset[data-index] > label ~ label { left:38rem; }
#target_main #form_edit_blog > div.mce-tinymce,
#target_main #form_edit_ostrov > div.mce-tinymce { margin-left:calc(0.5rem + 2px); padding-top:2rem; height:20rem; }
#target_main #form_edit_blog > div.mce-tinymce iframe,
#target_main #form_edit_ostrov > div.mce-tinymce iframe { height:14.5rem !important; min-height:14.5rem; }
#target_main #form_edit_blog div.image_stripe_uploaded,
#target_main #form_edit_ostrov div.image_stripe_uploaded { width:100%; margin-left:0; }
#target_main #form_edit_blog .image_stripe_upload,
#target_main #form_edit_ostrov .image_stripe_upload { width:100%; margin-left:0; padding-top:0; }
#target_main #form_edit_blog .image_stripe_upload > div,
#target_main #form_edit_ostrov .image_stripe_upload > div { top:0; }

#target_main #form_edit_blog > fieldset[data-index],
#target_main #form_edit_ostrov > fieldset[data-index] { display:block; }
#target_main #form_edit_blog > fieldset[data-index] br + label,
#target_main #form_edit_ostrov > fieldset[data-index] br + label { position:static; }



