* {
    outline: none;
}

body {
    background-color: #FFF;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 13px;
    color: #000;
    position: relative;
}

body.login {
    position: inherit;
}

body:before {
    position: fixed;
    content: '';
    top: 0;
    left: 0;
    right: 0;
}

a {
    color: #D01A22;
    text-decoration: none;
}

a:hover, a:active, a:focus {
    color: #D01A22;
    text-decoration: underline;
}

input[type=text], input[type=url], input[type=email], input[type=password], input[type=tel] {
    -webkit-appearance: none;
    -moz-appearance: none;
}

input, select, textarea {
    border: #E6E3E1 solid 1px;
    border-radius: 2px;
    padding: 5px;
    font-weight: normal;
    font-size: 13px;
    color: #000;
    vertical-align: middle;
    background-color: #FFF;
}

select {
    height: 29px;
    cursor: pointer;
}

.container-mobile {
    background-color: #000;
}

.login-center {
    padding: 135px 40px 40px 40px;
    background: #FFF url(../img/ec_logo_black.png) center 40px no-repeat;
    background-size: auto;
    text-align: center;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.login-center a {
    display: block;
    padding: 7px 0px;
}

.login-center .subtitle {
    margin-bottom: 20px;
}

.login-center input, .login-center select {
    width: 100%;
    margin-bottom: 10px;
}

.login-center select {
    margin-top: 10px;
}

.login-center .btn {
    margin-top: 10px;
    margin-bottom: 30px;
    width: auto;
    margin-right: 0;
}

.login-center p {
    text-align: left;
}

.register {
    padding: 140px 40px 40px 40px;
    background: #FFF url(../img/ec_logo_black.png) center 40px no-repeat;
    background-size: auto;
}

.register .subtitle {
    margin-bottom: 20px;
    text-align: center;
}

.register a {
    display: inline-block;
    padding: 7px 0px;
}

.register .btn {
    margin-bottom: 30px;
    margin-right: 0;
    width: auto;
}

.main {
    background-color: #FFF;
    margin: 0px auto;
    padding: 20px 15px 30px 15px;
    position: relative;
}

.header {
    margin-bottom: 15px;
}

.logout {
    position: absolute;
    right: 15px;
    color: #C5C5C5;
    font-size: 11px;
    top: 37px;
    text-transform: uppercase;
    z-index: 99;
    opacity: 0.7;
}

.logout:hover {
    color: #FFF;
    opacity: 1;
}

.menu {
    list-style: none;
    padding: 0;
    font-size: 14px;
    font-weight: normal;
    display: table;
    width: 100%;
    margin-top: 17px;
    text-transform: uppercase;
}

.menu > li {
    display: table-cell;
}

.menu > li > a, .menu > li > span {
    transition: color .3s;
    color: #FFF;
    border-left: #747474 solid 1px;
}

.menu > li:first-child > a, .menu > li:first-child > span {
    border-left: none;
}

.menu > li > a, .menu > li > span {
    display: block;
    text-decoration: none;
    color: #FFF;
    text-shadow: 1px 1px #000;
    padding: 12px;
    line-height: 1;
    text-align: center;
}

.menu > li > a:hover {
    text-decoration: underline;
}

.navmenu, .navbar-offcanvas {
    width: 200px;
}

.navmenu-default .navmenu-nav {
    list-style: none;
    padding: 0;
    font-size: 14px;
    font-weight: normal;
    margin-top: 0;
}

.navmenu-default .navmenu-nav > li > a, .navmenu-default .navmenu-nav > li > a:hover, .navmenu-default .navmenu-nav > li > a:active {
    display: block;
    text-decoration: none;
    color: #FFF;
    padding: 20px 12px;
    line-height: 1;
    border-left: transparent 5px solid;
}

.navmenu-default .navmenu-nav > li {
    padding-left: 5px;
    text-transform: uppercase;
    border-bottom: rgba(255, 255, 255, 0.1) solid 1px;
}

.navmenu-default .navmenu-nav > li.active {
    border-left: #ffd900 5px solid;
    padding-left: 0px;
}

.navmenu-default .navmenu-nav > li.active > a, .navmenu-default .navmenu-nav > .active > a:hover, .navmenu-default .navmenu-nav > .active > a:active {
    color: #FFF;
    background-color: transparent;
}

.logo {
    background: url(../img/ec_logo.png) center 2px no-repeat;
    height: 40px;
    background-size: contain;
    margin-top: -5px;
}

.title {
    font-size: 27px;
    margin-bottom: 15px;
}

.title.small {
    font-size: 21px;
    width: 100%;
    margin-bottom: 10px;
}

input.title.small {
    margin-bottom: 9px;
    margin-top: -1px;
    padding: 0px 3px;
}

.subtitle {
    font-size: 21px;
    font-weight: normal;
    margin-bottom: 9px;
}

.block {
    background-color: #EEEEEE;
    padding: 10px;
    margin-bottom: 20px;
}

.btn.service-btn {
    float: right;
    margin-top: 8px;
    margin-right: 0px;
}

.block-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-transform: uppercase;
    font-size: 14px;
    padding-left: 55px;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 46px;
    vertical-align: middle;
    height: 46px;
}

.block-description {
    border-top: solid 1px #DDD;
    line-height: 160%;
    margin-bottom: 10px;
    margin-top: 10px;
}

.block-description p {
    margin-bottom: 20px;
}

.block .collapse {
    display: inline-block;
}

.block .expand {
    margin-left: 10px;
    text-transform: none;
    font-size: 13px;
    color: #D01A22;
    text-decoration: none;
    cursor: pointer;
}

.block .expand:hover {
    color: #D01A22;
    text-decoration: underline;
}

.bold {
    font-weight: bold;
}

.red {
    color: #D01A22;
}

.tac {
    text-align: center;
}

.table .tar {
    text-align: right;
}

.paging {
    margin-bottom: 10px;
}

.paging > span {
    vertical-align: middle;
}

.paging span > span {
    font-weight: bold;
}

.debt {
    font-size: 14px;
    display: block;
    vertical-align: top;
    padding-top: 2px;
}

.debt_sum {
    color: #D01A22;
    font-weight: bold;
}

.btn.debt_pay {
    margin-right: 0px;
    margin-top: 10px;
}

.table-small {
    margin-bottom: 20px;
}

.table-small td {
    padding: 3px 0px 3px 0px;
    vertical-align: top;
    display: block;
    margin-bottom: 10px;
}

.table-small td:first-child {
    width: 180px;
    padding-right: 10px;
    font-weight: bold;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.table-form {
    margin-bottom: 20px;
    width: 100%;
}

.table-form td {
    padding: 3px 0px 3px 0px;
    vertical-align: top;
    display: block;
}

.table-form td:first-child {
    width: 180px;
    padding-right: 10px;
}

.table-form textarea {
    width: 100%;
    height: 200px;
}

.table-form input, .table-form select {
    width: 100%;
}

input[type=checkbox] {
    width: 20px !important;
    height: 20px !important;
    margin-right: 5px;
}

.table-form .full {
    width: 100%;
}

.table {
    width: 100%;
    margin-bottom: 20px;
}

.table tr:nth-child(even) {
    background-color: #EEEEEE;
}

.table th {
    text-align: left;
    padding: 6px 5px;
    border-bottom: #D3D4D4 solid 1px;
    border-top: #E3E4E4 solid 1px;
    font-weight: bold;
    font-size: 10px;
    text-transform: uppercase;
}

.table td {
    border-bottom: #DDDDDD solid 1px;
    padding: 8px 5px;
}

.table input {
    width: 100%;

}

.btn {
    border-radius: 2px;
    box-shadow: inset 0px 1px 0 rgba(255, 255, 255, 0.2);
    border-left: #E3E4E4 solid 1px;
    border-right: #E3E4E4 solid 1px;
    border-bottom: #D3D4D4 solid 1px;
    border-top: #E3E4E4 solid 1px;
    background: linear-gradient(to bottom, #F6F7F7, #E3E3E3) no-repeat;
    margin-right: 10px;
    padding: 5px 12px;
    font-size: 13px;
    display: inline-block;
    text-decoration: none;
    color: #000;
    text-shadow: 0px 1px #FFF;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
}

.btn:hover {
    background: linear-gradient(to bottom, #F3F4F4, #E3E3E3) no-repeat;
}

.btn:active, .btn.red:active {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn:hover, .btn:active, .btn:focus {
    text-decoration: none;
    color: #000;
}

.btn.red {
    color: #FFF;
    font-weight: bold;
    border: 1px solid #D02718;
    background: linear-gradient(to bottom, #F14436, #C72E20) no-repeat;
    text-shadow: 0px 1px #000;
}

.btn.big {
    padding: 4px 20px 5px 20px;
    font-size: 14px;
}

.attention {
    display: inline-block;
    vertical-align: top;
    color: #D01A22;
    margin-top: 10px;
}

.service-ok {
    font-weight: bold;
    color: #D01A22;
}

.navmenu-default {
    background-color: #000;
    border: none;
}

.navbar-default .navbar-toggle {
    border: none;
    background-color: transparent;
    position: relative;
    z-index: 99;
    margin-left: -5px;
    top: 27px;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #FFF;
}

.navbar-toggle .icon-bar + .icon-bar {
    margin-top: 4px;
}

.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
}

.table td.type {
    padding-left: 13px;
}

.t1, .t2, .t3, .t4, .t5, .t6, .t7, .t8, .t9, .t11, .t13, .t14, .t16, .t20 {
    width: 13px;
}

.t1, .t2, .t3 {
    background: linear-gradient(to right, #ED2129 0%, #B1141B 100%);
}

.t5 {
    background: linear-gradient(to right, #5085BD 0%, #325C87 100%);
}

.t6 {
    background: linear-gradient(to right, #4CC550 0%, #318F34 100%);
}

.t7 {
    background: linear-gradient(to right, #F99836 0%, #EC7B0A 100%);
}

.pdf {
    width: 27px;
}

.pdf a {
    background: transparent url(../img/pdf-icon.png) center center no-repeat;
    width: 24px;
    height: 24px;
    margin: -4px;
    display: block;
}

.table {
    counter-reset: list;
}

.table td.counter {
    counter-increment: list;
}

.table td.counter:before {
    content: counter(list) '.';
}

.table td.counter {
    white-space: nowrap;
    width: 30px;
    word-break: normal;
    text-align: right;
}

.password {
    color: #CCC;
}

.error {
    font-weight: bold;
    color: #D01A22;
    border: #D01A22 solid 1px;
    padding: 5px 15px;
    margin-bottom: 15px;
}

.table-form td.condition-container {
    padding-right: 0;
    width: auto;
}

.conditions {
    overflow: auto;
    height: 200px;
    text-align: justify;
    background-color: #FFF;
    padding: 10px;
    font-size: 11px;
    margin-top: 10px;
    line-height: 140%;
    border: solid 1px #E6E3E1;
    border-radius: 2px;
}

.conditions h1 {
    font-size: 14px;
}

.conditions p {
    margin-bottom: 5px;
    margin-top: 0px;
}

.object-description {
    border: #E6E3E1 solid 1px;
    border-radius: 2px;
    padding: 15px 20px;
    margin-bottom: 20px;
    margin-top: -10px;
}

textarea.description {
    padding: 15px 20px;
    width: 100%;
    max-width: 100%;
    height: 200px;
    margin-bottom: 20px;
    margin-top: -10px;
}

@font-face {
    font-family: "savitarna";
    src: url("../fonts/savitarna.eot");
    src: url("../fonts/savitarna.eot?#iefix") format("embedded-opentype"),
    url("../fonts/savitarna.woff") format("woff"),
    url("../fonts/savitarna.ttf") format("truetype"),
    url("../fonts/savitarna.svg#savitarna") format("svg");
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"]:before,
[class*=" icon-"]:before,
[class^="icon-"]:after,
[class*=" icon-"]:after,
.multiSelect:after,
.ui-datepicker-prev:before,
.ui-datepicker-next:before,
.icn-close-popup:before {
    font-family: "savitarna" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #000;
    text-shadow: 0px 1px #FFF;
    pointer-events: none;
}

.icon-angle-left:before {
    content: "\67";
    position: absolute;
    font-size: 19px;
    left: 3px;
    top: 3px;
}

.ui-datepicker-prev:before {
    content: "\67";
    position: absolute;
    font-size: 19px;
    left: 2px;
    top: 2px;
}

.icon-angle-left {
    margin-right: 3px;
}

.icon-angle-right:before {
    content: "\68";
    position: absolute;
    font-size: 19px;
    left: 5px;
    top: 3px;
}

.ui-datepicker-next:before {
    content: "\68";
    position: absolute;
    font-size: 19px;
    left: 3px;
    top: 2px;
}

.icon-angle-up:before {
    content: "\63";
    position: absolute;
    font-size: 19px;
    left: 4px;
    top: 3px;
}

.icon-angle-down:before {
    content: "\64";
    position: absolute;
    font-size: 19px;
    left: 4px;
    top: 4px;
}

.multiSelect:after {
    content: "\64";
    position: absolute;
    font-size: 14px;
    right: 5px;
    top: 7px;
}

.multiSelect.active:after {
    content: "\63";
}

.icon-cancel:before {
    content: "\66";
    position: absolute;
    font-size: 15px;
    left: 6px;
    top: 6px;
}

.icn-close-popup {
    float: right;
    position: relative;
    border: none;
    background: transparent;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.icn-close-popup:before {
    content: "\66";
    position: absolute;
    font-size: 20px;
    left: 5px;
    top: 5px;
}

.icn-close-popup:hover:before {
    color: #D01A22;
}

.icon-calendar-o {
    position: relative;
}

.icon-calendar-o:after {
    content: "\61";
    right: 14px;
    position: absolute;
    top: 2px;
}

.icon-angle-back:before {
    content: "\67";
    position: absolute;
    font-size: 17px;
    left: 10px;
    top: 0px;
    color: #D01A22;
}

.actions {
    width: 120px;
}

.actions .btn {
    margin-right: 3px;
}

.back {
    padding-left: 15px;
    margin-bottom: 15px;
}

.multiSelect {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    border: #E6E3E1 solid 1px;
    border-radius: 2px;
    padding: 5px 30px 5px 5px;
    vertical-align: middle;
    background-color: #FFF;
    position: relative;
    width: 300px;
}

.multiSelect, .multiSelect:hover, .multiSelect:active, .multiSelect:focus {
    color: #000;
    text-decoration: none;
}

.multiSelect span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    /*width: 150px;*/
}

.multiSelectOptions {
    text-align: left;
    max-width: 300px;
    width: 300px !important;
    overflow-y: auto;
    right: 10px;
    top: 45px;
    margin: 0;
    position: absolute;
    background-color: #FFF;
    background-clip: padding-box;
    border: rgba(0, 0, 0, 0.2) 1px solid;
    border-radius: 2px;
    box-shadow: 0px 3px 3px -2px #CCC;
    z-index: 99;
    padding-bottom: 10px;
    max-height: 300px;
}

.multiSelectOptions input {
    width: 15px;
    border: none;
    vertical-align: middle;
    cursor: pointer;
}

.multiSelectOptions label {
    display: block;
    vertical-align: middle;
    cursor: pointer;
    padding: 1px 10px;
}

label.selectAll {
    color: #000;
    text-shadow: none;
    padding: 10px;
    display: block;
    text-decoration: none;
}

label.selectAll:hover {
    color: #000;
    background-color: #F5F5F5;
}

input.selectAll {
    display: none;
}

.popup-deep-upsidown {
    border-bottom: 1px solid #EEE;
    margin: 10px !important;
}

.date {
    width: 100px !important;
    margin-right: 5px;
    margin-left: 5px;
}

.ui-datepicker {
    display: none;
    margin: 0;
    position: absolute;
    background-color: #FFF;
    background-clip: padding-box;
    border: rgba(0, 0, 0, 0.2) 1px solid;
    border-radius: 2px;
    width: 300px;
    box-shadow: 0px 3px 3px -2px #CCC;
    padding: 10px;
}

.ui-datepicker-calendar {
    width: 100%;
    border-spacing: 0px;
}

.ui-datepicker-calendar td, .ui-datepicker-calendar th {
    text-align: right;
    width: 28px;
}

.ui-datepicker .ui-state-default {
    color: #545454;
    display: block;
    padding: 5px;
}

.ui-datepicker .ui-state-hover {
    background-color: #F5F5F5;
    text-decoration: none;
}

.ui-datepicker-calendar th {
    padding: 6px 5px;
    border-bottom: #D3D4D4 solid 1px;
    border-top: #E3E4E4 solid 1px;
    font-weight: bold;
    font-size: 10px;
    text-transform: uppercase;
}

.ui-datepicker-calendar td {
    border-top: 1px solid #E3E4E4;
    border-left: 1px solid #E3E4E4;
    padding: 0px;
}

.ui-datepicker-calendar tbody tr:first-child td {
    border-top: none;
}

.ui-datepicker-calendar td:first-child {
    border-left: 0px;
}

.ui-datepicker-calendar .ui-datepicker-other-month, .ui-datepicker-calendar .ui-datepicker-other-month span.ui-state-default {
    color: #CCC !important;
}

.ui-datepicker-title {
    font-weight: bold;
    text-align: right;
    margin: 0px 0px 10px 0px;
}

.ui-datepicker-month {
    float: right;
    width: auto;
}

.ui-datepicker-year {
    margin-right: 5px;
    width: auto;
}

.ui-icon {
    display: block;
    font-size: 0px;
    padding: 9px 7px 9px 6px;
}

.ui-datepicker-prev, .ui-datepicker-next {
    border-radius: 2px;
    box-shadow: inset 0px 1px 0 rgba(255, 255, 255, 0.2);
    border-left: #E3E4E4 solid 1px;
    border-right: #E3E4E4 solid 1px;
    border-bottom: #D3D4D4 solid 1px;
    border-top: #E3E4E4 solid 1px;
    background: linear-gradient(to bottom, #F6F7F7, #E3E3E3) no-repeat;
    margin-right: 10px;
    padding: 3px 6px;
    font-size: 14px;
    display: inline-block;
    text-decoration: none;
    color: #000;
    text-shadow: 0px 1px #FFF;
    vertical-align: middle;
    cursor: pointer;
    float: left;
    margin-top: 2px;
    position: relative;
}

.ui-datepicker-prev {
    margin-right: 3px;
}

.ui-datepicker-prev:hover {
    background: linear-gradient(to bottom, #F3F4F4, #E3E3E3) no-repeat;
    color: #000;
    text-decoration: none;
}

.ui-datepicker-next:hover {
    background: linear-gradient(to bottom, #F3F4F4, #E3E3E3) no-repeat;
    color: #000;
    text-decoration: none;
}

.ui-datepicker-next:active, .ui-datepicker-prev:active {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.objects {
    min-height: 49px;
}

.ui-dialog {
    z-index: 1000 !important;
    overflow: auto;
    max-height: 600px;
    background-color: #F6F6F6;
    padding: 15px;
    width: 100% !important;
    position: absolute;
}

.ui-dialog-titlebar {
    display: none;
}

.ui-widget-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);;
}

.invoice_total {
    margin-bottom: 0;
}

.showProductsLink {
    cursor: pointer;
}

@media (min-width: 768px) {
    body:before {
        background: linear-gradient(to bottom, #4B494A 0%, #151314 21%);
        height: 454px;
    }

    .container-mobile {
        background-color: transparent;
    }

    .register {
        margin: 20px auto;
        background-color: #F6F6F6;
    }

    .login-center {
        background-color: #F6F6F6;
        width: 50%;
        height: 500px;
        min-width: 200px;
        max-width: 360px;
    }

    .login-center.login-error {
        height: 560px;
    }

    .login-center.password-reminder {
        height: 425px;
    }

    .main {
        background-color: #F6F6F6;
        margin: 0px auto 20px auto;
        padding: 30px 40px;
        min-height: 500px;
    }

    .main:before {
        display: block;
    }

    .header {
        margin-bottom: 5px;
    }

    .logo {
        background: transparent url(../img/ec_logo.png) center 2px no-repeat;
        background-size: 180px auto;
        margin-top: 24px;
        height: 52px;
    }

    .logout {
        right: 20px;
        top: -120px;
    }

    .title {
        font-size: 40px;
    }

    .title.small {
        font-size: 32px;
    }

    .block {
        padding: 15px 20px;
    }

    .table-form td {
        display: table-cell;
    }

    .table-form input, .table-form select {
        width: 300px;
    }

    .reveal-container {
        width: 300px;
    }

    .table-form label {
        margin-top: 4px;
        display: block;
    }

    .register .table-form input, .register .table-form select {
        width: 100%;
    }

    .register .reveal-container {
        width: 100%;
    }

    .table-small td:first-child {
        font-weight: normal;
    }

    .table-small td {
        display: table-cell;
        margin-bottom: 0px;
    }

    .btn.debt_pay {
        float: right;
        margin-top: -4px;
    }

    .attention {
        margin-left: 10px;
        padding-top: 6px;
        margin-top: 0px;
    }

    .service-ok {
        float: right;
        margin-top: 14px;
    }

    .debt {
        display: inline;
    }

    .block-description {
        margin-left: 55px;
        margin-top: 5px;
    }

    .objects {
        min-height: 59px;
    }

    .ui-dialog {
        padding: 25px;
        width: 636px !important;
    }

    .invoice_total td:nth-child(2) {
        text-align: right;
        white-space: nowrap;
    }

}

@media (min-width: 992px) {
    .main {
        padding: 30px 40px;
    }

    .menu {
        margin-top: 25px;
    }

    .header {
        margin-bottom: 15px;
    }

    .logout {
        right: 40px;
        top: 37px;
    }
}

.reveal-container {
    position: relative;
}

.reveal-container input {
    padding-right: 35px;
}

.reveal {
    position: absolute;
    display: inline-block;
    background-image: url("../img/eye.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    opacity: 0.4;
    width: 21px;
    height: 21px;
    top: 5px;
    right: 6px;
}