@charset "UTF-8";

@media all
{
  /**
   *  Формы
   */

  div.required span, span.red {
	color: #f00;
	font-size: 15px;
  }

  .note {
	background: #cf9;
	padding: 1em 1.5em;
	border-top: 1px #690 dotted;
	border-bottom: 1px #690 dotted;
	color: #333;
  }

  div.flash-message, .note-message {
	margin: 10px 0 20px 0;
	padding: 15px 25px;
	background-color: #f1f1f1;
	border: 1px solid #ccc;
	color: #f00;
}

.note-message {
	margin: 10px 0 20px 0;
	padding: 15px 25px;
	background-color: #f1f1f1;
	border: 1px solid #ccc;
	color: #333;
}

.error-message {
	border-top: 1px dotted red;
	border-bottom: 1px dotted red;
	padding: 5px 10px;
	background-color: #fcf;
	margin: 5px 0;
}

.success-message {
	border-top: 1px dotted #9c0;
	border-bottom: 1px dotted #9c0;
	padding: 5px 10px;
	background-color: #cf9;
	margin: 5px 0;
}

.error-field { border: 1px solid red !important; }

.fullwidth, .wide { width: 98% !important; }

.mceEditorContainer table td { /* patch mce_editor */
	background: none !important;
	border-bottom: 1px solid #ccc;
	border-left: 2px solid #ccc;
}

.datepicker {
	width: 120px !important;
	display: inline !important;		
}
.ui-datepicker-trigger {
	border: none !important;
	background: none !important;
	padding: 0 5px !important;
	vertical-align: middle;
	cursor: pointer !important;
}

  .yform {
    background: #f1f1f1;
    border: 1px #ccc solid;
    margin: 0 0 1em 0;
    padding: 1em 20px;
  }

  .yform fieldset {
    border: 1px #ccc solid;
    background: #ebebeb;
    margin: 0 0 1em 0;
    padding: 0.5em 1em;
  }

  .yform legend {
    font-size: 125%; font-weight: normal; color: #000;
  }

  .yform label {
    color: #666;
  }

  .yform .type-text input,
  .yform .type-text textarea,
  .yform .type-select select {
    font-family:  Arial, Helvetica, sans-serif; /* proportional fonts for all form elements */
    border: 1px solid #ddd;
  }

  /* :hover and :focus status on form fields */
  form.yform div input:focus,
  form.yform div select:focus,
  form.yform div textarea:focus,
  form.yform div input:hover,
  form.yform div select:hover,
  form.yform div textarea:hover,
  form.yform div input:active,
  form.yform div select:active,
  form.yform div textarea:active {
    border: 1px #9c0 solid;
    background: #fff;
  }

  /* Кнопки */
  form.yform .type-button input {
    border-top: 1px #ddd solid;
    border-left: 1px #ddd solid;
    border-right: 1px #444 solid;
    border-bottom: 1px #444 solid;
    color: #fff;
    background: #454545 url(images/button_gray.png) top left repeat-x;
    padding: .5em 1.2em;
	font-family: arial, helvetica, sans-serif;
	font-size: 1em;
  }

  form.yform .type-button input#reset {
	color: #300;
	background: #661717 url(images/button_red.png) top left repeat-x;
  }
  form.yform .type-button input#submit {
	color: #330;
	background: #5e5607 url(images/button_yellow.png) top left repeat-x;
  }

  /* :hover and :focus status on buttons */
  form.yform div.type-button input:focus,
  form.yform div.type-button input:hover,
  form.yform div.type-button input:active {
    border-top: 1px #444 solid;
    border-left: 1px #444 solid;
    border-right: 1px #ddd solid;
    border-bottom: 1px #ddd solid;
    color: #fff;
    background: #555; 
  }

  form.yform div.type-button input#reset:focus,
  form.yform div.type-button input#reset:hover,
  form.yform div.type-button input#reset:active {
    background: #800; color: #fff;
  }

  form.yform div.type-button input#submit:focus,
  form.yform div.type-button input#submit:hover,
  form.yform div.type-button input#submit:active {
    background: #880; color: #fff;
  }

 /*------------------------------------------------------------------------------------------------------*/

 /**
  * Vertical-Forms - technical base (standard)
  *
  * |-------------------------------|
  * | fieldset                      |
  * |-------------------------------|
  * |   label                       |
  * |   input / select / textarea   |
  * |-------------------------------|
  * | /fieldset                     |
  * |-------------------------------|
  *
  * (en) Styling of forms where both label and input/select/textarea are styled with display: block;
  *
  * WARNING: This part contains several IE-stability-fixes. Don't edit this part if you are not sure,
  *	what you're doing!
  */

  /* General form styling */
  form.yform { overflow: hidden; }
  form.yform fieldset { overflow: hidden; }
  form.yform legend { background: transparent; border: 0; }
  form.yform label { display:block; cursor: pointer; }
  form.yform .message { display: block; margin-bottom: 0.5em; color: #666; }

  /* Hiding of hidden fields (otherwise ugly spaces in Firefox) */
  form.yform input[type=hidden] { display: none !important; }

  /* Highlight mandatory fields */
  form.yform sup { color: #800; font-weight: bold; }

  /* styling containing DIV elements */
  form.yform div.type-text,
  form.yform div.type-select,
  form.yform div.type-check,
  form.yform div.type-button {
    margin: 0.5em 0;
    position: relative;
    overflow: hidden;
  }

  /* styling standard form elements with 'almost' equal flexible width */
  form.yform .type-text input,
  form.yform .type-text textarea {
    display: block;
    position: relative;
    padding: 0.3em 0.3em;
    width: 58.5%;
  }

  form.yform .type-select select {
    display: block;
    position: relative;
    padding: 0.3em 2px 0.3em 1px;
    width: 60%;
    cursor: pointer;
  }
  form.yform .type-select select optgroup {
    font-style: normal;
    font-weight: bold;
  }

  form.yform .type-check input { cursor: pointer; }
  form.yform .type-check label { display: inline; }

  /* Styling of buttons | Gestaltung von Buttons */
  form.yform .type-button input {
    width: auto;
    cursor: pointer;
  }

  /* Styling of error-messages | Fehlermeldungen */
  form.yform div.error {
    border: 1px #a00 dashed;
    background: #faf4f4;
    padding: 0.5em;
  }

  form.yform div.error label { color: #000; font-weight:bold; }
  form.yform div.error .message { color: #800; }

 /*------------------------------------------------------------------------------------------------------*/

 /**
  * Columnar forms display - technical base (optional)
  *
  * |-------------------------------------------|
  * | fieldset                                  |
  * |-------------------------------------------|
  * |                                           |
  * |   label   |   input / select / textarea   |
  * |                                           |
  * |-------------------------------------------|
  * | /fieldset                                 |
  * |-------------------------------------------|
  *
  * (en) Styling of forms where label floats left of form-elements
  * (de) Formulargestaltung, bei der die label-Elemente nach links fließen
  *
  * WARNING: This part contains several IE-stability-fixes. Don't edit this part if you are not sure,
  *	what you're doing!
  */

  /* Columnar display */
  .columnar .type-text label,
  .columnar .type-select label {
    float: left;
    width: 30%; /* Can be fixed width too */
  }

  /* Indent Checkbox fields to match label-width */
  .columnar div.type-check { padding-left: 30%; }
  .columnar div.error .message { margin-left: 30%; }

  .columnar div.type-text input,
  .columnar div.type-text textarea { width: 67.8%; }
  .columnar div.type-select select { width: 69.4%; }
  
  /* width adjustments for IE 5.x & IE6 | Breitenanpassung für Internet Explorer 5.x und 6.0 */
  * html .columnar div.type-text input,
  * html .columnar div.type-text textarea { width: 67.2%; }
  * html .columnar div.type-select select { width: 68.8%; }
  
 /*------------------------------------------------------------------------------------------------------*/

 /**
  * Forms Fieldset/Legend-Bug in IE
  * @see http://www.mattheerema.com/web-design/2006/04/getting-fieldset-backgrounds-and-legends-to-behave-in-ie/
  *
  * @workaround
  * @affected IE 5.x/Win, IE6, IE7
  * @css-for IE 5.x/Win, IE6, IE7
  * @valid yes
  */
  
  /* IE5.x & IE6 */
  * html form.yform legend { position:absolute; top: -.5em; left: .5em; }
  * html form.yform fieldset { overflow:visible; height: 1%; margin-top:1.5em; padding-top:1.5em; }

  /* IE7 */
  *+html form.yform legend { position:absolute; top: -.5em; left: .5em; }
  *+html form.yform fieldset { overflow:visible; height:1%; margin-top:1.5em; padding-top:1.5em; }
}
