body
{
	margin: 0;
	padding: 0px;
	background: #2E2E2E;
	font-family: verdana, arial, georgia, tahoma, times new roman;
	text-align: justify
}

sup
{
	color: #F90;
	font-size: 70%;
}

a
{
	text-decoration: none;
	color: #F90;
}

a:hover
{
	text-decoration: none;
	color: #FFC671;
}


#outercontainer
{
	margin: 0 auto;
	width: 800px;
	background: #2E2E2E url('../images/oc-background.jpg') repeat-y;
}

#container
{
	margin: 0 auto;
	width: 760px;
	background: #FFF;
}

#header
{
	width: auto;
	height: 100px;
	background: #FFF url('../images/header-background.jpg') repeat-x;
}

#header h1
{
	margin: 0;
	padding: 20px 0 0 25px;
	font-size: 370%;
	letter-spacing: -2px;
	font-weight: normal;
	color: #F90;
	font-family: georgia;
}

#menu
{
	width: 100%;
	height: 75px;
	background: #444 url('../images/menu-background.jpg') repeat-x;
}
#maincontent
{
	width: auto;
	background: #FFF url('../images/maincontent-background.jpg') repeat-x;
	padding: 25px;
	font-size: 90%;
	margin-right: 200px;
	line-height: 150%;
}

#maincontent span
{
	float: right;
}

#maincontent p
{
	margin: 0;
	padding: 0 0 10px 0;
}

#maincontentright
{
	float: right;
	width: 170px;
	padding: 25px;
	background: #FFF url('../images/maincontent-background.jpg') repeat-x;
	line-height: 150%;
	color: #666;
}

#maincontentright p
{
	margin: 0;
	padding: 0 0 0 0;
}


#maincontent h1, #maincontent h3
{
	margin: 0 0 15px 0;
	padding: 0;
	font-weight: normal;
	letter-spacing: -2px;
	font-size: 175%;
	color: #888;
	text-align: left;
}

#maincontent h2
{
	margin: 0 0 15px 0;
	padding: 0;
	font-weight: normal;
	letter-spacing: -2px;
	font-size: 120%;
	color: #888;
	text-align: left;
}

#maincontentright h4
{	margin: 0 0 0px 0;
	padding: 0;
	font-weight: bold;
	letter-spacing: -2px;
	font-size: 120%;
	color: #888;
	text-align: left;
}

#maincontent hr
{
	width: 100%;
	height: 2px;
	border: none;
	background: url('../images/linene.jpg') repeat-x;
}

#maincontent hr.1
{
	width: 300px;
	height: 2px;
	border: none;
	background: url('../images/linene.jpg') repeat-x;
}


#footer
{
	clear: both;
	width: auto;
	font-size: 80%;
	background: #111 url('../images/footer-background.jpg') repeat-x;
	color: #888;
	font-family: arial;
	letter-spacing: -1px;
}

#footer h1
{
	margin: 0;
	padding:  25px 25px 10px 25px;
	font-weight: normal;
	letter-spacing: -1px;
	font-size: 140%;
	color: #999;
}

#footer p
{
	margin: 0;
	padding:  0 25px 10px 25px;
}

#footerleft
{
	float: left;
	width: 380px;
}

#footerright
{
	float: right;
	width: 380px;
}

#bottom
{
	clear: both;
	width: auto;
	text-align: right;
	padding: 15px 10px;
}

#wrapper{
	margin:0 auto;
	width:900px;
	position:relative;
}

/*Стилизация кнопки ВВЕРХ */
#back-top{	
	position:fixed;
	bottom:70px;
	left:50%;
	margin-left:450px
}

#back-top a{
	width:64px;
	display:block;
	text-align:center;
	font:11px/100% Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	text-decoration:none;
	color:#bbb;
	/* background color transition */
	-webkit-transition:1s;
	-moz-transition:1s;
	transition:1s;
}

#back-top a:hover{color:#000;}

/* графическая стрелка ВВЕРХ */
#back-top span{
	width:54px;
	height:54px;
	display:block;
	margin-bottom:7px;
	background: #3c3c3c url('../images/up-arrow1.png') no-repeat center center;
	/* rounded corners */
	-webkit-border-radius:15px;
	-moz-border-radius:15px;
	border-radius:15px;
	/* background color transition */
	-webkit-transition:1s;
	-moz-transition:1s;
	transition:1s;
}

#back-top a:hover span{background-color:#2e2e2e}

#b-container{
    width:200px;
    height:150px;
    background-color: #ccc;
    margin:0px auto;
    padding:10px;
    font-size:30px;
    color: #fff;
}
#b-popup{
    width:100%;
    height: 2000px;
    background-color: rgba(0,0,0,0.5);
    overflow:hidden;
    position:fixed;
    top:0px;
}
#b-popup #b-popup-content{
    margin:40px auto 0px auto;
    width:100px;
    height: 40px;
    padding:10px;
    background-color: #c5c5c5;
    border-radius:5px;
    box-shadow: 0px 0px 10px #000;
}
