/* RESET */

html, body {
    font-family: Arial,Tahoma;
    font-size: 13px;
    font-weight: normal;
    line-height: normal;
    height: 100%;
}

input {
    font-family: Arial,Tahoma;
    font-size: 13px;
    font-weight: normal;
    line-height: normal;
}

input:focus, input:active {
    box-shadow: none !important;
    outline: medium none !important;
}

input::-moz-focus-inner {
    border: 0 none;
    padding: 0;
}

a:focus {
    outline: medium none;
    outline-offset: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

body, div, dl, dt, dd, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

ul {
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    line-height: normal;
}

.clear {
    clear: both;
}

.clearfix::before, .clearfix::after {
    content: " ";
    display: table;
}

.clearfix::after {
    clear: both;
}

.pull-left {
    float: left !important;
}

.pull-right {
    float: right !important;
}

.hidden {
    display: none;
    visibility: hidden;
}

*::after, *::before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0
}

img {
    height: auto;
    max-width: 100%;
}

/* ALERT */
.alert {
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 20px;
    padding: 8px;
}

.alert-danger {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}

.alert-success {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #3c763d;
}

.alert ul{
    font-size: 14px;
    margin: 0;
}

.btn {
    -moz-user-select: none;
    background-image: none;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 0;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    white-space: nowrap;
    font-family: Verdana,sans-serif;
}

a.btn {
    padding: 3px 12px;
}

.btn-default {
    background-color: #ffffff;
    border-color: #cccccc;
    color: #333333;
}

.btn-default:hover {
    background-color: #e6e6e6;
    border-color: #adadad;
    color: #333333;
}

/* STYLE */
#page{
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%;
}

#box{
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#eeeeee+0,fcfcfc+50,eeeeee+100 */
    background: #eeeeee; /* Old browsers */
    background: -moz-linear-gradient(top, #eeeeee 0%, #fcfcfc 50%, #eeeeee 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #eeeeee 0%,#fcfcfc 50%,#eeeeee 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #eeeeee 0%,#fcfcfc 50%,#eeeeee 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
    
    max-width: 400px;
    width: 100%;
    padding: 10px 20px 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #ddd;
}

#box #top_image{
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 10px;
}

#box form .form_line{
    float: left;
    clear: both;
    margin-bottom: 10px;
    width: 100%;
}

#box form .form_line:last-of-type{
    margin-bottom: 0;
}

#box form label{
    float: left;
    margin-bottom: 3px;
    font-size: 12px;
}

#box form input:not([type="radio"]),
#box form input:not([type="checkbox"]){
    clear: both;
    float: left;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #ccc;
    padding: 5px;
}
