/**
 * Easy Digital Downloads Styles
 *
 * @package     Easy Digital Downloads
 * @subpackage  CSS
 * @copyright   Copyright (c) 2012, Pippin Williamson
 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
*/

/* =Checkout Form
-------------------------------------------------------------- */
.edd_clearfix:after { display: block; visibility: hidden; float: none; clear: both; text-indent: -9999px; content: "."; }

/* cart contents */
#edd_checkout_cart { text-align: left; width: 100%; border-top: 1px solid #f0f0f0; border-bottom: none; margin: 0 0 10px; }
#edd_checkout_cart th,
#edd_checkout_cart td { text-align: left; padding: 3px 5px; border-bottom: 1px solid #f0f0f0; border-top: none; color: #666; }
#edd_checkout_cart th { font-weight: bold; background: #f5f5f5; }
#edd_checkout_cart td { line-height: 25px; vertical-align: middle; }
#edd_checkout_cart th.edd_cart_actions,
#edd_checkout_cart td.edd_cart_actions,
#edd_checkout_cart th:last-child,
#edd_checkout_cart td:last-child,
#edd_checkout_cart th.edd_cart_total { text-align: right; }
#edd_checkout_cart td img { float: left; margin: 0 8px 0 0; background: none; padding: none; border: none; }

/* checkout fields */
#edd_purchase_form input.edd-input { display: inline-block; width: 200px; }
#edd_purchase_form input.edd-input.error { border-color: #c4554e; }
#edd_purchase_form label { display: inline-block;  width: 200px; }
#edd_purchase_form input.card-expiry-month { width: 30px; }
#edd_purchase_form input.card-expiry-year { width: 60px; }
#edd_purchase_form span.exp-divider {  }
#edd_checkout_form_wrap p { margin: 0 0 10px; }
#edd_checkout_form_wrap input[type="text"], 
#edd_checkout_form_wrap input[type="email"], 
#edd_checkout_form_wrap input[type="password"] { padding: 4px 6px; width: 200px; }
#edd_checkout_form_wrap .edd-payment-icons { height: 32px; }
#edd_checkout_form_wrap .edd-payment-icons img.payment-icon{ margin: 0 3px 0 0; float: left; background: none; padding: none; border: none; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none;}
#edd_checkout_form_wrap fieldset { border: none; padding: 0; margin: 0; }
#edd_checkout_form_wrap fieldset#edd_register_account_fields,
#edd_checkout_form_wrap fieldset#edd_login_fields { border: 1px solid #f0f0f0; padding: 10px; margin: 0 0 10px; }
#edd_checkout_form_wrap fieldset#edd_register_account_fields p.edd_register_password,
#edd_checkout_form_wrap fieldset#edd_register_account_fields p.edd_login_password { margin: 0; }
#edd_checkout_form_wrap fieldset#edd_register_account_fields input[type="text"], 
#edd_checkout_form_wrap fieldset#edd_register_account_fields input[type="email"], 
#edd_checkout_form_wrap fieldset#edd_register_account_fields input[type="password"] { width: 188px; }


/* =Theme Specific styling
-------------------------------------------------------------- */

.edd-label {
   float: left;
}

#edd_purchase_form {
  margin-top: 12px;
}

#edd_purchase_submit {
  margin-left: 200px !important;
}

#edd_checkout_form_wrap legend {
  font-size: 17px;
  margin-top : 6px;
  margin-bottom: 12px;
  border-bottom: 1px solid #CCCCCC;
  padding-bottom: 5px;
  font-weight: bold;
}

.edd-input {
  border: 1px solid #CCCCCC;
  font-size: 15px;
  font-family:  Verdana, arial, serif !important;
}

/* Twenty Twelve */
#edd_purchase_form input.edd-input.required { color: #000; }


/* =Cart Widget
-------------------------------------------------------------- */
a.button {
	background: url(../images/blue/button.png) 0 0;
	border: 1px solid #2780c7;
	color: #fff !important;
	cursor: pointer;
	font-family: Verdana, arial, serif !important;
	font-size: 16px;
	font-weight: normal;
	padding: 12px 30px;
	text-decoration: none;
        margin-top: 15px;
        margin-bottom: 15px;
        border-radius: 4px;
        line-height : 21px;
        display: inline-block;
}

.edd-submit,
.edd-add-to-cart {
  font-size : 16px !important;
  padding : 10px 16px !important;
  border-radius: 4px;
}

#edd-purchase-button {
  padding: 10px 24px;
}

.edd_purchase_submit_wrapper {
  margin-bottom : 11px;
}

.edd-cart-added-alert {
  display : block;
  padding : 14px 0;
  color: #029500;
  
}

/* =Purchase History
-------------------------------------------------------------- */
#edd_user_history { text-align: left; width: 100%; border-top: 1px solid #f0f0f0; border-bottom: none;}
#edd_user_history th,
#edd_user_history td { text-align: left; padding: 3px 5px; border-bottom: 1px solid #f0f0f0; border-top: none; }
#edd_user_history th { font-weight: bold; background: #f5f5f5;}
#edd_user_history td { line-height: 25px; vertical-align: middle; }

/* =Registration Form
-------------------------------------------------------------- */
#edd_registration_form .edd-input { display: inline-block; width: 200px; }
#edd_registration_form label { display: inline-block; width: 200px; }

/* =Alerts
-------------------------------------------------------------- */
.edd_added_to_cart_alert { padding: 5px; font-size: 14px;  border: 1px solid #046a9e; background: #9ecce2; color: #333; margin: 8px 0;}
.edd_added_to_cart_alert a.edd_alert_checkout_link { color: #000 !important; }

/* =Purchase buttons
-------------------------------------------------------------- */
input.edd_submit_plain { background: none !important; border: none !important; padding: 0 !important; display: inline; cursor: pointer; }
.edd_price_options { margin: 0 0 15px; }
.edd_price_options ul { margin: 0; padding: 0; list-style: none; }


/* Receipt
---------------------------------------------------------------*/
table#edd_purchase_receipt {
  text-align: left;
  margin-bottom : 24px;
  
}

table#edd_purchase_receipt_products {
 text-align: left;
}

table#edd_purchase_receipt_products td {
  padding : 5px 18px 5px 0;
}


/* =Downloads Shortcode
-------------------------------------------------------------- */
.edd_download_inner { padding: 0 8px 8px; margin: 0 0 10px; }
.edd_download_image { max-width:100%; }
.edd_download .edd_price { margin-bottom: 10px; }

/* =Misc styles
-------------------------------------------------------------- */
.edd-cart-ajax { margin: 0 8px 0 4px; position: relative; top: 2px; }

/* =Error styles
-------------------------------------------------------------- */

.edd_errors { -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; border: 1px solid #E6DB55; margin: 20px 0; background: #FFFFE0; color: #333; }
.edd_error { padding:10px; }
p.edd_error { margin: 0 !important; }

::-webkit-input-placeholder { /* WebKit browsers */
    color:    #999!important;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #999!important;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #999!important;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    #999!important;
}