/*-------------------------+
 | Site: Green City Market |
 | Part: Form styles             |
 +-------------------------*/


/* Global
======================================================================*/
fieldset { border: 1px solid #ddd; margin-bottom: 2em; padding: 1em 1.5em; }
input, select, textarea { font-size: 1em; }
input:focus, select:focus, textarea:focus { outline: 2px solid #0192ff; outline-offset: -1px; outline-radius: 3px; }
legend { background: #fff; font-size: 1.1em; margin: 0 0 0 -0.5em; padding: 0.1em 0.75em 0.1em; }
legend em { color: #777; font-size: 0.7em; font-style: normal; font-weight: normal; margin-left: 0.3em; }
textarea { height: 5em; }

/* Specifics
======================================================================*/
/* Buttons */
.btn {
    background: #95a930;
    background: -moz-linear-gradient(top, #95a930 0%, #6d7f20 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#95a930), color-stop(100%,#6d7f20));
    background: -webkit-linear-gradient(top, #95a930 0%,#6d7f20 100%);
    background: -o-linear-gradient(top, #95a930 0%,#6d7f20 100%);
    background: -ms-linear-gradient(top, #95a930 0%,#6d7f20 100%);
    background: linear-gradient(to bottom, #95a930 0%,#6d7f20 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#95a930', endColorstr='#6d7f20',GradientType=0 );
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    margin-right: 0.5em;
    overflow: visible;
    padding: 0.4em 1em;
    vertical-align: middle;
}

/* Character counters */
.charcount { color: #777; float: right; font-weight: normal; margin-right: 0.5em; }
.charcount .over { color: #f00; font-weight: bold; }

/* Cart */
.cart .item { width: 50%; }
.cart td { border: 1px solid #ddd; border-width: 1px 0; vertical-align: top; padding: 0.5em 0; }
.cart tfoot td { border: 0; text-align: right; }
.cart tfoot .txt { margin: 0 0.5em; width: 10em; }
.cart th { font-weight: bold; padding-bottom: 0.5em; }
.cart .thumb { border: 1px solid #ccc; width: 100%; }
.cart .price { text-align: right; width: 15%; }
.cart .qty { width: 10%; }
.cart .qty .txt { margin-right: 0.3em; text-align: center; width: 2.5em; }
.cart .subtotal { font-weight: bold; text-align: right; width: 15%; }

/* Checklists */
.checklist { border: 1px solid #ccc; max-height: 20em; line-height: 1.4;    margin: 0 0 1em 0; overflow: auto; }
.checklist input { margin-bottom: 1px; }
.checklist label { display: block; padding: 0.1em 0 0.1em 25px; height: 1%; text-indent: -25px; }
.checklist li { background: none; display: block; float: none; margin: 0; padding: 0; white-space: normal; width: 100%; }
.checklist li p { margin: 0; padding: 1em 0 0; }
.checklist li ul { margin: 0 0 0 2em; }
.checklist .mute { font-size: 1em; white-space: nowrap; }
.checklist p { font-weight: bold; margin-bottom: 0.25em; }
.checklist .selected { background: #ffa; }
.checklist ul { margin-bottom: 1em; }

/* Datepicker */
.ui-datepicker-trigger { background: none; border: 0; cursor: pointer; padding: 0; }

/* Fields */
.field { margin-bottom: 1em; position: relative; }
.field p { margin-bottom: 0.25em; }
.form { clear: both; overflow: hidden; }
.form dt { clear: both; font-weight: normal; margin: 0; }
.form dd.field { float: right; width: 65%; }
.form dt .label { float: left; text-align: right; width: 32%; }

    /* Multiple fields on a single line */
    .form .field-single-line { overflow: hidden; width: 60%; }
    .form .field-single-line p { box-sizing: border-box; float: left; margin: 0; padding-right: 10px; }
    .form .field-single-line .txt { width: 100%; }
    
        /* Location fields */
        .form .field-single-line .field-loc-city { width: 50%; }
        .form .field-single-line .field-loc-state { width: 20%; }
        .form .field-single-line .field-loc-postal { float: right; padding-right: 0; width: 30%; }
        
        /* Name fields */
            /* Full name (first/middle/last) */
            .form .fields-name-full .field-name-first, .form .fields-name-full .field-name-last { width: 40%; }
            .form .fields-name-full .field-name-last { float: right; padding-right: 0; }
            .form .fields-name-full .field-name-middle { width: 20%; }
            
            /* Long name (first/middle/last/suffix) */
            .form .fields-name-long .field-name-first, .form .fields-name-long .field-name-last { width: 30%; }
            .form .fields-name-long .field-name-middle, .form .fields-name-long .field-name-suffix { width: 20%; }
            .form .fields-name-long .field-name-suffix { float: right; padding-right: 0; }
            
            /* Short name (first/last) */
            .form .fields-name-short .field-name-first, .form .fields-name-short .field-name-last { width: 50%; }
            .form .fields-name-short .field-name-last { float: right; padding-right: 0; }
    
/* Google results */
.google-results a { margin-left: 0.25em; }
.google-results h2 { font-size: 1em; }
.google-results ul { list-style: none; margin: 0; }

/* Help text */
.field-help { color: #666; font-size: 13px; font-weight: normal; }

/* Notifications */
.flash { margin-bottom: 2em; }
.flash h2 { font-size: 1.3em; margin-bottom: 0.5em; }
.flash p { list-style: none; margin: 0; }

    /* Errors */
    .error { background: url(/images/exclamation.gif) no-repeat 0 0.25em; color: #f00; padding: 3px 0 3px 20px; }
    
    #errorExplanation, .flash .error {
        background: #ffc url(/images/error.gif) no-repeat 1em 1.1em;
        border: 2px solid #ea3c20;
        color: #f00;
        padding: 1.5em 1.5em 1.5em 3.5em;
    }
    
    .field-with-errors { color: #f00; }
    .field-with-errors .txt, .field-with-errors .txt-med { border: 2px solid #f00; }
    .label .field-with-errors { display: inline; }
    
    /* Notices */
    .flash .notice { background: #e0f0ff url(/images/notice.gif) no-repeat 1em 1em; border: 2px solid #a1d0fb; padding: 1.5em 1.5em 1.5em 3.5em; }
    
    /* Warnings */
    .flash .warn { background: #fef5c6 url(/images/warning.gif) no-repeat 1em 1em; border: 2px solid #ffcd36; padding: 1.5em 1.5em 1.5em 3.5em; }

/* Options */
.options-h, .options-v { list-style: none; margin: 0; }
.options-h input, .options-v input { margin: 0 0.5em -0.05em 0; }
.options-h img { border-bottom: 3px solid #fff; padding: 5px; vertical-align: middle; }
.options-h li, .options-v li { background: none; margin-bottom: 0.3em; padding: 0; }
.options-h li { display: inline; margin-right: 0.7em; white-space: nowrap; }
.options-v li { padding-left: 25px; text-indent: -25px; }

/* Placeholder */
.placeholder { color: #999; font-style: italic; }
input::-moz-placeholder, textarea::-moz-placeholder { color: #999; font-style: italic; }
input:-ms-input-placeholder, textarea:-ms-input-placeholder { color: #999; font-style: italic; }
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: #999; font-style: italic; }

/* Required text */
.req { color: #f00; }

/* Search */
#search { background: #fff; border: 1px solid #ccc; border-radius: 4px; clear: right; float: right; white-space: nowrap; width: 27.5%; }
#search label { display: none; }
#search * { vertical-align: middle; }
#search button { -webkit-appearance: none; background: none; border: 0; color: #505050; cursor: pointer; font-size: 16px; margin-right: -2em; padding: 0.5em 0; width: 3em; }
#search .txt { border: 0; box-shadow: none; margin: 0; padding: 0; text-indent: 0.6em; width: 100%; }
#search-content { padding-right: 3em; }

/* Subscribe */
.subscribe-form { display: flex; justify-content: space-between; margin-bottom: 2em; }
.subscribe-form .action { border-radius: 0 4px 4px 0; display: block; flex: 0 0 5em; }
.subscribe-form .txt { display: block; border-radius: 4px 0 0 4px; font-size: 22px; margin: 0; min-width: 0; }

/* Text boxes */
.txt, .txt-date, .txt-med, .txt-num {
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px #ddd;
    box-sizing: border-box;
    margin-right: 0.5em;
    padding: 0.3em;
    vertical-align: middle;
}

.txt { width: 95%; }
.txt-date { width: 7em; }
.txt-med { width: 60%; }
.txt-num { width: 4em; }