﻿* {
    outline: 0 !important;
}

.h_100 {
    height: 100%;
}


html, body {
    height: 100%;
}

@font-face {
    font-family: "FiraGo";
    src: url("../fonts/FiraGO-Regular.ttf");
}

@font-face {
    font-family: "FiraGo";
    src: url("../fonts/FiraGO-Bold.ttf");
    font-weight: bold;
}

body, .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: "FiraGo" !important;
}

.jqx-widget,
.jqx-widget-bootstrap, .jqx-widget-header-bootstrap, .jqx-fill-state-normal-bootstrap,
.jqx-widget-content-bootstrap, .jqx-fill-state-hover-bootstrap, .jqx-fill-state-pressed-bootstrap,
.jqx-knob-label,
.jqx-chart-axis-text,
.jqx-chart-label-text,
.jqx-chart-tooltip-text,
.jqx-chart-legend-text,
.jqx-chart-axis-description,
.jqx-chart-title-text,
.jqx-chart-title-description {
    font-family: "FiraGo" !important;
}


.menu-block-height {
    height: calc(100% - 5px);
}

.menu-block-body-height {
    height: calc(100% - 41px);
}

.baselist-row-height {
    height: calc(100% - 80px);
}

.baselist-height {
    height: calc(100% - 7px);
}

.jqx-grid-cell-right-align {
    margin-right: 7px;
    overflow: visible;
}

.jqx-splitter {
    border: 0 !important;
}

.content-wrapper {
    padding-left: 5px;
    padding-right: 5px;
    min-height: 0;
    height: calc(100% - 60px);
}

.main-sidebar, #settings-sidebar {
    height: 100%;
    min-height: 0;
    padding-top: 65px !important;
}

.service-out {
    -webkit-box-shadow: 0px 0px 3px 0px rgba(184, 184, 184, 1);
    -moz-box-shadow: 0px 0px 3px 0px rgba(184, 184, 184, 1);
    box-shadow: 0px 0px 3px 0px rgba(184, 184, 184, 1);
    margin-bottom: 0;
    padding: 10px;
}

.main-header .navbar-toggle {
    float: left;
}

.dropdown-menu {
    border-radius: 0;
    border-color: #c7c7c7;
    z-index: 9999;
}

/*modals*/
.modal-header {
    background-color: #2c3e50;
    color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
}

.modal-body {
    padding-top: 10px;
    padding-bottom: 10px;
}

.modal-toolbar {
    padding: 5px;
    border-bottom: 1px solid #d7d7d7;
    min-height: 45px;
}

.close {
    margin-top: 1px;
    color: #fff;
    opacity: .9;
}

.close-icon {
    color: #fff;
}

.modal-title {
    font-size: 17px;
    letter-spacing: 1px;
}

.btn-save {
    background-color: #27b787;
    color: #fff;
}

.btn-save:hover {
    background-color: #32cf9b;
}

.btn-save:focus {
    background-color: #27b787;
}

.btn-save:active {
    background-color: #27b787;
}

.btn-save:hover:focus {
    background-color: #27b787;
}

.right-dropdown-menu {
    float: right;
}

.dropdown-menu .divider {
    margin: 4px 0;
}

#single-button {
    float: right;
}

#single-button i {
    color: #3090ed;
}

.input-block {
    margin-bottom: 10px;
}

.input-block-label {
    font-weight: normal;
    font-size: 14px;
    margin-top: 6px;
    padding-right: 0;
    text-align: right;
}

.input-block-last {
    margin-bottom: 0;
}

.control-label {
    padding-top: 0 !important;
}

textarea {
    resize: vertical;
}

/*---*/


.insurance-label {
    padding: 2px;
    font-size: 13px;
    border: 1px solid #d9d9d9;
    background-color: #f5f5f5;
    border-radius: 3px;
    cursor: pointer;
    float: left;
    margin-right: 5px;
    padding: 7px;
}

.insurance-label-icon {
    color: #b9b9b9;
    font-size: 12px;
}

.insurance-label:hover {
    border-color: #b9b9b9;
}

.insurance-label-icon:hover {
    color: #9a9a9a;
}

.ng-aside {
    margin-top: 50px;
}

.sidebar-menu {
    height: 101%;
    overflow: auto !important;
}

.sidebar-menu > li:not(.header) > a {
    padding: 9px 5px 9px 12px;
}

.header {
    font-size: 14px !important;
    font-weight: bold;
}

/* DATEPICKERS*/
.choices a {
    cursor: pointer;
}

.choices {
    left: -150% !important;
}


.toolbar-divider {
    height: 34px;
    width: 1px;
    margin: 0 1px;
    background-color: #ccc;
    display: inline-block;
    vertical-align: middle;
}

.tree-node-content {
    margin: 1px;
    cursor: initial;
}

.tree-node-content i {
    cursor: pointer;
}

.tree-node {
    border: 1px solid #dae2ea;
    background: #f8faff;
    color: #7c9eb2;
}

.angular-ui-tree-handle {
    background: #f8faff;
    border: 1px solid #dae2ea;
    color: #7c9eb2;
    padding: 4px 4px;
}

.basetree_toolbox {
    width: 255px;
    display: inline-block;
}

.base_tree {
    border-top: 1px solid #dcdcdc;
    overflow-y: auto;
    -webkit-margin-start: -8px;
}

.base_tree li {
    font-size: 14px;
    color: #585858;
}

.base_tree .jqx-widget-content, .base_tree #panelWrapperpaneljqxTree1 {
    background-color: #e6e6e6 !important;
}


/* custom alert modals */
.bootbox {
    z-index: 9999;
}

.btn-ok, .btn-yes, .btn-no, .btn-cancel {
    width: 100px;
    border: 1px solid #979797;
}

.btn-ok:hover, .btn-yes:hover, .btn-no:hover, .btn-cancel:hover {
    border: 1px solid #000;
    background-color: #cacaca;
}

/* --- */


.custom-info-block {
    padding-top: 0;
    padding-bottom: 10px;
}

.custom-info-block-base {
    background-color: #fcf8e3 !important;
    color: #8a6d3b !important;
    border: none !important;
}

.table > tbody > tr:hover {
    cursor: pointer;
}

.remove-icon {
    opacity: .5;
}

.remove-icon:hover {
    opacity: 1;
}

.padding-right_0 {
    padding-right: 0;
}

.padding-left_0 {
    padding-left: 0;
}

.payment_header {
    background-color: #fcf8e3;
    color: #8a6d3b;
    padding: 10px;
    font-size: 15px;
}

.table tbody td {
    vertical-align: middle !important;
}

.schedules-times-table > tbody > tr > th div:first-child {
    margin-top: -10px;
}

.schedules-times-table > tbody > tr > th div {
    font-size: 14px;
    height: 42px;
}

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-button {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-thumb {
    background: #3c8dbc;
}

::-webkit-scrollbar-corner {
    background: transparent;
}


/* form_group */
.form-group {
    margin-bottom: 8px !important;
}

.jqxStatusBar {
    background: #fff !important;
    border: none !important;
}

.jqxStatusBar > div > div {
    /*background: #fff !important;*/
    border: none !important;
    line-height: 34px;
    vertical-align: middle;
}

.doc_height {
    min-height: 650px;
}

/* Vertical Tabset  */

/* custom inclusion of right, left and below tabs */

.tabs-left .tab-content {
    float: left;
    width: 75%;
}

.tabs-below > .nav-tabs,
.tabs-right > .nav-tabs,
.tabs-left > .nav-tabs {
    border-bottom: 0;
}

.tab-content > .tab-pane,
.pill-content > .pill-pane {
    display: none;
}

.tab-content > .active,
.pill-content > .active {
    display: block;
    position: relative;
}

.tabs-below > .nav-tabs {
    border-top: 1px solid #ddd;
}

.tabs-below > .nav-tabs > li {
    margin-top: -1px;
    margin-bottom: 0;
}

.tabs-below > .nav-tabs > li > a {
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
}

.tabs-below > .nav-tabs > li > a:hover,
.tabs-below > .nav-tabs > li > a:focus {
    border-top-color: #ddd;
    border-bottom-color: transparent;
}

.tabs-below > .nav-tabs > .active > a,
.tabs-below > .nav-tabs > .active > a:hover,
.tabs-below > .nav-tabs > .active > a:focus {
    border-color: transparent #ddd #ddd #ddd;
}

.tabs-left > .nav-tabs > li,
.tabs-right > .nav-tabs > li {
    float: none;
}

.tabs-left > .nav-tabs > li > a,
.tabs-right > .nav-tabs > li > a {
    min-width: 74px;
    margin-right: 0;
    margin-bottom: 3px;
}

.tabs-left > .nav-tabs {
    float: left;
    /*margin-right: 19px;*/
    border-right: 1px solid #ddd;
    width: 25%;
}

.tabs-left > .nav-tabs > li > a {
    margin-right: -1px;
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
}

.tabs-left > .nav-tabs > li > a:hover,
.tabs-left > .nav-tabs > li > a:focus {
    border-color: #eeeeee #dddddd #eeeeee #eeeeee;
}

.tabs-left > .nav-tabs .active > a,
.tabs-left > .nav-tabs .active > a:hover,
.tabs-left > .nav-tabs .active > a:focus {
    border-color: #ddd transparent #ddd #ddd;
    *border-right-color: #ffffff;
}

.tabs-right > .nav-tabs {
    float: right;
    margin-left: 19px;
    border-left: 1px solid #ddd;
}

.tabs-right > .nav-tabs > li > a {
    margin-left: -1px;
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
}

.tabs-right > .nav-tabs > li > a:hover,
.tabs-right > .nav-tabs > li > a:focus {
    border-color: #eeeeee #eeeeee #eeeeee #dddddd;
}

.tabs-right > .nav-tabs .active > a,
.tabs-right > .nav-tabs .active > a:hover,
.tabs-right > .nav-tabs .active > a:focus {
    border-color: #ddd #ddd #ddd transparent;
    *border-left-color: #ffffff;
}

.input-group-sm > .form-control, .input-group-sm > .input-group-addon, .input-group-sm > .input-group-btn > .btn {
    border-radius: 0;
}

/**
 * Checkbox style
 */

.fina_checkbox, .fina_radio {
    position: relative;
    float: left;
    width: 30px;
}

.checkbox_label, .radio_label {
    float: left;
}

.checkbox_label > label, .radio_label > label {
    font-weight: normal;
}

.fina_checkbox label, .fina_radio label {
    cursor: pointer;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0;
    left: 0;
    background: #eee;
    border: 1px solid #ddd;
}

.subcode_checkbox input[type="checkbox"] {
    display: none;
}

.subcode_checkbox label {
    cursor: pointer;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0;
    left: 0;
    background: #eee;
    border: 1px solid #ddd;
}

.subcode_checkbox label:after {
    opacity: 0;
    content: '';
    position: absolute;
    width: 10px;
    height: 6px;
    background: transparent;
    top: 5px;
    left: 5px;
    border: 3px solid #333;
    border-top: none;
    border-right: none;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.subcode_checkbox label:hover::after {
    opacity: 0;
}

.subcode_checkbox input[type="checkbox"]:checked + label:after {
    opacity: 1;
}


.fina_radio label {
    border-radius: 12px;
}

.fina_checkbox label:after, .fina_radio label:after {
    opacity: 0;
    content: '';
    position: absolute;
    width: 10px;
    height: 6px;
    background: transparent;
    top: 5px;
    left: 5px;
    border: 3px solid #333;
    border-top: none;
    border-right: none;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.fina_radio label:after {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    width: 4px;
    height: 4px;
    border: 4px solid #333 !important;
    border-radius: 4px;
}

.fina_checkbox label:hover::after, .fina_radio label:hover::after {
    opacity: 0;
}

.fina_checkbox input[type=checkbox]:checked + label:after, .fina_radio input[type=radio]:checked + label:after {
    opacity: 1;
}

.fina_checkbox > div, .fina_radio > div {
    float: right;
    margin-left: 10px;
    cursor: default;
}

.fina_checkbox input, .fina_radio input {
    margin: 4px !important;
}

.bottom-separator {
    border-bottom: 1px solid #ddd;
}

.report-parent-row__color {
    background-color: #D3D3D3;
}

.negative_color {
    background-color: #fc6f6f !important;
}

.positive_color {
    background-color: greenyellow !important;
}


.operation-menu-title {
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.1;
    font-weight: 500;
}

.base-search {
    /*width:300px;*/
}

.main-header .main-toggle:before {
    content: "\f00a";
}

.main-header .settings-toggle:before {
    content: "\f085";
}

.filter-dynamic-controls {
    float: left;
}

.filter-dynamic-controls .right-margin {
    margin-right: 8px;
}

.operation-date-margin-left {
    margin-left: -8px !important;
}

@media (max-width: 767px) {
    .operation-menu-title {
        font-size: 16px;
        text-align: center;
    }

    .main-menu {
        display: none;
        margin-left: 0 !important;
    }

    .main-header .sidebar-toggle {
        display: block !important;
    }

    .content-wrapper {
        height: calc(100% - 50px);
    }

    .main-sidebar, #settings-sidebar {
        height: calc(100% - 5px);
        padding-top: 50px !important;
    }

    .baselist-row-height {
        height: calc(100% - 113px);
        overflow-y: auto;
    }

    .text-sm-center {
        text-align: center;
    }

    .dashboard-sm-filter {
        float: none !important;
    }

    .dashboard-sm-filter .input-group {
        margin-bottom: 2px !important;
    }

    .dashboard-sm-filter button.btn-flat {
        width: 100%;
    }

    .dashboard-sm-filter div[name="timepicker"].datetimepicker-wrapper {
        display: none !important;
    }

    .dashboard-sm-filter .search {
        float: none !important;
        margin-bottom: 2px !important;
        margin-right: 0 !important;
    }

    .dashboard-sm-filter .export-button {
        display: none;
    }

    .dashboard-sm-filter .filter-dynamic-controls {
        float: none !important;
    }

    .dashboard-sm-filter .filter-dynamic-controls .right-margin {
        margin-right: 0 !important;
    }

    .operation-date-margin-left {
        margin-left: -15px !important;
    }

    #searchDiv {
        width: 115px;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    .text-sm-center {
        text-align: center;
    }

    .dashboard-sm-filter {
        float: none !important;
    }

    .dashboard-sm-filter .input-group {
        margin-bottom: 2px !important;
    }

    .dashboard-sm-filter button.btn-flat {
        width: 100%;
    }

    .dashboard-sm-filter div[name="timepicker"].datetimepicker-wrapper {
        display: none !important;
    }

    .dashboard-sm-filter .search {
        float: none !important;
        margin-bottom: 2px !important;
        margin-right: 0 !important;
    }


    .dashboard-sm-filter .filter-dynamic-controls {
        float: none !important;
    }

    .dashboard-sm-filter .filter-dynamic-controls .right-margin {
        margin-right: 0 !important;
    }
}


@media (min-width: 992px) {
    .operation-menu-title {
        font-size: 17px;
    }

    .datepickers {
        width: 340px;
    }

    .datetimepicker-wrapper > input {
        width: 110px !important;
    }

    .settings-size {
        font-size: 24px;
    }
}

@media (min-width: 1200px) {
    .operation-menu-title {
        font-size: 18px;
    }

    .datepickers {
        width: 406px;
    }

    .datetimepicker-wrapper > input {
        width: 110px !important;
    }

    .settings-size {
        font-size: 24px;
    }
}

@media (min-width: 767px) and (max-width: 991px) {
    .settings-size, .sidebar-toggle {
        font-size: 24px;
    }
}


/* Notifications */
.jqx-notification-container {
    z-index: 2000000;
}


.picture_upload_block {
    width: 150px;
    height: 150px;
    cursor: pointer;
    position: relative;
}

.picture_upload_block img {
    width: 140px;
    height: 140px;
}

.picture_upload_block_in_group {
    width: 90px;
    height: 90px;
    cursor: pointer;
    position: relative;
}

.picture_upload_block_in_group img {
    width: 83px;
    height: 83px;
}

.picture_upload_remove_image {
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 5px;
    border-radius: 1px;
    width: 20px;
    height: 20px;
    background-color: black;
    text-align: center;
}

.picture_upload_remove_image:hover {
    display: block;
}

.picture_upload_remove_image > i {
    color: #fff;
}


.head_menu_img {
    height: auto !important;
}

.small-box h3 {
    font-size: 30px;
}

.control-sidebar-menu {
    padding: 0px 15px !important;
}

.control-sidebar-heading {
    color: #4b646f !important;
    font-weight: bold;
    background: #1a2226;
    padding: 10px 15px !important;
    margin-bottom: 0 !important;
}

input[type="password"].jqx-input-bootstrap, input[type="password"].jqx-widget-content-bootstrap, input[type="textarea"].jqx-widget-content-bootstrap, textarea.jqx-input-bootstrap {
    padding-left: 12px !important;
}

.jqx-rc-all-bootstrap {
    border-radius: 0px !important;
}

.jqx-input-bootstrap:focus {
    border-color: #367fa9;
}

.datetimepicker-wrapper .form-group {
    margin-bottom: 0 !important;
}

.jqx-menu-wrapper {
    z-index: 1100 !important;
}

input[type='checkbox'] {
    cursor: pointer;
}

.settings-checkbox-label {
    color: #136CC0;
    margin-top: -5px;
    margin-bottom: -5px;
}

.settings-checkbox-sublabel {
    color: #93969F;
    font-size: 12px;
    font-weight: normal;
    font-style: italic;
    margin-top: 5px;
    margin-bottom: -5px;
}

.settings-row-bottom {
    border-bottom: 2px solid #D9D9D9;
}


.tab-pane.active:first-child {
    margin-top: 10px !important;
}

.grid-cell-whitespace {
    white-space: pre;
}

.waybill-cell-red {
    color: red;
}

.waybill-cell-normal {
    color: black;
}

.disabled-content {
    opacity: 0.6;
    pointer-events: none;
}

.DPicker {
    width: 400px;
}

.centered-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 7px;
    height: 100%;
}

.delete-row-btn {
    border: none;
    background: none;
}

.inline-form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px;
    padding-left: 10px;
    padding-right: 16px;
}

.input-field {
    flex: 90%;
    padding: 5px;
}

.button {
    flex: 1;
    margin-left: 5px;
}


.txt_to_2_row {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0;
    -webkit-line-clamp: 2;
}

.edit-cat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.edit-cat-row .dec-60 {
    width: 60%;
}

.edit-cat-row .dec-40 {
    width: 40%;
}

.delete-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
}

/* Style the trash icon */
.delete-cell .delete-icon {
    font-size: 16px;
    color: red;
    cursor: pointer;
}
