﻿/*Contains any common function to modify the tables, which can then be imported and applied per sub style.
	eg, for the email table may want to show lines, so can import the below to apply show-lines() just for item-container.email*/
/*tag colours on people page for diff link types.*/
@keyframes loading-spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*Mixin to make avatar circle, for users, to be added inside a .name-and-avatar-display style*/
.doc-edit {
  background-color: #ffffff;
  border: 1px solid #bdc4c9;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  background-clip: padding-box;
  padding: 5px;
  max-width: 800px;
  text-align: left;
}
.doc-edit:focus,
.doc-edit.focus,
.doc-edit.chosen-container-active,
.doc-edit.cke_focus,
.doc-edit.focussed {
  box-shadow: #8e3922 0 0 1px 1px inset;
  outline: none;
  /*prevent browsers like chrome highlighting, as we're already doing it manually.*/
}
.doc-edit:disabled {
  background: #f1f1f1;
  color: #566068;
}
.doc-edit.input-validation-error,
.doc-edit.error {
  box-shadow: #e80000 0 0 1px 1px inset;
}
.doc-edit div.doc,
.doc-edit div.new {
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  transition: all 0.3s linear;
  display: inline-block;
  margin: 6px;
  border: 1px solid #999999;
  background-color: #FFFFFF;
}
.doc-edit div.doc.hidden,
.doc-edit div.new.hidden {
  display: none;
}
.doc-edit div.new {
  position: relative;
  width: 150px;
}
.doc-edit div.new input[type="file"] {
  padding: 0;
  position: relative;
  z-index: 2;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=(0));
  opacity: 0;
  font-size: 1em;
  width: 100%;
}
.doc-edit div.new .overlay {
  position: absolute;
  top: 0;
  left: 0;
  padding: 3px;
  margin: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  font-size: 1.1em;
  color: #CCC;
  font-style: italic;
}
.doc-edit div.doc {
  width: auto;
  background-repeat: no-repeat;
  background-position-x: -40px;
  background-color: #FFFFFF;
  border: 1px solid #999999;
  display: inline-block;
  padding: 3px;
  position: relative;
  padding-right: 30px;
  font-size: 1.1em;
  cursor: pointer;
}
.doc-edit div.doc .doc {
  width: auto;
  border: none;
  margin: 0;
  padding: 0 10px 0 0;
  text-decoration: underline;
  color: #8e3922;
  font-weight: 300;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  transition: all 0.3s linear;
}
.doc-edit div.doc a.doc:hover {
  text-decoration: none;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  transition: all 0.3s linear;
}
.doc-edit div.doc a.close {
  background-image: url("/content/Images/close.png");
  background-repeat: no-repeat;
  -webkit-background-size: 20px;
  -moz-background-size: 20px;
  -o-background-size: 20px;
  background-size: 20px;
  background-position: center;
  width: 30px;
  height: 100%;
  text-align: left;
  border: none;
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  margin: 0;
  padding: 0;
}
.doc-edit div.doc a.close:hover {
  background-color: lightgray;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  transition: all 0.3s linear;
}
.doc-edit div.doc.upload {
  width: auto;
  background-image: url('/Images/progress.gif');
  background-repeat: no-repeat;
  background-position-x: 0;
  padding-left: 40px;
}
.doc-edit div.doc.upload.init {
  width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.doc-edit div.doc.upload .doc {
  color: #999999;
  text-decoration: none;
}
.doc-edit .progress {
  position: absolute;
  height: 5px;
  background-color: #8e3922;
  border-radius: 5px;
  left: 0;
  bottom: 0;
}
.doc-edit .progress ~ div.doc a.item {
  opacity: 0.5;
  pointer-events: none;
}