
html {
    overflow-y: scroll;
    box-sizing: border-box;
}

body {
    opacity: 0;
    transition: all 0.1s ease;
    padding: 0px;
    color: #000;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}


/*ALL PAGES*/

#container {

    max-width: 1600px;
    min-width: 400px;
    min-height: 100vh;

    margin-left: auto;
    margin-right: auto;
    background-color: #B1C7D6;

    position: relative;
    overflow: visible;


}

/*pageTop*/

#pageTop {
    min-height: 60px;
    padding: 0px 20px;
    margin-left: 0px;
}

#pageContent {
    padding: 0px 20px 20px 20px;
    min-height: 500px;
}

#SGRlogo {
    position: relative;
    top: 0px;
    left: -35px;
}

#container #topMenu {
    float: right;
}

#container #topMenu a {
    color: #FFF !important;
    font-size: 18px;
    display: inline-block;
    padding: 10px 0px 10px 15px;
}

#menuButtonAndPageTitle {
    margin: 5px 0px 35px 0px;
    padding: 20px;
}

.pageTitle {
    color: #FFF;
    padding: 5px 7px;
    background-color: #FFF;
    border-radius: 3px;
    border: 2px solid #FFF;
    background-color: #e86814;
    margin-bottom: 20px !important;
    display: inline-block;
    float: right;
    margin-right: -25px;
}

/*footer*/
#footer {
    max-width: 1600px;
    min-width: 400px;
    margin-left: auto;
    margin-right: auto;
    clear: both;
    overflow: hidden;

}

.footerBox {
    box-sizing: content-box;
    padding: 10px 40px;
}

#footer ul, #footer ul a {
    color: white;
    font-size: 11px;
}

#copyright {
    color: white;
    padding: 10px;
    left: 25px;
    bottom: 10px;
    font-size: 11px;
}

/*SITEWIDE*/

/*return messages*/
.uk-alert {
    text-align: center;
}

/*boxes*/
.flexChild {
    DISABLEDbackground-color: red;
    flex-basis: 280px;
    min-width: 0;
    margin: 10px;
}

@media screen and (max-width: 700px) {
    .flexChild {
        flex-basis: 100%;
    }
}

.flexGrow {
    flex-grow: 1;
}

.flexGrowTwo {
    flex-grow: 2;
}

.widerFlex {
    flex-basis: 400px;
}

.stillWiderFlex {
    flex-basis: 700px;
}

.muchWiderFlex {
    flex-basis: auto;
}

.sgrBox {
    border: 1px solid #FFF;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 10px;
    margin: 5px;
    margin-bottom: 30px;
}

.resultBox {
    width: 100%;
}


@media screen and (min-width: 1280px) {
    .resultBox {
        width: 80%;
    }
}

.fixtureRound {
    width: 300px;
}


.isForm {
    /*! background-image: url(/graphics/boxtopgrad.png); */
    background-repeat: repeat-x;
    background-color: #b1c7d6;
}

.formBG {
    background-color: #B1C7D6;
}

.isForm input[type='text'], .isForm input[type='email'], .isForm input[type='password'], .isForm input[type='number'] {
    font-weight: bold;

}

.isInfo {
    background-color: #FFF;
}

.tooltipHelp {
    color: #000 !important;
    background-color: #FFF !important;
    border: 1px solid #000;
}

/*forms*/

input[type='checkbox'] {
    width: 20px;
    height: 20px;
    position: relative;
    top: 5px;


}

#container input[type='text'], #container input[type='email'], #container input[type='date'], #container input[type='time'], #container input[type='number'], #container input[type='password'], #container textarea {
    border-top: 2px solid #7D7D7D;
    border-right: 2px solid #FFF;
    border-bottom: 2px solid #FFF;
    border-left: 2px solid #7D7D7D;
}

#container input[type='checkbox'], #container input[type='radio'] {
    box-sizing: content-box;
    background: #FFF !important;

}

#container input:disabled {
    border: 0;
}

#container .selectedrow {
    background-color: orange !important;

}

/*input[type='checkbox'], input[type='radio']{
width: 30px;
height: 30px;
}
label.label30px {
line-height: 30px;
font-size: 14px;
}*/


/*******************/
/*Individual pages*/
/*******************/

/*home page*/

/*leaping player image sourced from http://news.ntu.edu.sg/Pages/NewsDetail.aspx?URL=http://news.ntu.edu.sg/news/Pages/NR2017_Apr240424-472.aspx&Guid=74ebeb4d-db22-4c04-8560-b9b69d185b93&Category=@NTU */

#container.withPic {
    background: url('/images/leapingBadmintonPlayer67pct.jpg') no-repeat center top scroll;
    background-position: 50% 50px;
    background-size: cover;
    position: relative;
}


#container.withPic #pageTop {
    background: #b1c7d6;
    border-bottom: 3px solid white;
}

#container.withPic .bn-breaking-news {
    opacity: 0.85;
}

#container.withPic .uk-alert {
    opacity: 0.85;
}

@media screen and (max-width: 700px) {
    #container.withPic {
        background-position: 60% 50px;
    }
}

#indexPageContent {
    padding: 0px 50px;
}

@media screen and (max-width: 480px) {

    #newsTicker1 {
        display: none;
    }
}

#bulletsHolder {
    margin-top: 50px;
    padding: 20px;

    background-color: rgba(0, 0, 0, 0.3);

}

.homePageList {
    margin: 0px;
    color: #FFF;
    font-size: 20px;
    line-height: 24px;

}

#container #pageContent table a i {
    /*not effective?*/
    text-decoration: none !important;
}

/*playerStats.php*/
#pageContent.playerStats select, .buttonHolder {
    margin: 5px !important;
    min-width: 120px;
}

#pageContent.playerStats .uk-icon-home::before,
#pageContent.clubPlayerHistories .uk-icon-home::before {
    position: relative;
    left: 1px;
}

@media screen and (max-width: 760px) {
    #pageContent.playerStats select, .buttonHolder {
        flex-basis: 45%;
    }

    #pageContent.playerStats button {
        float: right;
    }
}

@media screen and (max-width: 480px) {
    #pageContent.playerStats select, .buttonHolder {
        flex-basis: 100%;
    }

    #pageContent.playerStats button {
        width: 100%;
    }

}

/*playerStats.php*/
h4.statsCircle {
    margin: 0px auto 5px auto;
    display: inline-block;
    color: #111;
    font-size: 16px;
}

@media screen and (max-width: 480px) {
    h4.statsCircle {
        font-size: 12px;
    }
}


/*clubFixturePage*/
.rhsBorder {
    border-right: 1px solid #999;
}


.fixturesTable td {
    white-space: nowrap;
    border-bottom: 1px solid #999;
}


/*leagueTables.php*/
.divtableblock {
    display: inline-block;
    border: 1px solid #030;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 30px;
    margin-top: 5px;
    background-color: #FFF;
    vertical-align: top !important;
    text-align: left;
}

.divTableHolder {
    text-align: center;
    padding: 20px;
}

.divTableLeague {
    flex-basis: 640px;
}

.divTablePlayer {
    flex-basis: 480px;
}

.divTableLeague .divtableblock {
    width: 98%;
}

.divTablePlayer .divtableblock {
    width: 98%;
}

.divtable {
    background: #b1c7d6;
    width: 100%;
}

.divtableblock b {
    font-weight: bold;
}


.divtableblock td {
    font-size: 13px;
    text-align: center;
}

.divtableblock thead td {
    font-size: 13px;
    font-weight: bold;
    text-align: center;
}

#container .divtableblock span {
    font-size: 13px;
    font-weight: bold;
    padding: 2px 7px;
    background-color: #FFF;
}

#container .divtableblock span {
    float: left;
}

/*archiveTables.php*/
/*for leeds season 2013-2014 archived HTML*/
#pageContent.archiveTables table {
    width: 100%;
    background-color: #b1c7d6;
}

/*funStats.php*/
.whoString {
    margin-top: 5px;
}

.gameName + .whoString {
    margin-top: 50px;
}

/*playerStatsTable.php*/
.statsTableHolder {
    overflow-x: auto;
    padding: 20px;
}

/*matchReport.php*/
.homeBG {
    background-color: #b1c7d6;
}

.awayBG {
    background-color: #E3E67B;
}

.neutralBG {
    background-color: #b1c7d6;
}

.teams select {
    width: 85%;
}

#pageContent.matchReport fieldset {
    margin: 10px 0px;
}

#pageContent.matchReport fieldset.moreMargin {
    margin: 30px 0px 20px 0px !important;
}


#pageContent.matchReport .teams fieldset {
    margin: 10px 0px;
}

.matchReport select {
    margin-bottom: 5px;
}

.formbox {
    color: black !important;
    text-align: center !important;
    background-color: #e3e3e3 !important;
    min-width: 60px !important;
}

.matchnumber {
    font-size: 16px;
    font-style: italic;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
    font-style: italic;
    display: inline-block;
    float: left;
}

.matchplayers {
    font-weight: normal;
    color: #000;
    font-size: 12px;
    margin-top: 11px;
    margin-bottom: 5px;
    display: inline-block;
    float: right;
}

.playerName {
    font-size: 18px !important;
    min-width: 150px;
    margin: 5px auto;
    text-align: left;

    color: #a3521d;
    clear: both;
}

.awayPlayer {
    color: #777;

}

.matchbox {
    min-height: 260px;
}


.matchbox .table {
    margin-bottom: 15px;

}

.formbox:disabled {
    font-weight: bold;
    font-size: 18px;
    color: #000;
    border: 0px solid;
    border-radius: 0px;
}

.formbox {
    font-weight: bold;
    font-size: 18px;

}

/*playerHistories.php*/
span.team {
    display: inline-block;
    min-width: 90px;
    text-align: right;
    padding-right: 20px;

}

span.date {
    display: inline-block;
    min-width: 100px;
    text-align: center;

}

span.matchLink {
    padding-left: 20px;
}

/*subleagues*/
.sublgeOpt {
    width: 200px;
    height: 25px;
}

.leaguecolour {
    background-color: #D6FCDB;
}

.grey {
    color: #CCC;
}

.white {
    color: #FFF;
}

/*teamStats.php*/
.canvasFrameHolder {
    overflow-x: auto !important;
}

/* 540px is minimum for Kindle GDK in portrait*/
.canvasFrame {
    min-width: 540px;
    position: relative;
    height: 550px;
}

/******************/
/*utility classes***/
/******************/
.floatLeft {
    float: left !important;
}

.floatRight {
    float: right !important;
}

.clearfloat {
    margin-top: 0px;
    margin-bottom: 0px;
    clear: both;
    height: 0px;
    font-size: 1px;
    line-height: 0px;
}

.inline-block {
    display: inline-block !important;
}

.pointer {
    cursor: pointer;
}

.teamHeadings {
    font-style: italic;
    margin-bottom: 5px;
}

.width100pct {
    width: 100% !important;
}

.width85pct {
    width: 85% !important;
}

.width75pct {
    width: 75% !important;
}

.width30pct {
    width: 30% !important;
}

.width25pct {
    width: 25% !important;
}

.width20pct {
    width: 20% !important;
}

.width15pct {
    width: 15% !important;
}

.width10pct {
    width: 10% !important;
}

.width5pct {
    width: 5% !important;
}

.width30px {
    width: 30px !important;
}

.width40px {
    width: 40px !important;
}

.width50px {
    width: 50px !important;
}

.width60px {
    width: 60px !important;
}

.width70px {
    width: 70px !important;
}

.width100px {
    width: 100px !important;
}

.width120px {
    width: 120px !important;
}

.width150px {
    width: 150px !important;
}

.width200px {
    width: 200px !important;
}

.width250px {
    width: 250px !important;
}

.width300px {
    width: 300px !important;
}

.width400px {
    width: 400px !important;
}

.hasPadding20px {
    padding: 20px !important;
}

.hasPadding10px {
    padding: 10px !important;
}

.minHeight200px {
    min-height: 200px !important;
}

.minHeight300px {
    min-height: 300px !important;
}

/*POSITION*/
.bottom-right {
    position: absolute;
    right: 10px;
    bottom: 10px;

}

/*COLOURS*/

.transparentText {
    color: transparent !important;
}

.whiteText {
    color: white !important;
}

.blackText {
    color: black !important;
}

.nearBlackText {
    color: #111 !important;
}

.redText {
    color: red !important;
}

.charcoalText {
    color: #333 !important;
}

.darkGreyText {
    color: #666 !important;
}

.greyText {
    color: #999 !important;
}

.lightGreyText {
    color: #BBB !important;
}

.yellowText {
    color: yellow !important;
}

.orangeText {
    color: #e86814 !important;
}

.orangeRedText {
    color: orangeRed !important;
}

.maroonText {
    color: maroon !important;
}

.greenText {
    color: greenyellow !important;
}

.sgrBlueColour {
    color: #b1c7d6 !important;
}

.oldHomeDotColour {
    color: #043454 !important;
}

.homeColour {
    color: #043454 !important;
}

.awayColour {
    color: #e8773c !important;
}

.sgrBlueColour {
    color: #b1c7d6 !important;
}

.oldAwayDotColour {
    color: #e8773c !important;
}

.homeBGcolour {
    background-color: #b1c7d6 !important;
}

.awayBGcolour {
    background-color: #e3e67b !important;
}

.sgrBlueBGcolour {
    background-color: #b1c7d6 !important;
}

/*Rainbow Colours*/

.redDay {
    color: white !important;
    background-color: red !important;
}

.orangeDay {
    background-color: orange !important;
}

.yellowDay {
    color: black !important;
    background-color: yellow !important;
}

.greenDay {
    color: white !important;
    background-color: green !important;
}

.lightblueDay {
    color: black !important;
    background-color: cyan !important;
}

.darkblueDay {
    color: white !important;
    background-color: darkblue !important;
}

.purpleDay {
    color: white !important;
    background-color: purple !important;
}

/*Styles*/
.uk-text-italic, .italic {
    font-style: italic !important;
}

/* Tables*/
.whiteLowerBorders td {
    border-bottom: 1px solid #f0f0f0 !important;

}

/* CSS tables */
.table {
    display: table;
    border-collapse: collapse;
    box-sizing: border-box;
}

.table-row {
    display: table-row;
}

.table-cell, .table-header {
    display: table-cell;
    border: #f0f0f0 1px solid;
}

.table-cell, .table-header {
    vertical-align: middle;
    padding: 8px;
    text-align: center;
}

.table-header {
    font-weight: bold;
}

.no-padding {
    padding: 0 !important;
}

.no-border {
    border: none !important;
}

.no-borders .table-cell, .no-borders .table-header {
    border: none !important;
}


/*FIXES*/
/*Layout fix - shift menu and its hamburger left*/
/*Counteracts padding added to children of uk-grid? */
#menuTrigger {
    margin-left: -25px;
}

#pageTitleHolder {
    margin-right: -25px;
}

/*cuts width of menu and makes shown permanently on desktop*/
@media (min-width: 960px) {

    #container ul.dl-menu {
        width: 90%;
        opacity: 1;
        pointer-events: auto;
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
    }

    #container .dl-trigger {
        visibility: hidden !important;
        opacity: 0 !important;
    }

}

/*Makes long submenus scrollable, essential*/
#container ul.dl-menu {
    max-height: 500px;
    max-height: 80vh;
    overflow: auto;
    overflow-x: visible;
    border: 3px solid white;
    border-radius: 4px;

}