html, body {
    height: 100%;
}

body {
	background: #e9faff;
}

#loginform {
	padding: 35px 55px 50px 55px;
	text-align: center;
    margin: auto;
    margin-top: calc(50vh - 290px);
	/*width: 100%;*/
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 3px 20px 0 rgb(0 0 0 / 10%);
	-moz-box-shadow: 0 3px 20px 0 rgba(0,0,0,.1);
	-webkit-box-shadow: 0 3px 20px 0 rgb(0 0 0 / 10%);
	-o-box-shadow: 0 3px 20px 0 rgba(0,0,0,.1);
	-ms-box-shadow: 0 3px 20px 0 rgba(0,0,0,.1);
    display: block;
}


@media only screen and (max-height: 600px) {
  #loginform {
        margin-top: 0;
    }
}


#loginform h1 {
    background: url('https://svako.lt/img/logo.png') no-repeat center 0;
    padding-top: 3em;
	margin: 1em auto;
    color:#151754;
    font-size: 30px;
}

#loginform h2 {
    margin: 1em auto;
    color:#151754;
    font-size: 1em;
}

form .inputstack {
    padding: 0;
    margin: 0;
    width: 100%;
    /*display: block;*/
    /*display: flex;*/
    /*justify-content: center;*/
    /*align-items: center;*/
}

form .inputstack input {
	border: .1em solid #aaa;
	outline: none;
    height: 68px;
    padding: 0 25px;
    margin: 0 auto;
    width: calc(100% - 51px);
    background: 0 0;
    font-family: 'Open Sans',sans-serif;
    font-size: 15px;
    color: #666;
    line-height: 1.2;
    display: block;
    border: 1px solid #e6e6e6;
}
form .inputstack p:first-child input {
	/*border-top: .1em solid #aaa;
	border-radius: .3em .3em 0 0;
	box-shadow: inset #eee 0 2px 0;*/
}
form .inputstack input:last-child {
	/*border-radius: 0 0 .3em .3em;*/
    border-top: none;
}
#loginform input[type=submit] {
    margin-top:20px;
/*    display: flex;
    justify-content: center;
    align-items: center;*/
    padding: 0 20px;
    width: 100%;
    height: 60px;
    background-color: #4272d7;
    font-family: 'Open Sans',sans-serif;
    font-size: 14px;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    -moz-transition: all .4s;
    transition: all .4s;
}

#loginform input[type=submit]:hover {
    background-color: #333;
    cursor: pointer;
}

#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /*height: 24px;*/
    background-color: #343a40;
    color: #fff;
    padding: 5px 0 4px 0;
    font-size: 13px;
}

#footer div.copy {
    /*text-align: center;*/

    /*float: left;*/
    /*margin: 5px 0 0 5px;*/
    /*width: 46%;*/
}

#footer div.www {
    /*text-align: center;*/
    /*float: left;*/
    /*margin: 5px 0 0 5px;*/
    /*font-weight: 700;*/

}

/*#footer div.www a {
    display: block;
    width: 100%;
    text-align: center;
}*/

#footer a.mail {
    /*float: right;*/
    /*margin: 5px 5px 0 0;*/
    /*text-decoration: none;*/
    text-align: right;
    float: right;
}

#footer a {
    color: #fff;
    text-decoration: none;
}


