@media screen and (max-width: 1200px) {
    #contentEnquiry {
        float: none;
        width: auto;
        text-align: center;
        padding: 30px;
        margin: 30px 0 0 0;
        border: none;
    }

    #contentContact {
        float: none;
        width: auto;
        text-align: center;
        padding: 30px;
        margin: 0;
        border-top: 1px solid #f3f3f3;
    }

    .formBox {
        float: none;
        width: auto;
        font-weight: 700;
        background: #f3f3f3;
        padding: 10px 30px 10px 30px;
        margin: 0 0 30px 0;
    }

    a.buttonReset:link,
    a.buttonReset:visited,
    a.buttonReset:active,
    a.buttonReset:hover {
        float: none;
        padding: 25px 40px;
        margin: 0 20px 20px 20px;
        display: block;
    }

    a.buttonSend:link,
    a.buttonSend:visited,
    a.buttonSend:active,
    a.buttonSend:hover {
        float: none;
        padding: 25px 40px;
        margin: 0 20px 0 20px;
        display: block;
    }

    .address {
        float: none;
        width: auto;
        background: url(../images/address.png) center top no-repeat;
        padding: 80px 0 0 0;
        margin: 0 0 30px 0;
    }

    .telephone {
        float: none;
        width: auto;
        height: auto;
        background: url(../images/telephone.png) center top no-repeat;
        padding: 80px 0 0 0;
        margin: 0 0 30px 0;
    }

    .fax {
        float: none;
        width: auto;
        height: auto;
        background: url(../images/fax.png) center top no-repeat;
        padding: 80px 0 0 0;
        margin: 0 0 30px 0;
    }

    .email {
        float: none;
        width: auto;
        height: auto;
        background: url(../images/email.png) center top no-repeat;
        padding: 80px 0 0 0;
        margin: 0 0 30px 0;
    }

    #socialMedia {
        float: none;
        width: auto;
        margin: 0 0 30px 0;
    }

        #socialMedia img {
            width: 71px;
            padding: 10px 10px 0 10px;
        }
}

@media screen and (max-width: 1024px) {
  h2 {
    font-size: 15px;
  }

  #container {
    width: 100%;
  }
  .headerLeft {
    width: 300px;
  }
  #nav {
    max-width: 1024px;
  }
  #nav li a:link {
    width: auto;
  }
  #nav li a:active {
    width: auto;
  }
  #nav li a:visited {
    width: auto;
  }
  #nav li a:hover {
    width: auto;
  }

  #contentEnquiry {
    /*width: 470px;
    margin: 10px 0 10px 10px;*/
    margin: 0 auto;
    padding:10px;
  }
  #contentContact {
    /*width: 480px;
    margin: 10px 0 10px 0;*/
    margin:0 auto;
  }
  #contentWhite {
    max-width: 980px;
  }
  .footer {
    max-width: 1000px;
    padding: 0;
  }

  a.buttonSend:link {
    padding: 25px 50px 25px 50px;
  }
  a.buttonSend:active {
    padding: 25px 50px 25px 50px;
  }
  a.buttonSend:visited {
    padding: 25px 50px 25px 50px;
  }
  a.buttonSend:hover {
    padding: 25px 50px 25px 50px;
  }
  #socialMedia {
    width: 480px;
  }
  #socialMedia img {
    height: 50px;
    width: 50px !important;
  }
  .paddingIcon {
    padding: 0 10px 0 0;
  }

  #contentBlack {
    width: 980px;
  }

  .formContainer {
  }
  .col1 {
    max-width: 55px;
  }
  .col2 {
    max-width: 110px;
  }
  .col3 {
    max-width: 300px;
  }
  .col4 {
    max-width: 250px;
  }

  .select { width:300px; }
}

@media screen and (max-width: 1000px) {
  .predictionRow {
    float: none;
    width: auto;
    padding: 0 0 20px 0;
    margin: 0 0 30px 0;
    border-bottom: 2px dashed #ffc600;
  }
  .predictionButton {
    float: none;
    width: auto;
    padding: 0;
    margin: 0 0 30px 0;
    border: none;
  }
  .predictionTeamLeft {
    float: none;
    width: auto;
    height: auto;
    text-align: center;
    margin: 0 0 10px 0;
  }
  .predictionTeamRight {
    float: none;
    width: auto;
    height: auto;
    text-align: center;
    margin: 0 0 10px 0;
  }
  .predictionScore {
    float: none;
    width: auto;
    height: auto;
    margin: 0 15px 10px 15px;
    border: none;
  }
  .predictionRow {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 5px;
  }
}

img {
  max-width: 100%;
  height: auto;
  width: auto\9; /* ie8 */
}

@media screen and (max-width: 863px) {
    .form-left-league {
        width: auto;
    }

    .form-right-league { 
        width:auto;
        padding-top:10px;
    }
}

@media screen and (max-width: 768px) {
    html {
        -webkit-text-size-adjust: none;
    }

    a[href^="tel"] {
        color: inherit;
        text-decoration: none;
    }


    textarea {
        width: 90%;
        padding: 10px;
        margin: 0 0 3px 0;
        text-align: center;
    }

    .select {
        width: auto;
        margin: 0 0 0 5px;
    }

    .select select {
        width: 200px;
    }

    #wrapperHeader {
        width: auto;
        height: auto;
    }
    /*#wrapperHeaderImage {width: auto; height: auto; max-height: 300px;}*/
    #wrapperHeaderImage {
        display: none;
    }

    #wrapperNav {
        width: auto;
        height: auto;
    }

    #wrapperStandings {
        width: auto;
        height: auto;
    }

    #wrapperContact {
        /*width: auto;*/
        width:100%;
        height: auto;
    }

    #wrapperFooter {
        width: auto;
        height: auto;
    }

    #container {
        width: 100%;
    }

    .headerLeft {
        float: none;
        width: auto;
        text-align: center;
        padding: 30px 0 0 0;
        display: none;
    }

    .headerLeftMobile {
        float: none;
        width: 100%;
        text-align: center;
        padding: 30px 0 0 0;
        display: inline-block;
    }

    h2 {
        font-size: 15px;
    }

    .headerRight {
        float: none;
        width: auto;
        text-align: center;
        padding: 30px 0 30px 0;
    }

    .logo {
        width: auto;
        height: auto;
        text-align: center;
        padding: 30px 0 30px 0;
    }

    .logo img {
        width: 20%;
        height: auto;
    }

    .logo {
        float: none;
    }

    .sponsor {
        display: none;
    }

    .sponsor img {
        display: none;
    }

    .formContainer {
        width: auto;
        float: none;
    }

    .formRow p {
        margin-top: 35px;
        clear: both;
        margin-bottom: 0;
    }

    #nav {
        width: auto;
        height: auto;
    }

    #nav li {
        float: none;
    }

    #nav li a:link {
        float: none;
        width: auto;
        height: auto;
        color: #222222;
        background: #f3f3f3;
        display: block;
        margin: 0 0 0 0;
        text-decoration: none;
    }

    #nav li a:visited {
        float: none;
        width: auto;
        height: auto;
        color: #222222;
        background: #f3f3f3;
        display: block;
        margin: 0 0 0 0;
        text-decoration: none;
    }

    #nav li a:active {
        float: none;
        width: auto;
        height: auto;
        color: #222222;
        background: #f3f3f3;
        display: block;
        margin: 0 0 0 0;
        text-decoration: none;
    }

    #nav li a:hover {
        float: none;
        width: auto;
        height: auto;
        color: #222222;
        background: #ffc600;
        display: block;
        margin: 0 0 0 0;
        text-decoration: none;
    }

    body#pphome a#navpphome,
    body#leaderboard a#navleaderboard,
    body#prizes a#navprizes,
    body#rules a#navrules,
    body#winners a#navwinners,
    body#edit a#navedit {
        float: none;
        width: auto;
        height: auto;
        color: #222222;
        background: #ffc600;
        display: block;
        margin: 0 0 0 0;
        text-decoration: none;
    }

    a#navleaderboard {
        width: auto !important;
    }

    #nav li a.end:link {
        float: none;
        width: auto;
        height: auto;
        color: #222222;
        background: #f3f3f3;
        display: block;
        margin: 0 0 5px 0;
        text-decoration: none;
    }

    #nav li a.end:visited {
        float: none;
        width: auto;
        height: auto;
        color: #222222;
        background: #f3f3f3;
        display: block;
        margin: 0 0 5px 0;
        text-decoration: none;
    }

    #nav li a.end:active {
        float: none;
        width: auto;
        height: auto;
        color: #222222;
        background: #f3f3f3;
        display: block;
        margin: 0 0 5px 0;
        text-decoration: none;
    }

    #nav li a.end:hover {
        float: none;
        width: auto;
        height: auto;
        color: #222222;
        background: #ffc600;
        display: block;
        margin: 0 0 5px 0;
        text-decoration: none;
    }

    .nav-toggle {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        width: 70px;
        height: 46px;
        text-indent: -9999px;
        overflow: hidden;
        background: url(../images/menu.gif) 50% 43% no-repeat #102254;
        position: relative;
        display: block;
    }

    #contentWhite {
        float: none;
        width: auto;
        text-align: center;
        padding: 30px 0 30px 0;
    }

    #contentBlack,
    #contentBlue {
        float: none;
        width: auto;
        text-align: center;
    }

    .table {
        text-align: left;
        font-size: 12px;
        line-height: 18px;
    }

    .row {
        width: auto;
    }

    .rowGrey {
        width: auto;
    }

    .rowYellow {
        width: auto;
    }

    .col1 {
        float: none;
        width: auto;
        padding: 10px;
    }

    .col2 {
        float: none;
        width: auto;
        padding: 10px;
    }

    .col3 {
        float: none;
        width: auto;
        padding: 10px;
    }

    .col4 {
        float: none;
        width: auto;
        padding: 10px;
    }

    .col5 {
        float: none;
        width: auto;
        padding: 10px;
    }

    .formRow {
        float: none;
        width: auto;
        max-width: 1000px;
        padding: 0 0 20px 0;
        margin: 0 0 30px 0;
    }

    .formButton {
        float: none;
        width: auto;
        padding: 0;
        margin: 0 0 30px 0;
        border: none;
        display: block;
        margin-top: 50px;
    }

    .formLeft {
        /*float: none;*/
        width: auto;
        height: auto;
        text-align: center;
        margin: 0 0 10px 0;
    }

    .form-left-league {
        float:none;
    }

    .formRight {
        float: none;
        width: auto;
        height: auto;
        text-align: center;
        margin: 0 0 10px 0;
    }

    .paddingIcon {
        padding: 0;
    }

    .footer {
        width: auto;
        padding: 30px;
    }

    a.button:link {
        padding: 25px 40px 25px 40px;
        border: none;
        text-decoration: none;
        margin-top: 20px;
    }

    a.button:visited {
        padding: 25px 40px 25px 40px;
        border: none;
        text-decoration: none;
        margin-top: 20px;
    }

    a.button:active {
        background: #ffffff;
        padding: 25px 40px 25px 40px;
        margin-top: 20px;
    }

    a.button:hover {
        background: #ffc600;
        padding: 25px 40px 25px 40px;
        margin-top: 20px;
    }

    .formInput span {
        display: block;
    }

    #contentEnquiry { 
        width:100%;
        padding:0;
    }

    #contactContact {
        width:75%;
    }
}

@media screen and (max-width: 700px) {
    a.buttonSelect_P:link,
    a.buttonSelect_P:visited,
    a.buttonSelect_P:active,
    a.buttonActive_C:link,
    a.buttonActive_C:visited,
    a.buttonActive_C:active,
    a.buttonSelect_C:link,
    a.buttonSelect_C:visited,
    a.buttonSelect_C:active,
    a.buttonActive_P:link,
    a.buttonActive_P:visited,
    a.buttonActive_P:active {
        padding: 12px 30px;
        font-size: 16px;
    }

    .leaderboard-filter-section {
        flex-direction: column;
    }

    .formLeft-footer {
        min-width: 180px;
    }
}

@media screen and (max-width:650px) {
    form-left-league {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    .inlineButtonGroup {
        /*display: grid;*/
    }
}
