﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 2em;
    padding-right: 2em;
}
.toggle-delete {
    display: flex;
    align-items: center;
}
    .toggle-delete a:nth-child(2) {
        margin: 0 10px !important;
    }
    .toggle-delete form {
        line-height: 0;
    }
.customer-detail {
    display: flex;
    width: 100%;
    align-items: flex-start;
}
    .customer-detail .float-right {
        width: 25%;
        text-align: right;
    }
    .customer-detail .card {
        width: 45%;
        position: relative;
        left: 40px;
    }
.customer-detail-inner {
    width: 30%;
}
.customer-detail .card .card-body {
    max-height: 112px;
    overflow-y: auto;
}
/* number inputs right aligned */
input.number-input {
    text-align: right;
}

.foreach-table-header div {
    padding: 0.75rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.125)
}

.foreach-table-header .first {
    border-top-left-radius: 0.25rem;
}

.foreach-table-header .last {
    border-top-right-radius: 0.25rem;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */

@media (max-width:991px)
{
    .customer-detail-inner h2 span {
        font-size: 23px;
    }
    .customer-detail-inner .clearfix div {
        font-size: 15px;
        padding-top: 3px;
    }
    .customer-detail .card {
        left: 10px;
    }
        .customer-detail .card .card-body {
            padding: 7px 10px;
            font-size: 13px;
        }
    .customer-detail .float-right a {
        width: auto;
        font-size: 12px;
        padding: 7px 6px;
    }
}
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
    .customer-detail {
        flex-direction: column;
    }
    .customer-detail-inner {
        width: 100%;
    }
    .customer-detail .card {
        left: 0;
        width: 100%;
        margin-top: 10px;
    }
        .customer-detail .card .card-header a {
            float: right;
        }
    .customer-detail .float-right {
        width: 100%;
        margin-top: 16px;
    }
}
