﻿
/**********************************
              MAIN - MASTER
**********************************/

:root {
    --maincolor: #0b304f;
}

html, body {
    background-color: #fff;
    margin: 0px;
    /*text-align: left;*/
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    padding: 0;
    font: 12px "Trebuchet MS";
}

body {
    position: relative;
}

@media (min-width: 768px) {
    body {
        max-width: 480px;
        margin: 0 auto;
    }
}

h3 {
    margin: 0;
    padding: 0;
}

h4 {
    margin: 0 0 7px 0;
    padding: 0;
    font-weight: normal;
    font-size: 14px;
}

.Header {
    background-color: var(--maincolor);
    /*width: 100%;*/
    font-weight: bold;
    color: #ffffff;
    padding: 5px 0px 5px 10px;
    display: block;
}

.SubHeader {
    background-color: #000;
    font-weight: bold;
    color: #ffffff;
    padding: 6px 0px 6px 10px;
    display: block;
}

.MainContent {
    margin: 10px 10px 20px 10px;
    /*width: 100%;*/
}

.Footer {
    background-color: var(--maincolor);
    width: 100%;
    height: 25px;
    color: #ffffff;
    padding-top: 8px;
    font-size: small;
    clear: both;
    position: relative;
    bottom: 0;
    left: 0;
    z-index: 10;
    margin-top: -1em;
}

    .Footer a {
        color: #ffffff;
        text-decoration: none;
    }

.textcenter {
    text-align: center;
}

.textleft {
    text-align: left !important;
}

.textbold {
    font-weight: bold;
}

.tourname {
    font-size: 15px;
}

.dll {
    width: 99%;
    height: 25px;
}

.inputResult {
    height: 30px;
    width: 50px;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #B6B6B6;
}

input[type="text"][disabled] {
    background-color: white;
}

.button {
    font-family: Arial, sans-serif;
    font-weight: bold;
    display: inline-block;
    padding: 4px 20px 4px 20px !important;
    color: #fff !important;
    font-size: 13px !important;
    cursor: pointer;
    border-radius: 3px;
}

.green {
    border: 1px solid #549B3C !important;
    background-color: #549B3C;
}

.half {
    width: 50%;
}

.setsubmatch {
    padding: 10px 0px 10px 0px;
    width: 100%;
}

.matchinfo {
    padding: 15px 0px;
    border-bottom: 1px solid #e6e6e6;
    border-top: 1px solid #e6e6e6;
    position: relative;
}

fieldset {
    border: 1px solid silver;
    margin: 0px 0;
    padding: 10px;
}

legend {
    border-left: 0 solid #EEE;
    border-right: 0 solid #EEE;
    font-weight: bold;
    padding: 5px 10px;
}

.noresults {
    width: 100%;
    text-align: center;
    padding: 10px 0px 10px 0px;
    background-color: #fff;
    font-weight: bold;
}

.errorMessage {
    margin: 10px 0;
    padding: 10px;
    width: 100%;
    background: #ce5050;
    color: #fff;
    float: left;
    box-sizing: border-box;
    text-align: center;
}

/**********************************
              TABLE
**********************************/

table.List {
    width: 100%;
}

    table.List tr:nth-child(odd) {
        font-size: 11px;
        font-weight: bold;
    }

    table.List tr:nth-child(even) {
        font-weight: bold;
        font-size: 13px;
    }

    table.List tr:nth-child(odd) td:nth-child(odd) {
        padding: 2px 0px 0px 2px;
        border: 0;
    }

    table.List tr:nth-child(odd) td:nth-child(even) {
        text-align: right;
    }

    table.List tr:nth-child(even) td {
        padding: 2px 0px 10px 2px;
        width: 80%;
    }

    table.List tbody {
        cursor: pointer;
    }

        table.List tbody:hover {
            background-color: #eeeeee;
        }

table.Search {
    width: 100%;
}

    table.Search tr:nth-child(odd) td {
        font-size: 11px;
        font-weight: bold;
    }

    table.Search tr:nth-child(even) td {
        padding-bottom: 15px;
    }

table.PoolScore {
    width: 100%;
}

    table.PoolScore thead td {
        font-weight: bold;
    }

    table.PoolScore td {
        padding: 5px 0 5px 0;
    }

        table.PoolScore td.score {
            padding: 0px 3px 0px 3px;
            text-align: center;
        }

    table.PoolScore tr.lineType1 td {
        padding: 0;
        height: 3px;
        background: url('/Include/Img/linetype1.gif');
    }

    table.PoolScore tr.lineType2 td {
        padding: 0;
        height: 3px;
        background: url('/Include/Img/linetype2.gif');
    }

table.Scorecard {
    width: 100%;
    border: 1px solid #ccc;
    font-size: 14px;
    margin-bottom: 20px;
}

    table.Scorecard tr {
        height: 40px;
    }

        table.Scorecard tr td {
            padding: 15px 5px 2px;
            border: 1px solid #ccc;
            position: relative;
        }

            table.Scorecard tr td .lightText {
                position: absolute;
                top: 2px;
                left: 5px;
                font-size: 10px;
                text-transform: uppercase;
                color: #ababab;
            }

        table.Scorecard tr:first-of-type td {
            font-size: 18px;
            font-weight: bold;
            vertical-align: bottom;
            padding: 0;
        }

            table.Scorecard tr:first-of-type td span {
                vertical-align: bottom;
            }

        table.Scorecard tr td img {
            float: right;
            max-width: 150px;
            max-height: 100px;
        }

        table.Scorecard tr td .innerTable {
            width: 100%;
        }

            table.Scorecard tr td .innerTable tr td {
                border: none;
                margin: 0;
                padding: 0;
            }

table.Match {
    width: 100%;
    text-align: center;
    font-size: 13px;
}

    table.Match tr td {
        padding: 5px;
        line-height: 22px;
    }

table.MatchInfo {
    width: 100%;
    text-align: center;
    font-size: 13px;
}

    table.MatchInfo tr:nth-child(odd) td {
        font-weight: bold;
    }

    table.MatchInfo tr:nth-child(even) td {
        padding-bottom: 15px;
    }

.tableCellMargin {
    padding-right: 5px;
}

table.averageresult {
    width: 100%;
    padding-bottom: 20px;
}

    table.averageresult .headertext {
        font-size: 13px;
        font-weight: bold;
    }

/**********************************
              TABS
**********************************/
#tabs {
    vertical-align: top;
    display: none;
    font-size: 12px;
    width: 100%;
}

    #tabs ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #tabs a {
        color: #ffffff;
        display: block;
        padding: 10px 0px;
    }

    #tabs ul li {
        font-size: 14px;
        font-weight: bold;
        float: left;
        cursor: pointer;
        text-align: center;
        background-color: #8C8C8C;
        height: 100%;
    }

    #tabs span {
        display: inline-block;
        vertical-align: middle;
    }

    #tabs li:hover div {
        background-color: #8C8C8C;
        cursor: pointer;
    }

    #tabs li.current {
        background-color: #BFBFBF;
        height: 100%;
        color: #ffffff;
    }

        #tabs li.current a {
            color: #ffffff;
        }

/**********************************
              POPUP
**********************************/

.PopUpOverlay {
    display: none;
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    min-height: 100%;
    background-color: rgba(105, 105, 105, 0.8);
    z-index: 4001;
}

.PopUpBox {
    /*height: 100px;*/
    width: 250px;
    background: white;
    -webkit-box-shadow: 0px 0px 13px rgba(50, 50, 51, 0.47);
    -moz-box-shadow: 0px 0px 13px rgba(50, 50, 51, 0.47);
    box-shadow: 0px 0px 13px rgba(50, 50, 51, 0.47);
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    z-index: 4500;
    margin: 0 auto;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    /*left: 50%;*/
    /*margin-left: -px;
    margin-top: -150px;*/
    /*display: none;*/
}

.PopUpButton {
    position: absolute;
    bottom: 5px;
    right: 8px;
}

.PopUpHeader {
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px solid black;
}

.PopUpTextDiv {
    margin-left: 0px;
    margin-top: 10px;
    margin-bottom: 20px;
    float: left;
    display: inline-block;
    text-align: left;
}

.PopUpImg {
    height: 110px;
    width: 100px;
    margin-left: -80px;
    background-image: url('/include/img/alertBoxImg.png');
    z-index: 949949;
    display: inline-block;
    float: left;
    margin-top: -5px;
}

.PopUpCloseButton {
    position: absolute;
    /*bottom: 90px;*/
    top: -11px;
    right: -11px;
    height: 24px;
    width: 24px;
    background-image: url('/include/img/close_button_48px.png');
    background-repeat: no-repeat;
    background-size: 24px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
}

/**********************************
              CONTACT
**********************************/

.con_list {
    width: 80%;
    margin: 0 auto;
}

.con_tb {
    padding-top: 20px;
}

.infoTd {
    line-height: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #D6D6D6;
}

.con_teamName {
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    display: inline-block;
}

.con_name {
    font-weight: bold;
    font-size: 14px;
}

.con_phone {
    font-size: 14px;
}

.con_mail {
    font-size: 14px;
    color: #5d9ba7;
}

.con_stadium {
    font-size: 14px;
}

.ispan {
    margin-right: 5px;
    text-align: center;
    width: 30px;
    display: inline-block;
}

/**********************************
              Pop-up Telerik
**********************************/

.pop_pad_result {
    padding: 0 5px;
    margin-top: 40px;
}

.pop_pad_search {
    padding: 0px 5px 10px 5px;
}

.pop_left {
    float: left;
    width: 290px;
}

form .pop_searchTable {
    margin-left: 15px;
}

    form .pop_searchTable td {
        line-height: 30px;
        padding: 0 2px;
    }

        form .pop_searchTable td:nth-child(1) {
            width: 75px;
        }

form .pop_formTable {
    margin-left: 15px;
}

    form .pop_formTable left {
        float: left;
    }

    form .pop_formTable td {
        line-height: 30px;
        padding: 0 2px;
    }

.pop_buttons {
    width: 100%;
    display: inline-block;
    margin-top: 10px;
    margin-right: 15px;
    clear: both;
    text-align: right;
}

    .pop_buttons.center {
        text-align: center !important;
    }

#contentPopup {
    padding: 0 10px 10px;
}

    #contentPopup h2 {
        font-size: 14px;
        font-weight: bold;
        color: #292929;
        border-bottom: 1px solid var(--maincolor);
        padding: 0 0 0 5px;
        margin: 20px 0;
        line-height: 32px;
        height: 32px;
    }


/**********************************
        Chat (Match)
**********************************/

.chat_container{
    position: sticky;
    bottom: 0;
    justify-content: flex-end;
    display: flex;
}

#chat_button {
    position: absolute;
    bottom: 0;
    right: 1rem;
    z-index: 25;
    width: 64px;
    height: 64px;
    background: var(--maincolor);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

    #chat_button:hover {
        width: 66px;
        height: 66px;
    }

    #chat_button img {
        margin: 15px auto;
        margin-bottom: 2px;
        display: block;
        width: 40%;
    }

    #chat_button .text {
        margin: 0 auto;
        display: block;
        font-weight: bold;
        color: white;
    }

    #chat_button .badge {
        border-radius: 50%;
        background-color: #FF3407;
        color: white;
        width: 20px;
        height: 20px;
        position: absolute;
        top: 0;
        right: 0;
        text-align: center;
        line-height: 20px;
    }

.chatBox {
    min-height: 100px;  
    width: 360px;
    background: white;
    -webkit-box-shadow: 0px 0px 13px rgba(50, 50, 51, 0.47);
    -moz-box-shadow: 0px 0px 13px rgba(50, 50, 51, 0.47);
    box-shadow: 0px 0px 13px rgba(50, 50, 51, 0.47);
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    z-index: 4500;
    margin: auto;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
}

.chatContent {
    margin: 20px 20px 10px 20px;   
    max-height: 300px;
    overflow-y: auto;
}

    .chatContent .chatmessage_container {
        width: auto;
        color: #8B8B8B;
        margin-top: 15px;
    }

        .chatContent .chatmessage_container .headertext {
            padding-left: 2px;
        }


        .chatContent .chatmessage_container:last-child {
            margin-bottom: 10px;
        }

        .chatContent .chatmessage_container.own {
            float: left;
            margin-right: 30px;
        }

            .chatContent .chatmessage_container.own > div {
                background-color: #FFD49B;
            }

        .chatContent .chatmessage_container.other {
            float: right;
            margin-left: 30px;
            margin-right: 10px;
        }

            .chatContent .chatmessage_container.other > div {
                background-color: #EEEEEE !important;
            }

    .chatContent .chatmessage {
        border-radius: 5px;
        color: black;
        padding: 10px;
    }

.chatNewMessage {
    /*width: 100%;*/
    text-align: center;
    margin-bottom: 20px;
}

    .chatNewMessage .textbox {
        border-radius: 5px;
        border: 1px solid #B6B6B6;       
    }

    .chatNewMessage .chatsave {
        vertical-align: middle;
        margin-left: 5px;
        width: 32px;
    }

        .chatNewMessage .chatsave:hover {
            width: 34px;
        }

/**********************************
       Scrollbar
**********************************/

/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
