/* Rec1 forms stylesheet
Created: 9/27/10
*/

/*
	SPECIFIC FORMS BY ID
*/
form#inquiry-form {
}

/*
	DATA FORM
*/
form.data .key, form.data .value {float: left; display: block; height: 30px; padding-top: 5px;}
form.data .key {width: 150px; text-align: right; padding-right: 10px;}
form.data .value {width: 350px; text-align: left;padding-top: 2px;height: 33px;}

/*
	STANDARD FORM
	best used inside #template-content
*/
form.standard {
    padding: 5px 10px;
}

form.standard input[type="text"], form.standard textarea {
    width: 238px;
    font-size: 120%;
}

form.standard input[type="text"] {
    height: 30px;
}

form.standard textarea {
    height: 90px;
}

form.standard span.key {
    text-align: right;
    margin: 5px 20px 0 0;
    width: 200px;
    font-size: 120%;
}

form.standard span.value {
    width: 250px;
}

form.standard span.key, form.standard span.value {
    margin-bottom: 20px;
}

form.standard button {
    font-size: 125%;
}



/*
	GRID_3
	should be used inside grid_3
*/
form.grid_3 {
    padding: 0;
}

form.grid_3 input[type="text"], form.grid_3 textarea, form.grid_3 input[type="password"] {
    width: 128px;
}

form.grid_3 input[type="text"], form.grid_3 input[type="password"] {
    height: 20px;
}

form.grid_3 textarea {
    height: 90px;
}

form.grid_3 div.key {
    text-align: right;
    margin: 5px 10px 0 14px;
    width: 70px;
    font-size: 100%;
}

form.grid_3 div.key p {
    font-size: 90%;
    font-weight: bold;
}

form.grid_3 div.value {
    width: 140px;
    text-align: right;
}

form.grid_3 div.value p.note, form.grid_3 div.key p.note {
    font-size: 75%;
    padding: 0;
    margin: 3px 0;
}

form.grid_3 div.key, form.grid_3 div.value {
    margin-bottom: 10px;
}

form.grid_3 input[type="checkbox"] {
    padding: 0;
    margin: 0 3px 0 0;
}

form.grid_3 button {
    font-size: 115%;
}



/*
	GRID_4
	should be used inside grid_4
*/
form.grid_4 {
    padding: 0;
}

form.grid_4_center {
    display: block;
    width: 288px;
    margin: 0 auto;
    padding: 0;
}

form.grid_4 div.key {
    width: 110px;
    font-size: 100%;
    height: 30px;
}

form.grid_4 div.value {
    width: 178px;
    text-align: right;
    height: 30px;
}

form.grid_4 div.value input[type="text"], form.grid_4 textarea, form.grid_4 div.value input[type="password"] {
    width: 162px;
    font-size: 100%;
}

form.grid_4 input[type="text"], form.grid_4 textarea, form.grid_4 input[type="password"] {
    width: 148px;
}

form.grid_4 input[type="text"], form.grid_4 input[type="password"] {
    height: 20px;
}

form.grid_4 textarea {
    height: 90px;
}

form.grid_4 span.key {
    text-align: right;
    margin: 5px 10px 0 0;
    width: 120px;
}

form.grid_4 span.value {
    width: 148px;
}

form.grid_4 span.key, form.grid_4 span.value {
    margin-bottom: 10px;
}

form.grid_4 div button {
    font-size: 100%;
    font-weight: bold;
}

form.grid_4 button {
}

form.grid_4 div.checkbox {
    text-align: left;
    display: block;
    margin: 0 0 10px 0;
}

form.grid_4 input[type="checkbox"] {
    padding: 0;
    margin: 0 3px 0 0;
}

form.grid_4 .status.working {
    text-align: center;
}

form.grid_4 p.key {
    margin: 0 0 10px 0;
    padding: 0;
}

form.grid_4 div p.note, form.grid_4 span p.note {
    padding: 0;
    margin: 3px 0;
}




/*
	GRID_8
	should be used inside grid_8
*/
form.grid_8 {
    padding: 0;
    width: 596px;
}

form.grid_8 input[type="text"], form.grid_8 textarea {
    width: 306px;
}

form.grid_8 input.tiny {
    width: 20px;
    margin: 0 10px 0 0;
}

form.grid_8 input.small {
    width: 40px;
    margin: 0 10px 0 0;
}

form.grid_8 select.small {
    width: 50px;
    margin: 0 10px 0 0;
}

form.grid_8 input.medium {
    width: 116px;
    margin: 0 10px 0 0;
}

form.grid_8 input[type="text"], form.grid_8 input[type="password"] {
    height: 20px;
}

form.grid_8 textarea {
    height: 90px;
}

form.grid_8 div.key {
    text-align: left;
    margin: 5px 10px 20px 0;
    width: 130px;
}

form.grid_8 div.key p {
    margin: 0 0 5px 0;
}

form.grid_8 div.key p.note, form.grid_8 div.value p.note {
    margin: 0 0 5px 5px;
}

form.grid_8 div.value {
    width: 386px;
    margin-bottom: 20px;
}

form.grid_8.tight div.key, form.grid_8.tight div.value {
    margin: 0 0 5px 0;
}

form.grid_8.tight input[type="text"], form.grid_8.tight input[type="password"] {
    height: auto;
    margin: 0;
    padding: 2px 0;
    width: 150px;
}

form.grid_8.tight div.key {
    text-align: right;
    width: 120px;
    margin-right: 10px;
    padding-top: 2px;
}

form.grid_8.tight div.value {
    width: auto;
}


form.grid_8 button {
    font-size: 125%;
}

form.grid_8 span.ui-radio, form.grid_8 span.ui-checkbox {
    /*padding: 1px 1px 0 0;*/
    margin: 0 10px 0 0;
}

form.grid_8 div.checkbox {
    height: 25px;
}

form.grid_8 .status.working {
    text-align: center;
}

form.grid_8 input.phone {
    width: 130px;
}

form.grid_8 input.date {
    width: 130px;
}

form.grid_8 hr {
    height: 1px;
    border: none;
    margin: 0;
    padding: 0;
    background-color: #999;
    width: 100%;
}

form.grid_8.tight {
    width: auto;
}

/*
	ITEMS APPLYING TO ALL FORMS
*/

button.small {
    height: 25px;
    font-size: 12px !important;
    padding: 1px 15px;
}

button.baby {
    height: 20px;
    padding: 0 10px;
    font-size: 12px !important;
    font-weight: bold;
}

button.big {
    padding: 0.3em 0.6em 0.3em 0.6em;
    line-height: 1em;
    font-size: 22px !important;
    height: auto !important;
}

form div.key p {
    margin: 0;
}

input[type="button"]:hover, input[type="submit"]:hover {
    background-position: 0 -29px;
}
input[type="button"]:active, input[type="submit"]:active {
    background-position: 0 -58px;
}

button:hover {
    background-position: 0 -32px;
}

button:active {
    background-position: 0 -64px;
}

input[size="2"]
{
    width: 30px;
}

input[size="5"]
{
    width: 60px;
}


div.clearable {
    border: 1px #BBB solid;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    -o-border-radius:4px;
    border-radius:4px;
    display: -moz-inline-block;
    display: inline-block;
    background: #ebebeb;
    position: relative;
    height: 20px;
    margin: 0;
}
input.clearable {
    border: none;
    padding: 0;
    background-color: transparent;
    background-image: none;
    margin: 0 auto;
    position: absolute;
    left: 3px;
    top: 2px;
    bottom: 2px;
    right: 24px;
    width: auto;
    height: auto;
}
div.clearable a {
    position: absolute;
    right: 0;
}


form select {
    padding: auto 0;
}

form span.key, form span.value, form div.key, form div.value {
    display: block;
    height: auto;
    padding: 0;
    float: left;
}

form div.checkbox {
    display: block;
}

div.dialog {
    display: none;
    font-size: 12px;
}

form fieldset {
    border: 1px #BBB solid;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    -o-border-radius:4px;
    border-radius:4px;
    padding: 20px 0 0 30px;
    margin: 0 0 30px 0;
}

form fieldset legend {
    padding: 0;
    margin: 0;
}

/*
p.note a, p.note a:visited, .key a, .key a:visited {
	color: #4c7892;
}

p.note a:hover, .key a {
	color: #4c7892;
	color: #5ca12c;
}*/

input.timepicker {
    width: 52px;
}

input.datepicker {
    width: 66px;
}

select.meridiem {
    width: 60px;
}

/*
	CUSTOM CHECKBOXES
*/

.ui-radio-state-disabled,
.ui-radio-state-checked-disabled,
.ui-radio-state-disabled-hover,
.ui-radio-state-checked-disabled-hover {
    background-position: 14px 14px;
    background-color: #999;
}

span.ui-checkbox,
span.ui-radio {
    /*display: block;
    float: left;*/
    display: -moz-inline-block;
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("/rec2_dependencies/img/checkbox.gif");
    background-position: 0 0;
    background-repeat: repeat-x;
    margin: 0 2px 0 0;
    border: 1px #a7a7a7 solid;
    background-color: #fff;
}

span.ui-helper-hidden {
    display: none;
}

label {
    /*padding: 2px;*/

}
span.ui-radio-state-hover,
span.ui-checkbox-state-hover {
    background-position: 0 -14px;
    background-color: #FFFFD9;
}
/* -28px is checkbox active */
span.ui-checkbox-state-checked {
    background-position: 0 -42px;
}

span.ui-checkbox-state-checked-hover {
    background-position: 0 -56px;
    background-color: #FFFFD9;
}
span.ui-radio-state-checked-disabled-hover,
span.ui-radio-state-checked-disabled {
    background-position: 14px 14px;
    background-color: #999;
}

span.ui-radio-state-checked {
    background-position: 0 -84px;
}

span.ui-radio-state-checked-hover {
    background-position: 0 -98px;
}

span.ui-checkbox-state-active, span.ui-checkbox-state-hover-active, span.ui-radio-state-active, span.ui-radio-state-hover-active  {
    background-position: 0 -28px;
}

span.ui-checkbox-state-checked-active, span.ui-checkbox-state-checked-hover-active {
    background-position: 0 -70px !important;
}

span.ui-radio-state-checked-active, span.ui-radio-state-checked-hover-active {
    background-position: 0 -112px !important;
}


table.form {
    border-spacing: 0;
    border: 1px #CCC solid;
    font-size: 13px;
    background-color: #fff;
}

table.form > tr > td, table.form > tbody > tr > td {
    padding: 5px 8px;
    border-bottom: #CCC 1px solid;
    border-top: #FFF 1px solid;
    text-align: left;
    vertical-align: top;
}

table.form td.key {
    font-weight:bold;
    color: #000;
    background-color:#F0F0F0;
    background-image:-moz-linear-gradient(top,#F0F0F0,#FEFEFE);
    background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#F0F0F0),color-stop(1,#FEFEFE));
    filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#F0F0F0,EndColorStr=#FEFEFE);
    -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#F0F0F0,EndColorStr=#FEFEFE);
    text-shadow: #FFF 1px 1px 1px;
    text-align: right;
}

table.form td.nowrap {
    white-space: nowrap;
}

table.form td.key.nowrap {
    width: 20px;
}

table.form td.nowrap span {
    white-space: nowrap;
}

table.form-lite {
    border-spacing: 0;
    font-size: 12px;
    background-color: #fff;
}

table.form-lite > tr > td, table.form-lite > tbody > tr > td {
    text-align: left;
    vertical-align: top;
}

table.form-lite td.key {
    font-weight:bold;
    color: #000;
    text-align: right;
}

table p.note {
    font-size: 11px;
    font-weight: normal;
    margin: 0 0 4px 0;
    padding: 0;
}

button.widget-button:not([class*="Mui"]),
input[type="button"]:not([class*="Mui"]),
input[type="submit"]:not([class*="Mui"]),
button:not([class*="Mui"]) {
    -moz-box-shadow:0px 1px 1px #c2c2c2;
    -webkit-box-shadow: 0px 1px 1px #c2c2c2;
    box-shadow:0px 1px 1px #c2c2c2;

    background-color: #e3e3e3;

    text-align: center;
    text-shadow: #FAFAFA 1px 1px 1px;
    font-size: 14px;
    font-weight: bold;
    color: #222;

    padding: 0 15px 0 10px;
    margin: 2px auto;

    /*border: 1px #f0f0f0 solid;*/
    border: 1px #e3e3e3 solid;
    cursor: pointer;

    height: 25px;
    background-image: none;
    background-image:-moz-linear-gradient(top,#f3f3f3,#e3e3e3);
    background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#f3f3f3),color-stop(1,#e3e3e3));
    filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#f3f3f3,EndColorStr=#e3e3e3);
    -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#f3f3f3,EndColorStr=#e3e3e3);
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    -o-border-radius:4px;
    border-radius:4px;

    display: inline-block;
    zoom: 1;
    *display: inline;
}

button.widget-button:hover,
input[type="button"]:hover, input[type="submit"]:hover , button:hover
{
    background-position: 0 0;
    background-image:-moz-linear-gradient(top,#fafafa,#ebebeb);
    background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fafafa),color-stop(1,#ebebeb));
    filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#fafafa,EndColorStr=#ebebeb);
    -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#fafafa,EndColorStr=#ebebeb);
}

button.widget-button:active, button.widget-button.disabled, button.widget-button.active,
input[type="button"]:active, input[type="submit"]:active , button:active,
input[type="button"].disabled, input[type="submit"].disabled , button.disabled {
    background-position: 0 0;
    background-image:-moz-linear-gradient(top,#c4c4c4,#d6d6d6);
    background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#c4c4c4),color-stop(1,#d6d6d6));
    filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#c4c4c4,EndColorStr=#d6d6d6);
    -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#c4c4c4,EndColorStr=#d6d6d6);
}

button.widget-button.disabled,
input[type="button"].disabled, input[type="submit"].disabled , button.disabled {
    color: #666;
    opacity: 0.7;
    cursor: default;
}

.dom-edit-container {
    height: auto;
    max-height: 150px;
    overflow-x: hidden;
    overflow-y: scroll;
    border: 1px #CCC solid;
    float: left;
    padding: 0;
    background-color: #FFF;
}

.dom-edit-container div, .dom-edit-container label {
    border-bottom: 1px #EEE solid;
    padding: 3px 10px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /*	position: relative; */
}

.dom-edit-container div.icon {
    padding-right: 20px;
}

.dom-edit-container a.icon {
    margin-left: 4px;
    height: 16px;
    width: 16px;
    zoom: 1;
    display: inline-block;
    *display: inline;
}

.rec1-form {
    font-size: 12px;
}

.rec1-form fieldset {
    display: block;
    border: 0;
    padding: 5px;
    margin: 0;
    background-color: #FFF;
    height: 35px;
    clear: both;
    /*
    border-left: 3px #FFF solid;
    border-right: 3px #FFF solid;
    */
}

.rec1-form fieldset.vspan2 {
    height: 70px;
}

.rec1-form fieldset.vspan3 {
    height: 110px;
}

.rec1-form fieldset.vspan4 {
    height: 150px;
}

.rec1-form fieldset .dom-edit-container {
    height: 100%;
}


.rec1-form-inline fieldset {
    float: left;
    clear: none;
}

.rec1-form fieldset.hover input,
.rec1-form fieldset.hover select,
.rec1-form fieldset.hover .dom-edit-container {
    border-color: #729ab2;
}

/*
.rec1-form fieldset.hover {
	background-color: #f8f8f8;
	cursor: pointer;
}
*/

/*
.rec1-form fieldset.selected {
	background-color: #f3f3f3 !important;
}
*/

.rec1-form label.rec1-form-label {
    float: left;
    display: block;
    margin: 0;
    padding: 5px;
    cursor: pointer;
    text-align: right;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rec1-form-inline label.rec1-form-label {
    text-align: left;
}

.rec1-form label.rec1-form-label .note {
    font-size: 10px;
    color: #666;
    line-height: 1em;
    margin: 0;
    padding: 0;
    display: block;
}




.rec1-form fieldset span {
    line-height: 2em;
}

.rec1-form fieldset button span {
    line-height: 1.1em;
}

.rec1-form .left { text-align: left; }
.rec1-form .right { text-align: right; }
.rec1-form .center { text-align: center; }

.rec1-dialog { font-size: 12px; display: none; }

.rec1-form-value {
    padding: 5px;
    float: left;
}

.rec1-form-stacked label.rec1-form-label {
    float: none;
    text-align: left;
}

.rec1-form-stacked fieldset {
    height: auto;
}

.rec1-form-stacked .rec1-form-value {
    float: none;
}

.rec1-form fieldset.fluid {
    height: auto;
}

.rec1-form fieldset.fluid label.rec1-form-label {
    white-space: normal;
    text-overflow: none;
}



input[type="checkbox"] {
    padding: 0;
    margin: 0 3px 0 0;
    vertical-align: text-bottom;
}

input, textarea, select {
    font-family: Helvetica, Arial, sans-serif
}




/**
 * Newer form code
 */

select,
textarea,
input[type="text"],
input[type="textbox"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input,
.clearable-textbox-widget {
    display: inline-block;
    height: 20px;
    padding: 2px 2px;
    margin-bottom: 2px;
    font-size: 13px;
    line-height: 20px;
    color: #555555;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

textarea,
input[type="text"],
input[type="textbox"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input,
.clearable-textbox-widget {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
    -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
    -o-transition: border linear 0.2s, box-shadow linear 0.2s;
    transition: border linear 0.2s, box-shadow linear 0.2s;
}

textarea:focus,
input[type="text"]:focus,
input[type="textbox"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus,
.clearable-textbox-widget.focus {

border-color: rgba(60, 131, 171, 0.8);

/*border-color: rgba(63 100, 121, 0.8);*/
    *

border-color: #3c83ab;

outline: 0;

outline: thin dotted \9;
    /* IE6-9 */

    /*60, 131, 171*/

/* -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(61, 112, 141, 0.6); */

-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(61, 112, 141, 0.6);

/* box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(61, 112, 141, 0.6); */
}


select,
input[type="file"] {
    height: 24px;
    /* In IE7, the height of the select element cannot be changed by height, only font-size */

    *margin-top: 4px;
    /* For IE7, add top margin to align select with labels */

    line-height: 18px;
}

select {
    background-color: #ffffff;
    border: 1px solid #cccccc;
}

select[multiple],
select[size] {
    height: auto;
}


select:focus,
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
    outline: thin dotted #333;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

textarea {
    height: auto;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {

    select {
        -webkit-appearance: none;
        -webkit-user-select: none;
        -webkit-padding-end: 16px;
        -webkit-padding-start: 3px;

        /* OVERRIDE */
        background-image: url('/rec2_dependencies/img/icons/arrow-s.png'), -webkit-linear-gradient(#f7f7f7, #f7f7f7 38%, #f2f2f2);

        background-position: right center;
        background-repeat: no-repeat;

    }
}


.clearable-textbox-widget {
    white-space: nowrap;
    padding: 0;
    display: block;
    position: relative;
    font-size: 14px;
    height: 1.5em;
}



.clearable-textbox-widget input,
.clearable-textbox-widget input:focus {
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    background-image: none;
    background-color: transparent;
    border: none;
    padding: 0 3px;
    margin: 0;
    position: absolute;
    left: 0;
    right: 20px;
    width: 100%;
    line-height: 1.5em;
    outline: none;
}

.clearable-textbox-widget a {
    position: absolute;
    right: 2px;
    top: 50%;
    margin-top: -8px;
}