/* ==========================================================================
============================= New black design css ==========================
============================================================================= */
/* diactivating some crap from bootstrap*/
*, *:before, *:after {
    /*box-sizing: border-box;*/
    box-sizing: content-box;
}

.daterangepicker.dropdown-menu * {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body.black-theme {
    margin: 0;
    padding: 0;
    font-family: Arial;
    height: 100%;
    min-width: 960px;
}

.black-theme #main-container {

}

.black-theme .top-panel {
    height: 40px;
    background-color: #23252b;
}

.black-theme .top-panel .system-name {
    color: #fff;
    background-color: #2aa1d3;
    float: left;
    width: 140px;
    height: 30px;
    text-align: left;
    padding-top: 10px;
    padding-left: 60px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    line-height: 30px;
    color: #f8f6f3;
    position: relative;
}

.black-theme .top-panel .system-name:before {
    content: "";
    position: absolute;
    display: block;
    background: url(../../brand_logo_trx25.png) left top no-repeat;
    height: 25px;
    width: 42px;
    top: 5px;
    left: 5px;
}

.black-theme .top-panel .system-name.test-mode:after {
    content: "TEST MODE!!!";
    position: relative;
    display: block;
    bottom: 30px;
    left: 0;
    width: 100%;
    background-color: #ff0000;
    color: #fff;
}

.black-theme .top-panel .top-menu-cont {
    margin-left: 310px;
}

.black-theme .top-panel .top-menu-cont > a {
    float: left;
    height: 40px;
    border-left: 1px solid #23252b;
    background-color: #525863;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 0px 10px 0;
    font-size: 12px;
    font-weight: bold;
    line-height: 40px;
    text-decoration: none;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.black-theme .top-panel .top-menu-cont > a:hover {
    color: #2aa1d3;
}

.black-theme .top-panel .top-menu-cont > a:active {
    color: #525863;
    background-color: #2aa1d3;
}

.black-theme .top-panel .top-menu-cont > a.selected {
    color: #525863;
    background-color: #fff;
}

.black-theme .top-panel .logout-btn {
    float: right;
    color: #fff;
    text-transform: uppercase;
    margin: 10px 7px;
}

.form-control.multiselect-search {
    width: 80% !important;
}

.black-theme .left-panel {
    width: 200px;
    height: 100%;
    background-color: #23252b;
    float: left;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.black-theme .left-panel.mini {
    width: 50px;
}

.black-theme .left-panel.mini > a {
    background-size: 70% auto;
    background-position: center center;
    padding-top: 30px;
}

.black-theme .left-panel.mini > a span {
    opacity: 0;
    display: none;
}

.black-theme .left-panel > a {
    height: 20px;
    display: block;
    border-bottom: 1px solid #23252b;
    background-color: #525863;
    color: #f8f6f3;
    font-weight: bold;
    text-transform: uppercase;
    padding-top: 90px;
    text-align: center;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-decoration: none;
    background-position: center 10px;
    background-repeat: no-repeat;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.black-theme .left-panel > a.active {
    background-color: #23252b;
    position: relative;
}

.black-theme .left-panel > a.active:after {
    content: "";
    position: absolute;
    right: -12px;
    top: 44%;
    border-left: 12px solid #23252b;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    width: 0;
    height: 0;
}

.black-theme .left-panel.mini > a.active:after {
    top: 32%;
    right: -10px;
    border-left: 10px solid #23252b;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.black-theme .title-colexp-icon {
    border: 2px solid #f0b017;
    border-radius: 2px;
    padding: 1px 0.5px;
    font-size: 9px;
    left: -16px;
    position: absolute;
    top: 3px;
    cursor: pointer;
}

/*
#e0e4cc #fa6900 #e94c6f #85c4b9 #db3340 #1fda9a #28abe3 #588c73 #8c4646 #d0c91f
available #fdf200
*/
.black-theme .left-panel.customer_db {
    border-right: 6px solid #e0e4cc;
}

.black-theme .left-panel .customer_db {
    border-left: 4px solid #e0e4cc;
    background-image: url(/public/img/icons/customer.png);
}

.black-theme .left-panel.statistics {
    border-right: 6px solid #fa6900;
}

.black-theme .left-panel .statistics {
    border-left: 4px solid #fa6900;
    background-image: url(/public/img/icons/statistics.png);
}

.black-theme .left-panel.campaings {
    border-right: 6px solid #e94c6f;
}

.black-theme .left-panel .campaings {
    border-left: 4px solid #e94c6f;
    background-image: url(/public/img/icons/campaings.png);
}

.black-theme .left-panel.invoices {
    border-right: 6px solid #85c4b9;
}

.black-theme .left-panel .invoices {
    border-left: 4px solid #85c4b9;
    background-image: url(/public/img/icons/invoice.png);
}

.black-theme .left-panel.calendar {
    border-right: 6px solid #db3340;
}

.black-theme .left-panel .calendar {
    border-left: 4px solid #db3340;
    background-image: url(/public/img/icons/calendar.png);
}

.black-theme .left-panel.employees {
    border-right: 6px solid #1fda9a;
}

.black-theme .left-panel .employees {
    border-left: 4px solid #1fda9a;
    background-image: url(/public/img/icons/employees.png);
}

.black-theme .left-panel.projects {
    border-right: 6px solid #28abe3;
}

.black-theme .left-panel .projects {
    border-left: 4px solid #28abe3;
    background-image: url(/public/img/icons/projects.png);
}

.black-theme .left-panel.system {
    border-right: 6px solid #588c73;
}

.black-theme .left-panel .system {
    border-left: 4px solid #588c73;
    background-image: url(/public/img/icons/settings.png);
}

.black-theme .left-panel.newsletter {
    border-right: 6px solid #8c4646;
}

.black-theme .left-panel .newsletter {
    border-left: 4px solid #8c4646;
    background-image: url(/public/img/icons/newsletter.png);
}

.black-theme .left-panel.sms {
    border-right: 6px solid #d0c91f;
}

.black-theme .left-panel .sms {
    border-left: 4px solid #d0c91f;
    background-image: url(/public/img/icons/sms.png);
}

.black-theme .left-panel.users {
    border-right: 6px solid #db3340;
}

.black-theme .left-panel .users {
    border-left: 4px solid #db3340;
    background-image: url(/public/img/icons/users.png);
}

.black-theme .content {
    /*float: left;*/
    margin: 20px 30px 5px 230px;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.black-theme.lt-panel-mini .content {
    margin: 20px 30px 0 80px;
}

.black-theme h1 {
    color: #f0b017;
    font-size: 26px;
    margin-top: 0;
    margin-bottom: 4px;
    position: relative;
}

/*.black-theme #invoicing{
    padding: 50px 0 0 150px;
}*/
#left-panel {
    position: absolute;
    left: 0;
    top: 0;
    border-right: #aaa 1px solid;
    -webkit-box-shadow: 2px 0 2px 0 rgba(255, 20, 20, 0.5);
    box-shadow: 2px 0 2px 0 rgba(255, 20, 20, 0.5);
    height: 100%;
}

#left-panel a, #left-panel a:visited {
    display: block;
    width: 150px;
    height: 130px;
}

a:focus {
    outline: none;
}

ul.nav.nav-tabs {
    background: url(../img/logo.png) center center no-repeat;
}

/* ==================
    CRM general button css
===================== */
.crm-btn {
    -webkit-user-select: none; /* Chrome all / Safari all */
    -moz-user-select: none; /* Firefox all */
    -ms-user-select: none; /* IE 10+ */
    user-select: none;
}

span.crm-btn {
    display: inline-block;
}

.crm-btn.disabled, .crm-btn.disabled:hover {
    background-color: #666;
    color: #555;
    cursor: default;
}

.crm-btn-green {
    background-color: #8ab71b;
    color: #f8f6f3;
    font-size: 14px;
    height: 36px;
    line-height: 36px;
    text-transform: uppercase;
    cursor: pointer;
    border: 0 none;
    padding: 0 20px;
    font-weight: bold;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.crm-btn-green:hover {
    background-color: #7ea719;
    color: #FFF;
}

.crm-btn-green.inactive,
.crm-btn-green.inactive:hover {
    cursor: default;
    background-color: #587511;
    background-color: rgba(88, 117, 14, 0.9);
    color: #666;
}

.crm-btn-orange {
    background-color: #f0b017;
    color: #f8f6f3;
    font-size: 14px;
    height: 36px;
    line-height: 36px;
    text-transform: uppercase;
    cursor: pointer;
    border: 0 none;
    padding: 0 20px;
    font-weight: bold;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.crm-btn-orange:hover {
    background-color: #e4a716;
    color: #FFF;
}

.crm-btn-orange.inactive,
.crm-btn-orange.inactive:hover {
    cursor: default;
    background-color: #805e0c;
    background-color: rgba(128, 94, 12, 0.9);
    color: #666;
}

.crm-btn-blue {
    background-color: #2aa1d3;
    color: #f8f6f3;
    font-size: 14px;
    height: 36px;
    line-height: 36px;
    text-transform: uppercase;
    cursor: pointer;
    border: 0 none;
    padding: 0 20px;
    font-weight: bold;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.crm-btn-blue:hover {
    background-color: #2693c0;
    color: #FFF;
}

.crm-btn-blue.inactive,
.crm-btn-blue.inactive:hover {
    cursor: default;
    background-color: #143e52;
    color: #51422e;
}

.crm-btn-red {
    background-color: #ee4e10;
    color: #f8f6f3;
    font-size: 14px;
    height: 36px;
    line-height: 36px;
    text-transform: uppercase;
    cursor: pointer;
    border: 0 none;
    padding: 0 20px;
    font-weight: bold;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.crm-btn-red:hover {
    background-color: #d2450e;
    color: #FFF;
}

.crm-btn-red.inactive,
.crm-btn-red.inactive:hover {
    cursor: default;
    background-color: #9e340b;
    background-color: rgba(158, 52, 11, 0.9);
    color: #666;
}

.crm-bnt-cont {
    display: table;
}

.crm-bnt-cont .crm-btn-green,
.crm-bnt-cont .crm-btn-red,
.crm-bnt-cont .crm-btn-orange,
.crm-bnt-cont .crm-btn-blue {
    display: table-cell;
}

.crm-bnt-cont div[class|="crm-btn"].lt {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 1px solid #444953;
}

.crm-bnt-cont div[class|="crm-btn"].rt {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.crm-bnt-cont div[class|="crm-btn"].md {
    border-radius: 0;
    border-right: 1px solid #444953;
}

/* ==================
    CRM horizontal panel bottom
===================== */
.crm-hpanel {
    position: fixed;
    width: 796px;
    top: auto;
    bottom: 0;
    left: 274px;
}

.crm-hpanel.collapsed {
    top: 100%;
    bottom: auto;
}

.crm-hpanel #crm-btm-panel-collapse-trigger {
    cursor: pointer;
}

.crm-hpanel .title {
    font-size: 14px;
    color: #ffffff;
    background-color: #525863;
    position: absolute;
    right: 0;
    top: -32px;
    width: 164px;
    text-align: center;
    font-weight: bold;
    height: 25px;
    padding-top: 7px;
    -webkit-border-radius: 0 8px 0 0;
    border-radius: 0 8px 0 0;
}

.crm-hpanel .title:before {
    content: "";
    position: absolute;
    left: -50px;
    top: 0;
    border-right: 50px solid #525863;
    border-top: 32px solid transparent;

}

.crm-hpanel .sections {
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.crm-hpanel.collapsed .sections {
    height: 0;
    overflow-y: hidden;
}

.crm-hpanel .sections:after {
    content: "";
    clear: both;
    height: 0;
    width: 0;
    overflow: hidden;
    visibility: hidden;
    display: block;
}

.crm-hpanel .sections > div {
    float: left;
    width: 264px;
    background-color: #444953;
    border-left: 1px solid #23252b;
    min-height: 280px;
}

.crm-hpanel .sections > div .sec-cont {
    padding: 7px;
    /*min-height: 240px;*/
}

.crm-hpanel .sections > div .sec-cont .sec-cont-sub-box {
    border: 1px solid #525863;
    padding: 4px;
    margin: 5px;
    transition: height 1.0s ease, border 0.5s ease;
    -webkit-transition: height 1.0s ease, border 0.5s ease;
    -moz-transition: height 1.0s ease, border 0.5s ease;
    -o-transition: height 1.0s ease, border 0.5s ease;
}

.crm-hpanel .sections > div .sec-cont .sec-cont-sub-box input[type="file"] {
    width: 220px;
}

.crm-hpanel .sections > div .sec-cont .sec-cont-sub-box .help-txt {
    color: #d9d9d9;
    font-size: 10px;
    padding: 3px 0 5px;
}

.crm-hpanel .sections > div .sec-cont .sec-cont-sub-box .info-txt {
    color: #e9e9e9;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
    width: 110px;
}

.crm-hpanel .sections > div .sec-cont .sec-cont-sub-box.hidden {
    overflow: hidden;
    border: 0px solid #525863;
    height: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.crm-hpanel .sections > div .sec-cont > div {
    margin-bottom: 3px;
}

.crm-hpanel .sections > div h2 {
    height: 25px;
    width: 100%;
    border-left: 1px solid #444953;
    background-color: #23252b;
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    margin: 0;
    padding: 7px 0 0;
}

.crm-hpanel .sections > div h3 {
    color: #ffffff;
    margin: 0;
    padding: 0;
    font-size: 13px;
    display: inline-block;
}

.crm-hpanel .sections > div.invoicing h3 {
    min-width: 150px;
}

.crm-hpanel .sections > div .sec-cont span.txt,
.crm-hpanel .sections > div .sec-cont label {
    color: #acacac;
    font-size: 13px;
    font-weight: bold;
    vertical-align: top;
    margin-left: 2px;
}

/* ==================
    CRM horizontal panel inline
===================== */
.crm-hpanel-inline {
    width: 780px;
    position: relative;
}

.crm-hpanel-inline .title {
    font-size: 16px;
    color: #ffffff;
    background-color: #525863;
    position: absolute;
    right: 0;
    top: -32px;
    width: 154px;
    text-align: center;
    font-weight: bold;
    height: 25px;
    padding-top: 7px;
    -webkit-border-radius: 0 8px 0 0;
    border-radius: 0 8px 0 0;
}

.crm-hpanel-inline .title:before {
    content: "";
    position: absolute;
    left: -50px;
    top: 0;
    border-right: 50px solid #525863;
    border-top: 32px solid transparent;

}

.crm-hpanel-inline .sections:after {
    content: "";
    clear: both;
    height: 0;
    width: 0;
    overflow: hidden;
    visibility: hidden;
    display: block;
}

.crm-hpanel-inline .sections > div {
    float: left;
    width: 260px;
    background-color: #444953;
}

.crm-hpanel-inline.two-cols .sections > div {
    float: left;
    width: 390px;
    background-color: #444953;
}

.crm-hpanel-inline .sections > div .sec-cont {
    border-left: 1px solid #23252b;
    padding: 7px;
    min-height: 30px;
}

.crm-hpanel-inline .sections > div .sec-cont .sec-cont-sub-box {
    border: 1px solid #525863;
    padding: 4px;
    margin: 5px;
    transition: height 1.0s ease, border 0.5s ease;
    -webkit-transition: height 1.0s ease, border 0.5s ease;
    -moz-transition: height 1.0s ease, border 0.5s ease;
    -o-transition: height 1.0s ease, border 0.5s ease;
}

.crm-hpanel-inline .sections > div .sec-cont .sec-cont-sub-box input[type="file"] {
    width: 220px;
}

.crm-hpanel-inline .sections > div .sec-cont .sec-cont-sub-box .help-txt {
    color: #d9d9d9;
    font-size: 10px;
    padding: 3px 0 5px;
}

.crm-hpanel-inline .sections > div .sec-cont .sec-cont-sub-box .info-txt {
    color: #e9e9e9;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
    width: 110px;
}

.crm-hpanel-inline .sections > div .sec-cont .sec-cont-sub-box.hidden {
    overflow: hidden;
    border: 0px solid #525863;
    height: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.crm-hpanel-inline .sections > div .sec-cont > div {
    margin-bottom: 3px;
    height: 25px;
}

.crm-hpanel-inline .sections > div h2 {
    height: 25px;
    width: 100%;
    border-left: 1px solid #444953;
    background-color: #23252b;
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    margin: 0;
    padding: 7px 0 0;
}

.crm-hpanel-inline .sections > div h3 {
    color: #ffffff;
    margin: 0;
    padding: 0;
    font-size: 13px;
    display: inline-block;
    vertical-align: super;
}

.crm-hpanel-inline .sections > div.invoicing h3 {
    min-width: 150px;
}

.crm-hpanel-inline .sections > div .sec-cont span.txt {
    color: #acacac;
    font-size: 13px;
    font-weight: bold;
}

/* ==================
    CRM overlay box css
===================== */
.crm-overlay {
    position: fixed;
    width: 0;
    height: 0;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    -webkit-transition: opacity 0.5s ease;
    -moz-transition: opacity 0.5s ease;
    -o-transition: opacity 0.5s ease;
    background-color: rgba(0, 0, 0, 0);
    display: none;
}

.crm-overlay.visible,
.ng-hide-remove .crm-overlay {
    display: block;
    width: 100%;
    height: 100%;
    z-index: 6000;
}

.crm-overlay.blackfocus {
    background-color: rgba(0, 0, 0, 0.62);
}

.crm-overlay.show-overlay,
:not(.ng-hide) .crm-overlay {
    opacity: 1;
}

.crm-overlay.loading {
    background: url(/public/img/loaders/loader_1_48x23tbl.GIF) center center no-repeat rgba(0, 0, 0, 0.4);
}

.crm-overlay .loading-txt {
    left: 50%;
    position: absolute;
    top: 50%;
    height: 0;
    width: 0;
    display: none;
}

.crm-overlay.loading.show-load-text .loading-txt {
    display: block;
}

.crm-overlay.loading .loading-txt div {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 1px 2px rgba(100, 100, 100, 1);
    position: relative;
    top: 15px;
    left: -150px;
    width: 300px;
}

.crm-spin-loader {
    background: url(/public/img/loaders/loader_1_48x23t.GIF) center center no-repeat;
    min-height: 100px;
    min-width: 100px;
}

.crm-spin-loader-26 {
    background: url(/public/img/loaders/loader_1_26x12.GIF) center center no-repeat;
    min-height: 12px;
    min-width: 26px;
}

.crm-spin-loader-26-gr {
    background: url(/public/img/loaders/loader_1_26x12gr.GIF) center center no-repeat;
    min-height: 12px;
    min-width: 26px;
}

.crm-dialog-box-cont {
    opacity: 0;
    transition: opacity 0.3s ease;
    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
}

.crm-dialog-box-cont.visible,
:not(.ng-hide) .crm-dialog-box-cont {
    opacity: 1;
}

.crm-dialog-box-cont > div > div {
    position: relative;
    min-width: 100px;
    min-height: 100px;
    background-color: #444953;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    padding-bottom: 1px;

    /*max-height: 1000px;*/
    -webkit-transition: all 1.3s ease;
    -moz-transition: all 1.3s ease;
    -o-transition: all 1.3s ease;
}

.crm-dialog-box-cont > div > div:after {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    height: 0;
}

.crm-dialog-box-cont.left-arrow > div > div:after {
    border-right: 8px solid #444953;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    top: 55px; /*20%;*/
    left: -5px;
    -webkit-transform: rotate(30deg);
    -moz-transform: rotate(30deg);
    -o-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    transform: rotate(30deg);
}

.crm-dialog-box-cont.right-arrow > div > div:after {
    border-left: 8px solid #444953;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    top: 20%;
    right: -5px;
    -webkit-transform: rotate(-30deg);
    -moz-transform: rotate(-30deg);
    -o-transform: rotate(-30deg);
    -ms-transform: rotate(-30deg);
    transform: rotate(-30deg);
}

.crm-dialog-box-cont.top-arrow > div > div:after {
    border-bottom: 8px solid #444953;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    top: -8px;
    left: 20%;
}

.crm-dialog-box-cont.bottom-arrow > div > div:after {
    border-top: 8px solid #444953;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    bottom: -8px;
    left: 20%;
}

.crm-dialog-box-cont.info-box {
    position: absolute;
}

.crm-dialog-box-cont.center {
    display: table;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 7000;
}

.crm-dialog-box-cont.center > div {
    display: table-cell;
    vertical-align: middle;
}

.crm-dialog-box-cont.center > div > div {
    margin-left: auto;
    margin-right: auto;
    width: 140px;
}

.crm-dialog-box-cont .box-header {
    height: 40px;
    padding: 0 10px 0 20px;
}

.crm-dialog-box-cont .box-header .title {
    font-size: 16px;
    color: #ffffff;
    font-weight: bold;
    line-height: 40px;
    float: left;
}

.crm-dialog-box-cont .box-header:after {
    content: "";
    clear: both;
    display: block;
    width: 0;
    height: 0;
}

.crm-dialog-box-cont .box-header .close-bt {
    background: url(/public/img/icons/close/crm_close.png) center center no-repeat;
    float: right;
    width: 16px;
    height: 16px;
    margin-top: 12px;
    cursor: pointer;
}

.crm-dialog-box-cont .box-content {
    margin: 0 10px;
    color: #fff;
    font-size: 12px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}

.crm-dialog-box-cont .box-actions {
    margin: 5px 10px 4px;
}

.crm-dialog-box-cont .box-actions:after {
    content: "";
    clear: both;
    width: 0;
    height: 0;
    display: block;
}

.crm-dialog-box-cont .box-actions .box-btn {
    float: right;
    margin-left: 4px;
    display: none;
}

.crm-dialog-box-cont .box-actions.left-float .box-btn {
    float: left;
    margin-left: 0;
    margin-right: 4px;
}

.crm-dialog-box-cont .box-actions .box-btn.visible {
    display: block;
}

/* infor overlay box css */
.crm-dialog-box-cont.info-box .box-content {
    background-color: #23252b;
    min-height: 50px;
    padding: 5px;
    margin-bottom: 9px;
}

.crm-dialog-box-cont.info-box .box-actions,
.crm-dialog-box-cont.info-box .close-bt {
    display: none;
}

.crm-dialog-box-cont .box-flx-actions {
    margin: 5px 10px 4px;
    display: flex;
    flex-direction: row-reverse;
}

.crm-dialog-box-cont .box-flx-actions .box-btn {
    margin: 0 2px;
}

.crm-dialog-box-cont .box-flx-actions .box-btn.inactive {

}

/* ==================
    CRM vertcal panel css
===================== */
.crm-vpanel {
    background-color: #444953;
    padding: 7px 0;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    min-width: 150px;
}

.crm-vpanel h4 {
    font-size: 16px;
    color: #ffffff;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
    text-align: center;
}

.crm-vpanel section.vpanel-section {
    position: relative;
    padding-top: 30px;
    margin-top: 3px;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.crm-vpanel section.vpanel-section.collapsed {
    height: 0;
    overflow: hidden;
}

.crm-vpanel section.vpanel-section .header {
    background-color: #23252b;
    position: absolute;
    top: 0;
    line-height: 30px;
    left: 0;
    font-size: 13px;
    color: #fff;
    width: 95%;
    padding-left: 5%;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.crm-vpanel section.vpanel-section .header:after {
    content: "";
    position: absolute;
    right: 3%;
    top: 45%;
    border-top: 8px solid #fff;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.crm-vpanel section.vpanel-section.collapsed .header:after {
    border-left: 8px solid #fff;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.crm-vpanel section.vpanel-section .input-cont {
    margin: 5px 7px 5px 0;
}

.crm-vpanel section.vpanel-section .input-cont .label {
    float: left;
    padding-left: 10px;
    color: #fff;
    font-size: 13px;
    line-height: 23px;
}

.crm-vpanel section.vpanel-section .input-cont .value {
    float: right;
    padding-top: 2px;
}
.crm-vpanel section.vpanel-section .input-cont .value.rows-view {
    text-align: right;
}
.crm-vpanel section.vpanel-section .input-cont .value.rows-view > label{
    display: block;
}

.crm-vpanel section.vpanel-section .input-cont:after {
    content: "";
    clear: both;
    display: block;
}

.crm-vpanel section.vpanel-section .input-cont .vpanel-inline-radio {
    color: #fff;
    font-size: 12px;
    line-height: 24px;
}

.crm-vpanel section.vpanel-section .input-cont .vpanel-inline-radio input[type="radio"] {
    display: inline;
    vertical-align: middle;
    margin-top: 0;
}

.crm-vpanel .crm-btn-green,
.crm-vpanel .crm-btn-red,
.crm-vpanel .crm-btn-orange,
.crm-vpanel .crm-btn-blue {
    text-align: center;
    margin: 4px 7px 0 7px;
}

/* ==================
    CRM input fields
===================== */
.crm-select select {
    background: transparent;
    width: 170px;
    padding: 1px 2px 2px 2px;
    text-align: left;
    font-size: 12px;
    color: #fff;
    line-height: 1;
    border: 0;
    border-radius: 0;
    height: 23px;
    -webkit-appearance: none;
}

.crm-select option, .crm-select optgroup {
    background-color: #333;
}

.crm-select {
    width: 155px;
    height: 23px;
    overflow: hidden;
    background: url(/public/img/icons/crm_input/select_arrow.png) no-repeat right #23252b;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    position: relative;
}

.crm-date {
    background-color: #23252b;
    cursor: pointer;
    padding: 2px 0 2px 4px;
    border: 1px solid #111215;
    display: inline-block;
    width: 137px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    margin: 10px 0 4px 12px;
}

.crm-date span {
    color: #fff;
    font-size: 11px;
}

.crm-date .caret,
.crm-date .glyphicon-calendar:before {
    color: #fff;
}

.crm-date .crm-input[type="text"] {
    display: inline-block;
    width: 98px;
    padding: 0 2px;
}

input.crm-input[type="password"]:disabled,
input.crm-input[type="password"][readonly],
input.crm-input[type="text"]:disabled,
input.crm-input[type="text"][readonly],
input.crm-input[type="email"]:disabled,
input.crm-input[type="email"][readonly],
input.crm-input[type="number"]:disabled,
input.crm-input[type="number"][readonly],
input.crm-input[type="range"]:disabled,
input.crm-input[type="range"][readonly] {
    background-color: #4d4d4d;
    color: #888;
    border: 1px solid #4d4d4d;
}


input.crm-checkbox[type=checkbox] {
    visibility: hidden;
}

input.crm-checkbox[type=checkbox] + label {
    position: relative;
    cursor: pointer;
    /*text-shadow: 0.5px 0.5px rgba(200,200,200, 0.4);*/
    font-weight: normal;
}

input.crm-checkbox.bg-black[type=checkbox] + label {
    color: #fff;
    font-weight: normal;
    padding-left: 6px;
}

input.crm-checkbox[type=checkbox] + label:after {
    content: "";
    display: block;
    position: absolute;
    width: 12px;
    height: 12px;
    left: -16px;
    top: -9px;
    font-size: 15px;
    line-height: 14px;
    vertical-align: middle;
    padding: 2px;

    -webkit-box-shadow: inset 1px 1px 4px white, 1px 1px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 1px 1px 4px white, 1px 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 4px white inset, 1px 1px 2px rgba(0, 0, 0, 0.2);

    border: 1px solid rgba(125, 125, 125, 0.8);
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

input.crm-checkbox.bg-black[type=checkbox] + label:after {
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-box-shadow: inset 1px 1px 4px #666, 1px 1px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 1px 1px 4px #666, 1px 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 4px #666 inset, 1px 1px 2px rgba(0, 0, 0, 0.2);

    border: 1px solid rgba(20, 20, 20, 0.8);
    top: -3px;
}

input.crm-checkbox[type=checkbox]:checked + label:after {
    content: "\2714";
    color: #333;
    text-shadow: 0.5px 0.5px rgba(200, 200, 200, 0.7);

    -webkit-box-shadow: inset 1px 1px 4px rgba(255, 255, 255, 0.4), 1px 1px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 1px 1px 4px rgba(255, 255, 255, 0.4), 1px 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 4px rgba(255, 255, 255, 0.4) inset, 1px 1px 2px rgba(0, 0, 0, 0.2);
}

label.crm-radio {
    color: #fff;
    font-size: 12px;
    line-height: 24px;
}


.crm-date-range {
    background-color: #23252b;
    cursor: pointer;
    padding: 2px 2px;
    border: 1px solid #111215
}

.crm-date-range span {
    color: #fff;
    font-size: 11px;
}

.crm-date-range .caret,
.crm-date-range .glyphicon-calendar:before {
    color: #fff;
}

input.crm-input[type="text"],
input.crm-input[type="password"],
input.crm-input[type="email"],
input.crm-input[type="number"],
input.crm-input[type="range"] {
    background-color: #23252b;
    border: 1px solid #23252b;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    height: 22px;
    padding: 0 4px;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
}

.crm-input[type="text"].fld-valid,
.crm-input[type="email"].fld-valid,
.crm-input[type="number"].fld-valid,
.crm-input[type="password"].fld-valid,
.crm-input[type="range"].fld-valid {
    border: 1px solid green;
}

.crm-input[type="text"].fld-not-valid,
.crm-input[type="email"].fld-not-valid,
.crm-input[type="number"].fld-not-valid,
.crm-input[type="password"].fld-not-valid,
.crm-input[type="range"].fld-not-valid {
    border: 1px solid red;
}

input.crm-input[type="file"] {
    width: 200px;
}

textarea.crm-input {
    background-color: #23252b;
    border: 1px solid #23252b;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    min-height: 150px;
    padding: 0 4px;
    width: calc(100% - 20px);
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
}

.crm-label {
    color: #fff;
    font-size: 14px;
    line-height: 23px;
}

/* bootstrap multi select  css */
.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    background-color: #6f7787;
}

.customer_db .btn-group > .btn, .btn-group-vertical > .btn {
    width: 130px !important;
    text-align: right;
}

.btn-default, .btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default,
button.btn-default, button.btn-default:hover, button.btn-default:focus, button.btn-default:active, button.btn-default.active, .open button.dropdown-toggle.btn-default {
    background-color: #23252b;
    border-color: #111215;
    color: #FFF;
    background-image: none;
    box-shadow: none;
}

.crm-radio label {
    font-size: 12px;
    line-height: 14px;
    padding: 0 3px;
}

.crm-radio input[type="radio"] {
    line-height: 14px;
    vertical-align: sub;
}


.crm-switch {
    position: relative;
    width: 50px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.crm-switch input[type="checkbox"] {
    display: none;
}

.crm-switch label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #999999;
    border-radius: 14px;
    margin-bottom: 0;
}

.crm-switch .inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

.crm-switch .inner:before, .crm-switch .inner:after {
    display: block;
    float: left;
    width: 50%;
    height: 18px;
    padding: 0;
    line-height: 18px;
    font-size: 11px;
    color: white;
    font-family: "Glyphicons Halflings", Arial, sans-serif;
    font-weight: normal;
    box-sizing: border-box;
}

.crm-switch .inner:before {
    content: "\e017";
    padding-left: 10px;
    background-color: #34A7C1;
    color: #FFFFFF;
}

.crm-switch .inner:after {
    content: "\e017";
    padding-right: 10px;
    font-weight: normal;
    background-color: #9E9292;
    color: #E6DDDD;
    text-align: right;
}

.crm-switch .switch {
    display: block;
    width: 26px;
    margin: -2px;
    background: #E6E1E1;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 33px;
    border: 2px solid #999999;
    border-radius: 14px;
    transition: all 0.3s ease-in 0s;
}

.crm-switch input[type="checkbox"]:checked + label .inner {
    margin-left: 0;
}

.crm-switch input[type="checkbox"]:checked + label .switch {
    right: 0px;
}

/* ==================
    CRM Icons css sprites
===================== */
.info-icon-sprite {
    width: 15px;
    height: 15px;
    background: url(../img/icons/info/blue_info_sprite.png) top left no-repeat;
}

.info-icon-sprite:hover {
    background-position: top right;
    cursor: pointer;
}

.lookup-icon-sprite {
    width: 16px;
    height: 16px;
    background: url(../img/icons/lookup/lookup_16x32.png) top left no-repeat;
}

.lookup-icon-sprite:hover {
    background-position: top right;
    cursor: pointer;
}

.del-icon-sprite {
    width: 16px;
    height: 16px;
    background: url(../img/icons/delete/delete16x16hsprite.png) top left no-repeat;
}

.del-icon-sprite:hover {
    background-position: top right;
    cursor: pointer;
}

.edit-icon-sprite {
    width: 16px;
    height: 16px;
    background: url(../img/icons/edit/edit_16x16hsprite.png) top left no-repeat;
}

.edit-icon-sprite:hover {
    background-position: top right;
    cursor: pointer;
}

/* ==================
    CRM cssIcons css (icons based with css)
===================== */
.css-icon, .css-icon-hover {
    position: relative;
}

.css-icon:after, .css-icon-hover:after {
    position: absolute;
    /*left: 50%;*/
    top: 0;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    font-size: 12px;
    font-family: "Glyphicons Halflings";
    font-weight: bold;
    display: inline-block;
    cursor: pointer;
}

.css-icon-hover:after {
    opacity: 0;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.css-icon-hover:hover:after {
    opacity: 1;
}

.css-icon-remove:after {
    content: '\e014';
    color: #333;
}

.css-icon-remove:hover:after {
    color: red;
}

.css-icon-plus:after {
    content: "\2b";
    color: #333;
}

.css-icon-plus:hover:after {
    color: green;
}

.css-icon-minus:after {
    content: "\2212";
    color: #333;
}

.css-icon-minus:hover:after {
    color: green;
}

.css-icon-edit:after {
    content: "\270f";
    color: #333;
}

.css-icon-edit:hover:after {
    color: blue;
}

.css-icon-play:after {
    content: "\e072";
    color: #333;
}

.css-icon-play:hover:after {
    color: #f0b017;
}

.css-icon-pause:after {
    content: "\e073";
    color: #333;
}

.css-icon-pause:hover:after {
    color: #8ab71b;
}

.css-icon-info:after {
    content: "\e086";
    color: rgba(65, 156, 186, 0.8);
}

.css-icon-info:hover:after {
    color: rgba(0, 174, 232, 1);
}

.css-icon-comment:after {
    content: "\e111";
    color: rgba(100, 100, 100, 0.8);
    text-shadow: 0.5px 0.5px 0.5px rgba(0, 0, 0, 0.8);
}

.css-icon-comment.empty:after {
    color: rgba(150, 150, 150, 0.4);
    text-shadow: 0.5px 0.5px 0.5px rgba(0, 0, 0, 0.4);
}

.css-icon-comment:hover:after {
    color: rgba(230, 180, 150, 0.9);
}

.css-icon-left-arrow:after {
    content: "\e079";
    color: rgba(65, 156, 186, 0.8);
}

.css-icon-left-arrow:hover:after {
    color: rgba(0, 174, 232, 1);
}

.css-icon-right-arrow:after {
    content: "\e080";
    color: rgba(65, 156, 186, 0.8);
}

.css-icon-right-arrow:hover:after {
    color: rgba(0, 174, 232, 1);
}

/* ==================
    CRM table css
===================== */
table.crm-table-header {
    width: 100%;
}

.crm-table tbody {
    display: block;
    width: 100%;
    /*max-height: 320px;*/
    overflow-y: auto;
}

.crm-table-header {
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    background-color: #f7f7f7;
    height: 35px;
    padding-top: 5px;
    line-height: 16px;
    font-size: 13px;
    font-weight: bold;
    color: #525863;
}

.crm-table-header tr th {
    padding: 0 10px;
}

.crm-table-header tr th:first-child {
    padding-left: 7px;
}

table.crm-table {
    width: 100%;
}

.crm-table tr {
    border-bottom: 1px solid #dddddd;
    /*background-color:#f1f0f0;*/
}

.crm-table-2 {
    width: 100%;
}

h2 + div > .crm-table-2,
h5 + div > .crm-table-2 {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

h2 + div table.crm-table-2 tr:first-child td:first-child,
h5 + div table.crm-table-2 tr:first-child td:first-child {
    -moz-border-radius-topleft: 5px;
    -webkit-border-top-left-radius: 5px;
    border-top-left-radius: 5px
}

h2 + div table.crm-table-2 tr:first-child td:last-child,
h5 + div table.crm-table-2 tr:first-child td:last-child {
    -moz-border-radius-topright: 5px;
    -webkit-border-top-right-radius: 5px;
    border-top-right-radius: 5px
}

h2 + div table.crm-table-2 tr:last-child td:first-child,
h5 + div table.crm-table-2 tr:last-child td:first-child {
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-bottom-left-radius: 5px;
    border-bottom-left-radius: 5px
}

h2 + div table.crm-table-2 tr:last-child td:last-child,
h5 + div table.crm-table-2 tr:last-child td:last-child {
    -moz-border-radius-bottomright: 5px;
    -webkit-border-bottom-right-radius: 5px;
    border-bottom-right-radius: 5px
}

.crm-table > tbody > tr > td,
.crm-table-2 > tbody > tr > td {

    white-space: nowrap;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    color: #525863;
    vertical-align: top;
    padding: 0 10px;
}

.crm-table tr > td {
    /*display: inline-block;*/
}

.crm-table.zebra tr.row-1 td,
.crm-table-2.zebra tr.row-1 td {
    background-color: #d9d9d9;
    color: #464c55;
}

.crm-table tr.header:first-child td,
.crm-table-2 tr.header:first-child td {
    background-color: #282a2f;
}

.crm-table tr.header > td,
.crm-table-2 tr.header > td {
    color: #f8f6f3;
    font-weight: bold;
    font-size: 12px;
    padding-bottom: 2px;
}

.crm-table tr:not(:first-child):hover,
.crm-table-2 tr:not(:first-child):hover {
    background-color: #c0c0c0;
}

/*.crm-table tr.header:hover,
.crm-table-2 tr.header:hover{
    background-color: #282a2f;
}*/
.crm-table tr td:first-child,
.crm-table-1 tr td:first-child {
    padding-left: 7px;
}

/*.crm-table-2 tr > td:first-child{
    width: 30%;
} not sure why evry table should that much of space*/
/* ==================
    END CRM table css
===================== */

/* ==================
    CRM DIV table css
===================== */
div.crm-table-header {
    width: 100%;
    display: block;
}

div.crm-table-header:after {
    content: "";
    display: block;
    clear: both;
}

div.crm-table-header > div {
    display: inline-block;
    vertical-align: top;
    padding: 0 0 0 10px;
}

div.crm-table-header {
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    background-color: #f7f7f7;
    height: 35px;
    padding-top: 5px;
    line-height: 16px;
    font-size: 13px;
    font-weight: bold;
    color: #525863;
}

div.crm-table-header > div:first-child {
    padding-left: 7px;
}


div.crm-table {
    display: block;
    width: 100%;
    overflow-y: auto;
}

div.crm-table div.crm-row {
    border-bottom: 1px solid #dddddd;
}

div.crm-table div[class|="col"] {
    white-space: nowrap;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    color: #525863;
    vertical-align: top;
    padding: 0 0 0 10px;
}

div.crm-table div[class|="col"] {
    display: inline-block;
}

div.crm-table.zebra div.row-1 {
    background-color: #d9d9d9;
    color: #464c55;
}

div.crm-table div.crm-row:hover {
    background-color: #c0c0c0;
}

div.crm-table div[class|="col"]:first-child {
    padding-left: 7px;
}

/* ==================
    END CRM table css
===================== */
/* ==================
    CRM flex table css
===================== */
.crm-flex-tbl-scrl-cont .mCSB_inside > .mCSB_container {
    margin-right: 0;
}

div.crm-flex-table-header {
    display: flex;
    flex-direction: row;
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    background-color: #f7f7f7;
    height: 35px;
    padding-top: 5px;
    line-height: 16px;
    font-size: 13px;
    font-weight: bold;
    color: #525863;
}

div.crm-flex-table-header > div {
    padding: 0 0 0 10px;
}

div.crm-flex-table {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #ccc;
}

div.crm-flex-table:hover {
    background-color: #c0c0c0;
    border-bottom: 1px solid #aaa;
}

div.crm-flex-table:hover div[class|="col"] {
    color: #fff;
}

/* TODO -o Mantas -p 10 -c move from row-0/1 css to nth child:  something */
div.crm-flex-table.row-1,
.crm-flex-table-zebra div.crm-flex-table:nth-child(2n) { /*:nth-child(2n)*/
    background-color: #d9d9d9;
    color: #464c55;
}

div.crm-flex-table > div[class|="col"] {
    white-space: nowrap;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    color: #525863;
    vertical-align: top;
    padding: 0 0 0 10px;
}

div.crm-flex-table-header > div:first-child,
div.crm-flex-table > div:first-child {
    padding-left: 7px;
}

div.crm-flex-table-header > div:last-child,
div.crm-flex-table > div:last-child {
    padding-right: 15px;
}

/* ==================
    END CRM flex table css
===================== */
/* ==================
    CRM flex table 2 css
===================== */
.crm-flex-tbl2-header {
    background-color: #282a2f;
    color: #f8f6f3;
    font-weight: bold;
    font-size: 13px;
    height: 22px;
    line-height: 22px;
    vertical-align: top;
    white-space: nowrap;

    display: flex;
    flex-direction: row;
    border-radius: 4px 4px 0 0;
}

.crm-flex-tbl2-header > div:first-child {
    padding-left: 7px;
}

.crm-flex-tbl2 {
    /*overflow: auto;*/
}

.crm-flex-tbl2 div.flex-row {
    color: #525863;
    font-size: 12px;
    height: 30px;
    line-height: 30px;
    padding-left: 7px;
    vertical-align: top;
    white-space: nowrap;
    background-color: #fff;

    display: flex;
    flex-direction: row;
}

.crm-flex-tbl2 div.flex-row:hover {
    background-color: #888;
    color: #fff;
}

.crm-flex-tbl2.zebra div.flex-row:nth-child(2n) {
    background-color: #c0c0c0;
}

.crm-flex-tbl2 > .flex-row.sub,
.crm-flex-tbl2 > .flex-row.sub:hover {
    border: 1px solid #666;
    margin: 0 1px 0 2px;
    display: block;
    height: auto;
    padding-left: 3px;
    background-color: #006600 !important;
    transition: all 0.2s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    max-height: 0;
    overflow: hidden;
}

.crm-flex-tbl2 > .flex-row.sub.visible {
    max-height: 1500px;
}

/* ==================
    CRM tabs css
===================== */
.crm-tabs {
    margin: 0;
    padding: 0;
    display: table;
    width: 100%;
    -webkit-border-radius: 10px 10px 0 0;
    -moz-border-radius: 10px 10px 0 0;
    border-radius: 10px 10px 0 0;
    border-bottom: 2px solid #8ab71b;
    display: flex;
    flex-direction: row;
}

.crm-tabs.level-1 {
    border-bottom: 2px solid #474a53;
}

.crm-tabs li.crm-tab {
    list-style: outside none none;
    /*display:table-cell;*/
    display: block;
    position: relative;
    flex-grow: 1;
    white-space: nowrap;
    font-size: 16px;
    line-height: 40px;
    height: 35px;
    font-weight: normal;
    text-align: center;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;

    -webkit-border-radius: 10px 10px 0 0;
    -moz-border-radius: 10px 10px 0 0;
    border-radius: 10px 10px 0 0;
    margin: 5px 1px 0 1px;
    background-color: #595c65;
}

.crm-tabs li.crm-tab:first-child {
    margin-left: 0;
}

.crm-tabs li.crm-tab:last-child {
    margin-right: 0;
}

.crm-tabs li.crm-tab a, .crm-tabs li.crm-tab a:visited {
    text-decoration: none;
    letter-spacing: 0.5px;
}

.crm-tabs-content.black {
    width: 100%;
}

.crm-tabs.black li.crm-tab a {
    color: #e3e3e3;
    display: block;
    text-align: center;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.crm-tabs.black li.crm-tab.active a {
    color: #fff;
}

.crm-tabs.black li.crm-tab.active {
    background-color: #8ab71b;
    height: 40px;
    margin-top: 0;
}

.crm-tabs.level-1 li.active.crm-tab {
    background-color: #282a2f;
    color: #fff;
    font-weight: bold;
}

.crm-tabs.black li.crm-tab.active:after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    bottom: -2px;
    border-left: 9px solid #474a53;
    border-top: 9px solid transparent;
    width: 0;
    height: 0;
}

.crm-tabs.black li.crm-tab.active:before {
    content: "";
    display: block;
    position: absolute;
    right: 50%;
    bottom: -2px;
    border-right: 9px solid #474a53;
    border-top: 9px solid transparent;
    width: 0;
    height: 0;
}

.crm-tabs.level-2 {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border-bottom: 2px solid #8ab71b;
    position: relative;
    height: 30px;
}

.crm-tabs.level-2 li.crm-tab {
    -webkit-border-radius: 10px 10px 0 0;
    -moz-border-radius: 10px 10px 0 0;
    border-radius: 10px 10px 0 0;
    font-size: 14px;
    font-weight: normal;
    height: 30px;
    /*position: absolute;*/
    line-height: 30px;
    top: -5px;
}

.crm-tabs.level-2 li.active.crm-tab {
    height: 35px;
    top: -5px;
    /*font-weight: bold;*/
}


/*.crm-tabs.level-2,
.crm-tabs-content.level-2,
.crm-tabs.level-2,
.crm-tabs-content.level-2{
    border: 0 none;
}
.crm-tabs.level-2{
    border-top: 1px solid #565c68;
}*/
/*
    CRM top menu css
*/
.crm-menu-item:not(.active) {
    display: block !important;
    position: absolute !important;
    top: -9999px;
    left: -9999px;
}


/*============================================
    CRM inline action panel css
============================================*/
.crm-action-box {
    background-color: #454954;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    padding: 10px 10px 10px 10px;
}

.crm-action-box h5 {
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    margin-top: 0;
    margin-bottom: 4px;
    margin-left: 2px;
}

.crm-action-box .crm-action-cont {
    display: table;
}

.crm-action-box .crm-action-cont > div.crm-action {
    display: table-cell;
    padding: 2px;
    border: 1px solid #454954;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    cursor: pointer;
}

.crm-action-box .crm-action-cont > div.crm-action img {
    display: block;
}

.crm-action-box .crm-action-cont > div.crm-action:hover {
    border: 1px solid #ddd;
}

/* ==================
    CRM info box css
===================== */
.crm-info-box {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 7500;
    background-color: #444953;
    border: 3px solid #595c65;
    border: 3px solid rgba(89, 92, 101, 0.8);
    -moz-background-clip: padding; /* Firefox 3.6 */
    -webkit-background-clip: padding; /* Safari 4? Chrome 6? */
    background-clip: padding-box; /* Firefox 4, Safari 5, Opera 10, IE 9 */
    padding: 7px;
    border-radius: 5px;
    display: none;
    opacity: 0;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.crm-info-box.active {
    opacity: 1;
    display: block;
}

.crm-info-box.fadeout {
    opacity: 0;
}

.crm-info-box .controls {
    padding-top: 2px;
    text-align: right;
}

.crm-info-box .controls .box-btn {
    border-radius: 3px;
    display: inline-block;
    font-size: 11px;
    height: 16px;
    line-height: 16px;
    padding: 0 5px;
    margin-left: 5px;
}

.crm-info-box .overlay {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.crm-info-box.loading .overlay {
    display: block;
}

/* ==================
    CRM edit fld css
===================== */
.crm-fld-txt {
    min-width: 10px;
    min-height: 14px;
    display: inline-block;
}

.crm-fld-edit-radio {
    color: #fff;
}

.crm-fld-edit-radio h6 {
    font-weight: bold;
    font-size: 14px;
    margin: 0;
}

.crm-fld-edit-radio .fld-radio-wrp {
    height: 18px;
}

.crm-fld-edit-radio label {
    line-height: 12px;
    font-size: 12px;
    margin-left: 2px;
}

.crm-fld-edit-radio input {
    vertical-align: sub;
}

.crm-fld-edit-group-select {
    color: #fff;
}

.crm-fld-edit-group-select .select-grps-cont {
    white-space: normal;

}

.crm-fld-edit-group-select .select-grps-cont .sgrp-cont {
    margin: 4px 4px 0 0;
    border: 1px solid #666;
    display: inline-block;
    border-radius: 6px;
    line-height: 12px;
    padding: 6px 2px;
    position: relative;
}

.crm-fld-edit-group-select .select-grps-cont .sgrp-cont > div {
    display: inline-block;
    margin-left: 5px;
    height: 12px;
}

.crm-fld-edit-group-select .select-grps-cont .sgrp-cont > div.css-icon {
    display: inline-block;
    height: 8px;
    vertical-align: super;
    width: 15px;
}

.crm-fld-edit-group-select .new-choice-cont {
    line-height: 14px;
    position: relative;
}

.crm-fld-edit-group-select .new-choice-cont > div {
    display: inline-block;
    margin-left: 5px;
}

.crm-fld-edit-group-select .new-choice-cont > div.css-icon {
    width: 15px;
    height: 36px;
}

.crm-fld-edit-group-select .new-choice-cont > div:first-child {
    margin-left: 0;
}

.crm-fld-edit-group-select .new-choice-cont h6 {
    margin: 4px 0 2px 1px;
}

.crm-fld-edit-group-select h4 {
    margin: 0;
}

.crm-fld-edit-group-select .crm-select {
    display: inline-block;
}


/* ==================
    CRM datetime pick xdsoft overrides
===================== */
.xdsoft_datetimepicker.xdsoft_dark {
    background: #444953 none repeat scroll 0 0;
    border-color: #666 #666 #888;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 5px 15px -5px rgba(5, 5, 5, 0.506);
    color: #ddd;
}

.xdsoft_datetimepicker.xdsoft_dark .xdsoft_label {
    background-color: #444953;
}

.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar th {
    background: #111 none repeat scroll 0 0;
}

.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td {
    background: #23252b none repeat scroll 0 0;
    border: 1px solid #222;
    color: #fff;
}

.xdsoft_datetimepicker.xdsoft_dark .xdsoft_label > .xdsoft_select {
    background: #111 none repeat scroll 0 0;
    border: 1px solid #333;
}

/* multiselect search css tuneup .*/
.multiselect-container .input-group {
    margin: 0;
}

input.form-control.multiselect-search {
    height: 15px;
}

.input-group-addon {
    padding: 0px 10px;
}

.filter .btn {
    padding: 1px 3px 2px;
}

.multiselect-container .btn-default,
.multiselect-container .btn-default:hover,
.multiselect-container .btn-default:focus,
.multiselect-container .btn-default:active,
.multiselect-container .btn-default.active, .open .dropdown-toggle.btn-default {
    background-color: #fff;
    border-color: #ccc;
    color: #333;
}

.form-control.multiselect-search {
    width: 90% !important;
}

/* report common css */
.legend {
    border: 1px solid rgba(125, 125, 125, 0.3);
    padding: 8px 0;
    display: inline-block;
    width: 100%;
}

.legend > div {
    float: left;
}

.legend > div:before {
    border: 1px solid #666;
    content: "";
    display: block;
    height: 14px;
    left: 10px;
    position: absolute;
    top: 1px;
    width: 14px;
}

.legend > div {
    float: left;
    font-size: 14px;
    line-height: 18px;
    padding-left: 30px;
    position: relative;
}

/* coloring legend based que number */
/* green->blue colors */
.legend .legend-title-0:before,
.legend .legend-title-0 label:hover:after {
    background-color: rgba(0, 255, 168, 0.6);
}

.legend .legend-title-0 input[type=checkbox]:checked + label:after {
    background-color: rgba(0, 255, 168, 1);
}

.legend .legend-title-1:before,
.legend .legend-title-1 label:hover:after {
    background-color: rgba(160, 253, 220, 0.6);
}

.legend .legend-title-1 input[type=checkbox]:checked + label:after {
    background-color: rgba(160, 253, 220, 1);
}

.legend .legend-title-2:before,
.legend .legend-title-2 label:hover:after {
    background-color: rgba(0, 115, 76, 0.6);
}

.legend .legend-title-2 input[type=checkbox]:checked + label:after {
    background-color: rgba(0, 115, 76, 1);
}

/* green colors */
.legend .legend-title-3:before,
.legend .legend-title-3 label:hover:after {
    background-color: rgba(0, 255, 0, 0.6);
}

.legend .legend-title-3 input[type=checkbox]:checked + label:after {
    background-color: rgba(0, 255, 0, 1);
}

.legend .legend-title-4:before,
.legend .legend-title-4 label:hover:after {
    background-color: rgba(160, 255, 220, 0.6);
}

.legend .legend-title-4 input[type=checkbox]:checked + label:after {
    background-color: rgba(160, 255, 220, 1);
}

.legend .legend-title-5:before,
.legend .legend-title-5 label:hover:after {
    background-color: rgba(0, 113, 0, 0.6);
}

.legend .legend-title-5 input[type=checkbox]:checked + label:after {
    background-color: rgba(0, 113, 0, 1);
}

/* green->yellow colors */
.legend .legend-title-6:before,
.legend .legend-title-6 label:hover:after {
    background-color: rgba(180, 255, 0, 0.6);
}

.legend .legend-title-6 input[type=checkbox]:checked + label:after {
    background-color: rgba(180, 255, 0, 1);
}

.legend .legend-title-7:before,
.legend .legend-title-7 label:hover:after {
    background-color: rgba(224, 255, 149, 0.6);
}

.legend .legend-title-7 input[type=checkbox]:checked + label:after {
    background-color: rgba(224, 255, 149, 1);
}

.legend .legend-title-8:before,
.legend .legend-title-8 label:hover:after {
    background-color: rgba(94, 133, 0, 0.6);
}

.legend .legend-title-8 input[type=checkbox]:checked + label:after {
    background-color: rgba(94, 133, 0, 1);
}

/* yellow colors */
.legend .legend-title-9:before,
.legend .legend-title-9 label:hover:after {
    background-color: rgba(255, 255, 0, 0.6);
}

.legend .legend-title-9 input[type=checkbox]:checked + label:after {
    background-color: rgba(255, 255, 0, 1);
}

.legend .legend-title-10:before,
.legend .legend-title-10 label:hover:after {
    background-color: rgba(254, 255, 152, 0.6);
}

.legend .legend-title-10 input[type=checkbox]:checked + label:after {
    background-color: rgba(254, 255, 152, 1);
}

.legend .legend-title-11:before,
.legend .legend-title-11 label:hover:after {
    background-color: rgba(134, 136, 0, 0.6);
}

.legend .legend-title-11 input[type=checkbox]:checked + label:after {
    background-color: rgba(134, 136, 0, 1);
}

/* red colors */
.legend .legend-title-12:before,
.legend .legend-title-12 label:hover:after {
    background-color: rgba(255, 0, 0, 0.6);
}

.legend .legend-title-12 input[type=checkbox]:checked + label:after {
    background-color: rgba(255, 0, 0, 1);
}

.legend .legend-title-13:before,
.legend .legend-title-13 label:hover:after {
    background-color: rgba(255, 149, 149, 0.6);
}

.legend .legend-title-13 input[type=checkbox]:checked + label:after {
    background-color: rgba(255, 149, 149, 1);
}

.legend .legend-title-14:before,
.legend .legend-title-14 label:hover:after {
    background-color: rgba(143, 0, 0, 0.6);
}

.legend .legend-title-14 input[type=checkbox]:checked + label:after {
    background-color: rgba(143, 0, 0, 1);
}


/* pink colors */
.legend .legend-title-15:before,
.legend .legend-title-15 label:hover:after {
    background-color: rgba(255, 0, 234, 0.6);
}

.legend .legend-title-15 input[type=checkbox]:checked + label:after {
    background-color: rgba(255, 0, 234, 1);
}

.legend .legend-title-16:before,
.legend .legend-title-16 label:hover:after {
    background-color: rgba(255, 142, 246, 0.6);
}

.legend .legend-title-16 input[type=checkbox]:checked + label:after {
    background-color: rgba(255, 142, 246, 1);
}

.legend .legend-title-17:before,
.legend .legend-title-17 label:hover:after {
    background-color: rgba(132, 0, 121, 0.6);
}

.legend .legend-title-17 input[type=checkbox]:checked + label:after {
    background-color: rgba(132, 0, 121, 1);
}


/* pink colors */
.legend .legend-title-18:before,
.legend .legend-title-18 label:hover:after {
    background-color: rgba(255, 0, 192, 0.6);
}

.legend .legend-title-18 input[type=checkbox]:checked + label:after {
    background-color: rgba(255, 0, 192, 1);
}

.legend .legend-title-19:before,
.legend .legend-title-19 label:hover:after {
    background-color: rgba(253, 151, 228, 0.6);
}

.legend .legend-title-19 input[type=checkbox]:checked + label:after {
    background-color: rgba(253, 151, 228, 1);
}

.legend .legend-title-20:before,
.legend .legend-title-20 label:hover:after {
    background-color: rgba(134, 0, 101, 0.6);
}

.legend .legend-title-20 input[type=checkbox]:checked + label:after {
    background-color: rgba(134, 0, 101, 1);
}

/* purple colors */
.legend .legend-title-21:before,
.legend .legend-title-21 label:hover:after {
    background-color: rgba(120, 0, 255, 0.6);
}

.legend .legend-title-21 input[type=checkbox]:checked + label:after {
    background-color: rgba(120, 0, 255, 1);
}

.legend .legend-title-22:before,
.legend .legend-title-22 label:hover:after {
    background-color: rgba(194, 140, 255, 0.6);
}

.legend .legend-title-22 input[type=checkbox]:checked + label:after {
    background-color: rgba(194, 140, 255, 1);
}

.legend .legend-title-23:before,
.legend .legend-title-23 label:hover:after {
    background-color: rgba(62, 0, 132, 0.6);
}

.legend .legend-title-23 input[type=checkbox]:checked + label:after {
    background-color: rgba(62, 0, 132, 1);
}


/* blue colors */
.legend .legend-title-24:before,
.legend .legend-title-24 label:hover:after {
    background-color: rgba(0, 0, 255, 0.6);
}

.legend .legend-title-24 input[type=checkbox]:checked + label:after {
    background-color: rgba(0, 0, 255, 1);
}

.legend .legend-title-25:before,
.legend .legend-title-25 label:hover:after {
    background-color: rgba(134, 134, 254, 0.6);
}

.legend .legend-title-25 input[type=checkbox]:checked + label:after {
    background-color: rgba(134, 134, 254, 1);
}

.legend .legend-title-26:before,
.legend .legend-title-26 label:hover:after {
    background-color: rgba(0, 0, 164, 0.6);
}

.legend .legend-title-26 input[type=checkbox]:checked + label:after {
    background-color: rgba(0, 0, 164, 1);
}


/* blue/green colors */
.legend .legend-title-27:before,
.legend .legend-title-27 label:hover:after {
    background-color: rgba(0, 228, 255, 0.6);
}

.legend .legend-title-27 input[type=checkbox]:checked + label:after {
    background-color: rgba(0, 228, 255, 1);
}

.legend .legend-title-28:before,
.legend .legend-title-28 label:hover:after {
    background-color: rgba(130, 242, 255, 0.6);
}

.legend .legend-title-28 input[type=checkbox]:checked + label:after {
    background-color: rgba(130, 242, 255, 1);
}

.legend .legend-title-29:before,
.legend .legend-title-29 label:hover:after {
    background-color: rgba(0, 146, 164, 0.6);
}

.legend .legend-title-29 input[type=checkbox]:checked + label:after {
    background-color: rgba(0, 146, 164, 1);
}

/* orange colors */
.legend .legend-title-30:before,
.legend .legend-title-30 label:hover:after {
    background-color: rgba(255, 96, 0, 0.6);
}

.legend .legend-title-30 input[type=checkbox]:checked + label:after {
    background-color: rgba(255, 96, 0, 1);
}

.legend .legend-title-31:before,
.legend .legend-title-31 label:hover:after {
    background-color: rgba(255, 200, 166, 0.6);
}

.legend .legend-title-31 input[type=checkbox]:checked + label:after {
    background-color: rgba(255, 200, 166, 1);
}

.legend .legend-title-32:before,
.legend .legend-title-32 label:hover:after {
    background-color: rgba(131, 50, 0, 0.6);
}

.legend .legend-title-32 input[type=checkbox]:checked + label:after {
    background-color: rgba(131, 50, 0, 1);
}


.legend .legend-title-total:before,
.legend .legend-title-total label:hover:after {
    background-color: rgba(50, 50, 50, 0.6);
}

.legend .legend-title-total input[type=checkbox]:checked + label:after {
    background-color: rgba(50, 50, 50, 1); /* brown */
}

/* ==========================================================================
===================== crontab expression generator ==========================
============================================================================= */
.daytime-cron-cont input.crm-checkbox[type="checkbox"] + label {
    width: 10px;
    color: #999;
    font-weight: normal;
}

.daytime-cron-cont input.crm-checkbox[type="checkbox"]:checked + label {
    color: #fff;
}

.daytime-cron-cont input.crm-checkbox[type="checkbox"] + label:after {
    background-color: #fff;
    height: 10px;
    left: -20px;
    line-height: 11px;
    top: 0;
    width: 12px;
}

.daytime-cron-cont input.crm-checkbox[type="checkbox"] {
    width: 23px;
    margin: 0;
}

.daytime-cron-cont .days-cont {
    margin-left: 4px;
}

.daytime-cron-cont .crm-radio input[type="radio"] + label {
    color: #fff;
    font-weight: normal;
    font-size: 12px;
    padding-left: 3px;
}

.daytime-cron-cont {
    display: flex;
}

.daytime-cron-cont h6 {
    color: #fff;
    margin: 3px 0 1px 0;
}

.daytime-cron-cont h6:first-child {
    margin-top: 0;
}

.daytime-cron-cont .crm-select {
    width: 110px;
}

.daytime-cron-cont .crm-select select {
    width: 125px;
}

.daytime-cron-cont .btn-group > .btn,
.btn-group-vertical > .btn {
    width: 84px;
    padding-top: 1px;
    padding-bottom: 1px;
}

.daytime-cron-cont .no-rule input.crm-checkbox[type="checkbox"] + label {
    width: auto;
}

.daytime-cron-cont .no-rule {
    margin-left: 2px;
}

.daytime-cron-cont .no-rule input.crm-checkbox[type="checkbox"] {
    width: 16px;
    /*height: 12px;*/
}

.daytime-cron-cont .no-rule input.crm-checkbox[type="checkbox"] + label::after {
    width: 6px;
    height: 6px;
    left: -14px;
}

.no-rule input.crm-checkbox[type="checkbox"]:checked + label::after {
    line-height: 6px;
    font-size: 12px;
}

/* ==========================================================================
===================== contact list generator css ============================
============================================================================= */
.contacts-cont .new-contact > * {
    display: inline-block;
}

.contacts-cont .new-contact {
    height: 24px;
    line-height: 20px;
    margin-bottom: 0px;
}

.contacts-cont .new-contact .box-btn {
    font-size: 19px;
    height: 17px;
    line-height: 22px;
    margin-left: 4px;
    padding: 0 10px;
    display: inline-block;
    vertical-align: top;
}

.contacts-cont .crm-select {
    width: 159px;
}

/* ==========================================================================
===================== Multi select group css ================================
============================================================================= */
.multi-group-sel .group-container h6 {
    margin-bottom: 2px;
    margin-top: 0;
}

.multi-group-sel .group-container {
    display: inline-block;
    margin-right: 3px;
}

.multi-group-sel .add-sel {
    display: inline-block;
    height: 20px;
    width: 10px;
}

.multi-group-sel .chosen-group {
    display: inline-block;
    border-radius: 6px;
    line-height: 12px;
    margin: 4px 4px 0 0;
    padding: 6px 2px;
    border: 1px solid #666;
}

.multi-group-sel .chosen-group .css-icon {
    width: 15px;
    height: 10px;
    display: inline-block;
}
