@import 'lib/reset.css';
@import 'lib/base.css';
@import 'lib/pads.css';
@import 'lib/icons.css';
@import 'lib/grid.css';


/* =Typography
-----------------------------------------------------------------------------*/
body {
	background-color: #ededed;
	min-width: 960px;
}
h2 sup {
	font-size: .55em;
	top: -12px;
	position: relative;
}
.even {
	background-color: #f4f4f4;
}

h1 a, h2 a, h3 a {
	color: #000;
}
sup a {
	color: #336699;
}
body.inner h1 {
	margin-top: .6em;
	margin-bottom: 1.3em;
	position: relative;
}
.dashed {
	color: #336699;
	border-bottom-color: #336699;
}
tfoot td {
	border-bottom: none !important;
}
.w70 {
	width: 70%;
}

.req {
	font-weight: normal !important;
}
.error_ins {
	border: 3px solid #c21a1a !important;
	background-color: #f7d6d6;
}

/* =Links
-----------------------------------------------------------------------------*/
a, a.blue { color: #336699; }
/*
a:visited { color: #6d737e; }
*/
a:hover {
	color: #b71818 !important;
	text-decoration: underline;
}


/* =Layout
-----------------------------------------------------------------------------*/
#wrap {
	background: url(../i/bg_wrap.png) repeat-x bottom #e6951c;
}
body.inner #wrap {
	background: url(../i/bg_header.png) repeat-x bottom #f6cb66;
}
body.control #wrap {
	background: url(../i/bg_black.png) repeat-x bottom #191919;
	border-bottom: 1px solid #fff;	
}
#wrapix {
	background: url(../i/rounds.png) no-repeat center;
	background-position: 50% 0;
}
body.control #wrapix {
	background: url(../i/rounds_black.png) no-repeat center;
	background-position: 50% 0;
}
#wrapper {
	background-color: #fff;
	padding: 30px 0;	
}
h1#wide {
	margin-bottom: .5em;
}
#main {
	width: 90%;
	margin: auto;
	overflow: hidden;
	padding-bottom: 100px;
}
body.index #main {
	width: 940px;
}
.simple {
	width: 940px !important;
}
#area {
	float: left;
	width: 520px;
}
body.inner #area {
	width: 64%;
	margin-left: 4%;
}
#sidebar {
	float: right;
	width: 380px;
}
body.inner #sidebar {
	float: none;
	float: left;
	width: 22%;
}


#links {
	width: 220px;
	float: left;
}
#heads {
	zoom: 1;
	overflow: hidden;
	width: 940px;
	margin: auto;
	bottom: 0;
	color: #fff;
	position: relative;
	padding-bottom: 15px;
	// padding-bottom: 0;
	// margin-bottom: -1px;
}
#heads a {
	color: #fff;
}
#heads h1 {
	color: #fff;
	font-size: 38px;
}
#head_func {
	width: 540px;
	float: left;
}
#head_promo {
	width: 380px;
	height: 282px;
	position: absolute;
	right: 0;
	color: #fff;
}
#head_func p {
	line-height: 1.35em;
	font-size: 1.1em;
	margin-bottom: 1.8em;
}
#head_promo h2 {
	color: #fff;
	margin-bottom: .3em;
	font-size: 22px;
}
#head_promo ul {
	margin-top: 0;
}
#promo_users {
	position: absolute;
	right: 0;
	bottom: 0;
}
#promo_users_inner {
	width: 340px;
	padding: 13px 20px;
	position: absolute;
	background: url(../i/bg_promo.png) no-repeat;		
	right: 0;
	bottom: 0;	
}
#btn_reg_box {
	float: left;
}
#quick_links {
	float: left;
	margin-left: 2.5em;
}
#quick_links ul {
	margin: 0;
	list-style: none;
}
#quick_links ul li {
	font-weight: bold;
	margin-bottom: 1em;
	font-size: 1.1em;
}
#quick_links ul li a {
	padding: 7px 0;
}
#quick_links ul li a:hover {
	color: #f2cda1 !important;
}

/* =Headings
-----------------------------------------------------------------------------*/
#header {
	zoom: 1;
	overflow: hidden;
	width: 90%;
	margin: auto;
	padding-top: 30px;
	padding-bottom: 35px;
}
body.index #header {
	width: 940px;
}
body.inner #header {
	padding-top: 23px;
	padding-bottom: 20px;
}
body.control #header {
	padding-top: 23px;
	padding-bottom: 20px;
}
#logo {	
	float: left;
	width: 108px;
	height: 39px;
	background: url(../i/logo.png) no-repeat;
}
body.control #logo {
	background: url(../i/logo_black.png) no-repeat;
}
#logo a {
	display: block;
	height: 39px;
	zoom: 1;
}

/* =Nav
-----------------------------------------------------------------------------*/
#nav {
	margin: 0;
	margin-left: 132px;	
	list-style: none;
	float: left;
	overflow: hidden;
	position: relative;
	top: 8px;
}
body.control #nav {
	margin-left: 42px;
	font-size: 1.2em;
}
#nav li {
	float: left;
	margin-right: 1.5em;
	font-weight: bold;
}
#nav li a {
	color: #000;
}
#nav li span {
	color: #7b652d;
}
body.control #nav span {
	color: #bbb;
}

body.control #nav a {
	color: #fff;
}
body.control #nav a:hover {
	color: #ccc !important;
}
#sub_auth {
	margin: 0;
	list-style: none;
	float: right;
	position: relative;
	top: 8px;
}
#sub_auth li {
	float: left;
	margin-left: 1.5em;
	font-weight: bold;		
}
#sub_auth li a {
	color: #000;
	padding: 5px 0;
}
#main_auth {
	float: right;
	position: relative;
	top: 8px;
	font-size: .9em;
}
#main_auth a {
	color: #000;
}
#main_auth #btn_logout {
	position: relative;
	top: -17px;
}
#auth_login {
	padding-left: 25px !important;
	background: url(../i/ico_login.png) no-repeat;
	background-position: 0 5px;
	margin-right: 3px;
}
.subs {
	padding-top: 90px;
	margin: 0;
	list-style: none;
}
.subs li {
	padding-bottom: 5px;
	margin-bottom: 6px;
	border-bottom: 1px dashed #ddd;
}

#tabs {
	background: url(../i/bg_tabs.png) bottom repeat-x;
}
#tabs_inner {
	overflow: hidden;
	width: 90%;
	margin: auto;
	padding: .7em 0;
}
#tabs_inner ul {
	margin: 0;
	list-style: none;
	color: #999;
	font-size: .9em;
}
#tabs_inner ul a {
	color: #333;
}
#tabs_inner ul li {
	float: left;
}
#control_main {
	float: left;
}
#control_main li {
	margin-right: 1.3em;
}
#control_appendix {
	float: right;
}
#control_appendix li {
	margin-left: 1.3em;
}


#nav_user {
	margin: auto;
	list-style: none;
	float: right;
	font-size: 12px;
	line-height: 1;
}
#nav_user a {
	color: #333;
}
#nav_user li {
	padding-top: 12px;
	float: left;
	height: 26px;	
}
#nav_user li.start {
	background: url(../i/nav_user_start.png) no-repeat;
	width: 18px;
	line-height: 0;	
}
#nav_user li.end {
	background: url(../i/nav_user_end.png) no-repeat;
	width: 18px;
	line-height: 0;		
}
#nav_user li.center {
	background: url(../i/nav_user_bg.png) repeat-x;
}

#settings_menu {
	margin: 0;
	margin-bottom: 1.5em;
	overflow: hidden;
	list-style: none;
	color: #999;
	font-size: .9em;
}
#settings_menu li {
	float: left;
	margin-right: 1.5em;	
}



/* =Сontent
-----------------------------------------------------------------------------*/
#main_tasks div {
	font-size: .95em;
	color: #999;	
}
#main_tasks td {
	padding: 7px 10px;	
	font-size: .9em;	
}
#main_users td {
	padding-left: 0;
	font-size: .95em;
}
div.user_slogan {
	font-size: .9em;
	color: #999;
	padding-left: 18px;
}
#blog ul {
	margin-left: 0;
	list-style: none;
	overflow: hidden;
	font-size: .9em;
}
#blog ul li.first {
	width: 320px;
	float: left;
}
#blog ul li.last {
	width: 340px;
	float: right;
}
.post_head {
}
.post_date {
	color: #777;
	font-size: .9em;
}
.post_content {
	clear: both;
	padding-top: 5px;
}

/* =Lists
-----------------------------------------------------------------------------*/
.files_list {
	margin-left: 0;
	list-style: none;
}
.files_list li {
	font-size: 11px;
	padding-bottom: 5px;
	margin-bottom: 5px;
}
.files_list li .ico11 {
	position: relative;
	top: 1px;
	right: -2px;
}

/* =Footer
-----------------------------------------------------------------------------*/
#footer {
	background: url(../i/bg_footer.png) top repeat-x;
}
#footer_inner {
	width: 90%;
	overflow: hidden;
	margin: auto;
	padding: 28px 0;	
	font-size: .85em;
	color: #777;
}

#footer_inner a {
	color: #777;
}
#copy {
	float: left;
	width: 24%;
}
body.index #footer_inner {
	width: 940px;
}
body.index #copy {
	width: 240px;
}

#wm_logo {
	float: right;
}
#footer_inner ul {
	float: left;
	margin: 0;
	list-style: none;
}
#footer_inner ul li {
	float: left;
	margin-right: 1.5em;
}

/* =Forms
-----------------------------------------------------------------------------*/
#auth_form {
	position: absolute;
	top: 130px;
	width: 360px;
	left: 50%;
	margin-left: -180px;
	z-index: 50001;
	background-color: #f2f2f2;
	border: 7px solid #fff;
}
#auth_form_head {
	background-color: #4d4d4d;
	color: #fff;
	padding: 7px 15px;
	font-size: 1.4em;
	position: relative;
}
#auth_form_head .ico {
	position: absolute;
	right: 10px;
	top: 12px;
}
#auth_form .forms {
	margin: 15px 25px;
}
#login_errors {
	margin: 1em;
	margin-bottom: 0;
}

/*
	Modal
*/
#modal {
	position: fixed;
	z-index: 100006;
	top: 15%;
	left: 50%;
	margin-left: -225px;
	text-align: left;
	border: 10px solid #fff;	
}
#close_modal {
	position: absolute;
	right: 7px;
	top: 10px;
}
#modal_title {
	font-size: 16px;
	padding: 6px 15px;
	padding-top: 8px;
	background-color: #4d4d4d;
	color: #fff;
	border-bottom: 1px solid #ddd;
}
#modal_content {
	padding: 10px 15px;
	overflow: auto;
	background-color: #f2f2f2;
	border-top: 1px solid #fff;
}




/* =Twi
-----------------------------------------------------------------------------*/
#twitter {
	clear: both;
	position: relative;
	padding-left: 66px;
	border-top: 1px dashed #ddd;
	padding-top: 1em;
	margin-top: 1.5em;
}
#twi, #twi:hover {
	width: 50px;
	height: 36px;
	left: 0;
	top: 30px;
	position: absolute;
	background: url(../i/twi.png) no-repeat;
	text-decoration: none !important;
	display: block;

}
#twitter ul {
	list-style: none;
	font-size: .9em;
	margin-left: 0;
}
#twitter ul li {
	padding-bottom: 7px;
	margin-bottom: 7px;
}



/* =Tables
-----------------------------------------------------------------------------*/


/* =Misc
-----------------------------------------------------------------------------*/
#btn_reg {
	width: 190px;
	height: 71px;
	line-height: 71px;	
	background: url(../i/btn_reg.png) no-repeat;
	display: -moz-inline-box; display:inline-block; text-decoration: none;

}
#head_stroke {
	background-color: #dd9339;
	height: 2px;
	margin: 1em 0;	
}
#link_faq {
	padding-left: 30px !important;
	background: url(../i/ico_faq.png) no-repeat;
	background-position: 0 5px;	
}
#link_tour {
	padding-left: 30px !important;
	background: url(../i/ico_tour.png) no-repeat;
	background-position: 0 5px;	
}
.more {
	padding-left: 12px !important;
	background: url(../i/ico_more.png) no-repeat;
	background-position: 0 .4em;	
	font-size: .9em;
}
.stroke {
	border-top: 1px dashed #ccc;
	margin-top: 1.5em;
	height: 1px;
	padding-bottom: 1.5em
}
.rate {
	font-size: 11px;
	color: #666;
	padding-left: 14px !important;
	background: url(../i/ico_rate.png) no-repeat;
	background-position: 0 2px;
}
.ico_both {
	padding-left: 17px !important;
	background: url(../i/ico_both.png) no-repeat;
	background-position: 0 2px;
	font-weight: bold;
}
.ico_agent {
	padding-left: 17px !important;
	background: url(../i/ico_agent.png) no-repeat;
	background-position: 0 2px;
}
.ico_adv {
	padding-left: 17px !important;
	background: url(../i/ico_adv.png) no-repeat;
	background-position: 0 2px;
}
.rss, .rss:hover  {	
	display: -moz-inline-box; display:inline-block; text-decoration: none; background-repeat: no-repeat;
	width: 22px;
	height: 13px;
	line-height: 13px; 
	position: relative;
	top: 0px;
	background: url(../i/rss.png) no-repeat;
	text-decoration: none !important;
}
#btn_logout {
	float: right;
	position: relative;
	top: 12px;
	margin-left: .5em;
}

#path {
	margin-bottom: .4em;
}

.smessages {
	font-weight: bold;
}
#loader {
	padding: 20px;
	background: url(../i/loader.gif) center no-repeat;
}
.no_data {
	padding: 20px 0 !important;
	font-size: .9em;
	text-align: center;
	color: #666;
}


#rate_box {
	position: relative;
	top: -4px;
	right: 10px;
}
#rate_box .ico_plus,  #rate_box  .ico_minus {
	position: relative;
	top: 2px;
}
#rate_box .ico_plus {
	right: 4px;
}
#rate_box .ico_minus {
	left: 4px;
}


#tooltip {
	position: absolute;
	font-size: .85em;
	color: #666;
	padding: 7px;
	background-color: #fff;
	box-shadow: 0px 0px 15px #000;
	-webkit-box-shadow: 0 0 15px #000; 
  	-moz-box-shadow: 0 0 15px #000; 	
  	z-index: 100000;
	-moz-border-radius: .5em;
	-webkit-border-radius: .5em;
	border-radius: .5em;  	
}
#tooltip ul {
	margin: 0;
	list-style: none;
}
#tooltip ul li {
	margin-bottom: 7px;
}
#tooltip a.act, #tooltip a.act:hover {
	text-decoration: none;
	border-bottom: none;
	color: #999 !important;
	cursor: text;
}

.gray_box {
	padding: 1em;
	border: 1px solid #dae1e4;
	background-color: #f2f4f5;	
	margin-bottom: .5em;	
	position: relative;
}
.gray_box .ico_delete_box {
	position: absolute;
	right: .5em;
	top: .5em;
}

.yellow_row td {
	background-color: #faf5ea;
}
.yellow_box {
	padding: 1em;
	margin-bottom: 1.5em;
	background-color: #faf5ea;	
	font-size: .9em;
}
.yellow_box sup {
	color: #e87600;
	font-weight: bold;
}
.yellow_box a {
	margin-right: 1.5em;
}
.yellow_box a.act, .yellow_box a.act:hover {
	border-bottom: none;
	text-decoration: none;
	color: #999 !important;
}

#filter_keywords {
	line-height: 2em;
}
#filter_keywords a {
	text-decoration: none;
	margin-right: 5px;
	white-space: nowrap;
}
#filter_keywords a:hover {
	background-color: #369;
	color: #fff !important;
}


.places_list {
	float: left;
	margin-right: 2em;
}

#overlay {
	position: absolute;
	margin: auto;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 50000;
	filter:alpha(opacity=70);
	-moz-opacity: 0.70;
	opacity: 0.70;
	background-color: #000 !important;

}
#overlay[id] { position: fixed; }



.slider_points {
	width: 608px;
}
.slider_points td {
	color: #555;
	font-size: 11px;
	width: 52px;
	border: none;
}


#pager {
	margin: 0;
	list-style: none;
	overflow: auto;
	color: #666;
}
#pager li {
	float: left;
	margin: 0 7px 3px 0;
}
#pager li.prev, #pager li.next {
	clear: both;
	float: none;
	margin: 0;
	font-size: .9em;
}
#pager li.prev {
	margin-bottom: 4px;
}
#pager li a, #pager li span {
	padding: 2px;
}

.loader_d {
	background: url(../i/preloader.gif) no-repeat;
	padding: 15px 0;
}

 div.auto_complete {
          width: 350px;
       background: #fff;
		  z-index: 100000;
		  zoom:1;
}
 div.auto_complete ul
 {
          border:1px solid #888;
          margin:0;
          padding:0;
          width:100%;
          list-style-type:none;
		  z-index: 100001;
		  		  zoom:1;
     }
 
        div.auto_complete ul li {
          margin:0;
          padding:3px;
		  z-index: 100002;
		  cursor: pointer;
     		  zoom:1;
	     }
        div.auto_complete ul li.selected {
          background-color: #e0edf5;

        }
        div.auto_complete ul strong.highlight {
          color: #800;
          margin:0;
          padding:0;
        }

.desc_box, .error_box, .notice_box, .success_box { padding: .5em; margin-bottom: 1em; border: 1px solid #ddd; }
.desc_box { background: #f3f3f3; color: #222; border-color: #ddd; }
.error_box { background: #FBE3E4; color: #D12F19; border-color: #FBC2C4; }
.notice_box { background: #FFF6BF; color: #817134; border-color: #FFD324; }
.success_box { background: #E6EFC2; color: #529214; border-color: #C6D880; }
.error_box a { color: #D12F19; }
.desc_box a, .notice_box a { color: #191919; }
.success_box a { color: #529214; }


#users_opinions {
	list-style: none;
	margin-left: 0;
}
#users_opinions .opinion_head span {
	font-size: .8em;
	color: #999;
}



#chats_control {
	margin: 0;
	list-style: none;
}
#chats_control .head {
	overflow: hidden;
	font-size: .9em;	
}
.chat_messages .head {
	margin-bottom: 3px;
}
#chats_control .user {
	float: left;
	width: 64%;
}
#chats_control .date {
	float: right;
	width: 35%;
	font-size: .9em;
	color: #999;
	text-align: right;
}
#chats_control .comment {
	padding: .3em 1em;
	font-size: .9em;
	margin-bottom: 1em;
}
.comment_me {
	background-color: #bfd7bd;
}
.comment_user {
	background-color: #e4e4e4;
}

.lists {
	margin-left: 0;
	list-style: none;
	font-size: .95em;
}
.lists li {
	padding: 3px 7px;
}

#agents_list {
	margin: 0;
	list-style: none;
	font-size: .85em;	
}
#agents_list li {
	padding: 5px;	
}
#agents_list li .ico {
	position: relative;
	top: 1px;
	margin-left: 2px;
}
#agents_list li.act {
	background-color: #f2f2f2;
}
#agents_list li.act .ico {
	background-position: -16px;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	opacity:.50;	
}

#user_type_select {
	z-index: 1000;
	color: #999;
}
#user_type_select div {
	margin-top: 8px;
}

#control_box {
	background-color: #faf5ea;
	padding: 1em;
	padding-bottom: .7em;
	margin-bottom: 1.5em;	
}
#control_box_text {
	padding-bottom: .6em;
	font-size: .95em;
	line-height: 1.3em;
}
#control_box_load {
	font-size: .9em;
}
.control_box_desc {
	font-size: .9em;
	line-height: 1.3em;
	margin-bottom: 1em !important;
}
.control_box_chat {
	background-color: #f3e8cf;
	border: 1px solid #ead4a5;
	font-size: .9em;
	padding: 1em;
	margin-bottom: 1em;
}
.control_box_foxix {
	width: 43%;
	margin-right: 6%;
	float: left;
	margin-bottom: 1.5em;
}


/* tables */
table.tablesorter thead tr .headerSortUp {
	background-image: url(../i/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(../i/desc.gif);
}


