/* Reset & Base Styles */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code, del, dfn, em,
img, q, dl, dt, dd, ol, ul, li, fieldset, form,
label, legend, table, caption, tbody, tfoot, thead,
tr, th, td, article, aside, dialog, figure, footer,
header, hgroup, nav, section {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
}

article, aside, dialog, figure, footer, header, hgroup, nav, section {
    display: block;
}

body {
    line-height: 1.5;
    background: white;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

caption, th, td {
    text-align: left;
    font-weight: normal;
    float: none !important;
    vertical-align: middle;
}

blockquote:before, blockquote:after,
q: q {
    quotes: "" "";
}

a img {
    border: none;
}

:focus {
    outline: 0;
}

/* Body Background */
body {
    position: relative;
    height: 100%;
    background-image: linear-gradient(#f0ffb4, #42cad1 40%, #075f67 70%, #072c38);
}

/* Wrapper */
#wrapper {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 350px;
    height: 300px;
    z-index: 100;
    text-align: center;
    line-height: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

/* Wrapper Sections */
#wrappertop {
    height: 20px;
    border: 1px solid #abbaab;
    border-bottom: none;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-image: linear-gradient(#abbaab, #FFF);
}

#wrappermiddle {
    height: 220px;
    border-left: 1px solid #abbaab;
    border-right: 1px solid #abbaab;
    background-color: #FFF;
}

#wrapperbottom {
    height: 20px;
    border: 1px solid #abbaab;
    border-top: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-image: linear-gradient(#FFF, #abbaab);
}

/* Title */
#wrapper h2 {
    position: relative;
    font-size: 20px;
    font-weight: bold;
    font-family: 'Myriad Pro', sans-serif;
    text-transform: uppercase;
    text-shadow: 2px 2px 2px #fff;
}

/* Input Containers */
#username_input,
#password_input {
    position: relative;
    margin: 10px auto;
    width: 300px;
    height: 50px;
}

/* Input Box */
#input_box {
    padding: 0 15px;
    background-color: #FFF;
    border: 1px solid #12343b;
    border-radius: 5px;
    box-sizing: border-box;
    box-shadow: 0 9px 18px rgba(0, 0, 0, 0.2);
}

#input_box:hover {
    border: 1px solid #F7882F;
}

/* User Input Field */
#user_input {
    display: block;
    width: 276px;
    height: 45px;
    background: transparent;
    border: none;
    color: #bdbdbd;
    font-family: Helvetica, sans-serif;
    font-size: 14px;
    padding-left: 20px;
}

/* Icons */
#user_img,
#password_img {
    position: absolute;
    display: block;
    float: left;
}

#user_img {
    margin-top: -28px;
    padding-right: 10px;
}

#password_img {
    margin-top: -32px;
    margin-left: 4px;
}

/* Submit Button */
#submit {
    position: relative;
    margin: 15px auto;
    padding: 10px 30px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    background-image: linear-gradient(#93F9B9, #1D976C);
    border: 1px solid #1D976C;
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: 0 9px 18px rgba(0, 0, 0, 0.2);
}

#submit:hover {
    color: #FFF;
    background-image: linear-gradient(#1D976C, #061700);
}

/* SVG Positioning */
svg {
    position: absolute;
    right: 0;
    bottom: 0;
}

/* Error Message */
.error {
    position: relative;
    width: 100%;
    margin: 5px 0;
    padding: 2px;
    font-weight: bold;
    color: #ff0097;
    background-color: #E8E8FF;
    font-family: Arial, Helvetica, sans-serif;
}

/* Logout Message */
.logout {
    position: relative;
    margin: 5px 0;
    padding: 5px;
    font-size: 18px;
    font-weight: bold;
    color: #A69344;
    background-color: #E8E8FF;
    font-family: Arial, Helvetica, sans-serif;
}
