table#trip_table,
table#user_ranks_table,
table#trip_hist_table,
table#trip_hist_infinity_table {

    width: 100%;
}

table#trip_table td span,
table#user_ranks_table td span,
table#trip_hist_table td span,
table#trip_hist_infinity_table td span,
table[name="other_profile_history"] td span {
    position: relative;
    top: -3px;
}

table#trip_table td, table#trip_table th,
table#user_ranks_table td, table#user_ranks_table th,
table#trip_hist_table td, table#trip_hist_table th,
table#trip_hist_infinity_table td, table#trip_hist_infinity_table th,
table#admin_records_table td, table#admin_records_table th,
table[name="other_profile_history"] td, table[name="other_profile_history"] th {
    background: transparent;
    border: 0;
    cursor: pointer;
}

table#trip_table tr:nth-child(odd) td,
table#user_ranks_table tr:nth-child(odd) td,
table#trip_hist_table tr:nth-child(odd) td, 
table#trip_hist_infinity_table tr:nth-child(odd) td, 
table#admin_records_table tr:nth-child(odd) td, 
table[name="other_profile_history"] tr:nth-child(odd) td {
    background: var(--table-second-line-color);
}

table#trip_table td:nth-child(3),
table#user_ranks_table td:nth-child(3),
table[name="other_profile_history"] td:nth-child(3) {
    text-align: right;
}

table#trip_table img,
table#user_ranks_table img {
    height: 65px;
    width: 65px;
    border-radius: 10px;
}

table#trip_table td:nth-child(1),
table#user_ranks_table td:nth-child(1),
table#trip_hist_table td:nth-child(1),
table#trip_hist_infinity_table td:nth-child(1),
table[name="other_profile_history"] td:nth-child(1),
table[name="other_profile_history"] td:nth-child(2) {
    width: 35px;
    text-align: center;
}

table#trip_table tr:first-child td,
table#user_ranks_table tr:first-child td,
table#trip_hist_table tr:first-child td,
table#trip_hist_infinity_table tr:first-child td {
    font-weight: 900;
    font-size: 18px;
    color: var(--accent-base-color);
}

table#trip_table td:nth-child(2),
table#user_ranks_table td:nth-child(2) {
    width: 65px;
    text-align: right;
}

table#trip_table td.pray:nth-child(3):before {
    content: "\2B24";
    font-size: 12px;
    margin-right: 7px;
    color: var(--accent-base-color); 
    position: relative; 
    top: -4px;
}


table#trip_table td:nth-child(3),
table#user_ranks_table td:nth-child(3),
table#trip_hist_table td:nth-child(2),
table#trip_hist_infinity_table td:nth-child(2) {
    text-align: left;
    white-space: nowrap;
}

table#trip_table td:nth-child(4),
table#user_ranks_table td:nth-child(4),
table#trip_hist_table td:nth-child(3),
table#trip_hist_infinity_table td:nth-child(3),
table[name="other_profile_history"] td:nth-child(3) {
    text-align: right;
}

table#trip_table td:nth-child(4) span::after,
table#user_ranks_table td:nth-child(4) span::after,
table#trip_hist_table td:nth-child(3)::after,
table#trip_hist_infinity_table td:nth-child(3)::after {
    content: " km";
    white-space: nowrap;
}

table#trip_table tr[data-approved="0"] td {
    color: var(--run-inactive-color);
}

table#trip_table tr[data-blur="1"] span, table#trip_table tr[data-blur="1"] img {
    filter: blur(5px);
}

table#trip_table tr[data-mark="me"] td:last-child {
    border-right: 7px solid var(--accent-base-color);
}

table#trip_table tr[data-mark="ranks"] td:last-child {
    border-right: 0 solid var(--run-inactive-color);
}


.user_ranks_switch {
    position: absolute;
    right: 0;
    display: inline-block;
    width: 70px;
    height: 34px;
    transform: translate(-17px, -66px);
}

.user_ranks_switch input {display:none;}

.user_ranks_switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--main-background-color);
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.user_ranks_switch .slider:before {
    position: absolute;
    content: "";
    height: 28px;
    width: 28px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
    background-color: var(--accent-base-color);
}

.user_ranks_switch input:checked + .slider {
    background-color: var(--accent-base-color);
}

.user_ranks_switch input:checked + .slider:before {
    -webkit-transform: translateX(36px);
    -ms-transform: translateX(36px);
    transform: translateX(36px);
    background-color: var(--main-background-color);
}

.user_ranks_switch .slider:after
{
    content:'Zeit';
    color: var(--main-text-color);
    display: block;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: calc(50% + 13px);
    font-size: 12px;
}

.user_ranks_switch input:checked + .slider:after
{  
    content:'Km';
    left: calc(50% - 13px);
}





table#newsfeed_table,
table#rules_table,
table#trip_info_table,
table#about_table {
    width: 100%;
}

table#newsfeed_table thead,
table#rules_table thead,
table#trip_info_table thead,
table#about_table thead {
    display: none;
}

table#newsfeed_table td,
table#rules_table td,
table#trip_info_table td,
table#about_table td {
    padding-bottom: 25px;
    border: 0;
}

table#newsfeed_table td:nth-child(1),
table#rules_table td:nth-child(1),
table#trip_info_table td:nth-child(1),
table#about_table td:nth-child(1) {
    vertical-align: top;
    padding-top: 32px; 
    width: 70px; 
    text-align: center;
}

table#newsfeed_table svg,
table#rules_table svg,
table#trip_info_table svg,
table#about_table svg {
    height: 40px;

}

table#rules_table ul li {
    padding-bottom: 5px; 
}


table#my_runs_table {
    width: 100%;
}

table#my_runs_table th {
    border: 0;
    background: transparent;
}

table#my_runs_table td {
    padding-bottom: 6px;
    border: 0;
}

table#my_runs_table tr:nth-child(2n+1) td {
    background: var(--table-second-line-color);
}

table#my_runs_table td:nth-child(2) {
    text-align: right;
}

table#my_runs_table td:nth-child(3) {
    text-align: center;
}

table#my_runs_table svg {
    height: 35px;
    fill: var(--run-inactive-color);
}

table#my_runs_table {
    width: 100%;
}

table#my_runs_table tr[data-approved="1"] svg {
    fill: var(--seagrass-green);
}

table#my_runs_table tr[data-approved="0"] svg {
    fill: var(--burgundy-red);
}

table#my_runs_table tr:first-child td,
table[name="other_profile_history"] tr:last-child td {
    color: var(--accent-base-color);
    font-weight: bold;
}

table#user_blog_table,
table#other_blog_table,
table#trip_blog_table {
    width: 100%;
}

table#user_blog_table thead,
table#other_blog_table thead,
table#trip_blog_table thead {
    display: none;
}


table#user_blog_table table,
table#other_blog_table table,
table#trip_blog_table table {
    width: 100%; 
}

table#user_blog_table td,
table#other_blog_table td,
table#trip_blog_table td {
    border: 0;
}

table#user_blog_table > tbody > tr > td,
table#other_blog_table > tbody > tr > td,
table#trip_blog_table > tbody > tr > td {
    border-bottom: 2px solid var(--run-inactive-color);
}

table#user_blog_table td:nth-child(1),
table#other_blog_table td:nth-child(1),
table#trip_blog_table td:nth-child(1) {
    vertical-align: top;
}

table#user_blog_table td:nth-child(3),
table#other_blog_table td:nth-child(3),
table#trip_blog_table td:nth-child(3) {
    position: relative;
    vertical-align: bottom;
}

table#user_blog_table table td,
table#other_blog_table table td,
table#trip_blog_table table td {
    text-align: left;
}

table#user_blog_table table td[rowspan="2"],
table#other_blog_table table td[rowspan="2"],
table#trip_blog_table table td[rowspan="2"] {
    width: 25px;
    text-align: left;
}

table#user_blog_table table td[rowspan="2"] svg,
table#other_blog_table table td[rowspan="2"] svg,
table#trip_blog_table table td[rowspan="2"] svg {
    fill: var(--accent-base-color);
    height: 40px;
    position: relative;
    top: -22px;
}


table#user_blog_table td:nth-child(1) svg, table#user_blog_table td:nth-child(3) svg,
table#other_blog_table td:nth-child(1) svg, table#other_blog_table td:nth-child(3) svg,
table#trip_blog_table td:nth-child(1) svg, table#trip_blog_table td:nth-child(3) svg {
    height: 40px; 
    fill: var(--run-inactive-color);
    cursor: pointer;
}

table#user_blog_table tr[data-liked="1"] td:nth-child(3) svg,
table#other_blog_table tr[data-liked="1"] td:nth-child(3) svg,
table#trip_blog_table tr[data-liked="1"] td:nth-child(3) svg {
    fill: var(--accent-base-color);
    position: relative;
    top: -8px;

}


table#user_blog_table td:nth-child(1) svg, table#user_blog_table td:nth-child(1) img,
table#other_blog_table td:nth-child(1) svg, table#other_blog_table td:nth-child(1) img,
table#trip_blog_table td:nth-child(1) svg, table#trip_blog_table td:nth-child(1) img {
    height: 40px; 
    border-radius: 6px;
    fill: var(--run-inactive-color);
    transform: translateY(32px);
}

table#user_blog_table > tbody > tr > td:nth-child(1),
table#other_blog_table > tbody > tr > td:nth-child(1),
table#trip_blog_table > tbody > tr > td:nth-child(1) {
    display: none;
}

table#user_blog_table tr td:nth-child(3) nobr {
    text-align: center;
    font-size: 10px;
}

table#user_blog_table tr td:nth-child(3) span:nth-child(2) {
    padding-right: 7px;
}

table#user_notification_table {
    width: 100%;
}

table#user_notification_table thead {
    display: none;
}

table#user_notification_table tr td {
    border: 0;
    cursor: pointer;
    padding: 15px 0;
    border-bottom: 2px solid var(--run-inactive-color);
}

table#user_notification_table svg {
    height: 40px;
    vertical-align: middle;
}

table#user_notification_table tr td:last-child svg {
    height: 40px;
    fill: var(--run-inactive-color);
}

table#user_notification_table tr td:first-child {
    text-align: center;
}

table#user_notification_table tr td:nth-child(1) svg {
    fill: var(--accent-base-color);
}

table#user_notification_table tr[data-element="sub"] {
    display: none;
}

table#user_notification_table tr.sub-items {
    display: table-row !important;
}

table#user_notification_table tr[data-element="sub"] td {
    margin-left: 25px;
}

table#user_notification_table tr[data-id="10000"] {
    color: var(--run-inactive-color);
}

table#user_notification_table tr td:first-child svg.notification_new_feed_element,
table#user_notification_table tr td:first-child svg.new_runs_for_approval,
table#user_notification_table tr td:first-child svg.new_run_for_approval,
table#user_notification_table tr td:first-child svg.new_prayer_for_approval,
table#user_notification_table tr td:first-child svg.notification_run_deleted {
    fill: var(--burgundy-red);
}

table#user_notification_table tr td:first-child svg.notification_run_approved {
    fill: var(--approve-flag);
}

table#user_notification_table tr.sub-items {
    display: none;
}

table#admin_control_table {
    width: 100%; 
}

table#admin_control_table th {
    background: transparent;
}

table#admin_control_table td {
    cursor: pointer;
    word-break: break-all; 
}

table#admin_control_table tr:nth-child(2n+1) td {
    background: var(--table-second-line-color);
}



table#admin_control_querys {
    width: 100%; 
}

table#admin_control_querys th {
    display: none;
}

table#admin_control_querys td {
    cursor: pointer;
}

table#admin_control_querys tr.active td {
    color: var(--accent-base-color);
}

table#admin_control_querys tr:nth-child(2n+1) td {
    background: var(--table-second-line-color);
}



table#admin_control_cleaner {
    width: 100%; 
}

table#admin_control_cleaner th {
    display: none;
}

table#admin_control_cleaner td {
    cursor: pointer;
}

table#admin_control_cleaner tr.active td {
    color: var(--accent-base-color);
}

table#admin_control_cleaner tr:nth-child(2n+1) td {
    background: var(--table-second-line-color);
}




table#admin_feed_table,
table#admin_raw_texts {
    width: 100%;
}

table#admin_feed_table tr td,
table#admin_raw_texts tr td {
    border: 0;
    cursor: pointer;
}


table#admin_feed_table tr:nth-child(2n) td,
table#admin_raw_texts tr td {
    border-bottom: 2px solid var(--run-inactive-color);
    padding-bottom: 25px;
}

#admin_feed_notification + .input_style.check_style {
    background-color: var(--run-inactive-color); 
    color: var(--main-text-color);
    cursor: pointer;
}

#admin_feed_notification:checked + .input_style.check_style {
    background-color: var(--seagrass-green); 
}

#admin_feed_notification {
    display: none;
}


label#svg_selector_backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    bottom: 0;
    margin: 0;
    z-index: 21;
}

div[name="svg_selector"] {
    position: fixed;
    top: 140px;
    left: 50px;
    right: 50px;
    bottom: 140px;

    background-color: var(--table-second-line-color);
    border: 1px solid var(--run-inactive-color);

    padding: 20px;
    display: none;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;

    overflow-y: auto;
    overflow-x: hidden;

    box-sizing: border-box;

    z-index: 22;
}



div[name="svg_selector"] svg {
    fill: var(--accent-base-color);
    cursor: pointer;
}


table[name="admin_feed_svg_table"],
table[name="admin_records_svg_table"] {
    box-sizing: border-box;
    width: 75%;
    margin: 0 auto;
}

table[name="admin_feed_svg_table"] td,
table[name="admin_records_svg_table"] td {
    margin: 0;
    padding: 0;
}

table[name="admin_feed_svg_table"] td:nth-child(1),
table[name="admin_records_svg_table"] td:nth-child(1) {
    width: 85%;
}
table[name="admin_feed_svg_table"] td:nth-child(2),
table[name="admin_records_svg_table"] td:nth-child(2) {
    width: 25%;
}


input[name="admin_feed_svg"],
input[name="admin_records_svg"] {
    width: 100%;
    margin: 0;
}

div[name="svg_preview"] {
    text-align: center;
}


div[name="svg_preview"] svg {
    height: 35px;
    padding: 5px;
    fill: var(--accent-base-color);
}


div#feed_editor {
    box-sizing: border-box;
    width: 75%;
    margin: 0 auto;
}

div#feed_editor #feed_toolbar {
    display: inline-block;
    margin-bottom: -13px;
}

div#feed_editor #feed_toolbar span {
    box-sizing: border-box;
    background-color: var(--main-button-color);
    border: 0;
    color: var(--main-text-color);
    cursor: pointer;
    padding: 7px;
    margin: 5px;
}

div#feed_editor #feed_toolbar span:hover {
    background-color: var(--accent-base-color);
}



div#feed_editor div#richtext {
    background: var(--table-second-line-color);
    box-sizing: border-box;
    border: 0px solid #ccc;
    min-height: 200px;
    padding: 10px;
}
  
div#feed_editor textarea#htmlview {
    background: var(--main-button-color);
    box-sizing: border-box;
    width: 100%;
    min-height: 200px;
}



form#admin_records_form .dropdown {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: absolute;
    background-color: var(--main-background-color);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    width: 60%;
    left: 50%;
    transform: translateX(-50%);
}

form#admin_records_form .dropdown li {
    padding: 8px;
    cursor: pointer;
}
form#admin_records_form .dropdown li:hover {
    background-color: var(--content-background-color);
}





form#add_prayer_form textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 200px;
    resize: none;
}












table#admin_users_table {
    width: 100%;
}

table#admin_users_table tr td {
    border: 0;
    cursor: pointer;
    word-break: break-all;
}

table#admin_users_table tr td svg {
    height: 35px;
    fill: var(--accent-base-color);
}

table#admin_users_table tr:nth-child(2n) td, table#admin_users_table td:first-child {
    border-bottom: 0 solid var(--run-inactive-color);
    padding-bottom: 15px;
}

table#admin_users_table tr:nth-child(4n+1) td,
table#admin_users_table tr:nth-child(4n+2) td {
    background: var(--table-second-line-color);
}

table#admin_users_table img {
    height: 85px;
    width: 85px;
    border-radius: 10px;
}

table#mod_all_runs_table {
    width: 100%;
}

table#mod_all_runs_table thead {
    display: none;
}

table#mod_all_runs_table tr td {
    border: 0;
    cursor: pointer;
}

table#mod_all_runs_table tr:nth-child(2n) td {
    border-bottom: 2px solid var(--run-inactive-color);
}

td[data-i18n="all_runs_left"], td[data-i18n="all_runs_right"] {
    cursor: pointer;
}





table#mod_approve_control {
    width: 100%;
    margin-bottom: 15px; 
}

table#mod_approve_control td {
    padding: 25px;
    cursor: pointer;
    text-align: center;
    border: 0;
}

form#mod_approve_run {
    box-sizing: border-box;
}

form#mod_approve_run table {
    table-layout: fixed;
    width: 100%;
}

form#mod_approve_run img {
    width: 100%;
}

form#mod_approve_run input {
    box-sizing: border-box;
    width: 90%;
}

form#mod_approve_run textarea {
    box-sizing: border-box;
    background: transparent;
    resize: none;
    width: 90%;
}

form#mod_approve_run input[readonly] {
    color: var(--run-inactive-color);
}

form#mod_approve_run table td {
    cursor: pointer;
    border: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

form#mod_approve_run table tr td:nth-child(1) {
    width: 45px;
}

form#mod_approve_run table tr td:nth-child(2) {
    width: 200px;
}

form#mod_approve_run table tr td svg {
    height: 35px;
    fill: var(--accent-base-color);
    padding-left: 10px;
    padding-top: 5px;
}

form#mod_approve_run table {
    text-align: center; 
}

form#mod_approve_run table span svg {
    height: 40px; 
    fill: var(--run-inactive-color);
}


table#mod_approve_table {
    width: 100%;
}

table#mod_approve_table thead {
    display: none;
}

table#mod_approve_table tr td {
    cursor: pointer;
    border: 0;
}

table#mod_approve_table tr td {
    border-bottom: 2px solid var(--run-inactive-color);
}

table#mod_approve_table tr.selected td {
    color: var(--accent-base-color)
}




table#mod_approve_prayers_table {
    width: 100%;
}

table#mod_approve_prayers_table tr td {
    padding-bottom: 25px;
    cursor: pointer;
}

table#mod_approve_prayers_table tr[data-status="0"] td {
    color: var(--run-inactive-color);
    padding-bottom: 25px;
    cursor: pointer;
}

table#mod_approve_prayers_table tr:nth-child(2n) td {
    background-color: var(--main-background-color);
}

table#mod_approve_prayers_table tr td:nth-child(2) {
    white-space: nowrap;
}

table#mod_approve_prayers_table thead {
    display: none;
}






table#mod_participants_table {
    width: 100%;
}

table#mod_participants_table tr td {
    border: 0;
    cursor: pointer;
}

table#mod_participants_table tr:nth-child(2n) td, table#mod_participants_table td:first-child {
    border-bottom: 0 solid var(--run-inactive-color);
    padding-bottom: 15px;
}

table#mod_participants_table tr:nth-child(4n+1) td,
table#mod_participants_table tr:nth-child(4n+2) td {
    background: var(--table-second-line-color);
}

table#mod_participants_table img {
    height: 85px;
    width: 85px;
    border-radius: 10px;
}







  
input, .file_upload_button, label.check_style {
    box-sizing: border-box;
    font-size: 16px;
    display: block;
    margin: 20px auto;
    padding: 8px; 
    width: 75%;
}

input[type="file"] {
    display: none;
}


button {
    float: right; 
    font-size: 16px;
    padding: 8px; 
    margin: 8px;
}

button#login_forgot_password {
    float: left; 
    display: none;
}

select {
    font-size: 16px;
    display: block;
    margin: 20px auto;
    padding: 8px; 
    width: 75%;
}

select:focus {
    outline: none;
}




#new_profile_image_table {
    width: 100%;
    table-layout: fixed;
}

#new_profile_image_table td {
    text-align: center;
    vertical-align: middle;
    border: 0;
    width: 33%;
}

#new_profile_image_table td button,
#new_profile_image_table td label {
    display: block;
    width: 80%;
    margin: 0 20px;
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
}





img.user_profile_image {
    width: 60%;
    border-radius: 25px; 
}

img#other_profile_image {
    width: 60%;
    border-radius: 25px; 
    margin-left: 23px;
}

div#other_profile_data {
    font-weight: bold;
    font-size: 20px;
}

div#other_profile_data,
div#other_profile_aboutme,
div[name="other_profile_history"],
span[name="user_setting_zoom"],
div[name="other_profile_streak"],
table[name="other_profile_history"] {
    margin-left: 23px;
}

div#other_profile_abos div {
    padding: 15px; 
    cursor: pointer;
}

div#other_profile_abos div span {
    float: left; 
    display: flex;
    line-height: 40px;
}

div#other_profile_abos div:not(.active) svg {
    float: left; 
    height: 40px; 
    padding-right: 25px; 
    fill: var(--run-inactive-color);
}

div#other_profile_abos div.active svg {
    float: left; 
    height: 40px; 
    padding-right: 25px; 
    color: var(--accent-base-color);
}

div#other_profile_abos div.active {
    fill: var(--accent-base-color);
    color: var(--accent-base-color);
}







div#other_profile_concern,
div#all_prayers {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

div#other_profile_concern .prayer-container,
div#all_prayers .prayer-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch; 
    margin-bottom: 15px;
    margin-left: 23px;
    margin-right: 23px;
    min-height: 100px;
    position: relative; 
}

div#all_prayers .prayer-container .user-container {
    display: flex;
    align-items: flex-start;
}

div#all_prayers .prayer-container .user-container img {
    width: 75px;
    margin-right: 10px;
    border-radius: 10px;
    align-self: flex-start;
}

div#other_profile_concern .prayer-container .prayer-text,
div#all_prayers .prayer-container .prayer-text {
    flex: 1; 
    line-height: 2;
    padding: 10px 20px 5px 20px;
    border-radius: 10px;
    border: 2px solid var(--alert-shaddow-color);
    background-color: var(--main-background-color);
    overflow-wrap: break-word;
    margin-right: 100px; 
}

div#other_profile_concern .prayer-container .prayer-text p,
div#all_prayers .prayer-container .prayer-text p {
    margin: 3px 0 0 0;
    padding: 0;
}

div#other_profile_concern .prayer-container[data-status="0"] .prayer-text,
div#all_prayers .prayer-container[data-status="0"] .prayer-text {
    color: var(--run-inactive-color);
}

div#other_profile_concern .prayer-container .prayer-text span.prayer-info,
div#all_prayers .prayer-container .prayer-text span.prayer-info {
    display: inline-flex; 
    align-items: center; 
    gap: 5px; 
    justify-content: flex-end; 
    fill: var(--run-inactive-color);
    color: var(--run-inactive-color); 
    font-size: 12px;
    width: 100%; 
    margin-top: 10px;
}

div#other_profile_concern .prayer-container .prayer-text span.prayer-info svg,
div#all_prayers .prayer-container .prayer-text span.prayer-info svg {
    height: 11px;
    width: auto;
    vertical-align: middle;
}

div#all_prayers .prayer-container .prayer-text span.prayer-name {
    display: block;
    margin-top: 0;
    fill: var(--accent-base-color);
    color: var(--run-inactive-color);
    font-size: 12px;
}

div#other_profile_concern .prayer-container .prayer-action,
div#all_prayers .prayer-container .prayer-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; 
    margin-left: 20px;
    width: 80px; 
    min-width: 80px; 
    flex-shrink: 0;
    position: absolute;
    bottom: 10px;
    right: 0; 
    text-align: center;
}

div#other_profile_concern .prayer-container .prayer-action svg,
div#all_prayers .prayer-container .prayer-action svg {
    width: 40px;
    height: 40px;
    fill: var(--accent-base-color);
    margin-bottom: 5px;
}

div#other_profile_concern .prayer-container .prayer-action p,
div#all_prayers .prayer-container .prayer-action p {
    margin: 0;
    padding: 0;
    font-size: 12px;
}

input#concern {
    height: 72px;
    border-radius: 10px;
}








div#other_profile_streak {
    padding: 15px; 
    cursor: pointer;
}

div#other_profile_streak span {
    float: left; 
    display: flex;
    line-height: 40px;
}

div#other_profile_streak:not(.active) svg {
    float: left; 
    height: 40px; 
    padding-right: 25px; 
    fill: var(--run-inactive-color);
}

div#other_profile_streak.active svg {
    float: left; 
    height: 40px; 
    padding-right: 25px; 
    color: var(--accent-base-color);
}

div#other_profile_streak.active {
    fill: var(--accent-base-color);
    color: var(--accent-base-color);
}










#add_run_preview {
    width: 100%; 
}

img#add_run_preview {
    margin: 0 auto;
    display: block;
}

table#add_run_table {
    width: 100%;
}

table#add_run_table tr td:first-child {
    width: 55px;
    text-align: center;
}

table#add_run_table tr td {
    border: 0;
}

table#add_run_table svg {
    fill: var(--accent-base-color);
    height: 35px; 
}

table#add_run_table input, label, .file_upload_button {
    width: 100%;
    margin: 5px 0;
}

table#add_run_table input[type="range"] {
    width: 100%;
}



table#add_run_last_runs {
    width: 100%;
}

table#add_run_last_runs thead {
    display: none;
}

table#add_run_last_runs tr td {
    border: 0;
}

table#add_run_last_runs svg {
    fill: var(--burgundy-red);
    height: 40px;
    cursor: pointer;
}

table#add_run_last_runs tr:nth-child(2n) td {
    border-bottom: 0 solid var(--run-inactive-color);
}

table#add_run_last_runs tr:nth-child(4n+1) td,
table#add_run_last_runs tr:nth-child(4n+2) td {
    background: var(--table-second-line-color);
}

label#add_run_backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    bottom: 0;
    margin: 0;
    z-index: 20;
}

input#check_timebox {
    display: none;
}

input#check_timebox:checked ~ label#add_run_backdrop {
    display: block;
}

input#check_timebox:checked ~ .time_picker_box {
    display: grid;
    grid-template-areas:
    'header header header'
    'hours main minutes';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--content-background-color);
    border-top: 4px solid var(--accent-base-color);
    z-index: 21;
}

.time_picker_box {
    display: none;
}

.time_picker_box div.g:nth-child(1) {
    grid-area: header;
}

.time_picker_box div.g:nth-child(2) {
    grid-area: hours;
    display: flex;
    justify-content: center;
    align-items: center;
}

.time_picker_box div.g:nth-child(3) {
    grid-area: main;
}

.time_picker_box div.g:nth-child(4) {
    grid-area: minutes;
    display: flex;
    justify-content: center;
    align-items: center;
}


.time_picker {
    display: grid;
    grid-auto-flow: column;
    gap: 0px;
    position: relative;
    box-sizing: border-box;
    width: 200px;
    height: 200px; 
    margin: 0 auto;
    
    scrollbar-width: none; /* Für Firefox */
    -ms-overflow-style: none; /* Für Internet Explorer 10+ */

    ::-webkit-scrollbar { display: none; }
}
  
.time_picker::before,
.time_picker::after {
    content: " ";
    position: absolute;
    top: 0;
    background: linear-gradient(
        var(--time-picker-background01), 
        var(--time-picker-background02) 40px, 
        rgba(0, 0, 0, 0) 80px,
        var(--main-text-color) 80px, 
        rgba(0, 0, 0, 0) 82px, 
        rgba(0, 0, 0, 0) 118px, 
        var(--main-text-color) 120px, 
        rgba(0, 0, 0, 0) 120px, 
        var(--time-picker-background02) 160px, 
        var(--time-picker-background01) 200px
    );
    /*   backdrop-filter: blur(1px); */
    width: 100%;
    height: 200px; 
    pointer-events: none;
}
  
.time_picker > * {
    display: grid;
    grid-auto-rows: 40px;
    align-items: center;
    max-block-size: 200px;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scroll-snap-type: y mandatory;
    padding-inline-end: 0px;
    font-size: 16px;
}
  
.time_picker > [title]::before {
    content: attr(title);
    position: sticky;
    top: 0;
    align-self: start;
    color: var(--main-text-color);
    z-index: 1;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
  }
  
.time_picker > [title]:first-child::before {
    text-align: center;
}
  
.time_picker > * > * {
    scroll-snap-align: center;
}
  
.time_picker time {
    text-align: center;
    width: 85px;
}
  
time {
    color: var(--main-text-color);
}
  
.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px; 
    font-size: 16px;
    color: var(--main-text-color);
}
  





.date_range {
    position: relative;
    margin: 0 auto;
}
  
.date_range_input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    width: 100%;
    padding: 0;
}


.date_range_input::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 36px;
    width: 180px;
    cursor: grab;
}

.date_range_thumb {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 180px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 16px;
    font-weight: bold;
    pointer-events: none;
    background: linear-gradient(90deg, var(--main-color-03), var(--main-color-05));
    color: var(--main-text-color);
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    transition: left 0.3s ease-in-out, background 0.3s ease-in-out;
}

.date_range_thumb::before {
    content: attr(data-val) " ";
    font-family: var(--custom-font-family);
    display: block;
}

.date_range_thumb:hover {
    background: linear-gradient(90deg, var(--main-color-03), var(--main-color-06));
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.date_range_thumb.active {
    left: -20px; /* Ermöglicht, dass sie nach links verschoben werden kann */
    background: var(--accent-base-color);
}



textarea#user_settings_aboutme_textarea {
    box-sizing: border-box;
    width: 100%;
    height: 150px;
    resize: none;
    padding: 8px;
    font-size: 16px;
    border: 0;
    color: var(--main-text-color);
    margin: 0 auto;
    display: block;
}



div#user_accent_grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
    margin: 0 auto;
}

div#user_accent_grid > div {
    aspect-ratio: 1 / 1;
    border-radius: 60px;
    cursor: pointer;
}

div#user_accent_grid div.active {
    border: 8px solid var(--main-text-color);
    border-top-color: var(--content-background-color);
    border-right-color: var(--content-background-color);
    border-bottom-color: var(--main-icon-active-color);
    border-left-color: var(--main-icon-active-color);
}





div#user_lng_grid {
    display: flex; /* Flexbox für zentrierte horizontale Ausrichtung */
    justify-content: center;
    gap: 50px; /* Erhöhter Abstand zwischen den Flaggen (2.5x größer) */
    padding: 20px; /* Optionaler Abstand von den Rändern */
    width: 100%;
    margin: 0 auto;
}

div#user_lng_grid > div {
    position: relative;
    width: 30%; /* Flaggen nehmen 30% der Bildschirmbreite ein */
    max-width: 200px; /* Optionale Obergrenze für größere Bildschirme */
    aspect-ratio: 640 / 480; /* Quadratische Box */
}

div#user_lng_grid > div:not(.active) svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: filter 0.3s ease, transform 0.3s ease; /* Smooth Transition für Effekte */
}

div#user_lng_grid > div:not(.active) svg {
    filter: grayscale(90%);
}

div#user_lng_grid > div:hover svg {
    filter: grayscale(0%); /* Beim Hover farbig */
    transform: scale(1.2); /* Leichter Zoom */
}

div#user_lng_grid div.active {
    position: relative;
    border: none; /* Entfernt alte Rahmen */
    transition: box-shadow 0.3s ease, transform 0.3s ease; /* Smooth Transition */
}



/*
div#user_lng_grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
    margin: 0 auto;
}

div#user_lng_grid > div {
    position: relative;
    width: 100%;
}

div#user_lng_grid > div::before {
    content: "";
    display: block;
    padding-top: 100%; 
    margin: -12% auto;
}

div#user_lng_grid > div svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: grayscale(100%);

}

div#user_lng_grid div.active {
    border: 8px solid var(--main-text-color);
    border-top-color: var(--content-background-color);
    border-right-color: var(--content-background-color);
    border-bottom-color: var(--main-icon-active-color);
    border-left-color: var(--main-icon-active-color);
}
*/



div#logout_userinformation, div#logout_programinformation {
    padding-left: 20px; 
}



div[name="community_goals"] {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    width: 80%;
    margin: 0 auto;
    cursor: pointer;
}

div[name="community_goals"] div {
    text-align: center;
    padding: 15px 0;
}

div[name="community_goals"] p {
    margin: 0;
    width: 100%;
    background-clip: text;
    color: transparent;
    border: 1px solid #000;
    border: 0px;
    font-weight: 600;
}



div[name="font_table"] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    margin: 0 auto;
}

div[name="font_table"] table {
    margin: 0 20px;
    padding: 18px 12px; 
    cursor: pointer;
}

div[name="font_table"] table.active th {
    background-color: var(--accent-base-color);
    color: var(--badage-text-color);
}

div[name="font_table"] table th {
    color: var(--accent-base-color);
    background: var(--table-second-line-color);
    border-bottom: 1px solid var(--run-inactive-color);
    padding: 12px; 
}

div[name="font_table"] table td {
    background: var(--table-second-line-color);
    text-align: center;
    padding: 12px; 
}







textarea[name="admin_history_upload_area"] {
    resize: none; 
    margin: 0 20px;
    width: calc(100% - 40px);
    border-radius: 7px;
    color: var(--main-background-color);
}

table#admin_history_upload_table td {
    cursor: pointer;
}

table[name="admin_history_assign"] {
    min-width: 400px;
    display: none;
    margin: 0 20px;
}

table[name="admin_history_assign"] td {
    padding: 0;
}

table[name="admin_history_assign"] td input {
    background: var(--main-background-color);
    color: var(--main-text-color);
    border: 0;
    outline: 0;
}

button[name="match_assign_button"] {
    display: none;
}

div[name="hist_year_of_upload"] {
    display: none;
}




div[name="trip_hist_grid"] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: calc(100% - 20px);
    margin: 0 10px;
}

div[name="trip_hist_grid"] div.year {
    position: relative;
    border: 0px solid var(--run-inactive-color);
    padding: 10px;
    cursor: pointer;
    text-align: center;
    height: 75px; 
}

div[name="trip_hist_grid"] .svg {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75px; 
}

div[name="trip_hist_grid"] .svg svg {
    height: 75px; 
    fill: var(--run-inactive-color);
}

div[name="trip_hist_grid"] .text {
    position: absolute;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--badage-text-color);
    line-height: 1.2; 
}

div[name="trip_hist_grid"] .text span:nth-child(1) {
    font-size: 12px; 
}

div[name="trip_hist_grid"] .text span:nth-child(2) {
    line-height: 45px; 
    font-size: 18px;
}




div[name="streak_data"] {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
}

div[name="streak_data"] > div {
    display: flex;
    align-items: center;
    padding-bottom: 18px;
    margin-top: 8px;
}

div[name="streak_data"] > div:first-child {
    margin-top: 0;
}

div[name="streak_data"] svg {
    width: 35px;
    height: 35px;
    fill: var(--accent-base-color);
    margin-right: 8px;
}

div[name="streak_data"] span {
    margin-left: 8px;
}




div#trip_records_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
}

div#trip_records_grid .record-card {
    display: grid;
    background: var(--table-second-line-color);
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    border-radius: 15px;
    border: 0px solid var(--alert-shaddow-color);
    padding: 15px;
    overflow: hidden;
}

div#trip_records_grid .record-title {
    grid-column: 1 / span 3;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 10px;
}

div#trip_records_grid .record-record {
    grid-column: 1;
    grid-row: 2;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    color: var(--accent-base-color);
}

div#trip_records_grid .record-date {
    grid-column: 2;
    grid-row: 2;
    font-size: 14px;
    text-align: center;
}

div#trip_records_grid .record-footer {
    grid-column: 3;
    grid-row: 2;
    font-size: 14px;
    text-align: right;
}


div[name="trip_donate_button"] svg {
    display: block; 
    margin: 0 auto; 
    width: 40%;
    height: auto; 
    padding: 25px;
    fill: var(--accent-base-color); 
    cursor: pointer;
}

span[name="trip_donate_intro"] {
    display: block;
    padding: 15px; 
    font-size: 12px;
}

span[name="trip_donate_outro"] {
    display: block;
    padding: 15px; 
    font-size: 12px;
}


