@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@font-face {
    font-family: 'foundry_monoline_ot3bold_';
    src: url('Fonts/FoundryMonolineOT3-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'foundry_monoline_ot3light_';
    src: url('Fonts/FoundryMonolineOT3-Light.otf') format('opentype');
    font-weight: lighter;
    font-style: normal;
}

@font-face {
    font-family: 'foundry_monoline_ot3medium_';
    src: url('Fonts/FoundryMonolineOT3-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    color: var(--black);
    width: -webkit-fill-available;
    height: 100%;
    font-size: 20px;
    line-height: 26px;
    font-family: foundry_monoline_ot3medium_;
    font-weight: normal;
}

app {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.text-danger {
    font-size: 16px !important;
    line-height: 20px;
    font-weight: 700;
    color: var(--red);
    padding: 0 !important;
    margin: 16px 0 !important;
}

.main {
    display: flex;
    flex-flow: column;
    min-height: 100vh;
    width: 100%;
    transition: filter .1s;
    overflow-x: hidden;
}

.inner-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

    .inner-container:not(.service) {
        max-width: 1920px;
    }

.caption {
    font-size: 16px;
    line-height: 20px;
}

.row > * {
    padding: 0;
}

@media screen and (max-width: 768px) {
    .inner-container {
        padding: 0 16px;
    }
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 100;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--black);
}

.form-check-input:checked {
    background-color: #FF7A1B;
    border-color: #FF7A1B;
}

@media screen and (min-width: 769px) {
    ::-webkit-scrollbar {
        width: 0.35em;
    }

    ::-webkit-scrollbar-track {
        box-shadow: inset 0 0 6px rgb(0 0 0 / 21%);
    }

    ::-webkit-scrollbar-thumb {
        background-color: #a9a9a978;
        outline: 1px solid #7080907d;
    }
}

#blazor-error-ui {
    background: #ffff86;
    bottom: 36px;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.ZFilter {
    filter: blur(2px);
}

.Body {
    display: flex;
    flex-flow: column;
    flex-grow: 1;
}

.form-control::-webkit-input-placeholder {
    color: rgba(139, 143, 161, 0.45);
}

.ZOrange {
    color: #EF8206;
}

.ZBlue {
    fill: #007eb3;
    color: #004887;
}

.ZGray {
    fill: #007eb3;
    color: var(--gray);
}

.ZBlack {
    color: var(--black);
}

.User-Menu {
    border-bottom: solid;
    border-color: #00000021;
    border-width: thin;
    padding: 8px 0;
    font-size: 20px;
    line-height: 26px;
}

.User-Menu__description {
    display: flex;
    justify-content: space-evenly;
    flex-flow: row;
    flex-wrap: wrap;
    flex: 1 1 auto;
    gap: 0 16px;
}

@media screen and (max-width: 768px) {
    .User-Menu__description {
        flex-direction: column;
        align-items: flex-start;
    }
}

.table-wrapper {
    overflow-x: auto;
}

.User-Menu h1 {
    color: var(--black);
}

.User-Menu__container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
}

@media screen and (max-width: 768px) {
    .User-Menu__container {
        flex-direction: column;
        gap: 8px;
    }
}

.User-Menu__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex: auto;
}

.User-Menu__right {
    gap: 8px;
}

.User-Menu__info {
    color: var(--gray);
}

    .User-Menu__info h6 {
        margin-bottom: 0;
    }

.User-Menu__image-wrapper {
    flex-shrink: 0;
    border-radius: 20px;
    max-width: 220px;
    position: relative;
}

    .User-Menu__image-wrapper svg {
        width: 100%;
        height: auto;
    }

@media screen and (max-width: 768px) {
    .User-Menu__image-wrapper {
        max-width: 100px;
    }
}

.User-Menu h3 {
    margin: 0;
}

.User-Menu__settings {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: var(--black);
    max-width: 300px;
}

    .User-Menu__settings svg {
        flex-shrink: 0;
    }

    .User-Menu__settings span {
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-word;
    }

#ListBtnText {
    height: 100%;
    width: 100%;
    position: absolute;
    text-align: center;
    font-size: 28px;
    background: rgb(0 72 135 / 90%);
    padding: 1px;
    padding-top: 12px;
    top: 0;
    border-radius: 50px;
    text-shadow: 0 0 1px #00000057;
}

.nav {
    gap: 8px 16px;
    margin-right: auto;
}

@media screen and (max-width: 768px) {
    .nav {
        flex-direction: column;
    }
}

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type {
        padding-top: 1rem;
    }

    .nav-item:last-of-type {
        padding-bottom: 1rem;
    }

    .nav-item a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

        .nav-item a.active {
            background-color: rgba(255,255,255,0.25);
            color: white;
        }

        .nav-item a:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.login-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 40px;
    width: 100%;
    align-content: center;
}

.login-title {
    align-self: center;
    margin-bottom: 30px;
    /* width: 70%; */
}

.login-subtitle {
    align-self: center;
    padding-bottom: 114px;
}

.login-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.form-signin {
    width: 100%;
    margin: auto;
    /* height: 100%; */
    /* border: aqua; */
    /* border-color: aliceblue; */
    /* border-style: dashed; */
}

    .form-signin > h2 {
        margin-bottom: 24px;
        color: var(--black);
    }

    .form-signin > label {
        padding-left: 10px;
        padding-top: 20px;
    }

    .form-signin .checkbox {
        font-weight: 400;
    }

    .form-signin .form-control {
        position: relative;
        box-sizing: border-box;
        height: auto;
        padding: 0;
        /* flex-wrap: wrap; */
    }

        .form-signin .form-control:focus {
            z-index: 2;
        }

    .form-signin input {
        margin-bottom: 5px;
        border: 3px;
        border-bottom: #331c013b;
        border-bottom-style: solid;
        border-bottom-width: 2px;
    }

        .form-signin input:focus {
            border-bottom: #28C168;
            border-bottom-style: solid;
            border-bottom-width: 2px;
        }

#PassEye {
    top: 0;
    right: 0;
    position: absolute;
    cursor: pointer;
    z-index: 2;
}

.MobFooter {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .MobFooter {
        gap: 16px;
    }
}

.Split {
    height: 100%;
    width: 50%;
    position: fixed;
    top: 0;
    margin-bottom: 30px;
}

.DeleteButton {
    stroke: #ff000075;
    transition: all 1s;
    display: inline-block;
    /* height: 26px; */
    width: 34px;
}

    .DeleteButton:hover {
        transform: scale(1.5);
    }

.EditButton {
    transition: all 1s;
    height: 30px;
    /* position: absolute; */
    /* top: -5px; */
}

    .EditButton:hover {
        transform: scale(1.5);
    }

.Scheme {
    position: relative;
}

    .Scheme > img:first-of-type {
        position: static;
        left: 0;
        top: 0;
        height: 100%;
        visibility: hidden;
    }

    .Scheme > img {
        position: absolute;
        left: 0;
        top: 0;
        pointer-events: none;
        height: 100%;
    }

    .Scheme > h4 {
        position: absolute;
        left: 2.4%;
        max-width: 8%;
    }

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .navbar-toggler {
        display: none;
    }
}

.BoilersTable {
}

/*Переименовать на другой класс и добавить его к основному*/
@media (max-width: 1500px) {
    .BoilersTable tr > :nth-child(6) {
        display: none;
    }
}

@media (max-width: 1350px) {
    .BoilersTable tr > :nth-child(11) {
        display: none;
    }
}

.table > :not(:first-child) {
    border-top: 1px solid currentColor;
}

.tab-table__head {
    width: 100%;
    gap: 8px 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-table__wrapper {
    width: 100%;
    max-height: 80vh;
    overflow: auto;
}

@media (max-width: 1200px) {
    .Split {
        position: initial;
        width: 100%;
        height: auto;
    }

    /*    .form-signin > :first-child {
        display: none;
    }*/

    .BoilerList tr > :nth-child(10) {
        display: none;
    }
}

.BoilerList {
    transition: width 2s, height 2s;
}

    .BoilerList > thead > tr > th {
        color: var(--black);
        font-size: 20px;
        vertical-align: baseline;
        /* min-width: 84px; */
        /* max-width: 94px; */
        /* max-height: 94px; */
        transition: width 5s, height 5s;
    }

        .BoilerList > thead > tr > th > span {
            white-space: nowrap;
        }

    .BoilerList > tr:nth-child(4) > td:nth-child(3) > p {
        position: absolute;
        background: #ffffffd4;
        left: 50%;
        transform: translateX(-50%);
        border: #d4d4d4;
        border-style: solid;
        border-radius: 10px;
    }

@media (max-width: 1100px) {
    .BoilerList tr > :nth-child(9) {
        display: none;
    }
}

@media (max-width: 1000px) {
    .BoilerList tr > :nth-child(8) {
        display: none;
    }
}

@media (max-width: 900px) {
    .BoilerList tr > :nth-child(2) {
        display: none;
    }
}

@media (max-width: 850px) {
    .BoilerList tr > :nth-child(7) {
        display: none;
    }

    .BoilerList tr > :nth-child(1) {
        display: none;
    }

    .BoilerList > thead > tr > th {
        font-size: 14px;
        padding: 0.1rem;
    }
}

.BoilerList > tbody > tr > td {
    padding-bottom: 0.4rem;
    padding-top: 0.5rem;
    transition: width 5s, height 5s;
}

.BoilerList > tbody > tr > :nth-child(3) {
    /* justify-content: space-between; */
    /* display: flex; */
    align-items: center;
    /* padding: 3px; */
    flex-wrap: wrap;
    /* min-height: 78px; */
    /* min-width: 228px; */
    /* width: 187px; */
}

.BoilerList > tbody > tr > td > p {
    /* transform: translateY(50%); */
    /* top: 0.25rem; */
    /* position: absolute; */
    /* overflow-wrap: anywhere; */
    margin-bottom: 0;
}

.BoilerList > tbody > tr > :nth-child(3) > img {
    transform: scale(1) translateX(0%);
    transition: all 1s;
}

.BoilerList > tbody > tr:hover > :nth-child(3) > img {
    transform: scale(2.6) translateX(0%);
    z-index: 2;
    box-shadow: 0px 0px 20px 20px #ffffff8c;
    background: #ffffff8c;
    transition: all 1s;
}

.BoilerList > tbody > tr > :nth-child(3) > span {
    /* top: 0px; */
    position: absolute;
    right: 0;
    font-weight: 100;
    bottom: 0;
}

.BoilerList > tbody > tr > :nth-child(4) { /* margin: auto; */
}

.BoilerList > tbody > tr:hover {
    box-shadow: inset 0px 0px 4px 4px #ff8800c2;
}

.BoilerList > tbody > tr > td:nth-child(13) {
    padding: 0.2rem;
}

.BoilerImage {
    max-height: 86px;
}

input:-ms-input-placeholder {
    color: #9B9B9B;
    opacity: 0.5;
}

.Errors-title {
}

.login {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 24px;
    margin-bottom: auto;
}

.login__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: auto;
}

@media screen and (max-width: 991px) {
    .login__wrapper {
        grid-template-columns: 1fr;
    }
}

.login__logo {
    margin-top: 32px;
}

@media screen and (max-width: 768px) {
    .login__logo {
        max-width: 100px;
        margin-top: 16px;
    }
}

.boiler-cameras {
    margin: 16px 0;
}

.boiler-cameras__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    grid-gap: 16px;
}

@media screen and (max-width: 768px) {
    .boiler-cameras__wrapper {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

.boiler-cameras__add {
    max-width: 600px;
}

.cascade-page__list {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 16px;
    margin-bottom: 40px;
}

.cascade-element {
    gap: 16px 32px;
}

@media screen and (max-width: 768px) {
    .cascade-element {
        flex-direction: column;
    }
}

.cascade-element__buttons {
    flex-wrap: wrap;
    gap: 8px;
}

.edit-boiler__desc-list {
    margin-bottom: 16px;
}

    .edit-boiler__desc-list p {
        margin-bottom: 0;
    }

.network-settings__info p {
    margin-bottom: 0;
}

.firmware-head {
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
