h1 {
	margin: 0.4em 0 0.8em 0;
	font-size: 30px;
	color: #111;
	text-shadow: 1px 1px  #fff;
}

#header {
	position: absolute;
	height: 73px;
	min-width: 1400px;
	background: #000 url(../images/header-left.jpg) top left no-repeat;
/*	box-shadow: 0 0 10px #777;	*/
	top:0;
	z-index: 0;
}
#header-right {
	position: absolute;
	right: 0;
	height: 73px;
	width: 360px;
	background: url(../images/header-right.jpg) top right no-repeat;
	z-index: 1;
}
#top-block-bg {
	position: absolute;
	top: 73px;
	width: 100%;
	height: 300px;

}
#all-page {
	width: 100%;
	position: relative;
}

.bg-page {
	background: url(../images/top-block-bg.png) bottom center repeat-x;
}

.bg-page-page {
	background: url(../images/top-block-bg-page.png) top left repeat-x;
	height: 299px;
	width: 100%;
	position: absolute;
	top: 72px;
}

#bottom-page {
	width: 100%;

	position: relative;
	background: #e8f4f6;
}
.dtable {
	display: table;
}

div.page {
	width: 1200px;
	margin: 0 auto;
	position: relative;
	text-align: left;

}
div.page-footer .f-margin {
	margin-left: 14px;
	min-width: 1200px;
}
div.in-menu {
	margin: -10px 180px 20px 0;
	overflow: hidden;
}
div.page-footer {
	width: 100%;
	padding: 2em 0 1em 0;
	position: relative;
	text-align: left;
	background: #fff;
	clear: both;
	box-shadow: 0 -2px 4px #ccc;
}
div.page-preference{
	clear: left;
	margin: 20px 100px;
	text-align: left;
	width: 800px;
	padding:10px 0;
}
ul.rules {
	margin: 0;
	padding: 0;
}
div.page-preference ul li, ul.rules li{
	list-style-type: none;
	list-style-position: outside;
	margin: 4px 0 0;
	padding-left: 0;
	margin: 4px 0 0.8em 0.1em;
}
div.page-preference ul li:before, ul.rules li:before{
	content: "☑";
	color: #00ACBB;
	font-size: 16px;
	font-weight: bold;
	text-shadow: 1px 1px 1px #3f5c5e;
    filter: dropshadow(color=#3f5c5e, offx=1, offy=1);
	padding-right: 3px;
}
div.reg__block p {
	text-indent: 12px;
	width: 80%;
}

#main form {
	margin: 0 0 0 0;
}
#main ol {
	margin: 0 0 0 20px;
	padding: 0 0 0 0;
}
#ms-logo {
	float: left;
	margin: 24px 24px 0 0;
}

#page-menu {
	position: absolute; top:30px; /*margin: 30px 0 0 0;*/
}



#top-block {
	position: relative;
	padding-top: 25px;
	z-index: 1;
	width: 100%;
}

#top-block-left {
	float: left;
	width: 700px;
}

#top-block-right {
	float: right;
	width: 180px;
	margin: 20px 210px 0 0;
}

#other-projects {
	margin-top: -10px;
	background: #fff;
	padding: 10px;
	border: 1px solid #C7D4D6;
	border-radius: 4px;
}

#other-projects div{
	font-weight: bold;
	color: #ABBABC;
	margin-bottom: 0.5em;
}

#projects-block {
	float: left;
	margin: 30px 0 0 0;
	/*padding-top: 65px;*/
}
.margin-block {
	margin-left: 0.4em;
}
.projects-menu {
	margin: 1em 0 0.5em 0;
}

.projects-menu span {
	display: inline-block;
	background: #e6e6e6;
	border-radius: 2px;
	width: 1.1em;
	height: 1.1em;
}

.projects-menu span.active {
	display: inline-block;
	background: #acacac;
	border-radius: 2px;
	width: 1.1em;
	height: 1.1em;
}
#scroll {
	float: left;
    overflow: hidden;
    width: 840px;
	height: 220px;
	position: relative;
}
.projects {
	position: relative;
}
.projects p {
	font-size: 13px;
	color: #6098a4;
	font-weight: bold;
	margin-top: 0.5em;
	padding: 0 0.1em;
}

.projects div {
	padding: 0 25px 0 0;
	width: 190px;
}

.panel {
	float: left;
	position: relative;
}

#contaner div {
	float: left;

}
#scroll .projects .panel img {
	border-radius:20px 0 20px 0;
}

#projects-next {
	float: left;
	background: url(../images/projects-next.png) top left no-repeat;
	width: 34px;
	height: 168px;
	cursor: pointer;
}
#projects-undo {
	position: absolute;
	float: left;
	background: url(../images/projects-undo.png) top left no-repeat;
	width: 34px;
	height: 168px;
	cursor: pointer;
	left: -34px;
}

.button-enter, .button-reg {
	box-shadow: 0 0 4px #999D9E;
	cursor: pointer;
	color: #fff;
	font-style: italic;
	font-size: 18px;
    position: relative;
	border: 1px solid #333;
	display: block;
	float: left;
	border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    height: 40px;
    line-height: 40px;
    outline: 0 none;
    padding: 0 18px;
    text-align: center;
	margin-right: 0.5em;
}

.button-enter {
	background: #000 url(../images/button-enter.png) top left repeat-x;
	border: 1px solid #333;
	text-shadow: 0 1px #000;
}

.button-reg {
	background: #00c8e7 url(../images/button-reg.png) top left repeat-x;
	border: 1px solid #00c8e7;
	text-shadow: 0 1px #00b0d1;
}

.button-reg:hover {
	background: #00c8e7 url(../images/button-reg.png) bottom left repeat-x;
	color: #fff;
}

.button-enter:hover {
	background: #000 url(../images/button-enter.png) bottom left repeat-x;
	color: #fff;
}


#footer td {
	border-spacing: 0;
	padding-right: 1em;
	empty-cells: show;
	color: #999;
}
#footer td img {
	border: none;
}
#footer td>img {
	width: 88px;
}
#footer a {
	color: #666;
	margin-right: 1em;
}
#footer a.reg {
position:relative;padding: 3px 6px;border: 1px solid #009DB4;color: #009DB4;border-radius: 3px;
}

.new {
	position: absolute;top:0;left:0;padding: 2px 5px; background: #00D9FD; font-weight: bold;color: #fff;
}

.ms-footer {
	position:relative;padding: 3px 6px;border: 1px solid #666;color: #666;border-radius: 3px;
}

#reg {
	background: #fff;
	border-radius: 1em;
	width: 760px;
	min-height: 200px;
	padding: 20px;
	margin: 1em 0 2em 40px;
	box-shadow: 0 0 10px #aaa;
}
#reg p {
	text-indent: 1em;
}

table.login{
	margin-left: 30px;
}
table.login td {
	padding: 4px 2px;
	vertical-align: top;
	text-align: left;
	line-height: 1.2em;
}
table.login td.first {
	padding-top: 7px;
}
table.login input[type=text], table.login input[type=password] {
	padding: 0.5em 0.5em;
	border-radius: 2px;
	border: 1px solid #B6BDC4;
	width: 250px;
}

/**********MENU***********/
#page-menu a {
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	position: relative;
	padding: 7px 10px;
	margin-right: 1em;
	border: 1px solid #414849;
	border-radius: 0.2em;
	background-color: rgba(5, 5, 5, 0.8);
}
#page-menu a.selected {border: 1px solid #fff;}
#page-menu a.selected:hover {background: none;}
#page-menu a:hover {border: 1px solid #03DCFE;border-radius: 0.2em 0.2em 0 0;background: #000;color:#fff;}
#page-menu li li a:hover {border-radius: 0;border:0;border-bottom:1px solid #03DCFE;}
#page-menu li li a.last:hover {/*border-radius: 0 0 0.2em 0.2em;*/}
#page-menu .one a:hover {background: #03DCFE;border: 1px solid #03DCFE;border-radius: 0.2em;}
#page-menu .one a.selected:hover {background: none;	border: 1px solid #fff;border-radius: 0.2em;}
/*#page-menu a.forum {	padding: 0;	border: 0;	top: -9px;	margin-left: 2em;} */
#page-menu a span{
	color: #00DAED;
	font-size: 10px;
	position: relative;
	top: -6px;
}
#page-menu a:hover span{
	color: #fff;
}
#page-menu ul
{
	padding:0;
	margin:0;
}
#page-menu li
{	float: left;
	list-style: none;
	padding:0;
	margin:0;
	position: relative;
}
#page-menu li li a
{
	display: block;
	white-space: nowrap;
	border-radius: 0;
	border:0;
	padding: 9px 70px 9px 15px;
	border-bottom: 1px solid #2a2a2a;
	color: #ddd;
	/*border-left: 1px solid #03DCFE;border-right: 1px solid #03DCFE;*/
}
#page-menu li ul
{
	padding: 0;
	position: absolute;
	left:0;
	top: 24px;
	border: 1px solid #ccc;
	visibility: hidden;
	border-radius: 0 0.2em  0.2em 0.2em;
	box-shadow: 1px 1px	 8px #111;
	background: #111;
}
#page-menu li ul li
{
	float: none;
	display: inline;
	position: static;
	line-height: 14px;
	height: 14px;
}
#page-menu li ul li a
{	width: auto;
	font-weight: normal;
	font-size: 12px;
	margin-right:0;
	background: #111;
	line-height: 14px;
	min-width: 170px;
}
#page-menu li ul li a:hover
{
	background: #03DCFE;
	text-shadow: 1px 0 0 #239DAF;
}

#page-menu .sub a {
	padding-right: 20px;
	background: url(../images/menu.png) center right no-repeat;
}

#page-menu .sub li a {
	background: #111;
	background-image: none;
}

#page-menu > ul > li > ul > li > a[href='p-wapms-login.php'] {
	background: transparent url(/images/wapms-logo.png) no-repeat 80% 50% / contain;
}

#footer {min-width:1000px;}
#footer > tbody > tr > td > tt.skype span {background:url(../images/icons/skype_off.png) 0% 50% no-repeat; padding:0px 0 0 18px; line-height: 20px; margin: 2px; font-family:serif; font-size:12px; height:16px; display: inline-block;}
#footer > tbody > tr > td > tt.icq span{background:url(../images/icons/icq_off.png) 0% 50% no-repeat; padding:0px 0 0 18px; line-height: 20px; margin: 2px; font-family:serif; font-size:12px; height:16px; display: inline-block;}
#footer > tbody > tr > td > tt.skype span.activ {color: #111; text-decoration: underline; background-image:url(../images/icons/skype_on.png);}
#footer > tbody > tr > td > tt.icq span.activ {color: #111; text-decoration: underline; background-image:url(../images/icons/icq_on.png);}
#footer > tbody > tr > td > tt.telegram {margin-left:10px}
#footer > tbody > tr > td > tt.telegram span{background:url(../images/telegram.png) 0% 50% no-repeat; padding:0px 0 0 18px; line-height: 20px; margin: 2px; font-family:serif; font-size:12px; height:16px; color: #111; text-decoration: underline; display: inline-block; background-size:16px 16px;}
