﻿/*
	Generic form styles
	Author: Jason Kennedy
	Date: 18/11/2009
	version: 1.1

*/

.form-style
{
	color: #333;
}

.form-style ul
{
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

.form-style label
{
	float: left; /**** Adjust width as required ****/
	width: 160px;
	margin-right: 20px; /**** Adjust font size required ****/
	font-size: 95%;
	color: #666;
	text-align:right;
	padding:5px 0 0 0;
}

.form-style .label-2
{
	float: left; /**** Adjust width as required ****/
	/* width: 160px; */
	margin-right: 20px; /**** Adjust font size required ****/
	font-size: 95%;
	color: #666;
	text-align:right;
	padding:5px 0 0 0;
	width: 5px;
}


.form-style li
{
	clear: both;
	display: block;
	padding: 5px 0px 10px 0px;
	margin: 5px 0;
	list-style-type: none;
	border-bottom: 1px dotted #ccc;
}

.form-style li.error label
{
	color: #8A1F11;
	background-image: none;
}

.form-style li.error input.textfield, .form-style li.error textarea
{
	background-color: #FFCDCD;
	border-color: #8A1F11;
}

.form-style li span
{
	padding: 5px 0px 0px 0px;	
}

.form-style input.textfield
{
	padding: 5px;
	border: 1px solid #ccc; /**** Adjust width as required ****/
	width: 328px;
}

.form-style span input, input.form-style
{
	padding: 5px;
	border: 1px solid #ccc; /**** Adjust width as required ****/
	width: 265px;
}

.form-style input.shorttextfield
{
	padding: 5px;
	border: 1px solid #ccc; /**** Adjust width as required ****/
	width: 150px;
}

.form-style input.medtextfield
{
	padding: 5px;
	border: 1px solid #ccc; /**** Adjust width as required ****/
	width: 180px;
}

.form-style .textarea
{
	padding: 5px;
	border: 1px solid #ccc; /**** Adjust width as required ****/
	width: 328px;
}

.form-style span textarea
{
	padding: 5px;
	border: 1px solid #ccc; /**** Adjust width as required ****/
	width: 265px;
}


.form-style select
{
	padding: 5px;
	border: 1px solid #ccc; /**** Adjust width as required ****/
	width: 340px;
}

.form-style span select
{
	padding: 5px;
	border: 1px solid #ccc; /**** Adjust width as required ****/
	width: 275px;
}

.form-style input.checkbox, .form-style input.radio
{
	display: block;
	height: 13px;
	margin: 0px;
	padding: 0;
	width: 13px;
}

.form-style li.buttons
{
	clear: both;
	padding-top: 10px;
	padding-left: 240px;
	position: relative;
	border-bottom: none;
}

.form-style li .col
{
	float: left;
	display: block;
}

.form-style li.row
{
	float: left;
	display: block;
}

.form-style li .col span
{
	display: block;
	margin: 5px 0;
}

.form-style li .row span
{
	display: block;
	float: left;
}

.form-style li .row label.choice
{
	width: 140px;
}


label.choice
{
	float: none;
	display: block;
	clear: both;
	font-size: 100%;
	text-align: left;
	line-height: 150%;
	margin: -17px 0 0 20px;
	padding: 0 0 5px;
}

label.choice-2
{
	float: none;
	display: block;
	clear: both;
	font-size: 100%;
	text-align: left;
	line-height: 150%;
	margin: -17px 0 0 60px;
	padding: 0 0 5px;
	width: 100%;
}

.button
{
    padding:4px 8px;
}

.message
{
	background-color: #CCCCCC;
	border: 2px solid;
	margin: 10px 0;
	padding: 10px 10px 10px 10px;
	color: #333;
	clear: both;
}

.message p
{
	font-size: 93%;
	margin: 0 0 10px 30px;
}

.message ul
{
	margin: 0 0 0 40px !important;
}

.message ul li
{
	list-style-type:disc !important;
	background-image:none !important;
	padding:0 0 0 0 !important;
}

.message span.icon
{
	display: block;
	float: left;
	height: 16px;
	width: 16px;
	margin: 0 10px 0 0;
	background-image: url('/Style Library/images/icons/sprite-icons.png');
}

.message a:hover
{
	text-decoration: none;
}

.message.success
{
	background-color: #E6EFC2;
	border-color: #C6D880;
	color: #264409;
}

.message.success p, .message.success a
{
	color: #264409;
}

.message.success span.icon
{
	background-position: 0 0;
}

.message.error
{
	border-color: #8A1F11;
	background-color: #FBE3E4;
	border-color: #FBC2C4;
	color: #8A1F11;
}

.message.error p, .message.error a
{
	color: #8A1F11;
}


.message.error span.icon
{
	background-position: -16px 0;
}

.message.notice
{
	background-color: #FFF6BF;
	border-color: #FFD324;
	color: #514721;
}

.message.notice p, .message.notice a
{
	color: #514721;
}

.message.notice span.icon
{
	background-position: -32px 0;
}

.tool-tip-anchor
{
	border: 1px solid #ccc;
	background-color: #eee;
	padding: 2px 5px;
	font-size: 85%;
	font-weight: bold;
	margin: 0px;
	position: absolute;
	top: 5;
	margin: 0 0 0 10px;
	color: #999;
	cursor: pointer;
}


.error {
    background-color:#FBE3E4;
    border-color:#CC0000;
    color:#CC0000 !important;
    border:2px solid #CC0000;
    clear:both;
    color:#333333;
    margin:10px 0;
    padding:10px;
}

.error ul li{
    border-color: #CC0000;
    margin:0px 0;
    padding:0px 0;
    line-height:30px;
}

span.conditions input {
	float:left;
	/*border: 1px solid #ccc; /**** Adjust width as required ****/
	display: block;
	height: 13px;
	margin: 0;
	width: 13px;
	padding: 0;
	border:0;
}

span.conditions-label
{
	float: left;
	display: block;
	clear: both;
	font-size: 100%;
	text-align: left;
	line-height: 150%;
	margin: -25px 0 0 40px;
	padding: 0 0 5px;
	width: 640px;
}

