/* ---------- Overall Specifications ---------- */

body {
    line-height: 1.5;
    font-size: 87.5%;
    word-wrap: break-word;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}
a {
    text-decoration: none;
}

a:hover,
a:active,
a:focus {
    text-decoration: underline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0px;
    font-weight: inherit;
    margin-left: 0px;
}
h1 {
    font-size: 1.8em;
    color: #ff7400;
}
h2 {
    font-size: 1.143em;
    color: #ff7400;
    font-weight: bold;
}
p {
    margin: 5px 0px;
    /*max-width: 1000px;*/
}
p:last-of-type {
    margin-bottom: 0;
}
ul li, ol li {
    max-width: 900px;
}
hr {
    border: none;
    background-color: orange;
    height: 2px;
}
del {
    text-decoration: line-through;
}
tr.odd {
    background-color: #dddddd;
}
img {
    outline: 0;
}
code,
pre,
kbd,
samp,
var {
    padding: 0 0.4em;
    font-size: 0.857em;
    font-family: Menlo, Consolas, "Andale Mono", "Lucida Console", "Nimbus Mono L", "DejaVu Sans Mono", monospace, "Courier New";
}
code {
    background-color: #f2f2f2;
    background-color: rgba(40, 40, 0, 0.06);
}
pre code,
pre kbd,
pre samp,
pre var,
kbd kbd,
kbd samp,
code var {
    font-size: 100%;
    background-color: transparent;
}
pre code,
pre samp,
pre var {
    padding: 0;
}
.description code {
    font-size: 1em;
}
kbd {
    background-color: #f2f2f2;
    border: 1px outset #575757;
    margin: 0 3px;
    color: #666;
    display: inline-block;
    padding: 0 6px;
    -khtml-border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;

}
pre {
    background-color: #f2f2f2;
    background-color: rgba(40, 40, 0, 0.06);
    margin: 10px 0;
    overflow: hidden;
    padding: 15px;
    white-space: pre-wrap;
}


/* ------------------ Fonts ------------------ */

body,
#site-slogan,
.ui-widget,
.comment-form label {
    font-family: "Arial", "Cambria", Arial, sans-serif, serif;
}
#header,
#footer-wrapper,
#skip-link,
ul.contextual-links,
ul.links,
ul.primary,
.item-list .pager,
div.field-type-taxonomy-term-reference,
div.messages,
p.comment-time,
table{
    font-family: "Arial", "Cambria", Arial, sans-serif, serif;
    width: 100%;
}
input,
textarea,
select,
a.button {
    font-family: "Arial", "Cambria", Arial, Verdana, sans-serif;
}
div.meta{
    display: none;
}
/* ------------------ Reset Styles ------------------ */

caption {
    text-align: left; /* LTR */
    font-weight: normal;
}
blockquote {
    background: #f7f7f7;
    border-left: 1px solid #bbb;
    font-style: italic;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
}
blockquote:before {
    color: #bbb;
    content: "\201C";
    font-size: 3em;
    line-height: 0.1em;
    margin-right: 0.2em;
    vertical-align: -.4em;
}
blockquote:after {
    color: #bbb;
    content: "\201D";
    font-size: 3em;
    line-height: 0.1em;
    vertical-align: -.45em;
}
blockquote > p:first-child {
    display: inline;
}
a.feed-icon {
    display: none;
    padding: 15px 0 0 0;
}

/* ------------------ Table Styles ------------------ */

table {
    border: 0;
    border-spacing: 0;
    font-size: 1em;
    margin: 5px 0;
    width: 100%;
    overflow-x: auto;
    /*white-space: nowrap;*/
}

table table {
    font-size: 1em;
}
#footer-wrapper table {
    font-size: 1em;
}

table tr th,
table tr th a,
table tr th a:hover {
    color: #FFF;
    font-weight: bold;
}

tr td
{
    padding: 4px 9px;
    border: 2px solid #fff;
    text-align: left; /* LTR */
    /*min-width: 150px;*/
    vertical-align:top;
    /*	background: #d8e5ed;*/
}
tr th {
    background: #72abc9;
    font-size: 1.3em;
    padding: 4px 9px;
    border: 2px solid #fff;
    /*border-top: 6px solid #d8e5ed;*/
    text-align: left; /* LTR */
    vertical-align: top;
}
tr.service td{
    min-width: 150px;
}

/* Адаптивные таблицы */
table tr * {
    word-wrap: break-word;
}

#footer-wrapper tr td,
#footer-wrapper tr th {
    border-color: #555;
    border-color: rgba(255, 255, 255, 0.18);
}
tr.odd {
    background: #d8e5ed;
}
tr,
tr.even {
    background: #d8e5ed;
}
tr td.active {
    background: #cbdce7;
}
table ul.links {
    margin: 0;
    padding: 0;
    font-size: 1em;
}
table ul.links li {
    padding: 0 1em 0 0;
}

tr.accordion,
tr.expanded {
    height: 37px;
    font-weight:bold;
}
tr.accordion td:first-child{
    padding-left: 50px;
    background: #d8e5ed url(../images/expand-icon.png) no-repeat left;
}

tr.expanded td:first-child{
    padding-left: 50px;
    background: #d8e5ed url(../images/expanded-icon.png) no-repeat left;
}

/* ------------------ List Styles ------------------ */

.block ol,
.block ul {
    margin: 0;
    padding: 0 0 0.25em 1em; /* LTR */
}
.contextual-links-wrapper {
    font-size: small !important;
}
ul.contextual-links {
    font-size: 0.923em;
}
.contextual-links-wrapper a {
    text-shadow: 0 0 0 !important;
}
.item-list .pager {
    font-size: 0.929em;
}
ul.menu li {
    margin: 0;
    font-size:14px;
    list-style: none;
}
ul.menu li a.active {
    color: #ff7400;
    font-weight: bold;
}
div #edit-acc{
    margin: 0px 15px;
}
.region-content ul,
.region-content ol {
    margin: 1em 0;
    padding: 0 0 0.25em 2.5em; /* LTR */
}
.item-list ul li {
    margin: 0;
    padding: 0.2em 0.5em 0 0; /* LTR */
}
ul.tips {
    padding: 0 0 0 1.25em; /* LTR */
}

/* ------------------ Header ------------------ */
#skip-link {
    left: 50%;
    margin-left: -5.25em;
    margin-top: 0;
    position: absolute;
    width: auto;
    z-index: 50;
}
#skip-link a {
    background: #444;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: block;
    font-size: 0.94em;
    line-height: 1.7;
    padding: 1px 10px 2px 10px;
    text-decoration: none;
    -khtml-border-radius: 0 0 10px 10px;
    -moz-border-radius: 0 0 10px 10px;
    -webkit-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;

}
#skip-link a:hover,
#skip-link a:active,
#skip-link a:focus {
    outline: 0;
}
#logo {
    float: left; /* LTR */
    padding: 30px 15px 20px 30px; /* LTR */
    font-size: 50px;
    color: #636363;
}
#name-and-slogan {
    float: left; /* LTR */
    padding-top: 34px;
    margin: 0 0 30px 15px; /* LTR */
}
#site-name {
    font-size: 2em;
    line-height: 1;
    text-shadow: 1px 1px 2px black, 0 0 1em grey;
    margin-top:20px;
}
h1#site-name {
    margin: 0;
}
#site-name a,
#site-name a span{
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    word-spacing: 2px;
}
#site-slogan {
    font-size: 0.929em;
    margin-top: 7px;
    word-spacing: 0.1em;
    font-style: italic;
}
/* Region header blocks. */
.region-header .block {
    font-size: 0.857em;
    float: left; /* LTR */
    margin: 0 10px;
    padding: 0;
}
.region-header .block .content {
    margin: 0;
    padding: 0;
}
.region-header .block ul {
    margin: 0;
    padding: 0;
}
.region-header .block li {
    list-style: none;
    list-style-image: none;
    padding: 0;
}
.region-header .form-text {
    background: #fefefe;
    background: rgba(255, 255, 255, 0.7);
    border-color: #ccc;
    border-color: rgba(255, 255, 255, 0.3);
    margin-right: 2px; /* LTR */
    width: 120px;
}
.region-header .form-text:hover,
.region-header .form-text:focus,
.region-header .form-text:active {
    background: #fff;
    background: rgba(255, 255, 255, 0.8);
}
.region-header .form-required {
    color: #eee;
    color: rgba(255, 255, 255, 0.7);
}
/* Region header block menus. */
.region-header .block-menu {
    margin: 0px;
    padding: 10px;
    width: 300px;
    position:absolute;
    top:40px;
    right:0px;
}
.region-header .block-menu ul{
    list-style: none;
}
.region-header .block-menu li{
    float: left;
    margin: 0px 5px;
}
.region-header .block-menu li a {
    margin: 15px 0px;
    padding: 5px 15px;
    color: #fff;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.region-header .block-menu li a:hover,
.region-header .block-menu li a:focus,
.region-header .block-menu li a:active {
    text-decoration: none;
}
.region-header .block-menu li.last a {
    border-bottom: 0;
}
/* User Login block in the header region */
.region-header #block-user-login {
    width: auto;
}
.region-header #block-user-login .content {
    margin-top: 2px;
}
.region-header #block-user-login .form-item {
    float: left; /* LTR */
    margin: 0;
    padding: 0;
}
.region-header #block-user-login div.item-list,
.region-header #block-user-login div.description {
    font-size: 0.916em;
    margin: 0;
}
.region-header #block-user-login div.item-list {
    clear: both;
}
.region-header #block-user-login div.description {
    display: inline;
}
.region-header #block-user-login .item-list ul {
    padding: 0;
    line-height: 1;
}
.region-header #block-user-login .item-list li {
    list-style: none;
    float: left; /* LTR */
    padding: 3px 0 1px;
}
.region-header #block-user-login .item-list li.last {
    padding-left: 0.5em; /* LTR */
}
.region-header #block-user-login ul.openid-links li.last {
    padding-left: 0; /* LTR */
}
.region-header #user-login-form li.openid-link a,
.region-header #user-login li.openid-link a {
    padding-left: 20px; /* LTR */
}
.region-header #block-user-login .form-actions {
    margin: 4px 0 0;
    padding: 0;
    clear: both;
}
.region-header #block-user-login input.form-submit {
    border: 1px solid;
    border-color: #ccc;
    border-color: rgba(255, 255, 255, 0.5);
    background: #eee;
    background: rgba(255, 255, 255, 0.7);
    margin: 4px 0px;
    padding: 3px 8px;
}
.region-header #block-user-login input.form-submit:hover,
.region-header #block-user-login input.form-submit:focus {
    background: #fff;
    background: rgba(255, 255, 255, 0.9);
}
/* Search block in region header. */
.region-header #block-search-form {
    width: 208px;
}
.region-header #block-search-form .form-text {
    width: 154px;
    border: 1px solid grey;
    background-color: #ffffff;
}
/* Language switcher block in region header. */
.region-header .block-locale ul li {
    display: inline;
    padding: 0 0.5em;
}

#autocomplete {
    max-height: 262px;
    overflow-y: auto;
    margin-left: 6px;
}

/* --------------- Main Menu ------------ */

#main-menu {
    clear: both;
    background: url(../images/menu_back.png) repeat-x bottom;
    height: 37px;
    margin: 0px;
}
#main-menu-links {
    font-size: 0.929em;
    margin: 0px;
    padding: 0px;
    position: absolute;
    bottom: 10px;
    /*background: url(../images/menu_back1.png) repeat-x bottom;*/
    margin-bottom: 5px;
    vertical-align: bottom;
    line-height: 37px;
}
#main-menu-links li {
    /*float: left;*/ /* LTR */
    display: inline;
    list-style: none;
    padding: 0px;
    margin: 0px;
    text-align: center;
    display: inline-block;
    vertical-align: bottom;
    line-height: 37px;
}
#main-menu-links li a {
    float: left; /* LTR */
    display: inline;
    color: #fff;
    /*background: #2a8200 url(../images/menu_back.png) repeat-x;*/
    height: 33px;
    line-height: 33px;
    text-decoration: none;
    text-shadow: 0 1px #eee;
    letter-spacing: 1px;
    word-spacing: 1px;
    /*position: relative; top:9px;*/
    text-transform: uppercase;
    padding: 0px 40px 0px 40px;
    border-right: 2px solid transparent;
    margin: 0px;
    vertical-align: bottom;
}
#main-menu-links li a:hover,
#main-menu-links li a:focus {
    background: #90b081;
}
#main-menu-links li a:active {
    background: #b3b3b3;
}
#main-menu-links li a.active {
    border: 1px solid #ccc;
    border-bottom: none;
    height: 36px;
    border-radius: 8px 8px 0px 0px;
    -khtml-border-radius: 8px 8px 0px 0px;
    -moz-border-radius: 8px 8px 0px 0px;
    -webkit-border-radius: 8px 8px 0px 0px;

    -webkit-box-shadow: 15px -15px 40px -15px rgba(0,0,0,0.5);
    -moz-box-shadow: 15px -15px 40px -15px rgba(0,0,0,0.5);
    box-shadow: 15px -15px 40px -15px rgba(0,0,0,0.5);
    color:#2a8200;
    font-weight:bold;
    padding: 5px 40px 0px 40px;

}
#main-menu-links li a.active:first-child {
    padding: 5px 40px 0px 40px;
    margin-left: -10px;
}


/* --------------- Secondary Menu ------------ */
#secondary-menu-links {
    float: right; /* LTR */
    font-size: 0.929em;
    margin: 100px 10px 0px 0px;
    width:400px;
    text-align:right;
}
#secondary-menu-links a:hover,
#secondary-menu-links a:focus {
    text-decoration: underline;
}

/* ------------------- Main ------------------- */

#main {
    margin-top: 0px;
    margin-bottom: 40px;
}

/* ------------------- Help ------------------- */

.region-help {
    border: 1px solid #d3d7d9;
    padding: 0 1.5em;
    margin-bottom: 30px;
}

/* ----------------- Content ------------------ */

.content {
    margin-top: 0px;
}

.content >p{
    margin-left: 400px;
}

h1#page-title {
    font-size: 1.8em;
    /*line-height: 1;*/
    margin-top: 0px;
    margin-left: 0px;
    padding:0px;
}

.front #page-title {
    display: none;
}

#content h2 {
    margin-bottom: 2px;
    font-size: 1.429em;
    line-height: 1.4;
}
.node .content {
    margin: 10px;
    font-size: 1.071em;
    width: 95%;
    text-align: justify;
}
.node-teaser .content {
    font-size: 1em;
}
.node-teaser h2 {
    margin-top: 0;
    padding-top: 0.5em;
}
.node-teaser h2 a {
    color: #ff7400;
}
.node-teaser {
    border-bottom: 1px solid #d3d7d9;
    margin-bottom: 30px;
    padding: 0 15px 15px;
}
.node-sticky {
    border-bottom: 1px solid #d3d7d9;
    padding: 0 15px 15px;
}
.node-full {
    background: none;
    border: none;
    padding: 0;
}
.node-teaser .content {
    clear: none;
    line-height: 1.6;
}
.meta {
    font-size: 0.857em;
    color: #68696b;
    margin-bottom: -5px;
}
.submitted .user-picture img {
    float: left; /* LTR */
    height: 20px;
    margin: 1px 5px 0 0; /* LTR */
}
.field-type-taxonomy-term-reference {
    margin: 0 0 1.2em;
}
.field-type-taxonomy-term-reference .field-label {
    font-weight: normal;
    margin: 0;
    padding-right: 5px; /* LTR */
}
.field-type-taxonomy-term-reference .field-label,
.field-type-taxonomy-term-reference ul.links {
    font-size: 0.8em;
}
.node-teaser .field-type-taxonomy-term-reference .field-label,
.node-teaser .field-type-taxonomy-term-reference ul.links {
    font-size: 0.821em;
}
.field-type-taxonomy-term-reference ul.links {
    padding: 0;
    margin: 0;
    list-style: none;
}
.field-type-taxonomy-term-reference ul.links li {
    float: left; /* LTR */
    padding: 0 1em 0 0; /* LTR */
    white-space: nowrap;
}
.link-wrapper {
    text-align: right;
}
.field-type-image img,
.user-picture img {
    margin: 0 0 1em;
}
ul.links {
    color: #68696b;
    font-size: 0.821em;
}
.node-unpublished {
    margin: -20px -15px 0;
    padding: 20px 15px 0;
}
.node-unpublished .comment-text .comment-arrow {
    border-left: 1px solid #fff4f4;
    border-right: 1px solid #fff4f4;
}

/* ----------------- Comments ----------------- */

.comment h2.title {
    margin-bottom: 1em;
}
.comment div.user-picture img {
    margin-left: 0; /* LTR */
}
.comment {
    margin-bottom: 20px;
    display: table;
    vertical-align: top;
}
.comment .attribution {
    display: table-cell;
    padding: 0 30px 0 0; /* LTR */
    vertical-align: top;
    overflow: hidden;
}
.comment .attribution img {
    margin: 0;
    border: 1px solid #d3d7d9;
}
.comment .attribution .username {
    white-space: nowrap;
}
.comment .submitted p {
    margin: 4px 0;
    font-size: 1.071em;
    line-height: 1.2;
}
.comment .submitted .comment-time {
    font-size: 0.786em;
    color: #68696b;
}
.comment .submitted .comment-permalink {
    font-size: 0.786em;
}
.comment .content {
    font-size: 0.929em;
    line-height: 1.6;
}
.comment .comment-arrow {
    background: url(../images/comment-arrow.gif) no-repeat 0 center transparent; /* LTR */
    border-left: 1px solid;
    border-right: 1px solid;
    height: 40px;
    margin-left: -47px; /* LTR */
    margin-top: 10px;
    position: absolute;
    width: 20px;
}
.comment .comment-text {
    padding: 10px 25px;
    border: 1px solid #d3d7d9;
    display: table-cell;
    vertical-align: top;
    position: relative;
    width: 100%;
}
.comment .indented {
    margin-left: 40px; /* LTR */
}
.comment ul.links {
    padding: 0 0 0.25em 0;
}
.comment ul.links li {
    padding: 0 0.5em 0 0; /* LTR */
}
.comment-unpublished {
    margin-right: 5px; /* LTR */
    padding: 5px 2px 5px 5px; /* LTR */
}
.comment-unpublished .comment-text .comment-arrow {
    border-left: 1px solid #fff4f4;
    border-right: 1px solid #fff4f4;
}

/* ------------------ Sidebar ----------------- */
.sidebar .section{
    padding-top: 10px;
}

.sidebar .block {
    border: 1px solid;
    padding: 0px;
    margin: 5px 20px;
}
.sidebar h2 {
    margin: 0 0 0.5em;
    border-bottom: 1px solid #d6d6d6;
    padding-bottom: 5px;
    text-shadow: 0 1px 0 #fff;
    font-size: 1.3em;
    line-height: 1.2;
}
.sidebar .block .content {
    font-size: 0.914em;
    line-height: 1.4;
}
.sidebar tbody {
    border: none;
}
.sidebar tr.even,
.sidebar tr.odd {
    background: none;
    border-bottom: 1px solid #d6d6d6;
}

/* ------------------ Footer ------------------ */

#footer-wrapper {
    color: #c0c0c0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.857em;
    background: #9e9e9e;
}
#footer-wrapper a {
    color: #ffffff;
}
#footer-wrapper a:hover,
#footer-wrapper a:focus {
    color: #fefefe;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
}
#footer-wrapper .block {
    margin: 0px;
    padding: 0px;
}

#footer .block {
    margin: 0;
    padding: 0;
    border: none;
}
#footer .block {
    padding: 0px;
    margin: 0px;
}
#footer .block .content {
    padding: 0px;
    margin: 0px;
}
#footer .block .content p{
    padding: 0px;
    margin: 0px;
}
#footer .block h2 {
    color: #ffffff;
    margin: 0;
}
#footer-columns {
    text-align: right;
}
#footer-columns .block-menu {
    margin: 0;
    padding: 0;
    border: none;
}
#footer-columns h2 {
    display: none;
}
#footer-columns .content {
    margin-top: 20px;
}
#footer-columns p {
    margin-top: 1em;
}
#footer-columns .content ul {
    list-style: none;
    padding-left: 0; /* LTR */
    margin-left: 0;
    text-align: right;
    width: 70%;
    display: inline-table;
}
#footer-columns .content li {
    /*float: right;*//* LTR */
    list-style: none;
    margin: 0;
    padding: 0px 20px;
    display: inline-block;
}
#footer-columns .content li a {
    display: block;
    color: #fff;
    line-height: 1.2;
    padding: 0.8em 2px 0.8em 20px; /* LTR */
    text-indent: -15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
#footer-columns .content li a:hover{
    color: #ff7400;
    text-decoration: none;
}
#footer-columns .content li a:focus {
    color: #fff;
    text-decoration: none;
}
#footer {
    letter-spacing: 0.2px;
    margin: 10px;
}
#footer .region {
    margin: 10px;
}
#footer .block {
    clear: both;
}
#footer ul,
#footer li {
    list-style: none;
    margin: 0;
    padding: 0;
}
#footer li a {
    float: left; /* LTR */
    padding: 0 12px;
    display: block;
}
#footer li.first a {
    padding-left: 0; /* LTR */
}
#footer li.last a {
    padding-right: 0; /* LTR */
    border-right: none; /* LTR */
}
#footer-wrapper tr.odd {
    background-color: transparent;
}
#footer-wrapper tr.even {
    background-color: #2c2c2c;
    background-color: rgba(0, 0, 0, 0.15);
}

/* --------------- System Tabs  --------------- */

.tabs {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin-bottom: 0px;
}
.tabs ul.primary {
    padding: 0 3px;
    margin: 8px 0 14px;
    overflow: hidden;
    border: none;
    background: transparent url(../images/tabs-border.png) repeat-x left bottom;
}
.tabs ul.primary li {
    display: block;
    float: left; /* LTR */
    vertical-align: bottom;
    margin: 0 5px 0 0; /* LTR */
}
.tabs ul.primary li.active a {
    border-bottom: 1px solid #ffffff;
}
.tabs ul.primary li a {
    color: #000;
    background-color: #ededed;
    height: 1.8em;
    line-height: 1.9;
    display: block;
    font-size: 0.929em;
    float: left; /* not LTR */
    padding: 0 10px 3px;
    margin: 0;
    text-shadow: 0 1px 0 #fff;
    -khtml-border-radius: 6px 6px 0px 0px;
    -moz-border-radius: 6px 6px 0px 0px;
    -webkit-border-radius: 6px 6px 0px 0px;
    border-radius: 6px 6px 0px 0px;

}
.tabs ul.primary li.active a {
    background-color: #ffffff;
}
.tabs ul.secondary {
    border-bottom: none;
    padding: 0.5em 0;
    text-align: center;
}
.tabs ul.secondary li {
    display: inline-block;
}
.tabs ul.secondary li:last-child {
    border-right: none; /* LTR */
}
.tabs ul.secondary li:first-child {
    padding-left: 0; /* LTR */
}
.tabs ul.secondary li a {
    padding: 0.25em 0.5em;
}
.tabs ul.secondary li a.active {
    background: #f2f2f2;
    border-bottom: none;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;

}
ul.action-links {
    list-style: none;
    margin: 5px;
    padding: 0.5em 1em;
    margin-left: 180px;
}
ul.action-links li {
    display: inline-block;
    margin-left: 10px;
}
ul.action-links li a {
    padding-left: 15px;
    background: url(../images/add.png) no-repeat left center;
    margin: 0 10px 0 0;
}

/* ---------------- Messages  ----------------- */

#messages {
    padding: 20px 0 5px;
    margin: 0 auto;
}

div.messages {
    box-sizing: border-box;
}

#messages .section div.messages {
    margin: 8px 15px;
    width: calc(100% - 30px);
}

#messages-wrap div.messages {
    width: 100%;
}



/* -------------- Breadcrumbs   -------------- */

#breadcrumb {
    font-size: 0.929em;
    font-family: "Arial", "Cambria", Arial, sans-serif, serif;
}

#content #breadcrumb{
    margin-left: 10px;
}
/* -------------- User Profile   -------------- */

.profile .user-picture {
    float: none;
}

/* -------------- Password Meter  ------------- */

.confirm-parent,
.password-parent {
    width: 34em;
}
.password-parent,
div.form-item div.password-suggestions {
    position: relative;
}
.password-strength-text,
.password-strength-title,
div.password-confirm {
    font-size: 0.82em;
}
.password-strength-text {
    margin-top: 0.2em;
}
div.password-confirm {
    margin-top: 2.2em;
    width: 20.73em;
}

/* ---------------- Buttons    ---------------- */
input[type="submit"],
a.button {
    background: #ff7400;
    border: 1px solid #e4e4e4;
    border-bottom: 1px solid #b4b4b4;
    border-left-color: #d2d2d2;
    border-right-color: #d2d2d2;
    color: #fff;
    cursor: pointer;
    font-size: 0.929em;
    font-weight: normal;
    text-align: center;
    vertical-align:middle;
    margin: 0em 0.6em; /* LTR */
    padding: 4px 17px;
    border-radius: 15px;
    -khtml-border-radius: 15px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 15px;
}
input.form-submit:hover,
input.form-submit:focus,
input.form-submit:active,
a.button:hover,
a.button:focus,
a.button:active {
    text-decoration: none;
    color: #fff;
    background: #236424;
}

/* -------------- Form Elements   ------------- */

fieldset {
    margin: 5px 0px;
    vertical-align: top;
    top: 0px; /* Offsets the negative margin of legends */
    display: inline;
    border: 1px solid #c0c0c0;
}
.fieldset-wrapper {
    margin: 0px;
}
.node-form .vertical-tabs .fieldset-wrapper {
    margin-top: 0;
}
.filter-wrapper {
    display: none;
    top: 0;
    padding: 1em 0 0.2em 1em;
}
.filter-help a {
    font-size: 0.857em;
    padding: 2px 20px 0;
}
.filter-wrapper .form-item label {
    margin-right: 10px;
}
.filter-wrapper .form-item {
    padding: 0 0 0.5em 0.5em;
}
.filter-guidelines {
    padding: 0 1.5em 0 0.5em;
}
::-webkit-details-marker { display:none; }

fieldset .fieldset-wrapper {
    padding: 0px;
}
fieldset .fieldset-description {
    margin-top: 5px;
    margin-bottom: 1em;
    line-height: 1.4;
    color: #3c3c3c;
    font-style: italic;
}

input {
    margin: 2px 0;
    padding: 4px;
}
input,
textarea {
    font-size: 0.929em;
}
textarea {
    line-height: 1.5;
}
textarea.form-textarea{
    padding: 4px;
    margin: 15px 20px 0px 0px;
    width: 50%;
}

input.form-text,
textarea.form-textarea,
select.form-select {
    border: 1px solid #a6a6a6;
    font-size: 1.0em;
    padding: 4px;
    margin: 0px 5px;
}
.password-suggestions ul li {
    margin-left: 1.2em; /* LTR */
}
.form-item {
    margin: 0px;
}
.form-item label {
    font-size: 0.929em;
}
label,
.form-type-radio label,
.form-type-checkbox label {
    margin-left: 4px;
}
.form-type-radio .description,
.form-type-checkbox .description {
    margin-left: 2px;
}
.form-actions {
    padding-top: 10px;
}
/* Contact Form */
.contact-form #edit-name {
    width: 75%;
    -khtml-border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;

}
.contact-form #edit-mail {
    width: 75%;
    -khtml-border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;

}
.contact-form #edit-subject {
    width: 75%;
    -khtml-border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;

}
.contact-form #edit-message {
    width: 76.3%;
    -khtml-border-radius: 4px 4px 0px 0px;
    -moz-border-radius: 4px 4px 0px 0px;
    -webkit-border-radius: 4px 4px 0px 0px;
    border-radius: 4px 4px 0px 0px;

}
.contact-form .resizable-textarea .grippie {
    width: 76%;
    -khtml-border-radius: 0px 0px 4px 4px;
    -moz-border-radius: 0px 0px 4px 4px;
    -webkit-border-radius: 0px 0px 4px 4px;
    border-radius: 0px 0px 4px 4px;

}

/* Disabled form elements */
input.form-button-disabled,
input.form-button-disabled:hover,
input.form-button-disabled:focus,
input.form-button-disabled:active
{
    background: #ffb980;
    border-color: #bbb;
    color: #fff;
}
.form-disabled input,
.form-disabled select,
.form-disabled textarea {
    background: #e6e6e6;
    border-color: #bbb;
    color: #808080;
}
.form-disabled .grippie {
    background-color: #ffb980;
    border-color: #bbb;
}
.form-disabled label {
    color: #868585;
}

/* Comment form */
.comment-form label {
    float: left; /* LTR */
    font-size: 0.929em;
    width: 150px;
    margin-top: 10px;
}
.comment-form input,
.comment-form .form-select {
    margin: 0;
    -khtml-border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;

}
.comment-form input.form-submit {
    margin: 0;
    -khtml-border-radius: 15px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 15px;
    border-radius: 15px;

}

.comment-form .form-type-textarea label {
    float: none;
}
.comment-form .form-item,
.comment-form .form-radios,
.comment-form .form-type-checkbox {
    margin-bottom: 10px;
    overflow: hidden;
}
.comment-form .form-select {
    margin-bottom: 10px;
    overflow: auto;
}
.comment-form .form-type-checkbox,
.comment-form .form-radios {
    margin-left: 0px; /* LTR */
}
.comment-form .form-type-checkbox label,
.comment-form .form-radios label {
    float: none;
    margin-top: 0;
}
.comment-form input.form-file {
    width: auto;
}
.no-sidebars .comment-form .form-text {
    width: auto;
    margin-top: 10px;
}
.one-sidebar .comment-form .form-text {
    width: 500px;
}
.two-sidebars .comment-form .form-text {
    width: 320px;
}
.comment-form .form-item .description {
    font-size: 0.786em;
    line-height: 1.2;
    margin-left: 120px; /* LTR */
}
#content h2.comment-form {
    margin-bottom: 0.5em;
}
.comment-form .form-textarea {
    font-size: 1em;
}
.comment-form fieldset.filter-wrapper .fieldset-wrapper,
.comment-form .text-format-wrapper .form-item {
    margin-top: 0;
    margin-bottom: 0;
}
.filter-wrapper label {
    width: auto;
    float: none;
}
.filter-wrapper .form-select {
    min-width: 120px;
}
.comment-form fieldset.filter-wrapper .tips {
    font-size: 0.786em;
}
#comment-body-add-more-wrapper .form-type-textarea label {
    margin-bottom: 0.4em;
}
#edit-actions input {
    margin: 1em 0.6em; /* LTR */
}

/* -------------- Other Overrides ------------- */

div.password-suggestions {
    border: 0;
}
.ui-widget-overlay {
    background: #222222;
    opacity: 0.7;
}
div.vertical-tabs .vertical-tabs-panes fieldset.vertical-tabs-pane {
    padding: 1em;
}
#forum .name {
    font-size: 1.083em;
}
#forum .description {
    font-size: 1em;
}

/* --------------- Search Form ---------------- */

#block-search-form {
    padding-bottom: 7px;
}
#block-search-form .content {
    margin-top: 0;
}
#search-form input#edit-keys,
#block-search-form .form-item-search-block-form input {
    float: left; /* LTR */
    font-size: 1em;
    height: 1.143em;
    margin-right: 5px;
    width: 9em;
}
#search-block-form input.form-submit,
#search-form input.form-submit {
    margin-left: 0;
    margin-right: 0;
    height: 25px;
    width: 34px;
    padding: 0;
    cursor: pointer;
    text-indent: -9999px;
    border-color: #e4e4e4 #d2d2d2 #b4b4b4;
    background: url(../images/search-button.png) no-repeat center top;
    overflow: hidden;
}
#search-block-form input.form-submit:hover,
#search-block-form input.form-submit:focus,
#search-form input.form-submit:hover,
#search-form input.form-submit:focus {
    background-position: center bottom;
}
#search-form .form-item-keys label {
    display: block;
}

/* --------------- Search Results ---------------- */
ol.search-results {
    padding-left: 0;
}
.search-results li {
    border-bottom: 1px solid #d3d7d9;
    padding-bottom: 0.4285em;
    margin-bottom: 0.5em;
}
.search-results li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 1em;
}
.search-results .search-snippet-info {
    padding-left: 0;
}

/* -------------- Shortcut Links -------------- */

.shortcut-wrapper {
    margin: 2.2em 0 1.1em 0; /* Same as usual h1#page-title margin. */
}
.shortcut-wrapper h1#page-title {
    float: left; /* LTR */
    margin: 0;
}
div.add-or-remove-shortcuts {
    padding-top: 0.9em;
}
.overlay div.add-or-remove-shortcuts {
    padding-top: 0.8em;
}

/* ---------- Admin-specific Theming ---------- */

.page-admin #content img {
    margin-right: 15px; /* LTR */
}
.page-admin #content .simpletest-image img {
    margin: 0;
}
.page-admin-structure-block-demo .block-region {
    background: #ffff66;
    border: 1px dotted #9f9e00;
    color: #000;
    font: 90% "Lucida Grande", "Lucida Sans Unicode", sans-serif;
    margin: 5px;
    padding: 5px;
    text-align: center;
    text-shadow: none;
}

.page-admin-structure-block-demo #header .block-region {
    width: 500px;
}
.page-admin #admin-dblog img {
    margin: 0 5px;
}
/* Fix spacing when Seven is used in the overlay. */
#system-theme-settings fieldset {
    padding: 0;
}
#system-theme-settings fieldset .fieldset-legend {
    margin-top: 0;
}
/* Configuration. */
div.admin .right,
div.admin .left {
    width: 49%;
    margin: 0;
}
div.admin-panel {
    background: #fbfbfb;
    border: 1px solid #ccc;
    margin: 10px 0;
    padding: 0 5px 5px;
}
div.admin-panel h3 {
    margin: 16px 7px;
}
div.admin-panel dt {
    border-top: 1px solid #ccc;
    padding: 7px 0 0;
}
div.admin-panel dd {
    margin: 0 0 10px;
}
div.admin-panel .description {
    margin: 0 0 14px 7px;
}

/* ---------- Overlay layout styles ----------- */

.overlay #main,
.overlay #content {
    width: auto;
    float: none;
}
.overlay #page {
    padding: 0;
}
.overlay .region-page-top,
.overlay #header,
.overlay #page-title,
.overlay #sidebar-first,
.overlay #footer-wrapper {
    display: none;
}
.overlay-processed .field-type-image {
    display: block;
    float: none;
}
.overlay #messages {
    width: auto;
}

/* ---------- Poll ----------- */

.node .poll {
    margin: 2em 0;
}
.node .poll #edit-choice {
    margin: 0 0 1.5em;
}
.poll .vote-form {
    text-align: left; /* LTR */
}
.poll .vote-form .choices {
    margin: 0;
}
.poll .percent {
    font-size: 0.857em;
    font-style: italic;
    margin-bottom: 3em;
    margin-top: -3.2em;
    float: right;
    text-align: right;
}
.poll .text {
    clear: right;
    margin-right: 2.25em;
}
.poll .total {
    font-size: 0.929em;
    font-style: italic;
    text-align: right; /* LTR */
    clear: both;
}
.node .poll {
    margin: 1.8em 0 0;
}
.node .poll .text {
    margin-right: 6.75em;
}
.node .poll #edit-choice {
    margin: 0 0 1.2em;
}
.poll .bar .foreground {
    background-color: #666;
}
#footer-wrapper .poll .bar {
    background-color: #666;
}
#footer-wrapper .poll .bar .foreground {
    background-color: #ddd;
}
.tabledrag-toggle-weight-wrapper{
    display: none;
}
.tabledrag-toggle-weight,.tabledrag-hide, .tabledrag-handle{
    display: none;
}

.support-container-inline div
{
    display: inline;
}
.support-container-inline input
{
    vertical-align:top;
}
/* Fieldset contents always need to be rendered as block. */
.support-container-inline .fieldset-wrapper {
    display: block;
}
.support-container-inline .fieldset-wrapper .form-item {
    display: inline;
}

.cabinet-account
{
    background-color: #fff;
    color: #000;
    font-size: 1.3em;
    border: 1px solid #ccc;
    border-top: none;

    border-radius: 0px 0px 10px 10px;
    -khtml-border-radius: 0px 0px 10px 10px;
    -moz-border-radius: 0px 0px 10px 10px;
    -webkit-border-radius: 0px 0px 10px 10px;

    -webkit-box-shadow: 15px 5px 40px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 15px 5px 40px 0px rgba(0,0,0,0.5);
    box-shadow: 15px 5px 40px 0px rgba(0,0,0,0.5);

    position:absolute;
    top:0;right:150px;
    min-width:200px;
	max-width:300px;
    margin:0px;
    padding: 10px 20px 10px 20px;
}
.cabinet-margin{
    margin: 5px 15px;
}
div .content,
div .view {
    margin: 0px;
}
div .profile{
    margin: 5px 15px;
}

#user-profile-form div,
#user-register-form div,
#user-login div,
#user-pass div,
#password-policy-password-tab div
{
    margin: 5px;
}
#user-login-form,
#user-login,
#user-pass
{
    width: 800px;
}

#user-login-form div,
#user-login div,
#user-pass div
{
    display: block;
    margin: 5px auto;
    width: 100%;
    text-align: center;
}
#user-login-form div div,
#user-login div div,
#user-pass div div{
    display: table;
    text-align: left;
}
#user-login-form div div label,
#user-login div div label,
#user-pass div div label{
    display: table-cell;
    width: 50%;
    text-align: right;
    margin: 0px 10px;
}
#user-login-form div div input-text,
#user-login div div input-text,
#user-pass div div input-text{
    display: table-cell;
    text-align: left;
    margin: 0px 10px;
}
#user-login-form div div .form-submit,
#user-login div div .form-submit,
#user-pass div div .form-submit{
    display: table-cell;
    text-align: center;
    margin-left: 430px;
}
#user-login-form div div ul,
#user-pass div div ul,
#user-login div div ul{
    margin-left: 380px;
}
#user-login-form div div ul li,
#user-login div div ul li,
#user-pass div div ul li{
    display: table-row;
    text-align: center;
}
#user-login-form div div ul li a,
#user-login div div ul li a,
#user-pass div div ul li a{
    color: #72abc9;
    font-weight:bold;
}

.captcha img,
.reload-captcha {
    margin-left: 400px;
}

#block-user-login h2,
#block-block-2.block h2{
    display: none;
}

.resizable-textarea .grippie {
    width: 50%; margin-left: 10px;
}

#edit-legal textarea{
    width: 1100px;
    height: 500px;
}


/* ---------- Color Module Styles ----------- */

body,
body.overlay {
    color: #3b3b3b;
}
.comment .comment-arrow {
    border-color: #ffffff;
}
#page,
#main-wrapper,
#main-menu-links li a.active,
#main-menu-links li.active-trail a {
    background: #ffffff;
}
.tabs ul.primary li a.active {
    background-color: #ffffff;
}
.tabs ul.primary li.active a {
    background-color: #ffffff;
    border-bottom: 1px solid #ffffff;
}
a {
    color: #0072b6;
    font-weight: bold;
}
a:hover,
a:focus {
    color: #fe7300;
}
a:active {
    color: #24aeff;
}
a[href^="/filedepot_download"],
a[href^="https://my.bcnn.ru/filedepot_download"] {
    padding-right: 20px;
    background: url(/sites/default/files/file.png) right no-repeat;
}

a[title^="Скачать"] {
    padding-right: 0px;
    background: none;
}

.sidebar .block {
    background-color: #ffffff;
    /*border-color: #ffffff;*/
    border: none;
}
#page-wrapper {
    background: #9E9E9E;
    margin-top: -20px;
}

#overlay-content #overlay-content #page-wrapper{
    background: #ffffff;
    margin-top: -20px;
}

#overlay-content #page-wrapper{
    background: #ffffff;
    margin-top: 0px;
}

.region-header,
.region-header a,
.region-header li a.active,
#name-and-slogan,
#name-and-slogan a,
#secondary-menu-links li a {
    color: #ffffff;
}

#edit-nid,
#edit-comment-count {
    width: 50px;
}

#edit-uid-touch {
    width: 150px;
}


.region-content-menu {
    position: relative;
    display: block;
    z-index: 1;
}

.region-content {
    z-index: 100;
    margin: 0px;
}

.block-superfish h2{
    display: none;
}

.hidden-menu {
    display: block;
    position: absolute;
    list-style:none;
    padding: 10px;
    margin: 0;
    box-sizing: border-box;
    width: 170px;
    background-color: #eee;
    height: 100%;
    top: 0;
    left: -170px;
    transition: left .2s;
    z-index: 1;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
}
.hidden-menu-ticker {
    display: none;
}
.btn-menu {
    color: #fff;
    background-color: #72abcf;
    padding: 5px;
    position: relative;
    top: 5px;
    left: 5px;
    cursor: pointer;
    transition: left .23s;
    z-index: 3;
    width: 25px;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
}
.btn-menu span {
    display: block;
    height: 5px;
    background-color: #fff;
    margin: 5px 0 0;
    transition: all .1s linear .23s;
    position: relative;
}
.btn-menu span.first {
    margin-top: 0;
}
.hidden-menu-ticker:checked ~ .btn-menu {
    left: 160px;
}
.hidden-menu-ticker:checked ~ .hidden-menu {
    left: 0;
}
.hidden-menu-ticker:checked ~ .btn-menu span.first {
    -webkit-transform: rotate(45deg);
    top: 10px;
}
.hidden-menu-ticker:checked ~ .btn-menu span.second {
    opacity: 0;
}

.hidden-menu-ticker:checked ~ .btn-menu span.third {
    -webkit-transform: rotate(-45deg);
    top: -10px;
}

fieldset.collapsible legend span.fieldset-legend {
    background: url(../images/transparent.png) !important;
}

fieldset.collapsible.collapsed legend span.fieldset-legend {
    background: url(../images/transparent.png) !important;
}

#cke_bottom_detail,.cke_bottom {
    display:none;
}
div.grippie {display: none;}
.grippie {display: none;}

/* Стили для подменю основного меню */
.center-sub-menu .menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.center-sub-menu .menu {
    padding-left: 0;
    margin-top: 6px;
}

.center-sub-menu .menu li {
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
}

.center-sub-menu .menu li.is-active {
    border-top: 1px solid #019551;
    border-bottom: 1px solid #019551;
}

.center-sub-menu .menu li a {
    padding: 5px 10px;
    color: #034569;
    text-decoration: none;
}

.center-sub-menu .menu li a:hover {
    color: #019551;
}

.center-sub-menu .menu li a.active {
    color: #019551;
}

/* Обёртка таблиц для горизонтального скролла */
.table-responsive {
    overflow-x: auto;
}

/* Запрещает выполнять события мыши */
.pointer-events-none {
    pointer-events: none;
}

/* Красная граница для элемента */
.red-bdr {
    border: 1px solid #ff0000;
}

/* Растянуть по ширине родительского блока */
.full-width {
    overflow-y: auto;
    min-width: 100%;
    width: calc(100% - 40px);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.container-inline.text-center {
    text-align: center;
}

/* Стили для таблиц находящихся в разделе Абонентское обслуживание */
.abonent-service {
    overflow-x: auto;
    min-width: 100%;
    padding-bottom: 18px;
}

.abonent-service > legend {
    text-align: left;
    font-size: 1.1em;
}

.abonent-service table {
    width: auto;
    overflow-y: auto;
    font-size: 13px;
    margin: 1.5em auto;
}

.abonent-service table.sticky-header {
    margin: 0;
}

#historyOCC #tableHistoryOCC tr:not(:first-child):hover {
    cursor: pointer;
}

#historyOCC #tableHistoryOCC tr:hover {
    background-color: #f0f0f0;
}

#historyOCC #tableHistoryOCC tr:active {
    background-color: #e6e6e6;
}

.abonent-service table tr th {
    height: 40px;
    text-align: center;
    padding-left: 0.4em;
    padding-right: 0.4em;
}

.abonent-service table tr th.select-all {
    border-right-color: transparent;
    padding-left: 0;
    padding-right: 0;
}

.abonent-service tr td {
    vertical-align: middle;
    height: 100%;
}

.abonent-service:not(.not-first) .fieldset-wrapper > table tr td:first-child,
.abonent-service:not(.not-first) .fieldset-wrapper .table-responsive > table tr td:first-child{
    padding-left: 0;
    padding-right: 0;
    border-left-width: 0;
    border-right-width: 0;
}

#tableHistoryOCC tr td a {
    display: inline-block;
    width: calc(100% - 0.8em + 1px);
    text-decoration: none;
    outline: none;
    color: #000000;
}

#tableHistoryOCC tr td .link-wrap {
    display: table;
    width: 100%;
    height: 100%;
}

#tableHistoryOCC tr td .link-wrap .link {
    display: table-cell;
    vertical-align: middle;
    padding: 0.5em 0.4em;
}

#tableHistoryOCC tr td a:hover {
    color: #000000;
}

.abonent-service .fieldset-wrapper > table tr td:nth-child(2) {
    border-left-width: 0;
}

/* Фин. период */
#tableHistoryOCC tr td:nth-child(2) {
    min-width: 9em;
}

/* Тип счета */
#tableHistoryOCC tr td:nth-child(12) {
    min-width: 3.1em;
}

/* Фин. период, Тип счета */
#tableHistoryOCC tr td:nth-child(2),
#tableHistoryOCC tr td:nth-child(12) {
    text-align: left;
}

/* Дт вх. сальдо, Кт вх. сальдо, Начислено, Перерасчет, Оплачено, Дт исх. сальдо, Кт исх. сальдо, Сумма платежа */
#tableHistoryOCC tr td:nth-child(3),
#tableHistoryOCC tr td:nth-child(4),
#tableHistoryOCC tr td:nth-child(5),
#tableHistoryOCC tr td:nth-child(6),
#tableHistoryOCC tr td:nth-child(7),
#tableHistoryOCC tr td:nth-child(8),
#tableHistoryOCC tr td:nth-child(9),
#tableHistoryOCC tr td:nth-child(11) {
    text-align: right;
}

/* Дата платежа, Дата оплаты */
#tableHistoryOCC tr td:nth-child(10),
#tableHistoryOCC tr td:nth-child(13) {
    text-align: center;
}

/* Последняя строка ИТОГО */
#tableDetailing > tbody > tr:last-child {
    background-color: #ffbd91;
}

.abonent-service tr td {
    padding: 0.5em 0.4em;
}

/* Услуга */
#tableDetailing tr td:nth-child(1) {
    min-width: 10.5em;
}

/* Дт вх. сальдо, Кт вх. сальдо */
#tableDetailing tr td:nth-child(2),
#tableDetailing tr td:nth-child(3) {
    min-width: 7.5em;
}

/* Льготная скидка */
#tableDetailing tr td:nth-child(5) {
    min-width: 9em;
}

/* Дт исх. сальдо, Кт исх. сальдо */
#tableDetailing tr td:nth-child(8),
#tableDetailing tr td:nth-child(9) {
    min-width: 8.5em;
}

/* Услуга */
#tableDetailing tr td:nth-child(1) {
    text-align: left;
}

/* Дт вх. сальдо, Кт вх. сальдо, Начислено, Льготная скидка, Перерасчет, Оплачено, Дт исх. сальдо, Кт исх. сальдо */
#tableDetailing tr td:nth-child(2),
#tableDetailing tr td:nth-child(3),
#tableDetailing tr td:nth-child(4),
#tableDetailing tr td:nth-child(5),
#tableDetailing tr td:nth-child(6),
#tableDetailing tr td:nth-child(7),
#tableDetailing tr td:nth-child(8),
#tableDetailing tr td:nth-child(9) {
    text-align: right;
}

/* Тип перерасчета */
#tableRecalculations tr td:nth-child(1) {
    min-width: 0;
}

/* Услуга */
#tableRecalculations tr td:nth-child(2) {
    min-width: 0;
}

/* Номер документа */
#tableRecalculations tr td:nth-child(3) {
    min-width: 0;
}

/* Дата документа */
#tableRecalculations tr td:nth-child(4) {
    min-width: 0;
}

/* Перерасчет с */
#tableRecalculations tr td:nth-child(5) {
    min-width: 0;
}

/* Перерасчет по */
#tableRecalculations tr td:nth-child(6) {
    min-width: 0;
}

/* Дата документа, Перерасчет с, Перерасчет по */
#tableRecalculations tr td:nth-child(4),
#tableRecalculations tr td:nth-child(5),
#tableRecalculations tr td:nth-child(6) {
    text-align: center;
}

/* Сумма */
#tableRecalculations tr td:nth-child(7) {
    text-align: right;
}

/* Параметры перерасчета */
#tableRecalculations tr td:nth-child(8) {
    min-width: 0;
}


#tableCounters tr td:nth-child(2) {
    min-width: 14.7em;
}
#tableCounters tr td:nth-child(3),
#tableCounters tr td:nth-child(4),
#tableCounters tr td:nth-child(5) {
    min-width: 8.7em;
}

/* Услуга, Предыдущие показания, Текущие показания */
#tableCounters tr td:nth-child(2),
#tableCounters tr td:nth-child(3),
#tableCounters tr td:nth-child(4) {
    text-align: left;
}

#tableDateCalc tr th.select-all input {
    display: none;
}

#tableDateCalc tr td input.center {
    text-align: center;
}

#tableDateCalc tr.selected td {
    background: inherit;
}

#tableDateCalc tr td:nth-child(3),
#tableDateCalc tr td:nth-child(5) {
    text-align: center;
}

/* Объем */
#tableCounters tr td:nth-child(5) {
    text-align: center;
}

#table-detailing .sticky-header,
#table-recalculations .sticky-header {
    display: none !important;
}

#table-detailing,
#table-recalculations {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100%;
    width: calc(100vw - 4.25em - 16px);
    margin: 0 auto;
}

/* Финансовый период */
.modaloverlay .modal > fieldset fieldset .form-item-period {
    float: right;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.finance-period ~ .ajax-progress-throbber {
    display: none;
}

/**
 * МОДАЛЬНЫЕ ОКНА
 */

/* Обертка для модального окна */
.modaloverlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.8);
    -webkit-transition: visibility 0s, opacity 0.1s linear;
    -o-transition: visibility 0s, opacity 0.1s linear;
    transition: visibility 0s, opacity 0.1s linear;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

/* Переход к целевому элементу */
.modaloverlay.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    z-index: 99999;
}

/* Модальное окно */
.modaloverlay .modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: white;
    padding: 0.4em;
    /* Плавный скролл для iOS */
    -webkit-overflow-scrolling: touch;
}

/* Контрольная точка для desktop-устройств */
@media screen and (min-width: 60em) {
    .modaloverlay .modal {
        margin: 30px;
    }
    #table-detailing,
    #table-recalculations {
        width: calc(100vw - 4.25em - 76px);
    }
}

/* Кнопка закрытия модального окна */
.modaloverlay .modal .close {
    position: absolute;
    right: 0;
    top: 0;
    background-color: transparent;
    color: #298100;
    padding: 5px 8px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 3.7em;
    line-height: 0.6;
    z-index: 1;
    cursor: pointer;
}

/* Наведение на кнопку закрытия модального окна */
.modaloverlay .modal .close:hover {
    color: #90b081;
}

.modaloverlay .modal > fieldset {
    display: block;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    width: calc(100% - 3em);
    height: calc(100% - 2.3em);
}

.modaloverlay .modal > fieldset table {
    min-width: 100%;
}

.modaloverlay .modal > fieldset .fieldset-wrapper {
    height: calc(100% - 2em);
}

.modaloverlay .modal > fieldset fieldset {
    display: block;
    width: calc(100% - 4px);
    height: calc(100% - 2.3em);
    overflow-y: auto;
}

.modaloverlay .modal > fieldset fieldset legend {
    font-size: 1.1em;
}

/**
 * Горизонтальное меню со вкладками
 */

/* Контейнер для вкладок */
.container-inline .tabs {
    /*
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 6px 10px 0;
    */
    clear: both;
    display: block;
    padding: 0 3px;
    margin: 8px 0 14px;
    overflow: hidden;
    border: none;
    background: transparent url(../images/tabs-border.png) repeat-x left bottom;
}

/* Скрыть радиокнопки */
.container-inline .tabs [type="radio"] {
    display: none;
}

/* Подпись вкладки */
.container-inline .tabs label {
    display: block;
    float: left;
    vertical-align: bottom;
    margin: 0 5px 0 0;
    color: #000;
    background-color: #ededed;
    height: 1.8em;
    line-height: 1.9;
    display: block;
    font-size: 0.929em;
    float: left;
    padding: 0 10px 3px;
    margin: 0;
    text-shadow: 0 1px 0 #fff;
    -khtml-border-radius: 6px 6px 0px 0px;
    -moz-border-radius: 6px 6px 0px 0px;
    -webkit-border-radius: 6px 6px 0px 0px;
    border-radius: 6px 6px 0px 0px;
    background-color: #ddd;
    border-color: #bbb;
    border-style: solid solid none solid;
    border-width: 1px;
    height: auto;
    margin-right: 0.5em;
    padding: 0 1em;
    text-decoration: none;
    /*
    -webkit-box-flex: 1;
    -ms-flex: 1 0 0px;
    flex: 1 0 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px;
    min-width: 7em;
    background-color: #eeeeee;
    border-bottom: 1px solid #019551;
    font-weight: bold;
    */
    cursor: pointer;
}


/* Вкладка при наведении */
.container-inline .tabs [type="radio"]:hover + label {
    /*
    border-bottom: 1px solid #1eb36f;
    background-color: #fafafa;
    */
}


/* Активная вкладка */
.container-inline .tabs [type="radio"]:checked + label {
    display: block;
    float: left;
    vertical-align: bottom;
    margin: 0 5px 0 0;
    background-color: #ffffff;
    border-bottom: 1px solid #ffffff;
    /*
     border-bottom: 1px solid #ff7400;
     background-color: #fafafa;
    */
    z-index: 2;
}

/* Контентная область */
.container-inline .tabs ~ #table-detailing.content,
.container-inline .tabs ~ #table-recalculations.content {
    display: none;
    background-color: #ffffff;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow-x: auto;
    max-width: 100%;
}

/* Показать контент активной вкладки */
.container-inline .tabs ~ #table-detailing.edit-tabs-0.content.show,
.container-inline .tabs ~ #table-recalculations.edit-tabs-1.content.show {
    display: block;
}

/* Параграфы в контентой области */
.container-inline .tabs ~ .content p {
    text-align: justify;
    padding: 10px 0 0;
}

.container-inline .tabs ~ .content p:first-child {
    padding-top: 20px;
}

.container-inline .tabs ~ .content p:last-child {
    padding-bottom: 20px;
}

/* Анимация загрузки */
.loading {
    overflow: hidden;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    display: block;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 22px;
    width: 22px;
    -webkit-animation: rotate 1s infinite linear;
    animation: rotate 1s infinite linear;
    border: 6px solid #ccc;
    border-right-color: transparent;
    border-radius: 50%;
    overflow: hidden;
}

@-webkit-keyframes rotate {
    0%    { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    100%  { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@keyframes rotate {
    0%    { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    100%  { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

/* */
.ticket-container-inline{
    display: block;
}

.execute-container-inline label ,
.execute-container-inline div {
    display: inline;
}
label,input,
.form-required{
    vertical-align: top;
}
.ticket-subscribe{
    display:none;
}
.ticket-control{
    color: #ff7400;
    font-weight: bold;
}

.item-list li a {
    text-decoration: none;
}

.links-input-form {
    min-width: 300px;
    padding-right: 25px;
    border-right: 1px solid #d9d9d9;
}

.items-input-form {
    width: 100%;
}

.items-input-form .form-wrapper {
    min-width: 250px;
}

.items-input-form .form-wrapper select,
.items-input-form .form-wrapper input[type="text"] {
    min-width: 255px;
    padding: 2px 0;
}
.items-input-form .form-wrapper input[type="submit"] {
    display: block;
    margin: 0 auto;
}

.left-sub-menu-form {
    margin: 0;
    padding-left: 18px;
}

.left-sub-menu-form a {
    text-decoration: none;
}

.left-sub-menu-form a:hover {
    text-decoration: underline;
}

.left-sub-menu-form a.active {
    color: #019551;
    text-decoration: underline;
}

.info-card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 20px auto 0;
    max-width: 755px;
}

.info-card b {
    font-size: 1.05em;
}

.info-card-item {
    padding: 0 15px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    text-align: center;
}

.info-card-item:not(:last-of-type) {
    border-right: 1px solid #c0c0c0;
}
