.ecm-admin-status-wrapper {
    background-color: #F2F2F2;
    padding: 0;
    border: 1px solid #D8D8D8;
    border-radius: 4px;
    box-shadow: 0px 2px 2px #DDDDDD;
}

.ecm-admin-status-icon-wrapper {
    padding: 5px 10px;
    float: left;
    width: 50px;
}

.ecm-admin-status-icon {
    zoom: 0.5;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
}

.ecm-admin-status-icon.engine-error {
    background-image: url("https://cdn.t1cloud.com/cianywhere/content/base/icons/48/ecm/engineerror.png?v=12.0.263.0");

}

.ecm-admin-status-icon.engine-ok {
    background-image: url("https://cdn.t1cloud.com/cianywhere/content/base/icons/48/ecm/engineok.png?v=12.0.263.0");
}

.ecm-admin-status-content {
    background-color: #FFF;
    padding: 10px 10px 10px 10px;
    vertical-align: top;
    margin-left: 50px;
}

.ecm-admin-status-content {
    color: #6B6A6A;
}

.ecm-admin-status-content h3 {
    margin-bottom: 5px;
    color: #000;
    font-weight: normal;
}

.ecm-admin-process-failing {
    display: inline-block;
    float: right;
    background-color: #D90000;
    color: #FFF;
    padding: 5px 7px;
    border-radius: 2px;
    text-align: center;
    vertical-align: middle;
}

.ecm-admin-process-failing.hide {
    display: none;
}
/* Modified from .detailsPanel .defaultMessage */
.renderMessage {
    position: absolute;
    top: 45%;
    left: 5px;
    right: 5px;
    margin-top: -15px;
    text-align: center;
    font-size: 1.7em;
    font-family: Osans, Arial, sans-serif;
}

.DefaultQapButton, .NewBusinessButton, .SelectBusinessButton {
    margin-top: 6px;
    margin-left: 10px;
}

.paddingTB4 {
    padding: 4px 0;
}

.linkSpacer {
    margin-top: 10px;
}

.detailsPanel .iframe-pdf {
    box-sizing: content-box\9;
}

_:-ms-input-placeholder, :root .detailsPanel .iframe-pdf {
    box-sizing: border-box;
}

.iframe-pdf > .dropDownControlParent {
    height: 0px !important;
    position: static !important;
}

.iframe-pdf .iFrameContainer iframe {
    min-height: 0;
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.iframe-pdf.hasUploadButton .iFrameContainer iframe {
    top: 50px;
}

.valueSelectorNavigationButton button {
    border-color: #bbc3c6;
}

#Tab_Preview.selected {
    height: 100%;
}

#Preview.documentPreview {
    text-align: center;
}

#RDPActionsMenu .subMenuCtnr {
    max-height: 400px;
    overflow-y: auto;
}

#RenditionUploadButton {
    float: left;
    margin: 10px;
}

#RenditionUploadButton:after {
   content: " "; 
   visibility: hidden; 
   display: block; 
   height: 0; 
   clear: both;
}

.marginT7 {
    margin-top: 7px;
}

.marginB7 {
    margin-bottom: 7px;
}

#SelectedItemsRDP .addAction .icon16 {
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/16/actions/white/plus.png?v=12.0.263.0');
    margin: 0 10px;
}

.ecmDocView .editorLabel, .ecmDocView .editorLabelAutoWidth {
    padding: 4px 0 0 0;
}

#QapDocDetails .textBoxControl.readonly > .editorLabel > label > .mandatory {
    display: inline;
}

#ExampleLevelDescriptorLabel {
    padding-top: 10px;
}

.textBoxControl > .editorField > .readonlyTextBoxSpan.color {
    color: transparent;
}
.download-image-container {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.download-image {
    display: block;
    margin: auto;
}

.download-image img {
    max-width: 100%; 
    max-height: 100%;
    border: 10px solid white;
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

.download-image-target {
    position: absolute;
    display: block;
    top: 60px;
    right: 30px;
    z-index: 1;
}

.download-image-target a:after,  a.download-image-target:after {
    content: "";
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/32/popout.png?v=12.0.263.0');
}

#Preview .header, #DocumentThumbnailViewSection .header{
    display: none;
}

/* Override default thumbnail properties */
.thumbnailViewControl .thumbnailItem.ecmDocView .thumbnailImg {
    background-color: transparent;
    border: none;
    overflow: hidden;
}

.thumbnailViewControl .thumbnailItem.ecmDocView .thumbnailImg img {
    background-color: white;
    padding: 2px;
    border: solid 1px rgba(0,0,0,0.15);
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Large thumbnail */
.ECMDocContent .thumbnailViewControl .hoverViewContainer .thumbnailImg {
    background-color: transparent;
    max-height: 450px; /* Prevent thumbnail overlapping the header bar on tablet in landscape mode */
}

/* Thumbnail Image Container (Card View) */
.thumbnailViewControl.horizontal .thumbnailItem.ecmDocView .thumbnailContainer {
    width: 110px;
    float: left;
    padding-left: 10px;
    position: relative;
}

.thumbnailViewControl.horizontal .thumbnailItem.ecmDocView .thumbnailImg {
    height: 102px;
    width: 100px;
    float: none;
    display: inline-block;
    border: none;
    margin: 0;
    line-height: 100px;
}

.thumbnailViewControl.horizontal .thumbnailItem.ecmDocView .thumbnailImg img {
    display: inline-block;
    max-height: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
    vertical-align: middle;
}

/* Lock Icon */
.imageSection .lockIcon .glyph.icon16:before {
    content: "\E179";
    color: white;
    font-size: 14px;
}

.imageSection .lockIcon .glyph.icon16 {
    line-height: 14px;
    display: block;
}

.imageSection .lockIcon {
    position: absolute;
    right: 8px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 15px;
    border: 2px solid #646464;
    background-color: #646464;
    opacity: 0.8;
    z-index: 1;
}

.thumbnailViewControl.thumbnailViewNormal .thumbnailItem.ecmDocView .imageSection .lockIcon {
    right: 45px;
    top: 120px;
}

/* Buttons */
.ecmDocActionContainer .buttonGroup .glyph.icon16:before {
    color: black;
    font-weight: normal;
}

/* Note Icon */
.ecmDocActionContainer .buttonGroup .noteIcon .glyph.icon16:before {
    content: "\E384";
}

/* Related Icon */
.ecmDocActionContainer .buttonGroup .relatedIcon .glyph.icon16:before {
    content: "\E498";
}

/* Workflow Icon */
.ecmDocActionContainer .buttonGroup .workflowIcon .glyph.icon16:before {
    content: "\E438";
}

/*Secondary section*/
.thumbnailViewControl.thumbnailViewNormal .thumbnailItem.ecmDocView .secondarySection{
    background-color: transparent;
}

/* Document Status */
.dataFieldContainer.statusField.statusBlack {
    color: #fff;
    background-color: #000000;
}

.thumbnailItem.ecmDocView .statusField{
    float: right !important;
}

/*Checkout status*/
.statusField .editorField.checkOutStatusIcon:before {
    font-size: 130%;
    font-family: 'iconGlyph';
    content: "\E250";
}

.checkOutStatusIcon a {
    color: inherit;
}

.thumbnailViewControl.thumbnailViewNormal .thumbnailItem.ecmDocView .ecmDocStatusLink{
    display: inline-block;
}

/*Move favourite icon into correct position in document section*/
.detailsPanel .thumbnailItem.ecmDocView .favouriteButton{
    margin-top: 0;
}

/* Action container */
.thumbnailViewControl .ecmDocActionContainer{
    position: relative;
    display: inline-block;
    float: right;
    max-width: 100%;
}

.thumbnailViewControl .ecmDocActionContainer .summaryContainer .thumbnailAction{
    height: unset;
}

.thumbnailViewControl .ecmDocActionContainer .summaryContainer .thumbnailAction .handle.dropdownControlButton.primary{
    vertical-align: unset;
}

.ecmDocActionContainer .buttonGroup {
    display: inline-block;
}

.ecmHideCounts .ecmDocActionContainer .buttonGroup {
    display: none;
}

.ecmDocActionContainer .buttonGroup button {
    float: none;
}

.ecmDocActionContainer .buttonGroup span {
    font-weight: bold;
    padding-left: 4px;
}

.ecmDocActionContainer .buttonGroup button {
    padding-right: 10px;
    border-radius: 0;
    margin-left: -1px;
}

.ecmDocActionContainer .buttonGroup button[disabled] {
    display: none;
}

.ecmDocActionContainer .buttonGroup button:hover {
    z-index: 1;
    position: relative;
}

.ecmDocActionContainer .buttonGroup button:active {
    background: #e5e5e5; /* Old browsers */
}

.ecmDocActionContainer .buttonGroup button.first {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.ecmDocActionContainer .buttonGroup button.last {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

/* Tags */
.thumbnailViewControl.thumbnailViewNormal .thumbnailItem.ecmDocView .tagSection{
    float: left;
    max-width: 100px;
}

.thumbnailViewControl.ecmSmallTags .thumbnailItem.ecmDocView .tagSection > .tagItem{
    max-width: 70px;
}

.thumbnailViewControl.ecmSmallTags .thumbnailItem.ecmDocView .tagSection{
    max-width: 100px;
}

.thumbnailViewControl .thumbnailItem.ecmDocView .tagSection > .tagItem{
    cursor: pointer;
    max-width: 200px; /*enough for 1 item and the more tags count*/
}

.thumbnailViewControl.thumbnailViewNormal .thumbnailItem.ecmDocView .tagSection > .tagItem{
    max-width: 80px; /*enough for 1 item and the more tags count*/
}

/* Card view no extract*/
.thumbnailViewControl.noExtract .thumbnailItem.ecmDocView .thumbnailImg {
    height: 88px;
    line-height: 86px; /* prevent border truncation */
}

/* Card view compact */

.thumbnailViewControl.compactView .thumbnailItem.ecmDocView .thumbnailImg {
    height: 59px;
}

.thumbnailViewControl.compactView .thumbnailItem.ecmDocView .thumbnailImg img {
    vertical-align: baseline;
}

.ecmHideCounts .linksContainer .buttonGroup {
    display: none;
}
/* Override default thumbnail properties */
.thumbnailViewControl .thumbnailItem.ecmIndexView .thumbnailImg {
    background-color: transparent;
    border: none;
    overflow: hidden;
}

.thumbnailViewControl .thumbnailItem.ecmIndexView .thumbnailImg img {
    background-color: white;
    padding: 2px;
    border: solid 1px rgba(0,0,0,0.15);
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*Document Count*/
.thumbnailItem.ecmIndexView .docCountContainer{
    position: absolute;
    width: 100%;
    top: 95px;
}
.thumbnailItem.ecmIndexView .documentCount span {
    font-size: 0.9em;
}

.thumbnailItem.ecmIndexView .documentCount {
    display: inline-block;
    padding: 3px 5px 2px 5px;
    border-radius: 3px;
    background-color: #8B9194;
    color: white;
}

/*Thumbnail img*/
.thumbnailViewControl.horizontal .thumbnailItem.ecmIndexView .thumbnailImg img {
    max-width: 75%;
    max-height: 85%;
    vertical-align: middle;
    margin: 0 0 20px 2px;
}

.thumbnailItem.ecmIndexView .thumbnailSection.imageSection .thumbnailImg
{
    background: url('https://cdn.t1cloud.com/cianywhere/content/base/images/em/pagessingle.png?v=12.0.263.0') no-repeat center;
    background-size: 100px;
    padding: 2px 0 5px 0;
    margin-top: 2px;
    height: 100px;
    width: 100px;
}

.thumbnailItem.ecmIndexView .thumbnailSection.imageSection.manyDocs .thumbnailImg {
    background: url('https://cdn.t1cloud.com/cianywhere/content/base/images/em/pagesstack.png?v=12.0.263.0') no-repeat center;
    background-size: 100px
}

/* Buttons */
.thumbnailItem.ecmIndexView .buttonGroup .glyph.icon16:before {
    color: black;
    font-weight: normal;
}

/* Note Icon */
.thumbnailItem.ecmIndexView .buttonGroup .noteIcon .glyph.icon16:before {
    content: "\E384";
}

/* Link buttons */
.thumbnailViewControl .thumbnailItem.ecmIndexView .ecmDocActionContainer .buttonGroup {
    float: left;
}

.ecmDocActionContainer .buttonGroup button {
    float: none;
}

.thumbnailViewControl .thumbnailItem.ecmIndexView .ecmDocActionContainer .buttonGroup button.first {
    border-radius: 3px;
}

.thumbnailItem.ecmIndexView .ecmDocActionContainer .buttonGroup span {
    font-weight: bold;
    padding-left: 4px;
    color: #007fe9;
}

.thumbnailItem.ecmIndexView .ecmDocActionContainer .buttonGroup button {
    padding-right: 10px;
    border-radius: 0;
    margin-left: -1px;
}

.thumbnailItem.ecmIndexView .ecmDocActionContainer .buttonGroup button[disabled] {
    display: none;
}

.thumbnailItem.ecmIndexView .ecmDocActionContainer .buttonGroup button:hover {
    z-index: 1;
    position: relative;
}

.thumbnailItem.ecmIndexView .ecmDocActionContainer .buttonGroup button:active {
    background: #e5e5e5; /* Old browsers */
}

.thumbnailItem.ecmIndexView .ecmDocActionContainer .buttonGroup button.first {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.thumbnailItem.ecmIndexView .ecmDocActionContainer .buttonGroup button.last {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

/* Tags */
.thumbnailViewControl.thumbnailViewNormal .thumbnailItem.ecmIndexView .tagSection{
    float: left;
    max-width: 150px;
}

.thumbnailViewControl.ecmSmallTags .thumbnailItem.ecmIndexView .tagSection > .tagItem{
    max-width: 70px;
}

.thumbnailViewControl.ecmSmallTags .thumbnailItem.ecmIndexView .tagSection{
    max-width: 100px;
}

.thumbnailViewControl .thumbnailItem.ecmIndexView .tagSection > .tagItem{
    cursor: pointer;
    max-width: 200px; /*enough for 1 item and the more tags count*/
}

.thumbnailViewControl.thumbnailViewNormal .thumbnailItem.ecmIndexView .tagSection > .tagItem{
    max-width: 80px; /*enough for 1 item and the more tags count*/
}
#EcmImportFilePanel {
    border: 3px solid #ebedee; /* fake border, allows later adding a border without moving child elements*/
    background-color: #ebedee;
    width: 100%;
    min-height: 100px;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
    position: relative;
}

#EcmImportDocumentControl.dragOver #EcmImportFilePanel {
    border-color: grey;
    border-style: dashed;
}

#EcmImportDocumentControl.dragOver #EcmImportFilePanel, 
#EcmImportDocumentControl.dragOver #EcmImportActionBar, 
#EcmImportDocumentControl.dragOver li.ecmImportDocumentListElement
{
    background-color:whitesmoke;
}

#EcmImportDropArea {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 300px;
    height: 60px;
    margin: -30px 0 0 -150px;
}

#EcmImportDropArea:before {
    background: url('https://cdn.t1cloud.com/cianywhere/content/base/images/em/document.png?v=12.0.263.0') no-repeat center;
    background-size: 48px;
    width: 60px;
    height: 60px;
    vertical-align: middle;
    display: inline-block;
    float: left;
    content: "";
}

#EcmDropTargetLabel {
    font-size: 1.2em;
    vertical-align: middle;
}

#EcmBrowseFileButton
{
    vertical-align: middle;
    min-width: 90px;
    margin: 5px;
}

#EcmImportActionBar {
    /* to clear elements below the buttons */
    overflow: auto;
    background-color: #e6e7e8;
    border: 1px solid lightgrey;
    margin: 5px 5px 0px 5px;
}

#EcmImportActionBar, .ecmImportDocumentListElement {
    padding: 10px;
    box-shadow: 2px 2px 3px lightgrey;
}

#EcmImportActionBarButtons {
    float: right;
}

.ecmImportDocumentTile {
    display: table;
    width: 100%;
}

#EcmImportDocumentListPanel {
    overflow: auto;
}

li.ecmImportDocumentListElement:hover {
    background-color: rgba(245, 219, 178, 0.5); 
}

li.ecmImportDocumentListElement {
    background-color: #ebedee;
    height: 25px;
    margin: 7px;
}

.ecmImportDocumentListElement.template {
    display: none;
}

.ecmImportDocumentTile div {
    display: table-cell;
    vertical-align: middle;
}

.ecmImportDocumentTileCheckBox {
    padding-right: 10px;
}

.ecmImportDocumentTileFileLink {
    width: 99%;
}

.ecmImportDocumentTileRemove {
    background: url('https://cdn.t1cloud.com/cianywhere/content/base/icons/16/actions/close.png?v=12.0.263.0') no-repeat top center;
    cursor: pointer;
    width: 18px;
    height: 17px;
    padding-right: 20px;
    opacity: 0.5;
}

