#sett canvas{
    border: 2px solid darkgrey;
}

.non-select {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently*/
}

.sett_block{
    transition-duration: 3s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.hide-sett{
    max-height: 0;
}
.sett_canvas_block{
    align-self: center;
    width: max-content;
    display: flex;
    flex-direction: column;
}
.sett_canvas_block button{
    margin: 5px 0px 0px 0px;
    display: block;
    align-self: end;
}

#sett .h3 {
    display: inline;
    margin-left: 5px;
}



.switcher {
    position: relative;
    display: inline-block;
    width: 36px;
    min-width: 36px;
    height: 20px;
}
.switcher input {
    opacity: 0;
    width: 0;
    height: 0;
}
.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: 18px;
    width: 18px;
    left: 0.5px;
    bottom: 1px;
    background-color: white;
    -webkit-transition: .2s;
    transition: .2s;
}
input:checked:not(:disabled) + .slider {
    background-color: #2196F3;
}
input:hover:not(:disabled) + .slider {
    box-shadow: 0 0 1px #2196F3;
}
input:disabled + .slider {
    background-color: #bdbdbd;
    cursor: default !important;
}
input:checked + .slider:before {
    /*right: 0.5px;*/
    -webkit-transform: translateX(15.5px);
    -ms-transform: translateX(15.5px);
    transform: translateX(15.5px);
}
/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}
.clarification {
    margin-top: 25px;
    margin-left: 50px;
    padding-right: 25px;
}
.clarification:before {
    content: "*";
    margin-right: 8px;
}
.clarification span {
    color: red;
}

#sett-event-server {
    margin-bottom: 30px;
}
#sett-event-server button {
    margin-right: 9px;
}
#sett-event-server .btn-wrapper  {
    display: flex;
}


.motion-wrapper {
    display: flex;
}
.motion-wrapper .car-numbers {
    height: 400px;
    width: 250px;
    border-radius: 5px;
    border: 1px solid #8ac04e;
    margin-left: 20px;
    margin-right: auto;
    box-shadow: inset 0 0 13px 5px #dbe6bf;
    padding: 20px;
    overflow: hidden;
}
.motion-wrapper .car-numbers .number {
    width: 100%;
    display: flex;
    margin-bottom: 15px;
    justify-content: center;
}
.motion-wrapper .number .img {
    margin-left: auto;
    width: 65%;
}
.motion-wrapper .car-numbers .date {
    padding-top: 4px;
    font-size: 16px;
}
.motion-wrapper .date span{
    color: #8ac04e;
    font-weight: bold;
}
.motion-wrapper .car-numbers .number img {
    width: 100%;
}
.motion-wrapper .sett_canvas_block {
    margin-left: auto;
}


.car-recognizer h4{
    max-width: max-content;
    display: inline;
    margin-left: 9px;
}
.car-recognizer h4 span,
h3 span{
    color: lightslategray;
    font-size: 12px;
}

p[class=attention] {
    padding-left: 30px;
    padding-right: 20px;
}
p[class=attention] span {
    color: red;
}

.alerts-list {
    padding: 5px 5px 0 5px;
    width: 168px;
    border: 2px solid darkgrey;
    border-right: none;
    margin-left: auto;
    background-color: white;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
}
.alert-screenshot {
    margin-bottom: 4px;
    cursor: pointer;
    width: 100%;
}
.alert-screenshot:hover {
    border: 2px ridge red;
}
#big-pic-bg {
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.8);
}
#big-pic {
    position: relative;
    max-width: 90%;
    margin: auto;
}


#outer-ip {
    max-width: 0;
    padding: 0;
    border: unset;
    transition: .2s;
    box-sizing: border-box;
    margin-right: 0 !important;
}
.btns {
    display: flex;
    margin-left: auto;
}
.btns #outer-ip{
    max-width: 700px;
    border: 1px solid transparent;
    border-right: none !important;
    padding: 6px 12px;
}
#default-sett {
    border-left: none !important;
}


















/*Массовая настройка*/
.entrance-list {
    /*margin-bottom: 95px;*/
}
.entrance, .general-cams {
    /*padding: 5px;*/
    margin-bottom: 5px;
    width: 100%;
}
.entrance:not(:nth-child(2)) {
    border-top: 1px solid gray;
}
/*.entrance:last-child {*/
/*    border-bottom: 1px solid gray;*/
/*}*/
.entrance .top {display: flex; align-items: center}
.entrance .top > .btn {margin-left: auto; height: min-content; margin-right: 15px}
/*.entrance .apartments > label > input{*/
/*    max-width: 90px;*/
/*}*/
/*.entrance .apartments > label {display: flex; align-items: center}*/
.entrance .apartments input {display: block; width: 100%}

.add-mass, .remove-mass {cursor: pointer; width: max-content}
.add-mass, .remove-mass {font-size: 14px}
.add-mass {padding-left: 15px}
.add-mass span {color: #8AC04E}
.remove-mass {padding-left: 15px}
.remove-mass span {color: #CB462C}
/*.selecting > *:not(h5) {margin-left: 8px}*/


.selection-cms {
    min-width: 431px;
    width: 100%;
    position: relative;
}
.selection-cms.disabled {
    pointer-events: none;
    background-color: gray;
}
.selection-cms.disabled .disabled-blur {
    opacity: 1;
}
.selection-cms .disabled-blur {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #bdbdbd34;
    transition: 0.4s;
    opacity: 0;
    pointer-events: none;
}
.selection-cms {
    background-color: #ffffff;
}
.selection-cms .selected-list {
    width: 100%;
    min-height: 34px;
    border: 0.5px solid #BDBDBD;
    background-color: #ffffff;
    display: flex;
}


.selected-list > .folder {
    cursor: text; width: 100%;
    flex-wrap: wrap;
    display: flex; padding: 3px}

.selected-list > .dropdown {
    display: flex;
    pointer-events: none;
    width: 32px; height: 32px; background-color: #e1e1e1;
    margin-left: auto;align-items: center; margin-top: auto}
.selection-cms .dropdown > * {margin: 0 auto; color: #999; transition: 0.2s}
/*.selection-cms.rolled .dropdown > * {transform: rotate(0deg)}*/
/*.selection-cms:not(.rolled) .dropdown > * {transform: rotate(180deg)}*/


.selection-cms .selected-list-wrapper {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}
.selection-cms.rolled .selected-list-wrapper {max-height: 0}
.selected-option {
    padding: 0 3px;
    background-color: #63D3E9;
    margin-right: 3px;
    margin-bottom: 3px;
    display: flex;
    height: min-content;
    color: #FFFFFF;
    z-index: 100;
}
.selected-option.dragged > * {
    opacity: 0;
}
.selected-option.dragged {
    background-color: #63D3E935;
    outline: 1px solid #63D3E9;
}
.selected-option.clone {
    position: absolute;
    z-index: 10000;
}
.selected-option.clone > * {
    pointer-events: none;
}
.selected-option > .remove-sl > * {margin: 0 auto}
.selected-option > .remove-sl {
    border-left: 1px solid #FFFFFF;padding-right: 3px;display: flex;
    margin-left: 3px; cursor: pointer; align-items: center;padding-left: 6px}
.selection-cms .selected-option > .selected-address {
    cursor: pointer;
}

    .selection-cms .input-wrapper {display: flex; align-items: center;width: 100%}
    .selection-cms .input {
        border: 0 !important; color: #a2a2a240; flex: auto;font-size: 14px;margin-left: 2px}
    .selection-cms .input:focus {border: 0 !important;outline:none; color: #a2a2a2}

/*.folder .count-box {*/
/*    background-color: #63D3E9;*/
/*    height: 21px; padding: 0 7px;*/
/*    display: flex; align-items: center;*/
/*    color: #FFFFFF;}*/
/*.selection-cms:not(.rolled) .count-box {display: none}*/
.selection-cms .count {font-size: 17px;}


.options-wrapper .options-list {
    height: max-content; width: 100%;
    max-height: 554px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 0.5px solid #BDBDBD;
    border-top: unset;
    background-color: #ffffff;
    position: absolute;
    z-index: 1000;
    /*transition: 0.18s;*/
}
.options-wrapper .selection-cms-option {
    width: 100%;
    height: 80px;
    max-height: 80px;
    display: flex;
    padding-top: 4px; padding-bottom: 4px;
    cursor: pointer;
    position: relative;
    box-sizing: content-box;
}
.options-wrapper {
    position: absolute;
    z-index: 1100;
    /*overflow: hidden;*/
}
.options-wrapper > .loading {
    width: 100%; height: 100%;
    background-color: #00000090;
    position: absolute;
    display: flex;
    align-items: center;
    z-index: 110;
}
.options-wrapper > .loading > i {
    color: #8AC04E;
    margin: auto;
    font-size: 90px;
}
.options-wrapper .selection-cms-option:hover {
    background-color: #00000010;
}
.options-wrapper .image, .options-wrapper .selection, .options-wrapper .image-pre {
    min-width: 141px; max-width: 141px;
    min-height: 80px; max-height: 80px;
}
.options-wrapper .image {
    z-index: 2;
    pointer-events: none;
}
.options-wrapper .image-pre {
    left: 0;
    background: slategray;
    color: lightgrey;
    text-align: center;
    display: flex;
    align-items: center;
    position: absolute;
    z-index: 1;
}
.options-wrapper .image-pre > div {
    margin: auto;
}
.options-wrapper .selection {
    display: flex;
    align-items: center;
    background-color: #00000090;
    transition: 0.4s;
    position: absolute;
    z-index: 3;
    /*height: 80px;*/
    /*width: 141px;*/
}
.options-wrapper .selection .check {
    margin: auto;
    transition: 0.2s;
    background: unset;
}
.options-wrapper .selection.off {
    background-color: #00000000; !important;
}
.options-wrapper .selection.off .check {
    opacity: 0;
    transform: scale(0.5);
}

.options-wrapper .info {
    padding-left: 12px; padding-right: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 161px;
}
.options-wrapper .info * {
    font-size: 13px !important;
    margin: 0;
}
.options-wrapper .info .title {
    color: black;
}
.options-wrapper .info .sub {
    color: lightgrey;
}
.selection-cms > .rolling-btn {
    width: 100%;
    height: 30px; max-height: 25px;
    background-color: white;
    border: 0.5px solid #BDBDBD;
    border-top: unset;
    border-radius: 0 0 5px 5px;
    cursor: pointer;
    transition: max-height 0.2s;
    display: flex;
    align-items: center;
}
.selection-cms > .rolling-btn > .left {margin-right: auto; margin-left: 15px}
.selection-cms > .rolling-btn > .right {margin-left: auto; margin-right: 15px}
.selection-cms > .rolling-btn > .reverse {transform: rotate(180deg)}
.selection-cms > .rolling-btn > p {margin: 0; color: #8AC04E}


.options-wrapper .loader, .options-wrapper .empty,
.tags-group .empty {
    margin: 10px 0 10px;
    padding: 9px;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
}
.options-wrapper .loader {
    background-color: aliceblue;}
.options-wrapper .empty,
.tags-group .empty {
    color: brown;
    background-color: #cc000090;}



/*Tags*/
.tags-group {
    position: relative;
}
.tags-top {
    border: 0.5px solid #BDBDBD;
    background: #ffffff;
    display: flex; align-items: center;
    cursor: pointer;
    font-size: 13px !important;
    height: 34px;
}
.tags-top > .arrow {
    margin-right: 15px;
    margin-left: auto;
}
.tags-top > .title {
    width: max-content;
    padding: 0 10px;
    display: flex; align-items: center;
    font-size: 15px;
    background-color: #8AC04E;
    color: #FFFFFF;
    height: 100%;
}
.tags-body {
    position: absolute;
    padding: 4px;
    width: 100%;
    max-height: 554px;
    background-color: #ffffff;
    border: 0.5px solid #BDBDBD;
    border-top: unset;
    border-radius: 0 0 3px 3px;
    overflow: auto;
    z-index: 1000;
}

.tags-body label input, .tags-body label p
{display: inline; padding: 0; margin: 0}
.tags-body label p {margin-left: 5px; color: #8ac04e}
.tags-body.rolled {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border: unset;
}
.tags-body > .item {display: flex; align-items: center; margin-bottom: 5px;cursor: pointer}
.tags-body > .item:hover p {text-decoration: underline}

.tags-group .selected-btn {
    margin-left: 5px; padding: 0 8px; height: 100%; display: flex; align-items: center;}
.tags-group .selected-btn span {color: black}

.tags-group .selected-btn:hover {background-color: #8ac04e}
.tags-group .selected-btn:hover span {color: #FFFFFF}


.tags-top .input {
    border: 0 !important; color: #a2a2a240; flex: auto;font-size: 14px;margin-left: 2px; margin-right: 10px}
.tags-top .input:focus {border: 0 !important;outline:none; color: #a2a2a2}

#tab-sett .form-control {
    height: unset !important;
}

.clickable {
    color: #8ac04e !important;
    cursor: pointer;
}
.clarification.inblock {
    margin: 20px 25px;
}