* { padding: 0; margin: 0; box-sizing: border-box; }
HTML { height: 100% }
BODY { height: 100%; background: #fff; }
TABLE { border-collapse: collapse; border: 0; }
IMG { border: 0; }
A { cursor: pointer; text-decoration: none }
EM { font-style: normal }
INPUT[type='text'], INPUT[type='password'] { border: 0; padding: 0; outline: none }

#wrapper {
    height: 100%;
}

#screen {
    width: 100%;
    min-height: 100%;
    max-width: 375px;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    background: #fff;
    box-shadow: 0px 19px 38px rgba(0, 0, 0, 0.3), 0px 15px 12px rgba(0, 0, 0, 0.22);
}

#screen.map,
#screen.map .tabbar.full,
#screen.map .tabbar .modal_bar,
#screen.map .tabbar .modal_bar .data
{
    background: transparent;
    box-shadow: none;
}

#screen.visioBAS {
    background: #424242;
}

#screen.h100{
    height: 100%;
}

#map {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 0;
    background: url("../images/map-placeholder-2.jpg") 0 0 no-repeat;
    background-size: cover;
}

#admin_bg {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 0;
    background: #303030;
}

#login_bg {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 0;
    background: #303030;
}

.flex {
    display: flex;
}
.column {
    flex-direction: column;
}

.t_pad {
    padding-top: 4px;
    padding-bottom: 4px;
}
.b_pad {
    padding-bottom: 7px;
}
.lr_pad {
    padding-left: 16px;
    padding-right: 16px;
}
.l_pad {
    padding-right: 16px;
}
.r_pad {
    padding-right: 16px;
}

/*Отступы для Iphone X*/
@media (device-width: 375px) and (device-height: 812px) {
    .t_pad {
        padding-top: 44px;
        padding-bottom: 0;
    }
    .b_pad {
        padding-bottom: 34px;
    }
}
/*.t_pad {
    padding-top: 44px;
    padding-bottom: 0;
}
.b_pad {
    padding-bottom: 34px;
}*/

/*Навигация вверху экрана*/
.caption {
    background: #F8F8F8;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
.map > .caption {
    display: none;
    background: transparent;
    border: 0;
}

@media (max-device-width: 812px) {
    .map > .caption {
        display: block;
    }
}

.caption NAV {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    height: 44px;
}

.caption NAV .list {
    font-size: 0;
    height: 44px;
    width: 23px;
    background: url('../images/list.svg') 1px 50% no-repeat;
}

.caption NAV .empty {
    width: 23px
}

.caption NAV .empty2 {
    width: 19.73%
}

.caption NAV .back {
    display: flex;
    align-items: center;
    padding: 11px 0 11px 30px ;
    background: url('../images/back.svg') 4px 50% no-repeat;
    font-family: 'SF-PRO-Regular';
    line-height: 22px;
    font-size: 17px;
    letter-spacing: -0.0141176em;
    color: #000000;
}

.caption NAV .back2 {
    align-self: stretch;
    width: 32px;
    margin-left: -4px;
    background: url('../images/back.svg') 4px 50% no-repeat;
}

.caption NAV .search {
    display: block;
    font-size: 0;
    width: 22px;
    height: 23px;
    background: url('../images/Search.svg') 0 50% no-repeat;
}

.caption NAV .history {
    width: 22px;
    height: 22px;
    background: url('../images/caption_history.svg') 0 50% no-repeat;
}

.caption NAV .text {
    flex-grow: 1;
    font-family: 'SF-PRO-Semibold';
    line-height: 22px;
    font-size: 17px;
    text-align: center;
    letter-spacing: -0.0141176em;
    color: #000000;
}

.caption NAV .bar {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 19.73%;
}

.caption H1 {
    font-family: 'SF-UI-Display-Bold';
    line-height: 41px;
    font-size: 34px;
    letter-spacing: 0.0120588em;
    color: #333333;
}

/*Навигация слева*/
.sidebar {
    position: fixed;
    top: 0;
    width: 82.6%;
    height: 100%;
    max-width: 310px;
    background: #007AFF;
    box-shadow: 4px 0 4px rgba(0, 0, 0, 0.25);
    z-index: 11;
}

/*.sidebar .close {
    padding: 15px 17px 9px;
    display: flex;
    justify-content: flex-end;
}
.sidebar .close A {
    width: 24px;
    height: 24px;
    background: url('../images/sidebar_close.png') 0 0 no-repeat;
}*/

.sidebar UL {
    list-style: none;
    padding: 0 2px 0 16px;
    margin-top: 44px;
}
.sidebar UL LI {
    padding-bottom: 24px;
    padding-right: 24px;
}
.sidebar UL LI.line {
    border-bottom: 1px solid #fff;
    padding-bottom: 18px;
    margin-bottom: 12.42px;
}
.sidebar UL LI A {
    display: block;
    height: 25px;
    padding-left: 47px;
    padding-top: 2px;
    font-family: 'SF-UI-Display-Semibold';
    line-height: 22px;
    font-size: 17px;
    letter-spacing: -0.0241176em;
    color: #FFFFFF;
}
.sidebar UL LI.events A {
    background: url('../images/sd_events.svg') 0 50% no-repeat;
}
.sidebar UL LI.groups A {
    background: url('../images/sd_groups.svg') 0 50% no-repeat;
}
.sidebar UL LI.journal A {
    background: url('../images/sd_journal.svg') 0 50% no-repeat;
}
.sidebar UL LI.users A {
    background: url('../images/sd_users.svg') 0 50% no-repeat;
}
.sidebar UL LI.automatic A {
    background: url('../images/sd_automatic.svg') 0 50% no-repeat;
}
.sidebar UL LI.action A {
    background: url('../images/sd_action.svg') 0 50% no-repeat;
}
.sidebar UL LI.last_actions A {
    background: url('../images/sd_log.svg') 0 50% no-repeat;
}
.sidebar UL LI.pref A {
    background: url('../images/sd_pref.svg') 0 50% no-repeat;
}
.sidebar UL LI.logout A {
    background: url('../images/sd_logout.svg') 0 50% no-repeat;
}

.sidebar .copyright {
    position: absolute;
    left: 0;
    bottom: 4.5%;
    width: 100%;
    font-family: 'SF-UI-Display-Regular';
    line-height: 19px;
    font-size: 14px;
    letter-spacing: -0.0241176em;
    color: #FFFFFF;
    text-align: center;
}

/*Навигация внизу*/
.tabbar {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 375px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 10;
}
.tabbar.half {
    height: 50%;
}
.tabbar.full {
    height: 100%;
}

.tabbar > NAV {
    display: flex;
    box-shadow: 2px -1px 4px rgba(0, 0, 0, 0.19987);
}
.tabbar > NAV A {
    position: relative;
    width: 25%;
    height: 49px;
    padding-top: 36px;
    font-family: 'SF-PRO-Regular';
    line-height: normal;
    font-size: 10px;
    text-align: center;
    letter-spacing: 0.012em;
    color: #929292;
}
.tabbar > NAV A.active {
    color: #007AFF;
}
.tabbar > NAV A.map {
    background: url('../images/icon_map.svg') 50% 8px no-repeat;
}
.tabbar > NAV A.map.active {
    background-image: url('../images/icon_map_active.svg');
}
.tabbar > NAV A.events {
    background: url('../images/icon_events.svg') 50% 9px no-repeat;
}
.tabbar > NAV A.events.active {
    background-image: url('../images/icon_events_active.svg');
}
.tabbar > NAV A.report {
    background: url('../images/icon_report.svg') 50% 9px no-repeat;
}
.tabbar > NAV A.report.active {
    background-image: url('../images/icon_report_active.svg');
}
.tabbar > NAV A.tape {
    background: url('../images/icon_tape.svg') 50% 8px no-repeat;
}
.tabbar > NAV A.tape.active {
    background-image: url('../images/icon_tape_active.svg');
}
.tabbar > NAV A SPAN {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.tabbar > NAV A EM {
    left: 17px;
    top: 14px;
    padding: 0 5px 0 4px;
    background: #EB5757;
    position: absolute;
    border-radius: 100px;
    font-family: 'SF-UI-Display-Medium';
    line-height: normal;
    font-size: 12px;
    text-align: center;
    letter-spacing: -0.016em;
    color: #FFFFFF;
}

.map .tabbar > NAV {
    display: none;
}

.map .content_open {
    display: block;
    width: 47px;
    height: 115px;
    position: absolute;
    right: 0;
    top: 56%;
    background: url("../images/content_open.svg") 0 0 no-repeat;
}

@media (max-device-width: 812px) {
    .map .tabbar > NAV {
        display: flex;
    }
    .map .content_open {
        display: none;
    }
}

/*Введите текст*/
.enter_text {
    display: flex;
    height: 44px;
    background: #fff;
}

.enter_text .field {
    padding: 0 10px 0 63px;
    display: flex;
    align-items: center;
    flex-grow: 1;
    background: url("../images/enter_text.png") 17px 50% no-repeat;
}
.enter_text .field INPUT {
    font-family: 'SF-UI-Display-Regular';
    line-height: 22px;
    font-size: 17px;
    letter-spacing: -0.0241176em;
    color: #A1A1A1;
}

/*Кнопка Новое сообщение*/
.new_message {
    width: 45px;
    height: 45px;
    position: fixed;
    right: 14px;
    bottom: 13.3%;
    background: url('../images/new_message.svg') 0 0 no-repeat;
}

.new_icon {
    width: 45px;
    height: 45px;
    position: absolute;
    right: 14px;
    bottom: 13.3%;
    background: url('../images/new_icon.svg') 0 0 no-repeat;
}

/*Кнопки для карты*/
.mapbar {
    position: absolute;
    top: 16%;
    right: 8px;
    width: 45px;
    height: 135px;
    background: rgba(255, 255, 255, 0.5);
    border: 0.5px solid rgba(151, 151, 151, 0.5);
    box-sizing: border-box;
    backdrop-filter: blur(27.1828px);
    border-radius: 10px;
}
.mapbar A {
    display: block;
    height: 33.33%;
    padding-top: 8px;
    border-bottom: 1px solid #CDCED2;
    font-family: 'SF-UI-Display-Semibold';
    line-height: normal;
    font-size: 24px;
    text-align: center;
    letter-spacing: -0.02em;
    color: #007AFF;
}
.mapbar A:last-child {
    border: 0;
}

@media (max-device-width: 812px) {
    .mapbar {
        top: 25%
    }
}

.pin {
    position: absolute;
    width: 60px;
    height: 74px;
    z-index: 2;
}
.pin.new {
    background: url("../images/pin_new.svg") 0 0 no-repeat;
}
.pin.work {
    background: url("../images/pin_work.svg") 0 0 no-repeat;
}
.pin.done {
    background: url("../images/pin_done.svg") 0 0 no-repeat;
}
.pin.add {
    background: url("../images/pin_add.svg") 0 0 no-repeat;
}
.pin A {
    display: block;
    width: 60px;
    height: 60px;
    padding-top: 10px;
}
.pin A .num {
    display: block;
    margin-bottom: 3px;
    font-family: 'SF-UI-Display-Regular';
    line-height: 28px;
    font-size: 24px;
    letter-spacing: -0.00615385em;
    text-align: center;
    color: #FFFFFF;
}
.pin A .text {
    display: block;
    margin-top: -9px;
    font-family: 'SF-UI-Display-Regular';
    line-height: 28px;
    font-size: 12px;
    letter-spacing: -0.00615385em;
    text-align: center;
    color: #FFFFFF;
}

.pin EM {
    position: absolute;
    top: 2px;
    right: -1px;
    width: 23px;
    height: 23px;
    padding-top: 3px;
    background: #2D9CDB;
    border-radius: 100px;
    font-family: 'SF-UI-Display-Medium';
    line-height: normal;
    font-size: 14px;
    letter-spacing: -0.016em;
    color: #FFFFFF;
    text-align: center;
}

/*Настройки*/
.search1 {
    padding: 11px 8px 16px;
    position: relative;
}

.pref_delimiter {
    height: 35px;
    background: #EFEFF4;
}

.user {
    display: flex;
    margin: 1px 0;
    padding: 10px 0 10px 15px;
    box-shadow: 0px -0.5px 0px rgba(0, 0, 0, 0.16), 0px 0.5px 0px rgba(0, 0, 0, 0.16);
}
.userpic {
    font-size: 0;
}
.userpic IMG {
    width: 60px;
    height: 60px;
}
.user .info {
    flex-grow: 1;
    padding: 4px 13px 0 15px;
    overflow: hidden;
}
.user .info .name {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 5px;
    font-family: 'SF-UI-Display-Regular';
    line-height: normal;
    font-size: 22px;
    letter-spacing: 0.0175em;
    color: #333333;
    text-overflow: ellipsis;
}
.user .info .post {
    font-family: 'SF-UI-Display-Regular';
    line-height: 18px;
    font-size: 13px;
    letter-spacing: -0.00615385em;
    color: #333333;
}
.user .arrow {
    padding: 24px 15px 0 15px
}

.pref_item {
    display: flex;
    justify-content: space-between;
}
.pref_item .label {
    padding: 11px 0;
    font-family: 'SF-UI-Display-Regular';
    line-height: 22px;
    font-size: 17px;
    letter-spacing: -0.0241176em;
    color: #333333;
}
.pref_item .box {
    position: relative;
    width: 51px;
}
.pref_item .box .shape {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 51px;
    height: 31px;
    border-radius: 18px;
    transform: matrix(-1, 0, 0, 1, 0, 0);
    background: #EFEFF4;
}
.pref_item .box.active .shape {
    background: #4CD964;
}

.pref_item .box .circle {
    position: absolute;
    top: 0;
    left: 1.58px;
    bottom: 0;
    margin: auto 0;
    width: 28px;
    height: 28px;
    background: #FFFFFF;
    border: 0.5px solid #E5E5E5;
    box-sizing: border-box;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
    transform: matrix(-1, 0, 0, 1, 0, 0);
    border-radius: 20px;
}
.pref_item .box.active .circle {
    left: 21.58px;
}

.opt_item {
    display: flex;
    justify-content: space-between;
}
.opt_item .label {
    padding: 11px 0;
    font-family: 'SF-UI-Display-Regular';
    line-height: 22px;
    font-size: 17px;
    letter-spacing: -0.0241176em;
    color: #333333;
}
.opt_item A {
    padding: 11px 21px 11px;
    background: url('../images/Arrow_Right_Grey.png') 100% 16px no-repeat;
    font-family: 'SF-UI-Display-Regular';
    line-height: 22px;
    font-size: 17px;
    letter-spacing: -0.0241176em;
    color: #8F8E94;
}

.line1 {
    display: flex;
    justify-content: flex-end;
}
.line1 DIV {
    height: 1px;
    width: 95.2%;
    background: #C8C7CC;
}

/*Логин*/
.login {
    height: 100%;
    max-height: 812px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.login .logo {
    height: 28.9%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}
.login .logo .welcome {
    margin-left: -47px;
    font-family: 'SF-UI-Display-Thin';
    line-height: 44px;
    font-size: 50px;
    letter-spacing: -0.002em;
    color: #000000;
}
.login .logo .welcome EM {
    color: #FF9500;
}
.login .logo .name {
    margin-top: 5px;
    font-family: 'SF-UI-Display-Regular';
    line-height: 19px;
    font-size: 17px;
    letter-spacing: -0.0241176em;
    color: #8C8C8C;
}

.login .fields {
    height: 34.4%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}
.login .fields INPUT {
    width: 250px;
    height: 42px;
    padding: 0 12px 0 15px;
    font-family: 'Montserrat-Regular';
    font-style: normal;
    font-weight: normal;
    line-height: normal;
    font-size: 12px;
    color: #8C8C8C;
}
.login .fields .line {
    height: 1px;
    width: 250px;
    background: #333333;
}
.login .fields .lost {
    width: 250px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.login .fields .lost A {
    font-family: 'Montserrat-Regular';
    font-style: normal;
    font-weight: normal;
    line-height: normal;
    font-size: 10px;
    color: #2D9CDB;
}

.login .submit {
    height: 28.5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}
.login .submit BUTTON {
    width: 288px;
    height: 50px;
    background: #FF9500;
    border: 0;
    border-radius: 8px;
    font-family: 'SF-UI-Display-Semibold';
    line-height: 22px;
    font-size: 17px;
    letter-spacing: -0.0241176em;
    color: #FFFFFF;
    cursor: pointer;
}
.login .submit .copyright {
    margin-top: 47px;
    font-family: 'SF-UI-Display-Regular';
    line-height: 19px;
    font-size: 14px;
    letter-spacing: -0.0241176em;
    color: #8A8A8F;
}

/*События - Группы*/
.group_chain {
    display: flex;
    overflow: hidden;
}

.group_chain .to_history {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 19.2%;
    background: #4CD964;
}
.group_chain .to_history SPAN {
    height: 41px;
    padding-top: 29px;
    background: url("../images/to_history.svg") 50% 2px no-repeat;
    font-family: 'SF-PRO-Regular';
    line-height: normal;
    font-size: 10px;
    text-align: center;
    letter-spacing: 0.012em;
    color: #FFFFFF;
}

.group_chain .to_event {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 19.2%;
    background: #FF8D36;
}
.group_chain .to_event SPAN {
    height: 41px;
    padding-top: 29px;
    background: url("../images/to_event.svg") 50% 2px no-repeat;
    font-family: 'SF-PRO-Regular';
    line-height: normal;
    font-size: 10px;
    text-align: center;
    letter-spacing: 0.012em;
    color: #FFFFFF;
}

.group_chain .to_verified {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 19.2%;
    background: #007AFF;
}
.group_chain .to_verified SPAN {
    height: 41px;
    padding-top: 29px;
    background: url("../images/to_verified.svg") 50% 1px no-repeat;
    font-family: 'SF-PRO-Regular';
    line-height: normal;
    font-size: 10px;
    text-align: center;
    letter-spacing: 0.012em;
    color: #FFFFFF;
}

.group_chain.active .group_item {
    margin-left: -57.6%;
}

.group_item {
    flex-shrink: 0;
    width: 100%;
    display: block;
    min-height: 76px;
    /*padding-bottom: 6px;
    border-bottom: 1px solid #BCBBC1;*/
    overflow: hidden;
}

.group_item .header {
    display: flex;
    padding: 6px 10px 0 16px;
}
.group_item .header .name {
    flex-grow: 1;
    display: flex;
    align-items: center;
    font-family: 'SF-UI-Display-Semibold';
    line-height: 22px;
    font-size: 17px;
    letter-spacing: -0.0241176em;
    color: #000000;
    white-space: nowrap;
    overflow: hidden;
}
.group_item .header .name .crop {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.group_item .header .unread {
    display: flex;
    align-items: center;
}
.group_item .header .unread EM {
    margin: 0 6px 0 -8px;
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 100%;
    background: #007AFF;
}

.group_item .header .alphabet {
    margin: 0 6px 0 -8px;
    display: flex;
    align-items: center;
    font-family: 'SF-UI-Display-Medium';
    line-height: normal;
    font-size: 12px;
    text-align: center;
    letter-spacing: -0.016em;
    color: #2D9CDB;
}

.group_item .header .name .priority {
    display: block;
    margin: 0 15px 0 0;
    width: 29px;
    height: 29px;
    border-radius: 6px;
}
.group_item .header .name .priority.red {
    background: #FF3B30;
}
.group_item .header .name .priority.yellow {
    background: #FFCC00;
}

.group_item .header .name .status {
    display: block;
    margin: 0 0 0 9px;
}
.group_item .header .name .status.new {
    font-family: 'SF-PRO-Regular';
    line-height: 22px;
    font-size: 11px;
    text-align: center;
    letter-spacing: -0.0241176em;
    color: #EB5757;
}
.group_item .header .name .status.work {
    width: 13px;
    height: 11px;
    background: url("../images/status_work.svg") 0 0 no-repeat;
}
.group_item .header .name .status.done {
    width: 18px;
    height: 10px;
    background: url("../images/status_done.svg") 0 0 no-repeat;
}

.group_item .header .name .rating {
    margin: 0 0 0 3px;
    display: flex;
}
.group_item .header .name .rating EM {
    width: 14px;
    height: 12px;
}
.group_item .header .name .rating EM.full {
    background: url("../images/star_full.png") 0 0 no-repeat;
}
.group_item .header .name .rating EM.empty {
    background: url("../images/star_empty.png") 0 0 no-repeat;
}

.group_item .header .time {
    flex-shrink: 0;
    padding-top: 3px;
    font-family: 'SF-UI-Display-Regular';
    line-height: normal;
    font-size: 15px;
    text-align: right;
    letter-spacing: -0.016em;
    color: #8C8C8C;
    width: 32.6%;
}

.group_item .desc {
    display: flex;
    padding: 1px 10px 0 16px;
}
.group_item .desc .text {
    flex-grow: 1;
    height: 40px;
    font-family: 'SF-PRO-Regular';
    line-height: 20px;
    font-size: 15px;
    letter-spacing: -0.016em;
    color: #8E8E93;
    overflow: hidden;
    text-overflow: ellipsis;
}

.check_list .group_item .desc .text {
    height: 114px;
    text-align: justify;
    line-height: 19px;
}

.group_item .desc .empty {
    flex-grow: 1;
}

.group_item .desc .taskbar {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-shrink: 0;
    width: 24%;
    min-height: 18px;
    padding-left: 5px;
}
.group_item .desc .taskbar EM {
    padding-top: 2px;
    width: 24px;
    height: 18px;
    border-radius: 100px;
    font-family: 'SF-UI-Display-Medium';
    line-height: normal;
    font-size: 12px;
    text-align: center;
    letter-spacing: -0.016em;
    color: #FFFFFF;
}
.group_item .desc .taskbar EM.new {
    z-index: 3;
    background: #FF3B30;
}
.group_item .desc .taskbar EM.work {
    z-index: 2;
    margin-left: -4px;
    background: #FF8D36;
}
.group_item .desc .taskbar EM.done {
    z-index: 1;
    margin-left: -4px;
    background: #4CD964;
}

.group_item .slider {
}
.group_item .slider .images {
    width: 100%;
    overflow-x: hidden;
    display: flex;
    align-items: flex-start;
    font-size: 0;
}
.group_item .slider .images DIV {
    flex-shrink: 0;
    width: 94.6666%;
    height: 210px;
    margin-left: 2.6666%;
    border-radius: 4px;
    background: 50% 50% no-repeat;
    background-size: cover;
}

.group_item .slider NAV {
    display: flex;
    justify-content: center;
    margin: 3px 0 -4px;
}
.group_item .slider NAV A {
    width: 9px;
    height: 9px;
    background: url('../images/slider_inactive.svg') 0 0 no-repeat;
    margin-right: 9px;
}
.group_item .slider NAV A:last-child {
    margin: 0;
}
.group_item .slider NAV A.active {
    background-image: url('../images/slider_active.svg');
}

@media (max-device-width: 812px) {
    .group_item .slider .images DIV {
        width: 89.3333%;
    }
    .group_item .slider NAV {
        display: none;
    }
}

.group_item .info {
    padding-top: 5px;
}
.group_item .info DIV {
    padding-top: 2px;
    display: flex;
}
.group_item .info DIV SPAN {
    font-family: 'SF-UI-Display-Regular';
    line-height: normal;
    font-size: 12px;
    color: #8C8C8C;
}
.group_item .info DIV SPAN:first-child {
    width: 23%;
    flex-shrink: 0;
}
.group_item .info DIV SPAN:last-child {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.group_item .line {
    padding-left: 16px;
    margin-top: 6px;
}
.group_item .line DIV {
    height: 1px;
    background: #BCBBC1;
}

/*Тикет*/
.ticket {
    padding: 12px 16px 0;
}

.ticket .date {
    margin-bottom: 4px;
    font-family: 'SF-PRO-Semibold';
    line-height: 13px;
    font-size: 11px;
    text-align: center;
    letter-spacing: 0.00545455em;
    color: #8E8E93;
}

.ticket .message {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}
.ticket .message.reply {
    align-items: flex-end;
}

.ticket .message .name {
    padding-left: 9px;
    margin-bottom: 1px;
    font-family: 'SF-PRO-Regular';
    font-size: 11px;
    line-height: normal;
    letter-spacing: -0.0258824em;
    color: #666666;
}
.ticket .message.reply .name {
    text-align: right;
    padding-right: 9px;
}

.ticket .message .body {
    padding: 7px 14px;
    margin-bottom: 4px;
    width: 254px;
    min-height: 35px;
    background: #E5E5EA;
    border-radius: 17px;
}
.ticket .message.reply .body {
    background: #007AFF;
}
.ticket .message .body:last-child {
    margin-bottom: 0;
}

.ticket .message .body .image {
    font-size: 0;
    margin: 6px 0 9px;
}
.ticket .message .body .image IMG {
    border-radius: 5px;
    width: 100%;
    height: auto;
}

.ticket .message .body .cont {
    display: flex;
}
.ticket .message .body .cont .icon {
    flex-shrink: 0;
    width: 29px;
    min-height: 30px;
    margin-right: 9px;
}
.ticket .message .body .cont .icon.new {
    background: url("../images/msg_new.svg") 0 50% no-repeat;
}
.ticket .message .body .cont .icon.work {
    background: url("../images/msg_work.svg") 0 50% no-repeat;
}
.ticket .message .body .cont .icon.done {
    background: url("../images/msg_done.svg") 0 50% no-repeat;
}
.ticket .message .body .cont .icon.yellow {
    background: url("../images/msg_yellow.svg") 0 50% no-repeat;
}

.ticket .message .body .cont .text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.ticket .message .body .cont SPAN {
    display: block;
    font-family: 'SF-UI-Display-Regular';
    line-height: normal;
    font-size: 15px;
    letter-spacing: -0.016em;
    color: #000000;
}
.ticket .message.reply .body .cont SPAN {
    color: #FFFFFF;
}

.ticket .message .body .cont EM {
    display: block;
    margin: -2px 0 0;
    font-family: 'SF-PRO-Regular';
    line-height: normal;
    font-size: 11px;
    text-align: right;
    letter-spacing: -0.0466667em;
    color: #8E8E93;
}
.ticket .message.reply .body .cont EM {
    color: #FFFFFF;
}

.ticket .message .delivered {
    padding-right: 9px;
    font-family: 'SF-PRO-Semibold';
    line-height: 13px;
    font-size: 11px;
    text-align: right;
    letter-spacing: 0.00545455em;
    color: #8F8F93;
}

.ticket .message .indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 40px;
    border-radius: 17px;
    background: #E5E5EA;
}

.ticket .message .indicator DIV {
    width: 9px;
    height: 9px;
    border-radius: 20px;
    background: #B5B5B9;
    margin: 0 2px;
}
.ticket .message .indicator DIV.cr1 {
    opacity: 0.7;
}

/*отправить сообщение*/
.tabbar.abs .message_bar {
    margin-bottom: 32px;
}

.message_bar {
    position: relative;
}

.message_bar .send {
    display: flex;
    align-items: center;
    padding: 5px 16px;
    border-top: 1px solid #BCBBC1;
}

.message_bar .send .camera {
    display: none;
    flex-shrink: 0;
    width: 32px;
    height: 24px;
    margin-right: 6.6666%;
    background: url("../images/send_camera.svg") 0 0 no-repeat;
}

.message_bar .send .marker {
    flex-shrink: 0;
    width: 25px;
    height: 19px;
    margin-right: 6.6666%;
    background: url("../images/send_marker.svg") 0 0 no-repeat;
}

.message_bar .send .marker2 {
    display: none;
    flex-shrink: 0;
    width: 19px;
    height: 23px;
    margin-right: 6.6666%;
    background: url("../images/send_marker2.svg") 0 0 no-repeat;
}

.message_bar .send .field {
    position: relative;
    flex-grow: 1;
}
.message_bar .send INPUT {
    width: 100%;
    height: 34px;
    padding: 0 79px 0 0;
    background: #FFFFFF;
    border: 0;
    font-family: 'SF-PRO-Regular';
    line-height: 22px;
    font-size: 17px;
    letter-spacing: -0.0241176em;
    color: #A1A1A1;
}

.message_bar .send .voice {
    display: none;
    width: 26px;
    height: 26px;
    position: absolute;
    top: 4px;
    right: 5px;
    background: url("../images/send_voice.svg") 0 0 no-repeat;
}

.message_bar .send .button {
    display: block;
    width: 30px;
    height: 25px;
    position: absolute;
    top: 5px;
    right: 0;
    background: url("../images/send_button.svg") 0 0 no-repeat;
}

.message_bar .send .attachment {
    display: block;
    width: 24px;
    height: 25px;
    position: absolute;
    top: 4px;
    right: 49px;
    background: url("../images/send_attachement.svg") 0 0 no-repeat;
}

.message_bar .icon_list {
    width: 100%;
    height: 231px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    position: absolute;
    top: -230px;
    left: 0;
    padding-top: 73px;
    padding-left: 27px;
    background: url("../images/msg_popup_bg.png") -59px 0 no-repeat;
}

.message_bar .icon_list .type {
    width: 100%;
    font-family: 'SF-PRO-Regular';
    line-height: normal;
    font-size: 13px;
    letter-spacing: -0.0257895em;
    color: #8A8A8F;
    padding-bottom: 3px;
    padding-top: 12px;
}

.message_bar .icon_list .delimiter {
    display: none;
    flex-shrink: 0;
    width: 2px;
    height: 26px;
    background: #EFEFF4;
    border: 0.5px solid #DDDDE3;
    border-radius: 100px;
    margin: 0 10px;
}

.message_bar .icon_list A {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 31px;
    border-radius: 100px;
    margin-right: 13px;
    font-family: 'SF-PRO-Regular';
    line-height: normal;
    font-size: 9px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}
.message_bar .icon_list A.last {
    margin: 0;
}
.message_bar .icon_list A.new {
    background: #FF3B30 url("../images/icon_bar_new.svg") 50% 50% no-repeat;
}
.message_bar .icon_list A.work {
    background: #007AFF url("../images/icon_bar_work.svg") 50% 50% no-repeat;
}
.message_bar .icon_list A.done {
    background: #4CD964 url("../images/icon_bar_done.svg") 50% 50% no-repeat;
}
.message_bar .icon_list A.lightgray {
    background: rgba(216, 216, 216, 0.6);
}
.message_bar .icon_list A.red {
    background: #FF3B30;
}
.message_bar .icon_list A.yellow {
    background: #FF9500;
}
.message_bar .icon_list A.gray {
    background: #8A8A8F;
}

@media (max-device-width: 812px) {
    .tabbar.abs .message_bar {
        margin-bottom: 0;
    }
    .message_bar .send {
        border: 0;
    }
    .message_bar .send .camera {
        display: block;
    }
    .message_bar .send .voice {
        display: block;
    }
    .message_bar .send .marker {
        display: none;
    }
    .message_bar .send .marker2 {
        display: block;
    }
    .message_bar .send INPUT {
        padding: 0 36px 0 13px;
        background: #FAFAFA;
        border: 1px solid #C8C7CC;
        border-radius: 100px;
    }
    .message_bar .send .button {
        display: none;
        right: 4px;
    }
    .message_bar .send .attachment {
        display: none;
    }
    .message_bar .icon_list {
        box-sizing: content-box;
        flex-wrap: nowrap;
        align-items: center;
        height: 45px;
        margin-top: 7px;
        padding-top: 0;
        padding-left: 16px;
        padding-right: 16px;
        box-shadow: 2px -1px 4px rgba(0, 0, 0, 0.19987);
        overflow: hidden;
        background: #FFFFFF;
        position: static;
    }
    .message_bar .icon_list .type {
        display: none;
    }
    .message_bar .icon_list .delimiter {
        display: block;
    }
}

/*modal bar*/
.tabbar.abs .modal_bar {
    position: absolute;
    width: 100%;
    bottom: 0;
    z-index: 1;
}
.tabbar.abs.half .modal_bar {
    height: 100%;
}
.tabbar.abs.full .modal_bar {
    height: 100%;
}

.modal_bar {
    flex-grow: 1;
    height: 32px;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.modal_bar .top {
    flex-shrink: 0;
    display: block;
    height: 32px;
    border-top: 1px solid #BCBBC1;
    background: #FFF url('../images/arrow_top.svg') 50% 50% no-repeat;
}

.modal_bar .bottom {
    flex-shrink: 0;
    display: block;
    height: 32px;
    border-top: 1px solid #BCBBC1;
    background: #FFF url('../images/arrow_bottom.svg') 50% 50% no-repeat;
}

.modal_bar .data {
    border-top: 1px solid #BCBBC1;
    flex-grow: 1;
    overflow-y: auto;
    background: #F3F5F6;
}

.modal_bar .spacer {
    height: 19px;
    background: #F8F8F8;
}

.modal_bar .binding .menu {
    display: flex;
    background: #F3F5F6;
}
.modal_bar .binding .menu A {
    margin-right: 1px;
    flex-basis: 33.333%;
    flex-grow: 1;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(187, 194, 201, 0.9);
    font-family: 'SF-PRO-Regular';
    line-height: normal;
    font-size: 16px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}
.modal_bar .binding .menu A:last-child {
    margin-right: 0;
}
.modal_bar .binding .menu A.active {
    background: rgba(0, 122, 255, 0.9);
}

.modal_bar .binding .items A {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 16px;
    background: #fff;
    font-family: 'SF-PRO-Regular';
    line-height: 22px;
    font-size: 17px;
    letter-spacing: -0.0241176em;
    color: #000000;
}
.modal_bar .binding .items A SPAN {
    flex-grow: 1;
    padding-right: 6px;
}
.modal_bar .binding .items A EM {
    display: none;
    width: 13px;
    height: 10px;
    flex-shrink: 0;
    background: url("../images/checkmark.svg") 0 0 no-repeat;
}
.modal_bar .binding .items A.checked EM {
    display: block;
}

.modal_bar .binding .items .line {
    background: #fff;
    padding-left: 16px;
}
.modal_bar .binding .items .line DIV {
    height: 1px;
    background: #BCBBC1;
}

.search2 {
    flex-grow: 1;
}

@media (max-device-width: 812px) {
    .tabbar.half .modal_bar {
        display: flex;
        height: 100%;
    }
    .tabbar.full .modal_bar {
        display: flex;
        height: 100%;
    }
    .modal_bar {
        display: none;
    }
}

@media (device-width: 375px) and (device-height: 812px) {
    .tabbar.full .modal_bar {
        background: #F8F8F8;
        padding-top: 44px;
    }
}

/*Поле поиска*/
.search_field {
    position: relative;
}
.search_field INPUT[type='text'] {
    width: 100%;
    height: 30px;
    padding: 0 29px;
    background: rgba(142, 142, 147, 0.12) url('../images/search_glyph.svg') 8px 50% no-repeat;
    border-radius: 10px;
    font-family: 'SF-PRO-Regular';
    line-height: normal;
    font-size: 14px;
    letter-spacing: -0.00785714em;
    color: #8C8C8C;
}
.search_field INPUT[type='text'].active {
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(24px);
    color: #020202;
}
.search_field A.voice {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    right: 8px;
    width: 12px;
    height: 19px;
    background: url("../images/search_voice.svg") 0 0 no-repeat;
}
.search_field A.clear {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    right: 8px;
    width: 14px;
    height: 14px;
    background: url("../images/search_clear.svg") 0 0 no-repeat;
}

#map-search {
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 37px;
    width: 359px;
}

@media (max-device-width: 812px) {
    #map-search {
        display: none;
    }
}

/*История*/
.history {
    padding: 12px 16px 0;
}

.history .header {
    font-family: 'SF-PRO-Semibold';
    line-height: 13px;
    font-size: 11px;
    text-align: center;
    letter-spacing: 0.00545455em;
    color: #8E8E93;
}

.history .desc {
    font-family: 'SF-PRO-Regular';
    line-height: 13px;
    font-size: 11px;
    text-align: center;
    letter-spacing: 0.00545455em;
    color: #8E8E93;
}

.history .chain_vertical {
    margin-top: 26px;
}

.history .chain_vertical .item {
    display: flex;
}

.history .chain_vertical .icon {
    flex-shrink: 0;
    width: 29px;
    height: 30px;
}
.history .chain_vertical .icon.new {
    background: url("../images/msg_new.svg") 0 50% no-repeat;
}
.history .chain_vertical .icon.work {
    background: url("../images/msg_work.svg") 0 50% no-repeat;
}
.history .chain_vertical .icon.done {
    background: url("../images/msg_done.svg") 0 50% no-repeat;
}
.history .chain_vertical .icon.yellow {
    background: url("../images/msg_yellow.svg") 0 50% no-repeat;
}

.history .chain_vertical .date {
    flex-basis: 50%;
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 5px 0 0;
    font-family: 'SF-PRO-Regular';
    line-height: 20px;
    font-size: 11px;
    letter-spacing: -0.0466667em;
    color: #8E8E93;
}

.history .chain_vertical .message {
    flex-basis: 50%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 0 0 5px;
}
.history .chain_vertical .message .name {
    font-family: 'SF-PRO-Regular';
    line-height: normal;
    font-size: 11px;
    letter-spacing: -0.0258824em;
    color: #666666;
}
.history .chain_vertical .message .text {
    margin-top: -1px;
    font-family: 'SF-UI-Display-Regular';
    line-height: normal;
    font-size: 15px;
    letter-spacing: -0.016em;
    color: #000000;
}

.history .chain_vertical .line {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}
.history .chain_vertical .line DIV {
    width: 56px;
    height: 1px;
    background: #BCBBC1;
    transform: rotate(-90deg);
}

/*Тема модального окна visioBAS*/
.visioBAS .data {
    background: #424242;
}

.visioBAS .spacer {
    background: rgba(51, 51, 51, 0.8);
}

.visioBAS .caption {
    background: rgba(51, 51, 51, 0.8);
}

.visioBAS .caption NAV .back,
.visioBAS .caption NAV .back2 {
    background-image: url('../images/back_dark.svg');
    color: #FF9500;
}

.visioBAS .caption NAV .text {
    color: #FFFFFF;
}

.visioBAS .caption NAV .search {
    background-image: url('../images/Search_dark.svg');
}

.visioBAS .caption NAV .update {
    position: relative;
    width: 19px;
    height: 23px;
    background: url('../images/send_marker2_dark.svg') 0 50% no-repeat;
}

.visioBAS .caption NAV .plus {
    position: relative;
    width: 24px;
    height: 24px;
    background: url('../images/plus_dark.svg') 0 50% no-repeat;
}

.visioBAS .search_field INPUT[type='text'] {
    background-color: #ffffff;
}

.visioBAS .caption NAV .bar .submenu {
    position: absolute;
    left: -165px;
    top: 30px;
    width: 199px;
    height: 125px;
    background: url("../images/popup_bg2.png") 0 0 no-repeat;
    padding-top: 30px;
    padding-left: 32px;
}

.visioBAS .caption NAV .bar .submenu A {
    display: block;
    width: 150px;
    padding: 2px 0 2px 42px;
    font-family: 'SF-PRO-Regular';
    line-height: normal;
    font-size: 19px;
    letter-spacing: -0.0257895em;
    color: #000000;
}
.visioBAS .caption NAV .bar .submenu A.trash {
    background: url("../images/submenu_trash.svg") 0 50% no-repeat;
    margin-bottom: 20px;
}
.visioBAS .caption NAV .bar .submenu A.import {
    background: url("../images/submenu_import.svg") 0 50% no-repeat;
}

/*.visioBAS_menu A {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 16px;
    font-family: 'SF-PRO-Regular';
    line-height: 22px;
    font-size: 17px;
    letter-spacing: -0.0241176em;
    color: #ffffff;
}

.visioBAS_menu A.par {
    padding-right: 40px;
    background: url("../images/Arrow_Right_Grey.svg") calc(100% - 16px) 50% no-repeat;
}*/

.visioBAS_menu .node {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 16px;
    justify-content: space-between;
}
.visioBAS_menu .node > A {
    flex-grow: 1;
    font-family: 'SF-PRO-Regular';
    line-height: 22px;
    font-size: 17px;
    letter-spacing: -0.0241176em;
    color: #ffffff;
}

.visioBAS_menu .node .contextmenu {
    display: flex;
    align-items: center;
}
.visioBAS_menu .node .contextmenu .graphic {
    width: 28px;
    height: 28px;
    background: url('../images/contextmenu_graphic.svg') 0 0 no-repeat;
    margin-right: 5px;
}
.visioBAS_menu .node .contextmenu .contents {
    width: 29px;
    height: 29px;
    background: url('../images/contextmenu_contents.svg') 0 0 no-repeat;
    margin-right: 5px;
}
.visioBAS_menu .node .contextmenu .parameters {
    width: 29px;
    height: 29px;
    background: url('../images/contextmenu_parameters.svg') 0 0 no-repeat;
}

.visioBAS .line {
    padding-left: 16px;
}
.visioBAS .line DIV {
    height: 1px;
    background: #BCBBC1;
}

/*Страница датчика*/
.sensor_control {
    padding: 8px 16px 0 16px;
    border-bottom: 1px solid #BCBBC1;
}

.sensor_control .info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.sensor_control .info .res {
    font-family: 'SF-UI-Display-Semibold';
    line-height: normal;
    font-size: 20px;
    letter-spacing: 0.0175em;
    color: #FFFFFF;
}

.sensor_control .info .status {
    padding-right: 24px;
    font-family: 'SF-UI-Display-Regular';
    font-style: normal;
    font-weight: normal;
    line-height: 22px;
    font-size: 17px;
    letter-spacing: -0.0141176em;
    color: #FFFFFF;
}
.sensor_control .info .status.checked {
    background: url("../images/checkmark_dark.svg") 100% 50% no-repeat;
}

.sensor_control .name {
    margin-bottom: 4px;
    font-family: 'SF-UI-Display-Regular';
    line-height: normal;
    font-size: 15px;
    letter-spacing: -0.016em;
    color: #FFFFFF;
}

.sensor_control .rating {
    display: flex;
    align-items: center;
}

.sensor_control .rating .stars {
    display: flex;
    font-size: 0;
    margin-right: 4px;
}
.sensor_control .rating .stars IMG {
    width: 14px;
    height: 14px;
}

.sensor_control .rating SPAN {
    font-family: 'SF-UI-Display-Regular';
    line-height: normal;
    font-size: 15px;
    letter-spacing: -0.016em;
    color: #8C8C8C;
}

.sensor_control .controller {
    margin: 9px 0;
    height: 28px;
    display: flex;
    align-items: center;
    position: relative;
}

.sensor_control .controller .scale {
    height: 5px;
    width: 100%;
    background: #C7C7CC;
    border-radius: 3px;
    display: flex;
}
.sensor_control .controller .scale .active {
    margin-top: 1px;
    height: 3px;
    background: #007AFF;
    border-radius: 3px;
}

.sensor_control .controller .circle {
    position: absolute;
    top: 0;
    width: 28px;
    height: 28px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(0, 0, 0, 0.16), 0 3px 8px rgba(0, 0, 0, 0.15);
    border-radius: 100px;
}

.sensor_data {
    padding: 13px 16px 0 16px;
}

.sensor_data .button {
    height: 53px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 15px;
    color: #FFFFFF;
}
.sensor_data .button.cancel {
    background: #007AFF;
}
.sensor_data .button.apply {
    background: #FF9500;
}
.sensor_data .button.open {
    background: #EFEFF4;
    color: #8C8C8C;
}
.sensor_data .button DIV {
    font-family: 'SF-UI-Display-Semibold';
    line-height: 22px;
    font-size: 17px;
    text-align: center;
    letter-spacing: -0.0241176em;
}
.sensor_data .button SPAN {
    font-family: 'SF-UI-Display-Regular';
    line-height: normal;
    font-size: 15px;
    text-align: center;
    letter-spacing: -0.016em;
}

.sensor_data .manage {
    display: flex;
    justify-content: space-between;
    padding: 3px 0 19px;
}

.sensor_data .manage A {
    width: 23.7%;
    height: 56px;
    padding-top: 36px;
    background: #EFEFF4 50% 6px no-repeat;
    border-radius: 9px;
    font-family: 'SF-UI-Display-Regular';
    line-height: 13px;
    font-size: 11px;
    letter-spacing: 0.00636364em;
    color: #8C8C8C;
    text-align: center;
}
.sensor_data .manage A.active {
    color: #FF9500;
}
.sensor_data .manage A.temperature {
    background-image: url("../images/manage_temperature.svg");
}
.sensor_data .manage A.temperature.active {
    background-image: url("../images/manage_temperature_active.svg");
}
.sensor_data .manage A.wet {
    background-image: url("../images/manage_wet.svg");
}
.sensor_data .manage A.wet.active {
    background-image: url("../images/manage_wet_active.svg");
}
.sensor_data .manage A.speed {
    background-image: url("../images/manage_speed.svg");
}
.sensor_data .manage A.speed.active {
    background-image: url("../images/manage_speed_active.svg");
}
.sensor_data .manage A.control {
    background-image: url("../images/manage_control.svg");
}
.sensor_data .manage A.control.active {
    background-image: url("../images/manage_control_active.svg");
}

.property_set .property {
    padding: 10px 16px 12px;
}

.property_set .property .header {
    display: flex;
    justify-content: space-between;
}
.property_set .property .header SPAN {
    font-family: 'SF-UI-Display-Semibold';
    line-height: 20px;
    font-size: 15px;
    letter-spacing: -0.016em;
    color: #FFFFFF;
}
.property_set .property .header A {
    font-family: 'SF-UI-Display-Regular';
    line-height: 20px;
    font-size: 15px;
    letter-spacing: -0.016em;
    color: #FF9500;
}
.property_set .property .text {
    margin-top: 3px;
    font-family: 'SF-UI-Display-Regular';
    line-height: 22px;
    font-size: 17px;
    letter-spacing: -0.0241176em;
    color: #8C8C8C;
}

/*Расписание*/
.schedule {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.schedule_header {
    flex-grow: 1;
}

.sensor_name {
    min-height: 66px;
    padding: 10px 16px 0;
}

.sensor_name .index {
    margin-bottom: 4px;
    font-family: 'SF-UI-Display-Semibold';
    line-height: normal;
    font-size: 20px;
    letter-spacing: -0.016em;
    color: rgba(255, 255, 255, 0.7);
}

.sensor_name .name {
    font-family: 'SF-UI-Display-Regular';
    line-height: normal;
    font-size: 16px;
    letter-spacing: -0.016em;
    color: rgba(255, 255, 255, 0.7);
}

.schedule_item {
    display: flex;
    justify-content: space-between;
    min-height: 88px;
    padding: 0 16px;
}

.schedule_item .clock {
    color: #8C8C8C;
}
.schedule_item .clock.active .time {
    color: #FFFFFF;
}
.schedule_item .time {
    font-family: 'SF-UI-Display-Thin';
    line-height: normal;
    font-size: 60px;
    letter-spacing: -0.00166667em;
}
.schedule_item .desc {
    font-family: 'SF-PRO-Regular';
    line-height: normal;
    font-size: 13px;
    letter-spacing: -0.00615385em;
    color: #8C8C8C;
    margin-top: -8px;
}

.schedule .box {
    position: relative;
    width: 51px;
}
.schedule .box .shape {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 51px;
    height: 31px;
    border-radius: 18px;
    border: 1.5px solid #E5E5E5;
    transform: matrix(-1, 0, 0, 1, 0, 0);
}
.schedule .box.active .shape {
    background: #4CD964;
    border: none;
}

.schedule .box .circle {
    position: absolute;
    top: 0;
    left: 1.58px;
    bottom: 0;
    margin: auto 0;
    width: 28px;
    height: 28px;
    background: #FFFFFF;
    border: 0.5px solid #E5E5E5;
    box-sizing: border-box;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
    transform: matrix(-1, 0, 0, 1, 0, 0);
    border-radius: 20px;
}
.schedule .box.active .circle {
    left: 21.58px;
}

.schedule .selector {
    padding: 7px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.schedule .selector .prev {
    width: 22px;
    height: 22px;
    background: url('../images/selector_top.svg') 50% 50% no-repeat;
}
.schedule .selector .next {
    width: 22px;
    height: 22px;
    background: url('../images/selector_bottom.svg') 50% 50% no-repeat;
}
.schedule .selector SPAN {
    font-family: 'SF-UI-Display-Semibold';
    line-height: normal;
    font-size: 20px;
    text-align: center;
    letter-spacing: 0.0175em;
    color: #FFFFFF;
}

.schedule_weekly {
    display: flex;
    justify-content: space-between;
    min-height: 59px;
    padding: 1px 16px 0;
}

.schedule_weekly .name {
    margin-bottom: 5px;
    font-family: 'SF-PRO-Regular';
    line-height: normal;
    font-size: 20px;
    letter-spacing: -0.016em;
    color: rgba(255, 255, 255, 0.7);
}

.schedule_weekly .day {
    font-family: 'SF-PRO-Regular';
    line-height: normal;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.schedule_calendar {
    padding: 29px 16px 15px;
    display: flex;
}

.schedule_calendar .time {
    width: 44px;
    flex-shrink: 0;
    position: relative;
}
.schedule_calendar .time SPAN {
    display: block;
    position: absolute;
    right: 7px;
    font-family: 'SF-PRO-Regular';
    line-height: 20px;
    font-size: 13px;
    text-align: right;
    letter-spacing: -0.00615385em;
    color: rgba(255, 255, 255, 0.5);
}
.schedule_calendar .time SPAN:first-child {
    top: -9px
}
.schedule_calendar .time SPAN:last-child {
    top: 63px
}

.schedule_calendar .day_of_week {
    flex-grow: 1;
    position: relative;
}

.schedule_calendar .grid DIV {
    height: 6px;
    border-top: 1px solid #343434;
}
.schedule_calendar .grid DIV:first-child {
    border-top: 1px solid #FF9500;
}
.schedule_calendar .grid DIV:last-child {
    height: 1px;
    border-top: 1px solid #FF9500;
}

.schedule_calendar .day_name {
    padding: 3px 20px 0;
    display: flex;
}

.schedule_calendar .day_name A {
    width: 14.28%;
    height: 31px;
    display: flex;
    justify-content: center;
    padding-top: 3px;
    font-family: 'SF-PRO-Regular';
    line-height: normal;
    font-size: 13px;
    letter-spacing: -0.00615385em;
    color: #FFFFFF;
}
.schedule_calendar .day_name A.active {
    background: rgba(51, 51, 51, 0.7);
    color: #FF3B30;
}

.schedule_calendar .diagram {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    padding: 0 20px;
    display: flex;
}
.schedule_calendar .diagram > DIV {
    width: 14.28%;
    position: relative;
}

.schedule_calendar .diagram .point {
    width: 8px;
    background: linear-gradient(180deg, #FF9500 0%, #FFCC00 100%);
    border-radius: 100px;
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
}

/*Управление датчиком*/

.sensor_admin .text {
    padding: 36px 16px 0;
    margin-bottom: 6px;
    font-family: 'SF-PRO-Regular';
    line-height: 22px;
    font-size: 16px;
    letter-spacing: -0.0241176em;
    color: rgba(255, 255, 255, 0.7);
}

.sensor_admin .item {
    height: 44px;
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
}

.sensor_admin .item .name {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    font-family: 'SF-PRO-Regular';
    line-height: 22px;
    font-size: 17px;
    letter-spacing: -0.0241176em;
    color: #FFFFFF;
}

.sensor_admin .item .field {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
}

.sensor_admin .item .field INPUT {
    width: 100%;
    padding: 2px 22px 2px 8px;
    font-family: 'SF-PRO-Regular';
    line-height: 22px;
    font-size: 17px;
    text-align: right;
    letter-spacing: -0.0141176em;
    color: #FFFFFF;
    background: transparent;
}

.sensor_admin .item .field .clear {
    display: block;
    width: 14px;
    height: 14px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto 0;
    background: url("../images/sensor_admin_clear.svg") 0 0 no-repeat;
}

.sensor_admin .item .field .info {
    display: block;
    width: 22px;
    height: 22px;
    background: url("../images/sensor_admin_info.svg") 0 0 no-repeat;
}

.sensor_admin .item .field .data {
    padding-right: 11px;
    font-family: 'SF-PRO-Regular';
    line-height: 22px;
    font-size: 17px;
    text-align: right;
    letter-spacing: -0.0241176em;
    color: #8E8E93;
}

.sensor_admin .spacer {
    height: 4px;
}

.sensor_admin .buttons_vertical {
    padding: 4px 16px 0;
}
.sensor_admin .buttons_vertical A {
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    font-family: 'SF-UI-Display-Semibold';
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    font-size: 17px;
    text-align: center;
    letter-spacing: -0.0241176em;
    color: #FFFFFF;
    background: #007AFF;
}
.sensor_admin .buttons_vertical A.orange {
    background: #FF9500;
}

.sensor_admin .buttons_horizontal {
    padding: 14px 16px 0;
    display: flex;
}
.sensor_admin .buttons_horizontal A {
    height: 35px;
    width: 33.3333%;
    margin-right: 22px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'SF-UI-Display-Semibold';
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    font-size: 17px;
    text-align: center;
    letter-spacing: -0.0241176em;
    color: #FFFFFF;
    background: #007AFF;
}
.sensor_admin .buttons_horizontal A.orange {
    background: #FF9500;
}
.sensor_admin .buttons_horizontal A:last-child {
    margin: 0;
}

.sensor_admin .log_links {
    display: flex;
    justify-content: flex-end;
    padding: 40px 16px 0 0;
}

.sensor_admin .log_links A {
    margin-left: 24px;
    font-family: 'SF-UI-Display-Medium';
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    font-size: 14px;
    text-align: center;
    letter-spacing: 0.0357143em;
    color: #FF9500;
}

/*Лог*/
@media (max-device-width: 812px) {
    .log {
        display: none !important;
    }
}

.log {
    width: 375px;
    height: 77%;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    background: #424242;
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.22);
    border-radius: 2px;
    padding: 19px 8px 19px 11px;
    z-index: 1;
}

.log.custom {
    display: none;
    left: calc((100% - 375px)*0.15);
    width: calc((100% - 375px)*0.7);
}

.log.CAN {
    left: 9.55%
}
.log.Emergency {
    left: 40.72%
}

@media (max-width: 1310px) {
    .log.CAN {
        left: 2%
    }
    .log.Emergency {
        left: 35%
    }
}

@media (max-width: 1170px) {
    .log.CAN {
        left: 2%;
        margin: 0;
        top: 2%;
        height: 62%;
        width: calc(96% - 375px);
    }
    .log.Emergency {
        left: 2%;
        margin: 0;
        top: 66%;
        height: 32%;
        width: calc(96% - 375px);
    }
}

.log .bar {
    position: absolute;
    left: 0;
    top: 8px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding-right: 8px;
}

.log .bar .expand {
    width: 24px;
    height: 24px;
    background: url("../images/log_expand.svg") 50% 50% no-repeat;
    margin-right: 16px;
}

.log .bar .close {
    width: 24px;
    height: 24px;
    background: url("../images/log_close.svg") 50% 50% no-repeat;
}

.log .header {
    margin-bottom: 12px;
    font-family: 'SF-UI-Display-Medium';
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    font-size: 20px;
    color: #FFFFFF;
}

.log .data {
    height: calc(100% - 36px);
    overflow-y: auto;
}

.log .data .preloader {
    width: 64px;
    height: 64px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    background: url("../images/preloader.svg") 0 0 no-repeat;
}

.log .data TABLE {
    width: 100%;
}

.log .data TABLE TH {
    border-bottom: 1px solid #BCBBC1;
    font-family: 'SF-UI-Display-Medium';
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    font-size: 14px;
    text-align: left;
    letter-spacing: 0.0357143em;
    color: #FF9500;
    padding: 2px 0;
}

.log .data TABLE TD {
    font-family: 'SF-UI-Display-Regular';
    font-style: normal;
    font-weight: normal;
    line-height: 24px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    padding: 2px 32px 2px 0;
}
.log .data TABLE TR TD:last-child {
    padding-right: 0;
}

/*таблица contents*/
.log .data TABLE.contents TD {
    padding-top: 10px;
    padding-bottom: 10px;
}
.log .data TABLE.contents TR:nth-child(even) {
    background: rgba(255,255,255,0.1);
}
.log .data TABLE.contents TR.fault TD {
    color: rgba(255, 255, 255, 0.3);
}
.log .data TABLE.contents TR.normal TD {
    color: rgba(255, 255, 255, 0.8);
}

.log .data TABLE.contents .icon-object-value {
    display: inline-block;
    vertical-align: top;
    width: 23px;
    height: 23px;
    background: url('../images/contents_edit.svg') 0 0 no-repeat;
    margin-right: 7px;
}

/*parameters*/
.log .line {
    padding-left: 16px;
}
.log .line DIV {
    height: 1px;
    background: #BCBBC1;
}

/*dropdown list*/
.dropdown {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
    background: rgba(4, 4, 15, 0.4);
    z-index: 1002;
}

.dropdown UL {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 100%;
    max-width: 355px;
}

.dropdown UL LI {
    height: 57px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1px;
    background: rgba(248, 248, 248, 0.82);
    font-family: 'SF-PRO-Regular';
    line-height: 24px;
    font-size: 20px;
    letter-spacing: 0.019em;
    color: #007AFF;
    cursor: pointer;
}
.dropdown UL LI:first-child {
    margin-top: 0;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}
.dropdown UL LI:last-child {
    margin-top: 0;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}
.dropdown UL LI.active {
    color: #FF3B30;
}
.dropdown UL LI:hover {
    background: rgba(248, 248, 248, 0.92);
}