body {
  background-color: #FFF;
  color: #081D3D;
  font: normal 14px/1.33 'Roboto Condensed', sans-serif;
}

.asterisk::after,
.asterisk-footnote::before {
  color: #4B89D6;
}

.text hr {
  border-top-color: 1px solid #F4F8FC;
}

.boolean.false::before {
  border-color: #DAE8F4;
}
.boolean.true::before {
  border-color: #4B89D6;
}

.badge { background: #4B89D6; }
.badge_orange { background: #E99100; }
.badge_green { background: #04714F; }
.badge_blue { background: #091C3C; }
.badge_dark_green { background: #04714F; }
.badge_red { background: #E7391E; }
.badge_gray { background: #B93D2D; }

.toggle {
  color: #4d556b;
  border-bottom: 1px dotted #4d556b;
  text-decoration: none;
}
.toggle:hover {
  color: #697592;
  border-bottom-color: #697592;
  text-decoration: none;
}
.toggle.active {
  color: #697592;
  border-bottom-color: #697592;
}
.toggle.active:hover {
  color: #4d556b;
  border-bottom-color: #4d556b;
}
.toggle.inherit {
  color: inherit;
  border-color: inherit;
}

.layout__header {
  background-color: #4B89D6;
}
.layout-body {
  border-top-color: #DAE8F4;
  background-color: #F4F8FC;
}

.layout-header .i_exit::before {
  background-image: url(../img/civinity/icons_white11.png);
  background-image: none, url(../img/civinity/icons_white11.svg);
}

.layout-message__wrapper { background-color: #EE7023; }

.layout-footer {
  border-top-color: #4B89D6;
  background-color: #091C3C;
  color: #FFF;
}

.layout-section {
  border-top: 4px solid #DAE8F4;
  background: #DAE8F4;
}
.layout-section__body {
  background: #F4F8FC;
}

.header__description {
  color: #8690A8;
}

.header-nav__anchor {
  color: #081D3D;
}
.header-nav__item.active::before {
  background-color: #4B89D6;
}
.header-nav__anchor:hover,
.header-nav__anchor:focus {
  color: #8690A8;
}
.header-nav__item.active,
.header-nav__item.active .header-nav__anchor {
  color: #4B89D6;
}

.header-options__toggle.active {
  border: 1px solid #DAE8F4;
}
.header-options__list {
  -webkit-box-shadow: 0 0 0 1px #DAE8F4;
          box-shadow: 0 0 0 1px #DAE8F4;
}
.header-options__item {
  border-top: 1px solid #F4F8FC;
}
.header-options__description {
  color: #8690A8;
}
.header-options__anchor:hover,
.header-options__anchor:active {
  background: #F4F8FC;
}

.header-entity {
  padding-left: 0;
  color: #081D3D;
}
.header-entity__logo {
  position: static;
  width: 288px; height: 20px;
  background: url('../img/civinity/logo_white.svg') no-repeat 0 0;
}
.header-entity__name {
  color: #A5C7E5;
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
}
.header-entity__email,
.header-entity__description {
  display: none;
}

.logo-footer {
  display: inline-block;
  padding-left: 0;
  width: 144px; height: 16px;
  font-size: 14px;
  line-height: 16px;
  white-space: nowrap;
  overflow: hidden;
}
.logo-footer::before {
  position: static;
  width: 144px; height: 16px;
  background: url(../img/civinity/logo_white.png) no-repeat 50% 0;
  background-image: none, url(../img/civinity/logo_white.svg);
  background-size: auto 16px;
}

.nav-badge {
  background-color: #4B89D6;
  color: #FFF;
}

.footer-apps__anchor {
  border-color: #DAE8F4;
}

.footer-nav__anchor {
  color: #A5C7E5;
}
.footer-nav__anchor:hover,
.footer-nav__anchor:focus,
.footer-nav__item.active .footer-nav__anchor {
  color: inherit;
}

.footer-lang__item::before {
  background-color: #143e86;
}
.footer-lang__anchor {
  color: #A5C7E5;
}

.page-error__code {
  color: #DAE8F4;
}
.page-error__title {
  color: #4B89D6;
}

.modal-section__header,
.modal-form__header {
  background: #DAE8F4;
  border-bottom-color: #C0D8EC;
}
.modal-part {
  background: #F4F8FC;
}
.modal-part__header,
.modal-part__body {
  border-top-color: #C0D8EC;
}

.modal-form__body_separate {
  border-top-color: #C0D8EC;
}
.modal-form__footer {
  border-top-color: #C0D8EC;
  background: #DAE8F4;
}

.modal__close::after,
.modal__close::before {
  background: #4B89D6;
}

@media only screen and (min-width: 641px) {

  .layout-nav {
    border-top-color: #DAE8F4;
  }
  .layout-nav__anchor {
    color: #081D3D;
  }
  .layout-nav__item.active::before {
    background-color: #4B89D6;
  }
  .layout-nav__anchor:hover,
  .layout-nav__anchor:focus {
    color: #8690A8;
  }
  .layout-nav__item.active,
  .layout-nav__item.active .layout-nav__anchor {
    color: #4B89D6;
  }

}

.radiobank__anchor {
  border-color: #DAE8F4;
}
.radiobank__radio:checked + .radiobank__anchor {
  border-color: #4B89D6;
  background-color: #E7F0F8;
}

.radioauth__anchor {
  border-color: #DAE8F4;
}
.radioauth__anchor:hover,
.radioauth__radio:checked + .radioauth__anchor {
  border-color: #4B89D6;
  background-color: #E7F0F8;
}
.radioauth__title {
  color: #8690A8;
}

/*
 * Buttons
 */

.button {
  border-color: #4B89D6;
  background-color: #FFF;
  color: #4B89D6;
}
.button:hover,
.button:focus,
.button:active {
  -webkit-box-shadow: 0 0 0 3px rgba(75, 137, 214, 0.2);
          box-shadow: 0 0 0 3px rgba(75, 137, 214, 0.2);

  text-decoration: none;
}

.button_stretch {
  padding-right: 8px; padding-left: 8px;
  width: 100%;
}

.button_submit {
  border-color: transparent;
  background-color: #4B89D6;
  color: #FFF;
}
.button_submit:hover,
.button_submit:focus,
.button_submit:active {
  -webkit-box-shadow: 0 0 0 3px rgba(75, 137, 214, 0.2);
          box-shadow: 0 0 0 3px rgba(75, 137, 214, 0.2);
}
.button_submit[disabled] {
  background-color: #9B8583;
}

.button_red {
  border-color: transparent;
  background-color: #B93D2D;
  color: #FFF;
}
.button_red:hover,
.button_red:focus,
.button_red:active {
  -webkit-box-shadow: 0 0 0 3px rgba(197, 19, 28, 0.2);
          box-shadow: 0 0 0 3px rgba(197, 19, 28, 0.2);
}

.button_warn {
  border-color: transparent;
  background-color: #E99100;
  color: #FFF;
}
.button_warn:hover,
.button_warn:focus,
.button_warn:active {
  -webkit-box-shadow: 0 0 0 3px rgba(238, 112, 35, 0.2);
          box-shadow: 0 0 0 3px rgba(238, 112, 35, 0.2);
}

.button_simple,
.button_transparent {
  border-color: transparent;
  background-color: transparent;
  color: #4B89D6;
}
.button_simple:hover,
.button_simple:focus,
.button_simple:active,
.button_transparent:hover,
.button_transparent:focus,
.button_transparent:active {
  background-color: rgba(75, 137, 214, .2);
  -webkit-box-shadow: none;
          box-shadow: none;
}
.button_simple {
  font-size: 14px;
}
.button_white {
  background-color: #FFF;
  border-color: #4B89D6;
  color: #4B89D6;
}

.button_small {
  padding: 6px 16px 5px;
  font-size: 16px; font-weight: bold;
  line-height: 19px;
  height: 32px;
}

.button[disabled] {
  opacity: .4;
  cursor: default;
}
.button[disabled]:hover,
.button[disabled]:focus,
.button[disabled]:active {
  -webkit-box-shadow: none;
          box-shadow: none;
}

.action {
  color: #8690A8;
}
.action-inline {
  color: #8690A8;
}
.action_button {
  background-color: #4B89D6;
  color: #FFF;
}
.action_button_submit {
  background-color: #4B89D6;
}
.action_button:hover,
.action_button:focus,
.action_button:active {
  -webkit-box-shadow: 0 0 0 2px rgb(75, 137, 214, 0.2);
          box-shadow: 0 0 0 2px rgb(75, 137, 214, 0.2);
}
.action_button.i::before {
  background-image: url('../img/civinity/icons_white11.png');
  background-image: none, url('../img/civinity/icons_white11.svg');
}


/*
 * Form
 */

::placeholder {
  color: #8690A8;
  opacity: 1;
}
:-ms-input-placeholder { color: #8690A8; }
::-ms-input-placeholder { color: #8690A8; }

.field {
  border-color: #9EBFE9;
  background-color: #F4F8FC;
  color: #081D3D;
}
.field.invalid {
  border-color: #B93D2D;
}
.field_select {
  background-image: url('../img/civinity/select.png');
  background-image: none, url('../img/civinity/select.svg');
}
.field:focus:not(:disabled) {
  -webkit-box-shadow: 0 0 0 3px rgba(155, 133, 131, 0.2);
          box-shadow: 0 0 0 3px rgba(155, 133, 131, 0.2);
}
.field.invalid:focus:not(:disabled) {
  -webkit-box-shadow: 0 0 0 3px rgba(197, 19, 28, 0.2);
          box-shadow: 0 0 0 3px rgba(197, 19, 28, 0.2);
}
.field:disabled {
  border-color: #DFE1E8;
  background-color: #F3F4F6;
  color: #8690A8;
}

.field-attachment.active {
  border: 1px dashed #9EBFE9;
}
.field-attachment__button {
  background: #4B89D6;
  color: #FFF;
}
.field-attachment__file:hover {
  background-color: rgba(0, 0, 0, .04);
}
.field-attachment__file::before {
  background-image: url(../img/civinity/icons11.png);
  background-image: none, url(../img/civinity/icons11.svg);
}
.field-attachment__delete::before {
  background-image: url(../img/civinity/icons11.png);
  background-image: none, url(../img/civinity/icons11.svg);
}
.field-attachment__size,
.field-attachment__total {
  color: #8690A8;
}

.field-block__label {
  color: #235798;
}
.field-block__field.field_empty ~ .field-block__label {
  color: #8690A8;
}
.field-block__field:focus ~ .field-block__label {
  color: #235798;
}
.field-error {
  color: #B93D2D;
}
.field-block__hint {
  color: #8690A8;
}

.radio__input:active:not(:disabled) + .radio__icon {
  border-color: rgba(75, 137, 214, 0.3);
}
.radio__input:focus + .radio__icon {
  -webkit-box-shadow: 0 0 0 8px rgba(182, 182, 182, .2);
          box-shadow: 0 0 0 8px rgba(182, 182, 182, .2);
}
.radio__input:checked + .radio__icon {
  border-color: #4B89D6;
}
.radio__input:checked:focus + .radio__icon {
  -webkit-box-shadow: 0 0 0 8px rgba(75, 137, 214, .1);
          box-shadow: 0 0 0 8px rgba(75, 137, 214, .1);
}
.radio__input + .radio__icon:before {
  background: #4B89D6;
}
.radio__input:disabled + .radio__icon {
  background: rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: none;
          box-shadow: none;
}
.radio__input:active:not(:disabled) + .radio__icon {
  border-color: rgba(75, 137, 214, 0.3);
}
.radio__input:focus + .radio__icon {
  -webkit-box-shadow: 0 0 0 8px rgba(182, 182, 182, .2);
          box-shadow: 0 0 0 8px rgba(182, 182, 182, .2);
}
.radio__input.invalid + .radio__icon {
  border-color: #B93D2D;
}
.radio__input.invalid:focus + .radio__icon {
  -webkit-box-shadow: 0 0 0 8px rgba(210, 0, 13, 0.1);
          box-shadow: 0 0 0 8px rgba(210, 0, 13, 0.1);
}
.radio__input:checked + .radio__icon,
.radio__input.invalid:checked + .radio__icon {
  border-color: #4B89D6;
}
.radio__input:checked:focus + .radio__icon,
.radio__input.invalid:checked:focus + .radio__icon {
  -webkit-box-shadow: 0 0 0 8px rgba(75, 137, 214, .1);
          box-shadow: 0 0 0 8px rgba(75, 137, 214, .1);
}
.radio__input + .radio__icon:before { background-color: #4B89D6; }

.checkbox__input + .checkbox__icon:before {
  border-color: #B6B6B6;
}
.checkbox__input.invalid + .checkbox__icon:before {
  border-color: #B93D2D;
}
.checkbox__input:checked + .checkbox__icon:before {
  border-color: #4B89D6;
}
.checkbox__input:focus + .checkbox__icon {
  background-color: rgba(182, 182, 182, .1);

  -webkit-box-shadow: 0 0 0 8px rgba(182, 182, 182, .1);
          box-shadow: 0 0 0 8px rgba(182, 182, 182, .1);
}
.checkbox__input:checked:focus + .checkbox__icon {
  background-color: rgba(75, 137, 214, .1);

  -webkit-box-shadow: 0 0 0 8px rgba(75, 137, 214, .1);
          box-shadow: 0 0 0 8px rgba(75, 137, 214, .1);
}
.checkbox__input:disabled + .checkbox__icon {
  -webkit-box-shadow: none;
          box-shadow: none;
}
.checkbox__input:checked:disabled + .checkbox__icon:before { border-color: #ACB2B8; }

.switch i {
  background-color: #4B89D6;
}
.switch input:checked:focus + i:after {
  -webkit-box-shadow: 0 0 0 8px rgba(75, 137, 214, .1);
          box-shadow: 0 0 0 8px rgba(75, 137, 214, .1);
}

.switch input:disabled i,
.switch input:disabled + i:before,
.switch input:disabled + i:after {
  background: #BDBDBD;
}
.switch input:disabled:focus + i:after,
.switch input:disabled:checked:focus + i:after {
  -webkit-box-shadow: 0 0 0 8px rgba(182, 182, 182, .2);
          box-shadow: 0 0 0 8px rgba(182, 182, 182, .2);
}

.suggestions,
.suggestions_top {
  border-color: #F6F4F2;
}
.suggestions strong { color: #E99100; font-weight: normal; }
.suggestions__header {
  background-color: #DAE8F4;
  color: #8690A8;
}
.suggestions__item {
  border-top-color: #F6F4F2;
}
.suggestions__item_selected { background: #F4F8FC; }


.flash { background-color: #04714F; }
.flash_error { background-color: #B93D2D; }
.flash_notice { background-color: #04714F; }
.flash_warning { background-color: #E99100; }


.loader-ticker::before,
.loader-ticker__bar::after,
.loader-ticker__bar::before {
    background-color: #4B89D6;
}
.loader-ticker_white::before,
.loader-ticker_white .loader-ticker__bar::after,
.loader-ticker_white .loader-ticker__bar::before {
  background: #FFF;
}


/*
 * Application
 */

a {
  color: #4B89D6;
  text-decoration: none;
}
a.inherit {
  color: inherit;
}
a.not-visited, a.meters-pass {
  color: #4B89D6;
}


.i::before {
  background-image: url('../img/civinity/icons11.png');
  background-image: none, url('../img/civinity/icons11.svg');
}
.i_home::before {
  background-position: 0 -312px;
}

.attachments-count {
  color: #4B89D6;
}
.attachments-count::before {
  background-image: url('../img/civinity/icons11.png');
  background-image: none, url('../img/civinity/icons11.svg');
}

.h2_minor {
  color: #8690A8;
}

.minor {
  color: #8690A8;
}


.error,
.section-block__status.error,
.error .data-summary__description {
  color: #B93D2D;
}

.warn,
.orange,
.section-block__status.warn,
.data-summary__description.warn,
.warn .data-summary__description {
  color: #EE7023;
}
.warn_strong {
  color: #4B89D6;
}

.red,
.data-summary__description.red {
  color: #B93D2D;
}

.green,
.data-summary__description.green {
  color: #04714F;
}

.notice {
  background-color: #DAE8F4;
}
.notice__text {
  color: #B93D2D;
}

.menu__anchor_warn {
  color: #B93D2D;
}

.toggle-block::before {
  background-image: url('../img/civinity/icons11.png');
  background-image: none, url('../img/civinity/icons11.svg');
}

.dialog {
  background: rgba(9, 28, 60, .4);
}
.dialog__box {
  -webkit-box-shadow: 0 0 0 1px #DAE8F4;
          box-shadow: 0 0 0 1px #DAE8F4;
}

.redirect {
  color: #8690A8;
}

.grid-box__span {
  -webkit-box-shadow: 0 0 0 1px #DAE8F4;
          box-shadow: 0 0 0 1px #DAE8F4;
}
.grid-box__span_minor {
  background-color: #E7F0F8;
}

.tree__description {
  color: #8690A8;
}

.data-flex__th {
  background-color: #DAE8F4;
  color: #8690A8;
}
.data-flex__td,
.data-table__td {
  border-top-color: #F4F8FC;
}

.data__td {
  border-top-color: #F4F8FC;
}
.data__tr_bg .data__td {
  background-color: #CDE0F0;
  border-top-color: #DAE8F4;
}

.data-summary__date,
.data-summary__label,
.data-summary__description {
  color: #8690A8;
}
.data-summary__badge {
  background-color: #4B89D6;
}

.values_th {
  color: #8690A8;
}

.intro__title {
  color: #235798;
}
.intro__hint {
  color: #8690A8;
}

.box {
  -webkit-box-shadow: 0 0 0 1px #DAE8F4;
          box-shadow: 0 0 0 1px #DAE8F4;
}
.box_bg,
.box_bg > .overlay .overlay__bg {
  background-color: #E7F0F8;
}
.box_highlight {
  -webkit-box-shadow: 0 0 0 1px #4B89D6;
          box-shadow: 0 0 0 1px #4B89D6;
}
.box__label,
.box__header,
.box__footer,
.box__total_sum,
.box__agreement {
  background: #E7F0F8;
}
.box__footer_transparent {
  background: none;
}
.box__footnote {
  color: #8690A8;
}
.box__content_separate {
  border-color: #E7F0F8;
}
.box__message { background: #CDE0F0; }
.box__message_warn { background: #E99100; }
.box__message_ready { background-color: #4B89D6; }
.box__message_complete { background-color: #04714F; }
.box__message_rejected { background-color: #B93D2D; }
.box__message_inprocess { background-color: #5D677D; }

.box__data_bg {
  background: #E7F0F8;
}
.box__body_bg {
  background: transparent;
}

.box__empty,
.box__caption {
  color: #8690A8;
}

.status-message_error::before,
.status-message_success::before {
  background-image: url('../img/civinity/status.png');
  background-image: none, url('../img/civinity/status.svg');
}
.status-message_error .status-message__title {
  color: #B93D2D;
}
.status-message_success .status-message__title {
  color: #04714F;
}

.meter-snipped__flat {
  color: #8690A8;
}

.meter-value__input {
  border-color: #9EBFE9;
  color: #081D3D;
}
.meter-value__input:focus {
  border-color: #4B89D6;
}
.meter-value_error .meter-value__input {
  border-color: #B93D2D;
}
.meter-value__warn,
.meter-value__error {
  color: #B93D2D;
}
.meter-value__warn {
  color: #F96546;
}
.meter-value__warn_strong {
  color: #B93D2D;
}

.promo__remove::after,
.promo__remove::before {
  background: #FFF;
}

.section-header__date,
.section__footnote {
  color: #8690A8;
}

.section__title_minor,
.section__header_title_minor,
.section-header__title_minor {
  color: #8690A8;
}

.section-block__header {
  border-top-color: #DAE8F4;
  background-color: #E7F0F8;
}
.section-block__body {
  border-top-color: #DAE8F4;
}
.section-block__footer {
  border-top-color: #DAE8F4;
  background: #E7F0F8;
}
.section-block__summary {
  background: #E7F0F8;
}
.section-block__date,
.section-block__status {
  color: #8690A8;
}

.survey__title { color: #081D3D; }
.survey__subtitle { color: #4B89D6; }
.survey__date,
.survey-item__summary,
.survey-footer__footnote,
.survey-options_ordered .survey-options__item::before {
  color: #8690A8;
}
.survey-items__item {
  border-top-color: #DAE8F4;
}
.survey-footer__footnote_warn {
  color: #F58C00;
}
.survey-options__item_selected {
  color: #4B89D6;
}

@media only screen and (min-width: 641px) {

  .notice {
    -webkit-box-shadow: 0 0 0 1px #DAE8F4;
            box-shadow: 0 0 0 1px #DAE8F4;
  }

}

@media only screen and (max-width: 640px) {

  body {
    background-color: #F4F8FC;
  }

  .layout-header__wrapper {
    background-color: #4B89D6;
  }
  .layout-header__wrapper_separate {
    border-bottom-color: #4B89D6;
  }
  .layout-nav {
    background: #FFF;
    border-bottom-color: #DAE8F4;
  }
  .layout-nav.active {
    border-top-color: #DAE8F4;
  }
  .layout-nav__wrapper {
    border-top-color: #EBE7E2;
  }
  .layout-nav__item {
    border-top-color: #DAE8F4;
  }
  .layout-nav__anchor {
    color: #4B89D6;
  }
  .layout-nav__anchor::after {
    background-image: url('../img/civinity/icons11.png');
    background-image: none, url('../img/civinity/icons11.svg');
  }
  .layout-nav__anchor:hover,
  .layout-nav__anchor:focus {
    color: #928282;
  }
  .layout-nav__item.active,
  .layout-nav__item.active .layout-nav__anchor {
    color: #081D3D;
  }

  .layout-menu {
    color: #4B89D6;
  }
  .layout-menu > div,
  .layout-menu::after,
  .layout-menu::before {
    background-color: #FFF;
  }

  .header-entity {
    padding-top: 4px;
    height: 40px;
  }
  .header-entity__logo {
    width: auto; height: 16px;
    background-size: auto 16px;
  }


  .data__tr {
    border-top-color: #E7F0F8;
  }
  .data__tr_bg + .data__tr_bg {
    border-top: 4px solid #E7F0F8;
  }

  .data-flex__td::before {
    color: #8690A8;
  }
  .data-flex__tr {
    border-top-color: #E7F0F8;
  }
  .data-flex__thead {
    background: #DAE8F4;
  }

  .box-footer__left_m_transorm {
    background: #E7F0F8;
  }

  .meter-value__td_previous .data-summary__title {
    color: #8690A8;
  }

}

