﻿/*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*/
.avatar-edit {
  width: 22em;
}
.avatar-edit.user .avatar-container,
.avatar-edit.user .avatar-container img {
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background-clip: padding-box;
}
.avatar-edit .avatar-container {
  height: 150px;
  width: 150px;
  /*position: relative;
		display: flex;
		align-items: center;*/
}
.avatar-edit .avatar-container.empty {
  background-color: #CCC;
}
.avatar-edit .avatar-container span {
  font-size: 150px / 3;
  vertical-align: middle;
  display: block;
  text-align: center;
  opacity: 0.5;
  color: #FFF;
  width: 150px;
  height: 150px;
  line-height: 150px;
  cursor: default;
  font-weight: normal;
}
.avatar-edit .avatar-container img {
  width: 150px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  background-clip: padding-box;
  position: relative;
  top: 0;
  left: 0;
}
.avatar-edit .avatar-container span,
.avatar-edit .avatar-container img {
  -webkit-transition: all 0.1s ease-in;
  -moz-transition: all 0.1s ease-in;
  -o-transition: all 0.1s ease-in;
  -ms-transition: all 0.1s ease-in;
  transition: all 0.1s ease-in;
}
.avatar-edit .avatar-container {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background-clip: padding-box;
  overflow: hidden;
  display: inline-block;
}
.avatar-edit .avatar-container > * {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background-clip: padding-box;
  width: 150px;
  height: 150px;
}
.avatar-edit .avatar-container.image span {
  display: none;
}
.avatar-edit .avatar-container.chars span {
  padding-top: 0;
  line-height: 150px;
  cursor: default;
}
.avatar-edit .avatar-container.chars img {
  display: none;
}
.avatar-edit .avatar-container.loading-panel.active {
  width: 150px;
  height: 150px;
  background-color: #6699ff !important;
  position: relative;
}
.avatar-edit .avatar-container.loading-panel.active:before {
  height: 0;
}
.avatar-edit .avatar-container.loading-panel.active img,
.avatar-edit .avatar-container.loading-panel.active > span {
  position: absolute;
  left: 0;
  top: 0;
}
.avatar-edit .avatar-container.loading-panel.active .spinner {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: dotdotdot-spinner 1.8s infinite ease-in-out;
  -moz-animation: dotdotdot-spinner 1.8s infinite ease-in-out;
  -ms-animation: dotdotdot-spinner 1.8s infinite ease-in-out;
  -o-animation: dotdotdot-spinner 1.8s infinite ease-in-out;
  animation: dotdotdot-spinner 1.8s infinite ease-in-out;
  position: absolute;
  top: 25%;
  left: 43%;
}
@-webkit-keyframes dotdotdot-spinner {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em #ccc;
  }
  40% {
    box-shadow: 0 2.5em 0 0 #ccc;
  }
}
@-moz-keyframes dotdotdot-spinner {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em #ccc;
  }
  40% {
    box-shadow: 0 2.5em 0 0 #ccc;
  }
}
@keyframes dotdotdot-spinner {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em #ccc;
  }
  40% {
    box-shadow: 0 2.5em 0 0 #ccc;
  }
}
.avatar-edit .avatar-edit-controls {
  vertical-align: top;
  margin-left: 20px;
  padding-top: 16px;
  width: auto;
  height: 150px;
  display: inline-block;
  position: relative;
}
.avatar-edit .avatar-edit-controls > span {
  display: none;
}
.avatar-edit .avatar-edit-controls .controls {
  display: block;
  text-align: center;
}
.avatar-edit .avatar-edit-controls .controls.commands {
  margin-top: 0;
}
.avatar-edit .avatar-edit-controls .controls.commands.selecting-colour > .select-colour.button.hollow {
  background-color: #8e3922;
  color: white;
}
.avatar-edit .avatar-edit-controls .controls > .upload-file {
  position: relative;
}
.avatar-edit .avatar-edit-controls .controls > .upload-file:before {
  content: "\f083";
}
.avatar-edit .avatar-edit-controls .controls > .upload-file .overlay {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  text-align: center;
}
.avatar-edit .avatar-edit-controls .controls > .upload-file input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  padding: 0;
  z-index: 2;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=(0));
  opacity: 0;
  font-size: 1em;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.avatar-edit .avatar-edit-controls .controls > span {
  display: block;
  text-align: center;
  padding: 0.5em;
  color: #bdc4c9;
  font-size: 14px;
}
.avatar-edit .avatar-edit-controls .controls > .select-colour {
  display: block;
}
.avatar-edit .avatar-edit-controls .controls > .select-colour:before {
  content: "\f1fc";
}
.avatar-edit .avatar-edit-controls .controls > .select-colour.button.hollow:not(grey):focus {
  background-color: transparent;
  color: #8e3922;
}
.avatar-edit .avatar-edit-controls .controls > .select-colour.button.hollow:not(grey):hover {
  background-color: #8e3922;
  color: white;
}
.avatar-edit .avatar-edit-controls .controls > .colour-selection {
  position: fixed;
  margin: 0;
  /*Flare out the colour selection*/
  left: 50%;
  margin-left: -135px;
  width: 270px;
  line-height: 0;
  text-align: center;
  visibility: collapse;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=(0));
  opacity: 0;
  -webkit-transition: all linear 0.1s;
  -moz-transition: all linear 0.1s;
  -o-transition: all linear 0.1s;
  -ms-transition: all linear 0.1s;
  transition: all linear 0.1s;
}
.avatar-edit .avatar-edit-controls .controls > .colour-selection .callout-indicator {
  display: inline-block;
  position: relative;
  width: 0;
  height: 0;
  border-left: 36px/2 solid transparent;
  border-right: 36px/2 solid transparent;
  border-bottom: 18px solid #bdc4c9;
}
.avatar-edit .avatar-edit-controls .controls > .colour-selection .callout-indicator:before {
  content: "";
  position: absolute;
  left: -18px;
  top: 2px;
  bottom: -1px;
  width: 0;
  height: 0;
  border-left: 36px/2 solid transparent;
  border-right: 36px/2 solid transparent;
  border-bottom: 18px solid white;
}
.avatar-edit .avatar-edit-controls .controls > .colour-selection .callout-contents {
  margin: 0;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background-clip: padding-box;
  border: solid #bdc4c9 1px;
  padding: 5px;
  background-color: #FFF;
}
.avatar-edit .avatar-edit-controls .controls > .colour-selection .callout-contents > a {
  height: 46px;
  width: 46px;
  -webkit-border-radius: 46px/2;
  border-radius: 46px/2;
  background-clip: padding-box;
  position: relative;
  display: inline-block;
  margin: 5px;
  border: 0;
  outline: none;
}
.avatar-edit .avatar-edit-controls .controls > .colour-selection .callout-contents > a:hover,
.avatar-edit .avatar-edit-controls .controls > .colour-selection .callout-contents > a:focus {
  -webkit-box-shadow: #bdc4c9 0 0 8px;
  box-shadow: #bdc4c9 0 0 8px;
}
.avatar-edit .avatar-edit-controls .controls > .colour-selection .callout-contents > a.selected {
  -webkit-box-shadow: #bdc4c9 0 0 8px;
  box-shadow: #bdc4c9 0 0 8px;
}
.avatar-edit .avatar-edit-controls .controls > .colour-selection .callout-contents > a.selected:before {
  font-family: "Font Awesome 5 Pro";
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  text-decoration: inherit;
  content: "\f00c";
  color: white;
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  text-align: center;
  line-height: 46px;
}
.avatar-edit .avatar-edit-controls .controls.selecting-colour > .colour-selection {
  visibility: visible;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=(100));
  opacity: 1;
  z-index: 1;
}
.avatar-edit .avatar-edit-controls .controls .button {
  width: 100%;
  display: inline-block;
  margin: 0;
}
.avatar-edit .avatar-edit-controls .controls .button:before {
  font-family: "Font Awesome 5 Pro";
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  text-decoration: inherit;
  padding-right: 0.3em;
}
.avatar-edit.round .avatar-container {
  -webkit-border-radius: 150px / 2;
  border-radius: 150px / 2;
  background-clip: padding-box;
}
.avatar-edit.no-color .avatar-edit-controls .controls {
  text-align: left;
}
.avatar-edit.no-color .avatar-edit-controls .controls.commands {
  margin-top: 28px;
}
.avatar-edit.no-color .avatar-edit-controls .controls > span,
.avatar-edit.no-color .avatar-edit-controls .controls > .select-colour {
  display: none;
}
.avatar-edit.small .avatar-container {
  height: 150px;
  width: 150px;
  /*position: relative;
		display: flex;
		align-items: center;*/
}
.avatar-edit.small .avatar-container.empty {
  background-color: #CCC;
}
.avatar-edit.small .avatar-container span {
  font-size: 150px / 3;
  vertical-align: middle;
  display: block;
  text-align: center;
  opacity: 0.5;
  color: #FFF;
  width: 150px;
  height: 150px;
  line-height: 150px;
  cursor: default;
  font-weight: normal;
}
.avatar-edit.small .avatar-container img {
  width: 150px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  background-clip: padding-box;
  position: relative;
  top: 0;
  left: 0;
}
.avatar-edit.small .avatar-container span,
.avatar-edit.small .avatar-container img {
  -webkit-transition: all 0.1s ease-in;
  -moz-transition: all 0.1s ease-in;
  -o-transition: all 0.1s ease-in;
  -ms-transition: all 0.1s ease-in;
  transition: all 0.1s ease-in;
}
.avatar-edit.small .avatar-container {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background-clip: padding-box;
  overflow: hidden;
  display: inline-block;
}
.avatar-edit.small .avatar-container > * {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background-clip: padding-box;
  width: 150px;
  height: 150px;
}
.avatar-edit.small .avatar-container.image span {
  display: none;
}
.avatar-edit.small .avatar-container.chars span {
  padding-top: 0;
  line-height: 150px;
  cursor: default;
}
.avatar-edit.small .avatar-container.chars img {
  display: none;
}
.avatar-edit.small .avatar-container.loading-panel.active {
  width: 150px;
  height: 150px;
  background-color: #6699ff !important;
  position: relative;
}
.avatar-edit.small .avatar-container.loading-panel.active:before {
  height: 0;
}
.avatar-edit.small .avatar-container.loading-panel.active img,
.avatar-edit.small .avatar-container.loading-panel.active > span {
  position: absolute;
  left: 0;
  top: 0;
}
.avatar-edit.small .avatar-container.loading-panel.active .spinner {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: dotdotdot-spinner 1.8s infinite ease-in-out;
  -moz-animation: dotdotdot-spinner 1.8s infinite ease-in-out;
  -ms-animation: dotdotdot-spinner 1.8s infinite ease-in-out;
  -o-animation: dotdotdot-spinner 1.8s infinite ease-in-out;
  animation: dotdotdot-spinner 1.8s infinite ease-in-out;
  position: absolute;
  top: 25%;
  left: 43%;
}
@-webkit-keyframes dotdotdot-spinner {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em #ccc;
  }
  40% {
    box-shadow: 0 2.5em 0 0 #ccc;
  }
}
@-moz-keyframes dotdotdot-spinner {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em #ccc;
  }
  40% {
    box-shadow: 0 2.5em 0 0 #ccc;
  }
}
@keyframes dotdotdot-spinner {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em #ccc;
  }
  40% {
    box-shadow: 0 2.5em 0 0 #ccc;
  }
}
.avatar-edit.small .avatar-edit-controls {
  vertical-align: top;
  margin-left: 20px;
  padding-top: 16px;
  width: auto;
  height: 150px;
  display: inline-block;
  position: relative;
}
.avatar-edit.small .avatar-edit-controls > span {
  display: none;
}
.avatar-edit.small .avatar-edit-controls .controls {
  display: block;
  text-align: center;
}
.avatar-edit.small .avatar-edit-controls .controls.commands {
  margin-top: 0;
}
.avatar-edit.small .avatar-edit-controls .controls.commands.selecting-colour > .select-colour.button.hollow {
  background-color: #8e3922;
  color: white;
}
.avatar-edit.small .avatar-edit-controls .controls > .upload-file {
  position: relative;
}
.avatar-edit.small .avatar-edit-controls .controls > .upload-file:before {
  content: "\f083";
}
.avatar-edit.small .avatar-edit-controls .controls > .upload-file .overlay {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  text-align: center;
}
.avatar-edit.small .avatar-edit-controls .controls > .upload-file input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  padding: 0;
  z-index: 2;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=(0));
  opacity: 0;
  font-size: 1em;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.avatar-edit.small .avatar-edit-controls .controls > span {
  display: block;
  text-align: center;
  padding: 0.5em;
  color: #bdc4c9;
  font-size: 14px;
}
.avatar-edit.small .avatar-edit-controls .controls > .select-colour {
  display: block;
}
.avatar-edit.small .avatar-edit-controls .controls > .select-colour:before {
  content: "\f1fc";
}
.avatar-edit.small .avatar-edit-controls .controls > .select-colour.button.hollow:not(grey):focus {
  background-color: transparent;
  color: #8e3922;
}
.avatar-edit.small .avatar-edit-controls .controls > .select-colour.button.hollow:not(grey):hover {
  background-color: #8e3922;
  color: white;
}
.avatar-edit.small .avatar-edit-controls .controls > .colour-selection {
  position: fixed;
  margin: 0;
  /*Flare out the colour selection*/
  left: 50%;
  margin-left: -135px;
  width: 270px;
  line-height: 0;
  text-align: center;
  visibility: collapse;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=(0));
  opacity: 0;
  -webkit-transition: all linear 0.1s;
  -moz-transition: all linear 0.1s;
  -o-transition: all linear 0.1s;
  -ms-transition: all linear 0.1s;
  transition: all linear 0.1s;
}
.avatar-edit.small .avatar-edit-controls .controls > .colour-selection .callout-indicator {
  display: inline-block;
  position: relative;
  width: 0;
  height: 0;
  border-left: 36px/2 solid transparent;
  border-right: 36px/2 solid transparent;
  border-bottom: 18px solid #bdc4c9;
}
.avatar-edit.small .avatar-edit-controls .controls > .colour-selection .callout-indicator:before {
  content: "";
  position: absolute;
  left: -18px;
  top: 2px;
  bottom: -1px;
  width: 0;
  height: 0;
  border-left: 36px/2 solid transparent;
  border-right: 36px/2 solid transparent;
  border-bottom: 18px solid white;
}
.avatar-edit.small .avatar-edit-controls .controls > .colour-selection .callout-contents {
  margin: 0;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background-clip: padding-box;
  border: solid #bdc4c9 1px;
  padding: 5px;
  background-color: #FFF;
}
.avatar-edit.small .avatar-edit-controls .controls > .colour-selection .callout-contents > a {
  height: 46px;
  width: 46px;
  -webkit-border-radius: 46px/2;
  border-radius: 46px/2;
  background-clip: padding-box;
  position: relative;
  display: inline-block;
  margin: 5px;
  border: 0;
  outline: none;
}
.avatar-edit.small .avatar-edit-controls .controls > .colour-selection .callout-contents > a:hover,
.avatar-edit.small .avatar-edit-controls .controls > .colour-selection .callout-contents > a:focus {
  -webkit-box-shadow: #bdc4c9 0 0 8px;
  box-shadow: #bdc4c9 0 0 8px;
}
.avatar-edit.small .avatar-edit-controls .controls > .colour-selection .callout-contents > a.selected {
  -webkit-box-shadow: #bdc4c9 0 0 8px;
  box-shadow: #bdc4c9 0 0 8px;
}
.avatar-edit.small .avatar-edit-controls .controls > .colour-selection .callout-contents > a.selected:before {
  font-family: "Font Awesome 5 Pro";
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  text-decoration: inherit;
  content: "\f00c";
  color: white;
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  text-align: center;
  line-height: 46px;
}
.avatar-edit.small .avatar-edit-controls .controls.selecting-colour > .colour-selection {
  visibility: visible;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=(100));
  opacity: 1;
  z-index: 1;
}
.avatar-edit.small .avatar-edit-controls .controls .button {
  width: 100%;
  display: inline-block;
  margin: 0;
}
.avatar-edit.small .avatar-edit-controls .controls .button:before {
  font-family: "Font Awesome 5 Pro";
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  text-decoration: inherit;
  padding-right: 0.3em;
}
.avatar-edit.small.round .avatar-container {
  -webkit-border-radius: 150px / 2;
  border-radius: 150px / 2;
  background-clip: padding-box;
}
.avatar-edit.small.no-color .avatar-edit-controls .controls {
  text-align: left;
}
.avatar-edit.small.no-color .avatar-edit-controls .controls.commands {
  margin-top: 28px;
}
.avatar-edit.small.no-color .avatar-edit-controls .controls > span,
.avatar-edit.small.no-color .avatar-edit-controls .controls > .select-colour {
  display: none;
}
.avatar-edit.small .avatar-edit-controls .controls > span {
  display: inline-block;
}
.avatar-edit.small .avatar-edit-controls .controls > .select-colour {
  display: inline-block;
}
.avatar-edit.small .avatar-edit-controls .controls .button {
  display: inline-block;
}
.avatar-edit.small .avatar-edit-controls .controls > .colour-selection {
  top: 52px;
  left: -508em;
}
@media only screen and (max-width: 600px) {
  .resp .avatar-edit {
    width: 100%;
    text-align: center;
  }
  .resp .avatar-edit .avatar-edit-controls {
    margin: 0 20px;
    width: auto;
  }
  .resp .avatar-edit .avatar-edit-controls > span {
    padding: 10px;
  }
  .resp .avatar-edit .avatar-edit-controls .controls {
    position: relative;
    text-align: center;
  }
  .resp .avatar-edit .avatar-edit-controls .controls > span {
    padding: 0 0 20px 0;
  }
  .resp .avatar-edit .avatar-edit-controls .controls a.button:before {
    display: block;
  }
}