/* --------------------------------------------------------------

   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)

-------------------------------------------------------------- */


form {max-width:100%; min-width:100px;}

/* 
	A special hack is included for IE8 since it does not apply padding 
	correctly on fieldsets
 */ 
label       { font-weight: bold; }
fieldset    { padding:0 1.4em 1.4em 1.9em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
legend      { font-weight: bold; font-size:1.2em; margin-top:-0.2em; margin-bottom:1em; padding:0px 5px 0px 5px;}

fieldset, #IE8#HACK { padding-top:1.4em; } 
legend, #IE8#HACK { margin-top:0; margin-bottom:0; }

/* Form fields
-------------------------------------------------------------- */

/* 
  Attribute selectors are used to differentiate the different types 
  of input elements, but to support old browsers, you will have to 
  add classes for each one. ".title" simply creates a large text  
  field, this is purely for looks.
 */
input[type=text], input[type=password],
input.text, input.title,
textarea {
  background-color:#fff;
  border:1px solid #bbb;
}
input[type=text]:focus, input[type=password]:focus,
input.text:focus, input.title:focus,
textarea:focus {
  border-color:#666;
}
select { background-color:#fff; border-width:1px; border-style:solid; }

input[type=text], input[type=password],
input.text, input.title,
textarea, select {
  margin:0.5em 0;
}

input[disabled] {background:#f0f0f0; color:#aaa;}

input.text,
input.title   { width: 300px; padding:5px; }
input.title   { font-size:1.5em; }
input.plus {height:22px; width:25px; padding:0; line-height:0; font-weight:bold; font-size:14px; font-family:Arial;}
textarea.standart      { width: 390px; height: 250px; padding:5px; }

/*Safari*/
select, input, textarea, button {outline:none; resize:none;}

form dl {margin:0px 0px 10px 0px;}

/* 
  This is to be used on forms where a variety of elements are 
  placed side-by-side. Use the p tag to denote a line. 
 */
form.inline { line-height:3; }
form.inline p { margin-bottom:0; }


/* Success, info, notice and error/alert boxes
-------------------------------------------------------------- */

div.error,
div.alert, 
div.notice,
div.success, 
div.info 			{ padding: 0.8em; margin-bottom: 1em; border: 2px solid #ddd; }

div.error, div.alert { background: #fbe3e4; color: #8a1f11; border-color: #fbc2c4; }
div.notice     { background: #fff6bf; color: #514721; border-color: #ffd324; }
div.success    { background: #e6efc2; color: #264409; border-color: #c6d880; }
div.info 			{ background: #d5edf8; color: #205791; border-color: #92cae4; }
div.error a, div.alert a { color: #8a1f11; }
div.notice a   { color: #514721; }
div.success a  { color: #264409; }
div.info a			{ color: #205791; }

input.processing {background:url("/bitrix/templates/main/inc/header/userpanel/stripe_load.png") #fff repeat scroll 0 0;}


form dl.captcha {vertical-align:baseline;}
form dl.captcha img {float:left; margin:8px 10px 0px 0px; padding:0; height:30px; display:inline;line-height:0;}
form dl.captcha input { margin:8px 0px 0px 0px; padding:0px 0px 0px 5px; height:28px; width:80px; display:inline; line-height:0; font-size:22px;}

input.error, select.error {background:#faa;}
input.success, select.success {background: #afa;}

span.error {display:inline; background:#faa; padding:0px 7px 3px 7px; color:#fff;}
span.success {display:inline; background:#afa; padding:0px 7px 3px 7px;}

label span.star {color:red; font-size:18px; line-height:0; font-family:sans serif; margin:-6px; position:relative; left:-4px;}
span.help-text {display:block; font-size:10px;font-family:Verdana; color:#aaa;}


input.submit {float:right}


fieldset.dl-inline {}
fieldset.dl-inline dl {float:left; margin:0px 10px 10px 10px;}

