﻿* {
    /*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-Regular.ttf");
    font-weight: bold;
}

body {
    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;
}

/*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: 0.9;
}

.close-icon {
    color: #fff;
}

.modal-title {
    font-size: 17px;
    letter-spacing: 1px;
}

.red {
    color: black;
    background-color: #ef6363;
}

.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;
}

.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;
}

    .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: 0.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: 10px;
}

::-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;
    width: 30px;
}

.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;
}

.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;
}

.operation-menu-title {
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.1;
    font-weight: 500;
}

.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;
    }
}

@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;
    }
    .attendance-table-cell {
        width: 22px;
        height: 22px;
        cursor: pointer;
        margin: 3px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* Notifications */

.jqx-notification-container {
    z-index: 2000000;
}

.picture_upload_block {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: inline-block;
    float: left;
    position: relative;
    cursor: pointer;
    border: 1px solid #ddd;
    background-position: 50% 35px;
    background-repeat: no-repeat;
}

    .picture_upload_block:hover {
        border: 1px solid #3c8dbc;
    }

        .picture_upload_block:hover i {
            color: #3c8dbc !important;
        }

        .picture_upload_block:hover small {
            color: #3c8dbc !important;
            text-decoration: underline;
        }

.picture_upload_remove_image {
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 5px;
    display: none;
    border-radius: 1px;
    width: 20px;
    height: 20px;
    background-color: black;
    text-align: center;
}

    .picture_upload_remove_image > i {
        color: #fff;
    }

.picture_upload_image_block {
    position: relative;
    margin-bottom: 18px;
    display: inline-block;
    width: 150px;
    height: 150px;
}

.picture_upload_image_block {
    margin-left: 18px;
}

    .picture_upload_image_block img {
        width: 100%;
        width: 150px;
        height: 150px;
        border: none;
    }

    .picture_upload_image_block:hover .picture_upload_remove_image {
        display: block;
        margin-top: 5px;
    }

.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;
}

.fixed-left-th {
    position: sticky;
    left: 0;
    border-right-color: #aaa;
    z-index: 2 !important;
}

.fixed-left-td {
    position: sticky;
    left: 0;
    background-color: #ecf0f5;
}

.fixed-head {
    overflow-y: auto;
    z-index: 99999;
}

    .fixed-head .table {
        border-top: 0;
    }

    .fixed-head thead th, .fixed-head thead {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .fixed-head thead th {
            background: #393c3e;
            text-align: center;
            border-bottom: 1px solid #d5d5d5 !important;
            color: #b8c7ce;
        }

    .fixed-head tbody > tr > td {
        border: 1px solid #d5d5d5;
    }

.fixed-foot {
    overflow-y: auto;
    z-index: 99999;
}

    .fixed-foot .table {
        border-top: 0;
    }

    .fixed-foot tfoot tr, .fixed-foot tfoot {
        position: sticky;
        bottom: 0;
        z-index: 1;
    }

        .fixed-foot tfoot tr {
            background: #393c3e;
            text-align: left;
            border-bottom: 1px solid #d5d5d5 !important;
            color: #b8c7ce;
        }

    .fixed-foot tbody > tr > td {
        border: 1px solid #d5d5d5;
    }

.approvals-counter {
    height: 64px;
    line-height: 64px !important;
    vertical-align: middle !important;
}

    .approvals-counter > div {
        background-color: #fff !important;
        border-radius: 24px !important;
        padding: 5px 8px 4px 8px !important;
        line-height: 24px !important;
        font-size: 16px;
        color: #367fa9 !important;
        vertical-align: middle !important;
        font-weight: bolder !important;
    }

.approvals-counter-li {
    background-color: #fbd905 !important;
}

    .approvals-counter-li:hover {
        background-color: #fbd905 !important;
    }

.modal-footer label.label {
    border-radius: 2px !important;
}
.switch-slider {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}
.switch-slider .slider-input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider-switch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 5px;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}
.slider-switch:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    left: 5px;
    bottom: 5px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider-input:checked + .slider-switch {
    background-color: #3c8dbc;
}

.slider-input:focus + .slider-switch {
    box-shadow: 0 0 1px #3c8dbc;
}

.slider-input:checked + .slider-switch:before {
    -webkit-transform: translateX(15px);
    -ms-transform: translateX(15px);
    transform: translateX(15px);
}
/* Rounded sliders */
.round-switch {
    border-radius: 34px;
}
.round-switch:before {
    border-radius: 50%;
}

.attendance-table-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 27px;
    height: 27px;
    cursor: pointer;
    margin: 5px;
}

@media only screen and (min-width: 1350px) and (max-width: 1575px) {
    .attendance-table-cell {
        width: 24px;
        height: 24px;
        cursor: pointer;
        margin: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
@media only screen and (min-width: 1000px) and (max-width: 1350px) {
    .attendance-table-cell {
        width: 18px;
        height: 18px;
    }
}
