* {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
}
body {
	font: 12px/18px calibri;
	background-image:url('../config/images/bg1.jpg');
	background-position:center top;
	background-repeat:no-repeat;
	background-attachment:fixed;
	height: 100%;
}
a {
	color: blue;
	outline: none;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
img {
	border: none;
}
input {
	vertical-align: middle;
}
#wrapper {
	min-width: 1000px;
	max-width: 2900px;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}


/* Header
-----------------------------------------------------------------------------*/
#h_bg{
	/*background-color: #7c09a2;*/	
}
#header {
	position: relative;
	z-index: 777;
	height:498px;
	overflow: hidden;
}

#top{
	position: relative;
	z-index: 99;
	height:49px;
	margin:auto;
	margin-bottom:-49px;
}

#head_top {
	position: absolute;
	z-index: 4;
	width:100%;
	min-width: 1000px;
	height: 49px;
	margin-bottom: -49px;
	background: #f0c4ff;
}

#head_top_middle {
	display: block;
	min-width: 1000px;
	width: 70%;
	height: 49px;
	margin: auto;
}
#links {
	position: relative;
	display: inline;
	float: left;
	text-align: center;
	height: 50px;
	line-height: 50px;
	width: 10%;
	z-index: 999;
}
#links img {
	display: inline;
	padding-right: 5px;
	margin-top: 10px;
}
#logo_mini {
	display: inline;
	float: left;
	height: 49px;
	width: 12%;
	text-align: right;
}
#logo_mini img {
	width: 70px;
	margin-top: 4px;
}
#slg {
	display: inline;
	float: left;
	height: 49px;
	line-height: 49px;
	text-align: center;
	width: 60%;
}

#slg img {
	margin-top: 10px;
}

#headb {
	float: right;
	margin-top: 10px;
	wdith: 20%;
	padding-right: 5px;
}

#phones{
	width: 100%;
	float: left;
	text-align:right;
	color:#60097a;
	font-size:15px;
}

#phones_wrap {
	display: block;
	float: left;
	width: 100%;
}

#phones img{
	margin-right: 10px;
	display: block;
	float: left;
}
#phones ul {
	display: block;
	float: left;
}

#phones ul li{
	height: 15px;
}

#left_links_wrap {
	display: block;
	min-width: 1000px;
	width: 70%;
	margin: auto;
	height: 50px;
	position: relative;
	z-index: 99999;
	margin-top: -500px;
	text-align: left;
}

#left_links {
	display: block;
	position: relative;
	z-index: 999999;
	height: 50px;
	line-height: 50px;
	width: 10%;
	margin-right: 90%;
}

#left_links img {
	display: inline;
	padding-right: 5px;
	margin-top: 10px;
}

#left_head {
	display: block;
	float: left;
	position: relative;
	z-index: 990;
	height: 448px;
	margin-top: 50px;
	margin-bottom: -498px;
	width: 20%;
}

#left_top {
	display: block;
	float: left;
	position: relative;
	z-index: 9999;
	height: 32px;
	width: 90%;
	margin-top: 92px;
}

#left_bottom {
	display: block;
	float: left;
	position: relative;
	z-index: 9999;
	height: 141px;
	line-height: 141px;
	width: 100%;
	margin-top: 100px;	
	text-align: left;
}

#image_head_wrap {
	display: block;
	position: relative;
	width:73%;
	height: 500px;
	min-width: 1000px;
	margin:auto;
	z-index:5;
}

#slider_wrap{
	display:block;
	float: left;
	width:57%;
	height:448px;
	margin-left: 29%;
	margin-top: -455px;
	position: relative;
	z-index:600;
}

ul#portfolio {
	display: block;
	position: relative;
	width: 100%;
}

ul#portfolio li{
	width:100%;
	height: 450px; 
	overflow:hidden;
	position:relative;
	z-index:8888;
	list-style:none;
	text-align:center;
}
ul#portfolio li img{
	margin:auto;
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 8;
}

#main_menu {
	width: 73%;
	min-width: 1000px;
	margin: auto;
	height: 50px;
	line-height: 50px;
	background: #f0c4ff;
	text-align: center;
}

#main_menu ul li {
	display: inline;
}

#main_menu ul li a {
	color:#6c0e8c;
	font-size:19px;
	text-decoration:none;
	margin: 10px;
}

#main_menu ul li a:hover {
	color:#000000;
}
/* Middle
-----------------------------------------------------------------------------*/

#center{
	width:73%;
	min-width: 1000px;
	margin:auto;
	background: #f0c4ff;
}
#icons {
	height: 96px;
	line-height: 96px;
	background-image: url('../config/images/icons.png');
	background-position: center top;
	background-repeat: repeat;
}
.ic {
	
}
#middle {
	width: 100%;
	padding: 0 0 60px;
	height: 1%;
	position: relative;
}
#middle:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#container {
	width: 100%;
	float: left;
	overflow: hidden;
}
#content {
	margin: 10px 300px 0 20px;
	color: #0e0017;
	font-size: 14px;
}
#content table {
	margin:auto;
}
#content ul {
	/*margin-left:30px;*/
}
#content ol {
	margin-left:30px;
}
#content dl {
	margin-left:30px;
}

/* Sidebar Right
-----------------------------------------------------------------------------*/
#sideRight {
	float: left;
	margin-right: -3px;
	width: 280px;
	margin-left: -280px;
	position: relative;
}
#sideRight ul {
	list-style:none;
}
#sideRight a{
	color:#000000;
	text-decoration:none;
	font-size:16px;
}
#np  {
	width: 280px;
	margin-top:10px;
	margin-left: 5px;
}
#np li{
	width:270px;
	height:57px;
	line-height:57px;
	margin-top: 5px;
	color:#ffffff;
	text-align:center;
	vertical-align:middle;
	background-image:url('../config/images/right_1.png');
	background-repeat:no-repeat;
}
#np li:hover{
	background-image:url('../config/images/right_act.png');
}

/* Footer
-----------------------------------------------------------------------------*/
#footer {
	margin: -60px auto 0;
	min-width: 1000px;
	max-width: 2900px;
	height: 60px;
	background: #6c0e8c;
	position: relative;
}
#capcha{
	height:40px;
	width:70px;
	font-size:21px;
	color:#fa19d4;
	background-image:url('../config/images/cap.gif');
	border:none;
}
#capchae{
	height:40px;
	width:70px;
	font-size:21px;
}
#capchae2{
	height:40px;
	width:70px;
	font-size:21px;
}
#toppanel {
	margin-left:20%;
    position: absolute;
    top: 0;
    width: 80%;
    z-index: 999;
    text-align: center;
	float:right;
}

#panel {
	height: 370px;
	color: #000000;
	background:url('../config/images/wrap.png');
	overflow: hidden;
	position: relative;
	z-index: 3;
	display: none;
}
#show{
	position:fixed;
	display:none;
	width:100%;
	background-image:url('../config/images/fon.png');
	z-index:999999;
	color:#ffffff;
}
#blocks{
	display:block;
	text-align:center;
	width:100%;
	height:260px;
}
#allalbums{
	display:inline-block;
	margin:5px;
	width:31%;
	height:200px;
}
#galery{
	height:20px;
	overflow:hidden;
	display:block;
}
#galery a{
	color:#ffffff;
	font-size:15px;
	text-decoration:none;
	
}
#galeryimg{
	display:block;
	height:200px;
	overflow:hidden;
}
#galeryimg img{
	margin-top:24px;
	width:80%;
}
#pct{
	width:105%;
	margin-left:-20px;
	display:block;
}
.mb-controls{
	display:none;
}
      ul,

      ul li {

        margin: 0;

        padding: 0;

        display: block;

        list-style-type: none;

      }
#ull {
	position:relative;
	z-index:600;
	width: 500px;
	height: 30px;
	margin-top: -50px;
	float:right;
}

#ull input{
	width: 257px;
	height: 26px;
	border: none;
	color: #ffffff;
	font-style: italic;
	padding-left: 4px;
	background-image: url('../config/images/search.png');
	background-repeat: no-repeat;
	background-position: center top;
	background-color: transparent;
}

#ref{
	margin-top:60px;
}
#ref li{
	margin-left:4px;
	margin-bottom:15px;
}
#ref h2{
	text-align:center;
	margin-bottom:12px;
	color: #6c0e8c;
}
#ref h3{
	border-left:2px solid #d33ca3;
	padding-left:20px;
	color: #6c0e8c;
}
#ref p{
	margin-left:23px;
	color: #951bbf;
}
#add_ref_link{
	text-align:right;
	padding-right: 5px;
}
#add_ref_link a{
	font-size:12px;
	font-weight:normal;
	text-decoration:underline;
	color: #cdcdcd;
}
#ref_content{
}
#ref_content h2{
	text-align:center;
	margin-bottom:20px;
}
#ref_content h3{
	color: #ffffff;
}
#ref_content li{
	margin-bottom:20px;
}
#bann_head{
	text-align:center;
	display:block;
	margin-top:40px;
	height:105px;

}
#bann_head h2 {
	padding-top:50px;
}

#bann{
	width:100%;
	margin-top: 20px;
	margin-bottom: 20px;
	overflow:hidden;
	display:block;
}
#bann img{
	margin-left:5%;
	width:90%;
}
#bann h3 {
	padding:5px;
}
#phonesban{
	display:block;
	width: 100%;
	text-align:left;
}
#phonesbanline{
	display:block;
	position:relative;
}
#phonesbanline p {
	display:inline;
	position:relative;
	font-size:15px;
	color: #6c0e8c;
	padding: 7px;
}
#phonesbanline img {
	width:27px;
	margin-bottom:4px;
	margin-right:7px;
	position:relative;
	display:inline;
}
#gallery {
		padding: 10px;
		width: 95%;
	}
	#gallery ul { list-style: none; }
	#gallery ul li { display: inline; }
	#gallery ul img {
		border: 5px solid #3e3e3e;
		border-width: 5px 5px 20px;
	}
	#gallery ul a:hover img {
		border-width: 5px 5px 20px;
		color: #fff;
	}
	#gallery ul a:hover { color: #fff; }
	

.slide {
	margin: 0;
	padding: 0;

}
.btn-slide {
	height:37px;
	line-height:37px;
	text-align: left;
	padding-right:10px;
	display: block;
	cursor:pointer;
	font-size:20px;
	color :#ffffff;
	text-decoration: none;
}
.active {
}
#calculus_table {
	margin-bottom: 100px;
}
#calculus_table td{
	border-bottom:1px dotted black;
}
#calculus_table button{
	margin:5px;
	padding:3px;
}
.calc_table_p{
	font-weight:bold;
	padding:5px;
}
.des_calc{
	padding-left:5px;
	font-size:12px;
	color:red;
}
.calc_table_text{
	display:inline;
	margin:3px;
	padding:2px;
}
.table_ed{
	display:inline;
	font-size:12px;
	font-weight: bold;
	color: #b9b9b9;
}
#res{
}
#res p{
	font-size:17px;
	font-weight:bold;
	width:200px;
	text-align:center;
}

.toolTip { /* This is the hook that the jQuery script will use */

	cursor: help; 
	position: relative; /* This contains the .toolTipWrapper div that is absolutely positioned  */
}

	.toolTipWrapper { /* The wrapper holds its insides together */
		width: 175px;
		position: absolute; /* Absolute will make the tooltip float above other content in the page */
		top: 20px;
		display: none; /* It has to be displayed none so that the jQuery fadein and fadeout functions will work */
		color: #FFF;
		font-weight: bold;
		font-size: 9pt; /* A font size is needed to maintain consistancy */
		z-index: 999;
	}
	
		.toolTipTop { /* Top section of the tooltip */
			width: 175px;
			height: 30px;
			background: transparent url(../images/bubbleTop.gif) no-repeat;
		}

		.toolTipMid { /* Middle section of the tooltip */
			padding: 8px 15px;
			background: #A1D40A url(../images/bubbleMid.gif) repeat-x top;
		}
		
		.toolTipBtm { /* Bottom Section of the tooltip */
			height: 13px;
			background: transparent url(../images/bubbleBtm.gif) no-repeat;
		}
		
		
#slidem_wrap {
	width: 501px;
	height: 220px;
	margin: auto;
	border: 1px solid black;
}