/* Global Modificators */
.m-hide{display: none;}
.m-over{z-index: 9999;}
.m-clear{clear: both;}
.m-small {font-size:85%;}
.m-big {font-size:160%;}

h1
{
	margin:0; padding:0;
	font-size:150%;
	margin-bottom:10px;
	padding-bottom:4px;
	padding-top:10px;
   	border-bottom:1px solid #EFEFEF;
    color: #000;
    font-weight: normal;
}

h2
{
    font-size:140%;
    color: #333;
    font-weight: normal;
    margin-bottom: 10px;
    padding-top: 10px;
}

h3
{
	font-size:110%;
    color: #333;
    font-weight: bold;
}

h4, h5, h6
{
	font-size:110%;
}

p {margin: 1em 0; line-height: 1.2em;}

small, .small,
{font-size:85%;}


hr
{
	width:100%;
	height: 1px;
	border: medium none;
	color: #d1d0d0;
	background-color: #d1d0d0;
	margin:8px 0
}

/*Links*/
a:link {color: #0040cc;}
a:visited{color:#4e1a8b;}
a:hover{color:#ff4000;}
a:active {color: #0745b8;}


a.m-simple:link, a.m-simple:visited, a.m-simple:active {text-decoration: none;}
a.m-simple:hover{text-decoration: underline;}

a.m-black:link, a.m-black:visited, a.m-black:active{color: #000;}
a.m-black:hover{color:#ff4000;}


button
{
  height: 2.5em;
}


img{border: none;}
img.border {-moz-border-radius:4px; -webkit-border-radius:4px; background-color:#FFFFFF; border:1px solid #CCCCCC; padding:2px;}


div.clear
{
    clear:both;
    font-size:0;
}




/*Data table*/
table.data-table
{
	border:1px solid #F5DBC9;
	border-collapse:collapse;
}

/*Any cell*/
table.data-table td
{
	border:1px solid #F5DBC9;
	background-color:#FFFFFF;
	color:#333;
	padding:3px 5px;
}

/*Head cell*/
table.data-table thead td, table.data-table th
{
	background-color:#ffbf00;
	text-align:center;
	font-weight:normal;
	background-image:none;
	border:1px solid #f9dcbe;
	padding:4px;
	color:#333;
}

/*Body cell*/
table.data-table tbody td
{
	background-color:#FFF;
	background-image:none;
	color:#333;
}

/*Foot cell*/
table.data-table tfoot td
{
	background-color:#eeeeee;
	padding:4px;
	color:#333;
}

/* Таблица с вложенным рисунком */
table.table_image
{
    margin-right: 10px;
    margin-bottom: 10px;
}

/*Error & OK messages*/
.errortext
{
	color:red;
}

.notetext
{
	color:green;
}

/* Used to draw a "star" near reqired field */
.starrequired
{
	color:red;
}
