table th a.asc:after {
    content: "\f0dd";
}

table th a.desc:after {
    content: "\f0de";
}

table th a:after {
    content: "\f0dc";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    margin-left: 5px;
    font-size: 0.75em;
}

.indicator {
    width: 20px;
    height: 20px;
    background: url("../img/ajax-loader.gif") no-repeat;
    display: inline-block;
    vertical-align: middle;
}

.error-Msg {
    color: red;
}

.form-error {
    color: red;
    border-color: #ed5564 !important;
}

.validation-error {
    color: red;
}

.loader {
    display: none;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('../img/ajax-loader.gif') 50% 50% no-repeat rgb(249, 249, 249);
    background-color: #666;
    opacity: 0.8;
}

.loader-modal {
    position: fixed;
    left: 0px;
    width: 100%;
    height: 75px;
    z-index: 9999;
    background: url('../img/ajax-loader.gif') 50% 50% no-repeat rgb(249, 249, 249);
    background-color: #fff;
}

.load-li {
    text-align: center;
}

.modal-body {
    min-height: 80px;
}

/* Add Deal modal: size to content, scroll only when needed.
   The width is set here rather than in the modal body's own <style>, which only
   arrives with the ajax load - on a wide monitor the dialog spanned the whole
   screen until then, throwing the fields to opposite edges. */
#dealM .modal-dialog {
    width: 96%;
    max-width: 1180px;
    max-height: 90vh;
    margin: 1.75rem auto;
}

#dealM .modal-content {
    max-height: 90vh;
}

#dealM .modal-body {
    overflow-y: auto;
    max-height: calc(90vh - 140px);
}

/* Only active tab pane visible; custom fields pane doesn't reserve space when Deal Details is selected */
#dealM .tab-modal .tab-content .tab-pane,
#compM .tab-modal .tab-content .tab-pane {
    display: none !important;
    height: auto !important;
}

#dealM .tab-modal .tab-content .tab-pane.active,
#compM .tab-modal .tab-content .tab-pane.active {
    display: block !important;
    height: auto !important;
}

.load_deal {
    height: 30px;
    background: url('../img/ajax-loader.gif') 50% 50% no-repeat !important;
}

/* footer */
.footer-user {
    list-style-type: none;
}

.footer-user li {
    float: left;
}

.top-margin {
    margin-top: 20px;
}

.conf {
    opacity: 2 !important;
    transform: none !important;
    visibility: visible !important;
}

.story-subject {
    color: #03a9f4;
}

.ticket-message {
    padding: 20px;
}

.ticket-details {
    background: #dceffc none repeat scroll 0 0;
    padding: 10px 0;
    text-align: center;
}

.story-subject {
    color: #03a9f4;
}

.ticket-message {
    padding: 20px;
}

.ticket-details {
    background: #dceffc none repeat scroll 0 0;
    padding: 10px 0;
    text-align: center;
}

.contact-box {
    background-color: #ffffff;
    border: 1px solid #e7eaec;
    margin-bottom: 20px;
    padding: 20px;
}

.contact-box a {
    color: inherit;
    text-decoration: none;
}

.contact-box-list {
    color: #000 !important;
    padding: 10px 0px 10px 0px !important;
    border-top: 2px solid #dceffc;
}

.contact-box-list img {
    border: 5px solid #dceffc;
    height: 85px;
    width: 85px;
}

.contact-box-list li {
    padding-bottom: 1%;
}

.profile-box-contact a {
    text-decoration: none;
}

.contact-box-footer {
    background: #dceffc none repeat scroll 0 0;
}

#tab-Contacts .contact-box-footer {
    height: 18px;
    padding: 0 0;
}

#tab-Contacts .contact-box-footer span {
    float: right;
    padding-right: 5px;
}

.contact-view-box {
    padding: 10px 10px;
}

.contact-view-box img {
    border: 5px solid #dceffc;
    border-radius: 18%;
    max-width: 175px;
}

.contact-box-heading {
    background: #dceffc none repeat scroll 0 0;
    margin-bottom: 3px;
    margin-top: 3px;
    padding: 10px 0;
    text-align: center;
}

.contact-view-box ul {
    list-style-type: none;
}

.contact-view-box ul li {
    padding: 2px;
}

.task-links {
    float: right;
}

.task-list {
    font-size: 12px;
}

.task-name {
    float: left;
    width: 100%;
    padding-bottom: 5px;
    font-size: 0.875em;
    font-weight: 400;
}

.task-details {
    float: left;
}

.task-input {
    float: left;
}

.task-details-text {
    padding-right: 5px;
}

.task-padding-left {
    padding-left: 32px;
}

.task-dashboard .stage-div {
    width: 25%;
    min-width: 265px;
}

.task-dashboard .stage-div li {
    min-height: 80px;
}

.task-dashboard .task-low {
    border-left: 5px solid #8bc34a;
}

.task-dashboard .task-medium {
    border-left: 5px solid #ffc107;
}

.task-dashboard .task-high {
    border-left: 5px solid #e84e40;
}

.task-dashboard .stage-div li {
    border-radius: 0px;
}

.task-dashboard .task-title {
    float: left;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 0;
    width: 100%;
    min-height: 40px;
}

.task-module {
    float: left;
    height: 23px;
    width: 100%;
}

.task-module span {
    cursor: pointer;
    float: left;
    font-size: 10px;
}

.task-dashboard .checkbox-nice label::before {
    height: 14px;
}

.task-dashboard .checkbox-nice label::after {
    top: 3px;
}

.label-div a {
    color: #fff;
}

.manager-home .deal-labels {
    min-height: 4px;
}

.manager-home .main-box {
    overflow-x: scroll;
}

.modal-body .main-box {
    overflow-x: auto !important;
}

.manager-home .profile-box-contact {
    overflow-x: hidden;
}

.stage-div {
    width: 245px;
    float: left;
    margin: 0 0px 0 0;
    min-height: 80px;
    position: relative;
}

.stage-div h2 {
    color: black;
    background-color: #dceffc;
    text-align: center;
}

.stage-div ul {
    width: 100%;
    min-height: 100px;
    border-left: 2px solid #dceffc;
    border-right: 2px solid #dceffc;
    border-bottom: 2px solid #dceffc;
    padding: 0 !important;
    margin: 0 0 !important;
}

.stage-div li {
    background: #fff;
    width: 100%;
    font-size: 13px !important;
    margin: 1px !important;
    padding: 0px 0px 3px 0px !important;
    list-style-type: none;
}

.stage-div li:hover {
    background: #dceffc;
}

.stage-5 {
    width: 1270px;
}

.stage-6 {
    width: 1515px;
}

.stage-7 {
    width: 1760px;
}

.stage-8 {
    width: 2005px;
}

.stage-9 {
    width: 2250px;
}

.stage-10 {
    width: 2495px;
}

.deal-user {
    min-height: 55px;
    padding: 0 !important;
}

.deal-user span {
    padding-top: 12px;
    font-size: 11px;
}

.deal-user img {
    width: 25px;
    margin: 2px;
    border: 2px solid #dceffc;
    min-height: 24px;
    cursor: pointer;
}

.deal-name {
    float: left;
    padding: 3px 0;
    width: 100%;
}

.deal-name span {
    font-size: 10px;
}

.deal-name a {
    font-weight: bold;
    text-transform: capitalize;
}

.deal-module {
    float: left;
    width: 100%;
    height: 23px;
}

.deal-module span {
    width: 25%;
    float: left;
    font-size: 10px;
}

.deal-module span.view-modal {
    cursor: pointer;
}

.deal-price {
    padding: 2px 2px;
}

.deal-span {
    float: left;
    width: 100%;
}

.stage-name {
    border-color: transparent -moz-use-text-color;
    border-style: none !important;
    border-width: 5px;
    font-size: 12px;
}

.stage-name::after,
.stage-name::before {
    border-bottom: 27px solid transparent;
    border-left: 16px solid;
    border-top: 19px solid transparent;
    content: "";
    margin-top: 0;
    position: absolute;
    right: -14px;
}

.stage-name::before {
    border-left-color: #fff;
    right: -15px;
    z-index: 1;
}

.stage-name::after {
    border-left-color: #1ab394;
    right: -14px;
    top: 0;
    z-index: 2;
}

.stage-div:first-child .stage-name {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    margin-left: -10px;
}

.stage-div:first-child .stage-name h2 {
    border-left: 1px solid #fff;
}

.stage-div:last-child .stage-name {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.stage-div h2 {
    background-color: #1ab394;
    border-bottom: 1px solid #fff;
    border-top: 1px solid #fff;
    color: #fff;
    font-weight: bold;
    height: 38px;
    padding-top: 3px;
    text-align: center;
}

.stage-div ul {
    border: none !important;
    margin: 0 !important;
    min-height: 600px;
    padding: 5px !important;
    width: 100%;
    overflow: visible;
}

.stage-div li {
    background: #fafafb none repeat scroll 0 0;
    font-size: 13px !important;
    list-style-type: none;
    margin: 1px 1px 5px !important;
    padding: 0 5px 3px !important;
    width: 100%;
    border: 1px solid #c0c0c0;
    border-radius: 2px;
    cursor: move;
}

.manager-home .main-box.no-header {
    padding-top: 0px;
}

.manager-home .main-box .main-box-body {
    padding: 0 10px 20px;
}

.modal-content .profile-box-contact {
    font-size: 12px;
}

.modal-content .profile-box-contact img {
    height: 75px;
}

.message-users {}

.message-users li {
    height: 70px !important;
    padding: 0px 5px !important;
}

.message-users .details {
    padding-top: 5px;
}

.message-users .details .name {
    font-size: 12px !important;
    font-weight: 200 !important;
}

.deal-label {
    float: left;
    height: 5px;
    margin-right: 1%;
    width: 9%;
}

.padding-two {
    padding: 0px 2px;
}

.manager-half {
    width: 50%;
    float: left;
}

.manager-half span {
    width: 50%;
    cursor: pointer;
}

.contact-blank {
    font-weight: bold;
    text-align: center;
    margin: 40%;
}

.notes {
    border: 1px solid #EEEEEE;
    box-shadow: 1px 1px 0 #DDDDDD;
    display: block;
    font-family: 'Marck Script', cursive;
    font-size: 22px;
    line-height: 50px;
    margin: 2% auto;
    padding: 11px 20px 0 70px;
    resize: none;
    height: 689px;
    width: 100%;
    background-image: -moz-linear-gradient(top, transparent, transparent 49px, #E7EFF8 0px), -moz-radial-gradient(4% 50%, circle closest-corner, #f5f5f5, #f5f5f5 39%, transparent 0%), -moz-radial-gradient(3.9% 46%, circle closest-corner, #CCCCCC, #CCCCCC 43.5%, transparent 0%);
    background-image: -webkit-linear-gradient(top, transparent, transparent 49px, #E7EFF8 0), -webkit-radial-gradient(4% 50%, circle closest-corner, #f5f5f5, #f5f5f5 39%, transparent 0%), -webkit-radial-gradient(3.9% 46%, circle closest-corner, #cccccc, #cccccc 43.5%, transparent 0%);
    -webkit-background-size: 100% 50px;
    background-size: 100% 50px;
}

textarea.notebook {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-weight: 700;
    width: 100%;
    padding: 5px 0px;
    margin-bottom: 20px;
    resize: vertical;
    font-size: 11px;
    line-height: 24px;
    border: none;
    -webkit-appearance: none;
    border-radius: 0;
    background: url('../img/notebook.png');
}

.full-width {
    width: 100%;
}

.task-line {
    text-decoration: line-through;
}

#tab-general img {
    width: 100px;
}

#logo img {
    width: 100%;
}

#login-logo img {
    width: 221px;
}

.discussion-row {
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.discuss-add,
.discuss-reply {
    display: none;
}

.discuss-reply {
    margin: 10px 0 0 60px;
}

.discuss-actions {
    margin: 0px 0 0 60px;
}

.discuss-reply-button {
    cursor: pointer;
}

.discuss-reply-message {
    margin: 10px 0 0 60px;
}

.discuss-body {
    background-color: #dceffc !important;
}

.deal-right .btn {
    padding: 3px 5px !important;
}

.deal-right .label {
    color: #fff;
    white-space: normal !important
}

.deal-title {
    font-size: 16px;
    padding: 0px 0 0;
    color: #03a9f4 !important;
}

.blue-color {
    color: #03a9f4;
}

.export-row {
    margin-top: 50px;
}

.label-popup {
    padding: 0px 15px;
    font-size: 16px;
}

.label-popup table {
    margin-bottom: 0px !important
}

.label-popup table td {
    padding: 4px !important
}

.label-one {
    background-color: #D9434E;
}

.label-two {
    background-color: #E3643E;
}

.label-three {
    background-color: #F59B43;
}

.label-four {
    background-color: #F5BA42;
}

.label-five {
    background-color: #B1C252;
}

.label-six {
    background-color: #3BB85D;
}

.label-seven {
    background-color: #3BBEB0;
}

.label-eight {
    background-color: #3BB1D9;
}

.label-nine {
    background-color: #4B8CDC;
}

.label-ten {
    background-color: #7277D5;
}

.label-elev {
    background-color: #B276D8;
}

.label-tw {
    background-color: #D870AD;
}

.label-tr {
    background-color: #A5ADB8;
}

.label-fr {
    background-color: #31353C;
}

.manager-hover {
    cursor: pointer;
}

.manager-index {
    text-align: center;
    padding: 5%;
    width: 100%;
}

.manager-labels span {
    padding: 3px 15px;
}

.manager-labels span a {
    color: #fff !important;
    cursor: pointer;
}

.manager-white {
    color: #fff !important;
}

.manager-tabs {
    font-size: 12px;
}

.manager-tabs li a {
    padding: 10px 10px;
}

.nav-small #nav-col #user-left-box {
    display: none !important;
}

.deal-view-label {
    float: left;
    margin-right: 1px;
    margin-bottom: 2px;
}

#sortable {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

#sortable li {
    margin: 0 5px 5px 5px;
    padding: 5px;
    font-size: 1.2em;
    cursor: all-scroll;
}

.ui-state-highlight {
    height: 1.5em;
    line-height: 1.2em;
}

#user-profile .thumb {
    width: 200px;
    height: 150px;
}

.border-right {
    border-right: 2px solid #e4e5e7;
}

.contact-social {
    text-align: center;
    padding: 4px;
}

.contact-social .label {
    font-size: 0.7em;
    cursor: pointer;
}

.contact-delete {
    color: red !important;
    float: right;
}

.animation_image {
    display: none;
    text-align: center;
}

.manager-top {
    margin-top: 20px;
}

.ticket-reply {
    margin-bottom: 20px;
}

.note-toolbar {
    background: #fff !important;
}

#successMessage {
    text-align: center;
}

#failMessage {
    text-align: center;
}

.manager-deal {
    font-size: 0.875em;
}

.report-table th {
    color: #03a9f4;
}

.deals-list img {
    width: 20px;
}

.deal-view-colum {
    margin-bottom: 10px;
}

.dv-price,
.dv-pipeline {
    padding-left: 20px;
}

.dv-label {
    cursor: pointer;
    padding: 0 3px 0 2px;
    width: 5%;
}

.manager-blue {
    color: #03a9f4;
}

.manager-black {
    color: #000 !important;
}

.manager-information {
    margin-bottom: 15px;
}

.manager-information a {
    padding: 0px 5px;
    color: #000;
}

.load_contact {
    width: 100%;
    margin-bottom: 10px;
}

.load_button .load_more {
    width: 100%;
}

.select-label {
    width: 15px;
    height: 14px;
    float: left;
    margin-right: 4px;
    margin-top: 2px;
}

.select2-chosen .select-label {
    margin-top: 10px;
}

.manager-bottom {
    margin-bottom: 30px;
}

#compM .tab-modal .nav-tabs li,
.modal-colum .tab-modal .nav-tabs li {
    width: 25%;
}

#contactM .tab-modal .nav-tabs li {
    width: 33.3%;
}

.tab-modal ul {
    margin-top: -15px;
}

.tab-modal .nav-tabs li {
    width: 50%;
}

.tab-modal .tab-content .tab-pane {
    display: block !important;
    height: 0px;
}

.tab-modal .tab-content .active {
    height: 100% !important;
}

.manager-home h1 {
    font-size: 20px
}

.language-dropdown img {
    padding-right: 5px;
}

.user-button {
    margin-right: 2px;
}

.contact-letters {
    min-height: 25px;
    text-align: center;
    width: 100%;
    padding: 0;
}

.contact-letters li {
    display: inline-block;
    list-style: none;
    width: 30px;
    font-weight: bold;
    color: #03a9f4;
    font-size: 18px;
    background: #fff;
    margin-bottom: 5px;
}

.active-letter {
    background: #000 !important;
}

#uRole label {
    margin-right: 1px;
    float: left;
}

#UserRoleForm tr td {
    padding: 2px 8px;
}

.modal-head {
    font-size: 15px;
    font-weight: bold;
    text-align: center;
}

.task-low {
    border-left: 3px solid #8bc34a;
}

.task-medium {
    border-left: 3px solid #ffc107;
}

.task-high {
    border-left: 3px solid #e84e40;
}

.fc-event-time {
    display: none;
}

.closeit {
    position: absolute;
    right: 10px;
    top: 0;
    cursor: pointer;
}

.fc-event-inner .fc-event-title {
    cursor: pointer;
}

.sidebar-nav .navbar-collapse {
    padding: 0px;
}

.sidebar-nav .navbar-nav {
    margin: 0px;
}

.sidebar-nav .navbar-nav li {
    width: 100%;
}

/* Settings Sidebar - Grouped Design */
.settings-sidebar-nav .navbar {
    background: #fff;
    border: 1px solid #e7ebee;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    margin-bottom: 0;
}

.settings-sidebar-nav .navbar-nav>li.settings-nav-header {
    color: #1ab394;
    font-size: 0.78em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 14px 15px 6px 15px;
    border-top: 1px solid #eef1f3;
    background: transparent;
    cursor: default;
}

.settings-sidebar-nav .navbar-nav>li.settings-nav-header:first-child {
    border-top: none;
    padding-top: 10px;
}

.settings-sidebar-nav .navbar-nav>li:not(.settings-nav-header) {
    margin-bottom: 2px;
}

.settings-sidebar-nav .navbar-nav>li:not(.settings-nav-header)>a {
    color: #555;
    padding: 10px 15px;
    font-size: 13px;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
}

.settings-sidebar-nav .navbar-nav>li:not(.settings-nav-header)>a:hover {
    background: #f4f8fb;
    color: #1ab394;
    border-left-color: #1ab394;
    text-decoration: none;
    padding: 15px;
}

.settings-sidebar-nav .navbar-nav>li.active>a,
.settings-sidebar-nav .navbar-nav>li.active>a:hover,
.settings-sidebar-nav .navbar-nav>li.active>a:focus {
    background: linear-gradient(135deg, #1ab394 0%, #33c3da 100%);
    color: #fff !important;
    border-left-color: transparent;
    border-radius: 0;
}

.settings-sidebar-nav .navbar-nav>li.active>a .badge,
.settings-sidebar-nav .navbar-nav>li.active>a .badge i {
    color: #fff;
}

.settings-sidebar-nav .navbar-nav>li>a .badge {
    background: transparent;
    color: #888;
    padding: 0;
    margin-right: 5px;
    font-size: 14px;
    display: inline-block;
    width: 22px;
    text-align: center;
}

/* Dropdown chevron icon - more visible */
.settings-sidebar-nav .settings-dropdown-toggle {
    position: relative;
}

.settings-sidebar-nav .settings-drop-icon {
    float: right;
    margin-top: 3px;
    font-size: 13px !important;
    color: #888;
    transition: transform 0.25s ease, color 0.15s ease;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background: #eef1f3;
    border-radius: 50%;
}

.settings-sidebar-nav .settings-dropdown-toggle:hover .settings-drop-icon {
    color: #1ab394;
    background: #e0f5ef;
}

.settings-sidebar-nav .settings-dropdown-toggle:not(.collapsed) .settings-drop-icon {
    transform: rotate(180deg);
    color: #1ab394;
    background: #e0f5ef;
}

.settings-sidebar-nav li.active>.settings-dropdown-toggle .settings-drop-icon {
    color: #fff;
    background: rgba(255, 255, 255, 0.25);
}

/* Sub-items inside collapsible sections */
.settings-sidebar-nav #productSettingsMenu {
    background: #fafcfd;
    border-top: 1px solid #eef1f3;
    border-bottom: 1px solid #eef1f3;
    padding: 5px 0;
}

.settings-sidebar-nav #productSettingsMenu>li {
    margin-bottom: 2px;
}

.settings-sidebar-nav #productSettingsMenu>li>a {
    color: #666;
    padding: 8px 15px 8px 20px;
    font-size: 12.5px;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
}

.settings-sidebar-nav #productSettingsMenu>li>a:hover {
    background: #eef5f8;
    color: #1ab394;
    border-left-color: #1ab394;
    text-decoration: none;
}

.settings-sidebar-nav #productSettingsMenu>li.active>a {
    background: #1ab394;
    color: #fff !important;
    border-left-color: transparent;
}

.settings-sidebar-nav #productSettingsMenu>li.active>a .badge,
.settings-sidebar-nav #productSettingsMenu>li.active>a .badge i {
    color: #fff;
}

.setting-footer {
    background-color: #f5f5f5;
    border-top: 1px solid #dddddd;
    padding: 10px 15px;
}

/* Comapny */
.wrapper-content {
    padding: 0px 5px 40px;
}

.project-people img {
    height: 32px;
    width: 32px;
}

.company-view .nav-tabs {
    border-bottom: 1px solid #ddd;
    background: #fff;
}

.company-view .nav-tabs .active {
    background: #fff;
}

.company-view .nav-tabs .active a {
    background: #fff;
    border: 1px solid !important;
    border-color: #dddddd #dddddd #f3f3f4 !important;
}

.company-view h1 {
    color: #676a6c;
    font-weight: 300;
}

.company-view {
    color: #676a6c;
    font-size: 12px;
}

.company-view h4 {
    font-weight: 600;
}

.company-view .contact-box-list img {
    border: 3px solid #dceffc;
    height: 50px;
    width: 50px;
}

.company {
    clear: both;
    margin-bottom: 25px;
    margin-top: 0;
    padding: 0;
}

.company-title {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #ffffff;
    border-color: #1ab394;
    border-image: none;
    border-style: solid solid none;
    border-width: 2px 0 0;
    color: inherit;
    margin-bottom: 0;
    min-height: 48px;
    padding: 14px 15px 7px;
}

.company-title span {
    margin: 0 5px;
}

.company-content {
    background-color: #ffffff;
    border-color: #e7eaec;
    border-image: none;
    border-style: solid solid none;
    border-width: 1px 0;
    color: inherit;
    padding: 15px 7px 20px;
    min-height: 185px;
    font-size: 12px;
}

.company-title h5 {
    display: inline-block;
    float: left;
    font-size: 14px;
    margin: 0 0 7px;
    padding: 0;
    text-overflow: ellipsis;
    font-weight: 600;
}

.company-title span {
    cursor: pointer;
}

.team-members {
    min-height: 45px;
}

.team-members img.img-circle {
    height: 42px;
    margin-bottom: 5px;
    width: 42px;
    margin: 5px;
}

.team-members h1 {
    border-bottom: 2px solid #b0bec5;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}

.team-img {
    text-align: center;
}

.company-details ul {
    list-style: outside none none;
    padding: 0;
}

.company-details {
    margin: 5px 0;
    padding: 0;
    height: 112px;
}

.company-footer {
    background: #f7f9fa none repeat scroll 0 0;
    color: inherit;
    font-size: 90%;
    padding: 10px 15px;
    border-bottom: 1px solid #e7eaec;
    border-top: 1px solid #e7eaec;
}

.company-social {
    bottom: 0;
    position: absolute;
    width: 100%;
    padding: 0;
}

.company-social li {
    float: left;
    width: 9%;
    text-align: center;
    list-style: none;
}

.company-view-social {
    float: left;
    padding-bottom: 10px;
    width: 100%;
}

.company-view-social li {
    list-style: none;
    float: left;
    width: 9%;
    min-width: 40px;
}

/* Invoice */
.invoice-products .table a.table-link {
    font-size: 0.8em;
}

#invoice-companies {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #e7ebee -moz-use-text-color;
    border-image: none;
    border-style: solid none;
    border-width: 1px 0;
    margin: 0px -20px;
}

@media (max-width: 419px) {
    #invoice-companies {
        margin-left: -10px;
        margin-right: -10px;
    }
}

#invoice-companies .invoice-box {
    border-right: 1px solid #e7ebee;
    height: 100%;
    min-height: 165px;
    padding: 25px 20px;
}

@media only screen and (max-width: 767px) {
    #invoice-companies .invoice-box {
        border-bottom: 1px solid #e7ebee;
        border-left: 0 none;
        border-right: 0 none;
    }
}

#invoice-companies .invoice-box.invoice-box-dates {
    border-right: 0 none;
}

@media only screen and (max-width: 767px) {
    #invoice-companies .invoice-box.invoice-box-dates {
        border-bottom: 0 none;
    }
}

#invoice-companies .invoice-icon {
    color: #e7ebee;
    float: left;
    margin-right: 20px;
    margin-top: 20px;
    text-align: center;
}

#invoice-companies .invoice-icon>i {
    display: block;
    font-size: 2.4em;
}

#invoice-companies .invoice-company {
    float: left;
}

#invoice-companies .invoice-company h4 {
    font-size: 1.4em;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    #invoice-companies .invoice-dates {
        padding-top: 15px;
    }
}

#invoice-companies .invoice-dates .invoice-date>strong {
    line-height: 28px;
    text-transform: uppercase;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    #invoice-companies .invoice-dates .invoice-date>strong {
        font-size: 0.875em;
        line-height: 22px;
    }
}

#invoice-companies .invoice-dates .invoice-date>span {
    font-size: 1.3em;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    #invoice-companies .invoice-dates .invoice-date>span {
        font-size: 1.1em;
    }
}

#invoice-companies .invoice-dates .invoice-date.invoice-due-date>span {
    font-weight: bold;
}

#invoice-companies .invoice-dates .invoice-number>strong {
    line-height: 48px;
    text-transform: uppercase;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    #invoice-companies .invoice-dates .invoice-number>strong {
        font-size: 0.875em;
        line-height: 33px;
    }
}

#invoice-companies .invoice-dates .invoice-number>span {
    color: #03a9f4;
    font-size: 1.9em;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    #invoice-companies .invoice-dates .invoice-number>span {
        font-size: 1.4em;
    }
}

.invoice-box-total {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #e7ebee -moz-use-text-color;
    border-image: none;
    border-style: solid none;
    border-width: 1px 0;
    line-height: 1.8;
    padding: 20px 0;
}

.invoice-box-total .invoice-box-total-label {
    font-size: 1.125em;
}

.invoice-box-total .invoice-box-total-value {
    font-size: 1.125em;
}

.invoice-box-total .grand-total {
    font-size: 1.25em;
    font-weight: bold;
    text-transform: uppercase;
}

.invoice-summary {
    margin-left: -3px;
    margin-right: -3px;
    padding-bottom: 30px;
    padding-top: 30px;
}

.invoice-summary>div {
    padding-left: 3px;
    padding-right: 3px;
}

.invoice-summary .invoice-summary-item {
    background: #dceffc none repeat scroll 0 0;
    margin-bottom: 3px;
    margin-top: 3px;
    padding: 10px 0;
    text-align: center;
}

.invoice-summary .invoice-summary-item>span {
    font-size: 0.75em;
}

.invoice-summary .invoice-summary-item>div {
    font-size: 1.125em;
}

.invoice-payments header {
    background: #dceffc;
}

.user-arrow {
    color: #c1c5c6 !important;
    float: right !important;
    font-size: 25px !important;
    line-height: 45px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 30px !important;
}

.table th a {
    color: #000;
}

.table-half tr td {
    width: 50%;
}

.profile-content .profile-top {
    background: #23c6c8 none repeat scroll 0 0;
    border: 2px solid;
    color: #fff;
    font-size: 12px;
    margin: 0 1px;
    padding: 10px;
    border-radius: 10px;
}

.profile-content .btn {
    border: 2px solid #fff;
}

.profile-social {
    padding: 0;
}

.profile-content ul li {
    list-style: outside none none;
    padding: 5px 0;
}

.profile-stats {
    margin-right: 10px;
}

.profile-image {
    float: left;
    width: 120px;
}

.profile-image img {
    height: 96px;
    width: 96px;
}

.profile-info {
    margin-left: 120px;
}

img.circle-border {
    border: 6px solid #ffffff;
    border-radius: 50%;
}

.no-margins {
    margin: 0 !important;
}

.profile-info h2 {
    clear: none;
    padding: 0;
}

.profile-content table tr td {
    border-top: 1px solid #1ab394;
    line-height: 1.42857;
    padding: 8px;
    vertical-align: top;
}

.profile-social a {
    color: #fff;
}

.profile-social li {
    float: left;
    padding: 0 2px !important;
}

.profile-activity .cd-timeline-content {
    font-size: 11px;
}

.modal-img {
    width: 50px;
}

.contact-image-box img {
    border: 2px solid #1ab394;
    border-radius: 10px;
}

.import-table {
    margin-bottom: 20px;
}

.color-button label {
    height: 25px;
    width: 25px;
}

.color-button label.active {
    border: 2px solid #000;
    height: 25px !important;
}

.btn-1 {
    background: #D9434E !important;
}

.btn-2 {
    background: #E3643E !important;
}

.btn-3 {
    background: #F59B43 !important;
}

.btn-4 {
    background: #F5BA42 !important;
}

.btn-5 {
    background: #B1C252 !important;
}

.btn-6 {
    background: #3BB85D !important;
}

.btn-7 {
    background: #3BBEB0 !important;
}

.btn-8 {
    background: #3BB1D9 !important;
}

.btn-9 {
    background: #4B8CDC !important;
}

.btn-10 {
    background: #7277D5 !important;
}

.btn-11 {
    background: #B276D8 !important;
}

.btn-12 {
    background: #D870AD !important;
}

.btn-13 {
    background: #A5ADB8 !important;
}

.btn-14 {
    background: #31353C !important;
}

.dm-black {
    color: #000;
}

.dm-white {
    color: #fff;
}

.input-color {
    background: #f6f8f9;
}

.ui-datepicker {
    z-index: 9999 !important;
}

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

.form-horizontal .form-group {
    margin-left: 0;
    margin-right: 0;
}

.form-horizontal .form-group label {
    font-size: 13px !important;
}

.label-modal table tr td span {
    font-size: 13px;
    padding: 3px 10px;
}

.timeline-view {
    font-size: 12px;
}

.timeline-view .img-thumb {
    float: left;
    height: 33px;
    margin-right: 20px;
    width: 33px;
}

.timeline-view table tr td span {
    margin-right: 20px;
}

.timeline-view table tr {
    background: #fff;
    float: left;
    margin-bottom: 10px;
    width: 100%;
}

.timeline-view table tr td.timeline-details {
    width: 70%;
    float: left;
}

.timeline-view table tr td.timeline-action {
    width: 30%;
}

.deal-detail {
    padding: 10px;
    margin-bottom: 8px;
}

.deal-detail span {
    padding: 0 25px;
}

.products-inner {
    min-height: 210px;
}

.cd-timeline-content .label {
    padding: 0 0.6em;
}

/* Task Modal */
.modal-task {
    border-left: 5px solid #1ab394;
    padding: 15px 10px;
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
    border-right: 1px solid #e3e3e3;
}

.modal-note {
    border-left: 5px solid #e3e3e3;
    padding: 15px 10px;
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
    border-right: 1px solid #e3e3e3;
}

.modal-table table {
    margin-bottom: 0px;
}

.avatar {
    width: 33px;
    height: 33px;
}

blockquote {
    background: #f5f5f5;
    font-size: 14px;
}

.event-view h4 {
    margin-top: 0px;
    font-size: 16px;
    font-weight: 600;
}

.event-date {
    padding-bottom: 20px;
}

.table tr td a {
    color: #03a9f4;
}

.table tr td a.table-link {
    color: #1ab394;
}

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.message-users li.active {
    background-color: #f3f3f4;
}

.btn-member {
    margin-top: 4px;
}

.messages-list img {
    width: 35px;
    height: 35px;
}

.task-notification .time {
    font-size: 10px !important;
}

.sm-img {
    width: 33px;
}

.invoice-view .main-box-header {
    padding: 15px !important;
}

.ml20 {
    margin-left: 20px;
}

.pagination {
    margin: 0px 5px 0px 0 !important;
}

.label-active {
    background: #fff;
    color: #1cbce8;
    border: 1px solid #1cbce8;
}

.deal-tab li a {
    padding: 10px 10px;
    font-weight: 400;
}

.custom-toolbar {
    margin-top: 10px;
}

.custom-toolbar .btn-default {
    background: #fff;
    color: #000;
    border: 1px solid #e2e7f1;
}

.custom-toolbar .btn-default:hover {
    background: #000;
    color: #fff;
}

.w50 {
    width: 50px;
}

#tab-settings .checkbox-nice label {
    font-weight: 300;
    font-size: 13px;
}

#tab-settings hr {
    margin-right: -15px;
    margin-left: -15px;
    border-style: dashed;
}

.vEdit {
    cursor: pointer;
}

.fa-red {
    color: red;
}

.ticket-details {
    background: #1ab394 none repeat scroll 0 0;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 10px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.ticket-details a {
    color: #fff;
}

.ticket-sidebar .main-box {
    border: 1px solid #1ab394;
}

.ticket-view .story-subject {
    color: #000;
    font-weight: bold;
}

.ticket-action {
    float: right;
    margin-bottom: 10px;
    margin-right: 10px;
}

.newsfeed {
    border-bottom: 1px solid #f2f4f6;
}

.newsfeed .story {
    padding: 5px 0 25px 0;
    margin: 0 20px;
    border-bottom: 1px solid #e7ebee;
}

.newsfeed .story:last-child {
    border-bottom: 0;
}

.newsfeed .story-user {
    position: absolute;
}

.newsfeed .story-user a {
    display: block;
}

.newsfeed .story-user a img {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-clip: padding-box;
}

.newsfeed .story-content {
    padding-left: 85px;
    position: relative;
}

@media (max-width: 767px) {
    .newsfeed .story-content {
        padding-left: 40px;
    }
}

.newsfeed .story-content .story-header .story-author {
    font-weight: 300;
}

.newsfeed .story-content .story-header .story-author a {
    font-weight: 400;
}

.newsfeed .story-content .story-header .story-time {
    color: #999;
    font-size: 0.75em;
    position: absolute;
    right: 0px;
    top: 0;
}

.view-comp {
    margin-right: 10px;
}

.page-title h1 {
    font-size: 24px;
    font-weight: bold;
}

.w50 {
    width: 50%;
}

.w100 {
    width: 100%;
}

.dm-hide {
    display: none;
}

.profile-img {
    max-width: 200px;
    max-height: 150px;
}

.stage-li {
    list-style-type: none;
}

ul.dm-notes li {
    list-style: none;
}

ul.dm-notes li h4 {
    margin-top: 20px;
    font-size: 16px;
}

ul.dm-notes li div {
    text-decoration: none;
    color: #000;
    background: #ffc;
    display: block;
    height: 140px;
    width: 140px;
    padding: 1em;
    position: relative;
}

ul.dm-notes li div small {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 10px;
}

ul.dm-notes li div a {
    bottom: 10px;
    color: inherit;
}

ul.dm-notes li {
    margin: 10px 40px 50px 0;
    float: left;
}

ul.dm-notes li div p {
    font-size: 12px;
}

ul.dm-notes li div {
    text-decoration: none;
    color: #000;
    background: #ffc;
    display: block;
    height: 140px;
    width: 140px;
    padding: 1em;
    /* Firefox */
    -moz-box-shadow: 5px 5px 2px #212121;
    /* Safari+Chrome */
    -webkit-box-shadow: 5px 5px 2px rgba(33, 33, 33, 0.7);
    /* Opera */
    box-shadow: 5px 5px 2px rgba(33, 33, 33, 0.7);
}

ul.dm-notes li div {
    -webkit-transform: rotate(-6deg);
    -o-transform: rotate(-6deg);
    -moz-transform: rotate(-6deg);
}

ul.dm-notes li:nth-child(even) div {
    -o-transform: rotate(4deg);
    -webkit-transform: rotate(4deg);
    -moz-transform: rotate(4deg);
    position: relative;
    top: 5px;
}

ul.dm-notes li:nth-child(3n) div {
    -o-transform: rotate(-3deg);
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    position: relative;
    top: -5px;
}

ul.dm-notes li:nth-child(5n) div {
    -o-transform: rotate(5deg);
    -webkit-transform: rotate(5deg);
    -moz-transform: rotate(5deg);
    position: relative;
    top: -10px;
}

ul.dm-notes li div:hover,
ul.dm-notes li div:focus {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    position: relative;
    z-index: 5;
}

ul.dm-notes li div {
    text-decoration: none;
    color: #000;
    background: #ffc;
    display: block;
    height: auto;
    min-height: 210px;
    width: 210px;
    padding: 1em;
    -moz-box-shadow: 5px 5px 7px #212121;
    -webkit-box-shadow: 5px 5px 7px rgba(33, 33, 33, 0.7);
    box-shadow: 5px 5px 7px rgba(33, 33, 33, 0.7);
    -moz-transition: -moz-transform 0.15s linear;
    -o-transition: -o-transform 0.15s linear;
    -webkit-transition: -webkit-transform 0.15s linear;
}

.note-action {
    position: absolute;
    bottom: 10px;
    width: 190px;
}

.danger {
    color: red !important;
}

.dm-action {
    cursor: pointer;
}

#todo-div {
    width: 100%;
}

.todo-inner {
    float: left;
    margin-right: 1.25rem;
    min-height: 80px;
    position: relative;
    padding: 0 1rem 1rem 1rem;
    border: 1px solid #e3eaef;
    vertical-align: top;
    margin-bottom: 30px;
    border-radius: .25rem;
}

.todo-inner .todo-head {
    background-color: #f1f3fa;
    padding: 1rem;
    margin: 0 -1rem;
}

.todo-content ul {
    margin: 0;
    padding: 0;
}

.todo-content ul li {
    background: #fff;
    width: 100%;
    font-size: 13px !important;
    margin-top: 1rem;
    padding: 10px 10px 10px 10px !important;
    list-style-type: none;
    border-radius: .25rem;
    border: none;
}

.todo-add {
    margin-bottom: 20px;
}

.notf-menu .dropdown a.active {
    background-color: #2980b9;
    color: #fff !important;
}

.list-head {
    font-weight: bold;
    font-size: 15px !important;
}

.head-red {
    color: #c1292e;
}

.head-brown {
    color: #44546A;
}

.head-orange {
    color: #F26419;
}

.head-dark {
    color: #B68D88;
}

.head-creame {
    color: #000000;
}

.head-blue {
    color: #241e4e;
}

.head-green {
    color: #226f54;
}

.combineDiv {
    margin-top: 20px;
    background-color: #F2F2F2;
    /* padding-top: 14px; */
    border: 1px solid;
    border-radius: 36px;

    margin-bottom: 40px;
}

.classright {
    margin-right: 34px;
}

.list-dealbox1 {
    text-align: center;
    font-weight: bold;
}

.list-dealbox {
    text-align: center;
    font-weight: bold;
}

.box-list {
    width: 98%;
    border-radius: 0 0 2rem 2rem;
    height: 50px;
}

.box-upper {
    width: 260px;
    border-radius: 20px 20px 0 0;
    height: 150px;
}

.box-down {
    width: 260px;
    border-radius: 0 0 20px 20px;
    height: 150px;
    font-size: 25px;
    font-weight: bold;
}

.box-blank {
    width: 260px;
    border-radius: 20px 20px 0 0;
    height: 150px;
    background-color: #F2F2F2;
    color: #000;
}

.box-round {
    width: 100%;
    border-radius: 20px;
    height: 150px;
}

.innercolor {
    font-size: 20px;
    width: 260px;
    height: 65px;
    text-align: center;
    font-weight: bold;
}

.blankcolorbrown {
    background-color: #44546A;
    width: 260px;
    height: 10px;
    margin-left: 3px;
}

.blankcolorred {
    background-color: #c1292e;
    width: 260px;
    height: auto;
    margin-left: 3px;

}

.blankcolorred1 {
    background-color: #c1292e;
    width: 260px;
    height: auto;
    border-radius: 0 0 2rem 2rem;
    margin-left: 3px;
}

.blankcolorbrown1 {
    background-color: #44546A;
    width: 260px;
    height: auto;
    border-radius: 0 0 2rem 2rem;
    margin-left: 3px;
}


.blankcolororange {
    background-color: #F26419;
    width: 260px;
    height: auto;
    margin-left: 3px;
}

.blankcolororange1 {
    background-color: #F26419;
    width: 260px;
    height: auto;
    border-radius: 0 0 2rem 2rem;
    margin-left: 3px;
}

.blankcolordark {
    background-color: #B68D88;
    width: 260px;
    height: auto;
    margin-left: 3px;
}

.blankcolordark1 {
    background-color: #B68D88;
    width: 260px;
    height: auto;
    border-radius: 0 0 2rem 2rem;
    margin-left: 3px;

}

.blankcolorcreame {
    background-color: #F8CBAD;
    width: 260px;
    height: auto;
    margin-left: 3px;
}

.blankcolorcreame1 {
    background-color: #F8CBAD;
    width: 260px;
    height: auto;
    border-radius: 0 0 2rem 2rem;
    margin-left: 3px;

}

.list-dealbox .table tr td {
    border: 0;
    padding: 10px 0;
}

.list-dealbox .table th {
    border: 0;
    padding: 0;
}

.list-dealbox1 .table tr td {
    border: 0;
    padding: 10px 0;
}

.list-dealbox1 .table th {
    border: 0;
    padding: 0;
}

.box-red {
    background-color: #c1292e;
    color: #fff;
}

.box-brown {
    background-color: #44546A;
    color: #fff;
}

.box-orange {
    background-color: #F26419;
    color: #fff;
}

.box-blue {
    background-color: #241e4e;
    color: #fff;
}

.box-dark {
    background-color: #B68D88;
    color: #fff;
}

.box-creame {
    background-color: #F8CBAD;
    color: #000000;
}

.box-green {
    background-color: #226f54;
    color: #fff;
}

.performanceTable {
    background-color: #ED7D31;
    padding: 10px;
    border-radius: 3rem;
    align-items: center;
}


.performanceTableFirst {
    background-color: #ED7D31;
    margin-left: 103px;
    margin-right: 103px;
    border-radius: 3rem;
    align-items: center;
    margin-top: 10px;
    padding: 35px 38px 34px 38px;
}

.performanceheadFirst {
    background-color: black;
    padding: 8px;
    border: 1px solid white;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    /* margin-left: 13px; */
    font-size: 20px;
}

.performancehead {
    background-color: #A5A5A5;
    padding: 8px;
    border: 2px solid white;
    border-radius: 5px;
    color: black;
    font-weight: bold;
    /* margin-left: 7px; */
    font-size: 20px;
}

.performancehead1 {
    background-color: #E1E1E1;
    /* padding: 8px; */
    padding-top: 19px;
    border: 2px solid white;
    border-radius: 5px;
    color: black;
    font-weight: bold;
    /* margin-left: 7px; */
    font-size: 20px;
    height: 69px
}

.performancehead2 {
    background-color: #F0F0F0;
    /* padding: 8px; */
    padding-top: 19px;
    border: 2px solid white;
    border-radius: 5px;
    color: #ED7D31;
    font-weight: bold;
    /* margin-left: 7px; */
    font-size: 20px;
    height: 69px
}

.small_text {
    font-size: 12px;
}

.performancebody {
    padding: 5px;
    border: 1px solid white;
    border-radius: 5px;
    font-weight: bold;
    /* margin-left: 13px; */
    margin-top: 15px;
    background-color: #F8CBAD;
}

.performancetitle {
    padding: 5px;
    font-weight: bold;
    /* margin-left: 13px; */
    margin-top: 15px;
    color: white;
}

.numberValue {
    font-size: 24px;
}

.deals-list-table tbody tr:nth-child(odd) {
    background-color: #F8CBAD;
}


.call-list-table tbody tr:nth-child(odd) {
    background-color: #cbcccc;
    color: black;
}


.accountPlan-list-table tbody tr:nth-child(odd) {
    background-color: #cbcccc;
    color: black;
}







.setting-icon {
    margin-top: 5px;
    float: right;
}

.Dealcustom-toolbar {
    margin-bottom: 12px;
}

.monthHide {
    visibility: hidden;
}



/* Deal index/won/loss filter css */

.filterData {
    background-color: #F2F2F2;
    padding: 20px;
    border: 1px solid black;
    border-radius: 8px;
}



.selectData {
    /* background-color: #cccccc; */
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.innerselectData {
    background-color: #ED7D31;
    padding: 10px 0px 10px 0px;
    border-radius: 6px;

}

.clientHead {
    background-color: #F2F2F2;
    padding: 0px;
    padding-top: 18px;
    border: 1px solid black;
    border-radius: 8px;
    margin-bottom: 18px
}

.clientSelectData {
    padding: 7px 37px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.clientInnerselectData {
    background-color: #ED7D31;
    padding: 16px 16px 0px 16px;
    /* padding-top: 16px;
    padding-bottom: 0px; */
    border-radius: 6px;

}

.taskSelectData {
    /* background-color: #cccccc; */
    padding: 14px;
    border-radius: 10px;
}

.taskInnerselectData {
    background-color: #ED7D31;
    padding: 20px 8px 0px 12px;
    border-radius: 6px;

}

.task1SelectData {
    padding: 7px 37px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.task1InnerselectData {
    background-color: #ED7D31;
    padding: 32px 16px 0px 16px;
    /* padding-top: 16px;
    padding-bottom: 0px; */
    border-radius: 6px;

}


.dealLable {
    padding: 6px;
    font-size: larger;
}

.secondrow1 {
    margin-left: -15px;
}

.leftside {
    margin-right: 8px;
}

.buttonsgroup {
    padding-bottom: 3px;
}

.tableHeadBgColor {
    background-color: #ED7D31;
    color: white;
}

.select2-container .select2-search--dropdown .select2-search__field {
    display: block !important;
    width: 100% !important;
}

/* Update Permission modal: smaller size, scrollable body, orange theme */
.permission-update-modal#uUserM .modal-dialog-permission {
    max-width: 600px;
    max-height: 85vh;
    margin: 1.75rem auto;
}

.permission-update-modal#uUserM .modal-content {
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.permission-update-modal#uUserM .modal-body.permission-modal-body {
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    -webkit-overflow-scrolling: touch;
}

.permission-update-modal#uUserM .modal-header.permission-modal-header {
    background-color: #f97316 !important;
    color: #fff;
    border-bottom: none;
}

.permission-update-modal#uUserM .modal-header.permission-modal-header .close {
    color: #fff;
    opacity: 0.9;
    text-shadow: none;
}

.permission-update-modal#uUserM .modal-header.permission-modal-header .close:hover {
    opacity: 1;
}

.permission-update-modal#uUserM .modal-body .btn-primary.blue {
    background-color: #f97316 !important;
    border-color: #f97316 !important;
}

.permission-update-modal#uUserM .modal-body .btn-primary.blue:hover {
    background-color: #e37f49 !important;
    border-color: #e37f49 !important;
}

.permission-update-modal#uUserM .modal-body .onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
    background-color: #f97316 !important;
}

/* Toggle "Yes" state uses :before in style.css - override to #f97316 */
.permission-update-modal#uUserM .modal-body .onoffswitch-label .onoffswitch-inner:before {
    background-color: #f97316 !important;
}

.permission-update-modal#uUserM .modal-body .onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-switch {
    right: 0;
}

.permission-update-modal#uUserM .modal-head {
    background-color: #f97316 !important;
    color: #fff;
    padding: 8px 12px;
    margin: 0 -15px 10px -15px;
}

/* Roles page: heading, Admin/Staff Role buttons, Permission button, pagination - orange theme */
.roles-page h1 {
    color: #f97316 !important;
}

.roles-page .top-page-ui .btn-primary {
    background-color: #f97316 !important;
    border-color: #f97316 !important;
}

.roles-page .top-page-ui .btn-primary:hover,
.roles-page .top-page-ui .btn-primary:focus {
    background-color: #ea580c !important;
    border-color: #ea580c !important;
}

.roles-page #uRole .label-primary.manager-white {
    background-color: #f97316 !important;
    border-color: #f97316 !important;
}

.roles-page #uRole .label-primary.manager-white:hover {
    background-color: #ea580c !important;
    border-color: #ea580c !important;
}

.roles-page #uRole .pagination li a,
.roles-page #uRole .pagination li span:not(.disabled) {
    color: #f97316 !important;
}

.roles-page #uRole .pagination li a:hover,
.roles-page #uRole .pagination li.active a,
.roles-page #uRole .pagination li.active span {
    background-color: #f97316 !important;
    border-color: #f97316 !important;
    color: #fff !important;
}

/* Users index: search bar full row, button never clipped */
.users-search-row {
    overflow: visible;
}

.users-search-row .users-search-form {
    display: block;
    width: 100%;
}

.users-search-row .users-search-form-group {
    display: block;
    width: 100%;
    margin-bottom: 15px;
}

.users-search-row .users-search-input-group {
    display: flex !important;
    width: 100% !important;
    box-sizing: border-box;
}

/* Input takes remaining space and can shrink so the button is never cut off */
.users-search-row .users-search-input-group .form-control {
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.users-search-row .users-search-input-group .input-group-btn {
    flex: 0 0 auto;
}

.users-search-row .users-search-input-group .input-group-btn .btn {
    white-space: nowrap;
}

/* Audit Log page: full-page redesign - large fonts, clear hierarchy, generous spacing */
.audit-log-page {
    font-size: 18px;
    padding-bottom: 32px;
}

.audit-log-page .page-title-wrap {
    margin-bottom: 32px;
    padding: 24px 0 20px;
    border-bottom: 2px solid #e9ecef;
}

.audit-log-page .page-title-wrap h1,
.audit-log-page .page-title-wrap .audit-log-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 0 0 14px !important;
    letter-spacing: -0.02em;
    line-height: 1.2;
    display: inline-block;
    vertical-align: middle;
}

.audit-log-page .page-title-wrap .back-link {
    font-size: 18px !important;
    color: #555 !important;
    text-decoration: none !important;
    margin-right: 4px;
    vertical-align: middle;
    display: inline-block;
}

.audit-log-page .page-title-wrap .back-link:hover {
    color: #f97316 !important;
}

.audit-log-page .main-box-body {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    padding: 0 0 32px !important;
}

.audit-log-page .filter-row {
    background: #1f2937;
    border: 1px solid #1f2937;
    border-radius: 8px;
    padding: 24px 28px;
    margin: 0 0 32px;
    font-size: 17px !important;
}

.audit-log-page .filter-row .form-group {
    margin-bottom: 0;
}

.audit-log-page .filter-row select.audit-scope-select {
    text-transform: uppercase;
}

.audit-log-page .filter-row .form-control,
.audit-log-page .filter-row .select-box-search,
.audit-log-page .filter-row select,
.audit-log-page .filter-row .select2-container .select2-selection__rendered,
.audit-log-page .filter-row .select2-container--default .select2-selection--single .select2-selection__rendered {
    background: #fff !important;
    border: 2px solid #f97316 !important;
    border-radius: 6px !important;
    color: #1a1a1a !important;
    font-size: 17px !important;
    padding: 14px 16px !important;
    height: auto !important;
    min-height: 50px !important;
    line-height: 1.4 !important;
}

.audit-log-page .filter-row .input-group-addon {
    font-size: 18px !important;
    padding: 14px 16px !important;
    min-height: 50px !important;
    line-height: 1.4;
    color: #f97316 !important;
}

.audit-log-page .filter-row .btn-filter {
    background-color: #f97316 !important;
    border-color: #f97316 !important;
}
/* Primary filter button: File Management pill + gradient */
.audit-log-page .filter-row .btn-filter.btn-primary {
    background: linear-gradient(135deg, #ffb266, #ff7a00) !important;
    border: none !important;
    color: #fff !important;
    padding: 12px 28px !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    font-size: 17px !important;
    min-height: 50px !important;
    line-height: 1.4 !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}
.audit-log-page .filter-row .btn-filter.btn-primary:hover {
    background: linear-gradient(135deg, #ffa94d, #f97316) !important;
    border: none !important;
}

.audit-log-page .filter-row .btn-filter:hover {
    background-color: #ea580c !important;
    border-color: #ea580c !important;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(249, 115, 22, 0.35);
}

.audit-log-page .table-scrollable {
    margin: 0;
}

.audit-log-page .table-audit,
.audit-log-page .table.table-audit,
.audit-log-page .table.table-audit.dataTable,
.audit-log-page table.table.table-audit tbody td,
.audit-log-page table.table.table-audit thead th {
    font-size: 16px !important;
}

.audit-log-page .table-audit thead th {
    background: #e9ecef !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 18px 20px !important;
    border-bottom: 2px solid #dee2e6 !important;
    border-right: 1px solid #dee2e6 !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

.audit-log-page .table-audit thead th.col-record-id {
    text-align: left !important;
    white-space: nowrap !important;
    min-width: 6.5em;
}

.audit-log-page .table-audit thead th.timeline-action-col {
    text-align: center !important;
    width: 1%;
    white-space: nowrap !important;
    vertical-align: middle !important;
}

.audit-log-page .table-audit thead th:last-child {
    border-right: none !important;
}

.audit-log-page .table-audit tbody tr {
    transition: background 0.15s;
}

.audit-log-page .table-audit tbody tr:nth-child(even) {
    background: #fafbfc !important;
}

.audit-log-page .table-audit tbody tr:hover {
    background: #f1f3f5 !important;
}

.audit-log-page .table-audit tbody td {
    padding: 18px 20px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #e9ecef !important;
    font-size: 16px !important;
    color: #333 !important;
    line-height: 1.5 !important;
}

.audit-log-page .table-audit .user-cell {
    white-space: nowrap;
    font-size: 16px !important;
}

.audit-log-page .table-audit .user-cell .user-avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin-right: 14px !important;
    vertical-align: middle !important;
}

.audit-log-page .table-audit .user-cell .user-avatar-placeholder {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #dee2e6 !important;
    color: #495057 !important;
    font-size: 20px !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
}

.audit-log-page .table-audit .user-cell .user-id {
    color: #666 !important;
    font-size: 15px !important;
    margin-right: 8px !important;
}

.audit-log-page .table-audit .user-cell .user-name {
    font-weight: 600 !important;
    font-size: 16px !important;
    color: #1a1a1a !important;
}

.audit-log-page .table-audit td.record-id {
    text-align: left !important;
    font-size: 16px !important;
    white-space: nowrap !important;
    min-width: 6.5em;
}

.audit-log-page .table-audit .record-id a {
    color: #f97316 !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    display: inline !important;
    white-space: nowrap !important;
}

.audit-log-page .table-audit .record-id a:hover {
    text-decoration: underline !important;
}

.audit-log-page .table-audit .record-id .record-id-none {
    color: #6c757d !important;
    font-weight: 500;
}

.audit-log-page .table-audit td:nth-child(5) {
    font-weight: 500 !important;
    color: #333 !important;
    font-size: 16px !important;
}

.audit-log-page .table-audit .result-success {
    color: #198754 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
}

.audit-log-page .audit-export-row {
    margin-top: 28px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.audit-log-page .btn-export {
    background: #f3f4f6 !important;
    border: none !important;
    color: #374151 !important;
    padding: 6px 14px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.audit-log-page .btn-export:hover {
    background: #ffedd5 !important;
    color: #b45309 !important;
}
.audit-log-page .btn-export i {
    margin-right: 6px;
    opacity: 0.9;
}

.audit-log-page .audit-pagination-wrap {
    margin-top: 28px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 16px !important;
}

.audit-log-page .pagination {
    margin: 0 !important;
}

.audit-log-page .pagination>li>a,
.audit-log-page .pagination>li>span {
    color: #333 !important;
    border: 1px solid #dee2e6 !important;
    padding: 14px 18px !important;
    margin: 0 3px !important;
    border-radius: 6px !important;
    font-size: 16px !important;
}

.audit-log-page .pagination>li.active>a,
.audit-log-page .pagination>li.active>span {
    background-color: #f97316 !important;
    border-color: #f97316 !important;
    color: #fff !important;
}

.audit-log-page .pagination>li>a:hover {
    color: #f97316 !important;
    border-color: #f97316 !important;
}

.audit-log-page .table-audit td.timeline-action {
    text-align: center !important;
    font-size: 16px !important;
    width: 1%;
    white-space: nowrap !important;
    vertical-align: middle !important;
}

.audit-log-page .table-audit .timeline-action .table-link {
    margin-left: 0 !important;
    font-size: 20px !important;
    color: #dc3545 !important;
}

.audit-log-page .table-audit .timeline-action .table-link:hover {
    color: #c82333 !important;
}

.audit-log-page .info-legend {
    margin-top: 28px;
    padding: 18px 22px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 15px !important;
    color: #555 !important;
    line-height: 1.6 !important;
    border: 1px solid #e9ecef;
}

.audit-log-page .info-legend strong {
    font-size: 16px !important;
}

.audit-log-page .info-legend a {
    color: #555 !important;
    margin-right: 18px !important;
    font-size: 15px !important;
}

.audit-log-page .info-legend a:hover {
    color: #f97316 !important;
}

.audit-log-page .info-legend .badge {
    font-size: 1em !important;
}

.audit-log-page .info-legend .legend-delete {
    margin-left: 6px;
    font-size: 15px !important;
}

.audit-log-page .timeline-view {
    margin-top: 0;
}

/* Neutralize legacy .timeline-view rules (float on tr/td) so audit thead/body columns align */
.audit-log-page .timeline-view table {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.audit-log-page .timeline-view table thead {
    display: table-header-group;
}

.audit-log-page .timeline-view table tbody {
    display: table-row-group;
}

.audit-log-page .timeline-view table tr {
    float: none !important;
    display: table-row;
    width: auto;
    margin-bottom: 0;
}

.audit-log-page .timeline-view table th,
.audit-log-page .timeline-view table td {
    float: none !important;
    display: table-cell;
    vertical-align: middle;
}

.audit-log-page .timeline-view table tr td.timeline-action {
    width: 1%;
    float: none !important;
}

.audit-log-page .timeline-view table tr td.timeline-details {
    width: auto;
    float: none !important;
}

.audit-log-page .table-audit tbody td.text-center {
    font-size: 16px !important;
    padding: 24px 20px !important;
}

/* Global modal styling overrides for #dealM to prevent flicker and load theme instantly */
#dealM .modal-header {
    background-color: #F58220 !important;
    color: #ffffff !important;
    border-bottom: none !important;
    border-radius: 4px 4px 0 0;
}
#dealM .modal-header .modal-title {
    color: #ffffff !important;
    font-weight: 700;
}
#dealM .modal-header .close {
    color: #ffffff !important;
    opacity: 0.8 !important;
    text-shadow: none !important;
}
#dealM .modal-header .close:hover {
    opacity: 1 !important;
}
#dealM .modal-dialog {
    width: 98% !important;
    max-width: 1600px !important;
    margin: 15px auto !important;
}
#dealM .modal-body {
    max-height: none !important;
    overflow-y: visible !important;
}

/* Choose Action pipeline dialog card style */
.pipeline-action-box.hover-card {
    cursor: pointer;
    text-decoration: none;
}
.pipeline-action-box.hover-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03) !important;
}
#choose-action-opp:hover .pipeline-action-box.hover-card {
    border-color: #f97316 !important;
}
#choose-action-deal:hover .pipeline-action-box.hover-card {
    border-color: #22c55e !important;
}
/* ===========================================================================
   Compact Product Pipeline + Gate Progress & RM Commentary
   Deal_Manager_Compact_Product_Gate_Progress_Developer_Guide.docx, Sections 2-4,
   10, 13, 14. The product grid (ajax-loaded, no <style> of its own) uses these
   classes, so this sheet - already loaded on every page - is where they live.
   =========================================================================== */

.opp-compact-table th, .opp-compact-table td { vertical-align: middle; }
.opp-product-cell { min-width: 160px; }
.opp-product-name { font-weight: 700; color: #1e293b; }
.opp-product-meta { color: #64748b; font-size: 10.5px; margin-top: 2px; }
.opp-inactive-tag { color: #a4272f !important; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
tr.opp-row-inactive { background: #FAFAFA; opacity: .72; }

.opp-close-cell { white-space: nowrap; }
.opp-close-revised { color: #b35309; margin-left: 4px; cursor: help; }

/* Compact badges: Prob. and Health (Section 2 "Compact 40% badge" /
   "Compact On Track / At Risk / Blocked badge"). */
.opp-badge {
    display: inline-block; padding: 3px 9px; border-radius: 10px;
    font-size: 10.5px; font-weight: 700; white-space: nowrap;
}
.opp-badge-good  { background: #e8f5e9; color: #2e7d32; }
.opp-badge-warn  { background: #fff4e5; color: #b35309; }
.opp-badge-bad   { background: #fdecea; color: #a4272f; }
.opp-badge-info  { background: #eef2ff; color: #3538cd; }
.opp-badge-muted { background: #F1F5F9; color: #64748b; }

/* Gate button after Operational Stage (Section 2: "Gate immediately after
   Operational Stage"), followed by Close / Prob. / Health / More. */
.opp-more-cell { position: relative; overflow: visible; }
.opp-more-wrap { position: relative; display: inline-block; }
.opp-more-wrap .js-more {
    background: transparent; border: 1px solid #D9DDE0; border-radius: 4px;
    width: 26px; height: 26px; line-height: 22px; font-size: 16px; color: #475569;
    cursor: pointer;
}
.opp-more-wrap .js-more:hover { background: #F1F5F9; }
.opp-more-menu {
    display: none; position: absolute; right: 0; top: 30px; z-index: 40;
    background: #ffffff; border: 1px solid #D9DDE0; border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,.14); min-width: 190px; padding: 4px 0;
    text-align: left;
}
.opp-more-menu.open { display: block; }
.opp-more-menu a {
    display: flex; align-items: center; gap: 8px; padding: 7px 12px;
    font-size: 12px; color: #1e293b; text-decoration: none; white-space: nowrap;
}
.opp-more-menu a:hover { background: #F7F8FA; color: #F45116; text-decoration: none; }
.opp-more-menu a i { width: 14px; text-align: center; color: #94a3b8; }
.opp-more-menu a:hover i { color: #F45116; }
.opp-more-menu a.opp-menu-danger { color: #a4272f; }
.opp-more-menu a.opp-menu-danger i { color: #a4272f; }

/* Responsive (Section 14): fit desktop without horizontal scroll now that the
   grid is nine columns; fold Currency into the product cell on tablet; stack
   as cards on mobile. */
@media (max-width: 1024px) {
    .opp-col-currency { display: none; }
}
@media (max-width: 700px) {
    .opp-compact-wrap { border: 0; overflow-x: visible; }
    .opp-compact-table, .opp-compact-table thead, .opp-compact-table tbody,
    .opp-compact-table th, .opp-compact-table td, .opp-compact-table tr {
        display: block;
    }
    .opp-compact-table thead tr { position: absolute; top: -9999px; left: -9999px; }
    .opp-compact-table tr {
        border: 1px solid #D9DDE0; border-radius: 6px; margin-bottom: 10px; padding: 8px 10px;
    }
    .opp-compact-table td {
        border: 0 !important; padding: 4px 0; text-align: right !important;
        display: flex; justify-content: space-between; align-items: center; gap: 10px;
    }
    .opp-compact-table td[data-label]:before {
        content: attr(data-label); font-weight: 700; color: #64748b; font-size: 10.5px;
        text-transform: uppercase; letter-spacing: .3px; text-align: left; flex-shrink: 0;
    }
    .opp-more-menu { right: auto; left: 0; }
}
