@charset "UTF-8";

@-webkit-keyframes click-wave {
    0% {
        height: 35px;
        width: 35px;
        opacity: 0.35;
        position: relative;
    }

    100% {
        height: 200px;
        width: 200px;
        margin-left: -80px;
        margin-top: -80px;
        opacity: 0;
    }
}

@-moz-keyframes click-wave {
    0% {
        height: 35px;
        width: 35px;
        opacity: 0.35;
        position: relative;
    }

    100% {
        height: 200px;
        width: 200px;
        margin-left: -80px;
        margin-top: -80px;
        opacity: 0;
    }
}

@keyframes click-wave {
    0% {
        height: 35px;
        width: 35px;
        opacity: 0.35;
        position: relative;
    }

    100% {
        height: 200px;
        width: 200px;
        margin-left: -80px;
        margin-top: -80px;
        opacity: 0;
    }
}

.option-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    position: relative;
    height: 35px;
    width: 35px;
    -webkit-transition: all 0.15s ease-out 0s;
    -moz-transition: all 0.15s ease-out 0s;
    transition: all 0.15s ease-out 0s;
    background: #cbd1d8;
    border: none;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    margin-right: 0;
    outline: none;
    position: relative;
    z-index: 10;
}

/* Red */
.option-input.radioRed {
    width: 35px;
    height: 35px;
    background-color: rgb(252, 188, 188, 0.2);
    border: 1px solid rgb(252, 188, 188, 0.5);
    margin-right: 4px;
}

.option-input.radioRed:hover {
    background: #e74c3c;
    border: 1px solid #e74c3c;
}

.option-input.radioRed:checked {
    background: #EC4A42;
    border: 1px solid #C43730;
}

.option-input.radioRed::before {
    height: 35px;
    width: 35px;
    position: absolute;
    content: "ขาด";
    color: rgb(248, 145, 145);
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    text-align: center;
    line-height: 35px;
    left: -1px;
    top: -1px;
}

.option-input.radioRed:checked::before {
    height: 35px;
    width: 35px;
    position: absolute;
    content: "ขาด";
    display: inline-block;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    line-height: 35px;
    left: -1px;
    top: -1px;
    color: #fff;
    border-radius: 50%;
    text-shadow: 1px 1px 0px #000;
    /* box-shadow: 0px 0px 2px #000; */
}

.option-input.radioRed:checked::after {
    -webkit-animation: click-wave 0.30s;
    -moz-animation: click-wave 0.30s;
    animation: click-wave 0.30s;
    background: #e74c3c;
    content: "";
    display: block;
    position: relative;
    z-index: 9;
}



/* End Red */

/* Green */
.option-input.radioGreen {
    width: 35px;
    height: 35px;
    background-color: rgb(180, 202, 190, 0.2);
    border: 1px solid rgb(180, 202, 190, 0.5);
    top: 0px;
    margin-right: 4px;
}

.option-input.radioGreen:hover {
    background: #2ecc71;
}

.option-input.radioGreen:checked {
    background: #2ecc71;
    border: 1px solid #00a331;
}

.option-input.radioGreen::before {
    height: 35px;
    width: 35px;
    position: absolute;
    content: "มา";
    color: #54b17c;
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    text-align: center;
    line-height: 35px;
    left: -1px;
    top: -1px;
}

.option-input.radioGreen:checked::before {
    height: 35px;
    width: 35px;
    position: absolute;
    content: "มา";
    display: inline-block;
    font-size: 16px;
    font-weight: normal;
    text-align: center;
    line-height: 35px;
    left: 0px;
    top: -1px;
    color: #fff;
    text-shadow: 1px 1px 0px #000;
}

.option-input.radioGreen:checked::after {
    -webkit-animation: click-wave 0.30s;
    -moz-animation: click-wave 0.30s;
    animation: click-wave 0.30s;
    background: #2ecc71;
    content: "";
    display: block;
    position: relative;
    z-index: 9;
}

/* End Green */

/* Blue */
.option-input.radioBlue {
    width: 35px;
    height: 35px;
    background-color: rgb(143, 210, 255, 0.2);
    border: 1px solid rgb(143, 210, 255, 0.5);
    margin-right: 4px;
}

.option-input.radioBlue:hover {
    background: #3498db;
}

.option-input.radioBlue:checked {
    background: #3498db;
    border: 1px solid #0063a5;
}

.option-input.radioBlue::before {
    height: 35px;
    width: 35px;
    position: absolute;
    content: "ลา";
    color: #78b3db;
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    text-align: center;
    line-height: 35px;
    left: -1px;
    top: -1px;
}

.option-input.radioBlue:checked::before {
    height: 35px;
    width: 35px;
    position: absolute;
    content: "ลา";
    display: inline-block;
    font-size: 16px;
    font-weight: normal;
    text-align: center;
    line-height: 35px;
    left: 0px;
    top: -1px;
    color: #fff;
    text-shadow: 1px 1px 0px #000;
    
}

.option-input.radioBlue:checked::after {
    -webkit-animation: click-wave 0.30s;
    -moz-animation: click-wave 0.30s;
    animation: click-wave 0.30s;
    background: #3498db;
    content: "";
    display: block;
    position: relative;
    z-index: 9;
}

/* End Blue */

/* Yellow */
.option-input.radioYellow {
    width: 35px;
    height: 35px;
    background-color: rgb(250, 234, 171, 0.5);
    border: 1px solid rgb(250, 234, 171, 0.7);
    margin-right: 4px;
}

.option-input.radioYellow:hover {
    background: #f1c40f;
}

.option-input.radioYellow:checked {
    background: #f1c40f;
    border: 1px solid #e07f01;
}

.option-input.radioYellow::before {
    height: 35px;
    width: 35px;
    position: absolute;
    content: "สาย";
    color: #e7d487;
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    text-align: center;
    line-height: 35px;
    left: -1px;
    top: -1px;
}

.option-input.radioYellow:checked::before {
    height: 35px;
    width: 35px;
    position: absolute;
    content: "สาย";
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    text-align: center;
    line-height: 35px;
    left: 0px;
    top: -1px;
    color: #fff;
    text-shadow: 1px 1px 0px #000;
}

.option-input.radioYellow:checked::after {
    -webkit-animation: click-wave 0.30s;
    -moz-animation: click-wave 0.30s;
    animation: click-wave 0.30s;
    background: #ffae00;
    content: "";
    display: block;
    position: relative;
    z-index: 9;
}

/* End Yellow */

/* Purple */
.option-input.radioPurple {
    width: 35px;
    height: 35px;
    background-color: rgb(249, 156, 252, 0.2);
    border: 1px solid rgb(249, 156, 252, 0.5);
    margin-right: 4px;
}

.option-input.radioPurple:hover {
    background: #e90ff1;
}

.option-input.radioPurple:checked {
    background: #e90ff1;
    border: 1px solid #9b02a0;
}

.option-input.radioPurple::before {
    height: 35px;
    width: 35px;
    position: absolute;
    content: "หนี";
    color: #dd81e0;
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    text-align: center;
    line-height: 35px;
    left: -1px;
    top: -1px;
}

.option-input.radioPurple:checked::before {
    height: 35px;
    width: 35px;
    position: absolute;
    content: "หนี";
    display: inline-block;
    font-size: 16px;
    font-weight: normal;
    text-align: center;
    line-height: 35px;
    left: -1px;
    top: -1px;
    color: #fff;
    text-shadow: 1px 1px 0px #000;
}

.option-input.radioPurple:checked::after {
    -webkit-animation: click-wave 0.30s;
    -moz-animation: click-wave 0.30s;
    animation: click-wave 0.30s;
    background: #e90ff1;
    content: "";
    display: block;
    position: relative;
    z-index: 9;
}

/* End Purple */

.option-input.radio {
    border-radius: 50% !important;
}

.option-input.radio::after {
    border-radius: 50% !important;
}

@media (min-width:320px){
    .option-input{
        height: 32px;
        width: 32px;
    }

    .option-input.radioRed {
        width: 32px;
        height: 32px;
        margin-right: 0px;
    }
    .option-input.radioRed::before {
        height: 32px;
        width: 32px;
    }
    .option-input.radioRed:checked::before {
        height: 32px;
        width: 32px;
    }



    .option-input.radioGreen {
        width: 32px;
        height: 32px;
        margin-right: 0px;
    }
    .option-input.radioGreen::before {
        height: 32px;
        width: 32px;
    }
    .option-input.radioGreen:checked::before {
        height: 32px;
        width: 32px;
    }



    .option-input.radioYellow {
        width: 32px;
        height: 32px;
        margin-right: 0px;
    }
    .option-input.radioYellow::before {
        height: 32px;
        width: 32px;
    }
    .option-input.radioYellow:checked::before {
        height: 32px;
        width: 32px;
    }



    .option-input.radioBlue {
        width: 32px;
        height: 32px;
        margin-right: 0px;
    }
    .option-input.radioBlue::before {
        height: 32px;
        width: 32px;
    }
    .option-input.radioBlue:checked::before {
        height: 32px;
        width: 32px;
    }



    .option-input.radioPurple {
        width: 32px;
        height: 32px;
        margin-right: 0px;
    }
    .option-input.radioPurple::before {
        height: 32px;
        width: 32px;
    }
    .option-input.radioPurple:checked::before {
        height: 32px;
        width: 32px;
    }

}

@media (min-width:375px){
    .option-input{
        height: 35px;
        width: 35px;
    }

    .option-input.radioRed {
        width: 35px;
        height: 35px;
        margin-right: 4px;
    }
    .option-input.radioRed::before {
        height: 35px;
        width: 35px;
    }
    .option-input.radioRed:checked::before {
        height: 35px;
        width: 35px;
    }



    .option-input.radioGreen {
        width: 35px;
        height: 35px;
        margin-right: 4px;
    }
    .option-input.radioGreen::before {
        height: 35px;
        width: 35px;
    }
    .option-input.radioGreen:checked::before {
        height: 35px;
        width: 35px;
    }



    .option-input.radioYellow {
        width: 35px;
        height: 35px;
        margin-right: 4px;
    }
    .option-input.radioYellow::before {
        height: 35px;
        width: 35px;
    }
    .option-input.radioYellow:checked::before {
        height: 35px;
        width: 35px;
    }



    .option-input.radioBlue {
        width: 35px;
        height: 35px;
        margin-right: 4px;
    }
    .option-input.radioBlue::before {
        height: 35px;
        width: 35px;
    }
    .option-input.radioBlue:checked::before {
        height: 35px;
        width: 35px;
    }



    .option-input.radioPurple {
        width: 35px;
        height: 35px;
        margin-right: 4px;
    }
    .option-input.radioPurple::before {
        height: 35px;
        width: 35px;
    }
    .option-input.radioPurple:checked::before {
        height: 35px;
        width: 35px;
    }

}

@media (min-width:414px){
    .option-input{
        height: 40px;
        width: 40px;
    }

    .option-input.radioRed {
        width: 40px;
        height: 40px;
        margin-right: 4px;
    }
    .option-input.radioRed::before {
        height: 40px;
        width: 40px;
    }
    .option-input.radioRed:checked::before {
        height: 40px;
        width: 40px;
    }



    .option-input.radioGreen {
        width: 40px;
        height: 40px;
        margin-right: 4px;
    }
    .option-input.radioGreen::before {
        height: 40px;
        width: 40px;
    }
    .option-input.radioGreen:checked::before {
        height: 40px;
        width: 40px;
    }



    .option-input.radioYellow {
        width: 40px;
        height: 40px;
        margin-right: 4px;
    }
    .option-input.radioYellow::before {
        height: 40px;
        width: 40px;
    }
    .option-input.radioYellow:checked::before {
        height: 40px;
        width: 40px;
    }



    .option-input.radioBlue {
        width: 40px;
        height: 40px;
        margin-right: 4px;
    }
    .option-input.radioBlue::before {
        height: 40px;
        width: 40px;
    }
    .option-input.radioBlue:checked::before {
        height: 40px;
        width: 40px;
    }



    .option-input.radioPurple {
        width: 40px;
        height: 40px;
        margin-right: 4px;
    }
    .option-input.radioPurple::before {
        height: 40px;
        width: 40px;
    }
    .option-input.radioPurple:checked::before {
        height: 40px;
        width: 40px;
    }

}