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

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;
}

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

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

.w-100-on-mobile {
}

.hide-dktp {
}

.hide-tbl {
}

.hide-mob {
}

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

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

@media (max-width: 480px) {
    .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;
    }
}

.not-visible-mob{
     
}

.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
}

.max-500 {
    max-width: 500px;
}

.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-frm {
    max-width: 600px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    padding: 20px;
}

.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;
}

    .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: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 8px;
}

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

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

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

.foot-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    /*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;
}

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

.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-btn-ok:hover {
    background-color: #45a049;
}

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

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

.wu-button-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%;
    }

.elm-frm {
    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;
}

.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: center;
}

    .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;*/
}

@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;
    }


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

.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*/
