/**
 * Bootstrap4 Enhance 0.0.1
 * Expand, Overwrite, and Supplement with Bootstrap4
 * by Cassandra Apr 25, 2020
 */

body {
    min-height: 100vh;
}

.container-limited {
    max-width: 1280px;
}

.form-group-embed {
    position: relative;
}

.form-group-embed label {
    position: absolute;
    margin: 0;
    top: 0;
    bottom: 0;
    line-height: 38px;
    width: 40px;
    text-align: center;
    color: gray;
}

.form-group-embed input {
    padding-left: 40px;
}

@media (max-width: 576px) {
    .form-group-mobile {
        display: flex;
        flex-wrap: nowrap;
        padding-top: .875rem;
        padding-bottom: .875rem;
        margin-bottom: 0 !important;
        background-color: #fff;
    }

    .form-group-mobile>* {
        flex: unset;
    }

    .form-group-mobile>label:first-child {
        color: #666;
        width: 8rem;
        padding-right: 0;
    }

    .form-group-mobile input,
    .form-group-mobile input:focus {
        border-color: #fff;
        box-shadow: none;

    }

    .form-group-mobile input::placeholder {
        color: #ccc;
    }
}

@media (max-width: 576px) {
    .property-grid label {
        max-width: 8rem;
    }
}

.alert-sm {
    padding: 0.5rem .75rem;
    font-size: 80%;
    font-weight: 400;
}

.alert-sm.alert-dismissible .close {
    padding: 0.25rem 0.5rem;
}

@media (max-width: 575px) {
    .p-xs-0 {
        padding: 0 !important;
    }
}

.fill-gutters {
    margin-right: -15px;
    margin-left: -15px;
}


/* region ---------- toast ---------- */

/* ---------- endregion ---------- */

.rounded-2 {
    border-radius: .5rem;
}

@media (max-width: 576px) {

    /* 侵占间隔区 */
    .invade-gutters-xs {
        margin-left: -15px;
        margin-right: -15px;
    }

    .fill-gutters-xs {
        margin-left: -15px;
        margin-right: -15px;
    }
}


@media (max-width: 576px) {
    .btn-xs-block {
        display: block;
        width: 100%;
    }
}