/* ogolne */
body {
  background-color: #fff;
  padding: 5px;
  margin: 0;
}
ul,
li,
form,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 px;
  padding: 0px;
}
body,
td,
ul,
li,
form,
input {
  font: 14px Verdana, Arial, Helvetica, sans-serif;
  color: #6e2f22;
}
img {
  border: 0px;
}
/* formularze */
input,
textarea,
select {
  font: normal 11pt verdana, helvetica;
  border: #A5ACB2 1px solid;
  margin: 2px;
  padding: 5px;
}
.checkbox,
.radio {
  border: 0px;
}
.redField {
  border: 1px dotted red;
  background-color: #fcc;
}
a {
  color: #00009c;
  text-decoration: underline;
}
a:link {
  color: #666666;
  text-decoration: none;
}
a:visited {
  text-decoration: none;
  color: #666666;
}
a:hover {
  text-decoration: none;
  color: #009900;
}
a:active {
  text-decoration: none;
  color: #666666;
}
/* layout */
#mainContainer {
  display: flex;
}
#leftContainer {
  margin-right: 7px;
}
#centerContainer {
  flex: 1;
  box-sizing: border-box;
  padding: 10px;
  vertical-align: top;
  width: 100%;
  background-color: #f5f7ff;
  border-radius: 20px;
}
#sidebarContainerToggler {
  display: none;
  background-color: #fff;
  border: none;
  padding: 10px;
  width: 100%;
  cursor: pointer;
  font-size: 18px;
}
@media (max-width: 768px) {
  #mainContainer {
    flex-direction: column;
  }
  #leftContainer {
    display: none;
    position: absolute;
    top: 120px;
    left: 0;
    z-index: 1;
    padding: 10px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
    background-color: #fff;
  }
  #leftContainer.show {
    display: block;
  }
  #sidebarContainerToggler {
    display: block;
  }
}
/* topMenu  */
#topMenu {
  display: flex;
  justify-content: flex-end;
  margin: 0 10px 10px 10px;
}
#topMenu .links {
  display: flex;
  gap: 20px;
}
#topMenu a {
  color: #aaa;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
}
#topMenu a:hover {
  color: #8bd14e;
}
#topMenu a span {
  text-decoration: underline;
}
/* logo */
#logoBanner img {
  padding: 10px;
  width: 100%;
  max-width: 250px;
}
#centerContainer #logoBanner {
  display: none;
}
#leftContainer #logoBanner {
  display: block;
}
@media (max-width: 768px) {
  #centerContainer #logoBanner {
    display: block;
  }
  #leftContainer #logoBanner {
    display: none;
  }
}
/* leftMenu */
#leftMenu {
  width: 210px;
}
#leftMenu ul {
  list-style: none;
  margin: 0;
}
#leftMenu span.title {
  display: block;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
  margin: 0px 10px 0px 0px;
  padding: 5px;
}
#leftMenu a {
  display: block;
  border-bottom: 1px solid #ccc;
  margin: 0px 10px 0px 0px;
  padding: 5px 5px 5px 25px;
}
#leftMenu a.clk {
  font-weight: bold;
}
/* content */
table.listTable thead td {
  background-color: #4b49ac;
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  vertical-align: top;
}
table.listTable thead td:first-child {
  border-radius: 10px 0 0 10px;
}
table.listTable thead td:last-child {
  border-radius: 0 10px 10px 0;
}
table.listTable thead td a {
  color: #fff;
}
table.listTable thead td a:hover {
  text-decoration: underline;
}
table.listTable tbody td {
  padding: 7px 5px;
  border-bottom: 1px solid #EFEFEF;
  vertical-align: top;
}
table.formTable tbody tr.formS div {
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 3px 5px;
  border: 1px solid #A5ACB2;
  text-align: center;
  color: #6780B8;
}
table.formTable tbody .formA {
  padding: 3px 5px;
  border-bottom: 1px solid #EFEFEF;
  background-color: #EFEFEF;
  color: #666;
  width: 6%;
  white-space: nowrap;
  text-align: right;
}
table.formTable tbody .formB {
  padding: 3px 5px;
  border-bottom: 1px solid #EFEFEF;
  background-color: transparent;
  color: #666;
}
@media screen and (max-width: 600px) {
  .listTable table,
  .listTable thead,
  .listTable tbody,
  .listTable th,
  .listTable td,
  .listTable tr {
    display: block;
  }
  .listTable thead {
    display: none;
  }
}
/* repository - edit box */
#repositoryPopup #divId {
  width: 750px;
  height: 700px;
  margin-top: 10px;
  padding: 10px 10px;
  background-color: #bbb;
  border: 1px solid #777;
}
#repositoryPopup #imgId {
  max-width: 750px;
  max-height: 700px;
}
/* others */
.movable {
  cursor: move;
}
.filterbox {
  background-color: #4b49ac;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 17px;
}
.filterbox input {
  border: 0;
  border-radius: 5px;
}
.filterbox input {
  border: 0;
}
.tooltip {
  background-color: #ffffcc;
  border: 1px solid #000000;
  padding: 2px;
}
.head {
  padding-bottom: 3px;
  margin-bottom: 12px;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
}
.error {
  background: #fff url(../_img/adm_error.png) no-repeat 8px;
  border: 5px solid #FF5B3A;
  font-weight: bold;
  margin: 0 0 10px 0;
  padding: 7px 30px;
}
.success {
  background: #fff url(../_img/adm_success.png) no-repeat 8px;
  border: 5px solid #48CA22;
  margin: 0 0 10px 0;
  padding: 7px 30px;
}
.loginForm {
  width: 100%;
}
#formScrollableContent {
  display: flex;
}
#formScrollableContent .text-area {
  width: 700px;
  height: 600px;
}
#formScrollableContent .scroll-area {
  width: 700px;
  height: 600px;
  border: #A5ACB2 1px dotted;
  margin: 2px;
  padding: 5px;
  overflow: scroll;
}
@media (max-width: 768px) {
  #formScrollableContent .text-area {
    width: 100%;
    height: auto;
  }
  #formScrollableContent .scroll-area {
    display: none;
  }
}
.article * {
  word-break: break-word;
  white-space: normal;
}
.article .title {
  padding-bottom: 10px;
  font-weight: bold;
  font-size: 12pt;
}
.article .content {
  line-height: 1.5;
  color: #444;
}
.article code {
  display: block;
  border: 1px solid #ddd;
  background-color: #f5f5f5;
  padding: 10px;
  max-width: 1400px;
  overflow: auto;
  white-space: pre;
}
.article ul,
.article ol {
  padding-left: 22px;
}
.favorites {
  padding-bottom: 15px;
}
.favorites .head {
  background-color: #4b49ac;
  color: #fff;
  text-align: left;
  padding: 10px;
  padding-left: 15px;
  margin-bottom: 3px;
  border-radius: 10px;
}
.favorites ul {
  padding-left: 25px;
  margin: 0;
}
.favorites li {
  line-height: 1.5;
}
.phpError {
  position: relative;
  background-color: white;
  z-index: 100;
  border: 1px dashed red;
  margin-bottom: -1px;
  padding: 4px;
  font-size: 12px;
}
.messageLayer table {
  background-color: #fff;
}
.messageLayer td,
.messageLayer span {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #000;
  background-color: #fff;
  padding: 2px;
  vertical-align: top;
  line-height: 16px;
}
.messageLayer .bind {
  padding: 0;
  font-style: italic;
  color: #0077ff;
}
.messageLayer .black {
  font-weight: bold;
}
.messageLayer .red {
  color: #f00;
  font-weight: bold;
}
