/*
 * Sprite Assignment
 */

input.dropdown,
.search-form .calendar {
    background-repeat: no-repeat;
    background-image: url(../images/sprite_global.png);
    _background-image: url(../images/sprite_global.gif);
}

legend {
    color: #5d5d5d;
    font-size: 22px;
    font-weight: normal;
    line-height: 24px;
    display: block;
    width: 100%;
    margin-bottom: 16px;
}

label {
    color: #5e5e5e;
    font-size: 12px;
    font-weight: bold;
    text-align: right;
    float: left;
    width: 126px;
    margin-right: 8px;
    padding: 7px 5px 4px 0;
    padding-top: 9px\9;
}

label.option {
    font-weight: normal;
    text-align: left;
    width: auto;
    padding-top: 12px\9;
}

label.link {
    text-decoration: underline;
}

label.disabled {
    color: #aaa;
}

input[type="text"],
select, textarea {
    color: #3a3a3a;
    font-size: 12px;
    width: 250px;
}

input[type="text"] {
    height: 20px\9;
    line-height: 20px\9;
    *height: 14px;
    *line-height: 14px;
}

input[disabled="disabled"] {
    background-color: #f4f2f2;
}

textarea {
    margin-bottom: 10px;
}

input[type="text"],
input[type="password"] {
    float: left;
    width: 150px;
    padding: 7px 6px;
    margin-bottom: 8px;
    border: 1px solid;
    border-color: #bcbcbc #e8e8e8 #e8e8e8 #bcbcbc;
    box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
    *border: 1px solid #d8dee2;
}

input[type="radio"],
input[type="checkbox"],
input.checkbox,
input.radio {
    float: left;
    margin: 9px 5px 10px 0;
}

/*
 * All IE with ie class on body
 */
.ie input.radio,
.ie input.checkbox {
    *width: 12px;
    *height: 12px;
}

.ie form .gap {
    *margin-bottom: 10px;
}

select {
    float: left;
    width: 190px;
    margin-bottom: 8px;
    height: 23px\9;
    *font-size: 15px;
    *margin-top: 3px;
}

/*
 * Custom Dropdown
 */

/* Custom Dropdown Input */

input.dropdown {
    background-position: right -131px;
    cursor: pointer;
}

.dropdown.active {
    background-position: right -153px;
}

select.dropdown {
    padding: 7px 6px;
    border: 1px solid;
    border-color: #bcbcbc #e8e8e8 #e8e8e8 #bcbcbc;
}

/* Custom Dropdown List */

.dropdown-wrapper {
    position: absolute;
    display: block;
    padding-right: 5px;
    margin-top: -5px;
    z-index: 150;
}

.dropdown-wrapper ul {
    display: block;
    width: 120px;
    max-height: 135px;
    min-width: 80px;
    overflow-x: auto;
    border: 1px solid #cdcdcd;
    background: #fff;
}

.dropdown-wrapper ul li {
    font-size: 12px;
    text-align: left;
    padding: 5px 5px;
    background: none;
    border-bottom: 1px dotted #cdcdcd;
    cursor: pointer;
}

.dropdown-wrapper ul li:last-child {
    border-bottom: none;
}

.dropdown-wrapper ul li.selected,
.dropdown-wrapper ul li.selected.hover {
    background: #cdcdcd;
}

.dropdown-wrapper ul li.hover {
    background: #ececec;
}

/*
 * Calendar Icon
 */

.search-form .calendar {
    float: left;
    width: 21px;
    height: 21px;
    margin: 4px 0 0 6px;
    background-position: 0 -105px;
    cursor: pointer;
    *display: block;
}

@media screen and /*! YUI-Compressor */ (-webkit-min-device-pixel-ratio:0) {
    label {
        padding: 9px 5px 3px 0;
    }
    .search-form .calendar {
        margin: 6px 0 0 4px;
    }
}

/*
 * Sizes
 */

body form .size-t {
    width: 30px;
}

body form select.size-t {
    width: 45px;
}

body form .size-s {
    width: 50px;
}

body form .size-sm {
    width: 60px;
}

body form select.size-sm {
    width: 82px;
    *width: 75px;
}

body form .size-m {
    width: 70px;
}

body form select.size-m {
    width: 90px;
}

body form .size-g {
    width: 76px;
}

body form select.size-g {
    *width: 88px;
}

body form .size-ml {
    width: 90px;
}

body form .size-l {
    width: 110px;
}

body form .size-xl {
    width: 160px;
}

body form .size-xxl {
    width: 241px;
}

body form select.size-xxl {
    width: 256px;
    *width: 257px;
}

body form input.gap,
body form select.gap,
body form textarea.gap {
    margin-right: 8px;
}

/*
 * Fieldset Border
 */

.border-t {
    border-top: 2px solid;
}

.border-t.orange {
    border-top-color: #f9a500;
}