a {
    color: #d1050c;
}

#header {
    height: 70px;
}

#extr-page #header {
    height: 100px;
    text-align: center;
}

#extr-page-header-space {
    line-height: 100px;
}

#extr-page #main {
    padding-top: 100px;
}

#logo {
    height: 100%;
    margin-top: 10px;
}

#logo img {
    height: 100%;
    padding-left: 25px;
}

#extr-page #header #logo-group {
    float: none;
}

#extr-page #header #logo {
    margin-top: 18px;
}

#extr-page #header #logo img {
    width: 200px;
}

#extr-page #logo-group>span {
    height: 60px;
}

#left-panel {
    padding-top: 80px;
}

.ui-datepicker td .ui-state-hover {
    background: #d1050c;
    background-color: #d1050c;
    border-color: #d1050c;
}

.ui-datepicker td .ui-state-highlight {
    background-color: #d1050c;
}

.icon-addon .form-control:focus+.fa,
.icon-addon .form-control:focus+.glyphicon,
.icon-addon:hover .fa,
.icon-addon:hover .glyphicon {
    color: #d1050c
}

.btn .dropdown-menu .fa,
.btn-group .dropdown-menu .fa,
#buttons .fa {
    margin-right: 8px;
}

.btn-group .dropdown-menu .fa {
    margin-right: 5px;
    width: 15px;
}

.btn-add,
.btn-edit {
    margin-top: -3px;
    margin-left: 3px;
    width: 24px;
}

.pagination>li>a,
.pagination>li>span {
    color: #d1050c;
}

.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>span:focus,
.pagination>li>span:hover {
    color: #d1050c;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
    background-color: #d1050c;
    border-color: #d1050c;
}

table.dataTable tbody>tr.selected,
table.dataTable tbody>tr>.selected {
    background-color: #c3e5c3 !important;
}

.txt-footer {
    font-size: 11px;
    color: #c0bbb7;
}

div.DTED_Lightbox_Background {
    z-index: 1000;
}

div.DTED_Lightbox_Wrapper {
    z-index: 1100;
}

.dt-button {
    margin: 0 5px 0 0;
}

div.DTE_Body div.DTE_Body_Content div.DTE_Field {
    padding: 5px 5%;
}

div.DTE_Field select {
    width: 100%;
}

.btn-primary {
    background-color: #d1050c;
    border-color: #d1050c;
}

.btn-primary.active,
.btn-primary.focus,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover,
.open>.dropdown-toggle.btn-primary {
    background-color: #af070d;
    border-color: #af070d;
}

.btn-primary.disabled,
.btn-primary.disabled.active,
.btn-primary.disabled.focus,
.btn-primary.disabled:active,
.btn-primary.disabled:focus,
.btn-primary.disabled:hover,
.btn-primary[disabled],
.btn-primary[disabled].active,
.btn-primary[disabled].focus,
.btn-primary[disabled]:active,
.btn-primary[disabled]:focus,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary,
fieldset[disabled] .btn-primary.active,
fieldset[disabled] .btn-primary.focus,
fieldset[disabled] .btn-primary:active,
fieldset[disabled] .btn-primary:focus,
fieldset[disabled] .btn-primary:hover {
    background-color: #d1050c;
    border-color: #d1050c;
    opacity: .50;
    filter: alpha(opacity=50);
}

.client-form header,
.smart-form footer {
    background-color: #f4f4f4;
    /* background-color: rgba(118,183,42,0.05); */
}

.smart-form .checkbox input:checked+i,
.smart-form .radio input:checked+i,
.smart-form .toggle input:checked+i {
    border-color: #BDBDBD;
}

.smart-form .checkbox input+i:after {
    color: #d1050c;
}

.smart-form .radio input+i:after {
    background-color: #d1050c;
}

.profile-context {
    padding: 20px 13px 0;
    position: relative
}

#hide-menu,
#fullscreen {
    margin-top: 10px;
}

.profile-context img {
    width: 30px;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    margin-top: 1px;
    margin-right: 5px;
    margin-left: 0;
}

.profile-context span {
    text-transform: capitalize;
    font-size: 14px;
    display: inline-block;
    text-decoration: none;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.profile-context .dropdown-menu {
    left: auto;
    right: 0;
}

.profile-selector {
    max-width: 97%;
    white-space: nowrap;
    background: 0 0;
    border: none;
    padding: 0;
    text-align: left;
    color: #555;
    font-size: 14px;
    cursor: pointer
}

.profile-selector:hover {
    color: #333;
}

.dropdown-menu>li>a:focus,
.dropdown-menu>li>a:hover {
    text-decoration: none;
    color: #fff;
    background-color: #d1050c;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 20px auto;
}

.smart-form .input input[type="file"] {
    padding: 5px 0;
    border-width: 0;
}

#buttons {
    margin-bottom: 70px;
}

.btn-group .dropdown-menu {
    left: auto;
    right: 0;
}

.select2-hidden-accessible {
    display: none;
}

.select2-container-multi .select2-search-choice-close {
    padding: 3px 0 3px 10px;
}

em.invalid {
    display: block;
    margin-top: 6px;
    padding: 0 1px;
    font-style: normal;
    font-size: 11px;
    line-height: 15px;
    color: #D56161
}

img.away,
img.busy,
img.offline,
img.online {
    border-left: 0;
}

.smart-form .col-12 {
    width: 100%;
}

table.dataTable td,
table.dataTable th {
    word-wrap: break-word !important;
}

label.date,
.note.date {
    display: inline-block;
    width: 49%;
    float: left;
}

label.time,
.note.time {
    display: inline-block;
    width: 49%;
    float: right;
}

tr.disabled {
    color: #ccc;
}

.hide-sorting {
    background-color: transparent !important;
    background: none !important;
}

.filter-buttons {
    float: left;
    display: inline-block;
    padding-left: 5px;
}

.dataTables_filter {
    width: auto;
    display: inline-block;
}

.btn-success,
.btn-success:hover {
    background-color: #DFF0D9;
    border-color: #DFF0D9;
    color: #333;
    margin-right: 5px;
}

.btn-warning,
.btn-warning:hover {
    background-color: #FDF8E4;
    border-color: #FDF8E4;
    color: #333;
    margin-right: 5px;
}

.btn-danger,
.btn-danger:hover {
    background-color: #F4DEDE;
    border-color: #F4DEDE;
    color: #333;
    margin-right: 5px;
}

.btn-disabled,
.btn-disabled:hover {
    background-color: #F9F9F9;
    border-color: #ddd;
    color: #333;
    margin-right: 5px;
}

.btn-upload {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
    padding: 6px 12px;
    width: 100%;
    margin-bottom: 25px;
}

.not-confirmed {
    background-color: #b19cd9 !important;
}

.page-footer {
    padding-left: 263px;
}

.select2-results .select2-highlighted {
    background-color: #d1050c;
    color: #fff;
}

.select2-drop-active {
    border: 1px solid #d1050c;
    border-top: none;
    border-bottom-width: 3px;
}

.select2-drop.select2-drop-above {
    margin-bottom: 0;
    border-top: 1px solid #d1050c;
    border-top-width: 3px;
}

.select2-container-active .select2-choice,
.select2-container-active .select2-choices {
    border: 1px solid #d1050c;
}

.select2-dropdown-open.select2-drop-above .select2-choice,
.select2-dropdown-open.select2-drop-above .select2-choices {
    border: 1px solid #d1050c;
}

.select2-container-multi .select2-choices .select2-search-choice {
    background-color: #d1050c;
    border: 1px solid #d1050c;
}

.smart-form .checkbox:hover i,
.smart-form .input:hover input,
.smart-form .radio:hover i,
.smart-form .select:hover select,
.smart-form .textarea:hover textarea,
.smart-form .toggle:hover i {
    border-color: #d1050c;
}

.select2-container--default .select2-selection--multiple.
.select2-container--default .select2-selection--single {
    border-color: #BDBDBD;
    border-radius: 0;
    transition: border-color .3s;
    -o-transition: border-color .3s;
    -ms-transition: border-color .3s;
    -moz-transition: border-color .3s;
    -webkit-transition: border-color .3s;
}

.select2-container .select2-selection--single {
    height: 34px;
    border-radius: 0;
    transition: border-color .3s;
    -o-transition: border-color .3s;
    -ms-transition: border-color .3s;
    -moz-transition: border-color .3s;
    -webkit-transition: border-color .3s;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 32px;
}

.select2-container-multi.select2-container-active .select2-choices,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default:hover .select2-selection--multiple,
.select2-container--default:hover .select2-selection--single {
    border: 1px solid #d1050c;
    border-radius: 0;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #d1050c;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice,
.select2-container--default .select2-selection--single .select2-selection__choice {
    background-color: #d1050c;
    color: #fff;
    border-radius: 0;
    border-color: #d1050c;
}

.select2-container--default .select2-selection--multiple {
    border-radius: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice span,
.select2-container--default .select2-selection--single .select2-selection__choice span,
.select2-container--default .select2-selection--multiple .select2-selection__choice span:hover,
.select2-container--default .select2-selection--single .select2-selection__choice span:hover {
    color: #fff;
}

.select2-container .select2-search--inline .select2-search__field {
    margin-top: 0;
}

.hidden-menu #left-panel {
    left: -240px;
}

#main {
    margin-left: 250px;
}

#header>:first-child, aside {
    width: 250px;
}

.txt-color-blueDark {
    color: #2C2926 !important;
}

.page-title span {
    color: #2C2926 !important;
}

nav ul ul {
    background: rgba(69, 69, 69, 0.9);
}

.smart-form .label,
.smart-form td {
    color: #2C2926;
    min-height: 19px;
}

.smart-form td {
    vertical-align: top;
}

.smart-form td.label {
    font-weight: bold;
    padding-right: 10px;
}

.jarviswidget>header {
    color: #2C2926:
}

.jarviswidget-color-blueDark>header {
    border-color: #2C2926 !important;
    background: #2C2926;
}

.page-footer {
    height: 42px;
    padding: 10px 13px 0;
    padding-left: 263px;
    background: #2C2926;
}

.transparent-input input {
    color: transparent !important;
}

.ui-dialog-titlebar-close:before {
    font-size: 24px;
}

.smart-form .rating {
    width: 150px;
}

.smart-form .rating label {
    height: 28px;
}

.smart-form .rating label i {
    font-size: 28px;
}

.smart-form .rating input:checked~label {
    color: #d1050c;
}

.smart-form .rating input+label:hover, .smart-form .rating input+label:hover~label {
    color: #d1050c;
}

@media screen {
    @media (max-width: 979px) and (min-width: 768px) {
        #left-panel {
            left: 0;
        }
        .hidden-menu #left-panel {
            left: 0;
        }
        #main {
            margin-left: 0;
        }
        .hidden-menu #main {
            margin-left: 250px;
        }
    }
}

.upload-image-container {
    position: relative;
    width: 150px;
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
}

.upload-image-container img {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
    border-radius: 20px;
}

.upload-image-container .middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%)
}

.upload-image-container:hover img {
    opacity: 0.3;
}

.upload-image-container:hover .middle {
    opacity: 1;
}

.transparent-input input {
    color: transparent !important;
}

.digital-signature {
    position: relative;
    margin: 0 auto;
    z-index: 0;
    display: inline-block;
    margin-bottom: 10px;
    border: 1px #BDBDBD solid;
}

.digital-signature-info {
    font-size: 12px;
    color: #bbb;
    position: absolute;
    bottom: 10px;
    width: 95%;
    left: 2.5%;
    text-align: center;
    margin: 0 auto;
    display: block;
    border-top: 1px solid #bbb;
    z-index: -1;
}

.clear-signature {
    font-size: 20px;
    color: #bbb;
    position: absolute;
    top: 0px;
    right: 5px;
    cursor: pointer;
}

.signature-error {
    display: none;
}

.smart-form .input input {
    height: 34px;
}

.smart-form .textarea textarea {
    height: 108px;
}

.product label.label {
    font-size: 11px;
}

.input-control {
    z-index: 1;
    cursor: pointer;
}

.has-error .select2-choice {
    background: #fff0f0;
}

.saved-filter {
    background-color: rgb(250, 255, 189);
}

label.checkbox.disabled {
    opacity: .5;
}

.has-error .select2-choice {
    background: #fff0f0;
}

.widget-body.no-padding .cke_chrome {
    border: 1px #BDBDBD solid;
}

.smart-form .input input:disabled {
    opacity: 0.8;
}

.popover-title {
    margin: 0;
    padding: 8px 14px;
    font-size: 13px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ebebeb;
    border-radius: 2px 2px 0 0;
}

.popover-content {
    padding: 9px 14px;
}

.popover-content:last-child {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

div.DTE div.DTE_Footer {
    height: auto;
    min-height: 50px;
}

div.DTE div.DTE_Form_Error {
    width: 85%;
}

div.DTE_Body {
    padding: 50px 0 80px;
}

@media(max-width: 480px) {
    .dataTables_filter,
    .dataTables_filter label {
        width: 100%;
    }

    .dt-toolbar div {
        padding-right: 0;
    }

    .dataTables_filter .input-group-addon+.form-control {
        width: calc(100% - 32px);
    }

    .smaller-col {
        margin-bottom: 15px !important;
    }

    .no-margin-mobile {
        margin-bottom: 0 !important;
    }
}

@media(max-width: 380px) {
    .page-footer {
        padding-bottom: 10px;
        height: 70px;
    }
}

@media(max-width: 360px) {
    .dataTables_filter,
    .dataTables_filter label {
        width: 100%;
    }

    .dt-toolbar div {
        padding-right: 0;
    }

    .dataTables_filter .input-group-addon+.form-control {
        width: calc(100% - 32px);
    }
}

@media(max-width: 340px) {
    #buttons .pull-left {
        float: right !important;
        margin: 10px 0;
        margin-bottom: 30px;
    }
}
