/**
 * CSS styles for forms generated by yiic.
 *
 * The styles can be applied to the following form structure:
 *
 * <div class="form">
 *     <div class="row">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 *     <div class="row">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 *     <div class="row buttons">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 * </div>
 *
 * The above code will render the labels and input fields in separate lines.
 * In order to render them in the same line, please use the "wide" form as follows,
 *
 * <div class="wide form">
 *     ......
 * </div>
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @link http://www.yiiframework.com/
 * @copyright 2008-2010 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */
@font-face {
    font-family: 'OpenSans';
    src: url(fonts/open.ttf); 
   }
div.form
{
}

div.form input,
div.form textarea,
div.form select
{
	margin: 0.2em 0 0.5em 0;
	float:left;
}

div.form fieldset
{
	border: 1px solid #DDD;
	padding: 10px;
	margin: 0 0 10px 0;
    -moz-border-radius:7px;
}
/*div.form.left_label label {
	text-align:left;
	font-size:13px;
}
div.form .profile_table label {
	font-size:16px;
}
div.form label
{
	font-family: 'OpenSans';
	float:left;
	color:#8c6245;
	font-size:16px;
	width:125px;
	text-align:right;
	padding-right:10px;
	
}
div.form .jqmWindow .buttons input {
	margin-left:10px;
}
input[type="checkbox"] + label{
	padding-left:3px;
	font-size:13px;
}
div.form .row
{
	margin: 5px 0;
	min-height:40px;
	width:95%;
	float:left;
}*/
div.form .row.drag {
	background: url(../images/dd.png) center left no-repeat #fcf8ec;
	position: relative;
	cursor: default;
	z-index: 1;
	min-height: 22px;
	padding: 4px 0px 0px 0px;
	
}
div.form .row.drag label {
	line-height:22px;
	width:160px;
}
.edit_w {
	width:400px;
	height:300px;
}
label .required {
	display:none;
}
div.form .hint
{
	margin: 0;
	padding: 0;
	color: #999;
}

div.form .note
{
	font-style: italic;
}

div.form span.required
{
	color: red;
	float:left;
	padding-right:5px;
}

div.form div.error label:first-child,
div.form label.error,
div.form span.error
{
	color: #C00;
}

div.form div.error input,
div.form div.error textarea,
div.form div.error select,
div.form input.error,
div.form textarea.error,
div.form select.error
{
	background: #FEE;
	border-color: #C00;
}

div.form div.success input,
div.form div.success textarea,
div.form div.success select,
div.form input.success,
div.form textarea.success,
div.form select.success
{
	background: #E6EFC2;
	border-color: #C6D880;
}

div.form div.success label
{
	color: inherit;
}

div.form .errorSummary
{
	border: 2px solid #C00;
	padding: 7px 7px 12px 7px;
	margin: 0 0 20px 0;
	background: #FEE;
	font-size: 0.9em;
}

div.form .errorMessage
{
	color: red;
	font-size: 0.9em;
	float:left;
	margin-left:5px;
	padding-left:5px;
}

div.form .errorSummary p
{
	margin: 0;
	padding: 5px;
}
.row small
{
	color:#bb9d88;
	font-size:11px;
	margin-left:135px;
}

.dotted {
	border-bottom:dotted 2px #8c6245;
	width:100%;
	height:2px;
}

input[type="text"],  input[type="number"],select 
{
	height:22px;
}
input[type="text"]
{
	height:22px;
}
/*input[type="submit"],input[type="button"],input[type="button"].active
{
	background-color:#47a2c0;
	border:solid 1px #47a2c0;
	border-radius:3px;
	color:#fff;
	padding:10px 20px;
	font-size:16px;
	cursor:pointer;
	opacity: 0.8;
}
/*input[type="button"]
{
	background-color:#e3d1c5;
	border:solid 1px #e3d1c5;
	color:#8c6245;
}*/
div.form .errorSummary ul
{
	margin: 0;
	padding: 0 0 0 20px;
}

div.wide.form label
{
	float: left;
	margin-right: 10px;
	position: relative;
	text-align: right;
	width: 100px;
}

div.wide.form .row
{
	clear: left;
}

div.wide.form .buttons, div.wide.form .hint, div.wide.form .errorMessage
{
	clear: left;
	padding-left: 110px;
}
.add_link {
	background:url(../images/pen.png) bottom left no-repeat;
	padding-left: 16px;
	display:block;
	width:80px;
	color:#51a4be;
	line-height:14px;
	text-decoration: none;
	font-size:14px;
	float:left;
}
.allocation option:first-child {
	background-image: url(../images/icons/night.png) bottom left no-repeat;
}
.allocation option {
	background-image: url(../images/icons/day.png) bottom left no-repeat;
}
.allocation option:last-child {
	background-image: url(../images/icons/hour.png) bottom left no-repeat;
}
div.form input[type="text"].datepicker {
	width::110px !important;
}

.no_border input[type="text"] {
	border:none;
}
.short_input input {
	width:50px;
}
.drop_checkboxes {
	border:solid 1px #ccc;
	padding:10px 10px 10px 20px;
	border-radius:5px;
	max-height:100px;
	overflow-y:auto;
	width:310px;
	float:left;
}
div.form .drop_checkboxes label {
	float: right;
	text-align: left;
	width: 210px;
}
#Customers_permissions_0:checked + div{
	display:none;
}
.checkboxes {
	float:left;
}
.checkboxes input[type="checkbox"], .checkboxes label {
	float:left;
}
div.form .checkboxes label {
	width:auto;
	padding:0px 6px 0px 3px;
	font-size:12px;
}
.filled_input td {
	text-align: center;
}
.filled_input input[type="text"] {
	width:100px;
}
.filled_input .odd input[type="text"] {
	background-color:#f2eee0;
}
.filled_input .even input[type="text"] {
	background-color:#fefcf5;
}
.sample {
	width:120px;
	color:#fff;
	text-align: center;
	height:26px;
	border-radius: 5px;
	line-height:26px;
	float:right;
	margin-right:15px;
	font-size:14px;
	margin-left:15px;
}
input[type="checkbox"] {
	margin-right:3px;
}
.small_input input {
	width:100px;
}
.fieldi{
	width:200px;
	float:left;
}
.sub_title{
	width:100%;
	float:left;
	color:#8c6245;
	font-size:18px;
	border-bottom:solid 1px #8c6245;
}
.ui-datepicker-trigger{
	float:left;
	padding-left:4px;
}
.checkboxes div {
	width:100%;
	float:left;
}
.profiles table tr td:first-child{
	cursor:pointer;
	text-decoration: underline;
}
.fileInputText {
	border-radius: 3px 0px 0px 3px !important;
	margin-top:0px !important;
}
.send-file{
	background-color: #47a2c0;
	border: solid 1px #47a2c0;
	border-radius: 0px 3px 3px 0px;
	color: #fff;
	padding: 10px 20px;
	font-size: 16px;
	cursor: pointer;
	opacity: 0.8;
	width:88px;
	line-height:6px;
	height:26px;
}
.mask {
	float:left;
}
.mask-wrapper {
	float:left;
	width:280px;
	height:60px;
}
.mask-wrapper .fileInputText {
   position: relative;
   
}
.custom-file-input {
   width: 252px;
   opacity: 0;
   filter: alpha(opacity=0);
   position: relative;
   top: -52px;
   left: -16px;
   z-index: 99999;
   cursor: pointer;
   margin-top:0px !important;
}
.primary_contact {
	border:solid 1px #8c6245;
	width:100%;
	min-height:80px;
	padding:10px;
}
.primary_contact p {
	margin:0;
	padding:0;
}
.edit_comm_w {
	width:290px !important;
	height:250px !important;
	padding:20px !important;
}
.edit_comm_w div {
	width:100%;
	float:left;
}