﻿.macmenu {
    height: 80px; /*высота общего блока*/
    background: #007bff;
}

.button {
    width: 720px; /*ширина всего блока с меню*/
    background: yellow;
}

    .button a img,
    .button a {
        display: block;
        float: left;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
        height: 30px;
        width: 30px;     
    }

    .button a {
        margin: 5px 25px;
        text-align: center;
        color: #ffffff;
        font: normal normal 10px Verdana;
        text-decoration: none;
        word-wrap: normal; /*запрещает автоматически разрывать слова на перенос*/
        
    }


.macmenu a:hover img {    
    margin-left: 0; /*смещает картинку левее, выравнивая ее по центру*/
    height: 50px;
    width: 50px;
}

.button a:hover {
    font: normal bold 14px Verdana;
}

.button_dispatcher {
    text-align: center;    
    position: absolute;
    background-color: lime;
}

.button_point {
    text-align: center;
    position: absolute;
    width: 280px;
    height: 40px;
    border-radius: 10px;
}

fieldset {
    width:300px;
    height:75px;
    margin: 4px;
    border: 1px solid silver;
    padding-left: 0px;
    border-radius: 4px;   
    position:absolute;
}

legend {
    padding: 2px;
}

h5, h6 {
    text-align: center;
}

canvas {
    margin-top: 20px;
    background-color: #eee;
    border: 1px solid #ccc;
    margin-left: 80px
}
/*------------------------------------------------*/
.tooltip1 {
  position: relative;
  display: inline-block; 
}

.tooltip1 .tooltiptext1 {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 1px 0;
  position: absolute;
  z-index: 1;
  bottom: 80%;
  left: 90%;
  margin-left: -80px;
  opacity: 0;
  transition: opacity 0.9s;
}

.tooltip1 .tooltiptext1::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip1:hover .tooltiptext1 {
  visibility: visible;
  opacity: 1;
}
/*--------------------------------------------------------------*/
.tooltip2 {
    position: relative;
    display: inline-block;
}

    .tooltip2 .tooltiptext2 {
        visibility: hidden;
        width: 250px;
        background-color: #f0f0f0;
        color: #FF0000;
        text-align: center;
        border-radius: 6px;
        padding: 1px 0;
        position: absolute;
        z-index: 1;
        bottom: 60%;
        left: 25%;
        margin-left: -60px;
        opacity: 0;
        transition: opacity 0.9s;
    }

        .tooltip2 .tooltiptext2::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    .tooltip2:hover .tooltiptext2 {
        visibility: visible;
        opacity: 1;
    }

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 75px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin-left: 60px;
    padding: 10px;
    border: 1px solid #888;
    width: 325px;
    height: 90%;
    position: inherit;
    overflow: auto;
}

.modal-content-point {
    background-color: #fefefe;
    margin-left: 450px;
    padding: 20px;
    border: 1px solid #888;
    width: 600px;
    height: 90%;
    border-radius:5px;
    position: inherit;
    overflow: auto;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 58px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}

table {
    width: 100%; /* Ширина таблицы */
    border-collapse: collapse; /* Убираем двойные линии */
    font-size: 13px;
    margin-top: 15px;
    text-align: center;
}

thead {
    background: #f5e8d0; /* Цвет фона заголовка */
    font-weight:bold;
}

td, th {
    padding: 2px; /* Поля в ячейках */
    border: 1px solid #333; /* Параметры рамки */
}

/*tbody tr:nth-child(even) {
    background: #f0f0f0; // Зебра 
}*/

tbody tr {
    background: #f0f0f0; /*#f0f0f0;*/
}

tbody .tr1 {
    background: #f0f0f0; /*#f0f0f0;*/
}

tbody .tr2 {
    background: #b5b5b5; /*#f0f0f0;*/
}

.layer1 {
    background-color: #f0f0f0; /*#ffffdd;  Цвет фона слоя */
    padding: 5px; /* Поля вокруг текста */
    float: left; /* Обтекание по правому краю */
    width: 23%; /* Ширина слоя */
    height: 90vh;
    border: 2px solid grey;
    overflow: auto;
}

.layer2 {
    background-color: #e4e8ff;/*//#76c5db;  Цвет фона слоя */
    padding: 5px; /* Поля вокруг текста */
    width: 77%; /* Ширина слоя */
    float: left; /* Обтекание по правому краю */
    height: 90vh;
    /*border: 2px solid grey;*/
    overflow: auto;
}

.panel1 {
    background-color: #e4e8ff; /*// #76c5db;  Цвет фона слоя */
    padding: 5px; /* Поля вокруг текста */
    width: 100%; /* Ширина слоя */
    float: left; /* Обтекание по правому краю */
    height: 65%;
    border: 2px solid grey;
    overflow: auto;
    display: none;
    position: relative;
}

.panel2 {
    background-color: #e4e8ff; /*#f0f0f0;  #ffffdd; Цвет фона слоя */
    padding: 5px; /* Поля вокруг текста */
    width: 100%; /* Ширина слоя */
    float: left; /* Обтекание по правому краю */
    height: 35%;
    border: 2px solid grey;
    overflow: auto;
    display: none;
}

.field {
    clear: both;
    text-align: left;
    line-height: 20px;
    margin-top: 7px;  
    width:100%;
}

.reportFieldset {
    width: auto;
    height: auto;
    border: 1px solid silver;
    padding: 1px;
    border-radius: 4px;
    font-size: 10pt;

    position: relative;
}

tbody tr:hover {
    background: #8e97c8; /*#007cff;  Цвет фона при наведении */
    color: #fff; /* Цвет текста при наведении */
}

.field-validation-error {
    color: #FF0000;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #FF0000;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #FF0000;
}

.validation-summary-valid {
    display: none;
}

.newUserField {
    float: left;
    width: 30%;
    margin: 2% 1% 1% 1%;
}

.pointsSettings {
    width: 32%;
    float: left;
    margin: 5px;    
}

.generalSettings {
    width: 23%;
    float: left;
    margin: 5px;
}

.buttonStyle {
   margin-left: 35%;
    margin-right: 35%;
}

.checkStyle {
    margin-left: 40%;
    margin-right: 40%;
    margin-bottom:10px;
}

.btnSett {
    margin-left: 15px;
    border-radius: 15px;
}

.helpPanel {
    border: 1px solid black;
    margin-bottom: 5px;
    border-radius: 5px;
    padding:5px;
    padding-bottom:0px;
}

.trResultHeader {
    background-color: #3d50b6;
    color: white;
}

.trResultDep {
    background-color: #6b77b4;
    color: white
}

.tableReports {
    margin-top: 3px;
    border: 3px inset;
}

.general_data {
    display: none;
}

.peak_data {
    display: none;
}

.half-peak_data {
    display: none;
}

.night_data {
    display: none;
}

.divSettings {
    margin-left: 20%;
    margin-right: 20%;
    margin-top: 10px
}
/*------------------------*/
/*path {
    stroke: #fff;
}*/

path:hover {
    opacity: 0.9;
}

rect:hover {
    fill: blue;
}

.axis {
    font: 10px sans-serif;   
}

.legend tr {
    border: 0px;
    border-bottom: 1px solid grey;
}

    .legend tr:first-child {
        border-top: 1px solid grey;
    }

.axis path,
.axis line {
    fill: none;
    stroke: #000;
    shape-rendering: crispEdges;
}

.x.axis path {
    display: none;
}

.legend {
    display: inline-block;
    border-collapse: collapse;
    border-spacing: 0px;
}

    .legend td {
        padding: 4px 5px;
        vertical-align: bottom;
    }

.legendFreq, .legendPerc {
    align: right;
    width: 50px;
}

.widgets {
    width: 415px;
    height: 250px;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
    position: absolute;
    border-radius: 5px;
    border: 2px solid black;
    padding: 5px;
    background: #ffffff;
    display: none;
}