@font-face {
    font-family: "Montserrat-Light";
    src: url("../../Public/fonts/MONTSERRAT-LIGHT.eot"); /* IE9 Compat Modes */
    src: url("../../Public/fonts/MONTSERRAT-LIGHT.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("../../Public/fonts/MONTSERRAT-LIGHT.otf") format("opentype"), /* Open Type Font */
    url("../../Public/fonts/MONTSERRAT-LIGHT.svg") format("svg"), /* Legacy iOS */
    url("../../Public/fonts/MONTSERRAT-LIGHT.ttf") format("truetype"), /* Safari, Android, iOS */
    url("../../Public/fonts/MONTSERRAT-LIGHT.woff") format("woff"), /* Modern Browsers */
    url("../../Public/fonts/MONTSERRAT-LIGHT.woff2") format("woff2"); /* Modern Browsers */
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat-SemiBold";
    src: url("../../Public/fonts/MONTSERRAT-SEMIBOLD0.eot"); /* IE9 Compat Modes */
    src: url("../../Public/fonts/MONTSERRAT-SEMIBOLD0.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("../../Public/fonts/MONTSERRAT-SEMIBOLD0.otf") format("opentype"), /* Open Type Font */
    url("../../Public/fonts/MONTSERRAT-SEMIBOLD0.svg") format("svg"), /* Legacy iOS */
    url("../../Public/fonts/MONTSERRAT-SEMIBOLD0.ttf") format("truetype"), /* Safari, Android, iOS */
    url("../../Public/fonts/MONTSERRAT-SEMIBOLD0.woff") format("woff"), /* Modern Browsers */
    url("../../Public/fonts/MONTSERRAT-SEMIBOLD0.woff2") format("woff2"); /* Modern Browsers */
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "Montserrat-Light", sans-serif;
    color: #3e4c5b;
    padding-top: 2rem;
}

h1, h2, h3, h4, h5, legend {
    font-family: "Montserrat-SemiBold", sans-serif;
    margin-bottom: 1em;
}

.btn,
input[type="submit"],
p a {
    background-color: #98cb2a;
    color: #3e4c5b;
    padding: 0.25rem 2rem;
    border: 1px solid #98cb2a;
    border-radius: 0.25rem;
    transition: background-color 0.25s, color 0.25s;
}

.btn-outline {
    color: #98cb2a;
    background: none;
}

.btn:hover,
.btn:focus,
.btn:active,
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="submit"]:active,
p a:hover,
p a:focus,
p a:active {
    background-color: white;
    color: #98cb2a;
    transition: background-color 0.25s, color 0.25s;
    outline: none;
    text-decoration: none;
}

.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active {
    color: #3e4c5b;
    border-color: #3e4c5b;
}


/* Login Form */

.frame-type-felogin_login p {
    text-align: center;
}

.frame-type-felogin_login form {
    background-color: #e6e6e6;
    padding: 1rem;
    max-width: 36rem;
    margin: auto;
    margin-bottom: 2rem;
}

.frame-type-felogin_login form fieldset {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
}

.frame-type-felogin_login form legend {
    text-align: center;
    margin-bottom: 0;
}

.frame-type-felogin_login form label {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 1rem auto;
}

.frame-type-felogin_login form label input {
    max-width: 100%;
}

.frame-type-felogin_login form input[type="submit"] {
    display: block;
    margin: 1.5rem auto 0;
}

.frame-type-text p {
    display: block;
}

.frame-type-text p a {
    display: table;
    margin: auto;
}


/* EVT Export */

.evt-export {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: center;
    justify-content: space-around;
    margin-bottom: 2rem;
}

.evt-export a {
    margin: 0.5rem;
    padding: 0.25rem 1rem;
    width: calc(33.333% - 3rem);
}

@media screen and (max-width: 36rem) {
    .evt-export a {
        width: calc(50% - 2rem);
    }
}

@media screen and (max-width: 26rem) {
    .evt-export a {
        width: calc(100% - 1rem);
    }
}

/* Filter Section */

#tx-solr-search .search_container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

#tx-solr-search .search_container:nth-child(3) {
    margin: 1rem 0;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
}

.search_item {
    width: 33.333%;
    max-width: 33.333%;
    min-width: 33.333%;
    padding: 0 0.5rem;
    margin: 0 0 0.5rem;
}

@media screen and (max-width: 36rem) {
    .search_item {
        width: 50%;
        max-width: 50%;
        min-width: 50%;
    }
}

@media screen and (max-width: 26rem) {
    .search_item {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        padding: 0;
        margin: 0;
    }
}

.evt-facet-label {
    font-family: Montserrat-SemiBold, sans-serif;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: #98cb2a;
}

#tx-solr-search .tx-solr-search-form {
    padding: 0 0.5rem;
    width: 66.666%;
}

#tx-solr-search .tx-solr-search-form form {
    background-color: white;
    max-width: unset;
    margin: 0;
    padding: 0;
}

#tx-solr-search .tx-solr-search-form .input-group {
    -ms-flex-align: center;
    align-items: center;
}
#tx-solr-search .tx-solr-search-form .input-group .form-control {
    margin-right: 0.5rem;
}

.sort_button {
    padding: 0 0.5rem;
}

#sortDropDown {
    padding: 0.25rem 1rem;
}

.tx-solr-submit {
    padding: 0.25rem 1rem;
}

div#tx-solr-search>p.evt-facet-label {
    padding-left: 0.5rem;
    margin-bottom: -0.75rem;
}

@media screen and (max-width: 36rem) {
    #tx-solr-search .tx-solr-search-form {
        padding: 0 0.5rem;
        width: 100%;
    }

    .sort_button {
        padding: 0.5rem;
        margin-top: 1rem;
    }
}

@media screen and (max-width: 26rem) {
    #tx-solr-search .tx-solr-search-form {
        padding: 0;
        width: 100%;
    }

    div#tx-solr-search>p.evt-facet-label {
        padding-left: 0;
    }

    .sort_button {
        padding: 0;
    }
}

.ui-datepicker {
    z-index: 999 !important;
}

.close-icon {
    width: 24px; height: 24px;
    padding: 0; margin: 0;
}

.facet-type-dateRange .datepicker {
    width: 10px !important;
}

.flex-give {
    flex: 0 1 50%;
}

/* Table */

.table {
    position: relative;
}

.table thead tr:nth-child(1), .table thead th {
    background-color: #e6e6e6;
}

.table thead th {
    position: sticky;
    top: -1px;
    z-index: 99;
}

.table .form-icon-wrap,
.table td {
    white-space: nowrap;
}

.table td:nth-of-type(2) {
    white-space: normal;
}

.table .evt-icon-wrap .evt-sort-icon {
    color: #98cb2a;
    font-size: 1.2rem;
}

.table .evt-icon-wrap .evt-sort-icon:hover,
.table .evt-icon-wrap .evt-sort-icon:focus,
.table .evt-icon-wrap .evt-sort-icon:active {
    color: #3e4c5b;
    text-decoration: none;
}

#tx-solr-search .col-md-12 {
    width: unset;
    max-width: unset;
}

#tx-solr-sorting .dropdown-menu {
    transform: translateX(-70%) !important;
    background-color: #3c3c3c;
    border: 2px solid #3c3c3c;
    border-radius: 0;
    padding: 0;
}

#tx-solr-sorting .dropdown-menu li {
    border: 1px solid #3c3c3c;
}

#tx-solr-sorting .dropdown-menu li:hover,
#tx-solr-sorting .dropdown-menu li:focus,
#tx-solr-sorting .dropdown-menu li:active {
    background-image: linear-gradient(179deg, #ff6e2d, #e66630);
    border: 1px solid #b45528;
}

#tx-solr-sorting .dropdown-menu li a {
    color: #e7e7e7;
    font-weight: bold;
    text-decoration: none;
    padding: 0.2rem 0.5rem;
}


/* change marks */

table.table.table-striped tr > td.evt-changed {
    background-color: #8ac3ee !important;
    border-color: #58a2db !important;
}

table.table.table-striped tr.evt-eingestellt > td {
    background-color: #ff514d;
    border-color: #dc2827;
}


td.evt-changed .evt-solr-diff {
    display: none;
}

td.evt-changed:hover .evt-solr-diff {
    display: block;
}

.table-responsive {
    overflow-y: hidden;
}

h1, h2, h3 {
    text-align: center;
}


/* Import Changes Page */

.container-fluid form, .container-fluid .form {
    background-color: #e6e6e6;
    padding: 1rem;
    max-width: 36rem;
    margin: auto;
    margin-bottom: 2rem;
}

.container-fluid form a.btn, .container-fluid .form a.btn {
    display: block;
    margin: auto;
}

.container-fluid form>input, .container-fluid .form>input {
    display: block;
    margin: 1rem auto;
}

.container-fluid form>input.w-100, .container-fluid .form>input.w-100 {
    margin: auto;
}

.container-fluid>.frame>.container>p:first-of-type a {
    display: table;
    margin: auto;
}

.container-fluid>.frame>.container>p:nth-of-type(2) {
    margin-top: 2rem;
}

.container-fluid>.frame>.container>table th,
.container-fluid>.frame>.container>table td {
    padding: 0.5rem 2rem;
}

.container-fluid>.frame>.container>a {
    margin: 1rem auto 2rem;
    display: table;
}

.alert {
    font-size: .9rem;
    border-radius: 3px;
    box-shadow: 0 2px 3.5px -2px rgba(60, 60, 60, .78)
}
.alert-success {
    box-shadow: 0 2px 3.5px -2px rgba(45, 80, 53, .78)
}
.alert-info {
    box-shadow: 0 2px 3.5px -2px rgba(45, 53, 80, .78)
}
.alert-warning {
    box-shadow: 0 2px 3.5px -2px rgba(105, 88, 36, .78)
}
.alert:last-child {
    margin-bottom: 0;
}

.alert label {
    margin: .2rem 0;
}

.alert table.evt {
    width: 100%;
}

select[multiple="multiple"] {
    height: 120px !important;
}

.table-striped tbody tr:nth-of-type(odd) td {
    background-color: #ECECEC;
}
.table-striped tbody tr:nth-of-type(even) td {
    background-color: #FFF;
}
