html, body {
	margin: 0;
	padding: 0;
	height: 100%;
}

html { font-size: 75%; }

body {
	background: #fff url(../img/bg_main.png) repeat-x top;
	font: 100% "Trebuchet MS", Arial, sans-serif;
	min-height: 100%;
}

input, textarea, select, option {
	font: 100% "Trebuchet MS", Arial, sans-serif;
}

a img { border: 0; }

a:link { color: #4FBC45; }
a:visited { color: #4FBC45; }
a:hover { color: #4FBC45; text-decoration: none; }
a:active { color: #4FBC45; }

.container {
	min-height: 100%;
	min-width: 640px;
}

/* {{{ header */
.header {
	position: relative;
	height: 110px;
}
.header h1 {
	position: absolute;
	top: -9999px;
	left: -9999px;
}
.logo {
	position: absolute;
	left: 0;
	margin-left: 3%;
	top: 30px;
}
.header .service-menu {
	margin: 0;
	padding: 0 10px 0 0;
	list-style: none;
	position: absolute;
	right: 3%;
	top: 36px;
	background: url(../img/bg_servmenu.png) no-repeat 100% 0%;
	height: 39px;
	font-size: 1.4em;
}
.header .service-menu li {
	list-style: none;
	float: left;
	min-height: 30px;
	line-height: 30px;
	padding-left: 10px;
	position: relative;
}
.header .service-menu li.first {
	background: url(../img/bg_servmenu.png) no-repeat 0% 0%;
	margin-left: -12px;
}
/* }}} header */

/* {{{ search block */
.search {
	padding: 0 3%;
	position: relative;
	min-width: 590px;
	min-height: 4em;
	max-width: 880px;
	z-index: 11;
}
.search form {
    padding: 0;
    margin: 0;
}
.search .corners1 {
	margin-right: 124px;
}
#words, #words2 {
	background: none;
	border: none;
	width: 98%;
	font-size: 1.4em;
}
.search .button {
	margin: 0;
	padding: 0;
	position: absolute;
	right: 0px;
	top: 0;
	z-index: 10;
}
.any-word {
	position: absolute;
	top: 2.4em;
	left: 7px;
	z-index: 10;
	font-size: 1.2em;
}
.ext-search {
	position: absolute;
	top: 2.4em;
	right: 0;
	margin-right: 126px;
	z-index: 10;
	font-size: 1.2em;
}
.ext-search a {
	margin-right: 36px;
}
.ext-search a b {
	padding-left: 18px;
	background: url(../img/icons1.gif) no-repeat 100% -16px;
	margin-right: -18px;
	font-size: 12px;
	line-height: 12px;
}
.ext-search a.closed b {
	background-position: 100% 2px!important;
}
/* }}} search block */

/* {{{ extended search form */
.ext-search-form {
	background: #fff;
	position: relative;
	top: -6px;
	left: 0px;
	width: 100%;
	z-index: 9;
}
.ext-search-form ul {
	margin: 0 0 0 -3px;
	padding: 0;
	list-style: none;
	position: relative;
}

/* {{{ hack for mozilla */
@-moz-document url-prefix() {
    .ext-search-form ul input {
        top: 0.2em;
        position: relative;
    }
}
/* }}} hack for mozilla */

/* {{{ hack for opera */
@media all and (-webkit-min-device-pixel-ratio:10000),
not all and (-webkit-min-device-pixel-ratio:0) {
  .ext-search-form ul {margin-left: 0;}
  .any-word { left: 10px; }
}
/* }}} hack for opera */
.ext-search-form li {
	line-height: 1.4em;
}
.ext-search-form h3, .ext-search-form label.special {
	color: #fc3;
	font-size: 1.2em;
	margin: 0 0 0.2em 0;
	padding: 0;
	display: block;
	font-weight: bold;
}
.ext-search-form .cc {
	overflow: hidden;
	min-height: 255px;
	padding-top: 2.3em;
}
.ext-search-layout {
	width: 100%;
	table-layout: auto;
	border-collapse: collapse;
}
.ext-search-layout td {
	vertical-align: top;
	padding: 0;
}
.ext-search-layout td.source-block {
	width: 29%;
}
.ext-search-layout td.type-block {
	width: 27%;
}
.ext-search-layout td.morph-block {
	width: 22%;
}
.ext-search-layout td.source-block,
.ext-search-layout td.type-block,
.ext-search-layout td.morph-block {
	padding-bottom: 1.2em;
}
.dp-applied {
	width: 80px;
}
.date-from span, .date-to span {
    float: left;
    width: 1.5em;
}
#monthsList {
    font-size: 1.2em;
    width: 175px;
}
#monthsList p {
	margin: 0;
	padding: 0;
	font-size: 0.85em;
}
#monthsList span {
    vertical-align: 0.1em;
}
#monthsList p.date-from { padding-bottom: 0.5em; }
#monthsList p.date-to { padding-top: 0.5em; }
#date-selector {
    padding-top: 0.2em;
    padding-bottom: 0.8em;
    clear: both;
}
#month {
    margin-left: 1.3em;
}
.date-from, .date-to { clear: both; }
#te_min1, #te_max1 {
    vertical-align: top;
    position: relative;
    top: -2px;
    float: left;
    font-size: 0.7em;
}
#min1, #max1 {
    cursor: pointer;
    background: url(../img/cal_arrows.gif) no-repeat center -20px;
    float: left;
    width: 20px;
    height: 20px;
    text-indent: -9999px;
    display: block;
}
.date-from .closed, .date-to .closed { background-position: center 0px!important; }
#morphemes {
	margin-bottom: 1.5em;
}
/* }}} extended search form */

/* {{{ search results */
.results, .content {
	padding: 0 3%;
}
.results-count {
	color: #fc6;
	margin: 0.8em 3%;
	font-size: 1.3em;
	padding-left: 7px;
}
.mistake {
	color: #f30;
	margin: 0.8em 3%;
	font-size: 1.2em;
	padding-left: 7px;
}
.results-count strong {
	margin-left: 1em;
	color: #666;
	font-size: 0.9em;
}
.results-list {
	padding: 0;
	list-style: none;
	margin: 1em 0;
}
.results li {
    max-width: 1030px;
}
.results h3 {
	font-size: 1.35em;
	font-weight: bold;
	display: block;
	margin: 0 0 0.2em 0;
	padding: 0;
}
.results .d {
	margin-bottom: 1.5em;
	font-family: Arial, Helvetica, sans-serif;
}
.results h3 a {
	text-decoration: none;
}
.results h3 a span {
	color: #F6BC48;
	text-decoration: underline;
}
.results h3 a strong {
	color: #4FBC45;
	text-decoration: underline;
}
.results h3 a:hover * {
    text-decoration: none;
}
li.type1, li.type2 {
	margin: 1em 0 1em 10px;
}
li.type1 { max-width: 576px; }
li.type2 { max-width: 672px; }
li.type1 .d, li.type2 .d {
	margin-bottom: 0;
}
.res-block-wrapper {
	display: table;
}
.descr {
	color: #666;
	display: block;
	margin-bottom: 0.2em;
}
.link, .stat {
    font-size: 1.1em;
}
.stat {
	margin: 0 0 0 10px;
	padding: 0;
	list-style: none;
	display: inline;
	color: #666;
}
.stat li {
	display: inline;
	padding-left: 17px;
	background: url(../img/icons1.gif) no-repeat -4px -96px;
	padding-right: 6px;
}
.stat li.hobby {
	background-position: -4px -48px;
}
.actions {
	margin: 0;
	padding: 0;
	list-style: none;
}
.actions li {
	display: inline;
	margin-right: 0.5em;
}
.actions a:link,
.actions a:visited {
	color: #ccc;
}
.actions a:hover,
.actions a:active {
	color: #4FBC45;
}
.nav {
	margin: 1em 0;
	padding: 0;
	text-align: center;
	list-style: none;
	font-family: Arial, Helvetica, sans-serif;
	clear: both;
}
.nav li {
	display: inline;
	list-style: none;
	font-size: 2em;
	margin: 3px;
}
.nav li b {
	font-weight: normal;
	color: #ccc;
}
.nav li .prev, .nav li .next {
	font-size: 0.8em;
	text-decoration: none;
}
.missed {
	color: #666;
	margin: 1em 0;
}
.missed a {
	margin-left: 17px;
}
.missed b {
	padding-left: 17px;
	background: url(../img/icons1.gif) no-repeat -4px -30px;
	margin-left: -17px;
}
.missed strong {
    font-size: 1.1em;
}
/* }}} search results */

/* {{{ news list */
.content {
    padding-top: 2em;
    padding-bottom: 70px;
}
.content h1 {
    color: #FCD635;
    margin: 0 0 0.5em;
    padding: 0;
    font-size: 2em;
    float: left;
    position: relative;
}
.content h1 a {
    text-decoration: none;
    color: #90D070;
    position: absolute;
    top: 5px;
    right: -30px;
    background: url(../img/ico_pl_min.gif) no-repeat 0 0;
    width: 24px;
    height: 26px;
    text-indent: -9999px;
}
.content h1 a:focus {
    outline: none;
}
.content h1 a.minus {
    background-position: -26px 0;
}
.news {
    clear: left;
}
.news, .news dt, .news dd {
    margin: 0;
    padding: 0;
}
.news dt {
    color: #50BC42;
    font-size: 0.8em;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
.news dd {
    margin: 0.5em 0 1em;
    font-size: 1.2em;
}
.news dd, .news dt {
    max-width: 1030px;
}
.news dd p {
    margin: 0 0 0.5em;
}
.news dd a:link,
.news dd a:visited,
.news dd a:hover,
.news dd a:active {
    color: #0183FF;
}
.more-news {
    font-size: 1.5em;
}
.more-news a:link,
.more-news a:visited,
.more-news a:hover,
.more-news a:active {
    color: #90D070;
}
/* }}} news list */

/* {{{ bottom search block */
.dubl-search {
	position: relative;
	height: 4em;
	width: 600px;
	margin: 0 auto 66px;
	padding: 0 3%;
	clear: both;
}
.dubl-search .corners1 {
	width: 80%;
	float: left;
	margin-right: 20px;
}
#words2 {
	background: none;
	border: none;
	width: 100%;
}
.dubl-search .button {
	margin: 0;
	padding: 0;
	position: absolute;
	right: 20px;
	top: 0;
}
/* }}} bottom search block */

/* {{{ sidebar */
.sidebar {
	float: right;
	width: 32%;
	max-width: 276px;
    margin: 0 10% 0 50px;
	clear: both;
	display: inline;
	font-size: 1.2em;
}
.main-page .sidebar {
    padding-top: 2em;
	width: 38%;
}
.sidebar-inner {
	margin-right: -45px;
	margin-left: 45px;
}
.sidebar h2 {
	margin: 0;
	padding: 0;
	font-weight: normal;
}
div.sidebar h2 a:link,
div.sidebar h2 a:visited,
div.sidebar h2 a:hover,
div.sidebar h2 a:active {
	color: #F6BC48;
	text-decoration: none;
}
div.sidebar h2 a b {
	padding-left: 20px;
	background: url(../img/icons1.gif) no-repeat 100% -16px;
	font-size: 12px;
}
div.sidebar h2 a.closed b {
	background-position: 100% 2px!important;
}
.sidebar .corners2 {
	margin-bottom: 1em;
}
.sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 1.3em;
	line-height: 1.5em;
	position: relative;
}
.sidebar .service-menu-wrapper {
	background: url(../img/bg_sbserv.png) no-repeat 0 0;
	padding-left: 10px;
	height: 33px;
	margin-bottom: 10px;
}
.sidebar ul.service-menu {
	background: url(../img/bg_sbserv.png) no-repeat 100% 0;
	font: 0.8em Arial, Helvetica, sans-serif;
	text-align: center;
	height: 33px;
	line-height: 23px;
}
.sidebar ul.service-menu li {
	display: inline;
	margin: 5px;
}
.all {
	position: absolute;
	right: 0;
	top: 0.3em;
	color: #F6BC48;
}
.banner {
    height: 400px;
    position: relative;
    padding-bottom: 20px;
}
.banner a {
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -120px;
}
/* }}} sidebar */

/* {{{ footer */
.footer {
	background: url(../img/bg_bottom.png) repeat-x bottom;
	height: 40px;
	margin-top: -70px;
	padding: 30px 3% 0;
	color: #666;
	clear: both;
}
.footer p {
	margin: 0;
	padding: 0;
}
.copy {
	float: left;
}
.designed-by {
	float: right;
}
/* }}} footer */

/* {{{ common styles */
div.opened, ul.opened { display: block; }
div.closed, ul.closed { display: none; }
.rel { position: relative; }
.vt { vertical-align: top!important; }
.vb { vertical-align: bottom!important; }
.c { text-align: center!important; }
/* }}} common styles */