/*Ссылки с прикреплением (в редакторе надо создать только один стиль с классом a_attached. При наличие прикрепленного файла его тип определится автоматически и подставится соответствующая иконка. Если прикоепления нет или его тип не попадает под описанные, то ссылка будет обычной. При необходимости можно добавить другие иконки для других типов фалов или что-то заменить в данном наборе. Делается это путем добавления картинок размера 19*25 и внесения соответствующих изменений в данный стилевой файл. В редакторе никаких изменений не будет)*/
.a_attached[href$="doc"],
.a_attached[href$="docx"],
.a_attached[href$="rtf"],
.a_attached[href$="zip"],
.a_attached[href$="rar"],
.a_attached[href$="pdf"],
.a_attached[href$="jpg"],
.a_attached[href$="jpeg"],
.a_attached[href$="pjpeg"],
.a_attached[href$="gif"],
.a_attached[href$="png"],
.a_attached[href$="xls"],
.a_attached[href$="xlsx"],
.a_attached[href$="txt"] {
	display: inline-block;
}

.a_attached[href$="doc"]:before,
.a_attached[href$="docx"]:before,
.a_attached[href$="rtf"]:before,
.a_attached[href$="zip"]:before,
.a_attached[href$="rar"]:before,
.a_attached[href$="pdf"]:before,
.a_attached[href$="jpg"]:before,
.a_attached[href$="jpeg"]:before,
.a_attached[href$="pjpeg"]:before,
.a_attached[href$="gif"]:before,
.a_attached[href$="png"]:before,
.a_attached[href$="xls"]:before,
.a_attached[href$="xlsx"]:before,
.a_attached[href$="txt"]:before {
	content: '';
	display:inline-block;
	vertical-align:middle;
	/*padding-right: 12px;
	padding-right: 30px;*/
	margin-right: 12px;
    background-repeat: no-repeat;
    height: 54px;
    width: 38px;
    background-image:url("/desimages/attach_sprite.png");
}
.a_attached[href$="rtf"]:before{background-image:url("/desimages/attach_sprite.png");}
.a_attached[href$="doc"]:before {background-position: -433px 2px;}
.a_attached[href$="docx"]:before {background-position: -97px 2px;}
.a_attached[href$="xlsx"]:before {background-position: -145px 2px;}
.a_attached[href$="zip"]:before {background-position: -193px 2px;}
.a_attached[href$="rar"]:before {background-position: -529px 2px;}
.a_attached[href$="pdf"]:before {background-position: -289px 2px;}
.a_attached[href$="jpg"]:before {background-position: -337px 2px;}
.a_attached[href$="gif"]:before {background-position: -577px 2px;}
.a_attached[href$="png"]:before {background-position: -385px 2px;}
.a_attached[href$="xls"]:before {background-position: -481px 2px;}
.a_attached[href$="txt"]:before {background-position: -49px 2px;}
.a_no_link, .a_no_link:hover{font:inherit;color:inherit;text-decoration:none;cursor:text;}

/*Картинка по центру*/
.img_center{margin:0 auto!important;width:auto;float:none!important;display:block;}
.img_center img{float:none!important;display:block;margin: 12px auto;}
/*Картинка справа*/
.img_right{margin:6px 0px 6px 12px;float:right;}
.img_right img{float:right!important;}
/*Картинка слева с обтеканием*/
.img_left{margin:6px 12px 6px 0px;float:left}
.img_left img{float:left!important;}
/*Картинка без обтекания*/
.img_no{margin:12px 0px;float:none!important;}
.img_no img{float:none!important;}
/*Картинка без границ*/
.img_no_border{border:0px !important;padding:0px!important;}