/* Global styling */

td.actions {
    width: 200px;
}

/* Cusomize service part */

th.list-type-field {
    width: 47px;
}

.list-service td.actions,
.list-product td.actions {
    width: 150px;
}

.field-bishop_service_action,
.field-bishop_product_bar_code,
.field-bishop_discount_schedule,
.field-bishop_discount_pack_product,
.field-bishop_discount_pack_service {
    position: relative;
}

.field-bishop_service_action > .control-label,
.field-bishop_product_bar_code > .control-label,
.field-bishop_discount_schedule > .control-label,
.field-bishop_discount_pack_product > .control-label,
.field-bishop_discount_pack_service > .control-label,
.field-bishop_fidelity_card_step > .control-label {
    position: absolute;
    left: 20px;
    top: -10px;
    z-index: 10;
    display: none;
    width: 40px;
    border: 1px solid #ccc;
    background: #ddd;
    padding: 0;
    text-align: center;
}

.field-bishop_service_action > .col-sm-10,
.field-bishop_product_bar_code > .col-sm-10,
.field-bishop_discount_schedule > .col-sm-10,
.field-bishop_discount_pack_product > .col-sm-10,
.field-bishop_discount_pack_service > .col-sm-10,
.field-bishop_fidelity_card_step > .col-sm-10 {
    width: 100% !important;
}

.field-bishop_service_action > .col-sm-10 > div,
.field-bishop_product_bar_code > .col-sm-10 > div,
.field-bishop_discount_schedule > .col-sm-10 > div,
.field-bishop_discount_pack_product > .col-sm-10 > div,
.field-bishop_discount_pack_service > .col-sm-10 > div,
.field-bishop_fidelity_card_step > .col-sm-10 > div {
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #fff;
    background: repeating-linear-gradient(
        45deg,
        #fff,
        #fff 10px,
        #efefef 10px,
        #efefef 30px
    )
}

.field-bishop_product_bar_code label {
    display: none;
}

.field-bishop_product_bar_code .row .form-group,
.field-bishop_fidelity_card_step .row .form-group {
    margin-bottom: 0;
}

.field-bishop_service_action > .col-sm-10 .field-collection-item-action,
.field-bishop_product_bar_code > .col-sm-10 .field-collection-item-action {
    text-align: center;
}

.field-bishop_service_action > .col-sm-10 .field-collection-item-action a,
.field-bishop_product_bar_code > .col-sm-10 .field-collection-item-action a,
.field-bishop_discount_schedule > .col-sm-10 .field-collection-item-action a,
.field-bishop_discount_pack_product > .col-sm-10 .field-collection-item-action a,
.field-bishop_discount_pack_service > .col-sm-10 .field-collection-item-action a {
    display: block;
    width: 180px;
    max-width: 100%;
    min-width: 30px;
    background-color: #fff;
    border: 1px solid #D42124;
    padding: 2px 0;
    margin: 0 0 0 auto;
    text-align: center;
}

/* Discount styling */

.schedule-day .checkbox label {
    display: block;
    width: 100px;
    height: 30px;
    line-height: 30px;
    border: 1px solid #ccc;
    background: #fff;
    text-align: center;
}

.schedule-day .checkbox label input {
    margin-top: 9px;
}

.schedule-day .form-group {
    margin: 0;
}

.schedule-day .col-sm-10 {
    width: 100%;
    padding: 0;
}

.new-fidelitycard .field-collection label,
.edit-fidelitycard .field-collection label,
.field-full_tree label,
.accounting-group .field-collection > label,
.field-bishop_shop_payment_account > label,
.field-bishop_shop_generator_account > label {
    display: none;
}

.new-fidelitycard .field-collection .col-sm-10,
.edit-fidelitycard .field-collection .col-sm-10,
.field-full_tree .col-sm-10,
.accounting-group .field-collection > .col-sm-10,
.field-bishop_shop_payment_account > .col-sm-10,
.field-bishop_shop_generator_account > .col-sm-10 {
    width: 100%;
}

.label-step {
    margin-bottom: 10px;
}

.accounting-group .field-collection,
#shop_payment_accounts > .form-group,
#shop_generator_accounts > .form-group {
    margin-bottom: 0;
}

.bishop-version {
    position: absolute;
    left: 60px;
    top: 15px;
    font-size: .6em;
}
