/*
 * DIALOG WINDOW
 */
 
#documentsDialogForm {
  min-width: 900px;
  min-height: 500px;
  height: 100%;
  width: 100% !important;
}

.docpreviewer {
  min-width: 100% !important;
  width: 100% !important;
  height: 100% !important;
}

#documentsDialog .ui-dialog {
  padding:0 !important;
  border-radius: 5px 5px 0 0 !important;
  overflow: hidden !important;
}

div#documentsDialog.ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-shadow.ui-draggable.ui-overlay-visible {
  min-height: 500px !important;
  height: 95% !important;
  top: 2% !important;
}

#documentsDialog .ui-dialog-titlebar {
  display:none !important;
}

#documentsDialog .ui-dialog-content {
  padding:0 !important;
  margin:0 !important;
}

#documentsDialog.ui-dialog.ui-widget-content {
   border: 1px solid rgba(0,0,0,0.3);
   border-radius: 5px 5px 0 0;
}

#documentsDialog div.ui-dialog-content.ui-widget-content {
  height: 100% !important;
  overflow: hidden !important;
}

#documentsDialog_modal {
  background-color: #000 !important;
  opacity:0.5 !important;
  filter:alpha(opacity=50) !important; 
}

/*
 * PREVIEW 
 */

.panelheader, .editheader {
  position:relative; 
  left:0; 
  top:0;
  display: block;
  width:100%;
  background-color: #fff;
  box-shadow: 0 0 16px 0 #000;
  height: 41px;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  z-index: 1;
  padding: 0 !important;
}

.editheader {
  box-shadow: 0 0 0 0 !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  border-bottom: 1px solid #d1d1d1;
}

.panel-body {
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  background-color: #222222; /* fallback */
  /*
  background-image: url('/resources/images/texture.png'),
                    linear-gradient(hsla(0,0%,20%,.99), hsla(0,0%,5%,.95));
  */
  box-shadow: inset 1px 0 0 hsla(0,0%,100%,.08),
              inset 0 1px 1px hsla(0,0%,0%,.15),
              inset 0 -1px 0 hsla(0,0%,100%,.05),
              0 1px 0 hsla(0,0%,0%,.15),
              0 1px 1px hsla(0,0%,0%,.1);
}

.table-body {
  position:absolute;
  width:100%;
  height:90%;
  top:0;
  overflow-y: auto !important;
  overflow-x:hidden !important;
}

.panelcontainer {
  position:absolute; 
  text-align: center;
  vertical-align: middle;
  top:0;
  left:0px;
  width:100%;
  height: 100%;
}

.previewfooter {
  display: block;
  width: 100%;
  height: 20px;
  position:absolute;
  left:0;
  bottom:0px;
}

.editfooter {
  display: block;
  min-height: 40px;
  height:40px;
  position:absolute; 
  left:0; 
  bottom:0;
  width: 100%;
  border-top:1px solid #d1d1d1;
  background-color: #fff;
}

.actbtns {
  display: block;
  margin: 5px 0 0 5px;
}

.footer-label {
  display: block;
  width: auto;
  height: 15px;
  position:absolute; 
  left:0; 
  bottom:0;
  right:0;
  border-top:1px solid #333;
  background-color: #000;
  font-size: 12px;
  color: #fff;
  padding: 5px;
}

.graybtn, .lightgraybtn {
  color: #aaa;
  padding: 5px;
  margin: 3px 2px 3px 2px;
  display: block;
  float:right;
  border: 0px solid #fff;
}

.inlinebtn {
  color: #aaa;
  padding:0 5px 0 5px;
  margin: 3px 2px 3px 2px;
  display:inline;
  border: 0px solid #fff;
}

.lightgraybtn {
 /* border: 1px solid #e1e1e1;*/
}

.lightgraybtn:hover{
  text-decoration: none;
  background-color: #e6e6e6;
  border: 1px solid #e1e1e1;
  border-radius: 2px;
}

.graybtn:hover, .inlinebtn:hover {
  text-decoration: none;
  background-color: #e6e6e6;
  border: 0px solid #e6e6e6;
  border-radius: 2px;
}

.selectordiv {
  display: block;
  float:left;
  height: 30px;
  margin: 10px 0 0 10px;
}

.selectordiv .ui-state-focus {
  border: 2px solid #3565CB;
  outline: 2px solid #3565CB;
  color: #3565CB;
}

.rightmarg {
  margin: 5px 5px 0 0 !important;
}

.paginationdiv {
  white-space: nowrap;
  display: block;
  float: left;
  width: 100%;
  text-align: center !important;
  padding:5px;
}

.paginationdiv a,
.paginationdiv a:hover,
.paginationdiv a:active,
.paginationdiv a:visited {
  text-decoration: none !important;
}

.paginationlbl {
  /* color: #aaa; */
  display: inline-block;
  height:auto;
  vertical-align: top;
  line-height: 30px;
  font-size: 12px;
}

.actionsdiv {
  display: flex;
  height: 100%;
  margin: 0;
  justify-content: flex-end;
}

.actionsdiv ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    height: 40px;
    float: right;
}

.actionsdiv ul li {
    display: inline;
    float: left;
    height: 30px;
    padding: 7px 0 5px 0;
    margin: 0;
}

.closeli {
  border-left: 1px solid #CCC;
}

.closelil {
  border-left: 1px solid #CCC;
}

table.uploadtable tr.ui-widget-content{
  border:1px solid #fff !important;
}

.table-container {
  position:absolute; 
  top:60px;
  left:0;
  width:100%;
  height: calc(100% - 60px);
}

.table-container .ui-widget-header {
    border: 0 !important;
    background: #fff !important;
}

.table-container .ui-fileupload-buttonbar {
   padding:0 !important
}

.table-container .ui-button {
  margin-left: 0px !important;
}

.table-container .ui-button-text {
  padding:3px 5px 3px 5px !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 11px !important;
  font-weight: bold !important;
  width: auto !important;
  color: #333 !important;
}

.table-container .ui-icon-plusthick {display:none;}  
.table-container .ui-button-text {width:200px; height:20px;}  

.log-container {
  height:100%;
}

.labelColumn {
  text-align: right !important;
  width: 100px;
}

.file-list .ui-widget-content{
  border:0 !important;
  padding: 5px !important;
}

.file-list ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.file-list ul li {
  display: inline;
  font-size: 12px;
}

a.actionlink {
  font-size:11px !important;
  font-weight: bold !important;
  color:blue !important;
  text-decoration: underline !important;
}

a.actionlink:hover {
  
}

.noborder {
  border:0px !important;
  color:#fff !important;
}

.previewer {
  width:100%;
  height: 100%;
}
.previewer object.svgobject {
  width:500px;
  height:500px;
  border: 0px solid #ccc;
}
.previewer img {
  max-width: 500px;
  max-height: 500px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: auto;
  height: auto;
  margin: auto;
}
.previewer iframe.pdfobject {
  width:100%;
  min-height:500px;
  height: 90%;
  margin-top: 40px;
}

.videopreview {
  width:100%;
  height: 90%;
}

@media screen and (max-width: 1200px) {
  li .fa-lg {
    font-size: 0.9em !important;
  }

  span.trashicongray {
    background-size: 75% 70% !important;
    width: 12px !important;
    height: 9px !important;
  }

  span.trashicongrayopen {
    background-size: 75% 70% !important;
    width: 12px !important;
    height: 9px !important;
  }
}

/*
*filter: progid:DXImageTransform.Microsoft.Matrix(
  M11 = COS_THETA,
  M12 = -SIN_THETA,
  M21 = SIN_THETA,
  M22 = COS_THETA,
  sizingMethod = 'auto expand'
);
*/

.rotate0 {
-moz-transform:    rotate(0deg);
-o-transform:      rotate(0deg);
-webkit-transform: rotate(0deg);
transform:         rotate(0deg);
}
.rotate90 {
-moz-transform:    rotate(90deg);
-o-transform:      rotate(90deg);
-webkit-transform: rotate(90deg);
transform:         rotate(90deg);
 }
.rotate180 {
-moz-transform:    rotate(180deg);
-o-transform:      rotate(180deg);
-webkit-transform: rotate(180deg);
transform:         rotate(180deg);
}
.rotate270 {
-moz-transform:    rotate(270deg);
-o-transform:      rotate(270deg);
-webkit-transform: rotate(270deg);
transform:         rotate(270deg);
}

.lbldeleted {
  color: red;
  font-weight: bold;
}
