button {
    cursor: pointer;
}
.content-gacha_1{
    margin-top: 40px;
}
.common-title_g1 {
    font-size: 26px;
    line-height: 30px;
    font-weight: 700;
    color: #fff;
    text-align:left;
    background: url(/common/design/user/img/gacha_1/bagr-title.png) left top repeat;
    margin: 0 0 20px;
    padding: 20px 30px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.radio-item input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    border: 2px solid #e4e4e4;
    transition: 0.2s all linear;
    margin-right: 5px;
    position: relative;
}

.radio-item  input:checked:before {
    background-color: #ff0000;
    width: 15px;
    height: 15px;
}
.radio-item input:before {
    content: "";
    position: absolute;
    background-color: #e4e4e4;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    line-height: 30px;
}
tr.even-gacha {
    border: 1px solid #e9e9e9;
}
td.title-td {
    background-color: #f8f8f8;
    font-size: 16px;
    line-height: 21px;
    padding: 27px 20px;
    text-align: right;
    font-weight: 600;
    border-right: 1px solid #e9e9e9;
    width: 220px;
    color: #292929;
    vertical-align: top;
}
.text-item-product{
    font-size: 16px;
    line-height: 21px;
    padding: 27px 0 0;
    font-weight: 600;
    color: #292929;
}

td.item-table-gacha {
    background-color: #fefefe;
    padding-left: 20px;
    padding-right: 20px;
    vertical-align: middle;
}

td.item-table-gacha.time-date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 500px;
}

td.item-table-gacha .text-radio{
    margin-right: 35px;
    font-size: 16px;
    color: #323232;
}
td.item-table-gacha label{
    margin-right: 35px;
}
td.item-table-gacha input[type="file"] {
    display: none;
}
.button-choose-file {
    font-size: 16px;
    color: #fff;
    background-color: #0097c8;
    max-width: 140px;
    width: 100%;
    line-height: 30px;
    display: inline-block;
    text-align: left;
    padding-left: 15px;
    font-weight: 700;
    border-radius: 5px;
    box-shadow: 0px 3px #1160b0;
    position: relative;
}
a.button-choose-file:before {
    content: "";
    display: block;
    background: url(/common/design/user/img/gacha_1/icon-file.png) no-repeat;
    background-size: 100%;
    width: 12px;
    height: 16px;
    position: absolute;
    left: auto;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}
.text-not-upload {
    font-size: 14px;
    color: #000;
    margin-left: 15px;
}
.date-time-gacha {
    position: relative;
}
img.img-date {
    position: absolute;
    width: 20px;
    right: 10px;
    top: 7px;
}
input.name-gacha::placeholder,
textarea::placeholder{
    font-size: 16px;
    color: #bebebe;
    line-height: 28px;
}
input.name-gacha {
    width: 100%;
    height: 40px;
    border: 1px solid #e9e9e9;
    border-radius: 5px;
    padding: 0 15px;
}
textarea.textAreaMultiline {
    width: 100%;
   padding: 10px 15px;
    border: 1px solid #e9e9e9;
    border-radius: 5px;
    margin: 15px 0;
    resize: none;
}

.gacha_1-list{
    display: flex;
    flex-wrap: wrap;
    margin: 15px -15px;
}
.gacha_1-list-2{
    display: flex;
    flex-wrap: wrap;
    margin: 15px -15px 0;
}
.gacha_1-item .img-product-gacha img {
    max-width: 230px;
    height: auto;
}
.gacha_1-item {
    width: calc(33.33% - 30px);
    margin: 10px 15px;
    background: #fff;
    text-align: center;
    padding: 20px 10px;
    border: 1px solid #cfcfcf;
}
.gacha_1-item-2{
    width: calc(25% - 20px);
    margin: 10px 10px;
    background: #fff;
    padding: 20px 10px;
    border: 1px solid #cfcfcf;
}
.gacha_1-item .title-product{
    text-align: left;
    font-size: 16px;
    line-height: 20px;
    color: #272727;
    padding-right: 65px;
    margin-top: 20px;
    margin-bottom: 0;
    position: relative;
    word-break: break-all;
}

.gacha_1-item-2 .img-product-gacha img {
    max-width: 175px;
    height: auto;
}

.create-page-gacha button {
    background-color: #e61e02;
    border: unset;
}

.group-title{
    margin-top: 20px;
    margin-bottom: 15px;
}

.gacha_1-item-2 .title-product{
    text-align: left;
    font-size: 16px;
    line-height: 20px;
    color: #272727;
    margin-bottom: 0;
    padding-left: 5px;
    padding-right: 5px;
}
.gacha_1-item .title-product:before {
    content: "";
    display: block;
    background: url(/common/design/user/img/gacha_1/icon-check-gray.png) no-repeat;
    background-size: 100%;
    width: 34px;
    height: 34px;
    position: absolute;
    top: 0;
    left: auto;
    right: 0;
}
/*.gacha_1-item:hover {*/
/*    border-color: #ff0000;*/
/*}*/
.gacha_1-item.active {
    border-color: #ff0000;
}
/*.gacha_1-item:hover .title-product:before {*/
/*    background: url(/common/design/user/img/gacha_1/icon-check.png) no-repeat;*/
/*    background-size: contain;*/
/*}*/
.gacha_1-item.active .title-product:before {
    background: url(/common/design/user/img/gacha_1/icon-check.png) no-repeat;
    background-size: contain;
}
input[type="text"] {
    width: 130px;
    border-radius: 5px;
    height: 40px;
    border: 1px solid #e4e4e4;
    padding: 0 10px;
    line-height: 40px;

}
.name-gacha {
    width: 100% !important;
}
.text-total {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: #000;
    margin-bottom: 0;
}
.text-total-bold {
    font-size: 44px;
}
.gacha-total {
    padding: 25px 30px;
    background-color: #ffe9e9;
    margin-top: 10px;
    margin-bottom: 25px;
}
.prince-gacha {
    font-size: 44px;
    line-height: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}
.text-note-prince{
    font-size: 16px;
    line-height: 28px;
    font-weight: 600;
}
.item-table-gacha.prince-item {
    padding: 30px 20px 10px;
}
.table-setting-gacha {
    margin-bottom: 35px;
}
.create-page-gacha {
    max-width: 330px;
    width: 100%;
    margin: 0 auto 50px;
    background-color: #e61e02;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0px 6px #971705;
}
.create-page-gacha .button-create {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 16px;
    padding: 25px 0;
    display: inline-block;
}

.time-date input {
    position: relative;
    width: 150px;
    height: 40px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.time-date input:before {
    position: absolute;
    top: 3px; left: 3px;
    content: attr(data-date);
    display: inline-block;
    color: -internal-light-dark(black, white);
    line-height: 32px;
    padding: 0 15px;
}

.time-date input::-webkit-datetime-edit,
.time-date input::-webkit-inner-spin-button,
.time-date input::-webkit-clear-button {
    display: none;
}

.time-date input::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 3px;
    right: 0;
    color: black;
    opacity: 1;
}

.btn-gacha {
    max-width: 360px;
    margin: 40px auto 35px;
    height: 55px;
    position: relative;
}

.btn-gacha a {
    line-height: 55px;
    text-align: center;
    display: inline-block;
    background-color: #f0f0f0;
    width: 100%;
    font-weight: 600;
    font-size: 18px;
}

.view-more-gacha:before {
    content: "";
    display: block;
    background: url(/common/design/user/img/gacha/icon-button.png) no-repeat;
    background-size: 100%;
    width: 28px;
    height: 28px;
    position: absolute;
    top: 50%;
    left: auto;
    right: 10px;
    transform: translateY(-50%);
}
.text-note-upload {
    font-weight: normal;
}
@media (max-width: 991px) {
    .common-title_g1{
        text-align: center;
        font-size: 18px;
    }
    tr.even-gacha {
        display: flex;
        flex-direction: column;
        border: unset;
        font-size: 14px;
    }
    td.title-td{
        width: 100%;
        border: unset;
        text-align: left;
        font-size: 14px;
        padding: 8px 10px;
    }
    td.item-table-gacha {
        padding: 15px 15px;
    }
    td.item-table-gacha .text-radio{
        font-size: 12px;
    }
    .radio-item input{
        width: 20px;
        height: 20px;
    }
    .radio-item input:checked:before {
        width: 10px;
        height: 10px;
    }
    .radio-item input:before{
        width: 8px;
        height: 8px;
    }
    .text-not-upload {
         font-size: 10px;
         margin-left: 0;
         margin-top: 20px;
     }
    .button-choose-file {
        font-size: 12px;
        box-shadow: unset;
    }
    input[type="text"]{
        width: 100%;
    }
    input.name-gacha::placeholder,
    textarea::placeholder {
        font-size: 12px;
    }
    .gacha_1-item {
        width: calc(50% - 20px);
        margin: 10px 10px;
    }
    .gacha_1-item .title-product,
    .gacha_1-item-2 .title-product {
        font-size: 12px;
        padding-right: 25px;
    }
    .text-item-product{
        font-size: 12px;
        padding: 0;
    }
    .gacha_1-item .title-product:before{
        width: 25px;
        height: 25px;
    }
    .gacha_1-item-2 {
        width: 100%;
        display: flex;
    }
    .info-product-gacha_1 {
        width: 100%;
    }
    .gacha_1-item-2 .info-product-gacha_1{
        padding-left: 20px;
    }
    .info-product-gacha_1 input[type="text"] {
        width: 130px;
    }
    .gacha_1-list {
        margin: 10px -10px;
    }
    .text-total,
    .text-note-prince{
        font-size: 12px;
    }
    .text-total-bold,
    .prince-gacha{
        font-size: 26px;
    }
    .create-page-gacha .button-create {
        font-size: 14px;
    }
    .create-page-gacha {
        max-width: 250px;
    }
}
@media (max-width: 575px){
    .gacha_1-item-2 .info-product-gacha_1 {
        padding-left: 10px;
    }
    td.item-table-gacha .text-radio {
        margin-right: 15px;
    }
}
@media (max-width: 375px) {
    .gacha_1-item{
        padding: 15px 5px;
    }
     .gacha_1-item-2 .title-product {
         font-size: 8px;
         padding-right: 0
    }
    .gacha_1-item .title-product {
        font-size: 9px;
        padding-right: 15px;
    }
    .gacha_1-item .title-product:before {
        width: 18px;
        height: 18px;
        top: 5px;
    }
    .info-product-gacha_1 input[type="text"] {
        width: 100px;
    }
}

@media (max-width: 991px) {
    .common-title_g1 {
        padding: 5px 15px;
    }

    textarea.textAreaMultiline {
        margin: 0;
    }
}
