/*
 Theme Name:   Divi Child
 Theme URI:    http://www.elegantthemes.com/gallery/divi/
 Template:     Divi
 Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
 Author: Elegant Themes
 Author URI: http://www.elegantthemes.com
 Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
 License: GNU General Public License v2
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ========== Form Layout ========== */

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 500;
}

/* ========== Inputs ========== */

.form-control,
.form-select {
    display: block;
    width: 100%;
    padding: .5rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus,
.form-select:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(13,110,253,.25);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* ========== Disabled ========== */

.form-control:disabled,
.form-select:disabled {
    background-color: #e9ecef;
    opacity: 1;
}

/* ========== Validation ========== */

.is-valid {
    border-color: #198754;
}

.is-valid:focus {
    box-shadow: 0 0 0 .2rem rgba(25,135,84,.25);
}

.is-invalid {
    border-color: #dc3545;
}

.is-invalid:focus {
    box-shadow: 0 0 0 .2rem rgba(220,53,69,.25);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: .875rem;
    color: #dc3545;
}

.is-invalid ~ .invalid-feedback {
    display: block;
}

/* ========== Checkbox & Radio ========== */

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: .5rem;
}

.form-check-input {
    margin-right: .5rem;
}

/* ========== Buttons ========== */

.btn {
    display: inline-block;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    padding: .5rem 1rem;
    font-size: 1rem;
    border-radius: .375rem;
    border: 1px solid transparent;
    transition: all .15s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

/* ========== Utility Spacing ========== */

.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: 1rem; }
.mt-3 { margin-top: 1rem; }


/* Base alert container */
.alert {
    position: relative;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .375rem;
    font-size: 1rem;
    line-height: 1.5;
}

/* Alert types */
.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}

.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

/* Close button */
.alert .close {
    position: absolute;
    top: .25rem;
    right: .5rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    color: inherit;
    cursor: pointer;
}

/* Optional fade animation */
.alert.fade {
    opacity: 0;
    transition: opacity .15s linear;
}

.alert.show {
    opacity: 1;
}