﻿
@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

html,
body {
    background: #fcfcfc;
    color: #333;
    font-family: "Poppins", sans-serif;
    margin: 0 auto;
    background: #F2F6FA;
}

#leaderBoardGrid > tbody > tr:nth-child(2) > td:nth-child(1)::before {
    content: '';
    font-family: 'FontAwesome';
    margin-right: 9px;
    font-size: 1.2em;
    color: goldenrod;
}
.table.is-striped tbody tr:not(.is-selected):nth-child(odd) {
    background-color: #fafafa;
}
.table.is-striped tbody tr:not(.is-selected):nth-child(even) {
    background-color: #ffffff;
}
.table.is-striped tbody tr:first-child {
    background-color: #F2F6FA;
}
.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background: rgba(255,255,255,0.8) url("Images/loader.gif") center no-repeat;
}
/* Turn off scrollbar when body element has the loading class */
body.loading {
    overflow: hidden;
}
    /* Make spinner image visible when body element has the loading class */
    body.loading .overlay {
        display: block;
    }

.control {
    cursor: pointer;
    font-size: 1.2rem;
}

.rewardLink {
    width: 100%;
    text-align: center;
    padding: 10px;
}

.overlay-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    background: white;
    opacity: .8;
    z-index: 1000;
    text-align: center;
    border-radius: 10px;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.3);
    width: 600px;
    height: 200px;
    font-size: 1.5em;
    padding-top: 35px;
}

.m_countDownLabel {
    text-decoration: none;
    margin-top: 20px;
    font-family: 'Microsoft Sans Serif';
    font-size: 2em;
    color: #1d72aa;
}

.logoWrapper, .userInfoWrapper, .optOutWrapper, .row {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.25;
}

.optOutWrapper {
    margin-top: 1em;
    margin-bottom: 1em;
}
.save-btn-container {
    width: 100%;
    text-align: center;
    padding-bottom: 1em;
}
    .save-btn-container input[type=submit] {
        margin-top: .5em;
        font-size: 1.2em;
        font-family: "Poppins", sans-serif;
        font-weight: 400;
        border-color: #dbdbdb;
        border-width: 1px;
        color: #363636;
        cursor: pointer;
        justify-content: center;
        padding-left: 1em;
        padding-right: 1em;
        text-align: center;
        white-space: nowrap;
    }
    .optOutWrapper input[type=checkbox], .optOutWrapper input[type=radio] {
        width: 2em;
        height: 2em;
        margin-right: 1em;
        cursor:pointer;
    }

    .box .logoWrapper{
        margin-top:1em;
        margin-bottom:.5em;
    }
.title {
    color: #777;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.125;
}

.row {
    width: 100%;
    clear: both;
    text-align: center;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}


    .rowrank .caption, .rowentries .caption {
        margin-right: 10px;
    }

.rowentries .caption {
    margin-top: 10px;
    margin-bottom: 10px; 
}

.captionImg, .caption, .value {
    display: inline-block;
}

.item {
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.customContainer table {
    margin: 0 auto;
    min-width: 500px;
    width:90%
}

.customContainer table {
    margin: 0 auto;
    min-width: 500px;
    width:90%
}

#eventScoreGrid.table th {
    width:100%;
}

#eventScoreGrid.table th {
    background-color:#F2F6FA;
}

.customContainer table tr:first-child {
    background-color:#F2F6FA;
}

#eventScoreGrid.td {
    width: 1px;
    white-space: nowrap;
    max-width: 250px;
    width: auto;
    min-width: 50px;
}

.customContainer table td {
    width: 1px;
    width: auto;
    min-width: 50px;
    vertical-align: middle;
    white-space: nowrap;
    padding: 10px;
}

.hr-container{
    padding-left:3em;
    padding-right:3em;
}
.hr{
    border-bottom: 1px solid #777;
}
#m_eventScoreDetailsPanel {
        flex-grow: 1;
    flex-shrink: 1;
    text-align: center;
    margin: 0 auto;
    position: relative;
    width: auto;
    display: block;
    width: 40%;
}

.box{
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 0.5em 1em -0.125em rgb(10 10 10 / 10%), 0 0 0 1px rgb(10 10 10 / 2%);
    color: #4a4a4a;
    display: block;
    padding: 1.25rem;
    padding-bottom: 2rem;
}
#banner {
    width: 100%;
    height: 80px;
    background-color: #3A8C8D;
    background-image: url('');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 200px;
    margin-bottom: 20px;
    display: none;
}
.customOverlay{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: rgba(227,227,227,0.8);
    padding-top: 20%;
    padding-left: 30%;
    overflow: scroll;
}
#m_messagePanel {
    margin: 0 auto;
    text-align: center;
    display: table;
}
.messageOverlay {
    z-index: 999;
    background-color: rgba(227,227,227,0.8);
    color: black;
    background: white;
    opacity: .8;
    z-index: 1000;
    text-align: center;
    border-radius: 10px;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.3);
    font-size: 1.5em;
    padding: 20px;
    margin-top: 10%;
}
.customContainer {
    padding: 20px 20px 20px 20px;
}
/* Turn off scrollbar when body element has the loading class */
body.showOverlay{
    overflow: hidden;   
}
/* Make spinner image visible when body element has the loading class */
body.showOverlay .customOverlay{
    display: block;
}

.overlay-display {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    color: black; 
    background: white; 
    opacity: .8;
    z-index: 1000;
    text-align:center;
    border-radius: 10px;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.3);
    min-width: 600px;
    height: auto;
    max-height: 90%;
    font-size: 1.5em;
    width: auto;
    overflow: auto;
}
.closeBanner {
    width: 100%;
    height: 20px;
    margin: 0 auto;
}
.closeimg {
    height: 20px;
    width: 20px;
    background-image: url("../images/close-icon.png");
    background-position: right;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    float: right;
    cursor: pointer;
}

.disableCursor .control {
    cursor: default !important;
}

@media only screen and (min-width:601px) and (max-width: 1400px) {
    /* put your css styles in here */
    .title {
        --font-size: 1.5em;
    }
    .box {
        margin-left: 20px;
        margin-right: 20px;
    }

    #eventScoreGrid table, .customContainer table  {
        min-width: 90%;
        line-height: initial;
    }

    #eventScoreGrid td, .customContainer table td {
        vertical-align: middle;
        white-space: normal;
        padding: 20px;
        font-size: 1.5rem;
    }
    
    .rewardLink {
        padding-top: 0px;
    }

    .control {
        font-size: 1em;
    }

    .optOutWrapper {
        margin-top: 1.5em;
        font-size: 1.5em;
        align-items: center;
    }

    .optOutWrapper input[type=checkbox], .optOutWrapper input[type=radio] {
        width: 3em;
        height: 3em;
        margin-right: 1em;
        cursor: pointer;
    }

    .save-btn-container input[type=submit] {
        margin-top: 1em;
        font-size: 1.5em;
        font-family: "Poppins", sans-serif;
        font-weight: 400;
    }

    .optOutWrapper label {
        font-size: 1.2em;
    }

    .userInfoWrapper {
        margin-bottom: 1em;
    }
    .hr {
        border-bottom: 1px solid #777;
    }
    section {
        background: #F2F6FA;
        min-height: 100vh;
        align-items: stretch;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .myscore-container {
        align-items: center;
        display: flex;
        flex-grow: 1;
        flex-shrink: 0;
        padding: 3rem 1.5rem;
    }
    #m_eventScoreDetailsPanel{
        width:100%;
    }
    #banner {
        width: 100%;
        height: 80px;
        background-color: #3A8C8D;
        background-image: url('');
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 200px;
        margin-bottom: 20px;
        display: none;
    }
    
    .customOverlay {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 999;
        background-color: rgba(227,227,227,0.8);
        padding-top: 20%;
        padding-left: 30%;
        overflow: scroll;
    }
    /* Turn off scrollbar when body element has the loading class */
    body.showOverlay{
        overflow: hidden;   
    }
    /* Make spinner image visible when body element has the loading class */
    body.showOverlay .customOverlay {
        display: block;
    }

    .overlay-display {
        position:absolute;
        top:50%;
        left:50%;
        transform:translate(-50%, -50%);
        color: black; 
        background: white; 
        opacity: .8;
        z-index: 1000;
        text-align:center;
        border-radius: 10px;
        box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.3);
        width: 95%;
        height: auto;
        max-height: 90%;
        font-size: 1.5em;
        padding-top:35px;
        margin-right:20px;
        overflow: auto;
    }
    .closeBanner {
        width: 100%;
        height: 20px;
        margin: 0 auto;
    }
    .closeimg {
        height: 40px;
        width: 40px;
        background-image: url("../images/close-icon.png");
        background-position: right;
        background-size: contain;
        background-repeat: no-repeat;
        cursor: pointer;
        float: right;
        margin-right: 20px;
        margin-top: 20px;
        cursor: pointer;
    }    
    .customContainer .logoWrapper {
        margin-top: 50px;
    }
    .messageOverlay {
        margin-right: 0.5em;
        margin-left: 0.5em;
    }
}

@media only screen and (min-width: 301px) and (max-width: 600px) {
    #m_eventScoreDetailsPanel {
        flex-grow: 1;
        flex-shrink: 1;
        text-align: center;
        margin: 0 auto;
        position: relative;
        width: auto;
        display: block;
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    #eventScoreGrid td, .customContainer table td {
        vertical-align: middle;
        white-space: normal;
        padding: 10px;
        font-size: 1rem;
    }
    .box {
        margin-top: 0rem;
        padding: .5rem;
        padding-bottom: .5rem;
    }
    .control {
        font-size: 1rem;
    }
    .overlay-display {
        min-width: 0px;
        font-size: 1em;
        padding-top: 0px;
        overflow: auto;
        width: 100%;
    }
    .closeBanner {
        margin-top: 1em;
    }
    .hr-container {
        padding-left: .2em;
        padding-right: .2em;
    }
    .customContainer {
        width: 100%;
    }
    .customContainer table {
        margin: 0px;
        min-width: 0px;
        width: 100%;
        table-layout: fixed;
        border-collapse: collapse;

    }
    .customContainer .title {
        font-size: 1em;
    }
    .customContainer .hr {
        margin: .5em;
    }
    .customContainer table tr {
        width: 1px;
        width: auto;
        min-width: 0px;
        vertical-align: middle;
        white-space: normal;
        padding: 10px;
    }
    .customContainer table td {
        width: 1px;
        width: auto;
        min-width: 0px;
        vertical-align: middle;
        white-space: normal;
        padding: 10px;
        word-wrap: break-word;
    }

    .customContainer table td.expand { width: 99%; }

    .customContainer table td.shrink { white-space: nowrap; }
    .title {
        font-size: 1.5rem;
    }
    .overlay-display .title {
        font-size: 1em;
    }
    #m_optOutPanel {
        padding-left: 1.3em;
    }
    .optOutWrapper {
        font-size: 1em;
        padding-left: 0.4em;
        align-items: flex-end;
        display: inline-flex;
    }
    .optOutWrapper input[type=checkbox], .optOutWrapper input[type=radio] {
        width: 2em;
        height: 2em;
        margin-right: .3em;
        cursor: pointer;
    }
    .messageOverlay {
        margin-right: 0.5em;
        margin-left: 0.5em;
    }
}

@media only screen and (min-width: 0px) and (max-width: 300px) {
    #m_eventScoreDetailsPanel {
        flex-grow: 1;
        flex-shrink: 1;
        text-align: center;
        margin: 0 auto;
        position: relative;
        width: auto;
        display: block;
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        font-size: .6rem;
    }
    #eventScoreGrid td, .customContainer table td {
        vertical-align: middle;
        white-space: normal;
        padding: 10px;
        font-size: .6rem;
    }
    .box {
        margin-top: 0rem;
        padding: .5rem;
        padding-bottom: .5rem;
    }
    .control {
        font-size: .6rem;
    }
    .overlay-display {
        min-width: 0px;
        font-size: 1em;
        padding-top: 0px;
        overflow: auto;
        width: 100%;
    }
    .closeBanner {
         margin-top: 1em;
     }
    .hr-container {
        padding-left: .2em;
        padding-right: .2em;
    }
    .customContainer {
        width: 100%;
    }
    .customContainer table {
        margin: 0px;
        min-width: 0px;
        width: 100%;
        table-layout: fixed;
        border-collapse: collapse;

    }
    .customContainer .title {
        font-size: 1em;
    }
    .customContainer .hr {
        margin: .5em;
    }
    .customContainer table tr {
        width: 1px;
        width: auto;
        min-width: 0px;
        vertical-align: middle;
        white-space: normal;
        padding: 10px;
    }
        .customContainer table td {
            width: 1px;
            width: auto;
            min-width: 0px;
            vertical-align: middle;
            white-space: normal;
            padding: 10px;
            word-wrap: break-word;
        }

        .customContainer table td.expand { width: 99%; }

        .customContainer table td.shrink { white-space: nowrap; }
    .title {
        font-size: 1.5rem;
    }
    #m_optOutPanel {
        padding-left: 1.3em;
    }
    .optOutWrapper {
        font-size: 1em;
        padding-left: 0.4em;
        align-items: flex-end;
        display: inline-flex;
    }
    .optOutWrapper input[type=checkbox], .optOutWrapper input[type=radio] {
        width: 2em;
        height: 2em;
        margin-right: .3em;
        cursor: pointer;
    }
    .messageOverlay {
        margin-right: 0.5em;
        margin-left: 0.5em;
    }
}