/* type defaults for mobile */

body {
    margin: 0;
    padding: 0;            /* background-color: #FFC93C; */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: normal;
    font-size: 18px;
    line-height: 1.3;
    color: #155263;
}

h1 {
    font-size: 28px;
    line-height: 1.2em;
}

a {
    text-decoration: none;
    border-bottom: 1px dotted;
}

a:link {
    color: #F15D00;
}

a:visited {
    color: #FFA267;
}

a:hover {
    border-bottom: 1px solid;
}

#ask-tn-ai a {
    border-bottom: none;
}

#flex-container {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;            /* container fills whole viewport */
    width: 100%;
    height: 100vh;
    flex-wrap: nowrap;            /* main axis (column) alignment */
    justify-content: space-between;            /* cross axis alignment */
    align-items: center;
}

.flex-item {
    box-sizing: border-box;            /* default size of an element before the remaining space is distributed. It can be a length (e.g. 20%, 5rem, etc.) or a keyword. */
    flex-basis: auto;
    width: 100%;            /* If set to 1, force items to expand along the main axis to take up empty space (overrides 'height' property) */
    flex-grow: 0;
    flex-shrink: 1;
    text-align: center;
    vertical-align: middle;
}

.agent {
    flex-grow: 1;
    height: auto;
}

header {
    height: 50px;
    background-color: #FFC93C;
}

header img {
    box-sizing: border-box;
    padding: 5px 15px 5px 15px;
    width: auto;
    height: 100%;
}

header a, header a:hover {
    border: none;
    text-decoration: none;
}

footer {
    height: auto;
    background-color: #EBF7FB;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin: 15px 0 0 0;
    padding: 10px 3% 20px 3%;
    border-top: 1px solid #A7DDEC;
}

footer img {
    width: auto;
    height: 40px;
    vertical-align: top;
    padding-bottom: 4px;
}

article {
    box-sizing: border-box;
    padding: 0 3% 0 3%;
    margin: 0 auto 0 auto;
    max-width: 767px;
    width: 100%;
}

article ul {
    margin: 0;
    padding: 10px 0 0 0;
}

article li {
    border-radius: 4px;
    margin: 10px;
    padding: 8px;
    color: #333;
    text-align: left;
    list-style-type: none;
}

article .prompt {
    border: 1px solid;
    border-color: #bbb;
    background-color: #fff;
}

article .response {
    border: 1px solid;
    border-color: #A0FFA3;
    background-color: #ECFFED;
}

article li kbd, article li samp {
    /* font-family: Consolas, 'Cascadia Code', 'Lucida Console', 'Courier New'; */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 16px;
}

button, #submit_button {
    padding: 8px 12px 8px 12px;
    margin: 8px;
    min-height: 44px;
    font-size: 18px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    cursor: pointer;
}

hr {
    border: none;
    text-decoration: none;
    height: 2px;
    margin: 4px auto 4px auto;
}

address {
    display: inline;
    font-style: normal;
    font-weight: normal;
}

#customer-service p, #customer-service img {
    vertical-align: middle;
}

.beta-badge {
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    background-color: #F15D00;
    border-radius: 3px;
    padding: 2px 6px 2px 6px;
    margin-top: 14px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

.sms-icon {
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    background-color: transparent;
    border: 2px solid #155263;
    border-radius: 3px;
    padding: 4px 8px 4px 8px;
    margin: 0px;
    font-size: 13px;
    font-weight: normal;
    color: #155263;
    text-align: center;
    vertical-align: middle;
    line-height: 1em;
}

.prompt-i {
    display: inline-block;
    box-sizing: border-box;
    height: 28px;
    width: 28px;
    vertical-align: top;
    background-color: #000;
    padding: 4px;
    font-size: 14px;
    font-weight: normal;
    color: #fff;
    text-align: center;
    vertical-align: middle;
}

.tn-ai-i {
    display: inline-block;
    box-sizing: border-box;
    height: 28px;
    width: 28px;
    background-size: 28px;
    background-image: url('/siteimages/tn_ai_icon.png');
    background-repeat: no-repeat;
    background-position: top left;
    vertical-align: bottom;
}

.notes {
    font-size: 0.8em;
    box-sizing: border-box;
    padding: 0 3% 0 3%;
    margin: 0 auto 20px auto;
}

#form-container {
    box-sizing: content-box;
    min-height: 722px;
    width: 94%;
    margin: 20px 3% 0 3%;
    padding: 0;
}

/* Registration form iframe */
#inline-OwYwFexDYQpeDwMf0k98 {
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    margin: 0;
}

input {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 18px;
    height: 26px;
    color: #555;
    padding: 2px 4px 2px 4px;
}

#page_bg #page p.errortext {
    color: #ff0000;
    font-size: 0.8em;
}


/* tablet */
@media screen and (min-width:768px) {
    header {
        height: 75px;
    }

    h1 {
        font-size: 36px;
    }

    p {
        font-size: 1.1em;
        line-height: 1.5em;
    }

    .beta-badge {
        font-size: 18px;
        margin-top: 22px;
    }

    .notes {
        max-width: 70%;
    }

    footer {
        padding: 10px 3% 0px 3%;
    }
}

/* widescreen desktop */
@media screen and (min-width:1200px) {
    header {
        height: 100px;
    }

    .beta-badge {
        font-size: 18px;
        margin-top: 24px;
    }

    .notes {
        max-width: 60%;
    }

    footer {
        padding: 10px 20px 0px 20px;
    }

    #form-container {
        width: 100%;
        padding: 0;
        margin: 0;
    }

}
