﻿/* #region ~ ОБЩЕЕ - боксы ~ */

html, body {
    background-color: rgb(250,250,250) !important;
}

.c-hp-container {
}

.c-hp-content {
    width: calc(100% - 30px);
    margin: 10px 15px 15px 15px;
    /**/
    /*background-color: yellow;*/
    display: flex;
}

.c-hp-container-main-left {
    width: 48%;
    display: inline-block;
    text-align: center;
    margin-left: 5px;
    margin-right: 20px;
    /*float: left;*/
    text-align: left;
    /**/
    /*background-color: aqua;*/
    margin-right: 10px;
    width: 49%;  
    min-width: 280px;
}

.c-hp-container-main-right {
    width: 48%;
    display: inline-block;
    text-align: center;
    margin-right: 20px;
    /*float: left;*/
    text-align: left;
    margin-left: 15px;
    /**/
    /*background-color: dimgrey;*/
    margin-right: 20px;
    margin-left: 25px;
    width: 49%;
}

.c-hp-box-user {
    /* min-width: 300px;*/
    height: 300px;
    background-color: white;
    box-shadow: 1px 2px 9px rgba(0,0,0,0.05);
    /*float: left;*/
    margin: 7px;
    border-radius: 9px;
    background-color: rgba(242,243,247);
    border: 1px solid rgba(0,0,0,0.03);
    text-align: left;
    /*width: 355px;*/
    min-width: 200px;
    background-color: white;
    margin-right: 20px;
    /* width: 340px;*/
    position: relative;
    /**/
    width: 320px;
    /*max-width: 320px;*/
    float: right;
    /*float: left;*/
}

    .c-hp-box-user.one {
        width: calc(100% - 15px);
        min-width: 300px;
        margin-left: 0px;
        float: left;
    }

.c-hp-box-equipment {
    /*min-width: 300px;*/
    height: 300px;
    background-color: rgba(255,255,255,1);
    box-shadow: 1px 2px 9px rgba(0,0,0,0.05);
    float: left;
    margin: 7px;
    border-radius: 9px;
    border: 1px solid rgba(0,0,0,0.03);
    /*width: 355px;*/
    min-width: 250px;
    width: 333px;
    /*max-width: 330px;*/
    width: 270px;
    /**/
    min-width: 300px;    
}

.c-hp-left-title {
    width: 100%;
    /*text-align: center;*/
    font: 700 26px "Open Sans",arial;
    color: rgba(47,79,79,0.9);
    margin-top: 10px;
    margin-bottom: 20px;
    /**/
    text-align: right;
    margin-right: 20px;
    text-align: center;
    /**/
    padding: 2px 10px 5px 10px;
    /*border-bottom: 1px solid rgba(0,0,0,0.15);*/
    /*box-shadow: 1px 3px 0px rgba(0,0,0,0.1);*/
    /*border-radius: 10px;*/
    /*background-color: rgba(255,215,0,0.51);*/
}

.c-hp-right-title {
    width: 100%;
    /*text-align: center;*/
    font: 700 26px "Open Sans",arial;
    color: rgba(47,79,79,0.9);
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: left;
    text-align: center;
    /**/
    padding: 2px 10px 5px 10px;
   /* border-bottom: 1px solid rgba(0,0,0,0.15);*/
    /*border-radius: 10px;*/
    /*box-shadow: 0px 0px 9px rgba(0,0,0,0.1);*/
    /*background-color: rgba(255,215,0,0.51);*/
}

.c-hp-right-title-top {
    height: 20px;
    width: 100%;
    display: none;
   /* position: relative;*/
    float: left;
}

/* #endregion */

/* #region ~ ПЛАШКИ - USER ~ */

.c-hp-user-img-code-div {   
}

.c-hp-user-img {
    height: 30px;
    width: 40px;
    margin-left: 10px;
    margin-top: 10px;
    border-radius: 9px;
    display: inline;
}

.c-hp-user-code {
    display: inline;
    font: 600 17px "Open Sans",arial;
    color: rgba(0,0,0,0.7);
    margin-left: 20px;
}

.c-hp-user-data-saldo-div {
    width: 100%;
    text-align: right;
    height: 40px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.c-hp-user-data-saldo-title {
    position: absolute;
    font: 700 13px "Open Sans",arial;
    color: rgba(0,0,0,0.5);
    margin-top: 11px;
    margin-left: 30px;
}

.c-hp-user-data-saldo {
    font: 700 26px "Open Sans",arial;
    color: rgba(0,0,0,0.7);
    height: 40px;
    min-width: 100px;
    padding: 1px 15px 30px 15px;        
    width: 100%;
    margin-left: 15px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.1);        
    box-shadow: 1px 2px 9px rgba(0,0,0,0.03);
    background-color: rgb(247,251,255);
}

c-hp-user-data-div {
}

.c-hp-user-data-info-title {
    font: 700 13px "Open Sans",arial;
    color: rgba(0,0,0,0.5);
    padding: 0 10px 0 10px;
}

.c-hp-user-data-info-data {
    font: 500 14px "Open Sans",arial;
    color: rgba(0,0,0,1);
    padding: 0 10px 0 10px;
}

.c-hp-user-data-info-data-btn-div {   
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;    
    margin-bottom: 23px;
}

.c-hp-user-data-info-data-btn-div {
}

/* #endregion */

/* #region ~ ПЛАШКИ - EQUIPMENT ~ */

.c-hp-eq-card-one {
    width: 70%;
}

.c-hp-eq-card-img-title-div {
    display: inline-block;
    width: 100%;
    position: relative;
}

.c-hp-eq-card-img-div {    
    text-align: left;
    vertical-align: top;
    display: inline-block;
}

.c-hp-eq-card-img {
    height: 80px;    
    margin-left: 10px;
}

.c-hp-eq-card-title-div {
    text-align: left;
    padding: 0 10px 0 10px;
    display: inline-block;
    position: absolute;
}

.c-hp-eq-card-title {
    font: 600 18px "Open Sans",Verdana,sans-serif;
    color: rgba(0,0,0,0.7);
}

.c-hp-eq-card-description-div {
    text-align: center;
}

.c-hp-eq-card-description {
    font: 400 16px "Open Sans",Verdana,sans-serif;
    color: rgba(0,0,0,0.7);
}

.c-hp-eq-card-btn-div {    
    margin-top: 30px !important;
    text-align: center;
}

.c-hp-eq-card-btn {
}

.c-hp-eq-none-div {
    width: calc(100% - 15px);
    text-align: center;    
    background-color: rgba(255,255,255,1);
    box-shadow: 1px 2px 9px rgba(0,0,0,0.05);
    border-radius: 6px;    
    margin-top: 27px;
    height: 300px;    
}

.c-hp-eq-none-text {
    padding-top: 20px;
    font: 600 16px "Open Sans",Verdana,sans-serif;
    color: rgba(0,0,0,0.7);
    color: maroon;
    display: block;
}

.c-hp-eq-none-img {
    margin-top: 20px;
    width: 150px;
    display: inline-block;
}

/* #endregion */

/* #region ~ ТАБЛИЦА СЧЕТОВ ~ */

.c-hp-table-box {
    box-shadow: 1px 2px 9px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    /*min-width: 330px;*/
    border-radius: 6px;
    /*width: calc(100% + 7px);*/
    /*width: 250px;*/
    width: calc(100%) !important;
}

.c-hp-table-data {
    /*padding: 12px 12px 12px 12px;    */
    width: calc(100% - 24px);
    margin-left: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.c-hp-table-btn-icon {
    background-color: var(--bg-sab-blue) !important;
    background: url('../../images/eye-white.svg') no-repeat center;
    width: 22px !important;
    height: 22px !important;    
    background-size: 13px !important;
    margin-left: -8px;
    margin-right: -15px;
}

    .c-hp-table-btn-icon:hover {
        background-color: var(--bg-hover-sab-blue) !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
    }

.c-hp-unpaid-bills-div {
    width: calc(100% - 15px);
    text-align: left;
    margin-top: 10px;
    margin-left: 7px;
    min-height: 80px;
    background-color: rgba(0,0,0,0.05);
    box-shadow: 1px 2px 9px rgba(0,0,0,0.05);
    border-radius: 6px;
    /**/
    margin-left: 0px;
    /*width: calc(100%);*/
}

.c-hp-unpaid-bills-icon {
    height: 60px;
    display: inline-block;
    margin-left: 15px;
}

.c-hp-unpaid-bills-text {
    font: 600 23px "Open Sans",arial;
    color: rgba(0,0,0,0.7);
    padding-top: 22px;
    display: inline-block;
    margin-left: 15px;
}

.c-hp-mudtable-header {
    background-color: rgba(55,104,175,0.12);
}

.c-hp-mudtable-data .mud-table-cell {
    padding: 5px 8px 5px 10px !important;
    overflow: hidden;
    padding: 4px 4px 4px 9px !important;
    /**/
}

/* #endregion */

/* #region ~ ГРАФИКИ ~ */

.c-graph-container {
    width: calc(100%);
    margin-left: 0;
    padding-top: 10px;
    float: left;
}

.c-chart-box {
    box-shadow: 1px 2px 9px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    background-color: rgb(255,255,255);
    border-radius: 10px;
    height: auto;       
}

    .c-chart-box.one {       
        width: 70%;
        min-height: 300px;
        margin-left: 7px;
    }

    .c-chart-box.many {
        width: 77%;
        margin-left: 7px;
    }

.c-graphbox-add {
    padding: 10px;
}

.c-graph-chart-title {       
    margin-top: 15px;
    font: 600 19px "Open Sans", Arial;
}

.c-graph-mudtab-tab {
    border: none;
    color: var(--bg-dark) !important;
    margin-top: -25px !important;
    width: 100% !important;
}

.c-graph-mudtab-header {
    background-color: transparent !important;    
    pointer-events: auto;
}

.c-graph-mudtab-panel {
    background-color: transparent;
}

.c-graph-mudtab-title {        
    height: 25px !important;
    background-color: transparent !important;
    margin-top: 20px;
    font: 400 13px "Open Sans",Arial;
    width: 120px !important;
    color: rgb(0,0,0,0.9) !important;
}

/* #endregion */

/* #region ~ MEDIA ~ */

@media screen and (max-width: 1610px) {
    .c-hp-eq-card-one { width: 100%; }
    .c-chart-box.one {
        width: 100%;     
    }
    .c-chart-box.many {
        width: 100%;
    }
}
@media screen and (max-width: 1580px) {
    .c-hp-eq-none-div {width: 100%;}
}
@media screen and (max-width: 1490px) {
      .c-hp-eq-none-div {width: 100%;}
      .c-hp-box-user { float: left; width: calc(100%); margin-left: 5px;}    
@media screen and (max-width: 1350px) {        
    .c-hp-box-equipment {width: calc(100%); margin-left: 5px;}
}
@media screen and (max-width: 1280px) {    
    .c-hp-container-main-left {width: calc(100% - 25px);}
    .c-hp-container-main-right {width: calc(100% - 25px);}
}
@media screen and (max-width: 1060px) {
    .c-hp-content {width: calc(100% - 30px); margin: 10px 15px 0 15px;}
    .c-hp-container-main-left {width: calc(100% - 25px);}
    .c-hp-container-main-right {width: calc(100% - 25px);}
    .c-hp-box-user {width: calc(100%); margin-left: 5px;}
    .c-hp-box-equipment {width: calc(100%); margin-left: 5px;}
    .c-hp-table-box {width: calc(100% + 7px);}
    .c-hp-table-btn-icon {margin-right: 1px;}
    .c-hp-unpaid-bills-text {font-size: 14px; margin-top: 8px;}
    .c-hp-unpaid-bills-icon {height: 50px; margin-top: -1px;}
    .c-hp-eq-none-div {height: 65px; width: calc(100% + 5px);}
    .c-hp-eq-none-img {display: none;}  
    .c-hp-mudtable-data .mud-table-cell {        
        font-size: 12px !important;
    }

}
@media screen and (max-width: 730px) {    
    .c-hp-container-main-left { display: block; }    
    .c-hp-content {display: block;}
    .c-hp-box-user {width: calc(100% - 20px); margin-left: 0;}
    .c-hp-box-equipment {width: calc(100%); margin-left: 0;}
    .c-hp-container-main-left {width: calc(100%);}
    .c-hp-container-main-right {width: calc(100%); display: block; margin-left: 0;}
    .c-hp-right-title { top: 130px !important; }
    .c-hp-right-title-top { display: block; }

    .c-chart-box.one {     
        margin-left: 0;
    }
    .c-chart-box.many {
        margin-left: 0;
    }

}

/* #endregion */
