/**
Copyright 2012 Sliverware Applications, Inc

This file is part of the WordPress Gift Registry Plugin.

WordPress Gift Registry Plugin is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

WordPress Gift Registry Plugin is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with WordPress Gift Registry Plugin.  If not, see <http://www.gnu.org/licenses/>.
*/

.gr_hidden {
    display: none;
}
.gr-instructions {
    background-color: #F9F9F9;
    border: 1px solid #DFDFDF;
    padding: 0 10px;
    position: relative;
    margin: 10px 10px 10px 0;
}
.gr-instructions h2 {
    padding: 5px 0;
}
.gr-instructions p:last-child {
    padding-bottom: 20px;
}
#gr-instructions-toggle {
    position: absolute;
    bottom: 6px;
    right: 10px;
    text-decoration: none;
}
#gr-img-preload {
    position: fixed;
    left: 4000px;
}
.gr-admin-wrap .gr_sub_list {
    list-style-type: lower-alpha;
}
.gr-admin-wrap .gr_sub_list input {
    display: block;
}
.gr_sub_text {
    color: #AAA;
    font-style: italic;
}
.gr_code {
    margin: 3px;
    padding: 3px;
    border: 1px solid #DFDFDF;
    white-space: nowrap;
    overflow: auto;
}
.gr-admin-wrap label {
    width: 150px;
    text-align: right;
    margin: 3px 10px 0 0;
    display: inline-block;
    vertical-align: top;
}
.gr-admin-wrap .widget-liquid-right label {
    width: 120px;
    text-align: left;
}
.gr-share {
    margin: 10px 5px;
    float: left;
}
.gr-review {
    margin-right: 20px;
    float: left;
    width: 93px;
    background: url(../img/stars.png) 0 -20px;
    height: 20px;
    display: inline-block;
}
.gr-stars {
    height: 100%;
    display: block;
    width: 85px;
    background: url(../img/stars.png);
}
.gr-admin-form .loading .buttons input {
    display: none;
}
#gr_item_lightbox {
    min-width: 600px;
    padding: 0 20px;
}
.loading #save_auth_btn {
    display: none;
}
.gr_auth_status {
    padding: 3px 5px;
    font-weight: bold;
    color: #FFF;
    display: inline-block;
}
#gr_auth_key {
    padding: 5px;
    font-size: 1.1em;
}
.gr_verified {
    background-color: #693;
    background: -webkit-linear-gradient(top, #693, #333); /* Safari 5.1, Chrome 10+ */
    background: -moz-linear-gradient(top, #693, #333); /* Firefox 3.6+ */
}
.gr_not_verified {
    background-color: #A33;
    background: -webkit-linear-gradient(top, #A33, #333); /* Safari 5.1, Chrome 10+ */
    background: -moz-linear-gradient(top, #A33, #333); /* Firefox 3.6+ */
}
.gr-admin-wrap label.error {
    display: block;
    color: red;
    width: auto;
    font-size: 10px;
    margin: 0;
    padding-left: 168px;
    text-align: left;
    line-height: 1em;
}
.gr_opt_link {
    margin-left: 10px;
}

.gr-admin-wrap input[type='text'],
.gr-admin-wrap textarea,
.gr-admin-wrap select {
    width: 300px;
}
.gr-admin-wrap .gr-img-preview {
    width: 302px;
    display: inline-block;
    position: relative;
    left: -3px;
}
.gr-admin-wrap #img-preview-wrap {
    float: right;
    height: 75px;
    width: 115px;
    text-align: center;
    outline: 1px solid #DDD;
}
#img-preview-wrap.loading {
    background: url(../img/ajax-loader-med.gif) no-repeat center center transparent;
}
.gr-admin-wrap #img_url {
    margin-bottom: 5px;
}
.gr-admin-wrap #img-preview-wrap img {
    vertical-align: middle;
}
.gr-admin-wrap a.clear_img {
    display: none;
}
.gr-admin-wrap .gr-img-preview.populated a.clear_img {
    display: inline;
}
.gr-admin-form {
    clear: left;
    /*margin-right: 510px;*/
}
.widget-liquid-right .gr-admin-form {
    margin-right: 0;
}
.gr-admin-form .buttons {
    max-width: 461px;
    overflow: hidden;
    min-height: 32px; /* to prevent jitter when wait img is shown */
}
.gr-admin-form .buttons_wide {
    width: auto;
    max-width: 698px;
    padding: 6px 1px;
}
.gr-admin-form li {
    position: relative;
}
.gr-admin-wrap .button-primary {
    float: right;
}
.gr-admin-wrap form.editing #clear_item_btn {
    display: inline;
}
.gr-admin-wrap #clear_item_btn,
.gr-admin-wrap form.loading #clear_item_btn {
    display: none;
}
#registry_items,
#registry_orders {
    max-width: 700px;
    clear: none;
}
.gr_close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}
.gr_help {
    display: none;
    color: #333;
    border: 1px solid #DFDFDF;
    background-color: #F9F9F9;
    max-width: 200px;
    font-size: 11px;
    padding: 5px;
    line-height: 1.1em;
    margin-bottom: 10px;
}
.gr_field_info {
    position: absolute;
    display: inline-block;
    left: 475px;
    top: 0;
    z-index: 1;
}
.gr_field_info p {
    margin: 0 0 5px 0;
}
.gr_active .gr_info {
    display: block;
}
.gr-error {
    color: red;
    font-size: 10px;
}

/* admin config errors */
.gr_err {
    display: none;
    border: 1px solid #A33;
    color: #A33;
}
.gr_page_err .gr_err {
    display: inherit;
}
.gr_clear {
    clear: both;
}
#gr_alert {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #360;
    background: -webkit-linear-gradient(top, #693, #333); /* Safari 5.1, Chrome 10+ */
    background: -moz-linear-gradient(top, #693, #333); /* Firefox 3.6+ */
    width: 100%;
    margin: 0 auto;
    display: none;
    z-index: 9999;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #DDD;
    padding: 6px;
}
#gr_alert.error {
    background-color: #A33;
    background: -webkit-linear-gradient(top, #A33, #333); /* Safari 5.1, Chrome 10+ */
    background: -moz-linear-gradient(top, #A33, #333); /* Firefox 3.6+ */
    border: none;
}


/* CART */
tr.gr_cart_summary td {
    font-weight: bold;
}
a.gr_delete {
    color: red;
    font-size: 11px;
}
tr.cart_empty {
    color: #AAA;
}
input.gr_qty {
    width: 40px;
}
#gr_checkout {
    float: right;
    cursor: pointer;
}
#gr_update_cart_btn {
    display: none;
}
.editing #gr_update_cart_btn {
    display: inline;
}
#gr_cart_wrap .loading_icon,
.gr-admin-form .loading_icon {
    float: right;
}
.loading #gr_checkout,
.loading #gr_test_checkout_button,
.loading .gr_trial_msg {
    display: none;
}
.loading_icon {
    display: none;
}
.loading .loading_icon {
    display: inline-block;
    height: 32px;
    width: 32px;
}
.gr_incr_wrap {
    position: relative;
}
.gr_incr {
    position: absolute;
    height: 12px;
    width: 15px;
    background: url(../img/up_down.jpg) no-repeat 0 0 transparent;
    cursor: pointer;
    left: 1px;
}
.gr_plus {
    top: -3px;
    background-position: -1px -3px;
}
.gr_minus {
    top: 9px;
    background-position: -19px -3px;
}



/*** CUSTOM ITEM ***/
.gr_custom_item {
    clear: left;
}
.gr_custom_item .gr_item_details {
    margin: 5px 0 5px;
    padding-left: 20px;
    float: left;
    width: 450px;
}
.gr_custom_item button {
    float: right;
}
.gr_custom_item .gr_item_img_wrap {
    float: left;
}
.gr_custom_item_form li {
    overflow: hidden;
}
.gr_custom_item input {
    float: right;
    clear: right;
    margin: 0;
}
#gr_custom_item_title {
    width: 180px;
}
#gr_custom_item_price {
    width: 60px;
}



.gr_lightbox {
    display: none;
    background-color: #FFF;
    -moz-box-shadow: 0 0 20px #000;
    -webkit-box-shadow: 0 0 20px #000;
    box-shadow: 0 0 20px #000;
    padding: 10px;
}

.gr_trans_id {
    font-weight: bold;
}


#gr_cart_tbl {
    width: 100%;
}


.gr_free_trial_button,
#gr_test_checkout_button {
    cursor: pointer;
    float: right;
    padding:  15px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    background-color: green;
    background: -webkit-linear-gradient(top, #693, #333); /* Safari 5.1, Chrome 10+ */
    background: -moz-linear-gradient(top, #693, #333); /* Firefox 3.6+ */
    color: #FFF;
    width: 215px;
    border: 1px solid #AAA;
}
.gr_free_trial_button:hover,
#gr_test_checkout_button:hover {
    text-decoration: none;
    border: 1px solid #000;
}
.gr_free_trial_button:active,
#gr_test_checkout_button:active {
    background: -webkit-linear-gradient(top, #333, #693); /* Safari 5.1, Chrome 10+ */
    background: -moz-linear-gradient(top, #333, #693); /* Firefox 3.6+ */
    -moz-box-shadow: 0 0 20px #000;
    -webkit-box-shadow: 0 0 20px #000;
}
.gr_ft_text,
#gr_test_checkout_button {
    white-space: nowrap;
    display: block;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    line-height: 1em;
}
.gr_trial_msg {
    width: 150px;
    float: right;
    text-align: right;
    margin: 10px 15px;
    line-height: 1em;
    font-size: 0.6em;
    color: #AAA;
}

#gr_warn_settings div {
    font-size: 1.5em;
    border: 1px solid red;
    background-color: #F08080;
    padding: 20px;
}