.attachments  {
  max-height: 400px;
  overflow: auto;
}

.attachments table, table.attachments {
  font-size: 9pt;
  color:#000000;
  width: 100%;
  background: #fff;
}

.attachments tr {
  background: #ffffff;
}

.attachments th {
  padding: 5px;
  background-color: #6D6D6D;
  color: #ffffff;
}

.popup_info .attachments tbody {
  height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
}

.attachments tr {
  height: 1em;
}


label.attachments {
  font-size: 9pt;
  font-weight: bold;
  text-align: left;
  vertical-align: top;
  padding: 2px;
}

/*NOWE*/
.attachmentsFrame {
  position: relative;
  width: 620px;
  height: 300px;
}

.attachmentsFrame  .attachmentsList {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 320px;
  bottom: 6em;
  /*background: #fcc;*/
  overflow: auto;
}

.attachmentsFrame  .attachmentsZoom {
  position: absolute;
  left: 320px;
  top: 0px;
  width: 300px;
  height: 300px;
  overflow: hidden;
}

.attachmentsFrame  .attachmentsList  img {
  margin: 5px;
  padding: 5px;
  border: 1px #000 solid;
  background: #fff;
}


.attachmentsFrame  .attachmentsList a.activeSlide img {
  border: 2px #606060 solid;
  margin: 1px;
}

.attachmentsZoom {
}

.attachmentsZoom img {
  margin: 5px;
  padding: 5px;
  border: 1px solid #000;
  background: #fff;
}

.attachmentsFrame  .attachmentsEdit {
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 320px;
  height: 6.5em;
  padding: 5px;
}

.attachmentImage {
    position: relative;
    display: block;
    overflow: hidden;
    width: 130px;
}
.rotateAttachment {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #6D6D6D;
    opacity: 0.9;
    padding: 4px;
    text-align: center;
    width: 100%;
}