form#depotaLTAG3D, form#depotV2Obj {
  
  input[type="submit"] {
    color: white;
    background: transparent;
    border: none;
  }

  input[type="submit"] + i {
    display: none;
  }

  input[type="submit"].loading + i {
    display: inline-block;
    animation: spin 1s linear infinite;
  }
}

.advanced_model_edit_basic {
  width: calc(91.666% - 1.25rem);
}

.advanced_model_edit_basic_action {
  display: flex;
}

.advanced_model_edit_basic_action a {
  margin: auto;
}

@media (max-width: 576px) {
  .advanced_model_edit_basic_action {
    width: 8.444%;
  }
}

.advanced_model_edit {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.advanced_model_edit_action {
  display: flex;
  transform: translateX(-0.25rem);
}

.advanced_model_edit_action a {
  margin: auto;
}

.col-sm-7:has(.actorRow, .datationRow, .locationRow, .inventoryRow) {
    padding: 0px;
    margin-left: 1.5rem;
}

.actorRow, .datationRow, .locationRow, .inventoryRow {
  display: flex;
  background-color: #f1f1f1;
  padding: .75rem .5rem; 
  border-radius: 5px;
  width: calc(100% - 1.5rem);
}

.actorRow label, .datationRow label, .locationRow label, .inventoryRow label {
  margin-left: .25rem;
}

.actorRow[required=true], 
.datationRow[required=true], 
.locationRow[required=true], 
.inventoryRow[required=true] {
  background-color: #dddddd;
}
.charRow, .selectRow, .textRow {
  width: calc(100% + 0.25rem);
}

.charRow, .selectRow, .textRow {
  &.isunique{
    width: calc(110% + 1.25rem);
  }
}

.charRow:not(:first-child) {
  margin-top: 0.5rem;
}

.booleanRow fieldset {
  display: flex;
  gap: .25rem;
  align-items: center;
  margin-left: .75rem;
}

.advanced_model_display ul{
  border-left: 2px solid #f1f1f1;
  padding-left: .3rem;
  margin-bottom: .50rem;
}

.advanced_model_display ul:last-child {
  margin-bottom: 0px;
}

.advanced_model_display p{
  margin-bottom: 0;
  padding-left: calc(0.3rem + 2px);
}

.advanced_model_display_value ul{
  border: none;
  padding-left: .3rem;
  margin-bottom: .50rem;
}

div.mandatory-error-advanced-model{
    display: none;
}

div.mandatory-error-advanced-model.active{
    display: flex;
    color: #242943;
    font-weight: bold;
    margin: auto;
    margin-top: .5rem;
    align-items: baseline;
}

div.mandatory-error-advanced-model.active i{
    margin-right: .5rem;
}

div.mandatory-error-advanced-model.active p{
    margin-bottom: .5rem;
}

input.form-control.mandatory-error-advanced-model{
    border: #242943 solid 1px;
}

button.btn-ignore-mandatory-error {
  margin-left: 1rem;
  color: white;
  background-color: #242943;
}

button.btn-ignore-mandatory-error:hover {
  color: white;
  background-color: #131624;
}

.form-buttons{
  display: flex;
  justify-content: center;
}

.form-buttons > div{
  display: flex;
  justify-content: center;
}

.form-buttons > div input[type="submit"] {
  color: white;
  background-color: transparent;
  border: none;
}

.form-buttons > div input[type="submit"] + i{
  display: none;
}

.form-buttons > div input[type="submit"].loading + i{
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.advanced_model_table h4 {
  padding:  .75rem 0.5rem;
}

.advanced_model_table li {
  list-style-type: none;
}

.advanced_model_table .table_label {
  font-weight: bold;
  width: 25%;
}

.advanced_model_table .table_value {
  width: 75%;
}

.advanced_model_table .table_value ul {
  margin: 0px;
}

.vo_title {
  display: flex;
}

.btn-cnd3d-border {
  border:2px solid #242943;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.btn-cnd3d-border:hover {
  border:2px solid #242943;
}

.vo_gridElement {
    padding: 5px;
    background-color: hsl(0, 0%, 96%);
    box-shadow: 0 1px 3px hsla(0, 0%, 0%, 0.08), 0 1px 2px rgba(0, 0, 0, 0.18);
    border-radius: 3px;
    position: relative;
}

.vo_gridElement tr ul {
    margin: 0px;
}

.vo_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .5rem;
}

.vo_title a {
    margin: 0px;
    border: solid var(--bs-border-color) 1px;
}

#virtualObjectsGrid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 2rem;
    gap: 15px;
}

.vo_gridElement_object_creator ul{
  list-style: none;
}

.vo_gridElement .noThumbnailContainer {
  min-height: 20vh;
}

.moreinfoButton {
    font-weight: bold;
}

.virtualObjectTable {
    margin-bottom: 10px;
}

.object-keywords-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.object-keywords-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.keywordItem {
  background-color: #f1f1f1;
  color: black;
  border: none;
  border-radius: 5px;
  margin: 2px;
  display: flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  gap: 0.5rem;
}

.keywordItem * {
  padding: 0px;
}

td.td_doi_col2 a {
  margin: 2px;
}

.linkedItems {
  padding-bottom: calc(25px + 0.5rem);
}

.linkedItems h5:not(:first-child) {
  margin-top: 1rem;
}

.linkedItems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}

.linkedItems-grid .card h6 {
  padding: 0.25rem 0.25rem 0px 0.25rem;
}

.linkedItems-grid .card a img {
  width: 100%;
  padding: .25rem;
}

.card .linkedRelatedItems{
  height: 100%;
}

.card .linkedRelatedItems div {
  min-height: 8vh;
  height: 100%;
  color: gray;
}

.card .linkedRelatedItems:hover{
  text-decoration: none;
}

.card .linkedRelatedItems div:hover{
  color: #242943;
}

.noThumbnailContainer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.noThumbnailContainer.mainItem {
  min-height: 20vh;
}

#tabloid-3drepositoryV2 {
  max-height: 100%;
  overflow-y: auto;
}

#tabloid-3drepositoryV2 .advanced_model_table.card {
  margin-bottom: 2rem;
}

.label-representative-img-error {
  color: #eea34b;
}

#label-representative-img i {
  margin-right: 0.5rem;
}

.input-thumbnail-error {
  border: #eea34b solid 1px;
}

.input-thumbnail-same-as-folder {
  color: gray;
}

.img_repr_container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh;
  margin-bottom: 0.5rem;
}

.img_repr {
  height: 100%;
  width: auto;
  max-width: 100%;
}

#depotV2Obj{
  margin-bottom: 3rem;
}

.btn-form-error-ignore {
  margin-left: 1rem;
  color: #f1f1f1;
  background-color:#242943;
}

.img-3drepository-thumbnail {
  max-height: 50vh;
}

.addkeyword-imgContainer img{
  max-height: 35vh;
}