﻿/* ==========================================================
   FORM CONTAINER
========================================================== */

#formContent {
    position: relative;
    background: #fff;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .30);
}

#formFooter {
    background-color: #f6f6f6;
    border-top: 1px solid #dce8f1;
    text-align: center;
    border-radius: 0 0 10px 10px;
}

/* ==========================================================
   SIMPLE FORM
========================================================== */

.simple-form {
    width: 100%;
    max-width: 100%;
    margin: auto;
    background-color: ghostwhite;
}

    /* ==========================================================
   FORM SPACING
========================================================== */

    .simple-form .form-row,
    .simple-form .form-group,
    .simple-form .mb-form {
        margin-bottom: .85rem;
    }

    .simple-form .form-section {
        padding: 1rem;
    }

    .simple-form .form-section-sm {
        padding: .65rem;
    }

    .simple-form .form-section-lg {
        padding: 1.5rem;
    }

    /* ==========================================================
   HORIZONTAL RULE
========================================================== */

    .simple-form hr {
        width: 80%;
        margin: .75rem auto;
        border: 0;
        border-top: 1px solid powderblue;
        background-color: transparent;
    }

    /* ==========================================================
   TABLES
========================================================== */

    .simple-form table,
    .simple-form th,
    .simple-form td {
        border: 1px dotted powderblue;
    }

    /* ==========================================================
   IMAGES
========================================================== */

    .simple-form img {
        display: block;
        max-width: 100%;
        height: auto;
        margin: auto;
    }

        .simple-form img.layout {
            width: 95%;
            height: auto;
        }

    .simple-form .img-header {
        width: 80%;
        height: auto;
    }

    .simple-form .imgshadow {
        padding: .25rem;
        margin-top: .3rem;
        border: 1px solid #777;
        box-shadow: 0 0 .3rem #666;
    }

    .simple-form .img-left {
        float: left;
        width: auto;
        margin: .3rem .9rem .3rem .3rem;
    }

    .simple-form .img-circle {
        border-radius: 50%;
    }

    /* ==========================================================
   ALIGNMENT HELPERS
========================================================== */

    .simple-form .center-it {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .simple-form .form-center {
        text-align: center;
    }

    .simple-form .form-left {
        text-align: left;
    }

    .simple-form .form-right {
        text-align: right;
    }

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 768px) {
    #formContent {
        border-radius: 8px;
    }

    .simple-form .form-section {
        padding: .75rem;
    }

    .simple-form hr {
        width: 90%;
    }

    .simple-form .img-header {
        width: 90%;
    }
}

@media (max-width: 576px) {
    #formContent {
        box-shadow: 0 15px 35px rgba(0, 0, 0, .20);
    }

    .simple-form .form-section,
    .simple-form .form-section-sm,
    .simple-form .form-section-lg {
        padding: .65rem;
    }

    .simple-form hr {
        width: 95%;
    }

    .simple-form .img-header,
    .simple-form img.layout {
        width: 100%;
    }

    .simple-form .img-left {
        float: none;
        margin: .5rem auto;
    }
}
