﻿/* Input Text, TextArea, Select */
input, textarea, select {
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

    input[type="text"],
    input[type="password"] {
        float: left;
        padding: 4px 3px 3px 3px;
        width: 220px;
        height: 15px;
        border: 1px solid #d4d4d4;
        background: #fff;
        color: #3C3C3C;
        text-decoration: none;
        font-weight: normal;
        font-size: 12px !important;
    }

        input[type="text"]:focus,
        input[type="password"]:focus,
        textarea:focus {
            border: 1px solid #f7d953 !important;
            -moz-box-shadow: inset 1px 2px 2px #dfdfdf;
            -webkit-box-shadow: inset 1px 2px 2px #dfdfdf;
            box-shadow: inset 1px 2px 2px #dfdfdf;
        }

    input[readonly] {
        background: #f1f1f1;
    }

    input.short {
        width: 130px;
    }

    input.medium {
        width: 180px;
    }

    input.long {
        width: 265px;
    }

textarea {
    float: left;
    overflow: auto;
    padding: 3px;
    width: 220px;
    height: 36px;
    border: 1px solid #d4d4d4;
    background: #fff;
    color: #3C3C3C;
    text-decoration: none;
    font-weight: normal;
    font-size: 12px;
    resize: none;
}

select {
    float: left;
    padding: 4px 1px 3px 1px;
    width: 185px;
    height: 25px;
    border: 1px solid #d4d4d4;
    background: #fff;
    color: #3C3C3C;
    text-decoration: none;
    font-weight: normal;
    font-size: 12px !important;
}


    /* Input Buton, Input Submit, Input Reset */
    input[type="submit"],
    input[type="button"],
    input[type="reset"] {
        voice-family: "\"}\"";
        voice-family: inherit;
        width: 62px;
        height: 31px;
        background: url(../images/buttons.png) 0 0 no-repeat;
        color: #fff;
        font-size: 12px !important;
        cursor: pointer;
    }

        input[type="submit"]:hover,
        input[type="button"]:hover,
        input[type="reset"]:hover {
            background: url(../images/buttons.png) 0 -35px no-repeat;
            color: #004C39;
        }

    input.ButtonShort[type="submit"],
    input.ButtonShort[type="button"],
    input.ButtonShort[type="reset"] {
        width: 60px;
        height: 23px;
        background: url(../images/buttons.png) -541px 0 no-repeat;
        color: #fff;
        font-size: 12px;
        cursor: pointer;
    }

        input.ButtonShort[type="submit"]:hover,
        input.ButtonShort[type="button"]:hover,
        input.ButtonShort[type="reset"]:hover {
            background: url(../images/buttons.png) -541px -35px no-repeat;
            color: #004C39;
        }

    input.ButtonShort.disabled,
    input.ButtonShort:disabled {
        background: url(../images/buttons.png) -605px 0 no-repeat;
        color: #000;
    }

        input.ButtonShort.disabled:hover,
        input.ButtonShort:disabled:hover {
            background: url(../images/buttons.png) -605px 0 no-repeat;
            color: #000;
        }

    input.ButtonWide {
        voice-family: "\"}\"";
        voice-family: inherit;
        width: 92px;
        height: 31px;
        background: url(../images/buttons.png) -65px 0 no-repeat;
        color: #fff;
        font-size: 12px !important;
        cursor: pointer;
    }

        input.ButtonWide:hover {
            background: url(../images/buttons.png) -65px -35px no-repeat;
            color: #004C39;
        }

    input.ButtonWideShort {
        voice-family: "\"}\"";
        voice-family: inherit;
        width: 92px;
        height: 23px;
        background: url(../images/buttons.png) -670px 0 no-repeat;
        color: #fff;
        font-size: 12px !important;
        cursor: pointer;
    }

        input.ButtonWideShort:hover {
            background: url(../images/buttons.png) -670px -35px no-repeat;
            color: #004C39;
        }

    input.ButtonWide2 {
        voice-family: "\"}\"";
        voice-family: inherit;
        width: 111px;
        height: 31px;
        background: url(../images/buttons.png) -160px 0 no-repeat;
        color: #fff;
        font-size: 12px !important;
        cursor: pointer;
    }

        input.ButtonWide2:hover {
            background: url(../images/buttons.png) -160px -35px no-repeat;
            color: #004C39;
        }

    input.ButtonWide3 {
        voice-family: "\"}\"";
        voice-family: inherit;
        width: 141px;
        height: 31px;
        background: url(../images/buttons.png) -275px 0 no-repeat;
        color: #fff;
        font-size: 12px !important;
        cursor: pointer;
    }

        input.ButtonWide3:hover {
            background: url(../images/buttons.png) -275px -35px no-repeat;
            color: #004C39;
        }

    input.BoxButtonOK {
        voice-family: "\"}\"";
        voice-family: inherit;
        width: 62px;
        height: 31px;
        background: url(../images/buttons.png) 0 0 no-repeat;
        color: #fff;
        font-size: 12px !important;
        cursor: pointer;
    }

    input.BoxButtonClose {
        voice-family: "\"}\"";
        voice-family: inherit;
        position: absolute;
        top: -10px;
        right: 0;
        z-index: 9999;
        width: 24px;
        height: 25px;
        background: url(../images/icon-close.png) 0 0 no-repeat;
        cursor: pointer;
    }

    input.ButtonInvert[type="submit"],
    input.ButtonInvert[type="button"],
    input.ButtonInvert[type="reset"] {
        padding: 3px 10px 3px 10px;
        width: auto;
        border: 1px solid #919191;
        background: none;
        background-color: #fff;
        color: #004C39;
        font-weight: bold;
    }

        input.ButtonInvert[type="submit"]:hover,
        input.ButtonInvert[type="button"]:hover,
        input.ButtonInvert[type="reset"]:hover {
            padding: 3px 10px 3px 10px;
            width: auto;
            border: 1px solid #F6D400;
            background: none;
            background-color: #F6D400;
            color: #004C39;
            font-weight: bold;
        }


/* A Button */
a.ButtonShort {
    voice-family: "\"}\"";
    voice-family: inherit;
    display: block;
    padding: 5px 0;
    width: 60px !important;
    height: 13px !important;
    background: url(../images/buttons.png) -541px 0 no-repeat;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 12px !important;
    cursor: pointer;
    /*total:23px*/
}

    a.ButtonShort:hover {
        background: url(../images/buttons.png) -541px -35px no-repeat;
        color: #004C39;
    }

    a.ButtonShort.disabled,
    a.ButtonShort:disabled {
        background: url(../images/buttons.png) -605px 0 no-repeat;
        color: #000;
    }

        a.ButtonShort.disabled:hover,
        a.ButtonShort:disabled:hover {
            background: url(../images/buttons.png) -605px 0 no-repeat;
            color: #000;
        }

a.ButtonDefault {
    voice-family: "\"}\"";
    voice-family: inherit;
    display: block;
    padding: 8px 0;
    width: 62px !important;
    height: 15px !important;
    background: url(../images/buttons.png) 0 0 no-repeat;
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    font-size: 12px !important;
    /*total:31px*/
}

    a.ButtonDefault:hover {
        background: url(../images/buttons.png) 0 -35px no-repeat;
        color: #004C39 !important;
    }

a.ButtonWideShort {
    voice-family: "\"}\"";
    voice-family: inherit;
    padding: 5px 9px;
    width: 74px !important;
    height: 13px !important;
    background: url(../images/buttons.png) -670px 0 no-repeat;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 12px !important;
    /*total:23px*/
    /*total:92px*/
}

    a.ButtonWideShort:hover {
        background: url(../images/buttons.png) -670px -35px no-repeat;
        color: #004C39;
    }

a.ButtonWideShort2 {
    voice-family: "\"}\"";
    voice-family: inherit;
    padding: 5px 9px;
    width: 99px !important;
    height: 13px !important;
    background: url(../images/buttons.png) -420px 0 no-repeat;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 12px !important;
    /*total:117px*/
    /*total:23px*/
}

    a.ButtonWideShort2:hover {
        background: url(../images/buttons.png) -420px -35px no-repeat;
        color: #004C39;
    }
    
a.cancelPage {
    display: block;
    padding: 0 0 0 25px;
    height: 25px;
    background: url(../images/icon-close.png) right 0 no-repeat;
    color: #237B52 !important;
    text-align: right;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}


/* Input Arrow Button */
input.ButtonLeft {
    display: block;
    width: 26px !important;
    height: 31px !important;
    background: url(../images/mix-arrows.png) 0 -70px no-repeat;
}

    input.ButtonLeft:hover {
        background: url(../images/mix-arrows.png) 0 -210px no-repeat;
    }

input.ButtonRight {
    display: block;
    width: 26px !important;
    height: 31px !important;
    background: url(../images/mix-arrows.png) 0 0 no-repeat;
}

    input.ButtonRight:hover {
        background: url(../images/mix-arrows.png) 0 -140px no-repeat;
    }

input.ButtonLast {
    display: block;
    width: 26px !important;
    height: 31px !important;
    background: url(../images/mix-arrows.png) 0 -35px no-repeat;
}

    input.ButtonLast:hover {
        background: url(../images/mix-arrows.png) 0 -175px no-repeat;
    }

input.ButtonFirst {
    display: block;
    width: 26px !important;
    height: 31px !important;
    background: url(../images/mix-arrows.png) 0 -105px no-repeat;
}

    input.ButtonFirst:hover {
        background: url(../images/mix-arrows.png) 0 -245px no-repeat;
    }

input.ButtonUp {
    display: block;
    width: 26px !important;
    height: 31px !important;
    background: url(../images/mix-arrows.png) 0 -280px no-repeat;
}

    input.ButtonUp:hover {
        background: url(../images/mix-arrows.png) 0 -350px no-repeat;
    }

input.ButtonDown {
    display: block;
    width: 26px !important;
    height: 31px !important;
    background: url(../images/mix-arrows.png) 0 -315px no-repeat;
}

    input.ButtonDown:hover {
        background: url(../images/mix-arrows.png) 0 -385px no-repeat;
    }


/* RadioButton - CheckBox */
div.label_check_container,
div.label_radio_container {
    display: table-cell;
    padding-left: 10px;
    height: 25px;
    color: #004C39;
    vertical-align: middle;
    cursor: pointer;
}

    div.label_check_container:not([disabled="disabled"]):hover,
    div.label_radio_container:not([disabled="disabled"]):hover {
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        background: #f2f2f2;
    }

    div.label_radio_container div.label_radio {
        display: inline-block;
        *display: inline;
        margin-right: 8px;
        width: 17px;
        height: 17px;
        background: url(../images/input-radio.png) 0px 0px no-repeat;
        vertical-align: middle;
        -ms-zoom: 1;
        zoom: 1;
    }

    div.label_check_container div.label_check {
        display: inline-block;
        *display: inline;
        margin-right: 4px;
        width: 20px;
        height: 17px;
        background: url(../images/input-checkbox.png) 0px 0px no-repeat;
        vertical-align: middle;
        -ms-zoom: 1;
        zoom: 1;
    }

    div.label_check_container div.c_on {
        background: url(../images/input-checkbox.png) 0px -18px no-repeat;
    }

    div.label_radio_container div.r_on {
        background: url(../images/input-radio.png) 0px -18px no-repeat;
    }

    div.label_check_container div.disabled_icon,
    div.label_radio_container div.disabled_icon {
        -khtml-opacity: 0.3;
        -moz-opacity: 0.3;
        opacity: 0.3;
        filter: alpha(opacity=30);
        /* internet explorer */
    }

    div.label_check_container div.disabled_text,
    div.label_radio_container div.disabled_text {
        color: #d9d9d9;
    }

    div.label_check_container input,
    div.label_radio_container input {
        position: absolute;
        left: -9999px;
    }

    div.label_radio_container .icon,
    div.label_radio_container .label1,
    div.label_radio_container .label2,
    div.label_check_container .icon,
    div.label_check_container .label1,
    div.label_check_container .label2 {
        display: inline-block;
        *display: inline;
        margin-top: 2px;
        vertical-align: middle;
        -ms-zoom: 1;
        zoom: 1;
    }

    * + html div.label_radio_container .icon,
    * + html div.label_radio_container .label1,
    * + html div.label_radio_container .label2,
    * + html div.label_check_container .icon,
    * + html div.label_check_container .label1,
    * + html div.label_check_container .label2 {
        margin-top: 2px;
    }

    * + html div.label_radio_container div.label_radio,
    * + html div.label_check_container div.label_check {
        margin-top: 3px;
    }

div.borderedRadioCheck {
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background: transparent url(../images/bg-for-bordered-radio-checkbox.png) 0 0 repeat;
    -moz-box-shadow: inset 0 0 5px silver;
    -webkit-box-shadow: inset 0 0 5px silver;
    box-shadow: inset 0 0 5px silver;
    font-weight: bold;
}

div.label_radio_check_container_fix {
    display: inline-block;
    *display: inline;
    -ms-zoom: 1;
    zoom: 1;
}

table.checkboxlist {
    margin-top: 3px;
}

    table.checkboxlist div.label_check_container {
        padding-left: 0;
    }

        table.checkboxlist div.label_check_container div.label_check {
            margin-top: 2px;
        }

/* DropDownList */
div.selectbox-wrapper {
    position: absolute;
    z-index: 10000;
    float: none !important;
    overflow: auto;
    margin: 0;
    padding: 0 !important;
    max-height: 200px;
    width: 400px;
    border: 1px solid #ccc;
    background: #fff;
    text-align: left;
}

    div.selectbox-wrapper ul {
        z-index: 10000;
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

        div.selectbox-wrapper ul li.selected {
            background: #F7D953;
        }

        div.selectbox-wrapper ul li.current {
            background: #FCEFB8;
        }

        div.selectbox-wrapper ul li {
            z-index: 10000;
            display: block;
            margin: 0;
            padding: 5px;
            min-height: 18px;
            list-style-type: none;
            cursor: pointer;
        }

div.dropdown_container {
    position: relative;
    float: left;
    padding: 0 !important;
}

    div.dropdown_container input {
        z-index: 7000;
        float: none;
        height: 18px;
    }

.selectbox {
    display: block;
    margin: 0 5px 0 0;
    padding-left: 2px;
    border: 1px solid #D1E4F6;
    background-color: #fff !important;
    color: #333;
    text-align: left;
    cursor: pointer;
}

    .selectbox:not([disabled]):hover,
    .selectbox.hover:not([disabled]) {
        background: #fff;
    }

    .selectbox.back {
        background: #fff url(../images/combo-arrow-green.png) 96% 8px no-repeat;
    }

    .selectbox.back:focus {
        border: 1px solid #d4d4d4 !important;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

        .selectbox.back:not([disabled]):hover,
        .selectbox.back.hover:not([disabled]) {
            background: #fff url(../images/combo-arrow-yellow.png) 96% 8px no-repeat;
        }

    .selectbox.text {
        position: absolute;
        top: 0;
        left: 0;
        border-right: 0;
        color: #333;
    }

    .selectbox.text:focus {
        border: 1px solid #d4d4d4 !important;
        border-right: none !important;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .selectbox.text-ie7 {
        position: absolute;
        top: 1px;
        left: 0;
        border-right: 0;
        color: #333;
    }

        .selectbox.text:not([disabled]):hover,
        .selectbox.text.hover:not([disabled]),
        .selectbox.text-ie7:not([disabled]):hover,
        .selectbox.text-ie7.hover:not([disabled]) {
        }

/* DatePicker Input Trigger */
div.datepicker_icon_trigger {
    margin-left: 3px;
    width: 26px;
    height: 24px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background: transparent url(../images/icon-datepicker.png) 0 0 no-repeat;
    cursor: pointer;
}

    div.datepicker_icon_trigger:hover {
        margin-left: 3px;
        width: 26px;
        height: 24px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        background: transparent url(../images/icon-datepicker.png) -30px 0 no-repeat;
        cursor: pointer;
    }

    div.datepicker_icon_trigger.disable {
        margin-left: 3px;
        width: 26px;
        height: 24px;
        background: transparent url(../images/icon-datepicker.png) -60px 0 no-repeat;
        cursor: pointer;
    }

input[datepicker] {
    width: 156px !important;
}

html > body .ui-datepicker {
    width: 200px;
    height: 180px;
}

    .ui-datepicker .ui-datepicker-header {
        position: relative;
        padding: 4px 0 0 0;
    }

div#ui-datepicker-div {
    padding: 0;
    padding-bottom: 6px;
    width: 191px;
    height: auto;
    border: 1px solid #d4d4d4;
}

    div#ui-datepicker-div .ui-datepicker-header {
        padding: 3px 0;
        padding-bottom: 3px;
        padding-left: 30px;
        -moz-border-radius: 0;
        -webkit-border-radius: 0;
        border-radius: 0;
        background: #f2f2f2;
    }

    div#ui-datepicker-div .ui-datepicker-prev, div#ui-datepicker-div .ui-datepicker-next {
        top: 14px;
    }
