/* global */
html{height: 100%;}

body
{ font-family: verdana, arial, sans-serif;
  padding: 0px;
  margin: 0px;
  font-size: .82em;
}
p
{ margin: 0px;
  padding: 0px 0px 3px 0px;
  line-height: 1.3em;
}
h1
{ font-family: arial, sans-serif;
  font-size: 108%;
  letter-spacing: .1em;
}

h2
{ margin: 0px;
  padding: 0px 0px 4px 0px;
  font-size: 120%;
}

img{border: 0px;}

a{outline: none;}

/* расположение картинок */
.left
{ float: left; 
  padding: 0px 8px 0px 0px;

}

.right
{ float: right; 
  padding: 0px 0px 0px 8px;
}

.center
{ display: block;
  text-align: center;
  margin: 0 auto;
}

/* цитаты */
blockquote
{ 
  margin: 10px 0px 10px 0px;
  padding: 10px 20px 0px 20px;

/*  border-left: 2px solid;*/
}

/* ненумерованный список */
ul
{ margin: 8px 0px 0px 16px;
  padding: 0px;
}

ul li
{ list-style-type: square;
  margin: 0px 0px 11px 0px; 
  padding: 0px;
}

/* нумерованный список */
ol
{ margin: 8px 0px 0px 24px;
  padding: 0px;
}

ol li
{ margin: 0px 0px 11px 0px; 
  padding: 0px;
}

/* margin lefts / margin rights - to centre content */
#content, #footer, #logo, #menu/*, #content*/
{ margin-left: auto; 
  margin-right: auto;
}

/*  footer */
#footer
{ width: 100%;
  font-size: 88%;
  clear: both; 
/*  padding: 8px 21px 0px 19px;*/
}

#right_text{text-align: right;}

#footer
{ text-align: center; 
  border-top: 2px solid;
}

#footer a{text-decoration: none;}

#footer a:hover{text-decoration: underline;}

/* logo */
#logo
{ width: /*88%;*/100%;
  height: 150px;
  border-bottom: 8px solid;

}

#logo h1, #logo h2
{ margin: 0px;
  letter-spacing: .2em;
}

#logo h1
{ padding: 28px 0px 0px 270px;
  font-size: 240%;
}

#logo h2
{ font-family: arial, sans-serif;
  padding: 5px 0px 0px 270px;
  font-size: 130%;
}

/* навигация */
#menu
{ height: 30px;
  width: /*766px*/69%;
  margin-top: -30px;
  position: relative;
}

#menu ul{margin: 0px auto;} 

#menu li
{ float: left ; 
  margin: 0px 0px 0px 0px; 
  padding: 0px 0px 0px 0px ;
  list-style: none;
} 

#menu li a 
{ display: block; 
  float: left; 
  height: 20px;
  text-decoration: none; 
  padding: 6px 19px 2px 19px;
  border: 1px solid;
  text-transform: uppercase;
  font-size: 88%;
} 

#menu li a:hover, #menu li a#selected, #menu li a#selected:hover
{ height: 20px;
  padding: 7px 20px 2px 20px;
  border: 0px;
} 



#text h1
{ font-family: arial, sans-serif;
  font-weight: bold;
  padding: 16px 0px 5px 0px; 
  margin: 0px 0px 12px 0px; 
  border-bottom: 1px solid;
  font-size: 110%;
  text-transform: uppercase;
  
}

/* ненумерованный список городов */
#list ul
{ margin: 8px 0px 0px 16px;
  padding: 0px;
}

#list ul li
{ list-style-type: none;
  margin: 0px 0px 5px 0px; 
  padding: 0px;
}


/* ненумерованный список (для списка намазов) */
#list_namaz ul
{ margin: 0px 0px 0px 16px;
  padding: 0px;

}

#list_namaz ul li
{ list-style-type: none;
  margin: 0px 0px 5px 0px; 
  padding: 0px;
}

/* *************************   боковые блоки  ****************************************** */


.sidebox {
	/*margin:0px 0px 0px 0px*/
	width: 210px/*168px*/; 
	background: transparent;
	font-size: 100%;
}

.boxhead {
	background: #466938;
	margin: 0;
	padding: 0;
	text-align: center;
}

.boxhead h2 {
	background: transparent;
	font-weight: normal;
	margin: 0;
	padding: 22px 30px 5px;
	color: white; 
	font-size: 120%;
	line-height: 1em;
}

.boxhead h1 { 
  text-align: center;
  font-weight: normal;
  margin: 0;
  padding: 0px 0px 8px 0px;
  text-transform: uppercase;
}

.boxbody {
	background: #D9E4AD;
	border: 1px solid;
	border-color:#466938;
	overflow: hidden;
	margin: 0px 0px 11px 0px;
	padding: 0px 0px 0px 0px;

}

.boxbody p{
   padding: 5px 5px 5px 10px;
}



/*--------------------!!!!!!!!!!!!---------------------------*/
#wrapper {
	MIN-WIDTH: 800px; 
	WIDTH: 100%; ; 
	WIDTH: expression((documentElement.clientWidth||document.body.clientWidth)<800?'800px':'')
	position: relative;
	margin-left: auto; 
	margin-right: auto;
    width: expression( document.body.clientWidth > (1100) * parseInt(document.body.currentStyle.fontSize) ? "1100" : "auto" );   
    max-width: 1100px; 

}
#container {
	WIDTH: 100%
    overflow: hidden;

}
#content {
	FLOAT: left; 
	WIDTH: 100%
	padding: 5px 5px 5px 10px;
	margin: 5px 5px 5px 10px;

}
#text {
	MARGIN: 0px 210px
}
#leftblock {
	FLOAT: left; 
	MARGIN-LEFT: -100%; 
	WIDTH: 210px;
	padding: 5px 0px 0px 1px;
}
#rightblock {
	FLOAT: left; 
	MARGIN-LEFT: -210px; 
	WIDTH: 210px;
	padding: 5px 0px 0px 0px;

}



#text .sms_sidebar
{ text-align: left;
  
 /* width: 168px;*/
 /* float: left;*/
  margin: 0px 0px 11px 0px;
  border: 1px solid;
  padding: 0px 8px 0px 5px;

}

#text .sms_sidebar h1
{ margin: 0px; 
  font-weight: bold;
  padding: 5px 0px 5px 0px;
  text-transform: uppercase;
}

#text .sms_sidebar p
{ line-height: 16px; 
  padding: 0px 0px 15px 2px;
  font-weight:bold;
}

#text .sms_sidebar a, 
{ padding: 0px 2px 0px 0px;
  text-decoration: none;
  border-bottom: 1px dashed

}

#text .sms_sidebar a:hover {border-bottom: 1px solid;}


/* Форма отправки смс */
#text .sms_sidebar fieldset {
	padding:0;
	padding-bottom:0.5em;
	margin:0;
	border:1px solid #466938;
	margin-top:0.0em;
	background:#466938;
}

#text .sms_sidebar label {
	display:block;
	padding-bottom:0.5em;
	font-weight:bold;
}

#text .sms_sidebar input, textarea {
	border:1px solid #CCC;
	padding:0.25em;
	width:4em;
}

#text .sms_sidebar input:hover, input:focus, textarea:hover, textarea:focus {
	border-color:#999;
}

#text .sms_sidebar #submit {
	color:#FFF;
	font-size:1em;
	font-weight:bold;
	width:auto;
	background:#F90 url(nav_bg.gif) bottom repeat-x;
	/*width: 85px*/
}

#text .sms_sidebar input#submit:hover {
	border-color:#F60;
}

#text #sms_sidebar_yellow
{ font-size: 120%;
  color:#FF9C27 }

#text .sms_sidebar a
{ 
  text-decoration: none;
  border-bottom: 1px dashed;
} 

#text .sms_sidebar a:hover
{ 
  text-decoration: none;
  border-bottom: 1px solid;
} 


/* для ie 6,7 */
* html .boxhead {width: 212px; }
