/* $Id: style.css,v 1.38.2.4 2009/09/14 13:10:47 goba Exp $ */

/**
 * Site-related style pieces
 */

div.before_form {
    padding-left: 0;
    font-size: 80%;
    line-height: 15px;
    margin-top: -12px;
}

.block-custom_auth {
    padding: 0 !important;
    position: static !important;
    top: -40px;

}

.block-custom_auth div#client_no {
    text-align: right;
    position: absolute;
    top: -37px;
    right: 30px;
    height: 36px;
}

form.top_login_block {
    position: inherit !important;
}

form.top_login_block div#edit-pass-wrapper {
    text-align: left;
    float: right;
    position: relative;
    bottom: 49px;
    right: 105px;
}

form.top_login_block div#edit-pass-1-wrapper {
    text-align: left;
    float: right;
    position: relative;
    bottom: 49px;
    right: 105px;
}

form.top_login_block input#edit-submit {
    font-size: 0.8em;
    position: relative;
    bottom: 36px;
    left: 250px;
    height: 18px;
    width: 53px;
    top: -35px;
}

form.top_login_block input#edit-submit-1 {
    font-size: 0.8em;
    position: relative;
    bottom: 36px;
    left: 250px;
    height: 18px;
    width: 53px;
    top: -35px;
}

form.central_login_block input#edit-submit {
    clear: left;
    float: left;
    margin-left: 10em;
    margin-top: 0.7em;
    position: relative;
    width: 9em;
}

form.central_login_block input#edit-oauth {
    clear: both;
    float: left;
    margin-left: 9em;
    margin-top: 0.3em;
    position: relative;
    width: 9em;
}

form.central_login_block div#edit-pass-wrapper {
    clear: both;
    float: left;
    margin-top: 1em;
    position: relative;
    width: 18em;
    text-align: left;
}

.oauth-client-login-panel {
    position: relative;
    cursor: pointer;
    /* width: 600px; */
    float: left;
    margin-left: 0.6em;
    /* margin-top: 0.9em; */
    /* border: 1px solid #d3e7f4; */
}

.oauth-client-login-panel table {
    margin: 0 !important;
    width: auto !important;
}

.oauth-client-login-panel td {
    border-top: none;
    padding: 0.9em 0.3em;
}

.oauth-client-services-panel {
    position: relative;
    width: 600px;
    float: left;
    margin-left: 0.6em;
    margin-top: 0.9em;
}

.oauth-client-services-panel td, .oauth-client-services-panel th {
    border-top: none;
    border-bottom: 1px solid lightgray;
    padding: 0.9em 0.3em;
}

.oauth-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10000;
    background-color: white;
}

.oauth-middle {
    position: absolute;
    top: 50%;
    margin-top: -150px;
    left: 0;
    width: 100%;
}

.oauth-border {
    width: 500px;
    margin-left: auto;
    margin-right: auto;
    height: 300px;
    text-align: center;

    border: 1px solid #d3d3d3;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;

    padding: 1em;
}

.oauth-message {
    margin-top: 1em;
}

.oauth-message div {
    margin-top: 1em;
}

.oauth-message form {
    margin-top: 1em;
}

.oauth-message form button {
    width: 100px;
}

.oauth-message form.login {
    text-align: left;
}

.oauth-message form.login td.label {
    text-align: right;
    width: 50%;
}

.oauth-message form.login input[type=submit] {
    width: 100px;
}

.oauth-message form.login input[type=button] {
    width: 100px;
}

/**
 * Komiesc logos
 */

tbody {
    border-top: 0px;
}

#titleSiteBlue {
    background-image: url('images/titleSiteBlue2.png');
    width: 360px;
    height: 155px;
    /* position: absolute; */
    top: 0;
    left: 0;
    float: left;
}

#KES {
    background-image: url('images/KES.png');
    width: 620px;
    height: 110px;
    /* position: absolute; */
    top: 0;
    left: 0;
}

#kes-banner {
    background-image: url('images/kes-banner.gif');
    width: 1209px;
    height: 213px;
    top: 0;
    left: 0;
}

#logo-table {
    width: 100%;
}

#logo-table tr {
    text-align: center;
}

#logo-table tr td {
    width: 33%;
    vertical-align: middle;
}

/*
 * Komiesc styles
 */

.hLine {
    color: #B8C8E9;
}

.hLine2 {
    color: #0050A0;
}

.hLine3 {
    color: #C8C8C8;
}

/**
 * Generic elements
 */
body {
    margin: 0;
    padding: 0;
    background: #fff;
    font: 12px/170% Tahoma, Arial;
    color: #494949;
}

input {
    font: 12px/100% Tahoma, Arial;
    color: #494949;
}

textarea, select {
    font: 12px/160% Tahoma, Arial;
    color: #494949;
}

h1, h2, h3, h4, h5, h6 {
    color: #0050A0;
    margin: 0;
    padding: 0;
    font-weight: bold;
    font-family: Helvetica, Arial;
}

h1 {
    font-size: 170%;
}

h2 {
    font-size: 160%;
    line-height: 130%;
}

h3 {
    font-size: 140%;
}

h4 {
    font-size: 130%;
}

h5 {
    font-size: 120%;
}

h6 {
    font-size: 110%;
}

ul, quote, code, fieldset {
    margin: .5em 0;
}

p {
    text-indent: 0;
    margin: 2.6em 0 1.2em;
    padding: 0;
}

a {
    background-color: transparent;
    text-decoration: underline;
    color: #3a82b0;
}

a:hover {
    text-decoration: none;
}

a:link, a:visited {

}

a:hover {

}

a:active, a.active {

}

hr {
    margin: 0;
    padding: 0;
    border: none;
    height: 1px;
    background: #5294c1;
}

ul {
    margin: 0.5em 0 1em;
    padding: 0;
}

ol {
    margin: 0.75em 0 1.25em;
    padding: 0;
}

ol li, ul li {
    margin: 0.4em 0 0.4em .5em; /* LTR */
}

ul.menu, .item-list ul {
    margin: 0.35em 0 0 -0.5em; /* LTR */
    padding: 0;
    margin-left: 25px !important;
}

ul.menu ul, .item-list ul ul {
    margin-left: 0; /* LTR */
    padding-top: 16px !important;
}

ol li, ul li, ul.menu li, .item-list ul li, li.leaf {
    margin: 0.15em 0 0.15em .5em; /* LTR */
}

ul li, ul.menu li, .item-list ul li, li.leaf {
    padding: 0 0 0.3em 1.5em;
    list-style-type: none;
    list-style-image: none;
    /* background: transparent url(images/menu-leaf.gif) no-repeat 1px .35em; */
    /* LTR */
}


ul.menu .active-trail > a {
    color: #63a62f !important;
}

/* ul.menu .active:after {
    content: "";
    position: absolute;
    background: url('img/sprite_komi.png') no-repeat -46px -79px;
    width: 20px;
    height: 15px;
    right: -20px;
    top: 2px;
} */

nav#menu {
    padding: 48px 30px 0 30px;
}

ol li {
    padding: 0 0 .3em;
    margin-left: 2em; /* LTR */
}

ul li.expanded {
    /* background: transparent url(images/menu-expanded.gif) no-repeat 1px .35em; */
    /* LTR */
}

ul li.collapsed {
    /* background: transparent url(images/menu-collapsed.gif) no-repeat 0px .35em; */
    /* LTR */
}

ul li.leaf a, ul li.expanded a, ul li.collapsed a {
    display: block;
    color: #0050A0;
    /* font-size:13px; */
    /* font-variant:small-caps; */
    /* font-weight:bold; */
}

ul.inline li {
    background: none;
    margin: 0;
    padding: 0 1em 0 0; /* LTR */
}

ol.task-list {
    margin-left: 0; /* LTR */
    list-style-type: none;
    list-style-image: none;
}

ol.task-list li {
    padding: 0.5em 1em 0.5em 2em; /* LTR */
}

ol.task-list li.active {
    /* background: transparent url(images/task-list.png) no-repeat 3px 50%; */
    /* LTR */
}

ol.task-list li.done {
    color: #393;
    /* background: transparent url(../../misc/watchdog-ok.png) no-repeat 0px 50%; */
    /* LTR */
}

ol.task-list li.active {
    margin-right: 1em; /* LTR */
}

fieldset ul.clear-block li {
    margin: 0;
    padding: 0;
    background-image: none;
}

dl {
    margin: 0.5em 0 1em 1.5em; /* LTR */
}

dl dt {
}

dl dd {
    margin: 0 0 .5em 1.5em; /* LTR */
}

img, a img {
    border: none;
}

table {
    margin: 1em 0;
    width: 100%;
}

thead th {
    border-bottom: 2px solid #d3e7f4;
    color: #494949;
    font-weight: bold;
}

th a:link, th a:visited {
    color: #6f9dbd;
}

td, th {
    /* padding: .3em .5em; */
}

tr.even, tr.odd, tbody th {
    border: solid #d3e7f4;
    border-width: 1px 0;
}

tr.odd, tr.info {
    background-color: #edf5fa;
}

tr.even {
    background-color: #fff;
}

tr.drag {
    background-color: #fffff0;
}

tr.drag-previous {
    background-color: #ffd;
}

tr.odd td.active {
    background-color: #ddecf5;
}

tr.even td.active {
    background-color: #e6f1f7;
}

td.region, td.module, td.container, td.category {
    border-top: 1.5em solid #fff;
    border-bottom: 1px solid #b4d7f0;
    background-color: #d4e7f3;
    color: #455067;
    font-weight: bold;
}

tr:first-child td.region, tr:first-child td.module, tr:first-child td.container, tr:first-child td.category {
    border-top-width: 0;
}

span.form-required {
    color: #ffae00;
}

span.submitted, .description {
    font-size: 0.92em;
    color: #898989;
}

.description {
    line-height: 150%;
    margin-bottom: 0.75em;
    color: #898989;
}

.messages, .preview {
    margin: .75em 0 .75em;
    padding: .5em 1em;
}

.messages ul {
    margin: 0;
}

.form-checkboxes, .form-radios, .form-checkboxes .form-item, .form-radios .form-item {
    margin: 0.25em 0;
}

#center form {
    /* * */
}

.form-button, .form-submit {
    /* margin: 0.5em 0.5em 1em 0; LTR */
    padding: 5px;
    width: 90px;
    margin-right: 10px;
}

#dblog-form-overview .form-submit,
.confirmation .form-submit,
.search-form .form-submit,
.poll .form-submit,
fieldset .form-button, fieldset .form-submit,
.sidebar .form-button, .sidebar .form-submit,
table .form-button, table .form-submit {
    margin: 0;
}

.box {
    margin-bottom: 2.5em;
}

/**
 * Layout
 */
#header-region {
    border: 1px solid black;
    /* min-height: 0em; */
    display: none;
    /* background: #d2e6f3 url(images/bg-navigation.png) repeat-x 50% 100%; */
}

#header-region .block {
    display: block;
    margin: 0 1em;
}

#header-region .block-region {
    display: block;
    margin: 0 0.5em 1em;
    padding: 0.5em;
    position: relative;
    top: 0.5em;
}

#header-region * {
    display: inline;
    line-height: 1.5em;
    margin-top: 0;
    margin-bottom: 0;
}

/* Prevent the previous directive from showing the content of script elements in Mozilla browsers. */
#header-region script {
    display: none;
}

#header-region p, #header-region img {
    margin-top: 0.5em;
}

#header-region h2 {
    margin: 0 1em 0 0; /* LTR */
}

#header-region h3, #header-region label, #header-region li {
    margin: 0 1em;
    padding: 0;
    background: none;
}

#wrapper {
    /* background: #edf5fa url(images/body.png) repeat-x 50% 0; */
}

#wrapper #container {
    margin: 0 auto;
}

#wrapper #container #header {
    height: 0px;
}

#wrapper #container #header #logo-floater {
    /* position: absolute; */
}

#wrapper #container #header h1, #wrapper #container #header h1 a:link, #wrapper #container #header h1 a:visited {
    line-height: 120px;
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

#wrapper #container #header h1 span {
    font-weight: bold;
}

#wrapper #container #header h1 img {
    padding-top: 14px;
    padding-right: 20px; /* LTR */
    float: left; /* LTR */
}

/* With 3 columns, require a minimum width of 1000px to ensure there is enough horizontal space. */
body.sidebars {
    min-width: 980px;
}

/* With 2 columns, require a minimum width of 800px. */
body.sidebar-left, body.sidebar-right {
    min-width: 780px;
}

/* We must define 100% width to avoid the body being too narrow for near-empty pages */
#wrapper #container #center {
    float: left;
    width: 100%;
}

/* So we move the #center container over the sidebars to compensate */
body.sidebar-left #center {
    margin-left: -230px;
}

body.sidebar-right #center {
    margin-right: -210px;
}

body.sidebars #center {
    margin: 0 -210px;
}

/* And add blanks left and right for the sidebars to fill */
body.sidebar-left #squeeze {
    margin-left: 220px;
    margin-top: 0px;
}

body.sidebar-right #squeeze {
    margin-right: 210px;
}

body.sidebars #squeeze {
    margin: 0 210px;
}

/* We ensure the sidebars are still clickable using z-index */
#wrapper #container .sidebar {
    margin: 0 0 5em;
    width: 230px;
    float: left;
    z-index: 2;
    position: relative;
}

#wrapper #container .sidebar .block {
    margin: 0 0 1.5em 0;
}

#sidebar-left .block {
    padding: 0 5px 0 0px;
}

#sidebar-right .block {
    padding: 0 0px 0 15px;
}

.block .content {
}

#sidebar-left .block-region {
    margin: 0 15px 0 0px; /* LTR */
}

#sidebar-right .block-region {
    margin: 0 0px 0 15px; /* LTR */
}

.block-region {
    padding: 1em;
    background: transparent;
    border: 2px dashed #b4d7f0;
    text-align: center;
    font-size: 1.3em;
}

/* Now we add the backgrounds for the main content shading */
#wrapper #container #center #squeeze {
    /* background: #fff url(images/bg-content.png) repeat-x 50% 0; */
    position: relative;
}

#wrapper #container #center .right-corner {
    /* background: transparent url(images/bg-content-right.png) no-repeat 100% 0; */
    position: relative;
}

#wrapper #container #center .right-corner .left-corner {
    padding: 3em 25px 5em 35px;
    /* background: transparent url(images/bg-content-left.png) no-repeat 0 0; */
    margin-left: -10px;
    position: relative;
    left: -10px;
    min-height: 400px;
}

#wrapper #container #footer {
    float: none;
    clear: both;
    text-align: center;
    margin: 4em 0 -3em;
    color: #898989;
}

#wrapper #container .breadcrumb {
    position: absolute;
    top: 15px;
    left: 35px; /* LTR */
    z-index: 3;
}

body.sidebar-left #footer {
    margin-left: -210px;
}

body.sidebar-right #footer {
    margin-right: -210px;
}

body.sidebars #footer {
    margin: 0 -210px;
}

#footer_lkk {
    font-size: 0.8em;
    text-indent: 0;
    margin: 0;
    text-align: center;
    position: absolute;
    bottom: -30px;
    height: 75px;
    width: 100%;
}

/**
 * Header
 */
#wrapper #container #header h1, #wrapper #container #header h1 a:link, #wrapper #container #header h1 a:visited {
    color: #fff;
    font-weight: normal;
    text-shadow: #1659ac 0px 1px 3px;
    font-size: 1.5em;
}

#wrapper #container #header h1 a:hover {
    text-decoration: none;
}

#wrapper #container .breadcrumb {
    font-size: 0.92em;
}

#wrapper #container .breadcrumb, #wrapper #container .breadcrumb a {
    color: #529ad6;
}

#mission {
    padding: 1em;
    background-color: #fff;
    border: 1px solid #e0e5fb;
    margin-bottom: 2em;
}

/**
 * Primary navigation
 */
ul.primary-links {
    margin: 0;
    padding: 0;
    float: right; /* LTR */
    position: relative;
    z-index: 4;
}

ul.primary-links li {
    margin: 0;
    padding: 0;
    float: left; /* LTR */
    background-image: none;
}

ul.primary-links li a, ul.primary-links li a:link, ul.primary-links li a:visited {
    display: block;
    margin: 0 1em;
    padding: .75em 0 0;
    color: #fff;
    /* background: transparent url(images/bg-navigation-item.png) no-repeat 50% 0; */
}

ul.primary-links li a:hover, ul.primary-links li a.active {
    color: #fff;
    /* background: transparent url(images/bg-navigation-item-hover.png) no-repeat 50% 0; */
}

/**
 * Secondary navigation
 */
ul.secondary-links {
    margin: 0;
    padding: 18px 0 0;
    float: right; /* LTR */
    clear: right; /* LTR */
    position: relative;
    z-index: 4;
}

ul.secondary-links li {
    margin: 0;
    padding: 0;
    float: left; /* LTR */
    background-image: none;
}

ul.secondary-links li a, ul.secondary-links li a:link, ul.secondary-links li a:visited {
    display: block;
    margin: 0 1em;
    padding: .75em 0 0;
    color: #cde3f1;
    background: transparent;
}

ul.secondary-links li a:hover, ul.secondary-links li a.active {
    color: #cde3f1;
    background: transparent;
}

/**
 * Local tasks
 */
ul.primary, ul.primary li, ul.secondary, ul.secondary li {
    border: 0;
    background: none;
    margin: 0;
    padding: 0;
}

#tabs-wrapper {
    margin: 0 -26px 1em;
    padding: 0 26px;
    border-bottom: 1px solid #e9eff3;
    position: relative;
}

ul.primary {
    padding: 0.5em 0 10px;
    float: left; /* LTR */
}

ul.secondary {
    clear: both;
    text-align: left; /* LTR */
    border-bottom: 1px solid #e9eff3;
    margin: -0.2em -26px 1em;
    padding: 0 26px 0.6em;
}

h2.with-tabs {
    float: left; /* LTR */
    margin: 0 2em 0 0; /* LTR */
    padding: 0;
}

ul.primary li a, ul.primary li.active a, ul.primary li a:hover, ul.primary li a:visited,
ul.secondary li a, ul.secondary li.active a, ul.secondary li a:hover, ul.secondary li a:visited {
    border: 0;
    background: transparent;
    padding: 4px 1em;
    margin: 0 0 0 1px; /* LTR */
    height: auto;
    text-decoration: none;
    position: relative;
    top: -1px;
    display: inline-block;
}

ul.primary li.active a, ul.primary li.active a:link, ul.primary li.active a:visited, ul.primary li a:hover,
ul.secondary li.active a, ul.secondary li.active a:link, ul.secondary li.active a:visited, ul.secondary li a:hover {
    /* background: url(images/bg-tab.png) repeat-x 0 50%; */
    color: #00F;
}

ul.primary li.active a,
ul.secondary li.active a {
    font-weight: bold;
}

/**
 * Nodes & comments
 */
.node {
    border-bottom: 1px solid #e9eff3;
    margin: 0 -26px 1.5em;
    padding: 1.5em 26px;
}

ul.links li, ul.inline li {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0; /* LTR */
    padding-right: 1em; /* LTR */
    background-image: none;
}

.node .links, .comment .links {
    text-align: left; /* LTR */
}

.node .links ul.links li, .comment .links ul.links li {
}

.terms ul.links li {
    margin-left: 0;
    margin-right: 0;
    padding-right: 0;
    padding-left: 1em;
}

.picture, .comment .submitted {
    float: right; /* LTR */
    clear: right; /* LTR */
    padding-left: 1em; /* LTR */
}

.new {
    color: #ffae00;
    font-size: 0.92em;
    font-weight: bold;
    float: right; /* LTR */
}

.terms {
    float: right; /* LTR */
}

.preview .node, .preview .comment, .sticky {
    margin: 0;
    padding: 0.5em 0;
    border: 0;
    background: 0;
}

.sticky {
    padding: 1em;
    background-color: #fff;
    border: 1px solid #e0e5fb;
    margin-bottom: 2em;
}

#comments {
    position: relative;
    top: -1px;
    border-bottom: 1px solid #e9eff3;
    margin: -1.5em -25px 0;
    padding: 0 25px;
}

#comments h2.comments {
    margin: 0 -25px;
    padding: .5em 25px;
    /* background: #fff url(images/gradient-inner.png) repeat-x 0 0; */
}

.comment {
    margin: 0 -25px;
    padding: 1.5em 25px 1.5em;
    border-top: 1px solid #e9eff3;
}

.indented {
    margin-left: 25px; /* LTR */
}

.comment h3 a.active {
    color: #494949;
}

.node .content, .comment .content {
    margin: 0.6em 0;
}

/**
 * Aggregator.module
 */
#aggregator {
    margin-top: 1em;
}

#aggregator .feed-item-title {
    font-size: 160%;
    line-height: 130%;
}

#aggregator .feed-item {
    border-bottom: 1px solid #e9eff3;
    margin: -1.5em -31px 1.75em;
    padding: 1.5em 31px;
}

#aggregator .feed-item-categories {
    font-size: 0.92em;
}

#aggregator .feed-item-meta {
    font-size: 0.92em;
    color: #898989;
}

/**
 * Color.module
 */
#palette .form-item {
    border: 1px solid #fff;
}

#palette .item-selected {
    /* background: #fff url(images/gradient-inner.png) repeat-x 0 0; */
    border: 1px solid #d9eaf5;
}

/**
 * Menu.module
 */
tr.menu-disabled {
    opacity: 0.5;
}

tr.odd td.menu-disabled {
    background-color: #edf5fa;
}

tr.even td.menu-disabled {
    background-color: #fff;
}

/**
 * Poll.module
 */
.poll .bar {
    /* background: #fff url(images/bg-bar-white.png) repeat-x 0 0; */
    border: solid #f0f0f0;
    border-width: 0 1px 1px;
}

.poll .bar .foreground {
    /* background: #71a7cc url(images/bg-bar.png) repeat-x 0 100%; */
}

.poll .percent {
    font-size: .9em;
}

/**
 * Autocomplete.
 */
#autocomplete li {
    cursor: default;
    padding: 2px;
    margin: 0;
}

/**
 * Collapsible fieldsets
 */



/* Targets IE 7. Fixes background image in field sets. */
*:first-child+html fieldset {
    padding: 0 1em 1em;
    background-position: 0 .75em;
    background-color: transparent;
}

*:first-child+html fieldset > .description, *:first-child+html fieldset .fieldset-wrapper .description {
    padding-top: 1em;
}

fieldset legend {
    /* Fix disappearing legend in FFox */
    display: block;
}

*:first-child+html fieldset legend, *:first-child+html fieldset.collapsed legend {
    display: inline;
}

html.js fieldset.collapsed {
    background: transparent;
    padding-top: 0;
    padding-bottom: .6em;
}

html.js fieldset.collapsible legend a {
    padding-left: 2em; /* LTR */
    /* background: url(images/menu-expanded.gif) no-repeat 0% 50%; */
    /* LTR */
}

html.js fieldset.collapsed legend a {
    /* background: url(images/menu-collapsed.gif) no-repeat 0% 50%; */
    /* LTR */
}

/**
 * Syndication icons and block
 */
#block-node-0 h2 {
    float: left; /* LTR */
    padding-right: 20px; /* LTR */
}

#block-node-0 img, .feed-icon {
    float: right; /* LTR */
    padding-top: 4px;
}

#block-node-0 .content {
    clear: right; /* LTR */
}

/**
 * User profiles.
 */
.profile {
    margin-top: 1.5em;
}

.profile h3 {
    border-bottom: 0;
    margin-bottom: 1em;
}

.profile dl {
    margin: 0;
}

.profile dt {
    font-weight: normal;
    color: #898989;
    font-size: 0.92em;
    line-height: 1.3em;
    margin-top: 1.4em;
    margin-bottom: 0.45em;
}

.profile dd {
    margin-bottom: 1.6em;
}

/**
 * Admin Styles
 */
div.admin-panel,
div.admin-panel .description,
div.admin-panel .body,
div.admin,
div.admin .left,
div.admin .right,
div.admin .expert-link,
div.item-list,
.menu {
    margin: 0;
    padding: 0;
}

div.admin .left {
    float: left; /* LTR */
    width: 48%;
}

div.admin .right {
    float: right; /* LTR */
    width: 48%;
}

div.admin-panel {
    /* background: #fff url(images/gradient-inner.png) repeat-x 0 0; */
    padding: 1em 1em 1.5em;
}

div.admin-panel .description {
    margin-bottom: 1.5em;
}

div.admin-panel dl {
    margin: 0;
}

div.admin-panel dd {
    color: #898989;
    font-size: 0.92em;
    line-height: 1.3em;
    margin-top: -.2em;
    margin-bottom: .65em;
}

table.system-status-report th {
    border-color: #d3e7f4;
}

#autocomplete li.selected, tr.selected td, tr.selected td.active {
    background: #027ac6;
    color: #fff;
}

tr.selected td a:link, tr.selected td a:visited, tr.selected td a:active {
    color: #d3e7f4;
}

tr.taxonomy-term-preview {
    opacity: 0.5;
}

tr.taxonomy-term-divider-top {
    border-bottom: none;
}

tr.taxonomy-term-divider-bottom {
    border-top: 1px dotted #CCC;
}

/**
 * CSS support
 */

/*******************************************************************
 * Color Module: Don't touch                                       *
 *******************************************************************/

/**
 * Generic elements.
 */
.messages {
    background-color: #fff;
    border: 1px solid #b8d3e5;
}

.preview {
    background-color: #fcfce8;
    border: 1px solid #e5e58f;
}

div.status {
    color: #33a333;
    border-color: #c7f2c8;
}

div.error, tr.error {
    color: #a30000;
    background-color: #FFCCCC;
}

.form-item input.error, .form-item textarea.error {
    border: 1px solid #c52020;
    color: #363636;
}

/**
 * dblog.module
 */
tr.dblog-user {
    background-color: #fcf9e5;
}

tr.dblog-user td.active {
    background-color: #fbf5cf;
}

tr.dblog-content {
    background-color: #fefefe;
}

tr.dblog-content td.active {
    background-color: #f5f5f5;
}

tr.dblog-warning {
    background-color: #fdf5e6;
}

tr.dblog-warning td.active {
    background-color: #fdf2de;
}

tr.dblog-error {
    background-color: #fbe4e4;
}

tr.dblog-error td.active {
    background-color: #fbdbdb;
}

tr.dblog-page-not-found, tr.dblog-access-denied {
    background: #d7ffd7;
}

tr.dblog-page-not-found td.active, tr.dblog-access-denied td.active {
    background: #c7eec7;
}

/**
 * Status report colors.
 */
table.system-status-report tr.error, table.system-status-report tr.error th {
    background-color: #fcc;
    border-color: #ebb;
    color: #200;
}

table.system-status-report tr.warning, table.system-status-report tr.warning th {
    background-color: #ffd;
    border-color: #eeb;
}

table.system-status-report tr.ok, table.system-status-report tr.ok th {
    background-color: #dfd;
    border-color: #beb;
}

div.equeue_register {
}

table#topics_center {
    width: auto;
    margin: 0 auto;
}

table#topics_center td {
    padding: 1em;
    text-align: center;
}

table#controls_center {
    width: auto;
    margin: 0 auto;
}

table#controls_center td {
    padding: 1em;
    text-align: center;
    width: 210px;
}

table#time_center {
    width: auto;
    margin: 0 auto;
}

table#time_center th {
    text-align: center;
}

table#time_center td {
    padding: 1em 0.3em;
    text-align: center;
}

div.time_button {
    position: relative;

    cursor: pointer;

    color: #ffffff;

    margin: 5px auto;
    padding: 0.3em 1em;

    font-size: 1em;
    font-weight: bold;

    text-decoration: none;
    text-shadow: 1px 1px 0 #000000;

    border: 1px solid #124013;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;

    box-shadow: inset 0 1px 0 0 #ffffff;
    -webkit-box-shadow: inset 0 1px 0 0 #ffffff;
    -moz-box-shadow: inset 0 1px 0 0 #ffffff;
}

div.fancy_button {

    position: relative;

    cursor: pointer;

    color: #ffffff;

    width: 375px;
    height: 80px;

    margin: 5px auto;
    padding: 1em 1em 0.5em 1em;

    font-size: 1em;
    font-weight: bold;

    text-decoration: none;
    text-shadow: 1px 1px 0 #000000;

    border: 1px solid #124013;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;

    box-shadow: inset 0 1px 0 0 #ffffff;
    -webkit-box-shadow: inset 0 1px 0 0 #ffffff;
    -moz-box-shadow: inset 0 1px 0 0 #ffffff;
}

div.clr_normal {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #93BEEC), color-stop(1, #6E82D1));
    background: -moz-linear-gradient(center top, #93BEEC 5%, #6E82D1 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#93BEEC', endColorstr = '#6E82D1');
}

div.clr_chosen {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #7BE47E), color-stop(1, #5CB662));
    background: -moz-linear-gradient(center top, #7BE47E 5%, #5CB662 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#7BE47E', endColorstr = '#5CB662');
}

div.clr_command {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #00db07), color-stop(1, #018609));
    background: -moz-linear-gradient(center top, #00db07 5%, #018609 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#00db07', endColorstr = '#018609');
}

div.clr_disabled {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #dbdbdb), color-stop(1, #868686));
    background: -moz-linear-gradient(center top, #dbdbdb 5%, #868686 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#dbdbdb', endColorstr = '#868686');
}

div.next_button, div.prev_button, div.ok_button {

    cursor: pointer;

    color: #ffffff;

    width: 170px;
    height: 35px;
    left: 400px;
    bottom: 40px;

    margin: 10px auto;
    padding: 1em 1em 0.5em 1em;

    font-size: 1.6em;
    font-weight: bold;

    text-align: center;
    text-decoration: none;
    text-shadow: 1px 1px 0 #000000;

    border: 1px solid #124013;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;

    box-shadow: inset 0 1px 0 0 #ffffff;
    -webkit-box-shadow: inset 0 1px 0 0 #ffffff;
    -moz-box-shadow: inset 0 1px 0 0 #ffffff;
}

div.topic_name {
    text-align: left;
    color: white;
    font-size: 1.5em;
    padding-left: 120px;
}

div.topic_name_broad {
    text-align: left;
    color: white;
    font-size: 1.5em;
    padding-left: 10px;
}

div.topic_key_phrase {
    padding-top: 10px;
    padding-left: 120px;
    color: #FAA;
}

div.topic_key_phrase_broad {
    text-align: left;
    padding: 0.5em 1em;
    /* padding-top: 10px; */
    /* padding-left: 10px; */
    color: #FFF;
}

div.topic_picture {
    height: 100px;
    position: absolute;
    top: 15px;
    width: 100px;
}

div.topic_picture img {
    width: 100%;
    height: 100%;
}

div#static_message, div#dynamic_message {
    margin: 1.5em 0;
    font-weight: bold;
    color: #0050A0;
    width: 100%;
    top: 250px;
    font-size: 1.8em;
    text-align: center;
}

div#service_center_name, div#approve_message {
    margin: 1.5em 0;
    font-weight: bold;
    color: #0050A0;
    width: 100%;
    top: 250px;
    font-size: 1.5em;
    text-align: center;
}

.document-list {
    padding: 1em;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: white;
    width: 100%;
    height: 100%;
}

.banner {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #D8ECFF), color-stop(1, #D8ECFF));
    background: -moz-linear-gradient(center top, #D8ECFF 5%, #D8ECFF 100%);
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    padding: 10px 10px;
    margin: 13px;
    color: #0050A0;
    background-color: rgb(226, 226, 252);
    font-weight: bold;
}

.banner .top {
    display: inline-block;
    vertical-align: bottom;
    background: url('images/KES_logo_transparent_32.png') 5% 50% no-repeat;
    padding: 0.3em 3em;
    font-size: 1.5em;
}

.banner .bottom {
    margin-top: 1em;
}

.info_message {
    padding: 1.5em;
    /*
    height: 100%;
    width: 100%;
    z-index: 100;
    background-color: white;
    top: 0;
    left: 0;
    position: fixed;
    */
}

.info_message_date {
    border-bottom: 1px solid black;
    font-size: 1.3em;
    float: right;
}

.info_message_text {
    padding-bottom: 1em;
}

.info_message_button {
    margin-right: 1em;
    padding: 0.5em 1em;
    font-size: 1.3em;
}

div.info_column_block {
    position: absolute;
    top: 48px;
    right: 0;
}

div.info_column_primary {
    width: 200px;
    font-size: 0.75em;
    margin: 25px 5px 5px 5px;
    padding: 5px;
    background-color: #EDF1F5;
}

div.info_column_secondary {
    font-size: 0.75em;
    margin: 5px;
    padding: 5px;
    background-color: #EEE;
    border: 1px solid #88A;
    width: 200px;
}

.recovpass_block {
    display: none;
    padding: 1.1em 1.3em;
    border: 1px solid rgb(177, 177, 206);
}

.recovpass_show {
    position: relative;
    left: 10em;
    color: #0062A0;
    text-decoration: underline;
    cursor: pointer;
    margin-bottom: 1em;
}

.hidden_block {
    display: none;
}

.show_hidden_block_link {
    color: #0062A0;
    text-decoration: underline;
    cursor: pointer;
}

.recovpass_button {
    display: inline-block;
}

.login_warnings {
    margin-top: 2.5em;
}

/* hb */

.hb-item {
    margin: 3em 0 0 3em;
}

.hb-item p {
    text-indent: 0;
    font-size: 130%;
}

.hb-item table {
    width: initial;
}

.hb-item table tr td {
    font-size: 130%;
    padding: 0.5em 1em 0.5em 0;
}

.hb-item input[type="submit"] {
    font-size: 105%;
    padding: 0.3em 2em;
    width: 100%;
}

.hb-item input[type="text"] {
    font-size: 100% !important;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.hb-item select {
    font-size: 100% !important;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    width: 100%;
}

.hb-item .hb-error {
    color: #e55;
}

.hb-item .hb-text {
    padding-left: 0.4em;
    font-weight: bold;
}

.operation-button.btn_exit {
    float: none;
    width: 100%;
    margin-left: 0;
}

/**/

/* breadcrumbs */

div.breadcrumbs {
    display: none;
}

div.breadcrumbs .breadcrumbs-item {
    display: inline-table;
}

div.breadcrumbs .breadcrumbs-title {
    display: block;
    padding: 0.2em 0.5em;
    /* background-color: rgb(233, 235, 255); */
    /* border: 1px solid grey; */
}

div.breadcrumbs .breadcrumbs-own {
    /* margin: 0 0.5em; */
    display: block;
    padding: 0.2em 0.5em;
}

div.breadcrumbs .breadcrumbs-dropdown {
    position: absolute;
    background-color: white;
    border: 1px solid lightgrey;
}

/**/

/* online_payments */

.summa {
    width: 6em;
}

.summa-message {
    background-color: rgb(74, 185, 74);
    border: 0 none;
    border-radius: 2px 2px 2px 2px;
    display: inline-block;
    float: left;
    margin-top: 10px;
    padding: 7px 10px;
    width: 120px;
    height: 22px;
    font-weight: bold;
    color: white;
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
}

.summa-error {
    border: 2px solid red;
}

.total-summa-error {
    color: red;
    font-weight: bold;
}

.summa-fill {
    font-weight: bold;
}

.col-info {
    width: 65%;
}

.col-summa {
    width: 35%;
}

.button-error {
    border: 2px solid red;
}

.payments-button {
    width: 150px;
    height: 36px;
    border: 0 none;
    border-radius: 2px 2px 2px 2px;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 20px;
    margin-bottom: 0;
    margin-top: 10px;
    padding: 7px 10px;
    text-transform: none;
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
}

.payments-button.ok {
    background: none repeat scroll 0 0 rgb(74, 185, 74);
}

.payments-button.error {
    background: none repeat scroll 0 0 red;
}

/* / online_payments */

.ct_button {
    padding: 0;
}

img.news_picture {
    display: block;
    max-width: 100px;
    max-height: 100px;
    width: auto;
    height: auto;
    padding: 10px 0;
}

input[type=text] {
    font-weight: bold;
}

input.content-table-input {
    font-size: 12px;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.filtration-controls-out {
    overflow: auto;
}

.filtration-controls-in {
    padding: 1em;
}

.filtration-item {
    display: inline-block;
    padding: 4px;
    margin: 5px;
}

.filtration-item-desc {
    padding: 0 1em 1em 0;
    text-align: right;
}

.filtration-item-desc-apx {
    padding: 0 1em;
}

.filtration-item-value {
    padding-bottom: 1em;
}

.filtration-hidden-block {
    margin: 0.5em 0;
}

.filtration-submit {
    width: 110px;
    margin-top: -2px;
}




/*SUBS*/
td.subs-check input[type="checkbox"] {
    position: absolute;
    z-index: -1;
    opacity: 0;
    margin: 10px 0 0 20px;
}
.label_sub {
    position: relative;
    padding: 0 0 0 60px;
    cursor: pointer;
    height: 15px;
}
.label_sub:before {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    width: 44px;
    height: 100%;
    background: #CDD1DA;
    box-shadow: inset 0 2px 3px rgba(0,0,0,.2);
    transition: .2s;
}
.label_sub:after {
    content: '';
    position: absolute;
    top: 5px;
    left: 2px;
    width: 16px;
    height: 10.5px;
    background: #FFF;
    box-shadow: 0 1px 2px rgba(0,0,0,.3);
    transition: .2s;
}
td.subs-check input[type="checkbox"]:checked + .label_sub:before {
    background: #9FD468;
}
td.subs-check input[type="checkbox"]:checked + .label_sub:after {
    left: 26px;
}
td.subs-check input[type="checkbox"]:focus + .label_sub:before {
    box-shadow: inset 0 2px 3px rgba(0,0,0,.2), 0 0 0 3px rgba(255,255,0,.7);
}

/* Стили для переходя на bootstrap */
input.form-control {
    box-sizing: border-box;
}

select.form-control {
    box-sizing: border-box;
}

form.central_login_block div#edit-name-wrapper input {
    position: initial;
}

form.central_login_block div#edit-pass-wrapper input {
    position: initial;
}

form.central_login_block {
    width: initial;
}