/*
 * Copyright (C) 2012 University of Dundee & Open Microscopy Environment.
 * All rights reserved.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * 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
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

/* Based on
 * https://github.com/openmicroscopy/openmicroscopy/blob/v5.4.10/components/tools/OmeroWeb/omeroweb/webgateway/static/webgateway/css/ome.login.css
*/

#oauth {
	width: 50em;
	margin: 10em auto;
	color: #333;
	padding: 2em;
	text-align: center;
}

#oauth a {
    font-size: small;
}

.oauth-details {
  background:#f4f4f5;
  padding: 2em 3em;
  border-radius:5px;
  background:hsl(215,4%,96%);
  border: solid 1px white;
	overflow: hidden;
}

.oauth-details div {
	padding: 3px;
	clear: left;
	overflow: hidden;
	position: relative;
}

.oauth-details div.buttons {
	text-align: center;
}

.oauth-details .button, #login input[type=submit] {
	cursor: pointer;
	background-color: hsl(210,70%,70%);
	border: solid 1px hsl(210,40%,70%);
	padding: 6px;
	font-size: 1.5em;
	font-weight: bold;
	color: hsl(210,70%,10%);
	border-radius: 3px;
	margin: 3px;
	margin-bottom: 0px;
	margin: 1em auto;
	display: inline-block;
	background-image: none;
}

.oauth-details .button:hover, #login input[type=submit]:hover {
	background-color: hsl(210,70%,80%);
}

#login input[type=submit] {
	width: 16em;
	float: none;
	display: block;
}

.oauth-details .altsubmit {
	margin: 1em auto;
	text-align: center;
}

.oauth-details .info {
	font-size: 200%;
	font-weight: bolder;
	background-color: #e0e4ea;
	padding: 0.5em;
}

.error {
	display: block;
	width: 100%;
	text-align: center;
	padding: 5px;
	margin-bottom: 10px;
}

.form_error {
	margin-right: 3px;
  float: right;
	display: inline-block;
}
