﻿.button-help{
    position: absolute;
    right: 60px;
    top: 40px;
}

.news-item .news-title {
    display: block;
}

.news-item .news-data {
    display: block;
    color: forestgreen;
}

.news-item .news-text {
    display: block;
}

.news-item img {
    max-width: 80px;
    float: left;
    margin-right: 10px;
}




.mdi-settings::before {
    content: "\F08BB";
}


.hd {
    text-align: center;
    font-size: 28px;
    margin-top: 20px;
} 

.hd-small {
    text-align: left;
    font-weight: bold;
    padding: 4px 0px 4px 0px;
}

 .mdi-size-middle{
     font-size: 18px;
 }
.mdi-size-18:before{
     font-size: 18px !important;
 }
.mdi-size-20:before{
     font-size: 20px !important;
 }


a,
a.visited,
a:active,
a:hover {
    outline: none !important;
}


.top-func,
.top-dept{
    display: inline-block;
    margin-left: 10px;
}
.top-func:before,
.top-dept:before{
    font-size: 22px;
    width: 20px;
   
}
   .btn-pts{
        box-shadow: 0 8px 20px 0 rgba(13, 43, 93, 0.4);
        background: rgba(112, 138, 178, 1);
        color: #fff;
        padding: 8px 16px 8px 16px;
        display: inline-block;
        border-radius: 4px;
    }
 
    .btn-pts:hover{
        color: #fff;
    }

.responsible{
    height: 110px;
}
.responsible img{
    width: 80px;
    margin-right: 10px;
    float: left;
}
.mdi-logo{
    font-size: 80px;
    color: rgba(56,102,148,256);
}


.line-top {
    border-top: 1px dotted silver;
    padding: 6px 2px 6px 2px;
}



.table-main-top :is(a,a.visited,a:active,a:hover) {
    color: white;
}


.line-bottom {
    border-bottom: 1px dotted silver;
    padding: 6px 2px 6px 2px;
}

.SystemRefreshTable{
    text-align: left;
    border-collapse: inherit;
    border-spacing: 4px;
}

td{
    vertical-align: top;
    padding: 0px;
    margin: 0px !important;
}
html, body{
    height: 100%;
    width: 100%;
    margin: 0px !important;
    padding: 0px !important;
    overflow: hidden;
}



textarea{
    resize: none;
}

.vld{
    color: red !important;
    font-weight: normal;
    display: block;
}



.table-info th{
    border: 1px solid black;
    padding: 2px !important;
    font-weight: normal;
}

.table-info td{
    border: 1px solid silver;
    padding: 2px;
}


.item-edit{
    cursor: pointer;
    background: transparent url('/Design/Ico/pencil.png') no-repeat 2px 4px;
    padding-left: 22px !important;
    background-size: 16px;
}



/****************************************************************/
/*                              Tabs                              */
/****************************************************************/
.tab{
    cursor: pointer;
}

.tab-active{
        font-weight: bold;
        cursor: default;
}


/****************************************************************/
/*                              Месяц Год                              */
/****************************************************************/
.mm, .yy{
    display: inline-block !important;
    width: auto !important;
}


/****************************************************************/
/*                              Checkbox                           */
/****************************************************************/
.checkbox-off{
    background: transparent url('/Design/Ico/checkbox-off.png') no-repeat 2px 0px;
    display: block;
    min-height: 24px;
    padding-left: 24px;
    margin-top: 10px;
    cursor: pointer;
}

.checkbox-on{
    background: transparent url('/Design/Ico/checkbox-on.png') no-repeat 2px 0px;
}

.checkbox-tree{
    display: inline-block;
    height: 24px;
    width: 24px;
    margin-right: 4px;
    float: left;
}


.checkbox-tree-off{
    background: transparent url('/Design/Ico/checkbox-off.png') no-repeat 0px 2px;
}

.checkbox-tree-on{
    background: transparent url('/Design/Ico/checkbox-on.png') no-repeat 0px 2px;
}



.select-all{
     border-bottom: 1px solid silver;
}




/****************************************************************/
/*                        Инфо  всплывающее                     */
/****************************************************************/
.info-block{
    z-index: 400;
    position: fixed;
    top: 50px;
    right: -2px;

    background-color: deepskyblue;
    color: black;
    border: solid 1px silver;
    border-radius: 4px;
    padding: 4px 4px 4px 4px;

    width: 300px;
    display: none;
}

.info-block  .icon {
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
    float: left;
}
.info-block .icon:before {
    content: "\e101";
}

.info-block>div{
    margin-left: 50px;
}
.info-block .info-block-text {
    display: block;
}

/****************************************************************/
/*                      Download                                */
/****************************************************************/
.word-load,.pdf-load, .excel-load, .zip-load{
    padding: 4px 16px 4px 40px;
    display: inline-block;
    border: 1px solid silver;
    border-radius: 4px;
    min-height: 32px;
    cursor: pointer;
    font-weight: normal;
    background-color: white;
    background-size: 24px !important;
}

.word-load {
    background: white url('/Design/ico/download_word.png') no-repeat 2px 2px;
}
.pdf-load {
    background: white url('/Design/ico/download_pdf.png') no-repeat 2px 2px;
}
.excel-load{
    background: white url('/Design/ico/download_excel.png') no-repeat 2px 2px;
}
.zip-load{
    background: white url('/Design/ico/download_zip.png') no-repeat 2px 2px;
}



.word-load:hover,
.pdf-load:hover,
.zip-load:hover,
.excel-load:hover{
    background-color: silver;
}

.zip-show,.word-show, .pdf-show, .excel-show{
    padding: 34px 0px 0px 140px;
    display: block;
    height: 128px;
    font-weight: normal;
    font-size: 16px;
    color: darkgray;
    text-align: left;
}


.word-show{
    background: transparent url('/Design/ico/download_word_message.png') no-repeat 0px 0px;
}
.pdf-show{
    background: transparent url('/Design/ico/download_pdf_message.png') no-repeat 0px 0px;
}
.excel-show{
    background: transparent url('/Design/ico/download_excel_message.png') no-repeat 0px 0px;
}

.zip-show{
    background: transparent url('/Design/ico/download_zip_message.png') no-repeat 0px 0px;
}


.excel-show a,
.excel-show a:visited,
.excel-show a:hover,
.pdf-show a,
.pdf-show a:visited,
.pdf-show a:hover{
    outline: none;
}


.nodata{
    padding: 44px 0px 0px 40px;
    display: block;
    height: 128px;
    background: transparent url('/Design/ico/NoData.png') no-repeat 0px 0px;
    font-weight: normal;
    font-size: 24px;
    background-size: 128px;
    color: darkgray;
}


/****************************************************************/
/*                        Основной блок                         */
/****************************************************************/
.main-block{
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    background-image: -webkit-gradient(linear, left 0%, left 100%, from(#e8e8e8), to(#f5f5f5));
    padding: 10px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: left;
    margin-bottom: 10px;
}




/****************************************************************/
/*                        Оформление                            */
/****************************************************************/


.table-main{
    height: 100%;
    width: 100%;
}
    
.table-main-top{
    background: linear-gradient(to right, #00285f, #01C5DB);
    height: 40px;
    color: white;
    padding: 10px 10px 10px 50px !important;
}
    .table-main-top .logo {
        float: left;
        margin-left: -36px;
        margin-top: -6px;
        width: 20px;
    }


.table-main-top span.FIO{
    display: inline-block;
    margin-right: 20px;
    font-weight: bold;
    float: left;
}
.table-main-top .go-home{
    float: right;
    margin-right: 0px !important;

    cursor: pointer;
    background: transparent url('/Design/ico/exit.png') no-repeat 0px 0px;
    background-size: 24px;
    display: inline-block;
    width: 30px;
    height: 20px;
}

/****************************************************************/
.table-main-content{
    height: 100%;
    overflow: hidden;
    display: table;
    width: 100%;
    padding-bottom: 72px;
}

.div-content{
    width: 100%;
    height: 100%;
    background-color:  white;
    overflow-y: auto;
}


/****************************************************************/
.table-main-footer{
    background-color:  #F0F0F0;
    padding: 6px 10px 2px 10px;
    text-align: center;
    border-top: 1px solid #A0A0A0;
    height: 30px;
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
}


.table-main-footer .time{
    float: left;
}


/****************************************************************/
/*                        SuperAdmin                          */
/****************************************************************/

.super-admin{
    float: right;
    margin-top: -2px;
}
.super-admin a,
.super-admin span{
    cursor: pointer;
    display: inline-block;
    margin: 0px 4px 0px 4px;
    font-size: 18px;
}

.super-admin span:hover{
    color:blue;
}
.active-users{
    border: 1px solid silver;
    position: fixed;
    right: 1px;
    bottom: 40px;
    background-color: white;
    width: 300px;
    padding: 2px;
    display: none;
}


.active-users .list{
    min-height: 100px;
    max-height: 300px;
    overflow-y: scroll;
}

.active-users .list div{
    padding: 0px 2px 2px 24px;
    border-bottom: 1px dotted silver;
}

.active-users textarea{
    margin: 4px 0px 4px 0px;
}

.active-users-message q{
    text-align: right;
    font-style: italic;
    display: block;
}

/****************************************************************/
/*                        Block 1-4                          */
/****************************************************************/

.block-four{
      height: 100%;
}
.block-padding{
    padding: 10px 10px 8px 10px;
}
.block-four-left{
    width: 24%;
    float: left;
    height: 100%;
    overflow-y: auto;
    border-right: 2px solid silver;
}

.block-four-right{
    height: 100%;
    float: right;
    overflow-y: auto;
    width: 75%;
}

.block-four-left-right{
    float: right;
    border-right: 0px solid silver !important;
    border-left: 2px solid silver !important;
}

/****************************************************************/
/*                        Tree                                  */
/****************************************************************/

.tree-items div:first-child{
    padding-left: 0px;
    margin: 6px;
    text-align: left;
}


.tree-items div{
    padding-left: 20px;
    text-align: left;
}

.tree-items span{
    display: block;
    border-bottom: 1px dotted silver;
    cursor: pointer;
    min-height: 26px;
    text-align: left;
    padding-left: 2px;
}

.tree-items .tree-active{
    background: transparent url('/Design/Ico/hd7.png') repeat-y 0px 0px;
    background-size: 100%;
    cursor: default;
    font-weight: normal;
} 


/****************************************************************/
/*                        Просмотр данных руководителем         */
/****************************************************************/
#user-block{
    width: 100%;
    overflow-y: scroll;
}
.user-info-content{
    padding: 4px;
    overflow-y:scroll;
    height: 99%;
}

.user-left{
    width: 200px; padding-right: 10px; border-right: 2px solid silver; 
}



#sub-foto{
    width: 180px;
    height: 240px;
    margin-bottom: 20px;
}

/****************************************************************/
/*                       Диалог настроек                        */
/****************************************************************/
.dialog-switch .ui-dialog-content{
    padding: 0px;
}

.dialog-table-switch{
    width: 100%;
}

.dialog-table-switch td.t1{
    width: 25%;
    border-right: 1px dotted silver;
    padding: 4px;
}

.dialog-table-switch td.t2{
    width: 75%;
}

.dialog-table-switch td.t2>div{
    padding: 4px;
}


.dialog-table-switch .no-padding{
    padding: 0px !important;
}

.dialog-table-switch td.t2>div{
    overflow-y: auto;
}



/****************************************************************/
/*                       Трассировка SQL                       */
/****************************************************************/
.TraceContent{
    height: 100%;
    display: grid;
    grid-template-columns: 120px 1fr;
    overflow-y: scroll;
}
.TraceContent>div{
    text-align: left;
    margin: 4px;
    padding: 4px;
    border-bottom: 1px dotted silver;
}
/****************************************************************/
/*                       Подменю (нагрузка)                    */
/****************************************************************/
 .sub-go, .sub-now {
     display: inline-block;
     border: 1px solid white;
     padding: 2px 4px 2px 4px;
     margin-left: 20px;
     border-radius: 3px;
 }


  .sub-now{
     background-color: white;
     color: black;
 }