/*
 * BRMS theme file; Theme_ID = 2
 */

body {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    overflow: auto !important;
}

.smart-style-2 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
}

.smart-style-2 #header {
    background-image: none;
    background-color: #d9d9d9;
}
.brms-login {
    background: url(../img/mybg.png) #fff !important;
}

/* ASH: modal messages header links */
.message-send .header-small a {
    color: gainsboro !important;
}

.brms-login #header {
    height: var(--header-height);
    background-image: none;
    background-color: black;
}

.brms-login .btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

/* Next determines color of a links in User Menu (top RH)*/
.smart-style-2 #user-menu a {
    color: #443f3b !important;
}

.smart-style-2 .btn-header > :first-child > a {
    background: #b51e2a;
    border: 1px solid #b51e2a;
    color: #fff !important;
    cursor: pointer !important;
}

.smart-style-2 #hide-menu a > i,
.smart-style-2 .btn-header > :first-child > a {
    color: white !important;
    box-shadow: none !important;
}

.smart-style-2 nav > ul > li > a {
    padding-top: 8px;
    padding-bottom: 8px;
}

#header {
    height: var(--header-height);
    z-index: var(--z-index-header);
}

.menu-on-top.brms-fixed-header #header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}
.menu-on-top.brms-fixed-header #main {
    margin-top: var(--header-height) !important;
}

#header > div {
    height: var(--header-height);
}

/* @media (max-width: 767px) {
.jarviswidget>div{
	padding:0px 0px 0 !important;
}
}*/

/* For mobile Use  */
#header-top-right_sm {
    color: white !important;
    font-size: 14px;
    padding: 5px 17px 12px 16px;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
}

#header-top-left_sm {
    color: white !important;
    font-size: 14px;
    padding: 5px 16px 12px 17px;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

#goBack {
    color: white !important;
    font-size: 14px;
}
/* Following fixed dashboard button issue*/

.dashboard .btn-lg {
    padding: 10px 8px;
    font-size: 16px;
    font-weight: bold;
}

#logo {
    margin-top: 5px;
    width: 250px;
}
#logo img {
    width: auto;
    height: auto;
    padding-left: 3px;
}
#left-panel {
    padding-top: 80px;
}
.menu-on-top.brms-fixed-header aside#left-panel {
    position: fixed;
}
@media (max-width: 767px) {
    #header {
        height: var(--header-height) !important;
    }
    #header > div {
        height: var(--header-height) !important;
    }
    #logo {
        margin-top: 2px;
        width: 250px;
    }
    #logo img {
        width: auto;
        height: 44px;
        padding-left: 3px;
    }
}

.square-thumb {
    width: 50px;
    height: 50px;
}
.th-responsive {
    padding: 10px;
    width: 150px;
    height: 150px;
}

.viewbox-container {
    z-index: 910;
}
#ribbon .breadcrumb,
#ribbon .breadcrumb a:hover {
    color: white !important;
    /*text-decoration: underline !important;*/
}

#ribbon a {
    color: white !important;
    text-decoration: underline !important;
}

.dataTables_filter .input-group-addon {
    height: 34px;
    width: 34px;
}

.table > tbody > tr > td {
    padding: 5px 5px;
    height: 20px !important;
    line-height: 20px !important;
    vertical-align: middle !important;
}
.table tbody tr {
    height: 30px !important;
    line-height: 15px !important;
}

@media (max-width: 400px) {
    .username {
        display: none;
    }
    .inputfield {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    #header-top-right {
        color: white !important;
        font-size: 14px;
        padding: 5px 17px 2px 16px !important;
    }
}

@media (max-width: 768px) {
    #header-top-left {
        color: white !important;
        font-size: 14px;
        padding: 5px 16px 2px 17px !important;
    }
}

@media (max-width: 1880px) and (min-width: 0px) {
    #hide-menu > :first-child > a,
    .btn-header a {
        margin-top: 5px !important;
        width: 30px !important;
        height: 30px !important;
        line-height: 28px !important;
    }
}

@media (max-width: 1880px) and (min-width: 0px) {
    #goBack > :first-child > a,
    .btn-header a {
        margin-top: 5px !important;
        width: 30px !important;
        height: 30px !important;
        line-height: 28px !important;
    }
}

.nav-tabs > li > a > .fas {
    opacity: 0.5;
}
.nav-tabs > li.active > a > .fas {
    opacity: 1;
}

#ribbon span.pull-right {
    padding: 11px 5px;
}

.dropzone {
    min-height: 200px;
}
@media (max-width: 979px) {
    .dropzone .dz-default.dz-message {
        background-size: 100%;
        width: 100%;
        height: 43px;
        margin-left: 0px;
        margin-top: -23.5px;
    }
}

@media (max-width: 767px) {
    .fc-event-title {
        font-size: 9px;
    }
    .fc-event {
        border-left: 0px !important;
        padding-left: 0px;
    }
}
/*.badge
{
    min-width:16px;
    height:16px;
    border-radius:2px;
  text-align:center;
  padding:2px;
  vertical-align:middle;

}*/

.hidden-filter {
    visibility: collapse !important;
}

.tree li.parent_li > span:hover {
    background-color: #333;
    border: 1px solid #a90329;
    color: #fff;
}
.tree li > span:hover {
    background-color: #333;
    border: 1px solid #a90329;
    color: #fff;
    text-decoration: none;
}
.tree li.parent_li > span:hover,
.tree li.parent_li > span:hover + ul li span {
    background: #333;
    border: 1px solid #a90329;
    color: #fff;
}
.tree > ul {
    padding-left: 0;
}
.tree ul ul {
    padding-left: 34px;
    padding-top: 10px;
}
.tree li.parent_li > span:hover + ul li::before {
    border-left-color: #a90329;
}
.tree li.parent_li > span:hover + ul li::after {
    border-top-color: #a90329;
}
.tree li.parent_li > span:hover + ul li span {
    background: #b3b3b3 !important;
    border: 1px solid #a90329;
    color: #000;
}
.tree .fa.icon-minus-sign:before {
    content: "\f056" !important;
}
.tree .fa.icon-plus-sign:before {
    content: "\f055" !important;
}

.tree {
    min-height: 20px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.tree li {
    list-style-type: none;
    margin: 0;
    padding: 5px;
    position: relative;
}
.tree ul ul li:hover {
    background: rgba(0, 0, 0, 0.015);
}
.tree li:after,
.tree li:before {
    content: "";
    left: -20px;
    position: absolute;
    right: auto;
}
.tree li:before {
    border-left: 1px solid black;
    bottom: 50px;
    height: 100%;
    top: -11px;
    width: 1px;
    -webkit-transition: "border-color 0.1s ease 0.1s";
    -moz-transition: "border-color 0.1s ease 0.1s";
    -o-transition: "border-color 0.1s ease 0.1s";
    transition: "border-color 0.1s ease 0.1s";
}
.tree li:after {
    border-top: 1px solid red;
    height: 20px;
    top: 18px;
    width: 25px;
}
.tree li span {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: 1px dotted #a90329;
    border-radius: 5px;
    display: inline-block;
    padding: 3px 8px;
    text-decoration: none;
    -webkit-transition: color 0.2s ease 0.1s, background-color 0.2s ease 0.1s,
        border-color 0.3s ease 0.2s;
    -moz-transition: color 0.2s ease 0.1s, background-color 0.2s ease 0.1s,
        border-color 0.3s ease 0.2s;
    -o-transition: color 0.2s ease 0.1s, background-color 0.2s ease 0.1s,
        border-color 0.3s ease 0.2s;
    transition: color 0.2s ease 0.1s, background-color 0.2s ease 0.1s,
        border-color 0.3s ease 0.2s;
}
.tree li.parent_li > span {
    cursor: pointer;
    padding: 7px;
}
.tree > ul > li::after,
.tree > ul > li:before {
    border: 0;
}
.tree li:last-child::before {
    height: 30px;
}
.tree li.parent_li > span:hover,
.tree li.parent_li > span:hover + ul li span {
    background-color: #333;
    border: 1px solid #a90329;
    color: #fff;
}
.tree > ul {
    padding-left: 0;
}
.tree ul ul {
    padding-left: 34px;
    padding-top: 10px;
}
.tree li.parent_li > span:hover {
    background-color: #333;
    border: 1px solid #a90329;
    color: #fff;
}
.tree li.parent_li > span:hover + ul li::before {
    border-left-color: #a90329;
}
.tree li.parent_li > span:hover + ul li::after {
    border-top-color: #a90329;
}
.tree li.parent_li > span:hover + ul li span {
    background: #b3b3b3 !important;
    border: 1px solid #a90329;
    color: #000;
}
.tree .fa.icon-minus-sign:before {
    content: "\f056" !important;
}
.tree .fa.icon-plus-sign:before {
    content: "\f055" !important;
}
.treelink a {
    color: #333 !important;
    text-decoration: none;
}
.treelink a:hover {
    color: white !important;
    text-decoration: none;
    -webkit-tap-highlight-color: white !important;
}

.user-th-responsive {
    padding: 10px;
    width: 150px;
    height: auto;
}
/* AE: Style changes for Bootsrtaop tooltips, as they appear within SmartAdmin
*/
.tooltip-inner {
    color: #000000;
    background-color: #f4f4f4;
    border: 1px solid black;
}
.tooltip.in {
    opacity: 1;
    filter: alpha(opacity=100);
}

.td-nowrap {
    white-space: nowrap;
}

nowrap {
    white-space: nowrap;
}

.task_detail_table tr > td {
    vertical-align: top !important;
    padding: 5px;
}

.select-info {
    padding-left: 10px;
}
.task_fieldname {
    width: 150px !important;
    font-weight: bold;
    text-align: right !important;
    vertical-align: top !important;
}

@media (max-width: 430px) {
    .task_fieldname {
        width: 100px !important;
    }
}

#dt_shortfall_length.dataTables_length {
    position: absolute;
    right: 0px;
    top: -25px;
}

.dt_blue td > a {
    color: blue;
}

.dt_red td > a {
    color: red;
}
.dt_green td > a {
    color: green;
}

/* Nice File Input */
.nice {
    border: solid #369 1px;
    background: #fff;
    display: block;
    width: 100%;
    box-shadow: 0 0 0 2px #fff;
}
.nice .NFI-button {
    height: 30px;
    line-height: 30px;
    background: #369;
    color: #fff;
    width: 30%;
}
.nice .NFI-button:hover {
    background: #147;
}
.nice .NFI-filename {
    display: block;
    width: 70%;
    height: 30px;
    margin: 0;
    padding: 0;
    border: none;
}
.nice .NFI-filename:focus {
    border: none;
}

/* Nice File Input */
.niceauto {
    border: solid #369 1px;
    background: #fff;
    display: block;
    width: 100%;
    max-width: 150px;
    box-shadow: 0 0 0 2px #fff;
}
.niceauto .NFI-button {
    height: 20px;
    line-height: 20px;
    background: #369;
    color: #fff;
    width: 100%;
}
.niceauto .NFI-button:hover {
    background: #147;
}
.niceauto .NFI-filename {
    display: block;
    width: 0%;
    height: 0px;
    margin: 0;
    padding: 0;
    border: none;
}
.niceauto .NFI-filename:focus {
    border: none;
}

/* ADJUST formValidation icon position */
.has-feedback .form-control-feedback {
    top: 25px;
    right: 0;
}
/* AE: trying to reduce right padding in the "budget" field of the brms_planned_template_edit form */
.has-feedback .form-control {
    padding-right: 10px;
}

.form-horizontal .has-feedback .form-control-feedback {
    top: 0;
    right: -15px !important;
}

.form-control-feedback {
    right: -15px !important;
}

#scd_upload .nice .form-control-feedback {
    right: -350px;
}

.nocursor li a {
    cursor: default;
    text-decoration: none;
}

.fixed-header #main {
    margin-top: 50px !important;
}

/*.menu-on-top aside#left-panel nav>ul>li>a {*/
/*    display: inline-block;*/
/*    height: 60px;*/
/*}*/

.menu-on-top #main {
    margin-top: 0px !important;
}

/* Following fixes error messages at login hiding behind header*/
/*@media only screen and (max-width: 479px) and (min-width: 0)*/
/*@media (max-width: 479px){
#content, #ribbon {
	padding-top:60px !important;
}
}*/

.alert-danger {
    border-color: #c26565;
}

.alert-success {
    border-color: #cde0c4;
}

.trafficlight .badge {
    padding: 2px 5px 2px;
    font-size: 11.025px;
    font-weight: bold;
    white-space: nowrap;
    color: #ffffff;
    background-color: #999999;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
}

.dt-buttons {
    left: 50%;
    margin-right: -50%;
}

a .form-control {
    color: #337ab7 !important;
}

/* AE: Bootsrtap spiner styling */
.bootstrap-touchspin-up,
.bootstrap-touchspin-down {
    height: 35px;
    width: 25px;
    padding: 0;
    margin: 0;
    text-align: center;
    position: absolute;
    background: #739e73;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    color: #ffffff;
    font-size: 20px;
    font-family: FontAwesome;
    font-style: normal;
}

.bootstrap-touchspin-down {
    background: #c2032f;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    font-size: 24px;
}

.bootstrap-touchspin-up:hover,
.bootstrap-touchspin-up:active,
.bootstrap-touchspin-up:focus {
    background: #739e73;
    color: #cccccc;
}
.bootstrap-touchspin-down:hover,
.bootstrap-touchspin-down:active,
.bootstrap-touchspin-down:focus {
    background: #c2032f;
    color: #cccccc;
}

.bootstrap-touchspin-up:before,
.bootstrap-touchspin-down:before {
    display: inline-block;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-top: 1px;
}

.select2-hidden-accessible {
    display: none !important;
    visibility: hidden !important;
}

.control-label-required:after {
    content: "*";
    color: red;
}

/*All calendars settings */
.fc-list-view .fc-list-item-title a {
    color: #444;
}

/*BRMS calendar settings (Calendar View)*/

.bg-color-fc-brms-caley {
    background: orange;
}

.bg-color-fc-brms-king {
    background: purple;
}

/*BRMS calendar settings (List View)*/

.fc-list-view .bg-color-fc-brms-caley a {
    color: #444;
}
.fc-list-view .bg-color-fc-brms-caley {
    background: none;
}
.fc-list-view .bg-color-fc-brms-caley .fc-event-dot {
    background: orange;
}

.fc-list-view .bg-color-fc-brms-king a {
    color: #444;
}
.fc-list-view .bg-color-fc-brms-king {
    background: none;
}
.fc-list-view .bg-color-fc-brms-king .fc-event-dot {
    background: purple;
}
.fc-event .fa {
    font-size: 12px;
    margin: 0px;
}
.fc-time,
.fc-title {
    padding: 0;
}

.fc-time {
    display: inline-block !important;
}
.fc-list-table td {
    border-width: 1px 0 0;
    padding: 8px 14px;
}
/*End:BRMS calendar settings*/

#toast-container > div {
    opacity: 1 !important;
}

.desktop-detected #toast-container {
    position: absolute;
    bottom: 75px;
    right: 0px;
}

.toast-info {
    background-color: #3b9ff3;
}

#content {
    padding: 10px 15px;
}
#content_property_client {
    padding: 0 15px 10px 15px;
}

img.avatar {
    height: 42px;
    border-radius: 21px;
}

div.debug-label {
    position: absolute;
    font-size: 10px;
    top: 47px;
    background: white;
    border-radius: 5px;
    padding: 3px 8px;
    margin-top: 0px;
    right: 110px;
    z-index: -1;
    color: black;
}

.avatar-header {
    font-size: 10px;
    position: absolute;
    right: 16px;
    top: 9px;
    text-align: center;
}

.jarviswidget.billing-cadetblue > header {
    background: cadetblue;
    border-color: cadetblue;
    color: white;
}

.jarviswidget.billing-cadetblue > header ul.nav.nav-tabs li a {
    color: white;
}

.jarviswidget.billing-cadetblue > header ul.nav.nav-tabs li.active a {
    color: black !important;
}

.jarviswidget.VIP > header {
    background: #2c3742;
    border-color: #2c3742;
    color: white;
}

.jarviswidget.VIP > header ul.nav.nav-tabs li a {
    color: white;
}

.jarviswidget.VIP > header ul.nav.nav-tabs li.active a {
    color: black !important;
}

body.minified #left-panel nav .badge {
    position: relative !important;
    left: 15px;
    margin-top: -19px;
}

.text-danger a {
    color: #d9534f;
}
.text-primary a {
    color: #337ab7;
}
.text-info a {
    color: #5bc0de;
}
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default,
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default {
    margin-left: -1px;
}
.sp-input {
    background: white !important;
}
input.form-control.error {
    border: 1px solid red;
}
.table.middle > tbody > tr > td {
    vertical-align: middle !important;
}

@media (max-width: 1800px) and (min-width: 1200px) {
    .spend-table {
        font-size: 11px !important;
    }
}

.jarviswidget-color-red > header {
    background: #b51e2a !important;
    /*border-color: #8F2129!important;*/
}

.smart-style-2 #user-menu a:hover {
    color: black;
}
.smart-style-2 .page-footer,
.smart-style-2 .superbox-show,
.smart-style-2 aside {
    background: #d9d9d9;
}

.smart-style-2 #hide-menu a:hover i,
.smart-style-2 .btn-header > :first-child > a:hover {
    color: black !important;
    cursor: pointer !important;
}

.smart-style-2 #user-name {
    width: 300px;
    padding: 12px 17px 12px 16px;
    text-align: right;
}
.smart-style-2.menu-on-top aside#left-panel {
    position: absolute;
    top: -46px;
    height: 50px;
    padding-right: 15px;
    padding-left: 100px;
    margin-right: auto;
    margin-bottom: -200px;
    padding-bottom: 0px;
    max-width: 1600px;
    z-index: 906 !important;
    background-color: #d9d9d9;
    border-bottom: 0px;
}
.smart-style-2.menu-on-top.brms-fixed-header aside#left-panel {
    position: fixed;
}

@media (max-width: 979px) {
    .smart-style-2.menu-on-top aside#left-panel nav {
        height: 600px !important;
    }
}

.smart-style-2 nav ul li a {
    color: #443f3b !important;
    font-size: 14px !important;
}

.smart-style-2 nav ul li a:hover {
    color: #b51e2a !important;
}

.smart-style-2 nav ul .active > a {
    color: #b51e2a !important;
    font-weight: bold;
    font-size: 15px;
}

.smart-style-2 nav ul li.active > a:before {
    position: absolute;
    right: -34px;
    color: white;
}
.smart-style-2 #ribbon .breadcrumb a:hover {
    color: black !important;
    text-decoration: underline !important;
}

.smart-style-2.menu-on-top aside#left-panel nav {
    padding-left: 0;
}

.smart-style-2 table.dataTable thead th,
.smart-style-2 table.dataTable thead td {
    padding: 10px 18px;
    border-bottom: 1px solid #111;
}

.smart-style-2 table.dataTable thead th,
.smart-style-2 table.dataTable tfoot th {
    font-weight: bold;
}

.smart-style-2 table.table-bordered td,
.smart-style-2 table.table-bordered th {
    border-left-width: 0;
    border-bottom-width: 0;
}

.smart-style-2.menu-on-top aside#left-panel nav > ul > li > a {
    height: 61px;
}

.brms-login .page-footer,
.smart-style-1 .superbox-show,
.smart-style-1 aside {
    background: black !important;
}

@media (max-width: 979px) {
    .smart-style-2.menu-on-top aside#left-panel nav {
        margin-left: -100px;
        margin-top: 66px;
        width: calc(100% + 120px);
    }

    .smart-style-2.menu-on-top aside#left-panel nav > ul > li {
        background: #d9d9d9;
    }
    .smart-style-2.menu-on-top aside#left-panel nav > ul > li.active {
        background: #fff;
        background: -moz-linear-gradient(top, #cfcfcf 0, #fff 66%);
        background: -webkit-gradient(
            linear,
            left top,
            left bottom,
            color-stop(0%, #cfcfcf),
            color-stop(66%, #fff)
        );
        background: -webkit-linear-gradient(top, #cfcfcf 0, #fff 66%);
        background: -o-linear-gradient(top, #cfcfcf 0, #fff 66%);
        background: -ms-linear-gradient(top, #cfcfcf 0, #fff 66%);
        background: linear-gradient(to bottom, #cfcfcf 0, #fff 66%);
    }
}

@media (max-width: 767px) {
    .smart-style-2.menu-on-top aside#left-panel nav {
        margin-left: -100px;
        margin-top: 46px;
        width: calc(100% + 120px);
    }
}
#property-tabs > li.active > a {
    border: none !important;
    font-weight: unset !important;
}

img.internal-avatar {
    outline: #800000 3px solid;
}

.internal-thread-form .ui-draggable .ui-dialog-titlebar {
    background: #800000 !important;
    border-color: #800000 !important;
}

.smart-style-2 .btn-toggle-internal {
    background: #800000 !important;
    border-color: #800000 !important;
    color: #fff;
}

.timesheet-task-type-internal {
    background-color: #800000;
}
