/*
 * Chive - web based MySQL database management
 * Copyright (C) 2010 Fusonic GmbH
 *
 * This file is part of Chive.
 *
 * Chive is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or (at your option) any later version.
 *
 * Chive 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
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public
 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
 */

@media screen, projection
{
  
	input[type=text], 
	input[type=password],
	input[type=submit],
	input[type=reset],
	input[type=button], 
	textarea {
		background-color: #F7F7F7;
		border: solid 1px #CCC;
		color: #333;
		padding: 4px 0px 4px 4px;
	}
	
	input[disabled],
	textarea[disabled] {
		opacity: 0.5;
	}
	
	input[type="submit"] {
		font-weight: bold;
	}
	
	/*
	 * Buttons
	 */
	.button {
		border-radius: 5px;
		border: 1px solid #BBB;
		padding: 5px 10px;
		background: url('../images/forms/button-bg.png') repeat-x;
		cursor: pointer;
		margin-right: 5px;
	}
	
	.button.primary 
	{
		background: url('../images/forms/button-primary-bg.png') repeat-x;
		padding: 7px 15px;
	}
	
	div.buttonContainer div.right .button {
		margin-right: 0px;
		margin-left: 5px;
	}
	
	a.button span {
		text-decoration: none !important;
	} 
	
	.button:hover {
		border: 1px solid #999;
	}
	
	/*
	 * Search field
	 */	
	input.search {
		background-image: url(../../../images/icons/fugue/16/search.png);
		background-position: 2px 50%;
		background-repeat: no-repeat;
		text-indent: 18px;
	}
	
	/*
	 * Table
	 */
	
	table.form>colgroup>col.col1,
	table.form>colgroup>col.col2 {
		width: 100px;
	}
	
	table.form>colgroup>col.col3 {
		width: 150px;
	}
	
	table.form>tbody>tr>td {
		padding: 5px 0px;
	}
	
	/*
	 * Fieldset
	 */
	
	fieldset 
	{
		-moz-border-radius: 10px;
		-webkit-border-radius: 10px;
		border: solid 1px #C0C0C0;
		padding: 5px 10px;
		margin-bottom: 10px;
		background: url('../images/gradient.jpg') repeat-x;
	}
	
	fieldset > legend
	{
		margin-left: -2px;
	}
	
}