
/* SPLIT-ORDER-FORM */

body#checkout section.checkout-step.-current#checkout-delivery-step .content {
    display: flex !important;
    flex-flow: column;
}

body#checkout section.checkout-step.-current#checkout-delivery-step .content #hook-display-after-carrier {
    order: -1;
}

#lgschools-split-container {
    margin: 0 0 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
}

#lgschools-split-container > h4.h4 {
    margin-bottom: 15px;
}

#lgschools-split-container .school-group {
    background: white;
    border-radius: 4px;
    margin-bottom: 15px;
    margin-top: 15px;
    padding: 15px 15px 5px 15px;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

#lgschools-split-container .school-group h4.h5 {
    padding-bottom: 10px;
    margin: 0;
}

#lgschools-split-container .school-group h4.h5.text-success {
    color: #97C00E !important;
}

#lgschools-split-container .lgschools-address-select.is-invalid {
    border-color: #dc3545;
}

#lgschools-split-container .school-group .product-assignment {
    border-top: 1px solid rgba(0, 0, 0, 0.15) !important;
    padding: 15px 0;
}

#lgschools-split-container .school-group .product-assignment select.form-control:not([size]):not([multiple]) {
    border: 0 !important;
    padding: 0;
    height: inherit;
    cursor: pointer;
}

#lgschools-split-container .school-group .product-assignment .media-body p {
    margin: 0;
}

#lgschools-split-container .school-group.regular-group .product-assignment > .row > .col-md-6:first-child > *:not(:first-child) {
    margin-top: 5px;
}

#lgschools-split-form .form-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 20px;
}

body#checkout section.checkout-step .form-footer i {
    font-size: 18px;
}

body#checkout section.checkout-step .form-footer a {
    padding: 0;
    font-size: 14px;
}

body#checkout section.checkout-step .form-footer a:hover {
    text-decoration: underline;
}

/* SPLIT-ORDER-SUMMARY */

#lgschools-split-summary {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
}

.split-group {
    background: white;
    border-radius: 4px;
    margin-bottom: 15px;
    margin-top: 15px;
    padding: 15px 15px 15px 15px;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

.split-group.campaign-delivery h5.h5.text-success {
    color: #97C00E !important;
}

.delivery-address {
    margin: 10px 0;
}

.delivery-products {
    margin-bottom: 10px;
}

.delivery-products ul {
    margin: 5px 0 0 20px;
}

.split-totals > div {
    margin-top: 10px;
}

.edit-link {
    margin-top: 15px;
    margin-bottom: 0;
    text-align: center;
}

.edit-link .btn {
    padding: 0;
    font-size: 14px;
}

.edit-link .btn i {
    font-size: 16px;
}

/* CONFIRMATION */

.page-order-confirmation .order-item {
    transition: all 0.3s ease;
    padding: 20px;
}

.page-order-confirmation .order-item.border-bottom {
    border-bottom: 1px solid rgba(160, 160, 160, 0.25) !important;
}

.page-order-confirmation .order-item:hover {
    background-color: #f8f9fa;
    border-radius: 5px;
}

.page-order-confirmation .school-info h4.badge-success {
    background: none !important;
    color: #97C00E !important;
}

.page-order-confirmation .badge-success {
    background-color: #28a745;
}

.page-order-confirmation .products-list ul {
    margin-bottom: 0;
}

.page-order-confirmation .order-total-summary {
    background-color: #f8f9fa;
    padding: 20px 20px 15px 20px;
    border-top: 1px solid rgba(160, 160, 160, 0.25) !important;
}

.page-order-confirmation .order-confirmation-buttons {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
    margin: 30px 0;
}

@media (max-width: 767px) {
    .page-order-confirmation .text-right {
        text-align: left !important;
        margin-top: 15px;
    }
}