html.body-loading{
    min-width: unset;
}
html.body-loading body{
    min-width: unset;
}

html {
    height: 100%;
    position: relative !important;
}

.x-viewport > .x-body {
    position: relative !important;
}

@media (min-width: 1161px) {
    body {
        height: 100%;
        overflow: auto !important;
    }
}

@media (max-width: 1160px) {
    html {
        min-width: 1160px;
    }

    body {
        height: 100%;
        min-width: 1160px;
        overflow: auto !important;
    }

    #flexilignerViewport-targetEl {
        margin-left: 30px;
    }
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

/*.not-set {*/
/*color: #c55;*/
/*font-style: italic;*/
/*}*/

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

/*.error-summary {*/
/*color: #a94442;*/
/*background: #fdf7f7;*/
/*border-left: 3px solid #eed3d7;*/
/*padding: 10px 20px;*/
/*margin: 0 0 15px 0;*/
/*}*/
.x-form-cb-checked .x-form-checkbox-default{
    background-position: -15px -15px;
}
.x-form-cb-checked .x-form-radio-default{
    background-position: -15px -15px;
}

/*--Иконки--*/
.icon-add-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/Add.png) !important;
}
.icon-find-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/Find.png) !important;
}
.icon-small-cancel-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/small-cancel.png) !important;
}
.icon-yes-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/Yes.png) !important;
}
.icon-no-16{
    color:red;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/No.png) !important;
    /*background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/No.png) !important;*/
}
.icon-tick-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/tick.png) !important;
}
.icon-arrow-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/arrow.png) !important;
}
.icon-arrow-join-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/arrow_join.png) !important;
}
.icon-company-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/company.png) !important;
}
.icon-ok-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/OK.png) !important;
}
.icon-exit-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/Exit.png) !important;
}
.icon-arrow-right-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/arrow-right.png) !important;
}
.icon-pause-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/pause_blue.png) !important;
}
.icon-copy-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/copy.png) !important;
}
.icon-brightness-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/brightness-low.png) !important;
}
.icon-save-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/Save.png) !important;
}
.icon-trash-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/trash.png) !important;
}
.icon-loading-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/loading.gif) !important;
}
.icon-modify-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/Modify.png) !important;
}
.icon-delete-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/Delete.png) !important;
}
.icon-cancel-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/Cancel.png) !important;
}
.icon-list-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/List.png) !important;
}
.icon-key-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/Key.png) !important;
}
.icon-man-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/user_1.png) !important;
}
.icon-play-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/play.png) !important;
}
.icon-calc-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/task/42.png) !important;
}
.icon-magnifier-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/task/41.png) !important;
}
.icon-timer-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/Stopwatch.png) !important;
}
.icon-delivery-task-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/task/2.png) !important;
}
.icon-delivery-task-delivery-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/task/14.png) !important;
}
.icon-delivery-task-send-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/task/31.png) !important;
}
.icon-door-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/Door.png) !important;
}
.icon-docplus-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/document-plus.png) !important;
}
.icon-refresh-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/refresh.png ) !important;
}
.icon-bubble-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/bubble.png ) !important;
}
.icon-claim-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/claim.png ) !important;
}
.icon-translate-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/task/79.png ) !important;
}
.icon-show-disabled-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/showDisabled16.png) !important;
}
.icon-hide-disabled-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/hideDisabled16.png) !important;
}


.icon-user-business-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/user-business.png ) !important;
}
.icon-bell-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/bell.png ) !important;
}
.icon-photoalbum-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/photo-album.png ) !important;
}
.icon-calculator-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/calculator.png ) !important;
}
.icon-order-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/order24.png ) !important;
}
.icon-card-address-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/card-address.png ) !important;
}
.icon-briefcase-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/briefcase.png ) !important;
}
.icon-inbox-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/inbox-document-text.png ) !important;
}
.icon-wooden-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/wooden-box.png ) !important;
}
.icon-home-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/home.png ) !important;
}
.icon-document-text-image-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/document-text-image.png) !important;
}
.icon-mail-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/mail.png) !important;
}
.icon-mail2-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/mail2.png) !important;
}
.icon-mail3-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/mail3.png) !important;
}
.icon-bookmark-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/bookmark.png) !important;
}
.icon-information-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/information.png) !important;
}
.icon-flower1-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/flower_flex.png) !important;
}
.icon-flower2-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/flower_kid.png) !important;
}
.icon-light-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/light-bulb.png) !important;
}
.icon-inbox-slide-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/inbox-slide.png) !important;
}
.icon-show-disabled-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/showDisabled24.png) !important;
}
.icon-hide-disabled-24{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/hideDisabled24.png) !important;
}


.icon-photo-32{
    background-image: url(https://cdn.flexiligner.com/flexi/img/photo_m.png) !important;
}

.icon-task-print{
    background-image: url(https://cdn.flexiligner.com/flexi/img/task/11.png) !important;
}
.icon-task-real-print{
    background-image: url(https://cdn.flexiligner.com/flexi/img/task/66.png) !important;
}
.icon-task-fabric{
    background-image: url(https://cdn.flexiligner.com/flexi/img/task/12.png) !important;
}
.icon-task-packing{
    background-image: url(https://cdn.flexiligner.com/flexi/img/task/33.png) !important;
}
.icon-task-delivery-prod{
    background-image: url(https://cdn.flexiligner.com/flexi/img/task/14.png) !important;
}

.icon-task-3d-corr{
    background-image: url(https://cdn.flexiligner.com/flexi/img/task/27.png) !important;
}

.icon-flower1-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/flower_flex.png) !important;
}
.icon-flower2-16{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/flower_kid.png) !important;
}



.status-lamp{
    margin: 0 0 4px 32px;
    height: 12px;
    width: 12px;
    border: 1px solid #666;
    background-color: #0065ae;
}


.case-header{
    margin: 10px 10px 10px 0;
    font-size: 14px;
    font-weight: bold;
    text-decoration: underline;
    display: inline-block;
}
.case-subheader{
    margin: 10px 10px 10px 0;
    font-size: 14px;
    text-decoration: underline;
    display: inline-block;
}

.case-header-office-icon{
    border: 0;
    vertical-align: sub;
}

.div-circle-red{
    height: 16px;
    width: 16px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background-color: #f8554d;
}
/*----------*/

.x-field .mix-small {

}

.f-photopanel .x-table-layout-cell{
    vertical-align: top;
}


.case-photo-panel-photo{

}
.f-photo-container{
    border: 2px solid #f5f5f5;
    width: 100px;
    height: 100px;
}
.f-photo-label{
    font-size: 12px;
    text-align: center;
    color: #001f3c;
}
.f-photo-1-overlayer{
    position: absolute;
    top: 0;
    left: 0;
    /*background-color: red;*/
    width: 100px;
    height: 100px;
    z-index: 10;
}
.f-photo-2-overlayer{
    position: absolute;
    top: 0;
    left: 0;
    /*background-color: red;*/
    width: 100px;
    height: 100px;
    z-index: 20;
    cursor: pointer;
}
.f-photo-2-overlayer .icon-delete-16{
    height: 16px;
    width: 16px;
    position: relative;
    top: 5px;
    left: 80px;
    opacity: 0.6;
    /*background-color: rgba(255, 255, 255, 1);*/
    /*-webkit-border-radius: 2px;*/
    /*-moz-border-radius: 2px;*/
    /*border-radius: 2px;*/
}
.f-photo-2-overlayer .icon-delete-16:hover{
    opacity: 0.9;
    cursor: pointer;
}
.f-photo-2-overlayer .fa-times{
    height: 20px;
    width: 20px;
    font-size: 20px;
    position: relative;
    top: 5px;
    left: 80px;
    opacity: 0.6;
    /*background-color: rgba(255, 255, 255, 1);*/
    /*-webkit-border-radius: 2px;*/
    /*-moz-border-radius: 2px;*/
    /*border-radius: 2px;*/
}
.f-photo-2-overlayer .fa-times:hover{
    opacity: 1;
    cursor: pointer;
}
.f-photo-3-overlayer{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff url(https://cdn.flexiligner.com/flexi/img/progressbar.gif) no-repeat 22px 22px;
    width: 100px;
    height: 100px;
    z-index: 30;
    cursor: wait;
}

.f-photo-prepare-indicator{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 101;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #3892d4;
}

.f-photo-viewer-item {
    float: left;
    z-index: 10;
    margin:0 3px;
    cursor: pointer;
}

.f-photo-viewer-item img {
    /*padding: 3px;*/
    border-radius: 5px;
    -moz-border-radius: 5px;
    border: 1px solid #d8d8d8;
    width: 100px;
    height: 100px;
}

.f-photo-viewer-item h3 {
    font-size: 12px;
    color:#001f3c;
    font-weight: normal;
    text-align: center;
    width: 100px;
    white-space: normal;
    padding-top: 3px;
    margin: 0
}
.f-photo-viewer-item.x-view-item-focused{
    outline: none !important;
}
.f-photo-viewer-item .f-file-form{
    position: absolute;
    top: 0;
    left: 0;
    /*background-color: red;*/
    width: 0;
    display:inline;
    height: 0;
    /*z-index: -10;*/
}

.f-photo-viewer-item .fas.fa-times{
    height: 20px;
    width: 20px;
    font-size: 20px;
    position: absolute;
    top: 5px;
    z-index: 20;
    opacity: 0.6;
    margin-left: 80px;
}
.f-photo-viewer-item .fas.fa-times:hover{
    opacity: 1;
    cursor: pointer;
}
.data-target-valid{
    width:100px;
    height:100px;
    background-color: forestgreen;

}

.doctor-list-office-icon{
    border: 0;
    display: block;
    position: absolute;
    z-index: 10;
    top: 1px;
    left: 42px;
}
.f-case-grid-office-icon{
    border: 0;
    display: block;
    position: absolute;
    z-index: 10;
    top: 1px;
    left: 42px;
    width: 10px;
}
.f-case-grid-country-icon{
    border: 0;
    display: block;
    position: absolute;
    z-index: 10;
    top: -7px;
    left: 4px;
    width: 10px;
}
.f-case-grid-material-icon{
    display: block;
    position: absolute;
    z-index: 10;
    top: 41px;
    left: 7px;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    border: 1px solid #666;
}
.f-case-grid-material-icon.yes{
    background-color: #4dc847;
}
.f-case-grid-material-icon.no{
    background-color: #fe8942;
}
.patient-list-avatar{
    width: 40px;
    height: 40px;
    vertical-align: middle;
}
.patients-grid .x-grid-td{
    vertical-align: middle;

}
.patients-grid .x-grid-cell-inner{
    white-space: normal;
}

.patient-list-fio-td{
    line-height: 40px;
    min-width: 120px;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
}
.patients-grid .category-badge{
    display: inline-block;
    border-radius: 3px;
    font-size: 9px;
    padding: 0 3px;
    background-color: #d8d8d8;
}
.f-case-grid-kids-icon{
    position: absolute;
    height: 24px;
    width: 24px;
    top: 0;
    left: 0;
    background-image: url(https://cdn.flexiligner.com/flexi/img/kids_icon.png);
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.65);
}
.f-case-card-info-legend .x-form-display-field-default{
    margin: 0;
}
.f-grid td{
    line-height: 26px;
}

.doctor-grid-supervisor-item{
    overflow: hidden;
    font-size: 10px;
}
.doctor-grid-supervisor-item .key{
    display: inline-block;
    color: #c14fa3;
    width: 90px;
}
.doctor-grid-supervisor-item .value{
    display: inline-block;
}

.f-kids-label{
    height: 32px;
    width: 100px;
    background-repeat: no-repeat;
    background-image: url(https://cdn.flexiligner.com/flexi/img/kidsligner120.png);
    display: none;
}
.isKids .f-kids-label{
    display: block;
}
.f-kids-label-small{
    height: 30px;
    width: 100px;
    background-image: url(https://cdn.flexiligner.com/flexi/img/kidsligner_label.png);
    display: none;
}
.isKids .f-kids-label-small{
    display: block;
}
.case-status-td-inner{
    /*padding: 4px 0;*/
    display: inline-block;
    vertical-align: middle;
    width: 94px;
    text-align: center;
    /*margin-left: 7px;*/
    font-size: 11px;
    line-height: 12px;
    white-space: normal;
    overflow: visible;
    /*height: 30px;*/
}
.case-status-string{
    /*padding: 4px 0;*/
    display: inline-block;
    vertical-align: middle;
    max-width: 100px;
    text-align: left;
    margin-right: 6px;

    font-size: 12px;
    line-height: 12px;
    white-space: normal;
    overflow: visible;
    font-weight: bold;
    /*height: 30px;*/
}
.case-status-string2{
    display: inline-block;
    vertical-align: middle;
    /*max-width: 100px;*/
    text-align: left;
    margin-left: 6px;

    font-size: 12px;
    line-height: 12px;
    white-space: normal;
    overflow: visible;
    font-weight: bold;
    /*height: 30px;*/
}


.gray{
    color:#777;
}
.f2-button.case-plan-adult-mode-btn .x-btn.x-btn-disabled.x-btn-pressed .x-btn-inner{
    opacity:80% !important;
    /* word-break: break-all; */
    /*color:#f8f8f8 !important;*/
}
.f2-button.case-plan-adult-mode-btn.collapsed .x-btn{
    display: inline-block;
    height:35px;
}

.f2-button.case-plan-adult-mode-btn.collapsed .x-btn-button.x-btn-text {
    display: block;
}

.case-list-colormark1{
    /*height: 26px;*/
    /*width: 26px;    */
    height: 19px;
    width: 19px;
    vertical-align: middle;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    display: inline-block;
}
.case-list-colormark2{
    height: 26px;
    width: 34px;
    vertical-align: middle;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    display: inline-block;
}

.f-grid-td .x-grid-cell-inner{
    padding: 5px 2px 4px;
}
.f-grid-td .flow-task-icon{
    margin: 1px;
}
.f-grid-td.overflow-visible .x-grid-cell-inner{
    overflow: visible;
}
.f-grid-header .x-column-header-inner{
    padding: 7px 4px;
}
.f-grid-header .x-column-header-text-inner{
    white-space: initial;
}

.case-list-colormark1.mark-color-1{
    background-color: #c2ddf2;
    border: 2px solid #3487c3;
}
.case-list-colormark1.mark-color-2{
    background-color: #ebec77;
    border: 2px solid #d4b355;
}
.case-list-colormark1.mark-color-3{
    background-color: #b1e296;
    border: 2px solid #6eb149;
}
.case-list-colormark1.mark-color-4{
    background-color: #dddddd;
    border: 2px solid #848484;
}
.case-list-colormark1.mark-color-5{
    background-color: #dc9cce;
    border: 2px solid #c333a4;
}
.case-list-colormark1.mark-color-6{
    background-color: #90efea;
    border: 2px solid #4ea0b9;
}
.case-list-colormark1.mark-color-7{
    background-color: #dddddd;
    border: 2px solid #848484;
}
.case-list-colormark1.mark-color-8{
    background-color: #f5893c;
    border: 2px solid #bb5105;
}
.case-list-colormark1.mark-color-9{
    background-color: #dddddd;
    border: 2px solid #848484;
}
.case-list-colormark1.mark-color-10{
    background-color: #91b33f;
    border: 2px solid #6a8822;
}
.case-list-colormark1.mark-color-11{
    /*background-color: #ec5338;*/
    background: repeating-linear-gradient(
            45deg,
            #fff,
            #fff 2px,
            #ec5338 3px,
            #ec5338 5px
    );
    border: 2px solid #e24e34;
}
.case-grid-warranty{
    position: absolute;
    right: 5px;
    bottom: 0;
    font-size: 10px;
    color: #0A8CC6;
}

.case-grid-tag{
    display: inline-block;
    font-size: 10px;
    padding: 1px 2px;
    border-radius: 2px;
    margin: 1px;
}
.tag-item{
    display: inline-block;
    font-size: 12px;
    padding: 2px 4px;
    border-radius: 3px;
    margin: 0 0 0 3px;
    color: #000;
    cursor: pointer;
}
.tag-item.big{
    font-size: 13px;
    padding: 3px 5px;
}

.quality-window-item{
    display: inline-block;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    width: 60px;
    height: 30px;
    line-height: 30px;
    border-radius: 3px;
    margin: 0 0 0 3px;
    color: #000;
    cursor: pointer;
}

.f-material-table-td-quality-icon{
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    width: 40px;
    height: 30px;
    line-height: 30px;
    margin: 4px auto;
    border-radius: 3px;
}
.f-material-table-td-quality-icon.quality-1{
    background-color: #ff543e;
}
.f-material-table-td-quality-icon.quality-2{
    background-color: #ffa260;
}
.f-material-table-td-quality-icon.quality-3{
    background-color: #fff983;
}
.f-material-table-td-quality-icon.quality-4{
    background-color: #9ebbff;
}
.f-material-table-td-quality-icon.quality-5{
    background-color: #6cca4d;
}

.case-stage-td-inner{
    padding: 2px 0;
    display: table-cell;
    vertical-align: middle;
    width: 160px;
    text-align: center;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 12px;
    white-space: normal;
    overflow: hidden;
    height: 30px;
}
.case-stage-td-inner.case-stage-color-blue{
    background-color: #d6e7f3;
    color: rgb(51, 25, 115);
}
.case-stage-td-inner.case-stage-color-gray{
    background-color: #dadada;
    color: rgb(74, 40, 57);
}
.f-menu-btn .x-btn-inner-default-toolbar-small {
    padding: 0 6px 0 0;
    line-height: 1px;
    vertical-align: middle;
}


.case-payment-row{
    text-align: left;
}

.case-payment-value {
    display: inline-block;
    vertical-align: middle;
}
.case-payment-dates{
    display: inline-block;
    vertical-align: middle;
}
.case-payment-row-type{
    padding: 1px 3px;
    border: 1px solid #fff;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
}
.case-payment-row.st-green .case-payment-row-type{
    background-color: #8ecd66;
    color: #023a02;
    border-color: #006100;
}
.case-payment-row.st-orange .case-payment-row-type{
    background-color: #f4c775;
    color: #b54f1a;
    border-color:  #cc571b;;
}
.case-payment-row.st-red .case-payment-row-type{
    background-color: #fccfbe;
    color: #ad3519;
    border-color: #d2451c;
}

.label-text{
    color:#666;
}
.bill-acquiring-list-icon{
    height: 12px;
    width: 12px;
    background-image: url("https://cdn.flexiligner.com/flexi/img/icons16/star2.png");
    position: absolute;
    top: 1px;
    right: 0;
    border: none;
}
.bill-pay-status{
    padding: 1px 3px;
    border: 1px solid rgba(0,0,0,0);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
}
.bill-pay-status.st-green{
    background-color: #8ecd66;
    color: #023a02;
    border-color: #006100;
}
.bill-pay-status.st-orange{
    background-color: #f4c775;
    color: #b54f1a;
    border-color:  #cc571b;;
}
.bill-pay-status.st-red{
    background-color: #fccfbe;
    color: #ad3519;
    border-color: #d2451c;
}

.case-payment-value{
    padding: 1px 3px;
}
.case-payment-value.st-green{
    color: green;
}
.case-payment-value.st-red{
    color: red;
}

.case-payment-dates{
    padding: 0 3px;
}
.case-payment-date-create, .case-payment-date-close{
    font-size: 10px;
    line-height: 10px;
    padding: 0;
}
.case-payment-date-create{
    color: #1b6d85;
}

.x-tab-bar.f-main-tab{

}
.x-tab-bar.f-main-tab .x-tab-bar-body{
    height: 48px !important;
}
.x-tab-bar.f-main-tab .x-box-inner{
    height: 48px !important;
}
.x-tab-bar.f-main-tab .x-tab{
    height: 34px !important;
}
.x-tab-bar.f-main-tab .x-tab-icon-el-default{
    padding-top:3px;
    color:#555;
    min-height: 24px;
}
.x-tab-bar.f-main-tab .x-tab-icon-left > .x-tab-icon-el-default{
    width: 24px;
}

.f-main-tab .x-tab-default{
    /*border-color: #c9deed;*/
    border-color: #bbd0de;
    background-color: #e9eef1;
}
.f-main-tab .x-tab-over.x-tab-default{
    border-color: #c9deed;
    background-color: #c9deed;
}
.f-main-tab .x-tab.x-tab-active.x-tab-over.x-tab-default {
    border-color: #3892d4;
    background-color: #3892d4;
}

.x-focus{
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

.x-tab-bar.f-main-tab2 .x-tab-bar-body{
    height: 48px !important;
}
.x-tab-bar.f-main-tab2 .x-box-inner{
    height: 48px !important;

}
.x-tab-bar.f-main-tab2 .x-tab{
    height: 34px !important;
}
.x-tab-bar.f-main-tab2 .x-tab-icon-el-default{
    padding-top:3px;
    color:#555;
    min-height: 24px;
}
.x-tab-bar.f-main-tab2 .x-tab-icon-left > .x-tab-icon-el-default{
    width: 24px;
}
.f-main-tab2 .x-tab-focus{
    /*border-color: #c9deed;*/
    box-shadow: none !important;
}
.f-main-tab2 .x-tab-default{
    /*border-color: #c9deed;*/
    border-color: #bbd0de;
    background-color: #e9eef1;
}
.f-main-tab2 .x-tab-over.x-tab-default{
    border-color: #c9deed;
    background-color: #c9deed;
}
.f-main-tab2 .x-tab.x-tab-active.x-tab-over.x-tab-default {
    border-color: #3892d4;
    background-color: #3892d4;
}


.f-case-tab-panel .f-case-tab-panel-tab .x-tab{
    display: inline-block !important;
    margin: 4px 0 4px 10px !important;
    z-index: 0;
    position: initial !important;
}
.f-case-tab-panel .f-case-tab-panel-tab .x-box-scroller{
    display: none;
}
.f-case-tab-panel .f-case-tab-panel-tab .x-box-inner.x-box-scroller-body-horizontal{
    margin: 0;
}
.f-case-tab-panel .f-case-tab-panel-tab .x-box-target{
    position: relative;

}


.f-case-tab-panel .x-tab-bar.f-case-tab-panel-tab{
    height: auto !important;
    position: relative !important;
    top: 0 !important;
}
.f-case-tab-panel .x-tab-bar.f-case-tab-panel-tab .x-tab-bar-body{
    /*height: 48px !important;*/
    height: auto !important;
}
.f-case-tab-panel .x-tab-bar.f-case-tab-panel-tab .x-box-inner{
    /*height: 48px !important;*/
    height: auto !important;
}
.f-case-tab-panel .x-tab-bar.f-case-tab-panel-tab .x-tab{
    height: 32px !important;
}
.f-case-tab-panel .x-tab-bar.f-case-tab-panel-tab .x-tab-icon-el-default{
    min-height: 24px;
    vertical-align: center;
}
.f-case-tab-panel .x-tab-bar.f-case-tab-panel-tab .x-tab-icon-left > .x-tab-icon-el-default{
    width: 24px;
}
.f-case-tab-panel .x-tab-bar.f-case-tab-panel-tab .x-tab-icon-left > .x-tab-icon-el-default.fas,
.f-case-tab-panel .x-tab-bar.f-case-tab-panel-tab .x-tab-icon-left > .x-tab-icon-el-default.far{
    padding:3px;
}

.f-case-tab-panel .f-case-tab-panel-tab .x-tab-default{
    /*border-color: #c9deed;*/
    border-color: #bbd0de;
    background-color: #e9eef1;
}
.f-case-tab-panel .f-case-tab-panel-tab .x-tab-over.x-tab-default{
    border-color: #c9deed;
    background-color: #c9deed;
}
.f-case-tab-panel .f-case-tab-panel-tab .x-tab.x-tab-active.x-tab-default {
    border-color: #3892d4 !important;
    background-color: #3892d4 !important;
}

.f-case-tab-panel .x-panel-body.f-case-tab-panel-body{
    position: initial !important;
    top: 0 !important;
}

.f-send-btn.x-btn-default-toolbar-small{
    background-color: #a0e56e;
    border-color: #6dbb45;

}
.f-send-btn.x-btn-default-toolbar-small:hover{
    background-color: #94d86f;
}
.f-send-btn.x-btn-default-toolbar-small .x-btn-inner-default-toolbar-small{
    color: #166304;
}


@-webkit-keyframes pulsate {
    from { opacity: 1.0; }
    40% { opacity: 1.0; }
    50% { opacity: 0.0; }
    90% { opacity: 0.0; }
    to { opacity: 1.0; }
}
@keyframes pulsate {
    from { opacity: 1.0; }
    40% { opacity: 1.0; }
    50% { opacity: 0.0; }
    90% { opacity: 0.0; }
    to { opacity: 1.0; }
}
.f-case-delivery-new{
    left: -3px;
    margin-top: -3px;
    position: absolute;
    z-index: 22222000000;
    line-height: 11px;
    font-size: 11px;
    color: white;
    background-color: #63a4d2;
    border: 1px solid #63a4d2;
    padding: 4px 3px;
    border-radius: 2px;
    font-weight: bold;
    -webkit-animation: pulsate 2s linear infinite;
    animation: pulsate 2s linear infinite;
}

.f-approve-btn.x-btn-default-toolbar-small{
    background-color: #a0e56e;
    border-color: #6dbb45;

}
.f-approve-btn.x-btn-default-toolbar-small:hover{
    background-color: #94d86f;
}
.f-approve-btn.x-btn-default-toolbar-small .x-btn-inner-default-toolbar-small{
    color: #166304;
}

.f-decline-btn.x-btn-default-toolbar-small{
    background-color: #fed4d3;
    border-color: #ec5338;

}
.f-decline-btn.x-btn-default-toolbar-small:hover{
    background-color: #f8cecd;
}
.f-decline-btn.x-btn-default-toolbar-small .x-btn-inner-default-toolbar-small{
    color: #e24e34;
}

.f-blue-btn.x-btn-default-toolbar-small{
    border-color: #2f7ab2;
    background-color: #c9deed;
    /*background-color: #94cbf1;*/
}

.f-blue-btn.x-btn-default-toolbar-small .x-btn-inner-default-toolbar-small{
    color: #0c3f63;
}
.f-blue-btn.x-btn-default-toolbar-small:hover{
    background-color: #8bc2e8;
    border-color: #1375BC;
}
/*.f-blue-btn.x-btn-default-toolbar-small .x-btn-inner-default-toolbar-small{*/
/*color: #fff;*/
/*}*/
.f-blue-btn.x-btn-disabled.x-btn-default-toolbar-small{
    border-color: #d8d8d8;

}
/*.f-blue-btn.x-btn-disabled.x-btn-default-toolbar-small .x-btn-inner-default-toolbar-small{*/
/*color: #666;*/
/*}*/

.f-normal-btn  {
    background-color: #f5f5f5;
    border-color: #d8d8d8;
}
.f-normal-btn .x-btn-inner{
    white-space: normal;
}
.f-normal-btn .x-btn-inner-default-small, .f-normal-btn .x-btn-inner-default-medium{
    color: #000;
}
.f-normal-btn .x-btn-icon-el{
    color: #777777;
}

.f-normal-btn.x-btn-over{
    background-color: #ececec;
    border-color: #cfcfcf;
    background-image: none;
}
.x-btn.f-normal-btn.pressed{
    background-color: #e2e2e2;
    border-color: #c7c7c7;
    background-image: none;
}
.x-btn.f-normal-btn.x-btn-focus{
    background-color: #f5f5f5;
    background-image: none;
}
.x-btn.f-normal-btn.x-item-disabled{
    background-color: #e2e2e2;
    background-image: none;
}


.f-red-btn{
    background-color: #fed4d3;
    border-color: #ec5338;
}
.f-red-btn .x-btn-inner{
    white-space: normal;
}
.f-red-btn.x-btn-over{
    background-color: #f8cecd;
    border-color: #ec5338;
}
.f-red-btn .x-btn-inner-default-small, .f-red-btn .x-btn-inner-default-medium{
    color: #e24e34;
}
.x-btn.f-red-btn.x-btn-pressed{
    background-color: #f3c9c8;
    border-color: #ec5338;
}
.x-btn.f-red-btn.x-btn-focus{
    background-color: #fed4d3;
    background-image: none;
}

.f-green-btn{
    background-color: #a0e56e;
    border-color: #6dbb45;
}
.f-green-btn .x-btn-inner{
    white-space: normal;
}
.f-green-btn.x-btn-over{
    background-color: #94d86f;
    border-color: #6dbb45;
}
.f-green-btn .x-btn-inner-default-small, .f-green-btn .x-btn-inner-default-medium{
    color: #166304;
}
.x-btn.f-green-btn.x-btn-pressed{
    background-color: #8ed269;
    border-color: #6dbb45;
}
.x-btn.f-green-btn.x-btn-focus{
    background-color: #a0e56e;
    background-image: none;
}
.x-btn.f-green-btn.x-item-disabled{
    background-color: #a0e56e;
}


.f-orange-btn{
    background-color: #ffd686;
    border-color: #ff8c08;
}
.f-orange-btn .x-btn-inner{
    white-space: normal;
}
.f-orange-btn.x-btn-over{
    background-color: #f9d07f;
    border-color: #ff8c08;
}
.f-orange-btn .x-btn-inner-default-small, .f-orange-btn .x-btn-inner-default-medium{
    color: #aa360d;
}

.x-btn.f-orange-btn.x-btn-pressed{
    background-color: #f4c775;
    border-color: #fb8808;
}
.x-btn.f-orange-btn.x-btn-focus{
    background-color: #ffd686;
    background-image: none;
}

.f-purple-btn{
    background-color: #fceaff;
    border-color: #c962d0;
}
.f-purple-btn .x-btn-inner{
    white-space: normal;
}
.f-purple-btn.x-btn-over{
    background-color: #f0baf4;
    border-color: #bd60c4;
}
.f-purple-btn .x-btn-inner-default-small, .f-purple-btn .x-btn-inner-default-medium{
    color: #aa0387;
}
.x-btn.f-purple-btn.x-btn-pressed{
    background-color: #e4afe8;
    border-color: #ac5ab3;
}
.x-btn.f-purple-btn.x-btn-focus{
    background-color: #fceaff;
    background-image: none;
}

.f-greyblue-btn{
    background-color: #8dccc6;
    border-color: #137e8c;
}
.f-greyblue-btn .x-btn-inner{
    white-space: normal;
}
.f-greyblue-btn.x-btn-over{
    background-color: #81c1bb;
    border-color: #137684;
}
.f-greyblue-btn .x-btn-inner-default-small, .f-greyblue-btn .x-btn-inner-default-medium{
    color: #021417;
}
.x-btn.f-greyblue-btn.x-btn-pressed{
    background-color: #7abbb5;
    border-color: #136e7c;
}
.x-btn.f-greyblue-btn.x-btn-focus{
    background-color: #8dccc6;
    background-image: none;
}

.x-btn.f-toggle.x-btn-pressed{
    background-color: #c9deed;
    border-color: #4297d4;
}



/* FLOWS*/
.f-flow-item-container{
    height: 142px;
    padding: 4px 10px 10px 10px;
    background-color: #e8eef3;
    border: 1px solid #d4e2ec;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.f-flow-blow{
    height: 100px;
    margin: 0;
    width: 100px;
    display: inline-block;
    /*padding: 6px;*/
    /*border: 1px solid #d5d5d5;*/
    /*background-color: #dddddd;*/
    vertical-align: bottom;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}
.f-flow-blow.f-actual{
    border: 2px solid #469dce;
}

.f-flow-blow .f-inner{
    height: 92px;
    width: 92px;
    display: inline-block;
    padding: 4px;
    font-style: italic;
    margin: 2px;
    border: 1px solid #d5d5d5;
    background-color: #dddddd;
    vertical-align: bottom;
    font-size: 10px;
    line-height: 15px;
    color: #00060d;
    font-weight: 500;
    text-decoration: underline;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.f-flow-right-arrow {
    width: 16px;
    height: 16px;
    background-image: url("https://cdn.flexiligner.com/flexi/img/icons16/arrow-right.png");
    margin: 42px 5px 0 5px;
    display: inline-block;
    vertical-align: top;
}
.f-flow-right-arrow.f-not-yet{
    background-image: url("https://cdn.flexiligner.com/flexi/img/icons16/arrow-right-gray.png");

}
.f-flow-title{
    font-size: 14px;
    font-style: italic;
    color: #6d6d6d;
    margin-bottom: 5px;
}

.f-flow-blow.f-stage-filling-info .f-inner {
    background-color: #dccede;
}
.f-flow-blow.f-stage-preparing .f-inner{
    background-color: #94d86f;
}


/*.f-green-case-message{*/
/*color: #38831e;*/
/*background-color: #daf3c8;*/
/*padding: 5px;*/
/*-webkit-border-radius: 5px;*/
/*-moz-border-radius: 5px;*/
/*border-radius: 5px;*/
/*}*/
.f-green-case-message{
    color: #254e0f;
    background-color: #d9fbc6;
    padding: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    left:0;
    right:8px;
    margin-right:8px;
}
.f-gold-case-message{
    color: #94601a;
    background-color: #fdf8c6;
    padding: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    left:0;
    right:8px;
    margin-right:8px;
}
.f-grey-case-message{
    color: #363636;
    background-color: #e8e8e8;
    padding: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    left:0;
    right:8px;
    margin-right:8px;
}
.f-blue-case-message{
    color: #0a5ea9;
    background-color: #e2eef7;
    padding: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    left:0;
    right:8px;
    margin-right:8px;
}

/*.patients-grid*/
.x-grid-item-focused .x-grid-cell-inner:before {
    border: none !important;
}


.x-tab.x-tab-active.x-tab-default {
    border-color: #63a4d2 !important;
    background-color: #63a4d2 !important;
}

.f-doctor-status-filter .x-btn{
    background-color: #e9eef1;
}
.f-doctor-status-filter .x-btn.x-btn-over{
    background-color: #bacddc;
}
.f-doctor-status-filter .x-btn-pressed{
    border-color: #bacddc !important;
    background-color: #c9deed !important;
}
.f-doctor-status-filter .x-btn-pressed.x-btn-over{
    background-color: #bacddc !important;
}
.f-doctor-status-filter  .x-btn-pressed .x-btn-inner{
    color:black !important;
}
.f-doctor-delivery-status{
    padding:2px 4px;
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;
}
.f-doctor-delivery-status.waiting{
    background-color: #ffcbc5;
    border-color: #d07c86;
}
.f-doctor-delivery-status.finished{
    background-color: #98ca73 !important;
    border-color: #668450;
}
.f-doctor-delivery-status.delivery{
    background-color: #ffe89d !important;
    border-color: #d3a340;
}
.f-doctor-delivery-status.new{
    background-color: #a6d7ff !important;
    border-color: #438ad3;
}
.f-filter-doctor-status{
    border: 1px solid #888;
    color: #222;
    border-radius: 5px;
    width: 22px;
    height: 20px;
    background-color: white;
    padding: 0;
    text-align: center;
    font-size: 11px;
    margin: 0 0 0 7px;
    display: inline-block;
}
.f-filter-toolbar{
    /*margin-bottom: 5px;*/
}
.f-filter-toolbar .x-box-inner{
    background-color: rgb(242, 246, 249);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.f-filter-toolbar-title{
    font-size: 15px;
    font-weight: 500;
}
.f-tooltip-close-button{
    margin-left:3px;
}
.f-tooltip-close-button .x-btn-inner{
    height:16px;
    line-height: 16px;
    font-size: 12px;
    color: #2d2d2d;

    border-bottom: 1px dotted #2d2d2d;
}

.x-btn.search-button.x-btn-focus {
    border-color: #d8d8d8 !important;
    background-color: #f5f5f5 !important;
}
.search-field .x-form-trigger-wrap-focus{
    border-color:  #afafaf !important;
    /*background-color: #f5f5f5;*/
}
.search-button{
    border-color: #d8d8d8;
    background-color: #f5f5f5;
}

.search-button .x-btn-icon-el{
    color:#666 !important;
}
.x-btn-over.search-button {
    background-color: rgb(236,236,236) !important;
    border-color: #d8d8d8 !important;
}
.f-delivery-action-btn{
    width:22px;
    padding:0 2px;
}

/*--ЧАТ--*/
.chat-body{
    background-image: url('https://cdn.flexiligner.com/flexi/img/bg_repeat2.gif');
    border: 1px solid #e2e2e2;
    overflow-y: auto;
}
.chat-body-inner{
    min-height: 432px;
}

.chat-message-wrap{
    padding: 0 30px 0 10px;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -o-transition: 1s;
    -ms-transition: 1s;
    transition: 1s;

}
.chat-message-container{
    float: right;
    min-width: 100px;
    max-width: 500px;
    position: relative;
    margin: 4px 0;
}
.chat-message-text{
    padding:  4px 8px;
    background-color: #e0ebf3;
    border: 1px solid #9cc9e9;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    font-size: 15px;
}
.chat-message-dest{
    color: #be5200;
    font-style: italic;
}
.chat-float-clean{
    clear: both;
}
.chat-message-time{
    color: #8d8d8d;
    font-size: 11px;
    text-align: right;
}
.chat-message-fio{
    color: #2a6e9f;
    font-size: 12px;
    font-weight: bold;
    text-align: right;
}
.chat-msg-role{
    color: #2b87ba;
    font-size: 13px;
    margin-right: 5px;
}

.hidden-input-file{
    display: none;
}

.chat-message-container.chat-msg-not-mine{
    float: left;
}
.chat-message-container.chat-msg-not-mine .chat-message-time, .chat-message-container.chat-msg-not-mine .chat-message-fio{
    text-align: left;
}
.chat-message-container.chat-msg-system{
    float: none;
    width: 100%;
    max-width: 100%;
}
.hide-system-messages .chat-msg-system{
    display: none;
}

.chat-msg-table-hidden{
    display: none;
}

.chat-message-container.chat-mine{
    float: right;
}
.chat-message-container.chat-mine .chat-message-time, .chat-message-container.chat-msg-not-mine .chat-mine{
    text-align: right;
}
.chat-message-container.chat-msg-system .chat-message-text{
    background-color: #f1f1f1;
    border: 1px solid #e2e2e2;
    color: #363636;
    font-size: 12px;
    font-style: italic;
}
.chat-message-container.chat-mine .chat-message-text{
    background-color: #aae69c;
    border: 1px solid #94d86f;
    color: #044410;
}

.chat-message-container.chat-ours .chat-message-text{
    background-color: rgb(255, 229, 253);
    border: 1px solid #f1c3ee;
    color: #920587;
}
.chat-message-wrap.chatnewmsg{
    background-color: rgba(213, 179, 222, 0.18);
}

.message-attachment{
    padding: 2px;
    width: 106px;
    height: 106px;
    margin-right: 6px;
    margin-top: 6px;
    background-color: rgba(255,255,255,0.8);
    border: 1px solid #4CAF50;
    display: inline-block;
    cursor: pointer
}
.message-attachment:hover{
    background-color: rgb(255,255,255);
}
.message-attachment img{
    border: 0;
    padding: 0;
    margin: 0;
    width: 100px;
    height: 100px;
}
.message-attachment-block{
    text-align: right;
}

.chat-refresh-btn{
    width: 16px;
    height: 16px;
    position: sticky;
    float:right;
    right: 2px;
    bottom: 2px;
    cursor: pointer;
    opacity: 1;
}
.chat-remove-btn{
    width: 16px;
    height: 16px;
    margin-left:5px;
    cursor: pointer;
    opacity: 0.8;
    background-image: url('https://cdn.flexiligner.com/flexi/img/icons16/Delete.png');
    line-height: 16px;
}
/*-------*/

/*----------------ПРОСМОТР ФОТОГРАФИЙ-----------*/
#ux-image-viewer {
    position: fixed;
    height: 100%;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 25000;
    text-align: center;
    line-height: 0;
}
#image-loading-icon{
    position: absolute;
    height: 128px;
    width: 128px;
    z-index: 10;
    background-image: url('https://cdn.flexiligner.com/flexi/img/loadbig.gif');
}

.image-mirror-h{
    transform: scale(-1, 1);
}
.image-mirror-v{
    transform: scale(1, -1);
}
.image-mirror-vh{
    transform: scale(-1, -1);
}
.gallery-container{
    overflow-y: auto;
    background-color: #808080;
}
.gallery-container::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(226, 226, 226, 0.62);
    background-color: #F5F5F5;
}
.gallery-container::-webkit-scrollbar
{
    width: 8px;
    background-color: #F5F5F5;
}
.gallery-container::-webkit-scrollbar-thumb
{
    background-color: #2b87ba;
    border: 1px solid #2f7ab2;
}


.gallery-item{
    margin: 4px 0 1px 5px;
    /*width: 100px;*/
    display: inline-block;
    cursor: pointer;
    border: 4px solid #808080;
    position: relative;
}
.gallery-item.selected{
    border-color: #e0ebf3;
}
.gallery-item img{
    border: 1px solid #c7c3c3;
}
.gallery-item.selected img{
    border-color:  #C7C3C3;
}
/*----------------------------------------------*/



/*------------------------ДИАГРАМА ПОТОКА---------------------------------*/
.flow-dia-container{
    width: 740px;
    overflow: auto;
    position: relative;
    display: inline-block;
}

.flow-dia-pointers{
    display: inline-block;
    vertical-align: top;
    color: #3892d4;
    font-size: 13px;
    padding-top: 18px;
}
.flow-dia-pointer-item{
    height: 32px
}
.flow-dia-pointer-title{
    display: inline-block;
    width: 94px;
}
.flow-dia-pointer-value{
    display: inline-block;
    font-weight: bold;
    width: 44px;
    font-size: 15px;
}

.flow-dia-dias{
    display: inline-block;
    vertical-align: top;
    padding-top: 12px;
}

.flow-dia-dias a{
    padding: 3px 6px;
    border: 1px solid #9C27B0;
    background-color: #fcecff;
    /*font-weight: bold;*/
    color: #9C27B0 !important;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin-bottom: 8px;
    display: inline-block;
    font-size: 12px;
    text-decoration: none !important;
}
.flow-dia-dias .diabox-meta-ct{
    font-weight: bold;
    font-size: 12px;
    vertical-align: middle;
}

.no-actual-flow .flow-dia-container{
    filter: grayscale(80%);
}
.no-actual-flow .flow-dia-pointers{
    filter: grayscale(80%);
}
.no-actual-flow .flow-dia-dias{
    filter: grayscale(80%);
}
.flow-dia-container > .flow-dia-name{
    position: absolute;
    top: 5px;
    left: 10px;
    z-index: 100;
    /*font-weight: bold;*/
    color: #0065ae;
    font-size: 11px;
}

.flow-dia-container > .flow-task-list{
    position: absolute;
    top: 2px;
    left: 140px;
    z-index: 100;
}

.is-10-stage .flow-dia-container > .flow-dia-name{
    font-size: 9px;
    margin-left: -3px;
}

.flow-dia-inner{
    position: relative;
    width: 740px;
}
.steps-3 .flow-dia-inner{
    width: 1170px;
}
.steps-4 .flow-dia-inner{
    width: 1450px;
}

.flow-dia-layer-1{
    height:75px;
}
.flow-dia-layer-2{
    position: absolute;
    height:75px;
    z-index: 10;
    top: 0;
    left: 0;

}
.flow-dia-content{
    height: 75px;
    padding: 25px 10px 0px 10px;
    display: table;
    font-size: 0;
}
.flow-dia-item-container{
    display: inline-block;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}


.flow-dia-item{
    -webkit-border-radius: 3px;
    -moz-border-radius:3px;
    border-radius: 3px;
    height: 42px;
    width: 80px;
    /*background-color: #3892d4;*/
    background-color: #63a4d2;
    display: table-cell;
    /*overflow: hidden;*/
    vertical-align: middle;
    color: #ffffff;
    text-align: center;
}
.flow-dia-item-title{
    vertical-align: middle;
    /*width: 80px;*/
    display: inline-block;
    text-align: center;
    /* overflow: hidden;*/
    font-size: 12px;


}

.flow-dia-connector{
    display: inline-block;
    vertical-align: middle;
    height: 2px;
    /*background-color: #3892d4;*/
    background-color: #63a4d2;

    width: 20px;
    margin-bottom: 0;
    border: none;

}
/*.flow-dia-item-info{*/
/*position: absolute;*/
/*top: 75px;*/
/*}*/
.flow-dia-progress-back{
    height: 75px;
    width: 100px;
    background-color: #c2ddf2;;

}

.flow-task-icon{
    height: 21px;
    width: 21px;
    display: inline-block;
    margin: 0 3px 0 0;
    border: 1px solid #63a4d2;
    /*border: 1px solid #3892d4;*/
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background-color: #e9eef1;
    padding: 2px;
}
.flow-task-icon.alert-icon{
    border-color: #da4e2a;
    background-color: #ff9a85;
}

.flow-dia-info-container{
    padding: 2px 8px;
    background-color: #c2ddf2;
    border: 1px solid #3892d4;
    color: #0065ae;
    font-size: 12px;
    display: none;
}
.flow-dia-info-container.show{
    display: block;
}
.flow-dia-info-value{
    font-style: italic;
    color: #aa360d;
}
.flow-dia-info-value.dia-scheme{
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

.case-list-task-item{
    width: 100px;
    padding: 0;
    margin: 0;
    display: flex;
    height: 23px;
}
.case-list-task-right-cont{
    padding: 0;
    margin: 0 0 0 2px;
    height: 23px;
    display: flex;
    flex-direction: column;
}
.case-list-task-date{
    display: inline-block;
    font-size: 9px;
    margin: 2px 0 0 0;
    line-height: 8px;
    height: 9px;
    vertical-align: top;
    white-space: normal;
    font-family: verdana;
}
.case-list-task-user{
    display: inline-block;
    font-size: 9px;
    white-space: normal;
    line-height: 9px;
    height: 10px;
    vertical-align: top;
    font-family: verdana;
    color: #0e3653;
}

.flow-dia-container .flow-dia-item-container.stage-50{
    display: none;
}
.stage-50 .flow-dia-item{
    width: 84px;
}
.flow-dia-container .flow-dia-item-container.stage-60{
    display: none;
}

.flow-dia-container .flow-dia-item-container.stage-50-1{
    display: none;
}
.stage-50-1 .flow-dia-item{
    width: 84px;
}
.flow-dia-container .flow-dia-item-container.stage-60-1{
    display: none;
}

.flow-dia-container .flow-dia-item-container.stage-70{
    display: none;
}
.stage-70 .flow-dia-item{
    width: 84px;
}
.flow-dia-container .flow-dia-item-container.stage-80{
    display: none;
}

.flow-dia-container .flow-dia-item-container.stage-90{
    display: none;
}
.stage-90 .flow-dia-item{
    width: 84px;
}
.flow-dia-container .flow-dia-item-container.stage-100{
    display: none;
}

.flow-dia-container .flow-dia-connector.stage-50{
    display: none;
}
.flow-dia-container .flow-dia-connector.stage-60{
    display: none;
}
.flow-dia-container .flow-dia-connector.stage-50-1{
    display: none;
}
.flow-dia-container .flow-dia-connector.stage-60-1{
    display: none;
}
.flow-dia-container .flow-dia-connector.stage-70{
    display: none;
}
.flow-dia-container .flow-dia-connector.stage-80{
    display: none;
}
.flow-dia-container .flow-dia-connector.stage-90{
    display: none;
}
.flow-dia-container .flow-dia-connector.stage-100{
    display: none;
}



.steps-1 .flow-dia-connector.stage-50,
.steps-1 .flow-dia-connector.stage-60,
.steps-1 .flow-dia-item-container.stage-50,
.steps-1 .flow-dia-item-container.stage-60
{
    display: inline-block;
}

.steps-2 .flow-dia-connector.stage-50-1,
.steps-2 .flow-dia-connector.stage-60-1,
.steps-2 .flow-dia-item-container.stage-50-1,
.steps-2 .flow-dia-item-container.stage-60-1,
.steps-2 .flow-dia-connector.stage-70,
.steps-2 .flow-dia-connector.stage-80,
.steps-2 .flow-dia-item-container.stage-70,
.steps-2 .flow-dia-item-container.stage-80
{
    display: inline-block;
}

.steps-3 .flow-dia-connector.stage-50-1,
.steps-3 .flow-dia-connector.stage-60-1,
.steps-3 .flow-dia-item-container.stage-50-1,
.steps-3 .flow-dia-item-container.stage-60-1,
.steps-3 .flow-dia-connector.stage-70,
.steps-3 .flow-dia-connector.stage-80,
.steps-3 .flow-dia-item-container.stage-70,
.steps-3 .flow-dia-item-container.stage-80,
.steps-3 .flow-dia-connector.stage-90,
.steps-3 .flow-dia-connector.stage-100,
.steps-3 .flow-dia-item-container.stage-90,
.steps-3 .flow-dia-item-container.stage-100
{
    display: inline-block;
}



.is-10-stage .flow-dia-progress-back{
    width: 110px;
}
.is-10-stage .flow-dia-item-container.stage-10 .flow-dia-item{
    padding: 1px 5px;
    height: 40px;
    width: 90px;
    border: 2px solid #3892d4;
    background-color: #fff;
    color: #3892d4;

    /*border: 2px solid #c14fa3;*/
    /*background-color: #f7dcf5;*/
    /*color: #c14fa3;*/
}


.is-20-stage .flow-dia-progress-back{
    width: 210px;
}
.is-20-stage .flow-dia-item-container.stage-20 .flow-dia-item{
    padding: 1px 5px;
    height: 42px;
    width: 90px;
    border: 2px solid #3892d4;
    background-color: #fff;
    color: #3892d4;
    /*border: 2px solid #c14fa3;*/
    /*background-color: #f7dcf5;*/
    /*color: #c14fa3;*/
}

.is-30-stage .flow-dia-progress-back{
    width: 310px;
}
.retainer-flow.is-30-stage .flow-dia-progress-back{
    width: 210px;
}
.is-30-stage .flow-dia-item-container.stage-30 .flow-dia-item{
    padding: 1px 5px;
    width: 90px;
    height: 42px;
    border: 2px solid #3892d4;
    background-color: #fff;
    color: #3892d4;
    /*border: 2px solid #c14fa3;*/
    /*background-color: #f7dcf5;*/
    /*color: #c14fa3;*/
}

.is-40-stage .flow-dia-progress-back{
    width: 410px;
}
.is-40-stage .flow-dia-item-container.stage-40 .flow-dia-item{
    padding: 1px 5px;
    width: 90px;
    height: 42px;
    border: 2px solid #3892d4;
    background-color: #fff;
    color: #3892d4;

    /*border: 2px solid #c14fa3;*/
    /*background-color: #f7dcf5;*/
    /*color: #c14fa3;*/
}

.is-50-stage .flow-dia-progress-back{
    width: 515px;
}
.retainer-flow.is-50-stage .flow-dia-progress-back{
    width: 310px;
}
.is-50-stage .flow-dia-item-container.stage-50 .flow-dia-item,
.is-50-stage .flow-dia-item-container.stage-50-1 .flow-dia-item{
    padding: 1px 5px;
    width: 90px;
    height: 42px;
    background-color: #fff;
    border: 2px solid #3892d4;
    color: #3892d4;

    /*border: 2px solid #c14fa3;*/
    /*background-color: #f7dcf5;*/
    /*color: #c14fa3;*/
}

.is-60-stage .flow-dia-container .flow-dia-progress-back{
    width: 615px;
}
.is-60-stage .flow-dia-item-container.stage-60 .flow-dia-item,
.is-60-stage .flow-dia-item-container.stage-60-1 .flow-dia-item{
    padding: 1px 5px;
    width: 90px;
    height: 42px;
    background-color: #fff;
    border: 2px solid #3892d4;
    color: #3892d4;
    /*border: 2px solid #c14fa3;*/
    /*background-color: #f7dcf5;*/
    /*color: #c14fa3;*/
}

.is-70-stage .flow-dia-progress-back{
    width: 715px;
}
.is-70-stage .flow-dia-item-container.stage-70 .flow-dia-item{
    padding: 1px 5px;
    width: 90px;
    height: 42px;
    background-color: #fff;
    color: #3892d4;
    border: 2px solid #3892d4;
    /*border: 2px solid #c14fa3;*/
    /*background-color: #f7dcf5;*/
    /*color: #c14fa3;*/
}

.is-80-stage .flow-dia-progress-back{
    width: 815px;
}
.is-80-stage .flow-dia-item-container.stage-80 .flow-dia-item{
    padding: 1px 5px;
    width: 90px;
    height: 42px;
    background-color: #fff;
    border: 2px solid #3892d4;
    color: #3892d4;

    /*border: 2px solid #c14fa3;*/
    /*background-color: #f7dcf5;*/
    /*color: #c14fa3;*/
}
.is-90-stage .flow-dia-progress-back{
    width: 915px;
}
.is-90-stage .flow-dia-item-container.stage-90 .flow-dia-item{
    padding: 1px 5px;
    width: 90px;
    height: 42px;
    background-color: #fff;
    border: 2px solid #3892d4;
    color: #3892d4;
    /*border: 2px solid #c14fa3;*/
    /*background-color: #f7dcf5;*/
    /*color: #c14fa3;*/
}
.is-100-stage .flow-dia-progress-back{
    width: 1015px;
}
.is-100-stage .flow-dia-item-container.stage-100 .flow-dia-item{
    padding: 1px 5px;
    width: 90px;
    height: 42px;
    background-color: #fff;
    border: 2px solid #3892d4;
    color: #3892d4;
    /*border: 2px solid #c14fa3;*/
    /*background-color: #f7dcf5;*/
    /*color: #c14fa3;*/
}
.is-130-stage .flow-dia-progress-back{
    width: 715px;
}
.retainer-flow.is-130-stage .flow-dia-progress-back{
    width: 415px;
}
.is-130-stage .flow-dia-item-container.stage-130 .flow-dia-item{
    padding: 1px 5px;
    width: 90px;
    height: 42px;
    background-color: #fff;
    border: 2px solid #3892d4;
    color: #3892d4;
    /*border: 2px solid #c14fa3;*/
    /*background-color: #f7dcf5;*/
    /*color: #c14fa3;*/
}

.steps-2.is-130-stage .flow-dia-progress-back{
    width: 915px;
}
.steps-3.is-130-stage .flow-dia-progress-back{
    width: 1115px;
}
/*------------------------------------------------*/
.vertical-align-top{
    vertical-align: top;
}
.f-delivery-scan-choose .x-btn.x-btn-pressed.x-btn-default-toolbar-small {
    border-color: #2f7ab2;
    background-image: none;
    background-color: #3892d4;
}
.f-delivery-scan-choose .x-btn.x-btn-pressed.x-btn-default-toolbar-small .x-btn-inner-default-toolbar-small{
    color: #fff;
}


.f-mask-comment{
    display: inline-block;
    font-style: italic;
    cursor: pointer;
    color: #0065ae;
}
.f-mask-comment:hover{
    text-decoration: underline;
}
/*/-------------Файлы---------*/
.f-attachment{
    min-width: 240px;
}
.f-attachment-icon{
    display: inline-block;
    width: 32px;
    height: 32px;
    margin: 4px 0;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons32/Attach.png);
}
.f-attachment-text{
    display: inline-block;
    min-width: 148px;
    vertical-align: top;
    margin-top: 4px;
}
.f-attachment-name{
}
.f-attachment-info{
    font-size: 12px;
    font-style: italic;
}
.f-attachment-size{
    display: inline-block;
}
.f-attachment-date{
    display: inline-block;
    margin: 0 0 0 10px;
}
.f-attachment-download{
    /*display: inline-block;*/
    display: none;
    margin: 12px 4px 12px 4px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/drive-download.png) !important;
}
.f-attachment-delete{
    /*display: inline-block;*/
    display: none;
    margin: 12px 4px 12px 2px;
    width: 12px;
    height: 12px;
    cursor: pointer;
    background-size: cover;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/Delete.png) !important;
}
.f-attachment-upload{
    /*display: inline-block;*/
    vertical-align: top;
    margin-top: 10px;
    width: 300px;
    height: 40px;

}
.f-attachment-comment-container{
    display: none;
    /*height: 44px;*/
    vertical-align: top;
}
.f-attachment-comment-table{
    display: table;
    height: 44px;
}
.f-attachment-comment{
    display: table-cell;
    height: 44px;
    vertical-align: middle;
    cursor: pointer;
    width: 100px;
}
.f-attachment-comment:hover{
    text-decoration: underline;


}

.f-static-attachment{
    width: 240px;
    line-height: 32px;
    overflow: hidden;
}
.f-static-attachment-icon{
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-right: 6px;

}
.f-static-attachment-icon.attachment-icon-doc{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons32/document.png);
}
.f-static-attachment-icon.attachment-icon-video{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons32/film.png);
}
.f-static-attachment-icon.attachment-icon-ortho{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons32/tooth.png);
}
.f-static-attachment-name{
    display: inline-block;
    max-width: 154px;
    vertical-align: top;
    font-size: 14px;
    line-height: 16px;
    word-break: break-all;
    /*margin-top: 4px;*/
}
.f-static-attachment-download{
    display: inline-block;
    margin-left: 6px;
    margin-top: 8px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    vertical-align: top;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/drive-download.png) !important;
}
.f-static-attachment-delete{
    display: inline-block;
    margin: 12px 8px 12px 4px;
    width: 12px;
    height: 12px;
    cursor: pointer;
    background-size: cover;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/Delete.png) !important;
}

/*------------------*/
/*------------------*/
.f-autohide-msg{
    height: 70px !important;
    background-color: #5499e3;
    text-align: center;

}
.f-autohide-msg .x-box-item {
    background-color: #5499e3;
    color: #fff;
    font-size: 16px;
    height: 70px;
    /*vertical-align: middle;*/
    /*padding-top: 7px;*/
}
.f-autohide-msg .x-component.x-window-text.x-box-item.x-component-default{
    padding-top: 7px;
}

.grid-new-message{
    /*float: right;*/
    position: absolute;
    top: 8px;
    right: 4px;
    z-index: 100;
    font-weight: bold;
    margin-top: 12px;
    color: #2a6ea0;
}
.grid-new-message img{
    margin: -4px 0 0 4px;
    vertical-align: middle;
}

/*---------Мигающий текст---------*/
.blink-text-red {
    color: #d64013;
    font-weight: bold;
    text-decoration: underline;
    -webkit-animation: blink 1s linear infinite;
    animation: blink 1s linear infinite;
}
@-webkit-keyframes blink {
    100% { color: rgba(34, 34, 34, 0); }
}
@keyframes blink {
    100% { color: rgba(34, 34, 34, 0); }
}
/*-----------------------------------*/

.upper-tooth-dia{
    background-image: url(https://cdn.flexiligner.com/flexi/img/zub_upper4.png);
}
.lower-tooth-dia{
    background-image: url(https://cdn.flexiligner.com/flexi/img/zub_lower4.png);
}




.task-panel-title{
    font-size: 16px;
    text-decoration: underline;
    margin-bottom: 15px;
}


/*----------------------------*/
.caselist-task-deadline{
    width: 70px;
    text-align: center;
    display: inline-block;
    white-space: normal;
}
.caselist-task-points{
    width: 50px;
    text-align: center;
    display: inline-block;
    white-space: normal;
}

.task-point{
    width: 16px;
    height: 16px;
    display: inline-block;
    /*margin-top: 6px;*/

}
.task-point.blue{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/point_blue.png);
}
.task-point.orange{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/point_orange.png);
}
.task-point.white{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/point_white.png);
}

.task-panel .x-panel-body{
    background-image: url('https://cdn.flexiligner.com/flexi/img/bg_repeat2.gif');
}

/*----------Диагностика---------------*/
.diagnostics-container{
    border: 5px solid #c2ddf2;
    -webkit-border-radius: 4px;
    -moz-border-radius:4px;
    border-radius: 4px;
}
.diagnostics-container.non-actual{
    filter: grayscale(60%);
}
.diagnostics-container.approved{
    border: 5px solid #b1e296;
}
.diagnostics-approved-icon{
    height: 32px;
    width: 32px;
    position: absolute;
    top: -7px;
    right: -7px;
    background-image: url('https://cdn.flexiligner.com/flexi/img/icons32/accept.png');
    z-index: 1000;
}
.diagnostics-finance-block{
    position: absolute;
    z-index: 100;
    background: linear-gradient(45deg, rgba(221, 67, 10, 0.13) 49.9%, rgba(221, 67, 10, 0.48) 49.9%, rgba(221, 67, 10, 0.48) 60%, rgba(221, 67, 10, 0.13) 60% ), linear-gradient(45deg, rgba(221, 67, 10, 0.48) 10%, rgba(221, 67, 10, 0.13) 10% );
    background-size: 0.5em 0.5em;
    top: 0;
    height: 100%;
    width: 100%;
    text-align: center;
}
.diagnostics-finance-block-title{
    color: #226ca2;
    margin-top: 100px;
    font-size: 40px;
    text-align: center;
}

.diagnostics-container .wrapper{
    padding: 10px 0 10px 10px;
}
.diagnostics-container .orthocheck-title{
    font-size: 18px;
    font-weight: bold;
}
.diagnostics-container .orthocheck-count-info{
    margin-top: 6px;
    padding-left: 10px;
    display: flex;
}
.diagnostics-container .orthocheck-count-info .item{
    width: 60px;
    display: flex;
    font-size: 14px;
    margin-right: 6px;
    padding: 2px 6px 1px 6px;
    border-radius: 2px;
    background-color: #c2ddf2;

}
.diagnostics-container .orthocheck-count-info .item .key{
    text-align: left;
    width: 35px;
}
.diagnostics-container .orthocheck-count-info .item .value{
    font-weight: bold;
    text-align: right;
    flex-grow: 1;
}
.diagnostics-container .orthocheck-category-info{
    font-size: 13px;
    margin-top: 6px;
    margin-bottom: 6px;
    margin-left: 10px;
    display: inline-block;
    padding: 2px 6px 1px 6px;
    border-radius: 2px;
    background-color: #94d86f;
}
.diagnostics-container .orthocheck-method-info{
    font-size: 13px;
    /*margin-top: 6px;*/
    /*font-style: italic;*/
    /*margin-left: 2px;*/
    padding: 2px 6px 2px 6px;
    display: inline-block;
    border-radius: 2px;
    color: #000000;
    background-color: #b7e4fd;
}
.diagnostics-container .orthocheck-method-info.pink{
    background-color: #f5bbcc;
}

.diagnostics-container .orthocheck-info{
    margin-top: 4px;
    display: flex;
    width: 280px;
    margin-left: 10px;

}
.diagnostics-container .orthocheck-info .key{
    width: 100px;
    text-align: left;
    margin-right: 14px;
    font-weight: bold;
}
.diagnostics-container .orthocheck-info .value{
    text-align: left;
    flex-grow: 1;
}
.diagnostics-container .final-layer-icon{
    border-radius: 3px;
    padding: 5px;
    height: 50px;
    width: 200px;
    text-align: center;
    font-size: 15px;
    color: #fff;
    background-color: #d83de2;
    margin: 8px 0 8px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.diagnostics-container .function-retainer-icon{
    border-radius: 3px;
    padding: 5px;
    height: 50px;
    width: 200px;
    text-align: center;
    font-size: 15px;
    color: #fff;
    background-color: #596bc2;
    margin: 8px 0 8px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.diagnostics-container .function-c-chain-icon{
    border-radius: 3px;
    padding: 2px;
    height: 30px;
    width: 100px;
    text-align: center;
    font-size: 13px;
    color: #fff;
    background-color: #ef842b;
    margin: 8px 0 8px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.diagnostics-container .approved-icon{
    height: 32px;
    width: 32px;
    position: absolute;
    top: 4px;
    right: 10px;
    background-image: url('https://cdn.flexiligner.com/flexi/img/icons32/accept.png');
    z-index: 100;
}
.approved-icon-old{
    height: 32px;
    width: 32px;
    position: absolute;
    top: 4px;
    right: 10px;
    background-image: url('https://cdn.flexiligner.com/flexi/img/icons32/approve-blue-icon.png');
    z-index: 100;
}
.diagnostics-container .block-layer{
    position: absolute;
    top: 0;
    left: 0;
    width: 1068px;
    height: 100%;
    background-color: rgba(210, 98, 65, 0.38);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    color: #fff;
}
.diagnostics-container .status-icon{
    font-size: 11px;
    margin-top: 6px;
    /*font-style: italic;*/
    margin-left: 10px;
    padding: 2px 6px 2px 6px;
    border-radius: 2px;
    color: #000000;
    max-width: 190px;
    display: none;
    width: auto;
}
.diagnostics-container .st0 .status-icon.st0{
    background-color: #bebebe;
    display: inline-block;
}
.diagnostics-container .st12 .status-icon.st12{
    background-color: #feb552;
    display: inline-block;
}
.diagnostics-container .st3 .status-icon.st3{
    background-color: #94d86f;
    display: inline-block;
}
.diagnostics-container .st4 .status-icon.st4{
    background-color: #e46341;
    display: inline-block;
}
.diabox-segm-link{
    margin: 0 10px;
}


/*----------------------*/
.tooltip-filter {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltiptext-filter-left {
    left: 2%;
    z-index: 5;
}

.flow-tooltip-decorations {
    border-bottom: none;
}

.tooltiptext-filter-right {
    right: -62%;
    z-index: 5;
}
.tooltiptext-filter-right-flow {
    right: 91%;
    z-index: 5;
}

.tooltip-filter .tooltiptext-filter {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
}

.tooltip-filter:hover .tooltiptext-filter {
    visibility: visible;
    white-space: break-spaces;
}

.f-task-filter-item-name:hover {
    overflow: visible;
}

.f-task-filter{
    padding: 0 5px 0 5px;
    height: 157px;
}

.f-task-filter-item{
    margin: 0 6px 0px 10px;
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
}
.f-task-filter-item-name{
    font-size: 10px;
    margin-bottom: -7px;
    transition: 0.3s;
    width: 56px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.f-task-filter-body{
    padding: 3px;
    width: 56px;
    height: 31px;
    position: relative;
    border: 2px solid #4297d4;
    background-color: #f2f6f9;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    transition: 0.3s;
}
.f-task-filter-icon{
    height: 21px;
    width: 21px;
    display: inline-block;
    margin: 0 0 4px 0;
    border: 1px solid #4297d4;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background-color: #e9eef1;
    padding: 2px;
    vertical-align: top;
}
.f-task-filter-count{
    position: absolute;
    font-size: 10px;
    text-align: center;
    line-height: 19px;
    right: -11px;
    top: 14px;
    width: 20px;
    height: 20px;
    border: 1px solid #3892d4;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: #fff;
    transition: 0.3s;
}

/*.f-admin .f-task-filter-body{*/
/*width: 81px;*/
/*}*/

.f-task-filter-item.selected .f-task-filter-item-name{
    font-weight: bold;
}
.f-task-filter-item.selected .f-task-filter-body{
    font-weight: bold;
    border: 2px solid #2b87ba;
    background-color: #9cc9e9;;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.f-task-filter-item.selected .f-task-filter-count{
    border: 2px solid #2b87ba;
    width: 22px;
    height: 22px;
}


.f-alert .f-task-filter-body{
    border-color: #b74e33;
    background-color: #ffe7e2;
}
.f-alert .f-task-filter-count{
    border-color: #af492f;
}

.f-task-filter-item.f-alert.selected .f-task-filter-body{
    border-color: #a1472c;
    background-color: #fccfbe;;
}
.f-task-filter-item.f-alert.selected .f-task-filter-count{
    border-color: #a1472c;
}

/*--------Chat widget---------------*/
#f-chat-widget{
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    background-color: #fff;
    width: 370px;
    z-index: 100;
    opacity: 0.95;
    border-left: 1px solid #98a9da;;

    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    transition: 0.5s;
}
#f-chat-widget.hidden {
    width: 30px;
    border-color: #ececec;
}
.f-chat-widget-trigger{
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    transition: 0.5s;
    float: left;
    height: 30px;
    width: 28px;
    border: 1px solid #2a6e9f;
    margin: 1px 1px;
    background-color: #d6e7f3;
    cursor: pointer;

    color: #d6e7f3;
    font-weight: bold;
    font-size: 14px;
    /*text-decoration: underline;*/
    padding-top: 6px;
    -webkit-animation: blink 1.5s linear infinite;
    animation: blink 1.5s linear infinite;
    text-align: center;
}
.f-chat-widget-trigger:hover{
    background-color: #f8f8f8;
}

#f-chat-widget.hidden .f-chat-widget-trigger{
    height: 100%;
    color: #2a6e9f;
}

.f-chat-widget-title{
    height: 30px;
    margin: 1px 0 1px 0;
    width: 338px;
    /*background-color: #f5f5f5;*/
    margin-left: 30px;
    line-height: 30px;
    padding: 0 15px;
    color: #fff;
    background-color: #3892d4;
}
#f-chat-widget.hidden .f-chat-widget-title{

    display: none;
}

.f-chat-widget-body{
    width: 370px;
    background-color: #ececec;
    height: 100%;
    padding: 5px;
    direction: rtl;
    overflow-y: auto;
}
.f-chat-widget-clear{
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    transition: 0.5s;
    width: 28px;
    border-radius:5px;
    float: right;
    padding: 7px 7px;
    cursor: pointer;
    /*background-color: #ececec;*/
    height: 100%;
    direction: rtl;
    overflow-y: auto;
}
.f-chat-widget-clear:hover{
    background-color: #2882c6;
}

#f-chat-widget.hidden .f-chat-widget-body{
    margin-left: 30px;
    display: none;
}


.f-chat-widget-body::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(226, 226, 226, 0.62);
    background-color: #F5F5F5;
}
.f-chat-widget-body::-webkit-scrollbar
{
    width: 4px;
    background-color: #F5F5F5;
}
.f-chat-widget-body::-webkit-scrollbar-thumb
{
    background-color: #2b87ba;
    border: 1px solid #2f7ab2;
}




.f-chat-widget-inner{
    /*height: 2000px;*/
    direction: ltr;
    position: relative
}

.f-widget-case{
    background-color: #fff;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    transition: 0.5s;
    padding: 2px;
    position: absolute;
    width: 355px;
}
.f-widget-case-title{
    padding: 0 8px;
    line-height: 22px;
}

.f-widget-case-layer-0{
    background-color: #d9e9f4;
    color: #112d42;
}
.f-widget-case-layer-2{
    background-color: #f7dcf5;
    color: #6d0957;
}
.f-widget-case-layer-1{
    background-color: #ecf4d9;
    color: #142704;
}

.f-widget-case-msg{
    padding: 5px 5px;
    position: relative;
}

.f-widget-case-msg .chat-msg-role{
    /*border-bottom: 1px dashed #c0c0c0;*/
    font-size: 11px;
}

.f-widget-case-msg .msg-head{
    /*border-bottom: 1px dashed #c0c0c0;*/
    line-height: 15px;
}
.f-widget-case-msg .msg-sender{
    width: 210px;
    display: inline-block;
    font-size: 12px;
    font-style: italic;
    padding-left: 4px;
    font-weight: bold;
}
.f-widget-case-msg .msg-date{
    display: inline-block;
    font-size: 12px;
    font-style: italic;
    font-weight: bold;
}
.f-widget-case-msg .msg-dest{
    display: inline-block;
    font-size: 12px;
    font-style: italic;
    color: #157fcc;
}
.f-widget-case-msg .msg-text{
    font-size: 14px;
    padding: 3px 5px;
    border: 1px dotted #c0c0c0;
    -webkit-border-radius: 4px;
    -moz-border-radius:4px;
    border-radius: 4px;
}

.f-widget-case-layer-0 .f-widget-case-msg .msg-text{
    background-color: #ebf2f7;
}
.f-widget-case-layer-1 .f-widget-case-msg .msg-text{
    background-color: #f3f7eb;
}
.f-widget-case-layer-2 .f-widget-case-msg .msg-text{
    background-color: #f3e8f2;
}

.f-widget-set-read{
    display: block;
    float: right;
    height: 16px;
    width: 16px;
    /*background-color: #0099cc;*/
    margin-top: 2px;
    cursor: pointer;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/brightness-low.png);
}
.f-widget-unsubscribe{
    height: 10px;
    width: 10px;
    margin-top: 1px;
    margin-left: 16px;
    cursor: pointer;
    display: inline-block;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/small-cancel.png);
}

.msg-check{
    position: absolute;
    -webkit-border-radius: 5px;
    -moz-border-radius:5px;
    border-radius: 5px;
    border: 1px solid #000;
    line-height: 16px;
    /*background-color: red;*/
}
.f-widget-case-msg .msg-check{
    bottom: -4px;
    right: -2px;
}
.msg-check-icon{
    height: 16px;
    width: 16px;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/tick-red.png);
    display: inline-block;
    vertical-align: top;
}
.msg-check-user{
    display: none;
    font-size: 9px;
    margin: 0 1px 0 2px;
    color: rgb(22, 82, 24);
    vertical-align: top;
}

.f-widget-case-msg.no-check .msg-check{
    display: none;
}
.f-widget-case-msg.unchecked .msg-check{
    cursor: pointer;
    border-color: #c75151;
    background-color: rgba(234, 178, 178, 0.5);
    opacity: 0.8;
}
.f-widget-case-msg.unchecked .msg-text{
    border-color: #c75151;
}
.f-widget-case-msg.unchecked .msg-check:hover{
    opacity: 1;
}
.f-widget-case-msg.checked .msg-check{
    border-color: #4eb42b;
    background-color: rgba(165, 246, 130, 0.5);
    line-height: 14px;
    opacity: 0.8;
}
.f-widget-case-msg.checked .msg-check:hover{
    opacity: 1;
}
.f-widget-case-msg.checked .msg-check-icon{
    display: none;
}
.f-widget-case-msg.checked .msg-check-user{
    display: inline-block;
}


.chat-message-container .msg-check{
    position: absolute;
    top: 14px;
    right: -24px;
    -webkit-border-radius: 5px;
    -moz-border-radius:5px;
    border-radius: 5px;
    border: 1px solid #000;
    line-height: 16px;
}
.chat-message-container.no-check .msg-check{
    display: none;
}
.chat-message-container.unchecked .msg-check{
    cursor: pointer;
    border-color: #c75151;
    background-color: rgba(234, 178, 178, 0.5);
}
.chat-message-container.unchecked .msg-text{
    border-color: #c75151;
}

.chat-message-container.checked .msg-check{
    border-color: #4eb42b;
    background-color: rgba(165, 246, 130, 0.8);
    line-height: 14px;
}
.chat-message-container.checked .msg-check-icon{
    display: none;
}
.chat-message-container.checked .msg-check-user{
    display: inline-block;
}

/*----------------------------------*/
.f-subscription-container{
    position: absolute;
    top: -6px;
    right: 4px;
}
.f-subscription-container >div{
    display: inline-block;
    height: 6px;
    width: 6px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.f-subscription-icon-0{
    background-color: #75b3de;
    margin: 0 1px 0 0;
}
.f-subscription-icon-1{
    background-color: #92ca12;
    margin: 0 1px 0 0;
}
.f-subscription-icon-2{
    background-color: #d43dc9;
    margin: 0 1px 0 0;
}

.flow-type-icon{
    position: absolute;
    top: -8px;
    left: 0;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    height: 12px;
    width: 12px;
    font-size: 10px;
    text-align: center;
    line-height: 13px;
}
.flow-type-icon.main{
    color: #38831e;
    background-color: #d7f2d4;
}
.flow-type-icon.corr{
    color: #953b89;
    background-color: #f0dcf3;
}
.flow-type-icon.ret{
    color: #a73716;
    background-color: #ffccb0;
}

.case-list-strict-icon{
    position: absolute;
    border-radius: 50%;
    height: 2px;
    width: 2px;
    bottom: 0;
    left: 0;
    background-color: #0A8CC6;
}

/*--------*/
.f-super-column{
    font-size: 9px;
    line-height: 10px;
    margin-bottom: 1px;
}
.f-tech-column{
    font-size: 9px;
    line-height: 10px;
    margin-bottom: 1px;
}
.f-super-column>img, .f-tech-column>img {
    width: 10px;
    height: 10px;
    margin-right: 2px;
    vertical-align: text-top;
}
.f-tech-column-lock-icon{
    position: absolute;
    z-index: 100;
    background-image: url("https://cdn.flexiligner.com/flexi/img/lock.png");
    width: 10px;
    height: 10px;
}
.f-tech-column-lock-icon.super{
    top: 3px;
    right: 0;
}

/*--------Alert widget---------------*/
#f-alert-widget{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #fff;
    width: 370px;
    z-index: 100;
    opacity: 0.95;
    border-right: 1px solid #80b380;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    transition: 0.5s;
}
#f-alert-widget.hidden {
    width: 30px;
    border-color: #ececec;
}
.f-alert-widget-trigger{
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -o-transition: 0.4s;
    -ms-transition: 0.4s;
    transition: 0.4s;
    float: right;
    height: 30px;
    width: 28px;
    border: 1px solid #80b380;
    margin: 1px 1px;
    background-color: #bfd6bf;
    cursor: pointer;

    color: #bfd6bf;
    font-weight: bold;
    font-size: 14px;
    /*text-decoration: underline;*/
    padding-top: 6px;
    /*-webkit-animation: blink 1.5s linear infinite;*/
    /*animation: blink 1.5s linear infinite;*/
    text-align: center;
}
.f-alert-widget-trigger:hover{
    background-color: #f8f8f8;
}

#f-alert-widget.hidden .f-alert-widget-trigger{
    height: 100%;
    color: #1e9f2d;
}

.f-alert-widget-title{
    height: 30px;
    margin: 1px 0 1px 0;
    width: 338px;
    /*background-color: #f5f5f5;*/
    margin-right: 30px;
    line-height: 30px;
    padding: 0 4px 0 15px;
    color: #fff;
    background-color: #80b380;
}
#f-alert-widget.hidden .f-alert-widget-title{
    display: none;
}

.f-alert-widget-body{
    width: 369px;
    background-color: #ececec;
    height: 100%;
    padding: 5px;
    direction: rtl;
    overflow-y: auto;
}
#f-alert-widget.hidden .f-alert-widget-body{
    margin-right: 30px;
    display: none;
}


.f-alert-widget-body::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(226, 226, 226, 0.62);
    background-color: #F5F5F5;
}
.f-alert-widget-body::-webkit-scrollbar
{
    width: 4px;
    background-color: #F5F5F5;
}
.f-alert-widget-body::-webkit-scrollbar-thumb
{
    background-color: #2b87ba;
    border: 1px solid #2f7ab2;
}


.f-alert-widget-inner{
    /*height: 2000px;*/
    direction: ltr;
    position: relative
}

.f-alert-widget-add-btn{
    height: 22px;
    width: 22px;
    display: inline-block;
    margin-top: 4px;
    border: 1px solid #197617;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background-color: #e9eef1;
    padding: 2px;
    float: right;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/Add.png);
    background-position: 2px 2px;
    background-repeat: no-repeat;
    cursor: pointer;
}
.f-alert-widget-refresh-btn{
    height: 22px;
    width: 22px;
    display: inline-block;
    margin-top: 4px;
    margin-right: 4px;
    border: 1px solid #197617;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background-color: #e9eef1;
    padding: 2px;
    float: right;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/refresh.png);
    background-position: 2px 2px;
    background-repeat: no-repeat;
    cursor: pointer;
}
.f-alert-widget-add-btn:hover{
    background-color: #dce8e1;
}

.f-alert-widget-item{
    width: 355px;
    background-color: #fff;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    transition: 0.5s;
    padding: 2px;
    position: absolute;
    margin-bottom: 4px;
    font-size: 13px;
}
.f-alert-widget-item.future, .f-alert-casecont-item.future{
    background-color: #b6d888;
}
.f-alert-widget-item.today, .f-alert-casecont-item.today{
    background-color: #da5d25;
}
.f-alert-widget-item.yesterday, .f-alert-casecont-item.yesterday{
    background-color: #da9025;
}
.f-alert-widget-item.before-yesterday, .f-alert-casecont-item.before-yesterday{
    background-color: #d0b128;

}

.f-alert-widget-item-title{
    padding: 0 3px 0 8px;
    line-height: 22px;
    height: 22px;
}
.f-alert-widget-item-title-case{
    display: inline-block;
    vertical-align: top;
}
.f-alert-widget-item-title-important{
    height: 6px;
    width: 6px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    display: inline-block;
    margin-top: 4px;
    cursor: pointer;
    background-color: #4eb42b;
}
.f-alert-widget-item-title-non-important{
    height: 6px;
    width: 6px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    display: inline-block;
    margin-top: 4px;
    cursor: pointer;
    background-color: #e24e34;
}
.f-alert-widget-item-title-from{
    display: inline-block;
    font-size: 10px;
    margin-left: 3px;
}
.f-alert-widget-item-title-buttons{
    float: right;
}
.f-alert-widget-item-check-btn{
    height: 16px;
    width: 16px;
    margin-top: 2px;
    cursor: pointer;
    display: inline-block;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/Yes.png);
}
.f-alert-widget-item-check-btn:hover{
    background-color: #f7f7f7;

}

.f-alert-widget-item-time-btn{
    height: 16px;
    width: 16px;
    margin-top: 2px;
    cursor: pointer;
    display: inline-block;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/Stopwatch.png);
}
.f-alert-widget-item-delete-btn{
    height: 10px;
    width: 10px;
    margin-top: 1px;
    margin-left: 4px;
    cursor: pointer;
    display: inline-block;
    float: right;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/small-cancel.png);
}

.f-alert-widget-item-body{

}
.f-alert-widget-item-body-main{
    background-color: #d9e9f4;
    color: #112d42;
    padding: 5px 5px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.f-alert-widget-item-body-main.alert-checked{
    background-color: #bcc5a9;
}
.f-alert-widget-item-body-main.alert-future{
    background-color: #f1d0e8;
}

.f-alert-widget-item-body-main-title{
    line-height: 15px;
}
.f-alert-widget-item-body-main-title-name{
    width: 190px;
    display: inline-block;
    font-size: 12px;
    font-style: italic;
    padding-left: 4px;
    font-weight: bold;
    overflow: hidden;
}
.f-alert-widget-item-body-main-title-name.my-alert{
    color: #ab6453;
}
.f-alert-widget-item-body-main-title-date{
    display: inline-block;
    font-size: 12px;
    font-style: italic;
    font-weight: bold;
    float: right;
}
.f-alert-widget-item-footer{
    padding: 0 3px 0 0;
    height: 18px;
}
.f-alert-widget-item-comment-btn{
    height: 16px;
    width: 16px;
    margin-top: 2px;
    cursor: pointer;
    display: inline-block;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/Bubble.png);
}
.f-alert-widget-item-public-btn{
    height: 16px;
    width: 16px;
    margin-top: 2px;
    cursor: pointer;
    display: inline-block;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/user_1.png);
    /*float: right;*/
}

.f-alert-widget-item-body-comments{
    padding: 2px 0 0 20px;
}
.f-alert-widget-comment{
    background-color: #eee;
    color: #112d42;
    margin-bottom: 2px;
    padding: 5px 5px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.f-alert-widget-comment-title-name{
    display: inline-block;
    font-size: 12px;
    font-style: italic;
    padding-left: 4px;
    font-weight: bold;
}
.f-alert-widget-comment-title-name.my-alert{
    color: #ab6453;
}
.f-alert-widget-comment-title-delete-btn{
    height: 10px;
    width: 10px;
    margin-left: 4px;
    margin-top: 1px;
    cursor: pointer;
    display: inline-block;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/small-cancel.png);
    float: right;
}
.f-alert-widget-comment-title-date{
    font-size: 12px;
    font-style: italic;
    font-weight: bold;
    float: right;
}


.f-alert-casecont-item{
    background-color: #fbfbfb;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    transition: 0.5s;
    padding: 2px;
    /*position: absolute;*/
    margin-bottom: 10px;
    font-size: 13px;
}
.f-alert-casecont-item-body-main-title-name{
    width: 290px;
    display: inline-block;
    font-size: 12px;
    font-style: italic;
    padding-left: 4px;
    font-weight: bold;
}
.f-alert-casecont-from{
    display: inline-block;
    font-style: italic;
    font-size: 11px;
    color: #333;
    margin-left: 4px;
}
/*----------------------------------*/

.factory-step-grid-caption1{
    font-size: 11px;
    color: #7b7878;
    margin-top: 1px;
}
.factory-step-grid-caption2{
    color: #8d3c9a;
    width: 176px;
    font-size: 16px;
    white-space: normal;
}
.factory-step-grid-caption6{
    color: #f44336;
    width: 176px;
    font-size: 16px;
    white-space: normal;
}
.factory-step-grid-caption3{
    font-size: 17px;
    font-weight: bold;
    display: inline-block;
}
.factory-step-grid-caption4{
    font-size: 11px;
    color: #444;
    /*margin-top: 10px;*/
}
.factory-step-grid-caption5{
    font-size: 17px;
    display: inline-block;
    /*margin-left: 20px;*/
    font-weight: bold;
    /*text-decoration: underline;*/
}
.factory-step-case-number{
    font-size: 18px;
    font-weight: bold;
    color: #000;
}
.factory-step-case-number:visited{
    color: #000;
}
.factory-step-grid-copy-btn{
    cursor: pointer;
    color: #aaaaaa;
    position: relative;
    bottom: 2px;
    left: 4px;
    font-size: 10px;
}
.factory-step-grid-copy-btn:hover{
    color: #666666;
}

.factory-step-grid-flow-type{
    display: inline-block;
    margin-left: 10px;
    padding: 1px 3px;
    font-size: 12px;
}
.factory-step-grid-flow-type.main{
    color: #38831e;
    background-color: #d7f2d4;
}
.factory-step-grid-flow-type.correction{
    color: #953b89;
    background-color: #f0dcf3;
}
.factory-step-grid-flow-type.retainer{
    color: #0d4a69;
    background-color: #bed4f3;
}

.factory-step-grid-status-1 .x-grid-cell {
    background-color: rgba(224, 251, 221, 0.25) !important;
}
.factory-step-grid-status-2 .x-grid-cell {
    background-color: rgba(211, 231, 254, 0.35) !important;
}
.factory-step-grid-status-3 .x-grid-cell {
    background-color: rgba(246, 204, 203, 0.45) !important;
}
.factory-steps-task-doer{
    display: inline-block;
    margin: 0 5px;
    vertical-align: top;
    padding: 6px 0;
    width: 140px;
    white-space: normal;
    font-size: 12px;
}

.factory-step-grid-mat{
    position: absolute;
    top: 4px;
    right: 0;
    border: 2px solid #666666;
    border-radius: 3px;
    font-size: 11px;
    height: 20px;
    line-height: 18px;
    text-align: center;
    color: #666;
    padding: 0 3px;
}

.factory-steps-task-time-container{
    display: inline-block;
    font-size: 11px;
    background-color: #ffefed;
    padding: 0 3px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}
.factory-steps-task-time-container.done{
    background-color:  #e7f7d6;
}
.factory-steps-task-time-take{
    color: #a03e1d;
}
.factory-steps-task-time-finish{
    color: #953b89;
}
.factory-step-grid-complexity{
    display: block;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 94px;
    right: 8px;
}
.factory-panel-grid-complexity{
    display: block;
    font-size: 13px;
    font-weight: bold;
    position: absolute;
    top: 6px;
    right: 70px;
}
.factory-panel-grid-complexity2{
    display: block;
    font-size: 15px;
    font-weight: bold;
    padding-top: 16px;
    text-align: center;
    width: 100%;
}
.factory-module-btn{
    display: block;
}
.factory-module-btn.disabled{
    pointer-events: none;
}
.factory-module-btn.disabled div{
    color: #ccc;
}
.factory-steps-task-container{
    border-top: 1px solid rgba(158, 158, 158, 0.27);
}
.factory-steps-task-container:nth-child(1){
    border-top: none;
}
.factory-steps-task-container .flow-task-icon{
    vertical-align: top;
    margin-top: 4px;
}

.f-factory-step-row-info{
    height: 26px;
}
.f-factory-step-row-info.retainer{
    height: auto;
    white-space: normal;
    width: 120px;
}
.f-factory-step-row-info .step-values{
    display: inline-block;
    width: 30px;
    font-size: 15px;
}
.f-factory-step-row-info.retainer .step-values{
    display: inline-block;
    width: 80px;
}

.f-factory-step-row-info .step-dias{
    display: inline-block;
    width: 34px;
    text-align: right;
    font-weight: bold;
}
.f-factory-step-row-info .step-pos{
    display: inline-block;
    width: 40px;
    font-weight: bold;
    vertical-align: top;
}

.f-case-factory-step-row-info-2 {
    width: 100%;
    height: 22px;
    font-size: 14px;
    vertical-align: top;
}
.f-case-factory-step-row-info-2 .type-name {
    display: inline-block;
    width: 25%;
}

.f-case-factory-step-row-info-2 .type-count {
    display: inline-block;
    font-weight: bold;
    width: 45%;
}
.f-case-factory-step-row-info-2 .material {
    display: inline-block;
    width: 30%;
}


.f-case-factory-step-row-count-2 {
    width: 100%;
    height: 18px;
}
.f-case-factory-step-row-count-2 .type-name {
    display: inline-block;
    width: 60%;
    vertical-align: top;
    font-size: 11px;
}

.f-case-factory-step-row-count-2 .type-count {
    display: inline-block;
    width: 40%;
    text-align: right;
    font-weight: bold;
    vertical-align: top;
    font-size: 12px;
}




.f-factory-step-row-info-2{
    height: 16px;
}
.f-factory-step-row-info-2.retainer{
    height: auto;
    white-space: normal;
    width: 120px;
}
.f-factory-step-row-info-2 .step-values{
    display: inline-block;
    width: 30px;
    vertical-align: top;
    font-size: 12px;
}
.f-factory-step-row-info-2.retainer .step-values{
    display: inline-block;
    width: 80px;
}

.f-factory-step-row-info-2 .step-dias{
    display: inline-block;
    width: 26px;
    vertical-align: top;
    text-align: right;
    font-weight: bold;
    font-size: 12px;
}
.f-factory-step-row-info-2 .step-pos{
    display: inline-block;
    width: 20px;
    font-weight: bold;
    vertical-align: top;
    font-size: 12px;
}


.f-factory-step-column-info {
    height: 16px;
    vertical-align: top;
    font-size: 13px;
    width: 100%;
}

.f-factory-step-column-info div {
    display: inline-block;
}

.f-factory-step-column-info .type-name {
    width: 96px;
    font-weight: bold;
}

.f-factory-step-column-info .pos-name {
    width: 24px;
    font-size: 12px;
    text-align: right;
}

.f-factory-step-column-info .interval {
}


.status-lamp-2{
    /*margin: 0 0 4px 32px;*/
    height: 12px;
    width: 12px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    border: 1px solid #666;
    background-color: #0065ae;
}
.f-factory-step-count{
    font-size: 17px;
    font-weight: bold;
    color: #943b88;
    text-align: left;
    margin: 0 4px 0 0;
}

.factory-step-action{
    height: 21px;
    width: 21px;
    margin: 2px 3px 0 0;
    border: 1px solid #9E9E9E;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background-color: #e9eef1;
    padding: 2px;
    background-repeat: no-repeat;
    background-position: 1px 1px;
}
.factory-step-action.stickers{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/Table.png);
}
.factory-step-action.plan{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/List.png);
}
.factory-step-action.factory-module{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/Modify.png);
}
.inline-actions{
    padding: 3px;
    display: flex;
}
.factory-step-action.new{
    background-color: #ffd1fc;
    border: 1px solid #c14fa3;
}


.factory-step-action-new{
    height: 21px;
    width: 21px;
    margin: 2px 3px 0 0;
    border: 1px solid #9E9E9E;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background-color: #e9eef1;
    padding: 3px;
    display: block;
    color:#333;
    background-repeat: no-repeat;
    background-position: 1px 1px;
}

.factory-step-produce-cell{
    border-radius: 4px;
    border: 1px solid #777;
    padding: 3px 4px 2px;
    width: 100px;
    text-align: center;
}
.factory-step-produce-cell span{
    font-weight: bold;
    font-size: 16px;
}
/*-----------Анкета-----------*/
.anketa-table{
    font-family: verdana;
    font-size: 11pt;
    border: 1px solid #ccc;
    width: 1012px;
    margin-bottom: 15px;
}
.anketa-table td{
    vertical-align: top;
    padding: 8px;
}

.f-checkbox,
.f-radio {
    display: none;
}
.f-checkbox-custom,
.f-radio-custom {
    width: 16px;
    height: 16px;
    border: 2px solid #999;
    border-radius: 3px;
    position: relative;
}

.f-checkbox:checked + .f-checkbox-custom::before,
.f-radio:checked + .f-radio-custom::before {
    content: "";
    display: block;
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    background: #3892d4;
    border-radius: 2px;
}
.f-radio-custom,
.f-radio:checked + .f-radio-custom::before {
    border-radius: 50%;
}
/*-----------------Файлы-КТ-------------------*/
.drop-zone-scan-block {
    margin: auto;
    height: 250px;
}

.drop-zone-scan-name {
    text-align: center;
    font-weight: bold;
}

.drag-img-block {
    margin: auto;
    width: fit-content;
    height: fit-content;
}

.border-drag {
    border: dashed red;
}

.drop-zone-scan {
    margin: auto;
    cursor: pointer;
    width: 100%;
    height: 80%;
}

.table-action-position {
    position: absolute;
    right: 0;
    margin: auto;
    bottom: 3px;
}

.window-scan-block {
    padding: 3px;
    display: block;
}

.window-scan-none {
    display: none;
}

.stl-list-window {
    width: 300px;
    height: 150px;
    text-align: center;
}

.scroll-table-body {
	height: 150px;
	overflow-x: auto;
	margin-top: 0px;
	border-bottom: 1px solid #eee;
}

.upload-set-window-progress-stl {
    top: 0;
    left: 0;
    height: 10px;
    border-radius: 5px;
    margin-bottom: 5px;
    background-color: #82dd89;
    width: 0;
    z-index: 0;
}

.scroll-table table {
	width:100%;
	table-layout: fixed;
	border: none;
}

.scroll-table thead th {
	font-weight: bold;
	text-align: left;
	border: none;
	background: #d8d8d8;
	font-size: 10px;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
}

.scroll-table tbody td {
	text-align: left;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	font-size: 12px;
	vertical-align: top;
}

.scroll-table tbody tr:nth-child(odd){
	background: #f3f3f342;
}

.scroll-table tbody tr:nth-child(even){
	background: #f3f3f3cc;
}

/* Стили для скролла */
::-webkit-scrollbar {
	width: 6px;
}

::-webkit-scrollbar-track {
	box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

::-webkit-scrollbar-thumb {
	box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

/*-------------------Материалы----------------*/
.f-material-box{
    width: 1080px;
    position: relative;
    margin-bottom: 15px;
    background-color: #f6fbff;
    padding: 10px 5px 5px 5px;
    border: 1px solid #5e98c5;
}
.f-material-box.hidden{
    display: none;
}
.f-material-box.need-new{
    background-color: #f8dbfd;
    border: 1px solid #9C27B0;
}
.f-material-box.stopped{
    background-color: #d4d4d4;
    border: 1px solid #969696;
}
.f-material-box.renewed{
    background-color: #d4d4d4;
    border: 1px solid #969696;
}
.f-material-box.uploading{
    background-color: #ffe1d7;
    border: 1px solid #e50000;
}
.f-material-box.uploading-doctor{
    background-color: #fff5d7;
    border: 1px solid #e58b00;
}
.f-material-box-doctor-scan{
    position: absolute;
    display: block;
    top: 31px;
    left: 46px;
    font-size: 15px;
    color: brown;
}
.material-box-status{
    font-size: 13px;
    font-weight: bold;
    display: none;
    margin-bottom: 4px;
}
.material-box-flow-type{
    font-size: 16px;
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 5px;
}
.f-material-box.need-new .material-box-status.need-new{
    display: block;
}
.f-material-box.stopped .material-box-status.stopped{
    display: block;
}
.f-material-box.renewed .material-box-status.renewed{
    display: block;
}
.f-material-box.uploading .material-box-status.uploading{
    display: block;
}
.f-material-box.uploading-doctor .material-box-status.uploading-doctor{
    display: block;
}
.material-box-prepared-icon{
    display: none;
    position: absolute;
    top: 34px;
    left: 10px;
    height: 32px;
    width: 32px;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons32/accept.png);
}
.f-material-box.prepared .material-box-prepared-icon{
    display: block;
}
.material-box-edit-function-btn{
    display: none;
    padding: 3px 8px;
    background-color: #dbe9ee;
    border: 1px solid #1b6d85;
    border-radius: 4px;
    color: #316a85;
    cursor: pointer;
    margin-bottom: 5px;
}
.material-box-copy-function-btn{
    padding: 3px 8px;
    background-color: #dbe9ee;
    border: 1px solid #1b6d85;
    border-radius: 4px;
    color: #316a85;
    cursor: pointer;
    margin-bottom: 5px;
    display: inline-block;
}
.material-box-copy-with-params-function-btn{
    padding: 3px 8px;
    background-color: #dbe9ee;
    border: 1px solid #1b6d85;
    border-radius: 4px;
    color: #316a85;
    cursor: pointer;
    margin-bottom: 5px;
    display: inline-block;
}
.f-material-box.actual.canedit .material-box-edit-function-btn{
    display: inline-block;
}
.material-box-stop-btn{
    display: none;
    padding: 3px 8px;
    background-color: #dbe9ee;
    border: 1px solid #1b6d85;
    border-radius: 4px;
    color: #316a85;
    cursor: pointer;
    margin-bottom: 5px;
}
.f-material-box.actual.canedit.no-prepared .material-box-stop-btn{
    display: inline-block;
}

.material-box-stop-dia-btn{
    display: none;
    padding: 3px 8px;
    background-color: #dbe9ee;
    border: 1px solid #1b6d85;
    border-radius: 4px;
    color: #316a85;
    cursor: pointer;
    margin-bottom: 5px;
}
.f-material-box.actual.canedit.prepared .material-box-stop-dia-btn{
    display: inline-block;
}

.material-box-remove-btn{
    display: none;
    padding: 3px 8px;
    background-color: #dbe9ee;
    border: 1px solid #1b6d85;
    border-radius: 4px;
    color: #316a85;
    cursor: pointer;
    margin-bottom: 5px;
}
.f-material-box.canedit.stopped .material-box-remove-btn,
.f-material-box.uploading-doctor.canedit .material-box-remove-btn
{
    display: inline-block;
}

.material-box-start-doctor-uploading-btn{
    padding: 3px 12px;
    background-color: #cdeeb0;
    border: 1px solid #38852f;
    border-radius: 4px;
    color: #00711f;
    cursor: pointer;
    margin-bottom: 5px;
    width: 140px;
    text-align: center;
    display: none;
}
.f-material-box.uploading-doctor.canedit .material-box-start-doctor-uploading-btn
{
    display: inline-block;
}

.material-box-cancel-renew-btn{
    padding: 3px 12px;
    background-color: #cdeeb0;
    border: 1px solid #38852f;
    border-radius: 4px;
    color: #00711f;
    cursor: pointer;
    margin-bottom: 5px;
    width: 140px;
    text-align: center;
    display: none;
}
.material-public-checkbox-block{
    width: 120px;
    margin-left: auto;
}
.f-material-box.need-new.canedit.no-prepared .material-box-cancel-renew-btn{
    display: inline-block;
}

.material-box-rollback-btn{
    padding: 3px 12px;
    background-color: #cdeeb0;
    border: 1px solid #38852f;
    border-radius: 4px;
    color: #00711f;
    cursor: pointer;
    margin-bottom: 5px;
    width: 140px;
    text-align: center;
    display: none;
}
.guar-vis {
    visibility:hidden
}
.warranty-btn{
    cursor: pointer;
    position: relative;
    left: -4px;
}
.warranty-btn img{
    border-radius: 50%;
}
.warranty-btn img:hover{
    background-color: rgba(0,0,0,0.1);
}
.warranty-block{
    padding: 0 5px;
    border-radius: 4px;
    display: inline-block;
}
.warranty-block.waiting-for-decision{
    background-color: #fcbcbd;
}
.warranty-block.by-warranty{
    background-color: #e9f4ff;
}
.warranty-block.paid{
    background-color: #fcdabc;
}
.warranty-block.free{
    background-color: #d9fbc6;
    height: 50px;
}

.warranty-title{
    font-size: 10px;
    height: 10px;
    line-height: 14px;
}
.warranty-value{
    height: 15px;
}

.f-material-box.actual.canedit.no-prepared .material-box-rollback-btn{
    display: inline-block;
}

.diabox-meta-info{
    padding-left:10px;
    font-size: 13px;
    color:#9A4E8E;
}

.diabox-meta-ct{
    padding:2px 4px;
    font-size: 14px;
    color:#4353ff;
    border:1px solid #b9b9ff;
    border-radius:5px;
    background-color:#e8f5ff;
    margin-left:5px;
    cursor:default;
}
.material-box-rollback-btn img{
    height: 16px;
    width: 16px;
    display: inline-block;
    border: 0;
    vertical-align: top;
}

.material-segm-list{
    font-size:11px;
    width:100%;
}

.material-segm-list i{
    font-size: 16px;
    cursor:pointer;
}

.material-segm-list tr {
    /* padding:5px 0; */
    height: 32px;
    vertical-align: middle;
}
.material-segm-list tr td:nth-child(2){
    text-align: left;
    line-height: 14px;
}
.material-segm-list tr td:nth-child(3){
    width: 50px;
    text-align: right;
}
.material-segm-action{
    width:18px;
    height:18px;
    display: inline-block;
    text-align: center;
    margin:0 2px;
}

.material-vision-tmark{
    cursor:default;
}
.material-vision-tmark.tmark-complete{
    color:#00711f;
}
.material-vision-tmark.tmark-inprogress{
    color:orange;
}
.material-vision-tmark.tmark-error{
    color:red;
}
.material-vision-tmark.tmark-off{
    color:gray;
}
.material-vision-tmark div{
    display: inline-block;
}
.material-vision-tmark.tmark-inprogress i.fa-spinner{
    width:14px;
    margin-left: 10px;
    display: inline-block;
}
.material-vision-tmark.tmark-off i.fa-play,
.material-vision-tmark.tmark-error i.fa-play{
    width:14px;
    margin-left: 10px;
    display: inline-block;
    cursor:pointer;
    color: gray;
}
.material-vision-tmark.tmark-complete i.fa-check{
    width:14px;
    margin-left: 10px;
    display: inline-block;
    color: limegreen;
}

.material-vision-tmark i.fa-play,
.material-vision-tmark i.fa-check,
.material-vision-tmark i.fa-spinner{
    display:none;
}


.material-btn-open{
    color:#226ca2;
}
.material-btn-rm{
    color:#e94d2b;
}
.material-btn-download{
    color:#4c92ce;
}

.material-box-create-segm-btn{
    padding: 3px;
    background-color: #e2f2ff;
    border: 1px solid #226ca2;
    border-radius: 2px;
    cursor: pointer;
    width: 120px; 
    margin: 3px 5px;
    text-align: center;
    display: inline-block;

}

.material-box-create-segm-btn label{
    cursor: pointer;
}

.material-box-create-finalcheck-btn, .material-box-create-orthocheck-btn {
    padding: 3px 0;
    background-color: #cdeeb0;
    border: 1px solid #38852f;
    border-radius: 2px;
    color: #00711f;
    cursor: pointer;
    width: 100px;
    margin: 5px auto;
    text-align: center;
    display: block;
}

.material-box-edit-attributes-btn{
    padding: 3px 8px;
    background-color: #dbe9ee;
    border: 1px solid #1b6d85;
    border-radius: 4px;
    color: #316a85;
    cursor: pointer;
    margin-bottom: 5px;
    display: inline-block;
}


.material-box-create-orthocheck-btn {
    background-color: #cdeeb0;
    border: 1px solid #38852f;
    color: #00711f;
}
.material-box-create-finalcheck-btn {
    background-color: rgb(210, 159, 196);
    border: 1px solid #9A4E8E;
    color: #710057;
}
.material-box-create-orthocheck-btn img{
    height: 16px;
    width: 16px;
    display: inline-block;
    border: 0;
    vertical-align: top;
    margin-left: 5px;
}

.material-box-create-finalcheck-btn img{
    height: 16px;
    width: 16px;
    display: inline-block;
    border: 0;
    vertical-align: top;
    margin-left: 5px;
}

.f-material-box-number{
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 18px;
    font-weight: bold;
}
.f-material-box-id{
    position: absolute;
    top: 102px;
    left: 6px;
    font-size: 12px;
    /*font-weight: bold;*/
}
.f-material-box-title-div{
    margin-left: 42px;
    min-height: 40px;
}
.f-material-box-creator{
    font-family: Verdana;
    font-size: 12px;
    color: #555;
    display: inline-block;
    width: 200px;
    vertical-align: top;
    line-height: 12px;
}
.material-box-comment-btn{
    display: inline-block;
    text-decoration: underline;
}
.canedit .material-box-comment-btn{
    cursor: pointer;
}
.canedit .material-box-comment-btn:hover{
    color: #1b6d85;
}
.f-material-box-comment{
    display: inline-block;
    width: 540px;
    font-size: 12px;
    color: #333;
    padding: 4px;
    margin-right: 10px;
    border: 1px dotted #5e98c5;
    vertical-align: top;
}
.f-material-box-title-right-column{
    display: inline-block;
    width: 260px;
    text-align: right;
}
.f-material-box-creator-name{
    color: #226ca2;
}
.f-material-box-creator-date{
    font-style: italic;
}
.f-material-table{
    border-collapse: collapse;
    font-family: Verdana;
    font-size: 14px;
    text-align: left;
}
.f-material-table-tr-title{
    text-align: center;
    border-bottom: 1px solid #226ca2;
}
.f-material-table-td-title{
    border: 1px solid #226ca2;
    background-color: #e9eef1;
}
.f-material-table-td-title-scan1{
    border-top: 1px solid #226ca2;
    background-color: #e9eef1;
}
.f-material-table-td-title-scan2{
    border-bottom: 1px solid #226ca2;
    background-color: #e9eef1;
}
.f-material-table-stl-viewer1{
    height: 21px;
    width: 21px;
    display: block;
    margin: 2px auto;
    border: 1px solid #3892d4;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background-color: #e9eef1;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/lense1.png);
    background-position: center;
    background-repeat: no-repeat;
}
.f-material-table-stl-viewer2{
    height: 21px;
    width: 21px;
    display: block;
    margin: 2px auto;
    border: 1px solid #3892d4;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background-color: #e9eef1;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/lense2.png);
    background-position: center;
    background-repeat: no-repeat;
}
.f-material-table-stl-viewer1.trackball, .f-material-table-stl-viewer2.trackball{
    background-color: #a0e56e;
}
.f-material-table-td-arch-title{
    font-weight: bold;
    border-right: 1px solid #226ca2;
    border-left: 1px solid #226ca2;
    padding: 0 5px;
    font-size: 16px;
    width: 40px;
    height: 40px;
    text-align: center;
    background-color: #e9eef1;
    position: relative;
}
.f-material-table-tr-arch{
    border-bottom: 1px solid #226ca2;
}
.f-material-table-td-mask{
    width: 110px;
    text-align: center;
    border-right: 1px solid #226ca2;
}
.f-material-table-td-gips{
    width: 110px;
    text-align: center;
    border-right: 1px solid #226ca2;
}
.f-material-table-td-scan{
    width: 110px;
    text-align: center;
    border-right: 1px solid #226ca2;
}
.f-material-upload-scan-progress{
    width: 0;
    /*height: 39px;*/
    height:100%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    z-index: 0;
    background-color: #82dd89;
}

.f-material-table-td-function{
    width: 120px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    border-right: 1px solid #226ca2;
}
.f-material-table-td-tasks{
    width: 350px;
    padding: 0 5px;
    border-right: 1px solid #226ca2;
}
.f-material-table-for-dia{
    color: #006100;
}
.f-material-table-for-analyze {
    color: #c33c1d;
}
.f-material-table-for-ret{
    color: #910cb5;
}
.f-material-table-for-test{
    color: #4e4e9c;
}
.f-material-table-td-comment{
    width: 130px;
    text-align: center;
    border-right: 1px solid #226ca2;
}
.f-material-table-td-segmentation{
    width: 170px;
    text-align: center;
    border-right: 1px solid #226ca2;
}
.f-material-table-td-segmentation-mm{
    width: 130px;
    text-align: center;
    font-size:11px;
    border-right: 1px solid #226ca2;
    cursor: pointer;
    color: #0000ee;
    /* font-style: italic; */
    /* text-decoration: underline; */
}
.material-segmentation-open-mm{
    /* font-style: italic;  */
    cursor:default;
    text-decoration: none;
}
.material-segmentation-open-mm.link{
    /* font-style: italic;  */
    cursor: pointer;
    text-decoration: underline;
}
.material-segmentation-status{
    line-height: 14px;
}
.material-segmentation-info{
    border-bottom: 1px solid #226ca2;
    padding: 5px 0;
    font-style: italic;
    font-size: 12px;
}
.segm-ready,.segm-work,.segm-error{
    font-size: 9px;
    /* width:9px; */
}
.segm-ready i,.segm-work i,.segm-error i{
    font-size: 9px;
    /* width:9px; */
}
.segm-ready i{
    color:limegreen;
}
.segm-error i{
    color:red;
}
.segm-work i{
    color:orange;
}


.seg-disable-action{
    pointer-events: none;
    opacity: 0.3;
}

.f-material-table-date1{
    font-size: 11px;
}
.f-material-table-who-get-mask{
    font-style: italic;
    font-size: 12px;
}
.f-material-table-who-molded{
    font-style: italic;
    font-size: 12px;
}
.f-material-table-who-scanned{
    font-style: italic;
    font-size: 12px;
}
.f-material-table-td-download{
    /*padding: 0 12px;*/
    border-right: 1px solid #226ca2;
    /*min-height: 40px;*/
    text-align: center;
    width: 45px;
    /*display: block;*/
    position: relative;
}
.f-material-table-td-download-wrap{
    display: inline-block;
    position: relative;
}
.t-material-table-item-id{
    position: absolute;
    font-size: 8px;
    color: #666;
    font-weight: normal;
    top: -2px;
    left: 2px;
}

.f-material-fon-1{
    background: linear-gradient(45deg, rgba(0, 0, 0, 0) 49.9%, #e9eef1 49.9%, #e9eef1 60%, rgba(0, 0, 0, 0) 60%) fixed,
    linear-gradient(45deg, #e9eef1 10%, rgba(0, 0, 0, 0) 10%) fixed;
    background-size: 0.5em 0.5em
}
.f-material-fon-bad{
    background: linear-gradient(45deg, rgba(255, 152, 0, 0.21) 49.9%, #f5392b 49.9%, #ffc5a4 60%, rgba(255, 152, 0, 0.22) 60%) fixed,
    linear-gradient(45deg, #ffc5a4 10%, rgba(255, 152, 0, 0.2) 10%) fixed;
    background-size: 0.3em 0.3em;
}
.f-material-table-upload-scan-label{
    cursor: pointer;
    display: none;
    height: 20px;
    width: 20px;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/upload.png);
    background-position: 2px 2px;
    background-repeat: no-repeat;
}
.f-material-table-upload-scan-label.uploading{
    background-image: url(https://cdn.flexiligner.com/flexi/img/upload/ajax-loader3.gif);
}

.f-material-table-download-scan-btn{
    cursor: pointer;
    display: none;
    height: 18px;
    width: 20px;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/drive-download.png);
    background-position: 2px 2px;
    background-repeat: no-repeat;
}
.f-material-table-delete-scan-btn{
    cursor: pointer;
    display: none;
    height: 16px;
    width: 16px;
    /*background-color: #f96b4c;*/
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/small-cancel.png);
    background-position: 5px 5px;
    background-repeat: no-repeat;
}
.f-material-table-td-download.can-upload .f-material-table-upload-scan-label,
.material-box-create-segm-btn.can-upload .f-material-table-upload-scan-label{
    display: block;
}
.f-material-table-td-download.can-download .f-material-table-download-scan-btn{
    display: block;
}
.f-material-table-td-download.can-delete .f-material-table-delete-scan-btn{
    cursor: pointer;
    display: block;
}


.f-doctor-upload-panel-set-link{
    display: inline-block;
    height: 50px;
    width: 90px;
    border-radius: 4px;
    border: 2px solid #136e7c;
    margin: 5px 5px;
    background-color: #81c1bb;
    color: #0e4b56;
    cursor: pointer;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
}
.f-doctor-upload-panel-set-link:hover{
    background-color: #77b4ae;
}
.f-doctor-upload-panel-set-title{
    font-size: 12px;
    margin-top: 5px;
}
.f-doctor-upload-panel-set-date{
    font-size: 11px;
}
.f-doctor-upload-panel-set-before{
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
    vertical-align: top;
    margin-top: 10px;
}

/*------------Окно добавления комплекта*/
.append-set-window-column-new{
    background-color: #e7ffc1;
    color: #006100;
    padding: 4px 10px;
    margin-right: 4px;
}
.append-set-window-column-no{
    background-color: #dedede;
    color: #000000;
    padding: 4px 10px;
    margin-right: 4px;
}
.append-set-window-column-exists{
    background-color: #fff5d1;
    color: #77320a;
    padding: 4px 10px;
}
.append-set-window-new-mask-radio{
    background-color: #dcf4b6;
    border: 1px solid #c1e5a3;
    border-radius: 2px;
    padding: 1px 6px;
}
.append-set-window-new-model-radio{
    background-color: #f4ebb0;
    border: 1px solid #e5cf98;
    border-radius: 2px;
    padding: 1px 6px;
}
.append-set-window-exists-radio{
    background-color: #ffd3b9;
    border: 1px solid #e5ad93;
    border-radius: 2px;
    padding: 1px 6px;
}

.material-grid-selected-upper{
    background-color: #03a9f4;
}
.material-grid-selected-lower{
    background-color: #8bc34a;
}
.material-grid-selected-okl{
    background-color: #c857e6;
}

.append-set-material-selection-new-mask{
    background-color: #dcf4b6;
    border: 1px solid #c1e5a3;
    color: #005200;
    border-radius: 2px;
    text-align: center;
    height: 40px;
    width: 140px;
    vertical-align: middle;
    display: table-cell;
}
.append-set-material-selection-new-model{
    background-color: #f4ebb0;
    border: 1px solid #e5cf98;
    color: #8c6403;
    border-radius: 2px;
    text-align: center;
    height: 40px;
    width: 140px;
    vertical-align: middle;
    display: table-cell;
}
.append-set-material-selection-exists{
    background-color: #ffd3b9;
    border: 1px solid #e5ad93;
    color: #c33c1d;
    border-radius: 2px;
    text-align: center;
    height: 40px;
    width: 140px;
    vertical-align: middle;
    display: table-cell;
}
.append-set-material-selection-no{
    background-color: #dedede;
    border: 1px solid #a1a1a1;
    color: #686868;
    border-radius: 2px;
    text-align: center;
    height: 40px;
    width: 140px;
    vertical-align: middle;
    display: table-cell;
}

/*---------Загрузка сканов для комплекта--------*/
.upload-set-window-input-box{
    overflow: hidden;
    width: 346px;
    display: inline-block;
    border: 1px dotted #ccc;
    border-radius: 5px;
    height: 40px;
    position: relative;
}
.upload-set-window-submit-btn{
    display: none;
    margin-left: 10px;
    margin-top: 5px;
    height: 30px;
    width: 90px;
    line-height: 30px;
    border-radius: 5px;
    background-color: #e1e6f4;
    border: 1px solid #0065ae;
    vertical-align: top;
    text-align: center;
    font-weight: bold;
    color: #0065ae;
    cursor: pointer;
}
.upload-set-window-submit-btn:hover{
    background-color: #d9deec;
}
.upload-set-window-submit-btn.valid{
    display: inline-block;
}
.upload-set-window-uploaded-icon{
    position: absolute;
    top: 0;
    left: 0;
    height: 32px;
    width: 32px;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons32/accept.png);
}
.upload-set-window-uploaded-box{
    display: inline-block;
    width: 330px;
    padding: 5px;
    border: 1px dotted #ccc;
    border-radius: 5px;
    margin-left: 15px;
    color: #006100;
    text-align: center;
    font-size: 16px;
    margin-top: 5px;
}
.upload-set-window-input-file{
    position: fixed;
    top: -100em;
}
.upload-window-input-label{
    display: inline-block;
    /*height: 24px;*/
    /*width: 24px;*/
    /*margin: -3px 0 0 10px;*/
    vertical-align: middle;
    border: 0;
    line-height: 40px;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons24/folder.png);
    cursor: pointer;
    position: absolute;
    width: 334px;
    height: 38px;
    margin: 0 0 0 10px;
    background-repeat: no-repeat;
    background-position-y:5px;
    padding: 0 0 0 40px;
}
.upload-window-input-label.error{
    color: #d70000;
}
.upload-window-input-label.loading{
    background-image: url(https://cdn.flexiligner.com/flexi/img/loadbig.gif);
    background-size:24px;
    background-position-y:7px;
}
.upload-set-window-input-value{
    display: inline-block;
    margin-left: 10px;
    line-height: 40px;
    width: 240px;
}
.upload-set-window-input-value.error{
    color: #d70000;
}
.upload-set-window-progress{
    position: absolute;
    top: 0;
    left: 0;
    height: 40px;
    border-radius: 5px;
    background-color: #82dd89;
    width: 0;
    z-index: 0;
}

.upload-set-window-scan-buttons-block{
    display: inline-flex;
    height: 5px;
    width: 50px;
    vertical-align: top;
}

.upload-set-window-done-buttons-block{
    display: inline-block;
    margin-left: 10px;
    height: 40px;
    width: 20px;
    vertical-align: top;
}
.upload-set-window-delete-btn{
    cursor: pointer;
    height: 20px;
    width: 20px;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/small-cancel.png);
    background-position: 5px 5px;
    background-repeat: no-repeat;
}
.upload-set-window-delete-btn:hover{
    background-color: #ffe1d7;
}
.upload-set-window-download-btn:hover{
    background-color: #ffe1d7;
}
.upload-set-window-download-btn{
    cursor: pointer;
    height: 20px;
    width: 20px;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/drive-download.png);
    background-position: 2px 2px;
    background-repeat: no-repeat;
}

/*----------------*/
.doctor-bill-list-value-td{
    line-height: 30px;
    display: inline-block;
    width: 80px;
    text-align: right;
    margin-right: 10px;
    font-size: 14px;
}
.doctor-bill-list-value-td.no-empty{
    font-weight: bold;
}
.doctor-bill-list-payment-date-td{
    line-height: 30px;
    display: inline-block;
    width: 72px;
    font-style: italic;
}
.start-acquiring-btn{
    cursor: pointer;
    padding: 8px;
    width: 105px;
    height : 33px;
    background: #98ca73;
    border-radius: 4px;
    border: 1px solid #668450;
    text-align: center;
    font-size: 13px;
}

.pdf-acquiring-btn{
    cursor: pointer;
    padding: 8px;
    width: 50px;
    height : 33px;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #668450;
    text-align: center;
    font-size: 13px;
}

.doctor-bill-table-name-td{
    line-height: 20px;
    width: 100%;
    margin-right: 30px;
}
.doctor-bill-list-invoice-link{
    text-decoration: none;
    display: inline-block;
    height: 38px;
    vertical-align: bottom;
}
.doctor-bill-list-invoice-link-wrap{
    margin: 6px 0;
    height: 38px;
}
.doctor-bill-list-invoice-link-container{
    padding: 3px 5px;
    /*margin: 6px 0;*/
    border-radius: 4px;
    background-color: #ffeeb6;
    font-size: 12px;
    width: 180px;
    color: #3a2303;
    border: 1px solid #d4b379;
}
.doctor-bill-list-invoice-link-container:hover{
    background-color: #ffe1ac;
    border: 1px solid #f3aa7f;
}
.doctor-bill-list-invoice-link-1{
    display: inline-block;
}
.doctor-bill-list-invoice-link-2{
    display: inline-block;
    font-weight: bold;
}
.doctor-bill-list-invoice-link-3{
    font-size: 11px;
    color: #544040;
    font-style: italic;
}
.doctor-bill-list-invoice-link-copy{
    display: inline-block;
    height: 32px;
    width: 32px;
    border: 0;
    margin-left: 4px;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons32/copy.png);
    cursor: pointer;
}
/*---------------------*/
.f-old-scans-container{
    padding: 5px 10px;
    border: 1px solid #999;
    border-radius: 2px;
    width: 700px;
    margin: 5px 10px;
}
.f-old-scans-arch-title{
    width: 100px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
    display: inline-block;
    vertical-align: top;
    margin-top: 5px;
}
.f-old-scans-item-container{
    display: inline-block;
}
.f-old-scans-item{

}
.f-old-scans-title{
    padding: 3px 10px;
}
.f-old-scans-item-date{
    display: inline-block;
    width: 80px;
    color: #666;
    font-size: 12px;
    vertical-align: top;
    margin-top: 5px;
}
.f-old-scans-item-link{
    display: inline-block;
    width: 16px;
    height: 16px;
    /*background-color: red;*/
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/drive-download.png) !important;
    margin: 4px 10px 0 0;
    cursor: pointer;
}
.f-old-scans-item-comment{
    display: inline-block;
    font-style: italic;
    font-size: 12px;
    color: #666;
    width: 450px;
    vertical-align: top;
    margin-top: 5px;
}
/*----------------------------*/

/*-------------Googla Maps for Address---------------*/
.controls {
    all:initial;
    background-color: #fff;
    border-radius: 2px;
    position: absolute;
    left: 250px;
    border: 1px solid transparent;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    font-family: Roboto;
    font-size: 15px;
    font-weight: 300;
    height: 29px;
    margin-left: 17px;
    margin-top: 10px;
    outline: none;
    padding: 0 11px 0 13px;
    text-overflow: ellipsis;
    width: 400px;
    top:0;
}
.pac-container{
    position: absolute !important;
    left: 226px !important;
    width: 398px !important;
    top:40px !important;
}

.controls:focus {
    border-color: #4d90fe;
}

#infowindow-content {
    display: none;
}
#googleMap #infowindow-content {
    display: inline;
}
/*----------------------------*/
/*************Plan css******/


.plan-form {
    user-select: none;
    /*height:auto;*/
    width: 1040px;
    /*width: 100%;*/
}

.plan-form fieldset {
    border-radius: 5px;
    border: 1px solid #cccccc;
}

.plan-form fieldset:disabled {
    opacity: .3;
}

.plan-form textarea:read-only,
.plan-form input[type=text]:read-only{
    cursor: not-allowed;
}
.plan-form .comment-readonly{
    cursor: default !important;
    color:red;
}
.line{
    height:1px;
    width:98%;
    border:1px solid #eeeeee;
    border-width: 1px 0 0;
    margin: 0 1%;
}

.block-header {
    font-family: helvetica, arial, verdana, sans-serif;;
    font-size: 14px;
    font-weight: bold;
    padding-top: 10px;
}

.block-table {
    font-family: helvetica, arial, verdana, sans-serif;;
    font-size: 13px;
    margin: 5px;
    border-radius: 5px;
    border: 1px solid #dddddd;
    width: 100%;
}

.block-table-first-td {
    padding: 8px 10px 8px 8px;
    color:rgb(102, 102, 102);
    width: 240px;
    vertical-align: top;
    font-weight: bold;
}

.block-table-td {
    padding: 8px;
    vertical-align: top;
    width: 385px;
}

.attention {
    font-style: italic;
}

.vertical:first-child {
    padding: 0 0 2px 0;
}

.vertical {
    padding: 2px 0;
}

.vertical:last-child {
    padding: 2px 0 0;
}

.label-input {
    display: flex;
    width: 100%;
}

.f-checkbox,
.f-radio {
    display: none;
}

.f-checkbox-custom,
.f-radio-custom {
    user-select: none;
    cursor: pointer;
    width: 16px;
    height: 16px;
    border: 2px solid #999;
    border-radius: 3px;
    flex: none;
    margin-right: 5px;
    position: relative;
}

.f-radio-label{
    margin-right:5px;
}

.f-checkbox-custom,
.f-radio-custom,
.f-radio-label,
.f-checkbox-label {
    user-select: none;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    white-space: normal;
}

.tooth8-sector-3 .f-radio-label{
    text-align:left;
}
.tooth8-sector-2 .f-radio-label{
    text-align:left;
}

.label-before-input{
    padding-right:5px;
}


.tooth-tool:disabled,
.f-checkbox:disabled,
.f-checkbox:disabled  + .f-checkbox-custom,
.f-checkbox:disabled  ~ .f-checkbox-label,
.f-radio:disabled,
.f-radio:disabled  + span,
.f-radio:disabled  + .f-radio-custom,
.f-radio:disabled  ~ .f-radio-label,
.f-radio:disabled  ~ img{
    cursor: not-allowed;
}

.f-radio  ~ img{
    cursor: pointer;
}

.f-checkbox:checked + .f-checkbox-custom::before,
.f-radio:checked + .f-radio-custom::before {
    content: "";
    display: block;
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    background: #3892d4;
    border-radius: 2px;
    cursor: pointer;
}

.f-radio-custom,
.f-radio:checked + .f-radio-custom::before {
    border-radius: 50%;
    cursor: pointer;
}
.f-plan-spee-btn {
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 18px;
    color:#888888;
    /*color:#67BADD;*/
    padding: 2px;
    margin: 0 2px;
    height: 22px;

}

.f-plan-spee-radio {
    border: none;
    display: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 18px;

    padding: 2px;
    margin: 0 2px;
    height: 22px;
}

.f-plan-spee-radio + span {
    cursor: pointer;
    font-size: 20px;
    color: #888888;
    /*color: #67BADD;*/
    padding-left: 2px;
    padding-right: 2px;
    vertical-align: middle;
}

input:checked + .far {
    font-weight: 900;
    font-size: 24px;
    padding-left: 0;
    padding-right: 0;
    color: #67BADD;
}


.f-plan-spee-table {
    /*color: #398aab;*/
    color: #777;
    font-size: 16px;
    text-align: center;
    border-spacing: 0;
}

.f-plan-spee-table td {
    padding:3px 10px 5px 10px;
    border-left: 1px solid rgba(128, 128, 128, 0.5);
    vertical-align: middle;
}

.f-plan-spee-table td:first-of-type {
    border-left: none;
}

.f-plan-spee-table td:nth-of-type(4) {
    border-left-color:gray;
}

.f-plan-spee-table tr:nth-of-type(2) td{
    border-bottom: 1px solid gray;
}
.f-plan-spee-table tr:nth-of-type(3) td,
.f-plan-spee-table tr:nth-of-type(4) td  .f-plan-spee-radio + span{
    /*color: #567eae;*/
}
.f-spee-legend{
    margin:0 0 10px;
}
.f-spee-legend-item{
    margin:0 10px 0 3px;
}
.f-spee-legend-item i{
    margin:0 3px 0 0;
    font-size:15px;
    color: #888888;
    /*color: #67BADD;*/
}
.f-spee-legend-item i.speedown{
    margin:0 3px 0 0;
    /*color: #567eae;*/
}
.lab_discretion ~ span{
    color: #3892d4;
    font-weight: bold;
}
.subEngl {
    width: 91px;
}
.no-valid{
    background-color: #faeaea;
}
.add-super-comment {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    width: 20px;
    height: 20px;
    opacity:0.6;
}

.super-comment {
    color:red;
    display: none;
    width: 100%;
    resize: vertical;
}

.super-comment:disabled {
    background-color: transparent;
    resize: none;
    border: none;
}

.edit-comment {
    display: none;
}

.edit-comment + textarea {
    display: block;
}

.comment-block {
    width:240px;
    margin-top: 5px;
    padding-left: 25px;
}

.comment-readonly{
    border: none;
    font-style: italic;
    resize: none !important;
}

.super ~ .f-checkbox-custom ,
.super ~ .f-radio-custom {
    border: 2px solid red !important;
    /*border: 2px solid #3892d4 !important;*/
}

.super-nomove-tooth .tooth-nomove,
.super-no-attach .tooth-attach {
    display: block !important;
    filter: hue-rotate(145deg) saturate(3);
}
.super-no-tooth{
    opacity:0.4;
    filter: hue-rotate(145deg) saturate(3);
}
.break-comment{
    border-radius: 5px; border:1px solid #cccccc;
}

.correction-params{
    /*border-radius: 5px; border:1px solid #cccccc;*/
    border:none;
}

.mezial {
    margin: 2px 0 5px;
    border: none;
}

.distal{
    margin:2px 0 5px;
    border: none;
}

.bitejumps{
    margin:2px 0 5px;
    border: none;
}

.vert-by{
    margin-top: 22px;
}

.occlusion-params, .front-align-up, .front-align-down{
    border-radius: 5px;
    border:none !important;
    padding:0;
    margin:0;
}
.pre-tool-btn-down{
    padding: 0;
    margin: 0;
    height: 71px;
    display: inline-block;
}

.tooth-btn {
    user-select: none;
    display: inline-block;
    cursor:pointer;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: cover;
    border: none;
    padding: 0;
    margin: 0;
    height: 55px;
    text-align: center;
}
.tooth-btn.unclick{
    cursor:default;
}

.tooth-btn-label {
    background-image: none !important;
    display: inline-block;
    user-select: none;
    padding: 0;
    margin: 0;
    color: #777777;
    font-size: 12px;
    height: 16px !important;
    vertical-align: middle;
    text-align: center;
}

.no-tooth  div:first-child{
    background-color: rgba(255,255, 255, 0.8);
    /*opacity:0.2 !important;*/
    /*background-size: 0 !important;*/
}

.no-tooth.down-position   div:last-child{
    background-color: rgba(255,255, 255, 0.8);
    /*opacity:0.2 !important;*/
    /*background-size: 0 !important;*/
}
.no-attach .tooth-attach {
    display: block;
}

.nomove-tooth .tooth-nomove{
    display: block;
}
.hide-tooth{
    opacity:0;
}
.semi-hide-tooth{
    opacity:0.4;
}
.remove-tooth .tooth-remove {
    display: block;
}
.tooth-rmlab.tooth-btn{
    /*-webkit-mask-image: -webkit-gradient(linear, left top, right top, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));*/
}

.tooth-rmlab .tooth-lab-rm{
    display: block;
}
.tooth-lab-rm{
    width: 14px;
    margin:auto;
    margin-top: 10px;
    height: 14px;
    display: none;
    opacity:0.6;
}
.tooth-btn2.down-position .tooth-lab-rm{
    margin-top: -2px;
}
.tooth-attach  {
    width: 16px;
    margin:auto;
    margin-top: 10px;
    height: 16px;
    display: none;
}

.tooth-nomove  {
    display: none;
    width: 16px;
    margin:auto;
    height: 16px;
}
.down-position .tooth-attach{
    margin-top:12px !important;
}
.down-position .tooth-nomove{
    margin-top:0 ;
}
.down-position.tooth-btn{
    height:84px !important;
    background-position-y: 14px;
}

.down-position.tooth-btn.tooth-48{
    height:80px !important;
}
.down-position.tooth-btn.tooth-38{
    height:80px !important;
}
.tooth-btn2.down-position .tooth-attach {
    margin-top: -4px  !important;
}
.tooth-btn2.down-position.tooth-btn{
    background-position-y: 32px;
}

.tooth-18 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t18.png");
    width: 45px;
}

.tooth-17 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t17.png");
    width: 46px;
}

.tooth-16 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t16.png");
    width: 50px;
}

.tooth-15 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t15.png");
    width: 34px;
}

.tooth-14 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t14.png");
    width: 35px;
}

.tooth-13 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t13.png");
    width: 38px;
}

.tooth-12 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t12.png");
    width: 34px;
}

.tooth-11 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t11.png");
    width: 39px;
}

.tooth-21 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t21.png");
    width: 39px;
}

.tooth-22 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t22.png");
    width: 32px;
}

.tooth-23 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t23.png");
    width: 37px;
}

.tooth-24 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t24.png");
    width: 35px;
}

.tooth-25 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t25.png");
    width: 33px;
}

.tooth-26 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t26.png");
    width: 50px;
}

.tooth-27 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t27.png");
    width: 47px;
}

.tooth-28 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t28.png");
    width: 44px;
}

.tooth-48 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t48.png");
    background-size:53px 55px;
    width: 53px;
}

.tooth-47 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t47.png");
    background-size:50px 55px;

    width: 50px;
}

.tooth-46 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t46.png");
    background-size:57px 55px;
    width: 57px;
}

.tooth-45 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t45.png");
    background-size:35px 55px;
    width: 35px;
}

.tooth-44 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t44.png");
    background-size:33px 55px;
    width: 33px;
}

.tooth-43 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t43.png");
    background-size:34px 55px;
    width: 34px;
}

.tooth-42 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t42.png");
    background-size:24px 55px;
    width: 24px;
}

.tooth-41 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t41.png");
    background-size:26px 55px;
    width: 26px;
}

.tooth-31 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t31.png");
    background-size:26px 55px;
    width: 26px;
}

.tooth-32 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t32.png");
    background-size:24px 55px;
    width: 24px;
}

.tooth-33 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t33.png");
    background-size:35px 55px;
    width: 35px;
}

.tooth-34 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t34.png");
    background-size:32px 55px;
    width: 32px;
}

.tooth-35 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t35.png");
    background-size:35px 55px;
    width: 35px;
}

.tooth-36 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t36.png");
    background-size:57px 55px;
    width: 57px;
}

.tooth-37 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t37.png");
    background-size:50px 55px;
    width: 50px;
}

.tooth-38 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t38.png");
    background-size:52px 55px;
    width: 52px;
}




.tooth8-18 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t18.png");
    width: 53px;
}

.tooth8-48 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t48.png");
    background-size:53px 55px;
    width: 53px;
}
.tooth8-28 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t28.png");
    width: 52px;
}

.tooth8-38 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t38.png");
    background-size:52px 55px;
    width: 52px;
}


.tooth-tool {
    display: none;
}

.tooth-tool ~ span {
    display: inline-block;
    /*vertical-align: middle;*/
    padding:6px 4px 6px 6px;
    height:30px;
    cursor: pointer;
    white-space: nowrap;
}
.tooth-tool ~ img {
    display: inline-block;
    width:30px;
    height:30px;
    /*vertical-align: middle;*/
    padding:4px;
    cursor: pointer;
    /*white-space: normal;*/
}

/*.tool-tooth-label:has(> .tooth-tool:checked) {*/
.tooth-tool  ~ span   {
    border-style: solid;
    border-color: lightgrey;
    padding:5px 3px 5px 0px;
    border-width: 1px 1px 1px 0;
    border-radius: 0 4px 4px 0;
}
.tooth-tool:checked  ~ span   {
    border-color: darkgrey;
    background-color: #EBEBEB;
}
.tooth-tool  ~ img   {
    border-style: solid;
    border-color: lightgrey;
    border-width: 1px 0 1px 1px;
    border-radius: 4px 0 0 4px;
    padding:3px 4px 3px 3px;
}
.tooth-tool:checked  ~ img   {
    border-color: darkgrey;
    background-color: #EBEBEB;
}


.label-tool-tooth{
    margin:3px 5px;
    display:inline-flex;
}
.tooth-btn-tool {
    background-color: transparent;
    display: inline-flex;
    border: none;
    color: #333333;
    padding: 4px 8px;
    /*margin: 0;*/
    height: 32px;
    margin: 5px 12px;
}

.tooth-btn-tool:focus {
    background-color: rgba(89, 212, 255, 0.15);
    border: 2px solid rgba(46, 129, 180, 0.54);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 2px 6px;
    outline: 0 !important;
}

.tooth-btn-tool div {
    padding: 4px 0 0 4px;
}



.tooth8-sector-1{
    width:368px;
    padding:0 0 2px;
    border-color: gray;
    border-style: solid;
    border-width:0 1px 1px 0;
}
.tooth8-sector-2{
    width:370px;
    padding:0 0 2px 4px;
    border-color: gray;
    border-style: solid;
    border-width:0 0 1px 0;
}
.tooth8-sector-3{
    width:370px;
    padding:0 0 0 4px;
}
.tooth8-sector-4{
    width:368px;
    padding:0;
    border-color: gray;
    border-style: solid;
    border-width:0 1px 0 0;
}



.tooth-sector-1{
    width:368px;
    padding:0 0 2px;
    border-color: gray;
    border-style: solid;
    border-width:0 1px 1px 0;
}
.tooth-sector-2{
    width:370px;
    padding:0 0 2px 4px;
    border-color: gray;
    border-style: solid;
    border-width:0 0 1px 0;
}
.tooth-sector-3{
    width:370px;
    border-color: gray;
    border-style: solid;
    border-width:0 ;
    padding:0 0 0 4px;
}
.tooth-sector-4{
    width:368px;
    padding:0 0 0 9px;
    border-color: gray;
    border-style: solid;
    border-width:0 1px 0 0;
}

.tb-sectors-1{
    padding:0 0 2px;
    border-color: gray;
    border-style: solid;
    border-width:0 1px 1px 0;
}
.tb-sectors-2{
    padding:0 0 2px 6px;
    border-color: gray;
    border-style: solid;
    border-width:0 0 1px 0;
}
.tb-sectors-3{
    padding:3px 0 0 6px;
}
.tb-sectors-4{
    padding:3px 0 0;
    border-color: gray;
    border-style: solid;
    border-width:0 1px 0 0;
}

/*------------------Tooth tool for plan, item 5-------------*/


.tooth-tool2 {
    display: none;
}

.tooth-tool2  ~ span   {
    display: inline-block;
    cursor: pointer;
    white-space: nowrap;
    height:30px;
    border-style: solid;
    border-color: lightgrey;
    padding:5px;
    border-width: 1px;
    border-radius: 0 4px 4px 0;
}
.tooth-tool2:checked  ~ span   {
    border-color: darkgrey;
    background-color: #EBEBEB;
}
.plomba, .vinir{
    display: none;
    font-size: 14px;
}
.implant{
    display: none;
    line-height: 65px;
    font-size: 18px;
    margin-left:-3px;
}
.down-position .implant{
    vertical-align: top;
    line-height: 45px;
}

.tooth-btn2{
    /*padding-top:25px;*/
}
.down-position.tooth-btn2{
    /*padding-top:28px;*/
}
.plomba-on .plomba,
.implant-on  .implant,
.vinir-on .vinir{
    display: inline;
    font-weight:bold;
    color:#3892d4;
}
.implantParam:disabled,
.implantNoInfo:disabled {
    display:none;
}
.implantNoInfo{
    color:red;
}



/*--------------Plan 8 ------------------*/


.plan8 .plan-form {
    user-select: none;
    /*height:auto;*/
    width: 1040px;
    /*width: 100%;*/
}

.plan8 .plan-form fieldset {
    border-radius: 5px;
    border: 1px solid #cccccc;
}

.plan8 .plan-form fieldset:disabled {
    opacity: .3;
}

.plan8 .plan-form textarea:read-only,
.plan8 .plan-form input[type=text]:read-only{
    cursor: not-allowed;
}
.plan8 .plan-form .comment-readonly{
    cursor: default !important;
    color:red;
}
.plan8 .line{
    height:1px;
    width:98%;
    border:1px solid #eeeeee;
    border-width: 1px 0 0;
    margin: 0 1%;
}

.plan8 .block-header {
    font-family: helvetica, arial, verdana, sans-serif;;
    font-size: 14px;
    font-weight: bold;
    padding-top: 10px;
}

.plan8 .block-table {
    font-family: helvetica, arial, verdana, sans-serif;;
    font-size: 13px;
    margin: 5px;
    border-radius: 5px;
    border: 1px solid #dddddd;
    width: 100%;
}

.plan8 .block-table-first-td {
    padding: 8px 10px 8px 8px;
    color:rgb(102, 102, 102);
    width: 240px;
    vertical-align: top;
    font-weight: bold;
}

.plan8 .block-table-td {
    padding: 8px;
    vertical-align: top;
    width: 385px;
}

.plan8 .attention {
    font-style: italic;
}

.plan8 .vertical:first-child {
    padding: 0 0 2px 0;
}

.plan8 .vertical {
    padding: 2px 0;
}

.plan8 .vertical:last-child {
    padding: 2px 0 0;
}

.plan8 .label-input {
    display: flex;
    width: 100%;
}

.plan8 .f-checkbox,
.plan8 .f-radio {
    display: none;
}

.plan8 .f-checkbox-custom,
.plan8 .f-radio-custom {
    user-select: none;
    cursor: pointer;
    width: 16px;
    height: 16px;
    border: 2px solid #999;
    border-radius: 3px;
    flex: none;
    margin-right: 5px;
    position: relative;
}

.plan8 .f-radio-label{
    margin-right:5px;
}

.plan8 .f-checkbox-custom,
.plan8 .f-radio-custom,
.plan8 .f-radio-label,
.plan8 .f-checkbox-label {
    user-select: none;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    white-space: normal;
}

.plan8 .label-before-input{
    padding-right:5px;
}


.plan8 .tooth-tool:disabled,
.plan8 .f-checkbox:disabled,
.plan8 .f-checkbox:disabled  + .f-checkbox-custom,
.plan8 .f-checkbox:disabled  ~ .f-checkbox-label,
.plan8 .f-radio:disabled,
.plan8 .f-radio:disabled  + span,
.plan8 .f-radio:disabled  + .f-radio-custom,
.plan8 .f-radio:disabled  ~ .f-radio-label,
.plan8 .f-radio:disabled  ~ img{
    cursor: not-allowed;
}

.plan8 .f-radio  ~ img{
    cursor: pointer;
}

.plan8 .f-checkbox:checked + .f-checkbox-custom::before,
.plan8 .f-radio:checked + .f-radio-custom::before {
    content: "";
    display: block;
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    background: #3892d4;
    border-radius: 2px;
    cursor: pointer;
}

.plan8 .f-radio-custom,
.plan8 .f-radio:checked + .f-radio-custom::before {
    border-radius: 50%;
    cursor: pointer;
}

.plan8 .lab_discretion ~ span{
    color: #3892d4;
    font-weight: bold;
}
.plan8 .subEngl {
    width: 91px;
}
.plan8 .no-valid{
    background-color: #faeaea;
}
.plan8 .add-super-comment {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    width: 20px;
    height: 20px;
    opacity:0.6;
}

.plan8 .super-comment {
    color:red;
    display: none;
    width: 100%;
    resize: vertical;
}

.plan8 .super-comment:disabled {
    background-color: transparent;
    resize: none;
    border: none;
}

.plan8 .edit-comment {
    display: none;
}

.plan8 .edit-comment + textarea {
    display: block;
}

.plan8 .comment-block {
    width:240px;
    margin-top: 5px;
    padding-left: 25px;
}

.plan8 .comment-readonly{
    border: none;
    font-style: italic;
    resize: none !important;
}

.plan8 .super ~ .f-checkbox-custom ,
.plan8 .super ~ .f-radio-custom {
    border: 2px solid red !important;
    /*border: 2px solid #3892d4 !important;*/
}

.plan8 .super-nomove-tooth .tooth-nomove,
.plan8 .super-no-attach .tooth-attach {
    display: block !important;
    filter: hue-rotate(145deg) saturate(3);
}
.plan8 .super-no-tooth{
    opacity:0.4;
    filter: hue-rotate(145deg) saturate(3);
}
.plan8 .break-comment{
    border-radius: 5px; border:1px solid #cccccc;
}

.plan8 .correction-params{
    /*border-radius: 5px; border:1px solid #cccccc;*/
    border:none;
}

.plan8 .mezial {
    margin: 2px 0 5px;
    border: none;
}

.plan8 .distal{
    margin:2px 0 5px;
    border: none;
}

.plan8 .bitejumps{
    margin:2px 0 5px;
    border: none;
}

.plan8 .vert-by{
    margin-top: 22px;
}

.plan8 .occlusion-params, .front-align-up, .front-align-down{
    border-radius: 5px;
    border:none !important;
    padding:0;
    margin:0;
}
.plan8 .pre-tool-btn-down{
    padding: 0;
    margin: 0;
    height: 71px;
    display: inline-block;
}

.plan8 .tooth-btn {
    user-select: none;
    display: inline-block;
    cursor:pointer;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: cover;
    border: none;
    padding: 0;
    margin: 0;
    height: 55px;
    text-align: center;
    margin-top:16px;
}
.plan8 .tooth-btn.unclick{
    cursor:default;
}

.plan8 .tooth-btn-label {
    background-image: none !important;
    display: inline-block;
    user-select: none;
    padding: 0;
    margin: 0;
    color: #777777;
    font-size: 12px;
    height: 16px !important;
    vertical-align: middle;
    text-align: center;
}

.plan8 .no-tooth  /*div:first-child*/{
    background-color: rgba(255,255, 255, 0.8);
    opacity:0.2 !important;
    /*background-size: 0 !important;*/
}

.plan8 .no-tooth.down-position   div:last-child{
    background-color: rgba(255,255, 255, 0.8);
    /*opacity:0.2 !important;*/
    /*background-size: 0 !important;*/
}
.plan8 .no-attach .tooth-attach {
    display: block;
}

.plan8 .nomove-tooth .tooth-nomove {
    display: block;
}
.plan8 .hide-tooth{
    opacity:0;
}
.plan8 .semi-hide-tooth{
    opacity:0.4;
}
.plan8 .remove-tooth .tooth-remove {
    display: block;
}
.plan8 .tooth-rmlab.tooth-btn{
    /*-webkit-mask-image: -webkit-gradient(linear, left top, right top, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));*/
}

.plan8 .tooth-rmlab .tooth-lab-rm{
    display: block;

}
.plan8 .tooth-lab-rm{
    width: 14px;
    margin:auto;
    margin-top: -8px;
    height: 14px;
    display: none;
    opacity:0.6;
}

.plan8 .down-position .tooth-lab-rm{
    margin-top: 0;
}
.plan8 .tooth-btn2 .tooth-lab-rm{
    margin-top: 8px;
}
.plan8 .tooth-btn2.down-position .tooth-lab-rm{
    margin-top: -32px;
}

.plan8 .tooth-btn2.down-position {
    vertical-align: top;
}

.plan8 .tooth-attach {
    width: 24px;
    margin:auto;
    margin-top: 16px;
    height: 24px;
    display: none;
}

.plan8 .tooth-nomove {
    display: none;
    width: 20px;
    margin:auto;
    height: 20px;
    margin-top:-36px;
}

.plan8 .down-position .tooth-nomove{
    margin-top:36px;
}
.plan8 .tooth-btn2.down-position .tooth-nomove{
    margin-top:2px;
}

.plan8 .down-position .tooth-attach{
    margin-top:-36px !important;
}

.plan8 .down-position.tooth-btn{
    height:84px !important;
    background-position-y: 0;
}

.plan8 .down-position.tooth-btn.tooth-48{
    height:80px !important;
}
.plan8 .down-position.tooth-btn.tooth-38{
    height:80px !important;
}

.plan8 .tooth-btn2 .tooth-attach {
    margin-top:0;
}
.plan8 .tooth-btn2.down-position .plomba {
    /*padding-left: 4px !important;*/
}
.plan8 .tooth-btn2.down-position .vinir {
    padding-left: 4px !important;
    margin-top:-36px;
}
.plan8 .tooth-btn2.down-position.tooth-btn{
    background-position-y: 0;
}


.plan8 .tooth-18 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t18.png");
    width: 45px;
}

.plan8 .tooth-17 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t17.png");
    width: 46px;
}

.plan8 .tooth-16 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t16.png");
    width: 50px;
}

.plan8 .tooth-15 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t15.png");
    width: 34px;
}

.plan8 .tooth-14 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t14.png");
    width: 35px;
}

.plan8 .tooth-13 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t13.png");
    width: 38px;
}

.plan8 .tooth-12 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t12.png");
    width: 34px;
}

.plan8 .tooth-11 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t11.png");
    width: 39px;
}

.plan8 .tooth-21 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t21.png");
    width: 39px;
}

.plan8 .tooth-22 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t22.png");
    width: 32px;
}

.plan8 .tooth-23 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t23.png");
    width: 37px;
}

.plan8 .tooth-24 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t24.png");
    width: 35px;
}

.plan8 .tooth-25 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t25.png");
    width: 33px;
}

.plan8 .tooth-26 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t26.png");
    width: 50px;
}

.plan8 .tooth-27 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t27.png");
    width: 47px;
}

.plan8 .tooth-28 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t28.png");
    width: 44px;
}

.plan8 .tooth-48 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t48.png");
    background-size:53px 55px;
    width: 53px;
}

.plan8 .tooth-47 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t47.png");
    background-size:50px 55px;

    width: 50px;
}

.plan8 .tooth-46 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t46.png");
    background-size:57px 55px;
    width: 57px;
}

.plan8 .tooth-45 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t45.png");
    background-size:35px 55px;
    width: 35px;
}

.plan8 .tooth-44 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t44.png");
    background-size:33px 55px;
    width: 33px;
}

.plan8 .tooth-43 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t43.png");
    background-size:34px 55px;
    width: 34px;
}

.plan8 .tooth-42 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t42.png");
    background-size:24px 55px;
    width: 24px;
}

.plan8 .tooth-41 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t41.png");
    background-size:26px 55px;
    width: 26px;
}

.plan8 .tooth-31 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t31.png");
    background-size:26px 55px;
    width: 26px;
}

.plan8 .tooth-32 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t32.png");
    background-size:24px 55px;
    width: 24px;
}

.plan8 .tooth-33 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t33.png");
    background-size:35px 55px;
    width: 35px;
}

.plan8 .tooth-34 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t34.png");
    background-size:32px 55px;
    width: 32px;
}

.plan8 .tooth-35 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t35.png");
    background-size:35px 55px;
    width: 35px;
}

.plan8 .tooth-36 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t36.png");
    background-size:57px 55px;
    width: 57px;
}

.plan8 .tooth-37 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t37.png");
    background-size:50px 55px;
    width: 50px;
}

.plan8 .tooth-38 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t38.png");
    background-size:52px 55px;
    width: 52px;
}




.plan8 .tooth8-18 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t18.png");
    width: 53px;
}

.plan8 .tooth8-48 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t48.png");
    background-size:53px 55px;
    width: 53px;
}
.plan8 .tooth8-28 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t28.png");
    width: 52px;
}

.plan8 .tooth8-38 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t38.png");
    background-size:52px 55px;
    width: 52px;
}


.plan8 .tooth-tool {
    display: none;
}

.plan8 .tooth-tool ~ span {
    display: inline-block;
    /*vertical-align: middle;*/
    padding:6px 4px 6px 6px;
    height:30px;
    cursor: pointer;
    white-space: nowrap;
}
.plan8 .tooth-tool ~ img {
    display: inline-block;
    width:30px;
    height:30px;
    /*vertical-align: middle;*/
    padding:4px;
    cursor: pointer;
    /*white-space: normal;*/
}

/*.tool-tooth-label:has(> .tooth-tool:checked) {*/
.plan8 .tooth-tool  ~ span   {
    border-style: solid;
    border-color: lightgrey;
    padding:5px 3px 5px 0px;
    border-width: 1px 1px 1px 0;
    border-radius: 0 4px 4px 0;
}
.plan8 .tooth-tool:checked  ~ span   {
    border-color: darkgrey;
    background-color: #EBEBEB;
}
.plan8 .tooth-tool  ~ img   {
    border-style: solid;
    border-color: lightgrey;
    border-width: 1px 0 1px 1px;
    border-radius: 4px 0 0 4px;
    padding:3px 4px 3px 3px;
}
.plan8 .tooth-tool:checked  ~ img   {
    border-color: darkgrey;
    background-color: #EBEBEB;
}


.plan8 .label-tool-tooth{
    margin:3px 5px;
    display:inline-flex;
}
.plan8 .tooth-btn-tool {
    background-color: transparent;
    display: inline-flex;
    border: none;
    color: #333333;
    padding: 4px 8px;
    /*margin: 0;*/
    height: 32px;
    margin: 5px 12px;
}

.plan8 .tooth-btn-tool:focus {
    background-color: rgba(89, 212, 255, 0.15);
    border: 2px solid rgba(46, 129, 180, 0.54);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 2px 6px;
    outline: 0 !important;
}

.plan8 .tooth-btn-tool div {
    padding: 4px 0 0 4px;
}



.plan8 .tooth8-sector-1{
    width:368px;
    padding:0 0 2px;
    border-color: gray;
    border-style: solid;
    border-width:0 1px 1px 0;
}
.plan8 .tooth8-sector-2{
    width:370px;
    padding:0 0 2px 4px;
    border-color: gray;
    border-style: solid;
    border-width:0 0 1px 0;
}
.plan8 .tooth8-sector-3{
    width:370px;
    padding:0 0 0 4px;
}
.plan8 .tooth8-sector-4{
    width:368px;
    padding:0;
    border-color: gray;
    border-style: solid;
    border-width:0 1px 0 0;
}



.plan8 .tooth-sector-1{
    width:368px;
    padding:0 0 2px;
    border-color: gray;
    border-style: solid;
    border-width:0 1px 1px 0;
}
.plan8 .tooth-sector-2{
    width:370px;
    padding:0 0 2px 4px;
    border-color: gray;
    border-style: solid;
    border-width:0 0 1px 0;
}
.plan8 .tooth-sector-3{
    width:370px;
    padding:0 0 0 4px;
}
.plan8 .tooth-sector-4{
    width:368px;
    padding:0 0 0 9px;
    border-color: gray;
    border-style: solid;
    border-width:0 1px 0 0;
}

.plan8 .tb-sectors-1{
    padding:0 0 2px;
    border-color: gray;
    border-style: solid;
    border-width:0 1px 1px 0;
}
.plan8 .tb-sectors-2{
    padding:0 0 2px 6px;
    border-color: gray;
    border-style: solid;
    border-width:0 0 1px 0;
}
.plan8 .tb-sectors-3{
    padding:3px 0 0 6px;
}
.plan8 .tb-sectors-4{
    padding:3px 0 0;
    border-color: gray;
    border-style: solid;
    border-width:0 1px 0 0;
}

/*------------------Tooth tool for plan, item 5-------------*/


.plan8 .tooth-tool2 {
    display: none;
}

.plan8 .tooth-tool2  ~ span   {
    display: inline-block;
    cursor: pointer;
    white-space: nowrap;
    height:30px;
    border-style: solid;
    border-color: lightgrey;
    padding:5px;
    border-width: 1px;
    border-radius: 0 4px 4px 0;
}
.plan8 .tooth-tool2:checked  ~ span   {
    border-color: darkgrey;
    background-color: #EBEBEB;
}
.plan8 .plomba, .plan8 .vinir{
    display: none;
    font-size: 14px;
    height: 20px;
    margin-top:5px;
    line-height: 20px;
}
.plan8 .down-position .plomba,.plan8 .down-position .vinir{
    margin-top:-4px;
}
.plan8 .plomba{
    margin-left: -2px;
}
.plan8 .vinir{
    margin-left: -6px;
}
.plan8 .implant{
    display: none;
    line-height: 65px;
    font-size: 18px;
    margin-left:-3px;
    /*margin-top: 17px;*/
    height:30px;
}
.plan8 .down-position .implant{
    vertical-align: top;
    line-height: 45px;
    margin-top: -7px
    /*margin-top:0 !important;*/
}

.plan8 .tooth-btn2{
    margin-bottom:16px;
    /*padding-top:25px;*/
}
.plan8 .down-position.tooth-btn2{
    /*padding-top:28px;*/
    margin-bottom:0;
}
.plan8 .plomba-on .plomba,
.plan8 .implant-on  .implant,
.plan8 .vinir-on .vinir{
    display: inline;
    font-weight:bold;
    color:#3892d4;
}
.plan8 .implantParam:disabled,
.plan8 .implantNoInfo:disabled {
    display:none;
}
.plan8 .implantNoInfo{
    color:red;
}


/*--------------Plan 9 ------------------*/
.plan-info-message{

    text-align:center;
    color:#0095ff;
    font-weight:bold;
    font-size:13px;
    /* background-color: #fff6f6; */
    background-color: #f6f8f9;
    padding: 10px;
    border: 1px solid #e0e7eb;
    /* border: 1px solid #f4d5d5; */

    border-radius: 5px;
    margin: 5px 0 15px 10px;
}

.plan9 .plan-form {
    user-select: none;
    /*height:auto;*/
    width: 1040px;
    /*width: 100%;*/
}

.plan9 .plan-form fieldset {
    border-radius: 5px;
    border: 1px solid #cccccc;
}

.plan9 .plan-form fieldset:disabled {
    opacity: .3;
}

.plan9 .plan-form textarea:read-only,
.plan9 .plan-form input[type=text]:read-only{
    cursor: not-allowed;
}
.plan9 .plan-form .comment-readonly{
    cursor: default !important;
    color:red;
}
.plan9 .line{
    height:1px;
    width:98%;
    border:1px solid #eeeeee;
    border-width: 1px 0 0;
    margin: 0 1%;
}

.plan9 .block-header {
    font-family: helvetica, arial, verdana, sans-serif;;
    font-size: 20px;
    line-height: 20px;
    font-weight: bold;
    padding: 10px 0 ;
    color:#555555;
    text-align: center;
}

.plan9 .block-table {
    font-family: helvetica, arial, verdana, sans-serif;;
    font-size: 13px;
    margin: 5px;
    border-radius: 5px;
    border: 1px solid #dddddd;
    width: 100%;
}

.plan9 .block-table-first-td {
    padding: 8px 10px 8px 8px;
    color:rgb(102, 102, 102);
    width: 240px;
    vertical-align: top;
    font-weight: bold;
}

.plan9 .block-table-td {
    padding: 8px;
    vertical-align: top;
    width: 385px;
}

.plan9 .attention {
    font-style: italic;
}

.plan9 .vertical:first-child {
    padding: 0 0 2px 0;
}

.plan9 .vertical {
    padding: 2px 0;
}

.plan9 .vertical:last-child {
    padding: 2px 0 0;
}

.plan9 .label-input {
    display: flex;
    width: 100%;
}

.plan9 .f-checkbox,
.plan9 .f-radio {
    display: none;
}

.plan9 .f-checkbox-custom,
.plan9 .f-radio-custom {
    user-select: none;
    cursor: pointer;
    width: 16px;
    height: 16px;
    border: 2px solid #999;
    border-radius: 3px;
    flex: none;
    margin-right: 5px;
    position: relative;
}

.plan9 .f-radio-label{
    margin-right:5px;
}

.plan9 .f-checkbox-custom,
.plan9 .f-radio-custom,
.plan9 .f-radio-label,
.plan9 .f-checkbox-label {
    user-select: none;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    white-space: normal;
}

.plan9 .label-before-input{
    padding-right:5px;
}


.plan9 .tooth-tool:disabled,
.plan9 .f-checkbox:disabled,
.plan9 .f-checkbox:disabled  + .f-checkbox-custom,
.plan9 .f-checkbox:disabled  ~ .f-checkbox-label,
.plan9 .f-radio:disabled,
.plan9 .f-radio:disabled  + span,
.plan9 .f-radio:disabled  + .f-radio-custom,
.plan9 .f-radio:disabled  ~ .f-radio-label,
.plan9 .f-radio:disabled  ~ img{
    cursor: not-allowed;
}

.plan9 .f-radio  ~ img{
    cursor: pointer;
}

.plan9 .f-checkbox:checked + .f-checkbox-custom::before,
.plan9 .f-radio:checked + .f-radio-custom::before {
    content: "";
    display: block;
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    background: #3892d4;
    border-radius: 2px;
    cursor: pointer;
}

.plan9 .f-radio-custom,
.plan9 .f-radio:checked + .f-radio-custom::before {
    border-radius: 50%;
    cursor: pointer;
}

.plan9 .lab_discretion ~ span{
    color: #3892d4;
    font-weight: bold;
}
.plan9 .subEngl {
    width: 91px;
}
.plan9 .no-valid{
    background-color: #faeaea;
}
.plan9 .add-super-comment {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    width: 20px;
    height: 20px;
    opacity:0.6;
}

.plan9 .super-comment {
    color:red;
    display: none;
    width: 100%;
    resize: vertical;
}

.plan9 .super-comment:disabled {
    background-color: transparent;
    resize: none;
    border: none;
}

.plan9 .edit-comment {
    display: none;
}

.plan9 .edit-comment + textarea {
    display: block;
}

.plan9 .comment-block {
    width:240px;
    margin-top: 5px;
    padding-left: 25px;
}

.plan9 .comment-readonly{
    border: none;
    font-style: italic;
    resize: none !important;
}

.plan9 .super ~ .f-checkbox-custom ,
.plan9 .super ~ .f-radio-custom {
    border: 2px solid red !important;
    /*border: 2px solid #3892d4 !important;*/
}

.plan9 .super-nomove-tooth .tooth-nomove,
.plan9 .super-no-attach .tooth-attach {
    display: block !important;
    filter: hue-rotate(145deg) saturate(3);
}
.plan9 .super-no-tooth{
    opacity:0.4;
    filter: hue-rotate(145deg) saturate(3);
}
.plan9 .break-comment{
    border-radius: 5px; border:1px solid #cccccc;
}

.plan9 .correction-params{
    /*border-radius: 5px; border:1px solid #cccccc;*/
    border:none;
}

.plan9 .mezial {
    margin: 2px 0 5px;
    border: none;
}

.plan9 .distal{
    margin:2px 0 5px;
    border: none;
}

.plan9 .bitejumps{
    margin:2px 0 5px;
    border: none;
}

.plan9 .vert-by{
    margin-top: 22px;
}

.plan9 .occlusion-params, .front-align-up, .front-align-down{
    border-radius: 5px;
    border:none !important;
    padding:0;
    margin:0;
}
.plan9 .pre-tool-btn-down{
    padding: 0;
    margin: 0;
    height: 71px;
    display: inline-block;
}

.plan9 .tooth-btn {
    user-select: none;
    display: inline-block;
    cursor:pointer;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: cover;
    border: none;
    padding: 0;
    margin: 0;
    height: 55px;
    text-align: center;
    /*margin-top:16px;*/
}
.plan9 .tooth-btn2 {
    height: auto;
    width:auto;
    /*margin-bottom:16px;*/
}

.plan9 .tooth-btn.unclick{
    cursor:default;
}

.plan9 .tooth-btn-label {
    background-image: none !important;
    display: inline-block;
    user-select: none;
    padding: 0;
    margin: 0;
    color: #777777;
    font-size: 12px;
    height: 16px !important;
    vertical-align: middle;
    text-align: center;
}

.plan9 .no-tooth  /*div:first-child*/{
    /*background-color: rgba(255,255, 255, 0.8);*/
    /*opacity:0.2 !important;*/
    background-size: 0 !important;
}

.plan9 .no-tooth.down-position   div:last-child{
    background-color:transparent;
    /*opacity:0.2 !important;*/
    /*background-size: 0 !important;*/
}
.plan9 .no-attach .tooth-attach {
    display: block;
}

.plan9 .nomove-tooth .tooth-nomove {
    display: block;
}
.plan9 .hide-tooth{
    opacity:0;
}
.plan9 .semi-hide-tooth{
    opacity:0.4;
}
.plan9 .remove-tooth .tooth-remove {
    display: block;
}
/*.plan9 .tooth-rmlab.tooth-btn{*/
/*    !*-webkit-mask-image: -webkit-gradient(linear, left top, right top, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));*!*/
/*}*/

.plan9 .lab-rm-on .lab-rm{
    display: block;
    opacity: 1;
    margin:0 auto;
}
.plan9 .lab-rm{
    /*width: 14px;*/
    /*margin:auto;*/
    /*margin-top: -8px;*/
    /*height: 14px;*/
    display: none;
    /*opacity:0.6;*/
}
.plan9 .lab-rm-on div:nth-child(2)
{
    opacity: 0.2;
}

.plan9 .down-position .tooth-lab-rm{
    /*margin-top: 0;*/
    opacity: 1;
}
.plan9 .tooth-btn2 .tooth-lab-rm{
    opacity: 1;
    /*margin-top: 8px;*/
}
.plan9 .tooth-btn2.down-position .tooth-lab-rm{
    opacity: 1;
    /*margin-top: -32px;*/
}

.plan9 .tooth-btn2.down-position {
    vertical-align: top;
}

.plan9 .tooth-attach {
    width: 24px;
    margin:auto;
    /*margin-top: 16px;*/
    height: 24px;
    display: none;
}

.plan9 .tooth-nomove {
    display: none;
    width: 20px;
    /*margin: -36px auto 0 auto;*/
    height: 20px;
    /*margin-top:-36px;*/
}

.plan9 .down-position .tooth-nomove{
    margin-top:36px;
}
.plan9 .tooth-btn2.down-position .tooth-nomove{
    margin:0 auto;
}
.plan9 .tooth-btn2.down-position .tooth-attach{
    margin:0 auto !important;
}

.plan9 .down-position.tooth-btn{
    height:84px !important;
    /*background-position-y: 0;*/
}
.plan9 .down-position.tooth-btn.tooth-btn3{
    height:55px !important;
}

.plan9 .down-position.tooth-btn.tooth-48{
    height:80px !important;
}
.plan9 .down-position.tooth-btn.tooth-38{
    height:80px !important;
}

.plan9 .tooth-btn2.down-position .vinir {
    margin:0 auto;
}
.plan9 .tooth-btn2.down-position.tooth-btn{
    background-position-y: 0;
}


.plan9 .extrusion,.plan9 .intrusion{
    display:none;
    width:20px;
    height: 20px;
    margin:0 auto;
}
.plan9 .extrusion-on .extrusion,.plan9 .intrusion-on .intrusion{
    display:block;
}
.plan9 .extrusion-on .tooth-img{
    margin-top:5px;
}
.plan9 .intrusion-on .tooth-img{
    margin-top:-5px;
}
.plan9 .down-position.extrusion-on .tooth-img{
    margin-top:-5px;
}
.plan9 .down-position.intrusion-on .tooth-img{
    margin-top:5px;
}

.plan9 .tooth-18 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t18.png");
    width: 45px;
}

.plan9 .tooth-17 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t17.png");
    width: 46px;
}

.plan9 .tooth-16 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t16.png");
    width: 50px;
}

.plan9 .tooth-15 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t15.png");
    width: 34px;
}

.plan9 .tooth-14 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t14.png");
    width: 35px;
}

.plan9 .tooth-13 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t13.png");
    width: 38px;
}

.plan9 .tooth-12 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t12.png");
    width: 34px;
}

.plan9 .tooth-11 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t11.png");
    width: 39px;
}

.plan9 .tooth-21 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t21.png");
    width: 39px;
}

.plan9 .tooth-22 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t22.png");
    width: 32px;
}

.plan9 .tooth-23 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t23.png");
    width: 37px;
}

.plan9 .tooth-24 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t24.png");
    width: 35px;
}

.plan9 .tooth-25 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t25.png");
    width: 33px;
}

.plan9 .tooth-26 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t26.png");
    width: 50px;
}

.plan9 .tooth-27 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t27.png");
    width: 47px;
}

.plan9 .tooth-28 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t28.png");
    width: 44px;
}

.plan9 .tooth-48 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t48.png");
    background-size:53px 55px;
    width: 53px;
}

.plan9 .tooth-47 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t47.png");
    background-size:50px 55px;

    width: 50px;
}

.plan9 .tooth-46 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t46.png");
    background-size:57px 55px;
    width: 57px;
}

.plan9 .tooth-45 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t45.png");
    background-size:35px 55px;
    width: 35px;
}

.plan9 .tooth-44 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t44.png");
    background-size:33px 55px;
    width: 33px;
}

.plan9 .tooth-43 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t43.png");
    background-size:34px 55px;
    width: 34px;
}

.plan9 .tooth-42 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t42.png");
    background-size:24px 55px;
    width: 24px;
}

.plan9 .tooth-41 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t41.png");
    background-size:26px 55px;
    width: 26px;
}

.plan9 .tooth-31 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t31.png");
    background-size:26px 55px;
    width: 26px;
}

.plan9 .tooth-32 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t32.png");
    background-size:24px 55px;
    width: 24px;
}

.plan9 .tooth-33 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t33.png");
    background-size:35px 55px;
    width: 35px;
}

.plan9 .tooth-34 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t34.png");
    background-size:32px 55px;
    width: 32px;
}

.plan9 .tooth-35 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t35.png");
    background-size:35px 55px;
    width: 35px;
}

.plan9 .tooth-36 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t36.png");
    background-size:57px 55px;
    width: 57px;
}

.plan9 .tooth-37 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t37.png");
    background-size:50px 55px;
    width: 50px;
}

.plan9 .tooth-38 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t38.png");
    background-size:52px 55px;
    width: 52px;
}




.plan9 .tooth8-18 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t18.png");
    width: 53px;
}

.plan9 .tooth8-48 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t48.png");
    background-size:53px 55px;
    width: 53px;
}
.plan9 .tooth8-28 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t28.png");
    width: 52px;
}

.plan9 .tooth8-38 {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/t38.png");
    background-size:52px 55px;
    width: 52px;
}


.plan9 .tooth-tool {
    display: none;
}

.plan9 .tooth-tool ~ span {
    display: inline-block;
    /*vertical-align: middle;*/
    padding:6px 4px 6px 6px;
    height:30px;
    cursor: pointer;
    white-space: nowrap;
}
.plan9 .tooth-tool ~ img {
    display: inline-block;
    width:30px;
    height:30px;
    /*vertical-align: middle;*/
    padding:4px;
    cursor: pointer;
    /*white-space: normal;*/
}

/*.tool-tooth-label:has(> .tooth-tool:checked) {*/
.plan9 .tooth-tool  ~ span   {
    border-style: solid;
    border-color: lightgrey;
    padding:5px 3px 5px 0px;
    border-width: 1px 1px 1px 0;
    border-radius: 0 4px 4px 0;
}
.plan9 .tooth-tool:checked  ~ span   {
    border-color: darkgrey;
    background-color: #EBEBEB;
}
.plan9 .tooth-tool  ~ img   {
    border-style: solid;
    border-color: lightgrey;
    border-width: 1px 0 1px 1px;
    border-radius: 4px 0 0 4px;
    padding:3px 4px 3px 3px;
}
.plan9 .tooth-tool:checked  ~ img   {
    border-color: darkgrey;
    background-color: #EBEBEB;
}


.plan9 .label-tool-tooth{
    margin:3px 5px;
    display:inline-flex;
}
.plan9 .tooth-btn-tool {
    background-color: transparent;
    display: inline-flex;
    border: none;
    color: #333333;
    padding: 4px 8px;
    /*margin: 0;*/
    height: 32px;
    margin: 5px 12px;
}

.plan9 .tooth-btn-tool:focus {
    background-color: rgba(89, 212, 255, 0.15);
    border: 2px solid rgba(46, 129, 180, 0.54);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 2px 6px;
    outline: 0 !important;
}

.plan9 .tooth-btn-tool div {
    padding: 4px 0 0 4px;
}



.plan9 .tooth8-sector-1{
    width:368px;
    padding:0 0 2px;
    border-color: gray;
    border-style: solid;
    border-width:0 1px 1px 0;
}
.plan9 .tooth8-sector-2{
    width:370px;
    padding:0 0 2px 4px;
    border-color: gray;
    border-style: solid;
    border-width:0 0 1px 0;
}
.plan9 .tooth8-sector-3{
    width:370px;
    padding:0 0 0 4px;
}
.plan9 .tooth8-sector-4{
    width:368px;
    padding:0;
    border-color: gray;
    border-style: solid;
    border-width:0 1px 0 0;
}



.plan9 .tooth-sector-1{
    width:368px;
    padding:0 0 2px;
    border-color: gray;
    border-style: solid;
    border-width:0 1px 1px 0;
}
.plan9 .tooth-sector-2{
    width:370px;
    padding:0 0 2px 4px;
    border-color: gray;
    border-style: solid;
    border-width:0 0 1px 0;
}
.plan9 .tooth-sector-3{
    width:370px;
    padding:0 0 0 4px;
}
.plan9 .tooth-sector-4{
    width:368px;
    padding:0 0 0 9px;
    border-color: gray;
    border-style: solid;
    border-width:0 1px 0 0;
}

.plan9 .tb-sectors-1{
    padding:0 0 2px;
    border-color: gray;
    border-style: solid;
    border-width:0 1px 1px 0;
}
.plan9 .tb-sectors-2{
    padding:0 0 2px 6px;
    border-color: gray;
    border-style: solid;
    border-width:0 0 1px 0;
}
.plan9 .tb-sectors-3{
    padding:3px 0 0 6px;
}
.plan9 .tb-sectors-4{
    padding:3px 0 0;
    border-color: gray;
    border-style: solid;
    border-width:0 1px 0 0;
}

/*------------------Tooth tool for plan, item 5-------------*/


.plan9 .tooth-tool2 {
    display: none;
}


.plan9 .tooth-tool2  ~ span   {
    display: inline-block;
    cursor: pointer;
    white-space: nowrap;
    height:30px;
    border-style: solid;
    border-color: lightgrey;
    padding:5px;
    border-width: 1px;
    border-radius: 0 4px 4px 0;
    width:auto;
}
.plan9 .tooth-tool2:checked  ~ span   {
    border-color: darkgrey;
    background-color: #EBEBEB;
}
.plan9 .plomba,.plan9 .vinir{
    display: none;
    font-size: 14px;
    height: 20px;
    margin:0 auto;
    line-height: 20px;
}
.plan9 .down-position .plomba{
    margin-top:-4px;
}
.plan9 .down-position .vinir{
    margin-top:10px;
}
.plan9 .implant{
    display: none;
    line-height: 65px;
    font-size: 18px;
    margin:0 auto;
    height:30px;
}
.plan9 .down-position .implant{
    vertical-align: top;
    line-height: 45px;
    margin-top: 6px
}
.plan9 .tooth-btn2.down-position .implant{
    margin-top: -5px
}

.plan9 .down-position.tooth-btn2{
    margin-bottom:0;
}
.plan9 .plomba-on .plomba,
.plan9 .implant-on  .implant,
.plan9 .vinir-on .vinir{
    display: block;
    font-weight:bold;
    color:#3892d4;
}
.plan9 .implant-on.in-current  .implant,
.plan9 .vinir-on.in-current .vinir {
    opacity: 0.5;
}
.plan9 .implant-on.in-current.no-tooth  .implant,
.plan9 .vinir-on.in-current.no-tooth .vinir {
    opacity: 1;
}
.plan9 .vinir-new.in-current .vinir {
    display: block;
    filter: hue-rotate(-80deg);
    opacity: 1;
}
.plan9 .tooth-lab-rm .lab-rm
{
    display: block;
    opacity: 1;
    margin:0 auto;
    font-weight:bold;
}
.plan9 .rm-tooth-on div:nth-child(2)
{
    opacity: 0.2;
}
.plan9 .rm-tooth-on.implant-on div:nth-child(2)
{
    opacity: 0.4;
}

.plan9 .tooth-btn2.implant-on.no-tooth {
    /* background-color: rgba(255,255, 255, 0.8); */
    /*opacity: 0.4 !important;*/
    /* background-size: 0 !important; */
}
.plan9 .tooth-btn2.no-tooth{
    /* background-color: rgba(255,255, 255, 0.8); */
    opacity: 1 !important;
    /* background-size: 0 !important; */
}
.plan9 .tooth-btn2.no-tooth div:nth-child(2){
    /* background-color: rgba(255,255, 255, 0.8); */
    /*opacity: 0.4 !important;*/
    background-size: 0 !important;
}
.plan9 .implantParam:disabled,
.plan9 .implantNoInfo:disabled {
    display:none;
}
.plan9 .implantNoInfo{
    color:red;
}
.plan9 .no-tooth div:first-child {
    background-color: transparent;
    /* opacity: 0.2 !important; */
    /* background-size: 0 !important; */
}


.plan-question-combo li{
    border:1px solid #d8d8d8;
    border-width:0 0 1px 0;
}
/*--------------HOT PHRASES------------------*/

.hot-phrases-wrapper{
    font-family: Verdana;
}
.hot-phrases-item{
    padding: 5px;
    margin: 5px;
    cursor: pointer;
    position: relative;
    -webkit-transition: 200ms;
    -moz-transition: 200ms;
    -o-transition: 200ms;
    -ms-transition: 200ms;
    transition: 200ms;
    font-size: 14px;
    padding-right: 3px;
    background: #caddc6;
}
.hot-phrases-item:hover{
    padding-left: 8px;
    padding-right: 0;
}
.hot-phrases-item:nth-child(2n) {
    background: #ddd1e6;
}
.hot-phrases-item:nth-child(2n):hover{
    background: #d4c8dd;
}
/*.hot-phrases-item:nth-child(1n) {*/
/*background: #caddc6;*/
/*}*/
/*.hot-phrases-item:nth-child(1n):hover {*/
/*background: #bbceb7;*/
/*}*/

.hot-phrases-name{
    /*font-size: 14px;*/
    font-weight: bold;
}
.hot-phrases-text{
    /*font-size: 14px;*/
}
/*/--------------------------------------------*/
/*--------------Message Template------------------*/
.message-template-wrapper{
    font-family: Verdana;
}
.message-template-item{
    padding: 5px;
    margin: 5px;
    cursor: pointer;
    position: relative;
    -webkit-transition: 200ms;
    -moz-transition: 200ms;
    -o-transition: 200ms;
    -ms-transition: 200ms;
    transition: 200ms;
    font-size: 14px;
    padding-right: 3px;
    background: #dff2da;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    align-content: stretch;
}
.message-template-header{
    padding: 5px;
    margin: 5px;
    cursor: pointer;
    position: relative;
    font-size: 14px;
    padding-right: 3px;
    background: #dff2da;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    align-content: stretch;
    display: none;
}
.message-template-wrapper.ru.en .message-template-header,
.message-template-wrapper.ru.it .message-template-header,
.message-template-wrapper.ru.de .message-template-header,
.message-template-wrapper.ru.es .message-template-header,
.message-template-wrapper.en.it .message-template-header,
.message-template-wrapper.en.de .message-template-header,
.message-template-wrapper.en.es .message-template-header,
.message-template-wrapper.it.de .message-template-header,
.message-template-wrapper.it.es .message-template-header,
.message-template-wrapper.de.es .message-template-header
{
    display: flex;
}


.message-template-item:hover{
    padding-left: 8px;
    padding-right: 0;
}
.message-template-item:nth-child(2n) {
    background: #f4eef8;
}
.message-template-name{
    /*font-size: 14px;*/
    font-weight: bold;
}
.message-template-text{
    /*font-size: 14px;*/
}

.message-template-lang{
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    text-align: left;
    border: 1px solid #bebebe;
    padding: 2px 4px;
    margin-right: 1px;
    display: none;
}
.message-template-wrapper.ru .message-template-lang.ru{
    display: block;
}
.message-template-wrapper.en .message-template-lang.en{
    display: block;
}
.message-template-wrapper.it .message-template-lang.it{
    display: block;
}
.message-template-wrapper.de .message-template-lang.de{
    display: block;
}
.message-template-wrapper.es .message-template-lang.es{
    display: block;
}
/*/--------------------------------------------*/


.order-tree-item-icon {
    padding-top: 4px;
    margin-right: 3px;
    color:#555;
    /*margin-top:-1px;*/
}
.order-tree-item-icon-sub{
    padding-top: 8px;
    margin-right: 3px;
    color:#aaa;
}

.order-item-icon {
    width: 16px;
    height: 16px;
    margin: 0 4px;
    display: inline;
}

.order-item-icon-blue {
    color: #0d94f2;
}

.order-item-icon-red {
    color: #f24c5a;
}


.green{
    color: #166304;
}
.icon-green{
    color: #166304;
}
.icon-red{
    color: #f24c5a;
}
.icon-brown{
    color: #c36430;
}

.f-hidden {
    width: 0;
    display: none;
}

.order-item-icon-inner {
    display: flex;
    padding: 5px 2px 4px;
}

.combobox-trigger-clear-icon {
    width: 22px;
    height: 22px;
    opacity:0.6;
    background-position-x:0 !important;
    background-image: url(https://cdn.flexiligner.com/flexi/img/clear.png) !important;
}

.row-top-border{
    outline: 1px solid #efefef;
}
.order-tree-column .x-grid-cell-inner{
    padding-right:0;
}
.order-tree-name-column .x-grid-cell-inner{
    padding-left:2px;
    display: flex;
}
.hide-row-expander .x-grid-row-expander{
    background-image: none!important;
}
.f-focus-unborder:focus{
    outline: none !important;
    border: none !important;
}
.f-clinical-preference .x-form-trigger-wrap-default{
    border-color:#ececec;
}
.f-clinical-preference .x-form-trigger-wrap-default.x-form-trigger-wrap-focus{
    border-color:#ececec;
}

.theme-color-gray {
    color: #999999;
}
.theme-color-blue {
    color: #3892d4;
}
.theme-color-light {
    color: #e2e2e2;
}
.f-account-discount-state-on{
    background: #94d86f;
}
.f-account-discount-state-off{
    background: #ff8a8e;
}
.f-account-discount-circle {
    width: 8px;
    height: 8px;
    margin:3px;
    border-radius: 50%;
}


.f-account-condition-state-on{
    background: #94d86f;
}
.f-account-condition-state-off{
    background: #ff8a8e;
}
.f-account-condition-circle {
    width: 8px;
    height: 8px;
    margin:3px 4px;
    border-radius: 50%;
}

.f-account-invoice-items-border{
    border-top:1px solid #e8e8e8;
}

.f-accounting-method-icon{
    width:20px;
    align-content: center;
    vertical-align: center;
}
.f-font-red{
    color:#ff4540;
}
.f-font-orange{
    color:#ff7f00;
}
.f-font-green{
    color:#329D27;
}
.f-font-black{
    color:#000000;
}


.f-accounting-invoice-grid-for-role-admin .x-grid-item:first-child,
.f-accounting-invoice-grid-for-role-buh .x-grid-item:first-child,
.f-accounting-invoice-grid-for-role-boss .x-grid-item:first-child{
    border-bottom: 1px solid black;
}
.f-accounting-bonus-grid-for-role-admin .x-grid-item:first-child,
.f-accounting-bonus-grid-for-role-buh .x-grid-item:first-child,
.f-accounting-bonus-grid-for-role-boss .x-grid-item:first-child{
    border-bottom: 1px solid black;
}

.f-accounting-invoice-status-red{
    color:#ff4540;
    font-weight: bold;
    font-size: 14px;
}
.f-accounting-invoice-status-green{
    color:#329D27;
    font-weight: bold;
    font-size: 14px;
}
.f-accounting-invoice-status-orange{
    color:#ff7f00;
    font-weight: bold;
    font-size: 14px;
}
.f-accounting-invoice-status-close-label{
    font-size: 12px;
}
.f-accounting-invoice-total-field{
    font-weight: bold;
    margin-top:4px;
    font-size: 14px;
}
.f-button-transparent{
    background-color: transparent;
    border:none;
}
.f-clinic-doctor-mode{
    padding:3px 0;
}
.f-clinic-doctor-mode .x-btn-inner{
    color:black !important;
    font-size: 11px;
}


.f-button-transparent.x-btn-disabled{
    background-color: transparent  !important;;
    border:none !important;
}
.f-button-transparent.x-btn-over, .f-button-transparent.x-btn-focus{
    background-color: transparent !important;
    border:none !important;
}


.f-case-delivery-btn-video .x-btn-inner{
    color: #333;
}
.f-case-delivery-btn-video .x-btn-icon-el{
    color: #777;
}

.f-account-btn-filter-from-selected .x-btn-icon-el{
    color: #777;
}


.f-payment-bonus-passed-cell{
    background-color: #94d86f;
}

/*.f-copy-btn{*/
/*background-color: transparent;*/
/*border:none;*/
/*}*/
/*.f-copy-btn.x-btn-disabled{*/
/*background-color: transparent  !important;;*/
/*border:none !important;*/
/*}*/
/*.f-copy-btn.x-btn-over, .f-copy-btn.x-btn-focus{*/
/*background-color: transparent !important;*/
/*border:none !important;*/
/*}*/

.f-button-accounting-net  .x-btn-inner{
    background-color: transparent !important;

    border:none !important;
}


.f-button-accounting-net {
    background-color: transparent !important;
    padding: 0;
    border: none !important;
}

.f-button-accounting-net .x-btn-icon .x-btn-icon-el {
    font-size: 12px !important;
    margin: 6px 4px 4px 4px;
    width:16px;
    height:14px;
    color: #bacddc !important;
}

.f-button-accounting-net.x-btn-pressed .x-btn-icon .x-btn-icon-el{
    color: #43a6f6 !important;
}


.f-accounting-bonus-cell{
    font-size:12px;
}


.f-grid-header-mini{
    font-size:12px;
}
.f-grid-cell-size-12{
    font-size:12px;
}

.f-accounting-discount-add{
    background-color: #bbb;
    border:1px solid #999;
    opacity:0.5;
    z-index: 20000;
    border-radius: 50%;
}
.f-accounting-discount-add .fas.fa-plus{
    font-size: 14px;
}

.f-accounting-discount-add.x-btn-over, .f-accounting-discount-add.x-btn-focus, .f-accounting-discount-add.x-btn-pressed.x-btn-over {
    background-color: #aaa !important;
    border: 1px solid #888;
    opacity: 0.5;
    z-index: 20000;
    color: #333;
    border-radius: 50%;
}


.f-copy-btn{
    color:#555;
}

.f-account-invoice-total-table {
    border: 1px solid #cfcfcf;
    width:100%;
    text-align: center;
    font-size: 13px;
    margin-bottom: 6px;
}
.f-account-invoice-total-table tr:first-child{
    color:#666;
}

.f-account-invoice-total-table td{
    border-width:0 1px 1px 0;
    border-style: solid;
    width: 25%;
    padding:3px 0 2px;
    border-color:#cfcfcf;
}
.f-account-invoice-total-table tr:last-child td:first-child{
    font-weight: bold;;
    font-size: 14px;
}

.f-account-invoice-total-table td:last-child{
    border-width:0 0 1px  0;
}
.f-account-invoice-total-table tr:last-child td{
    border-width:0 1px 0 0;
}
.f-account-invoice-total-table tr:last-child td:last-child{
    border-width:0;
}

.f-accounting-cost-cell .x-grid-cell-inner{
    padding:2px ;
}

.f-accounting-price-config-discount{
    border-left:1px solid #999999;
    border-top:1px solid #999999;
}
.f-accounting-price-config-bonus{
    border-top:1px solid #999999;
}
.f-accounting-price-config-first{
    padding:2px;
    border-top:1px solid #999999;
}
.f-accounting-price-config-header-cell{
    text-align: center;
    padding:3px;
    border-top:1px solid #999999;
    border-left:1px solid #999999;
}
.f-accounting-price-config-header-cell i{
    cursor:pointer;
    margin-right: 5px;
}
.f-accounting-price-config-cell-disabled {
    /*margin: 20px 0;*/
    padding: 0;
    height: 10px;
    /*border: none;*/
    border-top:1px solid #999999;
    box-sizing: border-box;
    background-position: 50%;
    color: #ccc;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12px" height="12px" viewBox="0 0 12 12" fill="rgb(220,220,220)"><polygon points="0,2 0,6 6,12 10,12"></polygon><polygon points="10,0 6,0 12,6 12,2"></polygon></svg>');
    /*background-size: 6px 6px;*/
}

.f-accounting-price-config-header-cell-first {
    text-align: center;
    padding:3px;
    border-top:1px solid #999999;
}

.f-log-info-table {
    border: 1px solid #cfcfcf;
    width:100%;
    text-align: center;
    font-size: 12px;
}

.f-log-info-table tr:first-child{
    color:#666;
}

.f-log-info-table td{
    border-width:0 1px 1px 0;
    border-style: solid;
    width: 25%;
    padding:3px 0 2px;
    border-color:#cfcfcf;
}

.f-log-info-table td:last-child{
    border-width:0 0 1px  0;
}
.f-log-info-table tr:last-child td{
    border-width:0 1px 0 0;
}
.f-log-info-table tr:last-child td:last-child{
    border-width:0;
}
.f-log-info-table-card-log{
    font-size:11px;
}

.f-doctor-filter-icon-check{
    font-size:large;
    margin-top:4px;
}

.f2-button .x-btn-inner {
    color: #666;
}

.f2-button .x-btn {
    color: #666;
    border-color: #d8d8d8;
    background-color: #e9eef1;
}
.f2-button .x-btn.x-btn-disabled {
    color: #666;
    opacity: 50%;
    border-color: #d8d8d8;
    background-color: #e9eef1;
}
.f2-button .x-btn.x-btn-over {
    background-color: #bacddc;
}

.f2-button .x-btn-pressed {
    border-color: #bacddc !important;
    background-color: #c9deed !important;
}

.f2-button .x-btn-pressed.x-btn-over {
    background-color: #bacddc !important;
}

.f2-button .x-btn-pressed .x-btn-inner {
    color: black !important;
}

.f2-button.x-btn.x-btn-focus {
    border-color: #d8d8d8 !important;
    background-color: #f5f5f5 !important;
}

.tooth16{
    background-image: url("https://cdn.flexiligner.com/flexi/img/icons16/tooth_16.png");
}
.tooth24{
    background-image: url("https://cdn.flexiligner.com/flexi/img/icons24/tooth_24.png");
}
.f-table-in-grid{
    width:100%;
}
.f-table-in-grid td {
    padding:1px 2px;
    border-top:1px solid #e8e8e8;
}
.f-table-in-grid tr:first-child > td {
    border-top: none;
}

.f-case-list-pay-tip {
    width: 100%;
    max-height: 400px;
    max-width: 400px;
}

.f-case-list-pay-tip-header {
    width: 100%;
    border-bottom: 1px solid #555555;
}
/*-----------------------------*/
.clinic-table-contract-row{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: stretch;
    margin: 1px 0;
    padding: 4px;
    background-color: #e9eef1;
    border-radius: 4px;
}
.clinic-table-contract-row-status{
    height: 16px;
    width: 16px;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/star-empty.png);
    margin-right: 5px;
}
.clinic-table-contract-row.status-1 .clinic-table-contract-row-status,
.clinic-table-contract-row.status-2 .clinic-table-contract-row-status,
.clinic-table-contract-row.status-3 .clinic-table-contract-row-status,
.clinic-table-contract-row.status-4 .clinic-table-contract-row-status,
.clinic-table-contract-row.status-5 .clinic-table-contract-row-status{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/star-half.png);
}
.clinic-table-contract-row.status-6 .clinic-table-contract-row-status{
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/star.png);
}
.clinic-table-contract-row-number{
    width: 112px;
}
.clinic-table-contract-row-version{
    height: 14px;
    width: 14px;
    margin-left: 2px;
    border-radius: 50%;
    border: 1px solid #505050;
}
.clinic-table-contract-row-favourites{
    height: 16px;
    width: 16px;
    margin-left: 4px;
    display: none;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/Yes.png);
}
.clinic-table-contract-row.favourites-1 .clinic-table-contract-row-favourites{
    display: block;
}
.clinic-table-contract-row.favourites-1 .clinic-table-contract-row-number{
    font-weight: bold;
    white-space: normal;
}
.bonus-item-sms-tooltip{
    text-align: center;
    margin: 3px 5px;
    color:white;
    font-weight: bold;
    padding:3px 7px;
    border-radius: 5px;
    background-color: #3892d4;
}
.clinic-table-icon{
    position: relative;
    bottom: 4px;
    font-size: 11px;
    left: 4px;
}

/*------------------NOTES--------------------*/
.doctor-note-item{
    /*background-color: #e0ebf3;*/
    /*border-radius: 3px;*/
    margin: 0 0 8px 0;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    align-content: stretch;
    text-align: right;
    color: #1a2c10;
}

.doctor-note-item-text{
    border-radius: 3px;
    background-color: #fafff7;
    border: 1px solid #8dbf6a;
    padding: 4px 6px;
    color: #000;
    font-family: monospace;
    font-size: 13px;
    /*width: 900px;*/
    display: inline-block;
    position: relative;
    text-align: left;
}

.doctor-note-item-date{
    /*position: absolute;*/
    font-size: 10px;
    /*line-height: 9px;*/
    color: #666666;
    cursor: pointer;
    padding: 0 6px;
}

.note-item{
    background-color: #f1ffea;
    border-radius: 3px;
    margin: 12px 1px 8px 12px;
    position: relative;
    padding: 12px 0 0 0;
    width: 462px;
    border: 1px solid #8dbf6a;
    color: #1a2c10;
}
.note-item-text{
    border-radius: 3px;
    background-color: #fafff7;
    border: 1px solid #8dbf6a;
    padding: 4px 6px;
    color: #000;
    font-family: monospace;
    font-size: 13px;
    width: 462px;
    position: relative;
    top: 1px;
    left: -1px;
}
.note-item.not-for-current-case{
    background-color: #ceeaff;
    border-color: #9198bd;
}
.note-item.not-for-current-case .note-item-text{
    background-color: #ebf1fa;
    border-color: #92a1bd;
}

.note-item.future{
    background-color: #fce1ff;
    border-color: #bd90b1;
}
.note-item.future .note-item-text{
    background-color: #f9f2fa;
    border-color: #bd90b1;
}
.note-item.past{
    background-color: #ececec;
    border-color: #666;
}
.note-item.past .note-item-text{
    background-color: #f5f5f5;
    border-color: #666;
}
.note-item-author{
    position: absolute;
    top: 1px;
    right: 200px;
    font-size: 9px;
    line-height: 9px;
    font-weight: bold;
    opacity: 0.7;
}
.note-item-date{
    position: absolute;
    top: 1px;
    right: 105px;
    font-size: 9px;
    line-height: 9px;
    opacity: 0.8;
    cursor: pointer;
}
.note-item-functions{
    position: absolute;
    top: -7px;
    left: -7px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: stretch;
}
.note-item-function{
    border-radius: 2px;
    border: 1px solid #4297d4;
    height: 20px;
    width: 20px;
    padding: 1px;
    margin-right: 1px;
    background-color: #fff;
}
.note-item-function.list{
    display: inline-block;
    margin-right: 5px;
    margin-top: 4px;
}
.note-item-attributes{
    position: absolute;
    top: -9px;
    right: -5px;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: stretch;
}
.note-item-attr{
    border: 1px solid #4297d4;
    height: 14px;
    width: 30px;
    font-size: 9px;
    text-align: center;
    border-radius: 2px;
    margin-left: 1px;
    line-height: 10px;
    background-color: #d6e7f3;
    color: #2a6e9f;
    cursor: pointer;
}
.note-item-attr.list{
    display: inline-block;
    margin-right: 5px;
    position: relative;
    top: -3px;
}
.note-item-attr.doctor{
    background-color: #f7dcf5;
    color: #9d4486;
    border-color: #c14fa3;
}
.note-item-attr.group{
    border-color: #a5763c;
    background-color: #ffecba;
    color: #714814;
}
.note-item-actual-period{
    font-size: 9px;
    text-align: right;
    width: 100%;
    opacity: 0.7;
    position: relative;
    top: 5px;
}
.note-browser-future-row{
    background-color: #fce1ff;
}
.note-browser-past-row{
    background-color: #ececec;
}

/*-----------------------------------------*/
.bonus-item-detail-type{
    text-align: center;
    width: 100%;
    font-size: 11px;
    font-weight: bold;
    padding:2px 5px;
    border-radius: 5px;
    margin-bottom: 3px;
    border:1px solid #777777;
}
.bonus-item-payed-text{
    color:#888888;
    font-style: italic;
}

.bonus-pay-text{
    text-align: center;
    width: 100%;
    font-size: 11px;
    font-weight:bold;
    padding:0 2px;
    border:3px double gray;
    border-width: 0 3px;
}
.stateful-color-link, .stateful-color-link:hover{
    color: #157fcc;
}

@-webkit-keyframes scroll {
    0% {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }
    100% {
        -webkit-transform: translate(-100%, 0);
        transform: translate(-100%, 0)
    }
}

@-moz-keyframes scroll {
    0% {
        -moz-transform: translate(0, 0);
        transform: translate(0, 0);
    }
    100% {
        -moz-transform: translate(-100%, 0);
        transform: translate(-100%, 0)
    }
}

@keyframes scroll {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0)
    }
}

.bonus-marquee {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.bonus-marquee span {
    display: inline-block;
    padding-left: 100%;
    -webkit-animation: scroll 5s infinite linear ;
    -moz-animation: scroll 5s infinite linear;
    animation: scroll 5s infinite linear;
}

.f-chat-system-label{
    font-size: 12px;
}

.evaluation-add-step{
    font-size: 14px;
    margin:16px 0 10px;
}
.evaluation-add-step-first{
    font-size: 14px;
    margin:4px 0 10px;
}

.f-readonly.x-form-readonly  .x-form-trigger-wrap-focus,.f-readonly.x-form-readonly  .x-form-trigger-wrap{
    border:none;
    padding: 1px 0;
}
.f-readonly.x-form-readonly .x-form-text-wrap .x-form-field{
    padding-left:0;
}


.f-case-payer .x-btn{
    background-color: #fff;
    color:#333;
    border-color:#aaa;
}
.f-case-payer .x-btn.x-btn-over{
    background-color: #bacddc;
}
.f-case-payer .x-btn.x-btn-over .x-btn-icon-el{
    background-color: #bacddc;
    color:#555 ;
}
.f-case-payer .x-btn-pressed{
    border-color: #bacddc !important;
    background-color: #c9deed !important;
}
.f-case-payer .x-btn-pressed.x-btn-over{
    background-color: #bacddc !important;
}
.f-case-payer  .x-btn-inner{
    color:#333 !important;
}
.f-case-payer .x-btn-icon-el{
    font-size:large;
    margin-top:4px;
    color:#555 ;
}
.f-case-payer .x-btn.x-btn-disabled{
    background-color: #fff;
}
.f-case-payer .x-btn-pressed.x-btn-disabled{
    background-color: #bacddc;
}
.f-case-payer_container, .f-case-payer_container .x-box-inner{
    height: 44px !important;
}
/*у fieldset пропадал заголовок*/
.x-component.x-fieldset-header-text{
    position: static !important;
}

.tippy-box {
    background: #fbfbfb;
    border: 1px solid #777777;
    color:#555555;
    font-size:13px;
}
.plan-tt{
    padding: 5px;
    text-align: justify;
}
.plan-tt-h{
    font-weight: bold;
    text-align: center;
    text-decoration: underline;
}
.plan-tt-span{
    font-weight: bold;
}
.plan-tt img{
    width:240px;
}
.plan-tt-block{
    margin:4px 0;
}
.plan-tt.shaibi img{
    text-align: center;
    width:230px;
}
.plan-tt.shaibi tr:nth-of-type(2) td:first-of-type{
    border-right:1px solid gray;
}
.x-tab-button-center{
    text-align: center;
}

.interview-selectable-element{
    position: absolute;
    z-index: 100;
    width: 198px;
    border: 2px solid rgba(0, 0, 0, 0);
    border-radius: 6px;
    transition-duration: 100ms;
    cursor: pointer;
}

.interview-selectable-element-2 {
    position: absolute;
    z-index: 100;
    width: 172px;
    border: 2px solid rgba(0, 0, 0, 0);
    border-radius: 15px;
    transition-duration: 100ms;
    cursor: pointer;
}


.interview-selectable-element:hover{
    border: 2px solid rgb(133, 184, 215);
    background-color: rgba(255,255,255,0.1);
}

.interview-selectable-element-2:hover{
    border: 2px solid rgb(133, 184, 215);
    background-color: rgba(255,255,255,0.1);
}

.or-copy-version{
    background-color: #F5F5F5;
    border-radius: 3px;
    border: 1px solid #d8d8d8;
    padding: 3px 5px;
    width: 160px;
    font-size: 11px;
}
.diabox-wnd-copy-ver .x-form-field.x-form-checkbox   {
    margin-top:20px;
}
.orthorevision-tags{
    display: block;
    font-size: 11px;
    margin-top:2px;
}
.orthorevision-tag{
    border-radius:8px;
    display: inline-block;
    padding:1px 10px;
    margin: 0 3px 3px 0;
    float: left;
}
.or-date{
    font-size: 11px;
}
.or-tag-lab{
    background-color: #f8a369;
}
.or-tag-doctor{
    background-color: #f5b850;
}
.or-tag-draft{
    background-color: #e4c037;
}
.or-tag-actual{
    background-color: #C0E36D;
}



.f-fs-column-info {
    vertical-align: top;
    font-size: 12px;
    width: 100%;
}
.f-fs-column-info:nth-of-type(2){
    margin-top:7px;
}
.f-fs-type-name,.f-fs-count {
    display: inline-block;
}
.f-fs-count{
    font-weight: bold;
}

.f-fs-type-name {
    width: 84px;
    font-weight: bold;
}

.f-fs-pos-name {
    width: 33px;
    text-align: right;
    padding-right: 4px;
}
.f-fs-pos-name,.f-fs-interval{
    font-size: 13px;
    display: inline-block;
}
.f-fs-ortho-num{
    font-size: 12px;
    display: inline-block;

}
.f-fs-interval {
    width: 48px;
}
.f-fs-material{
    position: absolute;
    top: 4px;
    right: 0;
    border: 2px solid #666666;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    padding:0 2px;
    height: 22px;
    line-height: 18px;
    text-align: center;
    color: #666;
}

.ttitem{
    color:#555555;
    margin-left:7px;
    font-size: 15px;
}
.ortho-tt{
    padding:5px ;
}

.f-dia-box-err{
    border: 2px solid #e46341;
    border-radius: 5px;
    margin-bottom: 5px;
    padding: 3px;
}

.f-dia-box-err td:first-child{
    font-size: 24px;
    color: #e46341;
    padding-right:5px
}
.f-dia-box-err td:nth-child(2){
    font-weight: bold;
    color: #333;
}
.f-btn-wrap-word-center  .x-btn-inner{
    word-break: break-word;
    white-space: pre-wrap;
    text-align: center;
}


.plans-step{
    width: 100%;
    color: #555555;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    padding:5px 25px;
}
.title-plans-step-column{
    text-align: left;
    font-weight: bold;
    width:300px;
}
.plans-step-column{
    text-align: center;
    font-size: 14px;
}
.plans-info-message{

    text-align:center;
    color:#0095ff;
    font-weight:bold;
    font-size:13px;
    /* background-color: #f6f8f9; */
    padding: 4px;
    width:100%;
    /* border: 1px solid #e0e7eb; */
    /* border: 1px solid #f4d5d5; */
    border-radius: 5px;
}

.plans-step-column fieldset {
    border-radius: 5px;
    border: 1px solid #cccccc;
}

.plans-step-column fieldset:disabled {
    opacity: .3;
}

.tooth-schema .vinir-el{
    display: none;
    font-size: 14px;
    height: 20px;
    margin:0 auto;
    line-height: 20px;
}
.tooth-schema {
    width:700px;
    display: inline-block;
}
.tooth-schema .implant-el{
    display: none;
    line-height: 65px;
    font-size: 18px;
    margin:0 auto;
    height:30px;
}
.tooth-schema .select-el,
.tooth-schema .extrusion,
.tooth-schema .intrusion{
    display: none;
    line-height: 20px;
    font-size: 18px;
    margin:0 auto;
    height:20px;
}
.tooth-schema .down-position .implant-el{
    vertical-align: top;
    line-height: 45px;
    margin-top: 6px
}
.tooth-schema .tooth-btn.down-position .implant-el{
    margin-top: -5px
}

.tooth-schema .down-position.tooth-btn{
    margin-bottom:0;
}
/* .new-implant{
    display: none;
    line-height: 65px;
    font-size: 18px;
    margin-left:-3px;
} */
.tooth-schema .new-implant,
.tooth-schema .new-vinir{
    display: inline-block;
}


.tooth-schema .tooth-nomove-el {
    display: none;
    width: 24px;
    margin:auto;
    height: 20px;
}

.tooth-schema .tooth-attach-el  {
    width: 24px;
    margin:auto;
    height: 20px;
    display: none;
}
.tooth-schema.no-attach-schema .tooth-btn{
    cursor: url('https://cdn.flexiligner.com/flexi/img/tool_no_attachment.svg') 15 10, auto;
}
.tooth-schema.no-move-schema .tooth-btn{
    cursor: url('https://cdn.flexiligner.com/flexi/img/tool_anchor.svg') 15 10, auto;
}
.tooth-schema.implant-schema .tooth-btn{
    cursor: url('https://cdn.flexiligner.com/flexi/img/plan/tool-implant-new.svg') 15 10, auto;
}
.tooth-schema.implant-now-schema .tooth-btn{
    cursor: url('https://cdn.flexiligner.com/flexi/img/plan/tool-implant-now.svg') 15 10, auto;
}
.tooth-schema.vinir-schema .tooth-btn{
    cursor: url('https://cdn.flexiligner.com/flexi/img/plan/tool-vinir-new.svg') 15 10, auto;
}
.tooth-schema.vinir-now-schema .tooth-btn{
    cursor: url('https://cdn.flexiligner.com/flexi/img/plan/tool-vinir-now.svg') 15 10, auto;
}
.tooth-schema .now-implant .implant-el,
.tooth-schema .now-vinir .vinir-el,
.tooth-schema .selected-tooth .select-el,
.tooth-schema .extrusion-on .extrusion,
.tooth-schema .intrusion-on .intrusion{
    display: block;
    /* font-weight:bold; */
    /* color:#3892d4; */
}
.tooth-schema .now-vinir.now-implant .vinir-el,
.tooth-schema .now-vinir.new-implant .vinir-el,
.tooth-schema .new-vinir.now-implant .vinir-el,
.tooth-schema .new-vinir.new-implant .vinir-el{
    margin-top: -6px;
    height: 16px;
}
.tooth-schema .now-vinir.now-implant .implant-el,
.tooth-schema .now-vinir.new-implant .implant-el,
.tooth-schema .new-vinir.now-implant .implant-el,
.tooth-schema .new-vinir.new-implant .implant-el{
    width: 24px;
    height: 24px;
}

.tooth-schema .new-implant .implant-el,
.tooth-schema .new-vinir .vinir-el{
    display: block;
    /* font-weight:bold; */
    /* color:#3892d4; */

    filter: hue-rotate(155deg) brightness(0.85);
    opacity: 1;
}
/* .tooth-schema .implant-on.in-current  .implant,
.tooth-schema .vinir-on.in-current .vinir {
    opacity: 0.5;
}
.tooth-schema .implant-on.in-current.no-tooth  .implant,
.tooth-schema .vinir.no-tooth .vinir {
    opacity: 1;
}*/

/*
.tooth-schema .tooth-lab-rm .lab-rm
{
    display: block;
    opacity: 1;
    margin:0 auto;
    font-weight:bold;
}*/
.tooth-schema .remove-tooth div:nth-child(2)
{
    opacity: 0.2;
}
.tooth-schema .remove-tooth.implant div:nth-child(2)
{
    opacity: 0.4;
}


.tooth-schema .tooth-btn.no-tooth{
    /* background-color: rgba(255,255, 255, 0.8); */
    opacity: 1 !important;
    /* background-size: 0 !important; */
}
.tooth-schema .tooth-btn.no-tooth div:nth-child(2){
    /* background-color: rgba(255,255, 255, 0.8); */
    /*opacity: 0.4 !important;*/
    background-size: 0 !important;
}

.tooth-schema .no-attach .tooth-attach-el ,
.tooth-schema .no-move .tooth-nomove-el {
        display: block;
}

.tooth-schema .implantParam:disabled,
.tooth-schema .implantNoInfo:disabled {
    display:none;
}
.tooth-schema td:only-child{
    width:50%;
    border-color: gray;
    border-style: solid;
}
.tooth-schema .tooth-sector-1{
    padding:0 10px 2px;
    text-align: right;
    border-width:0 1px 1px 0;
}
.tooth-schema .tooth-sector-2{
    padding:0 0 2px 10px;
    border-width:0 0 1px 0;
    text-align: left;
}
.tooth-schema .tooth-sector-3{
    padding:0 0 0 10px;
    text-align: left;
}
.tooth-schema .tooth-sector-4{
    padding:0 10px 0 9px;
    text-align: right;
    border-width:0 1px 0 0;
}


.tool-btn {
    display: none;
}
/* .tool-btn ~ img {
    display: inline-block;
    width:30px;
    height:30px;
    padding:4px;
    cursor: pointer;
} */

.tool-btn ~ img:nth-child(2) {
    display: inline-block;
}
.tool-btn ~ img:nth-child(3) {
    display: none;
}

.tool-btn:checked  ~ img:nth-child(2)  {
    display: none;
}

.tool-btn:checked:nth-child(3)   {
    display: inline-block;
}

/*.tool-tooth-label:has(> .tooth-tool:checked) {*/
.tool-btn  ~ span   {
    border:none;
    /* border-style: solid;
    border-color: lightgrey;
    padding:5px 3px 5px 0px;
    border-width: 1px 1px 1px 0;
    border-radius: 0 4px 4px 0; */
    display: inline-block;
    /*vertical-align: middle;*/
    /* padding:6px 4px 6px 6px;*/
    height:30px;
    width:30px;
    background-repeat: no-repeat;
    cursor: pointer;
    white-space: nowrap;
}.tool-btn:checked~span {
    border-color: darkgrey;
    background-color: #EBEBEB;
}

.okkl-tool{
    margin:3px 5px;
    display:inline-flex;
}
.okkl-tool .tool-tooth-label ,
.okkl-tool  .tool-btn  ~ span   {
     border-style: solid;
    border-color: lightgrey;
    padding:5px 3px 5px 0px;
    border-width: 1px ;
    border-radius:  4px;
    display: inline-block;
    vertical-align: middle;
     padding:6px 4px 6px 6px;
    background-repeat: no-repeat;
    cursor: pointer;
    white-space: nowrap;
    width: auto;
}
.okkl-tool .tool-btn:checked~span {
    border-color: darkgrey;
    background-color: #EBEBEB;
}

/*
.okklSchema .extrusion,.okklSchema .intrusion{
    display:none;
    width:20px;
    height: 20px;
    margin:0 auto;
} */
/* .okklSchema .extrusion-on .extrusion,.okklSchema .intrusion-on .intrusion{
    display:block;
} */
.okklSchema .extrusion-on > div:first-child{
    margin-top:5px;
}
.okklSchema .intrusion-on > div:first-child{
    margin-top:-5px;
}
.okklSchema .down-position.extrusion-on > div:first-child{
    margin-top:-5px;
}
.okklSchema .down-position.intrusion-on > div:first-child{
    margin-top:5px;
}
.okklSchema .down-position .extrusion,
.okklSchema .down-position .intrusion,
.tooth-schema.result .down-position .extrusion,
.tooth-schema.result .down-position .intrusion{
    transform: rotate(180deg);
}
.align-required{
    font-size: 13px;
    font-weight: bold;
}
.cenral-line-info{
    background-color: #00acec;
    /* width: 200px; */
    padding: 10px;
    font-size: 15px;
    color: white;
    border-radius: 5px;
    margin-top: 15px;
    display: inline-block;
}
.top-central-line-img{
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/upperjaw.svg");
    background-repeat: no-repeat;
    background-position: center center;
    min-width:200px;
    /* width:200px; */
    height:160px;
}
.bottom-central-line-img{

    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/expansion-no.svg");
    background-repeat: no-repeat;
    background-position: center center;
    min-width:200px;
    height:160px;
}
.top-central-line-vert{
    /* position:absolute; */
    left:50%;
    height:100%;
    width:1px;
    background-color: #03a9f4;
}

.top-central-line:after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    margin-top: 40px;
    bottom: 0;
    left: 50%;
    height: 164px;
    border-left: 1px solid #03a9f4;
    transform: translate(-50%);
}
.bottom-central-line:after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 7px;
    margin-bottom: 40px;
    bottom: 0;
    left: 50%;
    height: 164px;
    border-left: 1px solid #03a9f4;
    transform: translate(-50%);
}
.left-central {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/left-arrow.svg");
}
.block-central {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/block-btn.svg");
}

.right-central {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/right-arrow.svg");
}

.plans-step-column .sagit-top-btn{
    display:block;
}

.plans-step-column label > input[type='radio']:checked ~ span.left-central {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/left-arrow-bold.svg");
}
.plans-step-column label > input[type='radio']:checked ~ span.block-central {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/block-btn-bold.svg");
}
.plans-step-column label > input[type='radio']:checked ~ span.right-central {
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/right-arrow-bold.svg");
}
/* .sagin-main-box{
    background-image: url(https://cdn.flexiligner.com/flexi/img/plan/expansion-no.svg);
    background-repeat: no-repeat;
    background-position: center center;
    transform: rotate(180deg);
    background-size: 240px 192px;
     content: '';
    width: 240px;
    height: 192px;
    top: 40px;
    z-index:-1;
    display:block;
    position: absolute;
    left: 50%;
    margin-left: -120px;
} */
/* .sagin-main-box{
    background-color: red;
    position: relative;
} */
.sagin-top-box{
    background-image: url(https://cdn.flexiligner.com/flexi/img/plan/upperjaw.svg);
    background-repeat: no-repeat;
    background-position: center 35px;
    background-size: 240px 192px;
    width: 240px;
}
.sagin-bottom-box{
    background-image: url(https://cdn.flexiligner.com/flexi/img/plan/expansion-no.svg);
    background-repeat: no-repeat;
    background-position: center 10px;
    background-size: 240px 192px;
    width: 240px;
}

.sagit-top-ext-btn, .sagit-top-left-dis-btn, .sagit-top-right-mezt-btn {
    display: block;
    transform: rotate(90deg);
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/left-arrow.svg");
}
.sagit-top-no-btn, .sagit-top-left-no-btn, .sagit-top-right-no-btn {
    display: block;
    background:#fff  url("https://cdn.flexiligner.com/flexi/img/plan/block-btn.svg");
}
.sagit-top-int-btn,.sagit-top-left-mez-btn ,.sagit-top-right-dis-btn{
    display: block;
    transform: rotate(90deg);
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/right-arrow.svg");
}
.sagit-bottom-ext-btn, .sagit-bottom-left-dis-btn, .sagit-bottom-right-mezt-btn {
    display: block;
    transform: rotate(-90deg);
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/left-arrow.svg");
}
.sagit-bottom-no-btn, .sagit-bottom-left-no-btn, .sagit-bottom-right-no-btn {
    display: block;
    background:#fff  url("https://cdn.flexiligner.com/flexi/img/plan/block-btn.svg");
}
.sagit-bottom-int-btn,.sagit-bottom-left-mez-btn ,.sagit-bottom-right-dis-btn{
    display: block;
    transform: rotate(-90deg);
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/right-arrow.svg");
}

.plans-step-column label > input[type='radio']:checked ~ span.sagit-top-ext-btn,
.plans-step-column label > input[type='radio']:checked ~ span.sagit-top-left-dis-btn,
.plans-step-column label > input[type='radio']:checked ~ span.sagit-top-right-mezt-btn{
    transform: rotate(90deg);
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/left-arrow-bold.svg");
}
.plans-step-column label > input[type='radio']:checked ~ span.sagit-bottom-ext-btn,
.plans-step-column label > input[type='radio']:checked ~ span.sagit-bottom-left-dis-btn,
.plans-step-column label > input[type='radio']:checked ~ span.sagit-bottom-right-mezt-btn{
    transform: rotate(-90deg);
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/left-arrow-bold.svg");
}
.plans-step-column label > input[type='radio']:checked ~ span.sagit-top-no-btn,
.plans-step-column label > input[type='radio']:checked ~ span.sagit-top-left-no-btn,
.plans-step-column label > input[type='radio']:checked ~ span.sagit-top-right-no-btn ,
.plans-step-column label > input[type='radio']:checked ~ span.sagit-bottom-no-btn,
.plans-step-column label > input[type='radio']:checked ~ span.sagit-bottom-left-no-btn,
.plans-step-column label > input[type='radio']:checked ~ span.sagit-bottom-right-no-btn {
        background-image: url("https://cdn.flexiligner.com/flexi/img/plan/block-btn-bold.svg");
}
.plans-step-column label > input[type='radio']:checked ~ span.sagit-top-int-btn,
.plans-step-column label > input[type='radio']:checked ~ span.sagit-top-left-mez-btn,
.plans-step-column label > input[type='radio']:checked ~ span.sagit-top-right-dis-btn{
    transform: rotate(90deg);
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/right-arrow-bold.svg");
}

.plans-step-column label > input[type='radio']:checked ~ span.sagit-bottom-int-btn,
.plans-step-column label > input[type='radio']:checked ~ span.sagit-bottom-left-mez-btn,
.plans-step-column label > input[type='radio']:checked ~ span.sagit-bottom-right-dis-btn{
    transform: rotate(-90deg);
    background-image: url("https://cdn.flexiligner.com/flexi/img/plan/right-arrow-bold.svg");
}
.plans-step-column .sagit-label{
    margin-bottom:5px;
    text-decoration:underline;
}


/* .tooth-tool:disabled, */
.plans-step-column .f-checkbox:disabled,
.plans-step-column .f-checkbox:disabled  + .f-checkbox-custom,
.plans-step-column .f-checkbox:disabled  ~ .f-checkbox-label,
.plans-step-column .f-radio:disabled,
.plans-step-column .f-radio:disabled  + span,
.plans-step-column .f-radio:disabled  + .f-radio-custom,
.plans-step-column .f-radio:disabled  ~ .f-radio-label,
.plans-step-column .f-radio:disabled  ~ img{
        opacity:0.4;
        pointer-events: none;
    cursor: not-allowed;
}

.plans-step-column .attention {
    text-align: center;
    font-weight: normal;
    margin-top: 10px;
    display: none;
    max-width: 500px;
    color:#0095ff;
    font-style: italic;
}

.schema-attention {
    text-align: center;
    font-weight: normal;
    width: 100%;
    margin-top:5px;
    color:#0095ff;
    font-style: italic;
}
.plan-result {
    margin-bottom:10px;
    width:100%;
}

.plan-result td{
    text-align: left;
    padding:4px 0;
    border-bottom: 1px solid #eee;
}
.plan-result td:first-child{
    width:40%;
}
.plan-result td:last-child{
    padding-left:10;
    width:60%;
    color:#333;
}

.tool-btn~img {
    display: inline-block;
    width: 30px;
    height: 30px;
    padding: 4px;
    cursor: pointer;
    border-style: solid;
    border-color: lightgrey;
    border-width: 1px 0 1px 1px;
    border-radius: 4px 0 0 4px;
    padding: 3px 4px 3px 3px;
}

/*
.tool-btn:checked  ~ img   {
    border-color: darkgrey;
    background-color: #EBEBEB;
} */

.plan-lech{
    user-select: none;
}
.tooth-schema-legend{
    font-size: 12px;
    color:#555;
    border-top:1px solid #aaa;
    margin-top:20px;
    display: inline-block;
}

.tooth-schema-legend td{
    text-align: left;
    padding:0;
}
.tooth-schema-legend td:nth-child(even){
    padding-right:20px;
}
.tooth-schema-legend td:nth-child(odd){
    opacity: 0.8;
    text-align: center;
}

.result-sagin-top{
    background-image: url(https://cdn.flexiligner.com/flexi/img/plan/upperjaw.svg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 120px 70px;

    width: 120px;
}
.result-sagin-bottom{
    background-image: url(https://cdn.flexiligner.com/flexi/img/plan/expansion-no.svg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 120px 70px;
    width: 120px;
}
.sagit-ul{
    margin: 5px 0;
    text-align: left;
    padding-left: 20px;
}
.plan-category-btn{
    flex:1;
    background-color: #f5f5f5;
    padding: 10px;
    border: 1px solid #d8d8d8;
}
.plan-category-btn:first-child{
    border-radius: 5px 0 0 5px;
}
.plan-category-btn:last-child{
    border-radius:  0 5px 5px 0;
}
.plan-category-btn .f-radio-custom{
    display:none;
}
.plan-category-btn ul{
   text-align: left;
   line-height: 18px;
}
.plan-category-btn.selected-category{
    background-color: #c9deed;
    border-color: #7abded;

}
/* .plan-category-btn:has(.f-radio:checked ) {
    background-color: #c9deed;
    border-color: #7abded;
} */
.plan-header-2{
    margin:0;
    font-size: 12px;
    color:#001f3c;
}
.plan-help-condition-button {
    top:1px !important;
    color:#001f3c !important;
}
.plans-title{
    text-align: center;
    font-size: 15px;
    color:#555;
    width:100%;
}
.plan-tooltip-limits{
    font-size:14px;
    padding:0;
    margin: 10px;
    text-align:center;
}
.plan-tooltip-limits div{
    font-size:15px;
    padding:7px 12px 8px 12px;
    margin:0;
    font-weight:bold;
    color:#555;
}
.plan-tooltip-limits table{
    background-color:#f5f5f5;
}
.plan-tooltip-limits td,th{
    padding:8px;
}

.plan-tooltip-limits tr :first-child{
    text-align:left;
}
.plan-tooltip-limits tr:nth-child(2n+1){
    background-color:#f5f5f5;
}

.plan-tooltip-limits tr:nth-child(2n){
    background-color:#fff;
}

.sector1-title,.sector2-title,.sector3-title,.sector4-title{
    padding: 10px;
    display: inline-block;
    border: 1px solid #ccc;
}

.sector1-title{
    border-width: 1px 0 0 1px;
    border-radius: 15px 0 0 0;
}
.sector2-title{
    border-width: 1px 1px 0 0 ;
    border-radius: 0 15px 0 0;
}
.sector3-title{
    border-width:  0 1px 1px 0;
    border-radius:  0 0 15px 0;
}
.sector4-title{
    border-width: 0 0 1px 1px;
    border-radius:  0 0 0 15px;
}


/*------------SCAN ATTRIBUTES DIAGRAM----------*/
.scan-attributes-diagram{
    padding: 0 30px;
    position: relative;
    height: 570px;
}
.scan-attributes-diagram.only-upper,
.scan-attributes-diagram.only-lower{
    height: 280px;
}

.scan-attributes-diagram .upper,
.scan-attributes-diagram .lower{
    position: relative;
    width: 360px;
    height: 360px;
}

.scan-attributes-diagram .upper .scheme{
    background-image: url(https://cdn.flexiligner.com/flexi/img/plan/upperjaw.svg);
    background-repeat: no-repeat;
    background-position: center center;
    width: 360px;
    height: 288px;
    z-index: 10;
}
.scan-attributes-diagram .lower .scheme{
    background-image: url(https://cdn.flexiligner.com/flexi/img/plan/lowerjaw.svg);
    background-repeat: no-repeat;
    background-position: center center;
    width: 360px;
    height: 288px;
    position: relative;
}
.scan-attributes-diagram .lower{
    z-index: 8;
    top: -70px;
}

.scan-attributes-diagram.only-lower .lower{
    top: 0;
}

.scan-attributes-diagram .item{
    position: absolute;
    z-index: 10;
    /*background-color: rgba(140, 203, 133, 0.6);*/
    width: 10%;
    height: 10%;
    border-radius: 50%;
}

.scan-attributes-diagram-legend{
    display: inline-block;
    padding: 0;
}
.scan-attributes-diagram-legend .item{
    position: relative;
    width: 32px;
    height: 32px;
    top: 0;
    left: 22px;
}
.scan-attributes-diagram-legend .inner{
    overflow: hidden;
    width: 28px;
    height: 28px;
}
.scan-attributes-diagram-title{
    display: inline-block;
    line-height: 28px;
    font-size: 13px;
    vertical-align: top;
    width: 150px;
}
.scan-attributes-diagram-legend.scan-attributes-diagram .item .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram-legend.scan-attributes-diagram .item .spikes.outer{
    left: -34%;
    visibility: visible;
}
.scan-attributes-diagram-legend.scan-attributes-diagram .item .wedge-defect.outer{
    left: -38%;
    visibility: visible;
}
.scan-attributes-diagram-legend.scan-attributes-diagram .item .gum-roller{
    top: 0;
    height: 80%;
    visibility: visible;
}

.scan-attributes-diagram .item .tooth-pointer{
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    cursor: pointer;
    transition: 50ms;
}
.scan-attributes-diagram .item .tooth-pointer:hover{
    background-color: rgba(133, 175, 203, 0.5);
}

.scan-attributes-diagram .item .wedge-defect{
    width: 32%;
    height: 60%;
    position: absolute;
    top: 20%;
    border-radius: 6px;
    visibility: hidden;
}
.scan-attributes-diagram .item .wedge-defect.inner{
    border-left: 4px solid #4bbb03;
    border-top: 4px solid #4bbb03;
    border-bottom: 4px solid #4bbb03;
    right: -23%;
}
.scan-attributes-diagram .item .wedge-defect.outer{
    border-right: 4px solid #4bbb03;
    border-top: 4px solid #4bbb03;
    border-bottom: 4px solid #4bbb03;
    left: -23%;
}

.scan-attributes-diagram .item .spikes{
    width: 24%;
    height: 60%;
    border-radius: 2px;
    position: absolute;
    top: 20%;
    background-color: rgba(7, 0, 200, 0.7);
    visibility: hidden;
}
.scan-attributes-diagram .item .spikes.inner{
    right: 12%;
}
.scan-attributes-diagram .item .spikes.outer{
    left: 10%;
}


.scan-attributes-diagram .item .recession{
    width: 130%;
    height: 70%;
    border-radius: 50%;
    position: absolute;
    top: 15%;
    visibility: hidden;
}
.scan-attributes-diagram .item .recession.inner{
    border-right: 6px solid #c43608;
    left: 25%;
}
.scan-attributes-diagram .item .recession.outer{
    border-left: 6px solid #c43608;
    right: 25%;
}

.scan-attributes-diagram .item .gum-roller{
    top: -10%;
    left: -36%;
    height: 120%;
    position: absolute;
    width: 22%;
    background-color: rgba(204, 58, 21, 0.7);
    border-radius: 50%;
    visibility: hidden;
}

.scan-attributes-diagram .item.tooth-18{
    top: 67.5%;
    left: 1%;
    background-image: none;
    transform: rotate(5deg);
}
.scan-attributes-diagram .item.tooth-17{
    top: 54.5%;
    left: 3.5%;
    background-image: none;
    transform: rotate(7deg);
}
.scan-attributes-diagram .item.tooth-16{
    top: 41.5%;
    left: 6.5%;
    background-image: none;
    transform: rotate(15deg);
}
.scan-attributes-diagram .item.tooth-15{
    top: 28.5%;
    left: 10.5%;
    background-image: none;
    transform: rotate(23deg);
}
.scan-attributes-diagram .item.tooth-14{
    top: 19.5%;
    left: 15%;
    background-image: none;
    transform: rotate(33deg);
}
.scan-attributes-diagram .item.tooth-13{
    top: 11%;
    left: 21%;
    background-image: none;
    transform: rotate(46deg);
}
.scan-attributes-diagram .item.tooth-12{
    top: 5.5%;
    left: 29.5%;
    background-image: none;
    transform: rotate(64deg);
}
.scan-attributes-diagram .item.tooth-11{
    top: 3.4%;
    left: 39%;
    background-image: none;
    transform: rotate(85deg);
}
.scan-attributes-diagram .item.tooth-21{
    top: 3.4%;
    left: 51%;
    background-image: none;
    transform: rotate(95deg);
}
.scan-attributes-diagram .item.tooth-22{
    top: 5.5%;
    left: 61%;
    background-image: none;
    transform: rotate(116deg);
}
.scan-attributes-diagram .item.tooth-23{
    top: 11%;
    left: 69%;
    background-image: none;
    transform: rotate(134deg);
}
.scan-attributes-diagram .item.tooth-24{
    top: 19.5%;
    left: 75%;
    background-image: none;
    transform: rotate(147deg);
}
.scan-attributes-diagram .item.tooth-25{
    top: 28.5%;
    left: 80%;
    background-image: none;
    transform: rotate(157deg);
}
.scan-attributes-diagram .item.tooth-26{
    top: 41.5%;
    left: 84%;
    background-image: none;
    transform: rotate(165deg);
}
.scan-attributes-diagram .item.tooth-27{
    top: 54.5%;
    left: 86.5%;
    background-image: none;
    transform: rotate(173deg);
}
.scan-attributes-diagram .item.tooth-28{
    top: 67.5%;
    left: 89%;
    background-image: none;
    transform: rotate(175deg);
}
.scan-attributes-diagram .item.tooth-31{
    top: 65.4%;
    left: 48.8%;
    background-image: none;
    transform: rotate(270deg);
}
.scan-attributes-diagram .item.tooth-32{
    top: 63.8%;
    left: 56.5%;
    background-image: none;
    transform: rotate(261deg);
}
.scan-attributes-diagram .item.tooth-33{
    top: 62%;
    left: 64.7%;
    background-image: none;
    transform: rotate(240deg);
}
.scan-attributes-diagram .item.tooth-34{
    top: 55%;
    left: 71.5%;
    background-image: none;
    transform: rotate(220deg);
}
.scan-attributes-diagram .item.tooth-35{
    top: 46.4%;
    left: 76.5%;
    background-image: none;
    transform: rotate(208deg);
}
.scan-attributes-diagram .item.tooth-36{
    top: 34.8%;
    left: 80%;
    background-image: none;
    transform: rotate(200deg);
}
.scan-attributes-diagram .item.tooth-37{
    top: 20.6%;
    left: 85%;
    background-image: none;
    transform: rotate(201deg);
}
.scan-attributes-diagram .item.tooth-38{
    top: 6.8%;
    left: 88.7%;
    background-image: none;
    transform: rotate(191deg);
}
.scan-attributes-diagram .item.tooth-48{
    top: 6.8%;
    left: 1.5%;
    background-image: none;
    transform: rotate(349deg);
}
.scan-attributes-diagram .item.tooth-47{
    top: 20.6%;
    left: 5.4%;
    background-image: none;
    transform: rotate(339deg);
}
.scan-attributes-diagram .item.tooth-46{
    top: 34.8%;
    left: 10%;
    background-image: none;
    transform: rotate(340deg);
}
.scan-attributes-diagram .item.tooth-45{
    top: 46.4%;
    left: 14.5%;
    background-image: none;
    transform: rotate(332deg);
}
.scan-attributes-diagram .item.tooth-44{
    top: 55%;
    left: 19.5%;
    background-image: none;
    transform: rotate(320deg);
}
.scan-attributes-diagram .item.tooth-43{
    top: 62%;
    left: 25.7%;
    background-image: none;
    transform: rotate(300deg);
}
.scan-attributes-diagram .item.tooth-42{
    top: 63.8%;
    left: 33.5%;
    background-image: none;
    transform: rotate(279deg);
}
.scan-attributes-diagram .item.tooth-41{
    top: 65.4%;
    left: 41%;
    background-image: none;
    transform: rotate(270deg);
}

.scan-attributes-diagram .content.gum-roller-18 .item.tooth-18 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-17 .item.tooth-17 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-16 .item.tooth-16 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-15 .item.tooth-15 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-14 .item.tooth-14 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-13 .item.tooth-13 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-12 .item.tooth-12 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-11 .item.tooth-11 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-28 .item.tooth-28 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-27 .item.tooth-27 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-26 .item.tooth-26 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-25 .item.tooth-25 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-24 .item.tooth-24 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-23 .item.tooth-23 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-22 .item.tooth-22 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-21 .item.tooth-21 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-38 .item.tooth-38 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-37 .item.tooth-37 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-36 .item.tooth-36 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-35 .item.tooth-35 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-34 .item.tooth-34 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-33 .item.tooth-33 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-32 .item.tooth-32 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-31 .item.tooth-31 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-48 .item.tooth-48 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-47 .item.tooth-47 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-46 .item.tooth-46 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-45 .item.tooth-45 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-44 .item.tooth-44 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-43 .item.tooth-43 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-42 .item.tooth-42 .gum-roller{
    visibility: visible;
}
.scan-attributes-diagram .content.gum-roller-41 .item.tooth-41 .gum-roller{
    visibility: visible;
}


.scan-attributes-diagram .content.recession-outer-18 .item.tooth-18 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-17 .item.tooth-17 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-16 .item.tooth-16 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-15 .item.tooth-15 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-14 .item.tooth-14 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-13 .item.tooth-13 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-12 .item.tooth-12 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-11 .item.tooth-11 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-28 .item.tooth-28 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-27 .item.tooth-27 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-26 .item.tooth-26 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-25 .item.tooth-25 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-24 .item.tooth-24 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-23 .item.tooth-23 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-22 .item.tooth-22 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-21 .item.tooth-21 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-38 .item.tooth-38 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-37 .item.tooth-37 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-36 .item.tooth-36 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-35 .item.tooth-35 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-34 .item.tooth-34 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-33 .item.tooth-33 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-32 .item.tooth-32 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-31 .item.tooth-31 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-48 .item.tooth-48 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-47 .item.tooth-47 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-46 .item.tooth-46 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-45 .item.tooth-45 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-44 .item.tooth-44 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-43 .item.tooth-43 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-42 .item.tooth-42 .recession.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-outer-41 .item.tooth-41 .recession.outer{
    visibility: visible;
}



.scan-attributes-diagram .content.recession-inner-18 .item.tooth-18 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-17 .item.tooth-17 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-16 .item.tooth-16 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-15 .item.tooth-15 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-14 .item.tooth-14 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-13 .item.tooth-13 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-12 .item.tooth-12 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-11 .item.tooth-11 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-28 .item.tooth-28 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-27 .item.tooth-27 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-26 .item.tooth-26 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-25 .item.tooth-25 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-24 .item.tooth-24 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-23 .item.tooth-23 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-22 .item.tooth-22 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-21 .item.tooth-21 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-38 .item.tooth-38 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-37 .item.tooth-37 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-36 .item.tooth-36 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-35 .item.tooth-35 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-34 .item.tooth-34 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-33 .item.tooth-33 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-32 .item.tooth-32 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-31 .item.tooth-31 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-48 .item.tooth-48 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-47 .item.tooth-47 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-46 .item.tooth-46 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-45 .item.tooth-45 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-44 .item.tooth-44 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-43 .item.tooth-43 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-42 .item.tooth-42 .recession.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.recession-inner-41 .item.tooth-41 .recession.inner{
    visibility: visible;
}


.scan-attributes-diagram .content.spikes-outer-18 .item.tooth-18 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-17 .item.tooth-17 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-16 .item.tooth-16 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-15 .item.tooth-15 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-14 .item.tooth-14 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-13 .item.tooth-13 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-12 .item.tooth-12 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-11 .item.tooth-11 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-28 .item.tooth-28 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-27 .item.tooth-27 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-26 .item.tooth-26 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-25 .item.tooth-25 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-24 .item.tooth-24 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-23 .item.tooth-23 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-22 .item.tooth-22 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-21 .item.tooth-21 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-38 .item.tooth-38 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-37 .item.tooth-37 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-36 .item.tooth-36 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-35 .item.tooth-35 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-34 .item.tooth-34 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-33 .item.tooth-33 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-32 .item.tooth-32 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-31 .item.tooth-31 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-48 .item.tooth-48 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-47 .item.tooth-47 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-46 .item.tooth-46 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-45 .item.tooth-45 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-44 .item.tooth-44 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-43 .item.tooth-43 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-42 .item.tooth-42 .spikes.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-outer-41 .item.tooth-41 .spikes.outer{
    visibility: visible;
}



.scan-attributes-diagram .content.spikes-inner-18 .item.tooth-18 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-17 .item.tooth-17 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-16 .item.tooth-16 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-15 .item.tooth-15 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-14 .item.tooth-14 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-13 .item.tooth-13 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-12 .item.tooth-12 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-11 .item.tooth-11 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-28 .item.tooth-28 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-27 .item.tooth-27 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-26 .item.tooth-26 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-25 .item.tooth-25 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-24 .item.tooth-24 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-23 .item.tooth-23 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-22 .item.tooth-22 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-21 .item.tooth-21 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-38 .item.tooth-38 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-37 .item.tooth-37 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-36 .item.tooth-36 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-35 .item.tooth-35 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-34 .item.tooth-34 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-33 .item.tooth-33 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-32 .item.tooth-32 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-31 .item.tooth-31 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-48 .item.tooth-48 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-47 .item.tooth-47 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-46 .item.tooth-46 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-45 .item.tooth-45 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-44 .item.tooth-44 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-43 .item.tooth-43 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-42 .item.tooth-42 .spikes.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.spikes-inner-41 .item.tooth-41 .spikes.inner{
    visibility: visible;
}



.scan-attributes-diagram .content.wedge-defect-outer-18 .item.tooth-18 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-17 .item.tooth-17 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-16 .item.tooth-16 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-15 .item.tooth-15 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-14 .item.tooth-14 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-13 .item.tooth-13 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-12 .item.tooth-12 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-11 .item.tooth-11 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-28 .item.tooth-28 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-27 .item.tooth-27 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-26 .item.tooth-26 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-25 .item.tooth-25 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-24 .item.tooth-24 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-23 .item.tooth-23 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-22 .item.tooth-22 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-21 .item.tooth-21 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-38 .item.tooth-38 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-37 .item.tooth-37 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-36 .item.tooth-36 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-35 .item.tooth-35 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-34 .item.tooth-34 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-33 .item.tooth-33 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-32 .item.tooth-32 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-31 .item.tooth-31 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-48 .item.tooth-48 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-47 .item.tooth-47 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-46 .item.tooth-46 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-45 .item.tooth-45 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-44 .item.tooth-44 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-43 .item.tooth-43 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-42 .item.tooth-42 .wedge-defect.outer{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-outer-41 .item.tooth-41 .wedge-defect.outer{
    visibility: visible;
}



.scan-attributes-diagram .content.wedge-defect-inner-18 .item.tooth-18 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-17 .item.tooth-17 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-16 .item.tooth-16 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-15 .item.tooth-15 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-14 .item.tooth-14 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-13 .item.tooth-13 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-12 .item.tooth-12 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-11 .item.tooth-11 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-28 .item.tooth-28 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-27 .item.tooth-27 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-26 .item.tooth-26 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-25 .item.tooth-25 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-24 .item.tooth-24 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-23 .item.tooth-23 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-22 .item.tooth-22 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-21 .item.tooth-21 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-38 .item.tooth-38 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-37 .item.tooth-37 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-36 .item.tooth-36 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-35 .item.tooth-35 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-34 .item.tooth-34 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-33 .item.tooth-33 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-32 .item.tooth-32 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-31 .item.tooth-31 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-48 .item.tooth-48 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-47 .item.tooth-47 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-46 .item.tooth-46 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-45 .item.tooth-45 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-44 .item.tooth-44 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-43 .item.tooth-43 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-42 .item.tooth-42 .wedge-defect.inner{
    visibility: visible;
}
.scan-attributes-diagram .content.wedge-defect-inner-41 .item.tooth-41 .wedge-defect.inner{
    visibility: visible;
}
/*----------------------*/

/* Кнопка уведомлений */
.btn-badger {
    cursor: pointer;
    border: none;
    align-items: center;
    border-radius: 4px;
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 500;
    letter-spacing: .0892857143em;
    justify-content: center;
    outline: 0;
    position: relative;
    text-decoration: none;
    text-indent: 0.0892857143em;
    text-transform: uppercase;
    transition-duration: .28s;
    transition-property: box-shadow,transform,opacity;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
    min-height: 0;
    min-width: 0;
    padding: 0;
    border-radius: 50%;
    font-size: .875rem;
    width: 30px;
    height: 30px;
    margin-top: 5px;
    margin-right: 10px;
}

.feedback-animated-button {
    background-color: #63a4d2; /* Фиолетовый цвет */
    color: white;
    border: none;
    padding: 5px 10px;
    margin: 7px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.feedback-animated-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.feedback-animated-button:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.feedback-animated-button:hover {
    background-color: #4a9cd6;
}

.btn-badger_content {
    align-items: center;
    color: inherit;
    display: flex;
    flex: 1 0 auto;
    justify-content: inherit;
    line-height: normal;
    position: relative;
    transition: inherit;
    transition-property: opacity;
}

.span_badger {
    display: inline-block;
    line-height: 1;
    position: relative;
}
.span_wrapper {
    flex: 0 1;
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
}
.green_wrapper {
    background-color: #4caf50!important;
    border-color: #4caf50!important;
}
.wrapper-count{
    display:none;
    border-radius: 8px;
    color: #fff;
    font-size: 10px;
    line-height: 10px;
    letter-spacing: 0;
    padding: 4px 4px 3px 4px;
    pointer-events: auto;
    position: absolute;
    text-align: center;
    text-indent: 0;
    top: auto;
    transition: .3s cubic-bezier(.25,.8,.5,1);
    white-space: nowrap;
    inset: auto auto calc(100% - 8px) calc(100% - 3px);
}
.wrapper-icon {
    align-items: center;
    display: inline-flex;
    font-feature-settings: "liga";
    font-size: 20px;
    color: #666;
    justify-content: center;
    letter-spacing: normal;
    line-height: 1;
    position: relative;
    text-indent: 0;
    transition: .3s cubic-bezier(.25,.8,.5,1),visibility 0s;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.link-btn-color {
    color:#4297d4;
}
.read-btn-color {
    color:green;
}
/* --------------- */
.ct-waiting-info{
    font-style: italic;
    font-size: 12px;
    font-weight: bold;
    color: darkorange;
}
.ct-add-info{
    text-align: center;
    color: #2f7ab2;
    font-style: italic;
}

/* address autocomplete */

.main-autocomplete {
    z-index: 128;
    width: 100%;
    margin-left: 5px;
    margin-bottom: 5px;
    box-shadow: 0px 5px 5px -3px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 8px 10px 1px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 3px 14px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12)) !important;
}
.lvl1{
    position: absolute;
    text-align: left;
    z-index: 989;
    cursor: default;
    user-select: none;
    width: 100%;margin-top: -1px;
    max-width: 200px;
}
.lvl2{
    display: flex;
    flex-direction: column;
    list-style-type: none;
    margin: 0;
    padding: 0;
    padding-bottom: 0px;
    overflow: hidden;
    background: #fff;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 9px 8px -3px rgba(64,60,67,.24),8px 0 8px -7px rgba(64,60,67,.24),-8px 0 8px -7px rgba(64,60,67,.24);
    border: 0;
    padding-bottom: 4px;
}
.ulStyle{
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0;
    margin: 0;
}
.liStyle{
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-height: none;
    padding: 0;
    cursor: pointer;
}
.liStyle:hover{
    background: #ffe7e2;
}
.search-selected{
    background: #ffe7e2;
}
.lidivlvl2{
    display: flex;
    flex: auto;
    flex-direction: column;
    min-width: 0;
    max-height: none;
    padding: 6px 0;
}
.lidivlvl3{
    display: flex;
    font-size: 16px;
    color: #212121;
    flex: auto;
    align-items: center;
    word-break: break-all;
    padding-right: 8px;
}
.input-autocomplete-house{
    width:200px;
}
.input-autocomplete-city{
    width:200px;
}
.no-search-result {
    box-shadow: 0px 5px 5px -3px var(--v-shadow-key-umbra-opacity, rgba(219, 17, 17, 0.2)), 0px 8px 10px 1px var(--v-shadow-key-penumbra-opacity, rgba(238, 19, 19, 0.14)), 0px 3px 14px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12)) !important;
}

.input-autocomplete{
    /*border-bottom-left-radius: 0  !important;*/
    /*border-bottom-right-radius: 0  !important;*/
    box-shadow: 0 2px 8px 1px rgba(64,60,67,.24);
    border-color: rgba(223,225,229,0);
    display: flex;
    z-index: 3;
    min-height: 44px;
    background: #fff;
    border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    box-shadow: 0 2px 5px 1px rgba(64,60,67,.16);
    /*border-radius: 24px;*/
    margin: 0 auto;
}
.mm-material-set-info{
    font-size: 11px;
    font-style: italic;
}
.mm-info-error{
    color:#e50000;
    cursor:help;
}
.code-item {
    padding: 5px;
}

.maestro-file-download-btn{
    background: transparent;
    font-size: 12px;
    color: #008ffe;
    border: 1px solid #86caff;
    border-radius: 3px;
    cursor: pointer;
}
.maestro-file-download-btn:hover {
	background: #c0e2fa;
}

.maestro-loader{
    font-size: 12px;
    color: #008fff;
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    position: relative;
  }
  .maestro-loader:after{
    content: '';
    height: 2px;
    width:0%;
    display: block;
    background: #008fff;
    animation: 2s maestrolineGrow linear infinite;
  }

  @keyframes maestrolineGrow {to{width: 100%;}}


.morphing-file-download-btn, .stl-archive-run-btn, .stl-archive-upload-btn{
    background: transparent;
    font-size: 12px;
    color: #9b3c02;
    border: 1px solid #803305;
    border-radius: 3px;
    cursor: pointer;
}
.morphing-file-download-btn:hover, .stl-archive-run-btn:hover, .stl-archive-upload-btn:hover {
	background: #c0e2fa;
}

.stl-archive-file-download-btn:hover {
    border-color: #959595;

}

.stl-archive-file-download-btn{
    width: 16px;
    height: 16px;
    background-image: url(https://cdn.flexiligner.com/flexi/img/icons16/drive-download.png);
    background-size:contain;
    float: inline-end;
    border: none;
    cursor: pointer;
    background-repeat: no-repeat;
    border: 1px solid transparent;
    border-radius: 3px;
}
.stl-archive-upload-cnt progress{
    width: 80px;
    height:10px;
}

.stl-archive-upload-btn.uploading{
    display:none;
}

.stl-archive-upload-cnt{
    display:none;
}
/* .stl-archive-upload-cnt div{
    font-size: 12px;
    color: #9b3c02;
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    position: relative;
    height:12px;
    line-height:12px;
} */

.stl-archive-upload-cnt.uploading{
    display:inline-block;
}
.dia-btn .x-btn-button{
    display: block;
}

.morphing-loader{
    font-size: 12px;
    color: #9b3c02;
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    position: relative;
  }
  .morphing-loader:after{
    content: '';
    height: 2px;
    width:0%;
    display: block;
    background: #9b3c02;
    animation: 2s morphinglineGrow linear infinite;
  }
  .clinic-approve-button {
    background-color: #3487c3;
  }
  .clinic-deactivate-button {
    background-color:#7b7878!important;
    border-color: #7b7878
  }
  .clinic-deactivate-button:hover {
    background-color:#7b7878;
    border-color: #7b7878
  }
  .clinic-deactivate-button:focus {
    background-color:#7b7878;
    border-color: #7b7878
  }
  @keyframes morphinglineGrow {to{width: 100%;}}


.dia-block-image, .dia-unblock-image {
    width: 16px;
    height: 16px;
    float: inline-end;
    display: none;
    cursor: help;
}

.dia-blocked .dia-block-image {
    display: block;
}
.dia-unblocked .dia-unblock-image {
    display: block;
}
.ortho-unblock-actual-num{
    font-weight: bold;
    width: 16px;
    text-align: center;
    /* height: 16px; */
    float: inline-end;
}
.delivery-history-hidden {
    display: none;
}
.btn-text-center {
    text-align: center;
}
.booked-item-day {
    display: flex;
    background-color: #eff6f9;
    margin: 2px;
    padding: 5px;
}
.booked-item-day:nth-child(2n) {
    background-color: #f5f5f5;
}
.booked-day {
    margin: 3px;
    border: 1px solid #75aad1;
    padding: 5px;
    border-radius: 3px;
    background-color: #c9deed;
    color: #002f51;
    width: 94px;
}
.booked-day-span {
    height: 15px;
    display: block;
    text-align: center;
}
.booked-day-dayofweek {
    height: 15px;
    display: block;
    text-align: center;
    font-size: 11px;
}
.booked-item-slots {
    max-width: 600px;
    flex-wrap: wrap;
    display: flex;
    padding: 6px;
}
.booked-item-slot-action {
    margin: 4px;
    height: 26px;
    border: 1px solid #bdb1bc;
    color: #6f3c6b;
    border-radius: 2px;
    padding: 4px;
    background-color: #fff8ff;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    user-select: none;
    font-size: 12px;
    transition-duration: 50ms;
}
.booked-item-slot-action:hover {
    background-color: #faf1fa;
}

.booked-item-slot-action-select {
    background-color: #a0e56e;
    color: #166304;
    border-color: #6dbb45;
}
.booked-item-slot-action-select:hover{
    background-color: #9cde6b;
}
.org-total-info-block{
    margin-bottom: 15px;
    font-size: 15px;
    padding: 1px 20px;
    background-color: #ebebeb;
    border-radius: 5px;
}

.progress {
    display: -ms-flexbox;
    display: flex;
    height: 1rem;
    overflow: hidden;
    font-size: .75rem;
    background-color: #e9ecef;
    border-radius: .25rem;
}
.progress-bar {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #007bff;
    transition: width .6s ease;
}
.bg-info {
    background-color: #17a2b8 !important;
}

.text-btn-organizer {
  animation: flicker 3s infinite; /* Параметры анимации */
}
  @keyframes flicker {
    from { color: #000000; }
    to { color: #008ffe; }
  }





.status-icon{
    display: inline-block;
    height: 18px;
    width: 30px;
    border-radius: 2px;
}
.status-icon.green{
    background-color: #30a535;
}
.status-icon.blue{
    background-color: #5fa5d3;
}
.status-icon.red{
    background-color: #c24e5d;
}
.status-icon.purple{
    background-color: #b785c2;
}
.status-icon.grey{
    background-color: #b4b4b4;
}
.status-icon.pink{
    background-color: #e37998;
}

.grid-task-icon{
    height: 21px;
    width: 21px;
    display: inline-block;
    margin: 0 3px 0 0;
    border: 1px solid #63a4d2;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background-color: #e9eef1;
    padding: 2px;
}
/* Панель звонков */
.list-group {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    border-radius: .25rem;
  }
.list-group-item-action {
    width: 100%;
    color: #495057;
    text-align: inherit;
}
.list-group-item {
    position: relative;
    display: block;
    padding: 0.4rem 0.4rem;
    color: #212529;
    width: 220px;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);
    margin: 4px;
    border-radius: 3px;
    transition-duration: 100ms;
  }
  .list-group-item:hover {
    background-color: #c9deed;
    border-color: #bacddc;
  }
  .list-group-item.active {
    z-index: 2;
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
  }
.list-group-item.x-view-item-focused{
    border: 1px solid rgba(0,0,0,.125) !important;
}

  .justify-content-between {
    justify-content: space-between !important;
  }
  .call-title {
    margin-bottom: .25rem !important;
    margin-top: .25rem;
    text-align: start;
  }
  .w-100 {
    width: 100% !important;
  }
  .org-case-info-block {
    width: 177px;
    height: 61px;
    /* background-color: #dee6a7; */
    margin: auto;
    border-radius: 10px;
    margin-top: 12px;
  }
    /* Убирает фокус у контейнера элементов */
    .protocol-container:focus,
    .protocol-container.x-focused {
        outline: none !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    .selected-image {
        border: 3px solid #2196F3;
        box-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
        transition: all 0.1s ease;
    }
/* Основные стили Juxtapose */
.jx-grabbing {
    cursor: col-resize !important;
}

.jx-active {
    background-color: #3498db !important;
    width: 6px !important;
    opacity: 1 !important;
}

/* Контейнеры изображений */
.juxtapose-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Изображения */
.juxtapose-image {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Разделитель */
.juxtapose-divider {
    position: absolute;
    height: 100%;
    width: 4px;
    background: #fff;
    cursor: col-resize;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: all 0.2s ease;
}
/* Стили для заголовка окна */
.x-window-header {
    padding: 5px 10px;
    background-color: #f5f5f5;
}

/* Стили для слайдера */
.x-slider {
    margin-top: 3px;
}

.x-slider-horz .x-slider-thumb {
    background-color: #fff;
    border: 1px solid #ccc;
}

.x-slider-horz .x-slider-end {
    background-color: #e0e0e0;
}
.block-scroll {
    overflow-y: hidden !important;
}
