@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazir/Farsi-Digits/Vazir-Light-FD.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Vazir_Bold';
    src: url('../fonts/vazir/Farsi-Digits/Vazir-Bold-FD.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}


html {
    position: fixed;
    width: 100%;
}

html,
body {
    background-color: #f2f2f2;
    color: #313131;
    font-family: sans-serif;
    margin: 0;
    overflow: hidden;
    font-size: 16px;
    position: relative;
}


a {
    color: inherit;
    text-decoration: none !important;
}

.txt-red {
    color: #f00;
}

.ff-vazir {
    font-family: 'Vazir';
}

.alert-message {
    font-size: 16px;
}

textarea:focus,
input:focus {
    outline: none;
}

.test_msg_list {
    overflow: auto;
    height: 60vh;
}


/* Scrollbar */
ul::-webkit-scrollbar,
textarea::-webkit-scrollbar,
div::-webkit-scrollbar {
    width: 3px;
}

ul::-webkit-scrollbar-track,
textarea::-webkit-scrollbar-track,
div::-webkit-scrollbar-track {
    display: none;
}

ul::-webkit-scrollbar-thumb,
textarea::-webkit-scrollbar-thumb,
div::-webkit-scrollbar-thumb {
    background: #888888;
    border-radius: 10px;
}

ul::-webkit-scrollbar-thumb:hover,
textarea::-webkit-scrollbar-thumb:hover,
div::-webkit-scrollbar-thumb:hover {
    background: #4a4a4a;
}

/* Scrollbar */





.app-header {
    background-color: #fdfdfd;
    color: #444;
    border-bottom: solid 1px #d4d4d4;
    position: relative;
    z-index: 1000;
}

.menu-bar {
    position: absolute;
    top: 16px;
    right: 20px;
}

.menu-bar .fa-bars {
    font-size: 24px;
    cursor: pointer;
}

.menu-bar .fa-bars:focus {
    outline: 0;
}

.sidebar_body {
    display: flex !important;
    flex-direction: column;
    outline: 0;
    max-width: 100% !important;
    position: fixed !important;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh !important;
    background-color: #f8f9fa !important;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%) !important;
    z-index: 999;
    margin-right: -320px;
}


.menu_account_info {
    padding: 7px 0 5px 0;
    border-bottom: dashed 1px #dadada;
    font-size: 12px;
}

.menu_list_cat {
    border-bottom: solid 2px;
    font-weight: bold;
    font-size: 24px;
    padding: 5px 15px;
    margin: 10px 15px;
}

.devices_list {
    list-style: none;
    padding: 0;
    height: 66vh;
    overflow-y: auto;
    margin-bottom: 8%;
    border-bottom: dashed 1px #dadada;
}

.devices_list li {
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border-bottom: solid 1px #ddd;
    cursor: pointer;
}

.devices_list li:hover {
    background-color: #ebecec;
    -webkit-transition: background-color 200ms linear;
    -ms-transition: background-color 200ms linear;
    transition: background-color 200ms linear;
}

.devices_list .dev_detail {
    font-size: 14px;
    margin-top: 10px;
    font-weight: normal;
}

.selected_dev_list {
    background-color: #ebecec;
}

/*slide menu*/
.bm-burger-button {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 24px !important;
    height: 17px !important;
}

.bm-item-list>* {
    display: block !important;
}

.bm-item-list {
    margin: 5% !important;
}

/*slide menu*/

#app-map {
    width: 100vw;
    height: 86vh;
}


#control-center {
    width: 100%;
    height: 80%;
    background-color: #f2f2f2;
    border-top: solid 1px #d2d2d2;
    position: fixed;
    bottom: -74%;
    z-index: 500;
    overflow-x: hidden;
    overflow-y: hidden;
}

.fa-grip-horizontal {
    display: block;
    font-size: 20px;
    padding: 10px;
    cursor: pointer;
}

.btn_action {
    background-color: #fff;
    border-radius: 20px;
    padding: 20px 10px;
    width: 25%;
    font-size: 13px;
    font-weight: bold;
    box-shadow: #dadada 0px 2px 3px;
    display: inline-block;
    cursor: pointer;
}

.btn_sos_activated {
    width: 25%;
    padding: 10px;
    background-color: #f00;
    color: #fff;
    display: block;
    margin: 0 auto;
}

.btn_open {
    background: url('../img/left-arrow.png') #fff no-repeat left;
    background-size: 32px;
    padding: 10px;
    background-position: 34%;
    cursor: pointer;
    box-shadow: #dadada 0px 2px 3px;
}

.btn_open:hover {
    background-color: #ebecec;
    -webkit-transition: background-color 200ms linear;
    -ms-transition: background-color 200ms linear;
    transition: background-color 200ms linear;
}

select {
    padding: 5px;
    border: 1px solid #ced4da;
    border-radius: 10px;
}

.lang-txt-align {
    text-align: left;
}

.cc-w-item {
    width: 15% !important;
}

.cc_page {
    position: absolute;
    width: 100%;
    left: '-100%';
    top: 35;
    padding-top: 10px;
}

.cc_home {
    left: 0;
}

.cc_page .fa-arrow-circle-right {
    font-size: 30px;
    padding: 2px;
    position: absolute;
    border-radius: 50%;
    right: 15px;
    top: 17px;
    cursor: pointer;
    color: #f2f2f2;
    background: #000;
}

.btn_help {
    font-size: 24px;
    padding-left: 3%;
    position: absolute;
    left: 0;
    cursor: pointer;
    color: #1170d2;
}

.btn_help div {
    font-size: 12px;
    font-weight: bold;
    margin-top: -5px;
}

#items_list {
    height: 235px;
    overflow: scroll;
}

#items_list li {
    cursor: context-menu;
}

.fa-sort {
    cursor: pointer;
}

.add_box .fa-plus {
    font-size: 22px;
}

.item_bg_green {
    background-color: #beffbe;
}

.item_bg_red {
    background-color: rgb(255, 102, 102);
}

.list_item {
    width: 90%;
    font-weight: bold;
}

.w-4 {
    width: 4%;
}

.fa-trash {
    cursor: pointer;
    color: red;
}

.fa-undo {
    cursor: pointer;
}

.pointer {
    cursor: pointer !important;
}

.crop_bg {
    position: absolute;
    left: 0;
    top: 10px;
    width: 100%;
    height: 100%;
    background-color: #f2f2f2;
    z-index: 10000;
}

.circle {
    border-radius: 50% !important;
}


.maptools_tr,
.maptools_br {
    position: absolute;
    right: 8px;
    z-index: 500;
}

.maptools_tr {
    top: 1%;
}

.maptools_br {
    bottom: 3%;
}

.btn_maptool {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px 12px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-left: 5px;
}

.btn_circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maptools_br .btn_maptool:first-child i {
    position: relative;
    top: 3px;
    font-size: 16px;
}

.maptools_br .btn_maptool:nth-child(2) i {
    position: relative;
    top: 3px;
    font-size: 18px;
}

.btn_maptool.history .fa-eye-slash,
.btn_maptool.history .fa-eye {
    position: relative;
    top: 3px;
}

.btn_history_setting .fa-cog {
    top: 3px;
    position: relative;
}

.history_setting select:focus {
    outline: 0;
}

.error_box {
    color: rgb(228, 0, 0);
    padding: 5px;
}

.swal2-actions {
    z-index: 0 !important;
}

.all_dev_second_img,
.all_dev_third_img {
    margin-right: -15px;
}

.all_dev_img_border {
    border: solid 4px #f8f9fa;
}

.fs16 {
    font-size: 16px;
}

.notifications {
    position: absolute;
    top: 18px;
    left: 15px;
    cursor: pointer;
}

.counter-wrapper {
    direction: ltr;
}

.notif_box {
    width: 50%;
    height: 70vh;
    background-color: #fff;
    border: solid 1px #cecece;
    border-radius: 0 5px 5px 0;
    box-shadow: #9e9e9e 0px 0px 10px;
    position: absolute;
    top: 50px;
    left: 0px;
    overflow: auto;
}

.notif_box ul {
    list-style: none;
    padding: 0px 12px 10px 12px;
}

.notif_box li {
    padding: 15px 0 10px 0;
    border-bottom: solid 1px #eee;
}

.outside {
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 900;
    width: 100vw;
    height: 100vh;
    opacity: 0.6;
    background-color: #333333;
}

.top_zindex {
    z-index: 999 !important;
}

.del_all_notif {
    position: fixed;
    width: 50%;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: solid 1px #b3b3b3;
    color: #e00000;
    font-size: 14px;
}

.del_all_notif .fa-trash {
    color: #ff5050;
}

.del_all_notif:hover {
    background-color: #f9f9f9;
    -webkit-transition: background-color 200ms linear;
    -ms-transition: background-color 200ms linear;
    transition: background-color 200ms linear;
}

.side_red_line {
    border-right: solid 5px #f00;
}

.history_setting .tabs .card-header {
    padding: 0;
}

.history_setting .tabs .card-header-pills {
    padding: 0;
    margin: 0;
    font-size: 16px;
}


.linear_icon {
    background: url(../img/linear_icon.png) no-repeat;
}

.route_icon {
    background: url(../img/route_icon.png) no-repeat;
}

.linear_icon,
.route_icon {
    background-size: 20px;
    width: 20px;
    height: 25px;
    margin-top: 2px;
}

.tab_history_mode div,
.tab_history_mode label {
    cursor: pointer;
}

.draw_help {
    position: absolute;
    top: 70px;
    z-index: 500;
}

.draw_help div {
    background: #7b7b7be8;
    color: #fff;
    font-size: small;
}

.fa-question-circle {
    color: #1170d2;
}

.fa-sign-out-alt {
    font-size: 16px;
}

.fa-user-cog {
    padding-top: 2px;
}

.area_list {
    height: 320px !important;
}

.temp_dev_list {
    height: 60vh !important;
}

.emergency_icon {
    background: url('../img/emergency.png') no-repeat center;
    height: 100px;
    background-size: 100px;
    margin-bottom: 15px;
}

.support_phone {
    background-color: #fff;
    border-radius: 20px;
    padding: 10px;
    margin: 0 30%;
}

.help_support_sidebar {
    background-color: #ececec;
    border-radius: 20px;
    padding: 5px;
    margin: 0 10%;
    cursor: pointer;
}

.offline_icon {
    position: relative;
    top: -2px;
}

.app-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 200px;
}


fieldset {
    border: 1px groove #ddd !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow: 0px 0px 0px 0px #000;
    box-shadow: 0px 0px 0px 0px #000;
}

legend {
    width: inherit;
    padding: 0 10px;
    border-bottom: none;
    font-size: 20px;
    font-weight: bold;
}

.display_credit:hover {
    color: rgb(10, 70, 233);
}

.app_version {
    margin-top: 60vh;
}


/****** Vue Notification ******/
/* .vue-notification
{
    font-size: 14px !important;
    padding: 10px !important;
    text-align: center !important;
    color: #000 !important;
    background: #00000029 !important;
    margin: 25% 0 0 0 !important;
    border-radius: 50px !important;
    border-left: none !important;
}
.notification-content{cursor: pointer !important;} */
/****** Vue Notification ******/



/****** Vue Toasted ******/
.toasted-container .toasted .fa {
    margin: 5px !important;
}

.toasted-container .toasted .action.icon {
    margin: 5px !important;
}

/****** Vue Toasted ******/



/****** Leaflet ******/
.leaflet-bottom {
    z-index: 500 !important;
}

.leaflet-container .leaflet-control-attribution {
    font-size: 6px !important;
}

.leaflet-control-zoom {
    display: none !important;
}

.leaflet-container .fa-dot-circle {
    color: black;
}

.leaflet-div-icon {
    border-radius: 50%;
}

.leaflet-routing-container {
    display: none;
}

.leaflet-draw-toolbar,
.leaflet-draw-actions {
    display: none !important;
}

.leaflet-control-container {
    display: none !important;
}

/****** Leaflet ******/



/************** Vue Transition **************/

/* Notification box (bell) */
.notifbox-enter-active,
.notifbox-leave-active {
    transition: opacity .2s;
    z-index: 999 !important;
}

.notifbox-enter,
.notifbox-leave-to {
    opacity: 0;
}

/* Control Center pages */
.cc_home-enter-active,
.cc_home-leave-active,
.cc_page-enter-active,
.cc_page-leave-active {
    transition: left .3s;
}

.cc_home-enter,
.cc_home-leave-to {
    left: 100%;
}

.cc_home-enter-to,
.cc_home-leave {
    left: 0%;
}

.cc_page-enter,
.cc_page-leave-to {
    left: -100%;
}

.cc_page-enter-to,
.cc_page-leave {
    left: 0%;
}

/* Outside (dark bg) */
.outside-enter-active,
.outside-leave-active {
    transition: opacity .2s;
}

.outside-enter,
.outside-leave-to {
    opacity: 0;
}

/* Control Center has custom functions; cc_panel has tiny css */
.cc_panel-enter-to {
    overflow-y: auto !important;
}

/************** Vue Transition **************/











/****************   Mobile Phones   ***********************/

@media screen and (max-width: 900px) {

    #app-map {
        width: 100vw;
        height: 85.5vh;
    }

    .cc-w-item {
        width: 40% !important;
    }

    .number {
        width: 90%;
    }

    .btn_action {
        width: 48%;
    }

    .btn_sos_activated {
        width: 70%;
    }

    .maptools_tr,
    .maptools_br {
        right: 5px !important;
    }

    .notif_box,
    .del_all_notif {
        width: 80% !important;
    }

    .btn_open {
        background-position: 6% !important;
    }

    .support_phone {
        margin: 0 7%;
    }
}


@media screen and (max-width: 600px) {}


/*****  iphone 5/SE  *****/
@media screen and (max-width: 320px) {
    .area_list {
        height: 260px !important;
    }

    .temp_dev_list {
        height: 55vh !important;
    }
}