* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    box-sizing: border-box;
    outline: none;
}

body {
    -webkit-touch-callout: none;
    -webkit-text-size-adjust: none;
    -webkit-user-select: none;
    background: #FFFFFF fixed !important;
    font-family: 'Assistant', sans-serif;
    direction: rtl;
    font-size: 12px;
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

p {
    font-size: 15px;
}

.ui-mobile .ui-page-active.noscroll {
    overflow: hidden !important;
}

.app {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.preLoad-wrapper {
    position: absolute;
    display: none;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0;
}

.app__wrapper {
    position: relative;
    width: 100%;
    min-height: 100%;
    display: block;
    background: #FFFFFF;
}

.app__body {
    position: relative;
    width: 100%;
    min-height: 100%;
    padding: 129px 40px 20px 40px;
    color: #000000;
}

.app__body a {
    color: #000000;
}

.ui-page-theme-a a:visited,
html .ui-bar-a a:visited,
html .ui-body-a a:visited,
html body .ui-group-theme-a a:visited {
    color: #000000;
}

.app__top-bar {
    position: absolute;
    background: #000000;
    top: 0;
    left: 0;
    right: 0;
    height: 23px;
    line-height: 23px;
    display: block;
    color: #FFFFFF;
    z-index: 2;
    text-transform: lowercase;
    padding: 0 15px;
}

.app__title {
    position: absolute;
    background: #000;
    z-index: 1;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    width: 100%;
}

.app__title--auth {
    height: 125px;
}

.app__main-logo {
    width: 250px;
    display: block;
}

.app__main-logo img {
    width: 100%;
}


/* .app__title-diver {
    position: absolute;
    top: 120px;
    left: 25px;
    right: 25px;
    display: block;
    border-bottom: 1px solid #544f4e;
    border-top: 1px solid #544f4e;
    height: 9px;
    z-index: 3;
} */


/* .app__title-diver-middle {
    width: 100%;
    height: 1px;
    border-top: 1px solid #544f4e;
    display: block;
    margin-top: 3px;
} */

.app__user-block {
    width: 100%;
    /* height: 45px; */
    margin: 10px 0 10px 0px;
    position: relative;
    padding: 1rem 0rem;
}

.app__user-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.app__user-info li {
    display: inline-block;
    vertical-align: middle;
    color: #f3f3f3;
}

.app__user-info .app__user-img {
    width: 26px !important;
    height: 26px !important;
}

.app__user-img img {
    width: 100%;
}

.app__user-info-text {
    font-size: 18px;
    margin: 0 10px;
    height: 20px;
    line-height: 20px;
}

.app__user-info-divider {
    border-right: 1px solid;
    padding-right: 10px;
    margin-right: 0;
}

.app__user-page-logo {
    width: 32px;
    height: 32px;
    position: absolute;
    display: block;
    background: red;
    left: 12px;
}

.app__body--measuring .app__user-page-logo {
    background: url("../img/measuring-icon.png") no-repeat center;
    background-size: 32px;
}

.app__body--service .app__user-page-logo {
    background: url("../img/service-icon.png") no-repeat center;
    background-size: 32px;
}

.notification {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 1.5em;
    height: 50px;
    line-height: 50px;
    display: block;
    color: #FFFFFF;
    z-index: 3;
    text-align: center;
}

.notification--success {
    background: #4caf50;
}

.notification--error {
    background: #ff1744;
}


/* ################# */

nav {
    background-color: beige;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem 1rem 0rem;
}

.links {
    height: 0;
    overflow: hidden;
    transition: all 0.3s linear;
    background-color: #FFFFFF;
}

.links a {
    color: #000;
    text-shadow: 0 1px 0 #f3f3f3;
    transition: all 0.3s linear;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none !important;
}

.links a.active {
    color: #E5262A;
}

.links a:hover {
    color: #E5262A;
}


/* .active { height: 10rem;} */

.toggleBtn {
    height: 20px;
    width: 30px;
    background: transparent;
    border: unset;
    padding: 0;
}

.toggleBtn img {
    width: 100%;
}

@media screen and (max-width: 768px) {
    .toggleBtn {
        display: none;
    }
    .show-sm {
        display: block;
    }
    .hide-sm {
        display: none !important;
    }
    /* .flex-items {
        display: flex;
        align-items: center;
        justify-content: space-between;
    } */
    .links li {
        width: 100%;
        text-align: center;
        /* margin: 0.8rem 0;
        border-bottom: 1px solid #333; */
    }
    .links li:last-child {
        border-bottom: 0px;
    }
    .app__user-info.links.active {
        padding: 1rem 2rem;
        border-radius: 15px;
        box-shadow: 0px 10px 20px #00000017;
        height: auto;
    }
    .app__user-info-text {
        margin: 0 0;
    }
    .links {
        overflow: visible;
        display: flex;
        align-items: center;
    }
    /* .header {
        display: none;
    } */
}

@media screen and (min-width: 769px) {
    .show-sm {
        display: none;
    }
    .hide-sm {
        display: show;
    }
}

@media screen and (min-width: 800px) {
    /* .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 1170px;
      margin: 0 auto;
      padding: 1rem;
    } */
    .header {
        padding: 0;
    }
    .toggleBtn {
        display: none;
    }
    .links {
        height: auto;
        display: flex;
    }
    .links a {
        padding: 0;
        margin: 0 1rem;
    }
    .links a:hover {
        padding: 0;
        background: transparent;
        color: red !important;
        transform: scale(1.2);
    }
}

.frmSearch {
    border: 1px solid #a8d4b1;
    background-color: #c6f7d0;
    margin: 2px 0px;
    padding: 40px;
    border-radius: 4px;
}

.searchResult {
    float: left;
    list-style: none;
    margin-top: -3px;
    padding: 0;
    width: 190px;
    position: absolute;
    z-index: 999;
}

.searchResult li {
    padding: 10px;
    background: #3e3d3d;
    border-bottom: #bbb9b9 1px solid;
}

.searchResult li:hover {
    background: #ece3d2;
    cursor: pointer;
}

.search-box {
    padding: 10px;
    border: #a8d4b1 1px solid;
    border-radius: 4px;
}

.searchForm .agenda__title {
    height: auto;
}

.searchForm .agenda__title-action--calendar {
    display: inline-block;
    display: inline-block;
    position: inherit;
    right: unset;
    top: -6px;
}

.customerSearh {
    position: relative;
    padding: 0 0 0 4px;
}

.searchForm .agenda__date {
    text-align: right;
}

.pageFilter {
    width: 43%;
    display: flex;
}

.measuring-mail-logo {
    background: url(../img/mail.png) no-repeat center;
    background-size: 32px;
    width: 32px;
    height: 32px;
    margin: auto;
    cursor: pointer;
}

#basic-modal-content {
    display: none;
}

#simplemodal-overlay {
    background-color: #000;
}


/* Container */

#simplemodal-container {
    height: 600px;
    width: 600px;
    background-color: #333;
    border: 4px solid #444;
    padding: 12px;
}

#simplemodal-container .simplemodal-data {
    padding: 8px;
}

#simplemodal-container a.modalCloseImg {
    background: url(../img/x.png) no-repeat;
    width: 25px;
    height: 29px;
    display: inline;
    z-index: 3200;
    position: absolute;
    top: -15px;
    right: -16px;
    cursor: pointer;
}

.wysibb-body {
    height: 200px;
}

.email-btn {
    /*margin: auto;
    margin-top: 20px;*/
    margin: 10px;
}

.icon-email {
    width: 19%;
    padding-right: 21px;
    position: relative;
    background: url(../img/mail.png) no-repeat center right;
    background-size: 15px;
}

.icon-sms {
    width: 19%;
    padding-right: 21px;
    position: relative;
    background: url(../img/icon-sms.png) no-repeat center right;
    background-size: 15px;
}

.my-icon-width {
    width: 45px;
}

.object-preview {
    width: 100%;
    height: 400px;
}

.gallery-section [data-accordion]>[data-control]:after {
    background: unset;
}

.SendEmail {
    margin: 0 0 0 15px;
}

.modelButtonArea {
    float: left;
    margin: 10px;
}

.mesDetails {
    min-height: 610px !important;
}

.hidden {
    display: none;
}

.hidden-block {
    display: none !important;
}

.link_Sec_nav {
    display: flex;
    align-items: center;
}

.link_Sec_nav div a {
    font-size: 18px;
    color: #fff;
    font-weight: 300;
    padding: 0rem 1.5rem;
    text-decoration: unset;
}

.link_Sec_nav div {
    padding: 1rem 0rem;
}

.link_Sec_nav div.active {
    background: #E5262A;
}


.link_Sec_nav div.top_nav_link {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

.top_nav_link a {
    color: #FFFFFF !important;
}

.table_heading {
    width: 100%;
    display: flex;
    text-align: center;
    position: relative;
    /* padding: 0 1.5rem; */
    justify-content: space-between;
    margin: 20px 0px;
}

.table_heading ul {
    height: auto;
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    transition: all 0.3s linear;
    background-color: #FFFFFF;
    width: 100%;
}

.table_heading li {
    font-size: 14px;
    height: 20px;
    line-height: 20px;
    /*margin: 0 2rem;*/
    font-weight: 600;
    text-align: right;
    padding: 0 1.5rem;
}

.js__accordion.accordion {
    position: relative;
    margin: 2em 0em;
    box-shadow: 0px 3px 6px #00000029;
    border: 1px solid #dfdfdf;
    border-radius: 32px;
    font-size: 14px;
    color: #000;
    font-weight: 600;
}

.js__accordion.accordion.open {
    background: #E5262A;
    color: #fff;
}

.js__accordion.accordion.measuring-door {
    border-radius: unset;
    margin: 0;
}

.js__accordion.accordion.measuring-door.open {
    background: #FFFFFF;
    color: #000000;
}

.js__accordion.accordion .agenda__list-wrap::before {
    content: "";
    background: url("../img/arrow_close.svg") no-repeat center;
    width: 35px;
    height: 35px;
    background-size: 35px;
    position: absolute;
    left: 16px;
    top: 16px;
}

.js__accordion.accordion.open .agenda__list-wrap::before {
    background: url("../img/arrow_open.svg") no-repeat center;
}

.user_icon::before {
    content: "";
    background: url(../img/user.svg) no-repeat center;
    width: 15px;
    height: 15px;
    background-size: 15px;
    margin-left: 10px;
}

.phone_icon::before {
    content: "";
    background: url(../img/phone_red.svg) no-repeat center;
    width: 15px;
    height: 15px;
    background-size: 15px;
    margin-left: 10px;
}

.assignment_icon::before {
    content: "";
    background: url(../img/assignment.svg) no-repeat center;
    width: 15px;
    height: 15px;
    background-size: 15px;
    margin-left: 10px;
}

.comment_icon::before {
    content: "";
    background: url(../img/comment.svg) no-repeat center;
    width: 15px;
    height: 15px;
    background-size: 15px;
    margin-left: 10px;
}

.notification_icon::before {
    content: " ";
    background: url(../img/notifications_black.svg) no-repeat center;
    width: 15px;
    height: 15px;
    background-size: 15px;
    margin-left: 10px;
}

.notification_icon_yellow::before {
    content: " ";
    background: url(../img/notifications_yellow.svg) no-repeat center !important;
    width: 15px;
    height: 15px;
    background-size: 15px;
    margin-left: 10px;
}

.email_icon::before {
    content: " ";
    background: url(../img/email.svg) no-repeat center;
    width: 15px;
    height: 15px;
    background-size: 15px;
    margin-left: 10px;
}

.location_icon::before {
    content: " ";
    background: url(../img/location.svg) no-repeat center;
    width: 15px;
    height: 15px;
    background-size: 15px;
    margin-left: 10px;
}

.measur_icon::before {
    content: " ";
    background: url(../img/measur.svg) no-repeat center;
    width: 15px;
    height: 15px;
    background-size: 15px;
    margin-left: 10px;
}

.store_icon::before {
    content: " ";
    background: url(../img/store.svg) no-repeat center;
    width: 15px;
    height: 15px;
    background-size: 15px;
    margin-left: 10px;
}

.notes_icon::before {
    content: " ";
    background: url(../img/notes.svg) no-repeat center;
    width: 15px;
    height: 15px;
    background-size: 15px;
    margin-left: 10px;
}

.notification_sec .phone_icon::before {
    position: absolute;
    top: 25px;
}

.notification_sec .notification_icon::before {
    position: absolute;
    top: 25px;
}

.item-notification-sec .notification_sec .phone_icon::before {
    position: absolute;
    top: 17px;
}

.item-notification-sec .notification_sec .notification_icon::before {
    position: absolute;
    top: 17px;
}

.js__accordion.open .agenda__list .notification_sec .phone_icon::before {
    background: url(../img/phone_white.svg) no-repeat center;
}

.js__accordion.open .agenda__list .notification_sec .notification_icon::before {
    background: url(../img/notifications_white.svg) no-repeat center;
}

.notification_sec a {
    display: inline-block;
    width: 35px;
    text-align: center;
}

.align-center {
    text-align: center;
}

.box_main_sec {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border: 1px solid #DEDEDE;
    border-radius: 20px;
    opacity: 1;
    padding: 1rem 0;
}

.black_line_sec {
    display: flex;
    align-items: center;
    background: #000000 0% 0% no-repeat padding-box;
    border: 1px solid #000000;
}

.black_line_sec p {
    font-size: 16px;
    color: #FFFFFF;
    margin: 0.2rem 0.5rem;
}

.background-black {
    background: #000000 0% 0% no-repeat padding-box !important;
}

.width_700p {
    max-width: 700px;
}

.height_80vh {
    min-height: 80vh;
    height: auto;
}

.height_100 {
    height: 100%;
}

.width_100 {
    width: 100%;
}

.width_15 {
    width: 15%;
}

.width_30 {
    width: 30%;
}

.display-flex {
    display: flex;
}

.no_margin {
    margin: 0 !important;
}

.content_60 {
    white-space: unset;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 60px;
}

.linked_pages {
    text-align: center;
    margin: 1rem 0;
}

.linked_pages a {
    font-size: 18px;
    color: #000000;
    margin: 1rem 1.5rem;
    font-weight: 700;
    text-decoration: unset;
}

.linked_pages a {
    font-size: 18px;
    color: #000000;
    margin: 1rem 1.5rem;
    font-weight: 700;
    text-decoration: unset;
}

.linked_pages a:hover {
    font-size: 18px;
    color: #E5262A;
}

.linked_pages a.active {
    font-size: 18px;
    color: #E5262A;
}

.mes_task_measuring [data-accordion]>[data-control]:after {
    background: url(../img/arrow_close.svg) center center no-repeat;
    background-size: unset;
    right: unset;
    left: 15px;
    top: 18px;
    height: 31px;
    width: 31px;
}

.mes_task_measuring [data-accordion].open>[data-control]:after {
    background: url(../img/arrow_open.svg) center center no-repeat;
}

[data-accordion].measurement_progress>[data-control]::before {
    content: "";
    position: absolute;
    background: url(../img/icon_circle.svg) center center no-repeat;
    background-size: unset;
    right: 15px;
    top: 18px;
    height: 31px;
    width: 31px;
    font-size: 25px;
    font-weight: 200;
    color: #444;
}

[data-accordion].measurement_complete>[data-control]::before {
    background: url(../img/icon_circle_check.svg) center center no-repeat;
}

[data-accordion].measurement_not_for_production>[data-control]::before {
    background: url(../img/icon_circle_no_prod.svg) center center no-repeat;
}

.display-center {
    margin-left: auto;
    margin-right: auto;
    width: auto;
}

.display-webkit-inline {
    display: -webkit-inline-box;
}

.display-inline-flex {
    display: inline-flex;
}

.radio-toolbar {
    margin: 10px;
    margin: 10px;
    display: -webkit-box;
    text-align: center;
    height: 60vh;
    overflow: scroll;
}

.checkbox-toolbar {
    display: -webkit-box;
    text-align: center;
    height: 60vh;
    overflow: scroll;
}

.radio-toolbar input[type="radio"],
.radio-toolbar input[type="checkbox"] {
    opacity: 0;
    position: fixed;
    width: 0;
}

.radio-toolbar label {
    display: inline-block;
    padding: 0px 10px;
    font-size: 16px;
    width: 120px;
    height: 120px;
    /* UI Properties */
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border: 1px solid #DEDEDE;
    border-radius: 15px;
    opacity: 1;
    text-align: center;
    letter-spacing: 0px;
    color: #000000;
    margin: 25px;
}

.radio-toolbar label:hover {
    cursor: pointer;
}

.radio-toolbar input[type="radio"]:checked+label,
.radio-toolbar input[type="checkbox"]:checked+label {
    background: #E5262A 0% 0% no-repeat padding-box;
    color: #FFFFFF;
}

.parent_div {
    display: flex;
    align-items: center;
    height: 100%;
}

.parent_div p {
    margin: 0;
}

.update_bulk_door_list td {
    border-bottom: 1px solid;
    padding: 10px 0px;
}

.main_title_text {
    font-size: 18px;
    color: #E5262A;
}

.color-red {
    color: #E5262A;
}

.mes_comment_category {
    border-bottom: 1px solid #808080;
}

.mes_comment_category p {
    margin: 0px;
}

.model_height_60 {
    height: 60vh;
}

.full_view {
    width: 100%;
    height: 100%;
}

.select2-selection {
    border-radius: 20px !important;
    border: solid #9F9F9F 1px !important;
}

textarea {
    border: solid #9F9F9F 1px !important;
}

.select2-selection__choice {
    font-size: 15px !important;
}


/* enable absolute positioning */

.inner-addon {
    position: relative;
}


/* style glyph */

.inner-addon .glyphicon {
    position: absolute;
    pointer-events: none;
}


/* align glyph */

.left-addon .glyphicon {
    left: 0px;
}

.right-addon .glyphicon {
    right: 0px;
}


/* add padding  */

.left-addon input {
    padding-left: 30px;
}

.right-addon input {
    padding-right: 30px;
}

.glyphicon {
    z-index: 9999;
    display: flex;
    height: 38px;
    width: 38px;
    top: 5px;
}

.glyphicon-arrow-down:after {
    content: "";
    /* background: url(../img/arrow_close.svg) center center no-repeat;*/
    background: url(../img/down_modal.png) center center no-repeat;
    background-size: unset;
    height: 31px;
    width: 31px;
}

.comment_info {
    padding-top: 20px;
}

.comment_info_form {
    height: 60vh;
    overflow: scroll;
    position: relative;
}

.update_bulk_door_table {
    width: 100%;
    border-collapse: collapse;
}

.update_bulk_door_table th {
    text-align: right;
    background-color: #E5262A;
    color: white;
}

/* Bulk note - the existing-notes column. Kept narrow with an
   ellipsis so a door carrying many notes cannot stretch the table
   past the screen on a phone. */
.bulk_note_existing {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #666;
    font-size: 12px;
}

#bulk_note_door_list td {
    padding: 4px 6px;
    border-bottom: 1px solid #eee;
}

.mes_table {
    width: 100%;
    border-collapse: collapse;
    -moz-box-shadow: 0 0 2px 2px #888;
    -webkit-box-shadow: 0 0 2px 2px#888;
    box-shadow: 0 0 2px 2px #888;
    border-radius: 20px;
}

.meas_table th {
    text-align: right;
}

.mes_table thead th {
    padding: 15px 5px;
    background-color: #E5262A;
    color: #ffffff;
    text-align: right;
}

.mes_table tbody td {
    padding: 10px 10px;
    color: #000000;
    border-bottom: 1px solid;
}

.mes_table tbody tr:last-child td {
    border-bottom: none;
}

.mes_table thead th:first-child {
    border-radius: 0 20px 0 0;
}

.mes_table thead th:last-child {
    border-radius: 20px 0 0 0;
}

.sub_menu p {
    width: 100%;
}

.btn_text_white {
    color: #ffffff !important;
    text-align: center !important;
    font-weight: unset !important;
}

.equal_screen_height {
    height: 60vh;
    overflow: scroll;
}

.no_scroll {
    overflow: hidden;
}

.no_border {
    border: unset;
}

.check_text_div .check_text {
    width: calc(100% - 40px);
}

.check_text_div .styled-checkbox:checked+label:after {
    top: 11px;
}

.opacity_7 {
    opacity: 0.7;
}

/* Door lock (occupied / free). Visual only - the real guard is in JS. */
.toggle_door_lock {
    display: inline-block;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    opacity: 0.45;
    vertical-align: middle;
}

.toggle_door_lock.is_locked {
    opacity: 1;
}

.measuring-door.door_is_locked {
    background: #f4f4f4;
    border-right: 4px solid #9e9e9e;
}

/* Inputs of a locked door look inert. JS blocks the actual editing. */
.measuring-door.door_is_locked :input:not(.toggle_door_lock) {
    pointer-events: none;
    background: #ececec;
    color: #6b6b6b;
}

.measuring-door.door_is_locked .toggle_door_lock {
    pointer-events: auto;
}

/* Note fill-in fields: fixed text stays text, only placeholders are editable. */
.note_with_fields {
    display: inline;
    line-height: 2.1;
}

.note_with_fields .note_fixed_text {
    white-space: pre-wrap;
}

.note_with_fields .note_fill_field {
    display: inline-block;
    width: auto;
    min-width: 60px;
    max-width: 140px;
    margin: 0 4px;
    padding: 2px 6px;
    border: 0;
    border-bottom: 2px solid #c62828;
    border-radius: 0;
    background: transparent;
    text-align: center;
    font: inherit;
    color: inherit;
}

.note_with_fields .note_fill_field:focus {
    outline: none;
    background: #fff6f6;
}

/* An empty field must be visible, so an unfilled note is obvious. */
.note_with_fields .note_fill_field:placeholder-shown,
.note_with_fields .note_fill_field:not(:focus):invalid {
    background: #fff6f6;
}

/* The composite hidden input must never take layout space. */
.check_text_div .check_text[data-note_composite] {
    display: none;
}


@media screen and (max-width: 768px) {
    .agenda__list .form__element {
        width: 115px !important;
        margin-right: 10px !important;
    }
    .agenda__list input.form__input {
        width: 100px;
    }
    .door_data_form .notification_sec {
        position: absolute;
        left: 90px;
    }

    .info_width {
        width: 120px;
    }
}

