html {
    font-size: 0.950rem;
    font-family:"Open Sans", sans-serif;
}
.body-main {
    display: flex;
    flex-direction: column;
    width: calc(100% - 310px);
}
.page{
    overflow:auto;
}

.page-link {
    color: #3886ca;
}
.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #3886ca;
    border-color: #3886ca;
}

.btn-primary {
    color: #fff !important;
    background-color: #3886ca;
    border-color: #3886ca;
}
    .btn-primary:hover {
        color: #fff;
        background-color: #3886ca;
        border-color: #3886ca;
    }
    .btn-primary:focus {
        color: #fff;
        background-color: #3886ca;
        border-color: #3886ca;
        box-shadow: 0 0 0 .25rem rgba(49, 132, 253, .5);
    }
    .btn-primary.disabled, .btn-primary:disabled {
        color: #fff;
        background-color: #1861ac;
        border-color: #1861ac;
    }

.imp::after {
    content: "*";
    color: red;
}
.b{
    font-weight:700;
}

.text-primary {
    color: #3886ca !important;
}
.btn-outline-primary {
    color: #3886ca;
    border-color: #3886ca;
}
    .btn-outline-primary:hover {
        color: #fff;
        background-color: #3886ca;
        border-color: #3886ca;
    }
.nav-link:focus, .nav-link:hover {
    color: #3886ca;
}

@media (min-width: 768px) {
    html {
        font-size: 0.950rem;
    }
}

.navbar {
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    /* left: 260px;*/
    transition: left 0.25s ease;
    -webkit-transition: left 0.25s ease;
    -moz-transition: left 0.25s ease;
    -ms-transition: left 0.25s ease;
    color: #fff;

    background: #3886ca;
}
.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 310px;
    z-index: 1030;
}

@media screen and (max-width: 991px) {
    .sidebar{
        
    }
    .sidebar-offcanvas {
        position: fixed;
        max-height: calc(100vh - 60px);
        top: 60px;
        bottom: 0;
        overflow: auto;
        right: -310px;
        -webkit-transition: all 0.25s ease-out;
        transition: all 0.25s ease-out;
    }

        .sidebar-offcanvas.show {
            right: 0;
            display:block;
        }

    .navbar .navbar-menu-wrapper {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: auto;
    }

    .fixed-top {
        position: fixed;
        top: 0;
        right: 0;
        left: 0px;
        z-index: 1030;
    }

    .body-main{
        width:100%;
    }
}


html {
  position: relative;
  min-height: 100%;
 
}
.scroll {
    width: -webkit-fill-available !important;
    width: -moz-available !important;
}
.scroller {
    overflow: auto;
}
.justify-content-md-center {
    overflow: auto;
}

.dt-scroll-headInner {
    width: -webkit-fill-available !important;
    width: -moz-available !important;
}

body {
}
.bod {
    background-color: #f1f2f4;
    display:flex;
}

/*------------------------------------------------------------------------------------------------------*/
body {
    background-color: #f1f2f4;
    font-family: "Open Sans", sans-serif;
    /*font-size: 0.875rem;

    font-weight: 400;
    font-weight: initial;
    line-height: normal;
    -webkit-font-smoothing: antialiased;
    /*padding-top: 50px;*/
    /* padding-bottom: 20px;*/
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.container-center {
    display: flex;
    width: 100vw;
    height: 100vh;
}



.grid {
    margin: 4px;
    border-collapse: collapse;
    width: 600px;
}

    .grid th, .grid td {
        border: 1px solid #C0C0C0;
        padding: 5px;
    }

.head {
    background-color: #E8E8E8;
    font-weight: bold;
    color: #FFF;
}

.alt {
    background-color: #E8E8E8;
    color: #000;
}

#navigation {
    position: fixed;
    top: 10px;
    left: 10px;
    width: 10em;
}

#content {
    left: 5px;
    margin-left: 1.5em;
    margin-right: 1.5em;
}




.form-control-my {
    display: compact;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 0.875rem;
    line-height: 1.42857143;
    color: #555555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
}

.btn-block-my {
    display: compact;
    width: 100%;
}

@media (min-width: 992px){
    .sidebar{
        display:block;
    }
}


.sidebar {
    min-height: calc(100vh - 60px);
    background: #ffffff;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    padding: 0;
    padding-left: 1em;
    padding-right: 1em;
    width: 310px ;
    z-index: 11;
    border-left: 1px solid #e4e9f0;
    border-right: 1px solid #e4e9f0;
    transition: width 0.25s ease, background 0.25s ease;
    -webkit-transition: width 0.25s ease, background 0.25s ease;
    -moz-transition: width 0.25s ease, background 0.25s ease;
    -ms-transition: width 0.25s ease, background 0.25s ease;
    -webkit-box-shadow: 0px 0px 6px 6px rgba(0, 0, 0, 0.01);
    box-shadow: 0px 0px 6px 6px rgba(0, 0, 0, 0.01);

}

.main-panel {
    -webkit-transition: width 0.25s ease, margin 0.25s ease;
    transition: width 0.25s ease, margin 0.25s ease;
    width: -webkit-fill-available;
    flex-grow:1;
    min-height: calc(110vh - 74px);
    padding-top: 80px;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.row{
    --bs-gutter-x:0;
}
.m-w{
    max-width:none;

}
.fl-it-cent{
    display:flex;
    align-items:center;
}

.c-h{    
    justify-content:center;

}
.fl-start{
    display:flex;
    justify-content:flex-start;
}
.fl-cont-cent{
    display:flex;
    justify-content:center;
}
.fl-cont-bet{
    display: flex;
    justify-content:space-between;
}
.fl-cent {
    display: flex;
    flex-direction: column;
    justify-content: center;

}
.fl-cent2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.fl{
    display:flex;
}
/*-------------------------------*/
.rasbox {
    background-color: #fff;
    color: black;
    padding: 30px;
    margin: 15px;
    border-radius:5px;  
}

.btn-act{
    line-height:0.75;
}

/*
.place-end {
    place-content: end;
}*/
@media(min-width:576px) {
    .place-end {
        place-content: end;
    }
    .btn-indplan {
        text-decoration: none;
        position: absolute;
        right: 45px;
        top: 165px;
    }
    .newrow {
        padding-left:15px;
    }
}

@media(max-width:576px) {
    .newrow{
        margin-top:5px;
    }
    .text-s{
        font-size:small;
    }
}



.tab-head {
    background-color: #3886ca;
    color: white;
}
.mar {
    margin-bottom: 0.25em;
}

.menu-title{
    color:black;
}
.a-n{
    text-decoration:none;
}

.text-primary{
    color:#3886ca;
}
.test{
    display:none;
}
.show{
    display:flex;
}
.show-n{
    display:none !important;
}
.show-b{
animation:ani 1s forwards;
    /*display:block;    
    transition:height 2s  ;*/
}
@keyframes ani {
    0% {
        /*transform: translateY(-100%);*/
        height:0%
    }

    100% {
       /* transform: translateY(0);*/
       height:20%
        
    }
}

.card {
    width: -webkit-fit-content;
    
    display: block;
    flex-direction: column;
    align-items: center;
    padding: 2%;
    border-radius: 10px;
    margin-left: 10px;
    margin-bottom: 15px;
}

.nav-link {
    color: #3886ca;
}
.mar-left{
    margin-left:15px;
}

.side-stick {
    position: absolute;
    width: 3px;
    height: 35px;
    
}
.table-void-row {
    padding: 0.25rem !important;
    background: #9dc3e5 !important;
}
/*
tbody, td, tfoot, th, thead, tr {
    border-color: inherit;
    border-style: solid;
    border-width: 2px;
}*/
td {
    /* border: outset;*/
    /*border-width: 1px;*/
    line-height: 1em;
    border: 0;
}
th {
    line-height: 1em;
}
.p-r5 {
    padding-right: 5px;
}

.password-control {
    position: absolute;
    top: 7px;
    right: 6px;
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(/Images/auth/eye.png) 0 0 no-repeat;
}

    .password-control.view {
        background: url(/Images/auth/hidden.png) 0 0 no-repeat;
    }
    /*---------------------------------------------------------*/
/* Badges */
.badge {
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: initial;
    line-height: 1;
    padding: .375rem .5625rem;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
}

    .badge.badge-pill {
        border-radius: 10rem;
    }


/*Badge variations*/
.badge-primary {
    border: 1px solid #3886ca;
    color: #ffffff;
}

.badge-secondary {
    border: 1px solid #a0a0a0;
    color: #ffffff;
}

.badge-success, .preview-list .preview-item .preview-thumbnail .badge.badge-online {
    border: 1px solid #28a745;
    color: #ffffff;
}

.badge-info, .preview-list .preview-item .preview-thumbnail .badge.badge-offline {
    border: 1px solid #7978E9;
    color: #ffffff;
}

.badge-warning, .preview-list .preview-item .preview-thumbnail .badge.badge-busy {
    border: 1px solid #f7b731;
    color: #ffffff;
}

.badge-danger {
    border: 1px solid #fe3f3e;
    color: #ffffff;
}

.badge-light {
    border: 1px solid #f1f2f4;
    color: #ffffff;
}

.badge-dark {
    border: 1px solid #3e4b5b;
    color: #ffffff;
}

/*Badge outlined variations*/
.badge-outline-primary {
    color: #3886ca;
    border: 1px solid #3886ca;
}

.badge-outline-secondary {
    color: #a0a0a0;
    border: 1px solid #a0a0a0;
}

.badge-outline-success {
    color: #28a745;
    border: 1px solid #28a745;
}

.badge-outline-info {
    color: #7978E9;
    border: 1px solid #7978E9;
}

.badge-outline-warning {
    color: #f7b731;
    border: 1px solid #f7b731;
}

.badge-outline-danger {
    color: #fe3f3e;
    border: 1px solid #fe3f3e;
}

.badge-outline-light {
    color: #f1f2f4;
    border: 1px solid #f1f2f4;
}

.badge-outline-dark {
    color: #3e4b5b;
    border: 1px solid #3e4b5b;
}
/*------------------------------------------*/

.dt-column-order{
    display:table-column;
}
.dt-column-order:after {
    left: 0.5em !important;
    right: 0.5em;
    top: auto !important;
    bottom: 25% !important;
    content: "\2193" / "";
    font-size: 1.5em !important;
}
.dt-column-order:before {
    left: 0.1em !important;
    right: 1em;
    bottom: 25% !important;
    content: "\2191" / "" ;
    font-size: 1.5em !important;
}
.table {
    width: -webkit-fill-available !important;
    width: -moz-available !important;
}
/*------------скролинг вверх---------------------------*/
.btn-up {
    display: block;
    position: fixed;
    right: 10px;
    bottom: 10px;
}
.btn-up-hid{
    
}



    /*-----------------------------------------------------*/

.bullet-line-list {
    padding-left: 30px;
    margin-bottom: 0;
    position: relative;
    list-style-type: none;
}
    .bullet-line-list li:before {
        content: "";
        position: absolute;
        border-radius: 100%;
        width: 12px;
        height: 12px;
        left: -28px;
       
        border: 3px solid #3886ca;
        margin-right: 15px;
        z-index: 2;
        background: #ffffff;
    }
    .bullet-line-list li:first-child:after {
        content: "";
        height: 80%;
    }
    .bullet-line-list li:after {
        content: "";
        border: 1px solid #e4e9f0;
        position: absolute;
        bottom: 0;
        left: -23px;
        height: 100%;
    }
    .bullet-line-list li:last-child:after {
        content: "";
        top: 0;
        height: 30%;
    }
    .bullet-line-list li {
        position: relative;
        line-height: 1;
        padding-bottom: 10px;
    }

.sub-menu {
    margin-bottom: 20px;
    margin-left: 9px;
    margin-top: 0;
    list-style: none;
    border-left: 1px solid #e4e9f0;
}



.select2-selection--single  {
    display: block;
     padding-left: 0; 
    padding-right: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: auto !important;
    user-select: none;
    -webkit-user-select: none;
}

.select2-dropdown {
    height: 300px;
    overflow: scroll;
}
.m-w-web {
    width: -webkit-fill-available !important;

}

.bord-st{
    border-top:groove;
    border-right:groove;
    border-left:groove;
}
.bord-mid {
    border-right: groove;
    border-left: groove;
}
.bord-end {
    border-right: groove;
    border-left: groove;
    border-bottom: groove;
}

 .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs,
.col-xs-auto {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
@media (min-width: 456px) {
    .col-xs {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    .col-xs-auto {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        width: auto;
        max-width: 100%;
    }

    .col-xs-1 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 8.33333%;
        flex: 0 0 8.33333%;
        max-width: 8.33333%;
    }

    .col-xs-2 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 16.66667%;
        flex: 0 0 16.66667%;
        max-width: 16.66667%;
    }

    .col-xs-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-xs-4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.33333%;
        flex: 0 0 33.33333%;
        max-width: 33.33333%;
    }

    .col-xs-5 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 41.66667%;
        flex: 0 0 41.66667%;
        max-width: 41.66667%;
    }

    .col-xs-6 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-xs-7 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 58.33333%;
        flex: 0 0 58.33333%;
        max-width: 58.33333%;
    }

    .col-xs-8 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 66.66667%;
        flex: 0 0 66.66667%;
        max-width: 66.66667%;
    }

    .col-xs-9 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-xs-10 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 83.33333%;
        flex: 0 0 83.33333%;
        max-width: 83.33333%;
    }

    .col-xs-11 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 91.66667%;
        flex: 0 0 91.66667%;
        max-width: 91.66667%;
    }

    .col-xs-12 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .order-xs-first {
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
    }

    .order-xs-last {
        -webkit-box-ordinal-group: 14;
        -ms-flex-order: 13;
        order: 13;
    }

    .order-xs-0 {
        -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
        order: 0;
    }

    .order-xs-1 {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .order-xs-2 {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .order-xs-3 {
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
    }

    .order-xs-4 {
        -webkit-box-ordinal-group: 5;
        -ms-flex-order: 4;
        order: 4;
    }

    .order-xs-5 {
        -webkit-box-ordinal-group: 6;
        -ms-flex-order: 5;
        order: 5;
    }

    .order-xs-6 {
        -webkit-box-ordinal-group: 7;
        -ms-flex-order: 6;
        order: 6;
    }

    .order-xs-7 {
        -webkit-box-ordinal-group: 8;
        -ms-flex-order: 7;
        order: 7;
    }

    .order-xs-8 {
        -webkit-box-ordinal-group: 9;
        -ms-flex-order: 8;
        order: 8;
    }

    .order-xs-9 {
        -webkit-box-ordinal-group: 10;
        -ms-flex-order: 9;
        order: 9;
    }

    .order-xs-10 {
        -webkit-box-ordinal-group: 11;
        -ms-flex-order: 10;
        order: 10;
    }

    .order-xs-11 {
        -webkit-box-ordinal-group: 12;
        -ms-flex-order: 11;
        order: 11;
    }

    .order-xs-12 {
        -webkit-box-ordinal-group: 13;
        -ms-flex-order: 12;
        order: 12;
    }

    .offset-xs-0 {
        margin-left: 0;
    }

    .offset-xs-1 {
        margin-left: 8.33333%;
    }

    .offset-xs-2 {
        margin-left: 16.66667%;
    }

    .offset-xs-3 {
        margin-left: 25%;
    }

    .offset-xs-4 {
        margin-left: 33.33333%;
    }

    .offset-xs-5 {
        margin-left: 41.66667%;
    }

    .offset-xs-6 {
        margin-left: 50%;
    }

    .offset-xs-7 {
        margin-left: 58.33333%;
    }

    .offset-xs-8 {
        margin-left: 66.66667%;
    }

    .offset-xs-9 {
        margin-left: 75%;
    }

    .offset-xs-10 {
        margin-left: 83.33333%;
    }

    .offset-xs-11 {
        margin-left: 91.66667%;
    }
}
.dt-scroll-body {
    max-height:650px;
}
