﻿/* --------------------------------------------------------------

   forms.css
   * Sets up some default styling for forms
   * Gives you classes to enhance your forms

   Usage:
   * For text fields, use class .title or .text
   * For inline forms, use .inline (even when using columns)

-------------------------------------------------------------- */

label
{
    font-weight: bold;
}
fieldset
{
    padding: 1.4em;
    margin: 0 0 1.5em 0;
    border: 1px solid #ccc;
}
legend
{
    font-weight: bold;
    font-size: 1.2em;
}


/* Form fields
-------------------------------------------------------------- */

input[type=text], input[type=password], input.text, input.title, textarea, select
{
    background-color: #fff;
    border: 1px solid #bbb;
}
input[type=text]:focus, input[type=password]:focus, input.text:focus, input.title:focus, textarea:focus, select:focus
{
    border-color: #666;
}

input[type=text], input[type=password], input.text, input.title, textarea, select
{
    /* margin: 0.5em 0; */
}

input.text, input.title
{
    width: 300px;
    padding: 5px;
}
input.title
{
    font-size: 1.5em;
}
textarea
{
    width: 390px;
    height: 250px;
    padding: 5px;
}

input[type=checkbox], input[type=radio], input.checkbox, input.radio
{
    position: relative;
    top: .25em;
}

form.inline
{
    line-height: 3;
}
form.inline p
{
    margin-bottom: 0;
}


/* Success, notice and error boxes
-------------------------------------------------------------- */

.error, .notice, .success
{
    padding: .8em;
    margin-bottom: 1em;
    border: 2px solid #ddd;
}

.error
{
    background: #FBE3E4;
    color: #8a1f11;
    border-color: #FBC2C4;
}
.notice
{
    background: #FFF6BF;
    color: #514721;
    border-color: #FFD324;
}
.success
{
    background: #E6EFC2;
    color: #264409;
    border-color: #C6D880;
}
.error a
{
    color: #8a1f11;
}
.notice a
{
    color: #514721;
}
.success a
{
    color: #264409;
}


/* Buttons ------------------------------------ */
input[type="button"],
input[type="submit"],
.button,
.FormButton,
button {
	background: #222 url(cssImages/button-gradient.png) repeat-x; 
	display: inline-block; 
	padding: 5px 10px 6px; 
	color: #fff !important; 
	text-decoration: none;
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px;
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
	border-bottom: 1px solid rgba(0,0,0,0.25);
	position: relative;
	cursor: pointer;
	font-size: 11px;
	font-weight: bold;
	background-color: #2A6EBC;
	border: 0;
	outline: 0 none;
	line-height: 1;
	text-align: center;
}

input[type="button"]:hover,
input[type="submit"]:hover,
.button:hover,
.FormButton:hover,
button:hover  {
	color: #fff !important;
	background-color: #3185BD; 
}

input[type="button"]:active,
input[type="submit"]:active,
.button:active,
.FormButton:active,
button:active  {
	top: 1px;
	color: #ffffff !important;
}
