/*********************** LAYOUT STYLES ***********************/

html {
	margin: 0;
	padding: 0;
}

body {
    color: #666666;
    font-size: 12px;
    line-height: 18px;
    font-family: Arial, Helvetica, sans-serif;
	background: #80be16;
    margin: 0;
    padding: 0;
	border-bottom: 3px solid #47750E;
}

#allpage_bg {
	background: url(../images/bg.gif) top left;
}

#allpage {
	background: url(../images/top_bg.jpg) no-repeat top center;
}

/********** top wrap **********/

#top_wrap {
	background: #8acd17 url(../images/top1.png) repeat-x bottom left;
	border-top: 3px solid #47750e;
	padding-bottom: 30px;
}

#top_stripes {
	background: url(../images/top2.png) top left;
}

#top_in {
	width: 992px;
	margin: 0 auto;
	position: relative;
	min-height: 130px;
	height: auto !important;
	height: 130px;
}

#user3-social_wrap {
	float: right;
	padding: 20px 0;
}

#user3 {
	padding: 0 20px 20px 20px;
	display: block;
}

#social_icons {
	padding: 0 20px;
	display: block;
}

#header {
	float: left;
	position: relative;
	bottom: -30px;
}

#logo {
	position: absolute;
	z-index: 1;
	left: 175px;
	top: 50px;
}

/********** wrapper **********/

#wrapper {
	background: url(../images/middle_bg.png) no-repeat top center;
}

#wrapper.nodjmenu {
	padding: 25px 0 0 0;
}

#topmenu_wrap {
	width: 992px;
	margin: 0 auto;
	position: relative;
	height: 36px;
	z-index: 20;
}

#topmenu {
	background: url(../images/topmenu.png) no-repeat;
	width: 950px;
	margin: 0 21px;
	height: 51px;
	position: absolute;
	top: -40px;
	left: 0;
}

#mainpage_bottom {
	background: url(../images/crayons_bg.png) no-repeat bottom center;
	position: relative;
	z-index: 10;
}

#mainpage {
	width: 958px;
	margin: 0 auto;
}

#mainpage.scheme_3 .main_top {
	background: url(../images/main_top_scheme3.png) no-repeat top left;
}

#mainpage.scheme_3 .main_bot {
	background: url(../images/main_bot_scheme3.png) no-repeat bottom left;
	padding: 8px 0;
}

#mainpage.scheme_3 .main_in {
	background: url(../images/main_in_scheme3.png) repeat-y top left;
	padding: 0 4px;
}

#mainpage.scheme_2.noright .main_top {
	background: url(../images/main_top_scheme2_noright.png) no-repeat top left;
}

#mainpage.scheme_2.noright .main_bot {
	background: url(../images/main_bot_scheme2_noright.png) no-repeat bottom left;
	padding: 8px 0;
}

#mainpage.scheme_2.noright .main_in {
	background: url(../images/main_in_scheme2_noright.png) repeat-y top left;
	padding: 0 4px;
}

#mainpage.scheme_2.noleft .main_top {
	background: url(../images/main_top_scheme2_noleft.png) no-repeat top left;
}

#mainpage.scheme_2.noleft .main_bot {
	background: url(../images/main_bot_scheme2_noleft.png) no-repeat bottom left;
	padding: 8px 0;
}

#mainpage.scheme_2.noleft .main_in {
	background: url(../images/main_in_scheme2_noleft.png) repeat-y top left;
	padding: 0 4px;
}

#mainpage.scheme_1 .main_top {
	background: url(../images/main_top_scheme1.png) no-repeat top left;
}

#mainpage.scheme_1 .main_bot {
	background: url(../images/main_bot_scheme1.png) no-repeat bottom left;
	padding: 8px 0;
}

#mainpage.scheme_1 .main_in {
	background: url(../images/main_in_scheme1.png) repeat-y top left;
	padding: 0 4px;
}

#left, #right {
	float: left;
	width: 198px;
}

#left {
	margin: 0 1px 0 0;
}

#right {
	margin: 0 0 0 1px;
}

#mainpage.scheme_3 #content {
	float: left;
	width: 552px;
}

#mainpage.scheme_2 #content {
	float: left;
	width: 751px;
}

#mainpage.scheme_1 #content {
	float: left;
	width: 950px;
}

#main {
	margin: -4px 0 -3px;
	display: inline-block !important;
}

#mainbody {
	padding: 10px;
}

#catalog {
	margin: 0 0 10px 0;
}

#pathway {
	line-height: 18px;
	font-size: 12px;
	color: #fff;
	padding: 11px 10px;
}

#mainpage.scheme_3 #pathway-bottom {
	background: url(../images/breadcrumb_bg_scheme3-bot.png) no-repeat bottom left;
}

#mainpage.scheme_3 #pathway {
	background: url(../images/breadcrumb_bg_scheme3-top.png) no-repeat top left;
}

#mainpage.scheme_2 #pathway-bottom {
	background: url(../images/breadcrumb_bg_scheme2-bot.png) no-repeat bottom left;
}

#mainpage.scheme_2 #pathway {
	background: url(../images/breadcrumb_bg_scheme2-top.png) no-repeat top left;
}

#mainpage.scheme_1 #pathway-bottom {
	background: url(../images/breadcrumb_bg_scheme1-bot.png) no-repeat bottom left;
}

#mainpage.scheme_1 #pathway {
	background: url(../images/breadcrumb_bg_scheme1-top.png) no-repeat top left;
}

#banner-module {
	margin-top: 10px;
}

#poweredby-top_wrap {
	padding: 0 5px;
}

#poweredby {
	float: left;
	display: inline;
	font-size: 11px;
}

#top_arrow {
	float: right;
	display: inline;
	font-size: 11px;
}

#footer {
	background: url("../images/footer_bg.png") repeat-x scroll left top #80BE16;
	margin: -280px 0 0;
	padding: 310px 0 0;
}

/********** pagination **********/

div#pagination {
    font-weight: bold;
}

.pag_fst {
    margin: 0 3px 0 2px;
}

.pag_prv {
    margin: 0 5px 0 3px;
}

.pag_nxt {
    margin: 0 3px 0 5px;
}

.pag_lst {
    margin: 0 2px 0 3px;
}

/********** clearfix **********/

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix { 	
	display: inline-block;
}

/* Hides from IE-mac \*/ * html .clearfix {
    height: 1%;
}

.clearfix {
    display: block !important;
}

/* End hide from IE-mac */