/*****************************************************
*  FORM_LAYOUT.CSS
******************************************************/

div.form-group {
    width: 500px;
    border-top: solid 1px #d9d9d9;
    padding: 10px 0;
    margin-top: 10px;
}

div.form-group h3 {
    font: 700 14px/1.2em "Arial", "Helvetica", sand-serif;
    color: #333;
}

div.form-group p.description {
    font: 500 12px/1.2em "Arial", "Helvetica", sand-serif;
    color: #999;
}

div.f-block {
    margin: 6px 0;
    vertical-align: top;
}

div.f-block .sprite_button {
    top: -5px;
}

div.toolbar div.f-block {
    margin-bottom: 0;
}

.section-separator {
    margin-top: 50px;
}

label {
    font: 500 13px/1.2em "Arial", "Helvetica", sand-serif;
    color: #6e7881;
    margin: 12px 5px 3px 0;
    display: block;
}

.label-disabled,
.label-disabled span.text {
    color: #cfd3d7;
}

.label_tip {
    display: inline-block;
}

.toggle label .text {
    color: #333;
    margin: 0;
}

input {
    width: 200px;
    font: 500 13px/1.2em "Arial", "Helvetica", sand-serif;
    height: 25px;
    border-radius: 4px;
    border: 1px solid #8da1b8;
    padding: 2px 5px;
    margin: 1px;
    display: inline-block;
}

input:focus {
    border-width: 2px;
    border-color: #68a5db;
    margin: 0;
}

input:disabled,
textarea:disabled {
    border: solid 1px #cfd3d7;
}

input.highlight, select.highlight {
    border-color: #f00000;
}

input[type="checkbox"],
input[type="radio"] {
    position: relative;
    top: 1px;
    height: 15px;
    margin: 3px 0 3px 0;
    width: 20px;
    border: 0;
}

input[type="file"] {
    border: 0;
    padding: 0;
}

select {
    font: 500 13px/1.2em "Arial", "Helvetica", sand-serif;
    height: 31px;
    padding: 2px;
    background: transparent;
    border: 1px solid #8da1b8;
    border-radius: 4px;
    min-width: 87px;
    /* Min-width aligns right side of select box with right side of checkboxes. */
}

option {
    padding: 3px;
}

textarea {
    height: 150px;
    width: 325px;
    font: 500 13px/1.2em "Arial", "Helvetica", sand-serif;
    border-radius: 4px;
    border: 1px solid #8da1b8;
    padding: 5px;
    margin: 2px 1px 1px 1px;
    display: inline-block;
    color: #333;
    resize: none;
}

textarea:focus {
    border-width: 2px;
    border-color: #68a5db;
    margin: 1px 0 0 0;
}

label span.text {
    font: 500 13px/1.2em "Arial", "Helvetica", sand-serif;
    color:#6e7881;
    padding: 0 !important;
}

label.radio_label,
label.check_label {
    margin-top: 0;
    display: inline;
}

div.f-block.inline {
    margin: 0 0 10px 0;
    display: inline-block;
}

div.f-block.inline,
div.f-block.inline label,
div.f-block.inline input,
div.f-block.inline select,
div.f-block.inline textarea {
    display: inline-block;
}

.tip {
    display: inline-block;
    height: 16px;
    width: 16px;
    font: 500 13px/1.2em "Arial", "Helvetica", sand-serif;
    color:#999;
    cursor: pointer;
}

.tip img {
    margin-top: -3px;
    vertical-align: middle;
}


.tip_tip {
    display: block !important;
    background: #ebf3fb;
    position: absolute !important;
    font: 500 13px/1.2em "Arial", "Helvetica", sand-serif;
    color: #666;
    border: 1px solid #979797;
    border-radius: 4px;
    box-shadow: 0 0 7px rgba(0,0,0,0.5);
    padding: 10px;
    max-width: 175px;
}

.tip_tip .arrow {
    position: absolute;
    background: url("../images/icon_tooltip_arrow.png") top left no-repeat;
    height: 13px;
    width: 26px;
    bottom: -13px;
    z-index: 5;
}

.color_picker {
    display: inline-block;
    height: 28px;
    width: 28px;
    border: 1px solid #8da1b8;
    margin: 5px 5px 0 0;
}

.color_picker ~ label {
    position: relative;
    top: -11px;
    display: inline-block;
}

/* datepicker */
.ui-datepicker {
    width: 280px;
    background: #f0f0f0;
}

.ui-datepicker-header.ui-widget-header {
    border: 0;
    background: #dcdcdc;
    color: #444;
    font-size: 14px;
    font-family: "Arial", "Helvetica", sand-serif;
}

.ui-datepicker-header .ui-corner-all.ui-state-hover {
    background: transparent;
    border: 0;
}

.ui-datepicker .ui-datepicker-prev .ui-icon-circle-triangle-w {
    background-position: -4px 3px;
}

.ui-datepicker .ui-datepicker-next .ui-icon-circle-triangle-e {
    background-position: 4px 3px;
}

.ui-datepicker .ui-datepicker-prev-hover {
    cursor: pointer;
    left: 2px;
    top: 2px;
}

.ui-datepicker .ui-datepicker-next-hover {
    cursor: pointer;
    right: 2px;
    top: 2px;
}

.ui-datepicker-calendar th {
    color: #444;
    font-size: 11px;
    font-family: "Arial", "Helvetica", sand-serif;
    text-transform: uppercase;
    padding: 4px 0;
    text-align: center;
}

/*
 * These jquery ui classes are starting to conflict with using jquery ui widgets.
 * Assumption is that they were added for using the date picker, but since they
 * apply to all widgets created through jquery ui, we are excluding them from
 * applying to buttons created by jquery ui as we have different styles for buttons.
 */
.ui-state-default:not(button) {
    text-align: center;
    color: #828282;
    font-size: 11px;
    font-family: "Arial", "Helvetica", sand-serif;
    font-weight: bold;
    background: #e6e6e6;
    border: 0;
    padding: 2px 0;
    width: 33px;
    line-height: 20px;
    margin: 0;
}

.ui-state-hover:not(button), .ui-state-focus:not(button) {
    background: #cfcfcf;
    color: #282828;
}

.ui-state-active:not(button) {
    background: #bfdcf3;
    color: #012f69;
}

.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary {
    opacity: 0.6;
}

img.ui-datepicker-trigger {
    position: relative;
    top: 7px;
    left: 2px;
    cursor: pointer;
}

.ui-spinner-input {
    margin: 0px;
    padding: 2px 5px;
}

.ui-spinner a.ui-spinner-button {
    width: 16px;
}