﻿.ibox {
    clear: both;
    margin-bottom: 25px;
    margin-top: 0;
    padding: 0;
}

.ibox.collapsed .ibox-content {
    display: none;
}

.ibox.collapsed .fa.fa-chevron-up:before {
    content: "\f078";
}

.ibox.collapsed .fa.fa-chevron-down:before {
    content: "\f077";
}

.ibox:after,
.ibox:before {
    display: table;
}

.ibox-title {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #ffffff;
    border-color: #e7eaec;
    border-image: none;
    border-style: solid solid none;
    border-width: 2px 0 0;
    color: inherit;
    margin-bottom: 0;
    padding: 15px 15px 7px;
    min-height: 48px;
}

.ibox-content {
    background-color: #ffffff;
    color: inherit;
    padding: 15px 20px 20px 20px;
    border-color: #e7eaec;
    border-image: none;
    border-style: solid solid none;
    border-width: 1px 0;
}

.ibox-footer {
    color: inherit;
    border-top: 1px solid #e7eaec;
    font-size: 90%;
    background: #ffffff;
    padding: 10px 15px;
}

.ibox-content {
    clear: both;
}

.ibox-heading {
    background-color: #f3f6fb;
    border-bottom: none;
}

.ibox-heading h3 {
    font-weight: 200;
    font-size: 24px;
}

.ibox-title h5 {
    display: inline-block;
    font-size: 14px;
    margin: 0 0 7px;
    padding: 0;
    text-overflow: ellipsis;
    float: left;
}

.ibox-title .label {
    float: left;
    margin-left: 4px;
}

.ibox-tools {
    display: block;
    float: none;
    margin-top: 0;
    position: relative;
    padding: 0;
    text-align: right;
}

.ibox-tools a {
    cursor: pointer;
    margin-left: 5px;
    color: #c4c4c4;
}

.ibox-tools a.btn-primary {
    color: #fff;
}

label {
    margin-bottom: 0.5rem;
}

.table-actions {
    float: right;
}

.control-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.control-buttons .control-button {
    height: 38px;
    width: 38px;
    display: block;
    padding: 7px 8px;
    text-align: center;
    border-radius: 50%;
    margin-bottom: 5px;
    border-width: 0;
}

.custom-select {
    display: inline-block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 1.75rem 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right .75rem center/8px 10px no-repeat;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn {
    border-radius: 5px;
    line-height: 27px;
    height: 40px;
    min-width: 40px;
    font-size: 15px;
}

.btn-primary,
.modal-dialog .btn-primary,
.pagination>li>a {
    background-color: white;
    border: 1px solid #D7DDE2;
    color: black;
}

.btn.btn-primary:hover,
.modal-dialog .btn-primary:hover,
.pagination>li>a:hover,
.btn.btn-primary:focus,
.pagination>li>a:focus {
    background-color: #FFD3BF;
    border: 1px solid #DE8B65;
    color: black;
}

.btn.btn-primary:disabled,
.modal-dialog .btn-primary:disabled {
    background-color: #FFD3BF;
    border: 1px solid #DE8B65;
    color: black;
}

.btn.btn-primary:active,
.pagination>li>a:active,
.btn.btn-primary.res-select,
.pagination>li>a.res-select,
.btn.btn-primary.active,
.pagination>li>a.active {
    background-color: #FFD3BF;
    border: 1px solid #DE8B65;
    color: black;
}

li.error {
    color: #cc5965;
    list-style-type: none;
}

.validation-errors {
    margin-left: 0;
    /* Отступ слева в браузере IE и Opera */
    padding-left: 0;
    /* Отступ слева в браузере Firefox, Safari, Chrome */
}


/* MODAL */

.modal-content {
    background-clip: padding-box;
    background-color: #FFFFFF;
    border: 1px solid transparent;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    outline: 0 none;
    position: relative;
}

.modal-dialog {
    z-index: 2200;
}

.modal-body {
    padding: 20px 30px 30px 30px;
}

.inmodal .modal-body {
    background: #f8fafb;
}

.inmodal .modal-header {
    padding: 15px;
    text-align: center;
}

.animated.modal.fade .modal-dialog {
    -webkit-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}

.inmodal .modal-title {
    font-size: 26px;
}

.inmodal .modal-icon {
    font-size: 84px;
    color: #e2e3e3;
}

.modal-footer {
    margin-top: 0;
}


/* nav */

.nav-tabs>li>a {
    color: #A7B1C2;
    font-weight: 600;
    padding: 10px 20px 10px 25px;
}

.nav-tabs>li>a:hover,
.nav-tabs>li>a:focus {
    background-color: #e6e6e6;
    color: #676a6c;
}

.nav-tabs>li>a:hover,
.nav-tabs>li>a:focus {
    background: #FFE5D9;
}


/* table */

.table {
    color: black;
}

.table.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #ECECEC;
}

.table.table-inverse {
    color: white;
    background-color: #525664;
}

.table.table-inverse.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #383C4A;
}

.table.table-striped>tbody>tr.table-selected-row {
    background-color: #FFD3BF;
}

.table.table-bordered {
    box-shadow: 0px 2px 5px -2px #cccccc;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 100;
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 16px;
}

h4 {
    font-size: 14px;
}

h5 {
    font-size: 12px;
}

h6 {
    font-size: 10px;
}

h3,
h4,
h5 {
    margin-top: 5px;
    font-weight: 600;
}

.form-control,
.form-control:focus,
.has-error .form-control:focus,
.has-success .form-control:focus,
.has-warning .form-control:focus,
.navbar-collapse,
.navbar-form,
.navbar-form-custom .form-control:focus,
.navbar-form-custom .form-control:hover,
.open .btn.dropdown-toggle,
.panel,
.popover,
.progress,
.progress-bar {
    box-shadow: none !important;
}

.form-control,
.single-line {
    background-image: none;
    border: 1px solid #e5e6e7;
    border-radius: 1px;
    color: inherit;
    display: block;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    width: 100%;
    font-size: 14px;
}

.form-control:focus,
.single-line:focus {
    border-color: #D94500 !important;
}

.has-success .form-control,
.has-success .form-control:focus {
    border-color: #D94500 !important;
}

.has-warning .form-control,
.has-warning .form-control:focus {
    border-color: #f8ac59 !important;
}

.has-error .form-control,
.has-error .form-control:focus {
    border-color: #ED5565 !important;
}

.tree-node-label {
    font-weight: bold;
}

.tree-node-checkbox input {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    width: 22px;
    height: 22px;
    border: none;
    cursor: pointer;
}

.group-tree>.group-tree-item:nth-child(even) {
    background-color: #ECECEC;
}

.group-tree>.group-tree-item:nth-child(odd) {
    background-color: #f8fafb;
}

#mnemonics svg {
    width: -webkit-fill-available;
    height: calc(100vh - 160px);
}

.alarm-buttons {
    position: absolute;
    top: 2px;
    right: 20px;
    z-index: 100;
    color: red !important;
    background: white !important;
    border: 1px solid red !important;
}
