﻿#top-hr {
    border: none;
    height: 3px;
    background-color: #333; /* Modern Browsers */
    margin-bottom: 5px;
    box-shadow: 0px 1px 3px gray;
}

input[type=radio], input[type=checkbox] {
    height: 1.25em;
    width: 1.25em;
    color: white;
}

input {
    vertical-align: sub;
}

    input[type=text] {
        width: 100%;
    }
/*overrides setting in site.css*/
input, select, textarea {
    max-width: 100vw;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

#logo {
    display: flex;
    align-items: center;
    justify-content: initial;
}

    #logo h3 {
        margin-left: 5px;
    }

#title {
    text-align: right;
    margin: 0;
    font-weight: bold;
    font-family: serif;
    width: 30vw;
}

.section-header {
    background-color: gray;
    color: white;
    font-weight: bold;
    margin: 0;
    border: 1px solid black;
    border-bottom: none;
    padding: 5px;
    font-size: 1.5em;
}

.form-group {
    margin: 0;
    padding: 0;
}

.form-section {
    padding: 10px;
    margin: 0 auto;
    border: 1px solid black;
    border-bottom: none;
    width: 100%;
}

.form-label {
    font-size: 1.5em;
    flex-shrink: 0;
}

.one-field {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

    .one-field .form-fields {
        font-size: 1.15em;
        margin-left: 20px;
        width: 100%;
    }

.multiple-fields {
    display: flex;
}

    .multiple-fields .form-fields {
        width: 100%;
        margin-left: 10px;
        margin-right: 10px;
    }

        .multiple-fields .form-fields:last-of-type {
            margin-right: 0;
        }

.italic {
    font-style: italic;
}

.flex {
    display: flex;
    align-items: center;
}

.address {
    margin-bottom: 15px;
}

#prevAddresses {
    margin-top: 1em;
    width: 100%;
}

    #prevAddresses th {
        font-size: 1.25em;
        text-align: center;
    }

#sameAddress label {
    font-size: 1em;
    color: lightgray;
}

#signature {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 10px;
}

    #signature input[type=text] {
        width: 100%;
    }

#submitBtn input {
    font-weight: bold;
}

#signature label {
    flex-shrink: 0;
    margin-right: 10px;
    font-size: 1.5em;
}

@media only screen and (max-width: 800px) {
    .header {
        display: block;
    }

    #logo {
        justify-content: center;
    }

    #title {
        width: 70vw;
        margin: 10px auto;
        text-align: center;
    }

    #permitType input {
        margin-right: 5px;
    }

    .form-label {
        width: 100%;
    }

    .form-fields {
        font-size: 1em;
    }

    .long-label {
        display: flex;
        justify-content: flex-start;
    }

    .multiple-fields .form-fields, .one-field .form-fields {
        margin: 0;
    }

    input[type=radio], input[type=checkbox] {
        height: 1.5em;
        width: 1.5em;
        min-height: 1.5em;
        min-width: 1.5em;
    }

    .one-field, .multiple-fields {
        display: block;
    }

    .address {
        margin: auto;
    }

    .small-label {
        font-size: 1.1em;
    }

    #prevAddresses th {
        font-size: 1em;
    }

    #signature {
        display: block;
    }

        #signature div {
            margin-top: 10px;
            margin-bottom: 10px;
        }

    #agree-section {
        display: flex;
        justify-content: center;
    }

        #agree-section label {
            margin-left: 10px;
            font-size: 1.5em;
        }

    #signature .flex {
        display: block;
    }

    #signature input[type=text] {
        width: 100%;
    }

    #submitBtn {
        display: flex;
        justify-content: center;
    }

        #submitBtn input {
            margin-top: 10px;
            width: 100vw;
        }

    #backBtn {
        width: 100%;
    }
}

@media only screen and (min-width: 801px) and (max-width: 1000px) {
    #signature label {
        font-size: 1.25em;
    }

    #personAttributes {
        display: block;
    }

        #personAttributes .form-fields {
            display: flex;
            margin-left: 0;
        }

        #personAttributes label {
            display: block;
        }

    .small-label {
        font-size: 1.1em;
    }
}
p {
    line-height: 1.5em;
}