﻿@media screen and (max-width: 768px) {
    .filter-section {
        display: block !important;
    }

    .dropdown {
        width: 100% !important;
        height: 30px;
        margin-bottom: 5px;
    }

    .tb_datepicker {
        width: 100% !important;
        margin-right: 0 !important;
        height: 30px !important;
        margin-bottom: 5px;
    }

    .tb_drawId {
        height: 30px !important;
        width: 100%;
        margin-bottom: 5px;
        margin-top: 15px;
    }

    .btn_fullSearch {
        width: 100% !important;
        height: 30px;
        margin-bottom: 10px;
    }
}

iframe {
    border: none;
    width: 810px;
}

.result-content {
    padding-top: 20px;
}

.iframe-section {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.row {
    display: flex;
    justify-content: center;
}

.dropdown {
    width: 110px;
    height: 25px;
    background: #f8f8f8;
    margin-right: 8px;
    border: 1px solid #cbcbcb;
    border-radius: 2px;
}

.filter-section {
    width: 100%;
    max-width: 810px;
    display: flex;
    padding-bottom: 12px;
}

.tb_datepicker {
    width: 110px;
    height: 25px;
    background: #f8f8f8;
    margin-right: 8px;
    border: 1px solid #cbcbcb;
    padding: 3px;
    border-radius: 2px;
}

.tb_drawId {
    height: 25px;
    border: 1px solid #cbcbcb;
    margin-right: 8px;
    padding: 3px;
    border-radius: 2px;
    margin-left: auto;
}

.btn:hover {
    cursor: pointer;
}

.btn_fullSearch {
    border: 1px solid #cbcbcb;
    width: 55px;
}



/*-------------------------------------------------
---------------------------------------------------
------------------region iframe -------------------
---------------------------------------------------
---------------------------------------------------*/

body {
    padding: 0;
    margin: 0;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
}

table {
    width: 100%;
}

#GridView1 {
    min-width: 810px;
}

    #GridView1 tr {
        height: 20px;
    }

.inner-table tr {
    height: auto !important;
}

.inner-table td {
    border: none !important;
}

.pager table {
    width: auto;
}

.pager td {
    background-color: #f3f3f3;
    border: none !important;
}

.pager {
    border: 1px solid #DCDCDC;
}

    .pager span {
        width: 24px;
        height: 24px;
        display: flex;
        line-height: 24px;
        margin-right: 3px;
        justify-content: center;
        background-color: #ededed;
        color: darkgray;
    }

    .pager a {
        width: 24px;
        height: 24px;
        display: flex;
        line-height: 24px;
        margin-right: 3px;
        text-decoration: none;
        justify-content: center;
        background-color: white;
        color: gray;
    }

/*#region Table Styling*/
#UpdatePanel1 table:not(.inner-table) > tbody > tr {
    background: #f0f5ff;
}

    #UpdatePanel1 table:not(.inner-table) > tbody > tr:nth-child(2n+1) {
        background: white;
    }

    #UpdatePanel1 table:not(.inner-table) > tbody > tr > td {
        padding: 10px 0;
    }

#GridView1 th {
    height: 24px;
    background: #5574a7;
    color: white;
}

#GridView1 td {
    border: 1px solid #ddd;
}
/*#endregion Table Styling*/

/* #region color */
.RedGradient {
    background: red;
    background: radial-gradient(ellipse farthest-corner at top left, rgb(255, 148, 148) 10%, rgb(217, 0, 0) 60%, rgb(156, 0, 0) 100%);
}

.GreenGradient {
    background: green;
    background: radial-gradient(ellipse farthest-corner at top left, rgb(126, 211, 148) 10%, rgb(0, 128, 0) 60%, rgb(0, 61, 0) 100%);
}

.BlueGradient {
    background: blue;
    background: radial-gradient(ellipse farthest-corner at top left, rgb(128, 191, 255) 10%, rgb(0, 0, 205) 60%, rgb(0, 0, 156) 100%);
}
/* #endregion color */

/* #region Max6 */
.max6-number {
    width: 30px;
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    margin: 2px;
}

.max6-number-wrapper {
    width: 20px;
    height: 17px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}
/* #endregion Max6 */

/* #region Lucky28 */
.lucky28-spNumber-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.lucky28-sumValue-container {
    width: 22px;
    display: inline-block;
    text-align: right
}

.lucky28-spValue-container {
    width: 22px;
    display: inline-block;
    text-align: left
}
/* #endregion Lucky28 */

/* #region JhandiMunda */
.jhandimunda-dice-base {
    width: 35px;
    height: 35px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    margin: 2px;
    background-color: white;
}

.jhandimunda-dice-reduceOpacity{
    opacity: 0.3;
}
/* #endregion JhandiMunda */

/* #region LadderGame */
.ladder-result-image {
    width: 30%;
    min-width: 135px;
}
/* #endregion LadderGame */

/* #region Fireball10 */
.fireball10-result-ball{
    position: relative;
}

.fireball10-result-num {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
    border-radius: 50%;
    color: #ffffff;
    background-color: darkred;
    font-weight: bold;
}

.fireball10-result-multiplier {
    font-weight: bold;
    position: absolute;
    bottom: -8px;
    left: calc(50% - 12px);
    font-size: 11px;
    border: 1px solid darkred;
    background-color: white;
    border-radius: 4px;
    line-height: 12px;
    padding: 0 2px;
}
/* #endregion Fireball10 */