
.mobile{
    display:none;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

#sport {
    height: 60px;
    padding: 20px 10px 10px 10px;
    border-bottom: 1px solid #eee;
}

footer{
    width: 230px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
}

.print {
    float: right;
}

#gregrogan{
    font-size: 10px;
    color: grey;
}


.sport-label {
    display: inline;
    margin-right: 5px;
}

.sport h3{
    display: inline-block;
    width: 100%;
}

.sport h2{
    display: inline-block;
    float: left;
}

.full-details-logo{
    display: inline;
    float:right;
    margin-top: 18px;
}

.container-narrow {
    margin: 0 auto;
    max-width: 700px;
    padding: 0 10px;
}
table {
    width: 100%;
}

table th, table td {
    text-align: center;
    padding: 5px;
}

table tbody tr {
    vertical-align: bottom;
}
table td{
    vertical-align: top;
}

table .grade {
    float: left;
}

table .datetime, table .team {
    float: left;
    clear: both;
    margin-left: 20px;
}

table .time:before{
   content: "\00a0 ";
}

.full-site {
    float:right;
}

table tbody tr {
    border-bottom: 1px solid #CFCFCF;
}

table tbody tr:first-child {
    border-top: 1px solid #CFCFCF;
}

table.results .time {
    display: none;
}

table.drawresults tbody tr.odd,
table.points tbody tr{
    background-color: #F2F8FF;
}

table.drawresults tbody tr.even,
table.points tbody tr.even{
    background-color: #F9FFF7;
}

table tr.grade-row{
    border-bottom: none;
}

table tr.grade-row td{
    padding-bottom: 0px;
}

table tr.has-individual {
    border-bottom: none;
}

table tr.individual {
    font-size: 12px;
}

table tr.individual td {
    padding-top: 0;
}

table td.sm-venue,
table td.no-sm-venue {
    width: 16px;
    margin-right: 0;
    padding-right: 0;
}
table td.venue {
    margin-left:0;
    padding-left:0;
    text-align: left;
}

.teams .cricket-t1{
    width: 46%;
    display: inline-block;
    text-align: right;
    vertical-align: top;
}
.teams .cricket-t2{
    width: 46%;
    display: inline-block;
    text-align: left;
    vertical-align: top;
}

.teams .cricket-vs{
    width: 5%;
    display: inline-block;
    vertical-align: top;
    padding-left: 2%;
    padding-right: 4%;
}

footer .copyright{
    font-size: 10px;
    color: grey;
    display: inline-block;
    top: -3px;
    position: relative;
}

@media screen and (max-width: 680px) {
    .desktop{
        display: none;
    }
    .mobile{
        display: inline;
    }
    .print{
        display: none;
    }   
    
    .sport h2{
        display: block;
        float: none;
    }
    
    .full-details-logo{
        display: block;
        text-align: left;
        float: none;
        margin-top: 0px;
    }
    
    .full-details-logo .full-site{
        float: none;
    }
    
    table .date{
        display: block;
    }
    
    table .time:before{
       content: "";
    }
    

    table .grade {
        text-decoration: underline;
    }
    
    table .datetime, table .team {
        margin-left: 0px;
    }
    
    .results .teams .winner{
        background-color: lightgreen;
        padding: 2px;
    }
    .teams .vs{
        display: block;
    }
    
    .teams .cricket-t1{
        width: auto;
        display: block;
        text-align: center;
    }
    .teams .cricket-t2{
        width: auto;
        display: block;
        text-align: center;
    }
    
    .teams .cricket-vs{
        width: auto;
        display: block;
        padding-left: 0;
        padding-right: 0;
    }

}

@media print {
    #sport {
        display: none;
    }
    .text-center hr {
        display: none;
    }
    .print-group{
        page-break-inside: avoid;
    }
}