.d-none {
    display: none !important;
}

.d-hidden {
    display: none;
}

.d-flex {
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

.d-iflex {
    display: -webkit-inline-flex !important;
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
}

.flex-direction-column {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.justify-content-center {
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.justify-content-bs {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.justify-content-right {
    -webkit-justify-content: flex-end;
    -ms-flex-pack: flex-end;
    justify-content: flex-end;
}

.flex-33 {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 33.333333%;
    flex: 1 1 33.333333%;
}

.align-items-start {
    -webkit-align-items: flex-start;
    -ms-flex-align: flex-start;
    align-items: flex-start;
}

.align-items-center {
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.align-items-end {
    -webkit-align-items: flex-end;
    -ms-flex-align: flex-end;
    align-items: flex-end;
}

.align-self-center {
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
}

.align-self-stretch {
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
}

.flex-wrap {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.box-auto-2 {
    -webkit-box-flex: 2;
    -ms-flex: 2 1 auto;
        flex: 2 1 auto;
}

.box-auto-1 {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
        flex: 1 1 auto;
}

.box-280-1 {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 280px;
        flex: 1 1 280px;
}

.box-120-1 {
    -webkit-box-flex: 0;
    -ms-flex: 1 1 120px;
        flex: 1 1 120px;
}

.p-0 {
    padding: 0px !important;
}

.pl-0 {
    padding-left: 0px !important;
}

.pr-0 {
    padding-right: 0px !important;
}

.p-lr-0 {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.ml-auto {
    margin-left: auto !important;
}

.mr-auto {
    margin-right: auto !important;
}

.m-0 {
    margin: 0px !important;
}

.m-7 {
    margin: 7px !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.ml-0 {
    margin-left: 0px !important;
}

.mr-0 {
    margin-right: 0px !important;
}

.ml-5 {
    margin-left: 5px !important;
}

.mr-5 {
    margin-right: 5px !important;
}

.mr-15 {
    margin-right: 15px !important;
}

.ml-15 {
    margin-left: 15px !important;
}

.mt-15 {
    margin-top: 15px !important;
}

.mb-15 {
    margin-bottom: 15px !important;
}

.mt-25 {
    margin-top: 25px !important;
}

.mb-25 {
    margin-bottom: 25px !important;
}

.mt-35 {
    margin-top: 35px !important;
}

.mb-35 {
    margin-bottom: 35px !important;
}

.p-0 {
    padding: 0px !important;
}

.pt-5 {
    padding-top: 5px !important;
}

.pb-5 {
    padding-bottom: 5px !important;
}

.pr-7 {
    padding-right: 7.25px !important;
}

.pl-7 {
    padding-left: 7.25px !important;
}

.pr-10 {
    padding-right: 10px !important;
}

.pl-10 {
    padding-left: 10px !important;
}

.pt-10 {
    padding-top: 10px !important;
}

.pb-10 {
    padding-bottom: 10px !important;
}

.pr-15 {
    padding-right: 15px !important;
}

.pl-15 {
    padding-left: 15px !important;
}

.pt-15 {
    padding-top: 15px !important;
}

.pb-15 {
    padding-bottom: 15px !important;
}

.pt-25 {
    padding-top: 25px !important;
}

.pb-25 {
    padding-bottom: 25px !important;
}

.pr-25 {
    padding-right: 25px !important;
}

.pl-25 {
    padding-left: 25px !important;
}

.pt-35 {
    padding-top: 35px !important;
}

.pb-35 {
    padding-bottom: 35px !important;
}

.ta-right {
    text-align: right !important;
}

.ta-left {
    text-align: left !important;
}

.ta-center {
    text-align: center !important;
}

.fw-bold {
    font-weight: bold;
}

.t-ell {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

textarea {
    box-shadow: none !important;
}

.form-group {
    margin-bottom: 0 !important;
}

.table-responsive {
    border: none !important;
}

.tab-l-fixed {
    table-layout: fixed !important;
}

.tab-border-collapse-sep {
    border-collapse: separate !important;
}

/* .table-main-tpl thead tr th {
    color: #494645;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    background-color: #f9f9f9;
    border-top: 1px solid #e5e5e5 !important;
    border-bottom: none;
    border-left: none;
    border-right: none;
    height: 42px;
}

.table-main-tpl thead tr .header-ex  {
    background-color: transparent;
    padding: 0;
}

.table-main-tpl.table-bordered thead tr .header-ex:first-child .header-grid {
    border-top-left-radius: 6px;
}

.table-main-tpl.table-bordered thead tr .header-ex:last-child .header-grid {
    border-top-right-radius: 6px;
}

.table-main-tpl .after-header {
    min-height: 35px;
    font-weight: bold;
    padding: 8px;
}

.table-main-tpl .header-grid {
    background-color: #f9f9f9;
    height: 60px;
    border-bottom: 1px solid #e5e5e5 !important;
    padding: 8px;
}


.table-action-tpl .title-th {
    font-size: 16px !important;
    color: #333333;
    font-weight: normal;
    text-align: left;
}

.table-main-tpl tbody tr td,
.table-action-tpl tbody tr td {
    vertical-align: middle;
    padding: 7.25px;
}

.table-main-tpl tbody tr td {
    text-align: center;
}

.table-action-tpl thead tr th {
    border: none;
}

.table-action-tpl tbody tr td,
.table-action-tpl tfoot tr td {
    border: none;
    vertical-align: middle;
    font-size: 14px !important;
    text-align: left;
}

.table-bordered {
    border: none;
}

.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
    border: 1px solid #e5e5e5;
    border-left: none;
    border-top: none;
}

.table-bordered > tbody > tr:first-child > td {
    border-top: 1px solid #e5e5e5;
}

.table-bordered > tbody > tr > td:first-child,
.table-bordered > thead > tr > th:first-child {
    border-left: 1px solid #e5e5e5 !important;
}

.table-bordered > thead > tr > th:last-child {
    border-right: 1px solid #e5e5e5 !important;
    border-radius: 0 6px 0 0;
}

.table-bordered > thead > tr > th:first-child {
    border-radius: 6px 0 0 0;
}

.table-bordered > tbody tr:last-child td:first-child {
    border-radius: 0 0 0 6px;
}

.table-bordered > tbody tr:last-child td:last-child {
    border-radius: 0 0 6px 0;
}

.table-bordered > tbody tr:last-child td[colspan] {
    border-radius: 0 0 6px 6px;
    text-align: center;
}

.table-bordered.single-column > thead > tr > th {
    border-radius: 6px 6px 0 0 !important;
}

.table-bordered.single-column > tbody > tr > td {
    text-align: center;
    border-radius: 0 0 6px 6px !important;
} */

.w-100 {
    width: 100% !important;
}

.minw-50p {
    min-width: 50px !important;
}

.minw-70p {
    min-width: 70px !important;
}

.word-wrap-break {
    word-wrap: break-word !important;
}

.br-left-tpl {
    border-top-left-radius: var(--border-radius) !important;
    border-bottom-left-radius: var(--border-radius) !important;
}

.border-0 {
    border: none !important;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.border-right {
    border-right: 1px solid #e5e5e5;
}

.border-left {
    border-left: 1px solid #e5e5e5;
}

.loading-pj {
    height: 200px;
    justify-content: center;
}

.loading-img {
    width: 100px;
    height: 100px;
    align-self: center;
    background-image: url(../img/loading-nestle-partner.gif);
    background-repeat: no-repeat;
}

.help-block, .help-block-tpl {
    margin: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 1px;
    width: 1px;
}

/* кастомный алерт */

.wrapper-alert {
/*    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    visibility: hidden;
    z-index: 9999;*/
}

.alert-n {
    width: 20%;
    min-height: 100px;
    min-width: 320px;
    background-color: #fff;
    position: fixed;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 51px 0 rgba(0, 0, 0, 0.18);
       -moz-box-shadow: 0 0 51px 0 rgba(0, 0, 0, 0.18);
        -ms-box-shadow: 0 0 51px 0 rgba(0, 0, 0, 0.18);
         -o-box-shadow: 0 0 51px 0 rgba(0, 0, 0, 0.18);
            box-shadow: 0 0 51px 0 rgba(0, 0, 0, 0.18);
    top: 17px;
    right: 23px;
}

.alert-n .container-fluid {
    padding: 30px 25px 20px;
}

.alert-n.in {
    z-index: 9999;
}

.alert-n.out {
    z-index: -1;
}

.alert-n.error {
    color: #e24f54;
}

.alert-n.success {
    color: #89ce8f;
}

.alert-n.warning {
    color: #f9d471;
}

.alert-n .close {
    position: absolute;
    right: 12.5px;
    top: 7.5px;
    color: #1d496a;
    opacity: 0.7;
}

.alert-caption {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.alert-n ul {
    margin: 0;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.alert-n span,
.alert-n ul li {
    display: inline-block;
    float: left;
    width: 100%;
    font-size: 16px;
    padding-top: 7px;
    padding-bottom: 7px;
}