﻿.county {
    display: inline-block;
    width: 100px;
}

.district {
    display: inline-block;
    width: 120px;
}

.zipcode {
    display: none !important;
}

.field-validation-error {
    color: red;
}

.changeform {
    border-radius: 3px;
    background-color: #EEE;
    box-shadow: 4px 4px 3px rgba(20%,20%,40%,0.5);
}

    .changeform input {
        width: 100%;
        padding: 6px;
        height: 35px;
        border-radius: 3px;
        border: 1px solid #CCC;
        display: block;
    }

.editor-label {
    font-size: 16px;
    margin-top: 15px;
}

.a-upload {
    padding: 4px 10px;
    height: 35px;
    line-height: 20px;
    position: relative;
    cursor: pointer;
    color: #888;
    padding: 5px;
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

    .a-upload input {
        position: absolute;
        font-size: 100px;
        right: 0;
        top: 0;
        opacity: 0;
        filter: alpha(opacity=0);
        cursor: pointer;
    }

    .a-upload:hover {
        color: #444;
        background: #eee;
        border-color: #ccc;
        text-decoration: none;
    }

.changeform sex {
    width: 10%;
    display: inline-block;
}

.changeform h2 {
    font-weight: bold;
    color: green;
    text-align: center;
}

.right_content {
    display: inline-block;
    width: calc(80% - 270px);
    margin: 25px;
    /*padding: 15px 20px;*/
    border: 1px solid #22ac38;
    border-radius: 5px;
}




@media screen and (min-width:769px) {
    .changeform {
        padding: 5px 50px;
        margin: 20px auto;
        width: 48%;
        height: 100%;
    }


        .changeform li {
            text-align: center;
            font-size: 16px;
            font-weight: bold;
            padding-top: 15px;
            width: 150px;
            height: 50px;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
            background-color: #EEE;
            vertical-align: middle;
            margin-right: 10px;
            box-shadow: 4px 0px 3px rgba(30%,30%,50%,0.2);
            color: black;
        }

        .changeform .active {
            /* background: #fff; */
            border-bottom: none;
            text-align: center;
            background-color: orange;
            color: white;
        }

    .right_content fieldset {
        width: 92%;
        margin-bottom: 10px;
        border-radius: 8px;
        color: #808080;
    }


}

.changeform input[type=radio] {
    width: 20px;
    display: inline-block;
    vertical-align: middle;
}

.changeform input[type=checkbox] {
    width: 20px;
    display: inline-block;
    vertical-align: middle;
}



.changeform button {
    padding: 6px 12px;
    border-radius: 10px;
    border: 0px;
    color: white;
    font-family: NotoSansHant-Regular;
    font-size: 16px;
    background-color: #22ac38;
    box-shadow: 0px 0px 6px 1px rgba(255, 165, 165, 0.53);
    -webkit-transition: -webkit-transform 800ms;
    transition: transform 800ms;
    position: relative;
    z-index: 10;
}

    .changeform button:before {
        content: '';
        /*box-shadow: 0px 0px 6px 1px rgba(255, 165, 0, 0.53);*/
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
        position: absolute;
        width: 65%;
        height: 30px;
        top: 10px;
        left: 18px;
        pointer-events: none;
        opacity: 1;
        z-index: 1;
    }

    .changeform button:after {
        -webkit-transition: opacity 600ms, -webkit-transform 800ms;
        transition: opacity 600ms, transform 800ms;
        line-height: 100px;
        font-size: 10px;
        text-transform: uppercase;
        font-weight: bold;
        font-family: "Comic Sans MS";
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }

    .changeform button:hover {
        -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
        transform: scale(1.2);
        -webkit-transition: -webkit-transform 800ms, background-color 800ms;
        transition: transform 800ms, background-color 800ms;
    }

        .changeform button:hover:after {
            -webkit-transform: translate3d(0, -80px, 0);
            transform: translate3d(0, -80px, 0);
            opacity: 0;
        }

        .changeform button:hover:before {
            -webkit-transition: -webkit-transform 800ms, opacity 1000ms;
            transition: transform 800ms, opacity 1000ms;
            -webkit-transform: scale(1.8);
            -ms-transform: scale(1.8);
            transform: scale(1.8);
            opacity: 0;
        }


@media (max-width: 463px) {

    .right_content {
        width: 99%;
        margin: 0 auto;
        display: block;
    }

    .changeform {
        /*margin:20px auto;*/
        /*width:305px;*/
        height: 100%;
        /*padding: 5px 14px;*/
    }

    .right_content fieldset {
        width: 100%;
        margin-bottom: 10px;
        border-radius: 8px;
        color: #808080;
    }

    /*.container {
        width: 100%;
        padding: 5px 10px;
    }*/


    .changeform li {
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        padding-top: 15px;
        width: 100px;
        height: 50px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        background-color: #EEE;
        vertical-align: middle;
        margin-right: 10px;
        box-shadow: 4px 0px 3px rgba(30%,30%,50%,0.2);
        color: black;
    }

    .changeform .active {
        /* background: #fff; */
        border-bottom: none;
        text-align: center;
        background-color: orange;
        color: white;
    }

    textarea {
        width: 100%;
        box-sizing: border-box;
    }
}

@media screen and (min-width:464px) and (max-width:768px) {
    .changeform {
        margin: 20px auto;
        width: 70%;
        height: 100%;
        padding: 5px 14px;
    }

    .right_content {
        width: 92%;
        margin: 0 auto;
        display: table;
        margin-bottom: 50px;
    }

        .right_content fieldset {
            width: 100%;
            margin-bottom: 10px;
            border-radius: 8px;
            color: #808080;
        }

    /*.container {
        width: 100%;
        max-width: 500px;
        padding: 5px 14px;
    }*/


    .changeform li {
        text-align: center;
        font-size: 16px;
        font-weight: bold;
        padding-top: 15px;
        width: 120px;
        height: 50px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        background-color: #EEE;
        vertical-align: middle;
        margin-right: 10px;
        box-shadow: 4px 0px 3px rgba(30%,30%,50%,0.2);
        color: black;
    }

    .changeform .active {
        /* background: #fff; */
        border-bottom: none;
        text-align: center;
        background-color: orange; 
        color: white;
    }
}



.hvr-fade {
    width: 100%;
    height: 50px;
    color: white;
    background-color: #22ac38;
    border-radius: 5px;
    padding: 8px;
    font-size: 24px;
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0px 0px 6px 1px rgba(165, 165, 255, 0.53);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
    -webkit-transition-property: color, background-color;
    transition-property: color, background-color;
}

    .hvr-fade:hover, .hvr-fade:focus, .hvr-fade:active {
        background-color: green;
        color: white;
        box-shadow: 0px 0px 6px 1px rgba(120, 200, 120, 0.53);
    }

.editor-field {
    line-height: 25px;
}

#BonusModal th, #BonusModal td{
    text-align:center!important;
} 