@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Reg.ttf');
}

@font-face {
  font-family: 'Lato';
  font-weight: bold;
  src: url('fonts/Lato-Bold.ttf');
}

/* ======================================================Czcionki========== */
html, body {
  font-family: Lato, tahoma, arial, sans-serif;
  font-size: 16px;
}
body {
  letter-spacing: 0px;
  line-height: 1.5;
  color: #585858; /*ustaw tlo dla tiny mce*/
  background: #eef6fe;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Lato, verdana, arial, helvetica, sans-serif;
  margin: 0.3em 0 0.9em 0;
  clear: both;
  color: #333333;
}

h1, h2, .page-h1 {
  margin-top: 0;
  margin-bottom: 1.5em;
  font-size: 1.9rem;
}

h2 {
  font-size: 2rem;
  color: #333333;
  margin: 2.5rem 0;
  border: none;
}
h2+span {
  margin: -2.6rem 0 2.5rem 1px;
  display: block;
  clear: both;
  color: #656565;
  font-size: 1rem;
}
section h1 + h2{
  margin-top: 0;
}
.std-box h2 {
  text-align: right;
}

.big-box h1 {
  text-align: right;
}

h3 {
  font-size: 1.2em;
  margin: 1.2em 0 0.6em 0;
  text-transform: uppercase;
}

h4 {
  font-size: 1.2em;
  margin: 1.2em 0 0.6em 0;
}

h5 {
  font-size: 1em;
}

h6 {
  font-size: 1em;
}

a, a:link, a:visited {
  color: #505050;
  text-decoration: none;
}

h1 > a:link, h2 > a:link, h3 > a:link, h4 > a:link, h5 > a:link, h6 > a:link,
h1 > a:visited, h2 > a:visited, h3 > a:visited, h4 > a:visited, h5 > a:visited, h6 > a:visited {
  color: inherit !important;
  font-size: inherit !important;
  display: block; /* naglowki bedace linkami */
}

hr {
  display: block;
  height: 20px;
  margin: 50px -50px;
  border: none;
  background: #12151c;
}
/*ul.gallery li, ul.gallery li a, ul.gallery li img, .thb, .thb img {*/
/*  border: solid 1px #c0c0c1;*/
/*}*/

/*ul.gallery li a, ul.gallery li img, .thb img {*/
/*  border: 0 none;*/
/*  float: none;*/
/*  margin: 0 !important;*/
/*}*/

.strong {
  font-size: 1.2em;
}

/* ===================================================uklad=============== */
#niceform {
  min-height: 100%;
  display: flex;
  align-items: stretch;
}

#CANVAS {
  padding-top: 50px;
  padding-bottom: 40px;
  position: relative;
  min-height: 100%;
  flex: 1;
  /*position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;*/
}

#CONTENT-WRAPPER {
  /*position: absolute;
  top: 60px; left: 0; right: 0; bottom: 0;*/
  display: flex;
  align-items: stretch;
  height: 100%;
}

#MAIN-CONTENT {
  flex: 1;
}

#MAIN-CONTENT hr {
  margin: 1.5em 0px;
  border-bottom: solid 2px #ececec;
  margin: 30px -50px;
}

.main-content-header {
  padding: 50px;
  margin: -50px -50px 50px -50px;
  border-bottom: solid 1px #e8e8e8;
  background: #f5f5f5;
}

.main-content-header > .ctrl-btn {
  position: absolute;
  top: 80px;
  right: 11px;
}

h2 + .main-content-header {
  margin-top: 0;
}

.add-editor-header {
  margin-bottom: 40px;
  overflow: visible;
}

.add-editor-header textarea, .add-editor-header .count_left {
  max-width: 840px;
}

.resources-editor .main-content-header {
/*  background: #3d4048;
  border: 0;*/
}

.main-page-header {
  margin: 0;
  background: #f5f5f5;
  padding: 20px 50px 20px 50px;
  position: relative;
  overflow: visible;
  border-bottom: 1px solid #e8e8e8;
}
.main-page-header h2 {
  font-size: 1.8rem;
  color: #4c4c4c;
  margin: 0 0 5px 0;
  line-height: 1;
}
.main-page-header h2 + h3 {
  margin: 0;
  display: inline-block;
}
.main-page-header, .main-page-header a {
  color: #999;
}

.main-page-header .page-logo {
  position: absolute;
  top: -40px;
  right: 40px;
  background: #fff;
  border: 1px solid #ebebeb;
  z-index: 1;

  height: 120px;
  width: 200px;
  max-width: 240px;
  padding: 0 20px;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;
}

.main-page-header .page-logo.dark {
  background: #12151c;
}

.main-page-header .page-logo img {
  max-height: 60%;
  max-width: 100%;
}

.main-content-header > div > div {
  margin-right: 20px;
}

.main-content-header > div > div:first-child {
  width: 420px;
}

.main-content-header #in-menu-toggle {
  overflow: hidden;
  padding: 0 0;
}

.window .main-content-header #in-menu-toggle {
  flex-basis: 100%;
}

.main-content-header #in-menu-name {
  width: 0;
  height: 0;
  opacity: 0;
  margin-right: 0;
  overflow: hidden;
  transition: all 300ms;
}

.main-content-header #in-menu-name input {
  max-width: 200px;
}

.main-content-header #in-menu-name label {
  margin-top: 0;
}

.main-content-header #in-menu-name.show-me {
  width: 220px;
  height: 80px;
  opacity: 1;
}

#EDITOR-INFO {
  color: #fff;
  background: #12151c;
  width: 300px;
  box-sizing: border-box;
}

#EDITOR-INFO h2 {
  min-height: 45px;
  padding: 0;
  position: relative;
  color: #fff;
  font-size: 1.7em;
  margin-bottom: 20px;
}

#EDITOR-INFO h2 img {
  position: absolute;
  top: 5px;
  left: 0;
}

#EDITOR-INFO h2 span {
  display: block;
  font-size: 0.6em;
}

#EDITOR-INFO p {
  margin: 0;

}

#EDITOR-INFO h3 {
  margin: 35px 0 0.3em 0;
  font-size: 1.25em;
  color: #8f9295;
}
/* wersje edytorów na całą szerokość ekranu */
.wide-content #EDITOR-INFO {
  width: 50px;
}

.wide-content #BOOKMARKS {
  display: none;
}

#FOOTER {
  background: #12151c;
  overflow: hidden;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 40px;
  z-index: 10;
}

#FOOTER .nav-icons {
  float: right;
  padding-right: 15px;
  position: relative;
}

#FOOTER .nav-icons li {
  list-style: none;
  margin: 0;
  display: inline-block;
}

#FOOTER .nav-icons li a {
  padding: 0;
  display: block;
  width: 50px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#FOOTER .disabled {
  background: none;
  opacity: 0.3;
}

/* ================================================= main toolbar ========== */
#MAIN-TOOLBAR {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  z-index: 95;
  background: #12151c;
  transition: height 300ms;
  transition-delay: 0ms;
}

/* elementy na glownym pasku =============== */
#MAIN-TOOLBAR #toolbar-page-name-wrapper {
  float: left;
  width: 300px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#MAIN-TOOLBAR .toolbar-page-icon {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #dc143c;
}

#MAIN-TOOLBAR .toolbar-page-name {
  color: #fff;
  font-size: 1.3rem;
  padding-left: 20px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#MAIN-TOOLBAR #secondary-nav {
  position: relative;
  float: right;
  width: auto;
}

#MAIN-TOOLBAR #primary-nav {
  position: relative;
  float: left;
  width: 366px
}

#MAIN-TOOLBAR ul.nav-icons {
  display: block;
  overflow: hidden;
}

#MAIN-TOOLBAR ul.nav-icons li {
  margin: 0 1px;
  padding: 0;
  float: left;
  position: relative;
  display: block;
  cursor: pointer;
  text-align: center;
}

#MAIN-TOOLBAR ul.nav-icons li > a, #MAIN-TOOLBAR ul.nav-icons li > span {
  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#MAIN-TOOLBAR ul.nav-icons li a, #logo, #MAIN-TOOLBAR ul.nav-icons li span {
  margin: 0;
  padding: 0;
  float: none;
}

#MAIN-TOOLBAR .disabled {
  background: none;
  opacity: 0.3;
  cursor: default;
}

/*==============jezyki ============ */
#MAIN-TOOLBAR ul.nav-icons li span.flag img, #MAIN-TOOLBAR ul.nav-icons li a.flag img {
  top: 11px;
  left: 3px;
  width: 30px;
  height: 18px;
  border: solid 1px #fff;
  opacity: 0.85;
}

#MAIN-TOOLBAR ul.nav-icons li span:hover.flag img, #MAIN-TOOLBAR ul.nav-icons li a:hover.flag img {
  opacity: 1;
}

#add_translation .right-panel {
  width: 180px;
  float: right;
}

#add_translation .left-panel {
  width: 180px;
  float: left;
  min-height: 100%;
}

#MAIN-TOOLBAR ul.nav-icons li .flag.disabled img, #MAIN-TOOLBAR ul.nav-icons li :hover.flag.disabled img {
  top: 11px;
  opacity: 0.55;
}

.flag-reminder {
  width: 32px;
  height: 20px;
  position: absolute;
  top: 15px;
  right: 20px;
  opacity: 0.7;
  cursor: pointer;
}

.flag-reminder img {
  width: 30px;
  height: 18px;
  border: solid 1px #aaa;
}

.flag-reminder:hover {
  opacity: 1;
}

.main-page-browser .flag-reminder {
  width: 26px;
  height: 17px;
}

.main-page-browser .flag-reminder img {
  width: 24px;
  height: 15px;
}

/*==============sciezka =========== */
#path {
  position: relative;
  float: right;
  margin-top: 12px;
  text-transform: uppercase;
}

#path a {
  height: 25px;
  max-width: 150px;
  box-sizing: border-box;
  padding: 2px 18px 0 8px;
  display: block;
  float: left;
  line-height: 20px;
  font-weight: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #c1c2c3;
  background: url(icons/path-next.png) right no-repeat;
  font-size: 0.7rem;
}

#path a:last-child {
  max-width: 160px;
}

#path a:hover {
  text-decoration: none;
  background-color: none;
  color: #fff;
}

#path a:last-child {
  padding-right: 5px;
  background-image: none;
}

#path #path-flag {
  position: relative;
  overflow: visible;
  padding: 0 15px 0 0;
  height: 100%;
  float: left;
  background: url(icons/path-next.png) right no-repeat;
}

#path #path-flag img {
  width: 35px;
  cursor: pointer;
}

#path #path-flag .lang_menu{
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 200px;
  display: none;
}
#path #path-flag .lang_menu.show-me{
  display: block;
}

/* ==================================================== ozdobniki edytora =========== */
.top-stripe {
  color: #fff;
  background: #3a3a3a;
  background: #ef3852;
  height: 10px;
  position: relative;
}
#EDITOR-INFO .top-stripe {
  height: 50px;
}
/* ___________________________________ KOLORY _______________________________ */

/* ===== PAGE EDYTOR - BLUE ===== */
.page-editor .top-stripe {
  background: #70b6fe;
}
.page-editor #MAIN-TOOLBAR .toolbar-page-icon {
  background: #429ffd;
}

/* ===== ZASOBY - MINT ===== */
.resources-editor .top-stripe {
  background: #6df0d2;
}
.resources-editor #MAIN-TOOLBAR .toolbar-page-icon {
  background: #2ad9b6;
}

/* ===== ZASOBY - YELLOW ===== */
.news-editor .top-stripe {
  background: #ffb053;
}

.news-editor #MAIN-TOOLBAR .toolbar-page-icon {
  background: #ff9e2b;
}
/* ______________ */
section {
  padding: 50px;
  min-height: 400px;
  position: relative;
  background: #fff;
}

section, .subsection {
  display: none;
}

section.show-me, .subsection.show-me {
  display: block;
}

section > h1 {
  display: none;
}

.subsection {
  overflow: visible;
}
/* ======================= Edytor strony - dane na listing i aktualność ====== */
.listing-tile-editor {
  overflow: visible;
}
.news-editor-photo {
  float: left;
  margin-right: 50px;
  overflow: visible;
}
.news-image-plugin {
  margin-bottom: 1rem;
  width: 200px;
  height: 200px;
  border: 1px solid #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f5f5f5;
  overflow: visible;
}
.news-image-plugin .add-button {
  margin: 80px 0 0 0;
}

.news-image-plugin .image-preview {
  margin: 0;
  position: relative;
  overflow: visible;
}

.news-editor-text .mce-tinymce {
  max-width: 580px;
  width: 580px;
}

.news-editor-text .small-alert {
  max-width: 580px;
  box-sizing: border-box;
}

/* =======================current link  =================*/
.current-link {
  display: block;
  padding-left: 5px;
  position: relative;
  border: solid 1px #acadad;
}

.current-link .x {
  top: 12px;
}

/* ========================okno dodawania strony =========== */

/* ==== kolory pasków =================*/
.color-stripe {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 40px;
}

.color-section {
  position: absolute;
  padding: 15px 20px 15px 15px;
  top: 200px;
  left: 0;
  right: 0;
  width: auto;
}

.color-stripe {
  background: #ef3852;
}

.color-stripe span {
  display: block;
  position: absolute;
  bottom: 10px;
  left: 0px;
  width: 100%;
  text-align: center;
  font-size: 16px;
  color: #98a8b9;
}

.color-stripe img {
  margin-left: -38px;
  position: absolute;
  bottom: 25px;
  left: 50%;
}

.red .color-stripe, .color-stripe.red {
  background: #ef3852 !important;
}

.red .color-stripe span, .color-stripe.red span {
  color: #fafafa !important;
}

.blue .color-stripe, .color-stripe.blue {
  background: #429ffd !important;
}

/*.blue .color-stripe span, .color-stripe.blue span {
  	color: #fafafa !important;
}*/
.yellow .color-stripe, .color-stripe.yellow {
  background: #f9d150;
}

.yellow .color-stripe span, .color-stripe.yellow span {
  color: #a6924a;
}

.mint .color-stripe, .mint .color-section {
  background: #87e8ca;
  color: #93c8a6;
}

.color-stripe.mint {
  background: #6df0d2 !important;
  color: #93c8a6 !important;
}

.dark-blue .color-stripe, .color-stripe.dark-blue {
  background: #cce0f3;
}

.page-blue .color-stripe, .color-stripe.page-blue {
  background: #70b6fe;
}

.color-stripe.dark-blue {
  background: #cce0f3 !important;
}

.gray .color-stripe, .color-stripe.gray {
  background: #d6d6d6;
}

.gray .color-stripe span, .color-stripe.gray span {
  color: #808080;
}

/* kolory w szybkich linkach */
.main-page-modules .fast-links.mint ul li a:hover {
  background: #C9F3D8;
}

.main-page-modules .fast-links.dark-blue ul li a:hover {
  color: #738394;
  background: #ECECEC;
}

.main-page-modules .fast-links.yellow ul li a:hover {
  background: #ffe484;
}

/*#EDITOR-INFO.page-blue {
  color: #fff;
  background: #a2c7ed;
}*/

/* ======================================================================================================= */
/* ====================================================== małe powtarzalne i nietypowe elementy ========== */
/* ======================================================================================================= */
.txt-center {
  text-align: center;
}

.txt-right {
  text-align: right;
}

.copied {
  background: #ffeeff;
}

#version-info {
  position: absolute;
  bottom: 0;
  right: 20px;
  padding: 2px 10px;
  display: block;
  font-size: 11px;
  color: #f0f0f0;
  border-radius: 2px 2px 0 0;
  background: #98a8b9;
}

.hover-on {
  cursor: pointer;
}

/* ======================================================================================================= */
/* =====================================================================================Edytory=========== */
/* ======================================================================================================= */

/* ===============================index (edytor) ========== */
.index-mod-grid {
  float: none;
  clear: both;
  margin-right: -10px;
}

.index-mod-grid > div {
  float: left;
  height: 70px;
}

.index-mod-grid .module-box {
  margin: 0 10px 0px 0;
  height: 60px;
  background: #fff;
  border: solid 1px #a0a0a0;
}

.index-mod-grid .module-box a:first-child {
  height: 50px;
  min-height: 0;
}

.index-mod-grid .empty_slot {
  background: #f6f6f6;
}

.index-mod-grid .empty_slot a strong {
  color: #aaa;
}

.index-mod-grid .empty_slot:hover {
  background: #eee;
  border-color: #999;
}

.index-mod-grid .module-box .slot-help {
  display: none;
}

.index-mod-grid .module-box:hover .slot-help {
  display: block;
}

/* ===============================aktualności =============*/

.news-section {
  padding-top: 35px;
  margin-right: -25px;
}

.news-item {
  padding: 0 0 50px 0;
  margin: 0 25px 50px 0;
  position: relative;
  background: #f5f5f5;
  width: 300px;
  float: left;
}

.news-item h3 {
  margin-top: 0;
  width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-item h3 span {
  font-size: 0.8em;
  display: block;
  opacity: 0.8;
}

.news-item .content {
  padding: 30px 30px 15px 30px;
  min-height: 120px;
  color: #848484;
  border-left: 1px solid #f1f1f1;
  border-right: 1px solid #f1f1f1;
}

.news-item .img-preview {
  height: 140px;
  margin: 0;
  display: block;
  max-height: 200px;
  max-width: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.news-item .img-preview img {
  width: 100%;
}

.news-item .img-preview .img-placeholder {
  height: 100%;
  display: block;
  /*	background:#bdbdbd;*/
  background: #ddd url(graphics/no-photo-s.png) center no-repeat;
}

.news-item .controls {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 50px;
  background: #4e5258;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.news-item .controls > * {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-item .controls > a:hover, .news-item .controls > span:hover {
  background: #565960;
}
.news-item .controls .news-url-info {
  padding: 10px;
  position: relative;
  bottom: -2px;
  display: inline-block;
}
.divider {
  margin: 0 0 1em 0;
  padding-top: 2px;
  position: relative;
  overflow: visible;
  clear: both;
  border-bottom: solid 1px #6a6a6a;
}
.news-submit.button {
  padding-left: 0.9em;
  position: absolute;
  top: 0;
  right: 0px;
  overflow: hidden;
  clear: both;
  float: right;
}

.divider .button.tabs {
  margin: 0 1px -1px 0;
  color: #6a6a6a !important;
  border: solid 1px #6a6a6a;
  background: none;
}

.divider .button.tabs.urhere {
  border-bottom-color: #fcfcfc;
}
/* ================================Panel główny i moduly============== */
.panel-color-stripe {
  width: 500px;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: #A2C7ED;
}
/* ----------------zakładki na górze panelu głównego --------------- */
.start-bookmarks {
  padding-left: 50px;
  padding-top: 40px;
  min-height: 5px;
  position: relative;
  color: #fff;
  background: #ef3852;
}
.start-bookmarks ul {
  display: block;
}
.start-bookmarks li {
  margin: 0;
  padding: 0;
  display: block;
  float: left;
}
.start-bookmarks li a {
  margin: 0 0 0 2px;
  padding: 10px 30px 0px 30px !important;
  height: 40px;
  display: block;
  box-sizing: border-box;
  text-align: center;
  color: #fff !important;
  border-radius: 2px 2px 0 0;
  border-bottom: solid 2px #ef3852;
}
.start-bookmarks li:first-child a {
  margin-left: 0;
}
.start-bookmarks li a:hover {
  color: #e84e3e !important;
  background: #fff;

}
.start-bookmarks li a.urhere {
  color: #e84e3e !important; ;
  height: 40px;
  background: #fff;
  border-bottom: none;
}
.start-bookmarks li:first-child a.urhere {
  background: #f5f5f5;
}
/* --------------------------------------- */
.main-panel-container {
  padding: 0 0 0 0;
  width: 55%;
  background: #fff;

  box-sizing: border-box;
  float: left;
}

.main-panel-container section {
  padding: 0;
  min-height: 0;
  position: relative;
  background: none;
}

.main-page-browser {
  padding: 30px 0 50px 0px;
  min-height: 600px;
  position: relative;
  background: #fff;
}

.main-page-browser #top-controls {
  padding: 30px 40px 40px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.main-page-browser #top-controls > * {
  flex: 1;
  margin-right: 10px;
  margin-bottom: 0;
  flex-basis: 180px;
}

.main-page-browser #top-controls > span {
  max-width: 65px;
  white-space: nowrap;
}

.main-page-browser #top-controls .add-button {
  max-width: 130px;
  min-width: 130px;
  margin: 0 20px 0 0;
}

.main-page-browser #top-controls .search-input {
  margin-right: 0;
}

.sec-panel-container {
  width: 40%;
  box-sizing: border-box;
}

/*======== lista stron ====== */
.main-page-browser .header {
  margin-top: 15px;
  height: 30px;
  padding-left: 56px;
  position: relative;
}

.main-page-browser .header .type {
  position: absolute;
  top: 0;
  right: 260px;
  width: 110px;
}

.main-page-browser .header .controls {
  position: absolute;
  right: 30px;
  top: 0;
  width: 160px;
}

.main-page-browser .item, .uk-nestable-dragged .item {
  padding: 0 0 0 55px;
  position: relative;
}

.main-page-browser .item .item-row, .uk-nestable-dragged .item .item-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 40px;
  position: relative;
  overflow: visible;
  border-bottom: 1px solid #ebebeb;
}

.main-page-browser .item .item-row > *, .uk-nestable-dragged .item .item-row > * {
  flex-basis: 220px;
}
.main-page-browser .item .item-row > .page-updated, .uk-nestable-dragged .item .item-row > .page-updated {
  flex-basis: 120px;
}

.main-page-browser .item.child, .uk-nestable-dragged .item.child {
  padding-left: 95px;
}

.uk-nestable-dragged .item.child {
  padding-left: 45px;
}

.main-page-browser .item .page-name, .uk-nestable-dragged .item .page-name {
  padding: 0 20px 0 10px;
  display: block;
  position: relative;
  font-size: 1rem;
  cursor: pointer;
  color: #585858;
  flex: 1;
  flex-basis: 140px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-page-browser .item .item-row .icon-item, .main-page-browser .item .item-row .icon-sort,
.uk-nestable-dragged .item .item-row .icon-item, .uk-nestable-dragged .item .item-row .icon-sort {
  max-width: 40px;
  background: #429ffe;
  text-align: center;
  align-self: stretch;

  display: flex;
  align-items: center;
  justify-content: center;
}

.main-page-browser .item .item-row .icon-item img, .uk-nestable-dragged .item .item-row .icon-item img {
  height: 26px;
}

.main-page-browser .item .item-row .icon-sort, .uk-nestable-dragged .item .item-row .icon-sort {
  background: none;
  position: absolute;
  top: 0;
  left: -40px;
  bottom: 0;
  width: 40px;
}

.main-page-browser .item .icon-sort img, .uk-nestable-dragged .item .icon-sort img {
  filter: invert(50%);
}

.main-page-browser .item .icon-sort *, .uk-nestable-dragged .item .icon-sort * {
  opacity: 0.6;
  transition: opacity 300ms;
}

.main-page-browser .item .icon-sort:hover *, .uk-nestable-dragged .item .icon-sort:hover * {
  opacity: 1;
}

.main-page-browser .item .icon-sort .disabled, .uk-nestable-dragged .item .icon-sort .disabled {
  display: none;
}

.main-page-browser .item .page-name em, .uk-nestable-dragged .item .page-name em {
  color: #888;
  font-weight: normal;
}

.main-page-browser .item .page-name img, .uk-nestable-dragged .item .page-name img {
  /*margin: 0 1em -9px 0;*/
  /*position: absolute;
  left: 0; top: 50%;
  margin-top: -18px;*/
}

.main-page-browser .item .make_me_child, .uk-nestable-dragged .item .make_me_child {
  position: absolute;
  left: 55px;
  top: 50%;
  margin-top: -13px;
  opacity: 1;
  width: 25px;
  height: 25px;
  cursor: pointer;
}

.main-page-browser .item .make_me_child img, .uk-nestable-dragged .item .make_me_child img {
  padding: 3px 9px;
}

.main-page-browser .item .page-type, .uk-nestable-dragged .item .page-type {
  text-align: left;
}

.main-page-browser .item .page-tools, .uk-nestable-dragged .item .page-tools {
  flex-basis: 100px;
  align-self: stretch;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.main-page-browser .item .page-tools a, .uk-nestable-dragged .item .page-tools a {
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 300ms;
}

.main-page-browser .item .page-tools img, .uk-nestable-dragged .item .page-tools img {
  filter: invert(50%);
  transition: filter 300ms;
}

.main-page-browser .item .page-tools > a.urhere, .uk-nestable-dragged .item .page-tools > a.urhere {
  background: #ededed;
}

.main-page-browser .item .page-tools a:hover, .uk-nestable-dragged .item .page-tools a:hover {
  background: #429ffe;
}

.main-page-browser .item .page-tools a:hover img, .uk-nestable-dragged .item .page-tools a:hover img {
  filter: invert(0%);
}

.uk-nestable li {
  margin-left: 0 !important;
}

.uk-nestable-item + .uk-nestable-item, .uk-nestable-list:not(.uk-nestable-dragged) > .uk-nestable-item:first-child {
  margin-top: 0 !important;
}

.tools-box {
  height: 0;
  padding: 0;
  transition: all 300ms;
  background: #ededed;
  margin-left: 40px;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.tools-box.show-me {
  height: 40px;
}

.tools-box > * {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  transition: all 300ms;
}

.tools-box > a:hover {
  background: #429ffe;
  color: #fff;
}

.tools-box .disabled {
  opacity: 0.5;
  padding: 0 20px;
  background: none;
  cursor: default;
}

.main-page-browser .item .page-name:hover {
  text-decoration: underline;
  color: #434343;
}

.main-page-browser .item:hover .item-row {
  background: #f5f5f5;
}

.main-page-browser .main-page-browser-button {
  display: block;
  padding: 15px 10px 18px 15px;
  line-height: 1;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  cursor: pointer;
  color: #91a7bd;
  background: url(graphics/start-add-page.png) right 17px no-repeat;
  font-size: 16px;
}

.main-page-browser .main-page-browser-button:hover {
  color: #fff;
  background: #91a7bd url(graphics/start-add-page.png) right -23px no-repeat;
}

.main-page-browser hr {
  margin: 30px 35px 20px 50px;
}

.new {
  background: #C9F3D8;
}
/* --------------------------dodawanie nowej strony - okno ---------------------- */
.add-page {
  min-height: 400px;
  min-width: 600px;
}
.add-page-wrapper {
  overflow: hidden;
}
/*
.add-page-wrapper > div {
  float: left;
  width: 50%;
  min-height: 500px;
  box-sizing: border-box;
}

.select-page-type {
  margin-top: 0;
  background: #f5f5f5;
  padding: 20px 0 60px 0;
  border-right: 1px solid #e8e8e8;
}

.select-page-type h2, .select-page-type h3 {
  padding-left: 35px;
}

.select-page-type .page-icon {
  min-width: 100%;
  padding-left: 75px;
  margin-bottom: 1px;

  transition: background 300ms;
}

.select-page-type .page-icon img {
  left: 35px;
}

.select-page-type .page-icon:hover {
  background: #ececec;
}

.select-page-type .page-icon.selected {
  background: #ececec url(icons/status-urhere-pages.png) no-repeat center right 5px;

}

.add-page-header {
  padding: 70px 0 60px 30px;
}


#add_page .controls {
  left: auto;
}

#add_page .add-page-header {
  width: 60%;
}

#add_page .select-page-type {
  width: 40%;
}
*/
.language_tag .flag{
  display: flex;
  justify-content: left;
  align-items: center;
  font-size: 14px;
  color: #999;
}
.language_tag .flag img{
  height: 18px;
  border: 1px solid #ddd;
  margin-right: 10px;
}

.pages-title {
/*  display: flex;
  align-items: baseline;
  justify-content: flex-start;*/
  padding: 30px 0 15px 0;
  overflow: visible;
}

.main-page-browser .pages-title {
  padding: 30px 0 15px 55px;
}
.pages-title > span {
  display: block;
  color: #656565;
  font-size: 1rem;
}
.pages-title.ctrl {
  padding-right: 250px;
  position: relative;
}

.pages-title.ctrl div.ctrl-btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 250px;
  text-align: right;
  padding-top: 26px;
}

.pages-title.ctrl div.ctrl-btn > * {
  margin: 0;
  min-width: 0;
}

.show-more-other-controls {
  text-align: center;
  margin-top: 20px;
}

/* ======================= moduly w panelu głównym ============= */
.main-page-modules h3 {
  color: #848484;
  font-weight: normal;
  margin: 0 0 0.8em 0;
  padding: 0;
  font-size: 1.5em;
}

.main-page-modules h2 {
  font-size: 1.9em;
  color: #aaa;
}

.main-page-modules {
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 0 0 40px 0;
  width: 45%;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
  float: left;
  background: #2b2f38;
  background: #21242b;
  color: #848484;
}

.main-page-module {
  margin: 0 30px 30px 30px;
}

/*.std-box {
  padding: 0 0 35px;
  margin: 0;
  min-height: 0; font-size: 0.9em;
  position: relative;
  background: none;
}
.std-box h2:first-child {
  margin: 0px 0px 10px 0px;
  padding: 12px 20px 12px 0;
  font-size: 1.9em;
  color: #aaa;
  text-align: left;
}
.std-box h2 img {
  position: absolute;
  top: 4px;
  left: 5px;
  margin: 0;
}*/
/* ==========box aktualnosci=============== */
.news-preview {
  color: #7e7e7e;
}

.news-preview > div.news-flex {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  padding-bottom: 40px;
  margin: 0 -25px;
}

.news-preview > div.news-flex > div {
  flex: 1;
  padding: 0 25px;
  border-right: 1px solid #9c9da1;
}

.news-preview > div.news-flex > div:last-child {
  border: 0;
}

.news-preview h3 {
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.updated {
  display: block;
  margin-bottom: 15px;
  margin-top: -5px;
  font-size: 0.95em;
}

/* ==========box zasobow i  języgów =============== */
.cms-box {
  background: #3d4148;
  border: 1px solid #4e5258;
}

.resources-box{
  padding: 0 0 30px 0;
  background: none;
}

.resources-box > h2:first-child {
  margin: 0;
  padding: 12px 20px 12px 55px;
  color: #ababab;
}

.main-page-modules > div.resources-box {
  margin: 0;
  background: #1a1c22;
  position: relative;
}

.resources-box .edit-resources-box{
  position: absolute;
  top:0;
  right: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.resources-box .edit-resources-box img{
  width: 80%;
}
.resources-box {
  padding: 64px 33px 40px 33px;
}
.resources-box > div {
  display: inline-block;
  float: left;
  box-sizing: border-box;
  margin: 1px;
}
.resources-box a {
  text-align: center;
  display: block;
  width: 132px;
  height: 132px;
}
.resources-box a > div {
  height: 85px;
  overflow: hidden;
}
.resources-box .icon {
  width: 66px;
  height: 66px;
  margin: 15px auto 0 auto;
  /*border-radius: 3px;*/
  border-radius: 14px;
  transition: margin 100ms ease-out;
  background: #20c1a1;
}
.resources-box a.admin .icon {
  background: #dc143c;
}
.resources-box a.live_edit .icon {
  background: #429ffe;
}
.resources-box a:hover .icon {
  margin-top: 10px;
}
.resources-box .icon img {
  margin: 3px;
  width: 60px;
}
.resources-box a > span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 45px;
  color: #bdbdbd;
  font-size: 15px;
}
.languages-box a:hover {
  background: #181818;
  /*background: #262626;*/
}

.resources-box a img, .languages-box a img {
  display: block;
}
/* =================================*/
.languages-box .languages-flags {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.languages-box .languages-flags > div {
  margin: 0 1rem 1rem 0;
}

.languages-box .languages-flags > div:first-child {
  margin-left: 0;
}

.languages-box .languages-flags > div a {
  padding: 1rem 1rem 1rem 70px;
  display: flex;
  align-items: center;
  min-width: 200px;
  min-height: 22px;
  transition: background 300ms;
  border: solid 1px #ddd;
  position: relative;
}

.languages-box .languages-flags > div a img{
  position: absolute;
  top: 13px;
  left: 13px;
  display: block;
  width: auto;
  height: 30px;
  margin-right: 0.5em;
  transition: all 300ms;
  border: 1px solid #ddd;
}


.languages-box .languages-flags > div a:hover {
  background: #f5f5f5;
}

.languages-box .languages-flags > div a.urhere {
  background: #f5f5f5;
}

.languages-box .languages-flags img {
  height: 30px;
}

/* --------- hash, tab navigator-list ------------ */
.tab-navigator-list, .hash-navigator-list {
  margin: 0;
  padding: 0;
  display: block;
  list-style: none;
}

.tab-navigator-list li, .hash-navigator-list li {
  margin: 0;
  padding: 0;
  position: relative;
  list-style: none;
  display: block;
  border-bottom: solid 1px #4e5258;
}
.tab-navigator-list li a, .hash-navigator-list li a {
  padding: 16px 30px 16px 0;
  line-height: 18px;
  display: block;
  transition: all 100ms;
  color: #d0d0d0;
}
.tab-navigator-list li a {
  padding-left: 30px;
}
.tab-navigator-list li a:hover {
  color: #f2f2f2;
}
.tab-navigator-list li.urhere>a {
  color: #fff;
}
.tab-navigator-list li:after {
  content: url(./icons/btn-more-right.png);
  position: absolute;
  top: 9px; right: 52px;
  width: 32px;
  height: 32px;
  display: block;
  opacity: 0;
  pointer-events: none;
}
.tab-navigator-list li.urinside:after {
  transform: rotate(90deg);
}
.tab-navigator-list li.urhere:after {
  right: 8px;
  opacity: 1;
  transition: 300ms all ease-in;
}
/* ---------hash navigator list ----------- */
.hash-navigator-list {
  display: none;
}
li.urhere .hash-navigator-list {
  display: block;
}
.hash-navigator-list {
  padding-left: 30px;
  background: #212128;
  border-top: solid 1px #4e5258;
}
.hash-navigator-list li {
  border-bottom: solid 1px #4e5258;
}
.hash-navigator-list li:last-of-type {
  border-bottom: none;
}
.hash-navigator-list li a:hover, .hash-navigator-list li.urhere a {
  color: #f2f2f2;
}
/* ======= PRELOADER ======= */
/**
 * CSS3 Preloaders
 * http://danielpietrasik.pl/css3-preloaders/
 **/
.preloader-wrapper {
  margin-bottom: 35px;
  min-height: 545px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader,
.preloader:before,
.preloader:after {
  background: #429ffe;
  animation: animation 1s infinite ease-in-out;
  width: 10px;
}

.preloader:before,
.preloader:after {
  position: absolute;
  content: '';
}

.preloader:before {
  left: -20px;
  animation-delay: -0.32s;
}

.preloader {
  margin: 65px auto 40px;
  transform: translateZ(0);
  animation-delay: -0.16s;
  overflow: visible;
}

.preloader-container {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader:after {
  left: 20px;
}

@keyframes animation {
  0%,
  80%,
  100% {
    box-shadow: 0 0 #429ffe;
    height: 40px;
  }
  40% {
    box-shadow: 0 -30px #429ffe;
    height: 80px;
  }
}

/* ==================== Moduł Analitisc =============== */
#analytics-wrapper {
  min-height: 545px;
}

.analytics-charts {
  margin-top: 30px;
  min-height: 545px;
  box-sizing: border-box;
}

#curve_chart {
  width: 100%;
  height: 240px;
  padding-bottom: 30px;
}

.piecharts {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 40px;
}

.piecharts .piechart {
  flex: 1;
  margin-right: 50px;
}

.piecharts .piechart:last-child {
  margin-right: 0;
}

.piecharts .piechart > div {
  height: 80px;
}

.analytics-summary {
  padding: 0 0 0 0;
  text-align: right;
  font-size: 0.8rem;
  flex: 1;
}

.analytics-summary strong {
  font-size: 1.4rem;
  font-weight: normal;
  color: #429ffd;
}

.analytics-summary .proc-success, .analytics-summary .proc-fail {
  display: inline-block;
  padding-left: 15px;
  position: relative;
}

.analytics-summary .proc-success:before, .analytics-summary .proc-fail:before {
  content: '';
  position: absolute;
  top: 3px;
  left: 0px;
  width: 15px;
  height: 10px;
  background-repeat: no-repeat;
  background-position: top center;
}

.analytics-summary .proc-success:before {
  background-image: url(icons/status-increase-xs.png);
}

.analytics-summary .proc-fail:before {
  background-image: url(icons/status-decrease-xs.png);
}

/* ============================================= */
.set-links-box {
  padding: 50px;
}

.main-page-modules .fast-links ul, .main-page-modules .fast-links ul li {
  margin: 0 0 1px 0;
  padding: 0;
  display: block;
  float: none;
  list-style: none;
}

.main-page-modules .fast-links ul li a {
  min-height: 21px;
  padding: 12px 20px 7px 100px;
  cursor: pointer;
  display: block;
  position: relative;
  overflow: hidden;
}

.main-page-modules .fast-links ul li a img {
  left: 60px;
  position: absolute;
  top: 0;
}

#current-page-address {
  width: 50%;
  display: flex;
  align-items: center;
}

#current-page-address a {
  display: inline-block;
  max-width: 80%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#current-page-address h3 {
  font-size: 14px;
}
#current-page-address a.zmien {
  font-size: 0.8em !important;
  margin-left: 5px;
}

/* ======================================zarządzanie modułami======= */
.modules-browser .std-table tr {
  background: none;
}

.modules-browser .std-table .clean-button {
  margin: 0 -1em;
}

.modules-browser .std-table tr.module-type td {
  border-top: solid 1px #aaa;
  border-bottom: none;
  background-color: transparent !important;
}

.modules-browser .std-table tr td {
  padding-top: 0.4em;
  padding-bottom: 0.4em;
}

.modules-browser .std-table tr:hover td {
  background: #dcf7e6;
}

.mod-notifications {
  height: 7em;
}

.contact_data_module {
  padding: 2em 0;
  border-bottom: solid 1px #ddd;
}

.contact_data_module .button {
  margin: 1em 0 0 0;
}
/* ======================= tabela z danymi, niewidoczna ============== */
.page-header-data {
  margin-bottom: 1rem;
}
.page-header-data td {
  padding: 0 16px 4px 0;
  vertical-align: bottom;
}
.page-header-data tr:last-of-type td {
  padding-bottom: 0;
}

.page-header-data label {
  margin: 0 1em 0 0;
}
/* ======================= tabela z tekstami ========================= */
.key-value-table td {
  padding: 0.3rem 1rem 0.3rem 0;
  vertical-align: top;
}

.key-value-table td:first-child {
  opacity: 0.8;
}

/* =======================tabela modulow ============================= */
.modules-browser .std-table tr td {
  padding: 0.3em 1em;
}

.modules-browser .std-table tr.module-type td {
  padding: 0.6em 1em;
  background: #e3f1ff;
  border-bottom: none;
  border-top: solid 1px #bbb;
}

.modules-browser .std-table tr.module-type td:first-child, .modules-browser .std-table td:first-child /*, .std-table th:first-child*/
{
  padding-left: 3.5em;
}

.modules-browser .std-table tr.module-type td:first-child {
  background: #e3f1ff url(icons20/dropdown-arrow.png) 12px 13px no-repeat;
}

.modules-browser .std-table tr td.info-row {
  text-align: center;
  padding-bottom: 0.5em;
  color: #777;
  font-size: 11px;
  background: none !important;
  cursor: default;
}

.module-contents {
  display: block;
  position: relative;
}

.module-contents-box {
  width: 182px;
  height: 182px;
  padding: 5px;
  position: absolute;
  top: 20px;
  left: 2em;
  display: none;
  background: #efefef;
  border: solid 1px #888;
  border-radius: 6px;
  opacity: 0.9;
}

.module-contents:hover .module-contents-box {
  display: block;
}

.module-contents-box > span {
  padding: 5px;
  width: 170px;
  height: 170px;
  display: block;
  border: solid 1px #888;
  border-radius: 3px;
  background: #fafafa;
}

/* ========= lista modolow (boksow)==================== */
.module-set {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.module-box {
  width: 300px;
  min-height: 200px;
  margin: 0 15px 30px 0;
  padding: 20px 20px 40px 55px;
  box-sizing: border-box;
  border: 1px solid #e8e8e8;
  position: relative;
  overflow: visible;
  color: #858585;
}

.module-box .mod-info {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.module-box .mod-info > * {
  margin-bottom: 2px;
  margin-right: 20px;
}

span.label {
  text-transform: uppercase;
  font-size: 0.85em;
  margin-right: 8px;
}

.module-box .color-stripe {
  left: -1px;
  top: -1px;
  bottom: -1px;
  background: #2ad9b6;
}

.module-box .color-stripe img {
  position: absolute;
  top: 5px;
  left: 4px;
  margin: 0;
}

.module-box h3 {
  margin: 0 0 0.5em 0;
  font-size: 1rem;
  display: inline-block;
}

.module-box h3 span {
  display: block;
  font-size: 0.7em;
}

.module-box .controls {
  position: absolute;
  bottom: -1px;
  left: -1px;
  right: -1px;
  background: #ededed;
  height: 40px;
  align-items: stretch;
}

.module-box .controls > * {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.module-box .controls a:hover {

}

.module-box .controls img {
  filter: invert(50%);
}

.module-box .controls .button {
  margin: 0;
}

.module-set .module-box:last-child {
  margin-right: 0;
}

.module-set-index {
  width: 100%;
  max-width: 850px;
}

.module-set-index .module-box {
  width: 100%;
  background: #f5f5f5;
  min-height: 120px;
  border: 1px solid #e8e8e8;
}

.module-set-index .module-box .controls {
  justify-content: flex-end;
  border-top: 1px solid #e8e8e8;
  background: none;
  margin-left: 55px;
}

.module-set-index .module-box .controls > * {
  flex: 0;
}

/*table th.small{*/
/*  width: 100px;*/
/*}*/
/*table th.medium{*/
/*  width: 300px;*/
/*}*/
/*table th.large{*/
/*  width: 600px;*/
/*}*/
/*table th.prices{*/
/*  width: 140px;*/
/*}*/
table td.prices{
  text-align: right;
}
table td.product-magazyn,
table th.product-magazyn{
  width: 120px;
  padding: 0;
  text-overflow: initial;
}
table td.product-magazyn .button{
  width: 36px;
  height: 36px;
  padding: 6px 0;
  box-sizing: border-box;
  background: #464b55;
  font-size: 2em;
}

table td.product-magazyn .button.minus{
  border-radius: 5px 0 0 5px;
}
table td.product-magazyn .button.plus{
  border-radius: 0 5px 5px 0;
}

table td.product-magazyn input{
  width: 47px;
  height: 36px;
  position: relative;
  top: 2px;
  border-radius: 0;
  padding: 9px 4px;
  text-align: right;
}

/* Chrome, Safari, Edge, Opera */
table td.product-magazyn  input::-webkit-outer-spin-button,
table td.product-magazyn  input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
table td.product-magazyn  input[type=number] {
  -moz-appearance: textfield;
}



table td.product-availability,
table th.product-availability{
  padding: 0;
}

.status-label{
  padding: 5px 10px;
  border-radius: 5px;
  color: white;
}
/* ========= Notatki w ramce ====== */
/* Notatki w ramce */
.notes-preview-box {
  border: 1px solid #ededed;
  padding: 5px 10px;
}
.browse-area .notes-preview-box {
  border-color: #bdbdbd;
}
/* ========= Tabela specyfikacji - tylko dla ITA ==================== */
/*.data-table .edit-row, .data-table .edit-row-controls, .data-table .edit-row:hover, .data-table .edit-row-controls:hover {
  background: #e8e8e8;
}

.data-table .edit-row textarea {
  height: 80px;
  min-height: 80px;
}

.data-table .edit-row iframe {
  height: 78px !important;
}

.data-table .edit-row td {
  padding: 2px;
  position: relative;
}

.data-table .edit-row td .mce-tinymce {
  margin: 0;
}

.data-table .edit-row td .copy-from-prev-col {
  position: absolute;
  left: -0px;
  bottom: 0;
  width: 20px;
  height: 20px;
  display: block;
  line-height: 19px;
  font-size: 15px;
  text-align: center;
  border-radius: 20px;
  box-sizing: border-box;
  color: #fff;
  background: #70b6fe;
}

.data-table .edit-row-controls {
  text-align: right;
}

.data-table .edit-row-controls .switch_plugin {
  width: 300px;
  display: block;
  float: left;
  margin-bottom: 0;

}

.data-table .edit-row-controls .switch_plugin span {
  background: #4e5258;
}

.data-table .edit-row-controls a {
  display: block;
  float: right;
  height: 40px;
  padding: 11px 20px;
  font-size: 14px;
  box-sizing: border-box;
}

.data-table .edit-row-controls a:hover {
  color: #fff;
  background: #429ffd;
}

.data-table .button-wrapper.multibutton a {
  float: left;
  min-width: 40px;
  padding: 0 10px;
  box-sizing: border-box;
}

.data-table .button-wrapper.multibutton {
  background: #f0f0f0;
  border-right: solid 1px #fff;
}

.data-table .button-wrapper.multibutton a img {
  margin: 0 -10px;
}

.data-table .button-wrapper.multibutton a:hover {
  color: #fff;
}*/

/* =====================sloty ============== */
.slot-area {
  background: #fff;
}

.slot-area-head {
  padding: 5px 1em 7px 1em;
}

.slot-area-head select {
  width: 100%;
}

.slot-area-head table {
  margin: 0 0 8px 0;
  table-layout: auto;
}

.slot-area-head table td .button {
  margin-right: 0;
  margin-left: 8px;
}

.slot-area .module-box {
  border: none;
}

.slot-area .module-box:last-child {
  margin-bottom: 0;
}

.modules-sets .empty_slot {
  background: transparent;

}

.modules-sets .empty_slot:hover {
  background: #eee;
  border-color: #bababa;
}

.modules-sets a .slot-name, .module-box .slot-help, .module-box .slot-help2 {
  color: #aaa;
}

.modules-sets .selected_slot {
  background: #FFFBBA;
}

.module-box .slot-help, .module-box .slot-help2 {
  display: none;
  font-weight: normal;
}

.module-box .selected_slot .slot-help, .module-box:hover .slot-help2 {
  display: block;
}

.module-box .selected_slot .slot-help2 {
  display: none;
}

.module-box .slot-pin {
  margin-top: 10px;
  text-align: center;
}

/* ===============zestawy ===============*/
.modules-sets {
  width: 270px;
  padding-left: 220px;
  min-height: 500px;
}

.modules-sets .add-page-list {
  position: absolute;
  top: 147px;
  left: 0;
  bottom: 0;
  width: 200px;
}

.modules-sets .add-page-list .page-icon img {
  margin-top: -15px;
  left: 20px;
}

.modules-sets .add-page-list .urhere {
  background-color: #c9f3d8;
}

.modules-sets .add-page-list .urhere {
  background-color: #c9f3d8;
}

.modules-current-set {
  margin-left: -200px;
  padding-left: 200px;
  position: relative;
}

.modules-current-set h3 {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  font-size: 16px;
  text-align: center;
  width: 180px;
}

.modules-current-set > img {
  position: absolute;
  top: 40px;
  left: 80px;
}

/* ===============edytor modułu ===============*/
.module-editor-header {
  position: relative;
}

.module-editor-header > .add-button {
  position: absolute;
  top: 0;
  right: 0;
}

/*#MODULE-EDITOR {
  padding: 5px 20px 48px 165px;
  margin: 0 auto 40px auto;
  width: 600px;
  min-height: 40em;
  position: relative;
  font-size: 12px;
  border: 1px solid #91A7BD;
  border-radius: 4px;
  background: #f9f9f9;
  box-shadow: 2px 2px 3px #aaa;
}
#MODULE-EDITOR .controls {
  right: 14px;
  left: 165px;
}
#MODULE-EDITOR .controls .button {
  float: left;
}
#MODULE-EDITOR>h2 {
  text-align: right;
}
#MODULE-EDITOR .color-stripe {
  width: 145px;
}
.module-editor-header {
	padding: 15px;
	margin: 0 0 15px 0;
	border-bottom: 1px solid #bbb;
}
.module-editor-header h4 {
  margin-bottom: 2px;
}
#MODULE-EDITOR>.form-wrapper {
  width: 75%;
}
#MODULE-EDITOR>.form-wrapper tr td:first-child {
  width: 33.33%;
}
#MODULE-EDITOR label {
	color: #777;
}
.modules-editor-help {
		background: url(icons40/klucz-40.png) 7px 1px no-repeat;
}*/
/* ------------------------- Edytor multiblocków --------------------------- */
.card {
  margin: 0 0 20px 0;
  height: auto;
  min-height: 300px;
  padding: 15px;
  background: #fff;
  border: solid 1px #ddd;
}

.card .thb img, .card .thb {
  max-height: none;
}

.card h2, .card h3 {
  font-size: 1.1em;
  font-weight: bold;
  text-transform: capitalize;
}

.card .content {
  margin-bottom: 10px;
  text-align: center;
}

.card .controls {
  position: static;
}

.card .thb .img-placeholder {
  padding-bottom: 50%;
}

/* ================================================================================= */
/* ================================================================================= */
/* ================================================================================= */
/* ============================= Edytor zasobów - Resource editor ================== */
/* można zmienić na .dark-content */
/*.resources-editor.wide-content #MAIN-CONTENT {
  color: #999;
  min-height: 100%;
  background: #2b2f38;
}
.wide-content #CONTAINER, .resources-editor.wide-content #MAIN-CONTENT section {
  background: #2b2f38;
}
.wide-content #MAIN-CONTENT {
  max-width: none;
}
.resources-editor.wide-content #MAIN-CONTENT .pages-title h2, .resources-editor.wide-content #MAIN-CONTENT .pages-title span {
  color: #ccc;
}*/
/* ===============================Edytor Galerii =================================== */
#gallery-content, #gallery-subfolders {
  margin: 0px -20px 10px 0;
}
.folder {
  margin: 0 15px 15px 0;
  float: left;
  width: 200px; /* ? */
  position: relative;
}
.folder .content {
  position: absolute;
  bottom: 25px;
  right: 0;
  left: 0;
  min-height: 17%;
}
#gallery-content .image-preview {
  float: left;
  margin-right: 56px;
}

#gallery-content .image-preview.cuted, #gallery-content .image-preview.cuted img {
  opacity: 0.7
}

#add-gallery-button {
  vertical-align: top;
  display: inline-block;
}

/* ==================== folder ========== */
a.folder {
  height: 200px;
  display: block;
  box-sizing: border-box;
  text-align: center;
  font-size: 1em;
  font-weight: normal;
  color: #7d7d7d;
  border: solid 1px #e8e8e8;
  transition: background-color 300ms ease-out;
  background: #f8f8f8;
}

.folder img {
  margin: 3em 0 0.8em 0;
}

.folder:hover {
  background: #fff;
}

/* ===============================Edytor plików =================================== */
.file-icon {
  margin: 0;
  padding: 0;
  width: 40px;
  height: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #74cfb3;
}
/*
.resources-editor.wide-content #MAIN-CONTENT .data-table tr {
  background: none;
  transition: background-color 300ms;
}

.resources-editor.wide-content #MAIN-CONTENT .data-table tbody tr:hover {
  background: #464b55;
}

.resources-editor.wide-content #MAIN-CONTENT .data-table tr td {
  border-bottom: solid 1px #393939;
  box-sizing: border-box;
}

.resources-editor.wide-content #MAIN-CONTENT .data-table .button:hover {
  background-color: #5a5a5a;
}

.resources-editor.wide-content #MAIN-CONTENT tr td {
  padding: 5px 15px;
}

.resources-editor.wide-content #MAIN-CONTENT tr td.icon-wrapper {
  padding: 0;
}

.resources-editor.wide-content #MAIN-CONTENT tr td.icon-wrapper .file-icon {

}

*/
#MAIN-CONTENT tr td input, #MAIN-CONTENT tr td select {
  color: #666 !important;
}

/* ============================= EDYTOR OBRAZU ===================================== */
.image-editor #CONTAINER {
  background: #1d2026;
}

.image-editor #MAIN-CONTENT {
  position: absolute;
  top: 60px;
  left: 300px;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 20px;
  color: #999;
  min-height: 0;
  max-width: none;
  background: #1d2026;
}

.image-editor #MAIN-CONTENT section {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1d2026;
  overflow: hidden;
}

#IMAGE-EDITOR-CONTENT {
  position: absolute;
  top: 0;
  bottom: 40px;
  left: 300px;
  right: 0;
  text-align: center;
  padding: 40px 40px 120px 40px;

  display: flex;
  align-items: center;
  justify-content: center;
}

#IMAGE-EDITOR-CONTENT img {
  max-width: 100%;
  max-height: 100%;
}

#thb_crop, #img_crop, .bottom-details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 40px 20px 40px;
}

.bottom-details .add-button {
  float: right;
}

.bottom-details .content {
  float: left;
}

.bottom-details .content > * {
  text-align: left;
  display: block;
  color: #898989;
}

.image-editor .thb-wrapper {
  margin: 0;
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 10;
  text-align: center;
}

.image-editor .thb-wrapper #thb {
  border: solid 1px #bbb;
  margin: 0 auto;
  background: #000;
}

#image-data {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 40px;
  padding: 25px 0;
  width: 300px;
  box-sizing: border-box;
  min-height: 436px;
  z-index: 10;
  background: #3d4048;
  color: #898989
}

#image-data .button {
  display: block;
}

#image-data .button.urhere {
  color: #fff !important;
  background: #87e8ca;
}

#image-data > a {
  display: block;
  overflow: hidden;
  margin-bottom: 1px;
  padding: 15px 30px;
  transition: all 300ms;
  position: relative;
}

#image-data > a:hover, #image-data > a.urhere {
  background: #4f525a;
}

#image-data > a:hover .content *, #image-data > a.urhere .content * {
  color: #9f9e9e !important;
}

#image-data > a.urhere {
  background-image: url("icons/status-urhere-modules.png");
  background-position: center right 5px;
  background-repeat: no-repeat;
}

#image-data .thb {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  position: absolute;
  top: 15px;
  left: 30px;
}

#image-data .thb img {
  max-width: 100%;
  max-height: 100%;
}

#image-data .content {
  color: #898989;
  padding-left: 75px;
  font-size: 12px;
  min-height: 60px;
}

#image-data .content p.thb-title {
  font-size: 14px;
  margin-top: 3px;
}

#image-data .content p.path {
  width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poor-quality p span {
  color: #d32929;
}

.good-quality p span {
  color: #c4ab00;
}

.great-quality p span {
  color: #007a03;
}

#full-image-wrapper {
  display: inline-block;
  position: relative;
}

.preview-thb {
  position: absolute;
  top: 40px;
  right: 40px;
  overflow: hidden;
  text-align: right;
  background: none;
}

.preview-thb .thb-wrapper {
  display: inline;
  position: relative;
  display: inline-block;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  border: solid 1px #bbb;
  background: #292929;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.preview-thb .thb-wrapper img {
  transition: all 300ms;
}

.preview-thb .thb-wrapper:hover img {
  /*max-height: 300px !important;
  max-width: 350px !important;*/
}

.preview-thb p {
  margin: 0 3px 3px 3px;
}

/* ====================== Artykuł - content block ========================== */
#div_blocks, #div_blocks > div {
  overflow: visible;
}

/*.content-block {
  margin-bottom: 1em;
  padding: 0px 0 0 0;
  box-sizing: border-box;
  transition: height 200ms;
  position: relative;

  max-width: 890px;
  background: #f5f5f5;
  padding: 20px;
  margin: 0 -20px 1em -20px;
  overflow: visible;
  border: 1px solid #e8e8e8;
}*/
.content-block {
  padding: 2.5rem 0 2.5rem 0;
  margin: 0 0px 0 0px;
  max-width: 890px;

  box-sizing: border-box;
  transition: height 200ms;
  position: relative;

  background: #fff;
  overflow: visible;
  border-top: 1px dashed #777;
}
.content-block .block-label {
  margin: 0;
  padding: 0.5rem 1rem 0 0;
  position: absolute;
  top: 0; right: 0;
  height: 40px;
  box-sizing: border-box;
}
.content-block.ui-sortable-helper {
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
  height: 150px !important;
}
.content-block.ui-sortable-helper > * {
  /*display:none;*/
  opacity: 0;
  transition: opacity 200ms;
}

.content-block.ui-sortable-helper .content-block-header, .content-block.ui-sortable-helper .blocks-controls {
  /*	display:block;*/
  opacity: 1;
}

.content-block.ui-sortable-helper textarea {
  opacity: 0;
}

.content-block .blocks-controls {
  display: flex;
  position: absolute;
  top: 0;
  right: -123px;
  width: 123px;
  justify-content: space-between;
  background: none;
}
.blocks-controls a, .blocks-controls span {
  width: 40px;
  height: 40px;
  margin-bottom: 1px;
  padding: 4px;
  display: block;
  box-sizing: border-box;
  background: #464b55;
}
.blocks-controls a:hover, .blocks-controls span:hover, .image-controls a:hover, .image-controls span:hover {
  background: #545961;
}
.blocks-controls .x-button, .image-controls .x-button {
  background: #dc143c;
}
.blocks-controls .x-button:hover, .image-controls .x-button:hover {
  background: #ef3852;
}
.blocks-controls img, .image-controls img {
  display: block;
}
.content-block .settings {
  height: 0px;

  background: none;
  transition: height 300ms, margin 300ms;
  transition-timing-function: ease-out;

  margin-right: -20px;
  margin-left: -20px;
  background: #e8e8e8;
}

.content-block .settings .set-area {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  padding: 20px 20px 10px 20px;
  box-sizing: border-box;
  border-top: 1px solid #d2d2d2;
  border-bottom: 1px solid #d2d2d2;
  height: 220px;
  background: url('graphics/settings-bcg.png') no-repeat bottom right;
  position: relative;
}

.content-block .settings .set-area .set-add-txt {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
}

.content-block .settings .set-area > div {
  flex: 1;
  margin-right: 20px;
  max-width: 33%;
}

.content-block .settings .set-area > div:last-of-type {
  margin-right: 0;
}

.content-block .settings .set-area > div > * {
  margin-right: 0 !important;
}

.content-block .settings.show-me {
  height: 220px;
  margin-bottom: 20px;
}

.content-block .settings input, .content-block .settings select {
  width: 100%;
}

.content-block .url-plugin-button {
  margin-bottom: 0;
}

.content-block .module-box {
  background: #f8f8f8;
}
/*.content-block-header label {*/
/*  margin-top: 0;*/
/*  display: none;*/
/*}*/

/* ------------ dodawanie nowego ------------- */

/*Powodowały duży odstęmp pod contentblokami */
/*#add-new-content-block {*/
/*  padding-bottom: 200px;*/
/*}*/

#add-new-content-block .add-button {
  margin-bottom: 0;
}

#add-new-content-block .settings {
  height: 0px;
  width: 100%;
  max-width: 890px;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  transition: height 300ms, padding 300ms;
}

#add-new-content-block .settings.show-me {
  padding: 20px 0;
  height: 335px;
}

#add-new-content-block .settings .choose-block {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#add-new-content-block .settings .choose-block > div {
  margin-right: 10px;
}

#add-new-content-block .settings .choose-block > div:last-child {
  margin-right: 0;
}

#add-new-content-block .settings .choose-block > div label {
  padding: 0;
  border: 3px solid #7d7d7d;
}

#add-new-content-block .settings .choose-block > div span {
  display: block;
  text-align: center;
  margin-top: 2px;
}

#add-new-content-block .settings .choose-block label {
  position: relative;
  min-width: 0;
  margin: 0 0 1rem 0;
  box-sizing: border-box;
}

#add-new-content-block .settings .choose-block label::before {
  position: absolute;
  top: -3px;
  right: -3px;
  bottom: -3px;
  left: -3px;
  margin: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: 3px solid #7d7d7d;
  background: none;
  transition: all 300ms;
}

#add-new-content-block .settings .choose-block input[type="radio"]:checked + label::before {
  opacity: 1;
  border: 3px solid #429ffd;
}

#add-new-content-block .settings .controls {
  justify-content: flex-end;
  padding-top: 30px;
}

#add-new-content-block .settings .controls .add-button:last-child {
  margin-right: 0;
}
/* ===============================Edytor Oferty =================================== */
.category-tree ul {
  display: block;
}

.category-tree ul li, .category-tree ul li a {
  list-style: none;
  display: block;
}

.category-tree ul li {
  margin: 0;
}

.category-tree ul li a {
  padding: 10px 20px;
  margin: 0 0 2px 0;
  width: 258px;
  background: #edede3;
}

.category-tree ul li a:hover {
  background: #c5c5c5;
}

.category-tree ul li ul li {
  margin-left: 40px;
}

/* =========================== Edytor hierarchii ======================= */
/* ------ proste drzewo hierarchii ------ */
.basic-hierarchy {
  position: relative;
  margin-bottom: 2em;
  font-size: 13px;
}

.basic-hierarchy > ul, .basic-hierarchy > ul li:last-child:before {
  background: #12151c; /* same with body background */
  min-height: 10px;
}

.basic-hierarchy > ul ul {
  margin: 0 0 0 5px; /* indentation */
  padding: 0;
  list-style: none;
  position: relative;
}

.basic-hierarchy > ul ul:before {
  content: "";
  display: block;
  width: 0;
  position: absolute;
  top: -10px; /* margin-top width */
  bottom: 0;
  left: 0;
  border-left: 1px solid #4e5258;
}

.basic-hierarchy > ul li {
  margin: 10px 0 0 0;
  padding: 0 0 0 15px; /* indentation*/
  position: relative;
}

.basic-hierarchy > ul li:before {
  content: "";
  display: block;
  width: 10px; /* same with indentation */
  height: 0;
  border-top: 1px solid #4e5258;
  margin-top: -1px; /* border top width */
  position: absolute;
  top: 10px; /* ([item height]/2) */
  left: 0;
}

.basic-hierarchy > ul > li {
  padding: 0;
}

.basic-hierarchy > ul > li:before {
  display: none;
}

.basic-hierarchy > ul li:last-child:before {
  height: auto;
  top: 10px; /* ([item height]/2) */
  bottom: 0;
}

/* ------ zawartość listy ------ */

.basic-hierarchy .hierarchy-item-content {
  display: block;
  margin: 0;
  line-height: 20px;
  overflow: hidden;
  margin-bottom: 10px;
}

.basic-hierarchy .hierarchy-item-content > a, .basic-hierarchy .hierarchy-item-content > span {
  margin: 0 1px 0 0;
  padding: 0;
  display: block;
  float: left;
  color: #8f9295;
  box-sizing: border-box;
  position: relative;
  border-radius: 3px;
  background: none;
}

.basic-hierarchy .hierarchy-item-content > a.urhere, .basic-hierarchy .hierarchy-item-content > span.urhere {
  color: #f0f0f0;
}

/* ---------- sortowalne drzewo hierarchii ------------- */
.hierarchy {
  position: relative;
  margin-bottom: 2em;
}

.hierarchy > ul, .hierarchy > ul li:last-child:before {
  background: #fcfcfc; /* same with body background */
  min-height: 10px;
}

.hierarchy > ul ul {
  margin: 0 0 0 15px; /* indentation */
  padding: 0;
  list-style: none;
  position: relative;
}

.hierarchy > ul ul:before {
  content: "";
  display: block;
  width: 0;
  position: absolute;
  top: -10px; /* margin-top width */
  bottom: 0;
  left: 0;
  border-left: 1px solid #e4e;
}

.hierarchy > ul li {
  margin: 10px 0 0 0;
  padding: 0 0 0 15px; /* indentation*/
  /*line-height:2em;*/ /* default list item's `line-height` */
  position: relative;
}

.hierarchy > ul li:before {
  content: "";
  display: block;
  width: 15px; /* same with indentation */
  height: 0;

  border-top: 1px solid #e4e;
  margin-top: -1px; /* border top width */
  position: absolute;
  top: 20px; /* ([item height]/2) */
  left: 0;
}

.hierarchy > ul > li {
  padding: 0;
}

.hierarchy > ul > li:before {
  display: none;
}

.hierarchy > ul li:last-child:before {
  height: auto;
  top: 20px; /* ([item height]/2) */
  bottom: 0;
}

/* ------ sortable tree -------- */

.hierarchy ul {
  min-height: 15px;
  /*background: rgba(255,0,255,0.2)*/
}

.uk-nestable-placeholder {
  /*background: #fbec88 ;*/
  color: #363636;
  border: none;
  margin-left: 40px !important;
}

.uk-nestable-placeholder:after {
  content: '';
  display: block;

  border: dashed 1px #333 !important;
  margin-left: 15px;
  top: 0;
  left: 15px;
  bottom: 0;
  right: 0;
}

/* ------ zawartość listy ------ */
/*.hierarchy-item-content {
  display: block;
  height: 40px;
  width: 500px;
  overflow: hidden;
  background: #f0f;
}*/
.hierarchy .hierarchy-item-content {
  display: block;
  margin: 0;
  height: 40px;
  line-height: 20px;
  overflow: hidden;

  margin-bottom: 10px;
}

.hierarchy .hierarchy-item-content > a, .hierarchy .hierarchy-item-content > span {
  margin: 0 1px 0 0;
  padding: 8px 20px 12px 20px;
  display: block;
  float: left;
  box-sizing: border-box;
  position: relative;
  border-radius: 3px;
}

.hierarchy .hierarchy-item-content > span.button-placeholder {
  background-color: #ddd;
}

.hierarchy .hierarchy-item-content a:first-child, .hierarchy .hierarchy-item-content span:first-child {
  min-width: 258px;
  text-align: left;
}

.hierarchy .hierarchy-item-content a.with-arrow:after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  width: 40px;
  background: url(icons/btn-right.png) center no-repeat;
}

.hierarchy .hierarchy-item-content a:hover {
  background: #5c5c5c;
}

.hierarchy .hierarchy-item-content .button.icon-only {
  padding-left: 0;
  padding-right: 0;
  width: 40px;
  min-width: 0;
}

.hierarchy .edit-hierarchy-button {

}

/* =========================== PROFILE ==================== */
.profile-icon {
  display: inline-block;
  padding: 15px 5px 15px 5px;
}

.profile-icon img {
  margin: -6px 0 -4px 0;
  vertical-align: middle;
}

/* =========================== Logowanie ==================== */
#LOGIN-WRAPPER {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f5f5f5 url(graphics/tlo_login.jpg) no-repeat center / cover;
}

#LOGIN-WRAPPER:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
}

.login-window {
  width: 400px;
  /*height: 250px;*/
  min-height: 250px;
}

#MICRO-EDITOR input[type="text"], #MICRO-EDITOR input[type="password"] {
  width: 320px;
}

.nicework-version {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  color: #999;
}

/* ============= Dodatkowe widgety ================= */
.home-widget {
  margin-bottom: 35px;
  background-color: #fff;
}

.bcg-widget {
  background-repeat: no-repeat;
  width: 100%;
  min-height: 325px;
  box-sizing: border-box;
  padding: 0;
  position: relative;
}

.widget-header {
  padding: 20px 30px;
  background-color: #f5f5f5;
  border-bottom: 1px solid #e8e8e8;
  overflow: hidden;
}

.widget-header > div {
  float: left;
  width: 50%;
  padding-right: 20px;
  box-sizing: border-box;
}

.widget-header > div:last-child {
  padding-right: 0;
}

.widget-header-title h2 {
  margin: 0;
  color: #505050;
}

.widget-content {
  padding: 30px 30px 20px 30px;
}

.widget-content .columns-x3 .add-button {
  display: block;
}

.widget-controls {
  padding: 0 30px 20px 30px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-right: -10px;
}

.widget-controls > a {
  margin: 0 10px 10px 0;
}

/* ==== widget sklepowy === */
.widget-content table td, .widget-content table th {
  text-align: center;
  overflow: hidden;
  word-wrap: break-word;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.widget-content table .order-name {
  text-align: left;
}

.widget-content table .order-date {
  width: 80px;
}

.widget-content table .order-id {
  width: 55px;
}

.widget-content table .order-price {
  width: 80px;
}

.widget-content table .button-wrapper a:hover {
  background: #e130fe;
}

/* ===== Edytory sklepowe ==== */
.order-details-header {
  margin: -30px -50px 30px -50px;
  background: #f5f5f5;
  padding: 30px 0 30px 50px;
  position: relative;
  overflow: visible;
  border-bottom: 1px solid #e8e8e8;
  font-size: 1.1em;
}

.order-details-table {
  max-width: 500px;
  margin-bottom: 30px;
}

.order-details-table td {
  height: 30px;
}

.order-details-table td:first-child {
  padding-left: 0;
}

.uwagi {
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid #f5f5f5;
  max-width: 500px;
  box-sizing: border-box;
}

.uwagi strong {
  display: block;
  margin-bottom: 0;
  margin-top: -10px;
}

/* ==========================================Responsive ======================================== */
@media screen and (max-width: 1400px) {
  .main-page-browser #top-controls, .main-page-header {
    padding-left: 10px;
    padding-right: 10px;
  }

  .main-page-header .page-logo {
    right: 10px;
  }

}

.confirmation.hidden {
  display: block !important;
}

.confirmation {
  height: 0;
  overflow: hidden;
  transition: height 300ms;
  display: block !important;
  max-width: 235px;
  border-radius: 3px;
  margin-top: -15px;
  margin-bottom: 15px;
}

.confirmation > div {
  background: none;
  margin-left: 3px;
  margin-right: 3px;
  padding: 5px 15px 15px 15px;
  border: 1px solid #ddd;
  text-align: center;
  margin-bottom: -15px;
}

.confirmation p {
  margin: 0;
  text-align: center;
}

.confirmation.show-me {
  height: 90px;
}

.confirmation-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.confirmation-controls > * {
  margin-right: 5px !important;
}

.confirmation-controls > :last-child {
  margin-right: 0 !important;
}

.confirm-button, .cancel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  height: 35px;
  background: #313140;
  color: #fff;
  text-transform: uppercase;
  padding: 0 15px;
  border-radius: 3px;
  font-size: 0.8rem;
  margin-top: 5px;
  flex: 1;
}

.confirm-button {
  background: #2f7ecd;
}

/* === COMPARE PAGE === */
.diff {
  width: 100%;
}

.diff .table-head th {
  background: #ededed;
  font-size: 1.1em;
  padding: 5px;
  border-top: 10px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #fff;
  border-bottom: 20px solid #fff;
}

.diff td {
  padding: 0 0.667em;
  vertical-align: top;
  white-space: pre;
  white-space: pre-wrap;
  font-family: Consolas, 'Courier New', Courier, monospace;
  font-size: 0.75em;
  line-height: 1.333;
}

.diff span {
  display: block;
  min-height: 1.333em;
  margin-top: -1px;
  padding: 0 3px;
}

* html .diff span {
  height: 1.333em;
}

.diff span:first-child {
  margin-top: 0;
}

.szablon-newer .diffDeleted span {
  border: 1px solid rgb(255, 192, 192);
  background: rgb(255, 224, 224);
}

.szablon-newer .diffInserted span {
  border: 1px solid rgb(192, 255, 192);
  background: rgb(224, 255, 224);
}

.page-newer .diffDeleted span {
  border: 1px solid rgb(192, 255, 192);
  background: rgb(224, 255, 224);
}

.page-newer .diffInserted span {
  border: 1px solid rgb(255, 192, 192);
  background: rgb(255, 224, 224);
}

/* === okno porównywarki plików */
.compare-window-wrapper {
  display: none;

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
}

.compare-window-wrapper.show-me {
  display: flex;
}

@-webkit-keyframes zoomIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

.compare-window-wrapper.show-me .compare-window {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
  animation-duration: 400ms;
}

.compare-window-wrapper .compare-window {
  width: 90vw;
  height: 80vh;
  background: #fff;
  position: relative;
}

.compare-window-wrapper .compare-window .content {
  position: absolute;
  padding: 0 50px 50px 50px;
  top: 50px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
}

.compare-window-wrapper .compare-window h4 {
  padding: 10px 50px;
  border-bottom: 1px solid #ccc;
  height: 50px;
  box-sizing: border-box;
  background: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.compare-window .close-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background: #12151c;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ========== Kalendarz ======== */
.changed-calendar-type-controls {
  text-align: right;
}
.changed-calendar-type-controls .button:last-child {
  margin-right: 0;
}
/* ======================= REZERWACJE - PLAN TYGODNIA ========================== */
#res-week-container {
  margin-bottom: 1px;
  overflow: visible;
}
.res-week {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: nowrap;
  margin-bottom: -1px;
}
.res-week .res-day {
  flex: 1;
	border: 1px solid #ddd;
	border-left: none;
  box-sizing: border-box;
  text-align: center;
  position: relative;
}

.res-week .res-day:first-child{
  border-left: 1px solid #ddd;
}

.res-week .res-day .button {
  height: 30px;
  margin-bottom: 10px;
  min-width: 0;
}

.res-week .res-day .res-day-name {
  text-align: center;
  font-weight: bold;
  background: #eee;
  padding: 0.5em;
	text-transform: capitalize;
}

.res-week .res-day.today {
	background: rgba(43, 136, 216, 0.3);
}

.res-week .res-day .res-day-date {
  padding: 0.5em;
}

.res-week .res-day .res-day-date .year {
  display: none;
}

.slots {
  padding: 0 10px;
}

.slots .slot {
  border: 1px solid #ddd;
  padding: 7px 10px;
  text-align: center;
  margin-bottom: 10px;
  border-radius: 3px;
  position: relative;
  min-height: 55px;
  box-sizing: border-box;
  cursor: pointer;
  background: #fbfbfb;
  transition: background 300ms;
}

.slots .slot:hover {
  background: #fff;
}

.slot + .slot-menu {
  height: 0;
  transition: all 300ms;
  background: #fbfbfb;
  position: relative;
  overflow: hidden;
	top: -10px;
}

/*.slot:hover + .slot-menu, */

.res-week.week-template .slot + .slot-menu.show-me, .res-week.week-template .slot + .slot-menu.show-me > div {
  height: 90px;
  padding: 0;
}

.slot + .slot-menu .slot-menu-btn {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  height: 40px;
  border-bottom: 1px solid #999;
  padding: 0 5px;
  background: #464b55;
  color: #f5f5f5;
  font-size: 0.8rem;
  line-height: 1;
}

.slot-time {
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  pointer-events: none;
}

.slot-time > span.stop {
  font-weight: normal;
  opacity: 0.8;
  width: 0;
  display: inline-block;
  overflow: hidden;
  line-height: 1;
  white-space: nowrap;
  transition: width 300ms;
}

.descr, .slot-status {
	margin-top: 5px;
  width: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.8rem;
  text-align: center;
}

.slot:hover .slot-time > span.stop {
  width: 60px;
  transition-delay: 200ms;
}

.add-slot-button {
  min-height: 55px;
  border: 1px dashed #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px;
  border-radius: 3px;
  margin: 0 10px 10px 10px;
  color: #666;
  font-size: 0.8rem;
  box-sizing: border-box;
  background: #fff;
  line-height: 1.2;
}

.add-slot-button:hover {
  background: #fbfbfb;
}

/* statusy */
.slot.free {
  background: #fbfbfb;
  border-color: #ddd;
  transition: background;
}

/* ogolne */
.slot.free + .slot-menu .slot-menu-btn, .slot.booked + .slot-menu .slot-menu-btn, .slot.tmp_booked + .slot-menu .slot-menu-btn, .slot.closed + .slot-menu .slot-menu-btn, .slot + .slot-menu .slot-menu-btn {
  background: #474760;
  border-color: #74748a;
  color: #fff;
}

.slot.free + .slot-menu .slot-menu-btn:hover, .slot.booked + .slot-menu .slot-menu-btn:hover, .slot.tmp_booked + .slot-menu .slot-menu-btn:hover, .slot.closed + .slot-menu .slot-menu-btn:hover, .slot + .slot-menu .slot-menu-btn:hover {
  background: #5a5a73;
  border-color: #5a5a73;
}

/* ======================= REZERWACJE ========================== */
.res-header h3 {
  text-align: center;
  margin-bottom: 1rem;
}

.res-calendar-top, .res-calendar-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  flex-wrap: nowrap;
}

.res-calendar-top > *, .res-calendar-bottom > * {
  margin-right: 20px !important;
}

.res-calendar-top > :last-child, .res-calendar-bottom > :last-child {
  margin-right: 0 !important;
}

.res-calendar-bottom {
  display: none;
}

.res-calendar-add-ctrl {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 10px;
}

.res-calendar-add-ctrl > * {
  margin-right: 20px !important;
}

.res-calendar-add-ctrl > :last-child {
  margin-right: 0 !important;
}

.res-calendar-add-ctrl .button {
  margin-bottom: 10px;
}

.res-calendar-add-ctrl input[type="checkbox"] + label {
  font-size: 0.9rem;
}

.prev-btn, .next-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  height: 30px;
  padding: 0 10px;
  background: #313140;
  color: #fff;
  border-radius: 3px;
}

.res-calendar-date-range {
  text-align: center;
  min-width: 530px;
  font-size: 1.6rem;
  font-weight: bold;
}
/*.filters-search-wrapper {*/
/*  position: relative;*/
/*  margin-bottom: 20px;*/
/*  padding: 20px;*/
/*  background: #fff;*/
/*  border: 1px solid #ddd;*/
/*  border-radius: 4px;*/
/*  overflow: visible;*/
/*}*/
/*.filters-search-wrapper .filters-header {*/
/*  position: absolute;*/
/*  top: -20px;*/
/*  left: 10px;*/
/*  padding: 8px 10px;*/
/*  background: #fff;*/
/*  margin: 0;*/
/*}*/
/*.filters-search-wrapper .filter-controls {*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: flex-start;*/
/*  float: left;*/
/*  min-height: 50px;*/
/*}*/
/*.filters-search-wrapper .filter-controls .filter {*/
/*  height: 40px;*/
/*  padding: 5px 15px;*/
/*  border: 2px solid #ddd;*/
/*  display: inline-flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  box-sizing: border-box;*/
/*  margin:0 15px 0 0;*/
/*  border-radius: 4px;*/
/*  text-transform: uppercase;*/
/*  font-size: 0.8rem;*/
/*  background: #fff;*/
/*  transition: all 300ms;*/
/*}*/
/*.filters-search-wrapper .filter-controls .filter:hover, .filters-search-wrapper .filter-controls .filter.urhere {*/
/*  !*	border: 1px solid #12151c;*!*/
/*  border: 2px solid #52a7fe;*/
/*}*/
/*.filters-search-wrapper .filter-search > div {*/
/*  float: right;*/
/*  margin: 0;*/
/*}*/

/*.tools-group-links a.button.tools{*/
/*  margin: 0;*/
/*  border: none;*/
/*  text-align: left;*/
/*}*/
/*.tools-group-links a.button.alt.tools{*/
/*  border-bottom: 1px solid #ccc;*/
/*  border-radius: 0;*/
/*  padding-left: 0;*/
/*}*/
.tools-group-links a.button.alt.tools span{
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 42px;
  height: 42px;
  background-color: pink;
  transition: right 300ms linear;
}
/*.tools-group-links a.button.alt.tools:hover span{*/
/*  right: -3px;*/
/*}*/
/*.tools-group-links a.button.alt.tools span img{*/
/*  filter: invert(0.5);*/
/*}*/
/*.tools-group-links a.button.alt.tools span,*/
/*.tools-group-links a.button.alt.tools:hover span{*/
/*  background: transparent!important;*/
/*}*/


/* Strona */

td.flag-wrapper img{
 height: 25px;
  border: 1px solid #333;
  margin-right: 13px;
}
#page_tr_detailed_window .add-button{
  padding-left: 80px;
}
#page_tr_detailed_window .add-button span {
  width: 60px;
}
#page_tr_detailed_window .add-button span img {
  width: 60px;
  margin-top: -4px;
  margin-left: -2px;
}
/* nie wiem gdzie to na razie */
.main-page-browser #top-controls {
  overflow: visible;
}
.search-input.select-box{
  overflow: visible;
}
.search-input.select-box:after {
  content: '';
  position: absolute;
  top: 1px;
  right: 0;
  bottom: 0px;
  width: 36px;
  height: 36px;
  padding: 4px;
  box-sizing: border-box;
  background-color: #fff;
  background-position: top center;
  background-repeat: no-repeat;
  background-origin: content-box;
  pointer-events: none;
}
.sieve-search-input-hints-wrapper{
  display: block;
  background: white;
  border: 1px solid #ccc;
  position: absolute;
  height: 300px;
  left: 0;
  right: 0;
  z-index: 1;
  overflow-y: auto;
}
.sieve-search-input-hints-wrapper span{
  display: block;
  width: 100%;
  height: 30px;
  border-bottom: 1px solid #ececec;
  padding: 0 15px;
  cursor: pointer;
  background: white;
}
.sieve-search-input-hints-wrapper span:hover{
  background: #eeeeee;
}
/* ==== nowe narzędzia === */
.add-controls {
  
}
.add-information {
  max-width: 450px;
  margin-bottom: 1em;
}