/**
 * @author Jan-Christoph Borchardt, http://jancborchardt.net
 * @copyright Copyright (c) 2015, ownCloud, Inc.
 * @license AGPL-3.0
 *
 * This code is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License, version 3,
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License, version 3,
 * along with this program.  If not, see <http://www.gnu.org/licenses/>
 */


/* header color */
/* this is the main brand color */
#body-user #header,
#body-settings #header,
#body-public #header {
	background-color: #142442;
}

/* log in screen background color */
/* gradient of the header color and a brighter shade */
/* can also be a flat color or an image */
#body-login {
	background: #ffffff; /* Old browsers */
}

/* primary action button, use sparingly */
/* header color as border, brighter shade again, here as background */
.primary,
input[type="submit"].primary,
input[type="button"].primary,
button.primary,
.button.primary,
.primary:active,
input[type="submit"].primary:active,
input[type="button"].primary:active,
button.primary:active,
.button.primary:active {
	border: 1px solid #ffffff !important;
	background-color: #ffffff;
	color: #444d5a;
}
.primary:hover,
input[type="submit"].primary:hover,
input[type="button"].primary:hover,
button.primary:hover,
.button.primary:hover,
.primary:focus,
input[type="submit"].primary:focus,
input[type="button"].primary:focus,
button.primary:focus,
.button.primary:focus {
	border: 1px solid #ffffff !important;
	background-color: #7A8CBF;
	color: #ffffff;
}
.primary:active, input[type="submit"].primary:active, input[type="button"].primary:active, button.primary:active, .button.primary:active,
.primary:disabled, input[type="submit"].primary:disabled, input[type="button"].primary:disabled, button.primary:disabled, .button.primary:disabled,
.primary:disabled:hover, input[type="submit"].primary:disabled:hover, input[type="button"].primary:disabled:hover, button.primary:disabled:hover, .button.primary:disabled:hover,
.primary:disabled:focus, input[type="submit"].primary:disabled:focus, input[type="button"].primary:disabled:focus, button.primary:disabled:focus, .button.primary:disabled:focus {
	background-color: transparent;
}

/* use logos from theme */
#header .logo {
	background-image: url('../img/logo.png');
	width: 250px;
	height: 121px;
	background-size: 175px;
}
#header .logo-icon {
	background-image: url('../img/logo-icon.png');
	width: 62px;
	height: 34px;
}

/* additional LOCO */
:invalid {
	box-shadow: none;
}
html, body {
	font-family: Verdana;
}
#header .logo-icon {
	display: none;
}
#header .header-appname-container {
	left: 10px;
}
#body-login .groupbottom input {	
	box-shadow: 0 1px 0 rgba(0,0,0,.1) inset !important;
}
#body-login .grouptop input, 
#body-login .groupbottom input {
	margin-bottom: 0 !important;
	border-bottom: 0 !important;
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
	font-size: 20px;
	padding: 11px 10px 9px;
	margin: 5px;
}
#body-login .grouptop, 
#body-login .groupbottom {
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px
}
#body-login .grouptop input {	
	box-shadow: none !important;
}
#body-login #submit.login {
	border-radius: 0px !important;
	position: absolute;
	right: 0px;
	top: 6px;
	border: none;
	background-color: transparent;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
	opacity: .3;
}
#body-login #submit.login:hover {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
	opacity: .7;
}
#body-login input {
	width: 249px;
}
#body-login input#submit.login {
	width: 25px;
}
#body-login #remember_login + label {
	color: #142442 !important;
}
#body-login input[type="text"] {
	border:none;
}
#submit.icon-confirm,
#submit.icon-confirm:hover {
	background-image: url('../img/confirm.svg') !important;
  }
#body-login .v-align {
	padding: 0;
	margin-top: -58px;
}
#body-login #remember_login:hover+label,
#body-login #remember_login:focus+label {
	color: #0078d7 !important;
}
#body-login form {	
	width: 280px;
	margin: 32px auto;
	padding: 0;
	min-width: 200px;
}
#body-login label.infield {
	display: none;
}
#body-login .wrapper {
	margin: 0 auto -70px;
	width: 300px;
	min-width: 200px;
}
#body-login .warning, 
#body-login .update, 
#body-login .error {
	background-color: rgba(0,0,0,.3);
  }
footer {
	background-color: #142442;
	border-top: 2px solid #7A8CBF;
	color: #B1B4B8;
	height: 104px;
	position:fixed;
    bottom: 0px;
	width: 100%;
	height: 70px;
}

#body-login p.info {
	padding-top: 10px !important;
}
#body-login {
	height:100%;
}
