/* Размещение общих блоков на странице */

body {
    background-color: #f8f8f8;
}

header {
    margin: 10px 0;
}

p {
    font-size: 1.2em;
}

tfoot tr td {
    font-weight: bold;
    font-size: 120%;
}

#page {
    text-align: start;
    margin: 0 auto;
    padding: 0;
    min-width: 900px;
    max-width: 1200px;
    border-top: 11px #dbdbdb solid;
}

#header {
    height: 122px;
    border-top: 1px #666666 solid;
}

#logo {
    margin-top: 8px;
}

.text-logo {
    float: left;
    width: 400px;
    height: 118px;
    overflow-y: hidden;
    font-size: 30px;
    color: #FF9933;
}

.text-logo-stretcher {
    display: inline-block;
    width: 10px;
    height: 118px;
}

.text-logo-content {
    display: inline-block;
    width: 390px;
    font-size: 30px;
    color: #FF9D37;
    text-shadow: 1px 1px 2px #DD7711;
    vertical-align: bottom;
}

#sidebar {
    float: right;
    clear: right;
    width: 244px;
}

#content {
    padding: 25px;
    margin-right: 244px;
    margin-top: 7px;
    background-color: #ffffff;
    min-height: 686px;
    overflow-x: auto;
}

#modalBox {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #BABABA;
    left: 50%;
    width: 600px;
    margin-left: -300px;
    padding: 10px 15px 10px 25px;
    position: fixed;
    top: 20%;
    z-index: 1000;
}

/* Общая информация о лицевом счете вверху страницы */

.ls-info {
    margin-top: 58px;
    color: #FF9933;
    font-size: large;
    float: right;
    clear: right;
}

.ls-info a {
    color: #F93;
}

.ls-info a:hover,
.ls-info a:focus {
    border-bottom: 1px dotted #F93;
}

.debt-info {
    color: #39F;
    float: right;
    clear: right;
}

.debt-info a {
    color: red;
    text-decoration: blink !important;
    font-weight: bold;
}

.debt-info a:hover,
.debt-info a:focus {
    text-decoration: none !important;
    border-bottom: 1px dotted red;
}

.debt-info span {
    font-style: italic;
}

.debt-zero {
    color: #39F;
    font-style: italic;
    float: right;
    clear: right;
}

/*  Меню личного кабинета */

.navig {
    float: right;
    margin-top: -1px;
    text-align: center;
}

.navig ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navig li {
    float: left;
    margin: 0;
    border: 1px solid transparent;
}

.navig li a {
    display: block;
    font-variant: small-caps;
    padding: 0 10px;
}

.navig li.selected {
    background-color: #dbdbdb;
    border: 1px #666666 solid;
    border-top: 1px transparent solid;
}

.navig li:hover {
    background-color: #dbdbdb;
    border: 1px #666666 solid;
}

/* Меню сбоку (квадратиками) */

#sidebar ul {
    list-style: none;
    display: block;
    padding: 6px 0 0 3px;
    margin: 0;
}

#sidebar li {
    display: block;
    float: left;
    margin: 0 0 5px 5px;
    width: 115px;
    height: 115px;
    overflow: hidden;
    text-align: center;
}

#sidebar a,
#sidebar span {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 115px;
    height: 115px;
    color: white;
    font-size: 135%;
    font-family: Helvetica, Verdana, Arial, sans-serif;
    font-weight: 600;
    font-variant: small-caps;
    padding: 0 6px;
}

#sidebar li.blue,
#sidebar span.blue {
    background-image: url("/img/blue_bg.png");
}

#sidebar .blue.selected {
    background-image: url("/img/blue_sq.png");
}

#sidebar .blue a:hover,
#sidebar .blue a:focus {
    background-image: url("/img/blue_sq.png");
    text-shadow: 0 0 1em #ffffff;
}

#sidebar li.orange,
#sidebar span.orange {
    background-image: url("/img/orange_bg.png");
}

#sidebar .orange.selected {
    background-image: url("/img/orange_sq.png");
}

#sidebar .orange a:hover,
#sidebar .orange a:focus {
    background-image: url("/img/orange_sq.png");
    text-shadow: 0 0 1em #ffffff;
}

/* Содержание */

a.house-num {
    border: 1px solid #37A;
    color: #37A;
    font-size: 14px;
    line-height: 28px;
    margin: 0 1px;
    padding: 1px 2px;
    text-decoration: none;
}

a.house-num:hover,
a.house-num:focus {
    background-color: #37A;
    color: white;
    outline: medium none !important;
}

.content-spacer:after {
    content: "\0020";
    display: block;
    clear: both;
}

#content .blockinfo {
    height: 100%;
    width: 46%;
    float: left;
    padding: 0 10px;
}

#content .rightblock {
    margin-left: 340px;
    padding: 0 10px;
    min-width: 170px;
}

#content .form {
    width: 310px;
    float: left;
    padding-right: 30px;
}

#content .form p,
#content .blockinfo p {
    margin: 0 15px 0 0;
}

#content hr {
    margin-top: 1em;
    margin-bottom: 0;
    clear: left;
}

#content td input,
#content td select {
    width: 100%;
    box-sizing: border-box;
}

#capcha {
    width: 130px;
    float: left;
}

.entercapcha {
    float: right;
    width: 170px;
}

.row {
    margin: 0;
    padding: 0.5em 0;
    overflow: hidden;
    clear: both;
}

.submit {
    margin: 10px 0;
}

.submit input[type="button"],
.submit input[type="submit"] {
    border: 0;
    margin: 0 0 10px 0;
    padding: 5px;
    background: #ACE;
    cursor: pointer !important;
    width: 310px;
    float: left;
}

.submit input:hover {
    background: #37A;
    color: #fff;
}

.form input, .form select {
    float: right;
}

.row input {
    margin: 0;
}

.errorSummary {
    background-color: #FEB;
    color: #ff0000;
    padding: 5px;
}

.errorSummary ul {
    margin: 0;
    padding: 0;
}

.errorSummary li {
    list-style-type: none;
}

input.error {
    color: #F60;
}

.errorMessage {
    float: right;
    clear: right;
    color: #ff0000;
    font-size: xx-small;
}

.error input {
    background: #FEB;
    border-color: #F60;
}

.success input {
    background: #DEF;
    border-color: #ACE;
}

.cleartable {
    float: right;
    height: 20px;
    overflow: hidden;
    position: relative;
    width: 20px;
}

.cleartable a {
    background: url("/img/clear.png") no-repeat scroll left top transparent;
    cursor: pointer;
    height: 20px;
    left: 0;
    position: absolute;
    text-indent: -999px;
    top: 0;
    width: 20px;
}

.attention {
    color: red;
}

.subtitle {
    font-size: small;
    color: #39F;
    font-style: italic;
    margin-top: 5px;
}

div.faq dt {
    color: #39F;
    font-style: italic;
    font-size: large;
    margin-top: 10px;
}

#content table.items th, #content table.items td {
    text-align: center!important;
}

#content table.items td input {
    width: 90%;
    text-align: center!important;
}

/* Общие стили */

a {
    color: #39F;
    text-decoration: none !important;
}

h1 {
    font-size: xx-large;
}

h3 {
    margin-top: 1em;
    color: #F93;
}

h4 {
    margin-bottom: 0.5em;
    color: #E70;
}

h5 {
    font-size: small;
    font-weight: lighter;
    color: #908F8F;
    padding: 8px 0 0;
    margin: 0;
}

h6 {
    margin-bottom: 0.5em;
    color: #E70;
}

p {
    margin-bottom: 0.5em
}

ol li {
    margin-bottom: 5px;
}

dt {
    font-weight: bold;
}

table {
    width: 100%;
    border-spacing: 0; /* Расстояние между ячейками */
    margin-bottom: 1.5em;
}

th {
    padding: 10px;
    font-weight: bold;
}

td {
    padding: 5px 2px 5px 2px;
}

tr:nth-child(1) {
    background: #CDF !important;
}

tr:nth-child(2n) {
    background: #e5ecf9;
}

tr:nth-child(2n+1) {
    background: #fafaff;
}

.shadow {
    -webkit-box-shadow: 0 0 7px rgba(122, 122, 122, 0.5); /* Для Safari 3.0 */
    -moz-box-shadow: 0 0 7px rgba(122, 122, 122, 0.5); /* Для Firefox 3.5 */
    box-shadow: 0 0 7px rgba(122, 122, 122, 0.5); /* Для современных браузеров */
}

/* Опросы */

#modalBox_wrapper {
    background: rgba(1, 1, 1, 0.3) none repeat scroll 0 0;
    min-height: 100%;
    padding: 100px;
    position: fixed;
    top: 0;
    width: 100%;
    box-sizing: border-box;
}

.modalContent {
    background: white none repeat scroll 0 0;
    border-radius: 20px;
    box-shadow: 0 0 20px 20px dimgray;
    font-size: 200%;
    padding: 1em;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.modalContent h1 {
    color: #39F;
    font-size: 150%;
}

.modalContent button, .poll #submit button {
    min-width: 200px;
    padding: 10px;
    font-size: 100%;
    margin: 20px;
}

.poll {
    font-size: 1em;
}

.poll li {
    display: block;
    margin-top: 20px;
    /*font-weight: bold;*/
    color: #39F;
}

.poll label {
    font-weight: normal;
    display: block;
}

.poll .more {
    float: right;
    font-size: 80%;
    position: relative;
    top: -22px;
}

.poll textarea {
    width: 100%;
    height: 22px;
    font-size: 100%;
    overflow-y: hidden;
    resize: none;
    border: none;
    margin-bottom: 0;
}

.poll hr {
    margin-top: 0!important;
    padding-top: 0;
}

.poll #submit {
    text-align: center;
}
