body, html {
	font-family:Arial, sans-serif;
	font-size:0.9em;
	padding:0;
	margin:0;
    max-width:1300px;
}

#container {
	position:relative;
	width:85%;
	margin-left:100px;
	padding-bottom:30px;
}

h1 {
	margin:30px 0 60px 200px;
	padding:0;
	font-size:3em;
	font-style:italic;
	font-weight:normal;
	font-family:Georgia, serif;
}

#add-notice {
	display:none;
	width:50%;
	margin:40px 0px 50px 50px;
}

#switcher-container {
	margin:0.5em;
	text-align:right;
}

#add-notice input {
	width:17em;
}

#add-notice textarea {
	width:90%;
	height:15em;
}

#add-notice p {
	width:100%;
}

body #submit {
	width:auto;
	font-size:1.4em;
}

#switcher-container span.inside {
	font-size:1.4em;
	font-weight:bold;
}
.messages {
	margin:0;
	padding:0;
}

.messages  li {
	padding:0.8em 1em 0.5em 1em;
	border-bottom:1px solid #eee;
	list-style-type:none;
	font-size:1.1em;
	line-height:1.5em;
}

.messages li:hover {
    background-color:#FFEFEF;
    background-image:-webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, rgb(255,235,235)),
        color-stop(1, rgb(255,247,247))
    );
    background-image:-moz-linear-gradient(
        center top,
        rgb(255,235,235) 0%,
        rgb(255,247,247) 100%
    );
    background-image:linear-gradient(
        center top,
        rgb(255,235,235) 0%,
        rgb(255,247,247) 100%
    );
}

.messages li.warning {
	background:#FFEFEF !important;
}

.messages li div {
	width:100%;
}

.messages  li.none {
	display:none;
}

.messages  li.active {
	background:#FCFFDF;
	margin:1px;
	padding:1.5em 1em 1.5em 1em;
	border:1px solid #fff;
	border-bottom:1px solid #eee;
	list-style-type:none;	
}

.messages .head {
	padding-bottom:0.5em;
	font-size:0.9em;
}

.messages .head span {
	margin-right:2em;
}

.messages .author {
	font-style:italic;
}

.messages .date {
	padding-top:0.5em;
	font-size:0.8em;
	font-style:italic;
	text-align:right;
	color:#333;
}

.messages .manytext {
	font-size:0.9em !important;
}

.messages .content {
	width:100%;
	max-height:17em;
	overflow:hidden;
}

.messages .content:hover {
	max-height:35em;
}

.full-width {
	width:100%;
}

.sections {
	padding:0;
	margin:0 0 0 100px;
}

.sections li {
	line-height: 30px;
	font-size:2em;
	margin:0.8em 0.5em;
	list-style-type:none;
	color:#ccc;
}

.sections li a span {
	position: relative;
	top: -0.1em;
}

.sections li a:link,
.sections li a:visited,
.sections li a:hover,
.sections li a:active {
    text-decoration:none;
}

.sections li a:link span,
.sections li a:visited span,
.sections li a:hover span,
.sections li a:active span {
    text-decoration:underline;
}

.sections li a:hover img {
    opacity:0.4;
}

.sections li i {
	margin:0;
	padding:0;
    margin-right:0.4em;
    width:30px;
    height:30px;
    border:0;
	display: inline-block;
	background: url('./i/sprite.png') 0 0 no-repeat;
}

.sections li a:hover i {
	opacity:0.7;
}

.sections i.real_estate {
	background-position: 0 0;
}

.sections i.computer {
	background-position: 0 -57px;
}

.sections i.avto {
	background-position: 0 -115px;
}

.sections i.tech {
	background-position: 0 -172px;
}

.sections i.furniture {
	background-position: 0 -229px;
}

.sections i.service {
	background-position: 0 -286px;
}

.sections i.work {
	background-position: 0 -344px;
}

.sections i.wear {
	background-position: 0 -401px;
}

.sections i.pets {
	background-position: 0 -458px;
}

.sections i.other {
	background-position: 0 -515px;
}

.sections li sup {
    position:relative;
    top:-0.8em;
	font-size:12px;
	color:#777;
	margin-left:3px;
}

.section-selector {
	margin:0;
	padding:7px;
	font-size:1.1em;
}

.section-selector li {
	margin:0 5px;
	padding:3px 5px;
	float:left;
	list-style-type:none;
}

.section-selector__line {
	padding-top:5px;
	clear:both;
	font-size:0;
	line-height:0;
	border-bottom:3px solid #959595;
}

.section-selector li.selected {
	background-color:#959595;
	color:#fff;
	border-bottom:0;
	border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	text-shadow:1px 1px 3px #333;
}

.section-selector__real_estate li.selected {
	background-color:#D5AF7E;
}

.section-selector__line-real_estate {
	border-color:#D5AF7E;
}

.section-selector__avto li.selected {
	background-color:#E57979;
}

.section-selector__line-avto {
	border-color:#E57979;
}

.section-selector__computer li.selected {
	background-color:#85ABE2;
}

.section-selector__line-computer {
	border-color:#85ABE2;
}

.section-selector__service li.selected {
	background-color:#85D193;
}

.section-selector__line-service {
	border-color:#85D193;
}

.section-selector__work li.selected {
	background-color:#BB8DC6;
}

.section-selector__line-work {
	border-color:#BB8DC6;
}

.section-selector__tech li.selected {
	background-color:#BC8282;
}

.section-selector__line-tech {
	border-color:#BC8282;
}

.section-selector__pets li.selected {
	background-color:#EBF484;
	color:#000;
	text-shadow:1px 1px 3px #fff;
}

.section-selector__line-pets {
	border-color:#EBF484;
}

.section-selector__furniture li.selected {
	background-color:#82CCC4;
}

.section-selector__line-furniture {
	border-color:#82CCC4;
}

.section-selector__wear li.selected {
	background-color:#F282DF;
}

.section-selector__line-wear {
	border-color:#F282DF;
}
