body{
    font-family: 'Montserrat', sans-serif !important;
    font-style: normal;
    background-color: #f7f7f7 !important;
    box-sizing: border-box;
    margin: 0;
    padding-top: 110px;
}
.box-shad{
    box-shadow: 0px 0px 18.1562px rgba(0, 0, 0, 0.13);
}
a:focus{
    outline: none;
}
div.fixed-top{
    z-index: 20;
}
/* HEADER START */
.header{
    /*background: #003060;*/
    background: #204770;
    padding: 18px 0 0 0;
    height: 110px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 30;
}
.header::before {
    content: '';
    height: 110px;
    width: 100%;
    /*background-color: #000E1C;*/
    background-color: #000e1c;
    position: absolute;
    left: -40px;
    top: 0;
    -webkit-transform: translateX(-67%);
    transform: translateX(-67%);
    -webkit-transition: height .4s;
    transition: height .4s;
}
.header .fixed-top{
    width: 590px;
}
.fixed-top.nav-pos{
    top: 110px;
    height: 100vh;
    width: 31%;
    background-color: #c8c8d7;
}

.logo-image span{
    font-weight: 500;
    font-size: 12.6px;
    line-height: 15px;
    color: white;
}
div.header-info{
    width: 935px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    color: white;
    /*padding-left: 68px;*/
    padding-left: 0;
}
.section-title{
    font-size: 24px;
    line-height: 20px;
    color: #666;
    margin: 0 0 40px;
    text-transform: uppercase;
    font-weight: bold;
}
.page-title{
    width: 180px;
    font-size: 24px;
    line-height: 28px;
    color: #fff;
    margin: 0 0 30px;
    text-transform: uppercase;
    font-weight: bold;
}

.user-name{
    font-size: 18px;
    line-height: 20px;
    color: #F2F2F2;
    
}
.user-contact{
    padding-top: 25px;
    font-weight: 600;
}
.tel{
    font-size: 16.1389px;
    line-height: 20px;  
}
#exit-btn{
    font-size: 18px;
    line-height: 22px;
    padding-left: 35px;
}
#exit-btn::after{
    content: "";
    background: url('../img/exit-icon.svg') no-repeat;
    display: inline-block;
    width: 21px;
    height: 15px;
    background-size: contain;
    margin-left: 14px;
}
/* HEADER END */
/* NAVIGATION START */
.nav-pos{
    padding-top: 65px;
}
.cabinet-nav{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    position: absolute;
    top: 200px;
    right: -50px;
    transform: translate(-50%,-50%);
}
.cabinet-nav a{
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    align-items: center;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #333333;
    padding: 2px 0 2px 14px;
    margin-bottom: 21px;
    width: 130px;
}
.cabinet-nav a.active{
    color: #2F80ED;
    border-left: 2px solid #2F80ED;
    pointer-events: none; 
    cursor: default;
}
.cabinet-nav button.menu-item.active{
    background-color: #2F80ED;
}
.cabinet-nav a:hover{
    text-decoration: none;
    color: #2F80ED;
    border-left: 2px solid #2F80ED;
}
.cabinet-nav button{
    width: 160px;
    height: 35px;
    background: #FF0000;
    box-shadow: 0px 0px 7.61532px rgba(0, 0, 0, 0.09);
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    color: #FFFFFF;
    border: 0;
}
.user-company{
    bottom: 120px;
    position: absolute;
    /*bottom: 70px;*/
    right: -50px;
    transform: translate(-50%,-50%);
}
.user-company p{
    width: 160px;
    font-weight: 600;
    font-size: 11px;
    line-height: 15px;
    letter-spacing: 0.055em;
    color: #333333;
}
/* NAVIGATION END */
/* MAIN START */
.main-content{
    margin-top: 35px;
}
.amcharts-chart-div a{
    display: none !important;
}
g g:nth-child(2 ) .amcharts-pie-label{
    display: none;
}
g g:nth-child(2) text.amcharts-pie-label{
    transform: translate(145,115) !important;
}
.amcharts-pie-label tspan:nth-child(1){
    font-size: 12px;
    font-weight: bold;
    padding-bottom: 15px;
}
.amcharts-pie-label tspan:nth-child(3){
    font-size: 24px;
    font-weight: bold;
}
#chartBARdiv, .chart{
    margin-bottom: 35px;
}
#chartBardiv{
    width: 100% !important;
}
.chart{
    background-color: #fff;
    padding-top: 10px;
    padding-bottom: 12px;
}
.chart-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 20px;
}
.chart h3{
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #404447;
    max-width: 460px;
}
.amcharts-pie-label{
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
}
/* DATA START */
.data-content{
    background-color: #fff;
    box-shadow: 0px 0px 19.1454px rgba(0, 0, 0, 0.13);
    padding-right: 0 !important;
    padding-left: 0 !important;
}
/* ACCORDEON START */
.tabs-contain{
    position: relative;
    box-shadow: 0px 0px 19.1454px rgba(0, 0, 0, 0.13);
}
.graph-pane{
    padding: 0 !important;
}
.tab-item:not(.active-block), .graph-pane:not(.active-block){
    display: none;
}

.button-wrapper{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
}

.accordeon{
    font-weight: 500;
    font-size: 17px;
    line-height: 21px;
    color: #333333;
    padding-top: 19px;
    padding-bottom: 19px;
    display: inline-block;
    border: 0;
    background-color: white;
    border: 1px solid #e0e0e0;
    flex: 0 1 100%;
}


.button-wrapper button{
    color: #999;
    background: #f2f2f2;
}

.button-wrapper button:hover{
    color: #333;
}

.accordeon.in{
    font-weight: bold;
    color: #2F80ED;
    background-color: #fff;
    border: 0;
}
.accordeon:focus{
    outline: 0;
}
.tab-item{
    margin-top: 83px;
    padding: 0 !important;
}
/* ACCORDEON END */
.nav-item{
    width: 25%;
    border: 0;
}
.nav.nav-tabs, ul.nav-pills{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
    text-align: center;
}
ul.nav-pills.mb3 .nav-link {
    border-radius: 0;
    color: #828282;
    text-align: center;
    border: 0;
    background-color: #fff;
}
ul.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #333333;
    background-color: inherit;
    border-bottom: 6px solid #007bff;
}
table{
    text-align: center;
    table-layout: fixed;
}

table tr:first-child{
    background-color: #f2f2f2;
}
table tr th{
    font-weight: normal;
}
#heating__section--account tr th:last-child,
#heating__section--account tr td:last-child{
    border-left: 1.43px solid #EB5757;
}
div.nav-tabs .nav-item.show .nav-link, div.nav-tabs .nav-link.active{
    color: #007bff;
    font-weight: bold;
    background-color: #fff;
}
div.nav-tabs .nav-link {
    color: #999;
    font-weight: 500;
    background-color: #f6f6f6;
    border: 0;
    border-color: #e9ecef #e9ecef #dee2e6;
    border-radius: 0;
    background-color: #fff;
}
div.nav-tabs .nav-link:hover {
    color: #007bff;
}
ul.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #333333;
    font-weight: bold;
}
.nav-pills.mb-3{
    margin-bottom: 0 !important;
    margin-top: 25px;
}
.table__switch{
    display: none;
}
.table .table-col td, .table .table-col th, .table .thead-active td, .table .thead-active th  {
    border: 0;
    font-size: 14px;
    padding: 10px;
}
.table .thead-active th
{
    font-size: 12px;
    padding: 10px 4px;
    border: 2px solid #fff;
}
/* DATA END */
/* MODAL START */
    .modal__add input, .modal__add label, .modal__add select{
        display: block;
    }
    #modal__add.modal__add{
        position: absolute;
        width: 600px;
        height: 430px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 999999999;
        background-color: #F2F2F2;
        box-shadow: 0px 0px 19.1454px rgba(0, 0, 0, 0.13);
        padding: 30px;
        display: none;
    }
    .modal__add h4{
        font-weight: bold;
        font-size: 20px;
        line-height: 24px;
        color: #333333;
        text-transform: uppercase;
        border-bottom: 1px solid white;
    }
    .modals-btn{
        margin: 0 auto;
        display: block;
        text-align: center;
    }
    .modals-btn .mbtn{
        display: inline-block;
        line-height: 35px !important;
    }
    .modals-btn button, .modals-btn .mbtn{
        border: 0;
        width: 160px;
        height: 35px;
        color: white;
        font-weight: bold;
        font-size: 13px;
        line-height: 16px;
        box-shadow: 0px 0px 7.61532px rgba(0, 0, 0, 0.09);
        margin-top: 30px;
        text-transform: uppercase;
    }
    #modal__add--date{
        width: 50%;
    }
    #modal__add--counter, #modal__add--indicators, .select-input{
        width: 100%;
    }
    .modal__add--input, .select-input{
        height: 45px;
        border: 0;
        padding-left: 15px;
    }
    .modal__add label, label{
        font-weight: 500;
        font-size: 16px;
        line-height: 20px;
        color: #4F4F4F;
        margin-top: 20px;
    }
    #modal__add--cancelbtn{
        background-color: #FF0000;
        margin-right: 30px;
    }
    #modal__add--addedbtn{
        background-color: #003060;
    }
    .modal__add.modal a.close-modal {
        top: 21px;
        right: 16px;
    }
    .blocker{
        z-index: 1000 !important;
    }
    div.modal a.close-modal {
        filter: invert(100%);
    }
/* MODAL END */
/* PAYMENT START */
#payment__card{
    width: 350px;
    height: 235px;
    border-radius: 20px;
    background: linear-gradient(33.91deg, rgba(255, 255, 255, 0.0624) 47.91%, rgba(255, 255, 255, 0) 48.06%), #2F80ED;
    padding: 42px 37px 42px 17px;
}
.payment label,
.payment p,
.payment select,
.payment input{
    display: block;
}
#payment__card label{
    font-size: 21px;
    color: #E0E0E0;
}
#payment__card input{
    background: transparent;
    border: 0;
    font-size: 25px;
    color: white;
}
#payment__card input:invalid{
    color: red;
}
#payment__card input::placeholder{
    color: white;
    
}
#payment__card--number{
    width: 100%;
}
.payment__card--other{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.payment__card--other input{
    width: 50%;
}
.payment label{
    color: #a3a3a3;
}
.payment div p{
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.01em;
    color: #4F4F4F;
}
.payment b{
    font-weight: bold;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 0.01em;
    color: #2684F0;

}
.payment__sum{
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
}
.payment__sum p{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.payment__sum button{
    width: 220px;
    height: 38px;
    background: #FFFFFF;
    border: 1px solid rgba(38, 132, 240, 0.2);
    box-sizing: border-box;
    box-shadow: 0px 0px 7.61532px rgba(0, 0, 0, 0.09);
    font-weight: bold;
    font-size: 12.3749px;
    line-height: 15px;
    color: #2684F0; 
}
.payment .payment__commission{
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.01em;
    color: #A3A3A3;
    font-weight: normal;
}
.payment__commission b{
    font-size: 16px;
}
#payment__btn{
    width: 221px;
    height: 38px;
    background: #58DEB6;
    box-shadow: 0px 0px 7.61532px rgba(0, 0, 0, 0.09);
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.02em;
    color: #F2F2F2;
    text-transform: uppercase;
    border: 0;
    display: block;
    margin: 0 auto;
}
/* PAYMENT END */
/* MAIN END */
/* FOOTER START */

.footer .row{
    position: relative;
}
div.footer-down{
    padding-top: 30px !important;
    border-top: 1px solid #E0E0E0;
}
.footer__item{
    margin-bottom: 22px;
}
/* FOOTER END */
/* MEDIA START */
@media only screen and (max-width:1600px){
    .fixed-top.nav-pos {
        width: 30%;
    }
    .cabinet-nav{
        right: 0px;
    }
    .user-company{
        right: 0;
    }
}
@media only screen and (max-width:1440px){
    div.fixed-top.nav-pos {
        width: 27%;
    }
    .header::before {
        transform: translateX(-70%);
    }
}
@media only screen and (max-width:1199px){
    .nav-pos {
        padding-left: 160px;
    }
    div.fixed-top.nav-pos {
        width: 26%;
    }
    .main-content--block{
        padding-left: 40px;
    }
    .accordeon{
        font-size: 15px;
    }
    table td, th{
        font-size: 14px;
    }
}
@media only screen and (max-width:991px){
    .button-wrapper{
        position: static;
        display: block;
    }
    .chartBar .apexcharts-canvas{
        margin: 0 auto;

    }
    body{
        padding-bottom: 0 !important;
    }
    /* HEADER */
    .header::before {
        transform: translateX(-60%);
    }
    div.header-info {
        text-align: right;
        justify-content: flex-end;
        padding-left: 0;
    }
    .user-name {
        font-size: 14px;
    }
    .user-contact, .cabinet-nav a:nth-child(1),.cabinet-nav a:nth-child(2),.cabinet-nav a:nth-child(4),.user-company{
        display: none;
    }
    div.fixed-top.nav-pos{
        position: static !important;
        width: 100%;
    }
    .fixed-top.nav-pos{
        height: auto;
    }
    .nav-pos{
        padding: 0;
    }
    /* MENU */
    .fixed-top.nav-pos{
        width: 100%;
        margin-bottom: 30px;
    }
    .cabinet-nav{
        width: 100%;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        position: static;
        margin: 30px 0;
        transform: none;
    }
    .cabinet-nav a{
        font-size: 16px;
        margin-bottom: 0;
        padding: 0;
        width: 120px;
    }
    /* CHART */
    #chartBardiv{
        width: 100% !important;
    }
    /* TABLE CONTENT */
    .data-content{
        margin-bottom: 150px;
    }
    .accordeon{
        font-size: 14px;
    }
    table tr, th{
        font-size: 13px;
    }
    .accordeon {
        position: relative;
        width: 100%;
        left: 0;
        background-color: #fff;
        margin-top: 15px;
        box-shadow: 0px 0px 18.1562px rgba(0, 0, 0, 0.13);
    }
    .accordeon.in{
        background-color: #007bff;
        color: white;
        font-weight: normal;
    }
    /* TABLE */
    .table__switch{
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    .table__switch--left{
        width: 50%;
        padding: 20px 0;
        background-color: #e0e0e0;
    }
    .table__switch--right{
        width: 50%;
        padding: 20px 0;
        background-color: #007bff;
    }
    .table__switch--left img, .table__switch--right img{
        margin: auto;
        text-align: center;
        display: block;
    }
    ul.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
        color: #333333;
        background-color: inherit;
        border: 1px solid #003060;
    } 
    .tab-item{
        margin-top: 0px;
    }
    .nav.nav-tabs, ul.nav-pills{
        flex-wrap: wrap;
    }
    .data-content, .tabs-contain{
        box-shadow: none;
    }
    .nav-item{
        width: 50%;
        background-color: #fff;
        border: 1px solid #e6e6e6;
    }
    /* PAYMENT PAGE END */
    footer.footer{
        position: static;
        text-align: center;
    }
    /* TABLE!!!!!!!!!!!!!!!!!!! */
    .table{
        display: block;
        padding: 0 !important;
    }
    .table-tbody{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 20px 0;
        background-color: #fff;
    }
    .table .table-col, .table .thead-active{
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 50%;
    }
    .table .thead-active{
        display: flex;
    }
    .table .table-col.active-row{
        display: flex;
    }
    .table .table-col th, .table .thead-active th{
        background-color: #D5E6FB;
    }
    .table .table-col th,.table .table-col td, .table .thead-active th,.table .thead-active td{
        border: 1px solid #fff;
        padding: 0;
        height: 70px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #heating__section--account tr th:last-child,
    #heating__section--account tr td:last-child{
        border-left: 0 solid #EB5757;
        border-top: 1.43px solid #EB5757;
    }
}
@media only screen and (max-width:767px){
    .page-title{
        display: none;
    }
    body{
        padding-top: 80px;
        padding-bottom: 0 !important;
    }
    .header::before {
        transform: translateX(-50%);
    }
    .col-12{
        overflow: hidden;
    }
    .cabinet-nav button{
        width: 180px;
        height: 48px;
        font-size: 16px;
    }
    .cabinet-nav a{
        font-size: 18px;
    }
    .chart{
        overflow-x: scroll;
    }
    #chartLINEdiv{
        min-width: 585px;
    }
    /* PAYMENT PAGE START */
    #payment__card{
        margin: 20px auto;
    }
}
@media only screen and (max-width:576px){
    div.header-info{
        padding-left: 0;
    }
    .header::before {
        transform: translateX(-100%);
    }
    .logo-image img{
        width: 143px;
        padding-left: 20px;
    }
    .user-name{
        font-size: 12px;
        line-height: 15px;
    }
    .main-content{
        margin-top: 30px;
    }
    .cabinet-nav a{
        width: 140px;
    }
    .cabinet-nav button{
        width: 145px;
        height: 40px;
        font-size: 12px;
    }
    /* MODAL */
    #modal__add.modal__add {
        width: auto;
        height: auto;
        min-width: 320px;
        max-width: 507px;
    }
    #modal__add--cancelbtn {
        background-color: #FF0000;
        margin-right: 0px;
    }
    /* CHARTS JS */
    #chartBARdiv{
        margin: 0 auto 35px;
    }
    /* TABLE START */
    .data-content{
        padding: 0 20px !important;
    }
    .tabs-contain{
        padding-bottom: 150px;
    }
    .nav-pills.mb-3 {
        margin-top: 0;
    }
    .tab-pane.fade.active.show{
        padding: 5px 20px 30px 20px;
        background-color: #e6e6e6;
    }
    .table__switch{
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    .table__switch--left{
        width: 50%;
        padding: 20px 0;
        background-color: #e0e0e0;
    }
    .table__switch--right{
        width: 50%;
        padding: 20px 0;
        background-color: #007bff;
    }
    .table__switch--left img, .table__switch--right img{
        margin: auto;
        text-align: center;
        display: block;
    }

    /* TABLE END */
    /* PAYMENT START */
    .payment div p {
        font-size: 14px;
    }
    
    #payment__btn{
        margin: 10px auto 30px;
    }
    /* PAYMENT END */
}


@media only screen and (max-height: 950px) and (min-width: 992px){
    .main-content{
        padding-bottom: 150px;
    }
    footer.fixed-bottom{
        position: static;
    }
}
/* MEDIA END */