html, body {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	background: #fff;
	font-family: Trebuchet MS, 'PT Sans', sans-serif;
	position: relative;
	font-size: 14px;
}

a, a:visited {
	color: #006cc9;
}

a:hover {
	color: #0089ff; 
}

h1, h2, h3, h4 {
	color: #404040;
}

h1 {
	font-size: 25px;
	font-weight: normal;
	border-bottom: 1px solid #e0e0e0;
}

h2 {
	font-size: 20px;
}

h3 {
	font-size: 17px;
}

h4 {
	font-size: 14px;
	margin: 0 0 0.6em 0;
	border-bottom: 1px solid #d0d0d0;
}

p {
	margin: 0 0 1em 0;
}

div#container {
	min-height: 100%;
	_height:100%; /* ������ ������ 100% � ��6 � ������� ���� */
}

div#bottom {
	height: 75px;
	position: relative;
	margin-top: -77px;
	color: #404040;
	background-color: #f5f5f5;
	border-top: 1px solid #e2e2e2;
	font-size: 12px;
}

div#topnav {
	color: #e0e0e0;
	background-color: #49657d;
	font-family: Tahoma, Helvetica;
	font-size: 11px;
	height: 30px;
}

div#topnavlinks {
	width: 990px;
	margin: 0px auto 0 auto;
	padding-top: 7px;
}

div#topnav a, div#topnav a:visited {
	color: #e0e0e0;
	text-decoration: underline;
}

div#topnav a:hover {
	color: #ffffff;
	text-decoration: underline;
}

div#topnav a.active {
	font-weight: bold;
	color: #ffffff;
	text-decoration: none;
}

div#top {
	margin: 0 auto 0 auto;
	border-bottom: 1px solid #c7c7c7;
	min-width: 920px;
}

div#toptitle {
	width: 100%;
	height: 110px;
	margin: 0 auto 0 auto;
    background: url("/bitrix/templates/swx/img/headerbckgrnd.jpg");
}

div#toptitle table {
	border: 0;
	padding: 0;
/*        backgroud:url("/img/header1.jpg"); /* width:285px"></td --> */
	margin: 0; /*15px 0 0 0;*/
	color: #ffffff;
}

span#sinp_title {
	/*text-transform: uppercase;*/
	font-size: 25px;
	font-weight: normal;
}

div#mainmenu {
	border-top: 1px solid #c9d2d6;
	border-left: 1px solid #c9d2d6;
	border-right: 1px solid #c9d2d6;
	border-bottom: 1px solid #c7c7c7;
	height: 30px;
	margin: 0 auto 0px auto;
	background-color: #e3edf1;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	text-shadow: 0px 1px 0px #ffffff;
	filter: dropshadow(color=#ffffff, offx=0, offy=1); 
	
/*	background-image: linear-gradient(top, rgb(241,245,248) 50%, rgb(227,237,241) 100%);
//	background-image: -o-linear-gradient(top, rgb(241,245,248) 50%, rgb(227,237,241) 100%);
//	background-image: -moz-linear-gradient(top, rgb(241,245,248) 50%, rgb(227,237,241) 100%);
//	background-image: -webkit-linear-gradient(top, rgb(241,245,248) 50%, rgb(227,237,241) 100%);
//	background-image: -ms-linear-gradient(top, rgb(241,245,248) 50%, rgb(227,237,241) 100%);

//	background-image: -webkit-gradient(
//		linear,
//		left top,
//		left bottom,
//		color-stop(0.5, rgb(241,245,248)),
//		color-stop(1, rgb(227,237,241))
//	);
*/
	
}

div#mainmenu ul {
	padding: 0;
	margin: 5px 0 0 0px;
        width : 100%;
}

div#mainmenu li {
	display: inline;
	padding-left: 15px;
	padding-right: 15px;
/*	padding-bottom: 3px; */
}

div#mainmenu li.active {
	border-bottom: 5px solid #bc2323;
}

div#mainmenu a, div#mainmenu a:visited {
	text-decoration: none;
	color: #505050;
}

div#mainmenu a:hover {
	color: #000000;
}

div#mainmenu li.active a {
	color: #000000;
}

div#main {
	background: url('img/bg.png') top left repeat-x;
}

div#content {
	margin: auto;
	background: #ffffff;
	padding: 15px 15px 115px 15px;
}

table.mainpage_modules {
	margin: auto;
	padding: 0;
}

table.mainpage_modules td {
	padding: auto;
}

div.module {
	border: 1px solid #c0c0c0;
	background-color: #f8f8f8;
	padding: 10px;
	margin: auto;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;

	-webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3); 
}

div.module960 {
	width: 1024px;
	margin: auto;
}

div.outermain {
	overflow: hidden;
	width: 770px;
	margin: auto;
}

div.outer {
	overflow: hidden;
	width: 439px;
}

div.breadcrumbs {
	font-size: 11px;
}

div.formblock h1 {
	margin-top: 0;
}

div.formblock h3 {
	margin-bottom: 0;
}

form { margin: 0; padding: 0 }

div.formblock {
	border: 1px solid #a0a0a0;
	background-color: #f0f0f0;
	width: 640px;
	margin: 50px auto;
	padding: 20px;
	line-height: 175%;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	
	-webkit-box-shadow: #808080 3px 3px 10px;
	-moz-box-shadow: #808080 3px 3px 10px;
	box-shadow: #808080 3px 3px 10px;
}

div.formblock {
	-webkit-text-shadow: #ffffff 0px 1px 0px;
	-moz-text-shadow: #ffffff 0px 1px 0px;
	text-shadow: #ffffff 0px 1px 0px;
}

div.formblock p {
	-webkit-text-shadow: #ffffff 0px 1px 0px;
	-moz-text-shadow: #ffffff 0px 1px 0px;
	text-shadow: #ffffff 0px 1px 0px;
}

table {
	collapse-border: collapse;
}

table.form {
	width: 640px;
	margin: 1em 0 0 0;
	padding: 0;
}

table.form td.col1 {
	width: 25%;
	padding-right: 0.5em;
}

table.form td {
	padding: 5px;
}

select {
	font-size: 14px;
}

input {
	font-size: 14px;
}

input[type="submit"], table.form input[type="reset"] {
	font-size: 15px;
	font-family: Tahoma;
	cursor: pointer;
}

input[type="submit"] {
	padding: 10px;
	color: #000080;
	-webkit-box-shadow: #808080 1px 1px 5px;
	-moz-box-shadow: #808080 1px 1px 5px;
	box-shadow: #808080 1px 1px 5px;
	margin-right: 1em;
}

input[type="reset"] {
	padding: 5px;
	color: #800000;
}

table.datatable {
	border-collapse: collapse;
	width: 100%;
}

table.datatable th {
	color: #ffffff;
	background-color: gray;
	border: 1px solid gray;
	padding: 3px;
	text-align: left;
	text-shadow: #000000 0px -1px 0px;
	-webkit-text-shadow: #000000 0px -1px 0px;
	-moz-text-shadow: #000000 0px -1px 0px;
}

table.datatable td {
	color: #000000;
	background-color: #ffffff;
	border: 1px solid gray;
	padding: 3px;
}

div.params {
	background-color: #ffffff;
	padding-left: 5px;
	margin-bottom: 1em;
}

a.active {
	font-weight: bold;
}

/* main page */
.tabBody {
	display: none; /*hide all tabBody, we are showing first one using jquery*/
	margin: 30px;
}

body.default div#tabs .trigger {
	text-align: center;
}

body.default div#tabs a {
	display: inline-block;
	text-decoration: none;
}

div.tabsContent {
	min-height: 450px;
	height: auto;
}

div.module.dropdown {
	position: inherit !important;
}
