html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
    font-weight: 400;
    text-align: left;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 8px;
    margin-bottom: .5rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
}

html,
body {
    height: 100%;
    background-color: #f9fafb;
    font-size: 14px;
    color: #72777a;
    letter-spacing: .2px;
    overflow-x: hidden;
}

body, h1, h2, h3, h4, h5, h6 {
    font-family: Roboto, -apple-system, system-ui, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, Arial, sans-serif;
    line-height: 1.5;
}

body, html, html a {
    -webkit-font-smoothing: antialiased;
}

select.form-control {
    margin-top: 10px;
}

article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {
    display: block;
}

.layers {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.d-f, .layers {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.main-content {
    padding: 85px 20px 20px;
    min-height: calc(100vh - 61px);
    display: table;
    width: 100%;
}

.p-10 {
    padding: 10px !important;
}

.p-20 {
    padding: 20px !important;
}

.mB-0 {
    margin-bottom: 0 !important;
}

.lh-1 {
    line-height: 1 !important;
}

a {
    color: #0f9aee;
}

img {
    vertical-align: middle;
    border-style: none;
}

.ovY-a {
    overflow-y: auto !important;
}

.pos-r {
    position: relative !important;
}

.lis-n {
    list-style: none;
}

.w-100 {
    width: 100% !important;
}

.gap-20 > * {
    padding: 10px !important;
}

.gap-20 {
    margin: -10px !important;
}

.m-0 {
    margin: 0 !important;
}

.p-0 {
    padding: 0 !important;
}

.mB-10 {
    margin-bottom: 10px !important;
}

.ps__rail-x {
    height: 15px;
    bottom: 0;
}

.ps__rail-y {
    width: 15px;
    right: 0;
}

.ps__rail-y {
    right: 0 !important;
    left: auto !important;
}

.ta-c {
    text-align: center !important;
}

.bdT {
    border-top: 1px solid rgba(0, 0, 0, .0625) !important;
}

.bgc-grey-100, .bgcH-grey-100:hover {
    background-color: #ecf0f5 !important;
}

.c-grey-600, .cH-grey-600:hover {
    color: #7c8695 !important;
}

.ps__rail-x, .ps__rail-y {
    display: none;
    opacity: 0;
    -o-transition: background-color .2s linear, opacity .2s linear;
    transition: background-color .2s linear, opacity .2s linear;
    -webkit-transition: background-color .2s linear, opacity .2s linear;
    position: absolute;
}
.page-container {
    min-height: 100vh;
    padding-left: 230px;
    -webkit-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

footer {
    height: 60px;
    z-index: 1;
    position: relative;
    background-color: #FFFFFF;
}

.p-30 {
    padding: 30px !important;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}
.open-controls-btn:hover{
    filter: brightness(60%);
    text-decoration: none;

}
.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

.td-n {
    text-decoration: none !important;
}

.sidebar-logo a {
    display: inline-block;
    width: 100%;
}
.error-td-div{
    overflow: auto;
}
.error-table-div{
    max-height: 650px;
    overflow-x: auto;
    overflow-y: auto;
}
.export-admin-customers{
    float: left;
    transform: scale(2.2,2);
    margin: 10px;
}
.box-body .qa-box textarea{
    resize: vertical;
}

@media (max-width: 1750px) {
    .table-striped-customer{
        width: 100% !important;
    }
    .table-striped-customer th{
        /*white-space: nowrap;*/
        text-align: left;
        padding-left: 3px !important;
        white-space: pre-line;
    }
    .page-container{
        overflow-x: scroll;
        overflow-y: scroll;
        height: 80px;
    }
    .dataTables_filter  input{
        width: 180px !important;
    }
    .table-striped-customer tr td:nth-child(3) {
        min-width: 100px;
        /*white-space: pre-line;*/
    }
    #customers-table-container::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 7px;
    }
    #customers-table-container::-webkit-scrollbar-thumb {
        border-radius: 4px;
        background-color: rgba(0, 0, 0, .5);
        -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
    }
}

@media (max-width: 1600px) {
    .table-striped-customer{
        width: 110% !important;
    }
    .table-striped-customer th{
        white-space: nowrap;
        text-align: left;
        padding-left: 3px !important;
    }
    .table-striped-customer td, table  {
        overflow-wrap: anywhere;
    }
    .page-container{
        overflow-x: scroll;
        overflow-y: scroll;
        height: 80px;
    }
    .table-striped-customer tr td:nth-child(3) {
        min-width: 200px;
    }
    .footer-btm{
        width: 1200px;
    }
    #customers-table-container::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 7px;
    }
    #customers-table-container::-webkit-scrollbar-thumb {
        border-radius: 4px;
        background-color: rgba(0, 0, 0, .5);
        -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
    }
}
@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.navbar, .navbar > .container, .navbar > .container-fluid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

[class*=" ti-"], [class^=ti-] {
    font-family: themify;
    speak: none;
    font-style: normal;
    font-weight: 400;
    -webkit-font-feature-settings: normal;
    font-feature-settings: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.d-ib {
    display: inline-block !important;
}

.va-m {
    vertical-align: middle !important;
}

.pY-15 {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.pX-15 {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.pX-20 {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.mT-30 {
    margin-top: 30px !important;
}

.bdB {
    border-bottom: 1px solid rgba(0, 0, 0, .0625) !important;
}

.error-eye-icon{
    transform: scale(1.3,1);
    float: right;
    cursor: pointer;
}
.error-data-modal-close{
    float: right;
}
.data-modal-close{
    margin-top: 1rem;
    float: right;
}
.modal-error-data{
    overflow: visible;
}
.green-copied-msg{
    color: green;
    font-weight: bold;
}
.error-message-input{
    display: inline-block;
    width: 80% !important;
    text-align: left;
    margin-right: 15px !important;
}
.cursor-copy-error{
    width: 10% !important;
    text-align: right;
}
.bd {
    border: 1px solid rgba(0, 0, 0, .0625) !important;
}
.date-long-fields{
    width: 10%;
    white-space: nowrap;
}
.bgc-white, .bgcH-white:hover {
    background-color: #fff !important;
}

.pR-10 {
    padding-right: 10px !important;
}
.customers-table{
    margin-top: 130px;
}
.header {
    background-color: #3c8dbc;
    border-bottom: 1px solid rgba(0, 0, 0, .0625);
    display: block;
    height: 65px;
    margin-bottom: 0;
    padding: 0;
    position: fixed;
    -webkit-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
    width: calc(100% - 230px);
    z-index: 1;
    border-radius: 0;
}
.btn-danger, .btn-danger:hover {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}
.header .header-container .nav-right .dropdown-menu > li {
    width: 100%;
}

.header .header-container .nav-left, .header .header-container .nav-right {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
    position: relative;
}
.customer-filter::placeholder{
   font-size: 12px;
    color: #A9A9A9!important;
}

.header .header-container .nav-left .notifications, .header .header-container .nav-right .notifications {
    position: relative;
}
.customer-filter-summary{
    margin-bottom: -37px !important;
}
.header .header-container .nav-left {
    float: left;
    margin-left: 15px;
}

.header .header-container .nav-left > li, .header .header-container .nav-right > li {
    float: left;
}

.header .header-container .nav-right {
    float: right;
}

.header .header-container .nav-left > li > a, .header .header-container .nav-right > li > a {
    color: #FFFFFF;
    display: block;
    line-height: 65px;
    min-height: 65px;
    padding: 0 15px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.header .header-container .nav-left .notifications .counter, .header .header-container .nav-right .notifications .counter {
    background-color: #ff3c7e;
    border-radius: 50px;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    padding: 3px 5.5px;
    position: absolute;
    right: 6px;
    top: 12px;
}

.header .header-container .nav-left > li > a i, .header .header-container .nav-right > li > a i {
    font-size: 17px;
}

.header .header-container .dropdown-menu .divider {
    border-bottom: 1px solid rgba(0, 0, 0, .0625);
    height: 1px;
    overflow: hidden;
}

.header .header-container .nav-right .dropdown-menu > li {
    width: 100%;
}

.header .header-container .show .dropdown-menu {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.header .header-container .nav-right .dropdown-menu {
    left: auto;
    right: 0;
}

.ti-menu:before {
    content: "\E68E";
}

.ti-bell:before {
    content: "\E6B8";
}

.fsz-sm {
    font-size: 13.92px !important;
    font-size: .87rem !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.lh-0 {
    line-height: 0 !important;
}

.bdrs-10em {
    border-radius: 10em !important;
}

.bgc-green-50, .bgcH-green-50:hover {
    background-color: #e8f5e9 !important;
}

.c-green-500, .cH-green-500:hover {
    color: #4caf50 !important;
}

.bgc-red-50, .bgcH-red-50:hover {
    background-color: #ffebee !important;
}

.c-red-500, .cH-red-500:hover {
    color: #f44336 !important;
}

.bgc-purple-50, .bgcH-purple-50:hover {
    background-color: #f3e5f5 !important;
}

.c-purple-500, .cH-purple-500:hover {
    color: #9c27b0 !important;
}

.bgc-blue-50, .bgcH-blue-50:hover {
    background-color: #e3f2fd !important;
}

.c-blue-500, .cH-blue-500:hover {
    color: #2196f3 !important;
}

.c-grey-900, .cH-grey-900:hover {
    color: #313435 !important;
}

.btn, .btn-large, .btn-small, .btn-flat {
    height: auto;
}

.fl-right {
    float: right;
}

.nav-pills > li > a {
    color: #337ab7;
    font-weight: bold;
    font-size: 15px;
    background-color: transparent;
    border-radius: 0;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    color: #337ab7;
    font-weight: bold;
    font-size: 15px;
    background-color: transparent;
    border-bottom: 2px solid #337ab7;
}

[type="radio"]:checked + span:after, [type="radio"].with-gap:checked + span:after {
    background-color: #337ab7;
}

[type="radio"]:checked + span:after, [type="radio"].with-gap:checked + span:before, [type="radio"].with-gap:checked + span:after {
    border: 2px solid #337ab7;
}

[type="checkbox"].filled-in:checked + span:not(.lever):after {
    top: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #337ab7;
    background-color: #337ab7;
    z-index: 0;
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 6px 12px;
    font-size: 12px;
    line-height: 1.4;
    border-radius: 4px;
    -webkit-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    -o-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: #2196f3;
    border-color: #2196f3;
}
.btn i, .btn-large i, .btn-small i, .btn-floating i, .btn-large i, .btn-small i, .btn-flat i {
    font-size: 1.1rem;
    line-height: inherit;
}
.btn-info {
    color: #fff;
    background-color: #00bcd4;
    border-color: #00bcd4;
}

.btn-info:hover {
    color: #fff;
    background-color: #009aae;
    border-color: #008fa1;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0c83e2;
    border-color: #0c7cd5;
}

.btn:not([disabled]):not(.disabled).active, .btn:not([disabled]):not(.disabled):active {
    background-image: none;
}

.btn-primary:not([disabled]):not(.disabled).active, .btn-primary:not([disabled]):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #0c7cd5;
    border-color: #0b75c9;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, .5);
    box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, .5);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    min-width: 10rem;
    padding: 8px 0;
    padding: .5rem 0;
    margin: 2px 0 0;
    margin: .125rem 0 0;
    font-size: 14px;
    font-size: .875rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
}

.header .header-container .dropdown-menu {
    display: block;
    margin: 0;
    -webkit-transform-origin: top right;
    -ms-transform-origin: top right;
    transform-origin: top right;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: -webkit-transform .15s ease-out;
    transition: -webkit-transform .15s ease-out;
    -o-transition: transform .15s ease-out;
    transition: transform .15s ease-out;
    transition: transform .15s ease-out, -webkit-transform .15s ease-out;
}

.header .header-container .nav-right .dropdown-menu {
    left: auto;
    right: 0;
}

.header .header-container .nav-left .notifications .dropdown-menu, .header .header-container .nav-right .notifications .dropdown-menu {
    min-width: 350px;
    padding: 0;
}

.sidebar {
    background-color: #fff;
    bottom: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    -webkit-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
    width: 230px;
    z-index: 1000;
}

.sidebar-inner {
    position: relative;
    height: 100%;
}
.navbar-btn .sidebar-toggle {
    color: #fff;
}
.header .sidebar-toggle:before {
    content: "\f0c9";
}
.header .sidebar-toggle {
    float: left;
    background-color: transparent;
    background-image: none;
    padding: 15px 15px;
    font-family: fontAwesome;
}
.sidebar-logo {
    border-bottom: 1px solid rgba(0, 0, 0, .0625);
    border-right: 1px solid rgba(0, 0, 0, .0625);
    line-height: 0;
    padding: 0 10px;
    -webkit-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
    background-color: #367fa9;
    text-align: center;
    padding: 14px;
}

.sidebar-logo a .logo-text {
    color: #FFFFFF;
    font-size: 20px;
    bottom: 8px;
    position: relative;
}

.ps {
    overflow: hidden !important;
    overflow-anchor: none;
    -ms-overflow-style: none;
    touch-action: auto;
    -ms-touch-action: auto;
}

.peers {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    height: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.sidebar-menu {
    border-right: 1px solid rgba(0, 0, 0, .0625);
    height: calc(100vh - 65px);
    list-style: none;
    margin: 0;
    overflow: auto;
    padding: 0;
    position: relative;
}

.sidebar ul {
    list-style-type: none;
}

.sidebar-menu li {
    position: relative;
}

.sidebar-menu li a {
    color: #b8c7ce;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.sidebar-menu > li > a {
    display: block;
    font-size: 14px;
    font-weight: 300;
    padding: 5px 15px;
    position: relative;
    white-space: nowrap;
}
.dropdown-menu > li > a {
    font-weight: 300;
}
.sidebar-menu li.dropdown .arrow {
    font-size: 18px;
    line-height: 40px;
    position: absolute;
    right: 30px;
    -webkit-transition: all .05s ease-in;
    -o-transition: all .05s ease-in;
    transition: all .05s ease-in;
}
/* The chevron above is absolutely positioned, so a group label wide enough to reach it
   ends up underneath it - which is what "Content & Rankings" does in a 230px sidebar.
   Lay the group toggles out as a flex row instead, so the chevron always follows the
   label instead of sitting on top of it, whatever the label is. */
.sidebar-menu > li.dropdown > a.dropdown-toggle {
    display: flex;
    align-items: center;
    padding-right: 15px;
}
.sidebar-menu > li.dropdown > a.dropdown-toggle .title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar-menu > li.dropdown > a.dropdown-toggle .arrow {
    position: static;
    line-height: 1;
    margin-left: auto;
    padding-left: 8px;
}
/* Opening a long group makes the menu overflow, and the native scrollbar then eats ~17px
   of the 230px sidebar - every label suddenly gets narrower and the chevron jumps.
   Slim the bar down and, more importantly, reserve its gutter permanently with
   scrollbar-gutter, so the usable width is identical whether a group is open or closed. */
.sidebar-menu::-webkit-scrollbar {
    width: 6px;
}
.sidebar-menu::-webkit-scrollbar-thumb {
    background: #4a5a61;
    border-radius: 3px;
}
.sidebar-menu::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar-menu {
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #4a5a61 transparent;
}

.sidebar-menu > li > a .icon-holder {
    border-radius: 6px;
    display: inline-block;
    font-size: 17px;
    height: 35px;
    left: 0;
    line-height: 35px;
    margin-right: 5px;
    position: relative;
    text-align: center;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    width: 35px;
}

.sidebar-menu > li.dropdown ul.dropdown-menu {
    border-radius: 0;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    float: none;
    padding-left: 25px;
    padding-top: 0;
    position: relative;
    width: 100%;
    background: #2c3b41;
}

.sidebar-menu li.dropdown.open > .dropdown-menu {
    display: block;
}

.sidebar-menu > li.dropdown ul.dropdown-menu > li > a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
}

.dropdown-menu > li > a.active {
    color: #fff;
    text-decoration: none;
    background-color: transparent;
}

.peer {
    display: block;
    height: auto;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.peer-greed, .peers-greed > .peer, .peers-greed > .peers {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

.sz-3r, .w-3r {
    width: 3rem;
}

.bdrs-50p {
    border-radius: 50% !important;
}

.peer > img {
    max-width: none;
}

.fxw-nw {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.ai-c {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.yii2-border-table{
    border-top: 3px solid #3c8dbc !important;
    position: relative;
    border-radius: 3px;
    background: #ffffff;
    margin-bottom: 20px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.box.box-solid > .box-header .btn:hover,
.box.box-solid > .box-header a:hover {
    background: rgba(0, 0, 0, 0.1);
}
.btn.btn-flat {
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-width: 1px;
}
.sidebar-logo a .logo {
    background-position: 0;
    background-repeat: no-repeat;
    display: inline-block;
    min-height: 64px;
    width: 100%;
    width: 70px;
}
.btn-primary{
    background-color: #3c8dbc;
    border-color: #367fa9;
}
.sidebar-logo a .logo > img {
    width: 75px;
    position: relative;
    top: 20px;
}

.lh-1 {
    line-height: 1 !important;
}



/*Start Custom Rado Code*/
.admin-logo-default {
    width: 30px;
    margin-right: 10px;
    margin-left: 20px;
}
.author-avatar{
    width: 130px;
    height: 130px;
}

.sidebar-menu.scrollable.pos-r.ps {
    overflow: auto !important;
    background-color: #202226;
}

.is-collapsed .page-container {
    padding-left: 70px;
}

.dataTables_wrapper .dataTables_length {
    color: #313435;
    float: left;
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid rgba(0, 0, 0, .0625);
    border-radius: 2px;
    -webkit-box-shadow: none;
    box-shadow: none;
    height: 35px;
    font-size: 14px;
    padding: 5px;
    margin-left: 5px;
    margin-right: 5px;
    color: #72777a;
    -webkit-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    transition: all .2s ease-in;
    display: block;
}

.table-buttons > a {
    font-size: 18px;
    margin: 3px;
}

.select2-container {
    width: 100% !important;
}

.form-kvn-style {
    background-color: #fff;
    padding: 20px 25px;
    border: 1px solid rgba(0, 0, 0, .0625) !important;
}

.notification-tbody .fa-minus-circle, .fsz-sm.ps.show .fa-minus-circle {
    color: red;
    font-size: 17px;
}

.fsz-sm.ps.show span {
    color: #333;
    font-weight: bold;
}

.date-notifications {
    color: #333;
    font-size: 12px;
}

.modal {
    bottom: auto;
    background-color: transparent;
}

.border-revision-top{
    font-weight: bold;
    border-top: 1px solid black !important;
}
.border-revision-bottom{
    border-bottom: 1px solid black !important;
}
.remove-row-icon {
    position: relative;
}

.remove-row-icon > .fa {
    color: red;
    position: absolute;
    top: 13px;
    font-size: 22px;
    cursor: pointer;
}

.square {
    color: #fff;
    width: 25px;
    height: 25px;
    margin: auto;
    display: flex;
    font-size: 12px;
    border-radius: 2px;
}

.redStatus {
    background-color: #F9625F;
}
.red-status-text{
    color: #F9625F;
}
.greenStatus {
    background-color: #00B6AA;
}
.green-status-text{
    color: #00B6AA;
}
.orangeStatus {
    background-color: #FFC939;
}

.img-link-open{
    width: 25px;
    margin-top: 45px;
}

.follow-up-label{
    display: block;
}
.booked-demo{
    padding-top: 40px;
    margin-bottom: 0;
}
.accTagsSelect .select2-container{
    display: block;
}
@media screen and (min-width: 1440px) {
    .is-collapsed .sidebar {
        width: 70px;
    }
}

.flex-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#followUp::-webkit-calendar-picker-indicator {
    cursor: pointer;
    height: 20px;
    width: 20px;
}
.flex-wrapper > * {
    margin: 0 10px;
}

.flex-wrapper.remove-row-icon > .fa-trash {
    position: static;
}
.checkbox-align-style{
    position: relative;
    top: 17px;
}
#customer-account_notes{
    padding: 12px;!important;
    height: 50px;!important;
    max-width: 100%;!important;
    min-width: 100%;
    min-height: 50px;
    border-radius: 8px;!important;
    color: #606060;!important;
}
.error-msg {
    color: #FF0000;
}
.success-msg {
    color: #008000;
}
.payment-method-radio {
    width: 70px;
    font-size: 14px;
}
.sort-program{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 20px;
}
.sort-program > * {
    margin: 0 10px;
}
/* Keep every ranking row aligned. Without this a long program name (e.g. "Makeberry
   Affiliates (dashboard.makeberry.com)") stretches the dropdown and pushes the drag
   handle and the delete button out of the column. min-width:0 lets the control shrink
   below its content so Select2's own ellipsis kicks in. Covers the rows rendered by
   parts_sort.php and the ones added by "ADD PROGRAM RANKING"; the bare select is the
   fallback for when select2() has not run. */
.sort-program select,
.sort-program .select2-container {
    flex: 1 1 auto;
    min-width: 0;
}
.sort-program .icon-drip,
.sort-program .delete-pros {
    flex: 0 0 auto;
}
#sortable {
    list-style-type: decimal;
    margin: 0;
    padding: 0;
    width: 480px;
}
#sortable li {
    margin: 8px 0;
    padding: 1px;
    list-style-type: decimal;
}
#sortable li select{
    margin-top: 0;
    margin-left: 30px;
}
#NewProgramSelect{
    margin-bottom: 20px;
    margin-top: 20px;
}
.con{
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 480px;
    justify-content: space-between;
    flex-wrap: nowrap;
}
.licon {
    margin: 8px 0;
    padding: 1px;
    list-style-type: none;
}
.con .licon select{
    margin-top: 0;
    margin-left: 10px;
}
.rank{
    padding-left: 0;
}
.rank-program{
    margin-top: 20px;
    margin-bottom: 0;
}
.countLiJs{
    position: absolute;
    left: -7px;
    margin-top: 10px;
    font-weight: bold;
    color: #1c94c4;
}
.icon-drip{
    width: 10px;
    margin-right: 0;
}
.customer-counter-text{
    font-size: 13px;
    font-weight: 600;
}

.modal-backdrop {
    background-color: transparent !important; /* прозрачен фон */
}
/* ============================================================
   Admin → Navigation Menu tree (moved from nav-menu.css)
   ============================================================ */
.nav-tree-group {
    padding: 10px;
    margin-bottom: 20px;
}

.nav-tree-column {
    padding: 14px 14px 14px 20px;
    margin-bottom: 14px;
}

.nav-tree-item {
    padding: 12px 8px 12px 16px;
}

.nav-tree-item + .nav-tree-item {
    margin-top: 6px;
}

/* 10px padding only on the reorder-bar row */
#nav-reorder-bar > .peers {
    padding: 10px;
}

/* breathing room between the drag handle, the border and the label */
.nav-drag-handle {
    margin-left: 4px;
    margin-right: 14px !important;
    font-size: 15px;
}

/* bigger, easier-to-hit edit / delete icons */
.nav-tree-actions a {
    margin-left: 10px;
}

.nav-tree-actions .fa-pencil-square-o,
.nav-tree-actions .fa-trash-o {
    font-size: 19px;
    vertical-align: middle;
}

.nav-tree-actions .fa-pencil-square-o:hover,
.nav-tree-actions .fa-trash-o:hover {
    opacity: .8;
}

/* ============================================================
   Admin → Customer Activity page (moved from customer-activity.css)
   ============================================================ */
.nav-chart {
    width: 100%;
    min-height: 320px;
}

/* spacing between the "Customer Statuses" heading and the period select */
.nav-statuses-head {
    gap: 15px;
}

.nav-statuses-head select {
    margin-left: 15px;
}

/* KPI summary cards */
.kpi-row {
    margin-bottom: 5px;
}

.kpi-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #eee;
    border-left: 4px solid #ccc;
    border-radius: 4px;
    padding: 14px 16px;
    margin-bottom: 20px;
    position: relative;
    min-height: 76px;
}

.kpi-card .kpi-icon {
    font-size: 26px;
    opacity: .85;
    width: 34px;
    text-align: center;
}

.kpi-card .kpi-value {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
    color: #37474f;
}

.kpi-card .kpi-label {
    font-size: 12px;
    color: #90a4ae;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.kpi-card .kpi-delta {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 12px;
    font-weight: 600;
}

.kpi-card .kpi-delta.up {
    color: #43a047;
}

.kpi-card .kpi-delta.down {
    color: #e53935;
}

/* equal-height cards on the top row */
.h-100 {
    height: calc(100% - 20px);
}

/* empty-state placeholder shown when a chart has no data yet */
.nav-chart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 320px;
    border: 1px dashed #d5d5d5;
    border-radius: 4px;
    background: #fafafa;
    color: #9e9e9e;
    text-align: center;
}

.nav-chart-empty i {
    font-size: 34px;
    opacity: .5;
}

.nav-chart-empty span {
    font-size: 14px;
}

/* Highcharts export data-table (shown on "View data table") */
.highcharts-data-table table {
    font-family: Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px solid #EBEBEB;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
    font-weight: 600;
    padding: 0.5em;
}

.highcharts-data-table td, .highcharts-data-table th, .highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr, .highcharts-data-table tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}

/* ============================================================
   Admin → Customer section navigation (views/admin-customer/_customer_nav.php)
   Compact pill row that keeps the customer context while switching between the
   separate customer pages. Reuses the .nav-pills underline style defined above.
   ============================================================ */
.customer-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin: 0 0 12px;
    padding-bottom: 4px;
    border-bottom: 1px solid #e0e0e0;
}

.customer-nav-customer {
    font-size: 13px;
    color: #757575;
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-nav-customer .fa {
    margin-right: 5px;
}

.customer-nav .nav-pills {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.customer-nav .nav-pills > li {
    float: none;
}

.customer-nav .nav-pills > li > a {
    padding: 6px 10px;
    font-size: 13px;
    line-height: 1.2;
    border-bottom: 2px solid transparent;
}

.customer-nav .nav-pills > li > a:hover,
.customer-nav .nav-pills > li > a:focus {
    background-color: #f0f0f0;
    text-decoration: none;
}

.customer-nav .nav-pills > li.active > a,
.customer-nav .nav-pills > li.active > a:hover,
.customer-nav .nav-pills > li.active > a:focus {
    font-size: 13px;
    background-color: transparent;
    border-bottom-color: #337ab7;
}

/* Clickable links inside CKEditor (see user.js) */
.cke-link-bubble {
    position: absolute;
    z-index: 10010;
    max-width: 420px;
    padding: 6px 10px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}
.cke-link-bubble .cke-link-bubble-url {
    display: inline-block;
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    color: #337ab7;
    text-decoration: underline;
}
.cke-link-bubble .cke-link-bubble-hint {
    margin-left: 8px;
    color: #888;
    vertical-align: middle;
}
