table.table_cmc {
border-collapse: collapse;
}
table.table_cmc th, table.table_cmc thead td {
background-color: #fffad3;
color: #000000;
font-weight: bold;
font-family:Verdana; 
font-size: 14;
padding: 3px 10px;
border: 1px solid #505050;
text-align: center;
}

table.table_cmc td {
padding: 5px;
border: 1px solid #505050;
}


/* 23 марта 2009*/
a img{
	border: 0px;
}

/* для плоских таблиц*/
table.cmc_table{
	background-color: #999999;
	border: 0px;
}

table.cmc_table tr{
	background-color: #ffffff;
	border: 0px;
}

table.cmc_table tr td{
	background-color: #ffffff;
	padding: 2;
}


table.cmc_table > tbody > tr{
	background-color: #ffffff;
	border: 0px;
}

table.cmc_table > tbody >  tr > td{
	background-color: #ffffff;
	padding: 2;
}


/* для выравнивания*/
.vaM{
vertical-align: middle;

}

.vaT{
vertical-align: top;
}

.vaB{
vertical-align: bottom;
}


.cPL5
{
 padding: 0 0 0 5px;
}

.cP5
{
 padding: 5px;
}

.aL
{
 text-align: left;
}

.aR
{
 text-align: right;
}

.aC
{
 text-align: center;
}

.tB
{
 font-weight: bold;
}

.tI
{
 font-style: italic;
}

.tU
{
 text-decoration: underline;
}



/* таблица смс*/

.tH{
background-color: #eeeeee;
text-align: center;
font-weight: bold;
}

.tN{
background-color: #E5EFFF;
text-align: center;
}

.tNs{
background-color: #FFFFCC;
text-align: center;
}

.tR{
background-color: #000000;
text-align: center;
height: 2px;
}


/* для элементов*/
.editW{
width: 94%;
border-width: 1px;
}

.myinput{
	border: #999999 solid 1px;
}

.myselect{
	border: #999999 solid 1px;
}

.mybutton{
	border: #999999 solid 1px;
	background-color: #FFFFFF;
}

/* gallery-category */

.gallery_category {
    display: block;
	padding: 0;
	margin: 0;
	text-align: center;
}
.gallery_category > li {
    display: inline-block;
    height: 236px;
    list-style: none outside none;
    margin: 0 20px 22px;
    position: relative;
    vertical-align: top;
}
.gallery_category > li:before {
    content: "" !important;
}
.gallery_category > li > a {
    color: #FFFFFF;
    display: block;
    position: relative;
    text-decoration: none;
    width: 300px;
}
.gallery_category > li > a > span {
    display: block;
    height: 225px;
    overflow: hidden;
    position: relative;
}
.gallery_category > li > a > span img {
    left: 0 !important;
    width: 100%;
}
.gallery_category > li > a > span span {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.6);
    bottom: 0;
    color: #FFFFFF;
    display: block;
    font-size: 13px;
    padding: 5px 10px;
    position: absolute;
    top: auto;
    z-index: 2;
}
.gallery_category > li > a > p {
    background-color: #E9E9E9;
    border-radius: 0 0 6px 6px;
    bottom: 0;
    color: #000000;
    display: block;
    left: 0;
    margin: 2px 0 0;
    overflow: hidden;
    padding: 10px 0;
    position: relative;
    width: 100%;
}
.gallery_category > li > a > p span {
    display: block;
    font-size: 12px;
    padding: 0 6px;
}