﻿table
{
    width:100%;
}
thead
{
    background-color:gray;
}
td
{
    vertical-align: top;
    padding:5px;
    border: 1px #777777;
}
th
{
    padding: 5px 5px;
    line-height: 15px;
    text-align: center;
    align-content: center
}

div.scrollable {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: auto;
}

.left-border {
    border-left: 1px solid black;
}
.right-border {
    border-right: 1px solid black;
}
.bottom-border {
    border-bottom: 1px solid black;
}
.top-border {
    border-top: 1px solid black;
}

.justify-alignment {
    text-align: justify;
}

.another-column {
    overflow: hidden;
}
.center-alignment-bold {
    text-align: center;
    font-weight: 700;
}
.left-alignment-bold {
    text-align: left;
    font-weight: 700;
}
.center-alignment {
    text-align: center;
}

.center-vertical-alignment {
    display: flex;
    align-items: center;
    justify-content: center;
}
.right-alignment {
    text-align: right;
}
.truncate-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.truncate-text-mobile {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.innerDivCentering {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.GreenButton {
    background: #44CA52;
    color: white;
}

.GreenButton:hover {
    background: green;
    color: white;
}

.RedButton {
    background: #EE4E43;
}

.OrangeButton {
    background: #FC8208;
    color: white;
}

.OrangeButton:hover {
    background: orange;
    color: white;
}

.GreenForeground {
    color: #44CA52;
    color: white;
    font-weight: 700;
}

.RedForeground {
    color: #EE4E43;
    color: white;
    font-weight: 700;
}

.OrangeForeground {
    color: #FC8208;
    color: white;
    font-weight: 700;
}

.BlueButton {
    background: #41A4EC;
    color: white;
    border: none;
}

.smallSwitch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.smallSlider {
    position: absolute;
    cursor: pointer;
    top: 5%;
    left: 2px;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    width: 42px;
    height: 22px;
}

.smallSlider:before {
    position: absolute;
    content: "";
    left: 2px;
    top: 2px;
    height: 17px;
    width: 17px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .smallSlider { background-color: #2196F3; }

input:focus + .smallSlider { box-shadow: 0 0 1px #2196F3; }

input:checked + .smallSlider:before {
    -webkit-transform: translateX(21px);
    -ms-transform: translateX(21px);
    transform: translateX(21px);
}

/* Rounded sliders */

.smallSlider.round { border-radius: 17px; }

.smallSlider.round:before { border-radius: 50%; }

.smallCheckBoxesContentContainer {
    overflow-y: auto;
    overflow-x: auto;
}

/* Класс для Чекбоксов, чтобы их определять по классу */
.diagnosticTableCheckbox {

}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    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/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #777;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}