﻿/* select */
.dropdown.bootstrap-select .dropdown-item.active,
.dropdown.bootstrap-select .dropdown-item:active,
.dropdown.bootstrap-select .dropdown-item.active:hover,
.dropdown.bootstrap-select .dropdown-item:hover {
    background-color: #c8000a;
    border-radius: 0;
    color: #fff;
}

.dropdown.bootstrap-select .dropdown-menu.show {
    padding-top: 0;
    padding-bottom: 0
}
/*  */


.form-control.btn-select-type {
    height: 50px;
    border-radius: 4px !important;
    overflow: hidden;
    background-color: #e30a18;
    border-color: #e30a18;
    color: #fff;
}

    .form-control.btn-select-type:focus {
        background-color: #e30a18;
        border-color: #e30a18;
    }

.btn-group.bootstrap-select.btn-select-type {
    height: 50px;
}

.icon-squre-in {
    width: 50px;
    height: 50px;
    float: left;
    background-color: #fb000f;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 4px 0 0 4px;
    position: absolute;
    top: 0;
    left: 0;
}

.btn-select-wrap .form-control.btn-select-type {
    border-radius: 0 4px 4px 0 !important;
}

.btn-select-wrap .icon-squre-in .icon-method-rounded {
    top: 0;
    transform: translateY(0);
}

    .btn-select-wrap .icon-squre-in .icon-method-rounded i {
        color: #fb000f;
        font-size: 14px;
    }

.btn-select-wrap {
    width: 100%;
    height: 50px;
    position: relative;
    padding: 0 0 0 50px;
    background-color: #e30a18;
    border-radius: 4px;
}

    .btn-select-wrap .btn-group.bootstrap-select.btn-select-type .btn.dropdown-toggle.btn-danger {
        border-color: #e30a18 !important;
        border-radius: 0 4px 4px 0;
    }

.btn-group.bootstrap-select.btn-select-type .btn.dropdown-toggle.btn-danger {
    height: 50px;
    border-radius: 4px;
}

.btn.dropdown-toggle.btn-danger.btn-custom-md {
    background-color: #e30a18 !important;
    border-color: #e30a18 !important;
}

.btn.dropdown-toggle.btn-danger.btn-custom-md {
    padding: 9.5px 12px;
    border-radius: 4px;
    height: 45px;
}

    .btn.dropdown-toggle.btn-danger.btn-custom-md:hover,
    .btn.dropdown-toggle.btn-danger.btn-custom-md:focus {
        color: #fff !important;
    }

    .btn.dropdown-toggle.btn-danger.btn-custom-md .caret {
        color: #ae030e;
        right: 18px;
    }

.btn-group.bootstrap-select.btn-select-type .dropdown-menu.inner li a:hover {
    background-color: #eeeeee !important;
}

.bg-title .pages-title {
    color: rgb(247, 248, 249);
    font-weight: 600;
    margin-top: 6px;
    font-size: 14px;
    line-height: 22px;
}

.bg-title {
    border-bottom: 1px solid #460406;
    overflow: hidden;
    padding: 7px 15px 6px;
    margin-left: -25.5px;
    margin-right: -25.5px;
}

    .bg-title .breadcrumb {
        background: 0 0;
        margin-bottom: 0;
        float: right;
        padding: 0;
        margin-top: 8px;
    }

        .bg-title .breadcrumb > li + li:before {
            padding: 0 5px;
            color: #ccc;
            content: "/\00a0";
        }

.section-wrapper.section-selection {
    width: 100%;
    float: left;
    min-height: auto !important;
    padding: 15px 0;
    margin-bottom: 15px !important;
    background-color: #ad060e !important;
}

.round-title {
    height: 80px;
    padding: 10px;
    position: relative;
    background-color: #7b0206;
    padding-left: 80px;
    border: 0;
    overflow: hidden;
    float: left;
    width: 100%;
    display: inline-block;
}

.round-box-wrap {
    width: 100%;
    float: left;
    border-radius: 4px;
    overflow: hidden;
    background-color: #fff;
    margin-bottom: 15px;
    display: block;
}

.round-title-img {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 15px;
    left: 15px;
    border-radius: 4px;
    overflow: hidden;
}

    .round-title-img .img {
        height: 100%;
    }

.round-title-desc {
    width: 100%;
    height: 60px;
    overflow: hidden;
    color: #fff;
}

.round-inner-title {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    line-height: 25px;
    margin-bottom: 0;
    height: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 2px;
    float: left;
}

.round-inner-subitle {
    float: left;
}

.lotto-round-number {
    float: left;
    height: 20px;
    margin: 0 0 0 7px;
}

    .lotto-round-number p {
        float: left;
        margin-bottom: 0;
        font-size: 13px;
        text-decoration: underline;
        color: #fff;
    }

    .lotto-round-number .icon-desc-check {
        float: left;
        position: relative;
        top: 3px;
    }

.round-inner-paragraph {
    font-size: 12px;
    color: #fff;
    font-weight: 600;
    line-height: 25px;
    margin-bottom: 0;
    height: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.result-award-wrap {
    width: 100%;
    float: left;
}

.result-win {
    width: 68%;
    float: left;
    height: 221px;
    overflow: hidden;
}

.result-bigwin {
    width: 32%;
    float: left;
    height: 221px;
}

.result-bigwin-title {
    height: 45px;
    background-color: #ad040c;
    text-align: center;
    line-height: 45px;
    color: #fff;
    font-size: 14px;
    float: left;
    width: 100%;
}

.result-superwin {
    width: 100%;
    float: left;
    border-bottom: 1px solid #e5e5e5;
}

.result-superwin-title {
    height: 45px;
    background-color: #ad040c;
    text-align: center;
    line-height: 45px;
    color: #fff;
    font-size: 14px;
    border-right: 1px solid #dc000c;
    float: left;
    width: 100%;
}

.result-superwin-element {
    width: 100%;
    float: left;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #e5e5e5;
}

.single-number {
    width: 30px;
    margin: 2px;
    border: 1px solid #e5e5e5;
    text-align: center;
    line-height: 33px;
    border-radius: 4px;
    font-size: 20px;
    font-weight: 600;
    height: 35px;
}

    .single-number.default {
        background-color: #e5e5e5;
    }

.result-megawin {
    width: 50%;
    float: left;
    border-right: 1px solid #e5e5e5;
}

.result-megawin-title {
    height: 45px;
    background-color: #fafafa;
    text-align: center;
    line-height: 45px;
    color: #363636;
    font-size: 14px;
    border-bottom: 1px solid #e5e5e5;
    float: left;
    width: 100%;
}

.result-megawin-element {
    width: 100%;
    float: left;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.triple-number {
    width: 45px;
    margin: 2px;
    border: 1px solid #e5e5e5;
    text-align: center;
    line-height: 33px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    height: 35px;
}

    .triple-number.default {
        background-color: #e5e5e5;
    }

.result-bigwin-element {
    width: 100%;
    float: left;
    height: 176px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.double-number {
    width: 85px;
    margin: 2px;
    border: 1px solid #e5e5e5;
    text-align: center;
    line-height: 75px;
    border-radius: 4px;
    font-size: 60px;
    font-weight: 600;
    height: 77px;
}

    .double-number.default {
        background-color: #e5e5e5;
    }

.result-award-title {
    width: 100%;
    float: left;
    margin: 0;
}

.result-award-title-inner {
    width: 90%;
    float: left;
    height: 45px;
    overflow: hidden;
    padding: 0 15px;
    background-color: #e30a18;
    line-height: 45px;
    font-weight: 600;
    font-size: 14px;
}

    .result-award-title-inner p {
        float: left;
        color: #fff;
        font-size: 14px;
    }

    .result-award-title-inner .icon-desc-check {
        float: left;
        line-height: 45px;
        margin: 0 5px 0 5px;
        color: #fff;
    }

.result-award-title-right {
    width: 10%;
    float: left;
    height: 45px;
    overflow: hidden;
    padding: 0 15px;
    background-color: #e30a18;
    line-height: 45px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s;
}

    .result-award-title-right i {
        color: #fff;
        font-size: 17px;
        line-height: 45px;
    }

    .result-award-title-right:hover i {
        color: #460406;
        transition: all 0.25s;
    }

.result-superwin-element-left {
    width: 100%;
    float: left;
    height: 45px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 10px;
}

.result-superwin-element-right {
    width: 100%;
    float: left;
    height: 45px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 10px;
}

.double-number-small {
    width: 40px;
    margin: 2px;
    border: 1px solid #e5e5e5;
    text-align: center;
    line-height: 33px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    height: 35px;
}

    .double-number-small.default {
        background-color: #e5e5e5;
    }

.single-number-block {
    width: 90%;
    margin: 2px;
    border: 1px solid #e5e5e5;
    text-align: center;
    line-height: 33px;
    border-radius: 4px;
    font-size: 20px;
    font-weight: 600;
    height: 35px;
    padding-left: 5px;
    padding-right: 5px;
    letter-spacing: 5px;
}

    .single-number-block.default {
        background-color: #e1e1e1;
    }

.round-title {
    background-image: url(../../images/lotto/bg.jpg?v=1);
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    background-color: #fff;
}

.round-title-desc {
    background: transparent;
}

.lotto-status-offline .round-title {
    filter: grayscale(95%);
    background-color: #787878;
}

.section-wrapper.section-selection {
    background-color: #ad040c;
    margin-bottom: 15px;
    padding-bottom: 5px;
    padding-top: 20px;
}

.form-control.input-group.date {
    height: 45px;
    background-color: #dc000c;
    border: 1px solid #dc000c;
}

    .form-control.input-group.date .date-field {
        background-color: transparent;
        border: 0;
        outline: none;
        color: #fff;
    }

    .form-control.input-group.date i {
        line-height: 45px;
        color: #ae030e;
        font-size: 20px;
        width: 40px;
        text-align: right;
        right: 0;
    }

.datepicker-dropdown.datepicker-orient-top:before {
    display: none;
}

.datepicker-dropdown.datepicker-orient-top:after {
    display: none;
}

.input-group.input-group-custom {
    height: 45px;
}

    .input-group.input-group-custom .form-control {
        height: 45px;
        background-color: #8e0207;
        border: 1px solid #8d0006;
        color: #fff;
    }

        /* == PLACEHOLDER == */
        .input-group.input-group-custom .form-control::-webkit-input-placeholder {
            color: #fff;
        }

        .input-group.input-group-custom .form-control:-moz-placeholder {
            color: #fff;
        }

        .input-group.input-group-custom .form-control::-moz-placeholder {
            color: #fff;
        }

        .input-group.input-group-custom .form-control:-ms-input-placeholder {
            color: #fff;
        }

        .input-group.input-group-custom .form-control:focus::-webkit-input-placeholder {
            color: white;
        }

    .input-group.input-group-custom .input-group-btn {
        background-color: #dc000c;
        width: 50px;
        text-align: center;
        border-radius: 0 4px 4px 0;
    }

        .input-group.input-group-custom .input-group-btn .btn-danger {
            background-color: transparent !important;
            border: 0 !important;
            height: 45px;
            width: 50px;
        }

.more-link {
    font-size: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    color: #fff;
    transition: all 0.25s;
}

    .more-link:hover {
        color: #460406;
        transition: all 0.25s;
    }

.btn.dropdown-toggle.btn-danger.btn-custom-md .caret {
    color: #ae030e;
    right: 18px;
}









/* resize */
@media screen and (max-width: 1280px) {
    .single-number {
        width: 27px;
    }

    .result-award-title-right i {
        font-size: 14px;
        position: relative;
        right: 4px;
    }
}

@media screen and (max-width: 1170px) {
    .lotto-payout-wrap {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media screen and (max-width: 991px) {
    .filter-option-inner-inner {
        font-size: 14px;
    }
}

@media screen and (max-width: 767px) {
    .lotto-payout-wrap {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .result-award-title-right i {
        right: 10px;
    }

    .result-award-title-right {
        text-align: right;
    }

    .more-link {
        right: 10px;
    }
}

@media screen and (max-width: 360px) {
    .single-number {
        width: 20px;
    }

    .result-award-title-right {
        width: 10%;
        padding: 0;
    }

    .round-title {
        padding: 10px 35px 0 70px;
    }

    .double-number {
        width: 70px;
        font-size: 27px;
    }

    .triple-number {
        width: 40px;
    }

    .result-megawin-title {
        font-size: 10px;
    }

    .single-number-block {
        font-size: 13px;
    }
}


/* เพิ่มเติม */
@media screen and (max-width:1280px) {
    .result-superwin-element-left {
        padding-right: 10px;
    }

    .result-superwin-element-right {
        padding-left: 10px;
    }

    .single-number {
        width: 25px !important;
    }
}


@media screen and (max-width:480px) {
    .single-number {
        width: 22px !important;
        height: 30px;
        line-height: 30px;
    }

    .single-number-block {
        font-size: 18px;
        letter-spacing: 1px;
    }
}

@media screen and (max-width:360px) {
    .single-number {
        width: 18px !important;
        font-size: 14px;
        height: 25px;
        line-height: 25px;
    }
}


/* ////////////////////////////////////////////////////////////// */

.result-superwin-element-split {
    width: 100%;
}

    .result-superwin-element-split:last-child {
        margin-right: 0;
    }

    .result-superwin-element-split .single-number-block {
        font-size: 20px;
        letter-spacing: 0;
        margin: 0 auto !important;
        padding: 0;
        width: 95%;
    }


@media screen and (max-width:1440px) {
    .result-superwin-element-split .single-number-block {
        font-size: 14px;
    }
}

@media screen and (max-width:320px) {
    .result-superwin-element-split .single-number-block {
        font-size: 10px;
    }
}