
@font-face {
    font-family: ubuntu;
    src: url(fonts/Ubuntu-Light.ttf);
}
@font-face {
    font-family: ubuntu;
    src: url(fonts/Ubuntu-Medium.ttf);
    font-weight: bold;
}

html {height: 100%;}

body {
    background-color: #505050;
    font-family: ubuntu, sans-serif;
    font-size: 15px;
    color: #505050;
    margin: 0;
    background-image: url("../images/dots.svg?v0.1");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-position-y: 60px;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
}

a {
    color: #73b6ff;
    text-decoration: none;
}

a,
a:visited,
a:focus,
a:active,
:visited,
:focus,
:active {
    outline: 0;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #d88e3d;
}

main {
    display: flex;
    flex-direction: column;
    height: 100vh;
    align-items: center;
    justify-content: space-between;
    min-height: 450px;
}

#login_form_container {
    max-width: 430px;
    width: 430px;
    top: 18%;
    position: sticky;
}

#login_form {
    background-color: #ebf0f0;
    margin-top: 15px;
}

#login_form form {
    padding: 20px;
}

#login_form_container hr {
    height: 1px;
    border: none;
    border-bottom: 1px solid #aaaaaa;
}

#login_form .header {
    padding: 8px 20px;
    font-size: 27px;
    color: #2771c2;
    border-bottom: 3px solid #2771c2;
    background-color: #dadcdc;
}

#login_form .row:first-of-type {
    margin-top: 0;
}

#login_form .row {
    margin: 20px 0 0 0;
}

#login_form .label {
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
    font-size: 18px;
}

#login_form input[type=text], #login_form input[type=password] {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 30px;
    border: 1px solid #cccccc;
    padding: 5px;
    font-size: 16px;
    color: #666;
}

#login_form input[type=text]:hover, #login_form input[type=text]:focus,
#login_form input[type=password]:hover, #login_form input[type=password]:focus {
    border-color: #505050;
    outline: none;
}

.submitbtn {
    margin-top: 20px;
}

#login_form button {
    width: 120px;
    height: 35px;
    cursor: pointer;
    color: #ebf0f0;
    border: none;
    background-color: #505050;
    font-size: 15px;
    border-radius: 0;
}

#login_form button:hover {
    background-color: #dadcdc;
    color: #505050;
    border:1px solid #505050;
}

#login_form p.error {
    color: #cc181e;
    font-style: italic;
    font-size: 14px;
    margin-bottom: 0;
}

.grid-wrap { *zoom:1; }
.grid-wrap:before, .grid-wrap:after{content:""; display:table}
.clearfix, .grid-wrap:after{clear:both}
.clearfix {display: block;}
.grid {
  float: left;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.col-thirty-percent {width: 30%;}
.col-seventy-percent {width: 70%;}

.fright {
    float: right;
}

/* Remove yellow autofill in firefox */
input {
    filter: none;
}

footer {
    display: block;
    text-align: center;
    flex-shrink: 0;
    margin-top: 10px;
    font-size: 12px;
    color: #CCCCCC;
    width: 100%;
    background-color: #505050;
}
