fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.ec_invoice_table {
    margin: 50px;
}

#ec_small_cart {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

#ec_cart_title {
    font-size: 1.5em;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
}

#ec_user_block {
    padding: 5px;
}

#ec_user_register, #ec_user_login {
    float: left;
    padding: 5px;
}

#ec_cart_block {
    clear: both;
}

.ec_cart_item_line {
    clear: both;
}

.ec_cart_item_qty, .ec_cart_item_displayname {
    float: left;
}

.ec_cart_item_qty {
    padding-right: 20px;
}

.ec_cart_item_displayname {
    width: 180px;
}

.ec_cart_total, .ec_cart_view_cart {
    margin: 10px;
}

.ec_cart_item_price {
    text-align: right;
}

.ec_cart_total {
    font-size: 1.3em;
    text-align: center;
    clear: both;
}

.ec_cart_view_cart {
    text-align: center;
}

/* HOME ECOMMERCE */

.ec_home_modify {
    height: 60px;
    margin-top: 15px;
}

.ec_orders_tr_on, .ec_orders_tr_off {
    height: 50px;
}

#ec_checkout-table {
    width: 100%;
}


/* MODULES */

/* GENERIC ECOM */

/* DETAIL PRODUCT */
#ec_product_details {
    width: 90%;
}

#ec_product_details > div {
    margin: 10px;
}

#ec_product_details h2 {
    margin: 10px;
}

#ec_product_desc {
    width: 75%;
}

#ec_product_price_block {
    /*float: right;*/
    /*max-size: 200px;*/
    /*text-align: center;*/
    /*margin-top: -40px !important;*/
}

#ec_product_discount {
    font-size: 1.8em;
}

.ec_product_price_block div {
    float: left;
    width: 45%;
}

.ec_product_price_discounted,
#ec_product_price_discounted {
    text-decoration: line-through;
}

#ec_product_price_discounted {
    /*font-size: 2em;*/
}

#ec_product_price {
    /*font-size: 2em;*/
}
.float_right {
    float: right;
}

.ec_cart_quantity, .ec_cart_variants, #ec_product_img-thumbs {
    margin-top: 10px;
    margin-bottom: 10px;
}

#ec_add_cart_button {
    margin-top: 15px;
    margin-bottom: 15px;
}

.ec_product_button {
    clear: both;
}

.ec_product_img img {
    max-width: 100%;
    width: auto!important;
}

/* LISTING PRODUCTS */
/*
 * _product_thumbnail.phtml
 * .ec_product_item_container
 * Based on Bootstrap thumbnail.
*/

.ec_product_name {
    /*server-side font-size*/
    /*might be awesome here*/
}

.ec_product_price_label {
    float: left;
}

.ec_product_detail_button {
    float: right;
}

.ec_product_pages {
    clear: both;
    margin-bottom: 30px;
}


.ec_products_featured_title {
    padding: 20px 18px;
    text-transform: uppercase;
    text-align: center;
    font-size: 22px;
}

.ec_products_featured_title h1 {
    color: white !important;
}

.ec_cart_header, .ec_cart_paypal_title, #ec_home_ecommerce h1, .ec_address_title, .ec_orders_title, .ec_update_user legend {
    text-transform: uppercase;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 10px;
}

.ec_category {
  text-transform: uppercase;
  font-size: 1.2em;
  padding:0px 0px 10px 0px; 
}

.ec_subcategory {
  text-transform: none;
  font-size: 1.0em;
  padding:0px 0px 10px 0px;
  margin-left: 29px;
}

.ec_subsubcategory {
  text-transform: none;
  font-size: 0.8em;
  margin-left: 30px;
  padding:0px 0px 10px 0px; 
}

/* CART DETAIL */

.ec_checkout-table-ref {
    display: none;
}

#ec_checkout-table {
    margin-top: 30px;
    margin-bottom: 30px;
}

#ec_checkout-table-empty {
    text-align: center;
    padding-right: 20px;
    padding-top: 8px;
    padding-bottom: 8px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.2em;
}

.ec_header_cart_last_category, .ec_footer_cart_last_category {
    margin-bottom: 10px;
}

#ec_checkout-buttons input[type="submit"] {
    float: left;
}

.ec_cart_form_validate {
    float: right;
}

#ec_checkout-table thead th, #ec_orders thead th {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.2em;
    padding: 8px;
    text-align: center;
}

.ec_checkout-table-name {
    text-align: left !important;
    padding: 8px;
}

.ec_checkout-table-name h2 {
    font-size: 1.2em;
}

/*.ec_checkout-table-name h2 a {
    font-size: 0.7em;
}*/

#ec_checkout-table td {
    text-align: center;
}

.ec_checkout-table-image img {
    max-width: 100px;
}

.ec_checkout-calc-label {
    text-align: right !important;
    padding-right: 20px;
    padding-top: 8px;
    padding-bottom: 8px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.2em;
}

.ec_checkout-calc-value {
    font-weight: bold;
}

/* ADDRESS */

.ec_address_submit a {
    display: block;
    width: 150px;
    margin-top: 15px;
}

/* CART STEPS */

.ec_cart_steps {
    margin-bottom: 30px;
}

/* STEP 1 */

.ec_cart_become_member, .ec_cart_guest_member, .ec_cart_already_member {
    padding: 20px;
    margin-bottom: 30px;
}

.ec_register_user legend, .ec_cart_guest_member legend, .ec_login_user legend, .ec_update_user legend, .ec_pass_user legend {
    border-bottom: 0 !important;
    line-height: 50px;
}

.ec_cart_guest_member {
    float: left;
    width: 49%;
    min-height: 271px;
}

.ec_cart_already_member {
    float: right;
    width: 50%;
    min-height: 250px;
}

.ec_cart_become_member {
    clear: both;
    width: 100%;
}

.ec_login_user input[type="submit"], .ec_cart_guest_submit input[type="submit"] {
    margin-top: 15px;
}

.ec_cart_guest_member_title {
    margin-bottom: 5px;
}

.ec_cart_guest_member input[type="text"], .ec_login_user input[type="text"], .ec_login_user input[type="password"],
.ec_payment_info_line input[type="text"], .ec_payment_info_line input[type="text"], .ec_payment_info_line input[type="password"],
.ec_register_user input[type="text"], .ec_register_user input[type="password"], .ec_register_user textarea, .ec_register_user select,
.ec_cart-billing-block input[type="text"], .ec_cart-billing-block textarea, .ec_cart-billing-block select,
.ec_address_lists input[type="text"], .ec_address_lists textarea, .ec_address_lists select,
.ec_cart-shipping-block input[type="text"], .ec_cart-shipping-block textarea, .ec_cart-shipping-block select,
.ec_update_user input[type="text"], .ec_update_user input[type="password"], .ec_update_user textarea,
.ec_pass_user input[type="text"],
.ec_cart_line textarea {
    -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;
    display: inline-block;
    padding: 4px 6px;
    font-size: 14px;
    line-height: 20px;
    vertical-align: middle;
    margin: 5px;
    width: 95%;
    height: 34px;
}

.ec_payment_info_line select {
    margin: 5px;
}

#ec_user_login_block {
    width: 80%;
}

#ec_user_login_block, #ec_user_register_block, .ec_pass_user {
    border: 1px solid #e8e8e8;
    padding: 30px;
}

.ec_update_user select, .ec_payment_info_line select {
    -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;
    font-size: 14px;
    line-height: 20px;
    vertical-align: middle;
    height: 34px;
}


.ec_address_lists textarea, .ec_register_user textarea, .ec_cart-billing-block textarea, .ec_cart-shipping-block textarea, .ec_cart_line textarea, .ec_payment_info_line textarea {
    height: auto
}

.ec_login_user_line, .ec_cart_guest_member_line, .ec_reg_user_form_line, .ec_address_line, .ec_cart_line, .ec_payment_info_line {
    clear: both;
    margin-bottom: 10px;
}

.ec_login_user_line_left, .ec_cart_guest_member_left, .ec_reg_user_form_left, .ec_address_left, .ec_payment_info_left {
    float: left;
    width: 35%;
    min-height: 40px;
    padding-top: 10px;
    vertical-align: middle;
}

.ec_reg_user_form_right.ec_reg_user_form_birthday {
    text-align: left;
    padding-left: 15px;
}

.ec_payment_info_right {
    float: left;
    width: 65%;
    min-height: 40px;
    text-align: left;
}

.ec_login_user_line_right, .ec_cart_guest_member_right, .ec_reg_user_form_right, .ec_address_right {
    float: left;
    width: 65%;
    min-height: 40px;
    text-align: right;
}

#ec_cart_become_member_title {
    display: none;
}

/* CART STEP 2 */

.ec_cart-billing-block {
    width: 49%;
    float: left;
    padding: 20px;
    margin-bottom: 30px;
    min-height: 703px;
}

#ec_cart_same_address {
    margin-top: 15px;
    margin-bottom: 15px;
}

.ec_cart-shipping-block {
    float: right;
    width: 49%;
    padding: 20px;
    margin-bottom: 30px;
}

.ec_cart_line .ec_address_left {
    width: 20%
}

.ec_cart_line .ec_address_right {
    width: 40%;
}

.ec_cart-next-button {
    clear: both;
    padding-top: 20px;
}

.ec_cart-next-button a {
    float: left;
}
.ec_cart-next-button input {
    float: right;
}

.ec_error_msg, #ec_cart_add_error {
    color: red;
    font-weight: bold;
    padding: 16px;
}

/* USER */

.ec_home_title {
    font-weight: bold;
}

.ec_home_value {
    margin-bottom: 10px;
}

.ec_home_title_2 {
    text-transform: uppercase;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.ec_address_lists {
    width: 60%;
}

#ec_orders {
    width: 95%;
}

#ec_orders td {
    text-align: center;
}

.ec_update_user {
    width: 70%;
}

/* PM */

#pm_restobusiness legend {
    display: none;
}

#pm_restobusiness input[type="text"], #pm_restobusiness input[type="password"], #pm_restobusiness textarea, #form-post-insight input[type="text"] {
    -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;
    padding: 4px 6px;
    font-size: 14px;
    line-height: 20px;
    vertical-align: middle;
    height: 34px;
}

#pm_restobusiness .field {
    margin: 5px;
}

#form-post-insight input[type="text"] {
    width: 40% !important;
    margin: 10px;
}

.de-disclosures {
    padding: 10px 0;
}

.required-indicator {
    color: red;
    padding-right: 5px;
    vertical-align: sub;
}

/* Media */
@media (max-width: 48.000em) {
    .ec_cart_already_member {
        float: none;
        width: 100%;
        min-height: 0;
    }

    .ec_cart_guest_member {
        float: none;
        width: 100%;
        min-height: 0;
    }

    .ec_login_user_line_left, .ec_cart_guest_member_left, .ec_reg_user_form_left, .ec_address_left, .ec_payment_info_left {
        float: none;
        width: 100%;
        min-height: 0;
        padding-top: 0px;
        vertical-align: middle;
    }

    .ec_login_user_line_right, .ec_cart_guest_member_right, .ec_reg_user_form_right, .ec_address_right, .ec_payment_info_right {
        float: none;
        width: 95%;
        min-height: 0;
        text-align: left;
    }

    .ec_cart_guest_member input[type="text"], .ec_login_user input[type="text"], .ec_login_user input[type="password"], .ec_cart-billing-block input[type="text"], .ec_cart-billing-block textarea, .ec_cart-billing-block select, .ec_address_lists input[type="text"], .ec_address_lists textarea, .ec_address_lists select, .ec_cart-shipping-block input[type="text"], .ec_cart-shipping-block textarea, .ec_cart-shipping-block select, .ec_update_user input[type="text"], .ec_update_user input[type="password"], .ec_update_user textarea, .ec_cart_line textarea, .ec_pass_user input[type="text"] {
        padding: 4px 6px;
        margin: 0px;
        width: 95%;
        height: 34px;
    }

    .ec_cart-billing-block {
        width: 100%;
        float: none;
        padding: 10px;
        margin-bottom: 10px;
        min-height: 0;
    }

    .ec_cart-shipping-block {
        float: none;
        width: 100%;
        padding: 10px;
        margin-bottom: 10px;
    }

    .ec_cart-next-button input {
        float: none;
        margin-top: 10px;
    }

    #ec_checkout-table thead {
        display: none;
    }

    #ec_checkout-table tbody tr {
        display: block;
        margin-bottom: 30px;
        border: 1px solid #d7d7d7;
        border-bottom: 0;
    }

    #ec_checkout-table tbody td {
        display: block;
        text-align: center;
        border: 0;
        border-bottom: 1px solid #d7d7d7;
    }

    .ec_checkout-table-name {
        text-align: center !important;
        padding: 8px;
    }

    .ec_checkout-calc-label {
        text-align: center !important;
    }

    .ec_product_pages {
        margin-top: 15px;
    }

    #ec_product_details h2 {
        margin-top: 15px;
    }

    .float_right {
        float: none;
    }

    .ec_cart_header, .ec_cart_paypal_title, #ec_home_ecommerce h1, .ec_address_title, .ec_orders_title, .ec_update_user legend {
        padding: 5px;
        font-size: 1.5em;
    }
    #ec_user_login_block, #ec_user_register_block {
        width: 100%;
    }
}

/* Media query for smaller screens - add vertical padding to separate sections */
@media (max-width: 37.5em) {
    .container {
        font-size: 14px;
        min-width: 320px;
    }

    .ec_invoice_table {
      margin: 10px 0;
    }
}
