/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    outline: none;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	      content: '';
	      content: none;
          }
table {
    border-collapse: collapse;
    border-spacing: 0;
}
input,
textarea {
    -webkit-appearance: none;
    outline: none !important;
}

/* END RESET */

html {
    width: 100%;
    height: 100%;
}

body {
    color: #7b7b7b;
    font-family: "Arial", "Liberation Sans", "Helvetica Neue", "Helvetica", sans-serif;
    font-size: 100%;
}

.header {
    height: 50px;
    background: #02416d; /* Old browsers */
    background: -moz-linear-gradient(top, #02416d 0%, #013155 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#02416d), color-stop(100%,#013155)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #02416d 0%,#013155 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #02416d 0%,#013155 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #02416d 0%,#013155 100%); /* IE10+ */
    background: linear-gradient(to bottom, #02416d 0%,#013155 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#02416d', endColorstr='#013155',GradientType=0 ); /* IE6-9 */
    text-align: center;
}

.header h1 {
    display: inline-block;
    width: 168px;
    height: 78px;
    background: white;
    border: 1px solid #dcdcdc;
    -moz-border-radius: 0 0 10px 10px;
    -webkit-border-radius: 0 0 10px 10px;
    -khtml-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
    -moz-box-shadow: $params;
    -webkit-box-shadow: $params;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.075);
}
.header h1 img {
    display: inline-block;
    margin-top: 17px;
}
.wrap {
    width: 92%;
    max-width: 980px;
    margin: 0 auto;
}


.main fieldset {
    width: 100%;
    max-width: 470px;
    margin: 4em auto;
}

.main fieldset p {
    margin: 15px 0;
    overflow: hidden;
}
.main fieldset label {
    width: 35%;
    display: inline-block;
    font-size: 0.8125em;
    padding: 10px 0;
}

.main fieldset input[type="password"],
.main fieldset input[type="text"] {
    height: 36px;
    width: 62%;
    border: 1px solid #dcdcdc;
    -moz-border-radius: 19px;
    -webkit-border-radius: 19px;
    -khtml-border-radius: 19px;
    border-radius: 19px;
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #f5f5f5 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f5f5f5)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%,#f5f5f5 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%,#f5f5f5 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%,#f5f5f5 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ffffff 0%,#f5f5f5 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f5f5f5',GradientType=0 ); /* IE6-9 */
    padding: 0 15px;
    box-sizing: border-box;
    float: right;
    color: #555555;
}


.main fieldset input[type="submit"] {
    height: 36px;
    background: #149fd9; /* Old browsers */
    background: -moz-linear-gradient(top, #149fd9 0%, #1cb3f2 50%, #1aa1da 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #149fd9 0%,#1cb3f2 50%,#1aa1da 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #149fd9 0%,#1cb3f2 50%,#1aa1da 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#149fd9', endColorstr='#1aa1da',GradientType=0 ); /* IE6-9 */
    border: 1px solid #0398d7;
    -moz-border-radius: 19px;
    -webkit-border-radius: 19px;
    -khtml-border-radius: 19px;
    border-radius: 19px;
    color: #ffffff;
    padding: 0 2em;
    cursor: pointer;
    float: right;
}
.main fieldset input[type="submit"]:hover {
    background: #21bcfc; /* Old browsers */
    background: -moz-linear-gradient(top, #21bcfc 0%, #41cffd 50%, #07adf1 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #21bcfc 0%,#41cffd 50%,#07adf1 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #21bcfc 0%,#41cffd 50%,#07adf1 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#21bcfc', endColorstr='#07adf1',GradientType=0 ); /* IE6-9 */
}

article {
    text-align: center;
}
article p {
    font-size: 0.75em;
    line-height: 1.25em;
    margin: 2em 0;
}
img {
    max-width: 100%;
}

@media screen and (max-width: 800px) {
    .main fieldset label {
        display: block;
        width: auto;
    }
    .main fieldset input[type="password"],
    .main fieldset input[type="text"] {
        float: none;
        width: 100%;
    }
    .main fieldset input[type="submit"] {
        margin-top: 15px;
    }
}
