/*
Кнопки основного меню
*/
DIV.mainmenu {
}

DIV.mainmenu A {
	display: block;
	white-space: nowrap;
	color: #185220;
    font-family: Tahoma, Arial, sans-serif;
	font-size: 15px;
	font-weight: bold;
    width: 172px;
}

DIV.mainmenu A:hover,
DIV.mainmenu A.active {
  color: #513610;
}

DIV.mainmenu SPAN.wrapper-left,
DIV.mainmenu SPAN.wrapper-right,
DIV.mainmenu SPAN.wrapper-center {
	display: block;
	height: 51px;
}

DIV.mainmenu SPAN.wrapper-center SPAN {
	line-height: 48px;
	padding-left: 0px;
	padding-right: 0px;
	display: block;
	height: 51px;
}


DIV.mainmenu SPAN.wrapper-center {
	background: url(../images/menu_center.png) repeat-x 0px 0px;
    margin-left: 7px;
    margin-right: 7px;
}

DIV.mainmenu A:hover SPAN.wrapper-center,
DIV.mainmenu A.active SPAN.wrapper-center {
	background: url(../images/menu_center.png) repeat-x 0px -51px;
}


DIV.mainmenu SPAN.wrapper-left {
	background: url(../images/menu_left.png) no-repeat left 0px;
}

DIV.mainmenu A:hover SPAN.wrapper-left,
DIV.mainmenu A.active SPAN.wrapper-left {
	background: url(../images/menu_left.png) no-repeat left -51px;
}

DIV.mainmenu SPAN.wrapper-right {
	background: url(../images/menu_right.png) no-repeat right 0px;
}

DIV.mainmenu A:hover SPAN.wrapper-right,
DIV.mainmenu A.active SPAN.wrapper-right {
	background: url(../images/menu_right.png) no-repeat right -51px;
}



/*
Колонка слева
Колонка справа
*/
DIV.auxcolumn {
	float: left;
    width: 200px;
}

/*Верхняя часть*/
DIV.auxcolumn SPAN.wrapper-up-left,
DIV.auxcolumn SPAN.wrapper-up-right,
DIV.auxcolumn SPAN.wrapper-up-center {
	display: block;
	height: 10px;
}

DIV.auxcolumn SPAN.wrapper-up-center {
	background: url(../images/frame_up_center.png) repeat-x 100%;
    margin-left: 8px;
    margin-right: 10px;
}

DIV.auxcolumn SPAN.wrapper-up-left {
	background: url(../images/frame_up_left.png) no-repeat left;
}


DIV.auxcolumn SPAN.wrapper-up-right {
	background: url(../images/frame_up_right.png) no-repeat right;
}

/*Нижняя часть*/
DIV.auxcolumn SPAN.wrapper-down-left,
DIV.auxcolumn SPAN.wrapper-down-right,
DIV.auxcolumn SPAN.wrapper-down-center {
	display: block;
	height: 10px;
}

DIV.auxcolumn SPAN.wrapper-down-center {
	background: url(../images/frame_down_center.png) repeat-x;
    margin-left: 8px;
    margin-right: 10px;
}

DIV.auxcolumn SPAN.wrapper-down-left {
	background: url(../images/frame_down_left.png) no-repeat left;
}


DIV.auxcolumn SPAN.wrapper-down-right {
	background: url(../images/frame_down_right.png) no-repeat right;
}

/*Контент*/
DIV.auxcolumn SPAN.wrapper-content-left,
DIV.auxcolumn SPAN.wrapper-content-right,
DIV.auxcolumn SPAN.wrapper-content-center {
	display: block;
	min-height: 200px;
}

DIV.auxcolumn SPAN.wrapper-content-center {
	background: url(../images/frame_content_center.png) repeat;
    margin-left: 8px;
    margin-right: 10px;
    padding-top: 2pt;
    padding-bottom: 6pt;
}

DIV.auxcolumn SPAN.wrapper-content-left {
	background: url(../images/frame_content_left.png) repeat-y left;
}


DIV.auxcolumn SPAN.wrapper-content-right {
	background: url(../images/frame_content_right.png) repeat-y right;
}

/*
Основная колонка
*/
DIV.maincolumn {
	width: 686px;
	float: left;
    margin-left: 5px;
    margin-right: 5px;
    text-align: left;
}

/*Верхняя часть*/
DIV.maincolumn SPAN.wrapper-up-left,
DIV.maincolumn SPAN.wrapper-up-right,
DIV.maincolumn SPAN.wrapper-up-center {
	display: block;
	height: 10px;
}

DIV.maincolumn SPAN.wrapper-up-center {
	background: url(../images/middle_up_center.png) repeat-x;
    margin-left: 8px;
    margin-right: 10px;
}

DIV.maincolumn SPAN.wrapper-up-left {
	background: url(../images/middle_up_left.png) no-repeat left;
}


DIV.maincolumn SPAN.wrapper-up-right {
	background: url(../images/middle_up_right.png) no-repeat right;
}

/*Нижняя часть*/
DIV.maincolumn SPAN.wrapper-down-left,
DIV.maincolumn SPAN.wrapper-down-right,
DIV.maincolumn SPAN.wrapper-down-center {
	display: block;
	height: 10px;
}

DIV.maincolumn SPAN.wrapper-down-center {
	background: url(../images/middle_down_center.png) repeat-x;
    margin-left: 8px;
    margin-right: 10px;
}

DIV.maincolumn SPAN.wrapper-down-left {
	background: url(../images/middle_down_left.png) no-repeat left;
}


DIV.maincolumn SPAN.wrapper-down-right {
	background: url(../images/middle_down_right.png) no-repeat right;
}

/*Контент*/
DIV.maincolumn SPAN.wrapper-content-left,
DIV.maincolumn SPAN.wrapper-content-right,
DIV.maincolumn SPAN.wrapper-content-center {
	display: block;
	min-height: 400px;
}

DIV.maincolumn SPAN.wrapper-content-center {
	background: url(../images/middle_content_center.png) repeat;
    margin-left: 8px;
    margin-right: 10px;
    padding: 3pt;
    padding-bottom: 10pt;
}

DIV.maincolumn SPAN.wrapper-content-left {
	background: url(../images/middle_content_left.png) repeat-y left;
}


DIV.maincolumn SPAN.wrapper-content-right {
	background: url(../images/middle_content_right.png) repeat-y right;
}



/*
Круглые углы у DIV
*/
.div-rounded {
    position: relative;
}

.div-rounded .rtl,
.div-rounded .rtr,
.div-rounded .rbl,
.div-rounded .rbr {
    position: absolute;
    width: 8px;
    height: 8px;
    display: block;
    overflow: hidden;
}

.div-rounded .rtl {
    background-position: 0px 0px;
    top: 0px;
    left: 0px;
}

.div-rounded .rtr {
    background-position: -8px 0px;
    top: 0px;
    right: 0px;
}

.div-rounded .rbl {
    background-position: 0px -8px;
    left: 0px;
    bottom: 0px;
}

.div-rounded .rbr {
    background-position: -8px -8px;
    bottom: 0px;
    right: 0px;
}

/*Белый внешний фон*/
.rwhite {
    background: url(../images/rounded-white.png) no-repeat 0px 0px;
}


/*Зеленый внешний фон*/
.rgreen {
    background: url(../images/rounded_green.png) no-repeat 0px 0px;
}


/*Градиентный голубой внешний фон*/
.rcyan {
    background: url(../images/rounded-cyan.png) no-repeat 0px 0px;
}


/*
Заголовок информационного блока
*/
.div-rounded .inf-header {
    background: url(../images/block_up_center.png) repeat-x 100%;
    border-top: 1px solid #AAA;
    border-left: 1px solid #AAA;
    border-right: 1px solid #AAA;
	color: #513610;
    font-family: "Roboto", Tahoma, Arial, sans-serif;
	font-size: 14px;
	font-weight: bold;
    text-align: center;
/*
    line-height: 16pt;
*/
    margin-bottom: -1px;
}


/*
Содержимое информационного блока
*/
.div-rounded .inf-content {
    border: 1px solid #AAA;
    background: #fdf0d1;
    padding: 4px;
    line-height: 12pt;
    color: #000;
}



/*
Горизонтальное меню
*/
.hmenu {
    position: relative;
    overflow: visible;
    display: inline-block;
    padding: 0.5em 1em;
    border: 1px solid #008000;
    margin: 0;
    text-decoration: none;
    color: #333!important;
    white-space: nowrap;
    cursor: pointer;
    outline: none;

    background-color: #ececec;
    background-image: -webkit-linear-gradient(top, #f4f4f4, #ececec);
    background-image: -moz-linear-gradient(top, #f4f4f4, #ececec);
    background-image: -o-linear-gradient(top, #f4f4f4, #ececec);
    background-image: linear-gradient(top, #f4f4f4, #ececec);

    -webkit-background-clip: padding;
    -moz-background-clip: padding;
    -o-background-clip: padding-box;
    -webkit-border-radius: 0.3em;
    -moz-border-radius: 0.3em;
    border-radius: 0.3em;
    zoom: 1;
    *display: inline;
}

.hmenu:hover,
.hmenu:active,
.hmenu.selected {
    border-color: #008000;
    text-decoration: none;
    color: #fff!important;

	background: #5CA22E;
	background: -webkit-linear-gradient(top, #6b9d28, #436b0c);
	background: -moz-linear-gradient(top, #6b9d28, #436b0c);
    background-image: -o-linear-gradient(top, #6b9d28, #436b0c);
    background-image: linear-gradient(top, #6b9d28, #436b0c);
}


.hmenu::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.hmenu-group {
    display: inline-block;
    list-style: none;
    padding: 0;
    margin: 0;
    zoom: 1;
    *display: inline;
}

.hmenu + .hmenu,
.hmenu + .hmenu-group,
.hmenu-group + .hmenu,
.hmenu-group + .hmenu-group {
    margin-left: 15px;
}


.hmenu-group .hmenu {
    float: left;
    margin-left: -1px;
}


.hmenu-group > .hmenu:not(:first-child):not(:last-child) {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}


.hmenu-group > .hmenu:first-child {
    margin-left: 0;
    -webkit-border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    -moz-border-radius-topright: 0;
    -moz-border-radius-bottomright: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.hmenu-group > .hmenu:last-child {
    -webkit-border-top-left-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -moz-border-radius-topleft: 0;
    -moz-border-radius-bottomleft: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}


