div#lightbox_popup {
  display: flex;
}

div#lightbox_popup div.info a, section.inner_content ul.images div.info a {
  color: #000;
  display: inline-flex;
  align-items: center;
}

div#lightbox_popup div.info a:hover, section.inner_content ul.images div.info a:hover {
  text-decoration: underline;
}

div#lightbox_popup div.info form label, ul.images div.info form label {
  color: #333;
  margin: 16px 0 0 0;
  display: block;
  width: 100%;
  font-weight: normal;
  font-size: 0.8em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
}

div#lightbox_popup div.info form label:first-child, ul.images div.info form label:first-child {
  margin-top: 0;
}

div#lightbox_popup div.info form label:last-child, ul.images div.info form label:last-child {
  margin-bottom: 0;
}

div#lightbox_popup div.info form label.flex, ul.images div.info form label.flex {
  display: inline-flex;
  align-items: center;
}

div#lightbox_popup div.info form label.flex span.glyphicons_v2, ul.images div.info form label.flex span.glyphicons_v2 {
  font-size: 1.2em;
  margin-left: 4px;
}

div#lightbox_popup div.info div.meta h3, section.inner_content ul.images div.info div.meta h3, div#lightbox_popup div.info form, section.inner_content ul.images div.info form, div#lightbox_popup div.info div.rating_info, section.inner_content ul.images div.info div.rating_info {
  padding: 0 20px;
}

div#lightbox_popup div.info div.rating_info, section.inner_content ul.images div.info div.rating_info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  width: 100%;
  box-sizing: border-box;
}

div#lightbox_popup div.info div.meta form input, section.inner_content ul.images div.info div.meta form input {
  height: 33px;
  padding: 0;
}

div#lightbox_popup div.info div.meta h3, section.inner_content ul.images div.info div.meta h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e3e3e3;
  padding-bottom: 14px;
  margin-bottom: 7px;
  font-size: 1em;
  font-weight: 400;
  white-space: normal;
}

div#lightbox_popup div.info div.meta h3 span {
  display: flex;
}

div.info div.meta span.moderator:hover {
  cursor: pointer;
}

div.info div.meta h3 span.locked_status + span.remove {
  margin-left: 10px;
}

div#lightbox_popup div.info div.rating_info, section.inner_content ul.images div.info div.rating_info {
  font-size: 1.6em;
}

div#lightbox_popup div.info div.rating_info a, section.inner_content ul.images div.info div.rating_info a {
  transition: all 0.1s ease-out;
}

div#lightbox_popup div.info div.rating_info a:hover, section.inner_content ul.images div.info div.rating_info a:hover {
  color: #666;
}

div#lightbox_popup a.wrapper {
  background-image: url('/assets/2/legacy/loading-67273826e6c9796ea75b539cadbf9e8539db96d3529f8c1033fcf648bab5202e.gif');
  background-repeat: no-repeat;
  background-position: center;
}

div#lightbox_window {
  overflow: hidden;
}

div#lightbox_popup div.info {
  height: 100%;
  box-sizing: border-box;
  background: #fff;
}

div#lightbox_popup div.info {
  position: relative;
  top: 0;
  left: 0;
  width: 360px;
}

div#lightbox_popup div.info:after {
  display: block;
  content: '';
  clear: both;
}

div#lightbox_popup div.info span.glyphicons {
  padding-right: 0;
}

div#lightbox_popup div.info a.close {
  padding: 20px 20px 0 0;
}

div#lightbox_popup div.info div.meta {
  width: 100%;
  position: absolute;
  bottom: 20px;
  box-sizing: border-box;
}

div#lightbox_popup div.info div.meta div#paging {
  margin: 20px 20px 0 20px;
}

div#lightbox_popup div.info div.meta div#paging a {
  font-size: 1.6em;
}

div#lightbox_popup div.info div.meta div#paging:after {
  display: block;
  content: '';
  clear: both;
}

ul.images div.info form div.wrap {
  display: flex;
  flex-wrap: wrap;
  margin-top: 16px;
}

ul.images div.info form div.wrap div {
  width: 50%;
}

ul.images div.info form div.wrap span.glyphicons_v2 {
  font-size: 1.1em;
  margin-left: 4px;
}

ul.images .k-picker-md {
  font-size: 0.9rem;
}

div.tagged_people_wrapper {
  margin-top: 40px;
  margin-bottom: 40px;
}

div.person_search_wrapper {
  padding: 0 20px 0 20px;
}

div.tagged_people_wrapper ul.tagged_people {
  display: inline-block;
  margin: 0 0 0 20px;
  padding: 0;
  list-style-type: none;
}

div.tagged_people_wrapper ul.tagged_people li.tagged {
  display: inline-flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: linear .1s;
  border: 1px solid #fff;
  border-radius: 8px;
  padding: 4px 10px;
  transition: linear .1s;
  background-color: #eee;
  font-size: 0.9em;
}

div.tagged_people_wrapper ul.tagged_people li.tagged span.glyphicons_v2 {
  margin-right: 3px;
}

div.tagged_people_wrapper ul.tagged_people li.tagged:hover {
  background-color: #ccc;
}

div.tagged_people_wrapper ul.tagged_people li.tagged a:hover {
  text-decoration: none !important;
}

div.tagged_people_wrapper ul.tagged_people li.tagged:hover span.glyphicons {
  display: inline-block;
}

/* Start - CSS for Image Cropper */
.image_cropper .white_column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.image_cropper .image_criteria {
  width: 100%;
  display: grid;
  grid-auto-flow: row;
  border: solid #dee2e6;
  background: #f3f3f3;
  padding: 2em 0 0 3em;
}

.image_cropper .image_criteria h1 {
  font-size: xxx-large;
  font-weight: bold;
}

.image_cropper .image_criteria h3 a {
  color: #7b7a7a;
  font-weight: bold;
}

.image_cropper .selection_criteria {
  display: grid;
  grid-template-columns: minmax(500px, 2fr) 1fr;
  grid-gap: 4em;
  padding: 2em 0em 2em 0em;
}

.image_cropper input {
  width: 100%;
}

.image_cropper .drop_zone {
  width: 300px;
  height: 350px;
  display: grid;
  grid-template-rows: 1fr 0.2fr;
  background: lightgrey;
  border-radius: 10px;
  justify-content: center;
  margin: 0 2em 2em 0;
}

.image_cropper .drop_zone div {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.image_cropper .drop_zone div.drop_file {
  width: 100%;
  height: 100px;
  background: transparent url('/images/file_plus.png') center no-repeat;
}

.image_cropper .drop_zone span {
  font-size: 20px;
  color: #7b7a7a;
}

.image_cropper .image_kind {
  display: grid;
  grid-template-columns: auto;
}

.image_cropper .image_container {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  row-gap: 1.5rem;
  column-gap: 1.5rem;
}

.image_cropper .image_spec {
  display: grid;
  grid-template-rows: auto;
  grid-gap: 5px;
}

.image_cropper .image_spec .name, .image_cropper .image_spec .size, .image_cropper .image_spec .status, .image_cropper .image_spec .reason {
  display: grid;
  grid-template-columns: .1fr 1fr;
  align-items: start;
  column-gap: 10px;
}

.image_cropper .image_spec .reason .message ul {
  padding-left: 10px;
  list-style-type: disc;
}

.image_cropper .img_background {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('/images/cropper_background.png');
}

.image_cropper .upload_failed, .image_cropper .requires_cropping {
  color: red;
}

.image_cropper .upload_success {
  color: green;
}

/* Cropper styles */
.crop_window .cropper_dimension {
  position: absolute;
  left: -2px;
  top: -10px;
  font-size: small;
  font-weight: 800;
  color: #93ccff;
}

.crop_window {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.crop_window .preview_container {
  width: 1500px;
  height: 750px;
}

.crop_window .image_preview {
  max-width: 1500px;
  max-height: 750px;
}

/* Overridden Kendo styles */
.image_cropper .k-card {
  background: #f3f3f3;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}

.image_cropper .k-card-image {
  width: fit-content !important;
  height: 300px;
  object-fit: contain;
}

.image_cropper .k-card-body {
  display: grid;
  grid-template-rows: .1fr .3fr 1fr;
  grid-gap: 1em;
}

.image_cropper .k-card-actions {
  padding: 1.25rem 1.25rem;
}

.image_cropper .k-dropzone {
  background: none !important;
}

.image_cropper .k-upload {
  border: none;
  background: none;
}

.image_cropper .k-upload .k-action-buttons, .image_cropper .k-upload-files {
  display: none;
}

.image_cropper .k-upload-button input {
  width: max-content;
  cursor: pointer;
}

.image_cropper .k-upload .k-upload-button, .image_cropper .k-button.k-primary, .crop_window .k-button.k-primary {
  border-color: rgba(var(--accountLightBlue), 1);
  color: #fff;
  padding: 10px 35px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 20px;
  background: linear-gradient(146deg, rgba(50, 91, 68, 1) 0%, rgba(21, 79, 94, 1) 62%);
}

.crop_window .k-button.k-secondary {
  color: black;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 20px;
}

.k-window-title {
  font-weight: bold;
}
/* End - CSS for Image Cropper */
