/*-----------------------------------------*/
/*--- 1. Cookies                    -------*/
/*--- 2. Search                     -------*/
/*--- 3. Powermail Forms            -------*/
/*-----------------------------------------*/

/*--- 1. Cookies                     ------*/
/* Cookie Settings Button */
#tx_cookies .cookieSettings-btn {
    display: none;
}

/* Cookie Selection Box */
#tx_cookies #tx_cookies_inner {
    position: relative;
    top: 0;
    bottom: unset;
    z-index: unset;
    background-color: #E8EDEE;
    padding: 20px;
}
#tx_cookies #tx_cookies_inner .show {
    display: block;
}
#tx_cookies #tx_cookies_inner #tx_cookies_close {
    display: none;
}
#tx_cookies #tx_cookies_inner #tx_cookies_close::after {
    content: "";
    padding: 0;
}
#tx_cookies #tx_cookies_inner h2 {
    margin: 0px 0 10px;
}
#tx_cookies #tx_cookies_inner h2:before {
    content: none;
}
#tx_cookies #tx_cookies_inner a {
    color: inherit;
}
#tx_cookies #tx_cookies_inner .cookie-controls {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
#tx_cookies #tx_cookies_inner .cookie-controls form {
    width: 100%;
}
#tx_cookies #tx_cookies_inner .cookie-controls input {
    width: 100%;
}
#tx_cookies #tx_cookies_inner .btn-primary,
#tx_cookies #tx_cookies_inner .primary-btn,
#tx_cookies #tx_cookies_inner .btn-secondary {
    display: inline-block;
    padding: 8px 25px;
    outline: none;
    border: 0;
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
    text-decoration: none;
}
#tx_cookies #tx_cookies_inner .btn-primary,
#tx_cookies #tx_cookies_inner .primary-btn {
    background-color: #E6007D;
    color: #fff;
}
#tx_cookies #tx_cookies_inner .btn-secondary {
    background-color: #D80D45;
    color: #fff;
}
#tx_cookies #tx_cookies_inner .btn-primary:hover,
#tx_cookies #tx_cookies_inner .primary-btn:hover,
#tx_cookies #tx_cookies_inner .btn-secondary:hover,
#tx_cookies #tx_cookies_inner .btn-primary:focus,
#tx_cookies #tx_cookies_inner .primary-btn:focus,
#tx_cookies #tx_cookies_inner .btn-secondary:focus {
    background: #FFB81C!important;
    color: #231F20!important;
    box-shadow: none!important;
    text-decoration: underline;
}

/* Cookie Page Only */
.cookies-btn #tx_cookies #tx_cookies_showPermanent,
.cookies-btn #tx_cookies #tx_cookies_inner {
    position: static;
    transition: none;
}
.cookies-btn #tx_cookies #tx_cookies_inner #tx_cookies_close {
    display: block;
    width: auto;
}

/* Cookies Media Queries */
@media screen and (max-width: 576px) {
    #tx_cookies #tx_cookies_inner .show {
        display: inline-block;
    }
    #tx_cookies #tx_cookies_inner .cookie-controls {
        justify-content: flex-start;
        gap: 0;
        flex-direction: column;
    }
    #tx_cookies #tx_cookies_inner #tx_cookies_close {
        float: none;
        margin-left: 0;
    }
}

/*--- 2. Search                     ------*/
/* Search Box */
.searchBox .frame {
    width: 100%;
}
.searchBox .tx-kesearch-pi1 {
    font-family: inherit;
}
.searchBox .tx-kesearch-pi1 form {
    margin: 0;
}
.searchBox .tx-kesearch-pi1 form fieldset {
    background-color: transparent;
}
.searchBox .tx-kesearch-pi1 input[type="search"] {
    border: 2px solid #231f20 !important;
    color: #231f20;
    margin-bottom: 5px!important;
    font-size: 1.4rem;
    line-height: calc(1.4rem * 1.5);
    word-spacing: calc(1.4rem * 0.16);
}
.searchBox .tx-kesearch-pi1 .kesearchbox {
    height: auto;
    margin: 0px;
}
.searchBox .tx-kesearch-pi1 .kesearchbox label {
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
    margin-bottom: 0;
}
.searchBox .tx-kesearch-pi1 .kesearchbox #ke_search_sword {
    position: relative;
    width: 100%;
    padding: 7px;
}
.submitbutt {
    display: block;
    position: relative;
}
.submitbutt input {
    position: absolute;
    top: -42px;
    right: 2px;
    min-width: 35px!important;
    max-width: 35px!important;
    border: 0px!important;
    background-color: transparent!important;
    padding: 8px;
}
.submitbutt input:hover, .submitbutt input:focus {
    box-shadow: 0 0 0 3px #ffb81C;
}

/* Search Page */
.tx-kesearch-pi1 .result-teaser {
    color: #231f20 !important;
}
.tx-kesearch-pi1 #kesearch_num_results {
    margin-bottom: 10px;
    color: #231f20 !important;
}
.tx-kesearch-pi1 #kesearch_pagebrowser_bottom {
    text-align: left;
    border-top: 2px solid #E6007D;
    margin-top: 30px;
}
.tx-kesearch-pi1 #kesearch_pagebrowser_bottom .result_txt {
    color: #231f20;
    margin: 10px 0;
}
.tx-kesearch-pi1 #kesearch_pagebrowser_bottom .pages_total {
    border-top: none !important;
    color: #231f20;
}
.tx-kesearch-pi1 #kesearch_pagebrowser_top .pages_total, .tx-kesearch-pi1 #kesearch_pagebrowser_bottom .pages_total {
    color: #231f20;
}
.tx-kesearch-pi1 .kesearch_pagebrowser .pagination {
    margin-left: 0;
    flex-wrap: wrap;
}
.tx-kesearch-pi1 .kesearch_pagebrowser .pagination .page-item {
    display: inline-block !important;
    margin:  0 5px 5px;
}
.tx-kesearch-pi1 .kesearch_pagebrowser .pagination .page-item:empty {
    display: none !important;
}
.tx-kesearch-pi1 .kesearch_pagebrowser .pagination .page-item .page-link {
    color: #fff !important;
    padding: 5px 15px !important;
    background-color: #E6007D;
    border-color: transparent;
    border-radius: 0;
    font-weight: normal;
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
}
.tx-kesearch-pi1 .kesearch_pagebrowser .page-item.active .page-link,
.tx-kesearch-pi1 .kesearch_pagebrowser .page-item.active .page-link:hover,
.tx-kesearch-pi1 .kesearch_pagebrowser .pagination .page-item .page-link:hover,
.tx-kesearch-pi1 .kesearch_pagebrowser .pagination .page-item .page-link:focus {
    background: #FFB81C;
    color: #231F20 !important;
    box-shadow: none!important;
}
.tx-kesearch-pi1 .kesearch_pagebrowser .page-item.active .page-link, .tx-kesearch-pi1 .kesearch_pagebrowser .page-item.active .page-link:hover {
    text-decoration: none;
}
.tx-kesearch-pi1 #kesearch_results .result-number, .tx-kesearch-pi1 #kesearch_results .result-title, .tx-kesearch-pi1 #kesearch_results .result-number {
    font-size: 1.6rem!important;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
}
.tx-kesearch-pi1 #kesearch_results .result-list-item {
    margin: 10px 0;
}
.tx-kesearch-pi1 #kesearch_results .result-list-item .hit {
    color: #D80D45 !important;
    font-weight: bold;
}

/*--- 3. Powermail                     ------*/
.tx-powermail {
    display: none;
}
.tx-powermail .container-fluid {
    padding: 0;
}
.tx-powermail .powermail_fieldset {
    border: 0
}
.tx-powermail .powermail_fieldset:first-of-type {
    padding-top: 10px;
}
.tx-powermail .powermail_fieldset:last-of-type {
    padding-bottom: 10px;
}
.tx-powermail legend {
    display: block;
    width: 100%;
    border: 0;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    line-height: calc(2.2rem * 1.5);
    word-spacing: calc(2.2rem * 0.16);
}
.tx-powermail .powermail_fieldwrap {
    margin-bottom: 10px;
}
.tx-powermail label, .tx-powermail .powermail_fieldwrap p {
    font-weight: 600;
}
.tx-powermail .powermail_input, .tx-powermail .powermail_textarea, .tx-powermail .powermail_select, .tx-powermail .powermail_date {
    background-color: #fff;
    color: #231f20;
    width: 100%;
    padding: 5px;
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
}
.tx-powermail .powermail_input:focus, .tx-powermail .powermail_textarea:focus, .tx-powermail .powermail_select:focus, .tx-powermail .powermail_date:focus, .tx-powermail .powermail_radio:focus, .tx-powermail .powermail_checkbox:focus {
    outline: 3px solid #FFB81C;
}
.tx-powermail .powermail_textarea {
    height: 120px !important;
}
.tx-powermail .radio, .tx-powermail .checkbox {
    position: relative;
    margin: 0;
}
.tx-powermail .radio label, .tx-powermail .checkbox label {
    font-weight: normal;
    display: inline-block;
    cursor: pointer;
}

/* Removing the checkbox and radio appearance */
.tx-powermail [type=radio], .tx-powermail [type=checkbox] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    width: 20px;
    height: 20px;
    border: solid 1px #231f20;
    margin-right: 8px;
    position: relative;
}
.tx-powermail [type=radio]:checked::before, .tx-powermail [type=checkbox]:checked::before {
    background-color: #E6007D;
    content: "";
    width: 14px;
    height: 14px;
    position: absolute;
    top: 2px;
    left: 2px;
}
.tx-powermail [type=radio] {
    border-radius: 100%;
}
.tx-powermail [type=radio]:checked::before {
    border-radius: 100%;
}
.tx-powermail .powermail_submit {
    width: 100%;
    background-color: #E6007D;
    color: #fff;
    border: none;
    padding: 12px;
}
.tx-powermail .powermail_submit:hover,
.tx-powermail .powermail_submit:focus {
    background-color: #ffb81C;
    color: #231f20;
    box-shadow: none!important;
    outline: none;
}
.tx-powermail .powermail-errors-list li {
    color: #D80D45;
}

/* Split page buttons */
.tx-powermail .btn-group {
    margin-bottom: 1.5rem
}
.tx-powermail .btn-group .btn-primary, .tx-powermail .btn-group .btn-danger, .tx-powermail .btn-group .btn-default {
    background-color: #E6007D;
    color: #fff;
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
    padding: 12px;
    outline: 0;
    border: 0;
    border-radius: 5px !important;
    margin-right: 10px;
    margin-bottom: 0;
}
.tx-powermail .btn-group .btn-primary:hover, .tx-powermail .btn-group .btn-danger:hover, .tx-powermail .btn-group .btn-default:hover,
.tx-powermail .btn-group .btn-primary:focus, .tx-powermail .btn-group .btn-danger:focus, .tx-powermail .btn-group .btn-default:focus {
    background-color: #ffb81C;
    color: #231f20;
    box-shadow: none!important;
    outline: none;
}

.tx-powermail .powermail_tab_navigation .btn-primary, .tx-powermail .powermail_tab_navigation .btn-warning {
    width: auto;
    background-color: #E6007D;
    color: #fff;
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
    padding: 12px;
    outline: 0;
    border: 0;
    border-radius: 5px;
}
.tx-powermail .powermail_tab_navigation .btn-primary:hover, .tx-powermail .powermail_tab_navigation .btn-warning:hover,
.tx-powermail .powermail_tab_navigation .btn-primary:focus, .tx-powermail .powermail_tab_navigation .btn-warning:focus {
    background-color: #ffb81C;
    color: #231f20;
    box-shadow: none!important;
    outline: none;
}

/* Confirmation screen */
.tx-powermail .powermail_confirmation {
    text-align: left;
}
.tx-powermail .powermail_confirmation span {
    display: inline-block;
    margin-bottom: 1.5rem;
}
.tx-powermail .powermail_confirmation .powermail_all_marker_selectacontactrecipient {
    display: none;
}
.tx-powermail .powermail_confirmation .btn-group form:first-child {
    margin-right: 15px;
}
.tx-powermail .powermail_confirmation .btn-group .btn-primary, .tx-powermail .powermail_confirmation .btn-group .btn-default {
    background-color: #E6007D;
    color: #fff;
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
    padding: 12px;
    outline: 0;
    border: 0;
    border-radius: 5px;
}
.tx-powermail .powermail_confirmation .btn-group .btn-primary:hover, .tx-powermail .powermail_confirmation .btn-group .btn-default:hover
.tx-powermail .powermail_confirmation .btn-group .btn-primary:focus, .tx-powermail .powermail_confirmation .btn-group .btn-default:focus {
    background-color: #ffb81C;
    color: #231f20;
    box-shadow: none!important;
    outline: none;
}
.tx-powermail .powermail_confirmation .btn-group .btn-danger {
    background-color: #D80D45;
    color: #fff;
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
    padding: 12px;
    outline: 0;
    border: 0;
    border-radius: 5px;
}
.tx-powermail .powermail_confirmation .btn-group .btn-danger:hover
.tx-powermail .powermail_confirmation .btn-group .btn-danger:focus {
    background-color: #ffb81C;
    color: #231f20;
    box-shadow: none!important;
    outline: none;
}

/* Submission successful message */
.tx-powermail .powermail_create p {
    color: #006747;
}

/* Powermail Tables */
.powermail_confirmation .table-responsive {
    display: table;
    text-align: left;
}
.tx-powermail .table td {
    color: #231f20 !important;
}
.tx-powermail .table td strong {
    font-weight: normal !important;
}
.tx-powermail .table-hover tbody tr:hover {
    color: inherit;
    background-color: transparent;
}
.tx-powermail .table-striped>tbody>tr:nth-of-type(odd)>* {
    --bs-table-bg-type: transparent;
}
.tx-powermail .table-hover > tbody > tr:hover > * {
    color: #231f20;
    background-color: transparent;
    --bs-table-bg-state: transparent;
}
.tx-powermail .table > :not(caption) > * > * {
    padding: 0.75rem;
}