body
{
	margin: 0;
	padding: 0;
	color: #555;
	font: normal 10pt Arial,Helvetica,sans-serif;
	background: #ffffff;
}

h1
{
    font-size: 28px;
    font-weight: bold;
}

h2
{
    font-size: 22px;
    font-weight: bold;
}

h3
{
    font-size: 14px;
    font-weight: bold;
}

#page
{
	margin-top: 0;
	margin-bottom: 5px;
	background: white;
	/*border: 1px solid #fff;*/
    border: #000020 solid 0;
}

#header
{
	margin: 0;
	padding: 0;
	border-top: 0px solid #C9E0ED;
}

#tbl-geolocator
{
    margin: 0;
    padding: 0;
    width: 100%;
}

#content
{
    padding: 0px 10px 0px 10px;
}

#sidebar
{
	padding: 20px 20px 20px 0;
}

#footer
{
	padding: 10px;
	margin: 10px 20px;
	font-size: 0.8em;
	text-align: center;
	border-top: 1px solid #C9E0ED;
}

#logo
{
	padding: 2px 7px;
	font-size: 200%;
}

#logo img
{
    border: #000 solid 0;
    margin-top: 7px;
}

#td-topmenu
{
    border: #111 solid 0;
    text-align: right;
    vertical-align: top;
    margin-top: 0;
}

#div-topmenu
{
    margin-bottom: 5px;
    margin-top: 2px;
}

#span-lastvisit
{
    background: url('/images/lastvisit.png');
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 23px;
}

#a-lastvisit
{
    margin-right: 20px;
}

#span-favorit
{
    background: url('/images/favorit.png');
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 18px;
}

#a-favorit
{
    margin-right: 20px;
}

#span-uadvertscount
{
    background: url('/images/alladvert-black.png');
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 20px;
    border: #000 solid 0;
}

#a-favorit
{
    margin-right: 20px;
}

#a-uadvertscount
{
    margin-right: 20px;
}

#span-login
{
    background: url('/images/loginicon.png');
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 20px;
}

#div-addadvbutton
{
    float: right;
    border: #000099 solid 0;
}

#a-addadvbutton
{
    display: inline-block;
    padding: 9px 18px;
    margin-top: -3px;
    color: #fff;
    text-decoration: none;
    background-color: #0D9D0D;
    font-size: 15px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    border-radius: 3px;
}

#banner-block-footer
{
    text-align: center;
    padding-left: 0;
    margin-top: 10px;
    height: 120px;
    width: 1050px;
    border: #000099 solid 0;
}

#div-footer-menu
{
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

#user_message
{
    margin-left: 50px;
    cursor: pointer;
}

/*
#modal_usermessage
{
    border: #999 solid 1px;
    width: 360px;
    padding: 20px;
    z-index: 12;
}
*/
#modal_usermessage {
    width: 360px;
    height: 400px; /* Рaзмеры дoлжны быть фиксирoвaны */
    border-radius: 5px;
    border: 3px #000 solid;
    background: #fff;
    position: fixed; /* чтoбы oкнo былo в видимoй зoне в любoм месте */
    top: 45%; /* oтступaем сверху 45%, oстaльные 5% пoдвинет скрипт */
    left: 50%; /* пoлoвинa экрaнa слевa */
    margin-top: -150px;
    margin-left: -150px; /* тут вся мaгия центрoвки css, oтступaем влевo и вверх минус пoлoвину ширины и высoты сooтветственнo =) */
    display: none; /* в oбычнoм сoстoянии oкнa не дoлжнo быть */
    opacity: 0; /* пoлнoстью прoзрaчнo для aнимирoвaния */
    z-index: 12; /* oкнo дoлжнo быть нaибoлее бoльшем слoе */
    padding: 20px;
}


#modal_usermessage_close, #modal_share_close {
    width: 21px;
    height: 21px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    display: block;
    z-index: 13;
}


/* Пoдлoжкa */
#modal_usermessage_overlay, #modal_share_overlay {
    z-index: 11; /* пoдлoжкa дoлжнa быть выше слoев элементoв сaйтa, нo ниже слoя мoдaльнoгo oкнa */
    position: fixed; /* всегдa перекрывaет весь сaйт */
    background-color: #000; /* чернaя */
    opacity: 0.8; /* нo немнoгo прoзрaчнa */
    width: 100%;
    height: 100%; /* рaзмерoм вo весь экрaн */
    top: 0;
    left: 0; /* сверху и слевa 0, oбязaтельные свoйствa! */
    cursor: pointer;
    display: none; /* в oбычнoм сoстoянии её нет) */
}



#mainmenu
{
	background:white url(bg.gif) repeat-x left top;
}

#mainmenu ul
{
	padding:6px 20px 5px 20px;
	margin:0px;
}

#mainmenu ul li
{
	display: inline;
}

#mainmenu ul li a
{
	color:#ffffff;
	background-color:transparent;
	font-size:12px;
	font-weight:bold;
	text-decoration:none;
	padding:5px 8px;
}

#mainmenu ul li a:hover, #mainmenu ul li.active a
{
	color: #6399cd;
	background-color:#EFF4FA;
	text-decoration:none;
}

div.flash-error, div.flash-notice, div.flash-success
{
	padding:.8em;
	margin-bottom:1em;
	border:2px solid #ddd;
}

div.flash-error
{
	background:#FBE3E4;
	color:#8a1f11;
	border-color:#FBC2C4;
}

div.flash-notice
{
	background:#FFF6BF;
	color:#514721;
	border-color:#FFD324;
}

div.flash-success
{
	background:#E6EFC2;
	color:#264409;
	border-color:#C6D880;
}

div.flash-error a
{
	color:#8a1f11;
}

div.flash-notice a
{
	color:#514721;
}

div.flash-success a
{
	color:#264409;
}

div.form .rememberMe label
{
	display: inline;
}

div.view
{
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #C9E0ED;
}

div.breadcrumbs
{
	font-size: 0.9em;
	padding: 5px 20px;
}

div.breadcrumbs span
{
	font-weight: bold;
}

div.search-form
{
	padding: 10px;
	margin: 10px 0;
	background: #eee;
}

.portlet
{

}

.portlet-decoration
{
	padding: 3px 8px;
	background: #B7D6E7;
	border-left: 5px solid #6FACCF;
}

.portlet-title
{
	font-size: 12px;
	font-weight: bold;
	padding: 0;
	margin: 0;
	color: #298dcd;
}

.portlet-content
{
	font-size:0.9em;
	margin: 0 0 15px 0;
	padding: 5px 8px;
	background:#EFFDFF;
}

.portlet-content ul
{
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin: 0;
	padding: 0;
}

.portlet-content li
{
	padding: 2px 0 4px 0px;
}

.operations
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.operations li
{
	padding-bottom: 2px;
}

.operations li a
{
	font: bold 12px Arial;
	color: #0066A4;
	display: block;
	padding: 2px 0 2px 8px;
	line-height: 15px;
	text-decoration: none;
}

.operations li a:visited
{
	color: #0066A4;
}

.operations li a:hover
{
	background: #80CFFF;
}