html, body {
    height: 100%;
}

form.validate .ng-invalid {
    background-color: lightpink;
}

form.validate .ng-valid {
    background-color: white;
}

form.validate .error {
    color: red;
    font-weight: bold;
}

a:focus {
    text-decoration: none;
}

ul.gamedetail {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

    ul.gamedetail li {
    }


.gamedetail table {
    margin-bottom: 0;
}

#wrap {
    min-height: 100%;
}

#main {
    overflow: auto;
    padding-bottom: 80px; /* this needs to be bigger than footer height*/
    position: relative;
}

.loginsection {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    /*text-align:right;*/
}

    .loginsection a {
        color: #ffffff;
        /*text-transform: uppercase;*/
        font-weight: bold;
    }

    .loginsection .username {
        color: #ffffff;
        font-weight: bold;
    }

.footer {
    position: relative;
    margin-top: -80px; /* negative value of footer height */
    height: 80px;
    clear: both;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.clearfix {
    display: inline-block;
}
/* start commented backslash hack \*/
* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}
/* close commented backslash hack */

.container {
    max-width: 960px;
}

.tsnavc {
    text-align: center;
}

.tsnav {
    margin: 0;
    padding: 10px 0;
    display: inline-block;
    text-align: center;
    font-size: 24px;
}

    .tsnav li {
        float: left;
        list-style-type: none;
        padding: 0 10px;
    }

/* home header */
.homeheader {
    height: 498px;
    background-color: #6ca063;
    background-image: url(../img/bg_header.jpg);
    background-position: top center;
    /*
    background-image:  url(http://placehold.it/2400x350);
	
    */
}

    .homeheader .container {
        background-repeat: no-repeat;
        background-position: top center;
        height: 100%;
    }

.homelogo img {
    padding-top: 70px;
    padding-left: 10px;
}

/* header */
.header {
    height: 298px;
    background-color: white;
    background-image: url(../img/bg_header.jpg);
    background-position: top center;
}

    .header .container {
        background-repeat: no-repeat;
        background-position: top center;
        height: 100%;
    }

.logo img {
    padding-top: 70px;
    padding-left: 10px;
}

a.logo {
    font-size: 60px;
    color: #337ab7;
    text-decoration: none;
}

    a.logo:active, a.logo:hover, a.logo:focus, a.logo:visited {
        color: #337ab7;
        text-decoration: none;
    }

/* menu */
.tsnav a, .tsnav a:active, .tsnav a:hover, .tsnav a:focus, .tsnav a:visited {
    text-decoration: none;
    color: #6ca063;
}

.tsnav .menuactive a,
.tsnav .menuactive a:active,
.tsnav .menuactive a:hover,
.tsnav .menuactive a:focus,
.tsnav .menuactive a:visited {
    color: #395a31;
}

/* footer */
.footer {
    height: 80px;
    background-color: #395a31;
    color: white;
}

    .footer .container {
        padding-top: 30px;
        text-align: center;
        position: relative;
    }

.downloadbutton {
    position: absolute;
    left: 10px;
    top: 20px;
}

.contactus {
    position: absolute;
    right: 10px;
}

.footer .container a, .footer .container a:visited, .footer .container a:active {
    color: #ffffff;
    text-decoration: none;
}

    .footer .container a:hover {
        text-decoration: underline;
    }

/* home */
.home #gamekey {
    text-align: center;
}

.gamecodebox {
    padding-top: 20px;
    padding-bottom: 20px;
}

.gamekey {
    font-size: 26px;
    height: 60px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.viewgamebtn {
    font-size: 26px;
    height: 60px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    color: #395a31;
    background-color: #ace0a3;
    border-top-width: 0px;
}

.download {
    text-align: center;
}

/* news */
.news {
    padding: 0;
    margin: 0;
}

    .news li {
        list-style-type: none;
        padding: 5px;
        margin: 0;
    }

    .news h3 {
        display: inline-block;
    }

    .news .issueddate {
        float: right;
        padding-top: 30px;
        padding-right: 10px;
        color: #aaa;
    }

    .news .body {
        color: #333;
    }

/* game */

.gamelist {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.game.table > tbody > tr > td {
    vertical-align: middle;
}

.game.table > tbody > tr {
    cursor: pointer;
}


.gamehistory {
    list-style-type: none;
    padding: 0 0 30px 0;
    margin: 0;
    font-size: 16px;
}

    .gamehistory li {
        padding: 5px 0 5px 0;
        border-bottom: 1px dotted #cccccc;
        margin: 0 20px 0 0;
    }

        .gamehistory li:hover {
            background-color: #efefef;
        }

    .gamehistory .time {
        width: 70px;
        text-align: center;
        display: inline-block;
    }

    .gamehistory .score {
        width: 60px;
        font-weight: bold;
        text-align: center;
        display: inline-block;
    }

    .gamehistory .player {
        display: inline-block;
        width: 150px;
        padding-left: 10px;
    }

    .gamehistory .statusstr {
        display: inline-block;
    }

    .gamehistory .action {
        display: inline-block;
        width: 140px;
    }

    .gamehistory span {
        color: #666;
    }

        .gamehistory span.action {
            font-weight: bold;
        }

    .gamehistory .ace span.action {
        color: #7CC576;
    }

    .gamehistory .winner span.action {
        color: #F68E56;
    }

    .gamehistory .fault span.action, .gamehistory .doublefault span.action {
        color: #A864A8;
    }

    .gamehistory .unforcederror span.action {
        color: #5674B9;
    }

/* rele */
.rule .desc {
    color: #999;
    font-size: 12px;
}

/* scoretable */
table.scoretable.table {
    /*width:470px;*/
    text-align: center;
    width: initial;
}

    table.scoretable.table > tbody > tr > td {
        vertical-align: middle;
    }

table.scoretable.table {
    margin-bottom: 0;
}

.scoretable th {
    text-align: center;
}

.setscore, .gamescore {
    font-size: 20px;
}

.currentset {
    color: green;
}

.gamescore {
    color: #6ca063;
}

.featureblock {
    margin-bottom: 20px;
}

/* tournament begin */

.tournament {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.titlebox {
    margin-top: 17px;
    margin-bottom: 17px;
}

    .titlebox h1 {
        margin-top: 0;
        margin-bottom: 5px;
    }

.roundfilterlist {
    padding: 0;
    margin: 0;
    list-style: none;
}

    .roundfilterlist:after {
        content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }

    .roundfilterlist li {
        display: block;
        float: left;
        margin-left: 5px;
    }



        .roundfilterlist li.currentfilter {
            font-weight: bold;
        }

        .roundfilterlist li::after {
            content: ' | ';
        }

        .roundfilterlist li:last-child::after {
            content: '';
        }

.roundlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

roundlist:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.roundlist > li {
    clear: both;
}

.gameslist {
    display: block;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    clear: both;
}

    .gameslist:after {
        content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }


    .gameslist > li {
        float: left;
        width: 300px;
        margin-right: 5px;
        margin-bottom: 5px;
    }

        .gameslist > li > table {
            width: 100%;
            height: 120px;
            cursor: pointer;
        }

            .gameslist > li > table th {
                font-size: 12px;
            }

            .gameslist > li > table td {
                padding: 2px;
            }

                .gameslist > li > table td:first-child {
                    font-size: 12px;
                }
/* tournament end */

/* tournament setting begin */


.roundbox {
    margin-bottom: 20px;
    position: relative;
}

.roundtitlebox {
    position: relative;
    background-color: #f6f6f6;
    padding: 5px;
    border-top-left-radius: 5px;
}

    .roundtitlebox:hover {
        background-color: #ccc;
    }

    .roundtitlebox .desc {
        padding-left: 5px;
    }

    .roundtitlebox .detail {
        padding-left: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .roundtitlebox .roundtitle {
        font-size: 30px;
        padding-left: 5px;
    }

.roundlist .op {
    display: inline-block;
    position: absolute;
    right: 10px;
    top: 3px;
}

.addgamebox {
    display: inline-block;
    position: absolute;
    top: 25px;
    right: 10px;
}

.gamelist {
    width: 100%;
}

    .gamelist tr {
        border-bottom: 1px solid #f6f6f6;
    }

        .gamelist tr:last-child {
            border-bottom: 3px solid #f6f6f6;
        }

    .gamelist .date {
        width: 20%;
    }

    .gamelist .team1, .gamelist .team2 {
        width: 25%;
    }

    .gamelist td {
        padding-left: 5px;
    }

/* tournament setting begin */


/* centerconfig begin */

/* centerconfig end */

h1 span {
    font-size: 16px;
}

.timezonelabel {
    color: white;
    font-weight: bold;
    cursor: pointer;
    text-align:right;
}

.timezonediv {
    text-align:right;
}

.loginuserdiv {
    text-align: right;
}

.logindiv {
    text-align: right;
}
