.modal{position: fixed; left: 0px; top: 0px; display: block; background: rgb(0,0,0); width: 100%; height: 100%; z-index: 1000; opacity: 0.7; filter: alpha(opacity=70); -moz-opacity: 0.7; -khtml-opacity: 0.7;}
.modal_window{display: block; width: auto; height: auto; position: fixed; left: 50%; top: 50%; background: rgb(240,240,240); z-index: 1002;}
.modal_window-frame_left{display: block; clear: both; width: 100%; height: 100%; background: url('../img/modal_window/frame_left.png') left top repeat-y}
.modal_window-frame_right{display: block; clear: both; width: 100%; height: 100%; background: url('../img/modal_window/frame_right.png') right top repeat-y}
.modal_window-frame_bottom{display: block; clear: both; width: 100%; height: 100%; background: url('../img/modal_window/frame_bottom.png') left bottom repeat-x}
.modal_window-frame_top{display: block; clear: both; width: 100%; height: 100%; background: url('../img/modal_window/frame_top.png') left top repeat-x}
.modal_window-frame_bottom_right{display: block; clear: both; width: 100%; height: 100%; background: url('../img/modal_window/frame_bottom_right.png') right bottom no-repeat}
.modal_window-frame_bottom_left{display: block; clear: both; width: 100%; height: 100%; background: url('../img/modal_window/frame_bottom_left.png') left bottom no-repeat}
.modal_window-frame_top_right{display: block; clear: both; width: 100%; height: 100%; background: url('../img/modal_window/frame_top_right.png') right top no-repeat}
.modal_window-frame_top_left{display: block; clear: both; width: 100%; height: 100%; background: url('../img/modal_window/frame_top_left.png') left top no-repeat}
.modal_window_form{display: block; clear: both; padding: 7px}

.modal_window h2{font-size: medium; _font-size: small; padding: 10px; color: rgb(0,153,204); font-weight: bold}
.modal_window .element_group_edit{margin: 0px; border: 0px; background: none; font-size: 13px; padding: 0px}
.modal_window #element_group_edit_1{margin: 0px; font-size: small; _font-size: x-small; padding: 0px 10px 0px}
.modal_window #element_group_edit_1 input{width: 224px}
.modal_window #element_group_edit_2{border: none; background: none; padding: 15px 10px 0px; clear: both}

.modal_window .info{/*border-top: 1px solid rgb(220,220,210);*/ margin-top: 10px}
.modal_window .small_info{font-size: 11px; display: block; clear: both; /*margin: 5px 0px 0px 205px; width: 408px;*/ padding: 5px 0px 15px; overflow: auto}

#login_form{width: 284px; height: 280px; margin-left: -142px; margin-top: -140px;}
#new_component_form{width: 384px; height: 225px; margin-left: -192px; margin-top: -85px;}
#confirmation_form{width: 384px; margin-left: -192px; margin-top: auto;}
#status_wait_form{width: 384px; height: 225px; margin-left: -192px; margin-top: -85px;}
.modal_window #element_group_edit_1 input#form_component_title{width: 324px}

#coupon_form{width: 620px; height: 404px; margin-left: -310px; margin-top: -202px;}
#del_coupon_form{width: 384px; height: 150px; margin-left: -192px; margin-top: -75px;}

.modal_window.coupon_form h2{
	border-bottom: 1px solid rgb(0,153,204);
}
.inline_item{
	display: block;
	clear: both;
	padding: 2px;
	margin-top: 3px;
	font-size: 13px;
	/*color: rgb(0,153,204);*/
	overflow: auto;
}
.inline_item .error_message{
	display: none;
	clear: right;
	float: right;
	color: rgb(218, 37, 28);
	padding: 4px 15px 5px 0px;
	font-size: 11px;
	font-weight: bold;
}
.inline_item .unit{
	display: block;
	float: left;
	clear: none;
	padding: 4px 5px 0px;
	font-weight: bold;
}
.inline_item label{
	display: block;
	float: left;
	clear: left;
	width: 200px;
	text-align: right;
	padding: 4px 5px 0px 0px;
}
.modal_window.coupon_form #element_group_edit_1 {
	margin-top: 5px;
}
.modal_window #element_group_edit_1 .inline_item input {
	display: block;
	float: left;
	clear: none;
	width: 150px;
	padding: 3px;
	margin: 0px;
	text-align: right;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	z-index: 1;
	outline-color: #CC0;
}
.modal_window #element_group_edit_1 .inline_item.item_date .combobox_date {
	display: block;
	float: left;
	clear: none;
	width: 156px;
	height: 24px;
	padding: 0px;
	margin: 0px;
	background: rgb(245,245,245);
	border: 1px solid rgb(0,153,204);
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	z-index: 1;
}
.modal_window #element_group_edit_1 .inline_item.item_date input.input_date {
	width: 126px;
	padding: 3px;
	border: none;
	outline: none;
	cursor: pointer;
}
.inline_item #date_delete{
	display: block;
	float: left;
	clear: none;
	width: 24px;
	height: 24px;
	padding: 0px;
	background: url('../img/datepicker/delete.png') -1px -1px no-repeat;
	cursor: pointer;
}
.modal_window #element_group_edit_1 .inline_item.item_date .combobox_date.focused{
	outline-width: 2px;
	outline-style: auto;
	outline-color: #CC0;
	/*outline-color: -webkit-focus-ring-color;*/
}
.modal_window #element_group_edit_1 .inline_item.error input, .modal_window #element_group_edit_1 .inline_item.error .combobox_date {
	border-color: rgb(218,37,28);
	-webkit-box-shadow: 0px 0px 5px rgba(218,37,28,.7); -moz-box-shadow: 0px 0px 5px rgba(218,37,28,.7); box-shadow: 0px 0px 5px rgba(218,37,28,.7);
}
.modal_window #element_group_edit_1 .inline_item input.checkbox_input {
	width: auto;
	margin: 6px 0px 0px;
}
.modal_date{
	margin-top: 4px;
	margin-left: -4px;
}

#news_recipient_form{width: 420px; height: 170px; margin-left: -210px; margin-top: -75px;}
#del_news_recipient_form{width: 384px; height: 150px; margin-left: -192px; margin-top: -75px;}
#news_recipient_form .inline_item.item_email{
  height: 51px;
}
#news_recipient_form .inline_item.item_email label{
  width: 60px;
}
#news_recipient_form .inline_item.item_email input{
  width: 280px;
  text-align: left;
}
#news_recipient_form .inline_item .error_message{
  clear: both;
  float: left;
  margin-left: 65px;
}

/* MODAL EDIT BEGIN */
#component_edit_form{width: 760px; height: 500px; margin-left: -380px; margin-top: -250px;}
#component_edit_form .modal_window-head{display: block; clear: both; border-bottom: 1px solid rgb(0,153,204);}
#component_edit_form .modal_window-head h2{display: block; clear: both; padding: 10px; border-bottom: none;}
#component_edit_form .modal_window-body{display: block; clear: both; width: 746px; height: 400px; overflow: auto; background: rgb(255,255,255); font-size: 12px; color: rgb(51,51,51);}
#component_edit_form .modal_window-body-fill{padding: 10px;}
#component_edit_form .modal_window-foot{display: block; clear: both; height: 42px; border-top: 1px solid rgb(0,153,204); position: relative;}
#component_edit_form .modal_window-close{margin: 7px 10px; float: right; clear: right; display: block; width: 120px; height: 28px; cursor: pointer; background: url('../img/form/mdi_component_edit_cancel.png') no-repeat}
#component_edit_form .modal_window-save{margin: 7px 10px; float: left; clear: left; display: block; width: 120px; height: 28px; cursor: pointer; background: url('../img/form/mdi_component_edit_save.png') no-repeat}
.modal_window-close span{display: none}

#component_edit_form .inline_item.multilang_item{
  background: url('../img/multilang_item.png') right bottom no-repeat;
}
#component_edit_form .inline_item label{
  font-weight: normal;
}
#component_edit_form .inline_item.important_item label{
  font-size: 13px;
  font-weight: normal;
}
#component_edit_form .inline_item .text_input{
	display: block;
	float: left;
	clear: none;
  width: 480px;
	padding: 3px;
	margin: 0px;
	text-align: left;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	z-index: 1;
  color: rgb(51,51,51);
	outline-color: rgb(204,204,0);
  background-color: rgb(255,255,255);
}
#component_edit_form .inline_item .select_input{
	display: block;
	float: left;
	clear: none;
	padding: 2px;
	margin: 0px;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	z-index: 1;
	outline-color: rgb(204,204,0);
  background-color: rgb(255,255,255);
}
#component_edit_form .inline_item.important_item input{
  border-width: 1px;
  font-weight: normal;
  font-size: 13px;
}
#component_edit_form .inline_item.readonly_item .text_input{
  background: rgb(245,245,245);
}
#component_edit_form .inline_item.textarea_input_item textarea{
  display: block;
  float: left;
  width: 488px;
  height: 206px;
  padding: 3px;
  margin: 0px;
  font-weight: normal;
  clear: none;
}
#component_edit_form .inline_item.textarea_input_item .tinymce{
  width: 488px;
  height: 206px;
}
#component_edit_form .inline_item.textarea_input_item .defaultSkin{
  display: block;
  float: left;
  width: 488px;
  height: 206px;
}
#component_edit_form .inline_item.textarea_input_item .mceLayout{
  width: 488px;
  height: 206px;
}
#component_edit_form .inline_item.textarea_input_item .mceEditor{
  clear: none;
}
#component_edit_form .inline_item.textarea_input_item .defaultSkin table.mceLayout{
	border: 1px solid rgb(0,153,204);
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
#component_edit_form .inline_item.textarea_input_item .defaultSkin table.mceLayout tr.mceFirst td{
  border: none;
	border-radius: 3px 3px 0px 0px;
	-moz-border-radius: 3px 3px 0px 0px;
	-webkit-border-radius: 3px 3px 0px 0px;
}
#component_edit_form .inline_item.textarea_input_item .defaultSkin .mceIframeContainer{
  border-bottom: none;
}
#component_edit_form .inline_item.textarea_input_item .defaultSkin iframe{
	border-radius: 0px 0px 3px 3px;
	-moz-border-radius: 0px 0px 3px 3px;
	-webkit-border-radius: 0px 0px 3px 3px;
}
#component_edit_form .inline_item .error_message{
  clear: both;
  float: left;
  margin-left: 205px;
  font-weight: normal;
}
#component_edit_form .inline_item.error .error_message{
  display: block;
}

/* MODAL EDIT END */