/*
    html {
        overflow: visible !important;
    }
*/

    .matchsearchcont {
        width: 95%;
        display: grid; 
        place-items: center;
    }

    table {
        margin: auto;
        border-collapse: collapse;
    }

    
    th {
        border: 1px solid #00000073;
        background-color:#333546;
        padding: 8px;
        text-align: center;
    }
    

    td {
        border: 1px solid #00000073;
        padding: 8px;
        text-align: center;
    }

    .odd tr, .odd td  {
        border: 1px solid #00000073;
        background-color:#353957;
        padding: 8px;
        text-align: center;
    }

    .even tr, .even td {
        border: 1px solid #00000073;
        background-color:#333546;
        padding: 8px;
        text-align: center;
    }

    .server th, .server td {
        border-top: 0px;
        border-left: 0px;
        border-right: 0px;
        border-bottom: 1px solid #696969;
        border-radius: 5px;
    }

    .tooltip {
            position: relative;
            cursor: help;
        }
        .tooltip:hover:after {
            content: attr(data-tooltip);
            position: absolute;
            top: 108%;
            left: 0;
            background-color: #333;
            color: white;
            padding: 5px;
            border-radius: 3px;
            z-index: 1;
            cursor:help;
        }

        #show-tooltip {
			position: absolute;
			display: none;
			background-color: #121212;
			border: 1px solid #CDCDCD;
			color: white;
			padding: 10px;
			border-radius: 25px;
			z-index: 1000;
			font-size: 12px;
			max-width: 250px;
			word-wrap: break-word;
		}

    .sheader {
        border-bottom:5px dotted #adcce9;;
    }

    .rankheader {
        color: #6372b4;
        background-color: #2a115d1a;
        padding: 75px;
    }

    .weapontable th {
        background-color: #bcbabace;
        color: #1d1c1ce3;
        font-weight:bold;
    }

    .follow th, .follow thead {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        font-weight: bold;
        font-size: 17px;
        color: #4c7397;
        border: 1px solid #363a6173;
        background-color: #1c1f3952; /* #1c1f3952; */
        z-index: 998;
        opacity: 1;
        transition: all 0.5s linear;
    }
    
    .follow th:hover, .follow thead:hover {
        background-color: #282c4d52;
    }

    .td_highlight {
        background-color: #111111 !important;
        border-radius: 10px !important;
    }

    
    #mock_header {
        display: table-row;
        visibility: hidden;
        position: fixed;
        top: 0;
        z-index: 998;
        color: #ffffff;
        border: 1px solid #c3c3c35d;
        background-color: #333546;
        border: 1px solid #00000073;
        text-align: center;
        border-collapse: collapse;
        opacity: 1;
        transition: all 0.5s cubic-bezier(0.39, 0.58, 0, 1.26);
        width: auto !important;
    }

    .searchinput {
        background-color: #333546;
        display: inline-flex;
        padding: 12px;
        border: 1px solid #696969;
        border-radius: 50px;
        width: auto;
        height: auto;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: center;
        align-content: stretch;
        flex-direction: row;
        font-weight: bold;
        font-size: 13px;
        margin-top: 3px;
        margin-bottom: 3px;
        cursor:pointer;
        transition: background-color 0.3s ease, border-color 0.3s ease;
    }

    .searchinput:hover {
        background-color:#323657;
        border: 1px solid #8d8d8d;   
    }

    .searchinputcont {
        margin-bottom: 10px; 
        padding:5px;
    }

    .sorttype {
        padding:5px;
        border-radius:5px;
        background-color: #ffffff21;
    }

    .searchinput.highlighted {
        background-color: #484f89;
    }

    .tbk {
        background-color: #2b2c33;
    }

    .first {
        font-weight: bold; 
        background-color: #26fc005b;
    }

    .pname {
        font-size:15px;
        font-weight:bold;
    }

    .seasonheader {
        width: fit-content;
        margin: auto;
        background-color: #adcce93b;
        border-radius: 6px;
        padding: 10px !important;
    }

    .move {
        float: right;
        position: relative;
        right: 1.5rem;
        top: 3.75rem;
    }

    .moveleft {
        float: left;
        position: relative;
        left: 1.5rem;
        top: 3.7rem;
    }

    .modmode {
        float: right;
        font-weight: bold;
        font-size: 12px;
        color: #b3b3b3;
        padding-bottom: 5px;
        padding-right: 5px;
        position: relative;
        bottom: 1.9rem;
    }

    .mm_off {
        color: #f1b5b8c7;
    }

    .mm_on {
        color: #f2ec00c7;
    }

    .mm_button {

        background: none;
        color: inherit;
        border: none;
        padding: 0;
        font: inherit;
        cursor: pointer;
        outline: inherit;
    }

    .OID {
        background-color: #6495ed2b;
        padding: 10px;
        border-radius: 5px;
        font-weight: bold;
        color: coral;
        margin: auto;
    }

    .copyoid {      
        width: 9rem;
        padding: 2px;
        padding-left: 2%;
        color: #000000a8;
    }

    .p_info {
        background-color: #393b4ea3;
        position: relative;
        top: 10px;
        padding: 10px;
        border-radius: 3px;
        border: 1px solid #00a8fc;
    }

    .p_warning {
        background-color: #655943;
        position: relative;
        top: 10px;
        padding: 10px;
        border-radius: 3px;
        border: 1px solid #f0b132; 
    }

    .jan_fix {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        right: 0em !important;
        overflow-x: hidden !important;
    }/* edited again by mkos for new compat */

    .h_server {
        width: 85%; 
        border-collapse: collapse; 
        border: 0px;
    }

    .b_spec_1 {
        border: 0px;
        height: 80px;
    }

    .bold_font {
        font-weight: bold;
    }

    .s_title {
        color:#6372b4;
        font-size:20px;
    }

    .s_div_matchids {
        max-height:250px;
        overflow-x:hidden;
        overflow-y:scroll;
    }

    .div_style_2 {
        max-height: 250px; 
        overflow-y: scroll;
    }

    .text_style_highlight {
        font-weight: bold; 
        background-color: #26fc005b;
    }

    .gt_table {
        width: 100%;
        border-collapse: collapse;
    }

    .gt_table_td_scripts {
        width: 100%;
        border-collapse: collapse;
    }

    tr[data-stat="script_stat"] {
        background-color: #4c7397cf;
    } 

    .table_font_1 {
        color:#ad8500;
    }

    .small_text {
        font-size:10px;
    }
    
    .small_text_2 {
        font-size:10px;
        font-weight:bolder;
        padding:0px;
    }

    .tab_highlight {
        background-color:#25591fab !important;
    }

    .div_100 {
        width:100%;
    }

    .div_50 {
        width:50%;
        margin: 0 auto;
    }

    .pushright {
        margin-left: 50%;
    }

    .div_servers_played {
        max-height:650px;
        overflow-x:hidden;
        overflow-y:scroll;
    }

    .sep_border_bottom {
        border-bottom: 5px dotted #adcce9;
    }

    .lifetime_matches_container {
        width:100%;
        justify-content:center;
        max-height:172px;
        overflow-y:scroll;
        overflow-x:hidden;
        background-color:#2b2c33;
    }

    .lifetime_matches_text {
        border-bottom:3px dotted #CBCBCB;
        font-weight:bold;font-size:20px;
    }

    .showbutton {
        height:auto;
        width:auto;
        padding:3px;
        cursor:pointer;
    }

    .closebutton {
        height:auto;
        width:auto;
        padding:15px;
        cursor:pointer;
        font-size:28px;
    }

    .center-text { 
        text-align:center;
    }

    .w_rem3 {
        width:3rem;
    }

    .current_page {
        color: #6372b4;
        font-weight:bold;
    }

    .sdc_override {
        text-align: center;
        background-color:#26272fd4;
    }

    .pad_75 {
        padding:75px;
    }

    .text-search {
        cursor:pointer;
        padding: 5px; width:auto;
        height:auto;
    }

    .click {
        cursor: pointer;
    }

    .banned {
        color: #f6ff006b !important;
        background-color: #5b2525ed !important;
    }

    .season_ended_header {
        width: fit-content;
        margin: auto;
        background-color: #a355598a;
        border-radius: 20px;
        padding: 10px !important;
    }
    
    /* page nav */
    .pagination-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        background-color: #1b1b1b;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        /* margin: 10px 0 15px 0; */
        width: 99.98%; /* tehe */
        margin: auto;
    }

    .pagination-container .pagination-link,
    .pagination-container .current-page {
        color: #fff;
        text-decoration: none;
        padding: 8px 12px;
        border-radius: 6px;
        background-color: #005bb5;
        border: 2px solid #005bb5;
        transition: background-color 0.3s ease, transform 0.2s;
        text-align: center;
    }

    .pagination-container .pagination-link:hover {
        background-color: #004a99;
        transform: scale(1.05);
    }

    .pagination-container .current-page {
        font-weight: bold;
        background-color: #004a99;
        cursor: default;
    }

    .pagination-container .disabled-link {
        color: #888;
        background-color: #333;
        border: 2px solid #555;
        pointer-events: none;
    }

    .disabled-link {
        cursor: no-drop;
    }

    .pagination-container .left,
    .pagination-container .center,
    .pagination-container .right {
        flex: 1;
        text-align: center;
    }

    .pagination-container .left {
        text-align: left;
    }

    .pagination-container .right {
        text-align: right;
    }

    .pagination-container .disabled-link {
        color: #888;
        background-color: #2b2b2b;
        border: 2px solid #555;
        pointer-events: none;
        text-align: center;
        padding: 8px 12px;
        border-radius: 6px;
    }

    .consist-fix {
        min-width: 75em;
    }

    .widen {
        width: 100%;
    }

    .searchdisplaycontainer {
        width: revert !important;
    }

    #user-linked-ea {
        display: none;
    }


    /********************************************** Mobile Fix *************************************/
    @media only screen and ( max-width: 866px ) 
    { 

        html {
            /* overflow: visible !important; */
        }

        .u-text-default {
            display: inherit !important;
        }


        .u-section-2 .u-text-1 {
            margin: 0 auto !important; 
        }

        .u-text-default {
            display: auto !important;
            width: auto !important;
        }


        body {
            min-width: 100% !important;
            height: auto !important;
            min-height: 100% !important;
            /* display: flex !important; */
            flex-direction: row;
            flex-wrap: wrap;
            align-content: flex-start;
            justify-content: flex-start;
            margin: 0 !important;
            overflow-x: scroll !important;
            background-color: #17181f !important;
            align-items: baseline;
        }

        table {
            table-layout: fixed;
            font-size: .9em;
            overflow-wrap: break-word;
            word-wrap: break-word;
            /* width: 100%; */
            padding: 0;
            margin: auto;
            /* text-align: left; */
            border-collapse: collapse;
        }

        .follow #real_header {
            height: 5em;
        }

        .follow th, .follow thead {
            position: -webkit-sticky;
            position: sticky !important;
            top: 5.625em !important;
            font-weight: bold !important;
            font-size:1em !important;
            color: #4c7397 !important;
            border: 0px !important;
            /* background-color: #2c3135bd !important; */
            height: 6.25em !important;
            z-index: 999 !important;
            PADDING: 0 !important;
            overflow-wrap: break-word !important;
            word-wrap: break-word !important;
            transform: rotate(-90deg) !important;
            text-align: left !important;
            width: 100% !important;
            height: 100% !important;
            white-space: nowrap !important;
            /* vertical-align: bottom !important; */
        }

        .hl {
            background-color: #111f2bcf !important;
            padding: 3px !important;
            border-radius: 5px;
        }

        th {
            background-color: transparent !important;
            padding: 0px !important;
        }

        .odd tr, .odd td {
            border: 1px solid #00000073;
            background-color: #353957;
            padding: 0px !important;
            text-align: center;
        }

        .searchdisplaycontainer {
            margin: auto;
            width: 100%; 
            background-color:#26272fd4 !important;
            border: 0 !important;
            outline: 0 !important;
            box-shadow: 0 -5rem 5rem -2rem #5e676d !important;
            border-radius: 0 !important;
            border-bottom: 0 !important;
            border-top: 0 !important;
            margin: 0 !important;
            padding-top: 0 !important;
            outline-offset: 0 !important;
        }

        .u-body {
            --theme-sheet-width-xl: initial;
            --theme-sheet-width-lg: initial;
            --theme-sheet-width-md: initial;
            --theme-sheet-width-sm: initial;
            --theme-sheet-width-xs: initial;
        }

        .rankheader {
            color: #6372b4 !important;
            background-color: #2a115d1a !important;
            padding: 0px !important;
        }

        .spacetop {
            position:relative !important;
            top: 6.25em !important;
        }

        .rotate {
            padding: 0 !important;
            transform: rotate(-90deg) !important;
            white-space: nowrap !important;
            /* display: block !important; */
            display: inline-block;
            width: max-content;
            margin: 0 auto; 
        }

        .rotate-container {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
        }

        .pname {

            font-size:1em !important;
            font-weight:bold !important;

            }

        #mock_header {
            position: sticky;
            top: 0;
            z-index: 998;
            height: 6.25em;
            transition: all 0.5s linear;
            display: table-row;
            visibility: hidden;
            margin-right: 4.9375em;
            z-index: 999999999;
            background-color: none;
            border: 1px solid #00000073;
            text-align: center;
            border-collapse: collapse;
            opacity: 0;
            transition: all 0.5s cubic-bezier(0.39, 0.58, 0, 1.26);
        }

        #real_header {
            position: sticky;
            top: 0;
            z-index: 998;
            height: 6.25em;
            transition: all 0.5s linear;
        }

        .mobile-details {
            height:auto !important;
            width:auto !important;
            padding:0px !important;
            cursor:pointer !important;
        }

        .mobile-details-padding {
            padding: 2px !important;
        }

        
        .weapontable th {
            background-color: #bcbabace !important;
            color: #1d1c1ce3 !important;
            font-weight: bold !important;
        }


        .seasonheader {
            width: fit-content;
            margin: auto;
            background-color: #adcce93b;
            border-radius: 6px;
            padding: 10px !important;
        }

        .move {
            float: right;
            position: relative;
            right: 6.5rem !important;
            top: 5.50rem !important;
        }

        .moveleft {
            float: left;
            position: relative;
            left: 3.5rem !important;
            top: 3.7rem;
        }

        .mobilefix_bottom {
            margin-bottom: 5rem;
        }
        
        .mobilefix_top {
            margin-top: 10rem !important;
        }

        .jan_fix {
            display: inherit !important;
            justify-content: initial !important;
            align-items: initial !important;
            right: initial !important;
        }

        .div_50 { /* jan_fix2 */
            width:100% !important;
            margin: 0 auto;
        }

        .consist-fix {
            max-width: initial !important;
            min-width: 30em;
        }
        
        .consist-fix td {
            max-height: 6em !important;
        }

        
    }

    /***********************************  END MOBILE FIX ****************************************/
