div#popup_outer_lead_mgmt_admin div.popup_inner div.popup_submenu.container,
div#popup_outer_lead_mgmt_admin div.popup_inner div.popup_submenu2nd.container {
    top: 225px;
    height: calc(100% - 227px) !important;
}

div#box_lead_edit div.column:nth-child(2) {
    margin-left: 1%;
    width: 48.5%;
}

div#box_lead_edit table.lead_edit {
    width: 99%;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    margin: 0 0 10px 0;
}

div#box_lead_edit table.lead_edit td {
    padding: 5px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

div#box_lead_edit table.lead_edit td p {
    margin: 0;
    padding: 0;
    font-size: 0.95em;
}

div#box_lead_edit table.lead_edit td.col_1 {
    width: 116px;
}

div#box_lead_edit table.lead_edit tr.row_uneven td {
    background-color: #f8f8f8;
}

div#box_lead_edit div.changeable {}

div#lead_window {
    display: none;
    height: 400px;
    border: 2px solid var(--lor-color);
    position: absolute;
    width: 100%;
    background-color: white;
    padding: 15px;
    overflow: hidden;
    z-index: 200;
    border-radius: 1px;
    position: absolute;
    top: 50px;
    left: -5px;
}

div#lead_window input.close {
    width: 100px;
    background-color: var(--lor-color);
    color: white;
    padding: 3px 5px 4px 5px;
    border: none;
    border-radius: 1px;
    font-weight: normal;
    float: right;
    font-size: 1em;
}

div#lead_window input.close:hover {
    background-color: rgb(64, 162, 214);
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 2px rgb(64, 162, 214);
}

div#lead_window input.close:active {
    box-shadow: 0 0 2px rgb(254, 203, 0);
}

div#lead_window div#inner {
    width: 705px;
    position: relative;
    top: 38px;
    overflow: auto;
    height: 357px;
    border-radius: 1px;
}

div#lead_window table {
    width: 100%;
}

div#lead_window table.lead_assign tr td span.warning {
    color: red;
    font-weight: normal;
}

div#lead_window table.lead_assign,
div#lead_window table.lead_assign_sp {
    margin-right: 10px;
}

div#lead_window table.lead_assign td.col_1 {
    width: 70px;
}

div#lead_window table.lead_assign td.col_2 {
    font-weight: bold;
}

div#lead_window table.lead_assign td.col_3 {
    width: 150px;
}

div#lead_window table.lead_assign td.col_4 {
    width: 50px;
    overflow: hidden;
}

div#lead_window table.lead_assign td.col_5 {
    width: 50px;
    overflow: hidden;
}

div#lead_window table.lead_assign_sp td.col_1 {
    width: 300px;
    font-weight: bold;
}

div#lead_window table.lead_assign_sp td.col_2 {
    width: 200px;
}

div#lead_window table.lead_assign_sp td.col_3 {
    width: 20px;
    text-align: center;
}

div.alerts_on {
    display: block;
    height: 15px;
    width: 17px;
    background-image: url(../../gr_elemente/icons/alerts/alerts_on.jpg);
    background-repeat: no-repeat;
    background-position: left;
    position: relative;
    top: 1px;
    float: left;
    margin-right: 8px;
}

div.alerts_off {
    display: block;
    height: 15px;
    width: 8px;
    background-image: url(../../gr_elemente/icons/alerts/alerts_off.jpg);
    background-repeat: no-repeat;
    background-position: left;
    position: relative;
    top: 1px;
    float: left;
    margin-right: 8px;
}

div#box_lead_history {
    width: 100%;
}

div#box_lead_history table tr.row_uneven td {
    background-color: #f8f8f8;
}

div#box_lead_history table td.col_1 {
    width: 67%;
    text-align: left;
}

div#box_lead_history table td.col_2 {
    width: 33%;
}

div#box_lead_overview div#box_status {
    width: 31.7%;
    float: left;
    margin-right: 0;
    background-color: #f8f8f8;
    height: 70px;
    font-weight: bold;
    font-size: 1.25em;
    color: white;
    border-radius: 1px;
    overflow: hidden;
    margin-bottom: 5px;
}

div#box_lead_overview div#box_bm div#box_status {
    width: 32.2%;
}

div#box_lead_overview div#box_arrow {
    background-image: url(../../gr_elemente/white-arrow.png);
    background-position: right center;
    background-color: red;
    width: 1%;
    float: left;
    margin: 0;
    height: 70px;
    border: none;
    padding: 0;
}

div#box_lead_overview div#box_bm div#box_others div#box_arrow {
    background-image: url(../../gr_elemente/white-arrow.png);
    background-position: right center;
    background-color: red;
    width: 1%;
    float: left;
    margin: 0;
    height: 27px;
    border: none;
    padding: 0;
}

div.arrow:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: 0;
    bottom: 50px;
    border: 12px solid;
    border-color: transparent transparent transparent var(--lor-color);
}

div#box_lead_overview div#box_bm {
    margin-top: 25px;
}

div#box_lead_overview div#box_bm div#box_status {
    width: 32%;
}

div#box_lead_overview div#box_status.closed {
    float: left;
    margin: 0;
    margin-bottom: 4px;
}

div#box_lead_overview div#box_status.closed {
    margin-left: 66%;
}

div#box_lead_overview div#box_status.closed,
div#box_lead_overview div#box_others div#box_status.closed {
    clear: both;
    position: relative;
    top: 0;
    left: 0;
    height: 27px;
    float: left;
}

div#box_lead_overview div#box_others div#box_status.closed {
    margin-left: 0;
    clear: none;
}

div#box_lead_overview div#box_others div#box_status {
    font-size: 1em;
    height: 27px;
    font-weight: normal;
    width: 18.8%;
}

div#box_lead_overview div#box_bm div#box_others div#box_arrow.name {
    background-color: #f8f8f8;
}

div#box_lead_overview div#box_bm div#box_status.unassigned {
    background-color: rgb(43, 47, 125);
    width: 100%;
    height: 70px;
    margin-bottom: 10px;
}

div#box_lead_overview div#box_status.no_action {
    background-color: red;
}

div#box_lead_overview div#box_others div#box_status.no_action {
    background-color: rgb(255, 80, 80);
}

div#box_lead_overview div#box_bm div#box_others div#box_arrow.no_action {
    background-color: rgb(255, 80, 80);
}

div#box_lead_overview div#box_status.acknowledged {
    background-color: orange;
}

div#box_lead_overview div#box_others div#box_status.acknowledged {
    background-color: rgb(255, 195, 30);
}

div#box_lead_overview div#box_arrow.acknowledged {
    background-color: orange;
}

div#box_lead_overview div#box_bm div#box_others div#box_arrow.acknowledged {
    background-color: rgb(255, 195, 30);
}

div#box_lead_overview div#box_status.quoted {
    background-color: green;
}

div#box_lead_overview div#box_others div#box_status.quoted {
    background-color: rgb(40, 158, 40);
}

div#box_lead_overview div#box_bm div#box_others div#box_arrow.quoted {
    background-color: rgb(40, 158, 40);
}

div#box_lead_overview div#box_status.closed {
    background-color: var(--lor-color);
}

div#box_lead_overview div#box_others div#box_status.closed {
    background-color: rgb(30, 165, 236);
}

div#box_lead_overview div#box_status.name {
    color: #666;
    clear: both;
}

div#box_lead_overview div#box_status.name p {
    padding: 9px 9px;
}

div#box_lead_overview div#box_others div#box_status.name p {
    padding: 4px 9px;
}

div#box_lead_overview div#box_others div#box_status.name {}

div#box_lead_overview div#box_status div#box_right p {
    font-size: 2.5em;
    text-align: right;
    width: 100%;
}

div#box_lead_overview div#box_status div#box_status_header {
    float: left;
    padding: 10px;
}

div#box_lead_overview div#box_status.closed div#box_status_header {
    float: left;
    padding: 6px 10px 4px 10px;
    font-weight: normal;
}

div#box_lead_overview div#box_status div#box_right p a:link,
div#box_lead_overview div#box_status div#box_right p a:visited {
    text-decoration: none;
    color: white;
    display: block;
    padding: 40px 0 20px 0;
    border-radius: 1px;
    width: 100%;
}

div#box_lead_overview div#box_status.closed div#box_right p a:link,
div#box_lead_overview div#box_status.closed div#box_right p a:visited {
    text-decoration: none;
    color: white;
    display: block;
    padding: 5px 0px 10px 0;
    border-radius: 1px;
    margin: 0;
    width: 100%;
}

div#box_lead_overview div#box_status.closed div#box_right p {
    font-size: 1.25em;
    font-weight: normal;
}

div#box_lead_overview div#box_others div#box_status div#box_right p a:link,
div#box_lead_overview div#box_others div#box_status div#box_right p a:visited {
    text-decoration: none;
    color: white;
    display: block;
    padding: 5px 12px 5px 0;
    border-radius: 1px;
    width: 100%;
}

div#box_lead_overview div#box_status.unassigned div#box_right p a:hover {
    background-color: rgb(52, 57, 151);
}

div#box_lead_overview div#box_status.no_action div#box_right p a:hover {
    background-color: rgb(255, 0, 0);
}

div#box_lead_overview div#box_status.acknowledged div#box_right p a:hover {
    background-color: rgb(255, 134, 0);
}

div#box_lead_overview div#box_status.quoted div#box_right p a:hover {
    background-color: rgb(0, 103, 0);
}

div#box_lead_overview div#box_status.closed div#box_right p a:hover {
    background-color: rgb(0, 108, 174);
}

div#box_lead_overview div#box_status div#box_right p span.null {
    display: block;
    padding: 36px 0 0 0;
    margin-right: 0;
}

div#box_lead_overview div#box_status.closed div#box_right p span.null {
    display: block;
    padding-top: 5px;
    margin-right: 10px;
}

div#box_lead_overview div#box_others div#box_status div#box_right p span.null,
div#box_lead_overview div#box_others div#box_status.closed div#box_right p span.null {
    display: block;
    padding-top: 5px;
    margin-right: 0;
}

div#box_lead_overview div#box_others div#box_status div#box_right p {
    font-size: 1.5em;
}

div#box_lead_overview i {
    font-size: 0.9em;
    color: white;
    top: 0;
}

div.leadbox {
    display: inline-block;
    width: calc(16.6666666% - 4.166666666666px);
    position: relative;
    margin-right: 5px;
    background-color: #eee;
    border-radius: 1px;
    height: 125px;
    overflow: hidden;
    text-align: center;
}

div.leadbox div:not(.lead_header) {
    padding-top: 24px;
}

div.leadbox.editbox_1 {
    margin-right: 5px;
    position: relative;
}

div.leadbox.last {
    margin-right: 0;
}

div.leadbox.active_box.editbox_1:hover {
    color: white !important;
    cursor: pointer;
    box-shadow: 5px 5px 5px 0px rgba(153, 153, 153, 0.33);
    background-color: var(--lor-color-dark) !important;
    transition: .5s;
}

div.leadbox.active_box.editbox_1 div {
    color: var(--lor-color);
}

div.leadbox.active_box.editbox_1:hover div {
    color: white !important;
    transition: .5s;
}

div.leadbox.active_box.editbox_1:hover span {
    color: white;
    cursor: pointer;
}

div.leadbox img {
    position: relative;
    top: -2px;
}

div.leadbox h1 {
    font-size: 1.1em;
    color: var(--lor-color);
    margin: 5px 0;
    padding: 0;
}

div.leadbox div.sub_figure {
    font-size: 0.95em;
    font-weight: normal;
    color: var(--lor-color);
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
}

div.leadbox.active_box:hover div.sub_figure {
    color: white;
    cursor: pointer;
}

div.leadbox.status_1 div.sub_figure {
    color: white;
}

div.leadbox div.figure_large {
    font-size: 3.5em;
    font-weight: bold;
    color: var(--lor-color);
    position: absolute;
    top: 10px;
    height: 70px;
    overflow: visible;
    line-height: 1em;
    left: 0;
    width: 100%;
    letter-spacing: -2px;
}

div.leadbox.status_1 div.figure_large {
    color: white;
}

div.leadbox div.figure_large small {
    font-size: 0.25em;
    position: relative;
    top: -10px;
    left: 0;
    width: 100%;
}

div.leadbox div.figure_semilarge small {
    font-size: 0.5em;
    position: relative;
    top: -10px;
    left: 0;
    line-height: 0.25em;
    width: 100%;
}

div.leadbox div.figure_semilarge {
    font-size: 2em;
    font-weight: bold;
    color: var(--lor-color);
    position: absolute;
    top: 15px;
    left: 0;
    width: 80%;
    margin-left: 10%;
}

div.leadbox.active_box:hover div.figure_semilarge {
    color: white;
    cursor: pointer;
}

div.leadbox div.figure {
    font-size: 1em;
    font-weight: bold;
    color: var(--lor-color);
    position: absolute;
    top: 10px;
    left: 0;
    line-height: 1.3em;
    width: 80%;
    margin-left: 10%;
}

div.leadbox span.clickable {}

div.leadbox.active_box span.clickable:hover {
    text-decoration: none;
    cursor: pointer;
}

div#box_lead_overview div#box_lead_details {
    clear: both;
    margin: 0;
    width: 100%;
    border-radius: 1px;
    margin-bottom: 5px;
    background-color: #f8f8f8;
}

div#box_lead_overview div#box_lead_details_box {
    float: left;
    width: 32.65%;
    margin-right: 1%;
    height: auto;
}

div#box_lead_overview div#box_lead_details_box.last {
    margin-right: 0%;
}

div#maincontainer div#box_lead_overview div#box_lead_details_box div#box_linklist {
    margin: 0 1%;
    width: 92%;
}

div#maincontainer div#box_lead_overview div#box_lead_details_box div#box_linklist ul {
    margin: 4px 0 0 0;
    padding: 0;
    width: 100%;
}

div#maincontainer div#box_lead_overview div#box_lead_details_box div#box_linklist ul li {
    border: none;
    padding: 3px 5px 4px 22px;
    background-color: #f0f0f0;
    border-radius: 1px;
    width: 90%;
}

div#maincontainer div#box_lead_overview div#box_lead_details_box div#box_linklist ul li {
    background-position: 5px 8px;
}

div#maincontainer div#box_lead_overview div#box_lead_details_box div#box_linklist ul li:hover {
    background-position: 3px 5px;
    background-color: #e8e8e8;
}

div#arrow_standard {
    background-image: url(../../gr_elemente/white-arrow.png);
    background-position: right center;
    background-color: #eee;
    width: 1%;
    float: left;
    margin: 0;
    height: 100px;
    border: none;
    padding: 0;
}

div.leadbox.status_1 {
    background-color: var(--lor-color-dark);
    margin-right: 5px;
    color: white;
}

div.leadbox.status_1 h1,
div.leadbox.status_1 div {
    color: white;
}

div.lead_revert {
    width: calc(16.6666666% - 4.1666666666666px);
    margin-right: 5px;
    background-color: #f8f8f8;
    border-radius: 1px;
    text-align: center;
    color: var(--lor-color);
    padding: 0;
    display: none;
    height: 50px;
    line-height: 3.5em;
}

div.lead_header {
    width: 100%;
    margin-top: 5px;
    text-align: center;
    color: var(--lor-color-dark);
    display: none;
}

div.lead_header {
    display: block;
}

div.lead_header.last {
    margin-right: 0;
}

div.lead_revert img {
    position: relative;
    top: -2px;
}

div.lead_revert:hover {
    background-color: var(--lor-color-dark);
    color: white;
    cursor: pointer;
    transition: .5s;
}

div.lead_revert div.lead_header {
    margin: 0;
    padding: 0;
    line-height: 2.2em;
}

div.lead_revert:hover div.lead_header {
    color: white;
}

div#lead_quoted_revert.lead_revert,
div#lead_closed_revert.lead_revert {
    margin-right: 0;
}

div#lead_email {
    display: block;
}

div#lead_comment {
    display: block;
    margin: 0 !important;
}

textarea#lead_comment {
    width: 98%;
    padding: 1%;
    height: 89%;
    font-size: 1em;
    font-family: Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", monospace;
    border: none;
    resize: none;
}

div.partnerid_country_sel_class {
    float: right;
    margin: 0 10px 0 0;
}

div.partnerid_country_sel_class select {
    padding: 5px;
    font-size: 0.95em;
    color: #333;
}

span.primary_lead_contact {
    color: red;
    font-weight: normal;
}

div.close_codes_all div div {
    margin-bottom: 10px;
    float: left;
    height: 90px;
    overflow: hidden;
    background-color: white;
    color: var(--lor-color) !important;
    font-size: 0.95em;
    cursor: pointer;
}

div.close_codes_all div div p {
    margin: 8px;
    line-height: 1.25em;
    color: var(--lor-color) !important;
}

div.close_codes_all div div p b {
    display: block;
    font-size: 1.2em;
    margin-bottom: 5px;
}

div.popup_inner div.popup_message div.close_codes_all div div p {
    color: #666 !important;
}

div.close_codes_all div div:hover {
    background-color: var(--lor-color-dark);
    color: white !important;
}

div.popup_inner div.popup_message div.close_codes_all div div:hover p {
    color: white !important;
}

div.close_codes_all h3 {
    color: white;
    clear: none;
}

div.close_codes_all div.close_codes_won {
    width: 15.6666666%;
    margin-right: 1%;
    float: left;
}

div.close_codes_all div.close_codes_won div {
    width: 100%;
    border-top: 5px solid green;
}

div.close_codes_all div.close_codes_lost {
    width: 49%;
    margin-right: 1%;
    float: left;
}

div.close_codes_all div.close_codes_lost div {
    width: 32%;
    margin-right: 2%;
    border-top: 5px solid red;
}

div.close_codes_all div.close_codes_lost div:nth-child(3n+1) {
    margin-right: 0;
}

div.close_codes_all div.close_codes_pp {
    width: 15.6666666%;
    margin-right: 1%;
    float: left;
}

div.close_codes_all div.close_codes_pp div {
    width: 100%;
    border-top: 5px solid orange;
}

div.close_codes_all div.close_codes_trash {
    width: 15.6666666%;
    margin-right: 0%;
    float: left;
}

div.close_codes_all div.close_codes_trash div {
    width: 100%;
    border-top: 5px solid red;
}

table.standard_table.lead_content td.col_1 {
    width: 30%;
    font-weight: bold;
}

table.standard_table.lead_content td.col_2 {
    width: 70%;
}

table.standard_table.postpone_lead td.col_4 {
    width: 20px;
}

div.lead_revert svg.svg-inline--fa {
    margin-right: 5px;
}

div.lead_mgmt_cog i {
    font-size: 3em;
    margin-top: 27px;
    color: var(--lor-color) !important;
}

div.leadbox.active_box.editbox_1:hover div.lead_mgmt_cog i {
    color: white !important;
}

div.lead_header_container {}

div.lead_header_container:after {
    content: " ";
    clear: both;
    display: block;
}

div.lead_mgmt_comment {
    float: right;
    text-transform: uppercase;
}

i.lead_mgmt_edit_data {
    float: right;
    font-size: 2em;
    color: #ddd !important;
    position: relative;
    top: 2px;
}

table.standard_table tr:hover td i.lead_mgmt_edit_data {
    color: var(--lor-color) !important;
}

table.standard_table tr:hover td i.lead_mgmt_edit_data:hover {
    color: var(--lor-color-dark) !important;
    cursor: pointer;
}

div.leadTabs {
    height: 50px;
    margin: 0;
    padding: 0;
    width: 100%;
    clear: both;
    position: relative;
}

div.leadTabs div {
    position: absolute;
    top: 0;
}

div.leadTabs div#lead_email.lead_revert {
    left: 0;
}

div.leadTabs div#lead_comment.lead_revert {
    left: calc(16.666666666% + 1px);
}

div.leadTabs div#lead_quoted_revert.lead_revert {
    right: calc(16.6666% + 1px);
}

div.leadTabs div#lead_closed_revert.lead_revert {
    right: 0;
}

@media (max-width:1100px) {

    div#popup_outer_lead_mgmt_admin div.popup_inner div.popup_submenu.container,
    div#popup_outer_lead_mgmt_admin div.popup_inner div.popup_submenu2nd.container {
        top: 246px !important;
        height: calc(100% - 247px) !important;
    }

    div.leadbox {
        width: calc(33.333333333333% - 3.3333333333333px);
        height: 70px;
    }

    div.leadTabs div#lead_email.lead_revert {
        left: 0;
    }

    div.leadTabs div#lead_comment.lead_revert {
        left: calc(16.666666666% + 1px);
    }

    div.leadTabs div#lead_quoted_revert.lead_revert {
        right: calc(33.3333333333%);
    }

    div.leadTabs div#lead_closed_revert.lead_revert {
        right: 0;
    }

    div.leadbox:nth-child(3) {
        margin-right: 0 !important;
    }

    div.leadbox div.lead_header {
        font-weight: normal;
        font-size: .9em;
        float: left;
        width: auto;
        margin-top: 2px;
        margin-left: 10px;
    }

    div.leadbox div.figure_large {
        top: 0;
        line-height: .55em;
    }

    div.leadbox div.figure {
        top: 0;
        width: 90%;
        margin-left: 5%;
        font-weight: normal !important;
    }

    div.leadbox div.sub_figure {
        position: absolute;
        width: auto !important;
        top: 26px;
        right: 7px;
        font-weight: normal !important;
        text-align: right;
    }

    div.leadbox div:not(.lead_header) {
        padding-top: 20px;
    }

    div.leadbox div.figure_semilarge {
        top: -5px;
        width: 90%;
        margin-left: 5%;
        font-weight: normal !important;
        line-height: 1.35em;
        font-size: 1.8em;
    }

    div.leadbox div.figure_semilarge small {
        position: relative;
        top: -6px;
        line-height: 1em;
        font-size: .6em;
    }

    div.arrow:after {
        display: none;
    }
}

@media (max-width:900px) {
    div.lead_revert {
        font-size: 1.6em !important;
        line-height: 2.2em !important;
    }

    div.lead_revert svg.svg-inline--fa {
        margin-right: 0;
    }

    div.lead_revert span {
        display: none;
    }
}

@media (max-width:750px) {

    div#popup_outer_lead_mgmt_admin div.popup_inner div.popup_submenu.container,
    div#popup_outer_lead_mgmt_admin div.popup_inner div.popup_submenu2nd.container {
        top: 320px !important;
        height: calc(100% - 321px) !important;
    }

    div.leadbox {
        width: calc(50% - 2.5px);
        height: 70px;
    }

    div.leadTabs div#lead_email.lead_revert {
        left: calc(33.3333333% + 2px);
    }

    div.leadTabs div#lead_comment.lead_revert {
        left: calc(50% + 2px);
    }

    div.leadTabs div#lead_quoted_revert.lead_revert {
        left: 0;
    }

    div.leadTabs div#lead_closed_revert.lead_revert {
        right: 0;
    }

    div.leadbox:nth-child(3) {
        margin-right: 5px !important;
    }

    div.leadbox:nth-child(2) {
        margin-right: 0 !important;
    }

    div.leadbox:nth-child(4) {
        margin-right: 0 !important;
    }
}

@media (max-width:600px) {
    div#popup_outer_lead_mgmt_admin div.popup_inner div.popup_submenu.container {
        display: block !important;
        height: auto !important;
    }

    div#popup_outer_lead_mgmt_admin div.popup_inner div.popup_submenu.container div.popup_submenu {
        display: block !important;
        position: relative;
    }

    div#popup_outer_lead_mgmt_admin div.popup_inner div.popup_submenu.container,
    div#popup_outer_lead_mgmt_admin div.popup_inner div.popup_submenu2nd.container {
        position: relative !important;
        top: 10px !important;
        height: auto !important;
        background-color: transparent !important;
        padding: 0 !important;
    }

    div#popup_outer_lead_mgmt_admin div.popup_inner div.popup_submenu.container div.popup_submenu,
    div#popup_outer_lead_mgmt_admin div.popup_inner div.popup_submenu2nd.container div.popup_submenu {
        position: relative !important;
        top: 0 !important;
        height: auto !important;
    }
}