html {
	margin: 0 auto;
	max-width: 1000px;
	height: 100%;
	background: url(http://ebgbo.com.ua/images/bg2.jpg) 50% 0 repeat-y;
}

@media not screen and (min-width: 1024px) {
	html {
		background: none;
	}
}

body {
	height: 100%;
	padding: 0 !important;
	font: 0.75em/140% "Arial";
}

table {
	border-width: 0;
	border-style: none;
	border-spacing: 0;
	font-size: inherit;
}

table thead, table tbody, table tfoot {
	vertical-align: top;
}

table thead, table tfoot {
	height: 10%;
}

table td {
	border-width: 0;
	border-style: none;
	padding: 0;
}

table.main_wrap {
	width:100%;
	height: 100%;
}

/*td.header {
	border-bottom: 5px solid #DEE6EC;
}*/

.hat {
	border-radius: 6px;
	position: relative;
}

.logotype {
	border-radius: 6px;
	display: inline-block;
	vertical-align: middle;
	width: 350px;
	/*background: url(../../../images/9may.png) left bottom no-repeat;*/
}

@media (max-width: 800px) {
	div.logotype {
		width: 100% !important;
		text-align: center !important;
	}
}

div.logotype img {
	max-width: 300px;
	padding: 0.25em;
	vertical-align: middle;
}

footer {
	/*border-top: 5px solid #DEE6EC;*/
	/*padding: 0 0 1em 0;*/
}

td.last {
	border-bottom: 5px solid #F0F0F0;
}

div.mobileversionlink {
	float: left;
	padding: 0.2em 0.5em;
/*	padding-top: 10px;
	padding-bottom: 4px;
	text-align: left;
	font-weight: bold;*/
}

div.mobileversionlink img {
	width: 24px;
	height: 24px;
	vertical-align: text-top;
}

div.fastlinks {
	width: 100%;
	padding-top: 10px;
	padding-bottom: 4px;
	text-align: right;
	font-weight: bold;
}

div.social {
	padding: 10px 0;
	height: 24px;
	/*overflow: hidden;*/
}

div.social div.like {
	padding: 0 10px;
	display: table-cell;
	vertical-align: middle;
	color: white;
	font-weight: bold;
}

div.popular_queries {
	/*height: 14px;*/
	padding-left: 10px;
	padding-right: 91px;
	text-align: right;
	font-weight: bold;
}

div.popular_queries span a {
	color: white;
}

form.search {
	text-align: right;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 350px;
	right: 0;
	padding: 0 10px;
	margin: auto;
	height: 24px;
	line-height: 24px;
}

@media (max-width: 800px) {
	form.search {
		left: 0;
		text-align: center;
		position: inherit;
		padding: 0.5em 0;
	}
}

form.search div.input {
	min-width: 20em;
	width: 75%;
	display: inline-block;
}

form.search div.input  input {
	height: 24px;
	font-size: 1.2em;
}

form.search div.submit {
	padding-left: 10px;
	display: inline-block;
}

input, select , textarea, button {
	border-style: solid;
	border-radius: 4px;
	border-color: #cfcfcf;
	border-width: 2px;
	min-height: 24px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

input[type="search"], input[type="email"], input[type="tel"], input[type="text"] {
	padding: 0 0.25em;
}

input[type="submit"]:focus {
	box-shadow: 0px 0px 10px orange;
	outline-color: orange;
}

input[type="submit"]:active {
	box-shadow: 0px 0px 25px orange;
	outline-color: orange;
}

form.search div.submit input {
	height: 24px;
	font-size: 1.2em;
}

form.search input[type="search"] {
	width: 100%;
}

div.slogan {
	text-align: center;
	font-weight: 900;
	text-transform: uppercase;
	color: red;
}

main.loginpage {
	text-align: center;
}

main.loginpage section div {
	display: inline-block;
}

main section {
	margin: 1em 0;
}

div.panel {
	border-radius: 6px;
}

div.subpanel {
	display: inline-block;
	vertical-align: top;
}

div.errorpanel {
	padding: 1em;
	background-color: #ffddcc;
	font-style: italic;
}

div.noticepanel {
	padding: 1em;
	background-color: #e0ffcc;
	font-style: italic;
}

div.dialogpanel {
	padding: 1em;
	background-color: #eaf1f6;
}

div.dialogpanel span {
	display: inline-block;
	padding: 0.5em;
}

div.controlpanel {
	padding: 1em;
	background-color: #fcee69;
}

div.infopanel {
	white-space: nowrap;
	margin-right: 2em;
}

div.infopanel img, div.editpanel img, div.favpanel img, div.socialpanel img {
	width: 24px;
	height: 24px;
}

div.infopanel img.state {
	float: left;
	margin-right: 1em;
}

div.editpanel a.delete {
	margin-left: 1em;
}

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

div.socialpanel {
	float: right;
	text-align: center;
}

div.itempanel {
	display: flex;
	background-color: #eaf1f6;
}

div.imagepanel {
	padding: 1em;
}

div.descpanel {
	padding: 1em;
	vertical-align: top;
}

/* select {
	padding: 1px 0px;
} */

div.listingpanel {
	padding: 0.5em;
	background-color: #fdfdfd;
}

div.listingrow0 {
	background-color: #f4f4f4;
}

div.listingrow1 {
	background-color: #ffffff;
}

main.messagepage section {
	margin: 1em 0; padding: 0 0.5em;
	vertical-align: top;
}

main.messagepage section.message {
	width: 100%;
}

main.messagepage section.message img.icon {
	float: left;
}

main.messagepage section.message div.text {
	padding: 0 1em 0 7em;
}

main.messagepage section.ad {
	width: 100%;
	text-align: right;
	overflow: hidden;
}

@media (min-width: 1000px) {
	main.messagepage section {
		display: inline-block;
	}

	main.messagepage section.message {
		max-width: 600px;
	}
	
	main.messagepage section.ad {
		max-width: 360px;
	}
}

div.citylist {
	margin-top: 6px;
}

div.citylist span.favcity {
	margin-right: 12px;
	font-weight: bold;
}

nav.top {
	margin: 0.5em 0;
	/*padding: 0.5em 0;
	height: 24px;*/
	background-color: white;
	border-radius: 6px;
}

@media print {
	nav.top {
		display: none;
	}
}

nav.top ul {
	list-style: none;
	padding: 0;
	margin: 0;
	font-family: Arial;
	font-weight: bold;
}

nav.top ul li {
	/*float: right;*/
	position: relative;
	/*z-index: 1;*/
	margin: 0 0.5em;
	padding: 0.5em 0;
	display: inline-block;
}

nav.top ul li a {
	display: block;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
}

nav.top ul li img {
	width: 24px;
	height: 24px;
	vertical-align: top;
}

nav.top ul li a img {
}

nav.top ul li ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: none;
	position: absolute;
	right: 0;
	white-space: nowrap;
	z-index: 1;
}

nav.top ul li ul li {
	float: none;
	display: list-item;
	margin: 0;
	padding: 8px 0em;
	text-align: left;
	background: #fafafa;
	border-radius: 8px;
}

nav.top ul li ul li a {
	padding: 0 1em;
}

nav.top ul li a span {
	text-transform: uppercase;
	line-height: 24px;
	font-size: 0.75em;
	vertical-align: top;
	padding: 0 0.5em;
}

nav.top ul li:hover ul {
	display:block;  
}
nav.top ul li ul li:hover {
	background:#f1f1f1;
}

nav.path {
	padding: 1em 0.5em;
	font: bold 18px/22px "Tahoma", "Arial";
}

nav.path a {
	text-decoration: initial;
}

nav.path a:hover {
	text-decoration: underline;
}

nav.bottom {
	margin: 0.5em 0;
	/*padding: 0.5em 0;*/
	/*height: 24px;*/
	background-color: #eaf1f6;
	border-radius: 6px;
}

nav.bottom ul {
	list-style: none;
	padding: 0;
	margin: 0;
	font-family: Arial;
	font-weight: bold;
}

nav.bottom ul li {
	/*float: left;
	position: relative;*/
	display: inline-block;
	margin: 0 0.5em;
	padding: 0.5em 0;
}

nav.bottom ul li a {
	display: block;
	color: #445964;
	text-decoration: none;
	border-radius: 4px;
}

nav.bottom ul li img {
	width: 24px;
	height: 24px;
	vertical-align: top;
}

nav.bottom ul li a span {
	text-transform: uppercase;
	line-height: 24px;
	font-size: 0.75em;
	vertical-align: top;
	padding: 0 0.5em;
}

nav.local ul {
	list-style: none;
	padding: 0;
	margin: 0;
	font-family: Arial;
	font-weight: bold;
}

nav.local ul li {
	margin: 0 0.5em;
	padding: 0.5em 0;
}

nav.local ul li a {
	display: inline-block;
	color: #445964;
	text-decoration: none;
	border-radius: 4px;
}

nav.local ul li img {
	width: 24px;
	height: 24px;
	vertical-align: top;
}

nav.local ul li a span {
	text-transform: uppercase;
	line-height: 24px;
	font-size: 0.75em;
	vertical-align: top;
	padding: 0 0.5em;
}

/*nav.bottom a.rss {
	float:right;
}

nav.bottom a.rss  img {
	vertical-align: middle;
}*/


h1 {
	font: bold 18px/22px "Tahoma", "Arial" !important;
}

h3 {
	margin: 1em 0;
}

h4 {
	margin-bottom: 0.5em;
}

div.infoline {
	vertical-align: top;
	background-color: #eaf1f6;
	padding: 8px 10px;
	margin-bottom: 8px;
}

div.infoline div.block {
	display: inline-block;
	vertical-align: top;
}

div.infoline div.leftblock, div.infoline div.rightblock {
	display: inline-block;
	width: 50%;
	vertical-align: top;
}

div.infoline div.rightblock  div.adcount{
	text-align: right;
}

.catalog {
	margin-bottom: 8px;
	display: flex !important;
	display: -webkit-flex !important;
	display: -moz-flex !important;
	display: -ms-flexbox !important;
    display: -webkit-box;
	justify-content: space-between;
	-webkit-justify-content: space-between;
}

.catalog div.block {
	/*display: table-cell;*/
	max-width: 50%;
	vertical-align: top;
	flex: 1;
	-webkit-flex: 1;
}

.catalog div.block  div.category_title {
	background-color: #ecf1f0;
	margin: 0 5px 5px 5px;
	padding: 3px 0;
	font: 110%/110% "Tahoma", "Arial";
}

.catalog div.block  div.subcategory_list {
	padding: 0 10px;
	margin-bottom: 16px;
}

.catalog div.block  div.category_title  span.category_name {
	padding: 0 5px;
}

.catalog div.block  div.category_title  span.category_name a {
	color: #445964 !important;
	font-weight: bold;
}

@media (min-width: 800px) {
	.catalog div.block  span.subcategory_name {
		white-space: nowrap;
	}
}

footer {
	background-color: #eaf1f6;
	border-radius: 6px;
}

div.links {
	padding: 0.5em 0;
	text-align: center;
}

div.links a {
	margin: 0 0.5em;
}

div.links a  img {
	width: 24px;
	height: 24px;
	vertical-align: middle;
	margin: 0.5em 0;
}

div.links a  span {
	margin-left: 0.5em;
	vertical-align: middle;
}

div.copyright {
	padding: 0.5em 0.25em;
	text-align: center;
}

div.counter {
	padding: 0.5em 0.25em;
	vertical-align: top;
	text-align: center;
}

div.counter img {
	border-radius: 4px;
	border-width: 1.5px;
	border-color: orange;
}

.black {
	color: #445964 !important;
}

.light {
	color: #A6B0B5 !important;
}

.red {
	color: #FF0000 !important;
}

.green {
	color: #139E24 !important;
}

.white {
	color: white !important;
}

.linecolor1 {
	background-color: #EAF1F6;
}

.linecolor2 {
}

div.itemlist {
	display: table;
	width: 100%;
}

div.itemlist section.itemline {
	display: table-row;
}

div.itemlist section.itemline div.adpanel {
	display: table-cell;
	padding: 1em;
	border-bottom: 0.5em solid #F0F0F0;
	vertical-align: top;
}

div.itemlist section.itemline div.adstate {
	width: 1em;
}

div.itemlist section.itemline div.adstate img {
	width: 24px;
	height: 24px;
}

div.itemlist section.itemline div.adbody  img.thumbnail {
	border: 1pt solid #C5C5C5;
	box-shadow: 4pt 4pt 4pt #aaa;
	padding: 4pt;
	background-color: white;
	float: left;
	margin-right: 2em;
	margin-bottom: 1em;
}

header.adtitle {
	font-family: Tahoma, Arial;
	font-size: 1.05em;
	font-weight: bold;
	line-height: 1.125em;
	padding: 0;
	margin: 0 0 1em;
}

header.adtitle span {
	vertical-align: top;
}

header.adtitle img {
	width: 18px;
	height: 18px;
	vertical-align: middle;
}

header.adtitle h3 {
	display: inline;
	font-size: inherit;
	font-family: inherit;
	margin: inherit;
	padding: inherit;
}

div.addescription {
	margin-bottom: 2em;
}

div.itemlist section.itemline div.adbody div.adtext {
	padding: 1em 0;
}

div.itemlist section.itemline div.adbody div.adbreadcrumbs  a {
	color: inherit;
	font-size: 0.9em;
	font-family: "Tahoma", "Arial";
}

div.itemlist section.itemline div.adextra {
	text-align: right;
}

div.itemlist section.itemline div.adextra  div.addate{
	font-size: 0.9em;
	font-family: "Tahoma", "Arial";
	padding: 1em 0;
}

div.itemlist section.itemline div.adextra  div.adcity {
	font-family: Tahoma, Arial;
	font-size: 1.05em;
	font-weight: bold;
	line-height: 1.125em;
	padding: 0;
	margin: 0;
}

div.itemlist section.itemline div.adcontrol {
	width: 9em;
	text-align: right;
}

div.itemlist section.itemline div.adcontrol img {
	width: 24px;
	height: 24px;
}

div.itemlist section.itemline div.adcontrol a.delete {
	margin-left: 1em;
}

div.itemlist section.itemline div.adcontrol div.adstatus {
	margin-top: 2em;
}

td.list1 {
	vertical-align: top;
	background-color: #eaf1f6;
	padding: 9px 10px 11px 10px;
	word-break: break-all; /* Важно */
}

td.list2 {
	vertical-align: top;
	padding: 9px 10px 11px 10px;
}

img.small_image {
	border: 1px solid #c5c5c5;
	border-radius: 6px;
	margin-top: 0 !important;
	margin-right: 10px;
	margin-bottom: 10px;
	box-shadow: 5px 5px 5px #aaa;
	padding: 5px;
	background-color: #ffffff;
	float: left;
}

img.normal_image {
	border: 1px solid #c5c5c5;
	border-radius: 6px;
	box-shadow: 5px 5px 5px #aaa;
	padding: 5px;
	background-color: #ffffff;
}

div.pager {
	font-size: 1.4em;
}

div.user_name {
	width: 100%;
	text-align: center;
	font-weight: bold;
	font-size: 16px;
	margin-bottom: 12px
}

div.panel_element {
	width: 124px;
	text-align: center;
	display: inline-block;
	margin-bottom: 24px;
	vertical-align: top;
}

div.own_stat, div.moderator_stat, div.activity {
	margin-bottom: 16px;
}

div.own_stat span.title, div.moderator_stat span.title {
	font-weight: bold;
}

div.own_stat div.stat_item {
	background-color: #eaeaea;
	border-width: 1px 0;
	border-style: solid;
	border-color: white;
}

div.own_stat div.stat_item  span.name{
	font-weight: bold;
	display: inline-block;
	width: 160px;
}

div.own_stat div.stat_item  span.value {
	display: inline-block;
	width: 100px;
	text-align: right;
}

div.signals {
	text-align: right;
	margin-bottom: 6px;
	white-space: nowrap;
}

div.signals img {
	width: 24px;
	height: 24px;
	margin-left: 4px;
}

div.moderate {
	text-align: right;
	margin-bottom: 6px;
	white-space: nowrap;
}

label.moderate {
	width: 32px;
	height: 32px;
	display: inline-block;
	position: relative;
	margin-left: 6px;
}

label.moderate input[type="checkbox"] {
	opacity: 0;
}

input[type="checkbox"] + span {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0.15;
	cursor: pointer;
}

input[type="checkbox"]:checked + span {
	opacity: 1;
}

input[type="checkbox"] + span.clone {
	background: url(http://ebgbo.com.ua/images/button_clone.png) no-repeat;
}

input[type="checkbox"] + span.plagiat {
	background: url(../../../images/button_plagiat.png) no-repeat;
}

input[type="checkbox"] + span.spam {
	background: url(../../../images/button_spam.png) no-repeat;
}

input[type="checkbox"] + span.error {
	background: url(http://ebgbo.com.ua/images/button_error.png) no-repeat;
}

input[type="checkbox"] + span.old {
	background: url(http://ebgbo.com.ua/images/button_old.png) no-repeat;
}

div.control {
	white-space: nowrap;
}

div.control a img{
	width: 32px;
	height: 32px;
	opacity: 0.75;
}

.small {
	font: 0.8em/1.6em "Verdana", "Arial";
	text-decoration: none;
}

.fixed  {
	background-color: #FFFF99 !important;
	color: #222222;
}

.premium {
	background-color: #CCFFCC !important;
	color: #222222;
}

.marked {
	background-color: #FFF500 !important;
}

div.tags  ul {
	padding: 0;
}

div.tags ul li {
	display: block;
	float: left;
	padding: 2px 5px;
	background: #FFF;
	border: 1px solid #999;
	margin-right: 3px;
	margin-bottom: 3px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.3);
	box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.3);
}

div.ad {
	text-align: center;
	margin: 2em 0;
}

div.ad>div{
	display: inline-block;
}

section header {
	padding-bottom: 3px;
	font: bold 1.1em/1em "Tahoma", "Arial";
}

/* Панель управления */
section.controlpanel {
	margin: 1em 0;
}

section.controlpanel	header {
	padding-bottom: 3px;
	font: bold 1.1em/1em "Tahoma", "Arial";
}

section.controlpanel div.substrate {
	background-color: #FCEE69;
	border-radius: 5px;
}

/* Панель управления объявлением */
div.controlpanel {
	margin: 1em 0;
	min-height: 36px; /*Временное форматирование*/
}

div.controlpanel div.panels {
	/*min-height: 56px;*/
	background-color: #FCEE69;
	border-radius: 5px;
}

div.controlpanel div.panels img {
	width: 24px;
	height: 24px;
}

div.controlpanel div.panels div.infopanel,
div.controlpanel div.panels div.editpanel,
div.controlpanel div.panels div.socialpanel,
div.controlpanel div.panels div.favpanel {
	display: inline-block;
	/*padding: 1em;*/
	vertical-align: top;
}

div.controlpanel div.panels div.infopanel {
	white-space: nowrap;
}

div.controlpanel div.panels div.infopanel img.state {
	float: left;
	margin-right: 1em;
}

span.important {
	font-weight: bold;
}

div.controlpanel div.panels div.editpanel a.delete {
	margin-left: 1em;
}

div.controlpanel div.panels div.favpanel {
	float: right;
}

div.controlpanel div.panels div.socialpanel {
	float: right;
	text-align: center;
}

/* Объявление */
article.announcement {
	background-color: #EAF1F6;
}

article.announcement div.image, article.announcement div.description {
	display: table-cell;
	vertical-align: top;
	padding: 1em;
	word-break: break-word;
}

article.announcement div.description header.title img {
	width: 18px;
	height: 18px;
}

/* Дополнительные объявления и ссылки */
div.more {
	background-color: #EAF1F6;
}

div.more div.announcements, div.more div.ads {
	display: table-cell;
	vertical-align: top;
	padding: 1em;
}

div.more div.announcements {
	/*min-width: 70%;*/
}

/* Методы выделения объявления */
div.emphasis {
	display: table;
}

div.emphasis div.methodlist {
	display: table-row;
	background-color: #FCEE69;
	border-radius: 5px;
}

div.emphasis div.methodlist div.method {
	display: table-cell;
	padding: 1em;
	vertical-align: top;
}

div.emphasis div.methodlist div.method img.methodicon {
	float: left;
	width: 36px;
	height: 36px;
}

div.emphasis div.methodlist div.method div.name {
	padding-left: 44px;
	font-weight: bold;
	color: red;
	text-decoration: inherit;
}

div.emphasis div.methodlist div.method div.timeout {
	padding-left: 44px;
	text-align: center;
	color: blue;
}

/* Подача/редактирование объявления */
div.subpanel div:first-child span {
	font-weight: bold;
}

/* Yandex Direct */
#yap-yandex_ad-horizontal .yap-title-font-size {
	font-weight: bold !important;
}

a.yap-title-text, a.yap-title-font-size {
	font-weight: bold !important;
}

.ya-partner__list {
	margin-bottom: 6px;
}

.ya-partner__item {
	/*background-color: #FAFAC6 !important;*/
}

.ya-partner__title-link-text {
	padding: 5px 5px !important;
}

.ya-partner__text {
	color: black;
	font-size: 13px !important;
	padding: 5px 5px !important;
}

.ya-partner__url {
	font-size: 100% !important;
	padding: 5px 5px;
}

div.ad div.trg-b-standard {
	text-align: left !important;
	background: none !important;
}

div.ad div.trg-domain {
	background: none !important;
}

div.ad img.trg-img {
	width: 90px !important;
	height: 75px !important;
	box-shadow: 5px 5px 5px #aaa;
	padding: 5px;
	border-radius: 6px;
	margin-right: -55px !important;
	background: white !important;
}

div.ad div.trg-rt {
	max-width: 60%;
}

div.ad div.trg-title-wrapper {
	font-size: 18px !important;
	font-weight: bold;
	color: rgb(0, 68, 161);
	margin-top: 8px;
	margin-bottom: 6px;
}

div.ad div.trg-text {
	font-size: 16px !important;
	  color: #222222 !important;
}

div.tr_ads {
	display: flex;
	margin: 1em 0;
	padding: 1em 0;
}

/* Tryndex.Direct */
div.tr_ad {
	flex: 1;
	margin: 0 0.25em;
	padding: 1em;
	background-color: lemonchiffon;
}

div.tr_ad div.tr_image {
	float: left;
}

div.tr_ad div.tr_image img.icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

div.tr_ad div.tr_image img.normal {
    width: 75px;
    /*height: 75px;*/
    margin-right: 12px;
    margin-bottom: 10px;
    padding: 5px;	
	border: 1px solid #c5c5c5;
    box-shadow: 5px 5px 5px #aaa;
    background-color: #ffffff;
    border-radius: 6px;
}

div.tr_ad div.tr_title {
	padding-bottom: 0.5em;
	font: bold 1.25em/1.2em "Arial";
	text-align: left;
}

div.tr_ad div.tr_title a {
	text-decoration: none;
}

div.tr_ad div.tr_description {
	text-align: justify;
}

div.tr_ad div.tr_description div.tr_text {
	font: 1.1em/1.3em "Arial";
	white-space: pre-line;
}

div.tr_ad div.tr_description div.tr_attention {
    font-size: 10px;
    color: gray;
	line-height: 10px;
    margin-top: 6px;
}

/* TMP */
h2.title {
	margin: 0 0 1em;
}
h2.title img {
	vertical-align: middle;
}