/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #000;
    font-size: 16px;
    line-height: 1.45;
    background-color: #fff6f1;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body,
td,
th {
    font-family: bauhaus_stdmedium, Microsoft JhengHei, 微軟正黑體, 蘋果儷中黑, Apple LiGothic Medium, Arial, Helvetica, sans-serif;
}

ol {
    margin-left: 0;
}


#content {
    width: 100%;
    max-width: 900px;
    position: relative;
    margin: 0 auto;
    background-repeat: repeat-y;
    background-color: #c5211d;
}

#header {
    width: 100%;
    max-width: 900px;
    margin: auto;
    position: relative;
    background: #ffffff;
    height: 70px;
}

#header img {
    width: 100%;
    max-width: 200px;
}

.container img {
    width: 100%;
}

/*=======part One=========*/
.container {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-flow: row-reverse;
    flex-flow: row-reverse;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    margin: 0 auto;
    padding-bottom: 60px;

}

.menu {
    background: #c00a03;
}

.menu a {
    width: 15%;
    max-width: 125px;
    padding-top: 50px;
    display: block;
    position: absolute;
    right: 20px;
    clear: none;
}

.menu img {
    width: 100%;
}

.inner_txt {
    line-height: 2.875rem;
    font-size: 1.5rem;
    padding: 0px 60px;
}

.inner_txt p {
    text-align: center;
}

.session_box {
    background: #ffffff;
    border: solid 3px #000000;
    border-radius: 30px;
    padding: 40px 20px;
}

.session_box ul {
    width: 60%;
    margin: 40px auto;
    padding: 0;
}

.session_box ul li {
    list-style: none;

}

.session_box .title {
    text-align: right;
    width: 40%;
    display: inline-block;
}

.session_box input {
    width: 50%;
    border: 2px #000000 solid;
}

.session_box ol {
    margin-top: 0;
    padding-top: 0;
    padding-left: 0;
    margin-left: 30px;
}

.session_box ol li {
    line-height: 2.2rem;
}

.session_box input::placeholder {
    opacity: 0.5;
    color: #757575;
    font-size: 1.125rem;
}

.outer {
    border-radius: 5px;
    border: solid 2px #000000;
    background-color: #ffffff;
    padding: 20px;
}

.btn {
    width: 210px;
    margin: 0 auto;
    margin-top: 60px;
    display: block;
    text-align: center;
}

.btn button {
    border: none;
    background-color: transparent;
}

.error {
    width: 50%;
    font-size: 16px;
    font-weight: bold;
    margin-left: 180px;
}

.error i.fa-exclamation-circle {
    display: none;
    color: red;
}

.note {
    font-size: 1rem;
    padding-top: 0;
    margin-top: 0;
}

.session_box ol.know {
    list-style: none;
    margin-left: 0px;
}

.red_txt {
    color: #b92f25;
    font-weight: bold;
}

.session_box a {
    color: #4090c7;
}

.txt_center {
    text-align: center;
}

/*=======part Three=========*/
#footer {
    background-color: #000;
    width: 100%;
    height: 40px;
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    line-height: 40px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}

.clearfix:after {
    clear: both;
}


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 900px) {
    .banner_m {
        display: none;
    }
}

@media only screen and (max-width: 900px) {
    #content {
        width: 100%;
        position: relative;
        margin: 0 auto;
        background: #c5211d;
        background-repeat: repeat-y;
    }

    #header {
        width: 100%;
        height: 60px;
    }

    #header img {
        width: 100%;
        margin: 0 auto;
        max-width: 150px;
    }

    .menu a {
        width: 25%;
        padding-top: 20px;
        position: relative;
        margin-left: 70%;

    }

    .container {
        padding: 0;
        padding-bottom: 20px;
    }

    .inner_txt {
        padding: 0 20px;
        line-height: 1.875rem;
        font-size: 1rem;
    }

    .session_box ul {
        width: 100%;
        margin: 20px auto;
    }

    .session_box input::placeholder {
        font-size: 1rem;
    }

    .cta {
        width: 40%;
    }

    .session_box ol li {
        line-height: 1.5rem;
    }
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}