﻿body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    width: 100%;
    background: gray;
}

main {
    overflow: hidden;
    width: 100%;
    /*height: 100%;*/
}

.flx-row {
    display: flex;
    flex-direction: row;
}

/*Debug start*/
.border-yellow {
    border: 2px !important;
    border-style: dashed !important;
    border-color: yellow !important;
}

.border-red {
    border: 2px !important;
    border-style: dashed !important;
    border-color: red !important;
}

.border-green {
    border: 2px !important;
    border-style: dashed !important;
    border-color: green !important;
}

.border-violet {
    border: 2px !important;
    border-style: dashed !important;
    border-color: violet !important;
}

/*Debug end*/

.hr-style {
    margin-top: 8px;
    margin-bottom: 8px;
}

.icn-sz {
    width: 25px;
    height: 25px;
}

.star {
    width: 15px;
    height: 15px;
    vertical-align:  baseline;
}

.topnav-tit {
    /*height:8vh;*/
    height: 52.5px;
    margin-right: 53px;
    display: flex;
    flex-direction: row;
}

.title-box {
    height: 100%;
    margin-left: 10px;
    display: flex;
    align-items: center;
}

.light-on-hover {
    all: unset;
    text-decoration: none;
    color: whitesmoke;
    cursor: pointer;
}

   /* .light-on-hover:link {
        all: unset;
        text-decoration: none;
        color: white;
        cursor: pointer;
    }*/

    .light-on-hover:visited {
        text-decoration: none;
        color: whitesmoke;
        cursor: pointer;
    }

    .light-on-hover:hover {
        text-decoration: none;
        color: MediumBlue;
        cursor: pointer;
    }

    .light-on-hover:active {
        text-decoration: none;
        color: darkblue;
        cursor: pointer;
    }

.w-100-on-mobile {
}

.hide-dktp {
}

.hide-tbl {
}

.hide-mob {
}

/*Было 768px*/
@media (min-width: 950px) {
    .hide-dktp {
        display: none;
    }
}

@media (min-width: 451px) and (max-width: 949px) {
    .hide-tbl {
        display: none;
    }
}

@media (max-width: 450px) {
    .hide-mob {
        display: none;
    }

    .w-100-on-mobile {
        width: 100%;
    }

    .elm-itm {
        max-width: 100% !important;
        width: 100% !important;
        flex: auto !important;
    }

    .box {
        flex-direction: column;
        width: 100% !important;
        /*justify-content:start;*/
    }

    .not-visible-mob {
        display: none;
    }

    .max-width-on-mobile {
        width: 100%;
    }

    .wu-frm {
        border-radius: 0 !important;
        margin: 0 !important;
        border-top: none !important;
        position: relative;
        min-height: 100%;
        max-height: 5000px;
        height: 100%;
        flex: 1 1 auto;
    }

    #mainContainer {
        display: flex;
        flex-direction: column;
    }

    main {
        /*height: 100%;*/
        min-height: 100%;
        margin: 0;
        padding: 0;
    }



    html, body {
        min-height: 100%;
        /*height: 100%;*/
        margin: 0; /* Remove default browser margins */
        padding: 0; /* Remove default browser padding */
    }
}

.max-width-on-mobile {
}

.not-visible-mob {
}

.step-on-button {
    width: 100%;
    height: 60px;
}

.zoom-hvr {
}

    .zoom-hvr:hover {
        transform: scale(1.1);
    }

.mrg-btm-1rm {
    margin-bottom: 1rem !important;
}

.mrg-top-3rm {
    margin-top: 3rem !important;
}

.pad-top-5 {
    padding-top: 5px;
}

.padding-top-10 {
    padding-top: 10px;
}

.padding-top-20 {
    padding-top: 20px;
}

.pad-20 {
    padding: 20px;
}

.padding-10 {
    padding: 10px;
}

.mgn-b-0 {
    margin-bottom: 0px !important;
}

.mgn-b {
    margin-bottom: 8px;
}

.mgn-r {
    margin-right: 8px
}

.mgn-l {
    margin-left: 8px
}

.mgn-t {
    margin-top: 8px
}

.del-icn-sz {
    width: 25px;
    height: 25px;
}

.bold {
    font-weight: bold;
}

.dsbld {
    opacity: 0.2;
    pointer-events: none;
}

.dsbld-lt {
    opacity: 0.2;
}

/*нужно ли?*/
.disabled {
    pointer-events: none;
    background-color: green;
}

.btn-img-sz {
    width: 42px;
    height: 42px;
}

.btn-img-sz-sm {
    width: 23px;
    height: 23px;
}

.btn-img-sz-smst {
    width: 18px;
    height: 18px;
}

.wu-msg {
    /*max-width: 600px;*/
    margin: 15px auto;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px;
}

.wu-lbl {
    /*display: block;*/
    margin-bottom: 5px;
    font-weight: bold;
}

.wu-lbl-light {
    /*display: block;*/
    margin-bottom: 5px;
}

.wu-input {
    width: 100%;
    padding: 7px;
    margin-bottom: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: whitesmoke;
}

    .wu-input:disabled {
        pointer-events: none;
        background-color: lightgray;
    }

.wu-button-disabled {
    pointer-events: none;
    display: inline-block;
    padding: 8px 12px;
    background-color: lightgrey;
    color: gray;
    border: none;
    text-decoration: none;
    border-radius: 8px;
}

.wu-btn-ok {
    display: inline-block;
    padding: 8px 12px;
    background-color: darkcyan;
    /*background-color: #4CAF50;*/
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    /*border: 1px solid black;*/
}

    .wu-btn-ok:hover {
        background-color: darkslategray;
        color: white;
    }

.pg-nmbr {
    padding: 8px 12px;
    text-decoration: none;
    color: black;
}

.up-to-foot-btn-2 {
    margin-bottom: 60px
}

.up-to-foot-btn {
    margin-bottom: 47px
}

.foot-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: gray;
    padding: 10px 10px 10px 10px;
    /*margin: 5px*/
}

.wu-button-back {
    display: inline-block;
    padding: 8px 12px;
    background-color: darkcyan;
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 8px;
}

.wu-btn-cnl {
    display: inline-block;
    padding: 8px 12px;
    background-color: gray;
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    /*border: 1px solid black;*/
}

.wu-btn-params {
    display: inline-block;
    padding: 8px 12px;
    background-color: gray;
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    /*border: 1px solid black;*/
}

.wu-button-danger {
    display: inline-block;
    padding: 8px 12px;
    background-color: palevioletred;
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 8px;
}

.wu-button-row-add {
    display: inline-block;
    padding: 1px 6px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 8px;
}

.wu-button-row-delete {
    display: inline-block;
    padding: 1px 8px;
    background-color: orange;
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 8px;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.wu-button-danger {
    background-color: darkred;
}

.wu-button-back:hover {
    background-color: gray;
}

.wu-btn-cnl:hover {
    background-color: dimgray;
}

.wu-btn-params:hover {
    background-color: darkslategray;
}

.wu-tbl-reset {
}

.td-border-none {
    border: none;
}

.wu-tbl {
    width: 100%;
    border-collapse: collapse;
}

    .wu-tbl th {
        padding: 6px;
        /*text-align: left;*/
        border-bottom: 1px solid #ddd;
        background-color: #f5f5f5;
        font-weight: bold;
    }

    .wu-tbl td {
        padding: 6px;
        border-bottom: 1px solid #ddd;
    }

    .wu-tbl tr:hover {
        background-color: #ebebeb;
    }

.padding-right-25 {
    padding: 0 25px 0 0;
}

.pad-6 {
    padding: 6px;
}

.r-td {
    text-align: right;
}

.table-window-img {
    width: 150px;
    height: 150px;
    margin: 10px;
    object-fit: contain;
}

.wu-a {
    text-decoration: none;
}

    .wu-a:focus,
    .wu-a:hover {
        border-bottom: 1px solid;
    }

.txt-c {
    text-align: center;
}

.txt-r {
    text-align: right;
}

.txt-l {
    text-align: left;
}

.alslf-c {
    align-self: center
}

.mw-140 {
    min-width: 140px
}

/*Slider checkbox*/
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .switch input {
        display: none;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.wu-frm {
    max-width: 450px;
    margin: 10px auto 10px auto;
    /*background-color: #fff;*/
    border-radius: 12px;
    /*box-shadow: 0 2px 5px rgba(0,0,0,0.2);*/
    padding: 20px;
    background: PapayaWhip;
    border: 3px solid darkcyan;
}

.elm-frm-old {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    padding: 10px;
    margin: 8px;
    align-items: center;
    max-width: 100%;
    background: lightgray;
}

.elm-frm {
    background-color: #fff;
    border-radius: 12px;
    padding: 10px;
    margin: 8px;
    align-items: center;
    max-width: 100%;
    background: PapayaWhip;
    /*background: Gainsboro; border:darkcyan #E5E4E2 Ivory Seashell Moccasin PeachPuff AntiqueWhite*/
    /*border: 3px solid LightSeaGreen;*/
    border: 3px solid darkcyan;
}

.box-cnd {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: left;
}

    .box-cnd > * {
    }

.elm-itm-cnd {
    flex: 1 1 170px;
    align-self: flex-start;
    height: contain;
    /*border-style: groove;*/
    border-color: antiquewhite;
    border-width: 1px;
    margin-bottom: 8px;
}

.elm-itm-cnd-w-100 {
    flex: 1 1 5000px;
    align-self: flex-start;
    height: contain;
    /*border-style: groove;*/
    border-color: antiquewhite;
    border-width: 1px;
    margin-bottom: 8px;
}

.elm-itm-cnd-lab {
    color: gray;
}

.win-box {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-around;
    row-gap: 20px;
    align-items: center;
    padding-top: 10px
}

.win {
    max-height: calc(min(100vw, 85vh));
    max-width: calc(min(100vw, 85vh));
    min-width: 60%;
    align-self: stretch;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    align-items: center;
    flex-grow: 1;
}

.win-params {
    flex-grow: 1;
    height: contain;
    margin: 0 5px 5px 5px;
    min-width: 300px;
    padding: 0 5px 5px 5px;
    color: white
}

.win-img {
    margin: 10px 0 0 10px;
    max-height: 100%;
    object-fit: contain;
    align-self: center;
    flex-shrink: 0;
}

.win-params-table {
    max-width: 100%;
    align-self: flex-start;
    min-width: 30%;
    width: 100%;
}

.win-cmd-btn-box {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 2px;
}

    .win-box > * {
    }

.box {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    gap: 0px 50px;
}

    .box > only-child {
    }

.elm-itm {
    max-width: 200px;
    min-width: 100px;
    flex-basis: 200px;
    align-self: flex-start;
    height: contain;
    /* border-style: groove;
    border-color: gray;
    border-width: 1px;*/
}

.chk-box{

}

    .chk-box:checked {
        accent-color: darkcyan;
    }

.rootTable {
    all: unset;
    margin-left: auto;
    margin-right: auto;
    display: table;
    width: 100%;
    border-spacing: 2px 5px;
    /*table-layout: fixed;*/
}

    .rootTable > tbody > tr {
        height: 70px;
    }

        .rootTable > tbody > tr > td {
            border: 1px solid darkgray;
            background-color: white;
        }



            .rootTable > tbody > tr > td:first-child {
                text-align: center;
                width: 200px;
                /*max-width: 30%;*/
                border-top-left-radius: 10px;
                border-bottom-left-radius: 10px;
                background: lightgray;
            }

            .rootTable > tbody > tr > td:last-child {
                border-top-right-radius: 10px;
                border-bottom-right-radius: 10px;
                background: lightgray;
            }



        .rootTable > tbody > tr:hover > td {
            background-color: lightgray;
        }

.innerTable {
    border-collapse: collapse;
    height: 100%;
    width: 100%;
}

    .innerTable > tbody > tr > td {
        border: none;
        padding: 4px;
    }

        .innerTable > tbody > tr > td:first-child {
            width: 65%;
        }

        .innerTable > tbody > tr > td:nth-child(2) {
            width: 20%;
        }

        .innerTable > tbody > tr > td:last-child {
            width: 15%;
        }

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

html {
    height: 100%;
}

site-flex {
    display: flex;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #f5f5f5;
}

.form-signin {
    max-width: 330px;
    padding: 15px;
}

    .form-signin .form-floating:focus-within {
        z-index: 2;
    }

    .form-signin input[type="email"] {
        margin-bottom: -1px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .form-signin input[type="password"] {
        margin-bottom: 10px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }


 /*Input file start ===============================*/
.input-file {
    position: relative;
    display: flex;
    width:100%;
}

.input-file-text {
    overflow: hidden;
    overflow-wrap: break-word;
    word-break:break-all;
    padding: 0 10px;
    line-height: 40px;
    text-align: left;
    height: 40px;
    flex: 1 1 auto;
    border-radius: 8px 0px 0 8px;
    border: 1px solid #ddd;
}

.input-file-btn {
    flex: 0 1 auto;
    cursor: pointer;
    outline: none;
    text-decoration: none;
    font-size: 14px;
    vertical-align: middle;
    color: rgb(255 255 255);
    text-align: center;
    border-radius: 0 8px 8px 0;
    background-color: darkcyan;
    line-height: 22px;
    height: 40px;
    padding: 10px 20px;
    box-sizing: border-box;
    border: none;
    margin: 0;
    transition: background-color 0.2s;
}

.input-file input[type=file] {
    position: absolute;
    z-index: -1;
    opacity: 0;
    display: block;
    width: 100%;
    height: 0;
}

    /* Focus */
    .input-file input[type=file]:focus + .input-file-btn {
        box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    }

/* Hover/active */
.input-file:hover .input-file-btn {
    background-color: darkslategray;
}

.input-file:active .input-file-btn {
    background-color: #2E703A;
}

/* Disabled */
.input-file input[type=file]:disabled + .input-file-btn {
    background-color: #eee;
}
/*Input file end ==========================================*/


/*Layout start*/
.mobile-container {
    max-width: 100%;
    margin: auto;
    background-color: #555;
    color: white;
    /*border-radius: 10px;*/
    /*border-bottom: 1px solid black;*/
}

.topnav {
    overflow: hidden;
    background-color: darkcyan;
    position: relative;
    z-index: 100;
}

    .topnav #myLinks {
        display: none;
        text-align: right;
    }

    .topnav a {
        color: white;
        padding: 13px 15px;
        text-decoration: none;
        font-size: 17px;
        display: block;
    }

        .topnav a.icon {
            background: darkcyan;
            display: block;
            position: absolute;
            right: 0;
            top: 0;
        }

        .topnav a:hover {
            background-color: darkslategray;
            color: black;
        }

.active {
    background-color: darkcyan;
    color: white;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px / 1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fa-navicon:before, .fa-reorder:before, .fa-bars:before {
    content: "\f0c9";
}

::before {
    box-sizing: border-box;
}
/*Layout end*/
