/*CSS for UN Number Search*/

/*General*/
.focusmarker{
  background-color: #DCE6FF;
  border-radius: 5px;
  color: var( --e-global-color-primary );
  padding: 5px;
  display: inline;
}

/*Input Box*/
#unns_input{
  border-radius: 8px;
  padding: 10px;
  font-weight: var(--e-global-typography-secondary-font-weight);
  font-family: var(--e-global-typography-text-font-family);
  color: var(--e-global-color-primary);
}
.unns-search-action{
  display: flex;
  width: 60%;
  margin-bottom: 50px;
}
#unns_input:focus{
  outline-color: #DCE6FF;    /* changes outline color */
  outline-width: 1px;        /* optional: thickness */
  outline-style: solid;
}
#unns_results{
  font-family: var( --e-global-typography-text-font-family ), Sans-serif;
}

/*Search Button*/
#unns_search_btn{
  padding: 10px;
  margin-left: .5rem;
  background-color: #DCE6FF;
}

/*Detail Button*/
.unns-more-btn, .unns-back-btn{
  cursor: pointer;
}

/*Table with all results*/
.result-table, .result-table td{
  background-color: #FFFEF9 !important;
  font-size: 1.0em;
}

.result-table {
    border-collapse: collapse; /* Entfernt die äußeren Linien */
    width: 100%;
}

.result-table, .result-table th, .result-table td {
    border: none; /* Entfernt alle Linien */
    text-align: left;
}
.result-table th, .result-table td{
    border: none !important;
}
.result-table th{
  background-color: #ebf1fe;
  padding: 15px;
}
.result-table th:first-child{
  border-radius: 7px 0 0 7px;
}
.result-table th:last-child{
  border-radius: 0 7px 7px 0;
}

.result-table tr {
    border-bottom: 1px solid #ddd; /* Fügt eine Linie zwischen den Zeilen hinzu */
}
.result-table tr:last-child {
    border-bottom: none;
}
.result-table td {
    vertical-align: middle;
}
.unheader1{
  width: 150px;
}
/* Styles nur für mobile Geräte */
@media only screen and (max-width: 768px) {
  .mobile-no{
    display: none;
  }
  .mobile-only{
    display: inline-block !important;
  }
  .unns-search-action{
    width: 100%
  }
  .unheader1 {
    width: 80px;
  }
}


.detail-table{
    border-collapse: collapse;
    width: fit-content;
    margin: 0;
}
.detail-table, .detail-table th, .detail-table td {
    border: none; /* Entfernt alle Linien */
    text-align: left;
    background-color: #F7F7F7 !important;
    font-size: 1.0em;
}
.detail-table td {
    vertical-align: middle;
    padding: 10px 10px 10px 0;
}

/*Found Word Marker*/
.found-marker{
  background-color: #DCE6FF;
  border-radius: 5px;
  padding: 5px 0px;
}

/*Banner*/
.unns-success{
  font-size: var( --e-global-typography-text-font-size );
  margin-bottom: 15px;
}
.unns-error{
  background-color: #f8d7da;
  border-radius: 5px;
  color: var( --e-global-color-primary );
  padding: 5px;
  display: inline;
}

/*Images*/
.class-images{
  display: flex;
}
.img-gzettel{
  max-width: 45px !important;
  max-height: 50px !important;
}
.img-lq{
  max-width: 75px !important;
  max-height: 75px !important;
}
/*Detail View*/
.unns-detail-view{
  border-radius: 7px;
}

.detailtitle{
  background-color: #F4D8CC;
  border-radius: 7px;
  padding: 10px;
}

.detail-block{
  margin: 25px 0;
  background-color: #f7f7f7;
  border-radius: 7px;
  padding: 10px;
}
.subitem-centered{
  display: flex;
  align-items: center;
}
.unlink{
  background-color: #F4D8CC !important;
}

/*Seach loader*/
.un-loader {
  width: 35px;
  aspect-ratio: 1;
  display: grid;
  margin: 0 10px;
}
.un-loader::before{
  --c:no-repeat radial-gradient(farthest-side,#363636 92%,#0000);
}
.un-loader::after{
  --c:no-repeat radial-gradient(farthest-side,#DCE6FF 92%,#0000);
}
.un-loader::before,
.un-loader::after {
content:"";
grid-area: 1/1;
background:
  var(--c) 50%  0,
  var(--c) 50%  100%,
  var(--c) 100% 50%,
  var(--c) 0    50%;
background-size: 12px 12px;
animation: l12 1s infinite;
}
.un-loader::before {
margin: 4px;
filter: hue-rotate(45deg);
background-size: 5px 5px;
animation-timing-function: linear
}

@keyframes l12 {
100%{transform: rotate(.5turn)}
}
