/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    padding: 0px;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

/* Выравнивание всех кнопок в верхней панели табов */
.top_tabs .tablinks {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    padding: 0 14px;
    box-sizing: border-box;
    white-space: nowrap;
}

.top_tabs .tablinks.tablinks_with_icon {
    padding: 0 9px;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #ccc;
}

/* Лёгкая тень для иконок в табах */
.top_tabs .tablinks img {
    display: block;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.top_tabs .tablinks .tablinks_label {
    line-height: 1;
}

/* Цвета для верхней панели табов (на основе фона #e4e0ff) */
.top_tabs .tablinks:hover {
    background-color: #d1cbf2;
}

.top_tabs .tablinks.active {
    background-color: #c0b8e8;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}



/* Style the tab */
.log_item {
    overflow: hidden;
    /*border: 1px solid #ccc; */
    background-color: #f1f1f1;
    margin-bottom: 2px;
}
.log_item_exception {
    overflow: hidden;
    /*border: 1px solid #ccc; */
    background-color: #ffe2e2;
    margin-bottom: 2px;
}
.log_item_green {
    overflow: hidden;
    /*border: 1px solid #ccc; */
    background-color: #edffeb;
    margin-bottom: 2px;
}

/* Style the buttons that are used to open the tab content */
.log_item button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 7px 10px;
    transition: 0.3s;
}

/* Change background color of buttons on hover */
.log_item button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.log_item button.active {
    background-color: #ccc;
}


/* Icons */
.icon-info:before {
    background-image: url('icons/log_icon.png');
    background-size: 17px 17px;
    display: inline-block;
    width: 17px;
    height: 17px;
    content:"";
}
.icon-green:before {
    background-image: url('icons/log_icon.png');
    background-size: 17px 17px;
    display: inline-block;
    width: 17px;
    height: 17px;
    content:"";
}
.icon-warning:before {
    background-image: url('icons/warning_icon.png');
    background-size: 17px 17px;
    display: inline-block;
    width: 17px;
    height: 17px;
    content:"";
}
.icon-error:before {
    background-image: url('icons/error_icon.png');
    background-size: 17px 17px;
    display: inline-block;
    width: 17px;
    height: 17px;
    content:"";
}
.icon-exception:before {
    background-image: url('icons/error_icon.png');
    background-size: 17px 17px;
    display: inline-block;
    width: 17px;
    height: 17px;
    content:"";
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


.tr_overlay {
    position: fixed;
    /*display: none;*/
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(1,0,0,0.5);
    z-index: 2500;
    cursor: pointer;
}

.tr_center{
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}