/* FULL SITE */
/* Für Holger */
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover, .wp-block-site-title a:where(:not(.wp-element-button)):hover {
    text-decoration: none !important;
}

.wp-site-blocks header{
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Guestbook */
input[name="gwolle_gb_submit"], input[name="gwolle-gb-write-button"], input[type="submit"]{
    border: 2px solid #000;
    border-radius: 21px;
    color: #035483;
    border-color: #ccc #0b479b #0b479b #ccc;
    background-color: var(--wp--preset--color--pale-cyan-blue) !important;
    padding-top: 0;
    padding-right: 16px;
    padding-bottom: 0;
    padding-left: 16px;
    cursor: pointer;
    font-weight: bold;
    line-height: 40.96px;
    min-width: fit-content;
    font-family: var(--wp--preset--font-family--system-font);
    font-size: 1rem;
    text-align: center;
}

#content{
    min-height: 100vh;
}

.aml_leagues-template-default.single-aml_leagues .content-area,
.aml_clubs-template-default.single-aml_clubs .content-area,
.aml_players-template-default.single-aml_players .content-area,
.aml_league_days-template-default.single-aml_league_days .content-area{
    width: 100% !important;
}

.aml_alert_warning{
    margin-top: 24px;
    margin-bottom: 24px;
    font-weight: bold;
    color: #c00;
}

#content .aml_fakelink, .aml_fakelink{
    cursor: pointer;
}

.aml_hide_by_default{
    display: none;
}

.aml_print_button{
    display: block;
    text-align: center;
    min-width: 128px;
    max-width: fit-content !important;
    padding: 8px 16px 8px 16px;
    cursor: pointer;
    border: 1px solid rgba( 220, 220, 220, 0.1);
    border-radius: 8px;
}

.aml_icon{
    filter: sepia(100%) hue-rotate(190deg) saturate(900%);
}

.aml_icon_print{
    width: 32px;
    display: inline-block;
    margin-right: 8px;
}

h1.aml_headline{
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 36px;
}

/* LEAGUE */
#block_table {
    border: 4px solid #000;
}
#aml_league_table{
    width: 100%;
    margin: 0;
    background-color: #fff;
    color: #000;
}

.aml_league_table a{
    color: inherit !important;
}

.table_headlines, .aml_leagues-template-default #block_table a, #content .player_name_inmatch a, #content .match_name a, #content .aml_fakelink, .aml_fakelink, li.player_statistics, #content #club_player a, #content #player_email a, #content .match_headline a, #content .match_line a, #content #tm_players_stats_table a, #content .tm_players_stats_table a{
    background: none;
    color: #000;
    font-weight: bold;
}

.aml_leagues-template-default #block_table a:hover, #content .player_name_inmatch a:hover, #content .match_name a:hover, #content .aml_fakelink:hover, .aml_fakelink:hover, li.player_statistics:hover, #content #club_player a:hover, #content #player_email a:hover, #content .match_headline a:hover, #content .match_line a:hover, #content #tm_players_stats_table a:hover, #content .tm_players_stats_table a:hover{
    color: #0A4C95;
}

/* MATCHS LAYOUT */
h3.entry-title_sub1{
    font-size: 20px;
}

h3.entry-title_sub2{
    font-size: 16px;
}

.matchs_board{
    width: fit-content;
    overflow: auto;
    margin-top: 24px;
    margin-bottom: 48px;
    margin-left: auto;
    margin-right: auto;
    padding: 4px;
    border: 4px solid #000;
    background-color: #fff;
    color: #000;
    font-weight: bold;
}

.matchs_header{
    height: 40px;
    margin-left: -4px;
    margin-top: -4px;
    margin-right: -4px;
    font-size: 120%;
}

.matchs_footer{
    height: 40px;
    font-size: 120%;
    color: #000;
}

.matchs_footer .aml_metabox_col_matchs_globalpoints, .matchs_footer .aml_metabox_col_matchs_globalsets, .matchs_footer .aml_metabox_col_matchs_globalgames{
    background-color: #ccc;
    text-align: center;
    line-height: 40px;
    border-top: 2px solid #000;
}
.aml_metabox_col_matchs_globalpoints{
    /*line-height: 40px;*/
}

.matchs_header div div{
    vertical-align: middle;
    height: 100%;
    padding-left: 17px;
}

.aml_metabox_columns select{
    display: block;
}

.match_summary{
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    border: 1px solid #555;
}
.match_summary .headline{
    font-weight: bold;
}
.winner{
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    font-size: 28px;
}
.table_headline, .matchs_header, .headline{
    background-color: #ccc;
    color: #000;
}
.row_0{
    background-color: #ededed;
}
.aml_metabox_columns{
    display: inline-block;
    flex-direction: column;
    flex: auto;
    /*min-height: 50%;*/
    /*border: 2px solid blue;*/
}
/*
.player_name_inmatch a, #tm_players_stats_table a, #block_table a, #club_player a{
    padding: 0 !important;
    background-color: transparent !important;
    color: initial !important;
}
*/

.aml_metabox_columns_player{
    min-width: 180px;
    max-width: 200px;
    vertical-align: top;
}

.aml_metabox_row.aml_metabox_columns{
    display: flex;
    flex-direction: row;
    width: fit-content;
    /*border: 4px solid #fc0;*/
}

.aml_metabox_col_matchs_players{
    min-width: 400px;
    /*flex: 40%;*/
    /*border: 2px solid #c00;*/
}

.aml_metabox_col_matchs_scores{
    /*flex: 60%;*/
    /*flex-direction: row;*/
    min-width: 110px;
    max-width: 110px;
    display: flex;
    /*border: 1px solid #000;*/
}
.aml_metabox_col_scores{
    min-width: 130px;
    flex-direction: column;
    flex: 50%;
    /*border: 1px solid #00FF00;*/
}
.aml_metabox_col_matchs_score{
    flex: auto;
    min-height: 50%;
}

.nb_players_row_2 .aml_metabox_col_matchs, .nb_players_row_3 .aml_metabox_col_matchs{
    position: relative;
    height: 100%;
    line-height: 50px;
}

.player_name_inmatch{
    margin-right: 8px;
}

.score_inmatch{
    display: inline-block;
    margin-rifgt: auto;
    margin-left: auto;
    max-width: 60px;
}


.player_dropdown{
    margin-top: 2px;
    margin-bottom: 2px;
    margin-right: 8px;
    width: 200px;
}
.css_player_select_1{
    /*width: calc( 100% - 8px );*/
}
/*
.css_player_select_2{
    width: calc( 100% - 8px );
}
*/
.aml_metabox_col_matchs{
    /*max-width: 60px;*/
    margin-right: 2px;
}

.row_0 .div_left_border {
    padding-left: 8px;
    border-left: 1px solid #fff;
}
.row_1 .div_left_border {
    padding-left: 8px;
    border-left: 1px solid #888;
}



/* CLUB */
#club_infos_container{
    margin-bottom: 64px;
}

.club_locations, .club_players_container {
    display: block;
}

.club_logo_container{
    display: inline-block;
    /*
    margin-top: -40px;
    min-height: 50px;
    */
}

.entry-content img.club_logo, .club_logo{
    max-width: 150px;
    float: right;
}

.name_club_headline, .name_club_toggle{
    display: inline-block;
    cursor: pointer;
}

.entry-content img.team_pic, .team_pic, .team_pic img{
    max-width: 650px;
    border: 4px solid #000;
    border-radius: 32px;
}

.name_club_toggle{
    margin-top: 0;
    margin-left: 8px;
    border-radius: 8px;
    padding: 4px;
}

.name_club_toggle.dark{
    background-color: #000;
    border-radius: 8px;
    padding: 4px;
}

.name_club_toggle.nonoe{
    display: none;
}

.name_details_toggle{
    display: none;
}

#players_list{
    margin-top: 36px;
}

#club_players_container{
    /*display: inline-block;*/
    height: 600px;
    /*width: 50%;*/
    overflow-y: auto;
    margin: auto;
    margin-right: 64px;
    float: left;
    /*border: 1px solid #000;*/
}

.player_statistics{
    width: fit-content;
    cursor: pointer;
}

.club_player_statistics{
    /*display: inline-block;*/
    /*min-height: 600px;*/
    /*width: 50%;*/
    overflow-y: auto;
    margin: auto;
    margin-bottom: 48px;
    /*float: right;*/
    /*border: 1px solid #000;*/
}

.club_player_statistics h2{
    margin-top: 0;
}

/* PLAYER */
.player_info_label{
    display: block;
    margin-top: 16px;
    margin-right: 16px;
    color: #000;
    font-size: 16px;
    font-weight: bold;
}

.player_profile_container{
    clear: both;
    margin: auto;
    max-width: 250px;
    border-radius: 36px;
    border: solid 4px #000;
    overflow: hidden;
    margin-bottom: 36px;
}

#player_profile_image{
    max-width: 250px;
}

#player_statistics_headline{
    margin-top: 24px;
}

#player_stats_table{
    display: none;
}

#player_compare_view_container_end{
    clear: both;
}

.compare_checkbox{
    margin-top: 16px;
    margin-bottom: 16px;
}

#add_to_compare_label{
    color: inherit;
}

.player_selector_container{
    margin: auto;
    margin-bottom: 64px !important;
    text-align: center;
}

.player_selector_form_buttons{
    display: inline-block;
    margin-right: 8px;
}

.aml_player_container, .aml_leagueday_container, .aml_club_container, .aml_stats_container, .aml_table_container, #league_tops{
    max-width: 80% !important;
    width: 80%;
    margin: auto;
    margin-bottom: 64px;
}

.aml_club_container_width{
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.aml_player_container{
    text-align: center;
}

#player_name{
    margin-bottom: 0;
}

.uk-table.club_stats, .club_stats{
    margin-bottom: 64px;
}
.uk-table.club_stats th, .club_stats th{
    font-weight: bold;
}

.player_stats{
    margin: auto;
    width: fit-content;
    max-width: 350px;
    position: relative;
    /*float: left;*/
    border: 4px solid #000;
    background-color: #fff;
    color: #000;
}

#player_compare_container .player_stats{
    display: block;
}

#player_compare_container{
    display: block;
    max-width: 80%;
    margin: auto;
    text-align: center;
}

#player_compare_subcontainer{
    margin: auto;
    display: inline-block;
}

#player_compare_container .aml_player_container{
    display: inline-block;
    float: left;
    width: 300px;
    //max-width: 300px !important;
    min-width: 350px !important;
}

#player_compare_container .aml_player_container .player_statistics_headline, #player_compare_container .aml_player_container .player_matchs_headline, #player_compare_container .player_profile_container, #player_compare_container .player_info_label{
    display: none;
}

.player_compare_view{
    min-width: 350px;
    float: left;
}

#player_compare_view_1{
    position: relative;
    float: left;
    /*border: 2px solid #4ab866;*/
}

#player_compare_view_2{
    position: relative;
    /*margin-top: -110px;*/
    /*left: 360px;*/
    float: left;
    /*border: 2px solid #fc0;*/
}

.compare_highest{
    font-weight: bold;
    background-color: #03b234;
    color: #000;
}

.player_stats .headline{
    font-weight: bold;
}

#club_player{
    margin: 0;
}

table.player_matchs, #content table.dataTable.no-footer{
    min-width: 800px;
    margin-bottom: 32px;
    border: 4px solid #000 !important;
    background-color: #fff;
    color: #000;
}

table.player_matchs{
    display: block;
    width: fit-content;
    margin: auto;
    margin-bottom: 32px;
}

.player_matchs h3.entry-title, .player_matchs h3.entry-title_sub1, .player_matchs h3.entry-title_sub2{
    font-size: 18px;
    font-weight: bold;
    margin: 0
}
.player_matchs h3.entry-title_sub1{
    font-size: 16px;
}
.player_matchs h3.entry-title_sub2{
    font-size: 14px;
}

td.match_home_players, td.match_gast_players{
    width: 200px;
}

.current_player{
    font-weight: bold;
    color: #88ce3e;
}

td.match_scores{
    text-align: right;
    font-weight: bold;
}

.score_set{
    min-width: 60px;
    margin-right: 24px;
}

.score_set_1, .score_set_3{
    background-color: rgba( 255, 255, 255, 0.2);
}

/* MAP */
.mapouter{
    position:relative;display: inline-block;
    vertical-align: middle;
    margin-left: 32px;
    margin-bottom: 64px;
    border: 4px solid #000;
    border-radius: 32px;
    height:400px;
    width:600px;
    text-align:right;
}

.gmap_canvas {
    overflow:hidden;
    /*background:none!important;*/
    height:400px;
    width:600px;
    border-radius: 32px;
}

.mapouter iframe{
    border-radius: 32px;
    width: 600px;
    height: 400px;
}

/* STATS SHORTCODE */
#league_stats{
    clear: both;
}


/* GENERAL STATISTICS */
table#tm_players_stats_table, table.tm_players_stats_table{
    border: 4px solid #000 !important;
    background-color: #fff;
    color: #000;
}

table#tm_players_stats_table thead, table#tm_players_stats_table thead th, table.tm_players_stats_table thead, table.tm_players_stats_table thead th{
    background-color: #ccc;
    color: #000;
}

.club_email_container, .club_phone_container {
    margin-top: 16px;
    margin-bottom: 16px;
}

.icon_email, .icon_phone{
    width: 64px;
    max-width: 64px;
    margin-right: 32px;
}


/* LIST OF GAMES FOR A LEAGUE */
.aml_leaguegames {
    height: 350px;
    max-height: 350px;
    overflow-y: auto;
}

.aml_leaguegames h4{
    margin-top: 0;
    margin-bottom: 0;
    font-size: 18px;
}

.aml_leaguegames ul {
    margin-top: 0;
}

/* SMARTPHONE */
@media only screen and (max-width: 481px) {

    body, .aml_player_container, .aml_leagueday_container, .aml_club_container, .aml_stats_container, .aml_table_container{
        width: 99%;
        margin: auto;
        margin-bottom: 8px;
        overflow-x: auto;
    }

    table.aml_league_table{
        zoom: 0.6;
        width: 100%;
    }

    table .table_sets{
        min-width: 48px;
    }

    table .table_gamepoints{
        min-width: 100px;
    }

    table.players_stats{
        zoom: 0.6;
        max-width: inherit;
        width: 100%;
    }

    table.player_matchs, #content table.dataTable.no-footer,table.player_matchs tr{
        width: 100%;
        min-width: inherit;
    }
    table.player_matchs td{
        width: 48%;
        display: inline-block;
    }
    table.player_matchs td.match_scores{
        width: 100%;
        text-align: center;
    }
    .score_set{
        font-size: 20px;
    }

    .match_home_players.aml_smalldevice_fullwidth, .match_gast_players.aml_smalldevice_fullwidth{
        border: 1px solid #aaa;
    }
    .match_home_player.aml_smalldevice_fullwidth{
        background-color: #fff;
    }
    .match_gast_players.aml_smalldevice_fullwidth{
        background-color: #ddd;
    }

    .mapouter, .gmap_canvas{
        margin-left: 0;
        padding-left: 0;
        width: inherit;
    }

    .mapouter iframe{
        width: inherit;
        height: 400px;
    }

    .aml_smalldevice_fullwidth{
        display: block;
        width: 100%;
    }

    .aml_smalldevice_hide{
        display: none;
    }
}




/* PRINT */
@media print {


    @page{
        background-image: none !important;
        background: none !important;
        background-color: #fff !important;
        webkit-print-color-adjust: exact !important;
        margin-top: 100px !important;
        border: 8px solid #000;
    }

    .headline, .table_headline, .matchs_header{
        background: #ccc !important;
        background-color: #ccc !important;
        print-color-adjust: exact !important;
        webkit-print-color-adjust: exact !important;
    }

    .row_0{
        background-color: #dedede !important;
        print-color-adjust: exact !important;
        webkit-print-color-adjust: exact !important;
    }

    .entry-content{
        margin: 0 !important;

    }

    header#masthead, #player_selector_headline, #player_selector_form, .noPrint, .masthead-sentinel, footer, .dataTables_length, #tm_players_stats_table_filter, .dataTables_paginate {
        display: none !important;
    }

    .aml_pagebreak {
        page-break-before: always;
    }

    article{
        zoom: 0.9;
        width: 90%;
    }

    .match_name{
        /*margin-top: 150px !important;*/
    }

    #content, #primary, #main, .matchs_board{
        width: max-content;
        min-width: 100%;
        margin: 0;
        overflow: initial;
    }

    #primary{
        width: max-content;
    }

    .matchs_footer{
        margin-bottom: 64px;
    }

    #content table.dataTable.no-footer, .uk-table.uk-table-hover.uk-table-striped.tm_players_stats_table.dataTable.no-footer{
        border: 4px solid #000;
        background-color: #fff;
        color: #000;
    }
}
