* {
	margin: 0;
	padding: 0;
}

html, body {
	height:100%;
	font-size: 10pt;
	color:#577572;
	background: #e79b37 url(../images/dream_all_bg.png) no-repeat center top;
	font-family: Verdana, Arial,Helvetica,sans-serif;
	line-height:1.5;
	border: 0;
}

body {
	overflow: auto;
}

img {
	border: 0;
	outline: none;
}

p img {
  padding: 0 10px 10px 0;
}

p {
  padding-bottom: 7px;
}

p ul{
  padding-left: 10px;
}

.line {
  border-bottom: 2px dotted orange;
  margin: 16px 0 30px 0;
}

/* верстка */

#wrapper {
	width: auto;
	min-height: 100%;
	height:auto !important;
	height:100%;
	position: relative;
}

#site_wrap {
	position:absolute;
	margin-left:-525px;
	margin-top:0;
	left:50%;
	top: 42px;
	width: 1050px;
	height: auto;
	height:100%;
	min-height: 100%;
}

#dream_header_wrapper, #dt_header_botline, #dt_page  {
	margin-left: 13px;
}

#dream_header_wrapper, #dream_header  {
	width: 1024px;
	height: 258px;
	overflow: hidden;
}

#dream_logo {
	position: absolute;
	float: left;
	width: 370px;
	height: 258px;
	margin: -258px 0 0 28px;
	z-index: 99;
}

#dream_lang {
	position: absolute;
	float: left;
	width: 140px;
	top: 5px;
	height: 30px;
	left: 700px;
}

#top_dream_menu {
	position: absolute;
	width: 630px;
	height: 130px;
	float: right;
	top: 116px;
	right: -10px;
	z-index: 100;
}

#dt_header_botline  {
	position: relative;
	width: 1024px;
	height: 22px;
	background-image: url(../images/dream_teen_headerline.png);
	font-size: 12pt;
	color: black;
	text-align: center;
	padding-top: 2px;
}

#dt_page {
	position: relative;
	float: left;
	width: 1024px;
	min-height: 612px;
	height: auto;
	background: #46618a url(../images/dream_teen_content_bg.png) repeat-x right top;
}

#dt_page_br {
	position: relative;
	float: left;
	width: 1050px;
	min-height: 612px;
	height: auto;
	background-color: #f5dc98;
}


.dream_left  {
	position: relative;
	float: left;
	left: 8px;
	width: 250px;
	height:100%;
}

.content_wrp {
	margin: 14px 0;
	left: 15px;
	width: 495px;
	height: auto!important; 
	overflow:hidden;
}

.content_wrp, .content_t, .content_b {
	position: relative;
	float: left;
	width: 495px;
	overflow:hidden;
}

.content_t {
	background:url(../images/dream_teen_content_corner.png) 50% 0% no-repeat;
	height: 14px; 
}

.content_b {
	background:url(../images/dream_teen_content_corner.png)  50% 100% no-repeat;
	height: 14px; 
}

.content {
	background-color: white;
	width: 465px;
	padding: 0 15px;
	min-height: 450px;
	height: auto; 
	height: auto!important; 
	float: left;
	position: relative;
}

.content img {
  padding: 5px;
}

.dream_right  {
	position: relative;
	float: right;
	right: 8px;
	width: 250px;
	height:100%;
}

.dream_left, .dream_right {
	top: 14px;
}

#dream_footer {
	position: relative;
	float: left;
	left: 0;
	width: 1050px;
	height: 23px;
	background: url(../images/dream_footer_bg.png) center bottom no-repeat;
}

/* модули джумлы */
.module {
	margin-bottom: 15px;
}
.input {
	border: 0;
}
.dream_left li{
}

.dream_left .tree li {
	padding: 5px;
}

/* Меню */

.dream_left .tree li {
	height: 27px;
	width: 215px;
	background: #cdcab7;
	margin-bottom: 5px;
}

.dream_left .tree li li  {
	height: 27px;
	width: 215px;
	background: #cdcab7;
	margin-bottom: 5px;
}

.dream_left  ul, .dream_left  ul a{
	list-style: none;
	text-decoration: none;
	color: #577572;
}

.dream_left .tree  ul, .dream_left .tree  ul a, .dream_left .tree li, .dream_left .tree li a{
	color: #363636;
}

.dream_left .tree img {
  margin-bottom: -10px;
}

.dream_left .tree li a span {
  padding-left: 19px;
}

.dream_left .tree li  li{
	background-image: none;
	margin-bottom: 0;
	font-size: 80%;
}

.dream_left .menu li.item39 a span {
 /*  color: blue; имидж для каждого меню*/
}

/* Шрифты */
.dream_left a, .dream_right a {
  text-decoration: none;
}

h4 {
  font-size: 16px;
  color: #307ea9;
}

.content ul {
	padding-left: 10px;
}

.contentpane, .contentpane a {
	font-size: 10pt;
	font-weight: 600;
}

.contentpane td {
	padding-right: 15px;
}

.contentpane {
}

.sectiontableentry_blog1, .sectiontableentry_blog2, .sectiontableentry_blog1 a:link, .sectiontableentry_blog2 a:link {
	font-size: 13pt;
	color: #08418d;
	font-weight: normal;
}

.sectiontableentry_blog1 div, .sectiontableentry_blog2 div  {
	padding: 0 0 6px 20px;
  background: url(../images/star_hover.gif) no-repeat scroll 0 3px;
}

.sectiontableentry_blog1 a:visited, .sectiontableentry_blog2 a:visited {
	font-size: 13pt;
	font-weight: normal;
	color: #54038d;
}

#top_dream_menu, #top_dream_menu a {
	font-size: 11pt;
	color: white;
	font-weight: 500;
	padding-top: 12px;
	padding-right: 34px;	
	text-decoration: none;
	font-weight: 300;
	text-transform: uppercase;
	text-align: center;
}

.module  h3 /* Заголовок модулей*/{
	font-size: 12pt;
	font-family: Verdana, Arial,Helvetica,sans-serif;
	color: #4E4D4D;
	font-weight: normal;
}

.contentheading, .componentheading /* Заголовок */{
	font-size: 20pt;
	color: orange;
	padding-bottom: 25px;
}

.article_separator {
}

.content li /* Звезды у списков*/{
  list-style: none;
  padding: 0 0 6px 20px;
  background: url(../images/star_hover.gif) no-repeat scroll 0 1px;
}

.tool-title {
	font-weight: bold;
	font-size: 11px;
	color:orange;
	margin: 0;
	padding: 1px 4px 1px 6px;
	background-image: url(../images/bubble.png);
	background-position: top left;
	border-bottom:1px dotted #6699cc;
}

.tool-tip {
	width: 172px;
	background: none;
	border:0px;
	z-index: 13000;
}

.tool-text {
	font-size: 100%;
	padding: 1px 4px 2px 4px;
	color: white;
	background-image: url(../images/bubble.png);
	background-position: bottom left;
}

/*Круглые углы*/
div.module {
	position:relative;
	width:100%;/*Ширина бокса обязательно только для ie6, для нормальных браузеров можно не ставить. Или же ставим нужную вам.*/
}
 
.in_dream {
	background-color: #e8dec6;
}

div.module .t_dream {
	width:250px;
	padding-top:14px;
	background:url(../images/dream_teen_corner.png) 50% 0% no-repeat;
}

div.module .b_dream {
	background:url(../images/dream_teen_corner.png) 50% 100% no-repeat;
	width:250px;
	padding-bottom:14px;
}

div.module .in_dream {
	border-left: 3px solid #b39e7c;
	border-right: 3px solid #b39e7c;
	width:234px;
	padding-left: 10px;
	min-height: 30px;
	height: auto;
	overflow: hidden;
}

.dream_left_top div.module .in_dream {
	min-height: 140px;
}

.dream_left_top div.module .t_dream, .dream_right_top div.module .t_dream{
	background:url(../images/dream_teen_menu_corner.png) 50% 0% no-repeat;
}

.module_clear {
  margin-bottom:15px;
}

.dream_left_top div.module .b_dream, .dream_right_top div.module .b_dream{ 
	background:url(../images/dream_teen_menu_corner.png) 50% 100% no-repeat;
}

.topleft_dream {
  margin-bottom: 7px;
  border-bottom: 2px dotted #CDCAB7;
  width:215px;
  min-height: 30px;
}

/* Анкета */

.cf_label, .cf_text {
  font-weight: bold;
  color: #005CA8;
}
.cf_small_text {
  font-size: 80%;
  font-style: italic;
}
.cf_text_it {
  font-size: 80%;
  font-style: italic;
  color:#577572;
}
/* Формы */
.inputbox, #modlgn_remember .inputbox {
	border: 1px solid #BB9F7A;
/* 	background-color: #fff4da;*/
}
 /* Календарь */
#mod_minical_today {
	color: green;
	font-size:120%;
}

.mod_minical_table {
	padding-left: 23px;
}
#rsevents-col-left, #rsevents_menu {
display: none;
}
 /* Регистрация */
#form-login {
	padding-left: 15px;
}

.cd_moduletitle_logo {
  position: relative;
  float: left;
  width: 140px;
}	

 /*.cd_moduletitle_rss {
  position: relative;
  float: left;
  width: 30px;
} */

 /* RSS */
.bcarss {
  padding-left: 15px;
}


 /* языки */
#jflanguageselection, #jflanguageselection  li, #jflanguageselection  li a {
	color:wight;
}

#jflanguageselection  span, #jflanguageselection  span a{
	padding-right: 10px;
}

#jflanguageselection ul.jflanguageselection, #jflanguageselection ul.jflanguageselection li a {
	text-decoration: none;
	color:	white;
	font-size: 12pt;
}

#jflanguageselection ul.jflanguageselection li#active_language {
	color: #00baf2;
}

 /* календарь */
.blogCalendarToday {
	color: green;
	font-weight: bold;
}

 /* каталог категорий */
.contendivescription {
	padding-bottom: 20px;
}
 /* меню для подростков */
.item12 li{
  background:url(../images/dream_teen_corner.png) 50% 0% no-repeat;
}

 /* хлебные крошки */
.dream_breadcrumb {
  padding-bottom: 15px;
  text-decoration: none;
}

.dream_breadcrumb a {
  text-decoration: none;
}

.board-of-trustees {  /* Нас поддерживают */
  float: left;
  position: relative;
  overflow: hidden;
  width: 450px;
  height: 130px;
  margin-bottom: 10px;
}
.board-of-trustees_wrp {
  height: auto;
  overflow: hidden;
}

.cd_moduletitle_rss {/* подпись возле регистрации */
  float: left;
  position: relative;
  width: 230px;
  height: auto;
  overflow: hidden;
}

/* форум */

.content_t_full, .content_b_full, .content_full {
	margin: 0 15px;
	position: relative;
	float: left;
	width: 994px;
	overflow:hidden;
}

.content_t_full {
	margin-top: 14px;
	background:url(../images/dream_teen_content_corner_full.png) 50% 0% no-repeat;
	height: 14px; 
}

.content_b_full {
	background:url(../images/dream_teen_content_corner_full.png)  50% 100% no-repeat;
	height: 14px; 
}

.content_full {
	background-color: white;
	min-height: 450px;
	height: auto!important; 
}

.ccbmaindiv {
  font-size: 80%;
}

/* цитата */
div.module-quote div {
  padding-bottom: 8px;
}

div.module-quote .t_dream {
	width:250px;
}

div.module-quote .in_dream {
	width:216px;
	background-color: white;
	padding: 5px;
}

div.module-quote .t_dream {
	width:226px;
	padding-top:15px;
	background:url(../images/quotes_top.png) 50% 0% no-repeat;
}

div.module-quote .b_dream {
	width:226px;
	padding-bottom:35px;
	background:url(../images/quotes_bottom.png) 50% 100% no-repeat;
}

/* Галлерея */


/* Перезвони мне */
.topleft_dream .cf_text {
	background:url(../images/phone_icon.jpg) 0% 50% no-repeat;
  padding: 5px 0 5px 29px;
}

.topleft_dream .cf_text a {
  color: #0038ae;
}

.form_descr {
  font-size: 70%;
}

#cb_birthday_ID {
  z-index: 999;
}
/* список пользователей */
#cbUserTable {
  font-size: 80%;
}
/* photokonkurs */
#dt1 a {
  font-size: 120%;
  color: orange;
}
#dt1 {
width: 465px;
}
.wysiwyg {
	float: left;
}
