/*
 * Copyright 2022-2025 Esra Kummer (mail@yaap.ch)
 *
 */

/*
z-index (max 99992)
=======
#searchResultWrapper  10000
.sidebarR             20000
#addContext           30000

#editValGroup         35000
#viewItemDetails      40000
#addItemsDetails      45000
#translate            48000

#menuSettings         90000
#newTL,#editTLDetails 91000
#ypAddTLEntry         91500
#ypSetDate            92000
#loadFullPage         99000
*/

#specialSports {
  width: 80%;
  margin-left: 10%;
}
.spcialSportsCollapsible {
  height: 30px !important;
  line-height: 30px !important;
}
.specialSportsGroupTitle {
  line-height: 44px;
  font-size: 28px;
  font-weight: bold;
}
.specialSportsEntryWrapper {
  width: calc(100% - 40px);
}
.specialSportsEntry {
  width: calc (100% - 40px);
  font-size: 32px;
  padding-left: 15px;
  padding-right: 15px;
  overflow: hidden;
}
.specialSportsEntry:hover {
  background-color: #f7f7f7;
  cursor: pointer;
}
.game {
  width: fit-content !important;
}
.sepcialSportsLink {
  line-height: 44px;
}

*:not(i){ /*All font, but font awesome, also does not work for svg elements (at least text)*/
  font-family:Sans-serif;
  text-overflow: ellipsis;
}
body {
  margin: 0px;
}

@keyframes fadeIn {
  from {opacity: 0}
  to {opacity: 1}
}

.fadeIn {
  opacity: 0;
  animation: fadeIn 0.02s forwards; /* forwards (animation-fill-mode) retains the style from the last keyframe when the animation ends */
}
.editTLGroup {
  animation-delay: 0.02s;
}
.cutTLGroup {
  animation-delay: 0.04s;
}
.closeTLGroup {
  animation-delay: 0.06s;
}
#cut-left:hover, #cut-right:hover {
  cursor: pointer;
}
#cut-left, #cut-right {
  position: fixed;
  height: 30px;
  width: 30px;
  left: 0px;
  top: 0px;
  padding: 0px;
  min-width: 30px;
  margin: 0px;
}

.nowrap {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.noOpacity {
  opacity: 0;
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/***************
 * Font Styling
 ***************/
.redFont {
  color: #A70F01;/*red*/
}
.greenFont {
  color: #71881B;/*green*/
}
.highlightFont {
  color: #F033B4 /*pink*/;
}

/*************************
 * Form Elements General *
 * ***********************/
.locked {
  position: relative;
  margin-right: -30px;
  z-index: 9999;
}
.errorBackground {
  background-color: #ec8c8c
}

input[type="checkbox"]{
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  border-radius: 5px;
  box-sizing: border-box;
  position: relative;
  box-sizing: content-box ;
  width: 22px;
  height: 22px;
  border-width: 0;
  transition: all .25s ease;
  border: 2px solid #012998;
}
input[type="checkbox"]:hover {
  background-color: #f7f7f7;
  content: "";
}
input[type="checkbox"]:checked{
  background-color: #012998;
  content: "✓";
}
input[type="checkbox"]:checked:after{
  color: #fff;
  font-size: 22px;
  line-height: 22px;
  content: "✓";
  margin: 0 auto;
  padding-left: 2px;
}
input[type="checkbox"]:after{
  color: #fff;
  font-size: 22px;
  line-height: 22px;
  content: "";
  margin: 0 auto;
  padding-left: 2px;
}
.checkBoxButton {
  width: 80%;
  margin-left: 10%;
  margin-top: 14px;
  padding-bottom: 5px;
}
.checkBoxButton input[type="checkbox"] {
  border: 2px solid #fff;
  margin-left: 10px;
  margin-bottom: 8px;
  display: block;
}
.checkBoxButton label {
  display: inline-block;
  float: left;
  width: 100%;
  border-radius: 14px;
  height: 40px;
  background: #012998;
  color: #fff;
  line-height: 40px;
  text-align: center;
  margin: -40px 0 14px 0;
  cursor: pointer;
}

select {
  border: 2px solid #012998;/*blue*/
  margin: 4px;
  border-radius: 14px;
  padding: 5px;;
  cursor: pointer;
  background-image: linear-gradient(to top, #f9f9f9, #fff 33%);
}
input[type=text], input[type=number], input[type=date], input[type=email], input[type=password], input[type=submit], input[type=button], textarea {
  border: 2px solid #012998;/*blue*/
  margin: 4px;
  padding: 0px 14px;
  outline: none;
  font-size: 14px;
  border-radius: 14px;
}
input[type=submit],input[type=button] {/*to make it apear like a button*/
  background-color: #012998;/*blue*/
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
}
input[type=text]:disabled, input[type=number]:disabled, input[type=date]:disabled, input[type=email]:disabled, input[type=password]:disabled, input[type=submit]:disabled, input[type=button]:disabled, textarea:disabled {
  cursor: not-allowed;
}
select:focus, input[type=text]:focus,input[type=number]:focus,input[type=date]:focus, input[type=email]:focus, input[type=password]:focus, input[type=submit]:focus, input[type=button]:focus, textarea:focus {
  border: 4px solid #012998;/*blue*/
  margin: 2px;
}
.inputTypeFile {
  display: none;
}
.inputTypeFileLabel {
  display: inline-block;
  text-align: center;
  box-sizing: border-box;
  line-height: 38px;
}
button, .inputTypeFileLabel {
  border: 2px solid #012998;/*blue*/
  border-radius: 14px;
  background-color: #012998;/*blue*/
  color: #fff;
  padding: 4px 14px;
  margin: 7px 10%;
  outline: none;
  font-size: 20px;
  min-width: 175px;
  cursor: pointer;
  width: 80%;
  height: 40px;
  /*text-overflow: ellipsis; TODO delete if applied to all ok*/
  overflow: hidden;
  white-space: nowrap;
}
button:hover {
  border: 2px solid #4861ab;/*different blue*/
  background-color: #4861ab;/*different blue*/
  /*margin: 12px 10%;*/
}
button:disabled {
  background-color: #f7f7f7;
  color: #bcbcbc;
  cursor: not-allowed;
}

.collapseTitle {
  width: calc(100% - 27px);
  height: 40px;
  background-color: #012998;
  margin: 10px 0 0 0;
  padding: 4px 14px;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  border-radius: 14px 14px 0 0;
  color: #fff;
  font-size: 20px;
  line-height: 40px;
}
.collapseTitle span {
  margin-right: 20px;
  background-color: #4861ab;
  width: 25px;
  height: 25px;
  border-radius: 14px;
  display: inline-block;
  line-height: 25px;
  text-align: center;
}
.collapse2ndLevel {
  background-color: #0f3bb6;
}
.collapse3rdLevel {
  background-color: #0342f1;
}

#addContextTime_en .collapseTitle, #addContextTime_de .collapseTitle {
  font-size: 3vw;
}
.collapseContent {
  display: none;
  border-left: 2px solid #012998;/*blue*/
  padding-top: 10px;
  padding-left: 10px;
  width: calc(100% - 14px);
  transition: height 0.2s; /*TODO not working   https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_collapsible_animate*/
}
#addContext h2, #menuSettings h2 {
  height: auto;
  white-space: normal;
}

.formElementInDialog {
  width: 70%;
}

/* BEGIN collapseContent: following overwrites default display:none */
#editValGroupItemSetting,
#editValGroupItemStyle
{
  display: block;
}
/* END collapseContent */



/*For radio button, see setting for html struckture*/
.radio label input[type=radio] {
  position: absolute;
  left: -9999px;
}
.radio label input:checked + span {
  cursor: pointer;
  background-color: #f7f7f7;/*light-grey*/
}
.radio label input:checked + span:before {
  cursor: pointer;
  box-shadow: inset 0 0 0 0.4375em #012998;/*blue*/
}
.radio label span {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 0.375em 0.75em 0.375em 0.375em;
  border-radius: 99em;
  transition: 0.25s ease;
  width: max-content;
}
.radio label span:hover {
  cursor: pointer;
  background-color: #f7f7f7;/*light-grey*/
}
.radio label span:before {
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  content: "";
  background-color: #fff;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  margin-right: 0.375em;
  transition: 0.25s ease;
  box-shadow: inset 0 0 0 0.125em #012998;/*blue*/
}
/*end radio button*/

.tip-text {
  padding-top:5px;
  width: 100%;
  text-align: center;
  font-style: italic;
  color: #F033B4 /*pink*/;
}
.containerdivNewLine {
  clear: both;
  float: left;
  display: block;
  position: relative;
  width: 100%;
}
.disabled, .addItemsItem.disabled {
    pointer-events: none;
    cursor: default;
    opacity: 0.2;
}
.notAllowed {
  cursor: not-allowed !important;
}

/***********
 * General Window *
 * *********/

.window {
  border: 2px solid #FBA90A;/*orange*/
  background-color: #fff;
  border-radius: 14px;
  overflow-x: hidden;
  overflow-y: auto;
  left: 3%;
  top: 2%;
  padding: 10px;
  width: 90%;
  height: 94%;
}

/***************
 * Site Header *
 * *************/
.headermenuwrapper {
  position: relative;
  float: left;
  max-height: 40px;
}
.closeDialog {
  color: #A70F01;/*red*/
  margin-right: 5px;
  padding-left: 14px;
  font-size: 28px;  float: right;
  top: 0;
}
.closeDialog:hover {
  cursor: pointer;
}
.headericon {
  position: relative;
  margin-top: 6px;
  padding-left: 14px;
  font-size: 28px;
  margin
}
.headericon18 {
  position: relative;
  padding-left: 14px;
  padding-right: 6px;
  font-size: 18px;
  text-align: center;
}
.headericon28 {
  position: relative;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 6px;
  padding-right: 6px;
  font-size: 28px;
  text-align: center;
}
.headericon50 {
  position: relative;
  margin-top: -7px;
  padding-left: 4px;
  padding-right: 4px;
  font-size: 50px;

}

.headericon:hover, .headericon18:hover, .headericon28:hover, .headericon50:hover {
  cursor: pointer;
}

#siteHeader {
  position: relative;
  height: 40px;
  padding: 0px 5px;
  background-color: #e9e9e9;
  line-height: 40px;
  overflow: hidden;
  white-space: nowrap;
}
#headerToolTip {
  float: right;
  left: 10px;
  font-size: 20px;
  line-height: 40px;
  text-align: center;
  vertical-align: top;
  margin-left:10px;
}
#HeaderToolTipText {
  line-height: 10px;
  font-size: 10px;
  vertical-align: bottom;
}
#search {
  width: 50px;
  height: 31px;
  background-image: url("../img/searchicon.svg");
  background-position: left;
  background-repeat: no-repeat;
  background-size: contain;
  padding-left: 30px;
  margin-top: 2px;
  transition-duration: 0.05s;
  -moz-transition-duration: 0.05s;
  -webkit-transition-duration: 0.05s;
  -o-transition-duration: 0.05s;
}
#search:focus {
  border: 4px solid #012998;/*blue*/
  margin-top: 1px;
  width: calc(100% - 100px);
  transition-duration: 0.05s;
  -moz-transition-duration: 0.05s;
  -webkit-transition-duration: 0.05s;
  -o-transition-duration: 0.05s;
}
.searchHistoryItem {
  background-color: #e9e9e9;
  padding: 5px;
  border: 2px solid #939393;
  border-radius: 28px;
  margin: 2px;
  line-height: 10px;
  white-space: nowrap;
  width: fit-content;
  float: left;
}

#headerMenuSettingsIcon, #headerNewPage, #saveTL, #undo {
  float: right;
  cursor: pointer;
  line-height: 40px;
/*   margin-right: 14px; */
}

#saveTL, #undo {
  display: none;
}

/*#headerLang>img {//still needed? new called new headerMenuSettings
  margin-top: 12.5px;
}*/
#headerFlagImg {/*TODO probably old and nod needed anymore after settingspage*/
  height: 15px;
}
.headerFlagImg {/*TODO probably old and nod needed anymore after settingspage*/
  height: 25px;
  margin-top: 2px;
}
#menuSettings {
  display: none;
  position: fixed;
  z-index: 90000;
  right: 3px;
  left: 3px;
  top: 3px;
  bottom: 1px;
  width: calc(100% - 30px); /*3 left, 3 right 2x2 border 2x10 padding*/
  height: calc(100% - 30px);/*3 left, 3 right 2x2 border 2x10 padding*/
  background: #fff;
}
#customBceCe input {
  width: 70px;
}
.styleSettingNumber {
  width: 40px;
}
#searchResultWrapper {
  position: absolute;
  z-index: 10000;/*near max value*/
  padding: 0;
  margin-left: 14px;
  width: 80%;
  height: auto;
  min-height: 60px;
  left: auto;
  top: auto;
}
.listItem {
  border-bottom: 1px solid #FBA90A;/*orange*/
  cursor: pointer;
  clear: left;
  min-height: 52px;
  overflow: hidden;
}
.listItem:hover, .SRItemLoadMore:hover {
  background-color: #f7f7f7;/*light-grey*/
}
.listItem:last-child, .SRItemLoadMore, .SRItemFinish {
  border-bottom: none;
  cursor: pointer;
  clear: left;
  min-height: 52px;
  overflow: hidden;
}
.listItem h3 {
  margin: 5px 0px;
}
.SRItemLoadMore {/*overwrite curser from 1 above*/
  min-height: 40px;  
}
.SRItemFinish {/*overwrite curser from 2 above*/
  cursor: default;
  min-height: 40px;
  line-height: 30px;
}
.SRItem:last-child {
  border-bottom: none;
}
.SRIImage {
  float: left;
  height: 52px;
  width: 45px;
  object-fit: cover;
  overflow: hidden;
}
.SRITitle {
  font-size: 18px;
  margin: 0 2px 0 50px;
  line-height: 30px;
}
.SRITitleLoadandFinish {
  font-size: 18px;
  padding: 0 2px 0 50px;
  height: 30px;
/*   overflow: hidden; */
  line-height: 30px;

}
.SRIDescription {
  font-size: 14px;
  margin-left: 50px;
  min-height: 20px;
  overflow: hidden;
  line-height: 20px;
}
.SRIW, .SRIDetails, .SRIBornDied {
  float: right;
  min-height: 52px;
  line-height: 52px;
  color: #000;
  width: 29px;
  text-align: center;
  background-color: #f7f7f7;
}
.SRIW:hover, .SRIDetails:hover, .SRIBornDied:hover {
  background-color: #fff;
}

/*****************************
 * General Setting Page      *
 * ***************************/
#myTimelines, #user {
  display: none;
}

#updateUserLogout {
  background-color: #A70F01;
  border: 2px solid #A70F01;
}

#customBceCe {
  display: none;
}

#axisLabelDensityMinus, #axisLabelDensityPlus {
  min-width: 0;
  height: 30px;
  width: 30px;
  padding: 0;
  margin: 0;
  line-height: normal;
}
#timeAxisTickQuantity {
  display:inline-block;
  text-align: right;
  font-size: 20px;
  width: 20px;
}
.settingTimescaleExample {
  width: 100%;
  height: 25px;
}
.settingsTLElementIcon {
  padding: 3px;
  border: 3px solid #fff;
}
.settingsTLElementIcon:hover {
  background-color: #f7f7f7;
  border: 3px solid #f7f7f7;
  cursor: pointer;
}
#editValGroup .active{
  border: 3px solid #012998;
}
.styleSettingLegend {
  /*no styling, is used in updateLegend to destinct between normal tl item and legend item, so that for anchor calculations are done with right container width*/
}
#editValGroup input[type=text].settingsTLElementIcon {
  height: 15px;
  width: 50px;
}
#symbolTextChooser {
  display: none;
  z-index: 90001;
  position: fixed;
  top: 40px;
  left: 2%;
  width: calc(96% - 25px);
  height: calc(94% - 40px);
}
#symbolTextChooserText {
  height: 36px;
  margin-bottom: 5px;
}
#symbolTextSetText {
  margin: 0px;
  margin-bottom: 5px;
  width: unset;
}
.symbolTextChosen {
  padding: 3px;
  border: 3px solid #fff;
  line-height: 30px;
}
.symbolTextChosen:hover {
  background-color: #f7f7f7;
  border: 3px solid #f7f7f7;
  cursor: pointer;
}

/* add entry Dialog */
#ypAddTLEntry {
  display: none;
  z-index: 91500;
  position: fixed;
  top: 40px;
  left: 2%;
  width: calc(96% - 25px);
  height: calc(94% - 40px);
}

/*
 * set Date Dialog
 */

#ypSetDate {
  display: none;
  z-index: 92000;
  position: fixed;
  top: 40px;
  left: 2%;
  width: calc(96% - 25px);
  height: calc(94% - 40px);
}
.setDateSection {
  clear: left;
}
.setDateEra, .setDateCenturyBCEItem, .setDateYear, .setDateMonth, .setDateDay {
  float: left;
  text-align: center;
  cursor: pointer;
}
.setDateEra:hover, .setDateCenturyBCEItem:hover, .setDateYear:hover, .setDateMonth:hover, .setDateDay:hover {
  background-color: #f7f7f7;
}
.setDateEra {
  width: 50%;
  font-size: 42px;
  height: 200px;
  line-height: 200px;
}
.setDateCenturyBCEItem {
  width: 50px;
  height: 50px;
  line-height: 50px;
}
.setDateYear {
  width: 50px;
  height: 50px;
  line-height: 50px;
}
.setDateMonth {
  width: 50px;
  height: 50px;
  line-height: 50px;
}
.setDateDay {
  width: 50px;
  height: 50px;
  line-height: 50px;
}

/*****************************
 * Intro Page                *
 * ***************************/
#intro {
  display: none;
  position: absolute;
  z-index: 9;
  width: calc(96% - 25px);
  height: unset;
  top: 40px;
  left: 2%;
}
#introExampleImg {
  width: 90%;
  max-width: 800px;
  min-width: 400px;
  margin-left: 0px;
}
#introStart {
  width: 50%;
  margin-left: 50px;
}



/*****************************
 * Timeline                  *
 * ***************************/


/* TL Item Menues (ssm) */
#tlGroupNameMenu, #tlSubGroupNameMenu, #tlValGroupNameMenu {
  position: absolute;
  border: 2px solid #FBA90A;/*orange*/
  padding: 5px;
  min-height: 30px;
  background-color: #fff;
  opacity: 0.6;
}
.tlGroupIcon {
  height: 30px;
  width: 30px;
  cursor: pointer;
  text-align: center;
  line-height: 30px;
  font-size: 20px;
}
.tlGroupIcon:hover {
  background-color: #f7f7f7;
}
/* this is the slash for "disabling-pictures for (sub-)group*/
.fa-slash.redFont.fa-stack-2x {
  font-size: 25px;
}

.tlGroupName {
  cursor: pointer;
}

/* TL other thingies*/

/* TL */
text.tlGroupName:hover, .tlSubGroupName:hover, .TLValGroup:hover, .tlSubGroupAddHidden:hover {
  fill: #F033B4;
  stroke: #F033B4;
  cursor: pointer;
  text-decoration: underline;
  font-weight: bolder;
}

text.timeItem {
  mix-blend-mode: unset;
}

.tlGroupTitleMenu { /*TODO still needed check if in code*/
  display: none;
}

#tipContainer {
  width: 90%;
  margin-left: 5%;
  margin-top: 50px;
}
#tipContainer img {
  width: 100%
}
/*****************************
 * Loading & yaap! Animation *
 * ***************************/
.loading {
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 99999; /* max value*/
}
.loading span {
  position: relative;
  display: inline-block;
  animation: bounce 0.3s ease infinite alternate;
  top: 10px;
  font-size: 35px;
}

@keyframes bounce{100%{top: -5px;}}
.loading span:nth-child(1){color:#FBA90A;/*orange*/}
.loading span:nth-child(2){animation-delay:0.1s;color:#71881B;/*green*/}
.loading span:nth-child(3){animation-delay:0.2s;color:#F033B4;/*pink*/}
.loading span:nth-child(4){animation-delay:0.3s;color:#012998;/*blue*/}
.loading span:nth-child(5){animation-delay:0.4s;color:#A70F01;/*red*/}

/*****************************
 * Search Result loading     *
 * ***************************/
#searchResultLoading {
  display: none;
}
#searchResultLoadMore {
  line-height: 20px;
  font-weight: normal;
  text-align: left !important;
}
#searchResultLoadMore span {
  top: 5px;
  font-size: 20px;
  line-height: 30px;
}
.editValGroupButton {
  min-width: 100px;
}
#viewItemDetailsLoading, #editValGroupLoading, #editValGroupShowPicImagesLoading {
  display: none;
}
#viewItemDetailsWikiLink {
  padding-top: 15px;
  padding-bottom: 15px;
  min-height: 0px;
  cursor: unset;
  line-height: 30px;
  overflow: hidden;
  white-space: nowrap;
}
#viewItemDetailsWikiLink img {
  height: 16px;
}
#viewItemDetailsHeader h1, #viewItemDetailsHeader h2 {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}
#viewItemDetailsHeaderImage {
  border-radius: 42px;
  margin-left: calc(50% - 125px);
  width: 250px;
  margin-top: 2px;
}
#viewItemDetails {
  display: none;
  position: fixed;
  z-index: 40000;
}

/***************************************
 * Edit Val Group and Style Settings   *
 * *************************************/
#editValGroupShowPicWrapper {
  padding-bottom: 30px;
}
.editValGroupShowPicImagesContainer {
  position: relative;
  float: left
}
#editValGroupShowPicImages i {
  position: absolute;
  bottom: 30px;
  left: 10px;
  background-color: #fff;
  border: 2px solid #fff;
}
#editValGroupShowPicImages img {
  height: 60px;
  border: 5px solid #fff;
  cursor: pointer;
}
#editValGroupShowPicImages .active{
  border: 5px solid #012998;
  cursor: pointer;
}
#editValGroup {
  display: none;
  position: fixed;
  z-index: 35000;
} {
  display: none;
  position: fixed;
  z-index: 40000;
  height: 94%;
}

#editValGroup input {
  margin-left: 14px;
}
#editValGroup input[type='checkbox'] {
  width: 20px;
  margin-left: 14px;
}
#editValGroup button {
  margin: 14px 14px;
  width: unset;
}
#editValGroup input[type=text] {
  font-size: 20px;
  height: 50px;
}
#editValGroup .listItem {
  cursor: unset;
}
#editValGroup .listItem:last-child {
  cursor: unset;
  border-bottom: 1px solid #FBA90A;
}
#editValGroup .styleSettingItem {
  border-bottom: 1px solid #FBA90A;
}
.styleSettingSingle-UseDefault {
  display: none;
}

#viewItemDetailsAdd, #viewItemDetailsAddPointTo, #addItemsDetailSearch, #addItemsDetailaddToTL, #translate {
  position: sticky;
}
#viewItemDetailsAdd {
  bottom: 60px;
}
#viewItemDetailsAddPointTo {
  bottom: 0px;
}
#addItemsDetailSearch {
  bottom: 0;
}

#addItemsDetailaddToTL {
  bottom: 0;
}

#addItemsDetails {
  display: none;
  position: fixed;
  z-index: 45000;
  height: 94%;
}
#translate {
  display: none;
  position: fixed;
  height: auto;
  z-index: 48000;
}
#addItemsItemResultContainer {
  display: none;
}
#addItemsDetailsHeader {
  min-height: 50px;
  background-color: #e9e9e9;
  margin: -10px; /*overwrite 10px padding generally for windows)*/
}
#addItemsDetailsHeader h2 {
  margin-top: 0;
  padding-top: 14px;
}
.addItemsDetailsCol {
  float: left;
/*   border-left: 1px solid #f7f7f7; */
  width: 25%;
  overflow: hidden;
}
#addItemsDetailsTime ul {
  margin: 0;
  padding: 0;
}

/*TODO not working*/
/*#addItemsItemSelect { //delete if select in viewItemDetails Timerange is not present anymore
  width: 70%;
}*/
.addItemsItem, .addItemsDetailsDateItem {
  list-style-type: none;
  padding: 2px 0 2px 3px;
  cursor: pointer;
  border: 4px solid transparent;
  width: 80%;
}
.addItemsItem:hover, .addItemsDetailsDateItem:hover {
  background-color: #f7f7f7;/*light-grey*/
  border: 4px solid transparent;
  border-radius: 14px;
}
.addItemsDetailsDateItemDesc {
  font-size: 12px;
  margin-top: 1px;
}
.itemActive, .itemActive:hover {
  border: 4px solid #012998;/*blue*/
  width: 80%;
  border-radius: 14px;
}
.itemActive:hover {
  background-color: #f7f7f7;/*light-grey*/
}

/* Overwrite last col width in header */
#addItemsDetailsHeader>.addItemsDetailsCol:nth-child(3) {
  min-width: calc(33% - 40px);
}
#xViewItemDetails, #xeditValGroup, #xAddItemDetails, #xMenuSettings, #xAddContext, #xtranslate {
  float: right;
  margin-right: 5px;
/*   position: sticky; TODO stick comes in the way with other elements and gives irritating whitespaces. how to solve that sticky works? */
  top: 0;
}
#xAddItemDetails {
  margin-top: -50px
}
.detailValueLine {
  display: grid;
  grid-auto-flow: row;
  grid-gap: 5px;
  grid-template-columns: 150px calc(100% - 150px);  
}
.detailLabel {
  position: sticky;
  top: 0;
  height: min-content;
  margin-top: 5px;
}
.detailValue {
  background-color: #f7f7f7;
  width: 100%;
  float: left;
  margin-top: 5px;

}
.detailValue:hover {
  background-color: #fff;
  cursor: pointer;
}
.detailValue img {
  max-width: 50%;
  max-height: 250px;
}

#addContext {
  display: none;
  position: fixed;
  z-index: 30000;
}

#newTL, #editTLDetails {
  display: none;
  position: fixed;
  z-index: 91000;
}

#newTLForm textarea, #editTLDetails textarea {
  height: 100px;
}

/***********
 * Content *
 * *********/
#content {
  position: relative;
}
#svgTLContainerWrapper {
  position: sticky;
  top: 0;
}
#svgWrapper {
  top: 40px;
  left: 0;
  width: 100%;
/*   height: 100%; */
  overflow: visible;
}
#svgTLContainer, #svgContainer {
  background-color: #fff;
  width: 100%;
  overflow: hidden;
}
#svgTLContainer {
  height: 55px;
}

.sidebarR {
  display: none;
  position: absolute;
  border: 2px solid #FBA90A;
  background-color: #fff;
  padding: 10px;
  z-index: 20000;
}

.sidebarR button {
  font-size: 16px;
}

#loadFullPage {
  display: none;
  position: fixed;
  z-index: 99000;
  height: 100%;
  width: 100%;
  right: 0;
  top: 0;
  background-color: rgba(0,0,0,.5);
  overflow-wrap: break-word;
}
#loadFullpageClose {
  margin-top: 90px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
}

#loadFullPage > .loading {
  margin-top: 10%;
  background: #fff;
  height: 200px;
  margin-left: auto;
  margin-right: auto;
  max-width: 50%; 
  padding-top: 100px;
  border-radius: 42px;
  border: 5px solid #FBA90A;/*orange*/
}

#legend, #licenses-intro, #licenses-additional, #licences{
  display: none;
  font-size: 10px;
  color: #939393;
  padding-left: 15px;
}
/*********************
 * Large Screens LSM *
 * *******************/
@media only screen
and (min-width : 1000px) {
  
  
  #intro img {
    width: unset;
  }

  #tipContainer {
    width: 80%;
    margin-left: 10%;
  }
  
  .sidebarR {
    position: fixed;
    border-top:  2px solid #FBA90A;
    border-right: 0px;
    border-bottom: 0px;
    border-left: 2px solid #FBA90A;
    right: 0px;
    left: unset;
    top: 40px;
    width: 398px; /* 300-2 because of border-left*/
    padding: 5px;
  }

  #myTimelines button {
    margin: 7px 7px;
    width: 40%;
  }

  #symbolTextChooser {
    width: 95%;
  }

  #editValGroupLabel {
    width: 80%;
  }
  
  #addContextTime_en .collapseTitle, #addContextTime_de .collapseTitle {
    font-size: 20px;
  }
  #search {
    position:relative;
    width: 600px;
    height: 31px;
  }
  #search:focus {
    width: 600px;
    height: 31px;
  }
  #searchResultWrapper {
    width: 720px;
  }
  .detailValue img {
    max-width: 25%;
    max-height: 250px;
  }
  #viewItemDetailsContent {
    grid-template-columns: 200px calc(100% - 200px);
  }
}
