html, body{
    margin:0;
    padding:0;
    box-sizing: border-box;
    width: 100%;
}
h1 {
    font-weight: 800;
    font-size: 2.8rem;
    line-height: 3.4rem;
}
h2{
    line-height: 1.4em !important;
}
h3{
    font-size: 1.5rem;
    line-height: 1.7rem;
    font-weight: 800;
}
@font-face {
    font-family: 'firaRegular';
    font-style: normal;
    src: url("/static/fira/FiraSans-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "firaExtraBold";
    font-style: normal;
    font-weight: bolder;
    src: url("/static/fira/FiraSans-ExtraBold.ttf") format("truetype");
}
@font-face {
    font-family: "firaMedium";
    font-style: normal;
    font-weight: 400;
    src: url("/static/fira/FiraSans-Medium.ttf") format("truetype");
}
body{
    background-color: #fff;
    font-family: 'firaMedium', sans-serif;
    font-size: 100%;
    margin: 0 auto;
    border: solid;
    border-radius: 5px;
    border-width: 0px;
    border-color: rgb(185, 180, 190);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display: flex;
    flex-direction: column;
    min-height: 100vh;    
}
header{
    position: fixed;
    background-color: white;
    display: block;
}
nav {
  
    unicode-bidi: isolate;
}
.menu {
    text-align: center;
    font-size: 150%;
    display: none;
}
.big_menu{
       text-align: center;
    font-size: 150%;
    position: absolute;
    top: 50px;
    right: 10vw;
}
.notes_Results{
    margin-left:auto !important;
    margin-right: auto !important;
}

.notes_Results .search-results-box{
    background:white !important;
}
.mobile-menu {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 99;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1em;
    width: 100%;
    background-color: #00294c;
}
.menu-item {
    margin: auto 15px;
    text-shadow: 2px 2px 0px rgb(224, 224, 224);
}

#filter-icon{
    display:none;
}
#filter-toggle{
    display: none;
}
.glow{
    text-shadow: 5px 5px 5px #ffffff53, -5px 5px 5px #ffffff53, 5px -5px 5px #ffffff53, -5px -5px 5px #ffffff53;
}

.card{
    border: 1px solid black;
    border-radius: 5px;
    box-shadow: 5px 5px 5px gray;
    padding: 10px;
}

button{


    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1.2rem;
}
input{
    font-size: 1.2rem;
    padding: 5px 10px;
}

.ml-10{
    margin-left:10px;
}

#results{
    margin-top: 50px;
}

.result{
    margin-bottom: 7px;
    border-bottom: 1px solid grey
}

textarea{
    width: 500px;
    height: 150px;
    margin-top: 10px;
}

.clickable{
    cursor: pointer;
    color: blue;
    margin: 10px;
    display: inline-block;

}

.dropdown{
    color:black;
    cursor:auto;
    display: table;
    margin-top: 10px;
}

.hidden{
    display:none;
}
canvas{
    top: 0;
    left: 0;
    z-index: 100; /* Canvas unterhalb des div */
}
#statsWindow{
    position: absolute;
    top: 1vw;
    left: 1vh;
    border: 1px solid red;
    background: white;
    font-size: 1.2rem;
    padding: 20px;
    min-width: 15vw;
}

#searchBtnWindow{
    text-decoration: none;
    background: green;
    color: white;
    padding: 10px 20px;
    margin-top: 20px;
    display: inline-block;
}

#search-main{
    background-image: url("../img/Datenbank_Hintergrund.jpg");
    background-repeat: no-repeat;
    position: fixed;
    background-attachment: scroll;
    background-size: cover;
    height: 100vh;
    width: 100vw;
    padding-top: 150px;
    min-height: 100vh;
    padding-bottom: 150px;
}

#ergebnisse{
    padding-left: 10vw;
    padding-right: 10vw;
    padding-top: 50px;
    padding-bottom:50px;
    display: flex;
    align-items: flex-start;

}
#ergebnisse input::placeholder{
    font-size: 1rem; 
    color: #8e8e8e;
}
#filter{
    width: 30%;
    margin-right: 10%;
    align-items: flex-start;
}
#filter > div{
    border-top: 1.5px solid #00000025;
    padding:20px;
    background: #ffffff;
}
.outer-search-box{
    background: white;
}
#filter h2{
    text-align: left;
    font-weight: 800 !important;
}

#filter input[type="checkbox"]{
    border-radius: 0 !important;
}

#filter input[type="number"]{
    width: 100px;
}
#filter span{
    display: inline-block;
    
}

#filter > div > div {
    margin-bottom: 10px;
}

#filter > div:last-child{
    border-bottom: 1.5px solid #00000025;
}

#filter #searchBtn{
    cursor: pointer;
    background: #007DC0;
    width: 100px;
    margin-top:10px;
    color: white;
    text-align: center;
    font-size: 1.7rem;
    padding: 5px 50px;
}

#search-results{
    width: 60%;
    min-height: 100vh;
}
.flex{
    display:flex;
    justify-content: space-between;
}
.search-results-box{
    padding:50px !important;
    padding-left: 20px;
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
    background: #275efe12;
    padding-top: 10px;
}

.search-results-box h2{
    text-align: left;
    padding-right: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.iblue{
    color:#007dc0;
    font-style: italic;
}
.light{
    color: #007dc0;
    font-style: italic;
}

.note-box{
    position: absolute;
    right: 15px;
    top: 15px;
    border: 2px solid #007DC0;
    height: 20px;
    width: 60px;
    cursor: pointer;
}
.note-box:hover .note-title{
    display:block
}
.note-title{
    position: absolute;
    right: 0px;
    top: 25px;
    background: white;
    padding: 2px 5px;
    width: 200px;
    border: 1px solid black;
    display: none;
}
.inner-note-box{
    height: 5px;
    width: 15px;
    border: 2px solid #007DC0;
    top: 6px;
    position: absolute;
    left: 20px;
    background: white;
}

.marked{
    background: #007DC0;
}

.border{
    border: 1px solid black;
}

.trash-box{
    position: absolute;
    top: 40px;
    right: 10px;
    font-size: 2.2rem;
    color: orangered;
    cursor: pointer;
}
.ml--30{
    margin-left: -30px;
}
.mr-30{
    margin-right: 30px;
}
#modifier{
    display:flex;
    justify-content: space-between;
    color: #5a5a5a
}
#modifier div{
    font-size: 1.2rem;
    font-weight: bold;
}
#alltonotes{
    cursor:pointer
}

#states div{
    display: flex;
}

#states label{
    line-height: 1.2rem;
    align-content: space-around;
}

#states-wrapper, #court-wrapper{
    width: 100%;
    display: flex;
    flex-wrap: wrap
}

#labelwrapper > div:nth-of-type(2) span{
    left: 10%;
} 
#states-wrapper > div, #court-wrapper > div{
    width: 50%;
    height: 25px;
    margin-bottom: 10px;
    font-weight: bold;

}

.all-Entries-Banner{
    position: relative;
    display: inline-block;
}

.all-Entries-Banner img{
    height: 380px
}

.all-Entries-Banner span{
    display: inline-block;
    position: absolute;
    left: 20%;
    top: 45%;
    width: 50%;
    text-align: center;
    color: #007DC0;
    font-weight: bold;
    font-size: 1.6rem;
    line-height: 2rem;
    text-transform: uppercase;
    text-shadow: 5px 5px 5px white, -5px 5px 5px white, 5px -5px 5px white, -5px -5px 5px white;
}

i{
    cursor:pointer
}

.text-content {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
    line-height: 1.2rem;
  }
  
  .text-content.expanded {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
  }
.toggle{
    font-size: 1rem;
    cursor: pointer;
    color:#007DC0;
}
.hidden-imp{
    display:none !important;
}
#pagination {
  margin-top: 20px;
}
#pagination button {
  margin: 0 5px;
  padding: 5px 10px;
  cursor: pointer;
    background: white;
    border: 0;
    color: #007dc0;
}
#pagination .active-page {
  font-weight: bold;
  background-color: #f1f3f4;
}
.pbfirst{
    margin-left: 0 !important;
    padding-left:0 !important;
}
.hidden-i{
    display:none !important;
}

#pagination button{
    font-size: 1rem !important;
}

#shareLink-wrapper{
    position: absolute;
    top: -70px;
    left: -100px;
    background: #e7e7e7;
    padding: 10px;
    border: 1px solid;
    width: 350px;
    font-size: 1rem;
}

#export-icon-wrapper i{
    font-size: 1.7rem;
}

.res_id{
    color: #007DC0!important;
}
.res_norm, .res_questions, .res_pdf{
    color: #5a5a5a;
}

h2.res_title{
    line-height: 1.5rem !important;
    text-transform: none;
}
#shown{
    width: unset !important
}

.noborder{
    border: 0px !important
}

.badge{
    display: inline-block;
    background: yellow; 
    padding: 5px 10px; 
    margin-right: 10px;
    border-radius: 15px;
}

.remove-norm-badge{
    cursor: pointer;
    color:red;
    display: inline-block;
    margin-left: 5px;
    font-weight: bold;
}

.search-box-outer{
    background:white;
    margin-bottom: 20px;
}

.index_batch{
    position: absolute;
    top: 15px;
    border: 1px solid;
    padding: 5px 10px;
    border-radius: 15px;
    color: white;
}

.escape_batch{
    background: #9ca169;
}
.jura_batch
{
    background: #7f8873
}
.politics_batch{
    background:#afada1
}