/* ======================================================================= */
/* ========================================FORM=========================== */

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #bcbcbc !important;
  opacity: 1;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #bcbcbc !important;
  opacity: 1;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #bcbcbc !important;
  opacity: 1;
}
:-moz-placeholder { /* Firefox 18- */
  color: #bcbcbc !important;
  opacity: 1;
}
label {
	display: block;
  margin: 10px 0.2em 5px;
  font-size: 0.85em;
  text-transform: uppercase;
  color: #8c8c7e;
}
label:before {
  content: '\A';
}
.resources-editor #MAIN-CONTENT label {
  color:#777;
}
input, select, textarea, .count_left, .mce-tinymce.mce-container, .plugins {
	margin: 0 8px 8px 0;
  box-sizing: border-box;
  max-width:850px;
}  
input, select, textarea, .count_left {  
	padding: 9px 15px; 
  height: 40px; /*to samo co button*/
  width: 100%;
  max-width:420px;
  border: 0 none;
  font-family: tahoma, arial, sans-serif;
  color: #656565;
  font-size: 1.1em;
}
input, select, textarea, .switch_plugin span {
  background: #fff;
  border: solid 1px #bdbdbd;
  border-radius: 4px;
}
.data-table input, .data-table select, .data-table textarea {
  width: 100%;
}  
.data-table input, .data-table select, .data-table textarea, .data-table .switch_plugin span {
  background: #fff;
}
.shortinput, input.shortinput, select.shortinput {
  width: 258px;
}
select {
  padding-right: 5px;
  /*-webkit-appearance: none;*/
  /*-moz-appearance: none;*/
  /* appearance: none;*/
}
.custom-select, .search-input {
  margin: 4px 8px 8px 0;
  box-sizing: border-box;
  max-width:850px;
  
  background: #fff;
  border: solid 1px #bdbdbd;
  border-radius: 4px;
  
  width: 100%;
  max-width:420px;
  overflow: hidden;
  position: relative;
  height:40px;
}
.custom-select select, .search-input input {
  background: transparent;
  margin:0;
  width:100%;
  border:0 !important;
  padding-right:40px;
  outline: none;
}
.custom-select:after, .search-input:after {
  content:'';
  position: absolute;
  top:0;right:0;bottom:0;
  width:40px;
  height:40px;
  padding:4px;
  box-sizing: border-box;
  background-color:#fff;
  background-position:top center;
  background-repeat: no-repeat;
  background-origin: content-box;
  pointer-events: none;
}
.search-input {
  max-width:250px;
}
.search-input:after {
  background-image: url(icons/form-zoom.png);
}
.custom-select:after {
  background-image: url(icons/form-select.png);
}
textarea {
  height: auto;
  min-height: 132px;
  line-height: 1.45;
  /*width: 100%;*/
  resize: none;
}

textarea.code {
  color: #5454C0;
  font-family: courier new;
  font-size: 14px;
  line-height: 1.5em;
  padding: 0.5em 1em;
}
textarea.rows-2 {
  min-height: 30px;
}
textarea.rows-2:focus {
  min-height: 130px;
}
/* inputy - typ godzina */
.input-hour {
  width:420px;
}
.input-hour > input {
  width:203px;
  box-sizing: border-box;
  margin:0 0 8px 0;
}
/* pola wymagane i zablokowane */
em.req {
  color: #dc0c0c;
}
input.empty {
  border-color: #dc0c0c;
}

form input:focus, form select:focus, form textarea:focus {
  /*border-color: #888;*/
}
/* ================== datapicker =============== */
.ui-widget-header {
  /*background: #ddd !important;*/
}
/* ================== edycja listy checkboxow ========== */
.edit-list-button {
  display: block;
  padding: 5px 21px;
  margin: 0 0 1em 0;
  width: 10em;
  background: url(graphics/edit-this-list.png) 5px 4px no-repeat;
}
.edit-list-button:hover {
  text-decoration: underline;
}
/* ==================zliczanie znaków ================== */
.count_left { /* pokazuje ile znaków pozostało w polu */
  display: block;
  min-height: 0;
  height: 1.2em;
  padding: 0;
  margin: -10px 2px -5px 0;
  text-align: right;
  font-size: 0.9em;
  opacity: 0.5;
}
.count_left:before {
  content:"..";
}
/* ================== Radio i checkbox button ===================== */
input[type="checkbox"], input[type="radio"] {
  position: absolute;
  clip: rect(0,0,0,0);
  display:none;
}
input[type="checkbox"] + label, input[type="radio"] + label {
    display: inline-block;
    padding: 5px 0;
    display: table;
    vertical-align: middle;
    display: flex;
    align-items: center;
    cursor: pointer;
    max-width:420px;
    /*font-size:15px;*/
}
input[type="checkbox"] + label::before, input[type="radio"] + label::before {
    content: '\a0';
    display: inline-block;
    vertical-align: 0.2em;
    width: 20px;
    height: 20px;
    margin-right: 0.5em;
    border:1px solid #ddd;
    border-radius: 0.55em;
    background: #f0f0f0;
    text-indent: 4px;
    line-height: 1.35;
    transition: all 300ms;
    
    display:flex;
    align-items: center;
    justify-content: center;
}
input[type="radio"] + label::before {
    border-radius: 50%;
}
input[type="checkbox"]:checked + label::before {
    /*content: '\2713';*/
    content: url("icons/btn-ok.png");
    background: #2ad9b6;
    color: #fff;
    font-weight: bold;
}
input[type="radio"]:checked + label::before {
  border: 2px solid #2ad9b6;
}
  /*margin: 0;
	width: 20px;
  height: auto;
  clear: both;
  float: none;
  display: inline-block;
  cursor: pointer;*/
}
/*input[type="radio"] {
  margin: 00;
	width: 20px;
  height: 20px;
	border: none;
  position: relative;
  bottom: -5px;
  cursor: pointer;
}*/
/*input[type="radio"]+span:before {
  content: " ";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: -20px;
  background: #f0f;
  opacity: 0.5;
}*/
/* ==================Toggle switch ===================== */
.switch_plugin span {
  background: #4A4A4A url(icons/toggle-icons.png) center no-repeat;
}
.switch_plugin {
  margin: 0 8px 8px 0;
  display: block;
  position: relative;
  padding: 10px 0;
}
.switch_plugin span {
  content: " ";
  height: 22px;
  width: 45px;
  margin: 0 0.5em -5px 0;
  position: relative;
  top: 0; left: 0; 
  display: inline-block;
  cursor: pointer;
  border-radius: 16px;
  background:#bdbdbd;
  border:0;
}
.switch_plugin span:after {
  content: " ";
  height: 16px;
  width: 16px;
  box-sizing: border-box;
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  border-radius: 16px;
  transition: left 300ms;
  cursor: pointer;  
  background: #fff;
  border: 0;
}
.switch_plugin input[value="1"] + span {
  background: #2ad9b6 !important;
}
.switch_plugin input[value="1"] + span:after  {
  left: 26px; background: #fff;
}

/* ================================= disabled ===========*/
.disabled, input[disabled="disabled"], select[disabled="disabled"], textarea[disabled="disabled"],
input[disabled], select[disabled], textarea[disabled] {
  color: #bcbcbc;
  background: #f5f5f5;
  /*opacity: 0.6;*/
  background-image: url(icons/form-lock.png);
  background-position:  center right;
  background-repeat: no-repeat;
}
/* ========================================== */
.fieldset { /* grupuje pola i pluginy np w celu sortowania */
  margin-bottom: 15px;
  position: relative;
  border: solid 1px #ddd;
  background: #d9d9d9;
}
.fieldset>div, .fieldset>h3 {
  margin: 15px !important;
}
.fieldset>div.gallery-preview {
  background: transparent;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}
/* ================================= tabele danych======*/
/*.data-table {
  width: 100%;
  table-layout: fixed;
}
.data-table tbody tr, .data-table-empty  {
  background: #edede3;
}
.data-table th, .data-table td {
  padding: 1em 0.5em;
  word-wrap: break-word;
}
.data-table th {
  color: #fff;
  text-align: center;
  color: #999;
  cursor: default; 
  border-right: solid 1px #FCFCFC;
  background: #4a4a4a no-repeat center;
}
.data-table th.header {
  cursor: pointer;  
}
.data-table th.headerSortUp {
  background-image: url(icons/tbl-sort-down.png);
  background-position: bottom;
}
.data-table th.headerSortDown {
  background-image: url(icons/tbl-sort-up.png);
  background-position: top;
}
.data-table td {
  width: 100%;
  vertical-align: top;
  border-bottom: solid 2px #FCFCFC;  
}
.data-table td, .data-table td a {
  color: #6c6c61;
}
.data-table td a {
  font-size: 1.2em;
}
.data-table .button-wrapper {
  padding: 0;
  width: 4em;
  text-align: center;
}
.data-table .thb-wrapper, .data-table .icon-wrapper {
  padding: 0;
  width: 70px;
  text-align: center;  
}
.data-table .thb-wrapper span {
  margin: 5px auto;
  width: 60px;
  height: 60px;
  overflow: hidden;
  display: block;
  background: #ddd center;
  background-size: cover;
}
.data-table td.icon-wrapper {
  vertical-align: middle;
}
.data-table-empty {
  text-align: center;
  font-size: 1.2em;
  padding: 1em
}
.data-table-controls, .data-table-footer {
  text-align: center;
}
.data-table-controls .add-button, .data-table-footer .add-button {
  display: inline-block
}
.data-table .button {
  padding: 13px 0 0 0px;
  width: 45px;
  height: 45px;
  min-width: 0;
  min-height: 0;
  text-align: center;
  border-radius: 40px;
  background: none;
}
.data-table .button:hover {
  background: #e0e0e0;
}
.data-table input, .data-table select, .data-table textarea {
  margin: 0 0px;
  min-height: 0;
  height: 40px;
  width: 100%;
}
.data-table textarea:focus {
  min-height: 130px;
}*/
/* ============================================================================================================================== */
/* ==================================================== przyciski ===========*/	
.button, .clean-button, .add-button, .msg-button, .browse-area-item {
	width: auto;
	height: auto;
	min-width: 4em;
	min-height: 40px;
  margin: 4px 10px 8px 0;
  padding: 9px 20px;
  box-sizing: border-box;
  border-radius: 4px;
  overflow: hidden;
  
	line-height: 20px;
	position: relative;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: normal;
  transition: background-color 200ms;
}
.button, .clean-button, .add-button, .msg-button {
  color: #f5f5f5 !important;
  background: #464b55;  
}
.button:hover, .clean-button:hover, .add-button:hover, .msg-button:hover, .uploadify:hover .uploadify-button, .uploadifive-button, .uploadifive-button:hover, .button:focus  {
  cursor: pointer;
	background: #575d67 !important;
}
.uploadifive-button input[type="file"] {
	cursor: pointer;
}
.button img, .clean-button  img {
  margin: -8px -1px -6px -1px;
  display: inline-block;
  vertical-align: middle;
}
.button input[type='submit'] {
  margin: 0; padding: 0;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  opacity: 0;
  width: auto;
  height: auto;
  display: block;
  float: none;
  width: 100%;
  cursor: pointer;
}
.button.disabled, .add-button.disabled, .button.disabled:hover, .add-button.disabled:hover {
  background: rgba(70,75,85, 0.7) !important;
  background: #464b55 !important;
  color: rgba(255,255,255,0.3) !important;
  cursor: default;
  box-sizing: border-box;
  opacity:0.8;
}
.add-button.disabled span {
  background: rgba(255,255,255,0.3) !important;
 /* background: #a4a7ac !important;*/
}
.add-button.disabled span img {
  opacity:1;
  filter:invert(63%);
}
.button.disabled span, .add-button.disabled span {
  cursor: default;
}
/* przyciski bezpośrednio w section */
section > .button {
  min-width:258px;
  text-align:left;
}
section > .controls {
  margin-top:20px;
}
/* przyciski z obrazkiem */
.add-button {
  min-width: 180px;
  padding-left: 55px;
  display: inline-block;
  position: relative;
  text-align: left;
}
.add-button span, .uploadify-button:before, .uploadifive-button:before, .file-preview span, .browse-area-item span {
  cursor: pointer;
	padding: 4px 2px;
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 36px;
  box-sizing: border-box;
  display: block;
  background: #000;
}
.add-button span img {

}
.add-button.orange span, .uploadify-button.orange:before, .uploadifive-button.orange:before, .file-preview.orange span, .browse-area-item span {
  background: #ff9e2b;
}
.add-button.red span, .uploadify-button.red:before, .uploadifive-button.red:before, .file-preview.red span, .browse-area-item.red span {
  background: #dc143c;
}
.add-button.mint span, .uploadify-button.mint:before, .uploadifive-button.mint:before, .file-preview.mint span, .browse-area-item.mint span {
  background: #2ad9b6;
}
.add-button.blue span, .uploadify-button.blue:before, .uploadifive-button.blue:before, .file-preview.blue span, .browse-area-item.blue span {
  background: #429ffd;
}
.add-button.purple span, .uploadify-button.purple:before, .uploadifive-button.purple:before, .file-preview.purple span, .browse-area-item.purple span {
  background: #e130fe;
}
.add-button.width-auto {
  min-width:0;
  width:auto;
}
/* przyciski w message window */
.msg-button { 
  padding: 6px;
  margin-right: 1px;
  margin-left: 0;
  width: 40px;
  height: 40px;
  min-width: 0;
  display: inline-block;
  overflow: hidden;
  float: none;
  cursor: pointer;
}


.x {
	position: absolute;
	top: 3px; right: 3px;
	width: 25px;
	height: 25px;
	display: block;
	overflow: hidden;
  cursor: pointer;
}
.x img {
	width: 25px;
	height: 50px;
  margin: -25px 0 0;
  border: none;
}
.x:hover img {
  margin-top: 0px;
}
ul.gallery-editor .x:hover {
opacity: 1;
}
.del {
	position: absolute;
	top: 0px; right: 0px;
	width: 23px;
	height: 23px;
	display: block;
	overflow: hidden;
  cursor: pointer;
  opacity: 0.75;
}
.del img {
	width: 18px;
	height: 14px;
  margin: 5px 0 0 4px;
  border: none;
}
.handle {
	cursor: pointer;
}
.uploadify { /*container*/
  display: inline-block;
  margin: 4px 8px 8px 0
}
.uploadify object {
  opacity: 0;
}
.uploadify-button, .uploadifive-button  {  /*najlepiej zakomentowac caly fragment uploadify.css */
  cursor: pointer;
	margin: 4px 10px 8px 0;
  box-sizing: border-box;
  border: none !important; /*nadpisane style, ktore uploadify wrzuca na chama */
  border-radius: 5px !important;
  line-height: 20px !important;
	text-align: left !important;
	background: #4e5258 !important;
}
.uploadify-button span {
  background: 0 none;
  position: static;
  display: inline;
  height: auto;
  width: auto;
  padding: 0;
  top: auto; bottom: auto; left: auto;
  box-sizing: content-box;
}
.uploadify-button:before, .uploadifive-button:before {
  content: url(icons/btn-img.png);
}
.swfupload {
  top: 0; left: 0; bottom: 0; right: 0;
}
.browser-window .uploadify {
  float: left;
  margin: 8px 8px 8px 0;
  width: 200px !important;
}
/* =============================konkretne ikony z przycisków ===========*/
.button:before {
  margin: -13px 7px -15px -6px;
  display: inline-block;
  vertical-align: middle;
}
.ok-button:before {
  content: url(icons/btn-ok.png);
}
/* ====================== kontenery przycisków ================= */
.controls {
  display:flex;
  align-items: center;
  justify-content: flex-start;
}
.combo-btn {
  margin: 4px 10px 8px 0;
  display:flex;
  border-radius: 4px;
  min-width:320px;
}
.combo-btn > * {
  margin:0 !important;
  border-radius: 0;
  margin-right:1px !important;
  flex:1;
}
.combo-btn > *:last-child {
  margin:0 !important;
}
/* ========================================IKONY ======================== */


/* =======================ikony plików i ikony języków =================*/
.page-icon {
  margin: 0;
  padding: 15px 15px 10px 45px;
  box-sizing: border-box;
  min-height: 45px;
  display: inline-block;
  position: relative;
  cursor: pointer;
}
.page-icon img {
  position: absolute;
  left: 5px; top: 50%;
  margin-top: -16px;
  filter:invert(50%);
}  
.page-icon:hover {
  background: #ececec;
}
/* =======================ikona handlera =================== */
.handler {
  cursor: pointer;
  overflow: hidden;
  width: 30px;
}
.handler.mini {
  padding: 5px;
  width: 15px;
  height: 15px;
}
.handler:hover {
  opacity: 1;
}
.module-box .handler {
  position: absolute;
  bottom: 0px;
  right: 0px;
}
/* =======================ikona obrazkow (listy wyboru obrazka) =========== */
.thb-icon {
  width: 100px;
  margin: 0 5px 0.5em 0;
  padding: 0.5em 0 0.5em 0;
  text-align: center;
  display: inline-block;
  vertical-align: top;
}
.thb-icon img {
  min-height: 50px;
  min-width: 50px;
  max-width: 95px;
  max-height: 75px;
  /*border: solid 1px #aaa;*/
}
.thb-icon:hover img {
   opacity: 0.9;
}
.thb-icon span {
  text-overflow: ellipsis;
    word-wrap: break-word;
  display: block;
}
/* ============================= Pluginy ================================ */
.image-preview, .file-preview {
  width: 258px;
}
/* ============== Obrazek =================== */
.image-preview {

  display: block;
  position: relative;
  text-align: center;
  background: #e9e9e9;
  
  margin-right:40px;
  overflow: visible;
  /*transition: width 300ms;*/
}

.image-preview .thb {
  margin: 0;
  max-width: none;
  max-height: none;
  min-height: 50px;
  width: auto;
  height: auto;
  display: block;
  text-align: center;
  border: 0 none;
  position: relative;
}
.image-preview .thb img {
  margin: 0 auto !important;
  max-width: 100%;
  max-height: 400px;
  display: block;
}
.image-preview .content {
  padding: 10px;
  color: #aaa;
  background: #4a4a4a;
}
.image-preview .content p {
	text-overflow: ellipsis;
	overflow: hidden;
}
.image-preview .del {
  /*background: rgba(255,255,255,0.5);*/
}
/* ============ otwieranie podgladu obrazka ========= */
.image-preview .thb:hover img, ul.gallery li:hover img {
  opacity: 0.75;
  position: relative;
}
.image-preview .thb:hover:after, ul.gallery li:hover:after {
  content: url(graphics/zoom-in.png);
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  position: absolute;
  top: 50%; left: 50%;
  display: block;
  overflow: hidden;
  cursor: pointer;
  pointer-events: none;
 /*background: rgba(255,255,255,0.2) url(graphics/zoom-in-out.png) center no-repeat;*/
}
/* ======================== galeria ================================== */
div.gallery-preview {
  padding: 5px 15px 55px;
  position: relative;
  clear: both;
  /*background: #edede3;*/
  background: none;
  /*border: solid 1px #a1a194;*/
  border:1px solid #ddd;
}
div.gallery-preview .controls {
  position: absolute;
  padding-top: 7px;
  padding-left:15px;
  padding-right:15px;
  bottom: 0; left: 0; right: 0;
  text-align: center;
}
ul.gallery li {
  position: relative;
}
div.gallery-preview .del {
  background: rgba(255,255,255,0.9);
}
div.gallery-preview .del img {
  margin: 3px 0 0 6px;
}
/* ======================== video ================================= */
.video-preview {
  width: 420px;
  position: relative;
}
.video-preview .x {
  right: -20px;
}

/* ======================== plik ================================== */
.file-preview, .file-preview:hover, .site-preview, .site-preview:hover {
  position: relative;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: none !important;
  border: solid 1px #cecec1;
  max-width:250px;
  padding-right:30px;
}
.site-preview a, .file-preview a {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}
.site-preview .del, .file-preview .del {
  top:6px;
}
.file-preview span {
  background: #74cfb3;
}
/* ======================== strona ================================ */
.site-preview span {
  background: #72ade9;
}
/*================================== listy przyciskow w main content === */
.content-toolbar {
  padding: 0;
  min-height: 40px;
  border: solid 1px #aaa;
  background: #fcfcfc; 
}
.content-toolbar ul {
  float: none;
  clear: both;
  margin: 0;
  padding: 0;
  display: block;
}
.content-toolbar ul li {
  margin: 0 1px 0 0;
  padding: 0;
  display: block;
  float: left;
}
.content-toolbar ul li a {
  display: block;
  font-size: 12px;
  text-align: center;
  height: 20px;
  min-width: 99px;
  padding: 12px 10px 8px 10px;
}
.content-toolbar ul li a:hover {
  color: #888;
}
.content-toolbar p {
  padding: 10px;
  height: 20px;
}
/* ========================== tabele trzymające formularze ======*/
.form-wrapper {
  table-layout: fixed;
  width: 100%;
}
.form-wrapper td {
  vertical-align: top;
  padding: 4px 0;
}
.form-wrapper tr.highlight td {
  background: #F6F6F6;
}
.form-wrapper label {
  margin: 7px 0.5em 0; /* gorny - tyle co padding pola input */
}
.form-wrapper td:last-child label {
  margin-left: 0;
}
.form-wrapper input, .form-wrapper select, .form-wrapper textarea {
  margin: 0 0px;
  width: 100%;
}
.form-wrapper .button {
  margin: 0;
  width: auto;
  float: none;
  display: block;
}
/* ================================= tabele danych ======*/
.data-table {
  width: 100%;
  table-layout: fixed;
}
.data-table tbody tr, .data-table-empty  {
  background: none;
}
.data-table tbody tr:hover {
  background:#f8f8f8;
}

.data-table th, .data-table td {
  padding: 0 15px;
  height:40px;
  word-wrap: break-word;
  border-bottom: 1px solid #ededed;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.data-table th {
  text-align: center;
  color: #6f6f6f;
  cursor: default; 
  border-right: solid 1px #fff;
  background: #ededed no-repeat center;
}
.data-table th.thb-wrapper {
  background:none;
}
.data-table th.header {
  cursor: pointer;  
}
.data-table th.headerSortUp {
  background-image: url(icons/tbl-sort-down.png);
  background-position: bottom;
}
.data-table th.headerSortDown {
  background-image: url(icons/tbl-sort-up.png);
  background-position: top;
}
.data-table tr {
  border-bottom: solid 1px #ededed;
}
.data-table td {
  width: 100%;
  vertical-align: middle;  
}
.data-table td, .data-table td a {
  color: #6c6c61;
}
.data-table td a {
  font-size: 1.2em;
}
.data-table .button-wrapper {
  padding: 0 !important;
  width:40px;
  border-right:0;
  text-align: center;
  background:none;
}
.data-table .button-wrapper > span, .data-table .button-wrapper > a {
  display:flex;
  align-items: center;
  justify-content: center;
  height:40px;
  transition:background 300ms;
}
.data-table .button-wrapper img {
  filter:invert(50%);
  transition:filter 300ms;
}
.data-table .button-wrapper > span:hover, .data-table .button-wrapper > a:hover {
  background:#429ffe;
}
.data-table .button-wrapper > span:hover img, .data-table .button-wrapper > a:hover img {
  filter:invert(0);
}
.data-table .thb-wrapper, .data-table .icon-wrapper {
  padding: 0;
  width: 40px;
  text-align: center;  
}
.data-table .thb-wrapper span {
  margin: 0;
  width: 40px;
  height: 40px;
  overflow: hidden;
  display: block;
  background: #ddd center;
  background-size: cover;
}
.data-table-empty {
  text-align: center;
  font-size: 1.2em;
  padding: 1em
}
.data-table-controls, .data-table-footer {
  text-align: center;
}
.data-table-controls .add-button, .data-table-footer .add-button {
  display: inline-block
}
.data-table .button {
  padding: 0;
  margin: 0;
  width: 40px;
  height: 40px;
  min-width: 0;
  min-height: 0;
  text-align: center;
  border-radius: 40px;
  background: none;
}
.data-table .button:hover {
  background: #e0e0e0;
}
.data-table input, .data-table select, .data-table textarea {
  margin: 0 0px;
  min-height: 0;
  height: 40px;
  width: 100%;
  /*transition: min-height 200ms;*/
}
.data-table textarea:focus {
  min-height: 130px;
}
.data-table td input[type="checkbox"] {
  height:auto;
  width:20px;
  margin-top:16px;
}
.data-table th input[type="checkbox"] {
  height:auto;
  width:20px;
  margin-top:0;
}

.resources-editor.wide-content .data-table th, .resources-editor.wide-content .data-table td {
  border-bottom: 1px solid #12151c;
}
/* =============================================================== */
/* =================================okna ========================= */
.window, .message-window, .browser-window {
  position: fixed;
  /*top: 50%; left: 50%;*/
  top: 80px; left: 40px;
  /*transform: translate(-50%, -50%);*/
  width: 600px;
  min-height: 350px;
  padding: 30px 30px 60px 120px;
  display: none;
  z-index: 1000;
	background: #fefefe;
  box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.5);
}
/*#queue-browser {
	display: block;
	opacity: 0;
}
#queue-browser.show-me {
	opacity: 1;
}*/
.window .content, .message-window .content, .browser-window .content {
  padding: 0 0 10px 0;
}
/* =======================narzędzia w oknach */
.window .controls, .message-window .controls, .browser-window .controls {
  position: absolute;
  bottom: 0;
  left: 120px;
  right: 5px;
  height: 55px;
  vertical-align: top;
  text-align: right;
  justify-content: flex-end;
}
.window .controls, .browser-window .controls {
  text-align: right;
}
.window .controls .add-button, .browser-window .controls .add-button {
  width: auto;
  min-width:0;
}
#nicelightbox.window .controls {
  left:0;
  right:0;
  background: #fefefe;
}
.browser-window .filter-search {
  margin-top:-40px;
}
.browser-window > h2, .browser-window > .content {
  padding-right:300px;
}
/* =========okno z komunikatem / potwierdzeniem = */
.message-window {
	padding: 60px 20px 120px 190px;
	width: 500px;
  box-sizing: border-box;
	min-height: 130px;
	text-align: left;
}
.message-window .color-stripe {
  width: 135px;
}
.message-window h2 {
  color:#9d9d9d;
  font-size:1.8rem;
}
/* ===========================okno z listą plików =*/
.browser-window {
  width: 700px;
  padding-right: 0;
  min-height: 350px;
}
.nav-area-col {
  width:50%;
  float:left;
}
.nav-area {
  margin: 0 0 0 -40px;
  height: 0px;
  overflow: visible;
}
.nav-area .add-button, .nav-area .button {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  width: 40px;
  min-width: 0;
}
.browse-area {
  height: 230px;
  padding: 10px 15px 10px 31px;
  overflow: auto;
  border-right: 0;
  background:#f5f5f5;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  margin-left:-121px;
  position: relative;
  z-index: 1;
}
.browse-area .col {
  float: left;
  width: 50%;
}
.browse-area .hr {
  position: relative;
  padding-top: 20px;
  padding-bottom: 20px;
  overflow: hidden;
  background: none;
  width:100%;
  height:42px;
  box-sizing: border-box;
}
.browse-area .hr:after {
  content: '';
  position: absolute;
  top:50%;
  left:0;
  right:0;
  height:1px;
  transform: translate(0, -2px);
  background: #bdbdbd;
}
.browse-area-item {
/*  display: inline-block;*/
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 50px;
  position: relative;
  white-space: nowrap;
  max-width: 100%;
  width:100%;
  border-radius: 0;
  text-align:left;
  margin:0 5px 2px 0;
  box-sizing: border-box;
}
.browse-area-item span {
  width: 40px;
  height: 40px;
  vertical-align: middle;
  display: inline-block;
  background: #bdbdbd;
  padding: 6px;
}
.browse-area-item span img {
  width:28px;
}
.browse-area-item:hover {
  background: #ececec;
}
.browse-area-item:hover span {
  background: #ef3852;
}
/* ===== kolorki browserów ===== */
.page-editor .color-stripe, .page-editor .browse-area-item:hover span {
  background: #429ffd;
}
.news-editor .color-stripe, .news-editor .browse-area-item:hover span {
  background: #ff9e2b;
}
.resources-editor .color-stripe, .resources-editor .browse-area-item:hover span {
  background: #2ad9b6;
}
.shop-editor .color-stripe, .shop-editor .browse-area-item:hover span {
  background: #e130fe;
}

/* ========= okno z podglądem obrazka =========== */
.image-preview-window {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  width: auto;
  height: auto;
  min-width:530px;
}
.image-preview-window .img-wrapper {
  min-width: 500px;
  min-height: 360px;
  text-align: center;
  cursor: pointer;
  background-color: #fefefe;
  background-position: center;
  background-repeat: no-repeat;
  /*background-size: contain;*/
}
.image-preview-window .img-wrapper img {
  display: block;
 /* display:none;*/
  margin: 0 auto;
  visibility: hidden;
}
.image-preview-window .img-wrapper:hover:after {
  content: url(graphics/zoom-out.png);
  width: 32px;
  height: 32px;
  margin: -30px 0 0 -16px;
  position: absolute;
  top: 50%; left: 50%;
  display: block;
  overflow: hidden;
  cursor: pointer;
  pointer-events: none;
}
/*okno tłumaczeń */
#add_translation { 
  right: 200px;
  left: auto;
}
.image-preview-window .image-name {
  padding: 12px 1em 0 0;
  height: 40px;
}
/* ==== pokazywanie okien =============*/
.hide-me {
  display: none;
}
.show-me, .hide-me.show-me {
  display: block;
}
.ajax-loader {
  position: absolute;
  bottom: 50%;
  right: 50%;
}
.message-window .ajax-loader {
  position: absolute;
  bottom: 30%;
  right: 30%;
}
.ajax-loader-icon {
  margin-right: -75px;
  padding: 7px 0 0 40px;
  width: 150px;
  height: 25px;
  position: absolute;
  bottom: 50%; right: 50%;
  color: #ddd;
  text-align: left;
  vertical-align: middle;
}
.ajax-loader-icon img {
  position: absolute;
  top: 0; left: 0;
}

/* =========================== Tiny MCe tweaks ============ */
textarea.tinymce_adv {
  width: 100%;
  padding: 0;
}
textarea.tinymce-micro {
  height: 38px !important;
  min-height: 38px;
  width: 458px !important;
 }
/* ---------toolbar fun -------------- */

 .mce-toolbar {
  /*height: 0 !important;*/
 }
.mce-container-body {
  /*padding: 0 8px !important;*/
}
.mce-container-body, .mce-panel, .mce-btn button {
  background: #ececec !important;
  background: #edede3 !important;
  background: none !important;
  
  border: 0 none !important; 
}
.mce-edit-area {
  /*padding: 9px 15px 8px 15px!important;*/
  padding: 0;
  border: 1px solid #bdbdbd !important;
  border-radius: 4px;
  background: #fff !important;
}

.mce-flow-layout-item {
  margin: 0 !important;
}
.mce-btn {
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 none !important;
  box-shadow: none !important;
  background-image: none !important;
  background:none !important;
}
.mce-btn button {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 none !important;
  padding: 7px 9px !important;
  background: none !important;
}
.mce-menu {
  border-radius: 0px !important;
  background: transparent !important;
}
.mce-menu-item>span {
  background: none !important;
}
.mce-toolbar {
  border-bottom: solid 1px #fcfcfc !important;
  background: inherit !important;
}
.mce-floatpanel {
  background:#fff !important;
}
/* ==== przyciski w tiny mce ==== */
.mce-btn button:hover, .mce-menu-item:hover, .mce-btn button:hover span, .mce-menu-item:hover span {
  color: #fff !important;
  background: #4A4A4A !important;
}
.mce-btn button:hover i.mce-caret {
  border-top-color: #fff;
}
.mce-btn-group .mce-first, .mce-btn-group .mce-last {
  border: none !important;
}
.mce-btn i {
  color: #585858;
  font-size: 15px;
  text-shadow: none !important;
 /* text-shadow: 0px 0px 0px #585858 !important;*/
}
.mce-btn button:hover i {
  text-shadow: none !important;
}
.mce-btn button:hover i, .mce-menu-item:hover i {
  color: #fff;
    text-shadow: none !important;
}
.mce-btn-group {
  border-right: solid 5px transparent !important;
}

/* === wyszukiwarka skryptowa wewnętrzna == */
.filter-search {
  text-align:right;
  overflow: hidden;
}
.filter-search > div {
  float:right;
}
.filter-search > input {
  height:34px;
  padding: 5px 15px;
}
section > .filter-search, #div_pages > .filter-search {
  position:absolute;
  top:20px; right:20px;
}
section > .filter-search input, #div_pages > .filter-search input {
  margin-right:0;
}
#div_pages > .filter-search {
	top:38px; right:50px;
}
#div_pages > .filter-search .search-input {
  margin:0;
}
.form-table {
  display:table;
  margin:0 -10px;
}
.table-row {
  display:table-row;
}
.table-cell {
  display: table-cell;
  padding:5px 10px;
}
.table-cell input, .table-cell select {
  margin:0;
  min-width: 350px;
}
.table-cell.short input, .table-cell.short select {
  min-width: 180px;
}
.page-adress {
  margin-bottom:20px;
}

/* ----- date picker ----- */
.ui-datepicker-calendar, .ui-datepicker {
  background: #12151c !important;
  border: none !important;
}
.ui-widget-content {
  color: #f0f0f0 !important;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-widget-header {
  background: #12151c !important;
  color: #f0f0f0 !important;
  border:none !important;
  font-weight: normal !important;
}
.ui-state-hover {
  background: #12151c !important;
  border: none !important;
}
.ui-datepicker th, .ui-widget-header {
  font-weight: normal !important;
  color: #888 !important;
}
.ui-datepicker td a {
  text-align: center !important;
  border-radius: 10%;
}
.ui-datepicker-today {
  border: 1px solid #656565 !important;
}
.ui-datepicker td a.ui-state-hover {
  background: #dc143c !important;
}
.ui-icon {
  background: none !important;
  display:none;
}
.ui-datepicker-next {
  top:0 !important;
  right:0 !important;
  border-radius: 0px !important;
}
.ui-datepicker-prev {
  top:0 !important;
  left:0 !important;
  border-radius: 0 !important;
}
.ui-datepicker .ui-datepicker-prev-hover {
  left:0 !important;
  background: #dc143c !important;
  border-radius: 0px !important;
  }
.ui-datepicker .ui-datepicker-next-hover {
  right:0 !important;
  background: #dc143c !important;
  border-radius: 0px !important;
  }

.ui-datepicker-next:after, .ui-datepicker-next:before,
.ui-datepicker-prev:after, .ui-datepicker-prev:before {
  content:'';
  position: absolute;
  width:8px;
  height:2px;
  background:#fff;
}
.ui-datepicker-next:after{
  top: 15px;
left: 9px;
transform: rotate(135deg);
}
.ui-datepicker-next:before {
  top: 10px;
left: 9px;
transform: rotate(45deg);
}
.ui-datepicker-prev:after {
  top: 15px;
left: 9px;
transform: rotate(45deg);
}
.ui-datepicker-prev:before {
  top: 10px;
left: 9px;
transform: rotate(-45deg);
}
.ui-datepicker .ui-datepicker-header {
  padding:0 !important;
}
.ui-corner-all {
  border-radius: 0 !important;
}
