.xp-page {
/*	
	overflow-x:auto;
    max-height:20000px;
*/
}
.content * {
	max-width: 100% !important;
	/*height: auto;*/
}

.xp-cb-large{
	width:11px !important;
	height:11px !important;
}
.xp-highlight{
    font-weight:bold;
    color:highlight;
}
.xp-width-20{
	width:20px;
}
.xp-width-100{
	width:100px;
}
.errors, .errors li{
	color:red;
}



.zend_form {
}

.zend_form input,.zend_form select {
	width: auto !important;
	max-width: 250px !important;
}
.zend_form_button input {
	width: 61px;
}
.zend_form dt {
	margin-bottom: 0.2em;
	text-decoration: none;
}

.zend_form dd {
	margin: auto 0 1em 0 !important;
	padding: 0 !important;
}

.zend_form .required{
	font-weight:bold;
}
.zend_form .description,.xp-description{
	font-weight:normal;
	font-style: italic;	
}

/*CSS правила для висячей пунктуации*/

span.sbrace {margin-right: 0.5em}
span.hbrace {margin-left: -0.5em}

span.slaquo {margin-right: 0.44em}
span.hlaquo {margin-left: -0.44em}
span.slaquo-s {margin-right: 0.7em}
span.hlaquo-s {margin-left: -0.7em}
span.slaquo-b {margin-left: 0.85em}
span.hlaquo-b {margin-left: -0.85em}

span.sbdquo {margin-right: 0.4em}
span.hbdquo {margin-left: -0.4em}
span.sbdquo-s {margin-right: 0.35em}
span.sbdquo-s {margin-left: -0.35em}

span.squot {margin-right: 0.32em}
span.hquot {margin-left: -0.32em}

span.sowc {margin-right: 0.04em}
span.howc {margin-left: -0.04em}

span.sowcr {margin-right: 0.05em}
span.howcr {margin-left: -0.05em}



/* style for html editor { */

#html {
	padding: 0 !important;
}

#html:focus {
	border: none !important;
}

#cke_html {
	position: relative;
	border: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

#cke_contents_html  {
	border: none !important;
}

#cke_contents_html:hover {
	border: none !important;
}
.cke_skin_kama , .cke_contents {
	margin: 0 !important;
	padding: 0 !important;
}
/* New */
/*

.cke_skin_default , .cke_skin_kama , .cke_skin_office2003 , .cke_skin_v2 {

	background-image: none;
	text-align: left;

	-moz-border-radius:0;
	-webkit-border-radius:0;
	border-radius:0;
	border:none;
	border-color:#eee #ddd #ccc #ddd;
	
}
*/

/* } style for html editor */


.left {
	float: left;
	margin: auto 2em 1em 0;
}

.right {
	float: right;
	margin: auto 0 1em 2em;
}

.center {
	display: block; 
	margin: 0 auto;
}

.image-preview {
	max-width: 160px !important;
	height: auto !important;
	text-align: inherit !important;
}
.image-preview-left {
	max-width: 160px !important;
	height: auto !important;
	float: left;
	margin: auto 2em 1em 0;
}
.image-preview-center {
	max-width: 160px !important;
	height: auto !important;
	display: block; 
	margin: 0 auto;
}
.image-preview-right {
	max-width: 160px !important;
	height: auto !important;
	float: right;
	margin: auto 0 1em 2em;
}

i, i * , em , em * {
	font-style: italic !important;
}

b , b * , strong , strong * {
	font-weight: bold !important;
}
