﻿/* //// Text fields //// */

input[type="text"], input[type="password"], textarea {
    position: relative;
    z-index: 0;
    vertical-align: middle;
    font: 12px Arial;
    padding: 6px 7px 6px 7px;
    margin: 0;
    border: solid 1px #8c8c8c;
    border-color: rgba(0,0,0,0.3);
    border-radius: 3px;
    background: url(../images/trans.gif);}
input[type="text"]:hover, input[type="password"]:hover, textarea:hover {
    border-color: #000000;
}
textarea {
    padding: 6px 7px 6px 7px;
}
input[type="text"].required, textarea.required{
    border-color: #f30;
}
input[type="text"]:focus, input[type="text"].focus, textarea:focus, textarea.focus {
    border-color: #3ac;
    box-shadow: 0 0 0 5px rgba(51,170,204,0.1);
}
input[readonly], textarea[readonly],
input[type="text"][readonly]:hover, input[type="password"][readonly]:hover,
textarea[readonly]:hover,
input[type="text"][readonly]:focus, input[type="text"][readonly].focus,
textarea[readonly]:focus, textarea[readonly].focus {
    color: #666;
    border-color: #8c8c8c;
    background: #f2f2f2;
    box-shadow: none;
}

/* //// Labels //// */

.lbl {
    display: none;
    position: relative;
    z-index: 0;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    vertical-align: top;
}
.lbl > div {
    position: absolute;
    top: 7px;
    left: 8px;
    width: auto;
    height: auto;
    color: #999;
    white-space: nowrap;
}

/* //// Links //// */

a, a:link {
    color: #3ac;
    text-decoration: none;
    cursor: pointer;
}
a:hover, a:active {
    color: #3ac;
    text-decoration: underline;
}
a.small {
    display: inline-block;
    font-size: 10px;
    font-weight: normal;
    margin: 4px 0 0 0;
}

/* //// Button links //// */
 
a.btn {
    display: inline-block;
    color: #fff;
    font: bold 12px Arial;
    text-decoration: none;
    text-align: center;
    /* border: solid 1px #079;
    border-color: #08a #079 #068 #079; */
    border-radius: 3px;
    text-shadow: 1px 1px 2px #007799;
    white-space: nowrap;
    background: #3ac url(../images/btn_bg.png) 0 0;
    /* padding: 4px 15px 4px 15px; */
    padding: 7px 16px 7px 16px;
    cursor: pointer;
    /* box-shadow: 0 1px 2px rgba(0,0,0,0.2); */
}
a.btn.PayPal {
    background: #3ac url(../images/btn_PayPal_bg.png) 0 0;
}
a.btn.tall {
    background: #3ac url(../images/btn_tall_bg.png) 0 0;
}
a.btn:hover {
    color: #ffffff;
    background-color: #5cbbd6;
    border-color: #33a0bb #3392ad #3385a0 #3392ad;
}
a.btn:focus {
    box-shadow: 0 0 0 5px rgba(51,170,204,0.1);
}
a.btn.grey {
    color: #666;
    text-shadow: none;
    background: #e5e5e5;
}
a.btn.disabled {
    color: #fff;
    text-shadow: none;
    border-color: #ccc #b2b2b2 #999 #b2b2b2;
    /* background: #fff url(../images/btn_bg.png) 0 0; */
    background: #e5e5e5;
    background: rgba(0,0,0,0.1);
    cursor: default;
}
a.btn.disabled:focus {
    box-shadow: none;
}
a.btn.grey:hover {
    background: #d5d5d5;
}
a.btn.large {
    font-size: 13px;
    width: auto;
    /* padding: 6px 36px 6px 36px; */
    padding: 6px 35px 6px 35px;
}
a.btn.grey.large {
    padding: 6px 12px 6px 12px;
}
a.btn.disabled.large {
    padding: 6px 36px 6px 36px;
}
a.btn.small {
    font-size: 11px;
    text-shadow: none;
    border: 0;
    padding: 3px 12px 3px 12px;
}

/* //// Radio buttons //// */

.radio {
    position: relative;
    top: auto;
    left: auto;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    border: solid 1px #ccc;
    border-radius: 12px;
}
.radio:hover {
    border-color: #999;
}
.radio:focus {
    border-color: #3ac;
    box-shadow: 0 0 0 5px rgba(51,170,204,0.1);
}
.radio.sel {
    border-color: #08a #079 #068 #079;
    background: #3ac url(../images/btn_bg.png) 0 0;
}
.radio.sel:hover {
    background-color: #1ce;
}

/* 
    Drop-down box mark-up (as rendered by jQuery)
    
    <div class="ddBox" id="id_ddBox" style="styles" max="max" tabindex="tabIndex">
        <div class="sel">selectedOptionText</div>
        <div class="optns">
            <div val="optionValue" class="sel">optionText</div>
            <div val="optionValue">optionText</div>
            <div val="optionValue">optionText</div>
            <div val="optionValue">optionText</div>
        </div>
    </div>
    <input type="hidden" id="id" name="id value="selectedOptionValue" tabindex="99" />
    <input type="hidden" tabindex="99" /> <!-- Typed -->
*/

.ddBox {
    position: relative;
    display: inline-block;
    width: auto;
    border: solid 1px #8c8c8c;
    border-color: #8c8c8c;
    border-radius: 3px;
    background: #fff;
    cursor: default;
}
.ddBox:hover {
    border-color: #000000;
}
.ddBox.required {
    border-color: #f30;
}
.ddBox:focus, .ddBox.focus {
    border-color: #3ac;
    box-shadow: 0 0 0 5px rgba(51,170,204,0.1);
    background: #fff;
}
.ddBox[readonly],
.ddBox[readonly]:hover,
.ddBox[readonly]:focus,
.ddBox[readonly].focus {
    border-color: #8c8c8c;
    background: #f2f2f2;
    box-shadow: none;
}
.ddBox > .sel {
    padding: 6px 27px 6px 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: url(images/ddBox_bg.gif) no-repeat right 11px;
}
.ddBox > .sel.label {
    color: #999;
}
.ddBox:hover > .sel {
    background-image: url(images/ddBox_bg_hover.gif);
}
.ddBox[readonly] > .sel,
.ddBox[readonly]:hover > .sel {
    color: #666;
    background: none;
}
.ddBox .optns {
    display: none;
    position: absolute;
    /* overflow: hidden; */
    left: -1px;
    right: -1px;
    border: solid 1px #cccccc;
    border-color: #ccc #3ac #3ac #3ac;
    border-radius: 0 0 3px 3px;
    background: #fff;
    padding: 0 0 2px 0;
}
.ddBox .optns div {
    padding: 4px 8px 4px 8px;
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
}
.ddBox .optns div:first-child {
    padding-top: 6px;
}
.ddBox .optns div[val="label"] {
    color: #999;
}
.ddBox .optns div:hover {
    color: #000;
    background: #eaf6f9;
}
.ddBox .optns div.sel {
    color: #fff;
    text-shadow: 0 1px 1px #3ac;
    background: #3ac;
}
.ddBox .optns div.sug {
    background: #eaf6f9;
}
.ddBox.editable > .sel {
    padding: 0;
}
.ddBox.editable input,
.ddBox.editable input:focus {
     border: 0;
     box-shadow: none;
     padding-right: 27px;
     background: url(../images/trans.gif);
}
.ddBox.editable[readonly] input,
.ddBox.editable[readonly] input:focus {
    color: #666;
}
.ddBox.editable .lbl > div {
    top: 6px;
    left: 7px;
}