#topdiv
{
	background:#000000 url('../img/top/mailing_top.jpg') center left no-repeat;
	font-family: verdana,sans-serif;
	text-align:left;
	margin: 0px;
	margin-top:0px;
	margin-bottom:0px;
	width:100%;
	font-size:16px;
	height:120px;
	border-bottom: 1px solid #000;
}

a
{
color:#C3C3C3;
}

.tekst .form
{
margin-left:auto;
margin-right:auto;
}



span.fi a{
color: #FFF;
}

div.thumbs div.thumb {
	float: left;
	width: 20%;
	margin: 1%;
	padding: 1%;
	border: solid 1px #e8e8e8;
	background: transparent url('../img/bgmenu.gif');
}
div.thumb span.fi1, div.thumb span.fi2
{
	padding: 2px 5px;
	display: block;
	width: auto;
}
span.fi_img {
	display: block;
	float: right;
	clear: left;
}
span.fi_img img {
	margin: 20px -20px 0 0;
}

/* list-view */
span.li1, span.li2 {
	display: block;
	float: left;
	clear: left;
	width: 99%;
}

span.li2 {
	background-color: #333;
}

span.fi, span.fi_long, span.fi_ico, span.fi_img_hide, span.MF_tree {
	display: block;
	float: left;
	padding: 2px 5px;
	width: 150px;
}
span.fi_long {
	width: 300px;
}
span.fi_ico, span.fi_img_hide {
	width: 30px;
}
span.MF_tree {
	width: 15px;
}


img.fi_img_hide {
	display: none;
	position: absolute;
	z-index: 20;
	border: solid 2px #cfcecd;
}

span.MF_label {
	font-style: italic;
	color: #FFF;
}

/* item-view */
div.field1, div.field2 {
	display: block;
	float: left;
	clear: left;
	width: 99%;
}
div.field2 {
	background-color: #333;
}
div.field1 span, div.field2 span {
	display: block;
	float: left;
	clear: left;
	width: 250px;
	text-align: right;
	font-style: italic;
	padding: 2px 15px;
}
div.field1 span.MF_nobr, div.field2 span.MF_nobr {
	display: block;
	float: left;
	clear: none;
	width: auto;
	white-space: nowrap;
}
span.MF_nobr img {
	border: solid 1px #fff;
	margin-left: 0px;
	margin-top: 3px;
}

span.MF_nobr img.MF_imgxs {
	margin-left: -22px;
}
span.MF_nobr input.MF_chdel {
	margin-top: -27px;
	margin-left:-3px;
	display: block;
}
span.MF_nobr input.MF_rdimg {
	margin-top: auto;
	display: block;
}



span.field2 {
	background-color: #222;
}
span.fi2 {
	background-color: #333;
}

div.thumb span.fi1, div.thumb span.fi2
{
	display: block;
	float: left;
}

a img.viewimg
{
	margin-left: -3px;
	border:0;
}

img.icon, input.icon {

	margin-bottom: -6px;
}
img.icon_fade, input.icon_fade {
	margin-bottom: -6px;
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
	-moz-opacity:0.5;
	opacity: 0.5;
}
img.icon_fade:hover, input.icon_fade:hover {
	margin-bottom: -6px;
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
	-moz-opacity:1;
	opacity: 1;
}
/* pages */
div.pages {
	line-height: 1.5em;
	width: auto;
	margin-top: -1em;
	padding-bottom: 2px;
	clear: both;
}
div.pages a, div.pages span {
	clear: none;
	display: block;
	float: left;
	text-align: center;
	color: #F00;
	clear: none;
	background: transparent;
}
div.pages span.total {
	display: block;
	//float: right;
	clear: both;
	color: #fff;
}
div.pages a, div.pages span.p, div.pages span.e {
	width: auto;
	height: 20px;
	padding: 2px 6px 0px 6px;
	margin: -2px 1px 0px 1px;
	border: 0;
	text-decoration: none;
	//background-image: url(img/btn_bg.gif);
	//background-repeat: no-repeat;
	//background-position: center top;
	//background-color: transparent;
}
div.pages span.e {
	width: 0px;
	margin: 0px 1px 0px 1px;
	border: 0;
}
div.pages a:hover, div.pages span.p {
	color: #CCC;
	text-decoration: none;
	border: 0;
	background-color: #555;
}

div.pages span.p {
	font-weight:bold;
}

div.form
{
	margin: 10px;
	padding: 5px;
	border: 0;
	background: transparent url(../img/cnr_form.gif) top left no-repeat;
}
div.form div#new {
	display: none;
}

span.toggle {
	cursor: pointer;
	display: block;
	padding-bottom: 0px;
	margin-bottom: 0;
	height: 22px;
}

div.MF_view {
	float: right;
	padding: 4px 5px 0px 7px;
	margin: 0px 7px 0 0;
	background: transparent url(../img/cnr_view.gif) no-repeat bottom left ;
}
div.MF_view a{
color:#fff;
}
div.MF_filt {
	clear:both;
	float: right;
	padding: 3px 5px 10px 7px;
	margin: 0px 7px 0 0;
	background: transparent url(../img/cnr_view.gif) no-repeat bottom left ;
}
div.MF_view a {
	text-decoration: none;
}

textarea.ta {
	width: 350px;
}
textarea.rte {
	width: 500px;
	height: 150px;
}
textarea.rtedefault {
clear:both;
width:100%;
height: 350px;
}
textarea.rteadvanced {
clear:both;
width:100%;
height: 350px;
}
textarea.rtesimple {
clear:both;
width:100%;
height: 350px;
}
/* end man styles */
/* RTE */
textarea.rtefull, textarea.editorsmall
{
clear:both;
width:100%;
height: 350px;
}

/* sort */
div.MD_sort {
	color: #999;
	float: right;
	padding: 0px 0 0px 7px;
	margin: 0px 10px 0 0;
	bbackground: url(../img/cnr_view.gif) no-repeat bottom left #cfcecd;
}
div.MD_sort span {
	display: block;
	float: left;
}
a.sort_a, a.sort_a_fade, a.sort_d, a.sort_d_fade
{
	display: block;
	float: left;
	min-width: 11px;
	width: 11px;
	height: 22px;
	background-repeat: no-repeat;
	background-position: right bottom;
}
a.sort_a, a.sort_a_fade
{
	width: auto;
	padding: 0 13px 0 5px;
}
a.sort_a_fade, a.sort_d_fade
{
	background-position: right top;
}
a.sort_a:hover, a.sort_a_fade:hover, a.sort_d:hover, a.sort_d_fade:hover
{
	text-decoration: none;
	background-position: right bottom;
}


.selectmailtemplate
{
	margin: 2px 0px 10px 0px;
}


/* message */
div#message_mail {
	position: absolute;
	display: block;
	width: 200px;
	height: auto;
	z-index: 20;
	background-color: #ffeebb;
	border: solid 1px #f00;
	text-align: center;
	padding: 3px;
	padding: 30px 20px 25px 20px;
	margin: 150px 0 0 200px;
	color: #c33;
	cursor: pointer;
}
div#message_mail a.ok {
	display: block;
	border: solid 1px #f66;
	background-color: #ffdddd;
	padding: 5px 0;
	color: #f66;
	margin: 25px 50px 0 50px;
	text-decoration: none;
	font-weight: bold;
}
div#message_mail a.ok:hover {
	color: #f00;
	background-color: #ffd8d8;
}

