﻿.report-content
{
    width: 100%;
    float: left;
    border-radius: 4px;
    border: 1px solid #cfd8e7;
    background-color: #f3f6fa;
    min-height: 500px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.report-content:hover{
    -moz-box-shadow: 1px 1px 5px 0px rgba(35, 44, 58, 0.25);
	-ms-box-shadow: 1px 1px 5px 0px rgba(35, 44, 58, 0.25);
	-o-box-shadow: 1px 1px 5px 0px rgba(35, 44, 58, 0.25);
	-webkit-box-shadow: 1px 1px 5px 0px rgba(35, 44, 58, 0.25);
	box-shadow: 1px 1px 5px 0px rgba(35, 44, 58, 0.25);
}
	

.report-content:hover .edit-elements:not(.row-edit-elements)
{
    visibility: visible;

}

.bottom-white{
    border-bottom: 1px solid #f9f9fa;
}

.control-holder div{
    /*display: inline-block;*/
    vertical-align: middle;
}

input.datepicker, input.timepicker {
    background: url(/images/interface_icons/calendare.svg) 97% 50% no-repeat !important;
    padding-right: 24px;
    padding-left: 9px;
	margin: 5px 0;
    background-color: #fff !important;
    height: 30px;
    font-size: 14px;
    line-height: 1.42857143;
    color: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(134, 144, 152, 0.4);
    border-radius: 3px;
    box-shadow: 0px 0px 0px 0px rgba(35, 44, 58, 0.25);

}

input.datepicker {
	width: 100%;
	max-width: 170px;
	background-size: 20px 20px !important;
}

.datepicker-holder input#period {
    max-width: none !important;
}

input.timepicker {
	max-width: 80px;
	background-size: 24px 20px !important;
}

button.thin
{
    height:34px;
    line-height: 34px;
    margin-top:0px;
    margin-bottom:0px;
}

.report-legend
{
    display: flex;
    margin: 10px;
}

.report-legend span
{
    margin-top: 2px;
}

.page_control-group .report-legend span {
    font-size: 12px;
    margin-top: 4px;
}

.leg-sqrt {
    height: 20px;
    width: 32px;
    background-color: #fafcfd;
    font-size: 12px;
    letter-spacing: 0px;
    font-family: Verdana, Geneva, sans-serif;
    text-transform: uppercase;
    border-radius: 2px;
    line-height: 18px;
    text-decoration: none !important;
    word-spacing: 5px;
    padding: 0 2px;
    margin-left: 10px;
    border: 1px solid #000;
    white-space: nowrap;
    text-align: center;
}

table.report-table {
    margin: 0px !important;
    clear: both;
    max-width: none !important;
    font-family: Verdana, Geneva, sans-serif;
    width: 100%;
}

.report-table tr {
    height: 34px;
    line-height: 14px;
    vertical-align: middle;
    font-family: Verdana, Geneva, sans-serif;
    background-color: #fafcfd;
    font-size: 12px;
}

.report-table td{
    padding: 3px 3px;
    border-collapse: collapse;
    text-align: center;
    vertical-align: middle;
    background-clip: padding-box;
    position:relative;
}

.report-table th{
    padding: 3px 2px;
    border-right: 1px solid #f9f9fa;
    border-collapse: collapse;
    text-align: center;
    vertical-align: middle;
    background-clip: padding-box;
    position:relative;

}

.report-table thead td{
    background-color: #fafcfd;
    height:34px;
}

.report-table td.value-cell {
    font-size: 70%;
    text-align: center;
}

.report-table th.value-cell {
    font-size: 70%;
    text-align: center;
}

.report-table .sticky-th {
	position: -webkit-sticky !important;
	position: sticky !important;
	top: 0;
	z-index: 10;
}

.report-table .sticky-th th {
	position: -webkit-relative !important;
	position: relative !important;
	top: auto;
}

.stOk { background-color : transparent;}
.stDefrost{background-color : #ffff8c;}
.stOff{background-color : #aaaaaa;}
.stOperational{background-color : #fac900;}
.stDefrostOperational{background-color : #fac900;}
.stTempOperational{background-color : #fac900;}
.stNotConnected{}
.stLow1{background-color : #d4ddf0 !important;}
.stLow2{background-color : #aec0e3 !important;}
.stLow3{background-color : #8ba7d7 !important;}
.stLow4{background-color : #6a91cb !important;}
.stHigh1{background-color : #fcddce !important;}
.stHigh2{background-color : #fbbda7 !important;}
.stHigh3{background-color : #f8a084 !important;}
.stHigh4{background-color : #f48466 !important;}

td.highlighting {
    height: 30px;
    position: relative;
	padding: 0 !important;
    overflow: visible !important;
}

td.highlighting > * {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    height: 30px;
	padding: 8px !important;
}	

td.highlighting > *:focus, td.highlighting > *:hover {
    background-color : rgb(0, 0, 0, 0.1) !important;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);    
    z-index: 3;
}

h2.page-name
{
    margin-bottom: 10px;
}

/*Диалоговое окно конфигурации отчетов*/

.dialog-table th {
	padding-right: 40px;
	font-size: 100%;
	padding-bottom: 10px;
}

.dialog-table td{
    padding-top:10px;
    padding-bottom:10px;
    padding-right: 40px;
    font-size:90%;
    vertical-align:middle;
}

.modal-body table{
    margin: auto;
}

.modal-body table tr:last-child{
    border-bottom: none;
}

.dialog-table .form-control{
    height: 30px;
    font-size: 14px;
    border-radius:3px;
    padding-left:0.222em;
    vertical-align:middle;
}

.dialog-table button.form-control{
    height: 50px;
}

.dialog-table .form-control[disabled]
{
    cursor:default;
}

.dialog-table .form-control.error{
    border: 3px solid #ed8183;
    box-shadow: 1px 1px 5px 0px rgba(35, 44, 58, 0.24);
}

.dialog-table .ui-spinner.error{
    border: 1px solid #4cc967;
    box-shadow: 1px 1px 5px 0px rgba(35, 44, 58, 0.24);
}


.dialog-table .form-control:focus{
    box-shadow:none;
}

.dialog-table .ui-widget.ui-widget-content {
    border: 1px solid #c5c5c5;
    background: #ffffff;
}

.dialog-table .ui-spinner {
    position: relative;
    display: inline-block;
    overflow: hidden;
    padding: 0;
    padding-right:2em;
    vertical-align: middle;
    min-width:80px;
    max-width:120px;
}

.dialog-table .ui-spinner:hover, .dialog-table button:hover
{
    
    border: 1px solid #4cc967;
    box-shadow: 1px 1px 5px 0px rgba(35, 44, 58, 0.24);
}

.dialog-table .ui-corner-all {
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

.dialog-table .ui-spinner-input {
    border: none;
    background: none;
    color: inherit;
    padding: .222em 0;
    margin: .2em 0;
    vertical-align: middle;
    margin-left: .4em;
    margin-right: 2em;
    cursor:default;
}

.dialog-table .ui-spinner-button {
    width: 3.6em;
    height: 50%;
    font-size: .5em;
    padding: 0;
    padding-top: 4px;
    margin: 0;
    text-align: center;
    position: absolute;
    cursor: default;
    display: block;
    overflow: hidden;
    right: 0;

    color: #454545;

    line-height: normal;
    vertical-align: middle;
    -webkit-user-select: none;
}

.dialog-table .ui-spinner-up {
    top: 0;
}

.dialog-table .ui-spinner-down {
    bottom: 0;
}

.dialog-table .ui-corner-tr {
    border-top-right-radius: 3px;
}

.dialog-table .ui-corner-br {
    border-bottom-right-radius: 3px;
}

.dialog-table .ui-spinner-button:hover
{
    color: #2b2b2b;
    text-decoration: none;
    border: 1px solid #cccccc;
    background: #ededed;
    font-weight: normal;
}

.dialog-table .ui-spinner-button:focus
{
    text-decoration: none;
    border-color: #cfd8e7;
}

/*кнопка выбора параметра*/
.dialog.btn-primary:focus {
    color: #1a1e26;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #4cc967;
    box-shadow: 1px 1px 5px 0px rgba(35, 44, 58, 0.24);
    outline: 0;
}

/*сообщение валидации*/
.dialog-table .validationMessage{
    left:auto;
    top:auto;
    margin-top: 0px;
}

/*блок кнопок управления в строках отчета*/
.report-table .edit-elements{
    top: 1px;
    right: 0;
    visibility: hidden;
    position: absolute;
    width: 100%;
    height: 30px;
    text-align:right;
}

.report-table tr:hover .edit-elements
{
    visibility:visible;
}

.report-table .edit-elements a {
    margin-right: 2px;
    position: absolute;
	right: 2px;
	z-index: 300;
}

.report-span-position span{
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
