@font-face {
    font-family: 'Gilroy-Medium';
    src: url('../fonts/Gilroy-Medium.ttf');
}

@font-face {
    font-family: 'Gilroy-Bold';
    src: url('../fonts/Gilroy-Bold.ttf') ;
}

@font-face {
    font-family: 'Gilroy-Heavy';
    src: url('../fonts/Gilroy-Heavy.ttf');
}

@font-face {
    font-family: 'Gilroy-Light';
    src: url('../fonts/Gilroy-Light.ttf') ;
}

@font-face {
    font-family: 'Gilroy-Regular';
    src: url('../fonts/Gilroy-Regular.ttf');
}


div.site-wrapper {
    padding: 10px;
    padding-top: 0px;
    height: auto;
    min-height: calc(100vh - 160px);
    margin: 0 auto;
    max-width: 1280px;
}

body, * {
    font: 15px 'Gilroy-Medium', sans-serif;
}

a {
    text-decoration: none;
    color: #000;
    font: 15px 'Gilroy-Bold', sans-serif;
}

a:hover {
    text-decoration: underline
}

.float-right {
    float: right;
}

.margin-bottom {
    margin-bottom: 25px;
}

.black {
    color: #000;
}

div.col-9.margin-left {
    margin-left: 0px;
    max-width: 60%;
    padding-left: 25px;
    padding-bottom: 5px;
}

/*  NAV */
.topnav {
    overflow: hidden;
    /* border-bottom: 2px dotted #ddd; */
    /* background-color: lightgrey; */
    height: 80px;
    line-height: 80px;
    padding: 20px;
}

div.brand {
    display: inline-block;
    float: left;
}

div.brand h1 {
    margin: 0 15px;
}

div.brand h1 a {
    font-size: 3rem;
}

.topnav a {
    display: inline-block;
    color: #000;
    text-align: center;
    text-decoration: none;
    font-family: 'Gilroy-Bold';
}

.menu a:hover {
    background-color: rgba(0, 0, 0, 0.15);
    color: #000;
}

div.menu a {
    font-size: 1.5rem;
    padding: 10px 15px;
}

.topnav a.active {
    background-color: #3354AA;
    color: #FFF;
}

/* SEARCH */
#searchform {
    width: 100%;
    position: relative;
    display: flex;
}

.searchTerm {
    font-size: 25px;
    width: 100%;
    border: 3px solid lightgrey;
    border-right: none;
    padding: 5px;
    height: 50px;
    border-radius: 5px 0 0 5px;
    outline: none;
    color: #000000;
}

.searchTerm:focus {
    border: 2px solid gray;
}

.searchButton {
    width: 65px;
    height: 65px;
    border: 1px solid lightgrey;
    background: darkgray;
    text-align: center;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 20px;
}

/*Resize the wrap to see the search bar change!*/
.search-container {
    width: 75%;
    margin: 0 auto;
}

.searchFilter {
    max-width: 900px;
    margin: 120px auto;
    padding: 50px;
}

.searchFilter .bottom {
    padding-bottom: 20px;
}

/* TABELLE */

div.col-10.table {
    float: none;
    margin: 0 auto;
}

div.col-8.table {
    margin: 0 auto;
}

.RespTable th {
    padding: 5px;
    width: initial;
    background-color: #f4f1ee;
    font-family: Gilroy-Bold;
    padding: 15px;
    text-align: center;
}

.RespTable th.width {
    width: 20%;
}

.RespTable td {
    padding: 5px;
    height: 25px;
    border-bottom: 1px dotted;
}

.RespTable td.min-width {
    min-width: 12%;
    max-width: 12%;
    white-space: nowrap;
}

.RespTable.border-none td {
    border: unset;
}

.RespTable.border-none td:nth-child(1) {
    font-family: 'Gilroy-Bold';
}

@media all and (max-width: 640px) {
    .RespTable, .RespTable thead, .RespTable tbody, .RespTable tr, .RespTable th, .RespTable td {
        display: block;
    }

    .RespTable thead {
        position: absolute;
        top: -1111px;
        left: -1111px;
    }


    .RespTable td:last-child {
        border-bottom: 2px dotted;
    }

    .oddRow {
        background: #fff;
    }

    .oddCol {
        background: #fff;
    }
}


/* SELECT */
.selector select {
    background: #fff;
    width: 150px;
    font-size: 16px;
    border: 1px solid #ccc;
    height: 34px;
    margin: 0 10px;
}

.select {
    margin: 50px;
    width: 120px;
    height: 34px;
    border: 1px solid #111;
    border-radius: 3px;
    overflow: hidden;
    /* background: url(http://www.stackoverflow.com/favicon.ico) 96% / 20% no-repeat #ddd; */
}

/* FILTER */
#filter {
    text-align: center;
}

.filter {
    padding-top: 50px;
}

.filter label {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 10px;
}

@media all and (max-width: 880px) {
    .filter label {
        display: none;
    }

    .selector select {
        display: block;
        margin: 7px auto;
        width: 100%;
    }

    .selector select.selectChoice {
        display: block;
        float: left;
        width: 50%;
        margin-bottom: 25px;
    }
}

/* FILTER BUNDESLAND */
div.col-3.landfilter {
    float: right;
    border: 1px dotted lightgrey;
}

a.land {
    display: block;
    font-size: 18px;
    font-family: 'Gilroy-Bold';
    text-align: end;
    margin-top: 50px;
}

a.btn-land {
    display: block;
    padding: 10px 0;
    margin: 0px;
    font-size: 16px;
    cursor: pointer;
    text-align: end;
    color: #999;
}


/* CPVCODES */
section.hit {
    padding-left: 30px;
    padding-bottom: 20px;
}

.round {
    background-color: #e2e2e2;
    border-radius: 50%;
    width: 21px;
    padding: 3px;
    display: inline-block;
    text-align: center;
}

.current {
    background-color: #3354AA;
    color: #e2e2e2;
}

.round:hover {
    background-color: darkgray;
}

.alphabet:first-of-type, .number:first-of-type {
    margin-left: 0;
}

.alphabet, .number {
    font-size: 1rem;
    margin: 0 3px;
}


div.row.number {
    text-align: center;
    margin-bottom: 75px;
}

.small {
    padding: 0;
    padding-bottom: 50px;
    margin: 0 auto;
}

.row-alphabet {
    padding-bottom: 15px;
    text-align: center;
}


/*DETAIL VIEW*/
.details {
    font-size: 0.8rem;
    color: #777777;
}

.col-3.details {
    text-align: right;
}

/* PAGINATION */

.pagination {
    text-align: center;
    margin: 3em;
}

.pagination-number {
    padding: 0.5em 0.8em;
    border-radius: 50%;
    color: #3354AA;
    background-color: #e2e2e2;
}

.pagination-number:hover {
    background-color: darkgray;
}

.pagination-current {
    background-color: #000080;
    color: #e2e2e2;
}

.pagination-action {
    margin: 0 0.1em;
    display: inline-block;
    padding: 0.5em 0.5em;
    color: #000;
    font-size: 1.3em;
}

.pagination-action:hover, .pagination-previous, .pagination-next {
    color: #000;
}

/* DEATAIL-VIEW */
div.row.cpv {
    /*margin: 100px 0;*/
    padding-top: 40px;
}

/* FOOTER */
footer {
    margin: 0 auto;
    line-height: 40px;
    text-align: center;
    padding: 20px;
    background: #f4f1ee;
}

th {
    text-align: left;
    padding-right: 20px;
    width: 1px;
}

footer > a {
    padding: 20px;
    color: #000;
}

footer p {

}

table {
    width: 100%;
    position: relative;
    max-width: 1280px;
}

td > input#id_date {
    position: absolute;
        top: -74px;
    right: 30px;
    min-height: 34px;
    line-height: 30px;
    padding-left: 15px;
    /* text-align: center; */
    min-width: 160px;
}

td > input[type='search']#id_q {
    position: absolute;
        top: -77px;

}

h1 {
    font-family: inherit;
    font-weight: 700;
    letter-spacing: normal;
    font-size: 20px;
    padding: 17px;
    background-color: #91d5bd;
}

tr:nth-child(even) {
    background: #fff
}

tr:nth-child(odd) {
    background: #FFF
}

select {
    min-width: 300px;
    max-width: 300px;
}

input[type=search] {
    width: 100%;
    font-size: 1em;
}

input[type=button], input[type=search], input[type=submit] {
    background-color: #FFFFFF;
    border: 1px solid grey;
    color: black;
    padding: 12px 12px;
    text-decoration: none;
    margin: 0px 0px 0px 0px;
    cursor: pointer;
}

input[type=button]:hover {
    background-color: #fafafa;
}

input[type=search] {
    width: 300px;
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    max-width: 600px;
    position: relative;
    transition: all 1s ease-in-out;
    z-index: 2;
}

.popup h2 {
    margin-top: 0;
    color: #333;
}

.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-family: 'Gilroy-Bold';
    text-decoration: none;
    color: #333;
}

.popup .close:hover {
    color: #06D85F;
}

.popup .content {
    max-height: 30%;
    overflow: auto;
}

.check > .al > form > p > input {
    min-height: 40px;
}

.check > .al > form > p {
    display: inline;
}

.check > .al > form > input[type=submit] {
    color: black;
    background: #91d5bd;
    float: right;
    display: inline;
    min-width: 138px;
    width: 200px;
    height: 46px;
    border-radius: 0px;
    margin-top: 0px;

}

.box {
    margin-top: 40px;
    margin-bottom: 20px;
}

.box > .button {
    background: #91d5bd;
    padding: 20px;
    color: #000000;
    padding: 20px;
    border-radius: 55px;
}

.terms {
    font-weight: 700;
}

ul.messages {
    margin-top: 40px;
}

ul.messages > li {
    padding: 20px;
}

.success {
    color: #91d5bd;
    font-family: 'Gilroy-Bold';
    border: 2px solid #91d5bd;
}

.error {
    color: #FFD3BF;
    font-family: 'Gilroy-Bold';
    border: 2px solid #FFD3BF;
}

.info {
    background: #f4f1ee;
    color: black;
    font-family: 'Gilroy-Bold';
    border: 2px solid #f4f1ee;
}

button {
    background: none;
    border: none;
    font-size: 15px;
    font-family: 'Gilroy-Bold';
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.25px;
}

label {
    font-size: 15px;
    font-family: 'Gilroy-Bold';
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.25px;
}

.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 32px;
    user-select: none;
    -webkit-user-select: none;
}

.select2-container {
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    position: relative;
    vertical-align: middle;
    /*min-height: 41px;*/
}
.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 2px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 33px;
}
input[type=submit]{
    width: 242px;
  border-radius: 55px;
  background-color: #95d4bd;
    border: none;
    letter-spacing: 0.55px;
    font-family: Gilroy-Bold;
       line-height: 12px;
    margin-top: 4px;
}
.select2-container--default .select2-selection--single .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 1.25em;
}
.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 33px;
    user-select: none;
    -webkit-user-select: none;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 33px;
}
.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
    min-width: 5px;
    min-height: 5px;
}

.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}
a.button.update{
    padding-top: 12px;
    padding-bottom: 10px;
    float: right;
}
.description{
        background-color: #f4f1ee;
    padding: 20px 20px 20px 10px;
    margin: 10px 0px 30px 0px;
}
.popup>.content> p, .cookie-header-msg>p, .check > .al > form > p {
        font-size: 1.125rem;
    font-weight: 200;
    line-height: 1.8;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
.centered{
    margin: 0 auto;
    max-width: 400px;
    min-height: 300px;
    position: fixed;
    top: 40%;
    left: calc(50% - 200px);
    text-align: center;
}
.centered.box > p{
        margin-bottom: 50px;
}
.centered.box > a.button.update{
    margin-top: 20px;
    float: inherit;
}

.daterangepicker.show-ranges.ltr .drp-calendar.left {
   transform: inherit;
}
.daterangepicker.show-ranges.ltr .drp-calendar.right {
   transform: inherit;
}

#searchButton{
    min-width: 300px;
}

.pointer{
    cursor: pointer;
}